/* STMPD — Culture in the Making (V2). One stylesheet, no build step. */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Passion One";
  src: url("../fonts/passion-one-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-var-italic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --base: #F4F2ED;
  --white: #FFFFFF;
  --ink: #0A0807;
  --muted: #5E5B55;
  --muted-2: #6B6459;
  --line: #DCD9D1;
  --y: #FAE915;
  --knit: #D6DBDF;
  --ph: #E4E1D9;
  --film: #1C1A18;
  --knit-bg: #161413;
  --foot-muted: #BDB7AA;
  --foot-line: #2A2624;
  --red: #E8333A;
  --blue: #1FB5E8;
  --error: #B3141B;

  --f-display: "Passion One", Impact, "Arial Narrow", sans-serif;
  --f-text: "Nunito Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --sec: clamp(64px, 9vw, 130px);

  --ease-pop: cubic-bezier(.2, .9, .2, 1.2);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.bg-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--y); }
[hidden] { display: none !important; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--y); padding: 12px 16px; font-size: 13px;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.disp {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: .005em;
}
.disp em, .hl {
  font-style: normal;
  background: var(--y);
  padding: 0 .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.bg-ink .disp em { background: none; color: var(--y); padding: 0; }
.blk {
  font-family: var(--f-text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
/* Big headings never split a word: they also shrink with their own column.
   18cqi keeps an 11-letter word like INDEPENDENT (plus highlight) on one line. */
.sec-head__title, .hero__text, .split__title, .symbol__text, .ticket__main, .apply__intro, .contact-head, .vrow, .stock { container-type: inline-size; }
.d-hero    { font-size: min(clamp(60px, 9.5vw, 156px), 18cqi); }
.d-xxl     { font-size: min(clamp(60px, 11.5vw, 200px), 18cqi); }
.d-xl      { font-size: min(clamp(52px, 10vw, 172px), 18cqi); }
.d-l       { font-size: min(clamp(50px, 8.5vw, 148px), 18cqi); }
.d-m       { font-size: min(clamp(46px, 7vw, 124px), 18cqi); }
.d-product { font-size: clamp(52px, 5.4vw, 88px); }
.d-sub     { font-size: clamp(38px, 3.8vw, 60px); }
.d-acc     { font-size: clamp(34px, 4.2vw, 60px); padding: 0 .06em; }
.d-s       { font-size: clamp(38px, 3.2vw, 52px); }
.d-num     { font-size: 52px; align-self: flex-start; }
.d-quote   { font-size: clamp(36px, 4.6vw, 76px); line-height: .95; max-width: 1100px; }

.lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; font-weight: 300; }
.eyebrow { font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.text-y { color: var(--y); }
.ana { text-shadow: -2px 0 var(--red), 2px 0 var(--blue); }

/* ---------- Layout ---------- */
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1040px; }
.sec { padding-block: var(--sec); }
.sec--pad { padding-inline: var(--gutter); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .eyebrow { color: var(--y); }
.bg-ink .sec-head__intro { color: var(--knit); }
.rule-top { border-top: 3px solid var(--ink); }
.self-start { align-self: flex-start; }

[class*="stack-"] { display: flex; flex-direction: column; }
.stack-14 { gap: 14px; } .stack-18 { gap: 18px; } .stack-20 { gap: 20px; }
.stack-22 { gap: 22px; } .stack-32 { gap: 32px; } .stack-40 { gap: 40px; }
.stack-44 { gap: 44px; } .stack-48 { gap: 48px; } .stack-56 { gap: 56px; }
.stack-64 { gap: 64px; }

.sec-head {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  align-items: flex-end; justify-content: space-between;
}
.sec-head__title { display: flex; flex-direction: column; gap: 14px; flex: 1 1 620px; min-width: 0; }
.sec-head__intro { flex: 0 1 440px; }
.actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  font-family: var(--f-text); font-weight: 900; text-transform: uppercase;
  letter-spacing: .05em; font-size: 15px;
  border: 2px solid var(--ink); background: transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) {
  .btn:hover { --lift: translate(-3px, -3px); transform: var(--lift); box-shadow: 6px 6px 0 var(--y); animation: lift-wiggle .45s var(--ease-pop) both; }
}
.btn:active { animation: none; transform: translate(0, 0); box-shadow: 2px 2px 0 var(--y); }
.btn-k { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btn-wide { width: 100%; }
.ulink, .ulink-k {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.ulink { font-size: 14px; text-decoration-color: var(--y); }
.ulink:hover { text-decoration-color: currentColor; }
.ulink-k { font-size: 12px; text-decoration-color: currentColor; }
.ulink-k:hover { text-decoration-color: var(--y); }
.link-plain { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Knitted banners ---------- */
.knit { background: var(--knit-bg); overflow: hidden; line-height: 0; height: clamp(110px, 12vw, 180px); }
.knit--info { height: 30px; }
.knit__track { display: flex; width: max-content; height: 100%; animation: marquee 70s linear infinite; }
.knit--info .knit__track { animation-duration: 120s; }
.knit--rev .knit__track { animation-direction: reverse; }
.knit img { height: 100%; width: auto; max-width: none; }
@media (hover: hover) { .knit:hover .knit__track { animation-play-state: paused; } }

/* Tilted band: the strip is wider than the screen so the tilt never shows its ends */
.knit-band {
  --above: var(--base);
  --below: var(--base);
  --tilt: 1.5deg;
  overflow: hidden;
  padding-block: clamp(18px, 2.8vw, 40px);
  background: linear-gradient(var(--above) 50%, var(--below) 50%);
}
.knit-band .knit { width: calc(100% + 120px); margin-inline: -60px; }
.knit-band--l .knit { rotate: calc(var(--tilt) * -1); }
.knit-band--r .knit { rotate: var(--tilt); }
.above-white { --above: var(--white); } .below-white { --below: var(--white); }
.above-yellow { --above: var(--y); } .below-yellow { --below: var(--y); }
.above-ink { --above: var(--ink); } .below-ink { --below: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
/* Sticky bar. site.js hides it once the first banner has scrolled past,
   and only brings it back when you're above that banner again. */
.site-header-bar {
  position: sticky; top: 0; z-index: 40;
  background: var(--base);
  transition: transform .35s var(--ease-out), box-shadow .2s;
}
.site-header-bar.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header-bar.is-hidden { transform: translateY(-100%); }
.site-header-bar.no-anim { transition: none; }
/* The scarf right after the hero slides over the sticky header while scrolling.
   Its top half is see-through, so only the scarf itself covers the header. */
.hero + .knit-band { position: relative; z-index: 50; pointer-events: none; --above: transparent; }
.site-header {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 20px;
}
.site-header__logo img { height: 48px; width: auto; }
.site-nav { display: flex; gap: 36px; font-size: 14px; }
.navlink { padding: 12px 2px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.navlink:hover { border-bottom-color: var(--y); }
.navlink.is-active { border-bottom-color: var(--ink); }
.site-header__actions { display: flex; gap: 10px; align-items: center; }
.menu-btn {
  display: none; align-items: center; min-height: 44px; min-width: 44px; padding: 0 14px;
  background: var(--ink); color: var(--white); border: 0; font-size: 13px; cursor: pointer;
}
/* Mobile menu: fills the screen below the header (site.js sets --nav-top and locks the page) */
.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 0px); z-index: 30;
  display: flex; flex-direction: column;
  background: var(--ink); padding: 12px var(--gutter) max(28px, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  animation: nav-in .3s var(--ease-out);
}
.mobile-nav a.disp {
  color: var(--white); font-size: clamp(44px, 14vw, 72px); line-height: .9;
  padding: 14px 0 10px; border-bottom: 2px solid var(--foot-line);
}
.mobile-nav a.disp[aria-current] { color: var(--y); }
.mobile-nav__cta { flex: none; margin-top: auto; background: var(--y); border-color: var(--y); color: var(--ink); }
.mobile-nav a.disp:nth-last-child(2) { margin-bottom: 32px; }
html.menu-open { overflow: hidden; }
/* Above the scarf that slides over the header on the homepage */
html.menu-open .site-header-bar { z-index: 60; }
@keyframes nav-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

/* ---------- Media + placeholders ---------- */
.media {
  position: relative; overflow: hidden; background: var(--ph);
  display: flex; align-items: flex-end; padding: 16px;
}
.media--dark { background: var(--film); }
.media--grey { background: var(--knit); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media__hint { position: relative; font-size: 11px; color: var(--muted); }
.media--dark .media__hint { color: var(--knit); }
.ratio-5-4 { aspect-ratio: 5 / 4; } .ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-4-3 { aspect-ratio: 4 / 3; } .ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-9-16 { aspect-ratio: 9 / 16; } .ratio-1-1 { aspect-ratio: 1 / 1; }
.caption { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--y); padding: 6px 10px; font-size: 11px;
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 24px; padding-bottom: 96px; }
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 12px; }
.hero__intro { max-width: 460px; }
.hero__media { flex: 1.35 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hero__media--narrow { flex: 0 1 420px; }
/* Keep faces and raised arms in frame when the hero crops the photo */
.hero__media .media img { object-position: 50% 30%; }
.hero--home { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 120px); }
/* Desktop: the hero fills the screen minus a strip for the banner, content centred,
   so the knitted banner lands in the lower part of the first screen. */
@media (min-width: 980px) {
  .hero--home {
    --hero-top: clamp(40px, 8svh, 110px);
    --hero-bottom: clamp(48px, 9svh, 120px);
    --hero-h: calc(100svh - 118px - max(150px, 18svh));
    min-height: var(--hero-h);
    padding-top: var(--hero-top);
    padding-bottom: var(--hero-bottom);
    align-items: center;
  }
  .hero--home .hero__media .media { max-height: calc(var(--hero-h) - var(--hero-top) - var(--hero-bottom) - 32px); min-height: 320px; }
}
.hero--story { padding-top: 48px; }
.hero--story .hero__text { flex-basis: 520px; max-width: 680px; }
.hero__bison { flex: 1 1 420px; min-width: 0; display: flex; justify-content: flex-end; }
.hero__bison img { width: 100%; max-width: 640px; height: auto; }
.charge { animation: charge 9s ease-in-out infinite; }
@keyframes charge {
  0%, 100% { transform: none; }
  45% { transform: translateX(-3%); }
  50% { transform: translate(-3.4%, -6px); }
  55% { transform: translateX(-3%); }
}

/* Shared size for the big STMPD + bison logo (homepage band and footer) */
:root { --logo-pad: clamp(32px, 6svh, 80px); --logo-w: min(100%, 1100px, calc((100svh - var(--logo-pad) * 2) * 1.25)); }
.logo-band {
  --pad: var(--logo-pad);
  display: grid; place-items: center;
  min-height: 100svh; padding: var(--pad) var(--gutter);
  background: var(--y);
}
/* Logo is 724 x 579: as large as fits the screen in both directions */
.logo-band img { width: var(--logo-w); height: auto; }

/* ---------- Numbered rows ---------- */
.vrows { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.vrow {
  position: relative; isolation: isolate;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  padding: 28px 0; border-bottom: 3px solid var(--ink); overflow: hidden;
}
.vrow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--y);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease-pop);
}
.vrow > * { transition: transform .3s var(--ease-out); }
.vrow__num { width: 48px; font-size: 15px; color: var(--muted-2); }
.vrow__title { flex: 1 1 520px; min-width: 0; font-size: min(clamp(40px, 6.2vw, 104px), 16cqi); }
.vrow__text { flex: 0 1 340px; }
@media (hover: hover) {
  .vrow:hover::before { transform: scaleX(1); }
  .vrow:hover > * { transform: translateX(28px); }
  .vrow:hover .vrow__num { color: var(--ink); }
}

/* ---------- Collection ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: center; border-bottom: 1px solid var(--line); }
.tab {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px;
  font-size: 13px; letter-spacing: .05em; color: var(--muted);
  border-bottom: 3px solid transparent;
}
.tab:hover { color: var(--ink); }
.tab[aria-current] { color: var(--ink); border-bottom-color: var(--y); }
.tabs__count { margin-left: auto; font-size: 12px; color: var(--muted); }
.empty {
  border: 2px dashed var(--ink); padding: 64px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted);
}
.empty .disp { color: var(--ink); }
.grid-products {
  display: grid; gap: 48px 28px; align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
}
.grid-products--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card__media { transition: transform .35s var(--ease-pop), box-shadow .35s; }
.card__media img { transition: transform .5s var(--ease-out); }
@media (hover: hover) {
  .card:hover .card__media {
    --lift: translateY(-6px); --rest: -.6deg;
    transform: var(--lift) rotate(var(--rest));
    box-shadow: 8px 10px 0 var(--y);
    animation: lift-wiggle .5s var(--ease-pop) both;
  }
  .card:nth-child(even):hover .card__media { --rest: .6deg; }
  .card:hover .card__media img { transform: scale(1.025); }
}
/* Touch: a short press-in instead of the hover lift */
.card:active .card__media { transform: scale(.98); box-shadow: 4px 5px 0 var(--y); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card__name { position: relative; isolation: isolate; font-size: 36px; line-height: .95; padding: 0 .06em; margin-left: -.06em; }
.card__price { font-size: 15px; white-space: nowrap; }
.card__spec { font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- Hover motion: the yellow moves a little, once per hover ---------- */
/* Marker swipe: yellow wipes in from the left, overshoots, settles slightly tilted */
.card__name::before, .acc summary .disp::before {
  content: ""; position: absolute; inset: -.02em -.04em; z-index: -1;
  background: var(--y);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .2s var(--ease-out);
}
@media (hover: hover) {
  .card:hover .card__name::before, .acc summary:hover .disp::before {
    transform: scaleX(1) rotate(-.8deg);
    animation: marker .55s var(--ease-pop) both;
  }
}
@keyframes marker {
  0%   { transform: scaleX(0) rotate(-2deg); }
  55%  { transform: scaleX(1.03) rotate(-2deg); }
  75%  { transform: scaleX(1) rotate(.6deg); }
  100% { transform: scaleX(1) rotate(-.8deg); }
}
/* Lift + small wiggle for things with the yellow drop shadow */
@keyframes lift-wiggle {
  0%   { transform: translate(0, 0) rotate(0); }
  40%  { transform: var(--lift) rotate(-1.6deg); }
  70%  { transform: var(--lift) rotate(.9deg); }
  100% { transform: var(--lift) rotate(var(--rest, 0deg)); }
}

/* ---------- Film, columns, feed ---------- */
.film { position: relative; background: var(--film); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: var(--film); }
.film__outline {
  position: absolute; left: 22px; bottom: 18px; max-width: calc(100% - 44px);
  font-size: clamp(40px, 7vw, 120px); color: transparent; -webkit-text-stroke: 2px var(--y);
  pointer-events: none;
}
.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; padding-top: 28px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.col .eyebrow { color: var(--muted-2); }
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 340px)); gap: 28px; justify-content: center; }
.reel { position: relative; display: block; transition: transform .4s var(--ease-pop), box-shadow .4s; }
@media (hover: hover) { .reel:hover { transform: scale(1.03) rotate(-1deg); box-shadow: 10px 12px 0 var(--y); } }
.reel__meta {
  position: absolute; inset: auto 0 0; padding: 18px; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(transparent, rgba(10, 8, 7, .8)); color: var(--white); font-size: 15px;
}
.reel__meta .blk { font-size: 11px; }

/* ---------- Stockists ---------- */
.stocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.stock {
  position: relative; overflow: hidden; padding: 28px; min-height: 360px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .35s var(--ease-pop), box-shadow .35s;
}
@media (hover: hover) {
  .stock:hover { --lift: translateY(-6px); --rest: -.6deg; transform: var(--lift) rotate(var(--rest)); box-shadow: 8px 10px 0 var(--y); animation: lift-wiggle .5s var(--ease-pop) both; }
  .stock--yours:hover { box-shadow: 8px 10px 0 var(--ink); }
}
.stock--dark { background: var(--ink); color: var(--white); }
.stock--light { background: var(--base); }
.stock--yellow, .stock--yours { background: var(--y); }
.stock--yours { border: 2px dashed var(--ink); }
.stock__bison { position: absolute; right: -40px; bottom: -24px; width: 240px; height: auto; opacity: .12; pointer-events: none; }
.stock__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.stock--dark .stock__meta { color: var(--y); }
.stock--yours .stock__meta, .stock--yellow .stock__meta { color: var(--ink); }
.stock__name { font-size: min(clamp(44px, 4.4vw, 68px), 15.5cqi); }
.stock__text { font-size: 16px; line-height: 1.55; }
.stock--dark .stock__text { color: var(--knit); }
.stock__tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; margin-top: auto; }
.stock__tags span { border: 2px solid currentColor; padding: 6px 10px; }
.stock--dark .stock__tags span { border-color: #3A3532; }
.stock--dark .stock__tags .is-main { border-color: var(--y); color: var(--y); }
.stock__tags .is-dashed { border-style: dashed; }
.stock__link { position: relative; align-self: flex-start; font-size: 13px; }
.partner-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; font-size: 14px; border-bottom: 3px solid var(--y);
}
.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 233, 21, 0); }
  50% { box-shadow: 0 0 0 10px rgba(250, 233, 21, .55); }
}

