/* ─────────────────────────────────────────────
   Aniket & Smital — wedding site (aniket.smital.wedding, copy of classic/wine) · "Wine & Gold" lotus theme
   Reference: smital.wedding/shortlist.html → the "wine & gold" palette, on the same lotus cards as classic/lotus (Ivory & Brass).
     Plain = gold linework and small labels, ivory lettering, on wine.
     A     = every line, the flower and the small labels in the second colour (ivory). Marks the wedding.
   Type: Cormorant (text) · Snell Roundhand (script) · Cineplex LT (labels & numerals)
   ───────────────────────────────────────────── */

@font-face {
  font-family: "Cineplex";
  src: local("Cineplex LT Bold"), url("fonts/CineplexLT-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cineplex SC";
  src: local("Cineplex LT Regular Small Caps"), url("fonts/CineplexLT-SC.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #44141F;
  --ground-lift: #56202C;                  /* a little light at the top of the page and the gate */
  --ink: #F5EFE3;
  --ink-soft: #D3BDB0;
  --fg: #F5EFE3;                           /* lettering */
  --ground-deep: #360E18;
  --brass: #D2B37C;
  --brass-light: #E9D3A6;
  --glint: #FFF3D6;                        /* the highlight of an acceptance: sparks, glints, lit petals */
  --accent: #F5EFE3;                         /* the second colour: anything that is the wedding itself */
  --tone: var(--brass);                    /* linework colour in use; .tone-rose switches it */
  --tone-soft: rgba(210, 179, 124, .45);
  --line: rgba(210, 179, 124, .38);
  --line-on-dark: rgba(210, 179, 124, .32);

  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --script: "Snell Roundhand", "Pinyon Script", "Apple Chancery", cursive;
  --deco: "Cineplex", "Cineplex SC", "Avenir Next", "Century Gothic", sans-serif;
  --deco-sc: "Cineplex SC", "Cineplex", "Avenir Next", "Century Gothic", sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 13vw, 176px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--fg);
  font-family: var(--serif);
  font-size: clamp(1.19rem, 1.05rem + .45vw, 1.375rem);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

::selection { background: var(--fg); color: var(--ground); }

:focus-visible { outline: 1.5px solid var(--brass); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--fg); color: var(--ground);
  padding: 10px 16px; font-family: var(--deco); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 16px; }

.tone-rose { --tone: var(--accent); --tone-soft: rgba(245, 239, 227, .5); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { width: min(820px, 100%); }

/* ── Shared type ───────────────────────────── */

.label {
  font-family: var(--deco);
  font-weight: 700;
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.eyebrow { color: var(--brass); margin-bottom: 18px; }

.title { font-weight: 300; line-height: 1; text-wrap: balance; color: var(--fg); }
.title-serif {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  letter-spacing: .01em;
  vertical-align: .18em;
}
.title-script {
  font-family: var(--script);
  font-size: clamp(3.4rem, 2rem + 6vw, 6.25rem);
  line-height: 1.1;
  padding-inline: .06em .12em;
}

.lead {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  text-wrap: balance;
}

.section { padding-block: var(--section); position: relative; }
.section-head { text-align: center; margin-bottom: clamp(48px, 7vw, 88px); }

.link {
  font-family: var(--deco); font-weight: 700; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; color: var(--fg);
  display: inline-block; padding-bottom: 6px;
  background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link:hover { background-size: 28px 1px; color: var(--brass); }
button.link { border: 0; border-radius: 0; cursor: pointer; padding: 0 0 6px; text-align: left; }

.rule-diamond {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--brass);
}
.rule-diamond::before, .rule-diamond::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .7; }
.rule-diamond span { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }

/* ── The lotus card ────────────────────────────
   A half flower over a double-line frame, with the date in the arch. The linework is drawn by script.js into
   <svg class="lotus"> on a 400-unit-wide grid; --h is the card's height in the same units. Everything inside
   is sized in cqw (100cqw = the card's width = 400 units), so a card looks the same at every size. */

.lotus-card {
  position: relative; container-type: inline-size;
  aspect-ratio: 400 / var(--h);
  color: var(--fg);
}
.lotus { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.lotus .ln { fill: none; stroke: var(--tone); }
.lotus .pet { fill: var(--tone); fill-opacity: .12; transform-origin: var(--ox) var(--oy); }   /* a pale wash; never solid */
.lotus .dt { fill: var(--tone); transform-box: fill-box; transform-origin: center; }
.lotus .frm { stroke-dasharray: 1; }

/* the date, inside the arch */
.lotus-hub { position: absolute; left: 0; right: 0; top: calc(145 / var(--h) * 100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.lotus-hub span { font-family: var(--deco); font-weight: 700; font-size: 3.2cqw; line-height: 1.3; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: var(--tone); }
.lotus-hub b { font-family: var(--deco-sc); font-weight: 400; font-size: 8.6cqw; line-height: 1; letter-spacing: .05em; padding-left: .05em; color: var(--fg); }

/* Motion, "scroll + living": the frame draws, the petals open out from the centre (inner row first),
   and then they go on breathing and the dots twinkle for as long as the card is there.
   --c staggers cards that arrive together. */
.lotus .pet {
  animation:
    lotus-bloom 1.15s cubic-bezier(.2, 1.3, .35, 1) both,
    lotus-breathe 5.5s ease-in-out infinite;
  animation-delay:
    calc(var(--at, .15s) + var(--c, 0) * .22s + var(--row) * .5s + var(--i) * 34ms),
    calc(var(--at, .15s) + var(--c, 0) * .22s + 2.4s + var(--i) * .42s + var(--row) * 1.4s);
}
.lotus .frm { animation: lotus-draw 2.2s cubic-bezier(.6, 0, .2, 1) calc(var(--at, .15s) + var(--c, 0) * .22s) both; }
.lotus .dt {
  animation: lotus-pop .5s ease-out both, lotus-twinkle 3.2s ease-in-out infinite;
  animation-delay: calc(var(--at, .15s) + var(--c, 0) * .22s + 1.5s), calc(var(--at, .15s) + 3.4s + var(--i) * 1.3s);
}
@keyframes lotus-bloom { from { opacity: 0; transform: scale(.12); } 55% { opacity: 1; } to { opacity: 1; transform: scale(1); } }
@keyframes lotus-breathe { 50% { transform: scale(1.05); } }
@keyframes lotus-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lotus-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes lotus-twinkle { 50% { opacity: .25; } }

/* ── Navigation ────────────────────────────── */

.nav {
  /* sits at the top of the page and scrolls away with it; it does not follow the reader down */
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding-inline: var(--pad);
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.nav-mark {
  font-family: var(--script); font-size: 1.9rem; line-height: 1; text-decoration: none; color: var(--fg);
  padding: 8px 10px 4px 4px;
}
.nav-mark i { font-family: var(--serif); font-weight: 300; font-size: .5em; color: var(--brass); margin-inline: .1em .22em; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a {
  font-family: var(--deco); font-weight: 700; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  padding: 10px 0; position: relative;
  transition: color .3s;
}
.nav-links a:not(.nav-rsvp)::after {
  content: ""; position: absolute; left: 0; right: .26em; bottom: 4px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-rsvp {
  border: 1px solid var(--fg); color: var(--fg);
  padding: 10px 16px 9px calc(16px + .26em);
  transition: background-color .3s, color .3s;
}
.nav-links .nav-rsvp:hover { background: var(--fg); color: var(--ground); }

.nav-toggle {
  display: none;
  background: none; border: 0; color: var(--fg); cursor: pointer;
  font-family: var(--deco); font-weight: 700; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase;
  padding: 14px 0 14px 14px;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-mark { position: relative; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 30px;
    background: var(--ground);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-links a { font-size: .85rem; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; }
}

/* ── What opens the page ───────────────────────
   Still being chosen, so both are here; the choice is set on <html> (by the preview menu, for now):
     (nothing)             the invitation comes first and the names card is left out
     data-top="names"      the names card comes first, and the invitation follows as an ordinary section
     data-countdown="on"   the countdown shows, under whichever of the two comes first
     data-gate="names"     the opening card carries the couple's card instead of the family's name */
html:not([data-top="names"]) .hero, html:not([data-top="names"]) .nav-invitation { display: none; }
html:not([data-countdown="on"]) .countdown { display: none; }
html[data-top="names"] .invitation .countdown { display: none; }
html[data-gate="names"] .gate-names, html:not([data-gate="names"]) .gate-couple { display: none; }

/* ── Hero ──────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(100svh, 1080px);
  padding: 88px var(--pad) clamp(28px, 4vh, 56px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--ground-lift) 0%, rgba(86, 32, 44, 0) 70%),
    var(--ground);
}

/* The hero card: the half flower, the date in its arch, the names in the frame beneath. */
.hero-card {
  --h: 566;
  width: min(460px, calc(100vw - 2 * var(--pad)), max(250px, calc((100vh - 250px) * 400 / 566)));
  width: min(460px, calc(100vw - 2 * var(--pad)), max(250px, calc((100svh - 250px) * 400 / 566)));
  --at: .35s;
}
.gate-couple .names, .gate-couple .hero-lede { text-align: center; }
.hero-txt { position: absolute; left: 0; right: 0; top: calc(229 / 566 * 100%); display: flex; flex-direction: column; align-items: center; }

.hero-eyebrow { font-size: 2.7cqw; padding-left: .3em; color: var(--tone); margin-bottom: 2cqw; }

.names {
  font-family: var(--script);
  font-weight: 400;
  font-size: 16cqw;
  line-height: 1.08;
  color: var(--fg);
}
.names .name { display: block; padding-inline: .15em; }
.names .amp {
  display: block;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: .375em; line-height: 1; color: var(--tone);
  margin-top: .075em;
}

.hero-lede {
  font-style: italic; font-weight: 400;
  font-size: 4.4cqw; line-height: 1.25;
  margin-top: 4.4cqw;
  color: var(--fg);
}
.hero-txt .rule-diamond { margin-block: 4cqw 3.4cqw; gap: 2.4cqw; color: var(--tone); }
.hero-txt .rule-diamond::before, .hero-txt .rule-diamond::after { width: 10cqw; opacity: .8; }
.hero-txt .rule-diamond span { width: 1.5cqw; height: 1.5cqw; }

.hero-date { display: grid; gap: 1.4cqw; justify-items: center; }
.hero-date span {
  font-family: var(--deco); font-weight: 700; font-size: 2.7cqw; line-height: 1.4; letter-spacing: .3em; text-transform: uppercase;
  padding-left: .3em;
  color: var(--tone);
}

.countdown {
  display: flex; justify-content: center;
  margin-top: clamp(22px, 3.4vh, 40px);
}
.cd-unit {
  display: grid; gap: 4px; justify-items: center;
  min-width: clamp(68px, 17vw, 112px);
  padding-inline: 6px;
}
.cd-unit + .cd-unit { border-left: 1px solid var(--line); }
.cd-num {
  font-family: var(--deco-sc); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: .06em; color: var(--fg);
}
.cd-unit .label { font-size: .58rem; letter-spacing: .26em; color: var(--ink-soft); padding-left: .26em; }

/* ── Story ─────────────────────────────────── */

.story-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 8vw, 120px); align-items: start;
}
.story-art { position: sticky; top: 108px; }

.portrait {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5.4;
  width: min(420px, 100%); margin-inline: auto;
  border-radius: 9999px 9999px 0 0;
  background: linear-gradient(180deg, var(--fg) 0%, var(--ground-deep) 100%);
  color: var(--brass-light);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px var(--ground), 0 0 0 2px var(--brass), 0 0 0 11px var(--ground), 0 0 0 12px var(--line);
  margin-block: 12px;
}
.portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait > .fan { position: absolute; top: 0; left: 0; width: 100%; opacity: .45; }
.portrait-mark {
  position: relative;
  font-family: var(--script); font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; color: var(--ground);
  margin-top: 22%;
}
.portrait-mark i { font-family: var(--serif); font-weight: 300; font-size: .42em; color: var(--brass-light); margin-inline: .12em .2em; }
.portrait-cap { position: absolute; bottom: 9%; left: 0; right: 0; text-align: center; padding-left: .3em; }

.story-text .title { margin-bottom: clamp(24px, 4vw, 44px); margin-left: -.04em; }
.story-text > p { max-width: 34em; }
.story-text > p + p { margin-top: 1em; }
.story-text > .lead { margin-bottom: .3em; color: var(--fg); }

.chapters { margin-top: clamp(40px, 6vw, 68px); border-top: 1px solid var(--line); }
.chapters li {
  display: grid; grid-template-columns: 64px 1fr; align-items: baseline;
  padding-block: 22px; border-bottom: 1px solid var(--line);
}
.chapter-n { font-family: var(--deco-sc); font-size: 1.15rem; letter-spacing: .14em; color: var(--brass); }
.chapters h3 { font-weight: 500; font-size: 1.35em; line-height: 1.2; }
.chapters p { color: var(--ink-soft); font-style: italic; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-art { position: static; }
  .portrait { width: min(320px, 78%); }
  .story-text { text-align: center; }
  .story-text > p { margin-inline: auto; }
  .chapters li { text-align: left; }
}

/* ── Celebrations ──────────────────────────── */

.celebrations { background: var(--ground); }

/* Each gathering is a lotus card: the date in the arch, the name in script, the details in ruled rows.
   Three are plain (gold); the wedding itself takes the second colour (ivory). */
.events {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 40px);
  align-items: start;
  padding-block: 4px 8px;
}
.event { position: relative; }
.event .lotus-card { --h: 820; }
.events .event:nth-child(1) { --c: 0; }
.events .event:nth-child(2) { --c: 1; }
.events .event:nth-child(3) { --c: 2; }
.events .event:nth-child(4) { --c: 3; }
.event-feature { --tone: var(--accent); --tone-soft: rgba(245, 239, 227, .5); }

.event-txt {
  position: absolute; left: 0; right: 0; top: calc(230 / 820 * 100%); bottom: calc(38 / 820 * 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
}
.event-txt > div, .event-txt > dl { display: flex; flex-direction: column; align-items: center; width: 100%; }
.event-day { font-size: 3.7cqw; padding-left: .3em; color: var(--tone); }
.event-name { font-family: var(--script); font-weight: 400; font-size: 15cqw; line-height: 1.2; margin-top: 1.6cqw; white-space: nowrap; color: var(--fg); }
.event-desc { font-style: italic; font-size: 6cqw; line-height: 1.32; max-width: 78cqw; margin-top: 2.6cqw; opacity: .92; text-wrap: balance; }
.event-rows > div { width: 77cqw; padding: 3.2cqw 0 3cqw; border-top: 1px solid var(--tone-soft); }
.event-rows dt { font-size: 3.5cqw; padding-left: .3em; color: var(--tone); }
.event-rows dd { font-size: 6.8cqw; line-height: 1.2; margin-top: .8cqw; text-wrap: balance; }

/* the cards open as they arrive: nothing of the flower shows before then */
.js .event.reveal:not(.is-in) .lotus :is(.pet, .frm, .dt) { animation: none; opacity: 0; }

@media (min-width: 1280px) {
  /* four in a row, let out a little wider than the text column so each card has room to breathe */
  .events { width: min(1320px, calc(100vw - 2 * var(--pad))); margin-left: 50%; transform: translateX(-50%); }
}
@media (max-width: 1279px) {
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-inline: auto; row-gap: 56px; }
}
/* A guest who is not sent every gathering gets fewer cards: same card size, the row centred. */
@media (min-width: 1280px) {
  .events[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(640px, calc(100vw - 2 * var(--pad))); }
  .events[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(980px, calc(100vw - 2 * var(--pad))); }
}
@media (min-width: 621px) and (max-width: 1279px) {
  .events[data-count="3"] .event:nth-child(3) { grid-column: 1 / -1; justify-self: center; width: calc((100% - clamp(22px, 2.4vw, 40px)) / 2); }
}
.events-dots { display: none; }
@media (max-width: 620px) {
  /* phones: the cards sit side by side and are swiped through, one at a time, with the next one peeking in */
  .events {
    --card-w: min(80vw, 330px, calc(80vh * 400 / 820));
    --card-w: min(80vw, 330px, calc(80svh * 400 / 820));
    display: flex; gap: 22px; max-width: none;
    margin-inline: calc(-1 * var(--pad));                       /* run edge to edge, past the page padding */
    padding: 8px calc((100vw - var(--card-w)) / 2) 40px;         /* first and last card can centre */
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: calc((100vw - var(--card-w)) / 2);
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .events::-webkit-scrollbar { display: none; }
  .event { flex: 0 0 var(--card-w); scroll-snap-align: center; scroll-snap-stop: always; }
  .events .event:nth-child(n) { transition-delay: 0s; }
  /* which card you are on */
  .events-dots { display: flex; justify-content: center; gap: 10px; margin-top: -14px; }
  .events-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); opacity: .32; transition: opacity .3s, transform .3s; }
  .events-dots i.is-on { opacity: 1; transform: scale(1.25); }
}

/* ── Travel ────────────────────────────────── */

/* ── Map (Leaflet + OpenStreetMap) ─────────── */

.travel .section-head { margin-bottom: 0; position: relative; z-index: 4; }

.map-stage {
  position: relative; isolation: isolate;
  margin-top: clamp(-40px, -3vw, -16px);
  margin-bottom: clamp(48px, 7vw, 88px);
  background: var(--ground);
}
.map {
  z-index: 0;
  height: clamp(520px, 82vh, 780px);
  background: #7A1C30;
  font: inherit;
}
/* Duotone: tiles go greyscale and are inverted, then sit half-strength over a lighter wine: land lands on the page's wine,
   roads a shade deeper, names and outlines pale. Done on the tile layer alone, so the pins keep their own colours. */
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) sepia(.6) contrast(1.1); opacity: .5; }
.map-stage::before, .map-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.map-stage::before, .map-stage::after { display: none; }
.map-fade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, var(--ground) 0%, rgba(68, 20, 31, .86) 9%, rgba(68, 20, 31, 0) 27%, rgba(68, 20, 31, 0) 80%, var(--ground) 100%),
    radial-gradient(120% 90% at 50% 50%, rgba(68, 20, 31, 0) 55%, rgba(68, 20, 31, .55) 100%);
}

.map-card {
  position: absolute; z-index: 3;
  left: max(var(--pad), calc((100% - 1180px) / 2 + var(--pad)));
  top: 50%; translate: 0 -46%;
  width: min(360px, calc(100% - 2 * var(--pad)));
  background: var(--ground);
  padding: 34px 32px 32px;
  border: 1px solid var(--tone);
  outline: 1px solid var(--tone-soft); outline-offset: -8px;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .5);
  transition: border-color .4s, outline-color .4s;
}
.map-card .eyebrow { margin-bottom: 10px; font-size: .62rem; }
.map-card-title { font-family: var(--script); font-weight: 400; font-size: 2.7rem; line-height: 1.15; color: var(--fg); }
.map-card-note { color: var(--ink-soft); font-style: italic; line-height: 1.35; margin-top: 2px; min-height: 1.35em; }

