/* Sangbrev — "Love Letter" design. Mobile first; desktop centres a 560px column. */
:root {
  --cream: #F6EFE6;
  --paper: #FFFBF6;
  --sand: #EFE3D6;
  --line: #E2CFC4;
  --wine: #5B1A2B;
  --wine-dark: #3E0F1C;
  --ink: #2A1A1F;
  --body: #5A4449;
  --muted: #7A4A55;
  --accent: #C8553D;
  --on-dark: #FFF7EE;
  --ok: #2F6B4F;
  --danger: #A3261F;
  --serif: 'Gilroy', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Gilroy', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px;
  --shadow-hard: 4px 4px 0 var(--ink);
  --col: 560px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--wine); }
a:hover { color: var(--wine-dark); }
button, input, textarea, select { font: inherit; color: inherit; }
em { font-style: italic; }
h1 em, h2 em, .serif em { color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Header */
.site-header { height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -0.02em; color: var(--wine); text-decoration: none; }
.logo span { font-style: italic; font-weight: 600; color: var(--accent); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; text-transform: uppercase; text-decoration: none; color: var(--muted); border-radius: 22px; }
.lang-switch a[aria-current="true"] { color: var(--wine); background: var(--sand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 22px; border-radius: var(--radius);
  border: 2px solid var(--ink); background: var(--wine); color: var(--on-dark); font-weight: 700; font-size: 17px; text-decoration: none;
  box-shadow: var(--shadow-hard); cursor: pointer; transition: transform .08s ease, box-shadow .08s ease; -webkit-tap-highlight-color: transparent; }
.btn:hover { color: var(--on-dark); background: var(--wine-dark); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: var(--shadow-hard); }
.btn.block { width: 100%; }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover { background: var(--sand); color: var(--ink); }
.btn.small { min-height: 44px; font-size: 15px; padding: 0 16px; box-shadow: 3px 3px 0 var(--ink); }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--wine); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pay-after { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--wine); }

/* Chips and choice grids */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid var(--line); background: transparent; color: var(--wine); font-weight: 500; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--wine); border-color: var(--wine); color: var(--on-dark); font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { min-height: 60px; padding: 8px 12px; border-radius: 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 16px;
  box-shadow: 3px 3px 0 var(--ink); cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; text-align: center; }
.choice:hover { color: var(--ink); background: var(--sand); }
.choice[aria-checked="true"] { background: var(--wine); color: var(--on-dark); }

/* Cards */
.card { background: var(--paper); border-radius: 22px; padding: 18px; box-shadow: 0 16px 36px rgba(91, 26, 43, .12); }
.lyric { font-family: var(--serif); font-size: 20px; line-height: 1.35; white-space: pre-line; }

/* Player */
.player { display: flex; align-items: center; gap: 12px; }
.play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; box-shadow: 0 6px 16px rgba(200, 85, 61, .35); }
.play svg { width: 20px; height: 20px; fill: var(--on-dark); }
.play:disabled { background: var(--line); box-shadow: none; cursor: not-allowed; }
.wave { flex: 1; height: 36px; display: flex; align-items: center; gap: 3px; cursor: pointer; }
.wave i { flex: 1; max-width: 5px; border-radius: 2px; background: var(--line); }
.wave i.on { background: var(--accent); }
.time { font-size: 12px; color: var(--muted); min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }

/* Landing */
.hero { padding: 14px 0 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(40px, 11vw, 60px); line-height: 1.02; }
.hero p { margin: 0; color: var(--body); max-width: 340px; }

/* People moments: swipeable on mobile, bleeds to the screen edge */
.moments { margin: 0 -20px 26px; }
.moments-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 10px; scrollbar-width: none; }
.moments-row::-webkit-scrollbar { display: none; }
.moment { position: relative; flex: 0 0 62%; max-width: 240px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--ink); box-shadow: var(--shadow-hard); scroll-snap-align: center; text-decoration: none; background: var(--sand); }
.moment img { width: 100%; height: 100%; object-fit: cover; display: block; }
.moment span { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(246, 239, 230, .94);
  color: var(--wine); font-family: var(--serif); font-size: 16px; line-height: 1.2; }
