/* ==========================================================================
   NOIR CALME — main.css
   Quiet tones. Deep rhythm.

   00 Fonts            07 Splash           14 Lookbook
   01 Tokens           08 Ticker           15 Craft
   02 Reset            09 Header           16 The mark
   03 Type             10 Index / menu     17 Palette
   04 Primitives       11 Hero             18 Newsletter
   05 Layout           12 Manifesto        19 Footer
   06 Reveals          13 Products         20 Bag · 21 Responsive · 22 Motion
   ========================================================================== */

/* --------------------------------------------------------------- 00 FONTS */
/* Playfair Display steht jetzt in styles/fonts.css — dort als WOFF2
   (104 KB statt 294 KB TTF), zusammen mit Inter und JetBrains Mono. */

/* -------------------------------------------------------------- 01 TOKENS */
:root {
  /* Brand palette — fixed, never themed */
  --ink:   #0A0A0A;
  --bone:  #EFEBE3;
  --paper: #F7F5F0;
  --shell: #E4DFD4;
  --sand:  #C7B9A3;
  --olive: #565A46;
  --earth: #453629;

  --ink-rgb:  10, 10, 10;
  --bone-rgb: 239, 235, 227;

  /* Typography */
  --serif: 'Playfair Display', 'Times New Roman', Times, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;

  /* Rhythm */
  --gut:  clamp(1.25rem, 3.6vw, 3.25rem);
  --sec:  clamp(5.5rem, 13vw, 12rem);
  --maxw: 1680px;

  /* Motion */
  --ease:   cubic-bezier(.19, 1, .22, 1);
  --ease-2: cubic-bezier(.4, 0, .1, 1);
  --curtain: cubic-bezier(.86, 0, .07, 1);

  --hdr-h:    clamp(58px, 6.2vw, 74px);
  --ticker-h: 30px;
}

/* Light is the default; .is-dark flips one variable and the scale follows. */
:root    { --fg-rgb: var(--ink-rgb);  --bg: var(--bone); }
.is-dark { --fg-rgb: var(--bone-rgb); --bg: var(--ink); }

/* Declared once for both scopes — var() resolves against the element in hand. */
:root, .is-dark {
  --fg:        rgb(var(--fg-rgb));
  --fg-muted:  rgba(var(--fg-rgb), .56);
  --fg-faint:  rgba(var(--fg-rgb), .32);
  --line:      rgba(var(--fg-rgb), .14);
  --line-soft: rgba(var(--fg-rgb), .07);
}

.is-dark { background: var(--bg); color: var(--fg); }

/* --------------------------------------------------------------- 02 RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 400; }

::selection { background: var(--ink); color: var(--bone); }
.is-dark ::selection { background: var(--bone); color: var(--ink); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.vh {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* Film grain — the print feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- 03 TYPE */

/* Every technical label in the design shares one recipe. */
.lbl,
.btn,
.hdr__nav a,
.hdr__util,
.menu-btn,
.menu__num,
.menu__meta,
.ticker__track span,
.card__tag,
.card__price,
.field button {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.lbl {
  font-size: clamp(9px, .68vw, 11px);
  color: var(--fg-muted);
}
.lbl--ink { color: var(--fg); }

.dsp {
  font-family: var(--serif);
  line-height: .92;
  letter-spacing: -.015em;
}
.dsp--l { font-size: clamp(2.1rem, 5.6vw, 5.25rem); }

/* Link with the quiet underline */
.ln {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}
.ln::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: currentColor;
  opacity: .3;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease), opacity .4s ease;
}
.ln:hover::after { transform: scaleX(1); transform-origin: left; opacity: .7; }

/* Bracket button — technical, urban */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: clamp(10px, .72vw, 12px);
  padding: 1.05em 1.6em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fg);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover { color: var(--bg); border-color: var(--fg); }
.btn:hover::before { transform: translateY(0); }
.btn__ar { transition: transform .5s var(--ease); }
.btn:hover .btn__ar { transform: translateX(4px); }

