/* Stamp: custom direction "Registration" (CMYK process inks on warm uncoated stock; nearest Hallmark families Overprint, Riso, Darkroom) | genre editorial-print | shape narrative workflow with type-led hero | signature: four misregistered plates snap into register (logo reveal), then floating 3D prints in the hero.
   Self-critique: motion budget is high by request; every scene has a reduced-motion path. CSS paper objects stand in for real job photos, which would beat them. */

:root {
  --paper: #F2EEE6;
  --paper-2: #E8E2D6;
  --paper-3: #D9D0BF;
  --card: #FBFAF6;
  --ink: #17150F;
  --ink-2: #221F18;
  --ink-3: #39352B;
  --muted: #5C564A;
  --muted-dark: #ABA392;
  --c: #00A0D6;
  --m: #E2007A;
  --y: #FFD200;
  --k: #17150F;
  --y-deep: #B89600;
  --m-deep: #9E0056;
  --c-deep: #00729A;
  --shadow: rgba(23, 21, 15, 0.18);
  --shadow-strong: rgba(23, 21, 15, 0.32);
  --veil: rgba(23, 21, 15, 0.55);
  --paper-glass: rgba(242, 238, 230, 0.86);
  --ink-glass: rgba(23, 21, 15, 0.82);
  --ink-soft: rgba(23, 21, 15, 0.5);
  --veil-mid: rgba(23, 21, 15, 0.25);
  --hi: rgba(255, 255, 255, 0.55);
  --hi-soft: rgba(255, 255, 255, 0.12);
  --slot: rgba(0, 0, 0, 0.6);
  --c-glow: rgba(0, 160, 214, 0.18);
  --mask-solid: #000;
  --mask-clear: #0000;
  --line: rgba(23, 21, 15, 0.16);
  --line-dark: rgba(242, 238, 230, 0.16);
  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 14px;
  --header-h: 68px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.5;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
a, button, .chip, .obj, input, select, textarea { touch-action: manipulation; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
::selection { background: var(--y); color: var(--ink); }
:focus-visible { outline: 3px solid var(--m); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--ink-3) var(--paper-2); scrollbar-width: thin; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  border-radius: 8px; transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

h2 {
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 6rem);
  font-weight: 820;
  font-stretch: 112%;
  line-height: 0.92;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

/* ---------- buttons ---------- */
.btn {
  --face: var(--ink); --face-hi: var(--ink-3); --content: var(--paper); --base: var(--k); --depth: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 12px;
  background: var(--face); color: var(--content);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background-color 150ms var(--ease-out);
}
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-ink:hover { background: var(--ink-3); }
.btn-ink:active { transform: scale(0.97); }

/* Tactile button: a base bar sits below the face; pressing moves the face down the full depth */
.btn-tactile {
  --depth: 6px;
  padding: 0; min-height: 0;
  background: var(--y-deep);
  border-radius: 14px;
  box-shadow: 0 10px 22px -10px var(--shadow-strong);
}
.btn-tactile .btn-face {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px;
  background: var(--y); color: var(--ink);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 var(--hi);
  transform: translateY(calc(var(--depth) * -1));
  transition: transform 150ms var(--ease-out);
  font-weight: 750;
}
@media (hover: hover) and (pointer: fine) {
  .btn-tactile:hover .btn-face { transform: translateY(calc(var(--depth) * -1 + 2px)); }
}
.btn-tactile:active .btn-face { transform: translateY(0); }
.btn-tactile:disabled { opacity: 0.45; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; font-weight: 650; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 85%;
  transition: background-size 250ms var(--ease-out);
}
.link-arrow svg { width: 20px; height: 20px; transition: transform 200ms var(--ease-out); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- loader: logo reveal ---------- */
.loader {
  position: fixed; inset: 0; z-index: 120;
  display: none; place-items: center;
  background: var(--paper);
}
.js .loader { display: grid; animation: loader-failsafe 0s 5s forwards; }
.js.skip-loader .loader { display: none; }
@keyframes loader-failsafe { to { visibility: hidden; } }
.plates { position: relative; display: grid; }
.plate {
  grid-area: 1 / 1;
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 125%;
  line-height: 0.8; letter-spacing: -0.03em;
  mix-blend-mode: multiply;
}
.loader .plate { font-size: clamp(4rem, 19vw, 17rem); }
.plate-c { color: var(--c); }
.plate-m { color: var(--m); }
.plate-y { color: var(--y); }
.plate-k { color: var(--k); }
.loader-meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted);
}
.loader-count { font-variant-numeric: tabular-nums; }
.crop { position: absolute; width: 28px; height: 28px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: currentColor; }
.crop::before { width: 100%; height: 1.5px; top: 50%; }
.crop::after { height: 100%; width: 1.5px; left: 50%; }
.loader .crop { color: var(--ink); }
.crop-tl { top: 22px; left: 22px; } .crop-tr { top: 22px; right: 22px; }
.crop-bl { bottom: 22px; left: 22px; } .crop-br { bottom: 22px; right: 22px; }

/* ---------- curtain transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 110; display: flex; pointer-events: none; }
.curtain i { flex: 1; transform: scaleY(0); transform-origin: 50% 100%; }
.band-c { background: var(--c); } .band-m { background: var(--m); }
.band-y { background: var(--y); } .band-k { background: var(--k); }

/* ---------- cursor + progress ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 130;
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  color: var(--paper); mix-blend-mode: difference;
  pointer-events: none; opacity: 0;
  display: none;
}
.has-cursor .cursor { display: block; }
.cursor svg { width: 100%; height: 100%; transition: transform 250ms var(--ease-out); }
.cursor.is-hover svg { transform: scale(1.9) rotate(45deg); }
.cursor-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-mono); font-size: 0.72rem; white-space: nowrap; opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.cursor.has-label svg { transform: scale(2.6); opacity: 0.25; }
.cursor.has-label .cursor-label { opacity: 1; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, var(--k) 75%);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 20px;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: transform 400ms var(--ease-out), background-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.site-header.is-scrolled { background: var(--paper-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.on-dark { color: var(--paper); }
.site-header.on-dark.is-scrolled { background: var(--ink-glass); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.on-dark .btn-ink { background: var(--paper); color: var(--ink); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; min-height: 44px; align-items: center; }
.brand-mark { width: 22px; height: 22px; color: var(--m); }
.brand-word { font-weight: 900; font-stretch: 125%; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.75; }
.nav ul { display: flex; gap: 6px; justify-content: center; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav a:hover, .nav a.is-active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.8rem; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dark); }
.status.is-open .status-dot { background: var(--c); box-shadow: 0 0 0 4px var(--c-glow); }
.status.is-closed .status-dot { background: var(--m); }
.menu-toggle { display: none; min-height: 44px; padding: 0 14px; border: 1.5px solid currentColor; border-radius: 10px; background: transparent; font-weight: 650; cursor: pointer; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  background: var(--ink); color: var(--paper);
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: 6px 0; font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 820; font-stretch: 115%; text-decoration: none; line-height: 1.05; }
.mobile-menu-foot a { font-size: 1.1rem; font-weight: 600; font-family: var(--font-mono); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: end;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(28px, 6vh, 64px);
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(var(--paper-3) 1px, transparent 1.3px);
  background-size: 14px 14px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 75% 40%, var(--mask-solid), var(--mask-clear));
  mask: radial-gradient(ellipse 70% 60% at 75% 40%, var(--mask-solid), var(--mask-clear));
  opacity: 0.8;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; }
.hero-title {
  font-size: clamp(3.3rem, 1.4rem + 8.4vw, 10.5rem);
  font-weight: 860; font-stretch: 118%;
  line-height: 0.86; letter-spacing: -0.035em;
  max-width: 11ch;
}
.hero-title .line { display: block; }
.hero-lede { margin-top: clamp(18px, 3vh, 28px); max-width: 34ch; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.4; }
.hero-actions { margin-top: clamp(20px, 3.4vh, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-meta {
  margin-top: clamp(26px, 5vh, 56px); padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  font-family: var(--font-mono); font-size: 0.92rem; color: var(--muted);
}
.hero-badge { color: var(--ink); font-weight: 500; }
.rating { display: inline-flex; align-items: center; gap: 10px; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars svg { width: 15px; height: 15px; }
.hero-hint {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  writing-mode: vertical-rl; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.hero-hint::after { content: ""; width: 1.5px; height: 56px; background: currentColor; transform-origin: 50% 0; animation: hint 2.2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: 50% 0; } 51% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }

/* split text helpers */
.split-line { overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.char, .word { display: inline-block; will-change: transform; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); padding: clamp(18px, 3vw, 34px) 0; overflow: clip; }
.marquee-track { display: flex; align-items: center; width: max-content; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); }
.marquee-track span {
  font-size: clamp(2.4rem, 1rem + 6vw, 6.4rem); font-weight: 850; font-stretch: 125%;
  letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
}
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.marquee-track svg { width: clamp(28px, 4vw, 54px); height: clamp(28px, 4vw, 54px); flex: none; }
.marquee-track svg:nth-of-type(4n+1) { color: var(--c); }
.marquee-track svg:nth-of-type(4n+2) { color: var(--m); }
.marquee-track svg:nth-of-type(4n+3) { color: var(--y); }
.marquee-track svg:nth-of-type(4n+4) { color: var(--paper); }

