/* This Chapter — public site
   One stylesheet. Tokens first, then base, layout, components, sections, motion. */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #09090b;
  --night: #0e0f12;
  --surface: #16171c;
  --surface-2: #1e1f25;
  --line: rgba(243, 237, 227, 0.09);
  --line-strong: rgba(243, 237, 227, 0.18);
  --paper: #f3ede3;
  --paper-dim: #d9d2c6;
  --muted: #a29d94;
  --amber: #e89433;
  --amber-hi: #f6b766;
  --amber-glow: rgba(232, 148, 51, 0.35);
  --flash: #fff8ea;
  --rose: #e98a6c;
  --print: #efe8da;
  --sealed: #15130f;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
  --radius: 1.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.25rem;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; border-radius: 4px; }

/* film grain over everything, very quiet */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */
.kicker {
  text-wrap: balance;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}
.display {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 8.2vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--amber-hi); }
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.3rem); line-height: 1.05; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--paper-dim); max-width: 36rem; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mono { font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(5rem, 12vw, 10rem) 0; }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 48rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(9, 9, 11, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 2.1rem; height: 2.1rem; border-radius: 0.55rem; box-shadow: 0 0 0 1px var(--line-strong), 0 6px 18px -6px var(--amber-glow); }
.nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--paper-dim); padding: 0.5rem 0.8rem; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--paper); background: rgba(243, 237, 227, 0.06); }
.nav a[aria-current="page"] { color: var(--paper); }
.header-cta { margin-left: 0.5rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 999px; width: 2.75rem; height: 2.75rem; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 1rem; height: 1.5px; background: var(--paper); position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 60rem) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(9, 9, 11, 0.97); border-bottom: 1px solid var(--line); padding: 0.75rem var(--gutter) 1.5rem;
    transform: translateY(-0.5rem); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 1.15rem; padding: 0.9rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .header-cta { margin: 1rem 0 0; text-align: center; }
  .menu-open .site-header { background: rgba(9, 9, 11, 0.97); }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--amber); --fg: #1a1006;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.6rem; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 30px -10px var(--amber-glow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 16px 40px -12px rgba(232, 148, 51, 0.6); background: var(--amber-hi); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--paper); box-shadow: 0 0 0 1px var(--line-strong) inset; }
.btn-ghost:hover { background: rgba(243, 237, 227, 0.07); box-shadow: 0 0 0 1px rgba(243, 237, 227, 0.3) inset; }
.btn-sm { min-height: 2.6rem; padding: 0 1.15rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Print (the photo object used everywhere) ---------- */
.print {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 3px;
  background: var(--print);
  padding: 4.5%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -12px rgba(0, 0, 0, 0.85), 0 3px 8px rgba(0, 0, 0, 0.5);
}
.print img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.sealed-face {
  position: relative; width: 100%; height: 100%; border-radius: 1px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(232, 148, 51, 0.13), transparent 60%),
    linear-gradient(160deg, #221d16, var(--sealed) 60%);
  display: grid; place-items: center;
}
.sealed-face::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px);
}
.seal { width: 46%; aspect-ratio: 1; color: var(--amber); opacity: 0.92; }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal svg { animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 72% 52%, rgba(232, 148, 51, 0.16), transparent 70%),
    radial-gradient(40% 35% at 15% 10%, rgba(120, 80, 160, 0.10), transparent 70%),
    var(--ink);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; position: relative; z-index: 2; }
.hero-copy .display { font-size: clamp(3rem, 6.4vw, 7.2rem); }
.hero-copy .display .line { display: block; white-space: nowrap; }
.hero-note { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.9rem; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-note span::before { content: ""; width: 0.38rem; height: 0.38rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* string-light bokeh */
.bokeh { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bokeh i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 206, 140, 0.55), rgba(255, 170, 80, 0.12) 55%, transparent 70%);
  filter: blur(2px); animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(0, 0, 0); opacity: 0.35; } to { transform: translate3d(1.5rem, -1rem, 0); opacity: 0.85; } }

