/* =====================================================================
   ARACELI MARTINEZ FOR STATE SENATE — the countdown to Election Day, and how to vote in SD-30 (onlycelery.com)

   The look is Araceli Martinez's own: her gold and navy, heavy condensed
   caps like her logo, the navy strip with white italic type ("FOR STATE
   SENATE"). Edit the tokens to retune it.
   ===================================================================== */
:root {
  --navy: #0d2764;
  --navy-deep: #081a45;
  --navy-lift: #1b3f8f;
  --gold: #f5c445;
  --gold-deep: #d9a51f;
  --gold-pale: #fdf3d0;
  --cream: #faf6ee;
  --white: #ffffff;
  --ink: #14203a;
  --ink-soft: #4f5b76;
  --ink-faint: #8a93a8;
  --red: #d9453d;
  --hairline: rgba(13, 39, 100, 0.14);

  --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --content: 1120px;
  --bar-h: 68px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-weight: 500; background: var(--cream); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 2000; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 8px; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------------
   Type: heavy condensed caps (the logo), the navy strip (the logo's band)
   --------------------------------------------------------------------- */
.ribbon { display: inline-block; padding: 5px 12px 4px; background: var(--navy); color: var(--white); font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(13px, 1.5vw, 15px); line-height: 1.2; margin-bottom: 18px; }
.ribbon.on-gold { background: var(--navy); }
.is-dark .ribbon, .ribbon.on-dark { background: var(--gold); color: var(--navy); }
.title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.005em; font-size: clamp(38px, 6vw, 76px); color: var(--navy); text-wrap: balance; }
.title .g { color: var(--gold-deep); }
.is-dark .title, .title.on-dark { color: var(--white); }
.is-dark .title .g, .title.on-dark .g { color: var(--gold); }
.title.is-hero { font-size: clamp(52px, 10vw, 128px); }
.title.is-mid { font-size: clamp(32px, 4.6vw, 56px); }
.lead { margin-top: 18px; font-size: clamp(17px, 1.9vw, 20px); color: var(--ink-soft); max-width: 54ch; text-wrap: pretty; line-height: 1.6; }
.is-dark .lead, .lead.on-dark { color: rgba(255, 255, 255, 0.84); }
.lead b, .is-dark .lead b { color: inherit; font-weight: 700; }
.textlink { color: var(--navy); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 16px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.textlink:hover { color: var(--gold-deep); border-color: var(--navy); }
.textlink.on-dark, .is-dark .textlink { color: var(--white); border-color: var(--gold); }
.textlink.on-dark:hover, .is-dark .textlink:hover { color: var(--gold); border-color: var(--white); }
.fine { font-size: 13.5px; color: var(--ink-faint); line-height: 1.55; }
.is-dark .fine { color: rgba(255, 255, 255, 0.6); }
.fine a { color: inherit; }

/* ---------------------------------------------------------------------
   Buttons: gold with navy type, or navy with white
   --------------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 2px 26px 0; border-radius: var(--radius); background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 19px; line-height: 1; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 20px rgba(217, 165, 31, 0.28); transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s, color 0.2s; }
.pill:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(217, 165, 31, 0.36); }
.pill:active { transform: translateY(0); }
.pill[disabled] { opacity: 0.6; pointer-events: none; }
.pill-small { min-height: 42px; padding: 2px 18px 0; font-size: 16px; }
.pill-large { min-height: 60px; padding: 2px 34px 0; font-size: 22px; }
.pill-navy { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(13, 39, 100, 0.28); }
.pill-navy:hover { background: var(--navy-deep); box-shadow: 0 14px 28px rgba(13, 39, 100, 0.36); }
.pill-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.pill-outline:hover { background: var(--navy); color: var(--white); box-shadow: none; }
.pill-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8); }
.pill-ghost:hover { background: var(--white); color: var(--navy); box-shadow: none; }

/* ---------------------------------------------------------------------
   Top bar: gold, like the logo's field
   --------------------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 900; background: var(--gold); color: var(--navy); transition: box-shadow 0.3s; }
.topbar.is-stuck { box-shadow: 0 8px 28px rgba(8, 26, 69, 0.28); }
.topbar-inner { max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: var(--bar-h); display: flex; align-items: center; gap: 18px; }
.brand { display: block; flex-shrink: 0; border-radius: 4px; }
.brand img { height: 50px; width: auto; border-radius: 4px; }
.topnav { margin-left: auto; display: flex; gap: 2px; }
.topnav a { display: block; padding: 10px 12px 8px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 16px; color: var(--navy); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.topnav a:hover { border-bottom-color: var(--navy); }
.topbar-cta { flex-shrink: 0; }
.topbar-cta .pill { box-shadow: none; }
@media (max-width: 760px) { .topnav { display: none; } .brand img { height: 42px; } .topbar-cta { margin-left: auto; } }
@media (max-width: 400px) { .topbar-cta .pill { padding: 2px 12px 0; font-size: 15px; } }

/* ---------------------------------------------------------------------
   The clock: full screen, the district outline behind giant rolling digits
   --------------------------------------------------------------------- */
.doom { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - var(--bar-h)); display: grid; place-items: center; padding: clamp(40px, 7vh, 88px) var(--gutter) clamp(48px, 8vh, 96px); color: var(--white); background: radial-gradient(ellipse 64% 50% at 70% 40%, rgba(245, 196, 69, 0.22), rgba(245, 196, 69, 0) 70%), linear-gradient(180deg, var(--navy-lift) 0%, var(--navy) 42%, var(--navy-deep) 100%); }
.doom::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 22px); }
.doom::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 55%, rgba(8, 26, 69, 0.8) 100%); pointer-events: none; }
.doom-bg { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.doom-bg svg { width: min(120%, 1500px); height: auto; opacity: 0.95; transform: translateY(4%); }
.doom-bg path { fill: rgba(255, 255, 255, 0.035); stroke: rgba(255, 255, 255, 0.18); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.js .doom-bg path { stroke-dasharray: var(--len, 6000); stroke-dashoffset: var(--len, 6000); animation: doom-draw 3.2s var(--ease) 0.4s forwards; }
@keyframes doom-draw { to { stroke-dashoffset: 0; } }
.doom-bear { position: absolute; right: -4%; bottom: -6%; width: clamp(240px, 36vw, 560px); opacity: 0.1; z-index: -1; pointer-events: none; }
.doom-inner { width: 100%; max-width: var(--content); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: clamp(16px, 2.6vh, 26px); }
.doom-inner > * { max-width: 100%; min-width: 0; }
.doom-inner .ribbon { margin-bottom: 0; }

.doom-clock { display: flex; align-items: flex-start; justify-content: center; gap: clamp(6px, 1.6vw, 22px); margin-top: clamp(4px, 1vh, 12px); font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; --digit: clamp(64px, 15vw, 190px); }
.doom-unit { display: grid; justify-items: center; gap: clamp(6px, 1.2vh, 14px); }
.doom-digits { display: flex; gap: 0.01em; font-size: var(--digit); color: var(--white); text-shadow: 0 0 40px rgba(245, 196, 69, 0.35), 0 10px 40px rgba(0, 0, 0, 0.45); }
.doom-slot { display: block; height: 1em; width: 0.5em; overflow: hidden; }
.doom-strip { display: block; white-space: pre; line-height: 1; transform: translateY(0); transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.21, 1); }
.doom-label { font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: clamp(12px, 1.5vw, 16px); color: var(--gold); padding-left: 0.16em; }
.doom-colon { font-size: var(--digit); line-height: 1; color: var(--gold); padding-top: 0.01em; animation: doom-blink 1s steps(1) infinite; }
@keyframes doom-blink { 50% { opacity: 0.25; } }
.doom-clock.is-last-minute .doom-digits { animation: doom-pulse 1s ease-in-out infinite; }
@keyframes doom-pulse { 50% { text-shadow: 0 0 70px rgba(245, 196, 69, 0.9), 0 10px 40px rgba(0, 0, 0, 0.45); } }
.doom-clock.is-done .doom-colon { animation: none; opacity: 0.4; }
.doom-clock.is-done .doom-digits { color: rgba(255, 255, 255, 0.55); text-shadow: none; }
.js .doom-unit, .js .doom-colon { animation: doom-rise 0.9s var(--ease) both; }
.js .doom-unit:nth-child(3), .js .doom-colon:nth-child(2) { animation-delay: 0.12s; }
.js .doom-unit:nth-child(5), .js .doom-colon:nth-child(4) { animation-delay: 0.24s; }
.js .doom-unit:nth-child(7), .js .doom-colon:nth-child(6) { animation-delay: 0.36s; }
.js .doom-colon { animation: doom-rise 0.9s var(--ease) both, doom-blink 1s steps(1) 1s infinite; }
@keyframes doom-rise { from { opacity: 0; transform: translateY(26px) scale(0.96); } }

.doom-track { width: min(100%, 760px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: clamp(6px, 1.6vh, 18px); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: rgba(255, 255, 255, 0.6); text-align: left; line-height: 1.3; }
.doom-track-end b { display: block; color: var(--white); font-size: 15px; }
.doom-track-end.is-right { text-align: right; }
.doom-bar { position: relative; height: 4px; background: rgba(255, 255, 255, 0.16); }
.doom-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); box-shadow: 0 0 18px rgba(245, 196, 69, 0.7); transition: width 1s linear; }
.doom-bar em { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(245, 196, 69, 0.25), 0 0 24px rgba(245, 196, 69, 0.9); transition: left 1s linear; }

