/* ZWear site styles
   Palette from the ZWear visual identity. Display type: Anton (stand-in for Acumin Condensed).
   The ZWEAR wordmark itself is always the real logo art from assets/logo. */
:root {
  --canvas: #F3F1EC;
  --white: #FFFFFF;
  --black: #020202;
  --ink: #233444;
  --clay: #BE9A7A;
  --rust: #905037;
  --stone: #DADBD6;
  --muted: rgba(2, 2, 2, 0.52);
  --line: rgba(2, 2, 2, 0.12);
  --stone-60: rgba(218, 219, 214, 0.6);
  --stone-15: rgba(218, 219, 214, 0.15);

  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--rust); color: var(--white); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

.pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.meta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.meta .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); margin-right: 0.7rem; vertical-align: 1px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.big {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: 0.9; letter-spacing: 0.005em; margin: 0;
}
.accent { color: var(--rust); }

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  padding: 0.9rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--rust); color: var(--white);
  box-shadow: 0 8px 24px -10px rgba(144, 80, 55, 0.7);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.pill:hover { transform: translateY(-2px) scale(1.02); background: #7c432e; }
.pill.dark { background: var(--black); box-shadow: none; }
.pill.dark:hover { background: var(--ink); }
.pill.light { background: var(--white); color: var(--black); box-shadow: none; }
.textlink { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.textlink:hover { color: var(--rust); }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: 64px; transition: background .3s, backdrop-filter .3s; }
.top.scrolled { background: rgba(243, 241, 236, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo img { height: 20px; width: auto; }
.logo .badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; background: var(--rust); color: var(--white); padding: 2px 7px; border-radius: 999px; }
.links { display: flex; align-items: center; gap: 2rem; }
.links a:not(.pill) { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.links a:not(.pill):hover, .links a[aria-current="page"] { color: var(--rust); }
.links .pill { padding: 0.65rem 1.2rem; font-size: 0.72rem; }
.menu-btn { display: none; background: var(--black); color: var(--white); border: 0; border-radius: 999px; padding: 0.6rem 1.1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }

/* Menu overlay */
.overlay { position: fixed; inset: 0; z-index: 150; background: var(--black); color: var(--stone); display: flex; flex-direction: column; justify-content: space-between; padding: 1.2rem var(--gutter) 2rem; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); }
.overlay.open { clip-path: inset(0 0 0 0); }
.overlay-top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.overlay-top .meta { color: var(--stone-60); }
.overlay-close { background: var(--stone); color: var(--black); border: 0; border-radius: 999px; padding: 0.6rem 1.1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.overlay nav { display: flex; flex-direction: column; }
.overlay nav a { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; font-family: var(--display); text-transform: uppercase; font-size: clamp(3rem, 13vw, 7rem); line-height: 1.02; border-bottom: 1px solid var(--stone-15); }
.overlay nav a span { font-family: var(--body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; color: var(--clay); }
.overlay nav a:hover { color: var(--clay); }

/* Section scaffolding */
.sec { padding: clamp(5rem, 11vw, 9rem) var(--gutter); position: relative; }
.idx { display: flex; gap: 0.7rem; align-items: baseline; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.idx b { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; color: var(--rust); }
.idx span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.idx span::before { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 0.7rem; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-head .big { font-size: clamp(3rem, 8vw, 7rem); }
.dark { background: var(--black); color: var(--stone); }
.dark .idx span, .dark .meta { color: var(--stone-60); }
.white { background: var(--white); }

/* Hero */
.hero { min-height: min(100vh, 1000px); min-height: min(100svh, 1000px); display: flex; flex-direction: column; padding: 88px var(--gutter) 2rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 55%, rgba(190, 154, 122, 0.18), transparent 70%); pointer-events: none; }
.hero-meta { display: flex; justify-content: space-between; gap: 1rem; position: relative; }
.hero-center { flex: 1; display: grid; place-items: center; position: relative; padding: 2rem 0; }
.hero-center > * { grid-area: 1 / 1; }
.hero-word { margin: 0; z-index: 1; transform: translateY(-34%); }
.hero-center .tag-stage { z-index: 2; transform: translateY(20%); }
.word { display: flex; align-items: flex-start; width: min(92vw, 1240px); }
.word img { height: auto; opacity: 0; transform: translateY(40%); animation: rise 1s var(--ease) forwards; }
.word img:nth-child(1) { width: 15.83%; animation-delay: .05s; }
.word img:nth-child(2) { width: 27.28%; animation-delay: .13s; }
.word img:nth-child(3) { width: 16.11%; animation-delay: .21s; }
.word img:nth-child(4) { width: 18.25%; animation-delay: .29s; }
.word img:nth-child(5) { width: 15.92%; animation-delay: .37s; }
.word img:nth-child(6) { width: 6.61%; animation-delay: .6s; transform: translateY(-40%) rotate(-90deg); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Hangtag */
.tag-stage { perspective: 1200px; }
.hangtag {
  position: relative; width: min(56vw, 560px); aspect-ratio: 1.6; background: var(--white); border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(2, 2, 2, 0.35), 0 2px 0 rgba(2, 2, 2, 0.04);
  transform: rotateX(8deg) rotateZ(-3deg); transform-style: preserve-3d; transition: transform .5s var(--ease);
  display: grid; grid-template-rows: auto 1fr auto; padding: 1.2rem 1.4rem; opacity: 0; animation: fade 1s .7s var(--ease) forwards;
}
@keyframes fade { to { opacity: 1; } }
.hangtag .row { display: flex; justify-content: space-between; align-items: center; }
.hangtag .hole { width: 16px; height: 16px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 1px 3px rgba(2,2,2,.2); }
.hangtag .mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; }
.hangtag .mid img { width: 62%; }
.hangtag .sub { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; display: flex; align-items: center; gap: 0.8rem; }
.hangtag .sub::before, .hangtag .sub::after { content: ''; width: 28px; height: 1px; background: var(--muted); }
.barcode { display: flex; gap: 2px; height: 26px; align-items: stretch; }
.barcode i { width: 2px; background: var(--black); opacity: .75; }
.barcode i:nth-child(3n) { width: 1px; } .barcode i:nth-child(4n) { width: 3px; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; position: relative; }
.hero-foot { display: flex; justify-content: space-between; gap: 1rem; position: relative; }


/* Drop grid with flip cards */
.drop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.flip { display: block; width: 100%; perspective: 1200px; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.flip-inner { position: relative; aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip:hover .flip-inner, .flip.flipped .flip-inner, .flip:focus-visible .flip-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; overflow: hidden; }
.face.front { background: var(--white); }
.face.front img { width: 100%; height: 100%; object-fit: cover; }
.face.front .hint { position: absolute; top: 12px; right: 12px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(255,255,255,.9); padding: 4px 9px; border-radius: 999px; }
.face.front .num { position: absolute; top: 12px; left: 14px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.face.back { transform: rotateY(180deg); background: var(--black); color: var(--stone); display: flex; flex-direction: column; justify-content: space-between; padding: 1.3rem; }
.face.back .big { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--white); }
.face.back dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; font-size: 0.82rem; }
.face.back dt { color: var(--clay); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.66rem; padding-top: 2px; }
.face.back dd { margin: 0; }
.flip-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.8rem 0.2rem 0; }
.flip-cap b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.01em; }
.flip-cap span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Manifesto (scroll-lit words) */
.manifesto { min-height: min(100vh, 1000px); display: flex; flex-direction: column; justify-content: center; }
.manifesto p { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 5.8rem); line-height: 0.98; margin: 0; max-width: 18ch; }
.manifesto .w { opacity: 0.14; transition: opacity .25s linear, color .25s linear; }
.manifesto .w.on { opacity: 1; }
.manifesto .w.hl.on { color: var(--rust); }

/* Anatomy */
.anatomy { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fig { position: relative; border-radius: 18px; overflow: hidden; background: var(--white); aspect-ratio: 4 / 5; }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.fig .cap { position: absolute; left: 16px; bottom: 14px; }
.pin { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 0; background: var(--rust); color: var(--white); font-size: 0.7rem; font-weight: 700; cursor: pointer; box-shadow: 0 0 0 6px rgba(144, 80, 55, 0.22); transition: transform .3s var(--ease), box-shadow .3s; }
.pin::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--rust); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.pin:hover, .pin.active { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(144, 80, 55, 0.25); }
.parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.parts li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.2rem 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); transition: opacity .3s; cursor: default; }
.parts li b { grid-row: span 2; font-size: 0.74rem; font-weight: 700; color: var(--rust); letter-spacing: 0.1em; padding-top: 0.4rem; }
.parts li strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.1; }
.parts li span { color: var(--muted); font-size: 0.92rem; }
.parts.dim li { opacity: 0.35; }
.parts.dim li.active { opacity: 1; }

