:root {
  --bg: #F2EFE9;
  --ink: #1F1E1B;
  --muted: #8B857B;
  --line: rgba(31, 30, 27, .18);
  --surface: #E4DFD6;        /* poster placeholder while loading */
  --cta-bg: #EC5F3B;        /* buttons: the subhead red (--accent), a touch brighter */
  --cta-ink: #191716;
  --glow: 236, 95, 59;      /* rgb of the button's outer glow */
  --shadow: 40, 32, 20;      /* rgb of poster shadows */
  --shadow-k: 1;
  --eye-white: #FFFFFF;
  --pupil: #1A1917;          /* pupils stay dark in both themes */
  --grain-opacity: .32;
  color-scheme: light;
  --font: "TeX Gyre Heros", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: var(--font);  /* one typeface throughout */
  --hand: var(--font);
  --topo: "KK Topo", var(--font);
  --accent: #DE694E;        /* terracotta: eyebrows */
  --gutter: clamp(16px, 4vw, 56px);
  /* Golden-ratio type scale (φ = 1.618), from a 16px base */
  --s-1: .786rem;   /* 12.6px  ÷√φ  labels */
  --s0: 1rem;       /* 16px    base, menu */
  --s1: 1.618rem;   /* 25.9px  logotype, poster line */
  --s2: 2.618rem;   /* 41.9px  */
  --s3: 4.236rem;   /* 67.8px  */
  --s4: 6.854rem;   /* 109.7px */
  --s4h: 8.718rem;  /* 139.5px  s4 × √φ — poster title max */
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* set by JS */
  --text-bottom: clamp(40px, 10.5vh, 110px);
  --pw: 300px;
  --ph: 424px;
  --py: 45.5%;              /* vertical centre of the focused poster */
}

/* Dark: a warm, stony black-grey rather than pure black */
:root[data-theme="dark"] {
  --bg: #181411;
  --ink: #ECE6DC;
  --muted: #9C958A;
  --line: rgba(236, 230, 220, .2);
  --surface: #201B17;
  --shadow: 0, 0, 0;
  --shadow-k: 1.6;
  --eye-white: #F4EFE7;
  --grain-opacity: .36;
  color-scheme: dark;
}

/* Only animate colours while the theme is being switched, never on load */
.theme-anim, .theme-anim *, .theme-anim *::before {
  transition: background-color .6s ease, color .6s ease, fill .6s ease, border-color .6s ease, box-shadow .6s ease !important;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--s0);
  -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.is-loading { overflow: hidden; } /* no scrolling under the loader */

a { color: inherit; text-decoration: none; }