.doom-sub { max-width: 56ch; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.86); text-wrap: pretty; }
.doom-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: clamp(2px, 1vh, 8px); }
.scrollcue { margin-top: 6px; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.55); font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; text-decoration: none; }
.scrollcue i { width: 2px; height: 34px; background: linear-gradient(to bottom, var(--gold), transparent); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 560px) { .doom-cta { width: 100%; } .doom-cta .pill { flex: 1 1 100%; } .doom-track { gap: 10px; } .doom-clock { gap: 4px; } .doom-bg svg { width: 150%; } .doom-bear { display: none; } }
@media (prefers-reduced-motion: reduce) { .doom-strip, .doom-bar i, .doom-bar em { transition: none; } .doom-colon, .js .doom-unit, .js .doom-colon, .js .doom-bg path, .scrollcue i { animation: none; stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------------
   The dates strip (gold) and the page bands
   --------------------------------------------------------------------- */
.dates { background: var(--gold); color: var(--navy); padding: 16px var(--gutter) 14px; }
.dates-line { max-width: var(--content); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 18px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 16px; text-align: center; }
.dates-line b { font-weight: 800; font-size: 34px; letter-spacing: 0; line-height: 1; margin-right: 4px; }
.dates-line .dot { opacity: 0.45; }
.band { padding: clamp(56px, 10vh, 120px) var(--gutter); position: relative; }
.band.is-cream { background: var(--cream); }
.band.is-white { background: var(--white); }
.band.is-dark { background: var(--navy); color: var(--white); }
.band.is-tight { padding-top: clamp(36px, 6vh, 72px); }
.band > * { max-width: var(--content); margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------------
   Step 1: the address, or a county button
   --------------------------------------------------------------------- */
.vstart { display: grid; gap: 0; }
.dcheck { margin-top: clamp(22px, 3vh, 30px); max-width: 720px; }
.dcheck-row { display: flex; gap: 10px; }
.dcheck-row input { flex: 1 1 auto; min-width: 0; min-height: 54px; padding: 0 16px; border-radius: var(--radius); border: 2px solid var(--hairline); background: var(--white); color: var(--ink); font-size: 16px; font-weight: 500; transition: border-color 0.2s, box-shadow 0.2s; }
.dcheck-row input::placeholder { color: var(--ink-faint); }
.dcheck-row input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(245, 196, 69, 0.35); }
.dcheck .textlink { margin-top: 14px; }
.dcheck-status { margin-top: 10px; min-height: 1.4em; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.dcheck.is-busy .pill { opacity: 0.6; pointer-events: none; }
.vpick { margin-top: clamp(26px, 4vh, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.vpick-label { font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; color: var(--ink-soft); }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { min-height: 46px; padding: 3px 20px 0; border-radius: var(--radius); border: 2px solid var(--navy); color: var(--navy); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 17px; transition: background 0.2s, color 0.2s; }
.vchip:hover { background: var(--gold-pale); }
.vchip.is-on { background: var(--navy); color: var(--white); }
@media (max-width: 560px) { .dcheck-row { flex-direction: column; } .dcheck-row .pill { width: 100%; } }

/* ---------------------------------------------------------------------
   Step 2: where things stand today, and the four ways to vote
   --------------------------------------------------------------------- */
.vstatus { margin-top: 18px; font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; color: var(--ink-soft); max-width: 70ch; }
.vstatus b { color: var(--navy); font-weight: 700; }
.vnotice { margin-top: 22px; padding: 16px 20px; background: var(--gold-pale); border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-size: 15.5px; line-height: 1.55; max-width: 70ch; }
.vnotice b { color: var(--navy); }
.vnotice a { color: var(--navy); font-weight: 700; }
.vtiles { margin-top: clamp(26px, 4vh, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.vtile { position: relative; display: block; }
.vtile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vtile-box { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; height: 100%; padding: clamp(18px, 2.4vw, 26px); background: var(--cream); border: 2px solid var(--hairline); border-radius: var(--radius); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s; }
.vtile-box svg { width: 44px; height: 44px; grid-row: 1 / span 2; color: var(--navy); }
.vtile-box b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1; color: var(--navy); padding-top: 4px; }
.vtile-box small { display: block; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.vtile-box small b { display: inline; font: inherit; font-weight: 700; text-transform: none; color: var(--navy); padding: 0; }
.vtile:hover .vtile-box { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(13, 39, 100, 0.12); border-color: var(--navy); }
.vtile input:checked + .vtile-box { background: var(--navy); border-color: var(--navy); }
.vtile input:checked + .vtile-box b, .vtile input:checked + .vtile-box small b { color: var(--gold); }
.vtile input:checked + .vtile-box svg { color: var(--gold); }
.vtile input:checked + .vtile-box small { color: rgba(255, 255, 255, 0.84); }
.vtile input:focus-visible + .vtile-box { outline: 3px solid var(--gold); outline-offset: 3px; }
.vtile.is-late .vtile-box { border-color: var(--red); }
@media (max-width: 700px) { .vtiles { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Step 3: the chosen way, in detail, then the plan (on navy)
   --------------------------------------------------------------------- */
.vmethod-card { margin-top: clamp(24px, 4vh, 36px); background: var(--white); color: var(--ink); padding: clamp(22px, 3.2vw, 36px); border-top: 6px solid var(--gold); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(8, 26, 69, 0.35); max-width: 860px; }
.vmethod-card.is-late { border-top-color: var(--red); }
.vmethod-card p { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; color: var(--ink-soft); }
.vmethod-card p + p, .vmethod-card .vsub { margin-top: 12px; }
.vmethod-card p b { color: var(--navy); font-weight: 700; }
.vmethod-card .vsub { font-size: 15px; }
.vmethod-card .vsub a, .vmethod-card p a { color: var(--navy); font-weight: 700; }
.vmethod-card .pill { margin-top: 16px; }
.vplaces { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.vplaces li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 12px 14px; background: var(--cream); border-radius: var(--radius); font-size: 15px; line-height: 1.45; }
.vplaces b { display: block; color: var(--navy); font-weight: 700; }
.vplaces span { color: var(--ink-soft); }
.vplaces em { font-style: normal; color: var(--gold-deep); font-weight: 700; }
.vdist { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; font-size: 15px; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.vdist a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.vlinks { margin-top: clamp(26px, 4vh, 36px); display: flex; flex-wrap: wrap; gap: 12px 26px; }
.vfine { margin-top: 18px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.62); max-width: 80ch; }
.vplan-intro { margin-top: clamp(28px, 5vh, 44px); font-size: clamp(17px, 1.9vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.86); max-width: 54ch; }
.vplan-back { margin-top: clamp(26px, 4vh, 36px); }
@media (max-width: 700px) { .vplaces li { flex-direction: column; gap: 6px; } .vdist { flex-direction: row; align-items: center; gap: 12px; } }

.vplan { display: grid; gap: clamp(22px, 3.4vh, 32px); max-width: 860px; }
.vplan-legend { display: block; font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 16px; color: var(--gold); margin-bottom: 12px; }
.vplan-legend.is-sub { margin-top: 18px; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kind { position: relative; }
.kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kind span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 3px 16px 0; border-radius: var(--radius); border: 2px solid rgba(255, 255, 255, 0.55); color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 16px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; user-select: none; }
.kind span::before { content: ""; width: 0; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%230d2764' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: width 0.25s var(--ease); }
.kind:hover span { background: rgba(255, 255, 255, 0.1); }
.kind input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.kind input:checked + span::before { width: 16px; }
.kind input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.vselect { display: block; width: 100%; max-width: 640px; min-height: 52px; padding: 10px 44px 10px 14px; border-radius: var(--radius); border: 2px solid rgba(255, 255, 255, 0.28); background: var(--white); color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 15.5px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230d2764' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.vselect:focus { outline: none; border-color: var(--gold); }
.vplan-hint { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.vplan-hint a { color: var(--gold); font-weight: 700; }
.vplan-other { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.vplan-other .vplan-hint { margin-top: 0; }
.vdate { min-height: 46px; padding: 8px 14px; border-radius: var(--radius); border: 2px solid rgba(255, 255, 255, 0.28); background: var(--white); color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 15px; }
.vdate:focus { outline: none; border-color: var(--gold); }
.vplan-card { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(22px, 3vw, 36px); align-items: start; background: var(--white); color: var(--ink); padding: clamp(22px, 3.2vw, 36px); border-top: 6px solid var(--gold); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(8, 26, 69, 0.35); animation: rise 0.6s var(--ease); }
.vplan-kicker { font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; color: var(--gold-deep); }
.vplan-summary { margin-top: 10px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; font-weight: 600; color: var(--navy); text-wrap: pretty; }
.vplan-summary b { color: var(--navy); font-weight: 800; }
.vplan-note { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.vplan-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.vplan-fine { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }
.vplan-thumb { position: relative; display: block; width: 100%; padding: 0; background: var(--navy); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(13, 39, 100, 0.28); transition: transform 0.25s var(--ease), box-shadow 0.25s; overflow: hidden; }
.vplan-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.vplan-thumb:hover { transform: translateY(-3px) rotate(-0.5deg); box-shadow: 0 26px 60px rgba(13, 39, 100, 0.36); }
.vplan-thumb-tag { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 7px 14px 5px; border-radius: 4px; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; white-space: nowrap; }
.vplan-thumb.is-drawing img { opacity: 0.6; }
@media (max-width: 760px) { .vplan-card { grid-template-columns: 1fr; } .vplan-thumb { order: -1; width: min(100%, 300px); margin: 0 auto; } }
@media (max-width: 560px) { .vplan-actions .pill { flex: 1 1 100%; } .vplan-actions .textlink { margin-top: 4px; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* The share sheet */
.vshare { border: 0; padding: 0; margin: auto; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; display: none; place-items: center; }
.vshare[open] { display: grid !important; }
.vshare::backdrop { background: rgba(8, 26, 69, 0.9); }
.vshare-box { position: relative; width: min(94vw, 560px); max-height: 94vh; overflow: auto; background: var(--white); color: var(--ink); padding: clamp(20px, 3vw, 32px); border-top: 6px solid var(--gold); border-radius: var(--radius); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5); display: grid; gap: 14px; }
.vshare-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-soft); }
.vshare-x:hover { color: var(--navy); }
.vshare-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.8vw, 30px); line-height: 1; color: var(--navy); padding-right: 40px; }
.vshare-formats .kind span { border-color: var(--navy); color: var(--navy); }
.vshare-formats .kind input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.vshare-formats .kind input:checked + span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.vshare-preview { display: block; width: min(100%, 360px); height: auto; margin: 0 auto; border-radius: 4px; box-shadow: 0 18px 44px rgba(13, 39, 100, 0.3); }
.vshare-caption { padding: 12px 14px; background: var(--cream); border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.vshare-caption-label { font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: var(--gold-deep); }
.vshare-caption-text { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.vshare-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vshare-actions .pill { min-height: 48px; padding: 2px 14px 0; font-size: 16px; }
.vshare-actions #vshare-share:not([hidden]) { grid-column: 1 / -1; }
.vshare-note { min-height: 1.4em; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 420px) { .vshare-actions { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Who's Araceli: her photo and her own words
   --------------------------------------------------------------------- */
.meet { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.meet-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(8, 26, 69, 0.25); aspect-ratio: 4 / 3; }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.meet-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--gold); }
.meet-cta { margin-top: clamp(22px, 3.6vh, 32px); display: flex; flex-wrap: wrap; gap: 12px 14px; }
@media (max-width: 860px) { .meet { grid-template-columns: 1fr; } .meet-photo { order: -1; aspect-ratio: 3 / 2; } }
@media (max-width: 560px) { .meet-cta .pill { flex: 1 1 100%; } }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); padding: clamp(48px, 8vh, 80px) var(--gutter) calc(clamp(28px, 5vh, 48px) + env(safe-area-inset-bottom)); font-size: 15px; line-height: 1.6; }
.footer-inner { max-width: var(--content); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.footer-brand { display: inline-block; border-radius: 6px; }
.footer-brand img { width: min(240px, 100%); height: auto; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.footer-cols h3 { font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; color: var(--gold); margin-bottom: 10px; }
.footer-cols a { display: block; color: rgba(255, 255, 255, 0.86); text-decoration: none; padding: 5px 0; font-weight: 600; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: clamp(32px, 5vh, 48px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.disclosure { display: inline-block; padding: 8px 14px 7px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 4px; color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.footer-fine { font-size: 13.5px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 3000; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; background: var(--navy); color: var(--white); font-size: 15px; font-weight: 700; padding: 12px 20px; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(8, 26, 69, 0.35); transition: opacity 0.3s, transform 0.3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------------
   Scroll reveals. Only hide things when JS is there to show them again.
   --------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise-in 0.9s var(--ease) forwards; }
.js [data-rise]:nth-child(2) { animation-delay: 0.1s; }
.js [data-rise]:nth-child(3) { animation-delay: 0.22s; }
@keyframes rise-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-rise] { opacity: 1; transform: none; }
}