/* ---------- services: press sheet ---------- */
.services { background: var(--paper); }
.services-pin { padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(60px, 10vh, 120px); }
.services-head { max-width: var(--max); margin: 0 auto clamp(28px, 5vh, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.services-note { font-family: var(--font-mono); font-size: 0.92rem; color: var(--muted); }
.sheet { position: relative; max-width: var(--max); margin: 0 auto; padding: 40px 34px; background: var(--paper-2); border-radius: 4px; }
.sheet .crop { color: var(--ink); opacity: 0.6; }
.sheet .crop-tl { top: -14px; left: -14px; } .sheet .crop-tr { top: -14px; right: -14px; }
.sheet .crop-bl { bottom: -14px; left: -14px; } .sheet .crop-br { bottom: -14px; right: -14px; }
.sheet-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 34px; }
.panel h3 { margin-top: 18px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 780; font-stretch: 110%; line-height: 1.05; }
.panel p { margin-top: 8px; color: var(--muted); max-width: 30ch; }

.is-pinned-sheet .services-pin { height: 100svh; padding-top: calc(var(--header-h) + 3vh); padding-bottom: 4vh; display: flex; flex-direction: column; }
.is-pinned-sheet .services-head { margin-bottom: 3vh; width: 100%; }
.is-pinned-sheet .sheet { flex: 1; max-width: none; margin: 0; width: 100%; display: flex; align-items: center; overflow: clip; }
.is-pinned-sheet .sheet-track { display: flex; gap: clamp(32px, 4vw, 64px); width: max-content; padding-right: 10vw; }
.is-pinned-sheet .panel { width: clamp(300px, 30vw, 440px); flex: none; }

/* paper objects */
.obj {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  perspective: 900px; border-radius: var(--radius); background: var(--paper);
  cursor: pointer; overflow: clip;
  -webkit-tap-highlight-color: transparent;
  width: 100%; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: inherit;
}
.obj:focus-visible { outline-offset: 4px; }

.card {
  position: absolute; width: 58%; aspect-ratio: 1.75; border-radius: 6px;
  padding: 7% 8%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6%;
  box-shadow: 0 1px 1px var(--shadow), 0 14px 26px -12px var(--shadow-strong);
  transition: transform 550ms var(--ease-out);
}
.card b { position: absolute; top: 12%; left: 8%; width: 16%; aspect-ratio: 1; border-radius: 3px; }
.card i { display: block; height: 7%; border-radius: 2px; }
.card i:first-of-type { width: 55%; } .card i:last-of-type { width: 38%; }
.card-1 { background: var(--ink); transform: translate(-6%, 8%) rotate(-8deg); }
.card-1 b { background: var(--y); } .card-1 i { background: var(--paper-3); }
.card-2 { background: var(--card); transform: translate(2%, 0) rotate(3deg); }
.card-2 b { background: var(--m); } .card-2 i { background: var(--ink-3); }
.card-3 { background: var(--y); transform: translate(8%, -8%) rotate(10deg); }
.card-3 b { background: var(--ink); } .card-3 i { background: var(--ink); }
.obj-cards.is-active .card-1 { transform: translate(-42%, 14%) rotate(-16deg); }
.obj-cards.is-active .card-2 { transform: translate(0, -4%) rotate(0deg) scale(1.04); }
.obj-cards.is-active .card-3 { transform: translate(42%, 12%) rotate(15deg); }

.sticker {
  position: relative; width: 50%; aspect-ratio: 1;
  padding: 5%; background: var(--card);
  border-radius: 52% 48% 50% 46% / 48% 52% 46% 54%;
  box-shadow: 0 2px 2px var(--shadow), 0 18px 30px -14px var(--shadow-strong);
  transform: rotate(-8deg);
  transition: transform 500ms var(--ease-out);
}
.sticker-face {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: inherit; background: var(--m); color: var(--paper);
  font-weight: 900; font-stretch: 125%; font-size: clamp(1.3rem, 2.4vw, 2.2rem); letter-spacing: -0.02em;
}
.sticker::after {
  content: ""; position: absolute; right: 4%; bottom: 4%; width: 34%; height: 34%;
  background: linear-gradient(135deg, var(--mask-clear) 50%, var(--paper-3) 50%, var(--card) 78%);
  border-radius: 0 0 46% 0;
  transform-origin: 100% 100%; transform: scale(0.35);
  filter: drop-shadow(-3px -3px 4px var(--shadow));
  transition: transform 500ms var(--ease-out);
}
.obj-sticker.is-active .sticker { transform: rotate(4deg) scale(1.04); }
.obj-sticker.is-active .sticker::after { transform: scale(1); }

.obj-tag { color: var(--ink-3); }
.tag-string { position: absolute; top: 0; left: 50%; width: 22%; transform: translateX(-50%); }
.tag {
  position: relative; margin-top: 12%; width: 30%; aspect-ratio: 0.6;
  background: var(--y);
  clip-path: polygon(24% 0, 76% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6%; padding: 14% 12%;
  transform-origin: 50% -10%;
  animation: swing 4s var(--ease-io) infinite alternate;
}
.tag-hole { position: absolute; top: 9%; left: 50%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); transform: translateX(-50%); box-shadow: 0 0 0 3px var(--y-deep); }
.tag b { font-weight: 850; font-stretch: 112%; font-size: clamp(0.9rem, 1.3vw, 1.2rem); line-height: 1; color: var(--ink); }
.tag i { display: block; height: 4%; background: var(--ink); border-radius: 2px; width: 70%; }
.tag i:last-of-type { width: 45%; }
@keyframes swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.obj-tag.is-active .tag { animation-duration: 0.9s; }

.obj-bunting { color: var(--ink-3); }
.bunting-line { position: absolute; top: 22%; left: 4%; width: 92%; height: 18%; }
.flag {
  position: absolute; width: 15%; aspect-ratio: 0.82;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0;
  animation: wave 2.6s var(--ease-io) infinite alternate;
}
.f1 { left: 8%; top: 27%; background: var(--c); }
.f2 { left: 25%; top: 33%; background: var(--m); animation-delay: -0.4s; }
.f3 { left: 42.5%; top: 35.5%; background: var(--y); animation-delay: -0.8s; }
.f4 { left: 60%; top: 33%; background: var(--k); animation-delay: -1.2s; }
.f5 { left: 77%; top: 27%; background: var(--c); animation-delay: -1.6s; }
@keyframes wave { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.obj-bunting.is-active .flag { animation-duration: 0.7s; }

.obj-invite { transform-style: preserve-3d; }
.invite-inside, .invite-cover {
  position: absolute; width: 40%; aspect-ratio: 0.72; border-radius: 4px;
  left: 50%; top: 50%; translate: -50% -50%;
}
.invite-inside {
  background: var(--card); padding: 10%;
  display: flex; flex-direction: column; justify-content: center; gap: 6%;
  box-shadow: 0 16px 26px -14px var(--shadow-strong);
}
.invite-inside b { font-weight: 800; font-stretch: 110%; font-size: clamp(0.85rem, 1.2vw, 1.1rem); line-height: 1.05; }
.invite-inside i { display: block; height: 3%; background: var(--paper-3); border-radius: 2px; }
.invite-cover {
  background: var(--c);
  transform-origin: 0 50%;
  transform: perspective(800px) rotateY(0deg);
  transition: transform 700ms var(--ease-out);
  box-shadow: 0 16px 26px -14px var(--shadow-strong);
  display: grid; place-items: center;
}
.invite-cover span { width: 46%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--paper); box-shadow: inset 0 0 0 10px var(--m); }
.obj-invite.is-active .invite-cover { transform: perspective(800px) rotateY(-150deg); }

@media (hover: hover) and (pointer: fine) {
  .obj-cards:hover .card-1 { transform: translate(-42%, 14%) rotate(-16deg); }
  .obj-cards:hover .card-2 { transform: translate(0, -4%) rotate(0deg) scale(1.04); }
  .obj-cards:hover .card-3 { transform: translate(42%, 12%) rotate(15deg); }
  .obj-sticker:hover .sticker { transform: rotate(4deg) scale(1.04); }
  .obj-sticker:hover .sticker::after { transform: scale(1); }
  .obj-tag:hover .tag { animation-duration: 0.9s; }
  .obj-bunting:hover .flag { animation-duration: 0.7s; }
  .obj-invite:hover .invite-cover { transform: perspective(800px) rotateY(-150deg); }
}

/* ---------- press room ---------- */
.press { background: var(--ink); color: var(--paper); }
.press-pin { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 18vh var(--gutter); overflow: clip; }
.press-media {
  position: absolute; inset: 0;
  background:
    radial-gradient(var(--ink-3) 1.2px, transparent 1.5px) 0 0 / 12px 12px,
    var(--ink-2);
}
.press-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--veil), var(--veil-mid) 70%), linear-gradient(180deg, var(--veil), var(--veil-mid) 40%, var(--veil)); }
.press-words { text-shadow: 0 2px 24px var(--ink); }
.press-video { width: 100%; height: 100%; object-fit: cover; }
.press-words {
  position: relative; z-index: 2;
  font-size: clamp(2.2rem, 1rem + 5vw, 5.6rem); font-weight: 780; font-stretch: 105%;
  line-height: 1; letter-spacing: -0.025em; max-width: 15ch; text-align: center;
  text-wrap: balance;
}
.video-toggle {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 3;
  min-height: 48px; padding: 0 16px; border-radius: 10px;
  border: 1.5px solid var(--line-dark); background: var(--ink-soft); color: var(--paper);
  font-family: var(--font-mono); font-size: 0.85rem; cursor: pointer;
}
.video-toggle:hover { border-color: var(--paper); }

