@font-face { font-family: 'Italiana'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Italiana-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/HankenGrotesk-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/HankenGrotesk-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/HankenGrotesk-normal-800.woff2') format('woff2'); }
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/PinyonScript-normal-400.woff2') format('woff2'); }

/* ==========================================================================
   HiSociety · The Calling Card
   An engraved ivory card, a gold tray, a candle-lit room, one monocle.
   ========================================================================== */

:root {
  --night: #18100c;
  --deep: #392518;
  --paper: #f7ebe3;
  --paper2: #eddacf;
  --ink: #302117;
  --inkSoft: #624e41;
  --on: #f6eeea;
  --onSoft: #cbbcb4;
  --accent: #e98549;
  --accentDeep: #aa4f18;
  --gold: #e3c88a;
  --goldHi: #f6e7bf;
  --goldMid: #d8b56c;
  --goldLo: #8f6a2c;
  --goldInk: #7a5a22;
  --goldLine: rgba(227, 200, 138, .38);
  --goldGrad: linear-gradient(180deg, #f6e7bf 0%, #d8b56c 52%, #a9813a 100%);
  --room: #221812;
  --radius: 999px;
  --radiusSm: 8px;
  --tilt: 2deg;
  --shadow: 0 10px 30px rgba(0,0,0,.18);
  --gap: 32px;
  --fd: "Italiana", "Didot", "Times New Roman", serif;
  --fb: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --fs: "Pinyon Script", "Snell Roundhand", cursive;
  --e1: cubic-bezier(.16, 1, .3, 1);
  --e2: cubic-bezier(.2, .7, .1, 1);
  --edge: 20px;
}
@media (min-width: 1024px) { :root { --edge: clamp(64px, 8.4vw, 140px); } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--night); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--fb);
  color: var(--gold); /* the sparkle trail takes this colour */
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body > header, body > main, body > footer { color: var(--on); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--goldMid); color: var(--night); }

/* grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared type ---------- */
.eyebrow, .kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font: 600 11px/1.4 var(--fb);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow__rule { width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); flex: none; }
.kicker--paper { color: var(--goldInk); }
.h2 {
  margin: 0;
  font: 400 clamp(40px, 10.5vw, 84px)/1.02 var(--fd);
  letter-spacing: -.005em;
  color: var(--on);
}
.h2__a { display: block; }
.h2__b { display: block; font-family: var(--fs); font-size: .8em; line-height: 1.15; color: var(--gold); margin-top: .08em; }
.h2--paper { color: var(--ink); }
.h2--xl { font-size: clamp(50px, 8.6vw, 128px); line-height: .98; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 2px;
  font: 600 12.5px/1 var(--fb);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .5s var(--e1), color .5s var(--e1), box-shadow .5s var(--e1), border-color .5s var(--e1);
}
.btn img { width: 16px; height: 16px; }
.btn--buy {
  background: var(--accent);
  color: var(--night);
  box-shadow: 0 14px 34px -14px rgba(233, 133, 73, .75), inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.btn--buy:hover { background: var(--accentDeep); color: var(--on); box-shadow: 0 18px 40px -12px rgba(233, 133, 73, .8), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn--buy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 250, 235, .55) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}
html.js:not(.rm) .btn--buy::after { animation: glint 6s var(--e2) 2.4s infinite; }
@keyframes glint { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 13.5px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 11.5px; letter-spacing: .14em; }
.btn--ghost { background: transparent; color: var(--on); box-shadow: inset 0 0 0 1px rgba(227, 200, 138, .6); }
.btn--ghost img { filter: invert(1); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--goldHi); background: rgba(227, 200, 138, .08); }
.btn--line { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(227, 200, 138, .3); }
.btn--line:hover { color: var(--goldHi); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--paper); }
.btn--ink:hover img { filter: invert(1); }

