/* Humsafar (हमसफ़र): sage handmade paper inside two carved ivory pillars; a peach vintage convertible seen
   from above. Gate: the car is parked at the top, the tagline is lettered on the road ahead, and the guest
   turns the ignition key. The car pulls away (a transform), then rides with the scroll (position: sticky)
   and rests at the foot of the first section; each line of the invitation appears once the tail has passed
   it (script.js adds .in). Then countdown, stops, the road so far, families, jasmine strands, reply. */

:root {
  --sage: #a9ae84;
  --sage-hi: #b7bb92;
  --sage-lo: #9ba176;
  --peach: #f6cdb2;
  --peach-2: #e9b596;
  --blush: #e9a7a0;
  --lilac: #c9a3c4;
  --ivory: #efe2bc;
  --ivory-2: #f8f1da;
  --gold: #c9a44c;
  --gold-2: #8a6a22;
  --leaf: #5f7a3a;
  --plum: #6a1f4b;
  --maroon: #7a3b45;
  --ink: #3a3215;
  --ink-2: #554a22;

  --f-display: "Marcellus", "Cinzel", "Trajan Pro", Georgia, serif;
  --f-body: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --f-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --vh: 1vh;
  --col: min(100vw, 480px);          /* the phone-width column everything lives in */
  --u: calc(var(--col) / 100);
  --pad: calc(var(--u) * 15);        /* clear of the pillars */
  --car-w: min(calc(var(--u) * 46), calc(var(--vh) * 25));
  --car-h: calc(var(--car-w) * 2.1);
  --cruise: calc(var(--vh) * 54);    /* where the car's tail rides while the page scrolls */

  --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .54 0 0 0 0 .34 0 0 0 .5 -.14'/%3E%3C/filter%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .2 0 0 0 0 .08 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E");

  --fx-music-bg: #6a1f4b;
  --fx-music-ring: #c9a44c;
  --fx-music-ink: #f8f1da;
  --fx-bg: #f8f1da;
}
@supports (height: 1svh) { :root { --vh: 1svh; } }

