/* ==========================================================================
   EEP — EMOTIONAL ENERGY POLLUTION
   Design system: monochrome chrome, full-colour photography.
   Palette is strictly black / white / neutral grey. Product + editorial
   imagery is never filtered — colour is the only colour on the site.
   ========================================================================== */

/* --- tokens --------------------------------------------------------------- */
:root {
  --ink: #000;
  --paper: #fff;
  --g-900: #0a0a0a;
  --g-800: #141414;
  --g-700: #1f1f1f;
  --g-600: #333;
  --g-500: #6b6b6b;
  --g-400: #9a9a9a;
  --g-300: #c9c9c9;
  --g-200: #e4e4e4;
  --g-100: #f2f2f2;
  --g-050: #f8f8f8;

  --rule: 1px solid var(--ink);
  --rule-soft: 1px solid var(--g-200);

  --f-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad: clamp(1rem, 4vw, 3.5rem);
  --gutter: clamp(0.75rem, 1.6vw, 1.5rem);
  --max: 1720px;

  --nav-h: 58px;
  --bar-h: 30px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.55s;

  --z-nav: 200;
  --z-drawer: 400;
  --z-cursor: 900;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

/* --- type ----------------------------------------------------------------- */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  font-stretch: 112%;
}
.d-xxl { font-size: clamp(3.2rem, 15vw, 15rem); }
.d-xl  { font-size: clamp(2.4rem, 5.6vw, 6.2rem); }
.d-lg  { font-size: clamp(2rem, 5.2vw, 4.6rem); }
.d-md  { font-size: clamp(1.5rem, 3vw, 2.6rem); }

.mono {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lede { font-size: clamp(1rem, 1.5vw, 1.28rem); line-height: 1.45; font-weight: 500; }
.muted { color: var(--g-500); }

/* --- layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 8vw, 8rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.stack > * + * { margin-top: var(--s, 1rem); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 1rem; margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: var(--rule);
}
.section-head__meta { display: flex; flex-direction: column; gap: 0.55rem; }

/* --- announcement bar ------------------------------------------------------ */
.ticker {
  position: relative; z-index: calc(var(--z-nav) + 1);
  height: var(--bar-h);
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; overflow: hidden;
}
.ticker__track { display: flex; gap: 3rem; white-space: nowrap; animation: slide 34s linear infinite; padding-right: 3rem; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 3rem; }
.ticker span::after { content: '✦'; font-size: 0.55rem; opacity: 0.6; }
@keyframes slide { to { transform: translateX(-50%); } }

/* --- nav ------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: var(--rule);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1rem;
}
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__logo { justify-self: center; display: block; }
.nav__logo img { height: 17px; width: auto; }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 1.15rem; }

.navlink { position: relative; padding-block: 0.35rem; }
.navlink::after {
  content: ''; position: absolute; left: 0; bottom: 0.15rem;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.navlink:hover::after, .navlink[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }

/* mega dropdown */
.has-menu { position: relative; }
.megamenu {
  position: absolute; top: calc(100% + 0.35rem); left: -1rem;
  min-width: 210px; background: var(--paper); border: var(--rule);
  padding: 0.6rem; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.has-menu:hover .megamenu, .has-menu:focus-within .megamenu { opacity: 1; visibility: visible; transform: none; }
.megamenu a { display: block; padding: 0.5rem 0.6rem; transition: background 0.2s, color 0.2s; }
.megamenu a:hover { background: var(--ink); color: var(--paper); }

.cart-btn { display: inline-flex; align-items: center; gap: 0.4rem; }
.cart-count {
  min-width: 19px; height: 19px; padding-inline: 5px;
  display: inline-grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0;
  transition: transform 0.3s var(--ease);
}
.cart-count.is-empty { background: var(--g-200); color: var(--g-500); }
.cart-count.pop { transform: scale(1.45); }

.burger { display: none; width: 24px; height: 14px; position: relative; }
.burger i { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: 0.3s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { bottom: 0; }
.burger.is-open i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger.is-open i:nth-child(2) { bottom: 6px; transform: rotate(-45deg); }

/* --- buttons --------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--ink);
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  isolation: isolate;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ''; position: absolute; inset: 0; background: var(--fg);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--bg); }
.btn--ghost { --bg: transparent; --fg: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.btn--full { width: 100%; }
.btn--lg { padding: 1.15rem 2.2rem; }
.btn[disabled] { opacity: 0.35; pointer-events: none; }

/* --- hero ------------------------------------------------------------------ */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero__media {
  position: relative;
  height: clamp(560px, 92svh, 1000px);
}
.hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease-io); }
.hero__slide.is-active { opacity: 1; }
/* Scrim carries the white type on any frame without desaturating the photo —
   it darkens, it never tints. */
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 26%, rgba(0,0,0,0.32) 56%, rgba(0,0,0,0.88) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 46%, rgba(0,0,0,0) 70%);
}
/* fine monochrome grain — chrome only, never tints the photo */
.grain::after {
  content: ''; position: absolute; inset: -120%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  opacity: 0.16; mix-blend-mode: overlay; pointer-events: none;
  animation: grain 0.7s steps(3) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-3%, 2%); }
  66%  { transform: translate(2%, -3%); }
  100% { transform: translate(0, 0); }
}