/* ---------- the engraved frame around the viewport ---------- */
.frame {
  position: fixed;
  inset: 6px;
  z-index: 85;
  pointer-events: none;
  border: 1px solid var(--goldLine);
}
.frame::before { content: ""; position: absolute; inset: 4px; border: .5px solid rgba(227, 200, 138, .18); }
.frame__bar {
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--goldMid), var(--goldHi));
  transform: scaleX(var(--scroll, 0));
  transform-origin: left;
  box-shadow: 0 0 8px rgba(246, 231, 191, .6);
}
.frame__c { position: absolute; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.frame__c--tl { top: -4px; left: -4px; }
.frame__c--tr { top: -4px; right: -4px; }
.frame__c--bl { bottom: -4px; left: -4px; }
.frame__c--br { bottom: -4px; right: -4px; }
@media (min-width: 1024px) { .frame { inset: 12px; } .frame::before { inset: 6px; } }

/* ---------- the monocle cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; width: 36px; height: 36px; margin: -18px 0 0 -18px; pointer-events: none; display: none; }
.cursor i { position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: 50%; transition: transform .5s var(--e1), background-color .5s var(--e1); box-shadow: 0 0 12px rgba(246, 231, 191, .25); }
.cursor i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--goldHi); }
.cursor i::after { content: ""; position: absolute; left: 1px; top: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cursor.is-hover i { transform: scale(1.75); background: rgba(246, 231, 191, .08); }
@media (hover: hover) and (pointer: fine) { html.js:not(.rm) .cursor { display: block; } }

/* ==========================================================================
   Intro: "Your card, please."
   ========================================================================== */
.intro { display: none; }
html.js:not(.rm).intro-playing .intro,
html.js:not(.rm).intro-done .intro {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  perspective: 1200px;
  background: radial-gradient(60% 50% at 50% 55%, #2c1c12 0%, var(--night) 70%);
}
html.intro-done .intro { animation: introOut 1.1s var(--e1) .1s forwards; pointer-events: none; }
@keyframes introOut { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.intro__card {
  position: relative;
  width: min(360px, 76vw);
  aspect-ratio: 12 / 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.intro__rule { position: absolute; inset: 9px; border: 1px solid rgba(122, 90, 34, .55); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 3.6px rgba(122, 90, 34, .35); }
.intro__name {
  font: 400 clamp(40px, 12vw, 58px)/1 var(--fs);
  color: var(--goldInk);
  clip-path: inset(-20% calc(100% - var(--intro, 1) * 100%) -20% 0);
}
.intro__line { font: 600 10px/1.3 var(--fb); letter-spacing: .26em; text-transform: uppercase; color: var(--inkSoft); }
.intro__count { font: 600 14px/1 var(--fb); font-variant-numeric: tabular-nums; letter-spacing: .1em; color: var(--goldInk); }
.intro__count b { font-weight: 600; }
.intro__corner { position: absolute; top: 0; right: 0; width: 22px; height: 22px; background: linear-gradient(225deg, #2c1c12 50%, var(--paper2) 50%); }
html.intro-done .intro__card { animation: introCard 1.1s var(--e1) forwards; }
@keyframes introCard {
  to { transform: translate(26vw, 36vh) rotateX(58deg) scale(.5); opacity: 0; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.bar {
  position: fixed;
  top: 6px; left: 6px; right: 6px;
  z-index: 80;
  transition: transform .7s var(--e1), background-color .5s var(--e1), box-shadow .5s var(--e1);
}
.bar__in { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 12px; }
html.is-scrolled .bar {
  background: rgba(24, 16, 12, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 -1px 0 rgba(227, 200, 138, .25);
}
html.is-scrolled.scroll-down .bar { transform: translateY(-115%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on); }
.brand__ring {
  display: block;
  width: 36px; height: 36px;
  padding: 2px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 14px rgba(246, 231, 191, .18);
  transform: rotate(calc(var(--scroll, 0) * 360deg));
  flex: none;
}
.brand__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand__ring--lg { width: 56px; height: 56px; }
.brand__name { font: 400 15px/1 var(--fd); letter-spacing: .26em; text-transform: uppercase; display: none; }
@media (min-width: 420px) { .brand__name { display: inline; } }
.bar__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chip-x { display: none; place-items: center; width: 40px; height: 40px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(227, 200, 138, .45); transition: box-shadow .4s var(--e1); }
.chip-x img { filter: invert(1); }
.chip-x:hover { box-shadow: inset 0 0 0 1px var(--goldHi); }

.burger { position: relative; width: 44px; height: 44px; border: 0; border-radius: 2px; background: transparent; box-shadow: inset 0 0 0 1px rgba(227, 200, 138, .45); cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--gold); transition: transform .5s var(--e1); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.nav {
  display: none;
  position: fixed;
  top: 76px; left: 12px; right: 12px;
  max-height: calc(100svh - 96px);
  overflow: auto;
  flex-direction: column;
  gap: 2px;
  padding: 22px 22px 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(122, 90, 34, .5);
}
.nav.is-open { display: flex; }
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 4px;
  font: 400 22px/1.2 var(--fd);
  letter-spacing: .06em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 90, 34, .22);
}
.nav__motion {
  margin-top: 12px;
  align-self: flex-start;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(48, 33, 23, .45);
  font: 600 11px/1 var(--fb);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .bar { top: 12px; left: 12px; right: 12px; }
  .bar__in { height: 72px; padding: 0 28px; gap: 28px; }
  .brand__ring { width: 40px; height: 40px; }
  .brand__name { font-size: 17px; }
  .burger { display: none; }
  .chip-x { display: grid; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    padding: 0;
    max-height: none;
    overflow: visible;
    background: none;
    box-shadow: none;
  }
  .nav a {
    position: relative;
    min-height: 40px;
    padding: 0;
    border: 0;
    font: 600 11.5px/1 var(--fb);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--on);
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .6s var(--e1);
  }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
  .nav a.is-active { color: var(--goldHi); }
  .nav .nav__x { display: none; }
  .nav__motion { margin: 0; min-height: 32px; padding: 0 10px; font-size: 10px; color: var(--onSoft); box-shadow: inset 0 0 0 1px rgba(227, 200, 138, .3); }
  .bar__end { margin-left: 0; }
}

/* ==========================================================================
   1. The Arrival
   ========================================================================== */
.hero {
  --catH: 430px;
  --catT: 330px;
  --catR: -10px;
  --rs: 210px;
  --cardRot: -2deg;
  --aurora-1: #e98549;
  --aurora-2: #aa4f18;
  --aurora-3: #d8b56c;
  --aurora-bg: #18100c;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh + 86px);
  padding: 84px var(--edge) 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
  background:
    radial-gradient(55% 45% at 78% 38%, rgba(233, 133, 73, .26), transparent 70%),
    radial-gradient(45% 40% at 10% 95%, rgba(170, 79, 24, .2), transparent 70%),
    radial-gradient(80% 60% at 50% 0%, #2a1a10, transparent 70%),
    var(--night);
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero { --catH: min(64vh, 620px); --catT: 300px; --rs: 340px; }
}
.hero__dust { position: absolute; inset: 0; z-index: 1; color: var(--goldHi); pointer-events: none; }
.hero__halo {
  position: absolute;
  z-index: 1;
  width: calc(var(--rs) * 1.7);
  aspect-ratio: 1;
  right: calc(var(--catR) + var(--catH) * .5786 * .405 - var(--rs) * .85);
  top: calc(var(--catT) + var(--catH) * .21 - var(--rs) * .85);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 231, 191, .26) 0%, rgba(233, 133, 73, .12) 38%, transparent 68%);
  transition: opacity .9s var(--e1), transform .9s var(--e1);
  pointer-events: none;
}
html.is-noticed .hero__halo { transform: scale(1.08); opacity: 1.0; filter: brightness(1.3); }

.hero__ring {
  position: absolute;
  z-index: 2;
  width: var(--rs);
  height: var(--rs);
  right: calc(var(--catR) + var(--catH) * .5786 * .405 - var(--rs) / 2);
  top: calc(var(--catT) + var(--catH) * .21 - var(--rs) / 2);
  transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -6px), 0);
  transition: transform .9s var(--e1);
  pointer-events: none;
}
.hero__ring svg { width: 100%; height: 100%; overflow: visible; }
.hero__ring circle { fill: none; stroke: var(--gold); }
.ring__a { stroke-width: 1.6; stroke-dasharray: 1571; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(246, 231, 191, .35)); }
.ring__b { stroke-width: .7; opacity: .6; stroke-dasharray: 1515; }
.hero__ring .ring__knob { fill: var(--gold); stroke: none; }
.ring__loop { stroke-width: 1.4; }
.hero__ring text { fill: var(--gold); font: 600 13px var(--fb); letter-spacing: .32em; text-transform: uppercase; opacity: .85; }
.ring__spin { transform-box: view-box; transform-origin: 300px 300px; }
html.js:not(.rm) .ring__spin { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__stamp { position: absolute; z-index: 3; left: var(--edge); top: calc(var(--catT) + 46px); width: 88px; height: 88px; pointer-events: none; }
.hero__stamp svg { width: 100%; height: 100%; }
.hero__stamp circle { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .7; }
.hero__stamp text { fill: var(--gold); font: 600 17px var(--fb); letter-spacing: .2em; text-transform: uppercase; }
html.js:not(.rm) .hero__stamp svg { animation: spin 40s linear infinite; }

.hero__cat {
  position: absolute;
  z-index: 4;
  width: calc(var(--catH) * .5786);
  height: var(--catH);
  right: var(--catR);
  top: var(--catT);
  transform: translate3d(calc(var(--px, 0) * 12px), calc(var(--py, 0) * 8px), 0) rotate(var(--nod, 0deg));
  transform-origin: 60% 28%;
  transition: transform 1s var(--e1);
}
html.is-noticed { --nod: -1.6deg; }
.hero__catIn, .hero__catIn img { width: 100%; height: 100%; }
.hero__catIn img {
  object-fit: contain;
  /* sepia warms the cut-out's cool edge pixels into candle rim light */
  filter: sepia(.42) saturate(1.28) hue-rotate(-4deg) drop-shadow(0 34px 40px rgba(0, 0, 0, .5)) drop-shadow(0 0 1.5px rgba(246, 231, 191, .55));
  transform-origin: 50% 100%;
}
html.js:not(.rm) .hero__catIn img { animation: breathe 6.5s ease-in-out 2s infinite alternate; }
@keyframes breathe { to { transform: translateY(-8px) scale(1.006); } }

.hero__head { position: relative; z-index: 3; grid-row: 1; }
.h1 { margin: 0; font-weight: 400; }
.h1__a {
  display: block;
  max-width: 4.4em;
  font: 400 clamp(52px, 15.4vw, 80px)/.96 var(--fd);
  letter-spacing: -.005em;
  color: var(--on);
  text-shadow: 0 2px 30px rgba(24, 16, 12, .5);
}
.h1__b {
  display: block;
  max-width: 13em;
  margin-top: 12px;
  font: 400 clamp(31px, 8.6vw, 44px)/1.12 var(--fs);
  color: var(--gold);
  background: linear-gradient(100deg, #d8b56c 0%, #f6e7bf 20%, #d8b56c 34%, #b78f45 46%, #fff3d6 50%, #b78f45 54%, #d8b56c 66%, #f6e7bf 80%, #d8b56c 100%);
  background-size: 300% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(216, 181, 108, .22));
  padding-bottom: .08em;
}
html.js:not(.rm) .h1__b { animation: writeIn 1.1s var(--e1) .95s both, sweep 9s ease-in-out 3s infinite; }
@keyframes sweep { 0%, 55% { background-position: 0% 0; } 100% { background-position: 100% 0; } }
@keyframes writeIn { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -2% -10% 0); } }

.hero__lede { position: relative; z-index: 3; grid-row: 5; margin: 22px 0 0; max-width: 430px; font-size: 16px; line-height: 1.6; color: var(--onSoft); }
.hero__actions { position: relative; z-index: 6; grid-row: 4; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn--buy { flex: 1 1 auto; }
@media (max-width: 1023px) {
  .hero__actions:has(.btn--buy:not([hidden])) .btn--line { display: none; }
  .hero__actions .btn--ghost { padding: 0 16px; min-width: 58px; min-height: 58px; }
  .hero__actions .btn__t { display: none; }
}

.tray { display: none; }
.callcard {
  position: relative;
  z-index: 6;
  grid-row: 3;
  justify-self: start;
  width: min(280px, 78%);
  margin-bottom: 14px;
  padding: 18px 20px 16px;
  background: linear-gradient(160deg, #fbf3ec 0%, var(--paper) 45%, var(--paper2) 100%);
  color: var(--ink);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .85), 0 6px 14px rgba(0, 0, 0, .25);
  transform: translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 14px), 0) rotate(var(--cardRot)) translateY(var(--lift, 0px));
  transition: transform 1s var(--e1);
}
.callcard::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(122, 90, 34, .55);
  box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 3.6px rgba(122, 90, 34, .3);
  pointer-events: none;
}
.callcard::after, .vet .card::after, .guests figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(var(--fa, 115deg), transparent 28%, rgba(255, 225, 180, .6) 45%, rgba(230, 210, 255, .35) 52%, rgba(255, 245, 210, .55) 58%, transparent 74%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity .6s var(--e1);
}
.callcard.is-foil-on::after { opacity: 1; }
html.ca-copied { --lift: -6px; }
.callcard__corner {
  position: absolute;
  top: 0; right: 0;
  width: 26px; height: 26px;
  background: linear-gradient(225deg, var(--night) 50%, #e2cbbb 50%);
  box-shadow: -2px 2px 4px rgba(0, 0, 0, .18);
  transition: width .6s var(--e1), height .6s var(--e1);
}
html.ca-copied .callcard__corner { width: 44px; height: 44px; }
.callcard__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding-right: 18px; }
.callcard__name { font: 400 15px/1.2 var(--fd); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.readout { position: relative; display: inline-grid; font: 600 10px/1.4 var(--fb); letter-spacing: .16em; text-transform: uppercase; color: var(--inkSoft); padding-left: 12px; }
.readout::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--goldInk); }
html.js:not(.rm) .readout::before { animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.ro { grid-area: 1 / 1; transition: opacity .5s var(--e1), transform .5s var(--e1); }
.ro--b { opacity: 0; transform: translateY(5px); }
html.is-noticed .ro--a { opacity: 0; transform: translateY(-5px); }
html.is-noticed .ro--b { opacity: 1; transform: none; }
.callcard__still { margin: 12px 0 0; font: 600 10.5px/1.5 var(--fb); letter-spacing: .18em; text-transform: uppercase; color: var(--goldInk); }
.callcard:has(.callcard__ca:not([hidden])) .callcard__still { display: none; }
.callcard__ca { position: relative; }
.callcard__label { margin: 8px 0 0; font: 400 22px/1.1 var(--fs); color: var(--goldInk); }
@media (min-width: 1024px) { .callcard__label { font-size: 26px; } }
#ca-copy {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 10px 0 2px;
  border: 0;
  border-top: 1px solid rgba(122, 90, 34, .35);
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
#ca-text { display: block; font: 500 12.5px/1.5 var(--fb); font-variant-numeric: tabular-nums; letter-spacing: .03em; word-break: break-all; color: var(--ink); }
.ca__tap { display: inline-block; margin-top: 6px; font: 700 10px/1.4 var(--fb); letter-spacing: .24em; text-transform: uppercase; color: var(--goldInk); border-bottom: 1px solid rgba(122, 90, 34, .4); transition: opacity .4s var(--e1); }
#ca-copy:hover .ca__tap { border-bottom-color: var(--goldInk); }
.callcard__ok { position: absolute; right: 0; bottom: -4px; font: 400 24px/1 var(--fs); color: var(--goldInk); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--e1), transform .5s var(--e1); pointer-events: none; }
html.ca-copied .callcard__ok { opacity: 1; transform: none; }
html.ca-copied .ca__tap { opacity: 0; }

