/* ============ My Boyfriend Application ============ */
:root {
  --bg: #fbf5ee;
  --paper: #fffdf9;
  --ink: #221b18;
  --muted: #6e625b;
  --line: #eadfd4;
  --rose: #e0445a;
  --rose-deep: #b42c43;
  --blush: #f8dcd8;
  --gold: #e3a83b;
  --sage: #4f7a5a;
  --shadow: 0 18px 40px -18px rgba(70, 30, 20, .35);
  --radius: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; color: var(--rose); }
.hand { font-family: var(--hand); }

/* subtle paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .35;
  background-image: radial-gradient(rgba(120, 80, 60, .07) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* ================= QUIZ GATE ================= */
.gate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center; grid-template-columns: minmax(0, 1fr);
  padding: 20px;
  background:
    radial-gradient(1200px 600px at 10% -10%, #ffe3dc 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 110%, #fde9c9 0%, transparent 60%),
    var(--bg);
  overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable;
  transition: opacity .7s ease, visibility .7s;
}
.gate.gone { opacity: 0; visibility: hidden; }

.card {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 30px 26px 26px;
}
.card-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: 0 0 0 2px var(--rose);
}
.card-top b { display: block; font-size: 16px; }
.app-badge {
  margin-left: auto; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-deep); border: 1px solid var(--blush); padding: 5px 10px; border-radius: 99px;
  background: #fff6f4; white-space: nowrap;
}

.step { display: none; animation: stepIn .5s cubic-bezier(.2, .8, .2, 1); }
.step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* chat bubbles */
.chat { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 22px; }
.bubble {
  align-self: flex-start; max-width: 88%;
  background: #f3ece6; padding: 11px 15px; border-radius: 18px 18px 18px 6px;
  font-size: 16px; line-height: 1.45;
  opacity: 0; transform: translateY(8px) scale(.98);
  animation: bubble .45s forwards;
}
.bubble:nth-child(1) { animation-delay: .2s; }
.bubble:nth-child(2) { animation-delay: 1s; }
.bubble:nth-child(3) { animation-delay: 1.8s; }
.bubble:nth-child(4) { animation-delay: 2.6s; }
@keyframes bubble { to { opacity: 1; transform: none; } }
.typing-delay { opacity: 0; animation: bubble .45s 3.2s forwards; }

.btn {
  appearance: none; border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans);
  padding: 16px 24px; border-radius: 99px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .2s, background .2s, box-shadow .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); background: var(--rose-deep); }
.btn:active { transform: scale(.98); }
.btn.rose { background: var(--rose); box-shadow: 0 12px 26px -12px rgba(224, 68, 90, .7); }
.btn.rose:hover { background: var(--rose-deep); }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn.ghost:hover { color: var(--ink); background: #fff; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* question */
.progress { display: flex; gap: 6px; margin-bottom: 18px; }
.progress i { flex: 1; height: 5px; border-radius: 9px; background: var(--line); transition: background .4s; }
.progress i.on { background: var(--rose); }
.q-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.q-title { font-family: var(--serif); font-size: clamp(23px, 5.4vw, 29px); line-height: 1.18; margin: 0 0 20px; }
.options { display: grid; gap: 10px; }
.opt {
  appearance: none; cursor: pointer; text-align: left;
  font: 500 16px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
  padding: 15px 16px; display: flex; gap: 12px; align-items: center;
  transition: border-color .2s, transform .2s, background .2s;
}
.opt:hover { border-color: var(--rose); transform: translateX(3px); }
.opt .e { font-size: 22px; flex: none; width: 30px; text-align: center; }
.opt.picked { border-color: var(--rose); background: #fff3f1; }

.slider-wrap { text-align: center; }
.big-emoji { font-size: 74px; line-height: 1; margin: 4px 0 6px; transition: transform .2s; }
.slider-label { font-weight: 600; min-height: 26px; margin-bottom: 14px; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 9px;
  background: linear-gradient(90deg, var(--rose) var(--p, 50%), var(--line) var(--p, 50%));
  outline: none; margin: 8px 0 6px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 3px solid var(--rose); box-shadow: 0 4px 10px rgba(0, 0, 0, .15); cursor: grab;
}
input[type=range]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--rose); cursor: grab;
}
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* checking */
.checking h3 { font-size: 26px; margin-bottom: 18px; }
.check-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 2px; border-bottom: 1px dashed var(--line); font-weight: 500;
}
.check-row .st { font-size: 14px; color: var(--muted); }
.check-row .st.ok { color: var(--sage); font-weight: 700; }
.check-row .st.no { color: var(--rose-deep); font-weight: 700; }
.spinner { width: 34px; height: 34px; margin: 4px auto 14px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--rose); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.result { text-align: center; }
.result .big { font-size: 64px; margin-bottom: 6px; }
.result h2 { font-size: clamp(30px, 7vw, 40px); margin-bottom: 12px; }
.result p { color: var(--muted); margin: 0 0 22px; }
.result .sig { font-family: var(--hand); font-size: 26px; color: var(--ink); margin: -8px 0 22px; }
.tiny-link {
  background: none; border: 0; color: var(--muted); font: 14px var(--sans); text-decoration: underline;
  cursor: pointer; margin-top: 14px;
}