/* choose a place: three tabs; the card, the map and the button follow the choice */
.map-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.map-tabs button {
  flex: 1 1 0; min-height: 44px; padding: 0 6px 0 calc(6px + .2em);
  font-family: var(--deco); font-weight: 700; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg); background: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: 0;
  position: relative;
  transition: color .25s, border-color .25s;
}
.map-tabs button::before { content: ""; position: absolute; inset: 0; background: var(--tone); opacity: 0; transition: opacity .25s; }
.map-tabs button:hover { border-color: var(--tone); }
.map-tabs button[aria-pressed="true"] { border-color: var(--tone); }
.map-tabs button[aria-pressed="true"]::before { opacity: .14; }           /* the chosen tab: a pale wash, like the petals */
.map-card-when { color: var(--tone); margin-bottom: 8px; font-size: .6rem; line-height: 1.6; transition: color .4s; }
.map-go {
  display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none;
  width: 100%; min-height: 56px; margin-top: 22px;
  padding: 14px 16px 13px calc(16px + .24em); font-size: .7rem; letter-spacing: .24em; line-height: 1.5;
}
.map-go-hint { margin-top: 12px; font-style: italic; font-size: .92em; line-height: 1.35; color: var(--ink-soft); text-align: center; }

/* changing place: the map dims, moves while unseen, and comes back */
.map { transition: opacity .4s ease; }
.map.is-swapping { opacity: 0; transition-duration: .18s; }
.map-stage.no-map .map, .map-stage.no-map .map-fade, .map-stage.no-map .map-credit { display: none; }
.map-stage.no-map .map-card { position: relative; left: auto; top: auto; translate: none; margin: 40px auto 0; }