.hero__cue { display: none; }

@media (min-width: 1024px) {
  .hero {
    --catH: min(104vh, 1000px);
    --catT: 13.5vh;
    --catR: 6vw;
    --rs: calc(var(--catH) * .48);
    --cardRot: -3deg;
    display: grid;
    grid-template-columns: minmax(0, min(60vw, 900px));
    grid-template-rows: auto auto auto;
    align-content: start;
    min-height: max(100vh, 740px);
    height: 100vh;
    padding: max(132px, 16.5vh) var(--edge) 0;
  }
  .hero__stamp { display: none; }
  .h1__a { font-size: clamp(84px, 10.4vw, 160px); }
  .h1__b { font-size: clamp(40px, 4.2vw, 64px); max-width: 12.6em; margin-top: 16px; }
  .hero__head { grid-row: 1; }
  .hero__lede { grid-row: 2; margin-top: 24px; font-size: 17px; max-width: 440px; }
  .hero__actions { grid-row: 3; margin-top: 28px; flex-wrap: nowrap; }
  .hero__actions .btn--buy { flex: none; }
  .tray {
    display: block;
    position: absolute;
    z-index: 5;
    right: 2vw;
    bottom: 2vh;
    width: 500px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(246, 231, 191, .42) 0%, rgba(216, 181, 108, .22) 40%, transparent 72%);
    transform: translate3d(calc(var(--px, 0) * 18px), 0, 0);
    transition: transform 1s var(--e1);
  }
  .callcard {
    position: absolute;
    right: 4.6vw;
    bottom: max(56px, 7vh);
    width: 380px;
    margin: 0;
    padding: 22px 26px 18px;
  }
  .callcard__name { font-size: 16px; }
  #ca-text { font-size: 13.5px; }
  .hero__cue {
    display: flex;
    position: absolute;
    z-index: 3;
    left: var(--edge);
    bottom: 32px;
    align-items: center;
    gap: 14px;
    margin: 0;
    font: 600 10.5px/1 var(--fb);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--onSoft);
  }
  .cue__line { position: relative; width: 1px; height: 40px; background: rgba(227, 200, 138, .25); overflow: hidden; }
  .cue__line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleY(1); transform-origin: top; }
  html.js:not(.rm) .cue__line::after { animation: cue 4s var(--e1) infinite; }
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero entrance (plays on load, held while the intro curtain is up) */
html.js:not(.rm) .ring__a { animation: draw 1.8s var(--e1) .2s both; }
html.js:not(.rm) .ring__b { animation: draw2 2s var(--e1) .35s both; }
@keyframes draw { from { stroke-dashoffset: 1571; } to { stroke-dashoffset: 0; } }
@keyframes draw2 { from { stroke-dashoffset: 1515; } to { stroke-dashoffset: 0; } }
html.js:not(.rm) .hero__catIn { animation: catIn 1.3s var(--e1) .3s both; }
@keyframes catIn { from { translate: 0 60px; opacity: 0; filter: blur(8px); } to { translate: 0 0; opacity: 1; filter: blur(0); } }
html.js:not(.rm) .eyebrow { animation: fadeUp 1s var(--e1) .25s both; }
html.js:not(.rm) .h1__a:not(:has(.split-w)) { animation: fadeUp 1.1s var(--e1) .45s both; }
html.js:not(.rm) .h1__a .split-w { animation: fadeUp 1.1s var(--e1) both; animation-delay: calc(.45s + var(--l, 0) * .11s); }
html.js:not(.rm) .hero__lede { animation: fadeUp 1s var(--e1) 1.05s both; }
html.js:not(.rm) .hero__actions { animation: fadeUp 1s var(--e1) 1.15s both; }
html.js:not(.rm) .hero__halo, html.js:not(.rm) .hero__dust { animation: fade 1.6s var(--e1) both; }
html.js:not(.rm) .callcard { animation: cardIn 1.25s var(--e1) 1.25s both; }
html.js:not(.rm) .tray { animation: fade 1.2s var(--e1) 1.4s both; }
html.js:not(.rm) .hero__cue, html.js:not(.rm) .hero__stamp { animation: fade 1.2s var(--e1) 1.8s both; }
@keyframes fadeUp { from { translate: 0 .5em; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn { from { translate: 6vw -14vh; rotate: -14deg; scale: .9; opacity: 0; } 70% { opacity: 1; } to { translate: 0 0; rotate: 0deg; scale: 1; opacity: 1; } }
html.intro-playing .hero *, html.intro-playing .hero__ring circle { animation-play-state: paused !important; }

/* ==========================================================================
   2. The Greetings
   ========================================================================== */
.greet { padding: 64px 0 56px; background: var(--night); overflow: hidden; }
.greet__band { border-top: 1px solid var(--goldLine); border-bottom: 1px solid var(--goldLine); padding: 24px 0 20px; overflow: hidden; }
.greet__skew { transform: skewX(calc(var(--velocity, 0) * -12deg)); transition: transform .5s var(--e2); }
.greet__marquee { display: flex; width: max-content; }
.marquee-track { display: flex; width: max-content; }
html.js:not(.rm) .marquee-track { animation: marq 48s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }
.greet__row {
  display: flex;
  align-items: center;
  gap: .42em;
  margin: 0;
  padding-right: .42em;
  white-space: nowrap;
  font: 400 clamp(56px, 8.6vw, 128px)/1.05 var(--fd);
  color: var(--on);
}
.greet__row .o { color: var(--gold); -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px var(--gold); }
.mono-glyph { position: relative; display: inline-block; flex: none; width: .3em; height: .3em; border: 1px solid var(--gold); border-radius: 50%; }
.mono-glyph::after { content: ""; position: absolute; left: -3px; top: -1px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.greet__note { margin: 26px var(--edge) 0; text-align: center; font: 600 11.5px/1.6 var(--fb); letter-spacing: .24em; text-transform: uppercase; color: var(--onSoft); }

/* ==========================================================================
   3. His Standards: the pinned scene
   ========================================================================== */
.vet { position: relative; background: var(--night); overflow-x: clip; }
html.js:not(.rm) .vet { height: 360vh; }
.vet__stage {
  --s: var(--scene, 1);
  --a: clamp(0, calc(var(--s) / .3), 1);
  --z: clamp(0, calc((var(--s) - .3) / .7), 1);
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 96px var(--edge) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-content: center;
}
.vet__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 60% at 55% 50%, #4a2f1d 0%, var(--deep) 45%, var(--room) 100%);
  opacity: calc(.25 + var(--s) * .75);
}
html.js:not(.rm) .vet__stage { position: sticky; top: 0; height: 100svh; min-height: 0; overflow: hidden; padding-top: 84px; padding-bottom: 24px; gap: 18px; }
.rounds { display: flex; gap: 20px; margin: 22px 0 0; font: 400 24px/1 var(--fd); color: var(--gold); }
.rounds span:nth-child(1) { --c: 0; }
.rounds span:nth-child(2) { --c: 1; }
.rounds span:nth-child(3) { --c: 2; }
.rounds span { --k: clamp(0, calc(var(--s) * 3.4 - var(--c) * 1.05 - .25), 1); opacity: calc(.3 + var(--k) * .7); border-bottom: 1px solid rgba(227, 200, 138, calc(var(--k) * .8)); padding-bottom: 6px; }

.vet__portrait { display: grid; justify-items: center; gap: 10px; }
.vet__mat {
  position: relative;
  width: min(100%, 210px);
  aspect-ratio: 1;
  padding: 16px;
  background: var(--paper);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .85), 0 0 80px rgba(246, 231, 191, .08);
  transform: scale(calc(.78 + var(--a) * .22)) rotate(calc((1 - var(--a)) * -6deg));
  opacity: calc(.15 + var(--a) * .85);
}
.vet__rule { position: absolute; pointer-events: none; }
.vet__rule--1 { inset: 6px; border: 1px solid rgba(122, 90, 34, .6); transform: translate(calc((1 - var(--a)) * -60px), calc((1 - var(--a)) * -40px)) rotate(calc((1 - var(--a)) * -9deg)); opacity: var(--a); }
.vet__rule--2 { inset: 10px; border: .5px solid rgba(122, 90, 34, .45); transform: translate(calc((1 - var(--a)) * 70px), calc((1 - var(--a)) * 50px)) rotate(calc((1 - var(--a)) * 7deg)); opacity: var(--a); }
.vet__pic { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--paper); }
.vet__pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(calc(1 + var(--z) * .3)); transform-origin: 37% 40%; }
/* the monocle's lens flares open half-way through the scene */
.vet__lens {
  position: absolute;
  left: 37%; top: 40%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--goldHi), 0 0 30px 6px rgba(246, 231, 191, .55), inset 0 0 40px rgba(246, 231, 191, .5);
  transform: translate(-50%, -50%) scale(calc(.4 + var(--z) * 1.6));
  opacity: clamp(0, min(calc(var(--z) * 4), calc((1 - var(--z)) * 3)), 1);
}
.vet__glint {
  position: absolute;
  inset: 16px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
  background-size: 260% 100%;
  background-position: calc(100% - var(--z) * 100%) 0;
  mix-blend-mode: soft-light;
}
.vet__caption { margin: 0; max-width: 16em; text-align: center; font: 400 26px/1.15 var(--fs); color: var(--gold); opacity: clamp(0, calc((var(--s) - .85) * 7), 1); }