/* ================= MAIN ================= */
main { position: relative; z-index: 1; }
.scrollbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 32px;
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: rgba(251, 245, 238, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: .06em; color: var(--muted);
}
.scrollbar .track { flex: 1; height: 4px; background: var(--line); border-radius: 9px; overflow: hidden; }
.scrollbar .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--rose), var(--gold)); }
.scrollbar b { color: var(--ink); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }

.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
section { padding: 90px 0; position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-deep);
  margin-bottom: 14px;
}
.h2 { font-size: clamp(38px, 7vw, 66px); margin-bottom: 18px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 40px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 70px; min-height: 100svh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--hand); font-size: 26px; color: var(--rose-deep); margin-bottom: 4px; transform: rotate(-2deg); display: inline-block; }
.hero h1 { font-size: clamp(54px, 10vw, 112px); margin-bottom: 22px; }
.hero h1 em { font-weight: 400; }
.hero p.intro { font-size: clamp(18px, 2.3vw, 21px); color: var(--muted); max-width: 520px; margin: 0 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 30px; list-style: none; }
.chips li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 99px;
  padding: 7px 14px; font-size: 14px; font-weight: 500;
}
.polaroid {
  background: #fff; padding: 12px 12px 0; border-radius: 6px;
  box-shadow: var(--shadow), 0 1px 0 rgba(0, 0, 0, .04);
  position: relative;
}
.polaroid img, .polaroid video { width: 100%; border-radius: 2px; }
.polaroid figcaption { font-family: var(--hand); font-size: 23px; line-height: 1.2; text-align: center; padding: 10px 6px 14px; color: #3a302b; }
.tape::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(240, 214, 170, .75); box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}
.hero .polaroid { transform: rotate(2.5deg); max-width: 520px; justify-self: center; }
.hero .polaroid img { aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 48% 30%; }
.stamp {
  position: absolute; right: -18px; bottom: 70px; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--rose); color: var(--rose-deep); background: rgba(255, 253, 249, .92);
  font: 700 12px/1.25 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(-14deg);
}
.stamp b { display: block; font: 600 28px/1 var(--serif); letter-spacing: 0; }
.scroll-hint { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.scroll-hint span { display: inline-block; animation: bob 1.6s infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- Friends ---------- */
.friends { background: linear-gradient(180deg, transparent, #fff 12%, #fff 88%, transparent); }
.friends-feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 42px; align-items: start; margin-bottom: 60px; }
.annot { position: relative; }
.annot svg.overlay { position: absolute; left: 12px; right: 12px; top: 12px; width: calc(100% - 24px); height: auto; pointer-events: none; overflow: visible; }
.annot .arrow { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.annot .arrow.rose { stroke: #ff6178; }
.annot text {
  font-family: var(--hand); font-weight: 700; fill: #fff;
  paint-order: stroke; stroke: rgba(30, 15, 10, .55); stroke-width: 6px;
}
.annot .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.annot.in .draw { animation: draw 1.1s .5s cubic-bezier(.6, 0, .3, 1) forwards; }
.annot.in .draw.d2 { animation-delay: 1.2s; }
.annot text { opacity: 0; }
.annot.in text { animation: fadeIn .5s .35s forwards; }
.annot.in text.t2 { animation-delay: 1.05s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.bff { transform: rotate(-1.8deg); }
.alex { transform: rotate(1.4deg); margin-top: 10px; }
.friends-quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.25;
  margin: 26px 0 8px; color: var(--ink);
}
.friends-quote + small { color: var(--muted); }
.side-note { font-family: var(--hand); font-size: 26px; color: var(--rose-deep); line-height: 1.2; margin-top: 26px; transform: rotate(-1.5deg); }

.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.collage .polaroid:nth-child(odd) { transform: rotate(-2deg); }
.collage .polaroid:nth-child(even) { transform: rotate(2deg); margin-top: 26px; }
.collage img { aspect-ratio: 1; object-fit: cover; }
.polaroid { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.collage .polaroid:hover, .sport-grid .polaroid:hover { transform: rotate(0) scale(1.04); z-index: 3; }

/* ---------- Family ---------- */
.family { padding: 60px 0; }
.family .lead { margin-bottom: 28px; }
.family-grid { display: grid; grid-template-columns: .62fr 1fr 1fr; gap: 28px; align-items: center; }
.family-grid .baby { transform: rotate(-3deg); }
.family-grid .dad { transform: rotate(2deg); }
.family-grid .fam { transform: rotate(-1.5deg); }

/* ---------- Journey ---------- */
.journey { background: #201916; color: #f6ede6; overflow: hidden; }
.journey .kicker { color: #ff8a9a; }
.journey .lead { color: #bfaea4; }
.journey em { color: #ff8a9a; }
.route { position: relative; padding-left: 64px; }
.route-line { position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(#5a4a42 0 8px, transparent 8px 16px); }
.route-fill { position: absolute; left: 22px; top: 8px; width: 2px; height: 0; background: linear-gradient(#ff6178, var(--gold)); }
.route-plane { position: absolute; left: 10px; top: 0; font-size: 22px; transform: rotate(90deg); transition: top .1s linear; filter: drop-shadow(0 0 8px rgba(255, 97, 120, .6)); }
.stop { position: relative; padding-bottom: 70px; }
.stop:last-child { padding-bottom: 10px; }
.stop-dot {
  position: absolute; left: -51px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: #201916; border: 2px solid #ff6178; box-shadow: 0 0 0 6px rgba(255, 97, 120, .12);
}
.stop-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 8px; }
.stop-head h3 { font-size: clamp(34px, 5.5vw, 52px); }
.stop-head .when { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #bfaea4; }
.stop-head .flag { font-size: 26px; }
.stop p { color: #d8c9bf; max-width: 640px; margin: 0 0 20px; }
.stop p strong { color: #fff; }
.stop-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; max-width: 900px; }
.stop-photos .polaroid { background: #f9f3ec; }
.stop-photos .polaroid:nth-child(odd) { transform: rotate(-1.5deg); }
.stop-photos .polaroid:nth-child(even) { transform: rotate(1.5deg); }
.stop-photos img { aspect-ratio: 3 / 4; object-fit: cover; }
.stop-photos.wide { grid-template-columns: minmax(0, 700px); }
.stop-photos.wide img { aspect-ratio: 4 / 3; }
.stop-photos.mid { grid-template-columns: minmax(0, 360px); }
.stop-photos.abi { grid-template-columns: minmax(0, 440px); }
.stop-photos.abi img { aspect-ratio: auto; }
.stop-photos.more { margin-top: 18px; }
.stop-photos.five { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1040px; }
.stop-photos.mid img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
.stop-photos.duo { grid-template-columns: 1.45fr 1fr; align-items: start; max-width: 820px; }
.stop-photos.duo .polaroid:first-child img { aspect-ratio: 4 / 3; }
.stop-photos.duo .polaroid:last-child img { aspect-ratio: 3 / 4; object-position: 50% 30%; }
.pill {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 99px; background: rgba(255, 97, 120, .15); color: #ff9aa8; margin: 0 6px 8px 0;
}

/* video card */
.vcard {
  display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center;
  text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px; padding: 10px; max-width: 520px; margin-top: 22px;
  transition: background .25s, transform .25s;
}
.vcard:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); }
.vthumb { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vcard:hover .vthumb img { transform: scale(1.06); }
.vthumb::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 0, 0, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
}
.vcard b { display: block; font-size: 16px; line-height: 1.3; }
.vcard small { color: #bfaea4; font-size: 13px; }

/* ---------- Sport ---------- */
.sport-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; margin-bottom: 34px; }
.sport-top .polaroid:first-child { transform: rotate(-1.5deg); }
.sport-left { display: grid; gap: 30px; }
.sport-left .team { transform: rotate(1.2deg); }
@media (min-width: 901px) { .sport-top { align-items: stretch; } .sport-top > .dunk { position: sticky; top: 56px; align-self: start; } }
.dunk { transform: rotate(2deg); max-width: 360px; justify-self: center; }
.dunk video { aspect-ratio: 9 / 16; object-fit: cover; background: #111; }
.play-btn {
  position: absolute; left: 50%; top: 45%; z-index: 3; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(224, 68, 90, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 34px no-repeat;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.play-btn[hidden] { display: none; }
.dunk .badge {
  position: absolute; top: 22px; left: 22px; z-index: 2; font: 700 11px/1 var(--sans); letter-spacing: .12em;
  background: var(--rose); color: #fff; padding: 6px 9px; border-radius: 6px; text-transform: uppercase;
}
.sport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.sport-grid img { aspect-ratio: 3 / 4; object-fit: cover; }
.sport-grid .polaroid:nth-child(odd) { transform: rotate(1.8deg); }
.sport-grid .polaroid:nth-child(even) { transform: rotate(-1.8deg); margin-top: 22px; }

/* ---------- Heart & Head ---------- */
.hh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: 0 10px 30px -20px rgba(70, 30, 20, .3);
}
.panel h3 { font-size: 30px; margin-bottom: 12px; }
.panel p { color: var(--muted); margin: 0 0 14px; }
.verse { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); margin-top: 18px; }
.verse small { display: block; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); margin-top: 4px; }
.lang-quote { margin: 6px 0 22px; }
.faith { background: linear-gradient(160deg, #fff, #fff6ec); }
.books .small-note { font-family: var(--hand); font-size: 24px; color: var(--rose-deep); margin: -6px 0 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.stat b { display: block; font: 600 30px/1.05 var(--serif); color: var(--rose-deep); }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }

.langs { grid-column: 1 / -1; }
.favs { grid-column: 1 / -1; }
.fav-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px 40px; margin-top: 6px; }
.fav-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep) !important; margin: 0 0 8px !important; }
.fav-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fav-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.fav-list b { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.fav-list span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; }
.lang {
  display: flex; flex-direction: column; padding: 12px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  min-width: 118px;
}
.lang b { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.lang span { font-size: 13px; color: var(--muted); }
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.langs .vcard { background: #fff; border-color: var(--line); color: var(--ink); margin: 0; max-width: none; }
.langs .vcard:hover { background: #fff7f5; }
.langs .vcard small { color: var(--muted); }
.yt-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--rose-deep); text-decoration: none; }
.yt-link:hover { text-decoration: underline; }

/* ---------- Reasons ---------- */
.reasons { background: linear-gradient(180deg, transparent, #fff1ee 15%, #fff1ee 85%, transparent); }
.score { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--hand); font-size: 28px; color: var(--rose-deep); margin: 0 0 30px; }
.score b { font: 600 44px/1 var(--serif); color: var(--ink); }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reason {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 22px 22px; box-shadow: 0 10px 30px -22px rgba(70, 30, 20, .35);
  transition: transform .3s, box-shadow .3s;
}
.reason:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow); }
.reason .ic { font-size: 30px; margin-bottom: 10px; display: block; }
.reason h3 { font-size: 24px; margin-bottom: 6px; }
.reason p { margin: 0; color: var(--muted); font-size: 15.5px; }
.reason .tick {
  position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700;
  transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.reason.in .tick { transform: scale(1); transition-delay: .5s; }
.reason.featured { background: linear-gradient(150deg, #fff, #fff7e8); border-color: #f1dcb3; }
.reason.featured h3 { color: #8a5a10; }
.money { font-family: var(--serif); font-size: 27px; line-height: 1.15; color: var(--ink); display: block; margin: 2px 0 6px; }

/* ---------- Final question ---------- */
.final {
  min-height: 100svh; display: grid; place-items: center; grid-template-columns: minmax(0, 1fr); text-align: center;
  background:
    radial-gradient(700px 400px at 50% 30%, #ffe0dc, transparent 70%),
    var(--bg);
  overflow: hidden; user-select: none; -webkit-user-select: none;
}
.final .kicker { justify-content: center; }
.final h2 { font-size: clamp(46px, 10vw, 104px); margin-bottom: 14px; }
.final p { color: var(--muted); margin: 0 auto 40px; max-width: 460px; }
.answer { display: flex; gap: 18px; justify-content: center; align-items: center; min-height: 80px; }
#yes { font-size: 20px; padding: 20px 42px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
#no { font-size: 18px; padding: 18px 34px; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
#no.flying { position: absolute; z-index: 5; transition: left .28s cubic-bezier(.3, 1.3, .5, 1), top .28s cubic-bezier(.3, 1.3, .5, 1); }
.no-hint { font-family: var(--hand); font-size: 22px; color: var(--rose-deep); min-height: 30px; margin-top: 26px; }

/* celebration */
.celebrate {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; grid-template-columns: minmax(0, 1fr); padding: 20px;
  background: rgba(34, 27, 24, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.celebrate.show { opacity: 1; visibility: visible; }
.celebrate .card { text-align: center; transform: scale(.85); transition: transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.celebrate.show .card { transform: scale(1); }
.celebrate .big { font-size: 70px; }
.celebrate h2 { font-size: clamp(34px, 8vw, 48px); margin: 6px 0 12px; }
.celebrate p { color: var(--muted); margin: 0 0 16px; }
.celebrate .sig { font-family: var(--hand); font-size: 28px; margin: 0 0 6px; }
.contact { display: grid; gap: 10px; margin: 4px 0 18px; text-align: left; }
.contact p { text-align: center; }
.contact input, .contact textarea {
  width: 100%; font: 16px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; outline: none; resize: none;
  transition: border-color .2s;
}
.contact input:focus, .contact textarea:focus { border-color: var(--rose); }
.form-error { color: var(--rose-deep) !important; font-size: 14px; min-height: 18px; margin: 0 !important; text-align: center; }
.sent p { color: var(--sage) !important; font-weight: 600; margin: 6px 0 18px; }
.celebrate .card { max-height: calc(100svh - 40px); overflow-y: auto; }
#confetti { position: fixed; inset: 0; z-index: 70; pointer-events: none; }

footer { text-align: center; padding: 30px 20px 50px; color: var(--muted); font-size: 14px; }
footer .hand { font-size: 22px; color: var(--rose-deep); }

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .stop-photos.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  section { padding: 70px 0; }
  .hero { padding-top: 80px; }
  .hero-grid, .friends-feature, .family-grid, .sport-top, .hh-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid .hero-photo { order: -1; }
  .hero .polaroid { max-width: 400px; }
  .stamp { right: -6px; bottom: 60px; width: 96px; height: 96px; font-size: 10px; }
  .stamp b { font-size: 24px; }
  .collage, .sport-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sport-grid .polaroid:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); margin-top: 0; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .family-grid { grid-template-columns: .8fr 1.2fr; gap: 16px; }
  .family-grid .fam { grid-column: 1 / -1; width: 92%; justify-self: center; margin-top: 6px; }
  .vids { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .card { padding: 24px 18px 20px; border-radius: 24px; }
  .app-badge { display: none; }
  .route { padding-left: 44px; }
  .route-line, .route-fill { left: 12px; }
  .route-plane { left: 0; }
  .stop-dot { left: -41px; }
  .stop-photos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stop-photos.five { grid-template-columns: 1fr 1fr; }
  .stop-photos.duo { grid-template-columns: 1fr; gap: 18px; }
  .stop-photos.duo .polaroid:last-child { width: 78%; justify-self: center; }
  .polaroid { padding: 8px 8px 0; }
  .polaroid figcaption { font-size: 19px; padding: 7px 4px 10px; }
  .annot svg.overlay { left: 8px; right: 8px; top: 8px; width: calc(100% - 16px); }
  .reason-grid { grid-template-columns: 1fr; }
  .vcard { grid-template-columns: 130px 1fr; }
  .stats { grid-template-columns: 1fr; }
  .fav-cols { grid-template-columns: 1fr; }
  .panel { padding: 26px 20px; }
  .answer { gap: 14px; }
  #yes { padding: 18px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .annot .draw { stroke-dashoffset: 0; }
  .annot text { opacity: 1; }
}
