/* Variant D: VELVET INVITATION.
   Skin from C (burgundy velvet ground, gold double-line frame, corner flourishes, colour tokens).
   Layout from A (crest, stacked names, date block, venues, reply-card RSVP).
   Names and headings in a script face via ONE variable: --f-script (override with ?script=<Google Font>). */

:root {
  /* tokens copied from variant C */
  --wine-950: #1d050c;
  --wine-900: #2a0a14;
  --wine-800: #3b0f1d;
  --wine-700: #4e1426;
  --panel: #5b1b2e;
  --panel-edge: rgba(246, 238, 220, .14);
  --gold: #c9a24b;
  --gold-hi: #ecd48f;
  --gold-lo: #8f6f2a;
  --ivory: #f6eedc;
  --ivory-mute: #d9cdb5;
  --ink: #2a0a14;
  /* type: script ONLY for names and headings; readable serif for everything else (A) */
  --f-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "EB Garamond", Garamond, Georgia, serif;
  /* script sizing: names are the one big moment, headings ~60% of them.
     --script-scale / --script-lift / --script-drop are set per family by the ?script loader. */
  --script-scale: 1;
  --script-lift: 0;
  --script-drop: 0;
  --script-lh: 1.05;
  --script-ws: 0em;
  --name-base: clamp(56px, 17.6vw, 92px);
  --name-size: calc(var(--name-base) * var(--script-scale));
  --head-base: clamp(34px, 10.5vw, 44px);
  --head-size: calc(var(--head-base) * var(--script-scale));
  --amp-base: 54px;
  --amp-size: calc(var(--amp-base) * (1 + (var(--script-scale) - 1) * .5));
  --frame-in: 10px;
  --corner: 72px;
  --pad-x: 38px;
  --foil-gold: linear-gradient(135deg, #c9a24b, #f3e0a6 50%, #b8913a);
  --btn-gold: linear-gradient(180deg, #f3dfa4 0%, #dcba67 46%, #bd933c 100%);
  --gold-rule: rgba(201, 162, 75, .8);
  --gold-rule-soft: rgba(201, 162, 75, .45);
  --field-bg: linear-gradient(180deg, rgba(255, 226, 230, .075), rgba(255, 226, 230, .035)), var(--panel);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  color: var(--ivory);
  font: 400 18px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--wine-900);
  background-image:
    /* large-scale mottling, non-directional velvet pile (copied from C) */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='700' height='700'><filter id='m' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.007' numOctaves='3' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .20  0 0 0 0 .01  0 0 0 0 .01  .7 0 0 0 -.25'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>"),
    /* fine pile noise */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .86  0 0 0 0 .8  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.10'/></svg>"),
    /* stage light pooling from above */
    radial-gradient(130% 62vh at 50% -4%, #7a2038 0%, #55162b 42%, rgba(42,10,20,0) 100%),
    linear-gradient(180deg, #3b0f1d 0%, #2a0a14 55%, #1d050c 100%);
}
a { color: inherit; text-decoration: none; }
svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Bodoni needs its optical axis pinned at display sizes (from A) */
.amp, .amp-i, .dateline .day, .venue .place, .reply-call .by, .reply-title .by, .steps .n { font-optical-sizing: none; font-variation-settings: "opsz" 18; }

/* ---------- frame: double gold line + corner flourishes (copied from C) ---------- */
.panel { position: relative; isolation: isolate; min-height: 100vh; overflow-x: clip; }
.frame { position: absolute; inset: var(--frame-in); pointer-events: none; z-index: 0; }
.fr { position: absolute; display: block; }
.fr-t { top: 0; left: var(--corner); right: var(--corner); height: 7px;
  background: linear-gradient(var(--gold), var(--gold)) top / 100% 1px no-repeat,
              linear-gradient(rgba(201,162,75,.6), rgba(201,162,75,.6)) bottom / 100% 1px no-repeat; }
.fr-b { bottom: 0; left: var(--corner); right: var(--corner); height: 7px;
  background: linear-gradient(var(--gold), var(--gold)) bottom / 100% 1px no-repeat,
              linear-gradient(rgba(201,162,75,.6), rgba(201,162,75,.6)) top / 100% 1px no-repeat; }
.fr-l { left: 0; top: var(--corner); bottom: var(--corner); width: 7px;
  background: linear-gradient(var(--gold), var(--gold)) left / 1px 100% no-repeat,
              linear-gradient(rgba(201,162,75,.6), rgba(201,162,75,.6)) right / 1px 100% no-repeat; }
.fr-r { right: 0; top: var(--corner); bottom: var(--corner); width: 7px;
  background: linear-gradient(var(--gold), var(--gold)) right / 1px 100% no-repeat,
              linear-gradient(rgba(201,162,75,.6), rgba(201,162,75,.6)) left / 1px 100% no-repeat; }
.co { position: absolute; width: var(--corner); height: var(--corner); }
.co-tl { top: 0; left: 0; }
.co-tr { top: 0; right: 0; transform: scaleX(-1); }
.co-bl { bottom: 0; left: 0; transform: scaleY(-1); }
.co-br { bottom: 0; right: 0; transform: scale(-1, -1); }

/* ---------- script: names and headings only ---------- */
.names, .venue h2, .details-head, .household h1, .pname, .foot .names-line {
  font-family: var(--f-script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  word-spacing: var(--script-ws);
  text-transform: none;
}
.venue h2, .details-head, .household h1, .pname, .foot .names-line {
  padding-top: calc(var(--script-lift) * 1em);
  padding-bottom: calc(var(--script-drop) * 1em);
}

/* ---------- small caps labels (A) ---------- */
.smcp, .eyebrow {
  font-family: var(--f-body);
  letter-spacing: .16em;
  font-weight: 500;
  text-transform: uppercase;
}
.eyebrow { font-size: 15px; color: var(--gold-hi); }

/* ---------- the invitation column ---------- */
.card { position: relative; z-index: 1; margin: 0 auto; padding: 58px var(--pad-x) 92px; text-align: center; }

/* top controls (mobile) */
.top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; min-height: 44px; }
.top .link, .menu summary {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-size: 15px; color: var(--gold-hi); cursor: pointer; list-style: none; white-space: nowrap;
}
.top .link { letter-spacing: .12em; }
.menu summary { color: var(--ivory); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 18px; height: 7px; margin-left: 10px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.menu { position: relative; }
.menu nav {
  position: absolute; right: 0; top: 46px; width: 232px;
  background: var(--wine-800); border: 1px solid var(--gold-rule);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .55);
  text-align: center;
}
.menu nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-top: 1px solid var(--gold-rule-soft); font-size: 15px; color: var(--ivory); }
.menu nav a:first-child { border-top: 0; }
.topnav { display: none; }

/* crest (A's N&S with larch wreath, recoloured gold for the dark ground) + ornaments */
.crest { display: block; width: 128px; height: 128px; margin: 6px auto 2px; }
.crest.small { width: 84px; height: 84px; margin: 2px auto 4px; }
.crest.tiny { width: 64px; height: 64px; margin: 0 auto 8px; }

.orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px auto; width: 100%; max-width: 280px; }
.orn span { flex: 1 1 0; height: 1px; background: linear-gradient(90deg, rgba(201, 162, 75, 0), var(--gold)); }
.orn span:last-child { background: linear-gradient(270deg, rgba(201, 162, 75, 0), var(--gold)); }
.orn i { flex: none; width: 8px; height: 8px; transform: rotate(45deg); background: var(--foil-gold); outline: 1px solid rgba(201, 162, 75, .6); outline-offset: 3px; }

/* ---------- invitation text ---------- */
.together { margin: 12px 0 0; font-size: 20px; font-style: italic; line-height: 1.4; color: var(--ivory); }
.names {
  margin: 4px 0 0;
  font-size: var(--name-size);
  line-height: var(--script-lh);
  color: var(--ivory);
  text-shadow: 0 3px 30px rgba(0, 0, 0, .55);
}
.names .first, .names .second { display: block; }
.names .first { padding: calc(.04em + var(--script-lift) * 1em) 0 .04em; }
.names .second { padding: .04em 0 calc(.04em + var(--script-drop) * 1em); }
.amp {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--amp-size);
  line-height: 1;
  letter-spacing: 0;
  margin: -4px 0 -6px;
  background: linear-gradient(100deg, #b8913a 0%, #f3e0a6 42%, #c9a24b 70%, #ecd48f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  padding: 4px 8px 6px;
}
.amp-i { font-family: var(--f-display); font-style: italic; font-size: .78em; color: var(--gold-hi); padding: 0 .08em; }
.peaks { display: block; width: 252px; height: 62px; margin: 6px auto 12px; overflow: visible; }

.date { margin: 8px auto 0; max-width: 340px; }
.dow { margin: 0 0 10px; font-size: 16px; color: var(--ivory); }
.dateline {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-top: 1px solid var(--gold-rule); border-bottom: 1px solid var(--gold-rule);
}
.dateline::before, .dateline::after { content: ""; position: absolute; left: 0; right: 0; height: 0; border-top: .5px solid var(--gold-rule-soft); }
.dateline::before { top: 3px; }
.dateline::after { bottom: 3px; }
.dateline .mon, .dateline .yr { font-size: 16px; padding: 14px 0; letter-spacing: .13em; color: var(--ivory); }
.dateline .day {
  font-family: var(--f-display); font-size: 72px; line-height: 1; color: var(--ivory);
  padding: 6px 20px 8px; margin: 8px 0;
  border-left: 1px solid var(--gold-rule); border-right: 1px solid var(--gold-rule);
}

.date-cta { margin: 24px auto 0; }
.date-cta .btn { min-height: 54px; }
.date-cta .by { margin: 10px 0 0; font-style: italic; font-size: 18px; color: var(--ivory-mute); }

.venues { margin-top: 4px; }
.venue h2 { margin: 0 0 4px; font-size: var(--head-size); line-height: 1.1; color: var(--gold-hi); text-shadow: 0 2px 22px rgba(0, 0, 0, .4); }
.venue .place { margin: 0; font-family: var(--f-display); font-size: 25px; line-height: 1.2; letter-spacing: .03em; color: var(--ivory); }
.venue address { margin: 8px 0 0; font-style: normal; font-size: 19px; line-height: 1.45; color: var(--ivory); }
.venue .time { margin: 8px 0 0; font-style: italic; color: var(--ivory-mute); font-size: 18px; }
.venue + .orn { margin: 26px auto; }

.reply-call { margin-top: 4px; }
.reply-call p { font-style: italic; font-size: 20px; color: var(--ivory); }
.reply-call .by { margin: 6px 0 22px; font-style: normal; font-family: var(--f-display); font-size: 28px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); }

.btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 330px; min-height: 58px; margin: 0 auto; padding: 0 24px;
  border: 0; border-radius: 2px; cursor: pointer;
  background: var(--btn-gold); color: var(--ink);
  font: 500 19px/1 var(--f-body); letter-spacing: .24em; text-indent: .24em; text-transform: uppercase;
  box-shadow: 0 0 0 1px #8f6f2a, 0 12px 32px rgba(0, 0, 0, .5), 0 0 44px rgba(201, 162, 75, .22);
}
.btn::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(42, 10, 20, .42); border-radius: 1px; pointer-events: none; }
.btn:hover { background: linear-gradient(180deg, #f8e8b6 0%, #e5c577 46%, #c89f45 100%); }
.btn:active { transform: translateY(1px); }

/* further details */
.details-head { margin: 0 0 12px; font-size: var(--head-size); line-height: 1.1; color: var(--gold-hi); text-shadow: 0 2px 22px rgba(0, 0, 0, .4); }
.details-list { margin: 0 auto; padding: 0; list-style: none; max-width: 340px; border-top: 1px solid var(--gold-rule-soft); }
.details-list li { border-bottom: 1px solid var(--gold-rule-soft); }
.details-list a { display: flex; align-items: center; justify-content: center; min-height: 54px; font-size: 16px; color: var(--ivory); }
.details-list a:hover { background: rgba(201, 162, 75, .12); color: var(--gold-hi); }

.foot { margin-top: 44px; }
.foot .names-line { font-size: calc(var(--name-size) * .55); line-height: 1.15; color: var(--ivory); text-shadow: 0 2px 22px rgba(0, 0, 0, .45); }
.foot .where { margin: 4px 0 0; font-style: italic; font-size: 18px; color: var(--ivory-mute); }

/* ---------- RSVP: the reply card ---------- */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.steps::before { content: ""; position: absolute; top: 18px; left: 16.6%; right: 16.6%; border-top: 1px solid var(--gold-rule-soft); }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.steps .n {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 37px; height: 37px; border: 1px solid rgba(246, 238, 220, .5); border-radius: 50%;
  background: var(--wine-800); font-family: var(--f-display); font-size: 16px; color: var(--ivory-mute);
}
.steps .l { font-size: 14px; line-height: 1.2; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; font-weight: 500; color: var(--ivory-mute); }
.steps .done .n { border-color: var(--gold); color: var(--gold-hi); }
.steps .done .n svg { width: 16px; height: 16px; }
.steps .now .n { background: var(--btn-gold); border-color: #8f6f2a; color: var(--ink); box-shadow: 0 0 0 3px var(--wine-800), 0 0 0 4px var(--gold); }
.steps .now .l { color: var(--ivory); }

.reply-title { margin: 28px 0 0; font-style: italic; font-size: 22px; line-height: 1.35; color: var(--ivory); }
.reply-title .by { display: block; margin-top: 4px; font-style: normal; font-family: var(--f-display); font-size: 26px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); }

.household { margin-top: 4px; }
.household .eyebrow { margin: 0; }
.household h1 { margin: 4px auto 0; font-size: calc(var(--head-size) * 1.18); line-height: calc(var(--script-lh) + .12); color: var(--ivory); text-shadow: 0 3px 28px rgba(0, 0, 0, .5); text-wrap: balance; }
.household .ctx { margin: 8px 0 0; font-style: italic; font-size: 18px; color: var(--ivory-mute); }

form.reply { text-align: left; margin-top: 4px; }
.person { padding: 2px 0 4px; }
.pname { margin: 0 0 20px; font-size: calc(var(--head-size) * .95); line-height: 1.12; text-align: center; color: var(--ivory); text-shadow: 0 2px 22px rgba(0, 0, 0, .45); }

/* Attending / Not attending: lighter burgundy panels, gold when chosen */
.toggle { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 18px; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.toggle label {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 54px; padding: 0 4px;
  border: 1px solid rgba(246, 238, 220, .45); background: var(--field-bg); color: var(--ivory);
  font-size: 17px; font-weight: 500; white-space: nowrap; letter-spacing: .03em; cursor: pointer;
}
.toggle label + input + label { border-left-width: 0; }
.toggle label::before { content: ""; width: 0; height: 0; transform: rotate(45deg); }
.toggle input:checked + label {
  background: var(--btn-gold); color: var(--ink); border-color: #8f6f2a;
  box-shadow: inset 0 0 0 3px #d8b566, inset 0 0 0 4px rgba(42, 10, 20, .42);
}
.toggle input:checked + label::before { width: 7px; height: 7px; background: var(--wine-800); }
.toggle input:focus-visible + label { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.field { margin: 0 0 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; color: var(--ivory-mute); }
.field input[type="text"], .field input[type="email"] {
  display: block; width: 100%; min-height: 52px; margin: 0; padding: 0 16px;
  border: 1px solid var(--gold-rule-soft); border-radius: 2px;
  background: var(--field-bg); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .22);
  font-family: var(--f-body); font-style: normal; font-size: 20px; line-height: 1.3; color: var(--ivory);
  caret-color: var(--gold-hi);
}
.field input::placeholder { color: #cbbdab; font-style: italic; opacity: 1; }
.field input:focus { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-color: var(--gold); }
.field .hint { margin: 6px 0 0; font-size: 17px; font-style: italic; color: var(--ivory-mute); }

.regret { display: none; margin: 0 0 20px; text-align: center; font-style: italic; font-size: 19px; color: var(--ivory-mute); }
.person:has(input[value="no"]:checked) .dietary { display: none; }
.person:has(input[value="no"]:checked) .regret { display: block; }
.person-gap.orn { margin: 12px auto 22px; max-width: 220px; }

.closing { margin-top: 28px; text-align: center; }
.closing .by { margin: 0 0 18px; font-style: italic; font-size: 20px; color: var(--ivory); }
.again { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 10px; font-style: italic; font-size: 18px; color: var(--ivory-mute); text-decoration: underline; text-decoration-color: var(--gold-rule-soft); text-underline-offset: 5px; }

/* ---------- desktop: the invitation column sits inside the full-bleed frame ---------- */
@media (min-width: 760px) {
  :root { --frame-in: 22px; }
  .topnav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; padding: 46px 96px 0; position: relative; z-index: 2; }
  .topnav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; font-size: 14px; letter-spacing: .11em; text-transform: uppercase; font-weight: 500; color: var(--ivory); }
  .topnav a:hover { color: var(--gold-hi); }
  .topnav a:hover::after, .topnav a[aria-current="page"]::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 8px; border-bottom: 1px solid var(--gold); }
  .topnav .rsvp-link { margin-left: 8px; padding: 0 18px; border: 1px solid var(--gold-rule); color: var(--gold-hi); }
  .topnav .rsvp-link::after { display: none; }
  .topnav .rsvp-link[aria-current="page"] { background: var(--btn-gold); color: var(--ink); border-color: #8f6f2a; }
  .top { display: none; }
  .card { max-width: 820px; padding: 18px 80px 110px; }
  :root { --name-base: clamp(88px, 14vh, 128px); --head-base: 48px; --amp-base: 64px; }
  .topnav { padding-top: 34px; }
  .card { padding-top: 10px; }
  .crest { width: 84px; height: 84px; margin: 0 auto; }
  .together { margin-top: 4px; }
  :root { --script-lh: .92; }
  .names { margin-top: 10px; }
  .amp { margin: -8px 0 -10px; }
  .peaks { width: 244px; height: 60px; margin: 2px auto 4px; }
  .date { max-width: 460px; margin-top: 4px; }
  .dow { font-size: 18px; margin-bottom: 10px; }
  .dateline .mon, .dateline .yr { font-size: 19px; padding: 10px 0; }
  .dateline .day { font-size: 88px; padding: 4px 28px 6px; margin: 6px 0; }
  .date-cta { margin-top: 14px; }
  .date-cta .btn { min-height: 60px; font-size: 20px; }
  .date-cta .by { font-size: 20px; }
  .venues { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 28px; align-items: start; margin-top: 18px; }
  .venues .venue + .orn { flex-direction: column; margin: 4px 0; width: auto; height: 100%; max-width: none; min-height: 150px; }
  .venues .orn span { flex: 1 1 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(201, 162, 75, 0), var(--gold)); }
  .venues .orn span:last-child { background: linear-gradient(0deg, rgba(201, 162, 75, 0), var(--gold)); }
  .details-list { max-width: 420px; }
  .reply-call .by { font-size: 30px; }
  .card.rsvp-card { max-width: 680px; padding-left: 90px; padding-right: 90px; }
  .btn { max-width: 360px; }
}
@media (max-width: 759px) {
  .card.rsvp-card { padding-left: 36px; padding-right: 36px; }
}
@media (max-width: 380px) {
  :root { --pad-x: 32px; }
  .card.rsvp-card { padding-left: 30px; padding-right: 30px; }
  .toggle label { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ================= additions for the working site (views, forms, pages, picker) ================= */
:root { color-scheme: dark; }
.card:focus, .card h1:focus { outline: none; }
.crest-link { display: block; width: max-content; margin: 0 auto; }
.peaks { stroke: none; }

/* a toggle or guest field only opens once "yes" is chosen */
.person:not(:has(input[value="yes"]:checked)) .dietary { display: none; }
.person[data-guest] .regret { display: none; }

/* messages and validation */
.msg { margin: 0 0 16px; min-height: 0; text-align: center; font-size: 18px; line-height: 1.4; color: #ffd9a8; }
.msg:empty { display: none; }
.field input[aria-invalid="true"] { border-color: #ffb37a; box-shadow: 0 0 0 1px #ffb37a, inset 0 2px 6px rgba(0, 0, 0, .22); }
.toggle:has(input[aria-invalid="true"]) label { border-color: #ffb37a; }
.btn[disabled] { opacity: .7; cursor: progress; }
button.btn { font-family: var(--f-body); }

/* find step */
.household h1 { overflow-wrap: anywhere; }
#find-form { margin-top: 22px; }
#find-form .closing { margin-top: 8px; }
.demo-note { margin: 22px auto 0; max-width: 34ch; text-align: center; font-size: 16px; line-height: 1.5; font-style: italic; color: var(--ivory-mute); }
.try { min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font: inherit; font-style: normal; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }

/* label / value rows: review, schedule, travel */
.rows { margin: 18px auto 0; max-width: 460px; text-align: left; border-top: 1px solid var(--gold-rule-soft); }
.rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; padding: 16px 2px; border-bottom: 1px solid var(--gold-rule-soft); }
.rows dt { font-size: 15px; line-height: 1.45; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; color: var(--gold-hi); overflow-wrap: anywhere; }
.rows dd { font-size: 19px; line-height: 1.45; color: var(--ivory); overflow-wrap: anywhere; }
.rows dd strong { font-weight: 500; }
.rows dd em { color: var(--ivory-mute); }
.review { margin-top: 24px; }
.review dt { text-transform: none; letter-spacing: .01em; font-size: 19px; color: var(--ivory); }
.review dd strong { color: var(--gold-hi); }
.prose-note { margin: 22px auto 0; max-width: 32ch; font-style: italic; font-size: 18px; color: var(--ivory-mute); }

/* detail pages */
.page-title { margin: 14px 0 0; font-family: var(--f-script); font-weight: 400; font-size: calc(var(--head-size) * 1.35); line-height: 1.1; word-spacing: var(--script-ws); padding-top: calc(var(--script-lift) * 1em); padding-bottom: calc(var(--script-drop) * 1em); color: var(--ivory); text-shadow: 0 3px 28px rgba(0, 0, 0, .5); }
.prose { margin: 0 auto; max-width: 460px; }
.prose p { margin: 0 0 14px; font-size: 19px; line-height: 1.55; }
.prose .lead { font-family: var(--f-display); font-size: 24px; letter-spacing: .03em; color: var(--gold-hi); }
.prose .soon { font-style: italic; color: var(--ivory-mute); }
.prose .rows { margin-bottom: 22px; }
.inline { color: var(--gold-hi); text-decoration: underline; text-decoration-color: var(--gold-rule); text-underline-offset: 4px; }
.inline:hover { color: var(--ivory); }
.faq { margin: 0 auto; text-align: left; border-top: 1px solid var(--gold-rule-soft); }
.faq dt { padding-top: 18px; font-family: var(--f-display); font-size: 21px; line-height: 1.3; color: var(--gold-hi); }
.faq dd { padding: 6px 0 18px; font-size: 19px; line-height: 1.5; border-bottom: 1px solid var(--gold-rule-soft); }
.faq dd em { color: var(--ivory-mute); }
.back { margin: 0; }
.menu nav a[aria-current="page"] { color: var(--gold-hi); }

/* script picker (demo only) */
.has-picker .panel { padding-bottom: 92px; }
.picker { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; gap: 6px; padding: 8px 0 calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(29, 5, 12, .96); border-top: 1px solid var(--gold-rule); box-shadow: 0 -10px 30px rgba(0, 0, 0, .45); }
.picker-head { display: flex; align-items: center; justify-content: space-between; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.picker-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); }
.picker .picker-toggle { min-height: 32px; padding: 0 12px; border-radius: 16px; font-size: 13px; background: transparent; color: var(--ivory-mute); }
.picker-shut .picker { left: auto; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 0; border: 0; background: none; box-shadow: none; }
.picker-shut .picker-row, .picker-shut .picker-label { display: none; }
.picker-shut .picker-head { padding: 0; }
.picker-shut .picker .picker-toggle { min-height: 44px; padding: 0 18px; border-radius: 22px; background: rgba(29, 5, 12, .96); border-color: var(--gold-rule); color: var(--gold-hi); }
.picker-shut.has-picker .panel { padding-bottom: 0; }
.picker-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px max(16px, env(safe-area-inset-left, 0px)) 2px; scrollbar-width: none; }
.picker-row::-webkit-scrollbar { display: none; }
.picker button { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--gold-rule-soft); border-radius: 22px; background: var(--wine-800); color: var(--ivory); font: 500 15px/1 var(--f-body); letter-spacing: .02em; white-space: nowrap; cursor: pointer; }
.picker button[aria-pressed="true"] { background: var(--btn-gold); color: var(--ink); border-color: #8f6f2a; }

@media (min-width: 760px) {
  .card.page-card { max-width: 680px; }
  .picker-row { justify-content: center; }
  .page-title { margin-top: 18px; }
}

/* the phone header lives in the page shell so it survives view changes */
.top-shell { padding: 58px calc(var(--pad-x) + 20px) 0; }
@media (max-width: 759px) { .top-shell + .card { padding-top: 0; } }
@media (max-width: 759px) { .prose .rows > div { grid-template-columns: 1fr; gap: 4px; } }

/* Couple's note 2026-11-17: the & matches the names (ivory), not gold. */
.names .amp { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ivory); -webkit-text-fill-color: var(--ivory); text-shadow: 0 3px 30px rgba(0, 0, 0, .55); }

/* bullet lists on detail pages: gold diamond markers like the ornaments */
.prose .points { list-style: none; margin: 4px auto 14px; padding: 0; max-width: 400px; text-align: left; }
.prose .points li { position: relative; margin: 0 0 12px; padding-left: 26px; font-size: 19px; line-height: 1.55; }
.prose .points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--foil-gold); }

/* Couple's note 2026-11-24: every & beside the names is ivory like the names (footer too). */
.amp-i { color: var(--ivory); }

/* Couple's note 2026-11-24: the names at the foot of each page stay on one line (app.js shrinks them to fit). */
.foot .names-line { white-space: nowrap; }