/* Softened type (filters defined inline in index.html) */
.defs { position: absolute; }
.info__title { filter: url(#soft-lg); }
.info__line, .info__count, .nav a:not(.nav__cart), .nav__count, .cta__label, .hint,
.card__meta, .site-footer p { filter: url(#soft-sm); }
.collection__title { filter: url(#soft-md); }
.protect body { -webkit-touch-callout: none; } /* no iOS long-press save (see PROTECT_ARTWORK in hero.js) */

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 0;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 120px;
  opacity: var(--grain-opacity);
  animation: grain 1s steps(1) infinite;
}
.loader .grain { position: absolute; }
/* jump between offsets ~8 times a second, like film frames */
@keyframes grain {
  0%     { transform: translate(0, 0); }
  12.5%  { transform: translate(-7%, 4%); }
  25%    { transform: translate(5%, -9%); }
  37.5%  { transform: translate(-11%, -3%); }
  50%    { transform: translate(9%, 8%); }
  62.5%  { transform: translate(-3%, 11%); }
  75%    { transform: translate(12%, -5%); }
  87.5%  { transform: translate(-8%, -10%); }
}
@media (prefers-reduced-motion: reduce) { .grain, .pillar__card::before, .pillar__icon { animation: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  overflow: hidden;
  background: var(--bg);
  transition: opacity .9s var(--ease), visibility 0s .9s;
}
.loader__icon { width: clamp(84px, 9vw, 120px); opacity: 0; transform: translateY(6px); transition: opacity 1.2s ease, transform 1.4s var(--ease); }
.is-drawing .loader__icon { opacity: 1; transform: none; }

/* ---------- Eyes ---------- */
.eyes { display: block; width: 100%; height: auto; overflow: visible; color: var(--ink); }
.eyes .eye__white { fill: var(--eye-white); }
.eyes .eye__pupil { fill: var(--pupil); }
.eyes .eye__lid { fill: currentColor; }
.eyes .eye__open {
  transform-box: fill-box;
  transform-origin: 50% 72%;
  transform: scaleY(0);
  opacity: 0;
  transition: transform .9s var(--ease), opacity .35s ease;
}
.eyes .eye__lid {
  transform-box: fill-box;
  transform-origin: 50% 0;
  transition: opacity .45s ease, transform .9s var(--ease);
}
.eyes.is-open-l .eye--l .eye__open,
.eyes.is-open-r .eye--r .eye__open { transform: none; opacity: 1; }
.eyes.is-open-l .eye--l .eye__lid,
.eyes.is-open-r .eye--r .eye__lid { opacity: 0; transform: translateY(-7px) scaleY(.5); }
.eyes .eye__pupil {
  transform: translate(var(--look-x, 0px), var(--look-y, 0px));
  transition: transform .9s var(--ease);
}
.eyes.is-curious .eye__pupil { transition-duration: 1.6s; }
.eyes.is-wandering .eye__pupil { transition-duration: 1.3s; } /* idle gaze drifts slowly */ /* slow, wondering drift */
.eyes.is-awake .eye .eye__open { transition-duration: .22s, .2s; }
.eyes.is-blinking .eye .eye__open { transform: scaleY(.06); opacity: 0; transition-duration: .09s, .09s; }
/* a blink closes onto the brand's closed-eye lids */
.eyes.is-blinking .eye .eye__lid { opacity: 1; transform: none; transition-duration: .09s, .09s; }

.loader__word { display: flex; padding-bottom: .1em; }
.logotype { display: block; height: 1em; width: auto; fill: currentColor; overflow: hidden; }
.loader__word .logotype { height: clamp(var(--s2), 6vw, var(--s3)); }
/* each glyph rises in turn (units are logotype viewBox units) */
.loader__word .logotype > * { transform: translateY(170px); transition: transform 1s var(--ease); }
.is-word .loader__word .logotype > * { transform: none; }
.loader__word .logotype > :nth-child(2) { transition-delay: .05s; }
.loader__word .logotype > :nth-child(3) { transition-delay: .10s; }
.loader__word .logotype > :nth-child(4) { transition-delay: .15s; }
.loader__word .logotype > :nth-child(5) { transition-delay: .20s; }
.loader__word .logotype > :nth-child(6) { transition-delay: .25s; }
.loader__word .logotype > :nth-child(7) { transition-delay: .30s; }
.loader__word .logotype > :nth-child(8) { transition-delay: .45s; }

.is-leaving .loader { opacity: 0; visibility: hidden; }
.is-leaving .loader__icon,
.is-leaving .loader__word { transform: translateY(-12px); transition: transform .9s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* eyes · centred wordmark · menu */
  align-items: center;
  padding: 24px var(--gutter);
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease), padding .6s var(--ease);
}
/* once scrolled, a soft backdrop keeps the header readable over the grid */
.is-scrolled .site-header {
  padding-top: 14px; padding-bottom: 14px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand__eyes { justify-self: start; display: block; width: calc(var(--s1) * 2); }
.brand { justify-self: center; display: block; font-size: var(--s1); line-height: 1; }
.brand .logotype { height: .95em; }
.nav { justify-self: end; display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: var(--s0); }
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cart { position: relative; display: grid; place-items: center; width: 24px; height: 24px; }
.nav__cart::after { display: none; } /* no underline on the icon */
.nav__cart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.nav__count {
  position: absolute;
  top: -7px; right: -9px;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.nav { align-items: center; }

/* Theme toggle: rounded-square button, moon in light mode, sun in dark */
.theme-toggle {
  position: relative;
  width: 36px; height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .4s ease, background-color .4s ease;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.theme-toggle svg {
  grid-area: 1 / 1;
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: opacity .5s ease, transform .7s var(--ease);
}
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: none; }

/* UI fades in after the posters land */
.site-header, .info, .cta, .hud { opacity: 0; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.site-header { transform: translateY(-8px); }
.is-ready .site-header, .is-ready .info, .is-ready .cta, .is-ready .hud { opacity: 1; transform: none; }

/* ---------- Stage ---------- */
.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100svh;   /* small viewport: steady while mobile toolbars slide */
  overflow: hidden; /* posters fall in from above */
}
.stage {
  position: absolute;
  inset: 0;
  perspective: calc(var(--pw) * 5);
  perspective-origin: 50% var(--py);
  touch-action: pan-y;
  cursor: grab;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}
.stage.is-dragging { cursor: grabbing; }
.track { position: absolute; inset: 0; transform-style: preserve-3d; }

.poster {
  position: absolute;
  left: 50%;
  top: var(--py);
  width: var(--pw);
  height: var(--ph);
  margin: calc(var(--ph) / -2) 0 0 calc(var(--pw) / -2);
  padding: 0;
  border: 0;
  background: var(--surface);
  cursor: inherit;
  will-change: transform, opacity;
  box-shadow:
    0 1px 1px rgba(var(--shadow), calc(.06 * var(--shadow-k))),
    0 18px 30px -18px rgba(var(--shadow), calc(.35 * var(--shadow-k))),
    0 50px 80px -40px rgba(var(--shadow), calc(.25 * var(--shadow-k)));
  opacity: 0;
}
.poster img { -webkit-user-drag: none; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Atmospheric haze: posters further away fade toward the background colour */
.poster__fog { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; }
.poster:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }

/* ---------- Info ---------- */
.info {
  position: absolute;
  left: var(--gutter);
  bottom: var(--text-bottom);
  z-index: 10;
  max-width: min(78vw, 1500px);   /* room for the longest title on one line at large sizes, clear of the button */
  pointer-events: none;
}
.info > * { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.info > :nth-child(2) { transition-delay: .06s; }
.info > :nth-child(3) { transition-delay: .12s; }
.info.is-out > * { opacity: 0; transform: translateY(10px); transition-duration: .25s; transition-delay: 0s; }

.info__count {
  margin: 0 0 16px;
  font-size: var(--s-1);
  letter-spacing: .08em;
  display: flex; align-items: center; gap: 10px;
  font-variant-numeric: tabular-nums;
}
.info__count i { display: inline-block; width: 28px; height: 1px; background: var(--ink); }
.info__total { color: var(--muted); }
.info__title {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(var(--s2), min(7.4vw, 12.5vh), var(--s4));
  line-height: 1;
  letter-spacing: -.02em;
}
.info__line {
  margin: 18px 0 0;
  font-family: var(--hand);
  font-weight: 400;
  letter-spacing: .01em;
  font-size: clamp(var(--s0), 1.45vw, 1.272rem);
  color: var(--muted);
}

.cta {
  position: absolute;
  right: var(--gutter);
  bottom: var(--text-bottom);
  z-index: 10;
  display: inline-flex; gap: 14px; align-items: center;
  padding: 1.05em 1.5em 1.05em 1.75em;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-ink);
  font-size: var(--s0);
  font-weight: 400;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(var(--glow), 0);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), box-shadow .7s var(--ease), scale .25s var(--ease);
}
/* glass shine: a soft diagonal highlight sweeps across on hover */
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 47%, rgba(255, 255, 255, .15) 54%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 1.1s var(--ease);
}
/* the glow lives outside the button only */
.cta:hover, .cta:focus-visible {
  box-shadow:
    0 0 18px 2px rgba(var(--glow), .55),
    0 0 48px 6px rgba(var(--glow), .3);
}
.cta:hover::after, .cta:focus-visible::after { transform: translateX(120%); }
.cta:active { scale: .97; }
.cta:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
/* small circle that swells on hover (click animation to come) */
.cta__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  transition: transform .6s var(--ease);
}
.cta:hover .cta__dot, .cta:focus-visible .cta__dot { transform: scale(1.9); }

/* ---------- HUD ---------- */
.hud {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vh, 40px);
  transform: translateX(-50%);
  z-index: 10;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.is-ready .hud { transform: translateX(-50%); }
.hint {
  margin: 0;
  font-size: var(--s-1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 1s var(--ease);
}
.hint.is-hidden { opacity: 0; }
.ticks { display: flex; gap: 6px; }
.ticks button {
  width: 18px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer;
  position: relative;
}
.ticks button::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: var(--line); transition: background .4s, transform .4s var(--ease);
}
.ticks button[aria-selected="true"]::before { background: var(--ink); transform: scaleY(2); }

/* ---------- Collection ---------- */
.collection {
  position: relative;
  z-index: 1;
  padding: clamp(96px, 16vh, 200px) var(--gutter) clamp(80px, 12vh, 160px);
  scroll-margin-top: 0;
}
.collection__head { margin-bottom: clamp(48px, 8vh, 96px); }
.collection__title {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(var(--s2), 6vw, var(--s4));
  line-height: 1;
  letter-spacing: -.02em;
}

.collection__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 40px);
  row-gap: clamp(48px, 7vh, 88px);
}

.card { opacity: 0; transform: translateY(28px); }
.card.is-in {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease) var(--d, 0ms), transform 1.3s var(--ease) var(--d, 0ms);
}
.card__link { display: block; outline: none; }
.card__art {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  overflow: hidden;
  box-shadow:
    0 1px 1px rgba(var(--shadow), calc(.06 * var(--shadow-k))),
    0 18px 30px -22px rgba(var(--shadow), calc(.3 * var(--shadow-k)));
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.card__art img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none; /* right-click hits the link, not the image */
  transition: transform 1.4s var(--ease);
}
.card__link:hover .card__art,
.card__link:focus-visible .card__art {
  transform: translateY(-6px);
  box-shadow:
    0 1px 1px rgba(var(--shadow), calc(.06 * var(--shadow-k))),
    0 30px 44px -26px rgba(var(--shadow), calc(.45 * var(--shadow-k))),
    0 60px 90px -50px rgba(var(--shadow), calc(.3 * var(--shadow-k)));
}
.card__link:hover .card__art img { transform: scale(1.025); }
.card__link:focus-visible .card__art { outline: 1px solid var(--ink); outline-offset: 6px; }

.card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  margin-top: 20px;
}
.card__num {
  padding-top: .3em;
  font-size: var(--s-1);
  letter-spacing: .08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.card__title {
  display: block;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.card__line {
  display: block;
  margin-top: 6px;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--muted);
}
.card__price { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin: 0 var(--gutter);
  padding: 40px 0 36px;
  border-top: 1px solid var(--line);
  font-size: var(--s-1);
  letter-spacing: .04em;
  color: var(--muted);
}
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 12rem)); gap: 28px clamp(24px, 6vw, 96px); }
.site-footer__col { display: grid; align-content: start; gap: 10px; }
.site-footer__head { margin: 0 0 4px; font-family: var(--topo); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.site-footer__col a { display: inline-flex; align-items: center; gap: 6px; justify-self: start; color: var(--ink); transition: opacity .3s; }
.site-footer__col a:hover { opacity: .6; }
.site-footer .ext { width: 1em; height: 1em; fill: currentColor; }
.site-footer__email { overflow-wrap: anywhere; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }

@media (max-width: 1099px) {
  .collection__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .card { opacity: 1; transform: none; }
}

/* ---------- What is it (section 2) ---------- */
.kicker {
  margin: 0 0 clamp(36px, 5.5vh, 64px);   /* clear air between the label and the big type */
  font-family: var(--topo);
  font-size: clamp(.9rem, 1.1vw, 1.15rem);
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.about {
  position: relative;
  z-index: 1;
  display: grid;
  /* same 3 columns as the pillars: big type spans two, the polaroid sits over the third */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "lead lead hello" "pillars pillars pillars";
  column-gap: clamp(24px, 4vw, 72px);
  align-items: end;      /* polaroid's bottom sits on the last line of the big type */
  --big: clamp(var(--s2), 5.2vw, var(--s4));
  padding: clamp(112px, 20vh, 240px) var(--gutter) 0;
  overflow-x: clip;
}
.about__lead { grid-area: lead; }
.about__title, .about__sub {
  margin: 0;
  font-weight: 400;
  font-size: var(--big);
  line-height: 1.02;
  letter-spacing: -.025em;
  filter: url(#soft-md);
  text-wrap: balance;
}
.about__sub { margin-top: .45em; color: var(--muted); }

.pillars {
  grid-area: pillars;
  list-style: none;
  margin: clamp(112px, 18vh, 200px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 72px);
}
.pillar {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "icon" "tag" "name" "line";
  align-content: start;
}
/* Each illustration sits in a small card with its own flickering grain, so it reads as a picture
   rather than competing with the kanji. Grain tile comes from js/grain.js. */
.pillar__card {
  grid-area: icon;
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(96px, 8vw, 124px);
  aspect-ratio: 1;
  margin-bottom: clamp(22px, 3vh, 32px);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: color-mix(in srgb, var(--ink) 5%, var(--bg));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 7%, transparent);
}
.pillar__card::before {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -1;
  background-image: var(--grain);
  background-size: 80px;
  opacity: .55;
  animation: grain 1.1s steps(1) infinite;
}
.pillar__icon {
  width: 62%;
  height: 62%;
  fill: currentColor;
  color: var(--ink);
  /* stop-motion "boil": hops between a few near-identical frames, plus a rare faint flicker */
  animation: boil 1.6s steps(1) infinite, flicker 5.3s steps(1) infinite;
}
.pillar:nth-child(2) .pillar__icon { animation-delay: -.5s, -2.1s; animation-duration: 1.8s, 6.1s; }
.pillar:nth-child(3) .pillar__icon { animation-delay: -1.1s, -3.7s; animation-duration: 1.5s, 4.7s; }
@keyframes boil {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(.6%, -.5%) rotate(-.7deg); }
  50%  { transform: translate(-.5%, .4%) rotate(.5deg); }
  75%  { transform: translate(.3%, .6%) rotate(-.3deg) scale(1.01); }
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  61%      { opacity: .82; }
  63%      { opacity: 1; }
  88%      { opacity: .9; }
  89%      { opacity: 1; }
}
.pillar__tag {
  grid-area: tag;
  margin: 0 0 14px;
  font-family: var(--topo);
  font-size: var(--s-1);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.pillar__name {
  grid-area: name;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 8px;
  margin: 0 0 14px;
  font-weight: 400;
}
.pillar__ja {
  font-family: "Kaisei Decol", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 3.3vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: .08em;
  color: var(--accent);
}
.pillar__romaji {
  font-size: clamp(.8rem, .9vw, .9rem);
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--accent);
  filter: url(#soft-sm);
}
.pillar__line {
  grid-area: line;
  margin: 0;
  max-width: 34ch;
  font-size: clamp(var(--s0), 1.15vw, 1.1rem);
  line-height: 1.45;
  color: var(--muted);
  filter: url(#soft-sm);
}

/* The human moment: a stack of polaroids, front one tossed aside to reveal the next */
.hello {
  grid-area: hello;
  justify-self: stretch; /* left edge lines up with the third pillar */
  position: relative;
  margin: 0 0 .9em;      /* lift to the baseline of the big type */
}
.snaps {
  /* card height ≈ width + 50px, which matches the big type's 4 lines + gap: headline top to last line */
  width: min(100%, calc(var(--big) * 3.9));
  display: grid;
  outline: none;
  touch-action: pan-y;   /* vertical scroll still works over it on phones */
  user-select: none;
  -webkit-user-select: none;
  transition: transform 1.6s var(--ease) .15s;
}
.polaroid {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 0;
  background: #FBFAF6;
  box-shadow:
    0 1px 2px rgba(var(--shadow), calc(.12 * var(--shadow-k))),
    0 18px 40px -12px rgba(var(--shadow), calc(.24 * var(--shadow-k)));
  z-index: var(--z);
  transform: translate(calc(var(--x) + var(--dx, 0px)), var(--y)) rotate(calc(var(--r) + var(--dr, 0deg)));
  transition: transform .75s var(--ease), box-shadow .75s var(--ease);
  cursor: grab;
}
:root[data-theme="dark"] .polaroid { background: #E9E4DA; }
/* stack depth: k=0 is on top */
.polaroid[data-k="0"] { --x: 0%;  --y: 0%;  --r: -4deg; --z: 4; }
.polaroid[data-k="1"] { --x: 5%;  --y: -2%; --r: 3deg;  --z: 3; }
.polaroid[data-k="2"] { --x: -5%; --y: 1.5%; --r: -9deg; --z: 2; }
.polaroid[data-k="3"] { --x: 2%;  --y: 2.5%; --r: 7deg;  --z: 1; }
.polaroid[data-k="0"]:hover { --y: -1.5%; --r: -2.5deg; }
.polaroid.is-dragging { transition: none; cursor: grabbing; }
/* tossed off to one side, on its way to (or back from) the bottom of the pile */
.polaroid.is-out { --x: calc(var(--toss, 1) * 112%); --y: -4%; --r: calc(var(--toss, 1) * 14deg); transition-duration: .42s; transition-timing-function: cubic-bezier(.3, 0, .2, 1); }
.polaroid__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #D8D2C6;
  pointer-events: none;
}
.polaroid__caption {
  display: block;
  flex: 1;
  min-height: calc(2.6em + 30px);   /* room for two lines, so every card is the same height */
  padding: 12px 2px 18px;
  font-style: italic;
  font-size: clamp(.8rem, calc(var(--big) * .18), 1rem);
  line-height: 1.3;
  color: #2C2A26;
  filter: url(#soft-sm);
}
.polaroid__tape {
  position: absolute;
  top: -14px; left: 50%;
  width: 92px; height: 28px;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(236, 228, 206, .72);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  transition: opacity .4s;
}
.polaroid:not([data-k="0"]) .polaroid__tape { opacity: 0; }

.snaps__nav {
  position: absolute;
  top: calc(100% + 26px);
  left: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--s-1);
  letter-spacing: .14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  filter: url(#soft-sm);
}
.snaps__index { color: var(--ink); }
.snaps__btn {
  appearance: none;
  border: 0;
  padding: 4px 6px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .4s var(--ease), opacity .3s;
}
.snaps__btn:hover { transform: translateX(calc(var(--n, 1) * 3px)); }
.snaps__btn[data-dir="-1"] { --n: -1; }
.snaps__btn:focus-visible, .snaps:focus-visible .polaroid[data-k="0"] { outline: 1px solid var(--ink); outline-offset: 6px; }

/* Reveal: rise in as it scrolls into view (js/about.js) */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease) var(--d, 0ms), transform 1.3s var(--ease) var(--d, 0ms);
}
.hello[data-reveal] .snaps { transform: rotate(-6deg) translateY(30px); }
.hello.is-in .snaps { transform: none; }

@media (max-width: 1099px) {
  .about { grid-template-columns: 1fr; grid-template-areas: "lead" "hello" "pillars"; }
  .hello { justify-self: center; margin: clamp(72px, 12vh, 120px) 0 0; }
  .about { --big: clamp(var(--s2), 8vw, var(--s4)); }
  .snaps { width: clamp(240px, 36vw, 340px); }
  .snaps__nav { left: 50%; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .hello[data-reveal] .snaps { opacity: 1; transform: none; }
  .polaroid, .polaroid.is-out { transition-duration: 0s; }
}

/* ---------- Poster page (js/product.js) ---------- */
.is-product { overflow: hidden; }                 /* page underneath stays put */
.is-product .site-header {
  padding-top: 14px; padding-bottom: 14px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.product {
  position: fixed;
  inset: 0;
  z-index: 15;                                    /* under the header, over everything else */
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  opacity: 0;
}
.product.is-in { opacity: 1; transition: opacity .5s var(--ease); }
.product .grain { position: fixed; }
.product__inner {
  position: relative;
  display: grid;
  grid-template-areas: "back" "main" "pager";
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px var(--gutter) 64px;
}
.product__back {
  grid-area: back;
  justify-self: start;
  margin-bottom: clamp(20px, 3vh, 36px);
  font-size: var(--s-1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  filter: url(#soft-sm);
  transition: color .3s;
}
.product__back:hover { color: var(--ink); }
/* art + info share their own grid, so the sticky poster stops before the pager */
.product__main {
  grid-area: main;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "art info";
  column-gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.product__art {
  grid-area: art;
  min-width: 0;
  position: sticky;
  top: 96px;
  margin: 0;
}
/* Gallery: artwork first, then real-world photos. One scroll-snap strip for every input. */
.gallery {
  position: relative;
  width: min(100%, calc((100vh - 230px) * .8));
  width: min(100%, calc((100svh - 230px) * .8));
}
.gallery__track {
  display: flex;
  aspect-ratio: 4 / 5;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  outline: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.has-many .gallery__track { cursor: grab; }
.gallery__slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
  padding: 0 0 4%;               /* room for the shadow */
}
.gallery__slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(var(--shadow), calc(.22 * var(--shadow-k))));
  user-select: none;
  -webkit-user-select: none;
}
.gallery__slide.is-photo img { border-radius: 4px; }
.gallery__slide.is-art { padding: 8% 13% 12%; }
.gallery__slide.is-art img {
  filter: none;
  box-shadow:
    0 2px 2px rgba(var(--shadow), calc(.08 * var(--shadow-k))),
    0 30px 50px -24px rgba(var(--shadow), calc(.55 * var(--shadow-k)));
}
.gallery__slide.is-scene { padding: 0; }
.gallery__thumb.is-scene { position: relative; }

/* ---------- Mockup scenes (built from each poster's own image) ---------- */
.scene { position: relative; width: 100%; height: 100%; overflow: hidden; isolation: isolate; border-radius: 4px; }
.scene::after {                     /* shared film grain so the scene reads as a photo */
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background-image: var(--grain); background-size: 90px; opacity: .35; mix-blend-mode: multiply;
}
.scene__poster { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; }

/* flat lay: the print on a warm linen surface, with its tube, a handwritten card and a pencil */
.scene--flatlay {
  background:
    radial-gradient(120% 90% at 28% 22%, rgba(255,255,255,.55), transparent 60%),
    repeating-linear-gradient(0deg, rgba(120,100,80,.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120,100,80,.04) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, #e9e2d6, #d9cfbf 70%, #cdc2b0);
}
.scene__sheet {
  position: absolute; left: 16%; top: 12%; width: 58%;
  transform: rotate(-4deg);
  box-shadow: 0 1px 1px rgba(40,30,20,.18), 0 8px 12px -6px rgba(40,30,20,.35), 0 28px 40px -22px rgba(40,30,20,.45);
}
.scene__tube {
  position: absolute; top: 7%; right: -14%; width: 56%; height: 7.5%;
  border-radius: 999px; transform: rotate(34deg);
  background: linear-gradient(180deg, #a77b4c, #d6ab78 38%, #c39462 62%, #94693d);
  box-shadow: 0 12px 16px -8px rgba(40,30,20,.45);
}
.scene__card {
  position: absolute; right: 9%; bottom: 13%; width: 27%; aspect-ratio: 3 / 2;
  transform: rotate(9deg);
  background: repeating-linear-gradient(180deg, transparent 0 22%, rgba(40,40,60,.35) 22% 23.5%, transparent 23.5% 31%) 12% 28% / 70% 60% no-repeat, #f6f1e7;
  box-shadow: 0 1px 1px rgba(40,30,20,.15), 0 10px 14px -8px rgba(40,30,20,.4);
}
.scene__pencil {
  position: absolute; left: 10%; bottom: 7%; width: 36%; height: 1.3%;
  border-radius: 2px; transform: rotate(-11deg);
  background: linear-gradient(90deg, #2a2724 0 5%, #e1bd62 5% 90%, #f0d8b2 90% 96%, #3a3a3a 96%);
  box-shadow: 0 6px 6px -3px rgba(40,30,20,.4);
}

/* on the wall: framed print above an oak floor, scaled to the size chosen */
.scene--wall { background: linear-gradient(100deg, #e4ded3 0%, #f1ede6 42%, #ddd6ca 100%); }
.scene__light { position: absolute; inset: 0; background: radial-gradient(70% 60% at 22% 18%, rgba(255,250,240,.7), transparent 70%); }
.scene__frame {
  position: absolute; left: 50%; top: 40%; width: var(--poster-w, 32%);
  transform: translate(-50%, -50%);
  padding: 1.4%; background: #141414;
  box-shadow: 0 2px 3px rgba(30,25,20,.25), 0 22px 30px -14px rgba(40,30,20,.5);
  transition: width .6s var(--ease);
}
.scene__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 17%;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 16%), linear-gradient(#b79471, #9c7a58);
  box-shadow: 0 -6px 0 #ebe6dd, 0 -7px 0 rgba(0,0,0,.06);
}
.scene__bench { position: absolute; left: 14%; right: 46%; bottom: 13%; height: 2.6%; border-radius: 2px; background: linear-gradient(#8b6f53, #6c553f); box-shadow: 0 10px 12px -6px rgba(0,0,0,.35); }
.scene__vase { position: absolute; left: 22%; bottom: 15.6%; width: 8%; aspect-ratio: 3 / 5; border-radius: 40% 40% 30% 30%; background: radial-gradient(circle at 35% 30%, #f4efe7, #cfc6b8); box-shadow: 0 4px 6px -3px rgba(0,0,0,.25); }

/* real room photo + the poster placed in a box (box is % of the photo) */
.scene--photo { width: auto; height: 100%; max-width: 100%; margin: 0 auto; background: none; }
.scene--photo::after { display: none; }              /* the photo has its own grain */
.scene__photo { position: relative; display: block; width: 100%; height: 100%; }
.scene__room { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-select: none; }
.scene__place { position: absolute; }
.scene__place.has-frame {                              /* drawn frame casting a shadow on the wall */
  box-shadow: 0 2px 3px rgba(30,25,20,.3), 0 18px 26px -14px rgba(30,25,20,.5);
}
.scene__paper { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; box-shadow: inset 0 6px 8px -6px rgba(0,0,0,.25); }
.scene__paper::after {                                 /* a faint sheen of glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.16), transparent 38%, transparent 70%, rgba(255,255,255,.06));
}
.scene__art { position: absolute; }
.scene__art .scene__poster { width: 100%; height: 100%; object-fit: cover; }
.scene img { filter: none !important; }               /* prints in a frame lie flat: no drop shadow */

/* ---------- Accordion under the order button ---------- */
.acc { border-top: 1px solid var(--line); margin-top: 6px; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0;
  font-size: var(--s-1); letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
}
.acc__head::-webkit-details-marker { display: none; }
.acc__head:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.acc__icon { width: 16px; height: 16px; fill: currentColor; color: var(--muted); flex: none; transition: transform .35s var(--ease), color .3s; }
.acc__item[open] .acc__icon { transform: rotate(45deg); color: var(--ink); }
.acc__head:hover .acc__icon { color: var(--ink); }
.acc__body { display: grid; gap: .55em; padding: 0 0 18px; }
.acc__body p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--muted); filter: url(#soft-sm); }
.acc__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* step 2 of ordering */
.order__details { display: grid; gap: 22px; padding: 20px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.order__details[hidden] { display: none; }
.order__step { margin: 0; font-family: var(--topo); font-size: var(--s0); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.gallery__arrow {
  position: absolute;
  top: calc(50% - 40px);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, transform .3s var(--ease);
  box-shadow: 0 4px 14px -6px rgba(var(--shadow), .35);
}
.gallery__arrow--prev { left: 12px; }
.gallery__arrow--next { right: 12px; }
.gallery:hover .gallery__arrow:not(:disabled), .gallery__arrow:focus-visible { opacity: 1; }
.gallery__arrow:hover { transform: scale(1.06); }
.gallery__arrow:disabled { cursor: default; }
@media (hover: none) { .gallery__arrow { display: none; } }   /* touch: swipe instead */
.gallery__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.gallery__thumb {
  flex: 0 0 auto;
  width: 44px;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  opacity: .5;
  cursor: pointer;
  transition: opacity .3s, box-shadow .3s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb:hover { opacity: .85; }
.gallery__thumb.is-active { opacity: 1; box-shadow: 0 0 0 1px var(--ink); }
.gallery__caption {
  margin: 0;
  font-size: var(--s-1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  filter: url(#soft-sm);
}
.gallery__index { color: var(--ink); }
.gallery__text { margin-left: .8em; color: var(--ink); }
.product__story { margin-top: 22px; display: grid; gap: .8em; max-width: 46ch; }
.product__story p { margin: 0; font-size: .98rem; line-height: 1.55; filter: url(#soft-sm); }
.product__story a { text-decoration: underline; text-underline-offset: 3px; }
.product.is-in .product__art { animation: product-rise 1s var(--ease) both; }
.product.is-in .product__info { animation: product-rise 1s var(--ease) .1s both; }
@keyframes product-rise { from { opacity: 0; transform: translateY(24px); } }
.product__info { grid-area: info; max-width: 520px; }
.product__kicker { margin-bottom: 20px; }
.product__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(var(--s2), 4.6vw, var(--s4));
  line-height: 1;
  letter-spacing: -.025em;
  outline: none;
  filter: url(#soft-md);
}
.product__line {
  margin: .7em 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.4;
  color: var(--muted);
  filter: url(#soft-sm);
}
.product__devtag {
  display: inline-block;
  margin: 18px 0 0;
  padding: 6px 10px;
  border: 1px dashed var(--accent);
  border-radius: 6px;
  font-size: .75rem;
  color: var(--accent);
}

.send__toggle {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.send__toggle:hover { color: var(--ink); }
.send__toggle[hidden] { display: none; }

/* spec list: paper, print, edition, framing, packaging, postage */
.order__total { margin: -10px 0 0; font-size: .85rem; color: var(--muted); }
.order { margin-top: clamp(32px, 5vh, 48px); display: grid; gap: 22px; }
.order__sizes { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.order__label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--s-1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  filter: url(#soft-sm);
}
.order__label span { letter-spacing: .04em; text-transform: none; opacity: .75; margin-left: .5em; }
.order__sizes legend { grid-column: 1 / -1; padding: 0; float: left; width: 100%; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size__box {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .3s, background-color .3s;
}
.size:hover .size__box { border-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.size input:checked + .size__box { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.size input:focus-visible + .size__box { outline: 1px solid var(--ink); outline-offset: 3px; }
.size__name { font-size: 1.4rem; line-height: 1; }
.size__mm, .size__price { font-size: .85rem; color: var(--muted); }
.size__price { color: var(--ink); margin-top: 6px; }

.order__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order__row .order__label { margin: 0; }
.order__select, .order textarea, .order__input {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .3s;
}
.order__selectwrap { position: relative; display: inline-block; }
.order__select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 88px;
  padding: 9px 38px 9px 16px;
  border-radius: 999px;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
}
.order__select option { color: #1F1E1B; background: #F2EFE9; }
.order__caret { position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; fill: currentColor; color: var(--muted); pointer-events: none; transition: color .3s; }
.order__selectwrap:hover .order__caret, .order__select:focus + .order__caret { color: var(--ink); }
.order textarea { width: 100%; padding: 12px 14px; font-size: .95rem; line-height: 1.45; resize: vertical; }
.order textarea::placeholder { color: var(--muted); opacity: .7; }
.order__select:focus, .order textarea:focus, .order__input:focus { outline: none; border-color: var(--ink); }
.order__input { width: 100%; padding: 11px 14px; font-size: .95rem; }
.order__field { display: grid; }
.order__input:user-invalid, .order textarea:user-invalid { border-color: var(--accent); }

/* "Send your order with": Gmail / Outlook / Yahoo / mail app / copy */
.send { padding: 18px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.send[hidden] { display: none; }
.send__title { margin-bottom: 12px; }
.send__options { display: flex; flex-wrap: wrap; gap: 8px; }
.send__opt {
  display: inline-flex; align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.send__opt:hover, .send__opt:focus-visible { background: var(--ink); color: var(--bg); outline: none; }
.send__note { margin: 12px 0 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.send__note a { text-decoration: underline; text-underline-offset: 3px; }
.order__check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .95rem; }
.order__check input { width: 18px; height: 18px; accent-color: var(--ink); }
.order__gift[hidden] { display: none; }
.order__ship { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--muted); }

.order .cta.cta--inline, .follow .cta.cta--inline {               /* beats the hero's .cta / .is-ready .cta positioning at every size */
  position: relative;
  left: auto; right: auto; bottom: auto;
  justify-self: start;
  opacity: 1;
  transform: none;
  border: 0;
  font-family: inherit;
}
.product__pager {
  grid-area: pager;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "prev similar next";
  gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(64px, 10vh, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pager__link { display: grid; justify-items: start; align-content: start; gap: 6px; }
.pager__link--prev { grid-area: prev; }
.pager__link--similar { grid-area: similar; justify-items: center; text-align: center; }
.pager__link--next { grid-area: next; justify-items: end; text-align: right; }
.pager__thumb {
  display: block;
  width: clamp(88px, 9vw, 132px);
  aspect-ratio: 4 / 5;
  margin-bottom: 12px;
  background: var(--surface);
  box-shadow: 0 10px 24px -10px rgba(var(--shadow), calc(.35 * var(--shadow-k)));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pager__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pager__link:hover .pager__thumb, .pager__link:focus-visible .pager__thumb {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px -12px rgba(var(--shadow), calc(.45 * var(--shadow-k)));
}
.pager__label { font-size: var(--s-1); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); filter: url(#soft-sm); }
.pager__link--similar .pager__label { color: var(--accent); }
.pager__title { font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.2; filter: url(#soft-sm); }

@media (max-width: 899px) {
  .product__inner { padding-top: 88px; }
  .product__main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "info"; }
  .product__art { position: static; margin-bottom: 36px; }
  .gallery { width: 100%; }
  .gallery__bar { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .gallery__caption { text-align: left; }
  .product__info { max-width: none; }
  /* phones / small tablets: the similar pick gets its own row, Previous and Next share the one below */
  .product__pager { grid-template-columns: 1fr 1fr; grid-template-areas: "similar similar" "prev next"; row-gap: 40px; }
  .pager__link--similar { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .product.is-in .product__art, .product.is-in .product__info { animation: none; }
}

/* order buttons: primary + "Copy email address" */
.order__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.order__ghost {
  padding: 1.05em 1.4em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: var(--s0);
  line-height: 1;
  cursor: pointer;
  transition: border-color .3s;
}
.order__ghost:hover, .order__ghost:focus-visible { border-color: var(--ink); outline: none; }

/* ---------- Follow on Instagram ---------- */
.follow {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(64px, 12vh, 140px) var(--gutter) clamp(96px, 16vh, 180px);
}
.follow[hidden] { display: none; }
.follow::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.follow__title {
  margin: 0;
  max-width: 14ch;
  font-weight: 400;
  font-size: clamp(var(--s2), 5.2vw, var(--s4));
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
  filter: url(#soft-md);
}
.follow__text { margin: 20px 0 32px; font-size: clamp(var(--s0), 1.3vw, 1.2rem); color: var(--muted); filter: url(#soft-sm); }
.follow .cta.cta--inline { justify-self: center; }
.cta__ext { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; transition: transform .4s var(--ease); }
.cta:hover .cta__ext, .cta:focus-visible .cta__ext { transform: translate(2px, -2px); }
.follow .product__devtag { margin-top: 20px; }

/* ---------- Shop info pages (Delivery & returns, Terms, Privacy) ---------- */
.page { grid-template-areas: "back" "main"; }
.page__body { grid-area: main; max-width: 680px; }
.page__title { font-size: clamp(var(--s2), 5vw, var(--s4)); }
.page__text { margin-top: clamp(32px, 5vh, 56px); }
.page__text h2 {
  margin: 2.2em 0 .6em;
  font-family: var(--topo);
  font-weight: 400;
  font-size: var(--s0);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.page__text h2:first-child { margin-top: 0; }
.page__text p, .page__text li { font-size: 1rem; line-height: 1.6; filter: url(#soft-sm); }
.page__text p { margin: 0 0 .9em; }
.page__text ul, .page__text ol { margin: 0 0 .9em; padding-left: 1.2em; display: grid; gap: .4em; }
.page__text a, .order__legal a { text-decoration: underline; text-underline-offset: 3px; }
.page__updated { margin: 48px 0 0; font-size: .85rem; color: var(--muted); }
.info-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.info-links a { font-size: .9rem; color: var(--muted); transition: color .3s; }
.info-links a:hover, .info-links a[aria-current="page"] { color: var(--ink); }
.order__legal { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }

/* ---------- Contact page ---------- */
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.topic {
  display: grid; gap: 6px; align-content: start;
  padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none !important;
  transition: border-color .3s, background-color .3s;
}
.topic:hover, .topic:focus-visible { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); outline: none; }
.topic__name { font-size: 1.15rem; color: var(--ink); }
.topic__text { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.contact-direct { list-style: none; padding: 0 !important; }
.contact-direct li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.contact-copy { padding: .5em .9em; font-size: .85rem; }

/* ---------- Mobile ---------- */
@media (max-width: 719px) {
@media (max-width: 719px) {
  .about { padding-top: 96px; }
  .about { --big: min(var(--s2), 10.4vw); }
  .pillars { grid-template-columns: 1fr; row-gap: 0; margin-top: 88px; }
  .pillar { grid-template-columns: 68px 1fr; grid-template-areas: "icon tag" "icon name" "icon line"; column-gap: 16px; padding: 22px 0; }
  .pillar__tag { margin-bottom: 8px; }
  .pillar__card { width: 100%; margin: 2px 0 0; border-radius: 12px; }
  .hello { margin-top: 72px; }
  .snaps { width: min(270px, 72vw); }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics { grid-template-columns: 1fr; }
  /* three size tiles side by side: keep each measurement on one line */
  .order__sizes { gap: 8px; }
  .size__box { padding: 12px 11px; }
  .size__name { font-size: 1.2rem; }
  .size__mm { font-size: .72rem; white-space: nowrap; letter-spacing: -.01em; }
  .nav { gap: 16px; font-size: .9rem; }
  /* phones: wordmark sits beside the eyes so About / Posters have room */
  .site-header { grid-template-columns: auto auto 1fr; column-gap: 12px; }
  .brand { justify-self: start; }
  .info {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: calc(100% - 32px);
    max-width: none;
    bottom: 136px;
  }
  .is-ready .info { transform: translateX(-50%); }
  .info__title { font-size: min(var(--s2), 10.4vw); } /* longest title stays on one line */
  .info__count { justify-content: center; margin-bottom: 8px; }
  .info__line { margin-top: 8px; }
  .cta { right: auto; left: 50%; transform: translateX(-50%); bottom: 64px; white-space: nowrap; }
  .is-ready .cta { transform: translateX(-50%); }
  .hint { display: none; }
  .collection__grid { column-gap: 14px; row-gap: 40px; }
  .card__meta { grid-template-columns: 1fr; margin-top: 14px; }
  .card__num { padding: 0 0 4px; }
  .card__title { font-size: 1.05rem; }
  .card__line { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}