.btn--solid {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* Brand colour chips, used by the product cards and the palette */
.sw--ink   { background: var(--ink); }
.sw--bone  { background: var(--bone); }
.sw--sand  { background: var(--sand); }
.sw--olive { background: var(--olive); }
.sw--earth { background: var(--earth); }

/* -------------------------------------------------------------- 04 LAYOUT */
.wrap,
.hdr__in,
.menu__in,
.menu__foot,
.ft__mark,
.ft__legal {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(4rem, 8vw, 8rem); }

.sec__hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.4rem, 5vw, 5rem);
}
.sec__hd h2 {
  margin-top: .6rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  letter-spacing: -.01em;
  line-height: 1;
}

/* ------------------------------------------------------------- 05 REVEALS */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Wipe-in reveal. Deliberately a gradient mask and not clip-path: clip-path
   collapses the intersection rectangle, so IntersectionObserver would never
   report the element visible and the text would stay hidden for good. */
[data-reveal='mask'] {
  opacity: 1;
  transform: none;
  /* The mask box is the border box, but tight display line-heights let
     descenders (J, q, p) hang below it — they would be sliced off. Pad the
     box out and pull the margin back so layout is unchanged. */
  padding-bottom: .3em;
  margin-bottom: -.3em;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 50%);
          mask-image: linear-gradient(to bottom, #000 50%, transparent 50%);
  -webkit-mask-size: 100% 200%;
          mask-size: 100% 200%;
  -webkit-mask-position: 0 100%;
          mask-position: 0 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: -webkit-mask-position 1.15s var(--ease), mask-position 1.15s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal='mask'].is-in {
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
}

/* Siblings stagger themselves — no per-element delay in the markup. */
.mani__cols p:nth-child(2)  { --d: 100ms; }
.mani__cols p:nth-child(3)  { --d: 200ms; }
.mark__cell:nth-child(2)    { --d: 110ms; }
.mark__cell:nth-child(3)    { --d: 220ms; }
.card--b, .card--d, .card--f { --d: 120ms; }

/* -------------------------------------------------------------- 06 SPLASH */
.splash { display: none; }

.js.splash-on .splash { display: block; }
.js.splash-on body { overflow: hidden; }

/* Hold the hero's entrance while the curtain is closed, and release it the
   moment the curtain starts to part — so the reveal lands on a hero that is
   already rising, not on an empty stage. */
.js.splash-on:not(.splash-done) .hero__markwrap,
.js.splash-on:not(.splash-done) .hero__figwrap { animation-play-state: paused; }

.splash__panel {
  position: fixed;
  left: 0;
  right: 0;
  height: 50.2%;
  z-index: 1000;
  background: #000;
  transition: transform 1.05s var(--curtain) .3s;
}
.splash__panel--t { top: 0; }
.splash__panel--b { bottom: 0; }

.splash__in,
.splash__foot,
.splash__bar {
  position: fixed;
  z-index: 1001;
  color: var(--bone);
  transition: opacity .45s ease, transform .45s var(--ease);
}

.splash__in {
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(.25rem, 1vw, .75rem);
  padding-inline: var(--gut);
}

/* Small but sharp, sitting just above the wordmark. The cut-out carries its
   own alpha — no mask, no glow, nothing behind it. It is cleaner bare. */
.splash__bag {
  width: min(196px, 30vw);
  height: auto;
  margin-bottom: clamp(.4rem, 1.4vw, 1.1rem);
  opacity: 0;
  animation: unbox 1.3s var(--ease) .1s forwards;
}

@keyframes unbox {
  from { opacity: 0; transform: translateY(10px) scale(.92); }
  to   { opacity: 1; transform: none; }
}

