:root {
  --navy: #0a2348; --navy-2: #12305f; --navy-ink: #071733;
  --cream: #f5f5f7; --paper: #fff; --ink: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --red: #d62839; --sky: #9cc4ff; --gold: #c9a84c; --gold-2: #e6cf8f;
  /* Apple's own faces where they exist (SF Rounded, SF, New York); Nunito stands in elsewhere */
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --r: 22px; --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { overflow-x: clip; margin: 0; background: var(--navy); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; }
button { font-family: inherit; touch-action: manipulation; }
a { touch-action: manipulation; }
svg { display: block; }
section { scroll-margin-top: 0; }

/* ---------- type ---------- */
.kick { margin: 0 0 10px; font: 700 17px/1.3 var(--round); color: var(--red); }
.navy .kick, .flagq .kick { color: var(--sky); }
h1, h2, h3, h4 { font-family: var(--round); font-weight: 800; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.05; color: var(--ink); }
.navy h2 { color: #fff; }
.lede { margin: 14px auto 0; max-width: 31em; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.42; font-weight: 500; color: var(--muted); text-wrap: pretty; }
.navy .lede { color: rgba(255,255,255,.74); }

/* ---------- layout ---------- */
.sec { padding: clamp(80px, 11vw, 140px) 0; }
.cream { background: var(--cream); }
.navy { background: var(--navy); color: #fff; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; text-align: center; }
.wrap.wide { width: min(1240px, 100% - 24px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--red); color: #fff; font: 700 17px/1 var(--round); cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), opacity .2s; }
.btn:active { transform: scale(.96); opacity: .9; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.light { background: #fff; color: var(--navy); }
.btn.ghost { min-height: 44px; padding: 0 18px; background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; font-size: 15px; }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 2.5px solid #4c9bff; outline-offset: 3px; }

/* ---------- top bar + menu ---------- */
.bar { position: fixed; z-index: 30; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center;
  padding: max(12px, env(safe-area-inset-top)) 14px 0; pointer-events: none; }
.brand, .menubtn { pointer-events: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0;
  background: rgba(22,22,26,.8); color: #fff; text-decoration: none; font: 800 15px/1 var(--round); }
.menubtn { cursor: pointer; }
.menu { position: fixed; z-index: 40; top: calc(max(12px, env(safe-area-inset-top)) + 50px); right: 14px; width: min(260px, calc(100vw - 28px)); padding: 8px;
  border-radius: 22px; background: rgba(22,22,26,.96); box-shadow: 0 20px 50px rgba(0,0,0,.35); transform-origin: top right; animation: menu .28s var(--ease); }
.menu[hidden] { display: none; }
@keyframes menu { from { opacity: 0; transform: scale(.9); } }
.menu a { display: block; padding: 13px 14px; border-radius: 12px; color: #fff; text-decoration: none; font: 700 17px/1.2 var(--round); }
.menu a:hover { background: rgba(255,255,255,.08); }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--navy-ink) center / cover no-repeat; color: #fff; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,23,51,.5), rgba(7,23,51,0) 26%, rgba(7,23,51,.05) 38%, rgba(7,23,51,.7) 58%, rgba(7,23,51,.94) 100%); }
.hero-in { position: absolute; left: 0; right: 0; bottom: clamp(90px, 15vh, 150px); width: min(900px, 100% - 40px); margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(50px, 11.5vw, 124px); font-weight: 900; letter-spacing: -.03em; line-height: .96; }
.hero-sub { margin: 18px auto 0; max-width: 27em; font-size: clamp(18px, 2vw, 22px); line-height: 1.4; font-weight: 500; color: rgba(255,255,255,.9); text-wrap: pretty; }
.hero-chip { position: absolute; left: 50%; top: max(70px, calc(env(safe-area-inset-top) + 58px)); transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px;
  background: rgba(22,22,26,.5); font: 700 14px/1 var(--round); white-space: nowrap; transition: opacity .4s; }
.hero-chip.fade { opacity: 0; }
.hero-sound { position: absolute; right: 16px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(7,23,51,.45); cursor: pointer; }
.hero-sound span { display: block; width: 12px; height: 14px; margin: 0 auto; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.hero-sound.paused span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 15px; }
.hero-down { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: #fff; width: 44px; height: 44px; display: grid; place-items: center; opacity: .8; }
.hero-down svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- 2. Dougie: photo strip ---------- */
.strip-wrap { margin-top: clamp(36px, 5vw, 56px); }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(20px, calc((100vw - 1080px) / 2)) 22px; scroll-padding: 0 max(20px, calc((100vw - 1080px) / 2));
  align-items: flex-start; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; outline: none; }
.strip::-webkit-scrollbar { display: none; }
.ph { flex: 0 0 auto; width: clamp(240px, 26vw, 300px); margin: 0; scroll-snap-align: start; text-align: left; }
.ph img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 26px; background: #e8e8ed; }
.ph figcaption { position: relative; margin-top: 16px; padding: 14px 18px 16px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06); }
.ph figcaption::before { content: ""; position: absolute; left: 30px; top: -7px; width: 18px; height: 18px; border-radius: 4px 0 0 0; background: #fff; transform: rotate(45deg); }
.ph b { position: relative; display: block; font: 800 13px/1.2 var(--round); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.ph span { position: relative; display: block; margin-top: 6px; font: 600 17px/1.36 var(--round); color: var(--ink); text-wrap: pretty; }
@media (max-width: 700px) { .ph { width: 76vw; } }
.strip-nav { display: flex; align-items: center; justify-content: center; gap: 16px; width: min(1080px, 100% - 40px); margin: 6px auto 0; }
.strip-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #e8e8ed; color: var(--ink); transition: transform .25s var(--ease); display: grid; place-items: center; cursor: pointer; }
.strip-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.strip-nav button:active { transform: scale(.9); }
.strip-prog { flex: 0 1 220px; height: 4px; border-radius: 4px; background: #e0e0e5; overflow: hidden; }
.strip-prog i { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--ink); transform-origin: left; transform: scaleX(.1); }

/* the candle */
.wish { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 30px; max-width: 760px; margin: clamp(56px, 8vw, 90px) auto 0; padding: 28px clamp(22px, 4vw, 40px);
  border-radius: 32px; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.07); text-align: left; }
.wish h3 { font-size: clamp(30px, 3.8vw, 40px); line-height: 1.08; color: var(--ink); margin-bottom: 20px; }
.wish .kick { margin-bottom: 6px; }
.wish-hint { margin: 14px 0 0; font-size: 15px; color: var(--muted); min-height: 22px; }
@media (max-width: 640px) { .wish { grid-template-columns: 1fr; text-align: center; gap: 14px; padding-top: 34px; padding-bottom: 34px; } .cake { margin: 0 auto; } }
.cake { position: relative; width: 220px; aspect-ratio: 240 / 230; }
.cake-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cake .confetti { position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; margin: -380px 0 0 -350px; pointer-events: none; z-index: 5; }
.flame { position: absolute; left: 50%; top: 4%; width: 44px; height: 54px; margin-left: -22px; padding: 0; border: 0; background: none; cursor: pointer; }
.flame i { position: absolute; left: 50%; bottom: 6px; width: 16px; height: 30px; margin-left: -8px; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  background: radial-gradient(60% 50% at 50% 72%, #fff 0 22%, #ffe27a 40%, #ff9d2e 72%, rgba(255,90,20,0) 100%);
  box-shadow: 0 0 22px 8px rgba(255,190,80,.4); transform-origin: 50% 90%; animation: flick 1.8s ease-in-out infinite; transition: opacity .25s, transform .25s; }
@keyframes flick { 0%, 100% { transform: rotate(-2deg) scaleY(1); } 50% { transform: rotate(2deg) scaleY(1.06); } }
.cake.out .flame i { opacity: 0; transform: scale(.2); animation: none; }
.smoke { position: absolute; left: 50%; top: 2%; }
.smoke i { position: absolute; left: -6px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: rgba(120,110,100,.35); filter: blur(4px); opacity: 0; }
.cake.out .smoke i { animation: smoke 2.4s ease-out forwards; }
.cake.out .smoke i:nth-child(2) { animation-delay: .25s; } .cake.out .smoke i:nth-child(3) { animation-delay: .5s; }
@keyframes smoke { 0% { opacity: .9; transform: translate(0, 10px) scale(.6); } 100% { opacity: 0; transform: translate(14px, -70px) scale(3); } }

/* ---------- 3. the villa ---------- */
.villa { position: relative; margin-top: clamp(36px, 5vw, 56px); aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden; background: #050d1f center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(0,0,0,.45); }
@media (max-aspect-ratio: 9/10) { .villa { aspect-ratio: 9 / 16; max-height: 82svh; margin-left: auto; margin-right: auto; border-radius: 28px; } }
.villa video, .villa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-model, .v-dots, .v-dive, .v-room, .v-ui { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.villa.model .v-model, .villa.model .v-dots { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.villa.diving .v-dive { opacity: 1; visibility: visible; transition: none; }
.villa.room .v-room, .villa.room .v-ui { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.v-dot { position: absolute; transform: translate(-50%, -50%); width: 54px; height: 54px; border: 0; padding: 0; background: none; cursor: pointer; }
.v-dot::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.28), 0 6px 18px rgba(0,0,0,.45); }
.v-dot::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); animation: ping 2.2s ease-out infinite; }
.v-dot span { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); white-space: nowrap; padding: 8px 12px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 800 14px/1 var(--round); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.v-dot.r span { left: auto; right: 4px; transform: none; }
.v-dot.below span { bottom: auto; top: 46px; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.v-room { transform-origin: 50% 55%; }
.villa.room .v-room { animation: drift 14s ease-out both; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.v-ui { pointer-events: none; text-align: left; }
.villa.room .v-ui { pointer-events: auto; }
.v-ui::before { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(transparent, rgba(5,13,31,.75)); pointer-events: none; }
.v-back { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 0;
  background: rgba(22,22,26,.7); color: #fff; font: 700 15px/1 var(--round); cursor: pointer; }
.v-back svg, .v-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.v-label { position: absolute; left: 20px; right: 120px; bottom: 20px; color: #fff; }
.v-label small { font: 700 14px/1 var(--round); color: rgba(255,255,255,.7); }
.v-label h4 { margin: 8px 0 6px; font-size: clamp(28px, 4.4vw, 54px); line-height: 1; }
.v-label p { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 500; color: rgba(255,255,255,.9); max-width: 26em; text-wrap: pretty; }
.v-nav { position: absolute; right: 16px; bottom: 20px; display: flex; gap: 8px; }
.v-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(22,22,26,.7); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease); }
.v-nav button:active, .v-back:active { transform: scale(.92); }
.v-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(5,13,31,.35); transition: opacity .35s; }
.villa.playing .v-start, .villa.model .v-start, .villa.diving .v-start, .villa.room .v-start { opacity: 0; pointer-events: none; }
.v-skip { border: 0; background: none; color: rgba(255,255,255,.9); font: 700 15px/1 var(--round); cursor: pointer; padding: 12px; }
.villa.playing .v-skip-live { opacity: 1; }
.v-spin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff;
  opacity: 0; transition: opacity .2s; pointer-events: none; animation: spin .8s linear infinite; animation-play-state: paused; }
.villa.loading .v-spin { opacity: 1; animation-play-state: running; transition-delay: .3s; }
@keyframes spin { to { transform: rotate(1turn); } }
.v-note { margin: 18px 0 0; font-size: 15px; color: rgba(255,255,255,.6); }
.v-tourskip { position: absolute; right: 14px; bottom: 14px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(22,22,26,.7); color: #fff;
  font: 700 14px/1 var(--round); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
.villa.playing .v-tourskip { opacity: 1; pointer-events: auto; }

/* ---------- 4. six moods ---------- */
.fb { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 360px); gap: clamp(24px, 5vw, 60px); align-items: center; justify-content: center; margin-top: clamp(36px, 5vw, 56px); text-align: left; }
.fb-frame { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 32px; overflow: hidden; background: #e8e8ed; cursor: pointer;
  box-shadow: 0 16px 44px rgba(0,0,0,.14); transition: transform .3s var(--ease); }
.fb-frame:active { transform: scale(.98); }
.fb-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .18s linear; }
.fb-frame img.on { opacity: 1; }
.fb-n { margin: 0 0 6px; font: 700 15px/1 var(--round); color: var(--red); }
.fb-side h3 { font-size: clamp(32px, 4vw, 46px); color: var(--ink); }
.fb-q { margin: 8px 0 0; font: 600 clamp(20px, 2.3vw, 25px)/1.32 var(--round); color: var(--muted); min-height: 2.7em; text-wrap: balance; }
.fb-dots { display: flex; gap: 10px; margin-top: 14px; }
.fb-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: #c7c7cc; transition: background .2s, transform .3s var(--ease); cursor: pointer; position: relative; }
.fb-dots button::after { content: ""; position: absolute; inset: -16px; }
.fb-dots button[aria-pressed="true"] { background: var(--ink); transform: scale(1.25); }
.fb-side .swap { animation: rise .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 760px) { .fb { grid-template-columns: 1fr; gap: 20px; text-align: center; } .fb-frame { max-width: 400px; margin: 0 auto; } .fb-dots { justify-content: center; } }

/* ---------- 5. Starbucks run ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 30px; align-items: start; margin-top: clamp(36px, 5vw, 56px); padding: clamp(18px, 3vw, 30px);
  border-radius: 32px; background: var(--paper); color: var(--ink); text-align: left; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .b-cup { max-width: 440px; margin: 0 auto; width: 100%; } }
.b-cup { display: flex; flex-direction: column; align-items: center; position: relative; }
.cupbox { position: relative; width: min(240px, 62vw); aspect-ratio: 2 / 3; }
.cupbox svg.cupsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cupbox.order-up { animation: orderup .7s cubic-bezier(.3,1.5,.5,1); }
@keyframes orderup { 30% { transform: translateY(-14px) rotate(-3deg); } 60% { transform: translateY(2px) rotate(1deg); } }
.tray { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; width: 100%; margin-top: 16px; padding: 10px; border-radius: 20px; background: var(--cream); }
.tray button { aspect-ratio: 1; padding: 4px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; transition: transform .3s var(--ease); }
.tray button:active { transform: scale(.82); }
.tray button:hover { background: rgba(10,35,72,.06); }
.tray img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.tray-hint { margin: 12px 0 0; font-size: 14px; line-height: 1.35; color: var(--muted); text-align: center; }
.cupbox .stk { --sz: 30%; }
.cupbox .stk.tap { cursor: pointer; }
.cupbox .stk.pop { animation: stick .35s cubic-bezier(.2,1.5,.4,1); }
@keyframes stick { from { transform: translate(-50%, -50%) rotate(var(--r)) scale(1.5); opacity: 0; } }
form.order { display: grid; gap: 14px; }
form.order label, .fl { display: grid; gap: 8px; font: 700 15px/1 var(--round); color: var(--ink); }
form.order input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 500 17px/1.2 var(--sans); -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
form.order input:focus, .t-search input:focus { outline: none; border-color: #4c9bff; box-shadow: 0 0 0 4px rgba(76,155,255,.22); }
form.order input::placeholder, .t-search input::placeholder { color: #a1a1a6; }
form.order input[name="name"] { font: 400 22px/1 "Permanent Marker", cursive; }
.chips { display: flex; gap: 8px; margin-top: 8px; }
.chips button { flex: 1 1 0; display: grid; place-items: center; gap: 2px; min-height: 52px; padding: 6px 4px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font: 700 16px/1.1 var(--round); cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background .15s, color .15s; }
.chips button:active { transform: scale(.95); }
.chips button small { font: 600 12px/1 var(--sans); color: var(--muted); }
.chips button[aria-pressed="true"] { background: #00704a; border-color: #00704a; color: #fff; }
.chips button[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.addbtn { width: 100%; min-height: 56px; margin-top: 4px; background: #00704a; }
.msg { margin: 0; min-height: 21px; text-align: center; font: 700 15px/1.35 var(--round); color: #00704a; }
.wall-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 54px; flex-wrap: wrap; text-align: left; }
.wall-head h3 { font-size: 28px; }
.wall-head.small { margin-top: 28px; } .wall-head.small h3 { font-size: 22px; }
.cups { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 30px 16px; margin-top: 26px; }
.cup { display: grid; justify-items: center; text-align: center; }
.cup.new { animation: drop .6s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes drop { from { transform: translateY(-40px) rotate(-8deg); opacity: 0; } }
.cup .cupbox { width: 120px; }
.cup .dr { margin-top: 8px; font: 700 14px/1.3 var(--round); }
.cup .ex { font: 500 12px/1.3 var(--sans); opacity: .7; }
.empty { grid-column: 1 / -1; margin: 6px 0 0; opacity: .65; text-align: center; }
.cups .stk .foil { display: none; }

/* stickers (used on the cups) */
.stk { --sz: 92px; position: absolute; width: var(--sz); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); user-select: none; -webkit-user-select: none; }
.stk img { display: block; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(40,30,20,.25)); }
.stk .foil { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .5;
  background: conic-gradient(from 0deg, #ff9ad5, #9ad8ff, #b4ffb0, #fff5a0, #ffb3e6, #9ad8ff, #ff9ad5);
  -webkit-mask: var(--src) center / 100% 100% no-repeat; mask: var(--src) center / 100% 100% no-repeat; }

/* ---------- 6. playlist ---------- */
.tunes { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 26px; align-items: start; margin-top: clamp(36px, 5vw, 56px); text-align: left; }
@media (max-width: 900px) { .tunes { grid-template-columns: 1fr; } }
.t-player { padding: 22px; border-radius: 32px; background: var(--navy); color: #fff; }
.disc-wrap { display: grid; place-items: center; padding: 6px 0 4px; }
.jb-disc { position: relative; width: 150px; height: 150px; border-radius: 50%; background: repeating-radial-gradient(circle, #0c0c0c 0 2px, #1b1b1b 2px 4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.5), inset 0 0 0 2px #2a2a2a; }
.jb-disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.1) 25%, transparent 30% 70%, rgba(255,255,255,.08) 75%, transparent 80%); }
.jb-disc i { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px; border-radius: 50%; background: var(--red) center / cover; box-shadow: 0 0 0 3px #0c0c0c; }
.jb-disc i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #0c0c0c; }
.jb-disc.spin { animation: spin 1.8s linear infinite; }
.jb-now { margin: 14px 0 18px; text-align: center; font: 700 15px/1.3 var(--round); color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-spotify { height: 352px; border-radius: 16px; overflow: hidden; background: #121212; }
.jb-spotify iframe { display: block; border: 0; }
.t-req { padding: 22px; border-radius: 32px; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.07); }
.t-search { display: grid; gap: 10px; }
.t-search input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 500 17px/1.2 var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.t-results, .t-list { list-style: none; margin: 0; padding: 0; }
.t-results:not(:empty) { margin-top: 10px; }
.t-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #ececf0; }
.t-art { position: relative; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #e8e8ed; cursor: pointer; }
.t-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-art::after { content: "\25B6"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 15px; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .15s; }
.t-art:hover::after, .t-art.playing::after { opacity: 1; }
.t-art.playing::after { content: "\275A\275A"; font-size: 12px; }
.t-meta { min-width: 0; }
.t-meta b { display: block; font: 700 16px/1.25 var(--round); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-meta span { display: block; font: 500 14px/1.3 var(--sans); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-add { min-height: 44px; min-width: 70px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 700 15px/1 var(--round); cursor: pointer; transition: transform .25s var(--ease); }
.t-add:active { transform: scale(.92); }
.t-add:disabled { opacity: .5; }
.t-sp { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font: 700 14px/1 var(--round); color: #1d8f4e; text-decoration: none; }
.t-list { counter-reset: s; }
.t-list .empty { padding: 12px 0; }

/* ---------- 7. thank you ---------- */
.thanks { background: var(--navy); padding-bottom: clamp(80px, 10vw, 130px); }
.flagband { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.flagband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flagband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,72,.25), transparent 30%, transparent 45%, rgba(10,35,72,.9) 86%, var(--navy)); }
.flagq { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(40px, 8vh, 80px); width: min(1080px, 100% - 40px); margin: 0 auto; color: #fff; }
.flagq blockquote { margin: 0; max-width: 12em; font: italic 400 clamp(38px, 6vw, 76px)/1.06 var(--serif); text-wrap: balance; }
.flagq .qm { color: var(--gold); font-style: normal; font-weight: 700; }
.flagq cite { display: block; margin-top: 18px; font: 700 15px/1 var(--round); font-style: normal; color: rgba(255,255,255,.7); }
.decl-wrap { padding: 40px 16px 0; }
.decl { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(22px, 6vw, 64px) clamp(36px, 5vw, 52px); border-radius: 4px;
  background: radial-gradient(120% 80% at 50% 0%, #fffaf0, #f3ead3); color: var(--ink); box-shadow: 0 40px 80px rgba(0,0,0,.35);
  font: 400 clamp(17px, 1.9vw, 19px)/1.7 var(--serif); }
.decl::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(20,32,61,.2); pointer-events: none; }
.decl-stars { margin: 0 0 8px; text-align: center; color: var(--red); letter-spacing: .6em; font-size: 14px; }
.decl-kick { margin: 0 0 12px; text-align: center; font: 600 12px/1.4 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: #6a5520; }
.decl h2 { margin: 0 auto 28px; max-width: 15em; padding-bottom: 24px; border-bottom: 2px solid var(--navy); text-align: center; font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; font-size: clamp(29px, 4.6vw, 46px); line-height: 1.1; color: var(--navy); }
.decl p { margin: 0 0 18px; }
.decl-lede::first-letter { float: left; font-size: 3.6em; line-height: .8; padding: 6px 8px 0 0; color: var(--red); font-weight: 700; }
.sigs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; margin-top: 36px; }
@media (max-width: 640px) { .sigs { grid-template-columns: 1fr 1fr; } }
.sig { display: flex; flex-direction: column; justify-content: flex-end; min-height: 88px; }
.sig .hand { display: block; color: #14204a; line-height: 1; transform: rotate(-4deg); transform-origin: left bottom; white-space: nowrap; }
.sig i { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(20,32,61,.45); font: 600 11px/1.3 var(--serif); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: #6a6252; }
.h-ryan { font: 400 48px/1 "Mrs Saint Delafield", cursive; }
.h-julie { font: 400 38px/1.1 Allura, cursive; }
.h-lilly { font: 400 23px/1.6 "Gloria Hallelujah", cursive; color: #5b3a9a !important; transform: rotate(-2deg) !important; }
.h-dougie svg { width: 132px; height: auto; }
@media (max-width: 640px) { .h-ryan { font-size: 36px; } .h-julie { font-size: 30px; } }

footer { padding: 40px 20px calc(50px + env(safe-area-inset-bottom)); background: var(--navy-ink); text-align: center; color: rgba(255,255,255,.75); }
footer p { margin: 0 0 8px; font: 700 18px/1.4 var(--round); text-wrap: balance; }
footer .fine { font: 400 13px/1.5 var(--sans); color: rgba(255,255,255,.5); }

/* gentle fade-in as things arrive (no scroll listeners) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
#dougie { overflow-x: clip; }
@media (max-width: 700px) { h2.three span { display: block; } }

/* ---------- the plan ---------- */
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: clamp(32px, 5vw, 52px) auto 0; text-align: left; }
@media (max-width: 640px) { .plan { grid-template-columns: 1fr; } }
.day { padding: 24px 26px 26px; border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.07); }
.day-d { margin: 0 0 12px; font: 800 15px/1 var(--round); letter-spacing: .06em; text-transform: uppercase; color: var(--red); display: flex; align-items: baseline; gap: 8px; }
.day-d b { font: 900 44px/1 var(--round); letter-spacing: -.03em; color: var(--ink); }
.day h3 { font-size: 26px; line-height: 1.1; }
.day p:last-child { margin: 8px 0 0; color: var(--muted); font-weight: 500; line-height: 1.42; text-wrap: pretty; }
.info { max-width: 820px; margin: 16px auto 0; padding: 6px 26px; border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.07); text-align: left; }
.info div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid #ececf0; }
.info div:last-child { border-bottom: 0; }
.info dt { font: 800 15px/1.4 var(--round); color: var(--ink); }
.info dd { margin: 0; font-weight: 500; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.info a { color: #0a66d8; font-weight: 600; text-decoration: none; }

/* ---------- photos slide sideways as you scroll down ---------- */
.pin.pinned { view-timeline-name: --pin; view-timeline-axis: block; }
.pin.pinned .pin-in { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: clip; padding-top: 52px; }
.pin.pinned .strip-wrap { margin-top: 0; }
.pin.pinned .strip { width: max-content; overflow: visible; scroll-snap-type: none; will-change: transform; padding-bottom: 26px; }
.pin.pinned .ph { width: min(76vw, 320px, calc((100svh - 330px) * .75)); }
.pin.pinned .strip-nav button { display: none; }
@supports (animation-timeline: view()) {
  .pin.pinned .strip { animation: slide linear both; animation-timeline: --pin; animation-range: contain 0% contain 100%; }
  .pin.pinned .strip-prog i { animation: prog linear both; animation-timeline: --pin; animation-range: contain 0% contain 100%; }
}
@keyframes slide { to { transform: translate3d(var(--travel, 0px), 0, 0); } }
@keyframes prog { from { transform: scaleX(.05); } to { transform: scaleX(1); } }

/* =====================================================================
   POSTER THEME: vintage Americana print. Paper, navy, barn red.
   Anton for the shouting, Zilla Slab for the labels, Franklin to read.
   ===================================================================== */
:root {
  --navy: #172a4d; --navy-2: #213a66; --navy-ink: #0f1d38;
  --cream: #f1e6d0; --paper: #faf3e3; --ink: #1b2236; --muted: #5f5a4e; --line: #cdbf9f;
  --red: #b8371f; --sky: #f1e6d0; --gold: #d9a441;
  --disp: "Anton", "Arial Narrow", Impact, sans-serif;
  --round: "Zilla Slab", Rockwell, Georgia, serif;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "IM Fell English", Georgia, "Times New Roman", serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  --hard: 5px 5px 0 var(--navy);
}
body { background: var(--navy); font: 400 17px/1.5 var(--sans); }
.cream { background: var(--cream) var(--grain); }
.navy { background: var(--navy) var(--grain); }

h1, h2 { font-family: var(--disp); font-weight: 400; letter-spacing: .005em; text-transform: uppercase; }
h3, h4 { font-family: var(--round); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(52px, 10.5vw, 104px); line-height: .94; color: var(--navy); }
.navy h2 { color: var(--paper); }
.kick { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 14px; font: 700 13px/1.3 var(--round); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.kick::before, .kick::after { content: ""; flex: 0 0 26px; height: 2px; background: currentColor; }
.navy .kick, .flagq .kick, .hero .kick { color: var(--paper); }
.lede { margin-top: 18px; max-width: 29em; font: 500 clamp(18px, 1.9vw, 21px)/1.45 var(--round); color: var(--muted); }
.navy .lede { color: rgba(250,243,227,.8); }

.btn { min-height: 52px; padding: 0 26px; border-radius: 6px; border: 2px solid var(--ink); background: var(--red); color: var(--paper); font: 700 16px/1 var(--round); letter-spacing: .08em; text-transform: uppercase; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); opacity: 1; }
.btn.light { background: var(--paper); color: var(--navy); border-color: var(--navy-ink); box-shadow: 4px 4px 0 var(--navy-ink); }
.btn.ghost { border: 2px solid currentColor; box-shadow: none; font-size: 13px; }
.btn.ghost:active { transform: scale(.96); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.brand, .menubtn { min-height: 38px; padding: 0 14px; border-radius: 6px; background: var(--navy-ink); color: var(--paper); font: 700 13px/1 var(--round); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 0 0 1.5px rgba(250,243,227,.35) inset; }
.menu { border-radius: 8px; background: var(--navy-ink); box-shadow: 0 0 0 1.5px rgba(250,243,227,.35) inset, 0 20px 50px rgba(0,0,0,.4); }
.menu a { border-radius: 4px; color: var(--paper); font: 700 15px/1.2 var(--round); letter-spacing: .08em; text-transform: uppercase; }

/* hero: the poster */
.hero { min-height: 620px; }
.hero-shade { background: linear-gradient(180deg, rgba(15,29,56,.55), rgba(15,29,56,0) 22%, rgba(15,29,56,.35) 42%, rgba(15,29,56,.86) 68%, rgba(15,29,56,.97) 100%); }
.hero-in { bottom: clamp(64px, 11vh, 110px); }
.hero h1 { font-size: clamp(88px, 27vw, 190px); font-weight: 400; letter-spacing: .005em; line-height: .88; color: var(--paper); }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: #f0c9bd; -webkit-text-stroke: 0; }
@media (min-width: 760px) { .hero h1 { font-size: clamp(110px, 12.4vw, 200px); } .hero h1 span { display: inline; } }
.hero-date { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 18px 0 0; padding: 9px 4px; border-top: 2px solid var(--paper); border-bottom: 2px solid var(--paper); font: 700 clamp(13px, 3.5vw, 17px)/1.2 var(--round); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.hero-date i { font-style: normal; font-size: .8em; color: var(--gold); }
.hero-sub { margin-top: 16px; max-width: 26em; font: 500 clamp(17px, 2vw, 21px)/1.42 var(--round); color: rgba(250,243,227,.9); }
.hero-chip { border-radius: 4px; background: rgba(15,29,56,.6); font: 700 12px/1 var(--round); letter-spacing: .16em; text-transform: uppercase; color: var(--paper); }
.hero-sound { border-radius: 6px; border: 1.5px solid rgba(250,243,227,.5); background: rgba(15,29,56,.5); }

/* the plan: two admission tickets */
.plan { gap: 20px; }
.day { position: relative; display: grid; grid-template-columns: 98px 1fr; padding: 0; border: 2px solid var(--navy); border-radius: 10px; background: var(--paper); box-shadow: var(--hard); overflow: hidden; }
.day-d { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 14px 0; background: var(--red); color: var(--paper); border-right: 2px dashed var(--paper); font: 700 13px/1 var(--round); letter-spacing: .18em; }
.day-d b { font: 400 62px/1 var(--disp); letter-spacing: 0; color: var(--paper); }
.day h3 { padding: 20px 20px 0; font-size: 25px; color: var(--navy); }
.day p:last-child { margin: 0; padding: 8px 20px 22px; font: 500 17px/1.42 var(--round); color: var(--muted); }
.day::before, .day::after { content: ""; position: absolute; left: 88px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); border: 2px solid var(--navy); }
.day::before { top: -12px; } .day::after { bottom: -12px; }
.info { margin-top: 22px; padding: 4px 22px; border: 2px solid var(--navy); border-radius: 10px; background: var(--paper); box-shadow: var(--hard); }
.info div { grid-template-columns: 92px 1fr; border-bottom: 1.5px dashed var(--line); }
.info dt { font: 700 13px/1.6 var(--round); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.info dd { font: 500 17px/1.42 var(--round); color: var(--ink); }

/* Dougie's prints */
.strip { gap: 22px; }
.ph { padding: 10px 10px 16px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--paper); box-shadow: 4px 6px 0 rgba(23,42,77,.14); }
.ph:nth-child(odd) { transform: rotate(-1.1deg); } .ph:nth-child(even) { transform: rotate(.9deg); } .ph:nth-child(3n) { transform: rotate(.3deg); }
.ph img { border-radius: 2px; background: #e2d6bb; }
.ph figcaption { margin: 0; padding: 14px 6px 0; border-radius: 0; background: none; box-shadow: none; }
.ph figcaption::before { display: none; }
.ph b { font: 700 12px/1.2 var(--round); letter-spacing: .18em; color: var(--red); }
.ph span { margin-top: 6px; font: 500 18px/1.34 var(--round); color: var(--ink); }
.pin.pinned .ph { width: min(78vw, 330px, calc((100svh - 320px) * .78)); }
.pin.pinned .strip { padding-top: 14px; }
.strip-prog { height: 6px; border-radius: 0; background: rgba(23,42,77,.14); }
.strip-prog i { border-radius: 0; background: var(--red); }
.strip-nav button { border-radius: 6px; background: var(--paper); border: 2px solid var(--navy); color: var(--navy); }

.wish { border: 2px solid var(--navy); border-radius: 10px; background: var(--paper); box-shadow: var(--hard); }
.wish h3 { font: 400 clamp(38px, 5vw, 52px)/.96 var(--disp); letter-spacing: .005em; text-transform: uppercase; color: var(--navy); }
.wish .kick { justify-content: flex-start; } .wish .kick::before { display: none; }
@media (max-width: 640px) { .wish .kick { justify-content: center; } .wish .kick::before { display: block; } }
.wish-hint { font: 500 16px/1.4 var(--round); color: var(--muted); }

/* villa */
.villa { border-radius: 10px; border: 2px solid var(--paper); box-shadow: 6px 6px 0 var(--navy-ink); }
@media (max-aspect-ratio: 9/10) { .villa { border-radius: 10px; } }
.v-dot span { padding: 7px 10px; border-radius: 4px; background: var(--paper); color: var(--navy); font: 700 12px/1 var(--round); letter-spacing: .1em; text-transform: uppercase; box-shadow: 3px 3px 0 var(--navy-ink); }
.v-back, .v-nav button, .v-tourskip { border-radius: 6px; background: rgba(15,29,56,.8); font-family: var(--round); letter-spacing: .06em; }
.v-label small { font: 700 12px/1 var(--round); letter-spacing: .2em; color: var(--gold); }
.v-label h4 { font: 400 clamp(38px, 6vw, 72px)/.94 var(--disp); text-transform: uppercase; letter-spacing: .005em; }
.v-label p { font: 500 17px/1.38 var(--round); }
.v-skip { font: 700 13px/1 var(--round); letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
.v-note { font: 500 15px/1.4 var(--round); color: rgba(250,243,227,.65); }

/* moods */
.fb-frame { border: 10px solid var(--paper); border-radius: 4px; background: var(--paper); box-shadow: 0 0 0 1.5px var(--line), 6px 8px 0 rgba(23,42,77,.16); transform: rotate(-1deg); }
.fb-frame:active { transform: rotate(-1deg) scale(.98); }
.fb-n { font: 700 13px/1 var(--round); letter-spacing: .2em; text-transform: uppercase; }
.fb-side h3 { font: 400 clamp(46px, 6vw, 68px)/.94 var(--disp); text-transform: uppercase; letter-spacing: .005em; color: var(--navy); }
.fb-q { font: italic 500 clamp(21px, 2.4vw, 26px)/1.3 var(--round); color: var(--ink); }
.fb-dots button { border-radius: 0; transform: rotate(45deg); background: rgba(23,42,77,.25); }
.fb-dots button[aria-pressed="true"] { background: var(--red); transform: rotate(45deg) scale(1.3); }

/* Starbucks */
.builder { border: 2px solid var(--paper); border-radius: 10px; background: var(--paper); box-shadow: 6px 6px 0 var(--navy-ink); }
.tray { border-radius: 6px; background: var(--cream); border: 1.5px dashed var(--line); }
.tray-hint { font: 500 15px/1.35 var(--round); }
form.order label, .fl { font: 700 13px/1 var(--round); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
form.order input, .t-search input { border-radius: 6px; border: 1.5px solid var(--ink); background: #fffdf7; font: 500 17px/1.2 var(--sans); }
form.order input:focus, .t-search input:focus { border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.chips button { border-radius: 6px; border: 1.5px solid var(--ink); background: #fffdf7; font: 700 16px/1.1 var(--round); }
.chips button small { font: 500 12px/1 var(--sans); }
.addbtn { background: #00704a; }
.msg { font: 700 16px/1.35 var(--round); }
.wall-head h3 { font: 400 34px/1 var(--disp); text-transform: uppercase; letter-spacing: .01em; }
.wall-head.small h3 { font-size: 26px; color: var(--navy); }
.cup .dr { font: 700 14px/1.3 var(--round); } .cup .ex { font-family: var(--sans); }

/* playlist */
.t-player { border-radius: 10px; border: 2px solid var(--navy-ink); background: var(--navy) var(--grain); box-shadow: var(--hard); }
.jb-now { font: 700 13px/1.3 var(--round); letter-spacing: .12em; text-transform: uppercase; color: var(--paper); }
.jb-spotify { border-radius: 6px; }
.t-req { border: 2px solid var(--navy); border-radius: 10px; background: var(--paper); box-shadow: var(--hard); }
.t-row { border-bottom: 1.5px dashed var(--line); }
.t-art { border-radius: 4px; }
.t-meta b { font: 700 17px/1.25 var(--round); } .t-meta span { font: 400 14px/1.3 var(--sans); }
.t-add { border-radius: 6px; background: var(--navy); font: 700 13px/1 var(--round); letter-spacing: .1em; text-transform: uppercase; }
.t-sp { font: 700 13px/1 var(--round); letter-spacing: .08em; text-transform: uppercase; }

/* thank you */
.thanks { background: var(--navy) var(--grain); }
.flagband::after { background: linear-gradient(180deg, rgba(23,42,77,.25), transparent 30%, transparent 42%, rgba(23,42,77,.92) 84%, var(--navy)); }
.flagq blockquote { max-width: 8.5em; font: 400 clamp(52px, 10.5vw, 128px)/.92 var(--disp); text-transform: uppercase; letter-spacing: .005em; color: var(--paper); }
.flagq .kick { justify-content: flex-start; } .flagq .kick::before { display: none; }
.flagq .qm { color: var(--gold); font-weight: 400; }
.flagq cite { font: 700 13px/1 var(--round); letter-spacing: .18em; text-transform: uppercase; color: rgba(250,243,227,.75); }
.decl { border-radius: 2px; background: radial-gradient(120% 80% at 50% 0%, #fbf4e2, #eedfbf); font: 400 clamp(18px, 2vw, 20.5px)/1.62 var(--serif); box-shadow: 8px 8px 0 var(--navy-ink); }
.decl h2 { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(32px, 5vw, 50px); line-height: 1.08; }
.decl-kick, .sig i { font-family: var(--round); }
footer { background: var(--navy-ink) var(--grain); }
footer p { font: 600 18px/1.4 var(--round); color: var(--paper); }
footer .fine { font: 400 13px/1.5 var(--sans); color: rgba(250,243,227,.5); }
.flagq .kick::after { display: none; }
.flagq .kick { letter-spacing: .14em; }

/* ---------- hero still ---------- */
.hero-bg { position: absolute; inset: -5%; background: center / cover no-repeat; animation: drift 28s ease-in-out infinite alternate; will-change: transform; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.1) translate3d(0, -1.5%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }

/* ---------- scroll films ---------- */
.scrub { position: relative; height: calc(100svh + var(--len) * 1svh); background: var(--navy-ink); }
.scrub-in { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--navy-ink) center / cover no-repeat; }
.scrub canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.scrub.live canvas { opacity: 1; }
.scrub-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,29,56,.35), rgba(15,29,56,0) 18%, rgba(15,29,56,0) 48%, rgba(15,29,56,.82) 100%); }
.scrub-caps p { position: absolute; left: 20px; right: 20px; bottom: clamp(60px, 11svh, 110px); margin: 0; text-align: center; text-wrap: balance; color: var(--paper); font: 400 clamp(46px, 11.5vw, 112px)/.92 var(--disp); letter-spacing: .005em; text-transform: uppercase; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .3s ease, transform .5s var(--ease); }
.scrub-caps p.on { opacity: 1; transform: none; }
.scrub-caps small { display: block; margin-bottom: 12px; font: 700 13px/1.2 var(--round); letter-spacing: .22em; color: var(--gold); }
.scrub-bar { position: absolute; left: 20px; right: 20px; bottom: 28px; height: 4px; background: rgba(250,243,227,.25); }
.scrub-bar i { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.scrub.still { height: 100svh; }

/* ---------- the plan: running order on each ticket ---------- */
.plan { align-items: start; }
.day { grid-template-columns: 84px 1fr; }
.day::before, .day::after { left: 74px; }
.day-d { grid-row: auto; align-self: stretch; justify-content: flex-start; padding-top: 22px; }
.day-d b { font-size: 56px; }
.sched { list-style: none; margin: 0; padding: 6px 18px 8px 16px; }
.sched li { display: grid; grid-template-columns: 50px 1fr; column-gap: 10px; padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.sched li:last-child { border-bottom: 0; }
.sched time { grid-row: 1 / span 2; padding-top: 4px; font: 700 13px/1.2 var(--round); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.sched b { font: 700 19px/1.2 var(--round); color: var(--navy); }
.sched span { margin-top: 3px; font: 500 15.5px/1.38 var(--round); color: var(--muted); text-wrap: pretty; }

/* ---------- villa, around the scroll tour ---------- */
.villa-head { padding-bottom: clamp(40px, 6vw, 70px); }
.villa-sec { padding-top: clamp(40px, 6vw, 70px); }

/* ---------- playlist, and the run into the flag ---------- */
#playlist { position: relative; padding-top: clamp(70px, 9vw, 110px); padding-bottom: clamp(40px, 6vw, 70px); }
#playlist::before { content: "\2605\2002\2605\2002\2605"; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 0 16px; font-size: 14px; letter-spacing: .2em; color: var(--gold); }
#playlist .t-player { max-width: 560px; margin: clamp(28px, 4vw, 44px) auto 0; padding: 12px; background: var(--navy-ink); border: 2px solid var(--paper); box-shadow: 6px 6px 0 var(--navy-ink); }
.flagband::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(23,42,77,.55) 12%, rgba(23,42,77,0) 30%, rgba(23,42,77,0) 44%, rgba(23,42,77,.92) 84%, var(--navy)); }

/* ---------- prints: family photos pinned to the page ---------- */
.print { margin: 0 auto; padding: 10px 10px 14px; max-width: 420px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--paper); box-shadow: 5px 7px 0 rgba(15,29,56,.22); text-align: left; transform: rotate(-1.4deg); }
.print img { display: block; width: 100%; height: auto; border-radius: 2px; background: #e2d6bb; }
.print figcaption { padding: 12px 6px 0; }
.print b { display: block; font: 700 12px/1.2 var(--round); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.print span { display: block; margin-top: 5px; font: 500 17px/1.35 var(--round); color: var(--ink); text-wrap: pretty; }
.sec-print { max-width: 300px; margin: 34px auto 30px; transform: rotate(1.6deg); }
.plane-print { margin-bottom: clamp(34px, 5vw, 54px); box-shadow: 6px 8px 0 var(--navy-ink); }
.info a { display: inline-block; margin-top: 8px; padding: 9px 14px; border: 2px solid var(--navy); border-radius: 6px; background: var(--paper); box-shadow: 3px 3px 0 var(--navy); color: var(--navy); font: 700 13px/1 var(--round); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- the jumper, month by month ---------- */
.grow { position: relative; height: calc(100svh + 12 * 42svh); background: var(--cream) var(--grain); }
.grow-in { position: sticky; top: 0; height: 100svh; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(12px, 2.2svh, 22px); padding: 62px 20px 22px; text-align: center; overflow: hidden; }
.grow-head h2 { font-size: clamp(40px, 8.4vw, 84px); }
.grow-head .kick { margin-bottom: 8px; }
.grow-frame { position: relative; flex: 0 1 auto; width: min(74vw, 400px, calc((100svh - 372px) * .75)); aspect-ratio: 3 / 4; border: 10px solid var(--paper); border-radius: 4px; background: #e2d6bb; box-shadow: 0 0 0 1.5px var(--line), 6px 8px 0 rgba(23,42,77,.16); transform: rotate(-1deg); }
.grow-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.grow-frame img.on { opacity: 1; }
.grow-meta { width: min(100%, 460px); }
.grow-m { margin: 0; font: 400 clamp(40px, 9vw, 64px)/.95 var(--disp); text-transform: uppercase; color: var(--red); }
.grow-q { margin: 6px 0 0; min-height: 2.7em; font: 500 17px/1.35 var(--round); color: var(--ink); text-wrap: balance; }
.grow-ticks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 8px; }
.grow-ticks i { height: 6px; background: rgba(23,42,77,.16); transition: background .25s; }
.grow-ticks i.on { background: var(--red); }
.grow.still { height: auto; } .grow.still .grow-in { position: static; height: auto; cursor: pointer; }
@media (min-width: 900px) {
  .grow-in { display: grid; grid-template-columns: auto minmax(0, 420px); grid-template-rows: auto auto; column-gap: 64px; align-content: center; justify-content: center; text-align: left; }
  .grow-frame { grid-row: 1 / span 2; width: min(400px, calc((100svh - 150px) * .75)); }
  .grow-head { align-self: end; } .grow-head .kick { justify-content: flex-start; } .grow-head .kick::before { display: none; }
  .grow-meta { align-self: start; }
}

/* ---------- why we came ---------- */
.creed { background: var(--red) var(--grain); color: var(--paper); padding: clamp(70px, 10vw, 130px) 0; border-top: 10px solid var(--navy-ink); border-bottom: 10px solid var(--navy-ink); }
.creed-in { display: grid; gap: clamp(34px, 5vw, 64px); align-items: center; text-align: left; }
@media (min-width: 900px) { .creed-in { grid-template-columns: minmax(0, 420px) 1fr; } }
.creed .kick { justify-content: flex-start; color: var(--paper); } .creed .kick::before { display: none; }
.creed blockquote { margin: 0; font: 400 clamp(50px, 9.6vw, 108px)/.93 var(--disp); letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.creed .qm { color: var(--navy-ink); }
.creed cite { display: block; margin-top: 18px; font: 700 13px/1.3 var(--round); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: rgba(250,243,227,.85); }
.creed-print { transform: rotate(-2deg); box-shadow: 6px 8px 0 var(--navy-ink); }

/* ---------- joins between sections ---------- */
/* films between two paper sections sit in a frame; films next to navy melt into it */
.scrub[data-edge="frame"] { border-top: 10px solid var(--navy-ink); border-bottom: 10px solid var(--navy-ink); }
#dusk { border-top: 0; }
#dusk .scrub-shade { background: linear-gradient(180deg, rgba(15,29,56,.3), rgba(15,29,56,0) 18%, rgba(15,29,56,0) 46%, rgba(23,42,77,.8) 86%, var(--navy) 100%); }
.villa-head { background: var(--navy); }
#tour .scrub-shade { background: linear-gradient(180deg, var(--navy) 0%, rgba(23,42,77,0) 16%, rgba(15,29,56,0) 52%, rgba(7,11,22,.86) 90%, #070b16 100%); }
#tour, #tour .scrub-in { background-color: #070b16; }
.villa-sec { background: linear-gradient(180deg, #070b16 0%, #070b16 58%, var(--navy) 100%); padding-top: clamp(20px, 4vw, 50px); }
.villa { border-color: rgba(250,243,227,.55); box-shadow: none; }
.scrub-bar { transition: opacity .3s; }
#starbucks, #playlist, .thanks { background: var(--navy); }
.flagband::after { background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 4%, rgba(23,42,77,.6) 16%, rgba(23,42,77,0) 36%, rgba(23,42,77,0) 46%, rgba(23,42,77,.92) 84%, var(--navy)); }

/* ---------- Dougie's head: cursor, scroll hint, progress bars ---------- */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url(img/x/head-32.png) 16 16, auto; }
  a, button, .fb-frame, .v-dot, .stk.tap, summary, label { cursor: url(img/x/head-40.png) 20 20, pointer; }
  input[type="text"], input[type="search"], input:not([type]) { cursor: text; }
}
.hero-down { bottom: 14px; width: 64px; height: auto; gap: 0; opacity: 1; }
.hero-down img { width: 54px; height: 54px; object-fit: contain; animation: bob 2s ease-in-out infinite; }
.hero-down svg { animation: none; margin-top: -4px; }
.scrub-bar b, .strip-prog b { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; background: url(img/x/head.png) center / contain no-repeat; }
.scrub-bar { bottom: 34px; }
.strip-prog { position: relative; overflow: visible; }
.strip-prog b { left: 5%; width: 38px; height: 38px; margin: -19px 0 0 -19px; }
@supports (animation-timeline: view()) {
  .pin.pinned .strip-prog b { animation: headgo linear both; animation-timeline: --pin; animation-range: contain 0% contain 100%; }
}
@keyframes headgo { from { left: 5%; } to { left: 100%; } }
.strip-nav { margin-top: 26px; }
.foot-head { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 auto 14px; transform: rotate(-8deg); }

/* ---------- maps ---------- */
.maps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.info .maps a { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.maps svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* ---------- meet the staff ---------- */
.staff { max-width: 820px; margin: clamp(40px, 6vw, 64px) auto clamp(34px, 5vw, 52px); }
.staff > .kick { margin-bottom: 22px; }
.staff-grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 780px) { .staff-grid { grid-template-columns: 1.25fr 1fr; gap: 30px; } }
.hero-card { border: 2px solid var(--navy); border-radius: 10px; background: var(--paper); box-shadow: var(--hard); overflow: hidden; text-align: left; }
.hero-art { border-bottom: 2px solid var(--navy); background: #e2d6bb; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-txt { padding: 20px 22px 24px; }
.hero-role { margin: 0 0 8px; font: 700 12px/1.3 var(--round); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.hero-txt h3 { font: 400 clamp(34px, 5vw, 44px)/.95 var(--disp); letter-spacing: .005em; text-transform: uppercase; color: var(--navy); }
.hero-txt p:last-child { margin: 10px 0 0; font: 500 17px/1.42 var(--round); color: var(--muted); text-wrap: pretty; }
.pass { position: relative; padding-top: 46px; text-align: center; }
.pass-strap { position: absolute; top: 0; left: 50%; width: 34px; height: 64px; margin-left: -17px; background: var(--red); border: 2px solid var(--navy); border-top: 0; }
.pass-card { position: relative; max-width: 290px; margin: 0 auto; padding: 0 16px 16px; border: 2px solid var(--navy); border-radius: 14px; background: #fffdf7; box-shadow: var(--hard); transform: rotate(2deg); overflow: hidden; }
.pass-card::before { content: ""; position: absolute; top: 9px; left: 50%; width: 46px; height: 10px; margin-left: -23px; border-radius: 6px; background: var(--cream); border: 2px solid var(--navy); z-index: 1; }
.pass-top { display: flex; flex-direction: column; gap: 3px; margin: 0 -16px 14px; padding: 28px 12px 12px; background: var(--navy); color: var(--paper); font: 700 11px/1.2 var(--round); letter-spacing: .2em; text-transform: uppercase; }
.pass-top b { font: 400 26px/1 var(--disp); letter-spacing: .04em; color: var(--paper); }
.pass-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 2px solid var(--navy); border-radius: 4px; }
.pass-card h3 { margin-top: 12px; font: 400 30px/1 var(--disp); text-transform: uppercase; letter-spacing: .01em; color: var(--navy); }
.pass-role { margin: 4px 0 10px; font: 700 12px/1.2 var(--round); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.pass dl { margin: 0; text-align: left; border-top: 1.5px dashed var(--line); }
.pass dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1.5px dashed var(--line); font: 500 14px/1.3 var(--round); }
.pass dt { font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pass dd { margin: 0; color: var(--ink); text-align: right; }
.pass-bars { height: 30px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 12px, transparent 12px 14px); }
.pass-note { max-width: 290px; margin: 20px auto 0; font: 500 16px/1.38 var(--round); color: var(--muted); text-wrap: balance; }

/* ---------- jumper: thumbnails you can tap ---------- */
.grow-ticks { gap: 4px; margin-top: 12px; }
.grow-ticks button { height: auto; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 2px; background: #e2d6bb center / cover no-repeat; opacity: .38; cursor: pointer; transition: opacity .25s, transform .25s var(--ease), box-shadow .25s; }
.grow-ticks button.done { opacity: .7; }
.grow-ticks button.on { opacity: 1; transform: scale(1.18); box-shadow: 0 0 0 2px var(--red); }
.grow-frame { width: min(78vw, 420px, calc((100svh - 400px) * .75)); }
@media (min-width: 900px) { .grow-frame { width: min(460px, calc((100svh - 140px) * .75)); } .grow-in { grid-template-columns: auto minmax(0, 440px); } }

/* ---------- why we came: the quote stands alone ---------- */
.creed-in { display: block; max-width: 1000px; }
.creed blockquote { font-size: clamp(54px, 10.4vw, 132px); }

/* ---------- eagle ---------- */
.eagle { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(240px, 46vw, 560px); height: auto; pointer-events: none; will-change: transform; transform: translate3d(-120%, 30vh, 0); filter: drop-shadow(0 14px 18px rgba(0,0,0,.35)); }
.flagband img.eagle { inset: auto; left: 0; top: 0; height: auto; object-fit: contain; }
.flagq { z-index: 3; }

/* ---------- the move: left England, arrived Florida ---------- */
.move { max-width: 1040px; margin: 0 auto clamp(46px, 7vw, 80px); padding: 0 6px; }
.move > .kick { color: var(--paper); margin-bottom: 26px; }
.move-grid { display: grid; gap: 8px; }
.move .print { position: relative; max-width: 460px; width: 86%; box-shadow: 6px 8px 0 var(--navy-ink); }
.move-a { justify-self: start; transform: rotate(-2.2deg); margin: 0; }
.move-b { justify-self: end; transform: rotate(1.8deg); margin: 0; }
.move-path { position: relative; justify-self: center; width: 2px; height: 74px; border-left: 3px dashed rgba(250,243,227,.6); }
.move-path svg { display: none; }
.move-path span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 700 12px/1 var(--round); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.stamp { position: absolute; right: -12px; top: -16px; padding: 9px 12px; border: 3px double var(--red); border-radius: 6px; background: rgba(250,243,227,.9); color: var(--red); font: 400 19px/1 var(--disp); font-style: normal; letter-spacing: .06em; text-transform: uppercase; text-align: center; transform: rotate(9deg); }
.stamp.s2 { right: auto; left: -12px; border-color: var(--navy); color: var(--navy); transform: rotate(-8deg); }
@media (min-width: 860px) {
  .move-grid { grid-template-columns: 1fr 150px 1fr; align-items: center; gap: 0; }
  .move .print { width: 100%; }
  .move-b { margin-top: 70px; }
  .move-path { width: 100%; height: 60px; border: 0; }
  .move-path svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .move-path path { fill: none; stroke: rgba(250,243,227,.6); stroke-width: 3; stroke-dasharray: 8 8; vector-effect: non-scaling-stroke; }
  .move-path span { left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); }
}

/* ---------- cursor: a red ring says "you can press this" ---------- */
@media (hover: hover) and (pointer: fine) {
  a, button, .fb-frame, .v-dot, .stk.tap, summary, label { cursor: url(img/x/head-tap.png) 22 22, pointer; }
  .btn, .chips button, .tray button, .t-add, .brand, .menubtn, .grow-ticks button, .maps a { transition: transform .15s var(--ease), box-shadow .15s, opacity .2s; }
  .btn:hover, .maps a:hover { transform: translate(-1px, -2px); }
  .tray button:hover, .grow-ticks button:hover { transform: scale(1.12); opacity: 1; }
  .brand:hover, .menubtn:hover { box-shadow: 0 0 0 2px var(--gold) inset; }
  .v-dot:hover span { background: var(--gold); }
}

/* ---------- the BBQ ---------- */
#bbq .staff-grid { max-width: 900px; margin: clamp(34px, 5vw, 56px) auto 0; text-align: left; }
#bbq .hero-card, #bbq .pass-card { border-color: var(--paper); box-shadow: 6px 6px 0 var(--navy-ink); }
#bbq .hero-art { border-color: var(--navy); }
#bbq .pass-strap { border-color: var(--paper); }
#bbq .pass-note { color: rgba(250,243,227,.8); }
.pass-pic { position: relative; }
.pass-pic .stamp { right: -8px; top: auto; bottom: 10px; font-size: 17px; transform: rotate(-11deg); }
@media (min-width: 780px) { #bbq .staff-grid { grid-template-columns: 1.2fr 1fr; gap: 44px; } #bbq .pass { margin-top: 30px; } }

/* ---------- signatures in real ink ---------- */
.sigs { grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-top: 40px; align-items: end; }
.sig { min-height: 0; }
.sig .ink { display: block; width: auto; max-width: 100%; height: 78px; object-fit: contain; object-position: left bottom; margin-bottom: -10px; mix-blend-mode: multiply; }
.sig .s-ryan { height: 92px; transform: rotate(-3deg); transform-origin: left bottom; }
.sig .s-julie { height: 66px; transform: rotate(-1.5deg); transform-origin: left bottom; }
.sig .s-lilly { height: 70px; }
.sig .s-dougie { height: 86px; margin-bottom: -18px; transform: rotate(4deg); }
@media (min-width: 700px) { .sig .ink { height: 96px; } .sig .s-ryan { height: 116px; } .sig .s-julie { height: 84px; } .sig .s-lilly { height: 88px; } .sig .s-dougie { height: 108px; } }

/* ---------- the ending ---------- */
.thanks { padding-bottom: clamp(70px, 9vw, 120px); }
.finale { position: relative; background: var(--red) var(--grain); color: var(--paper); border-top: 10px solid var(--navy-ink); padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); text-align: center; overflow: hidden; }
.finale-stars { margin: 0 0 18px; font-size: 20px; letter-spacing: .5em; color: var(--paper); }
.finale .kick { color: var(--paper); }
.finale h2 { font-size: clamp(84px, 23vw, 250px); line-height: .86; color: var(--paper); }
.finale h2 span { display: block; }
.finale h2 span:last-child { color: var(--navy-ink); }
@media (min-width: 900px) { .finale h2 { font-size: clamp(120px, 15vw, 250px); } }
.finale-when { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin: 26px 0 0; padding: 10px 6px; border-top: 2px solid var(--paper); border-bottom: 2px solid var(--paper); font: 700 clamp(13px, 3.4vw, 17px)/1.3 var(--round); letter-spacing: .14em; text-transform: uppercase; }
.finale-when i { font-style: normal; font-size: .8em; color: var(--navy-ink); }
.finale-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.finale-go .btn { min-height: 52px; font-size: 15px; }
.finale-go .btn.ghost { color: var(--paper); border-color: var(--paper); }
.finale-doug { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 520px; margin: clamp(46px, 7vw, 74px) auto 0; text-align: left; }
.finale-doug img { flex: none; width: 96px; height: 96px; object-fit: contain; transform: rotate(-8deg); animation: bob 2.4s ease-in-out infinite; }
.finale-doug p { position: relative; margin: 0; padding: 14px 18px; border: 2px solid var(--navy-ink); border-radius: 10px; background: var(--paper); box-shadow: 4px 4px 0 var(--navy-ink); font: 500 17px/1.38 var(--round); color: var(--ink); text-wrap: pretty; }
.finale-doug p::before { content: ""; position: absolute; left: -9px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--paper); border-left: 2px solid var(--navy-ink); border-bottom: 2px solid var(--navy-ink); transform: rotate(45deg); }
footer { padding-top: 30px; }

/* ---------- the cake smash ---------- */
.smash { max-width: 620px; margin: clamp(60px, 9vw, 100px) auto 0; text-align: center; }
.smash h3 { font: 400 clamp(46px, 9vw, 84px)/.94 var(--disp); letter-spacing: .005em; text-transform: uppercase; color: var(--navy); }
.smash .cake { position: relative; width: min(84vw, 440px); aspect-ratio: 4 / 5; margin: 6px auto 4px; cursor: pointer; }
.smash .cake img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.smash .cake-a { transition: opacity .12s linear, transform .12s; transform-origin: 50% 90%; }
.smash .cake-b { position: absolute; inset: 0; opacity: 0; transform: scale(.86); transform-origin: 50% 88%; pointer-events: none; }
.smash .cake .cake-head { inset: auto; left: 50%; top: 1%; width: 30%; height: auto; margin-left: -15%; transform: translate3d(0, 60%, 0) scale(.3) rotate(-20deg); opacity: 0; }
.smash .cake.shake .cake-a { animation: wobble .42s linear; }
.smash .cake.out .cake-a { opacity: 0; transform: scale(1.06); }
.smash .cake.out .cake-b { opacity: 1; transform: none; transition: opacity .1s linear, transform .5s cubic-bezier(.2, 1.7, .4, 1); }
.smash .cake.out .cake-head { opacity: 1; transform: rotate(-4deg); transition: opacity .1s linear .08s, transform .6s cubic-bezier(.2, 1.9, .4, 1) .08s; animation: nod 2.6s ease-in-out .9s infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-2.5deg) scale(1.01); } 30% { transform: rotate(2.5deg); } 45% { transform: rotate(-3deg) scale(1.02); } 60% { transform: rotate(3deg); } 80% { transform: rotate(-2deg) scale(1.03); } }
@keyframes nod { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg) translate3d(0, -2%, 0); } }
.smash .confetti { left: 50%; top: 40%; width: 760px; height: 900px; margin: -450px 0 0 -380px; z-index: 5; }
.smash .btn { margin-top: 10px; }
.smash .wish-hint { margin-top: 14px; min-height: 2.8em; text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .smash .cake.shake .cake-a, .smash .cake.out .cake-head { animation: none; } }

/* ---------- six moods, take two: same crop every time, arrows, and a strip of faces to pick from ---------- */
.fb { grid-template-columns: minmax(0, 380px) minmax(0, 380px); grid-template-areas: "stage side" "stage thumbs"; grid-template-rows: 1fr auto; column-gap: clamp(28px, 5vw, 64px); row-gap: 22px; align-items: end; }
.fb-stage { grid-area: stage; position: relative; }
.fb-side { grid-area: side; align-self: end; }
.fb-thumbs { grid-area: thumbs; align-self: start; }
.fb-frame { aspect-ratio: 4 / 5; }
.fb-frame img { transition: opacity .28s ease; }
.fb-arr { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--navy); background: var(--paper); box-shadow: 3px 3px 0 var(--navy); transition: transform .15s var(--ease), box-shadow .15s; }
.fb-arr svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fb-prev { left: -18px; } .fb-next { right: -18px; }
.fb-arr:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.fb-q { min-height: 2.6em; }
.fb-dots.fb-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 0; }
.fb-thumbs button, .fb-thumbs button[aria-pressed="true"] { width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: none; transform: none; display: grid; gap: 6px; justify-items: center; opacity: .55; transition: opacity .2s, transform .25s var(--ease); }
.fb-thumbs button::after { display: none; }
.fb-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 3px solid var(--paper); border-radius: 3px; box-shadow: 0 0 0 1.5px var(--line); }
.fb-thumbs span { font: 700 10px/1.1 var(--round); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.fb-thumbs button[aria-pressed="true"] { opacity: 1; transform: translateY(-4px); }
.fb-thumbs button[aria-pressed="true"] img { box-shadow: 0 0 0 2.5px var(--red), 3px 4px 0 rgba(23,42,77,.18); }
@media (max-width: 760px) {
  .fb { grid-template-columns: 1fr; grid-template-areas: "stage" "side" "thumbs"; row-gap: 18px; text-align: center; }
  .fb-stage { width: min(78vw, 330px); margin: 0 auto; }
  .fb-frame { max-width: none; }
  .fb-side h3 { font-size: 44px; }
  .fb-q { min-height: 2.7em; margin-top: 6px; }
  .fb-thumbs { max-width: 400px; margin: 0 auto; width: 100%; gap: 6px !important; }
  .fb-thumbs span { display: none; }
}

/* ---------- the coffee run, dressed like the app: green, cream, a tight serif and a friendly sans ---------- */
#starbucks { --sb: #00704a; --sb-house: #1e3932; --sb-light: #d4e9e2; --sb-cream: #f9f7f3; --sb-ink: #1f1f1f; --sb-serif: "Newsreader", Georgia, serif; --sb-sans: "Figtree", "Libre Franklin", system-ui, sans-serif;
  background: linear-gradient(180deg, var(--navy) 0, var(--sb-house) 150px, var(--sb-house) calc(100% - 150px), var(--navy) 100%); font-family: var(--sb-sans); }
#starbucks .kick { color: var(--sb-light); font: 700 13px/1.3 var(--sb-sans); letter-spacing: .16em; }
#starbucks h2 { font: 500 clamp(44px, 7vw, 76px)/1.02 var(--sb-serif); letter-spacing: -.02em; text-transform: none; color: #fff; }
#starbucks .lede { font: 500 clamp(17px, 1.8vw, 20px)/1.5 var(--sb-sans); color: rgba(255,255,255,.86); }
#starbucks .builder { border: 0; border-radius: 20px; background: var(--sb-cream); box-shadow: 0 18px 50px rgba(0,0,0,.28); color: var(--sb-ink); }
#starbucks .tray { border: 0; border-radius: 14px; background: var(--sb-light); }
#starbucks .tray-hint { font: 500 14px/1.4 var(--sb-sans); color: #5c5c58; }
#starbucks form.order { gap: 20px; }
#starbucks .fld { position: relative; display: block; }
#starbucks .fld > span { position: absolute; left: 12px; top: -9px; z-index: 1; padding: 0 7px; background: var(--sb-cream); font: 600 13px/18px var(--sb-sans); letter-spacing: 0; text-transform: none; color: #5c5c58; }
#starbucks form.order input:not([type="file"]) { min-height: 58px; padding: 0 16px; border-radius: 10px; border: 1.5px solid #8d8d86; background: transparent; box-shadow: none; font: 500 18px/1.2 var(--sb-sans); color: var(--sb-ink); }
#starbucks form.order input:focus { border-color: var(--sb-ink); box-shadow: 0 0 0 1.5px var(--sb-ink); outline: none; }
#starbucks form.order input::placeholder { color: #a3a39c; }
#starbucks form.order input[name="name"] { font: 400 22px/1 "Permanent Marker", cursive; }
#starbucks .chips { margin-top: 0; gap: 10px; }
#starbucks .sizes .chips button { display: grid; gap: 3px; justify-items: center; min-height: 0; padding: 0; border: 0; background: none; color: var(--sb-ink); border-radius: 0; }
#starbucks .sizes b { font: 700 16px/1.1 var(--sb-sans); letter-spacing: 0; }
#starbucks .sizes small { font: 500 12px/1.1 var(--sb-sans); color: #5c5c58; }
#starbucks .sizes i { position: relative; display: block; width: 100%; max-width: 78px; height: 50px; margin-top: 6px; border: 1.5px solid #8d8d86; border-radius: 8px; transition: border-color .15s, transform .2s var(--ease); }
#starbucks .sizes i::before, #starbucks .sizes i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 62px; margin: -31px 0 0 -2.5px; border-radius: 3px; background: var(--sb-ink); transform: rotate(38deg) scaleY(0); transition: transform .18s var(--ease); }
#starbucks .sizes i::after { transform: rotate(-38deg) scaleY(0); transition-delay: .08s; }
#starbucks .sizes button[aria-pressed="true"] { background: none; color: var(--sb-ink); }
#starbucks .sizes button[aria-pressed="true"] small { color: #5c5c58; }
#starbucks .sizes button[aria-pressed="true"] i { border: 2.5px solid var(--sb-ink); }
#starbucks .sizes button[aria-pressed="true"] i::before { transform: rotate(38deg) scaleY(1); }
#starbucks .sizes button[aria-pressed="true"] i::after { transform: rotate(-38deg) scaleY(1); }
#starbucks .temps .chips { padding: 4px; gap: 4px; border-radius: 999px; background: #ebe8e1; }
#starbucks .temps .chips button { min-height: 46px; border: 0; border-radius: 999px; background: transparent; font: 700 16px/1 var(--sb-sans); color: var(--sb-ink); }
#starbucks .temps .chips button[aria-pressed="true"] { background: var(--sb-house); color: #fff; }
#starbucks .btn { border: 0; border-radius: 999px; box-shadow: none; font: 700 17px/1 var(--sb-sans); letter-spacing: 0; text-transform: none; }
#starbucks .addbtn { min-height: 58px; margin-top: 0; background: var(--sb); color: #fff; box-shadow: 0 6px 16px rgba(0,112,74,.28); }
#starbucks .btn:active { transform: scale(.97); }
#starbucks .btn.ghost { min-height: 46px; padding: 0 20px; border: 1.5px solid #fff; color: #fff; font-size: 15px; }
#starbucks .msg { font: 700 16px/1.35 var(--sb-sans); color: var(--sb); }
#starbucks .snap { padding: 16px; border-radius: 14px; background: var(--sb-light); display: grid; gap: 12px; justify-items: start; text-align: left; }
#starbucks .snap p { margin: 0; font: 500 15px/1.45 var(--sb-sans); color: var(--sb-house); }
#starbucks .snap b { font-weight: 700; }
#starbucks .snapbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--sb-house); background: transparent; font: 700 15px/1 var(--sb-sans); letter-spacing: 0; text-transform: none; color: var(--sb-house); }
#starbucks .snapbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
#starbucks .snapbtn:active { transform: scale(.97); }
#starbucks .snap.busy .snapbtn { opacity: .5; pointer-events: none; }
#starbucks .snap-msg:empty { display: none; }
#starbucks .snap-msg { font-weight: 700; }
#starbucks .wall-head h3 { font: 500 clamp(30px, 4vw, 40px)/1.05 var(--sb-serif); letter-spacing: -.015em; text-transform: none; color: #fff; }
#starbucks .cup .dr { font: 700 14px/1.3 var(--sb-sans); color: #fff; }
#starbucks .cup .ex { font: 500 12px/1.35 var(--sb-sans); color: rgba(255,255,255,.75); opacity: 1; max-width: 17em; }
#starbucks .empty { font: 500 16px/1.4 var(--sb-sans); color: rgba(255,255,255,.75); opacity: 1; }
@media (max-width: 480px) { #starbucks .sizes b { font-size: 15px; } #starbucks .sizes i { height: 46px; } }

/* ---------- the evidence: everyone's photos, pinned up like prints ---------- */
.ev-add { display: grid; gap: 12px; justify-items: center; margin-top: clamp(26px, 4vw, 40px); }
.ev-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.ev-name { width: min(100%, 340px); min-height: 48px; padding: 0 14px; border-radius: 6px; border: 1.5px solid var(--ink); background: #fffdf7; font: 500 16px/1.2 var(--sans); color: var(--ink); text-align: center; }
.ev-name:focus { outline: none; border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.ev-msg { margin: 0; min-height: 22px; font: 700 16px/1.35 var(--round); color: var(--red); }
.ev-add.busy .ev-btn { opacity: .5; pointer-events: none; }
.ev-wall { columns: 2; column-gap: 14px; margin-top: clamp(26px, 4vw, 44px); text-align: left; }
@media (min-width: 700px) { .ev-wall { columns: 3; column-gap: 20px; } }
@media (min-width: 1040px) { .ev-wall { columns: 4; } }
.ev-p { display: block; width: 100%; margin: 0 0 14px; padding: 7px 7px 9px; border: 0; break-inside: avoid; background: var(--paper); box-shadow: 0 0 0 1.5px var(--line), 4px 5px 0 rgba(23,42,77,.14); transform: rotate(var(--r, 0deg)); transition: transform .25s var(--ease); }
@media (min-width: 700px) { .ev-p { margin-bottom: 20px; padding: 9px 9px 11px; } }
.ev-p img { display: block; width: 100%; height: auto; background: var(--cream); }
.ev-p span { display: block; margin-top: 7px; font: 400 15px/1 "Permanent Marker", cursive; color: var(--navy); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-p:active { transform: rotate(0deg) scale(.97); }
.ev-p.new { animation: drop .6s cubic-bezier(.2,1.4,.4,1) both; }
.ev-empty { column-span: all; margin: 0; padding: 34px 20px; border: 2px dashed var(--line); border-radius: 8px; font: 500 17px/1.45 var(--round); color: var(--muted); text-align: center; text-wrap: balance; }
.ev-view { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 10px; padding: 56px 14px 24px; background: rgba(10,16,32,.94); }
.ev-view[hidden] { display: none; }
.ev-view img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border: 8px solid var(--paper); }
.ev-view p { margin: 0; min-height: 20px; font: 400 18px/1 "Permanent Marker", cursive; color: var(--paper); }
.ev-x { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--navy); font: 400 30px/1 var(--sans); }
html.ev-open { overflow: hidden; }
#starbucks form.order textarea { display: block; width: 100%; min-height: 84px; padding: 18px 16px 14px; border-radius: 10px; border: 1.5px solid #8d8d86; background: transparent; font: 500 18px/1.35 var(--sb-sans); color: var(--sb-ink); resize: none; }
#starbucks form.order textarea:focus { border-color: var(--sb-ink); box-shadow: 0 0 0 1.5px var(--sb-ink); outline: none; }
#starbucks form.order textarea::placeholder { color: #a3a39c; }
@media (max-width: 760px) { .fb-stage { width: min(70vw, 290px); } .fb { row-gap: 14px; } }

/* ---------- bonus mood: the laughing video ---------- */
.gig { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 320px); gap: clamp(24px, 5vw, 64px); align-items: center; justify-content: center; margin-top: clamp(48px, 7vw, 84px); padding-top: clamp(40px, 6vw, 64px); border-top: 2px dashed var(--line); text-align: left; }
.gig h3 { margin: 0; font: 400 clamp(44px, 6vw, 64px)/.94 var(--disp); text-transform: uppercase; color: var(--navy); }
.gig-q { margin: 12px 0 0; font: 500 clamp(18px, 2vw, 21px)/1.42 var(--round); color: var(--ink); text-wrap: pretty; }
.gig-v { position: relative; display: block; width: 100%; padding: 0; border: 10px solid var(--paper); border-radius: 4px; background: var(--paper); box-shadow: 0 0 0 1.5px var(--line), 6px 8px 0 rgba(23,42,77,.16); transform: rotate(1.2deg); overflow: hidden; }
.gig-v video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream); pointer-events: none; }
.gig-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--navy); background: var(--red); box-shadow: 4px 4px 0 var(--navy); transition: opacity .2s, transform .2s var(--ease); }
.gig-play svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--paper); }
.gig-v.on .gig-play { opacity: 0; transform: scale(.7); }
@media (max-width: 760px) { .gig { grid-template-columns: 1fr; text-align: center; gap: 22px; } .gig-v { width: min(74vw, 310px); margin: 0 auto; } }
.gig-play { left: auto; top: auto; right: 14px; bottom: 14px; margin: 0; width: 64px; height: 64px; }
.gig-play svg { width: 28px; height: 28px; }
.ev-p span { white-space: normal; overflow: visible; font-size: 14px; line-height: 1.2; text-wrap: balance; }

/* the screenshot helper, now a quiet line under the stickers */
#starbucks .snap { margin-top: 10px; padding: 0; background: none; border-radius: 0; display: block; text-align: center; }
#starbucks .snap p { font: 500 13.5px/1.5 var(--sb-sans); color: #77776f; }
#starbucks .snapbtn { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; font: 600 13.5px/1.5 var(--sb-sans); color: var(--sb); text-decoration: underline; text-underline-offset: 3px; }
#starbucks .snap-msg { margin-top: 4px; font-weight: 700; color: var(--sb); }
#starbucks .snap.busy .snapbtn { opacity: .5; }
.fb-q { min-height: 3.9em; }
@media (max-width: 760px) { .fb-q { min-height: 4em; } }

/* stickers tray stays inside the card on iPhones */
.tray { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tray button { min-width: 0; }
.b-cup, .builder > * { min-width: 0; }
/* smaller cups on the wall, and edit / remove on your own */
#starbucks .cups { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 26px 12px; }
#starbucks .cup .cupbox { width: 88px; }
#starbucks .cup .dr { font-size: 13px; }
#starbucks .cup .ex { font-size: 11.5px; }
.cup-act { display: flex; gap: 12px; justify-content: center; margin-top: 6px; }
.cup-act button { padding: 4px 2px; border: 0; background: none; font: 600 12.5px/1 var(--sb-sans, sans-serif); color: #d4e9e2; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) { #starbucks .cups { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } #starbucks .cup .cupbox { width: 104px; } }
/* photo wall columns are real columns now (the old kind flickered on iPhones) */
.ev-wall { columns: auto; display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 700px) { .ev-wall { columns: auto; gap: 20px; } }
.ev-col { flex: 1 1 0; min-width: 0; }
.ev-wall > .ev-empty { flex: 1 1 100%; }
.cup { align-content: start; }
