:root {
  --bg: #fcfcfa;
  --ink: #161616;
  --muted: #5d5d58;
  --line: #e4e4df;
  --sun: #f2c230;      /* the one accent: board yellow from the shoot */
  --tile: #efefe9;
  --pad: clamp(14px, 2vw, 28px);
  --font: 'Archivo', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 14px/1.5 var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--ink); color: #f7f7f2; text-align: center; font-size: 12px; padding: 7px var(--pad); }
.hdr { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; padding: 0 var(--pad); }
.nav { display: flex; gap: 22px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.nav a:hover, .tools button:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand img { height: 34px; width: auto; }
.tools { display: flex; justify-content: flex-end; gap: 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.tools button { background: none; border: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: inline; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); padding: 18px var(--pad); border-bottom: 1px solid var(--line); gap: 16px; }
  .brand img { height: 28px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid var(--ink); background: var(--ink); color: #f7f7f2; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; white-space: nowrap; transition: transform .15s; }
.btn:active { transform: translateY(1px); }
.btn.light { background: #f7f7f2; color: var(--ink); border-color: #f7f7f2; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; height: 48px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100dvh - 92px); max-height: 980px; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.5), rgba(10,10,10,0) 55%); }
.hero-copy { position: absolute; left: var(--pad); bottom: clamp(24px, 6vh, 64px); z-index: 1; color: #f7f7f2; max-width: 560px; }
.hero h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 500; line-height: 1.02; letter-spacing: -.02em; }
.hero p { margin: 10px 0 20px; font-size: 15px; }

/* ---------- product rows / grids ---------- */
.row-head { display: flex; justify-content: space-between; align-items: baseline; padding: 40px var(--pad) 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.row-head a { text-decoration: underline; text-underline-offset: 3px; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid, .grid.four { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid, .grid.four { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; background: var(--bg); display: block; }
.card .ph { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--tile); }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.card .ph img + img { opacity: 0; }
@media (hover: hover) { .card:hover .ph img + img { opacity: 1; } }
.card .tag { position: absolute; top: 8px; left: 8px; z-index: 1; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; background: var(--bg); padding: 2px 6px; }
.card .tag.sun { background: var(--sun); }
.card .meta { padding: 10px 10px 14px; font-size: 12px; }
.card .meta b { display: block; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
.price s { color: var(--muted); margin-left: 6px; }

/* ---------- banner ---------- */
.banner { position: relative; height: clamp(420px, 70vh, 760px); overflow: hidden; margin-top: 56px; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner .copy { position: absolute; left: var(--pad); top: clamp(24px, 6vh, 56px); color: #f7f7f2; max-width: 520px; text-shadow: 0 1px 18px rgba(0,0,0,.25); }
.banner h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; }
.banner p { margin: 10px 0 18px; }

/* ---------- shop the look ---------- */
.look { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; border-block: 1px solid var(--line); margin-top: 56px; }
.look .txt { padding: var(--pad); display: flex; flex-direction: column; justify-content: flex-end; }
.look h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.01em; }
.look p { color: var(--muted); max-width: 34ch; margin-top: 8px; }
.look .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-inline: 1px solid var(--line); }
.look .big { min-height: 520px; }
.look .big img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .look { grid-template-columns: 1fr; } .look .big { min-height: 380px; order: -1; } .look .mini { border-inline: 0; } }

/* ---------- gallery strip ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; margin-top: 56px; }
.gallery img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } .gallery img { height: 360px; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); padding: 72px var(--pad); align-items: end; }
.about h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.about p { color: var(--muted); max-width: 60ch; font-size: 15px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 40px var(--pad) 28px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; font-size: 12px; }
.ftr img { height: 46px; width: auto; margin-bottom: 12px; }
.ftr h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; font-weight: 500; }
.ftr ul { list-style: none; display: grid; gap: 6px; }
.ftr .fine { grid-column: 1/-1; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 640px) { .ftr { grid-template-columns: 1fr 1fr; } .ftr > div:first-child { grid-column: 1/-1; } }

/* ---------- shop page ---------- */
.page-head { padding: 36px var(--pad) 18px; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.02em; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { height: 32px; padding: 0 12px; border: 1px solid var(--line); background: var(--bg); font-size: 12px; cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #f7f7f2; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.4fr 1fr; border-bottom: 1px solid var(--line); }
.pdp .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.pdp .imgs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--tile); }
.pdp .info { padding: 32px var(--pad); position: sticky; top: 60px; align-self: start; display: grid; gap: 18px; }
.pdp h1 { font-size: 22px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.pdp .desc { color: var(--muted); max-width: 52ch; }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.sizes button { min-width: 48px; height: 40px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.sizes button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #f7f7f2; }
.label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: block; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp .imgs { grid-template-columns: 1fr; } .pdp .info { position: static; } }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(15,15,15,.35); opacity: 0; transition: opacity .25s; }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); transform: translateX(100%); transition: transform .3s cubic-bezier(.16,1,.3,1); display: flex; flex-direction: column; }
.drawer.open { pointer-events: auto; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; }
.panel header { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); border-bottom: 1px solid var(--line); text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
.panel header button { background: none; border: 0; cursor: pointer; font-size: 12px; text-transform: uppercase; }
.lines { flex: 1; overflow: auto; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px var(--pad); border-bottom: 1px solid var(--line); font-size: 12px; }
.line img { width: 76px; aspect-ratio: 3/4; object-fit: cover; }
.qty { display: inline-flex; border: 1px solid var(--line); margin-top: 8px; }
.qty button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; }
.qty span { min-width: 28px; display: grid; place-items: center; }
.rm { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 11px; }
.panel footer { padding: 18px var(--pad); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sum { display: flex; justify-content: space-between; }
.empty { padding: 48px var(--pad); color: var(--muted); }

/* ---------- forms (checkout, admin) ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #c9c9c2; background: #fff; padding: 10px 12px; border-radius: 0; }
.field textarea { min-height: 84px; resize: vertical; }
.field .help { font-size: 12px; color: var(--muted); }
.err { color: #a12a1f; font-size: 13px; min-height: 1em; }
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.checkout form { padding: 32px var(--pad); display: grid; gap: 16px; max-width: 640px; }
.checkout aside { background: var(--tile); padding: 32px var(--pad); }
.pay { display: grid; gap: 8px; }
.pay label { display: flex; gap: 10px; align-items: center; border: 1px solid #c9c9c2; padding: 12px; background: #fff; cursor: pointer; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .checkout aside { order: -1; } }
.done { padding: 72px var(--pad); max-width: 640px; display: grid; gap: 14px; }
.done h1 { font-size: 34px; font-weight: 500; letter-spacing: -.02em; }

/* ---------- skeleton ---------- */
.sk { background: linear-gradient(90deg, var(--tile), #f6f6f1, var(--tile)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
  .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .drawer .panel, .drawer .scrim, .card .ph img { transition: none; } .sk { animation: none; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #f7f7f2; padding: 10px 16px; font-size: 13px; z-index: 50; }

/* =================== v2: motion + finish =================== */
:root { --display: 'Bricolage Grotesque', var(--font); --ease: cubic-bezier(.16,1,.3,1); }
.hero h1, .banner h2, .look h2, .about h2, .page-head h1, .done h1, .flip h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; }

/* film grain: fixed, non-interactive layer so scrolling stays cheap */
body::after { content: ''; position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* intro: logo wipe, once per session */
.intro { position: fixed; inset: 0; z-index: 70; background: var(--ink); display: grid; place-items: center; }
.intro img { width: min(56vw, 360px); filter: invert(1); clip-path: inset(0 100% 0 0); }
.intro.gone { pointer-events: none; }

/* header sits on the hero until the hero leaves the viewport */
.hdr { transition: background .35s var(--ease), border-color .35s, color .35s; }
.hdr.on-hero { background: transparent; border-color: transparent; color: #f7f7f2; }
.hdr.on-hero .brand img { filter: invert(1); }
.hero { min-height: 100dvh; max-height: none; margin-top: -61px; }
.hero img { transform-origin: 60% 40%; }

/* hero headline: word rise */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .w > span { display: inline-block; }

/* marquee band (the only one on the page) */
.band { background: var(--sun); color: var(--ink); overflow: hidden; border-block: 1px solid var(--ink); }
.band .track { display: flex; width: max-content; gap: 48px; padding: 14px 0; font: 600 clamp(18px, 2.4vw, 30px)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.band .track span { display: inline-flex; align-items: center; gap: 48px; }
.band .track img { height: 1em; width: auto; }

/* cards: slow zoom + view chip */
.card .ph img { transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.card .view { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; height: 38px; display: grid; place-items: center; background: var(--bg); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; transform: translateY(14px); opacity: 0; transition: .45s var(--ease); }
@media (hover: hover) {
  .card:hover .ph img { transform: scale(1.045); }
  .card:hover .view { transform: none; opacity: 1; }
}
.btn { transition: transform .15s, background .25s, color .25s; }
.btn:hover { background: #f7f7f2; color: var(--ink); }
.btn.light:hover { background: var(--sun); border-color: var(--sun); }

/* flipbook section */
.flip { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--pad); padding: 72px var(--pad); }
.flip .frame { position: relative; aspect-ratio: 3/4; max-height: 82vh; justify-self: center; width: 100%; max-width: 560px; background: var(--tile); box-shadow: 0 30px 60px -30px rgba(40,34,10,.45); }
.flip video, .flip .frame img { width: 100%; height: 100%; object-fit: cover; }
.flip .frame::after { content: 'REC'; position: absolute; top: 14px; right: 14px; font: 600 11px/1 var(--font); color: #f7f7f2; letter-spacing: .1em; padding-left: 14px; background: radial-gradient(circle at 4px 50%, #e5483a 4px, transparent 5px); }
.flip h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1; }
.flip p { color: var(--muted); max-width: 42ch; margin: 14px 0 22px; font-size: 15px; }
@media (max-width: 760px) { .flip { grid-template-columns: 1fr; padding-block: 48px; } }

/* staggered reveals */
@media (prefers-reduced-motion: no-preference) {
  .grid .card { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .grid.in .card { opacity: 1; transform: none; }
  .hero img { animation: kb 18s var(--ease) both; }
  @keyframes kb { from { transform: scale(1.14); } to { transform: scale(1); } }
  .hero h1 .w > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, .2s) + var(--i) * 70ms); }
  .hero p, .hero .btn { opacity: 0; animation: fade .8s var(--ease) forwards; animation-delay: calc(var(--d, .2s) + .55s); }
  @keyframes rise { to { transform: none; } }
  @keyframes fade { to { opacity: 1; } }
  .intro img { animation: wipe 1s var(--ease) .15s forwards; }
  .intro { animation: lift .8s var(--ease) 1.25s forwards; }
  @keyframes wipe { to { clip-path: inset(0 0 0 0); } }
  @keyframes lift { to { transform: translateY(-100%); } }
  .band .track { animation: marq 26s linear infinite; }
  @keyframes marq { to { transform: translateX(-50%); } }
  /* parallax on the banner photo, only where scroll-driven animations exist */
  @supports (animation-timeline: view()) {
    .banner img, .gallery img { animation: plx linear both; animation-timeline: view(); scale: 1.18; }
    @keyframes plx { from { translate: 0 -7%; } to { translate: 0 7%; } }
  }
}
@media (prefers-reduced-motion: reduce) { .intro { display: none; } .band .track { flex-wrap: wrap; width: auto; } body::after { display: none; } }

/* scaled parallax / ken burns images must not widen the page; clip keeps the sticky header working */
html,body{overflow-x:clip}