.splash__mark {
  width: min(620px, 74vw);
  aspect-ratio: 1975 / 229;
  height: auto;
  filter: invert(1);
  -webkit-mask-image: linear-gradient(to right, #000 50%, transparent 50%);
          mask-image: linear-gradient(to right, #000 50%, transparent 50%);
  -webkit-mask-size: 200% 100%;
          mask-size: 200% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
          mask-position: 100% 0;
  animation: wipe 1.2s var(--ease) .45s forwards;
}

@keyframes wipe {
  to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

.splash__tag {
  font-family: var(--mono);
  font-size: clamp(9px, .68vw, 11px);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(var(--bone-rgb), .5);
  opacity: 0;
  animation: rise .8s var(--ease) 1.1s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.splash__foot {
  inset: auto var(--gut) calc(var(--gut) + 1.4rem) var(--gut);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0;
  animation: rise .9s var(--ease) .6s forwards;
}
.splash__foot .lbl { color: rgba(var(--bone-rgb), .45); }

.splash__bar {
  inset: auto var(--gut) var(--gut) var(--gut);
  height: 1px;
  background: rgba(var(--bone-rgb), .16);
  overflow: hidden;
}
.splash__bar i {
  display: block;
  height: 100%;
  background: var(--bone);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform .4s var(--ease-2);
}

/* exit — content lifts, then the curtain parts */
.splash-done .splash__in,
.splash-done .splash__foot,
.splash-done .splash__bar { opacity: 0; transform: translateY(-10px); }
.splash-done .splash__panel--t { transform: translateY(-100%); }
.splash-done .splash__panel--b { transform: translateY(100%); }

/* -------------------------------------------------------------- 07 TICKER */
.ticker {
  position: relative;
  z-index: 300;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker__track,
.marq__track {
  display: flex;
  flex: none;
  align-items: center;
  white-space: nowrap;
  animation: slide 46s linear infinite;
}

.ticker__track {
  gap: 3.5rem;
  padding-right: 3.5rem;
}
.ticker__track span {
  font-size: 10px;
  letter-spacing: .3em;
  opacity: .8;
}

@keyframes slide { to { transform: translateX(-100%); } }

/* -------------------------------------------------------------- 08 HEADER */
.hdr {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  right: 0;
  z-index: 250;
  height: var(--hdr-h);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), border-color .5s ease;
}

.hdr::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(var(--bone-rgb), .72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: opacity .5s ease;
}

.hdr.is-stuck::before { opacity: 1; }
.hdr.is-stuck { border-bottom-color: var(--line-soft); }
.hdr.is-hidden { transform: translateY(calc(-100% - var(--ticker-h))); }

.hdr__in {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.hdr__l, .hdr__r { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2.1rem); }
.hdr__r { justify-content: flex-end; }
.hdr__nav { display: flex; gap: clamp(.9rem, 1.8vw, 1.9rem); }

.hdr__nav a,
.hdr__util,
.menu-btn {
  font-size: clamp(9.5px, .7vw, 11px);
  letter-spacing: .16em;
  white-space: nowrap;
  color: rgba(var(--ink-rgb), .62);
  transition: color .35s ease;
}
.hdr__nav a:hover,
.hdr__util:hover,
.menu-btn:hover { color: var(--ink); }

/* centred wordmark, revealed once the hero mark has scrolled away */
.hdr__mark {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hdr.is-stuck .hdr__mark { opacity: 1; transform: none; pointer-events: auto; }
.hdr__mark img {
  width: clamp(112px, 12vw, 168px);
  aspect-ratio: 1975 / 229;
  height: auto;
}

/* menu trigger */
.menu-btn { display: inline-flex; align-items: center; gap: .62rem; }

.menu-btn__bars {
  width: 18px;
  height: 9px;
  display: grid;
  align-content: space-between;
}
.menu-btn__bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform .5s var(--ease), margin .5s var(--ease), width .5s var(--ease);
}
.menu-btn__bars i:last-child { margin-left: 6px; width: 12px; }
.menu-btn:hover .menu-btn__bars i:last-child { margin-left: 0; width: 18px; }

.menu-btn__lbl::after { content: 'Index'; }

/* the header floats above the black index — invert everything inside it */
.menu-open .menu-btn,
.menu-open .hdr__nav a,
.menu-open .hdr__util { color: rgba(var(--bone-rgb), .6); }
.menu-open .menu-btn:hover,
.menu-open .hdr__nav a:hover,
.menu-open .hdr__util:hover { color: var(--bone); }
.menu-open .hdr::before { opacity: 0; }
.menu-open .hdr { border-bottom-color: transparent; }
.menu-open .hdr__mark img { filter: invert(1); }
.menu-open .menu-btn__lbl::after { content: 'Close'; }
.menu-open .menu-btn__bars i:first-child { transform: translateY(4px) rotate(15deg); }
.menu-open .menu-btn__bars i:last-child { margin-left: 0; width: 18px; transform: translateY(-4px) rotate(-15deg); }

/* --------------------------------------------------------------- 09 INDEX */
.menu {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-top: calc(var(--ticker-h) + var(--hdr-h));
  clip-path: inset(0 0 100% 0);
  transition: clip-path .95s var(--ease);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }

.menu__in {
  flex: 1;
  padding-top: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.menu__list { display: grid; }

.menu__item {
  display: flex;
  align-items: baseline;
  gap: clamp(.9rem, 2vw, 2rem);
  padding: clamp(.4rem, 1.1vw, .85rem) 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease) var(--d), transform .8s var(--ease) var(--d);
}
.menu-open .menu__item { opacity: 1; transform: none; }
.menu__item:nth-child(1) { --d: .22s; }
.menu__item:nth-child(2) { --d: .29s; }
.menu__item:nth-child(3) { --d: .36s; }
.menu__item:nth-child(4) { --d: .43s; }
.menu__item:nth-child(5) { --d: .50s; }
.menu__item:nth-child(6) { --d: .57s; }

.menu__num {
  flex: none;
  font-size: 10px;
  color: var(--fg-faint);
}

.menu__link {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: rgba(var(--fg-rgb), .82);
  transition: color .4s ease, transform .6s var(--ease);
}
.menu__item:hover .menu__link { color: var(--fg); transform: translateX(14px); }

.menu__meta {
  margin-left: auto;
  align-self: center;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--fg-faint);
}

.menu__view {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(var(--fg-rgb), .04);
}
.menu__view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  filter: grayscale(1) contrast(1.05);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.menu__view img.is-on { opacity: .85; transform: scale(1); }

.menu__foot {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
}
.menu__soc { display: flex; gap: 1.6rem; }

/* ---------------------------------------------------------------- 10 HERO */
.hero {
  position: relative;
  min-height: calc(100svh - var(--ticker-h));
  padding-top: var(--hdr-h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(120% 78% at 50% 96%, rgba(199, 185, 163, .30) 0%, rgba(239, 235, 227, 0) 62%),
    var(--bone);
}

.hero__stage {
  position: relative;
  flex: 1 1 0%;
  /* a floor so the figure never disappears on a short window */
  min-height: clamp(240px, 42svh, 620px);
}

/* Giant wordmark, sitting behind the figure. The wrapper owns position and
   entrance; the <img> owns the parallax transform, so the two never fight
   over the same property. */
.hero__markwrap {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(1560px, 94vw);
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: markIn 1.9s var(--ease) .25s forwards;
}
.hero__mark,
.hero__figure {
  /* --sy comes from scroll, --mx/--my from the pointer; composing them here
     means neither handler has to know about the other */
  transform: translate3d(var(--mx, 0px), calc(var(--sy, 0px) + var(--my, 0px)), 0);
  will-change: transform;
}
.hero__mark {
  width: 100%;
  aspect-ratio: 1975 / 229;
  height: auto;
}

@keyframes markIn {
  from { opacity: 0; filter: blur(7px); }
  to   { opacity: 1; filter: blur(0); }
}

/* The cut-out figure — the centre of the whole page. Absolute so its
   `height: 100%` has a definite box to resolve against; it then simply
   fills whatever height the stage was given. */
.hero__figwrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  animation: figIn 1.6s var(--ease) both;
}
.hero__figure {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 42px 60px rgba(var(--ink-rgb), .16));
}

@keyframes figIn {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: none; }
}

.hero__ground {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: min(720px, 70vw);
  height: 48px;
  z-index: 1;
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(6px);
  background: radial-gradient(46% 50% at 50% 100%, rgba(var(--ink-rgb), .16) 0%, rgba(var(--ink-rgb), 0) 70%);
}

.hero__meta {
  position: absolute;
  top: calc(var(--hdr-h) + clamp(.5rem, 1.6vw, 1.4rem));
  z-index: 4;
  display: grid;
  gap: .3rem;
  pointer-events: none;
}
.hero__meta--tl { left: var(--gut); }
.hero__meta--tr { right: var(--gut); text-align: right; }

.hero__bar {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(.8rem, 1.6vw, 1.4rem) var(--gut) clamp(1.2rem, 2.4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem;
}

.hero__claim {
  max-width: 15ch;
  margin-bottom: .95rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.6rem);
  line-height: 1.22;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; }

.hero__scroll { display: grid; justify-items: end; gap: .7rem; }
.hero__scroll-bar {
  position: relative;
  width: 1px;
  height: clamp(34px, 5vw, 62px);
  overflow: hidden;
  background: linear-gradient(var(--fg-faint), transparent);
}
.hero__scroll-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: drop 2.4s var(--ease-2) infinite;
}
@keyframes drop {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ------------------------------------------------------------- 11 MARQUEE */
.marq {
  display: flex;
  overflow: hidden;
  padding-block: clamp(1.1rem, 2.2vw, 1.9rem);
}
.marq__track {
  gap: clamp(1.6rem, 3.5vw, 3.6rem);
  padding-right: clamp(1.6rem, 3.5vw, 3.6rem);
  animation-duration: 34s;
}
.marq__track > * {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4.4vw, 4.2rem);
  line-height: 1;
}
.marq__sep { font-size: .5em; opacity: .4; }
.marq:hover .marq__track { animation-play-state: paused; }