.vet__cards { display: grid; gap: 14px; }
.vet__cards .card:nth-child(1) { --c: 0; --hi: 1; --r: -1deg; }
.vet__cards .card:nth-child(2) { --c: 1; --hi: 2; --r: 1.2deg; }
.vet__cards .card:nth-child(3) { --c: 2; --hi: 99; --r: -.6deg; }
.card {
  position: relative;
  padding: 18px 20px 18px 74px;
  background: linear-gradient(160deg, #fbf3ec, var(--paper) 50%, var(--paper2));
  color: var(--ink);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .8), 0 4px 10px rgba(0, 0, 0, .2);
  transform: rotate(var(--r, 0deg));
}
.card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(122, 90, 34, .45); pointer-events: none; }
.card:hover::after { opacity: 1; }
.card__num { position: absolute; left: 20px; top: 14px; font: 400 40px/1 var(--fd); color: var(--goldInk); }
.card h3 { margin: 0 0 4px; font: 400 24px/1.15 var(--fd); color: var(--ink); }
.card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--inkSoft); }

/* phone: one slip at a time */
@media (max-width: 1023px) {
  html.js:not(.rm) .vet__cards { position: relative; height: 172px; }
  html.js:not(.rm) .vet__cards .card {
    --o: clamp(0, min(calc((var(--s) * 3 - var(--c)) * 4), calc((var(--hi) - var(--s) * 3) * 4)), 1);
    position: absolute;
    left: 0; right: 0; top: 0;
    opacity: var(--o);
    transform: translateY(calc((1 - var(--o)) * 24px)) rotate(var(--r));
  }
  html.js:not(.rm) .vet .h2 { font-size: clamp(34px, 9.4vw, 60px); }
  html.js:not(.rm) .rounds { margin-top: 14px; }
}
@media (min-width: 1024px) {
  .vet__stage {
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 400px) minmax(330px, 380px);
    column-gap: 3vw;
    align-items: center;
    padding: 110px var(--edge) 60px;
  }
  html.js:not(.rm) .vet__stage { padding-top: 110px; padding-bottom: 40px; }
  .vet .h2 { font-size: clamp(40px, 3.3vw, 50px); }
  .vet__mat { width: min(100%, 400px); padding: 20px; }
  .vet__rule--1 { inset: 8px; }
  .vet__rule--2 { inset: 13px; }
  .vet__glint { inset: 22px; }
  .vet__caption { font-size: 36px; }
  html.js:not(.rm) .vet__cards .card {
    --k: clamp(0, calc(var(--s) * 3.4 - var(--c) * 1.05 - .25), 1);
    transform: translateX(calc((1 - var(--k)) * 60vw)) rotate(calc((1 - var(--k)) * 10deg + var(--r)));
    opacity: clamp(0, calc(var(--k) * 1.6), 1);
  }
  .card { padding: 20px 24px 20px 88px; }
  .card__num { font-size: 46px; left: 24px; }
}