/* the live event table */
.table {
  position: relative; width: 100%; max-width: 34rem; justify-self: center;
  display: grid; gap: 1rem;
}
.table-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.live { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--paper); }
.live::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #ff5a4a; box-shadow: 0 0 0 0 rgba(255, 90, 74, 0.6); animation: pulse 1.8s infinite; }
.is-revealed .live::before { background: var(--amber); animation: none; box-shadow: 0 0 12px var(--amber); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 74, 0.55); } 70% { box-shadow: 0 0 0 0.6rem rgba(255, 90, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 74, 0); } }

.pile {
  position: relative; width: 100%; aspect-ratio: 1 / 0.92;
  perspective: 1400px;
}
.pile .print {
  position: absolute; left: 50%; top: 50%; width: 40%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg));
  transition: transform 1.1s var(--ease-out), opacity 0.6s;
  padding: 0; background: none; box-shadow: none;
}
.pile .print .face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--print); padding: 4.5%; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -12px rgba(0, 0, 0, 0.85), 0 3px 8px rgba(0, 0, 0, 0.5);
}
.pile .print .face-photo { transform: rotateY(180deg); }
.pile .print .flipper { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.pile.is-open .print .flipper { transform: rotateY(180deg); }
.pile .print.is-new { animation: drop 0.7s var(--ease-out) both; }
@keyframes drop {
  from { opacity: 0; transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) - 2.5rem)) rotate(calc(var(--r) - 8deg)) scale(1.18); }
  to { opacity: 1; transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
}
.pile .print.is-leaving { opacity: 0; }