html { scroll-behavior: smooth; background: #8d936b; }
html.shut, html.shut body { overflow: hidden; }
body {
  background: var(--tex), #8d936b;
  color: var(--ink);
  font: 500 19px/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-align: center;
}
a { color: inherit; }
h1, h2, h3, ul, ol, figure { margin: 0; padding: 0; font-weight: 400; }
ul, ol { list-style: none; }
::selection { background: var(--plum); color: var(--ivory-2); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

.page {
  position: relative; z-index: 1; width: var(--col); margin: 0 auto; min-height: 100vh;
  background: var(--tex), radial-gradient(120% 60vh at 50% 30vh, var(--sage-hi), var(--sage) 70%), var(--sage);
  box-shadow: 0 0 0 1px rgba(58, 50, 21, .08), 0 0 80px rgba(40, 46, 20, .35);
}

/* ---------- the fixed frame: two pillars, one mirrored ---------- */
.frame, .drift {
  position: fixed; top: 0; bottom: 0; left: 50%; width: var(--col); margin-left: calc(var(--col) / -2);
  pointer-events: none;
}
.frame { z-index: 6; }
.pillar { position: absolute; top: 0; bottom: 0; left: 0; width: 21.5%; display: flex; flex-direction: column; }
.pillar--r { left: auto; right: 0; transform: scaleX(-1); }
.pillar img { display: block; width: 100%; height: auto; flex: none; }
.pillar span { flex: 1; margin: -1px 0; background: url(media/pillar-mid.webp) top center / 100% auto no-repeat; background-repeat: no-repeat round; }

/* ---------- petals that drift the whole time ---------- */
.drift { z-index: 7; overflow: hidden; }
.drift i {
  position: absolute; top: -34px; left: calc(var(--x) * 1%);
  width: calc(var(--s) * 1px); height: calc(var(--s) * 1.35px); border-radius: 80% 0 80% 0;
  background: var(--c); box-shadow: inset -2px -2px 3px rgba(122, 59, 69, .14);
  animation: hsFall calc(var(--d) * 1s) linear calc(var(--w) * -1s) infinite;
  will-change: transform;
}
.drift i.soft { filter: blur(1.6px); opacity: .8; }
@keyframes hsFall {
  0% { transform: translate3d(0, -4vh, 0) rotate(0deg); }
  50% { transform: translate3d(var(--sway), 54vh, 0) rotate(210deg); }
  100% { transform: translate3d(calc(var(--sway) * -.5), 112vh, 0) rotate(430deg); }
}

/* ---------- shared pieces ---------- */
.sec { position: relative; padding: 58px var(--pad) 30px; }
.head {
  font: 400 clamp(25px, calc(var(--u) * 7.4), 34px)/1.15 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--plum); text-wrap: balance;
}
.sub { margin-top: 10px; font-style: italic; font-size: 19px; line-height: 1.4; color: var(--ink-2); text-wrap: balance; }
.eyebrow { font: 400 13px/1.3 var(--f-display); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.flourish { display: block; width: 150px; max-width: 80%; margin: 18px auto; fill: var(--gold); stroke: var(--gold-2); stroke-width: .9; }
.flourish path { vector-effect: non-scaling-stroke; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 16px;
  border: 1px solid var(--plum); border-radius: 999px; color: var(--plum); text-decoration: none;
  font: 400 12.5px/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn:hover { background: rgba(106, 31, 75, .1); }
.btn--solid { background: var(--plum); color: var(--ivory-2); }
.btn--solid:hover { background: #531539; }
.btn--wide { padding: 10px 26px; font-size: 14px; }
.stone {
  display: inline-grid; place-items: center; width: 38px; height: 44px; border-radius: 19px 19px 4px 4px;
  background: linear-gradient(var(--peach) 0 42%, var(--ivory-2) 42%); border: 1px solid var(--gold-2);
  box-shadow: 0 5px 8px -4px rgba(58, 50, 21, .5);
}
.stone b { margin-top: 15px; font: 400 15px/1 var(--f-display); color: var(--plum); }

/* ============ THE DRIVE ============ */
.drive { position: relative; padding-bottom: calc(var(--car-h) + 84px); min-height: calc(var(--vh) * 100); }
.trail { position: relative; z-index: 1; padding: calc(var(--vh) * 4 + 8px) var(--pad) 0; }
.lane { position: absolute; inset: 0; z-index: 3; padding-bottom: 38px; pointer-events: none; }
.car {
  position: sticky; top: var(--cruise); width: var(--car-w); margin: 0 auto;
  transition: transform 2.7s cubic-bezier(.5, .02, .3, 1);
  will-change: transform;
}
.car img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 10px rgba(58, 50, 21, .3)); }
html.shut .car { transform: translateY(calc(var(--cruise) * -1 - 22%)); }
.car.rev img { animation: hsRev .09s linear infinite; }
@keyframes hsRev { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(.9px, -.5px); } 75% { transform: translate(-.9px, .5px); } }

/* the gate: one screen tall, laid over the top of the drive */
.gate {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: calc(var(--vh) * 100);
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
html:not(.shut) .drive:not([data-phase="going"]) .gate, html:not(.js) .gate { display: none; }
.gate__gap { flex: none; height: calc(var(--car-h) * .78 + 6px); }
.road {
  flex: 1; min-height: 0; margin: 8px 0 6px; max-width: 60%;
  writing-mode: vertical-rl; text-align: center; text-wrap: balance;
  font: 400 24px/1.55 var(--f-display); letter-spacing: .3em; text-transform: uppercase; color: var(--plum);
}
.road--s { font-size: 30px; }
.road--l { font-size: 19px; letter-spacing: .22em; }
.road > span { display: block; height: 100%; }
.road__w { white-space: nowrap; }
.road i { font-style: normal; animation: hsType .01s linear calc(.5s + var(--i) * 75ms) both; }
@keyframes hsType { from { opacity: 0; } }

.dash { flex: none; display: flex; flex-direction: column; align-items: center; transition: opacity .5s, transform .7s var(--ease); }
.dash__to { font-style: italic; font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--plum); max-width: 64vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash__line { margin-bottom: 8px; font: 400 12.5px/1.4 var(--f-display); letter-spacing: .3em; text-transform: uppercase; }
.ign {
  position: relative; width: 108px; height: 108px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: grab;
  touch-action: none; -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 8px 9px rgba(58, 50, 21, .38));
}
.ign svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ign::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--plum); opacity: 0;
  animation: hsRing 2.2s ease-out infinite;
}
@keyframes hsRing { 0% { transform: scale(.94); opacity: .7; } 100% { transform: scale(1.22); opacity: 0; } }
.ign__marks text { font-family: var(--f-display); letter-spacing: .08em; }
.ign__key { transform-origin: 60px 60px; transform: rotate(var(--a, -45deg)); transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.ign.drag .ign__key { transition: none; }
.ign.drag { cursor: grabbing; }
.dash__hint { margin-top: 6px; font-style: italic; font-size: 18px; line-height: 1.2; }
.gate__skip {
  position: absolute; left: calc(var(--u) * 22); bottom: calc(8px + env(safe-area-inset-bottom));
  min-width: 48px; min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer;
  font: 400 12px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px; transition: opacity .4s;
}
.drive[data-phase="starting"] .ign::after, .drive[data-phase="going"] .ign::after { animation: none; }
.drive[data-phase="going"] .dash { opacity: 0; transform: translateY(24px); pointer-events: none; }
.drive[data-phase="starting"] .gate__skip, .drive[data-phase="going"] .gate__skip { opacity: 0; pointer-events: none; }

/* the invitation, in the car's wake */
.tb { opacity: 0; transition: opacity 1s ease, transform 1s var(--ease), clip-path 1.1s ease; }
.tb.in { opacity: 1; }
.tb--fade { transform: translateY(10px); }
.tb--fade.in { transform: none; }
.tb--wipe, .tb--type { clip-path: inset(-12% 100% -12% 0); }
.tb--wipe.in, .tb--type.in { clip-path: inset(-12% -4% -12% 0); }
.tb--type { transition: opacity .2s, clip-path 1.5s steps(22); }

.ganesh { display: block; width: 74px; height: auto; margin: 0 auto; stroke: var(--plum); stroke-width: 1.5; }
.ganesh .g-gold, .ogcard__ganesh .g-gold { stroke: var(--gold-2); }
.mantra { margin-top: 8px; font: 400 23px/1.5 var(--f-deva); color: var(--plum); }
.mantra span { display: inline-flex; align-items: center; gap: 10px; }
.mantra span::before, .mantra span::after { content: ""; width: 7px; height: 7px; rotate: 45deg; background: var(--gold); box-shadow: 0 0 0 1px var(--gold-2); }
.fam {
  margin-top: 26px; font: 700 15.5px/1.5 var(--f-body); letter-spacing: .24em; text-transform: uppercase; text-wrap: balance;
}
.ask { margin-top: 12px; font-style: italic; font-size: 20px; line-height: 1.35; text-wrap: balance; }
.ask__to { font-weight: 600; color: var(--plum); }
.names {
  margin: 30px calc(var(--u) * -4) 6px; color: var(--plum);
  font: 400 min(calc(var(--u) * 17), calc(var(--u) * 80 / var(--len)))/1.02 var(--f-display);
  letter-spacing: .05em; text-transform: uppercase;
}
.names__n, .names__amp { display: block; white-space: nowrap; }
.names__amp { font-size: .5em; line-height: 1.5; color: var(--gold-2); }
.names i {
  display: inline-block; font-style: normal; opacity: 0; transform: translateY(.4em) rotate(-10deg);
  transition: opacity .5s ease calc(var(--i) * 75ms), transform .9s var(--ease) calc(var(--i) * 75ms);
}
.names.in i { opacity: 1; transform: none; }
.ln { margin-top: 13px; font-size: 20px; line-height: 1.3; text-wrap: balance; }
.ln--date { margin-top: 4px; font-weight: 600; font-size: 21px; }
.ln--venue { margin-top: 22px; font: 400 21px/1.25 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--plum); }
.ln--attire { margin-top: 24px; font-style: italic; }
.ln--attire span, .stop__dress span {
  display: block; margin-bottom: 2px; font: 400 11.5px/1.4 var(--f-display); letter-spacing: .3em; text-transform: uppercase; font-style: normal;
}
.drive__hint {
  position: absolute; z-index: 4; left: 0; right: 0; top: calc(var(--vh) * 100 - 62px); pointer-events: none;
  opacity: 0; transition: opacity .6s;
}
.drive__hint.show { opacity: 1; }
.drive__hint span {
  display: inline-block; padding: 7px 16px; border-radius: 999px; background: rgba(248, 241, 218, .94); color: var(--plum);
  font: 400 11.5px/1.2 var(--f-display); letter-spacing: .22em; text-transform: uppercase; box-shadow: 0 4px 12px -4px rgba(58, 50, 21, .5);
  animation: hsNudge 1.8s ease-in-out infinite;
}
@keyframes hsNudge { 50% { transform: translateY(5px); } }

