/* Delicious Pink Cakery. Tokens from _work/design-plan.md: ivory, silk, blush, gold, plum.
   Corners: one 36px corner (top-left) on surfaces, square buttons. */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("../fonts/pinyon-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Fallbacks sized to the web fonts so nothing jumps when they arrive */
/* Fallbacks sized from measured width ratios (web font / fallback): sans 1.034, serif 1.00, italic 0.90, script 0.75 */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); font-style: normal; size-adjust: 100%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; size-adjust: 90%; ascent-override: 102%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"); size-adjust: 104.4%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Pinyon Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 75%; ascent-override: 128%; descent-override: 54%; }

:root {
  --ivory: #FBF7F1;
  --silk: #F6E6E4;
  --blush: #EBC9C6;
  --gold: #B08D57;
  --gold-ink: #775826;
  --gold-light: #D9BC84;
  --plum: #441A23;
  --plum-2: #5A2632;
  --champagne: #EFE4D3;
  --ink-soft: #6B4650;
  --serif: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --sans: "Instrument Sans", "Instrument Sans Fallback", Arial, sans-serif;
  --script: "Pinyon Script", "Pinyon Fallback", cursive;
  --corner: 36px 0 0 0;
  --head-h: 100px;
  --wrap: 1320px;
  --gut: clamp(20px, 3.4vw, 48px);
  --sec: clamp(72px, 9vh, 112px);
  --media-cap: min(76vh, 760px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--plum);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; font-variation-settings: "opsz" 72; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--plum); color: var(--ivory); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.corner { border-radius: var(--corner); overflow: clip; }

/* Type scale */
.h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
.h3 { font-size: clamp(1.45rem, 1.9vw, 1.9rem); line-height: 1.15; }
.lede { font-size: clamp(1.06rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); }
.h2 em, .h3 em { font-style: italic; color: var(--gold-ink); }

/* Buttons: square, per the corner sums */
.btn {
  --bg: var(--plum); --fg: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border: 1px solid var(--bg); border-radius: 0;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em; overflow: clip; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { border-color: var(--gold); color: var(--plum); }
.btn--plum { --bg: var(--plum); --fg: var(--ivory); }
.btn--gold { --bg: var(--gold); --fg: var(--plum); }
.btn--gold::before { background: var(--plum); }
.btn--gold:hover, .btn--gold:focus-visible { color: var(--ivory); border-color: var(--plum); }
.btn--line { --bg: transparent; --fg: var(--plum); border-color: var(--plum); }
.btn--line::before { background: var(--plum); }
.btn--line:hover, .btn--line:focus-visible { color: var(--ivory); border-color: var(--plum); }
.btn span { position: relative; }
.sq-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 0;
  background: transparent; cursor: pointer; transition: background .3s, color .3s;
}
.sq-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sq-btn:hover, .sq-btn:focus-visible { background: var(--plum); color: var(--ivory); border-color: var(--plum); }

/* The gold piped shell border */
.shell { display: block; width: 100%; height: 24px; overflow: hidden; }
.shell path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Diamond tick lists */
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.ticks b { color: var(--plum); font-weight: 600; }