.flash {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), var(--flash) 0%, rgba(255, 248, 234, 0.6) 25%, rgba(255, 248, 234, 0) 60%);
}
.flash.local { position: absolute; z-index: 3; }
.flash.go { animation: flash 0.55s ease-out; }
.flash.big { background: var(--flash); }
.flash.big.go { animation: bigflash 1.1s ease-out; }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: 0.85; } 100% { opacity: 0; } }
@keyframes bigflash { 0% { opacity: 0; } 6% { opacity: 1; } 30% { opacity: 0.9; } 100% { opacity: 0; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: rgba(22, 23, 28, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stat { padding: 0.85rem 1rem; display: grid; gap: 0.1rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat.seen b { color: var(--amber-hi); }
.table-actions { display: flex; justify-content: center; }
.reveal-btn { position: relative; }

@media (max-width: 56rem) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .table { max-width: 28rem; }
}

/* ---------- Marquee of occasions ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; background: var(--night); }
.marquee-track { display: flex; width: max-content; gap: 2.5rem; animation: scroll-x 48s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); white-space: nowrap; color: var(--paper-dim); display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: "✶"; color: var(--amber); font-size: 0.8em; }
.marquee span:nth-child(even) { font-style: italic; color: var(--paper); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Sealed means sealed ---------- */
.rule { background: linear-gradient(180deg, var(--ink), var(--night)); }
.rule-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.peek { display: grid; justify-items: center; gap: 1.25rem; }
.peek-print { width: min(20rem, 70vw); cursor: pointer; border: 0; background: none; padding: 0; transition: transform 0.3s var(--ease); transform: rotate(-3deg); }
.peek-print .print { width: 100%; }
.peek-print:hover { transform: rotate(-1deg) translateY(-4px); }
.peek-print.nope { animation: nope 0.5s var(--ease); }
@keyframes nope { 0%, 100% { transform: rotate(-3deg); } 20% { transform: rotate(-7deg) translateX(-8px); } 40% { transform: rotate(1deg) translateX(8px); } 60% { transform: rotate(-5deg) translateX(-5px); } 80% { transform: rotate(-2deg) translateX(3px); } }
.peek-msg { min-height: 1.6em; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); text-align: center; }
.who { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 2rem; }
.who-row { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.5rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.who-row dt { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; }
.who-row dd { margin: 0; grid-column: 1 / -1; color: var(--muted); font-size: 0.95rem; max-width: 34rem; }
.who-row .no { grid-row: 1; grid-column: 2; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-dim); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.2rem 0.7rem; }
.who-row.yes .no { color: #1a1006; background: var(--amber); border-color: var(--amber); }
.who-row.yes dt em { color: var(--amber-hi); }
@media (max-width: 56rem) { .rule-grid { grid-template-columns: 1fr; } .peek { order: -1; } }

/* ---------- How it works ---------- */
.how { background: var(--night); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step .h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.step { min-height: 70vh; display: grid; align-content: center; gap: 1rem; padding: 2rem 0; opacity: 0.35; transition: opacity 0.5s var(--ease); }
.step.is-active { opacity: 1; }
.step-num { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--amber); display: flex; align-items: center; gap: 0.8rem; }
.step-num::after { content: ""; width: 3rem; height: 1px; background: var(--amber); opacity: 0.5; }
.step p { color: var(--paper-dim); max-width: 30rem; font-size: 1.08rem; }
.step .step-phone { display: none; }
.phone-stage { position: sticky; top: calc(50vh - 19.5rem); height: 39rem; display: grid; place-items: center; }
@media (max-height: 46rem) and (min-width: 56.01rem) { .phone-stage { top: calc(var(--header-h) + 1rem); transform: scale(0.85); transform-origin: top center; } }

.phone {
  position: relative; width: 18.5rem; height: 38rem; border-radius: 3rem; padding: 0.6rem;
  background: linear-gradient(145deg, #2a2b31, #111214 40%, #1c1d22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 0 0.35rem #050506, 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 120px -30px var(--amber-glow);
}
.phone::before { content: ""; position: absolute; top: 1.15rem; left: 50%; width: 5.6rem; height: 1.6rem; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 5; }
.screen-wrap { position: relative; width: 100%; height: 100%; border-radius: 2.45rem; overflow: hidden; background: #0e0f12; }
.screen {
  position: absolute; inset: 0; padding: 3.2rem 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.8rem;
  opacity: 0; transform: translateY(1rem) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out); pointer-events: none;
  font-size: 0.8rem;
}
.screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step-phone .screen { position: relative; opacity: 1; transform: none; pointer-events: auto; height: 100%; }

/* screen 1: create */
.s-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1; text-align: center; }
.s-cover { position: relative; border-radius: 0.9rem; overflow: hidden; aspect-ratio: 16 / 9; }
.s-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.s-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.75)); }
.s-cover div { position: absolute; left: 0.75rem; bottom: 0.6rem; z-index: 1; }
.s-cover small { display: block; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.18em; color: var(--amber-hi); }
.s-cover strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.s-rows { border-radius: 0.9rem; background: var(--surface); overflow: hidden; }
.s-row { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.62rem 0.8rem; font-size: 0.74rem; }
.s-row + .s-row { border-top: 1px solid var(--line); }
.s-row span:first-child { color: var(--muted); }
.s-row span:last-child { font-weight: 600; }
.s-btn { margin-top: auto; border-radius: 999px; background: var(--amber); color: #1a1006; font-weight: 700; text-align: center; padding: 0.75rem; font-size: 0.82rem; }

/* screen 2: share */
.msgs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.4rem; }
.msgs-head { text-align: center; display: grid; justify-items: center; gap: 0.25rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.msgs-head i { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: linear-gradient(135deg, #8a8f9c, #5b606b); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 0.8rem; }
.msgs-head span { font-size: 0.68rem; color: var(--muted); }
.bubble { align-self: flex-end; max-width: 82%; background: #2f7cf6; color: #fff; padding: 0.5rem 0.75rem; border-radius: 1.1rem 1.1rem 0.3rem 1.1rem; font-size: 0.78rem; line-height: 1.35; }
.bubble.them { align-self: flex-start; background: #26272c; border-radius: 1.1rem 1.1rem 1.1rem 0.3rem; }
.linkcard { align-self: flex-end; width: 82%; border-radius: 1rem; overflow: hidden; background: #26272c; }
.linkcard img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; object-position: 50% 30%; }
.linkcard div { padding: 0.5rem 0.7rem; display: grid; }
.linkcard strong { font-size: 0.76rem; }
.linkcard span { font-size: 0.66rem; color: var(--muted); }
.delivered { align-self: flex-end; font-size: 0.6rem; color: var(--muted); margin-top: -0.3rem; }

/* the printed table card */
.qr-card {
  position: absolute; width: 11rem; padding: 1.1rem 1rem 1rem; border-radius: 0.4rem;
  background: #f4ecdd; color: #2b241a; text-align: center; display: grid; gap: 0.55rem; justify-items: center;
  box-shadow: 0 0 0 0.3rem #f4ecdd, 0 0 0 calc(0.3rem + 1px) #c9a568, 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  right: -6.5rem; bottom: 4rem; transform: rotate(7deg) translateX(1rem); opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease-out); z-index: 6; pointer-events: none;
}
.qr-card.is-active { opacity: 1; transform: rotate(7deg); }
.qr-card b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; line-height: 1; }
.qr-card small { font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.2em; line-height: 1.5; }
.qr-card svg { width: 6.4rem; height: 6.4rem; }

/* screen 3: camera */
.screen.cam { background: #050506; padding-top: 3rem; }
.cam-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 600; }
.cam-top .x { width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; font-size: 0.8rem; }
.viewfinder { position: relative; border-radius: 0.6rem; overflow: hidden; aspect-ratio: 3 / 4; background: #000; }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: handheld 6s ease-in-out infinite alternate; }
@keyframes handheld { from { transform: scale(1.08) translate(-1%, 0.5%); } to { transform: scale(1.08) translate(1%, -0.5%) rotate(0.4deg); } }
.viewfinder::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity 0.12s; }
.viewfinder.blink::after { opacity: 1; transition: none; }
.viewfinder .vf-corners { position: absolute; inset: 0.6rem; border: 1px solid rgba(255, 255, 255, 0.0); }
.vf-corners::before, .vf-corners::after { content: ""; position: absolute; width: 1rem; height: 1rem; border: 1.5px solid rgba(255, 255, 255, 0.7); }
.vf-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf-corners::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.cam-count { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); }
.cam-count b { color: var(--paper); font-weight: 400; font-size: 0.9rem; }
.bars { display: flex; gap: 2px; height: 0.9rem; align-items: flex-end; flex: 1; margin-right: 1rem; }
.bars i { flex: 1; background: var(--amber); border-radius: 1px; height: 100%; transition: opacity 0.3s, height 0.3s; }
.bars i.used { opacity: 0.2; height: 45%; }
.cam-controls { display: flex; justify-content: space-between; align-items: center; padding: 0 0.6rem; margin-top: auto; }
.cam-icon { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; }
.cam-icon svg { width: 1.1rem; height: 1.1rem; }
.take {
  width: 4.2rem; height: 4.2rem; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: #fff; box-shadow: 0 0 0 0.25rem #050506, 0 0 0 0.4rem rgba(255, 255, 255, 0.85);
  transition: transform 0.15s var(--ease);
}
.take:active, .take.press { transform: scale(0.9); }
.take:disabled { opacity: 0.4; cursor: default; }
.thumb-tray { position: absolute; left: 1.4rem; bottom: 1.35rem; width: 2.4rem; height: 2.4rem; }
.thumb-tray .mini { position: absolute; inset: 0; border-radius: 0.4rem; border: 2px solid var(--print); overflow: hidden; animation: fly 0.6s var(--ease-out) both; }
.thumb-tray .mini .sealed-face { border-radius: 0; }
.thumb-tray .mini .seal { width: 70%; }
@keyframes fly { from { transform: translate(5rem, -14rem) scale(3); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
.cam-hint { text-align: center; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; color: var(--amber); text-transform: uppercase; min-height: 1.2em; }

/* screen 4: album */
.album-head { display: grid; gap: 0.15rem; }
.album-head small { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.18em; color: var(--amber-hi); text-transform: uppercase; }
.album-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.album-head span { font-size: 0.68rem; color: var(--muted); }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 0.6rem; overflow: hidden; }
.album-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.6s, transform 0.9s var(--ease-out); }
.album-grid img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
.screen.is-active .album-grid img, .step-phone .album-grid img.in { opacity: 1; transform: none; }
.album-grid img:nth-child(2) { transition-delay: 0.08s; } .album-grid img:nth-child(3) { transition-delay: 0.16s; }
.album-grid img:nth-child(4) { transition-delay: 0.24s; } .album-grid img:nth-child(5) { transition-delay: 0.32s; }
.album-grid img:nth-child(6) { transition-delay: 0.4s; } .album-grid img:nth-child(7) { transition-delay: 0.48s; }
.save-all { margin-top: auto; border-radius: 999px; border: 1px solid var(--line-strong); text-align: center; padding: 0.65rem; font-weight: 700; font-size: 0.78rem; }

@media (max-width: 56rem) {
  .how-grid { grid-template-columns: 1fr; }
  .phone-stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 2.5rem 0; border-top: 1px solid var(--line); }
  .step .step-phone { display: grid; justify-items: center; margin-top: 1.5rem; position: relative; }
  .step .step-phone .phone { transform: scale(0.92); transform-origin: top center; margin-bottom: -3rem; }
  .step-phone .qr-card { opacity: 1; transform: rotate(7deg); right: max(-1rem, calc(50% - 15rem)); bottom: 6rem; width: 9rem; }
  .step-phone .qr-card svg { width: 5rem; height: 5rem; }
}
@media (max-width: 26rem) { .step-phone .qr-card { display: none; } }

/* ---------- The moment ---------- */
.moment { position: relative; padding: clamp(5rem, 12vw, 10rem) 0; overflow: hidden; isolation: isolate; }
.moment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 75% 50%, rgba(232, 148, 51, 0.14), transparent 70%); }
.moment-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.moment-copy { display: grid; gap: 1.5rem; }
.moment blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.moment blockquote em { color: var(--amber-hi); }
.moment-print { margin: 0; display: grid; gap: 1rem; justify-items: center; }
.moment-print .print { width: min(100%, 30rem); transform: rotate(2.5deg); padding: 3.5%; }
.moment-print .crop { width: 100%; height: 100%; overflow: hidden; }
.moment-print .print img { transform: scale(var(--zoom, 1.1)); transform-origin: 45% 40%; }
.moment-print figcaption { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
@media (max-width: 52rem) { .moment-grid { grid-template-columns: 1fr; } }

/* ---------- Occasions ---------- */
.occasions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.occ {
  position: relative; display: grid; grid-template-rows: 1fr auto; min-height: clamp(30rem, 48vw, 38rem); padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; isolation: isolate; border: 1px solid var(--line);
  background: radial-gradient(80% 70% at 50% 30%, rgba(232, 148, 51, 0.16), transparent 70%), linear-gradient(170deg, var(--surface-2), var(--night));
  transition: border-color 0.3s;
}
.occ:hover { border-color: var(--line-strong); }
.occ-prints { position: relative; min-height: 15rem; }
.occ-prints .print { position: absolute; top: 50%; left: 50%; width: clamp(8.5rem, 15vw, 12rem); transition: transform 0.8s var(--ease-out); }
.occ-prints .print:nth-child(1) { transform: translate(-115%, -50%) rotate(-10deg); }
.occ-prints .print:nth-child(2) { transform: translate(-50%, -58%) rotate(1deg); z-index: 2; }
.occ-prints .print:nth-child(3) { transform: translate(15%, -46%) rotate(9deg); }
.occ:hover .occ-prints .print:nth-child(1) { transform: translate(-128%, -52%) rotate(-14deg); }
.occ:hover .occ-prints .print:nth-child(2) { transform: translate(-50%, -64%) rotate(0deg) scale(1.04); }
.occ:hover .occ-prints .print:nth-child(3) { transform: translate(28%, -48%) rotate(13deg); }
.occ-copy .kicker { margin-bottom: 0.6rem; }
.occ h3 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 0.95; }
.occ-copy p:not(.kicker) { margin-top: 0.75rem; color: var(--paper-dim); max-width: 26rem; }
.occ .go { margin-top: 1.25rem; display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 700; color: var(--amber-hi); }
.occ .go span { transition: transform 0.25s var(--ease); }
.occ:hover .go span { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; justify-content: center; }
.chip { border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.92rem; color: var(--paper-dim); }
@media (max-width: 48rem) {
  .occasions-grid { grid-template-columns: 1fr; } .occ { min-height: 0; } .occ-prints { min-height: 13rem; }
  .occ-prints .print { width: 7.6rem; }
  .occ-prints .print:nth-child(1), .occ:hover .occ-prints .print:nth-child(1) { transform: translate(-100%, -50%) rotate(-9deg); }
  .occ-prints .print:nth-child(3), .occ:hover .occ-prints .print:nth-child(3) { transform: translate(0%, -46%) rotate(8deg); }
}

