:root {
  --bg: #050d12; --bg2: #0c1820; --card: rgba(255,255,255,.035); --line: rgba(216,176,96,.3);
  --peach: #f0b098; --gold: #d8b060; --cream: #f3e6d8; --text: #f1ebe4; --muted: #b3aba2; --ok: #9fd8b5; --err: #ffb4a8;
  --display: "Kalnia", Georgia, serif; --body: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 500 19px/1.55 var(--body); font-variant-numeric: lining-nums;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 8%, #fff7 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 32%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 44%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 66%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 60% 82%, #fff5 50%, transparent 51%),
    radial-gradient(ellipse 80% 60% at 50% 30%, #0d2431 0%, transparent 70%) no-repeat, var(--bg);
  background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 400px 400px, 560px 560px, 100% 1600px;
}
a { color: var(--peach); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--bg2); padding: 8px 12px; }

.nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 10px 16px;
  background: rgba(5,13,18,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-mark { display: flex; flex: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.nav-mark img { display: block; width: 40px; height: 40px; }
.nav-links { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: var(--cream); text-decoration: none; white-space: nowrap; font-size: 17px; font-weight: 600; padding: 6px 0; }
.nav-links a:hover { color: var(--peach); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 28px; border-radius: 999px; background: var(--peach); color: #2a1810;
  font: 700 18px var(--body); text-decoration: none; border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn[disabled] { opacity: .6; cursor: wait; }

.section { max-width: 1040px; margin: 0 auto; padding: 64px 20px; border-top: 1px solid var(--line); }
.section h2 { font-family: var(--display); font-weight: 400; color: var(--peach); font-size: clamp(34px, 7vw, 48px); line-height: 1.15; text-align: center; margin: 0 0 12px; }
.section h2::after { content: ""; display: block; width: 80px; height: 2px; background: var(--gold); margin: 14px auto 0; }
h3 { font-family: var(--display); font-weight: 600; color: var(--gold); margin: 0 0 8px; line-height: 1.25; }
h4 { font-family: var(--display); font-weight: 600; color: var(--cream); margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.lead { text-align: center; color: var(--cream); margin: 0 auto 28px; max-width: 640px; font-size: 20px; }
.muted, small { color: var(--muted); }

.venue { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; }
@media (max-width: 760px) { .venue { grid-template-columns: 1fr; } }
.venue iframe { width: 100%; height: 340px; border: 1px solid var(--line); border-radius: 16px; }
.facts { list-style: none; padding: 0; margin: 12px 0; } .facts li { padding: 6px 0; border-top: 1px dashed var(--line); }

.form { max-width: 620px; margin: 0 auto; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; color: var(--cream); font-weight: 600; }
.form input, .form select, .form textarea { font: 500 17px var(--body); color: var(--text); background: var(--bg2); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; width: 100%; min-height: 46px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; } legend { color: var(--cream); margin-bottom: 8px; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.form .chip, .form .check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-weight: 500; cursor: pointer; }
.form .chip input, .form .check input { width: auto; min-height: 0; accent-color: var(--gold); }
.form .check { border-radius: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
.if-yes { display: grid; gap: 16px; } .if-yes[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }
.status { min-height: 1.6em; margin: 0; } .status.ok { color: var(--ok); } .status.err { color: var(--err); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0; }
.tab, .datechip { font: 600 17px var(--body); min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--cream); cursor: pointer; }
.tab[aria-selected="true"], .datechip[aria-pressed="true"] { background: var(--peach); color: #2a1810; border-color: var(--peach); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin: 16px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card p { margin: 4px 0; }
.stat { font-family: var(--display); color: var(--peach); font-size: 28px; margin: 0; }
.dates-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; align-items: center; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; margin: 8px 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: 17px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--gold); font-weight: 700; background: rgba(255,255,255,.03); position: sticky; top: 0; }
td.num { font-variant-numeric: lining-nums tabular-nums; }
td.wrap { white-space: normal; min-width: 200px; }
tr.off td { opacity: .35; }
.note { font-size: 16px; color: var(--muted); }

.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.links ul { list-style: none; padding: 0; margin: 0; } .links li { padding: 6px 0; }
.footer { text-align: center; padding: 48px 20px 64px; border-top: 1px solid var(--line); color: var(--cream); }
.ms { display: block; margin: 0 auto 12px; width: 72px; height: 72px; }
.fine { font-size: 15px; color: var(--muted); max-width: 720px; margin: 8px auto 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- UX review fixes (Dec 2026) ---- */
:root { --field-line: rgba(216,176,96,.6); }
.center { text-align: center; }
.lead { text-wrap: balance; }
.cta .btn { white-space: nowrap; padding-inline: 22px; }

/* nav: fewer links on small phones, fade shows the row scrolls */
@media (max-width: 480px) { .nav-links { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); padding-right: 24px; } }
.nav-links a { padding: 11px 0; }
.nav-links a:focus-visible { outline-offset: -2px; }
@media (max-width: 480px) { .nav-opt { display: none; } .nav-links { gap: 14px; } }

/* digits: the font shorthand resets this, so set it again */
.form input, .form select, .form textarea, .tab, .datechip, .btn { font-variant-numeric: lining-nums; }

/* text sizes and tap targets */
.note { font-size: 18px; font-weight: 600; }
.card .note { color: var(--text); }
.fine { font-size: 17px; }
table { font-size: 18px; }
.links li { padding: 0; }
.links li a, .facts a, .note a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }


/* venue */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
@media (max-width: 760px) { .actions .btn { width: 100%; } }
.map-ph { min-height: 200px; display: grid; place-content: center; text-align: center; gap: 12px; }

/* RSVP */
.form label > span { display: block; }
.form label small { display: inline; font-size: 17px; }
.form input, .form select, .form textarea, .form .chip, .form .check, .tab, .datechip { border-color: var(--field-line); }
.form ::placeholder { color: var(--muted); opacity: 1; }
.form .chip input, .form .check input { width: 20px; height: 20px; flex: none; }
.form .chip:has(input:checked), .form .check:has(input:checked) { background: var(--peach); color: #2a1810; border-color: var(--peach); }
.form .chip:has(input:checked) input, .form .check:has(input:checked) input { accent-color: #2a1810; }
.form .chip:focus-within, .form .check:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.form .chip input:focus-visible, .form .check input:focus-visible { outline: none; }
.field-err { color: var(--err); font-weight: 700; margin: -8px 0 0; }
.field-err::before { content: "⚠ "; }
.form [aria-invalid="true"] { border-color: var(--err); }
fieldset[aria-invalid="true"] .chip { border-color: var(--err); }
.done { max-width: 620px; margin: 0 auto; text-align: center; }
.done[hidden] { display: none; }
.done .btn { margin-top: 12px; }

/* travel */
#travel-body h3 { font-weight: 500; font-size: 24px; margin-top: 28px; }
.more { margin: 16px 0; }
.more summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: 8px; font: 500 22px var(--display); color: var(--gold);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "▸"; transition: transform .2s; }
.more[open] summary::before { transform: rotate(90deg); }
.more[open] summary { margin-bottom: 12px; }
.dates-bar .count { flex-basis: 100%; }
@media (min-width: 701px) { .tablewrap td:first-child { white-space: normal; min-width: 220px; } }
@media (max-width: 700px) {
  .tablewrap { overflow: visible; border: 0; }
  .tablewrap table, .tablewrap tbody, .tablewrap tr, .tablewrap td { display: block; width: 100%; }
  .tablewrap thead { position: absolute; left: -9999px; }
  .tablewrap tr { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0 0 10px; background: var(--card); }
  .tablewrap tr[hidden] { display: none; }
  .tablewrap td { white-space: normal; border: 0; padding: 3px 0; display: flex; gap: 12px; justify-content: space-between; text-align: right; }
  .tablewrap td::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; flex: none; }
  .tablewrap td:first-child { display: block; font-weight: 700; color: var(--peach); text-align: left; font-family: var(--body); }
  .tablewrap td:first-child::before { content: none; }
  td.wrap { min-width: 0; }
}

/* ---- One-scroll story (Dec 2026) ---- */
:root { --col: min(100%, 600px); --nav: 64px; }
@media (min-width: 700px) { :root { --col: min(600px, max(440px, (100vh - var(--nav)) * 9 / 16)); } @supports (height: 100svh) { :root { --col: min(600px, max(440px, (100svh - var(--nav)) * 9 / 16)); } } }
.nav { height: var(--nav); padding-block: 0; }
.nav-links a { flex: none; min-width: 44px; text-align: center; }
.col { width: 100%; max-width: var(--col); margin: 0 auto; position: relative; }
.rule { display: block; width: 120px; height: 2px; margin: 18px auto; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); }
.chandelier { position: absolute; top: 0; left: 27.778%; width: 44.444%; height: auto; transform-origin: 50% 0; }

/* hero: page 1 of the card, with live text */
.hero { overflow: hidden; }
.hero-col { display: flex; flex-direction: column; background: #050c11; }
.art-top { position: relative; }
.art-base { display: block; width: 100%; height: auto; }
.art-top::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, #050c11); }
.hero-text { position: relative; z-index: 1; text-align: center; padding: 0 16px; margin-top: clamp(-96px, -17%, -48px); }
h1 { font-family: var(--display); font-weight: 400; color: var(--peach); font-size: clamp(44px, 13vw, 72px); line-height: 1.08; margin: 0; text-shadow: 0 2px 18px #050d12; }
h1 span { display: block; }
h1 em { font-style: normal; color: var(--gold); font-size: .5em; }
.hero .rule { margin: 14px auto 12px; }
.dates { color: var(--gold); font-size: clamp(18px, 4.8vw, 21px); font-weight: 600; line-height: 1.4; margin: 0 0 18px; }
.cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.hero-couple { display: block; width: 100%; height: auto; margin-top: -9%; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }

/* the story: a still stage (the card art) with chapters that scroll through it */
.story { view-timeline: --story block; }
.story::after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
/* lvh: the stage still fills the screen after the URL bar hides; chapter text stays in svh units */
.stage { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); height: calc(100lvh - var(--nav)); overflow: hidden; background: #050c11; }
.stage-art { position: absolute; left: 50%; top: 50%; width: max(100%, (100vh - var(--nav)) * 9 / 16); aspect-ratio: 9 / 16; transform: translate(-50%, -50%); }
@supports (height: 100lvh) { .stage-art { width: max(100%, (100lvh - var(--nav)) * 9 / 16); } }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.chapters { position: relative; overflow-x: hidden; overflow-x: clip; margin-top: calc(var(--nav) - 100vh); margin-top: calc(var(--nav) - 100lvh); }
.chapter { min-height: calc(100vh - var(--nav)); min-height: calc(100svh - var(--nav)); display: flex; align-items: center; justify-content: center; padding: calc((100vh - var(--nav)) * .26) 22px calc((100vh - var(--nav)) * .1); }
@supports (height: 100svh) { .chapter { padding-block: calc((100svh - var(--nav)) * .26) calc((100svh - var(--nav)) * .1); } }
.page { position: relative; isolation: isolate; width: 100%; max-width: 30rem; text-align: center; color: var(--cream); }
/* flat scrim with a soft edge; it runs past the column sides, and .chapters clips it (no sideways scroll) */
.page::before { content: ""; position: absolute; inset: -10px -48px; z-index: -1; pointer-events: none;
  border-radius: 26px; background: rgba(5,13,18,.84); box-shadow: 0 0 32px 24px rgba(5,13,18,.84); }
.page p { margin: 0; }
.page h2 { font: 400 clamp(36px, 10vw, 50px)/1.15 var(--display); color: var(--peach); margin: 4px 0 0; text-wrap: balance; }
.blessing { font-family: "Tiro Devanagari Hindi", serif; color: var(--gold); font-size: clamp(20px, 5.6vw, 22px); }
.invite-line { font-size: 20px; line-height: 1.45; max-width: 20em; margin: 0 auto 14px !important; text-wrap: balance; }
.name { font: 400 clamp(38px, 10.5vw, 50px)/1.15 var(--display); color: var(--peach); }
.parents { text-wrap: balance; font-size: clamp(20px, 5.4vw, 23px); font-weight: 600; color: var(--text); line-height: 1.35; }
.amp { font: 400 32px/1 var(--display); color: var(--gold); margin: 12px 0 6px !important; }
.kicker { font-size: 17px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--cream); }
.page h2 span { display: block; font: 400 clamp(22px, 6vw, 28px)/1.3 var(--display); color: var(--gold); }
.programme { list-style: none; margin: 0; padding: 0; }
.programme li { display: grid; gap: 2px; }
.programme li + li::before { content: "◆"; content: "◆" / ""; display: block; color: var(--gold); font-size: 11px; line-height: 1; margin: 8px 0; }
.ev { font: 400 clamp(27px, 7.6vw, 34px)/1.12 var(--display); color: var(--peach); text-wrap: balance; }
.programme time { color: var(--gold); font-size: 20px; line-height: 1.3; font-weight: 600; font-variant-numeric: lining-nums; }
.venue-line { font-size: 20px; font-weight: 600; }
.page .cal { margin-top: 22px; }
.mono { display: block; width: 88px; height: 88px; margin: 0 auto; }
.chapter-end h2 { font: italic 500 clamp(32px, 9vw, 42px)/1.2 var(--body) !important; }
.love { font-size: 21px; margin-top: 12px !important; }
.video-cta { margin-top: 26px !important; }
.page .note { margin-top: 6px; color: var(--text); text-shadow: 0 1px 6px #050d12; }
.page .btn { background: rgba(5,13,18,.6); }

/* the video dialog */
.viewer { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 12px; border: 0; background: transparent;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.viewer[open] { display: flex; }
.viewer::backdrop { background: rgba(5,13,18,.95); }
.viewer video { max-height: calc(100dvh - 90px); max-width: 100%; width: auto; height: auto; border-radius: 12px; background: #000; }
.viewer-bar { display: flex; justify-content: center; }

/* desktop: a framed card column, the art glows softly on the sides */
@media (min-width: 700px) {
  body { isolation: isolate; } /* lets body::before paint above the body background */
  body::before { content: ""; position: fixed; inset: -60px; z-index: -1; background: url(/img/hero-top.jpg) center / cover; filter: blur(60px) brightness(.4) saturate(1.3); }
  .hero-col, .story { box-shadow: 0 0 0 1px var(--line), 0 30px 90px rgba(0,0,0,.7); }
  .hero { padding-top: 24px; }
  .section, .footer { background: rgba(5,13,18,.82); }
  .section { max-width: 1040px; }
}

/* motion: only when the guest has not asked for less */
@media (prefers-reduced-motion: no-preference) {
  .chandelier { animation: sway 7s ease-in-out infinite alternate; }
  .hero-text > * { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .hero-text > :nth-child(2) { animation-delay: .25s; } .hero-text > :nth-child(3) { animation-delay: .4s; } .hero-text > :nth-child(4) { animation-delay: .55s; }
  @supports (animation-timeline: view()) {
    .stage-art { animation: settle linear both; animation-timeline: --story; animation-range: entry 0% entry 100%; }
    .art-top { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .page .rule { animation: draw linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  }
  @media (min-height: 560px) { @supports (animation-timeline: view()) {
    .page { animation: page linear both; animation-timeline: view(block 18% 6%); }
    .chapter-end .page { animation-name: page-in; }
  } }
  /* fallback for browsers without scroll timelines; app.js adds .reveal */
  .reveal .page { opacity: 0; transform: translateY(36px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
  .reveal .page .rule { transform: scaleX(0); transition: transform 1.2s .35s ease; }
  .reveal .page.in, .reveal .page.in .rule { opacity: 1; transform: none; }
}
@keyframes sway { from { transform: rotate(-.5deg); } to { transform: rotate(.5deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { scale: 1.08; } to { scale: 1; } }
@keyframes drift { to { transform: translateY(18%); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes page-in { entry 0% { opacity: 0; transform: translateY(48px); } entry 25% { opacity: 1; transform: none; } }
@keyframes page {
  entry 0% { opacity: 0; transform: translateY(48px); }
  entry 25% { opacity: 1; transform: none; }
  exit 60% { opacity: 1; transform: none; }
  exit 100% { opacity: 0; transform: translateY(-36px); }
}

/* ---- Venue card and video link (Dec 2026) ---- */
.venue { display: block; max-width: 560px; margin: 32px auto 0; }
.venue-card { position: relative; text-align: center; padding: 44px 28px 28px; border: 1px solid var(--line); border-radius: 4px;
  outline: 1px solid rgba(216,176,96,.16); outline-offset: -9px;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(240,176,152,.07), transparent 70%), rgba(255,255,255,.02); }
.venue-card .kicker { color: var(--gold); margin: 0 0 14px; letter-spacing: .2em; }
.v-name { font: 400 clamp(34px, 9vw, 42px)/1.15 var(--display); color: var(--peach); margin: 0 0 10px; }
.v-addr { color: var(--cream); font-size: 20px; line-height: 1.5; margin: 0; text-wrap: balance; }
.venue-card .rule { margin: 22px auto; }
.v-dist { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 26px; }
.v-dist p { margin: 0; display: grid; gap: 2px; padding: 0 8px; }
.v-dist p + p { border-left: 1px solid var(--line); }
.v-dist strong { font: 400 28px/1.1 var(--display); color: var(--gold); }
.v-dist span { font-size: 17px; line-height: 1.3; color: var(--muted); }
.venue-card .actions { justify-content: center; margin: 0; }
.v-map { margin-top: 14px; min-height: 48px; padding: 8px 12px; background: none; border: 0; cursor: pointer; color: var(--gold);
  font: 600 17px var(--body); letter-spacing: .18em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
.v-map:hover { text-decoration-color: var(--gold); }
.venue-card iframe { display: block; width: 100%; height: 300px; margin-top: 22px; border: 1px solid var(--line); border-radius: 4px; }
.film { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 4px; color: var(--peach); text-decoration: none;
  font: italic 500 23px/1.2 var(--body); text-shadow: 0 1px 8px #050d12; }
.film::before, .film::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.film::after { transform: scaleX(-1); }
.film span { border-bottom: 1px solid rgba(216,176,96,.45); padding-bottom: 2px; transition: border-color .3s; }
.film:hover span, .film:focus-visible span { border-color: var(--gold); }

/* ---- Custom dropdowns (Dec 2026) ---- */
.form .field { display: grid; gap: 6px; color: var(--cream); font-weight: 600; }
.dd { position: relative; }
.dd-btn { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px;
  font: 500 17px var(--body); font-variant-numeric: lining-nums; color: var(--text); text-align: left; cursor: pointer;
  background: var(--bg2); border: 1px solid var(--field-line); border-radius: 10px; }
.dd-btn.placeholder { color: var(--muted); }
.dd-btn::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.dd-btn[aria-expanded="true"] { border-color: var(--gold); }
.dd-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.dd-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 288px; overflow: auto;
  background: #0d1a23; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.dd-list[hidden] { display: none; }
.dd-list:focus { outline: none; }
.dd-list li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 8px; cursor: pointer;
  color: var(--text); font-weight: 500; font-variant-numeric: lining-nums; }
.dd-list li:hover, .dd-list li[data-active] { background: rgba(216,176,96,.12); }
.dd-list:focus-visible li[data-active] { outline: 1px solid var(--gold); outline-offset: -1px; }
.dd-list li[aria-selected="true"] { color: var(--peach); font-weight: 700; }
.dd-list li[aria-selected="true"]::after { content: "◆"; content: "◆" / ""; margin-left: auto; color: var(--gold); font-size: 10px; }

/* ---- Chips without native boxes, via hint (Dec 2026) ---- */
.form .chip { position: relative; padding-inline: 18px; }
.form .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.form .chip.on { background: var(--peach); color: #2a1810; border-color: var(--peach); }
.via-hint { margin: 2px 0 0; font-size: 17px; font-weight: 500; font-style: italic; color: var(--muted); }

/* RSVP events grouped by day, with an "All events" chip per day */
.form .ev-day { margin-top: 10px; }
.form .ev-day legend { color: var(--muted); font-weight: 500; font-style: italic; font-size: 17px; margin-bottom: 6px; }
.form .chip.all:not(.on) { border-color: var(--gold); color: var(--cream); }