/* ----------------------------------------------------------- 12 MANIFESTO */
.mani {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.mani__side { display: grid; gap: .9rem; align-content: start; }
.mani__body { display: grid; gap: clamp(1.8rem, 3vw, 2.8rem); }

.mani__lead {
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.018em;
}
.mani__lead em { font-style: italic; color: var(--olive); }

.mani__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.6rem, 3vw, 3rem);
  max-width: 62rem;
}
.mani__cols p {
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.85;
  color: var(--fg-muted);
}

.mani__vals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 1px;
  margin-top: clamp(1rem, 2vw, 2rem);
  background: var(--line);
  border-block: 1px solid var(--line);
}
.mani__val {
  display: grid;
  gap: .5rem;
  padding: clamp(1.2rem, 2.2vw, 2rem) clamp(.9rem, 1.6vw, 1.5rem);
  background: var(--bone);
}
.mani__val b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1;
}
.mani__val span { font-size: .8rem; line-height: 1.6; color: var(--fg-muted); }

/* ------------------------------------------------------------ 13 PRODUCTS */
.drop { background: var(--paper); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.4rem, 4vw, 4.5rem) clamp(1rem, 2.2vw, 2.4rem);
}

.card { grid-column: span 12; display: grid; gap: 1.1rem; }

.card__fig {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--shell);
}
.card--b .card__fig,
.card--d .card__fig,
.card--f .card__fig { aspect-ratio: 3 / 4; }
.card__fig > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.15);
  transition: transform 1.3s var(--ease), filter .8s ease, opacity .8s var(--ease);
}
.card__alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__fig > img { transform: scale(1.045); filter: grayscale(0); }
.card:hover .card__alt { opacity: 1; }