/* ==========================================================================
   4. The Lens: ivory editorial spread
   ========================================================================== */
.lens { position: relative; padding: 96px var(--edge); background: var(--paper); color: var(--ink); overflow-x: clip; }
.lens::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--goldMid), transparent); }
.lens__in { max-width: 1320px; margin: 0 auto; display: grid; gap: 56px; }
.lens__print { margin: 0; }
.lens__frame { position: relative; padding: 14px; background: #fbf4ee; box-shadow: 0 30px 60px -30px rgba(48, 33, 23, .45), 0 0 0 1px rgba(122, 90, 34, .18); }
.crop { position: absolute; width: 22px; height: 22px; border: 0 solid var(--goldInk); }
.crop--tl { left: -12px; top: -12px; border-left-width: 1px; border-top-width: 1px; }
.crop--tr { right: -12px; top: -12px; border-right-width: 1px; border-top-width: 1px; }
.crop--bl { left: -12px; bottom: -12px; border-left-width: 1px; border-bottom-width: 1px; }
.crop--br { right: -12px; bottom: -12px; border-right-width: 1px; border-bottom-width: 1px; }
.lens__pic { position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.lens__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--e1); }
html.js:not(.rm) .lens__pic { transition: clip-path 1.3s var(--e1); }
html.js:not(.rm) .lens__print:not(.seen) .lens__pic { clip-path: inset(100% 0 0 0); }
html.js:not(.rm) .lens__print:not(.seen) .lens__pic img { transform: scale(1.08); }
.lens__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font: 600 11px/1.4 var(--fb); letter-spacing: .22em; text-transform: uppercase; color: var(--goldInk); }
.dict { margin: 28px 0; padding: 22px 0 24px; border-top: 1px solid rgba(122, 90, 34, .4); border-bottom: 1px solid rgba(122, 90, 34, .4); }
.dict p { margin: 0; }
.dict__word { font: 400 clamp(84px, 20vw, 128px)/.9 var(--fd); color: var(--ink); }
.dict__say { margin-top: 10px !important; font: 600 12px/1.4 var(--fb); letter-spacing: .2em; text-transform: uppercase; color: var(--goldInk); }
.dict__def { margin-top: 14px !important; font-size: 17px; line-height: 1.6; color: var(--ink); }
.dict__def b { font: 600 16px var(--fb); color: var(--goldInk); }
.dict__eg { margin-top: 12px !important; font: 400 34px/1.2 var(--fs); color: var(--goldInk); }
html.js:not(.rm) .dict > * { transition: opacity 1s var(--e1), translate 1s var(--e1); transition-delay: calc(var(--i, 0) * 110ms); }
html.js:not(.rm) .dict:not(.seen) > * { opacity: 0; translate: 0 18px; }
.lens__words { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink); max-width: 30em; }
html.js:not(.rm) .lens__words .split-w { opacity: clamp(.18, calc(var(--progress, 1) * 60 - var(--i, 0) - 14), 1); transition: opacity .3s linear; }
.registry-count { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.registry-count p { margin: 0; padding-top: 12px; border-top: 1px solid rgba(122, 90, 34, .4); }
.registry-count span { display: block; font: 600 10.5px/1.4 var(--fb); letter-spacing: .22em; text-transform: uppercase; color: var(--goldInk); }
.registry-count b { display: block; margin-top: 8px; font: 400 44px/1 var(--fb); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
html.js:not(.rm) .registry-count { transition: opacity 1s var(--e1), translate 1s var(--e1); }
html.js:not(.rm) .registry-count:not(.seen) { opacity: 0; translate: 0 20px; }
@media (min-width: 1024px) {
  .lens { padding: 140px var(--edge); }
  .lens__in { grid-template-columns: 1.35fr 1fr; gap: 6vw; align-items: start; }
  .lens__print { position: sticky; top: 130px; }
  .lens__frame { padding: 18px; }
}

/* ==========================================================================
   5. The Guests: 3D ring
   ========================================================================== */
.guests {
  --cw: 200px;
  --chh: 270px;
  --rz: 250px;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(70% 50% at 50% 62%, #3d2717 0%, var(--night) 72%);
}
.guests__head { padding: 0 var(--edge); }
.guests__head .kicker { justify-content: center; }
.guests__stage { position: relative; margin-top: 44px; }
html.js:not(.rm) .guests__stage { height: 380px; perspective: 1700px; }
.guests__ring { outline: none; }
.guests__ring:focus-visible { outline: 2px solid var(--gold); outline-offset: 10px; }
.guests figure {
  position: relative;
  margin: 0;
  padding: 10px 10px 0;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9);
}
.guests figure::before { content: ""; position: absolute; inset: 4px; border: .5px solid rgba(122, 90, 34, .5); pointer-events: none; }
.guests figure img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.guests figcaption { padding: 10px 4px 14px; font-size: 13px; line-height: 1.45; color: var(--ink); }
/* still: a framed grid */
.guests__ring { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; max-width: 1120px; margin: 0 auto; padding: 0 var(--edge); }
html.js:not(.rm) .guests__ring {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--cw);
  height: var(--chh);
  max-width: none;
  margin: calc(var(--chh) / -2) 0 0 calc(var(--cw) / -2);
  padding: 0;
  transform-style: preserve-3d;
  transform: rotateX(-6deg) rotateY(var(--rot, 0deg));
  cursor: grab;
}
html.js:not(.rm) .guests__ring figure {
  position: absolute;
  inset: 0 0 auto 0;
  transform: rotateY(calc(var(--i, 0) * 360deg / var(--n, 6))) translateZ(var(--rz));
  filter: brightness(.5);
  transition: filter .8s var(--e1);
}
html.js:not(.rm) .guests__ring figure.is-front { filter: none; }
html.js:not(.rm) .guests__ring figure.is-front::after { opacity: .8; }
html.js:not(.rm) .guests__ring figcaption { font-size: 12px; }
.guests__floor { display: none; }
html.js:not(.rm) .guests__floor { display: block; position: absolute; left: 50%; bottom: -30px; width: min(900px, 120vw); height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(246, 231, 191, .2), transparent 70%); pointer-events: none; }
html.js:not(.rm) .guests__stage { transition: opacity 1.2s var(--e1), translate 1.2s var(--e1); }
html.js:not(.rm) .guests__stage:not(.seen) { opacity: 0; translate: 0 40px; }
.guests__hint { display: none; margin: 30px 0 0; font: 600 11px/1.4 var(--fb); letter-spacing: .26em; text-transform: uppercase; color: var(--onSoft); }
html.js:not(.rm) .guests__hint { display: block; }
@media (min-width: 1024px) {
  .guests { --cw: 300px; --chh: 400px; --rz: 470px; padding: 140px 0 110px; }
  html.js:not(.rm) .guests__stage { height: 560px; }
  html.js:not(.rm) .guests__ring figcaption { font-size: 13.5px; }
  .guests figure { padding: 14px 14px 0; }
}