/* ------------------------------------------------------------------ header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--head-h); transition: background .4s, box-shadow .4s, height .4s var(--ease); }
.site-head__in { height: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.site-head.is-scrolled { background: rgba(251, 247, 241, .94); box-shadow: 0 1px 0 rgba(68, 26, 35, .08), 0 10px 30px -18px rgba(68, 26, 35, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand { display: block; flex: none; margin-right: auto; }
.brand__logo { height: 70px; width: auto; transform-origin: left center; transition: transform .45s var(--ease); }
.site-head.is-scrolled .brand__logo { transform: scale(.82); }
.nav__list { display: flex; gap: clamp(14px, 1.7vw, 30px); }
.nav__link { position: relative; display: inline-block; padding: 10px 0; text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link.is-here::after { transform: scaleX(1); transform-origin: left; }
.head-cta { min-height: 48px; padding: 0 22px; white-space: nowrap; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--plum); border-radius: 0; background: var(--ivory); cursor: pointer; position: relative; z-index: 120; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--plum); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 28px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 95; background: var(--ivory); display: flex; align-items: center; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__in { width: 100%; padding: calc(var(--head-h) + 16px) var(--gut) 40px; }
.menu__list a { display: block; padding: 6px 0; font: 400 clamp(2rem, 8vw, 3rem)/1.15 var(--serif); text-decoration: none; }
.menu__list a[aria-current="page"] { color: var(--gold-ink); font-style: italic; }
.menu__note { margin-top: 28px; color: var(--ink-soft); }
.menu__shell { margin-top: 24px; }

@media (max-width: 1180px) {
  .nav, .head-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 700px) {
  :root { --head-h: 76px; }
  .brand__logo { height: 54px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; padding: calc(var(--head-h) + 10px) 0 40px; display: flex; align-items: center; overflow: clip; background:
  radial-gradient(60% 70% at 78% 40%, rgba(235, 201, 198, .55), transparent 70%),
  radial-gradient(40% 50% at 8% 90%, rgba(239, 228, 211, .9), transparent 70%), var(--ivory); }
.hero::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(30% 30% at 50% 50%, rgba(217, 188, 132, .22), transparent 70%); animation: sheen 18s ease-in-out infinite alternate; pointer-events: none; }
@keyframes sheen { from { transform: translate(-18%, -10%); } to { transform: translate(22%, 14%); } }
.hero__leaf { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.hero__leaf.is-on { opacity: 1; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 88px); align-items: center; }
.hero__pre { font: italic 400 clamp(1.15rem, 1.7vw, 1.6rem)/1.3 var(--serif); color: var(--ink-soft); margin-bottom: clamp(12px, 2vh, 22px); }
.strike { position: relative; display: inline-block; }
.strike svg { position: absolute; left: -4%; top: 34%; width: 108%; height: .7em; overflow: visible; }
.strike path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.hero__title { font-size: clamp(3rem, 5.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.02em; display: flow-root; }
.hero__person { color: var(--gold); white-space: nowrap; font-size: 1.22em; line-height: .9; padding: .15em .18em .3em .04em; margin: 0 -.18em 0 -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html.anim.gsap-on .hero__person { color: transparent; background: linear-gradient(90deg, var(--gold) 0 50%, rgba(176, 141, 87, 0) 50% 100%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.hero__lede { margin-top: clamp(16px, 2.6vh, 28px); font-size: clamp(1.06rem, 1.3vw, 1.25rem); color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(20px, 3.4vh, 34px); }
.hero__shell { margin-top: clamp(24px, 4vh, 44px); max-width: 420px; }

.stage { position: relative; justify-self: end; width: min(44vw, calc(min(70vh, 680px) * .72)); perspective: 1400px; }
.stage::before { content: ""; position: absolute; inset: -18px 18px 72px -18px; border: 1px solid var(--gold); border-radius: var(--corner); pointer-events: none; }
.stage::after { content: ""; position: absolute; top: 34%; bottom: 40px; right: -40px; left: 28%; background: var(--blush); opacity: .55; border-radius: var(--corner); z-index: -1; }
.stage__frame { position: relative; aspect-ratio: .72; border-radius: var(--corner); overflow: clip; background: var(--champagne); box-shadow: 0 40px 80px -40px rgba(68, 26, 35, .45); transform-style: preserve-3d; will-change: transform; }
.stage__slide { position: absolute; inset: 0; margin: 0; opacity: 0; }
.stage__slide.is-on { opacity: 1; z-index: 2; }
.stage__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.stage__edge { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 5; opacity: 0; background: linear-gradient(to bottom, transparent, var(--gold-light) 20%, #fff 50%, var(--gold-light) 80%, transparent); box-shadow: 0 0 24px 6px rgba(217, 188, 132, .6); pointer-events: none; }
.stage__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 18px; padding-top: 18px; position: relative; }
.stage__count { font: 400 1.15rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.stage__now { color: var(--gold-ink); }
.stage__cap { font-size: .95rem; color: var(--ink-soft); min-height: 1.5em; }
.stage__ctrl { display: flex; gap: 8px; }
.stage__progress { grid-column: 1 / -1; height: 2px; background: rgba(68, 26, 35, .12); overflow: clip; }
.stage__progress i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

@media (max-width: 900px) {
  .hero { min-height: 0; display: block; padding-top: calc(var(--head-h) + 22px); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 4rem); }
  .stage { justify-self: center; width: min(100%, 420px); }
  .stage__frame { aspect-ratio: .78; }
  .hero__shell { display: none; }
  .stage::before { inset: -12px 12px 72px -12px; }
}
@media (max-width: 480px) {
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 0 18px; flex: 1 1 auto; }
}

/* ------------------------------------------------------------------ drivers */
.drivers { padding: var(--sec) 0; position: relative; }
.drivers__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 4vh, 48px); }
.drivers__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.dcard { display: block; text-decoration: none; position: relative; }
.dcard--cel { margin-top: clamp(24px, 6vh, 64px); }
.dcard--fla { margin-top: clamp(12px, 3vh, 32px); }
.dcard__media { position: relative; height: clamp(300px, 46vh, 480px); background: var(--champagne); }
.dcard--cel .dcard__media, .dcard--fla .dcard__media { height: clamp(260px, 38vh, 400px); }
.dcard__pan { position: absolute; left: 0; right: 0; top: -4%; height: 108%; }
.dcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .8s var(--ease); }
.dcard__img--alt { opacity: 0; transform: scale(1.08); background: var(--champagne) center / cover no-repeat; }
.dcard:hover .dcard__img--alt, .dcard:focus-visible .dcard__img--alt { opacity: 1; transform: scale(1); }
.dcard:hover .dcard__img:not(.dcard__img--alt) { transform: scale(1.06); }
.dcard__text { padding-top: 18px; display: grid; gap: 6px; }
.dcard__text p { color: var(--ink-soft); }
.dcard__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-weight: 600; font-size: .95rem; color: var(--gold-ink); }
.dcard__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .45s var(--ease); }
.dcard:hover .dcard__go svg { transform: translateX(6px); }
.cursor-label { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; padding: 10px 16px; background: var(--plum); color: var(--ivory); font: 600 .85rem/1 var(--sans); opacity: 0; transform: translate(-50%, -50%) scale(.6); }
@media (max-width: 900px) {
  .drivers__head { grid-template-columns: minmax(0, 1fr); }
  .drivers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcard--wed { grid-column: 1 / -1; }
  .dcard--cel, .dcard--fla { margin-top: 0; }
}
@media (max-width: 560px) {
  .drivers__grid { grid-template-columns: minmax(0, 1fr); }
  .dcard__media, .dcard--cel .dcard__media, .dcard--fla .dcard__media { height: min(62vh, 420px); }
}