.card__fig--mark { display: grid; place-items: center; background: var(--sand); }
/* outranks the `.card__fig > img` cover rule above, which would otherwise
   stretch the monogram to fill the panel and crop it */
.card__fig--mark > .card__monogram {
  width: 42%;
  height: auto;
  object-fit: contain;
  opacity: .9;
}

.card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 9px;
  padding: .45em .8em;
  color: var(--ink);
  background: rgba(var(--bone-rgb), .82);
  backdrop-filter: blur(8px);
}
.card__tag--ink { color: var(--bone); background: rgba(var(--ink-rgb), .84); }

.card__add {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
  color: var(--ink);
  background: rgba(var(--bone-rgb), .9);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px) scale(.9);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s ease;
}
.card:hover .card__add,
.card__add:focus-visible { opacity: 1; transform: none; }
.card__add:hover { color: var(--bone); background: var(--ink); }
.card__add.is-done { color: var(--bone); background: var(--olive); }

.card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.card__name {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.15;
}
.card__price { font-size: 11px; letter-spacing: .1em; }
.card__sub { font-size: .78rem; color: var(--fg-muted); }
.card__link { margin-top: .5rem; }

.card__sw { display: flex; gap: .4rem; margin-top: .35rem; }
.card__sw .sw {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

/* ------------------------------------------------------------ 14 LOOKBOOK */
.looks__rail {
  display: flex;
  gap: clamp(.8rem, 1.6vw, 1.6rem);
  overflow-x: auto;
  /* keep a sideways flick from firing the browser's back gesture */
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-inline: var(--gut);
  padding-bottom: 1.4rem;
  cursor: grab;
  scrollbar-width: none;
}
.looks__rail::-webkit-scrollbar { display: none; }
.looks__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.looks__rail.is-drag * { pointer-events: none; user-select: none; }

.look {
  flex: none;
  width: clamp(230px, 27vw, 400px);
  scroll-snap-align: start;
  display: grid;
  gap: .9rem;
}
.look:nth-child(even) { margin-top: clamp(1.5rem, 4vw, 4rem); }

.look__fig {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(var(--fg-rgb), .05);
}
.look__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(.98);
  transition: transform 1.4s var(--ease), filter .9s ease;
}
.look:hover .look__fig img { transform: scale(1.05); filter: grayscale(0); }