/* ==========================================================================
   6. Impress Him: the toy
   ========================================================================== */
.play {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px var(--edge);
  background: radial-gradient(80% 70% at 60% 40%, #4a2f1d 0%, var(--deep) 45%, var(--room) 100%);
}
.play::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 60%) var(--my, 40%), rgba(246, 231, 191, .12), transparent 60%);
  pointer-events: none;
}
.play__in { max-width: 1240px; margin: 0 auto; display: grid; gap: 48px; }
.play__toy { position: relative; display: grid; gap: 34px; justify-items: center; }
.play__toy::before {
  content: "";
  position: absolute;
  left: 50%; top: 30%;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 231, 191, .5), rgba(233, 133, 73, .15) 40%, transparent 68%);
  opacity: calc(.18 + var(--p, 0) * .7);
  pointer-events: none;
}
.cameo-wrap { position: relative; width: min(66vw, 330px); }
.cameo {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 9px;
  border-radius: 50%;
  background: linear-gradient(160deg, #f6e7bf 0%, #b88c3e 30%, #f3dc9f 55%, #8f6a2c 80%, #d8b56c 100%);
  box-shadow: 0 40px 70px -26px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .3);
  scale: calc(1 + var(--p, 0) * .04);
  transition: scale .3s var(--e2);
}
.cameo__mat { height: 100%; display: flex; align-items: flex-end; justify-content: center; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(122, 90, 34, .5), inset 0 0 0 6px var(--paper), inset 0 0 0 6.6px rgba(122, 90, 34, .35); overflow: hidden; }
/* the portrait sits low in the oval so both ears stay inside it */
.cameo__mat img { width: 86%; height: auto; mix-blend-mode: multiply; }
.cameo__glint {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .6) 50%, transparent 60%);
  background-size: 260% 100%;
  background-position: calc(100% - var(--p, 0) * 100%) 0;
  mix-blend-mode: soft-light;
}
.is-won .cameo { animation: nod .9s var(--e1); }
@keyframes nod { 30% { rotate: -4deg; } 65% { rotate: 1deg; } 100% { rotate: 0deg; } }
.cameo__hi {
  position: absolute;
  right: -14%;
  top: -6%;
  margin: 0;
  font: 400 clamp(84px, 24vw, 140px)/1 var(--fs);
  color: var(--gold);
  background: var(--goldGrad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(216, 181, 108, .4));
  clip-path: inset(-20% 100% -20% 0);
  transition: clip-path 1s var(--e1);
  pointer-events: none;
}
.is-won .cameo__hi { clip-path: inset(-20% -10% -20% 0); }
.toy__panel { display: grid; gap: 16px; justify-items: center; text-align: center; width: 100%; max-width: 380px; }
#hold {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 62px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  background: rgba(24, 16, 12, .35);
  box-shadow: inset 0 0 0 1px var(--gold);
  color: var(--on);
  font: 600 13px/1 var(--fb);
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: box-shadow .5s var(--e1);
}
.hold__fill { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(216, 181, 108, .25), rgba(246, 231, 191, .4)); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hold__txt { position: relative; }
#hold:hover { box-shadow: inset 0 0 0 1px var(--goldHi), 0 0 30px -8px rgba(216, 181, 108, .5); }
#hold.is-held { box-shadow: inset 0 0 0 1px var(--goldHi), 0 0 46px -6px rgba(216, 181, 108, .7); }
.toy__meter { display: grid; gap: 8px; width: 100%; }
.toy__label { font: 600 10.5px/1.4 var(--fb); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.toy__track { display: block; height: 2px; background: rgba(227, 200, 138, .25); }
.toy__track [data-meter] { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--goldMid), var(--goldHi)); box-shadow: 0 0 10px rgba(246, 231, 191, .7); }
#hold-msg { margin: 0; min-height: 1.6em; font-size: 16px; color: var(--onSoft); }
.toy__count { margin: 0; font: 600 11px/1.4 var(--fb); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.toy__count b { font: 600 20px/1 var(--fb); font-variant-numeric: tabular-nums lining-nums; color: var(--on); letter-spacing: 0; vertical-align: -2px; margin-left: 4px; }
@media (min-width: 1024px) {
  .play { padding: 140px var(--edge); }
  .play__in { grid-template-columns: .9fr 1.3fr; align-items: center; gap: 4vw; }
  .play__toy { grid-template-columns: auto minmax(280px, 340px); align-items: center; justify-items: start; gap: 60px; }
  .toy__panel { justify-items: start; text-align: left; }
  .cameo-wrap { width: 340px; }
}

/* ==========================================================================
   7. Join: how to buy
   ========================================================================== */
.join { position: relative; overflow: hidden; padding: 100px var(--edge) 110px; background: var(--night); }
.join__in { max-width: 1240px; margin: 0 auto; display: grid; gap: 56px; }
.steps { list-style: none; margin: 34px 0 32px; padding: 0; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(227, 200, 138, .28); }
.steps li:last-child { border-bottom: 1px solid rgba(227, 200, 138, .28); }
.steps__n { font: 400 58px/.9 var(--fd); color: var(--gold); }
.steps h3 { margin: 0 0 6px; font: 400 28px/1.15 var(--fd); color: var(--on); }
.steps p { margin: 0; font-size: 16px; color: var(--onSoft); }
.steps__ico { display: inline; width: 18px; height: 18px; vertical-align: -3px; border-radius: 4px; }
html.js:not(.rm) .steps > li { transition: opacity 1s var(--e1), translate 1s var(--e1); transition-delay: calc(var(--i, 0) * 110ms); }
html.js:not(.rm) .steps:not(.seen) > li { opacity: 0; translate: 0 24px; }
.registry { margin: 0 0 26px; }
.registry__label { margin: 0 0 12px; font: 600 11px/1.4 var(--fb); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.registry__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: 600 13px/1 var(--fb);
  letter-spacing: .04em;
  text-decoration: none;
  transition: translate .45s var(--e1), box-shadow .45s var(--e1);
}
.pchip:hover { translate: 0 -2px; box-shadow: 0 10px 24px -10px rgba(246, 231, 191, .6); }
.join__fig { position: relative; margin: 0; display: grid; justify-items: center; align-content: center; }
.join__halo {
  position: absolute;
  left: 50%; top: 46%;
  width: min(96vw, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 231, 191, .2), rgba(233, 133, 73, .08) 45%, transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(227, 200, 138, .22);
  pointer-events: none;
}
.join__art { position: relative; z-index: 2; width: min(64vw, 280px); aspect-ratio: 810 / 1400; }
.join__art img { width: 100%; height: 100%; object-fit: contain; filter: sepia(.42) saturate(1.28) hue-rotate(-4deg) drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
html.js:not(.rm) .join__art:has(canvas) img { opacity: 0; }
.join__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; filter: sepia(.42) saturate(1.28) hue-rotate(-4deg); }
.join__fig figcaption { position: relative; z-index: 2; margin-top: 12px; font: 400 32px/1.1 var(--fs); color: var(--gold); }
html.js:not(.rm) .join__fig { transition: opacity 1.2s var(--e1), translate 1.2s var(--e1); }
html.js:not(.rm) .join__fig:not(.seen) { opacity: 0; translate: 0 40px; }
@media (min-width: 1024px) {
  .join { padding: 140px var(--edge); }
  .join__in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 5vw; }
  .steps li { grid-template-columns: 110px 1fr; gap: 24px; padding: 28px 0; }
  .steps__n { font-size: 86px; }
  .join__art { width: 400px; }
}