/* ---------- Pickup ticket ---------- */
.ticket-sec { overflow-x: clip; }
.ticket-wrap { max-width: 1180px; margin-inline: auto; display: flex; flex-direction: column; gap: 28px; }
.ticket { position: relative; display: flex; background: var(--y); rotate: -1deg; }
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 50%; background: var(--base);
}
.ticket::before { left: -22px; }
.ticket::after { right: -22px; }
.ticket__main { flex: 1 1 auto; min-width: 0; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.ticket__main > .blk:first-child { font-size: 12px; }
.ticket__when { font-size: clamp(16px, 1.8vw, 22px); }
.ticket__text { max-width: 520px; }
.ticket__stub {
  flex: 0 0 auto; min-width: 300px; padding: clamp(28px, 4vw, 56px);
  border-left: 3px dashed var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.ticket__next { display: flex; flex-direction: column; gap: 6px; background: var(--ink); color: var(--y); padding: 16px 18px; }
.ticket__next .blk { font-size: 11px; }
.ticket__next .disp { font-size: 42px; line-height: 1; }
.ticket__prices { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ticket__prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.ticket__prices dt { font-size: 14px; }
.ticket__prices dd { margin: 0; font-size: 34px; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); }
.site-footer__inner { padding-block: 96px 40px; display: flex; flex-direction: column; gap: 56px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 40px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.6; }
.site-footer a:hover { color: var(--y); }
.eyebrow-y { font-size: 12px; color: var(--y); }
.footer-logo { display: flex; justify-content: center; padding-top: clamp(40px, 7vw, 120px); }
.footer-logo img { width: var(--logo-w); height: auto; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 11px; color: var(--foot-muted); border-top: 2px solid var(--foot-line); padding-top: 24px;
}

/* ---------- Product ---------- */
.buy { padding-top: 8px; padding-bottom: 110px; display: flex; flex-direction: column; gap: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.buy__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.gallery { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery__main { overflow: visible; }
.sticker {
  position: absolute; right: -8px; top: 22px; z-index: 1; rotate: 5deg;
  background: var(--y); padding: 8px 14px; font-size: 12px;
}
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.thumb { padding: 0; background: none; border: 2px solid transparent; cursor: pointer; }
.thumb:hover { border-color: var(--foot-muted); }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.thumb img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.buy__info { flex: 1 1 400px; min-width: 0; max-width: 540px; display: flex; flex-direction: column; gap: 26px; }
.price { font-size: 40px; line-height: 1; }
.label { display: block; font-size: 12px; padding: 0; }
.label__opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.sizes { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.size, .chip { position: relative; }
.size input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; min-height: 48px; padding: 0 10px; font-size: 14px;
  background: var(--white); border: 2px solid var(--line); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.size:hover span { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.size input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.order__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.qty { display: flex; align-items: center; background: var(--white); border: 2px solid var(--line); }
.qty__step { width: 48px; height: 52px; border: 0; background: transparent; font-size: 20px; font-weight: 900; cursor: pointer; }
.qty__input { width: 36px; text-align: center; border: 0; background: transparent; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.order__btn { flex: 1 1 240px; }
/* Keep the size picker clear of the sticky header when jumping back to it */
.sizes { scroll-margin-block: 120px; }
.sizes.is-missing .size span { animation: size-nudge .5s var(--ease-pop); border-color: var(--ink); }
@keyframes size-nudge { 30% { transform: translateY(-4px); background: var(--y); } }

/* Order bar (phones only): slides up from the bottom edge */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: none; align-items: center; gap: 12px;
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
  background: var(--base); border-top: 3px solid var(--ink);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s var(--ease-out), visibility 0s .3s;
}
.order-bar.is-shown { transform: none; visibility: visible; transition: transform .3s var(--ease-out); }
.order-bar__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.order-bar__name { font-size: 24px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-bar__price { font-size: 13px; }
.order-bar__btn { flex: none; min-height: 48px; padding: 0 18px; font-size: 13px; gap: 8px; }
.order-bar__btn .icon-arrow { width: 16px; height: 16px; }
.buy__note { font-size: 14px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.buy__note strong { font-weight: 700; color: var(--ink); }

.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split__title { flex: 1 1 520px; min-width: 0; }
.prose { flex: 1 1 420px; max-width: 600px; display: flex; flex-direction: column; gap: 18px; }
.prose strong { font-weight: 700; }
.prose--dark { color: var(--knit); font-size: 18px; line-height: 1.6; max-width: 480px; }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.why__item { padding: 32px; display: flex; flex-direction: column; gap: 16px; background: var(--white); }
.why__item--1 { background: var(--ink); color: var(--white); }
.why__item--2 { background: var(--y); }
.why__icon { height: 52px; width: auto; }
img.why__icon { width: 64px; height: auto; }
.why__item--1 .why__icon { color: var(--y); }
.why__title { font-size: 19px; line-height: 1.2; }
.why__text { font-size: 16px; line-height: 1.5; color: var(--muted); }
.why__item--1 .why__text { color: var(--knit); }
.why__item--2 .why__text { color: var(--ink); }

.accordion { display: flex; flex-direction: column; border-bottom: 3px solid var(--ink); }
.acc { border-top: 3px solid var(--ink); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .disp { position: relative; isolation: isolate; }
.acc__sign::before { content: "+"; font-size: 32px; }
.acc[open] .acc__sign::before { content: "−"; }
.kv { margin: 0 0 26px; display: flex; flex-direction: column; }
.kv div { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.kv dt { flex: 0 0 190px; font-size: 12px; color: var(--muted-2); padding-top: 3px; }
.kv dd { margin: 0; flex: 1 1 300px; }
.kv--big { flex: 1 1 440px; margin: 0; }
.kv--big div { padding: 22px 0; align-items: baseline; }
.kv--big dt { flex-basis: 150px; }
.kv--big dd { font-size: 18px; }
.table-scroll { overflow-x: auto; background: var(--white); border: 2px solid var(--line); margin-bottom: 26px; }
.size-table { width: 100%; min-width: 340px; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { text-align: left; padding: 10px 14px; }
.size-table thead tr { font-size: 11px; background: var(--base); }
.size-table tbody tr { border-top: 1px solid var(--line); }
.video-sec { padding-bottom: 110px; }
.video { width: 100%; aspect-ratio: 16 / 9; background: var(--film); }

/* ---------- Our story ---------- */
.then-now { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 32px; }
.tag-when { position: absolute; top: 16px; right: 18px; z-index: 1; font-size: 56px; }
.tag-when--y { color: var(--y); }
.body-l { font-size: 17px; line-height: 1.6; max-width: 560px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.timeline li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; }
.mosaic { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; align-items: start; }
.tile img { transition: transform .4s var(--ease-out); }
@media (hover: hover) { .tile:hover img { transform: scale(1.02); } }
.tile--1 { margin-top: 56px; }
.tile--3 { margin-top: 32px; }
.symbol { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.symbol__img { flex: 1 1 560px; min-width: 0; }
.symbol__img img { width: 100%; height: auto; }
.symbol__text { flex: 1 1 380px; }
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact__form { flex: 1 1 560px; min-width: 0; }
.contact__aside { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; }
.contact__aside > div { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.contact__aside > div:last-child { border-bottom: 0; }
.contact__aside .eyebrow { font-size: 11px; color: var(--muted-2); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 22px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.field-wrap { display: flex; flex-direction: column; gap: 8px; }
.field {
  width: 100%; min-height: 56px; padding: 14px 16px; font-size: 17px;
  background: var(--white); color: var(--ink); border: 2px solid var(--line); border-radius: 0;
}
textarea.field { resize: vertical; min-height: 160px; }
.field:focus { outline: 3px solid var(--y); outline-offset: 1px; border-color: var(--ink); }
.field[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 12px; color: var(--error); }
.form-alert { background: var(--ink); color: var(--y); padding: 14px 18px; font-size: 13px; }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.choices__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  font-size: 12px; letter-spacing: .05em; border: 2px solid var(--ink); border-radius: 999px;
  cursor: pointer; transition: background .2s, color .2s;
}
.chip span { transition: background .2s, color .2s, transform .3s var(--ease-pop); }
@media (hover: hover) { .chip:hover span { background: var(--y); transform: rotate(-2deg); } }
.chip input:checked + span { background: var(--ink); color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { background: var(--y); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.form-done img { width: 72px; height: auto; }

/* ---------- Partners ---------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.facts li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.way {
  padding: 36px; min-height: 340px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s var(--ease-pop), box-shadow .35s;
}
@media (hover: hover) { .way:hover { --lift: translateY(-6px); --rest: .6deg; transform: var(--lift) rotate(var(--rest)); box-shadow: 8px 10px 0 var(--y); animation: lift-wiggle .5s var(--ease-pop) both; } }
.way--dark { background: var(--ink); color: var(--white); }
.way--light { background: var(--white); }
.way__num { font-size: 80px; }
.way--dark .way__num { color: var(--y); }
.way__text { font-size: 17px; line-height: 1.55; }
.way--dark .way__text { color: var(--knit); }
.way__tags { margin-top: auto; font-size: 11px; color: var(--muted); }
.way--dark .way__tags { color: var(--y); }
.preview { background: var(--white); color: var(--ink); border: 2px solid var(--y); }
.bg-ink .preview .disp em { background: var(--y); color: inherit; padding: 0 .08em; }
.preview__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; background: var(--y); padding: 10px 18px; font-size: 11px; }
.preview__body { padding: clamp(24px, 4vw, 56px); }
.apply { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.apply__intro { flex: 1 1 420px; min-width: 0; }
.apply__form { flex: 1 1 560px; min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.steps .disp { flex: none; width: 60px; font-size: 40px; }

.error-page { min-height: 40vh; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header { padding-block: 12px; }
  .site-header__logo img { height: 40px; }
  .order-bar { display: flex; }
  /* Stacked ticket: the punched notches move to the tear line */
  .ticket { flex-direction: column; }
  .ticket::before, .ticket::after { display: none; }
  .ticket__stub { position: relative; min-width: 0; border-left: 0; border-top: 3px dashed var(--ink); }
  .ticket__stub::before, .ticket__stub::after {
    content: ""; position: absolute; top: -1.5px; translate: 0 -50%;
    width: 36px; height: 36px; border-radius: 50%; background: var(--base);
  }
  .ticket__stub::before { left: -18px; }
  .ticket__stub::after { right: -18px; }
}

@media (max-width: 760px) {
  /* Two products side by side, so the drop fits in a few thumb-scrolls */
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
  .card { gap: 10px; }
  .card__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card__name { font-size: clamp(22px, 6.6vw, 32px); }
  .card__spec { font-size: 13px; line-height: 1.4; }
  .badge { top: 8px; left: 8px; right: 8px; width: fit-content; padding: 4px 7px; font-size: 10px; }

  /* Rows you swipe sideways, running to the screen edge */
  .tabs, .grid-products--3 {
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar, .grid-products--3::-webkit-scrollbar { display: none; }
  .tabs { flex-wrap: nowrap; gap: 0 24px; }
  .tab, .tabs__count { flex: none; }
  .grid-products--3 {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72%, 300px);
    gap: 16px; padding-bottom: 8px; scroll-snap-type: x mandatory;
  }
  .grid-products--3 .card { scroll-snap-align: start; }

  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile--1 { margin-top: 40px; }
  .tile--3 { margin-top: 0; }
}

@media (max-width: 600px) {
  .hero { gap: 32px; }
  .logo-band { min-height: min(100svh, 130vw); }
  .stock, .why__item { padding: 24px; }
  .way { padding: 28px; }
  .timeline, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li, .facts li { padding-right: 12px; }
  .timeline .d-num { font-size: min(52px, 10vw); }
  .facts .disp { font-size: min(38px, 9vw); }
  .site-footer__inner { padding-block: 64px 32px; gap: 40px; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .site-footer__col:nth-child(n+3) { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  /* The header button moves into the menu */
  .site-header__actions .btn { display: none; }
  .hero { padding-bottom: 64px; }
  .stock, .way { min-height: 0; }
  .ticket { rotate: 0deg; }
}
@media (max-width: 359px) {
  .order-bar__btn .icon-arrow { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