/* Horizontal lookbook */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-head { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.hscroll-head .big { font-size: clamp(3rem, 8vw, 7rem); }
.hscroll-track { display: flex; gap: clamp(12px, 1.6vw, 22px); padding: 0 var(--gutter); will-change: transform; }
.look { flex: 0 0 auto; width: min(38vw, 440px); }
.look .ph { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--white); }
.look .ph img { width: 100%; height: 100%; object-fit: cover; }
.look .lab { display: flex; justify-content: space-between; padding-top: 0.8rem; }
.look .lab b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; }

/* Story teaser */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.teaser .ph { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.sec.compact { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.sec.compact .idx { margin-bottom: 1.4rem; }
.compact .teaser .big { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin-bottom: 0.8rem; }
.compact .teaser blockquote { font-size: 1.05rem; margin-bottom: 1.1rem; max-width: 40ch; color: var(--muted); }
.teaser .ph img { width: 100%; height: 100%; object-fit: cover; }
.teaser .big { font-size: clamp(3.2rem, 8vw, 7rem); margin-bottom: 1.6rem; }
.teaser blockquote { margin: 0 0 1.6rem; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.45; max-width: 34ch; }
.teaser .who { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 2rem; }
.teaser .who span { color: var(--muted); font-weight: 600; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(1.4rem, 3vw, 2.4rem) clamp(0.8rem, 2vw, 1.6rem); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .meta { display: block; margin-bottom: 0.6rem; }
.stat .big { font-size: clamp(3rem, 7vw, 6rem); }
.stat small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

/* Drop / countdown */
.drop { text-align: center; display: flex; flex-direction: column; align-items: center; }
.drop .big { font-size: clamp(3.4rem, 11vw, 10rem); }
.count { display: flex; gap: clamp(0.8rem, 3vw, 2.4rem); margin: clamp(2rem, 5vw, 3rem) 0; }
.count div { display: flex; flex-direction: column; align-items: center; }
.count b { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1; color: var(--white); min-width: 2ch; font-variant-numeric: tabular-nums; }
.count span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; color: var(--stone-60); margin-top: 0.4rem; }
.notify { display: flex; gap: 0.5rem; width: min(100%, 480px); background: rgba(255,255,255,.08); border: 1px solid var(--stone-15); border-radius: 999px; padding: 6px; }
.notify input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; padding: 0 1rem; outline: none; }
.notify input::placeholder { color: var(--stone-60); }
.light-form .notify { background: var(--white); border-color: var(--line); }
.light-form .notify input { color: var(--black); }
.light-form .notify input::placeholder { color: var(--muted); }
.form-note { font-size: 0.8rem; min-height: 1.3em; margin-top: 0.9rem; color: var(--muted); }
.dark .form-note { color: var(--stone-60); }
.light-form .form-note { color: var(--muted); }

/* Invitation */
.invite { text-align: center; padding-top: clamp(6rem, 14vw, 11rem); padding-bottom: clamp(6rem, 14vw, 11rem); }
.invite .big { font-size: clamp(4rem, 15vw, 14rem); }
.invite .big .accent { display: inline-block; }

/* Footer */
.foot { background: var(--black); color: var(--stone); padding: clamp(3rem, 7vw, 5rem) var(--gutter) 1.6rem; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.foot-grid .big { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); }
.foot-grid h4 { margin: 0 0 1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.foot-grid a { text-decoration: none; } .foot-grid a:hover { color: var(--clay); }
.foot-word { display: flex; align-items: flex-start; width: 100%; }
.foot-word img { height: auto; }
.foot-word img:nth-child(1) { width: 15.83%; } .foot-word img:nth-child(2) { width: 27.28%; }
.foot-word img:nth-child(3) { width: 16.11%; } .foot-word img:nth-child(4) { width: 18.25%; }
.foot-word img:nth-child(5) { width: 15.92%; } .foot-word img:nth-child(6) { width: 6.61%; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; margin-top: 1.4rem; border-top: 1px solid var(--stone-15); }
.foot-bottom .meta { color: var(--stone-60); }
.totop { background: none; border: 1px solid var(--stone-15); color: var(--stone); border-radius: 999px; width: 34px; height: 34px; cursor: pointer; }

/* Inner pages */
.page-head { padding: 120px var(--gutter) clamp(2rem, 5vw, 3.5rem); }
.page-head .big { font-size: clamp(3.6rem, 13vw, 11rem); }
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.founder .ph { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.founder .ph img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { margin: 0 0 1.8rem; font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; }
.founder p { color: var(--muted); max-width: 44ch; font-size: 1.05rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); }
.duo figure { margin: 0; }
.duo .ph { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; }
.duo .ph img { width: 100%; height: 100%; object-fit: cover; }
.duo figcaption { display: flex; justify-content: space-between; padding-top: 0.8rem; }
.duo figcaption b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; }
.traits { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem clamp(1rem, 3vw, 2.6rem); }
.traits span { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 6vw, 5rem); line-height: 1; }
.traits span:nth-child(even) { color: var(--clay); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-grid .ph { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.contact-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.input { width: 100%; font: inherit; font-size: 1rem; padding: 0.95rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--black); }
.input:focus { outline: none; border-color: var(--black); }
textarea.input { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.direct { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.direct a { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; text-decoration: none; margin-top: 0.3rem; }
.direct a:hover { color: var(--rust); }

/* Reveal */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .word img, .hangtag, .rv { opacity: 1 !important; transform: none !important; }
  .manifesto .w { opacity: 1; }
}

/* Responsive */
@media (max-width: 1020px) {
  .drop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .links { display: none; }
  .menu-btn { display: inline-block; }
  .anatomy, .founder, .contact-grid { grid-template-columns: 1fr; }
  .teaser { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .compact .teaser blockquote { font-size: 0.95rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; }
  /* lookbook becomes a native swipe row */
  .hscroll { height: auto !important; }
  .hscroll-sticky { position: static; height: auto; padding: clamp(4rem, 10vw, 6rem) 0; }
  .hscroll-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 0.5rem; }
  .look { width: 72vw; scroll-snap-align: center; }
}
@media (max-width: 600px) {
  .hero-word { transform: translateY(-120%); }
  .hero-center .tag-stage { transform: translateY(18%); }
  .hangtag { width: 76vw; padding: 0.9rem 1rem; border-radius: 14px; }
  .hangtag .meta { font-size: 0.56rem; letter-spacing: 0.12em; white-space: nowrap; }
  .hangtag .barcode { height: 20px; }
  .hangtag .sub { font-size: 0.6rem; }
}
@media (max-width: 480px) {
  .hero-foot .meta:last-child { display: none; }
  .duo { grid-template-columns: 1fr; }
  .count b { font-size: 2.6rem; }
  .flip-cap { flex-direction: column; gap: 0.1rem; }
  .flip-cap b { font-size: 1.05rem; }
}
.lede-sm { margin: 0; max-width: 34ch; font-size: 1.02rem; color: var(--muted); }

/* Favorites */
.card { position: relative; }
.fav {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px -6px rgba(2, 2, 2, 0.35); transition: transform .25s var(--ease), background .25s;
}
.fav svg { width: 19px; height: 19px; fill: none; stroke: var(--black); stroke-width: 1.8; transition: fill .2s, stroke .2s; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { background: var(--rust); }
.fav[aria-pressed="true"] svg { fill: var(--white); stroke: var(--white); }
.fav.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.28); } }
.face.front .hint { top: auto; bottom: 12px; right: 12px; }