.hero__copy {
  position: absolute; inset: auto 0 0 0;
  padding: var(--pad); padding-bottom: clamp(1.75rem, 4vw, 3.25rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30ch);
  align-items: end; gap: clamp(1.5rem, 4vw, 4rem);
}
/* minmax(0,…) everywhere — a bare 1fr floors at min-content and lets the
   display type push the document wider than the viewport on small screens. */
@media (max-width: 900px) { .hero__copy { grid-template-columns: minmax(0, 1fr); } }
.hero__title, .hero__aside { min-width: 0; }
/* No text-shadow here — the .line boxes clip with overflow:hidden for the
   rise-in animation, and a clipped blur leaves a visible seam. The scrim
   carries legibility instead. */
.hero__title .hero__line { display: block; overflow: hidden; }
.hero__title .hero__line > span {
  display: block; transform: translateY(105%);
  animation: rise 1s var(--ease) forwards;
}
.hero__title .hero__line:nth-child(2) > span { animation-delay: 0.09s; }
.hero__title .hero__line:nth-child(3) > span { animation-delay: 0.18s; }
@keyframes rise { to { transform: none; } }
/* Once the reveal has played, drop the clip and the retained transform. A
   transform-animated child inside overflow:hidden stays on its own composited
   layer, and that layer edge paints a hairline seam over the hero gradient. */
.hero__title.is-done .hero__line { overflow: visible; }
.hero__title.is-done .hero__line > span { transform: none; animation: none; }