/* ==========================================================================
   8. At Home: the finale
   ========================================================================== */
.home { position: relative; overflow: hidden; background: var(--paper); color: var(--ink); }
.home__copy { position: relative; z-index: 2; padding: 96px var(--edge) 26px; }
.home__plate { position: relative; height: 62svh; min-height: 380px; }
.home__img { width: 100%; height: 100%; object-fit: cover; object-position: 76% 55%; }
.home__plate::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22%; z-index: 1; background: linear-gradient(var(--paper), transparent); }
.home__shade { display: none; }
.home__script { margin: 14px 0 26px; font: 400 36px/1.15 var(--fs); color: var(--goldInk); }
.home__actions { display: flex; flex-wrap: wrap; gap: 10px; }
html.js:not(.rm) .home__copy .home__script, html.js:not(.rm) .home__copy .home__actions { transition: opacity 1s var(--e1) .5s, translate 1s var(--e1) .5s; }
html.js:not(.rm) .home__copy:not(.seen) .home__script, html.js:not(.rm) .home__copy:not(.seen) .home__actions { opacity: 0; translate: 0 20px; }
.loupe { position: absolute; left: 0; top: 0; z-index: 3; width: 130px; height: 130px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .6s var(--e1); box-shadow: 0 0 0 3px var(--goldMid), 0 0 0 4px var(--goldLo), 0 24px 44px -10px rgba(0, 0, 0, .45); }
.loupe.is-on { opacity: 1; }
.loupe canvas { display: block; width: 100%; height: 100%; border-radius: 50%; }
.loupe::after { content: ""; position: absolute; left: 6%; top: 10%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--goldMid); box-shadow: 0 0 0 2px var(--goldLo); }
html.rm .loupe { display: none; }
.burst { position: fixed; inset: 0; z-index: 150; width: 100%; height: 100%; pointer-events: none; }
html.rm .burst { display: none; }
@media (min-width: 1024px) {
  .home { min-height: 100vh; background: var(--night); }
  .home__plate { position: absolute; inset: -8% 0; height: auto; min-height: 0; }
  .home__plate::before { display: none; }
  .home__img { object-position: 66% 55%; }
  .home__shade { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(247, 235, 227, .5) 0%, rgba(247, 235, 227, 0) 48%), linear-gradient(0deg, rgba(24, 16, 12, .4), transparent 26%); }
  .home__copy { padding: max(150px, 18vh) var(--edge) 0; max-width: 980px; }
  .home__script { font-size: 44px; }
  .loupe { width: 180px; height: 180px; }
}