/* Pins: the chosen place is a small lotus opening over the spot; the others are quiet diamonds. */
.pin { background: none; border: 0; }
.pin-lotus svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; filter: drop-shadow(0 0 3px var(--ground)) drop-shadow(0 0 3px var(--ground)); }
.pin-lotus .ln { fill: none; stroke: var(--tone); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pin-lotus .pet { fill: var(--ground); stroke: var(--tone); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pin-lotus .wash { fill: var(--tone); fill-opacity: .16; stroke: none; }
.pin-lotus .dt { fill: var(--tone); }

.pin-place-body {
  position: absolute; inset: 7px;
  background: var(--ground); border: 1px solid var(--brass);
  box-shadow: 0 0 0 3px var(--ground);
  rotate: 45deg;
}

.leaflet-tooltip.map-label {
  background: var(--ground); color: var(--fg);
  border: 1px solid var(--line); border-radius: 0; box-shadow: none;
  padding: 5px 9px 4px calc(9px + .22em);
  font-family: var(--deco); font-weight: 700; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; line-height: 1.3;
}
.leaflet-tooltip.map-label::before { display: none; }

/* Leaflet chrome, restyled */
.map .leaflet-bar { border: 1px solid var(--brass); border-radius: 0; box-shadow: none; }
.map .leaflet-bar a {
  width: 38px; height: 38px; line-height: 36px;
  background: var(--ground); color: var(--fg); border-radius: 0 !important; border-bottom-color: var(--line);
  font: 300 22px/36px var(--serif);
  transition: background-color .3s, color .3s;
}
.map .leaflet-bar a:hover { background: var(--fg); color: var(--ground); }
.map .leaflet-bottom.leaflet-right { z-index: 600; bottom: clamp(56px, 9vh, 96px); right: max(var(--pad), calc((100% - 1180px) / 2 + var(--pad))); }
.map .leaflet-bottom.leaflet-right .leaflet-control { margin: 0; }
.map-credit {
  position: absolute; z-index: 3; bottom: 14px;
  right: max(var(--pad), calc((100% - 1180px) / 2 + var(--pad)));
  font-family: var(--deco); font-weight: 700; font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
.map-credit a { color: inherit; text-underline-offset: 3px; }
.map-credit a:hover { color: var(--fg); }
.map .leaflet-container, .map.leaflet-container { font-family: var(--serif); }

@media (max-width: 860px) {
  .map { height: clamp(280px, 42vh, 380px); }
  .map-fade { background: linear-gradient(180deg, var(--ground) 0%, rgba(68, 20, 31, 0) 20%, rgba(68, 20, 31, 0) 74%, var(--ground) 100%); }
  .map-card { position: relative; left: auto; top: auto; translate: none; margin: -44px auto 0; padding: 26px 22px 24px; text-align: center; }
  .map-card-title { font-size: 2.4rem; }
  .map .leaflet-bottom.leaflet-right { display: none; }     /* pinch to zoom; the buttons only crowded the small map */
  .map-credit { position: static; text-align: center; margin-top: 20px; }
  .map-stage { margin-bottom: 0; }
}

/* ── RSVP ──────────────────────────────────── */

.rsvp { background: var(--ground); }
.rsvp-card {
  position: relative;
  width: min(860px, 100%); margin-inline: auto;
  background: var(--ground);
  padding: clamp(40px, 7vw, 88px) clamp(22px, 6vw, 88px);
  border: 1px solid var(--brass);
  outline: 1px solid var(--line); outline-offset: -10px;
}
.rsvp .section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* The full flower at the head of the card, with the date in its hub (script.js draws it: drawFull).
   It opens when the card is reached, then turns very slowly, the two rows in opposite directions. */
.rsvp-bloom {
  position: relative; container-type: inline-size;
  width: min(280px, 78%); aspect-ratio: 1;
  margin: clamp(-22px, -2vw, -8px) auto clamp(20px, 3vw, 32px);
}
.rsvp-bloom .lotus .ln { stroke: var(--brass); }
.rsvp-bloom .lotus .pet { fill: var(--brass); fill-opacity: .12; stroke: var(--brass); }
.rsvp-bloom .lotus .dt { fill: var(--brass); }
.rsvp-bloom .lotus g { transform-origin: var(--ox) var(--oy); animation: lotus-turn 90s linear infinite; }
.rsvp-bloom .lotus g.inner { animation-duration: 70s; animation-direction: reverse; }
.rsvp-bloom .lotus .pet {
  animation: lotus-bloom 1.15s cubic-bezier(.2, 1.3, .35, 1) both;
  animation-delay: calc(.15s + var(--row) * .5s + var(--i) * 34ms);
}
.rsvp-bloom .lotus .dt { animation-delay: calc(1.3s + var(--i) * 30ms), calc(2.6s + var(--i) * .37s); }
@keyframes lotus-turn { to { transform: rotate(360deg); } }
.rsvp-date { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: fade 1.2s ease .9s both; }
.rsvp-date span { font-family: var(--deco); font-weight: 700; font-size: 3.9cqw; line-height: 1.3; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: var(--brass); }
.rsvp-date b { font-family: var(--deco-sc); font-weight: 400; font-size: 10cqw; line-height: 1; letter-spacing: .05em; padding-left: .05em; }
.js .rsvp-card.reveal:not(.is-in) .rsvp-bloom :is(.pet, .frm, .dt, .rsvp-date),
.rsvp-bloom.is-shut :is(.pet, .frm, .dt) { animation: none; opacity: 0; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px clamp(24px, 4vw, 48px); }
.field { display: grid; gap: 8px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field > .label, .field > legend { color: var(--brass); font-size: .64rem; letter-spacing: .26em; }
.field > legend { margin-bottom: 12px; }

.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%;
  font: inherit; font-size: 1.1em; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(245, 239, 227, .4); border-radius: 0;
  padding: 6px 0 9px;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.form textarea { resize: vertical; min-height: 3.2em; line-height: 1.4; }
.form select option { color: #2B1519; background: #F5EFE3; }   /* the drop-down list itself stays dark on light */
.form select {
  cursor: pointer; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23D2B37C' stroke-width='1.2'/%3E%3C/svg%3E") right 4px center no-repeat;
}
.form ::placeholder { color: rgba(211, 189, 176, .6); font-style: italic; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-bottom-color: var(--fg); box-shadow: 0 1px 0 var(--fg);
}
.form .is-invalid { border-bottom-color: #F4A792; box-shadow: 0 1px 0 #F4A792; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: block;
  font-size: 1.05em; font-style: italic; line-height: 1.2;
  padding: 9px 20px 10px;
  border: 1px solid rgba(245, 239, 227, .38); border-radius: 999px;
  transition: background-color .25s, color .25s, border-color .25s;
}
.choice:hover span { border-color: var(--fg); }
.choice input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--ground); }
.choice input:focus-visible + span { outline: 1.5px solid var(--brass); outline-offset: 3px; }

#f-events[disabled] { opacity: .4; }
#f-events[disabled] .choice, #f-events[disabled] .choice input { cursor: default; }

.form-foot { display: grid; justify-items: center; gap: 16px; margin-top: 8px; }
.form-error { color: #F4A792; font-style: italic; }

/* Buttons are outlined, with a second hairline set inside, like the card frames; they fill on hover or press. */
.button {
  font-family: var(--deco); font-weight: 700; font-size: .76rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--fg); background: transparent;
  border: 1px solid var(--tone); border-radius: 0; cursor: pointer;
  padding: 18px 40px 17px calc(40px + .3em);
  box-shadow: inset 0 0 0 3px var(--ground), inset 0 0 0 4px var(--tone-soft);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.button:hover, .button:active { background: var(--fg); color: var(--ground); box-shadow: inset 0 0 0 3px var(--fg), inset 0 0 0 4px rgba(164, 126, 69, .7); }
.button[disabled] { opacity: .6; cursor: progress; }

.thanks { text-align: center; padding-block: clamp(12px, 3vw, 36px); outline: none; }
.thanks-script { font-family: var(--script); font-size: clamp(3.6rem, 2rem + 7vw, 6.5rem); line-height: 1.15; color: var(--fg); }
.thanks-note { margin-top: 28px; color: var(--brass); font-size: .6rem; }

@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }
}

/* Simple reply: two buttons, then phone / WhatsApp */
.reply { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.reply .button { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; min-height: 56px; flex: 1 1 240px; max-width: 320px; }
.reply .button:first-child { --tone: var(--accent); --tone-soft: rgba(245, 239, 227, .5); }   /* "accepts" is the wedding's own colour */
.button-quiet { box-shadow: none; border-color: var(--line); }
.button-quiet:hover, .button-quiet:active { box-shadow: none; }
.reply-rule { margin-block: clamp(34px, 5vw, 52px) clamp(26px, 4vw, 38px); }
.reply-contact { display: grid; justify-items: center; gap: 8px; text-align: center; }
.reply-contact .label { color: var(--brass); }
.reply-name { font-size: 1.5em; font-weight: 400; line-height: 1.2; }
.reply-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 12px; }
.reply-links .link { padding-block: 12px 8px; }
.reply-num { font-family: var(--deco-sc); font-weight: 400; font-size: 1.25em; letter-spacing: .12em; margin-left: .5em; }


/* Replying: once the reply is saved, the question gives way to "Thank you" under the flower. For an acceptance the flower
   opens again and the card lights up (see .reply-light, below). */
.rsvp-card.is-replied .section-head { display: none; }
.reply[hidden], .reply-step[hidden], .field[hidden] { display: none; }
/* the step shown only when the link carries no name: the name is asked for before the reply is saved */
.reply-step.form { grid-template-columns: minmax(0, 320px); justify-content: center; justify-items: center; gap: 26px; text-align: center; }
.reply-step .field { width: 100%; justify-items: center; }
.reply-step input[type="text"] { text-align: center; }
.reply-actions { display: grid; justify-items: center; gap: 10px; width: 100%; }
.reply-actions .button { width: 100%; min-height: 56px; }
.reply-actions button.link { padding-block: 12px 8px; background-color: transparent; text-align: center; }
.reply-error { text-align: center; margin-top: 18px; text-wrap: balance; }
.reply-error[hidden] { display: none; }
.reply-thanks { text-align: center; outline: none; }
.reply-thanks[hidden] { display: none; }
.thanks-line { font-style: italic; font-size: 1.15em; line-height: 1.3; margin-top: 4px; }
.reply-thanks .reply-links { margin-top: 14px; }
.reply-thanks .reply-links button.link { padding-block: 12px 8px; background-color: transparent; text-align: center; }
.reply-thanks > p { animation: rise 1s var(--ease) both; }
/* "Thank you" is written on from left to right, like handwriting; the rest follows. */
@keyframes write-on { from { opacity: 1; clip-path: inset(-30% 100% -30% -10%); } to { opacity: 1; clip-path: inset(-30% -20% -30% -10%); } }
.reply-thanks .thanks-script { animation: write-on 1.5s cubic-bezier(.5, 0, .3, 1) .55s both; }
.reply-thanks .thanks-line { animation-delay: 1.7s; }
.reply-thanks .reply-links { animation-delay: 1.95s; }

/* The lights of an acceptance (script.js: replyLight). The canvas lies over the screen as it stood when the reply was saved. */
.reply-light { position: absolute; left: 0; width: 100%; z-index: 1200; overflow: hidden; pointer-events: none; }
.reply-light canvas { display: block; width: 100%; height: 100%; }
.reply-spark { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; overflow: visible; pointer-events: none; }
.reply-spark rect { fill: none; stroke: var(--glint); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 3px var(--glint)); }

/* ── Footer ────────────────────────────────── */

.footer {
  position: relative; overflow: hidden;
  background: var(--ground); color: var(--fg);
  text-align: center;
  padding: clamp(24px, 4vw, 56px) var(--pad) 0;
}
.footer-txt > .label { color: var(--brass); padding-left: .3em; }
.footer-mark {
  font-family: var(--script);
  font-size: clamp(2.6rem, 1rem + 7.4vw, 6.2rem); line-height: 1.2; white-space: nowrap;
  color: var(--fg);
  margin-block: 6px clamp(14px, 2.2vw, 28px);
}
.footer-mark i { font-family: var(--serif); font-weight: 300; font-size: .4em; color: var(--brass); margin-inline: .1em .25em; }
.footer-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px;
  font-family: var(--deco); font-weight: 700; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-line span { padding-left: .28em; }
.footer-line i { width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); }