.hero__aside { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.hero__aside .btn { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }

.hero__dots {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
  display: grid; gap: 0.75rem; z-index: 3;
}
.hero__dot {
  width: 9px; height: 9px; border-radius: 999px; padding: 0;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 1px 6px rgba(0,0,0,0.4);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.hero__dot.is-active { background: var(--paper); transform: scale(1.25); }

/* --- pollution index HUD --------------------------------------------------- */
.hud {
  position: fixed; left: var(--pad); bottom: 1.1rem; z-index: 120;
  display: flex; align-items: center; gap: 0.55rem;
  mix-blend-mode: difference; color: #fff;
  pointer-events: none; opacity: 0; transition: opacity 0.5s;
}
.hud.is-on { opacity: 1; }
.hud__bar { width: 78px; height: 3px; background: rgba(255,255,255,0.28); position: relative; }
.hud__fill { position: absolute; inset: 0 auto 0 0; background: #fff; width: 100%; transition: width 0.25s linear; }
@media (max-width: 900px) { .hud { display: none; } }

/* --- film band ------------------------------------------------------------- */
.film { position: relative; overflow: hidden; background: var(--ink); }
.film video { width: 100%; height: clamp(340px, 72svh, 820px); object-fit: cover; }
.film__copy {
  position: absolute; inset: auto auto var(--pad) var(--pad);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
  color: var(--paper); text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.film__copy .btn { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
/* The film asset is a beauty shot on a light-grey sweep, so the copy corner
   needs a deep wedge to carry white type. Darkens only — no colour shift. */
.film::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0.55) 72%, rgba(0,0,0,0.92) 100%),
    linear-gradient(75deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 32%, rgba(0,0,0,0) 58%);
}
.film__copy { z-index: 2; }

/* --- marquee band ---------------------------------------------------------- */
.band {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(1.4rem, 3vw, 2.6rem);
  overflow: hidden; border-block: var(--rule);
}
.band__track { display: flex; white-space: nowrap; animation: slide 26s linear infinite; }
.band__track > span { display: flex; align-items: center; }
.band__track em { font-style: normal; padding-inline: 1.6rem; opacity: 0.35; }

/* --- product grid ---------------------------------------------------------- */
.grid {
  display: grid; gap: var(--gutter);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--g-100);
  border: var(--rule-soft);
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.5s var(--ease), transform 1.1s var(--ease);
}
.card__media img.is-alt { opacity: 0; }
.card:hover .card__media img.is-main { opacity: 0; }
.card:hover .card__media img.is-alt { opacity: 1; }
.card:hover .card__media img { transform: scale(1.045); }

.card__badge {
  position: absolute; top: 0.55rem; left: 0.55rem; z-index: 2;
  background: var(--paper); border: var(--rule);
  padding: 0.28rem 0.5rem;
}
.card__badge--out { background: var(--ink); color: var(--paper); }

.card__quick {
  position: absolute; left: 0.55rem; right: 0.55rem; bottom: 0.55rem; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
@media (hover: none) { .card__quick { opacity: 1; transform: none; } }

.card__body {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-top: 0.7rem;
}
.card__title { font-weight: 600; font-size: 0.9rem; letter-spacing: -0.01em; }
.card__sub { color: var(--g-500); font-size: 0.8rem; }
.card__price { font-family: var(--f-mono); font-size: 0.72rem; white-space: nowrap; }
.card__price s { color: var(--g-400); }

/* --- editorial split ------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 850px) { .split { grid-template-columns: 1fr; } }
.split__media { position: relative; overflow: hidden; min-height: clamp(380px, 62vh, 760px); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__copy {
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  padding: clamp(2rem, 6vw, 5.5rem);
}
.split--dark { background: var(--ink); color: var(--paper); }
.split--dark .muted { color: var(--g-400); }
.split--dark .btn--ghost { --fg: var(--paper); border-color: var(--paper); }
.split--dark .btn--ghost::before { background: var(--paper); }
.split--dark .btn--ghost:hover { color: var(--ink); }

/* --- collection tiles ------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 850px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: var(--rule); display: block; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__label {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  background: var(--paper); border-top: var(--rule);
  padding: 0.85rem 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: background 0.3s, color 0.3s;
}
.tile:hover .tile__label { background: var(--ink); color: var(--paper); }
.tile__arrow { transition: transform 0.35s var(--ease); }
.tile:hover .tile__arrow { transform: translateX(5px); }

/* --- collaborations -------------------------------------------------------- */
.collab { border-top: var(--rule); }
.collab__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34ch);
  gap: clamp(1.25rem, 4vw, 4rem); align-items: end;
  padding-block: clamp(1.75rem, 4vw, 3rem);
}
@media (max-width: 900px) { .collab__head { grid-template-columns: minmax(0, 1fr); } }

/* The lockup is set in the site's own display face — no partner logo is
   fabricated. Real lockups drop in here when the partners supply them. */
.collab__lockup {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 clamp(0.5rem, 1.4vw, 1.2rem);
  font-size: clamp(2rem, 6.4vw, 5.6rem);
}
/* Archivo's multiplication sign reads as a heavy star at display weights —
   drop it to a light, unstretched, smaller glyph so it stays a connector. */
.collab__x {
  font-weight: 300; font-stretch: 100%; font-size: 0.42em;
  opacity: 0.38; letter-spacing: 0; transform: translateY(-0.15em);
}
/* keep empty validation lines from opening a gap in the grid */
.js-notify-msg:empty { display: none; }

.collab__meta { display: flex; flex-direction: column; gap: 0.85rem; }
.collab__status {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  border: var(--rule); padding: 0.4rem 0.7rem;
}
.collab__status::before {
  content: ''; width: 7px; height: 7px; border-radius: 999px;
  background: var(--ink); flex: none;
}
.collab__status--soon { border-color: var(--g-300); color: var(--g-500); }
.collab__status--soon::before { background: none; border: 1px solid var(--g-400); }

/* upcoming panel — locked state */
.collab__locked {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  padding: clamp(2rem, 6vw, 5rem) var(--pad);
  display: grid; gap: clamp(1.25rem, 3vw, 2rem); justify-items: start;
}
.collab__locked::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    -45deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 11px);
  animation: drift 18s linear infinite;
}
@keyframes drift { to { transform: translate(15.56px, -15.56px); } }
.collab__locked > * { position: relative; z-index: 1; }
.collab__locked .muted { color: var(--g-400); }
.collab__locked .subscribe { border-color: var(--paper); width: min(460px, 100%); }
.collab__locked .subscribe input { color: var(--paper); }
.collab__locked .subscribe input::placeholder { color: var(--g-500); }
.collab__locked .subscribe button { background: var(--paper); color: var(--ink); }