/* ==========================================================================
   Footer: the back of the card
   ========================================================================== */
.foot { position: relative; overflow: hidden; padding: 80px var(--edge) 48px; background: var(--night); border-top: 1px solid var(--goldLine); }
.foot__mark { margin: 0; text-align: center; white-space: nowrap; font: 400 min(17vw, 290px)/.95 var(--fd); letter-spacing: -.005em; transform: skewX(calc(var(--velocity, 0) * -8deg)); transition: transform .5s var(--e2); }
.foot__mark span {
  color: var(--gold);
  background: linear-gradient(100deg, #8f6a2c 0%, #d8b56c 25%, #f6e7bf 38%, #fff6de 44%, #d8b56c 52%, #a9813a 70%, #e9cf91 85%, #8f6a2c 100%);
  background-size: 260% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.js:not(.rm) .foot__mark span { animation: sweep 9s ease-in-out infinite alternate; }
.foot__cols { max-width: 1240px; margin: 40px auto 0; padding-top: 32px; border-top: 1px solid var(--goldLine); display: grid; gap: 32px; }
.foot__sign { display: grid; justify-items: start; gap: 10px; }
.foot__thanks { margin: 0; font: 400 36px/1.1 var(--fs); color: var(--gold); }
.foot__name { margin: 0; font: 600 11px/1.4 var(--fb); letter-spacing: .24em; text-transform: uppercase; color: var(--onSoft); }
.foot__links { display: grid; gap: 10px; align-content: start; }
.foot__links a { justify-self: start; min-height: 32px; display: inline-flex; align-items: center; color: var(--on); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: color .4s var(--e1), background-size .5s var(--e1); }
.foot__links a:hover { color: var(--goldHi); background-size: 40% 1px; }
.foot__legal { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--onSoft); }
@media (min-width: 1024px) {
  .foot { padding: 110px var(--edge) 60px; }
  .foot__cols { grid-template-columns: 1fr 1fr 1.4fr; }
}

/* ==========================================================================
   Headings that rise line by line
   ========================================================================== */
html.js:not(.rm) [data-split="lines"] .split-w { display: inline-block; opacity: 0; transform: translateY(105%); transition: transform 1s var(--e1), opacity 1s var(--e1); transition-delay: calc(var(--l, 0) * 100ms + 80ms); }
html.js:not(.rm) .seen [data-split="lines"] .split-w,
html.js:not(.rm) [data-split="lines"].seen .split-w { opacity: 1; transform: none; }
html.js:not(.rm) .greet__note { transition: opacity 1.2s var(--e1), translate 1.2s var(--e1); }
html.js:not(.rm) .greet__note:not(.seen) { opacity: 0; translate: 0 14px; }

/* ==========================================================================
   404: You're not on the list
   ========================================================================== */
.lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: radial-gradient(60% 50% at 50% 45%, #3a2516 0%, var(--night) 70%);
}
.lost__card { position: relative; width: min(520px, 100%); padding: 42px 30px 36px; background: linear-gradient(160deg, #fbf3ec, var(--paper) 50%, var(--paper2)); color: var(--ink); text-align: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); transform: rotate(-1.5deg); }
.lost__card::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(122, 90, 34, .55); pointer-events: none; }
.lost__card .callcard__corner { width: 30px; height: 30px; }
.lost__card img { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 0 2px var(--goldMid); }
.lost__name { margin: 0 0 14px; font: 400 15px/1 var(--fd); letter-spacing: .3em; text-transform: uppercase; color: var(--goldInk); }
.lost h1 { margin: 0 0 24px; font: 400 clamp(34px, 8vw, 48px)/1.1 var(--fd); color: var(--ink); }
.lost h1 em { display: block; margin-top: 8px; font: 400 1em/1.1 var(--fs); font-style: normal; color: var(--goldInk); }
.lost .btn--ink { margin-top: 4px; }

/* ==========================================================================
   Motion off: everything still and finished
   ========================================================================== */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
html.rm .intro, html.rm .cursor, html.rm .guests__hint { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