/* The large bloom, under the words: it rises from the bottom edge of the page, and on phones runs a little past both sides. */
.footer-bloom {
  --bw: min(900px, 118vw);
  position: relative;
  width: var(--bw); aspect-ratio: 680 / 344;
  margin: clamp(36px, 6vw, 72px) 0 0 calc(50% - var(--bw) / 2);
}
.footer-bloom .lotus .ln { stroke-width: .8; }
.footer-bloom .lotus .pet { fill-opacity: .09; }
/* the bloom opens when the footer is reached */
.js .footer-bloom.reveal:not(.is-in) .lotus :is(.pet, .frm) { animation: none; opacity: 0; }
@media (max-width: 620px) {
  .footer-bloom .lotus .ln { stroke-width: 1.4; }
  /* two lines: place and date, then the family */
  .footer-line span:last-child { flex-basis: 100%; }
  .footer-line i:last-of-type { display: none; }
}

/* ── Scroll down ───────────────────────────── */

/* Every section ends with this pill; a tap moves the page on to the next section (script.js). */
.section-next { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 72px); }
.travel .section-next { margin-top: 0; }                    /* the map already leaves its own space beneath */
.hero .section-next { margin-top: clamp(20px, 3vh, 34px); }
.scroll-hint {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  color: var(--brass); cursor: pointer;
  background: rgba(245, 239, 227, .08);                                   /* a light, see-through circle with a fine gold ring */
  border: 1px solid rgba(210, 179, 124, .55); border-radius: 50%;
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .5);
  animation: nudge 2.2s cubic-bezier(.3, 0, .3, 1) infinite;              /* it bounces: hard to miss, still quiet */
  transition: background-color .3s, color .3s, border-color .3s;
}
.scroll-hint span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* "Scroll down" is read out, not shown */
.scroll-hint svg { flex: none; width: 16px; height: 20px; stroke-width: 1.6; }
.scroll-hint:hover, .scroll-hint:focus-visible { background: rgba(210, 179, 124, .2); border-color: var(--brass); color: var(--fg); }
.scroll-hint:focus-visible { outline: 1.5px solid var(--brass); outline-offset: 3px; }