.collab__season {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  border-top: 1px solid var(--g-700); padding-top: 1.1rem; width: 100%;
}
.collab__season div { display: grid; gap: 0.3rem; }
.collab__season dt { color: var(--g-500); }

/* scramble target keeps its box while the characters cycle */
.scramble { font-variant-ligatures: none; }

/* homepage teaser strip */
.collab-teaser {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.collab-teaser .muted { color: var(--g-500); }
.collab-teaser .navlink::after { background: var(--paper); }
/* auto-fit, not a fixed 3 — hiding a programme must not leave a dead column */
.teaser-grid {
  display: grid; gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.teaser {
  position: relative; overflow: hidden;
  display: grid; gap: 0.85rem; align-content: start;
  border: 1px solid var(--g-700); padding: clamp(1.25rem, 2.5vw, 2rem);
  min-height: clamp(180px, 20vw, 250px);
  transition: border-color 0.3s, background 0.4s var(--ease);
}
.teaser:hover { border-color: var(--paper); }
.teaser__when { color: var(--paper); }
.teaser--soon .teaser__when { color: var(--g-500); }
.teaser--soon::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 11px);
}

/* timeline */
.timeline { border-top: var(--rule); border-bottom: var(--rule); padding-block: 1.5rem; }
.timeline__track {
  display: grid; gap: 1rem; position: relative;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.timeline__node { display: grid; gap: 0.45rem; padding-top: 1.4rem; position: relative; }
.timeline__node::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--g-200);
}
.timeline__node--on::before { background: var(--ink); }
.timeline__node--on .timeline__when { color: var(--ink); }
.timeline__when { color: var(--g-400); }