.top-actions { display: flex; align-items: center; gap: 0.6rem; }
.saved-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 0.85rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
}
.saved-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--black); stroke-width: 2; }
.saved-btn.has svg { fill: var(--rust); stroke: var(--rust); }
.saved-btn.bump { animation: pop .45s var(--ease); }

.scrim { position: fixed; inset: 0; z-index: 160; background: rgba(2, 2, 2, 0.35); opacity: 0; transition: opacity .3s; }
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 170; width: min(440px, 100vw);
  background: var(--canvas); display: flex; flex-direction: column; padding: 1.2rem 1.4rem 1.4rem;
  transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s linear .5s; box-shadow: -30px 0 60px -30px rgba(2,2,2,.3);
}
.drawer.open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.drawer-head .big { font-size: 2.6rem; margin-top: 0.3rem; }
.saved-list { list-style: none; margin: 0; padding: 0.4rem 0; overflow-y: auto; flex: 1; }
.saved-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.saved-list img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; background: var(--white); }
.saved-list b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; }
.saved-list .remove { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.75rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.saved-list .remove:hover { border-color: var(--black); }
.saved-empty { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.saved-empty p { font-family: var(--display); text-transform: uppercase; font-size: 1.8rem; margin: 0 0 0.4rem; }
.drawer-foot { padding-top: 1rem; border-top: 1px solid var(--line); }
.drawer-foot > p:first-child { margin: 0 0 0.7rem; font-weight: 600; }
.notify.light { background: var(--white); border-color: var(--line); }
.notify.light input { color: var(--black); }
.notify.light input::placeholder { color: var(--muted); }
.drawer [hidden] { display: none !important; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 180; transform: translate(-50%, 140%);
  background: var(--black); color: var(--white); border-radius: 999px; padding: 0.75rem 1.2rem;
  font-size: 0.8rem; font-weight: 600; display: flex; gap: 0.9rem; align-items: center;
  transition: transform .4s var(--ease); white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); }
.toast button { background: none; border: 0; color: var(--clay); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; padding: 0; }
@media (max-width: 820px) { .saved-btn { padding: 0.5rem 0.75rem; } }
.links { margin-left: auto; margin-right: 0.9rem; }