@media (min-width: 600px) { .moment { flex-basis: 220px; } }
.sample-card { display: flex; flex-direction: column; gap: 12px; }
.sample-card .meta-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sample-card .meta-row .byline { flex: 1; }
.sample-card .byline { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); }
.sample-card .meta { font-size: 12px; color: var(--muted); text-align: right; }
.sample-card .lyric { min-height: 108px; }
.sample-tabs { display: flex; gap: 6px; }
.sample-tabs .chip { flex: 1; padding: 0 6px; font-size: 14px; }
.section { padding: 44px 0 0; }
.section h2 { margin: 0 0 20px; font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; font-size: 32px; line-height: 1.1; }
.steps { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 16px; }
.steps .num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--accent); width: 32px; flex-shrink: 0; }
.steps h3 { margin: 0 0 4px; font-size: 17px; }
.steps p { margin: 0; color: var(--body); font-size: 15px; }
.receive { background: var(--wine); color: var(--on-dark); border-radius: 26px; padding: 26px 20px; display: flex; flex-direction: column; gap: 16px; }
.receive .eyebrow { color: #EBD3CB; }
.receive { overflow: hidden; }
.gift-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
.gift-row::-webkit-scrollbar { display: none; }
.gift-row .gift { flex: 0 0 82%; max-width: 300px; scroll-snap-align: center; }
.gift .cover { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--sand); }
.gift .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift .cover small { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 8px; background: rgba(246, 239, 230, .94); color: var(--wine); font-size: 12px; font-weight: 700; }
.gift .player.mini { gap: 10px; }
.receive .gift { background: var(--on-dark); color: var(--ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cover-ph { aspect-ratio: 16 / 10; border-radius: 12px; background: linear-gradient(135deg, #E8C9B8, #D9A48F); display: flex; align-items: flex-end; padding: 12px; font-size: 13px; color: #5A3A42; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--sand); }
.price-row.main { background: var(--paper); border: 1.5px solid var(--wine); }
.price-row strong { display: block; }
.price-row small { color: var(--body); font-size: 14px; }
.price { font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 0 0 16px; color: var(--body); }
.occasions { margin-top: 44px; padding: 44px 0 120px; background: var(--paper); }
.site-footer { padding: 28px 0 120px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; }
.occasions + .site-footer { padding-top: 0; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(246, 239, 230, .96);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(91, 26, 43, .08); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; max-width: calc(var(--col) - 40px); margin: 0 auto; display: flex; }

/* Create flow */
.flow-top { position: sticky; top: 0; z-index: 10; background: var(--cream); }
.progress-old { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .3s ease; }
.screen { padding: 20px 0 140px; display: flex; flex-direction: column; gap: 18px; }
.screen h1 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; font-size: 34px; line-height: 1.08; }
.screen .sub { margin: -6px 0 0; color: var(--body); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .label { font-weight: 700; font-size: 15px; }
.input, .textarea { width: 100%; min-height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 14px 16px; font-size: 17px; }
.input:focus, .textarea:focus { border-color: var(--wine); outline: none; box-shadow: 0 0 0 3px rgba(91, 26, 43, .15); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.45; }
.textarea.lyrics { min-height: 420px; font-family: var(--serif); font-size: 18px; }
.hint { font-size: 13px; color: var(--muted); }
.error-msg { color: var(--danger); font-size: 14px; font-weight: 700; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(246, 239, 230, .97); border-top: 1px solid var(--line); }
.bottom-bar .inner { max-width: calc(var(--col) - 40px); margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.bottom-bar .row { display: flex; gap: 10px; align-items: center; }
.bottom-bar .row .btn { flex: 1; }
.bottom-bar .row .back-btn { flex: 0 0 56px; width: 56px; padding: 0; }
.loader { padding: 60px 0; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.loader h1 { font-size: 30px; }
.vinyl { width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0 22%, var(--ink) 23% 25%, #3a262c 26% 100%);
  box-shadow: inset 0 0 0 10px #3a262c, inset 0 0 0 11px #4a343a, inset 0 0 0 26px #3a262c, inset 0 0 0 27px #4a343a; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vinyl { animation: none; } html { scroll-behavior: auto; } }
.loader-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.loader-steps li { color: var(--muted); transition: color .3s; }
.loader-steps li.on { color: var(--ink); font-weight: 700; }
.take { display: flex; flex-direction: column; gap: 14px; border: 2px solid transparent; }
.take.chosen { border-color: var(--wine); }
.take-head { display: flex; align-items: center; gap: 12px; }
.take-head img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--sand); }
.take-head .title { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); }
.notice { padding: 12px 14px; border-radius: 12px; background: #F7E1D4; color: var(--ink); font-size: 14px; }
.addon { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--paper); border: 1.5px solid var(--line); cursor: pointer; }
.addon:has(input:checked) { border-color: var(--wine); background: #FBF1EA; }
.addon input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--wine); flex-shrink: 0; }
.addon .text { flex: 1; }
.addon strong { display: block; }
.addon small { color: var(--body); }
.addon .price { font-size: 18px; }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.photos figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--sand); }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figure.is-cover { outline: 3px solid var(--wine); outline-offset: -3px; }
.photos .cover-btn { position: absolute; left: 2px; right: 2px; bottom: 2px; top: auto; width: auto; height: 24px; border-radius: 6px; font-size: 10px; font-weight: 700; padding: 0 2px; }
.photos button { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(42, 26, 31, .75); color: #fff; font-size: 18px; cursor: pointer; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--body); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--wine); flex-shrink: 0; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.total-row .price { font-size: 24px; }
.turnstile { min-height: 65px; display: flex; justify-content: center; }

.summary { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary .row span:first-child { color: var(--muted); }
.summary .row strong { text-align: right; }
.guarantee { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #EAF3EC; color: #234A32; font-size: 14px; line-height: 1.45; }
.guarantee strong { display: block; color: var(--ok); }
.addon.bundle { border-color: var(--wine); background: #FBF1EA; align-items: flex-start; }
.badge-pop { display: inline-block; background: var(--wine); color: var(--on-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.bundle-list { margin: 8px 0 0; padding: 0 0 0 18px; color: var(--body); font-size: 14px; }
.bundle-list li { margin: 2px 0; }
.price-col { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.save { font-size: 12px; font-weight: 700; color: var(--ok); background: #E4F1E8; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.trust-row { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--muted); }

.proof-summary { font-size: 14px; font-weight: 700; color: var(--wine); margin-bottom: 14px; }
.review { margin: 0 0 14px; padding: 16px 18px; background: var(--paper); border-radius: 18px; }
.review .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.review blockquote { margin: 8px 0; font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.review figcaption { font-size: 13px; color: var(--muted); }
.rating-pick { display: flex; gap: 6px; }
.rating-pick button { width: 52px; height: 52px; border-radius: 26px; border: 1.5px solid var(--line); background: var(--paper); font-size: 22px; color: var(--line); cursor: pointer; }
.rating-pick button[aria-checked="true"], .rating-pick button.lit { color: var(--accent); border-color: var(--accent); }

/* Share page */
.gift-intro { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 24px; text-align: center; }
.gift-intro h1 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(40px, 12vw, 64px); line-height: 1.02; }
.song-page { padding: 12px 0 60px; display: flex; flex-direction: column; gap: 18px; }
.song-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: var(--sand); box-shadow: 0 18px 40px rgba(91, 26, 43, .18); }
.song-title { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; font-size: 34px; line-height: 1.1; }
.note { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--body); white-space: pre-line; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.video-box video { width: 100%; border-radius: 18px; background: #000; }
.lyrics-box { white-space: pre-line; font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.lyrics-box .tag { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; z-index: 50; }

/* Legal */
.legal { padding: 20px 0 80px; }
.legal h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; font-size: 36px; margin: 0 0 16px; }
.legal h2 { font-size: 18px; margin: 26px 0 6px; }
.legal p { color: var(--body); margin: 0 0 10px; }

@media (min-width: 900px) {
  .site-header { height: 76px; }
  .sticky-cta { display: none; }
  .occasions { padding-bottom: 60px; }
  .site-footer { padding-bottom: 40px; }
}

/* Gilroy: accent words in headings are semibold italic in the accent colour; body copy stays regular */
h1 em, h2 em { font-style: italic; font-weight: 600; }
.lyric, .lyrics-box, .textarea.lyrics, .review blockquote { font-weight: 500; }
.price, .steps .num { font-weight: 600; }

/* ---- Section heads: pill eyebrow + centred title + sub ---- */
.pill { align-self: center; margin: 0 auto 12px; width: fit-content; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); background: var(--paper); }
.center { text-align: center; }
.section-sub { margin: -8px auto 22px; max-width: 460px; text-align: center; color: var(--body); font-size: 17px; }
.center-col { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; text-align: center; }
.muted { color: var(--muted); }
.wrap.wide { max-width: 1100px; }

/* ---- 4 steps ---- */
.steps4 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .steps4 { grid-template-columns: 1fr 1fr; } }
.step-card { position: relative; overflow: hidden; background: var(--paper); border-radius: 20px; padding: 26px 20px 22px; text-align: center;
  box-shadow: 0 10px 28px rgba(91, 26, 43, .08); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--wine); }
.step-card::before { content: ''; position: absolute; left: 0; top: 0; width: 64px; height: 64px; background: var(--wine); clip-path: polygon(0 0, 100% 0, 0 100%); }
.step-corner { position: absolute; left: 11px; top: 8px; color: var(--on-dark); font-weight: 700; font-size: 15px; }
.step-card h3 { margin: 8px 0 0; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.step-tag { color: var(--accent); font-weight: 600; font-size: 15px; }
.step-card p { margin: 6px 0 0; color: var(--body); font-size: 15px; line-height: 1.55; }

/* ---- Occasion photo tiles ---- */
.occ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 800px) { .occ-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.occ-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--sand); text-decoration: none; }
.occ-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.occ-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(30,10,15,.7) 100%); }
.occ-tile span { position: absolute; left: 12px; bottom: 10px; right: 10px; z-index: 1; color: #fff; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.occ-tile:hover img { transform: scale(1.04); }

/* ---- Reviews: featured + grid (real reviews only) ---- */
.review-featured { margin: 0 0 14px; background: var(--wine-dark); color: var(--on-dark); border-radius: 22px; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.review-featured blockquote { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 500; }
.review-featured figcaption, .review-card figcaption { display: flex; gap: 10px; align-items: center; }
.review-featured small { color: #E9CFC8; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review-card { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.review-card small { color: var(--muted); }
.review-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); font-weight: 400; }
.stars { color: #E0A21B; letter-spacing: 2px; font-size: 18px; }
.stars.small { font-size: 15px; }
.stars em { font-style: normal; font-size: 13px; letter-spacing: 0; color: var(--ok); margin-left: 6px; font-weight: 600; }
.review-date { align-self: flex-start; background: var(--sand); border-radius: 8px; padding: 3px 8px; font-size: 12px; }

/* ---- Sample card cover ---- */
.sample-cover { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }

/* ---- The letter: envelope that opens (gift page intro) ---- */
.envelope { position: relative; width: 230px; height: 150px; perspective: 900px; margin-top: 40px; }
.env-body { position: absolute; inset: 0; border-radius: 14px; background: var(--paper); box-shadow: 0 22px 44px rgba(91, 26, 43, .2);
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); z-index: 2; }
.env-letter { position: absolute; left: 14px; right: 14px; top: 10px; height: 130px; border-radius: 10px; background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.08); display: flex; align-items: flex-start; justify-content: center; padding-top: 16px; z-index: 1;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1) .35s; }
.env-note { font-size: 34px; color: var(--accent); }
.env-flap { position: absolute; left: 0; right: 0; top: 0; height: 88px; background: var(--sand); border-radius: 14px 14px 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transition: transform .5s ease; z-index: 3; }
.env-seal { position: absolute; left: 50%; top: 62px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; z-index: 4;
  background: radial-gradient(circle at 35% 35%, #d9694f, var(--accent) 60%, #9c3a26); color: #FFE9E2; display: flex; align-items: center;
  justify-content: center; font-size: 18px; box-shadow: 0 3px 8px rgba(0,0,0,.25); transition: opacity .25s ease, transform .25s ease; }
.envelope.open .env-seal { opacity: 0; transform: scale(.6); }
.envelope.open .env-flap { transform: rotateX(180deg); z-index: 0; }
.envelope.open .env-letter { transform: translateY(-90px); }
.reaction-offer { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 320px; }
.reaction-offer small { font-size: 13px; }

/* ---- Reaction recording ---- */
.rec-pill { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 0; background: rgba(42, 26, 31, .9); color: #fff; font: 600 14px var(--sans); }
.rec-pill i { width: 10px; height: 10px; border-radius: 50%; background: #E5484D; animation: rec 1s infinite; }
@keyframes rec { 50% { opacity: .3; } }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(30, 10, 15, .55); display: flex; align-items: flex-end; justify-content: center; }
.modal-card { width: 100%; max-width: 480px; background: var(--paper); border-radius: 22px 22px 0 0; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.modal-card video { width: 100%; max-height: 50vh; border-radius: 14px; background: #000; }
@media (min-width: 600px) { .modal { align-items: center; } .modal-card { border-radius: 22px; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); }
.consent input { width: 20px; height: 20px; accent-color: var(--wine); flex-shrink: 0; }

/* ---- Voice greeting + live lyrics ---- */
.voice-box, .live-lyrics { display: flex; flex-direction: column; gap: 10px; }
.live-lines { max-height: 260px; overflow-y: auto; scroll-behavior: smooth; padding: 8px 0 90px; mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); }
.live-lines p { margin: 0; padding: 5px 0; font-size: 21px; line-height: 1.3; font-weight: 600; color: #C4A79F; transition: color .3s ease, transform .3s ease; cursor: pointer; }
.live-lines p.gap { margin-top: 16px; }
.live-lines p.on { color: var(--wine); transform: scale(1.02); transform-origin: left; }

/* ---- Gift card page ---- */
.gc-kind { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; min-height: 76px; padding: 12px 16px; }
.gc-kind small { font-weight: 500; color: var(--body); }
.gc-kind[aria-checked="true"] small { color: #F3E3DC; }

/* ---- Gamified progress: the journey ---- */
.journey { max-width: var(--col); margin: 0 auto; padding: 4px 20px 0; }
.journey-track { position: relative; height: 6px; background: var(--line); border-radius: 3px; }
.journey-track > i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--wine)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.journey-note { position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--wine); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; box-shadow: 0 3px 8px rgba(91, 26, 43, .35); transition: left .6s cubic-bezier(.2, .8, .2, 1); }
.journey-stops { display: flex; justify-content: space-between; list-style: none; margin: 8px 0 0; padding: 0; }
.journey-stops li { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 16%; text-align: center; }
.journey-stops span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.journey-stops small { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.journey-stops li.done span { background: var(--accent); }
.journey-stops li.now span { background: var(--wine); transform: scale(1.5); }
.journey-stops li.now small { color: var(--wine); }
.journey-pct { max-width: var(--col); margin: 4px auto 0; padding: 0 20px; font-size: 12px; font-weight: 600; color: var(--accent); min-height: 16px; }

/* ---- Goosebumps meter (story detail) ---- */
.meter { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--sand); }
.meter-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #E0A21B, var(--accent), var(--wine)); transition: width .4s ease; }
.meter-row { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; color: var(--body); }
.meter-row strong { color: var(--wine); }
.meter[data-level="3"] { background: #F7E3DC; }
.meter[data-level="3"] .meter-row strong { color: var(--accent); }

/* ---- Confetti burst ---- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: confetti-fall 1.6s cubic-bezier(.25, .6, .4, 1) forwards; }
@keyframes confetti-fall { to { top: 105vh; transform: translateX(40px) rotate(540deg); opacity: .6; } }

/* ---- Waiting screens: live bar + tips ---- */
.wait-bar { position: relative; width: 100%; max-width: 320px; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; margin: 6px auto 0; }
.wait-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--wine)); transition: width 1s linear;
  background-size: 200% 100%; animation: wait-shine 2s linear infinite; }
@keyframes wait-shine { to { background-position: -200% 0; } }
.wait-pct { display: block; text-align: center; font-size: 13px; font-weight: 700; color: var(--wine); margin-top: 6px; position: absolute; left: 0; right: 0; top: 10px; }
.wait-bar { overflow: visible; margin-bottom: 20px; }
.wait-tip { min-height: 44px; max-width: 340px; margin: 6px auto 0; text-align: center; font-size: 14.5px; color: var(--body); font-style: italic; }