/* --- manifesto / values ---------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--rule); }
@media (max-width: 850px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: var(--rule-soft); }
.pillars > .pillar + .pillar { border-left: var(--rule-soft); padding-left: clamp(1.25rem, 2.5vw, 2.5rem); }
@media (max-width: 850px) { .pillars > .pillar + .pillar { border-left: 0; padding-left: 0; } }
.pillar__n { font-family: var(--f-mono); font-size: 0.66rem; color: var(--g-400); }

/* --- PDP ------------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.28fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 950px) { .pdp { grid-template-columns: 1fr; } }

.gallery { display: grid; gap: var(--gutter); }
.gallery__main {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border: var(--rule-soft); background: var(--g-100); cursor: zoom-in;
}
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery__main.is-zoom img { transform: scale(2); transition: transform 0.15s linear; }
.gallery__thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.thumb {
  width: 70px; aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--g-200); opacity: 0.55; transition: 0.25s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--ink); }

.buybox { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.35rem; }
.buybox__price { font-family: var(--f-mono); font-size: 1.05rem; }
.qty { display: inline-flex; align-items: center; border: var(--rule); }
.qty button { width: 40px; height: 46px; display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.qty button:hover { background: var(--ink); color: var(--paper); }
.qty span { min-width: 46px; text-align: center; font-family: var(--f-mono); font-size: 0.8rem; }
.buy-row { display: flex; gap: 0.6rem; align-items: stretch; }
.buy-row .btn { flex: 1; }

.acc { border-top: var(--rule-soft); }
.acc__item { border-bottom: var(--rule-soft); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; text-align: left; }
.acc__ico { position: relative; width: 11px; height: 11px; flex: none; }
.acc__ico::before, .acc__ico::after { content: ''; position: absolute; background: var(--ink); transition: transform 0.35s var(--ease); }
.acc__ico::before { inset: 5px 0 auto 0; height: 1px; }
.acc__ico::after { inset: 0 5px 0 auto; width: 1px; }
.acc__item.is-open .acc__ico::after { transform: scaleY(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel .inner { padding-bottom: 1.15rem; display: grid; gap: 0.7rem; }

.spec { display: grid; grid-template-columns: 8rem 1fr; gap: 0.4rem 1rem; }
.spec dt { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-500); padding-top: 0.15rem; }
.spec dd { margin: 0; }

/* --- shop filters ---------------------------------------------------------- */
.filters {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 0.9rem; border-bottom: var(--rule);
  position: sticky; top: var(--nav-h); background: var(--paper); z-index: 60;
}
.chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chip {
  padding: 0.45rem 0.85rem; border: 1px solid var(--g-300);
  font-family: var(--f-mono); font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: 0.25s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort { border: 1px solid var(--g-300); padding: 0.45rem 0.7rem; background: var(--paper); font-family: var(--f-mono); font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* --- cart drawer ----------------------------------------------------------- */
.scrim {
  position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1);
  background: rgba(0,0,0,0.55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(430px, 100vw);
  background: var(--paper); border-left: var(--rule);
  display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform 0.5s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem var(--pad); border-bottom: var(--rule); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 var(--pad); }
.drawer__foot { border-top: var(--rule); padding: 1.1rem var(--pad) 1.35rem; display: grid; gap: 0.9rem; }

.shipbar { display: grid; gap: 0.45rem; }
.shipbar__track { height: 3px; background: var(--g-200); }
.shipbar__fill { height: 100%; background: var(--ink); width: 0; transition: width 0.5s var(--ease); }

.cart-line { display: grid; grid-template-columns: 74px 1fr auto; gap: 0.9rem; padding: 1.1rem 0; border-bottom: var(--rule-soft); }
.line__img { aspect-ratio: 1; overflow: hidden; border: var(--rule-soft); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__mid { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.line__name { font-weight: 600; font-size: 0.85rem; }
.line__ctrl { display: inline-flex; align-items: center; border: 1px solid var(--g-300); align-self: flex-start; }
.line__ctrl button { width: 26px; height: 26px; display: grid; place-items: center; font-size: 0.8rem; }
.line__ctrl button:hover { background: var(--ink); color: var(--paper); }
.line__ctrl span { min-width: 26px; text-align: center; font-family: var(--f-mono); font-size: 0.68rem; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line__x { color: var(--g-400); font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; }
.line__x:hover { color: var(--ink); text-decoration: underline; }

.empty { display: grid; gap: 1.1rem; place-items: start; padding-block: 3.5rem; }

/* --- toast ----------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; z-index: 500;
  transform: translate(-50%, 130%);
  background: var(--ink); color: var(--paper);
  padding: 0.85rem 1.3rem; display: flex; align-items: center; gap: 0.7rem;
  transition: transform 0.45s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }

/* --- newsletter / footer --------------------------------------------------- */
.subscribe { display: flex; border: var(--rule); max-width: 460px; }
.subscribe input { flex: 1; min-width: 0; border: 0; padding: 0.95rem 1rem; background: transparent; }
.subscribe input::placeholder { color: var(--g-400); }
.subscribe button { padding-inline: 1.3rem; background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; transition: opacity 0.2s; }
.subscribe button:hover { opacity: 0.82; }

.foot { background: var(--ink); color: var(--paper); padding-top: clamp(3rem, 6vw, 5.5rem); }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem 1.5rem; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__col { display: flex; flex-direction: column; gap: 0.65rem; }
.foot__col .mono { color: var(--g-400); margin-bottom: 0.35rem; }
.foot__mark { margin-top: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--g-700); padding-top: 1.1rem; padding-bottom: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--g-400); }
.foot__wordmark { width: 100%; overflow: hidden; line-height: 0.72; padding-top: clamp(1.5rem, 4vw, 3rem); }
.foot__wordmark svg { width: 100%; height: auto; display: block; }

/* --- reveal ---------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.07s; } .rv-d2 { transition-delay: 0.14s; } .rv-d3 { transition-delay: 0.21s; }

/* --- cursor ---------------------------------------------------------------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: var(--z-cursor);
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border: 1px solid var(--ink); border-radius: 999px;
  pointer-events: none; mix-blend-mode: difference; filter: invert(1);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), opacity 0.3s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* --- mobile nav ------------------------------------------------------------ */
.mobnav {
  position: fixed; inset: calc(var(--nav-h) + var(--bar-h)) 0 0 0; z-index: calc(var(--z-nav) - 1);
  background: var(--paper); padding: var(--pad);
  display: flex; flex-direction: column; gap: 0.35rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s;
}
.mobnav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobnav a { padding-block: 0.6rem; border-bottom: var(--rule-soft); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__inner { grid-template-columns: 1fr auto 1fr; }
}