/* The same bounce on the buttons that matter most: the reply buttons and the directions button. They rest most of the time and
   hop twice every couple of seconds; the second reply button hops a moment after the first. */
@keyframes nudge {
  0%, 46%, 100% { transform: translateY(0); }
  12% { transform: translateY(-9px); }
  22% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
  38% { transform: translateY(0); }
}
.scroll-hint:hover { animation-play-state: paused; }

/* The reply buttons and the directions button catch the light like "Open the invitation" on the first screen: a broad sheen
   and a bright glint cross the button, and its inner brass line brightens as the light passes (keyframes in gate.css). */
.reply .button, .map-go { position: relative; overflow: hidden; animation: gate-glint-line 6.4s ease-in-out 1.6s infinite; }
.reply .button.button-quiet { animation: none; }                        /* the quieter button has no inner line to light */
.reply .button::before, .reply .button::after, .map-go::before, .map-go::after {
  content: ""; position: absolute; inset: -30% auto -30% 0; pointer-events: none; opacity: 0; will-change: transform, opacity;
  animation-duration: 6.4s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.45, 0, .25, 1);
}
.reply .button::before, .map-go::before {
  width: 70%; animation-name: gate-sheen; animation-delay: 1.6s;
  background: linear-gradient(100deg, rgba(210, 179, 124, 0) 0%, rgba(210, 179, 124, .09) 35%, rgba(210, 179, 124, .17) 50%, rgba(210, 179, 124, .09) 65%, rgba(210, 179, 124, 0) 100%);
}
.reply .button::after, .map-go::after {
  width: 22%; animation-name: gate-glint; animation-delay: 1.52s;
  background: linear-gradient(100deg, rgba(245, 232, 200, 0) 0%, rgba(245, 232, 200, .14) 30%, rgba(245, 232, 200, .34) 50%, rgba(245, 232, 200, .14) 70%, rgba(245, 232, 200, 0) 100%);
}
.reply .button + .button::before { animation-delay: 2.2s; }            /* the second button catches the light a moment later */
.reply .button + .button::after { animation-delay: 2.12s; }