/* no script, or reduced motion once opened: everything shows and the car is simply parked at the foot */
html:not(.js) .tb, html.hs-static:not(.shut) .tb { opacity: 1; transform: none; clip-path: none; }
html:not(.js) .names i, html.hs-static:not(.shut) .names i { opacity: 1; transform: none; }
html:not(.js) .car, html.hs-static:not(.shut) .car { position: absolute; top: auto; bottom: 38px; left: 0; right: 0; }
html.hs-static.shut .car { position: absolute; top: 0; left: 0; right: 0; transform: translateY(-22%); }

/* ============ COUNTDOWN ============ */
.meter { padding-top: 34px; }
.count { display: flex; justify-content: center; gap: calc(var(--u) * 2); margin-top: 16px; }
.count span {
  flex: 1; max-width: 76px; font: 400 10.5px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.count b {
  margin-bottom: 8px; padding: 12px 0 10px; border-radius: 8px; background: linear-gradient(#fbf6e4, var(--ivory) 48%, #e6d7ab 52%, var(--ivory-2));
  border: 1px solid var(--gold-2); box-shadow: inset 0 0 0 2px var(--ivory-2), 0 6px 10px -6px rgba(58, 50, 21, .6);
  font: 400 clamp(22px, calc(var(--u) * 7), 32px)/1 var(--f-display); letter-spacing: 0; color: var(--plum);
}
.count__done { margin-top: 16px; font-style: italic; font-size: 22px; color: var(--plum); }
.meter__note { margin-top: 16px; font-style: italic; }

/* ============ THE ROUTE ============ */
.stop {
  position: relative; margin-top: 74px; padding: 38px 18px 24px;
  background: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 120px), var(--ivory-2);
  border: 1px solid var(--gold-2); border-radius: calc(var(--u) * 35) calc(var(--u) * 35) 14px 14px / 92px 92px 14px 14px;
  box-shadow: inset 0 0 0 5px var(--ivory-2), inset 0 0 0 6px rgba(201, 164, 76, .8), 0 16px 26px -18px rgba(58, 50, 21, .7);
}
.stop::before {   /* the dashed centre line of the road, between stops */
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 26px); width: 0; height: 30px; margin-left: -2px;
  border-left: 4px dashed rgba(248, 241, 218, .9);
}
.stop .stone { position: absolute; top: -22px; left: 50%; margin-left: -19px; }
.stop__name { font: 400 clamp(23px, calc(var(--u) * 6.6), 30px)/1.15 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--plum); overflow-wrap: anywhere; }
.stop__hi { font: 400 19px/1.5 var(--f-deva); color: var(--gold-2); }
.stop__when { margin-top: 10px; font-weight: 600; font-size: 19px; line-height: 1.3; }
.stop__time { font-size: 19px; }
.sched { margin: 8px auto 0; max-width: 200px; }
.sched li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 3px 0; border-bottom: 1px dotted rgba(138, 106, 34, .6); }
.sched span { font-style: italic; }
.sched b { font-weight: 600; white-space: nowrap; }
.stop__at { margin-top: 14px; font: 400 17px/1.3 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--plum); }
.stop__hall, .stop__addr { line-height: 1.3; text-wrap: balance; }
.stop__note { margin-top: 14px; font-style: italic; line-height: 1.35; color: var(--ink-2); text-wrap: balance; }
.stop__dress { margin-top: 14px; font-style: italic; line-height: 1.3; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.actions .btn { padding: 6px 12px; font-size: 11.5px; letter-spacing: .1em; }

/* ============ THE ROAD SO FAR ============ */
.story__text { margin-top: 16px; font-size: 20px; line-height: 1.5; text-wrap: pretty; }
.miles { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 26px; }
.miles::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 50%; margin-left: -2px; border-left: 4px dashed rgba(248, 241, 218, .9); }
.miles li { position: relative; display: flex; align-items: center; gap: 12px; width: 50%; margin-left: 50%; translate: -19px 0; text-align: left; }
.miles li:nth-child(even) { flex-direction: row-reverse; margin-left: 0; margin-right: 50%; translate: 19px 0; text-align: right; }
.miles .stone { flex: none; width: 38px; }
.miles .stone b { font-size: 12px; color: var(--gold-2); }
.miles li > span:last-child { font: 400 15px/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); overflow-wrap: anywhere; }