/* ---------- process ---------- */
.process { background: var(--paper); }
.process-pin {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 24px clamp(32px, 6vw, 96px);
  align-items: center;
}
.process-pin h2 { grid-column: 1 / -1; }
.process-visual { width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.process-visual svg { width: 100%; height: 100%; overflow: visible; }
.ring { mix-blend-mode: multiply; }
.ring circle, .ring path { fill: none; stroke-width: 6; }
.ring path { stroke-width: 2.2; }
.ring-dot { fill: var(--k); stroke: none; }
.ring-c { stroke: var(--c); } .ring-m { stroke: var(--m); } .ring-y { stroke: var(--y); } .ring-k { stroke: var(--k); }
.steps { display: grid; gap: clamp(18px, 3.4vh, 34px); }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; transition: opacity 300ms var(--ease-out); }
.step-n { grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; font-family: var(--font-mono); font-size: 0.9rem; }
.step h3 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); font-weight: 780; font-stretch: 108%; line-height: 1.1; }
.step p { color: var(--muted); max-width: 38ch; }
.is-pinned-process .process-pin { height: 100svh; padding-top: calc(var(--header-h) + 4vh); padding-bottom: 5vh; }
.is-pinned-process .step { opacity: 0.62; }
.is-pinned-process .step.is-active, .is-pinned-process .step.is-done { opacity: 1; }
.is-pinned-process .step.is-done .step-n { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- proof ---------- */
.proof { background: var(--ink); color: var(--paper); padding: clamp(90px, 14vh, 160px) var(--gutter); }
.proof > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.proof-head { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.stamp { position: relative; flex: none; width: clamp(120px, 14vw, 180px); aspect-ratio: 1; color: var(--paper); }
.stamp svg:first-child { width: 100%; height: 100%; }
.stamp text { fill: currentColor; font-family: var(--font-mono); font-size: 15.5px; }
.stamp-mark { position: absolute; inset: 0; margin: auto; width: 34%; height: 34%; color: var(--y); }
.stats { margin: clamp(48px, 8vh, 90px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.stat { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.stat dt { font-size: 0.95rem; color: var(--muted-dark); }
.stat dd { margin: 6px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.num { font-size: clamp(3.6rem, 1.4rem + 8vw, 9.5rem); font-weight: 860; font-stretch: 118%; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.unit { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted-dark); }
.reviews { margin-top: clamp(48px, 8vh, 90px); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: var(--ink-3) var(--ink); padding-bottom: 18px; cursor: grab; }
.reviews.is-dragging { cursor: grabbing; user-select: none; }
.reviews-track { display: flex; gap: 20px; width: max-content; padding: 6px 2px; }
.ticket {
  width: clamp(260px, 28vw, 360px); flex: none;
  background: var(--paper); color: var(--ink);
  padding: 28px 26px 22px; border-radius: 10px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 230px;
  -webkit-mask: radial-gradient(circle 13px at left 74%, var(--mask-clear) 97%, var(--mask-solid)) left / 51% 100% no-repeat, radial-gradient(circle 13px at right 74%, var(--mask-clear) 97%, var(--mask-solid)) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at left 74%, var(--mask-clear) 97%, var(--mask-solid)) left / 51% 100% no-repeat, radial-gradient(circle 13px at right 74%, var(--mask-clear) 97%, var(--mask-solid)) right / 51% 100% no-repeat;
}
.ticket:nth-child(4n+2) { background: var(--y); }
.ticket:nth-child(4n+3) { background: var(--card); }
.ticket blockquote { margin: 0; }
.ticket blockquote p { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); font-weight: 680; line-height: 1.2; }
.ticket blockquote p::before { content: "\201C"; }
.ticket blockquote p::after { content: "\201D"; }
.who { border-top: 1.5px dashed var(--line); padding-top: 14px; font-family: var(--font-mono); font-size: 0.9rem; }
.who::after { content: ", Google review"; color: var(--muted); }
.reviews-foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.reviews-nav { display: flex; gap: 10px; }
.rv-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-dark); background: transparent; color: var(--paper); cursor: pointer; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), transform 150ms var(--ease-out); }
.rv-btn svg { width: 22px; height: 22px; }
.rv-prev svg { transform: scaleX(-1); }
.rv-btn:hover { background: var(--paper); color: var(--ink); }
.rv-btn:active { transform: scale(0.95); }
.rv-btn:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--paper); }