.look__cap { display: flex; justify-content: space-between; gap: 1rem; }

/* --------------------------------------------------------------- 15 CRAFT */
.camp { display: grid; grid-template-columns: minmax(0, 1fr); }

.camp__fig { position: relative; overflow: hidden; background: var(--shell); }
.camp__fig img {
  width: 100%;
  height: 100%;
  min-height: 60svh;
  object-fit: cover;
  object-position: center 28%;
}
.camp__stamp {
  position: absolute;
  left: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  display: grid;
  gap: .25rem;
}

.camp__body {
  display: grid;
  align-content: center;
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
  max-width: 44rem;
  padding: clamp(3rem, 7vw, 8rem) var(--gut);
}
.camp__body p { max-width: 40ch; line-height: 1.9; color: var(--fg-muted); }
.camp__btn { justify-self: start; }

.spec {
  display: grid;
  max-width: 40rem;
  border-top: 1px solid var(--line);
}
.spec__row {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 1rem;
  padding: .95rem 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.spec__row dd { font-size: .88rem; color: var(--fg-muted); }

/* ----------------------------------------------------------- 16 THE MARK */
.mark { background: var(--shell); }

.mark__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mark__cell {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-content: space-between;
  padding: clamp(1.8rem, 3.4vw, 3.2rem) clamp(1.2rem, 2.4vw, 2.4rem);
  background: var(--bone);
  transition: background .6s var(--ease);
}
.mark__cell:hover { background: var(--paper); }

.mark__art {
  min-height: clamp(88px, 12vw, 150px);
  display: grid;
  place-items: center;
}
.mark__art img { width: auto; max-width: 100%; transition: transform .9s var(--ease); }
.mark__cell:hover .mark__art img { transform: scale(1.05); }

.mark__art-word { width: min(100%, 320px); aspect-ratio: 1975 / 229; height: auto; }
.mark__art-mono { width: clamp(52px, 6vw, 78px); height: auto; }
.mark__art-dot {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.mark__cell h3 {
  margin-bottom: .55rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  line-height: 1.15;
}
.mark__cell p { font-size: .85rem; line-height: 1.8; color: var(--fg-muted); }
.mark__spec {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------- 17 PALETTE */
.pal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
}
.pal__sw { display: grid; gap: 1rem; padding: 1px; background: var(--bone); }
.pal__chip {
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform .8s var(--ease);
}
.pal__chip--light { box-shadow: inset 0 0 0 1px var(--line); }
.pal__sw:hover .pal__chip { transform: scale(.96); }

.pal__meta { display: grid; gap: .2rem; padding: 0 .25rem 1.4rem; }
.pal__meta b { font-family: var(--serif); font-weight: 400; font-size: 1rem; }

/* --------------------------------------------------------- 18 NEWSLETTER */
.join { text-align: center; }
.join__in { display: grid; justify-items: center; gap: clamp(1.4rem, 3vw, 2.4rem); }
.join h2 { max-width: 14ch; }
.join p { max-width: 40ch; font-size: .95rem; color: var(--fg-muted); }

.field {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(560px, 100%);
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
  transition: border-color .4s ease;
}
.field:focus-within { border-color: var(--fg); }
.field input {
  flex: 1;
  background: none;
  border: 0;
  outline: none;
  padding: .3rem 0;
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
}
.field input::placeholder { color: var(--fg-faint); }
.field button {
  font-size: 10px;
  white-space: nowrap;
  transition: opacity .3s ease;
}
.field button:hover { opacity: .55; }
.join__note { min-height: 1.2em; }

/* --------------------------------------------------------- 19 XXL FOOTER */
.ft {
  padding-top: clamp(4rem, 9vw, 9rem);
  overflow: hidden;
}

.ft__top {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.ft__claim {
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 6.4rem);
  line-height: .96;
  letter-spacing: -.02em;
}
.ft__claim em { font-style: italic; color: rgba(var(--fg-rgb), .5); }

.ft__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.ft__col { display: grid; gap: 1.1rem; align-content: start; }
.ft__col ul { display: grid; gap: .62rem; }
.ft__col a {
  font-size: .92rem;
  color: rgba(var(--fg-rgb), .74);
  transition: color .35s ease;
}
.ft__col a:hover { color: var(--fg); }
.ft__cta p { font-size: .86rem; line-height: 1.75; color: var(--fg-muted); }

.ft__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(1.4rem, 2.6vw, 2.2rem);
  border-bottom: 1px solid var(--line);
}
.ft__strip .lbl { display: inline-flex; gap: .5rem; align-items: center; }
.ft__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(140, 150, 110, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(140, 150, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(140, 150, 110, 0); }
}

/* the oversized wordmark that closes the page */
.ft__mark { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.ft__mark img {
  width: 100%;
  aspect-ratio: 1975 / 229;
  height: auto;
  opacity: .92;
  filter: invert(1);
}

.ft__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.6rem);
}
.ft__legal nav { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; }