/* ── Motion ────────────────────────────────── */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.hero-card .lotus-hub { animation: fade 1.2s ease 1.1s both; }
.hero-txt > *, .hero .countdown { animation: rise 1.2s var(--ease) both; }
.hero-eyebrow { animation-delay: 1.2s !important; }
.names { animation-delay: 1.35s !important; }
.hero-lede { animation-delay: 1.6s !important; }
.hero-txt .rule-diamond { animation-delay: 1.75s !important; }
.hero-date { animation-delay: 1.85s !important; }
.hero .countdown { animation-delay: 2.05s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .lotus .frm { stroke-dasharray: none; }
}

/* ── Directions under each celebration card ── (script.js builds them)
   A long "Open in Maps" and a small square Share, as wide as the card's frame (x0 = 26 of 400). They catch the light like the
   reply buttons (keyframes in gate.css): the share icon a moment later, each card a touch after the one before. */
.ev-go { margin: 14px auto 0; width: calc(348 / 400 * 100%); display: grid; grid-template-columns: 1fr 50px; gap: 10px; }
.ev-go .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  min-height: 50px; padding: 12px 8px 11px calc(8px + .3em); font-size: .66rem; letter-spacing: .26em;
  position: relative; overflow: hidden; animation: gate-glint-line 6.4s ease-in-out calc(1.6s + var(--c, 0) * .35s) infinite;
}
.ev-go .button svg { width: 13px; height: 13px; flex: none; }
.ev-go .ev-share { padding: 0; }
.ev-go .ev-share svg { width: 16px; height: 16px; }
.ev-go .button::before, .ev-go .button::after {
  content: ""; position: absolute; inset: -30% auto -30% 0; pointer-events: none; opacity: 0; will-change: transform, opacity;
  animation-duration: 6.4s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.45, 0, .25, 1);
}
.ev-go .button::before {
  width: 70%; animation-name: gate-sheen; animation-delay: calc(1.6s + var(--c, 0) * .35s);
  background: linear-gradient(100deg, rgba(210, 179, 124, 0) 0%, rgba(210, 179, 124, .09) 35%, rgba(210, 179, 124, .17) 50%, rgba(210, 179, 124, .09) 65%, rgba(210, 179, 124, 0) 100%);
}
.ev-go .button::after {
  width: 22%; animation-name: gate-glint; animation-delay: calc(1.52s + var(--c, 0) * .35s);
  background: linear-gradient(100deg, rgba(245, 232, 200, 0) 0%, rgba(245, 232, 200, .14) 30%, rgba(245, 232, 200, .34) 50%, rgba(245, 232, 200, .14) 70%, rgba(245, 232, 200, 0) 100%);
}
.ev-go .ev-share { animation-delay: calc(2.2s + var(--c, 0) * .35s); }
.ev-go .ev-share::before { width: 140%; animation-delay: calc(2.2s + var(--c, 0) * .35s); }   /* wider than the small square, so it reads */
.ev-go .ev-share::after { width: 60%; animation-delay: calc(2.12s + var(--c, 0) * .35s); }
@media (max-width: 620px) { .ev-go { margin-top: 12px; } }
@media (prefers-reduced-motion: reduce) { .ev-go .button, .ev-go .button::before, .ev-go .button::after { animation: none; } }