/* ------------------------------------------------------------------ named cakes (pinned filmstrip) */
.named { background: var(--silk); position: relative; overflow: clip; }
.named::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(28% 34% at 50% 50%, rgba(255, 255, 255, .6), transparent 70%); animation: sheen 14s ease-in-out infinite alternate; pointer-events: none; }
.named__pin { position: relative; }
.named__pin { padding-bottom: var(--sec); }
html.anim .named__pin { height: 100vh; min-height: 640px; padding-bottom: 28px; }
.named__pin { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--head-h) - 20px) 0 28px; }
.named__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 16px 56px; align-items: end; }
.named__meta { display: grid; gap: 14px; }
.named__count { font: 400 1.2rem/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--gold-ink); }
.named__window { overflow: clip; padding-bottom: 14px; }
.named__track { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.2vw, 34px); padding: clamp(22px, 3.6vh, 40px) var(--gut) 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
html.anim .named__track { flex-wrap: nowrap; width: max-content; will-change: transform; }
.ncard { margin: 0; flex: none; width: calc(min(46vh, 440px) * .72); display: grid; gap: 4px; transform-origin: 50% 100%; }
.ncard__media { height: min(46vh, 440px); background: var(--champagne); }
.ncard__img { width: 100%; height: 100%; object-fit: cover; }
.ncard figcaption { display: grid; gap: 2px; padding-top: 6px; }
.ncard__name { font-size: clamp(2.3rem, 3vw, 2.9rem); line-height: 1.15; color: var(--gold-ink); display: block; padding: 0 .2em .1em 0; }
.ncard__line { font-size: .95rem; color: var(--ink-soft); }
.ncard__line b { font: 600 1rem/1 var(--serif); color: var(--plum); margin-right: 6px; }
.ncard--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; height: min(46vh, 440px); padding: 32px; border: 1px solid var(--gold); border-radius: var(--corner); text-decoration: none; background: var(--ivory); }
.ncard__endtext { font: italic 400 clamp(1.8rem, 2.4vw, 2.4rem)/1.1 var(--serif); }
.named__progress { margin-top: clamp(16px, 2.6vh, 28px); }
.named__progress span { display: block; height: 2px; background: rgba(68, 26, 35, .14); }
.named__progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .named__head { grid-template-columns: minmax(0, 1fr); }
  .named__pin { min-height: 0; }
  .ncard { width: calc(min(40vh, 340px) * .72); }
  .ncard__media, .ncard--end { height: min(40vh, 340px); }
}
@media (max-width: 600px) {
  html.anim .named__pin { padding-top: calc(var(--head-h) + 6px); justify-content: flex-start; }
  .named__track { padding-left: 24px; }
  .named__head .h2 { font-size: 1.75rem; }
  .named__meta .lede { font-size: 1rem; }
  .ncard { width: calc(min(33vh, 290px) * .72); }
  .ncard__media, .ncard--end { height: min(33vh, 290px); }
  .ncard__name { font-size: 2rem; }
  .ncard--end { padding: 20px; }
}