/* ------------------------------------------------------------- 20 BAG UI */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  z-index: 400;
  max-width: calc(100vw - 2rem);
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(100% + 3rem));
  transition: transform .7s var(--ease), opacity .4s ease, visibility 0s linear .7s;
}
.toast.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: transform .7s var(--ease), opacity .3s ease, visibility 0s;
}
.toast b { font-family: var(--serif); font-weight: 400; font-size: 1rem; }

/* --------------------------------------------------------- 21 RESPONSIVE */
@media (min-width: 900px) {
  .mani { grid-template-columns: 22% 1fr; }
  .mani__side {
    position: sticky;
    top: calc(var(--ticker-h) + var(--hdr-h) + 3rem);
    align-self: start;
  }
  .camp { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
}

@media (min-width: 760px) {
  .card { grid-column: span 6; }
  .card--a { grid-column: 1 / span 5; }
  .card--b { grid-column: 7 / span 6; margin-top: clamp(2rem, 7vw, 7rem); }
  .card--c { grid-column: 2 / span 6; }
  .card--d { grid-column: 9 / span 4; margin-top: clamp(1rem, 4vw, 4rem); }
  .card--e { grid-column: 1 / span 5; }
  .card--f { grid-column: 7 / span 4; margin-top: clamp(1.5rem, 5vw, 5rem); }

  /* square for the flat-shot tees, 3:4 for the full-length shirt and knit */
  .card--a .card__fig,
  .card--c .card__fig,
  .card--e .card__fig { aspect-ratio: 1 / 1; }
}

@media (max-width: 1024px) {
  .hdr__nav { display: none; }
  .menu__in { grid-template-columns: 1fr; }
  .menu__view { display: none; }
}

@media (max-width: 760px) {
  :root { --ticker-h: 28px; }

  .card--b, .card--d, .card--f { margin-top: 0; }

  /* Poster layout: the wordmark reads in full above the figure rather than
     being swallowed by it — there is no room to hide letters on a phone. */
  .hero__markwrap {
    width: 94vw;
    top: clamp(38px, 12vw, 84px);
    transform: translate(-50%, 0);
    z-index: 3;
  }
  .hero__figwrap { top: clamp(88px, 26vw, 170px); }
  .hero__ground { width: min(360px, 62vw); }
  .hero__bar { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero__scroll { justify-items: start; }
  .hero__meta--tr { display: none; }
  .hero__claim { max-width: 20ch; }

  .look:nth-child(even) { margin-top: 0; }
  .spec__row { grid-template-columns: 1fr; gap: .2rem; }
  .ft__legal { justify-content: flex-start; }
  .splash__bag { width: 34vw; }
}

@media (max-width: 640px) {
  .hdr__in { grid-template-columns: 1fr auto; }
  .hdr__mark, .hdr__util--search { display: none; }
}

@media (max-width: 420px) {
  .hero__stage { min-height: 38svh; }
}

/* ------------------------------------------------------- 22 REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal='mask'] { -webkit-mask-image: none; mask-image: none; }
  .splash { display: none !important; }
}