/* ---------- Promises ---------- */
.promises { background: var(--night); }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promise { background: var(--night); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 0.75rem; align-content: start; transition: background 0.3s; }
.promise:hover { background: var(--surface); }
.promise .num { font-family: var(--mono); font-size: 0.75rem; color: var(--amber); letter-spacing: 0.15em; }
.promise h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.05; }
.promise p { color: var(--muted); font-size: 0.98rem; }
.promise .big { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 0.9; color: var(--amber-hi); }
@media (max-width: 60rem) { .promise-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 38rem) { .promise-list { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-card {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: calc(var(--radius) * 1.4); overflow: hidden;
  border: 1px solid var(--line-strong); background: linear-gradient(160deg, var(--surface-2), var(--night));
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
}
.pricing-main { padding: clamp(1.75rem, 4vw, 3.25rem); display: grid; gap: 1.75rem; align-content: start; }
.price-readout { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.price-guests { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1; }
.price-amount { font-family: var(--serif); font-size: clamp(5rem, 11vw, 9rem); line-height: 0.82; letter-spacing: -0.03em; color: var(--amber-hi); font-variant-numeric: tabular-nums; }
.price-meta { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); min-height: 1.4em; }
.slider { --p: 0%; width: 100%; appearance: none; -webkit-appearance: none; height: 2.75rem; background: transparent; cursor: pointer; margin: 0; }
.slider::-webkit-slider-runnable-track { height: 0.4rem; border-radius: 999px; background: linear-gradient(90deg, var(--amber) var(--p), rgba(243, 237, 227, 0.14) var(--p)); }
.slider::-moz-range-track { height: 0.4rem; border-radius: 999px; background: linear-gradient(90deg, var(--amber) var(--p), rgba(243, 237, 227, 0.14) var(--p)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 1.7rem; height: 1.7rem; margin-top: -0.65rem; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 0 0 0.4rem rgba(232, 148, 51, 0.3), 0 4px 14px rgba(0, 0, 0, 0.6); transition: transform 0.2s; }
.slider::-moz-range-thumb { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 0 0 0.4rem rgba(232, 148, 51, 0.3), 0 4px 14px rgba(0, 0, 0, 0.6); }
.slider:active::-webkit-slider-thumb { transform: scale(1.12); }
.ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: -0.4rem; }
.ticks button { background: none; border: 0; padding: 0.3rem 0.2rem; color: inherit; cursor: pointer; font: inherit; }
.ticks button[aria-pressed="true"] { color: var(--paper); }
.pricing-side { padding: clamp(1.75rem, 4vw, 3.25rem); border-left: 1px solid var(--line); background: rgba(9, 9, 11, 0.35); display: grid; gap: 1.25rem; align-content: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.checks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; color: var(--paper-dim); font-size: 0.98rem; }
.checks li::before { content: ""; width: 1.1rem; height: 1.1rem; margin-top: 0.22rem; border-radius: 50%; background: var(--amber) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%231a1006' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 80% no-repeat; }
.avail { border-radius: 0.9rem; padding: 1rem 1.1rem; background: rgba(232, 148, 51, 0.08); border: 1px solid rgba(232, 148, 51, 0.25); font-size: 0.92rem; color: var(--paper-dim); }
.avail strong { color: var(--paper); }
.price-table { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 0.95rem; }
.price-table caption { text-align: left; color: var(--muted); font-size: 0.85rem; padding-bottom: 0.5rem; }
.price-table th, .price-table td { padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-weight: 600; color: var(--muted); font-size: 0.8rem; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
@media (max-width: 52rem) { .pricing-card { grid-template-columns: 1fr; } .pricing-side { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Guests ---------- */
.guest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: g; }
.guest-step { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 1.75rem; display: grid; gap: 0.75rem; align-content: start; overflow: hidden; }
.guest-step::before { counter-increment: g; content: counter(g); font-family: var(--serif); font-size: 6rem; line-height: 0.8; color: rgba(243, 237, 227, 0.06); position: absolute; right: 1rem; top: 1rem; }
.guest-step h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; }
.guest-step p { color: var(--muted); }
.guest-icon { width: 3rem; height: 3rem; border-radius: 0.9rem; background: rgba(232, 148, 51, 0.12); color: var(--amber-hi); display: grid; place-items: center; }
.guest-icon svg { width: 1.5rem; height: 1.5rem; }
.fineprint { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; color: var(--muted); font-size: 0.95rem; }
.fineprint p { padding-left: 1rem; border-left: 2px solid var(--line-strong); }
.fineprint strong { color: var(--paper); font-weight: 600; }
@media (max-width: 52rem) { .guest-grid, .fineprint { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.35rem 0; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--line-strong); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 3.5v9M3.5 8h9' stroke='%23f3ede3' stroke-width='1.4' stroke-linecap='round'/></svg>") center / 0.85rem no-repeat; transition: transform 0.3s var(--ease), background-color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(232, 148, 51, 0.2); }
.faq summary:hover { color: var(--amber-hi); }
.faq .answer { padding: 0 3rem 1.5rem 0; color: var(--paper-dim); display: grid; gap: 0.75rem; }
.faq .answer a { color: var(--amber-hi); }
@media (max-width: 52rem) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } .faq .answer { padding-right: 0; } }

/* ---------- Closing ---------- */
.closing { position: relative; overflow: hidden; text-align: center; isolation: isolate; padding: clamp(7rem, 16vw, 13rem) 0; }
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 60% at 50% 115%, rgba(246, 183, 102, 0.55), rgba(233, 138, 108, 0.25) 40%, transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #120e10 60%, #1c1210 100%);
}
.closing .sun { position: absolute; left: 50%; bottom: -14rem; width: 28rem; height: 28rem; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 160, 0.85), rgba(246, 183, 102, 0.3) 45%, transparent 70%); filter: blur(10px); z-index: -1; }
.closing .display { margin: 1.25rem auto 1.5rem; max-width: 60rem; }
.closing .lede { margin: 0 auto 2.25rem; }
.closing .btn-row { justify-content: center; }
.closing .small { margin-top: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2.5rem; background: var(--ink); font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.foot-grid h2 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; font-weight: 400; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-grid a { text-decoration: none; color: var(--paper-dim); }
.foot-grid a:hover { color: var(--paper); }
.foot-blurb { color: var(--muted); max-width: 22rem; margin-top: 1rem; }
.foot-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 48rem) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Occasion pages ---------- */
.page-hero { position: relative; min-height: 88svh; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 60% at 75% 50%, rgba(232, 148, 51, 0.16), transparent 70%), radial-gradient(40% 35% at 10% 10%, rgba(120, 80, 160, 0.10), transparent 70%), var(--ink); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.page-hero .hero-copy { max-width: 42rem; }
.page-hero .display { font-size: clamp(3rem, 6.4vw, 6.6rem); }
.trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.trio li { border-top: 1px solid var(--line-strong); padding-top: 1.5rem; display: grid; gap: 0.75rem; align-content: start; }
.trio .num { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.18em; color: var(--amber); }
.trio p { color: var(--muted); }
.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.idea { background: var(--night); padding: 1.75rem; display: grid; gap: 0.6rem; align-content: start; }
.idea h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; }
.idea p { color: var(--muted); font-size: 0.98rem; }
.idea .tag { justify-self: start; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(232, 148, 51, 0.4); border-radius: 999px; padding: 0.15rem 0.6rem; }
.mini-prices { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.mini-price { border: 1px solid var(--line-strong); border-radius: 1rem; padding: 1rem 1.25rem; min-width: 8rem; display: grid; gap: 0.1rem; }
.mini-price b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--amber-hi); }
.mini-price span { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 56rem) { .page-hero { min-height: auto; } .page-hero-grid, .trio, .ideas { grid-template-columns: 1fr; } }
@media (min-width: 40rem) and (max-width: 56rem) { .ideas { grid-template-columns: 1fr 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split + .split { margin-top: clamp(4rem, 10vw, 8rem); }
.split.flip > :first-child { order: 2; }
.split-copy { display: grid; gap: 1.1rem; }
.split-copy p { color: var(--paper-dim); }
.prints-fan { position: relative; aspect-ratio: 1 / 0.85; }
.prints-fan .print { position: absolute; width: 46%; }
.prints-fan .print:nth-child(1) { left: 4%; top: 10%; transform: rotate(-8deg); }
.prints-fan .print:nth-child(2) { left: 28%; top: 2%; transform: rotate(2deg); z-index: 2; }
.prints-fan .print:nth-child(3) { left: 52%; top: 12%; transform: rotate(9deg); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 2rem 2rem; display: grid; gap: 0.3rem; }
.timeline li::before { content: ""; position: absolute; left: -0.36rem; top: 0.45rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--night); border: 2px solid var(--amber); }
.timeline li:last-child::before { background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.timeline time { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; color: var(--amber); text-transform: uppercase; }
.timeline strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.timeline span { color: var(--muted); }
.callout { border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(150deg, var(--surface-2), var(--night)); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.callout .price-amount { font-size: clamp(4rem, 8vw, 6.5rem); }
@media (max-width: 52rem) { .split, .callout { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--gutter); }


/* ---------- Scroll-in motion ---------- */
.js .in-view { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.9s var(--ease), transform 1s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .in-view.is-in { opacity: 1; transform: none; }
.load-in { animation: rise 1.1s var(--ease-out) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.22s; } .d3 { animation-delay: 0.38s; } .d4 { animation-delay: 0.52s; } .d5 { animation-delay: 0.66s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.4rem); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  body::after { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .js .in-view { opacity: 1; transform: none; }
}

/* ---------- Occasion page details ---------- */
.page-hero .display > * { display: block; }
.mini-prices + .avail { margin-top: 1.5rem; max-width: 48rem; }
.ideas + .small { margin-top: 1.25rem; }
.lost-print { width: 13rem; margin: 0 auto 2rem; transform: rotate(-4deg); }
.lost .lede { margin: 1rem auto 0; }
.lost .btn-row { justify-content: center; margin-top: 2rem; }