/* ------------------------------------------------------------------ inside */
.inside { padding: var(--sec) 0; }
.inside__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.inside__photo { position: relative; height: min(72vh, 640px); background: var(--champagne); }
.inside__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.inside__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: clamp(22px, 3.4vh, 36px) 0; }
.xsec { width: 100%; height: auto; overflow: visible; }
.xsec__board { fill: var(--champagne); stroke: var(--gold); stroke-width: 1.2; }
.xsec__sponge { fill: url(#crumb); }
.xsec__cream { fill: #FFF8EC; }
.xsec__jam { fill: #C24F64; }
.xsec__coat { fill: none; stroke: var(--blush); stroke-width: 11; stroke-linejoin: round; }
.xsec__drip { fill: none; stroke: url(#dripgold); stroke-width: 7; stroke-linecap: round; }
.xsec__rose { transform-box: fill-box; transform-origin: 50% 90%; }
.ingr { display: grid; gap: 14px; counter-reset: i; }
.ingr li { position: relative; padding-left: 22px; color: var(--ink-soft); line-height: 1.45; }
.ingr li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.ingr b { color: var(--plum); font-weight: 600; }
.creds { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 18px; border-top: 1px solid rgba(176, 141, 87, .45); font-weight: 500; font-size: .95rem; }
.creds li { display: inline-flex; align-items: center; gap: 10px; }
.creds li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 900px) {
  .inside__grid { grid-template-columns: minmax(0, 1fr); }
  .inside__photo { height: min(56vh, 460px); order: 2; }
  .inside__body { grid-template-columns: minmax(0, 1fr); }
  .xsec { max-width: 340px; }
}

/* ------------------------------------------------------------------ planner teaser (plum) */
.plan-teaser { background: var(--plum); color: var(--ivory); padding: var(--sec) 0; position: relative; overflow: clip; }
.plan-teaser::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(217, 188, 132, .18), transparent); animation: sheen 16s ease-in-out infinite alternate; }
.plan-teaser .lede { color: #E9D7D6; }
.plan-teaser__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.plan-teaser__copy { display: grid; gap: 22px; }
.plan-teaser__viz { display: grid; gap: 14px; justify-items: center; }
.pl-field { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.pl-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: .95rem; letter-spacing: .02em; padding: 0; }
.pl-out { font: 400 2rem/1 var(--serif); color: var(--gold-light); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--gold-light) var(--fill, 20%), rgba(251, 247, 241, .3) var(--fill, 20%)); }
input[type="range"]::-moz-range-track { height: 2px; background: rgba(251, 247, 241, .3); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--gold-light); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; background: var(--gold-light); border: 4px solid var(--plum); outline: 1px solid var(--gold-light); transform: rotate(45deg); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: var(--gold-light); border: 4px solid var(--plum); border-radius: 0; transform: rotate(45deg); }
.pl-seg { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-seg legend { width: 100%; margin-bottom: 10px; }
.pl-seg label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid rgba(251, 247, 241, .4); cursor: pointer; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.pl-seg input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pl-seg label:has(input:checked) { background: var(--gold-light); color: var(--plum); border-color: var(--gold-light); }
.pl-seg label:has(input:focus-visible) { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.cake { width: min(100%, 460px); height: auto; overflow: visible; }
.cake__shadow { fill: rgba(0, 0, 0, .18); }
.cake__board { fill: #CDB58A; }
.cake__board-top { fill: #E9DCC2; stroke: var(--gold-light); stroke-width: 1; }
.tier__top { fill: #FFFDF8; }
.tier__pipe { fill: none; stroke: #F3E8D6; stroke-width: 3.2; stroke-linecap: round; }
.tier__ribbon { stroke: var(--blush); stroke-width: 5; }
.tier.is-off { opacity: 0; }
.plate { fill: rgba(251, 247, 241, .16); transition: fill .4s; }
.plate.is-on { fill: var(--gold-light); animation: twinkle 2.6s ease-in-out infinite alternate; }
.plate.is-on:nth-child(3n) { animation-delay: -.9s; }
.plate.is-on:nth-child(3n+1) { animation-delay: -1.7s; }
@keyframes twinkle { from { opacity: 1; } to { opacity: .55; } }
.pl-result { text-align: center; display: grid; gap: 4px; }
.pl-result__tiers { font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1.1 var(--serif); }
.pl-result__tiers small { display: block; font: 400 1rem/1.4 var(--sans); color: #E9D7D6; margin-top: 4px; }
.pl-result__price { font: italic 400 clamp(1.4rem, 2vw, 1.8rem)/1.2 var(--serif); color: var(--gold-light); }
.pl-result__serves { color: #E9D7D6; font-size: .98rem; }
@media (max-width: 900px) {
  .plan-teaser__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ words */
.words { background: var(--silk); padding: var(--sec) 0; position: relative; overflow: clip; }
.words__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.words__photo { position: relative; height: min(68vh, 600px); background: var(--champagne); }
.words__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.words__main { display: grid; gap: clamp(20px, 3.4vh, 36px); }
.words__stack { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; }
.quote.is-on { opacity: 1; visibility: visible; }
.quote p { font: italic 400 clamp(1.8rem, 3vw, 2.9rem)/1.22 var(--serif); }
.words__mark { position: absolute; right: 4%; top: -4%; font: italic 400 clamp(14rem, 26vw, 26rem)/1 var(--serif); color: var(--gold); opacity: .16; pointer-events: none; user-select: none; }
.quote footer { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.quote footer b { font: 400 2.2rem/1.1 var(--script); color: var(--gold-ink); padding-right: .2em; }
.quote footer span { color: var(--ink-soft); font-size: .95rem; }
.words__ctrl { display: flex; align-items: center; gap: 14px; }
.words__timer { flex: 1; height: 2px; background: rgba(68, 26, 35, .14); max-width: 280px; }
.words__timer i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .words__grid { grid-template-columns: minmax(0, 1fr); }
  .words__photo { height: min(46vh, 380px); }
}

/* ------------------------------------------------------------------ close */
.close { padding: clamp(40px, 6vh, 72px) 0 var(--sec); overflow: clip; position: relative; }
.close__rail { overflow: clip; margin-bottom: clamp(36px, 6vh, 64px); }
.close__track { display: flex; gap: 18px; width: max-content; animation: rail 70s linear infinite; }
.close__tile { flex: none; width: clamp(150px, 14vw, 210px); height: clamp(200px, 19vw, 280px); background: var(--champagne); }
.close__img { width: 100%; height: 100%; object-fit: cover; }
@keyframes rail { to { transform: translateX(calc(-50% - 9px)); } }
.close__in { text-align: center; display: grid; gap: 20px; justify-items: center; }
.close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }

/* ------------------------------------------------------------------ footer */
.site-foot { position: relative; background: var(--silk); padding: clamp(56px, 8vh, 88px) 0 28px; overflow: clip; }
.site-foot__sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .7) 45%, transparent 65%) 0 0 / 200% 100%; animation: footsheen 6s linear infinite; }
@keyframes footsheen { from { background-position: 120% 0; } to { background-position: -40% 0; } }
.site-foot__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-logo img { width: 104px; height: auto; }
.foot-col--brand p { margin-top: 16px; color: var(--ink-soft); }
.foot-h { font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; }
.foot-col li + li { margin-top: 0; }
.foot-col a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.foot-col a:hover, .foot-col a:focus-visible { background-size: 100% 1px; }
.foot-areas { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }
.foot-shell { position: relative; margin-top: 44px; }
.foot-credit { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 18px; font-size: .92rem; color: var(--ink-soft); }
.foot-credit a { color: var(--plum); font-weight: 600; }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-col--brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-foot__grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ motion start states (only when motion is on) */
html.anim [data-hero-in] { opacity: 0; animation: failsafe .01s 3.6s forwards; }
html.anim [data-hero-title] { opacity: 0; animation: failsafe .01s 3.6s forwards; }
html.anim [data-split] { opacity: 0; animation: failsafe .01s 3.6s forwards; }
html.anim.gsap-on [data-split] { animation: none; }
html.anim.gsap-on [data-hero-in], html.anim.gsap-on [data-hero-title] { animation: none; }
@keyframes failsafe { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .close__track { animation: none; }
}