/* ============ POSTCARDS ============ */
.cards { padding-left: 0; padding-right: 0; }
.cards__strip { display: flex; gap: 14px; margin-top: 20px; padding: 6px var(--pad) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cards__strip::-webkit-scrollbar { display: none; }
.cards figure { flex: none; width: 74%; padding: 8px 8px 26px; background: var(--ivory-2); border: 1px solid var(--gold-2); scroll-snap-align: center; box-shadow: 0 12px 18px -12px rgba(58, 50, 21, .7); }
.cards figure:nth-child(odd) { rotate: -1.5deg; }
.cards figure:nth-child(even) { rotate: 1.2deg; }
.cards img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ============ FAMILIES ============ */
.kin__side { margin-top: 30px; }
.kin__name { margin: 6px 0 10px; font: 400 clamp(22px, calc(var(--u) * 6.2), 28px)/1.2 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--plum); overflow-wrap: anywhere; }
.kin__line { margin-top: 8px; line-height: 1.3; text-wrap: balance; }
.kin__line span { display: block; font-style: italic; font-size: 17px; color: var(--ink-2); }
.kin__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 16px; }
.kin__list li { padding: 6px 12px 7px; border: 1px solid rgba(138, 106, 34, .7); border-radius: 12px; background: rgba(248, 241, 218, .5); line-height: 1.15; }
.kin__list small { display: block; font-style: italic; font-size: 16px; color: var(--ink-2); }
.kin .flourish { margin-top: 30px; }