/* ---------- quote ---------- */
.quote {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(90px, 14vh, 160px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}
.quote-copy { grid-column: 1 / -1; display: grid; gap: 16px; }
.quote-copy p { max-width: 44ch; color: var(--muted); font-size: 1.1rem; }
.ticket-form { display: grid; gap: 22px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend, .field label { font-weight: 650; margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; z-index: 1; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 600; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--m); outline-offset: 3px; }
.chip:active span { transform: scale(0.97); }
.field { display: grid; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--y); }
.field input[aria-invalid="true"] { border-color: var(--m); }
.form-error { min-height: 1.5em; color: var(--m-deep); font-weight: 600; }
.ticket-form .btn-tactile { justify-self: start; }

.printer { position: sticky; top: calc(var(--header-h) + 24px); display: grid; justify-items: center; }
.printer-body {
  position: relative; z-index: 2; width: 100%; height: 96px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border-radius: 18px 18px 12px 12px;
  box-shadow: inset 0 1px 0 var(--hi-soft), 0 18px 30px -16px var(--shadow-strong);
}
.printer-light { position: absolute; top: 18px; right: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-dark); }
.printer.is-printing .printer-light { background: var(--y); animation: blink 0.5s steps(2, end) infinite; }
.printer.is-done .printer-light { background: var(--c); }
@keyframes blink { 50% { opacity: 0.2; } }
.printer-slot { position: absolute; left: 7%; right: 7%; bottom: 18px; height: 8px; border-radius: 4px; background: var(--ink); box-shadow: inset 0 2px 3px var(--slot); }
.receipt-clip { width: 84%; margin-top: -22px; overflow: clip; padding-bottom: 24px; }
.receipt {
  background: var(--card); color: var(--ink);
  padding: 30px 22px 34px;
  font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.6;
  transform: translateY(-101%);
  -webkit-mask: conic-gradient(from -45deg at bottom, var(--mask-clear), var(--mask-solid) 1deg 89deg, var(--mask-clear) 90deg) 50% / 16px 100%;
  mask: conic-gradient(from -45deg at bottom, var(--mask-clear), var(--mask-solid) 1deg 89deg, var(--mask-clear) 90deg) 50% / 16px 100%;
  filter: drop-shadow(0 10px 12px var(--shadow));
}
.receipt-head { text-align: center; font-weight: 500; border-bottom: 1.5px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.receipt-lines { margin: 0; display: grid; gap: 6px; }
.receipt-lines div { display: grid; grid-template-columns: 9ch minmax(0, 1fr); gap: 10px; }
.receipt-lines dt { color: var(--muted); }
.receipt-lines dd { margin: 0; overflow-wrap: anywhere; }
.receipt-empty { color: var(--muted); text-align: center; }
.receipt-foot { margin-top: 14px; border-top: 1.5px dashed var(--line); padding-top: 12px; text-align: center; color: var(--muted); font-size: 0.78rem; }
.printer.is-idle .receipt { transform: translateY(-62%); }
.printer.is-printing .receipt { animation: feed 2.1s steps(9, end) forwards; }
.printer.is-done .receipt { transform: translateY(0); }
@keyframes feed { from { transform: translateY(-101%); } to { transform: translateY(0); } }
.receipt-send { margin-top: 6px; }

/* ---------- visit ---------- */
.visit {
  background: var(--ink); color: var(--paper);
  padding: clamp(90px, 14vh, 160px) max(var(--gutter), calc((100% - var(--max)) / 2));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 6vw, 96px);
  align-items: start;
}
.visit address { margin-top: 28px; font-style: normal; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); font-weight: 650; line-height: 1.25; }
.visit-status { margin-top: 18px; font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted-dark); }
.visit-status.is-open { color: var(--y); }
.hours { margin-top: 28px; width: 100%; max-width: 440px; border-collapse: collapse; font-size: 1rem; }
.hours caption { text-align: left; font-weight: 650; padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted-dark); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--y); font-weight: 650; }
.visit-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.map { border-radius: var(--radius); overflow: clip; min-height: 460px; height: 100%; background: var(--ink-2); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(1) contrast(1.05); transition: filter 400ms var(--ease-out); }
.map:hover iframe { filter: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); padding: clamp(60px, 10vh, 120px) var(--gutter) 28px; overflow: clip; }
.footer-mark { position: relative; display: grid; max-width: var(--max); margin: 0 auto; }
.footer-mark .plate { font-size: clamp(3.4rem, 18vw, 16.5rem); text-align: center; }
.footer-row {
  max-width: var(--max); margin: clamp(32px, 6vh, 64px) auto 0;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 20px 32px; align-items: end;
  border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.95rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.footer-small { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav, .status { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-header { grid-template-columns: auto 1fr auto auto; }
}
@media (max-width: 860px) {
  .process-pin { grid-template-columns: minmax(0, 1fr); }
  .process-visual { width: min(70%, 320px); }
  .quote { grid-template-columns: minmax(0, 1fr); }
  .printer { position: relative; top: 0; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .map, .map iframe { min-height: 340px; }
  .footer-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .proof-head { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-hint { display: none; }
}
@media (max-width: 560px) {
  .site-header .btn-small { display: none; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .sheet { padding: 26px 18px; }
  .hero-title { font-stretch: 105%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .loader { display: none; }
  .hero-hint::after { animation: none; transform: none; }
  .printer.is-printing .receipt, .printer.is-done .receipt { transform: none; animation: none; }
}

/* ---------- script-on initial states (with failsafes) ---------- */
.js .hero-inner { opacity: 0; animation: show-failsafe 0s 4s forwards; }
@keyframes show-failsafe { to { opacity: 1; } }
.btn.magnetic { transition: background-color 150ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .js .hero-inner { opacity: 1; animation: none; } }

@media (max-width: 560px) { .ticket-form .btn-tactile { justify-self: stretch; } .ticket-form .btn-tactile .btn-face { width: 100%; } }