/* ============ JASMINE ============ */
.chime__rod {
  position: relative; display: flex; justify-content: space-between; align-items: flex-start; height: 204px; margin-top: 30px; padding: 0 4px;
  touch-action: pan-y;
}
.chime__rod::before {
  content: ""; position: absolute; top: -7px; left: -8px; right: -8px; height: 9px; border-radius: 5px;
  background: linear-gradient(#f1d98c, var(--gold) 55%, #9c7a2c); box-shadow: 0 3px 5px -2px rgba(58, 50, 21, .6);
}
.strand {
  flex: none; width: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: 50% 0; -webkit-tap-highlight-color: transparent;
}
.strand img { display: block; width: calc(var(--len) * .44px); height: auto; margin: 0 auto; pointer-events: none; transition: filter .6s; }
.strand.swing { animation: hsSwing 2.2s cubic-bezier(.3, 0, .3, 1); }
.strand:nth-child(even).swing { animation-name: hsSwingB; }
.strand.rung img { filter: drop-shadow(0 0 5px rgba(255, 252, 230, .95)); }
@keyframes hsSwing { 0% { transform: rotate(0); } 14% { transform: rotate(13deg); } 34% { transform: rotate(-9deg); } 54% { transform: rotate(6deg); } 72% { transform: rotate(-3deg); } 88% { transform: rotate(1.2deg); } 100% { transform: rotate(0); } }
@keyframes hsSwingB { 0% { transform: rotate(0); } 14% { transform: rotate(-13deg); } 34% { transform: rotate(9deg); } 54% { transform: rotate(-6deg); } 72% { transform: rotate(3deg); } 88% { transform: rotate(-1.2deg); } 100% { transform: rotate(0); } }
.chime__done { color: var(--plum); font-weight: 600; }

/* ============ REPLY ============ */
.reply { padding-top: 34px; }
.reply__bloom { display: block; width: min(236px, 86%); height: auto; margin: 0 auto 4px; }
.reply__msg { margin: 14px 0 22px; font-style: italic; font-size: 21px; line-height: 1.4; text-wrap: pretty; }
.rsvp { margin-top: 22px; }
.rsvp li { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; padding: 10px 0; border-top: 1px dotted rgba(58, 50, 21, .45); }
.rsvp li:last-child { border-bottom: 1px dotted rgba(58, 50, 21, .45); }
.rsvp__name { font: 400 15px/1.3 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.rsvp__num { font-weight: 600; font-variant-numeric: lining-nums; }
.rsvp__go { flex-basis: 100%; display: flex; justify-content: center; gap: 22px; }
.rsvp__go a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-style: italic; text-underline-offset: 4px; }
.horn {
  display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 26px auto 0; padding: 8px 14px; min-height: 44px;
  border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.horn svg { display: block; width: 112px; height: auto; filter: drop-shadow(0 7px 6px rgba(58, 50, 21, .35)); transition: transform .25s var(--ease); }
.horn span { font-style: italic; font-size: 19px; color: var(--plum); text-decoration: underline; text-decoration-color: rgba(106, 31, 75, .4); text-underline-offset: 5px; }
.horn__waves { opacity: 0; transition: opacity .5s; }
.horn.honk svg { transform: scale(1.1) rotate(-5deg); }
.horn.honk .horn__waves { opacity: 1; transition-duration: .05s; }
.tag {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 16px; padding: 6px 18px; max-width: 100%;
  border: 1px dashed var(--plum); border-radius: 999px; background: rgba(248, 241, 218, .45); cursor: pointer;
  font: 400 14px/1.2 var(--f-display); letter-spacing: .08em; color: var(--plum); overflow-wrap: anywhere;
}
.copied {
  position: fixed; z-index: 75; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); translate: -50% 0;
  padding: 9px 18px; border-radius: 999px; background: var(--plum); color: var(--ivory-2); font-size: 17px; font-style: italic; white-space: nowrap;
}

/* ============ FOOT ============ */
.foot { position: relative; padding: 16px var(--pad) calc(92px + env(safe-area-inset-bottom)); }
.foot__names { font: 400 24px/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); overflow-wrap: anywhere; }
.foot__date { margin-top: 4px; font-style: italic; }
.foot__cal { margin-top: 14px; font-size: 17px; line-height: 2.2; }
.foot__cal a { display: inline-block; text-underline-offset: 4px; }
.foot__music, .foot__credit { margin-top: 8px; font-size: 16px; line-height: 1.35; color: var(--ink-2); }

/* ============ LINK-PREVIEW CARD ============ */
html.og .ogcard {
  align-items: center; background: var(--tex), radial-gradient(70% 90% at 62% 50%, var(--sage-hi), var(--sage) 75%), var(--sage);
  color: var(--ink); font-family: var(--f-body); text-align: center;
}
.ogcard .pillar { width: 112px; }
.ogcard__car { position: absolute; left: 150px; top: 22px; height: 586px; width: auto; filter: drop-shadow(0 14px 12px rgba(58, 50, 21, .3)); }
.ogcard__text { position: absolute; left: 452px; right: 134px; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ogcard__ganesh { width: 70px; height: auto; stroke: var(--plum); stroke-width: 1.5; }
.ogcard__fam { margin-top: 14px; font-weight: 700; font-size: 23px; letter-spacing: .24em; text-transform: uppercase; }
.ogcard__names { margin: 18px 0 14px; font-family: var(--f-display); line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; color: var(--plum); white-space: nowrap; }
.ogcard__date { font-weight: 600; font-size: 40px; line-height: 1.2; }
.ogcard__venue { margin-top: 6px; font-style: italic; font-size: 30px; line-height: 1.25; }

/* ---------- desktop: the same column, with air around it ---------- */
@media (min-width: 700px) {
  body { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift { display: none; }
}
