/* =========================================================
   Tasmika & Chivaan — Option A "Golden Hour, Couture"
   Built from HANDOFF.md + design-source/A-*.dc.html
   ========================================================= */
:root {
  --maroon: #6E1428;
  --maroon-deep: #5E1022;
  --wall-top: #7A2236;
  --wall-bottom: #4E1222;
  --rose: #A8324E;
  --rose-hover: #8C2440;
  --gold: #C8963E;
  --gold-light: #D9AE5E;
  --gold-text: #F2D493;
  --gold-dark: #8A6420;
  --gold-hair: #E2C68A;
  --cream: #FBF4EA;
  --cream-2: #F3E4D3;
  --paper: #FFFCF6;
  --ink: #3B1A14;
  --ink-soft: #4A2A20;
  --ink-mute: #6B4A3E;

  --script: "Pinyon Script", cursive;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: #7A1C33; }
a:hover { color: #4E0F20; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--maroon); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

/* ---------- type helpers ---------- */
.deva { font-family: var(--deva); font-size: 19px; line-height: 1.5; }
.deva--gold { color: var(--gold-text); text-shadow: 0 1px 10px rgba(60, 0, 15, .5); }
.deva--rose { color: var(--rose); font-size: 14px; }
.deva--maroon { color: #7A1C33; font-size: 22px; }
.deva--lg { font-size: 20px; }
.eyebrow { font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-dark); }
.names { font-family: var(--script); font-weight: 400; font-size: 86px; line-height: 1.08; color: #FFF6E6; text-shadow: 0 2px 22px rgba(60, 0, 15, .55); }
.names .amp { font-size: .65em; color: var(--gold-text); }
.br-mobile { display: none; }
.star-rule { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); }
.star-rule span { width: 50px; height: 1px; background: currentColor; }
.star-rule svg { fill: currentColor; }
.star-rule--light { color: var(--gold-text); gap: 14px; }
.star-rule--light span { width: 90px; }
.gold-bar { width: 72px; height: 2px; background: var(--gold); margin: 30px 0; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 36px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; text-decoration: none;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.pill--rose { background: var(--rose); color: #fff; box-shadow: 0 12px 30px rgba(60, 0, 15, .35), inset 0 0 0 1px rgba(242, 212, 147, .7); }
.pill--rose:hover { background: var(--rose-hover); color: #fff; transform: translateY(-2px); }
.pill--paper { background: #FFFBF4; color: var(--maroon); box-shadow: inset 0 0 0 1px var(--gold); }
.pill--paper:hover { background: #FFF3E4; color: var(--maroon); }
.pill--sm { padding: 12px 22px; font-size: 11px; letter-spacing: .24em; }
.pill--wide { padding: 16px 54px; }
.pill:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.textlink { display: inline-block; background: none; border: 0; border-bottom: 1px solid var(--rose); padding: 0 0 6px; cursor: pointer; color: var(--rose); font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; }
.textlink:hover { color: var(--rose-hover); }

/* ---------- shared: arch frame ---------- */
.archframe { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.archframe--mobile { display: none; }

/* ---------- shared: marigold toran ---------- */
.toran { position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none; }
.toran__cord { height: 6px; background: #B8862F; }
.toran__leaves { display: flex; justify-content: space-between; padding: 0 6px; margin-top: -4px; }
.toran__leaves span { display: block; width: 22px; height: 10px; border-radius: 0 100% 0 100%; }
.toran__strands { display: flex; justify-content: space-between; padding: 0 14px; margin-top: -10px; }
.strand { display: flex; flex-direction: column; align-items: center; transform-origin: top center; animation: sway 5s ease-in-out infinite; }
.bead { display: block; width: 13px; height: 13px; margin-top: -2px; border-radius: 50%; }
.tassel { display: block; width: 7px; height: 10px; margin-top: 1px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: #C2185B; }
@keyframes sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }

/* ---------- shared: petals ---------- */
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.petal { position: absolute; top: 0; width: 14px; height: 20px; border-radius: 70% 0 70% 0; opacity: .85; animation: fall linear infinite; }
@keyframes fall { 0% { transform: translateY(-60px) rotate(0deg); opacity: 0; } 10% { opacity: .9; } 100% { transform: translateY(105vh) rotate(540deg); opacity: 0; } }

/* =========================================================
   LANDING
   ========================================================= */
.landing { position: relative; min-height: max(100vh, 940px); min-height: max(100svh, 940px); overflow: hidden; color: #fff; background: #C9707A; }
.landing__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.landing__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74,10,28,.72) 0%, rgba(74,10,28,.38) 34%, rgba(74,10,28,.08) 58%, rgba(74,10,28,.45) 100%); }
.wall { position: absolute; z-index: 3; width: 10.42vw; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wall--left { left: 0; top: 190px; gap: 10px; }
.wall--left img { width: 70px; height: 70px; }
.wall--left span { font-family: var(--serif); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); line-height: 1.7; }
.wall--right { right: 0; top: 196px; gap: 6px; color: #F7E7C6; }
.wall__days { font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; color: var(--gold-text); font-variant-numeric: lining-nums tabular-nums; }
.wall__label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; }
.wall__time { font-family: var(--serif); font-size: 16px; letter-spacing: .08em; font-variant-numeric: lining-nums tabular-nums; }
.landing__stage { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 140px 24px 40px; }
.families { margin-top: 10px; font-family: var(--serif); font-size: 13px; font-weight: 600; letter-spacing: .44em; text-transform: uppercase; color: #FFF3DF; text-shadow: 0 1px 10px rgba(60,0,15,.5); }
.landing .names { margin-top: 4px; }
.landing__count { display: none; margin-top: 14px; font-family: var(--serif); font-size: 15px; color: #FFF3DF; }
.landing__count strong { font-weight: 600; color: var(--gold-text); }

/* envelope stage — authored at 480×500, scaled by --s */
.env-stage { --s: 1; position: relative; margin-top: 18px; width: calc(480px * var(--s)); height: calc(500px * var(--s)); }
.env-scale { position: absolute; left: 0; top: 0; width: 480px; height: 500px; transform: scale(var(--s)); transform-origin: 0 0; }
.env { position: absolute; left: 0; bottom: 0; width: 480px; height: 320px; perspective: 1400px; filter: drop-shadow(0 26px 40px rgba(40,0,10,.45)); }
.damask { background-color: #6E1428; background-image: radial-gradient(circle at 50% 50%, rgba(217,174,94,.22) 0 1.5px, transparent 2.5px), radial-gradient(circle at 0 0, rgba(255,255,255,.05) 0 9px, transparent 10px); background-size: 20px 20px, 40px 40px; }
.liner { background-color: #E7A1A6; background-image: radial-gradient(circle at 50% 50%, #C8963E 0 1.4px, transparent 2.2px), radial-gradient(circle at 0 0, #F4C4BC 0 7px, transparent 8px); background-size: 16px 16px, 32px 32px; }
.env__back { position: absolute; inset: 0; border-radius: 6px; }
.env__liner { position: absolute; left: 12px; right: 12px; top: 10px; height: 176px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.env__flap { position: absolute; left: 0; top: 0; width: 480px; height: 200px; z-index: 4; transform-origin: 50% 0; transform: rotateX(0deg);
  transition: transform .9s cubic-bezier(.6,.05,.3,1), z-index 0s linear .45s; }
.env__flap svg { width: 480px; height: 200px; }
.env__card { position: absolute; left: 30px; right: 30px; top: 16px; height: 296px; z-index: 2; background: var(--paper); box-shadow: 0 10px 30px rgba(60,10,20,.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px 34px; text-align: center; transform: translateY(0);
  visibility: hidden; transition: transform 1s cubic-bezier(.3,.7,.2,1), visibility 0s linear 1s; }
.frame { position: absolute; pointer-events: none; }
.frame--outer { inset: 9px; border: 1px solid var(--gold); }
.frame--inner { inset: 14px; border: .5px solid var(--gold-hair); }
.env__card > p, .env__card > div { position: relative; }
.env__script { margin-top: 14px; font-family: var(--script); font-size: 30px; line-height: 1.2; color: #7A1C33; }
.env__card .star-rule { margin-top: 16px; }
.env__date { margin-top: 14px; font-family: var(--serif); font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--maroon-deep); }
.env__venue { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-mute); }
.env__pocket { position: absolute; inset: 0; width: 480px; height: 320px; z-index: 3; }
.env__seal { position: absolute; left: 50%; top: 136px; width: 104px; height: 104px; margin-left: -52px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; z-index: 5;
  filter: drop-shadow(0 6px 10px rgba(40,10,5,.5)); transition: transform .5s ease, opacity .5s ease; animation: pulse 2.6s ease-in-out infinite; }
.env__seal img { width: 100%; height: 100%; pointer-events: none; }
.env__seal:hover { transform: scale(1.06); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,212,147,.55); } 50% { box-shadow: 0 0 0 16px rgba(242,212,147,0); } }
.env-hint { position: absolute; left: 0; right: 0; bottom: -34px; font-family: var(--serif); font-style: italic; font-size: 18px; color: #FFF3DF; transition: opacity .3s ease; }

.landing.is-open .env__flap { transform: rotateX(180deg); z-index: 0; }
.landing.is-open .env__card { transform: translateY(-190px); visibility: visible; transition: transform 1s cubic-bezier(.3,.7,.2,1) .55s, visibility 0s linear .45s; }
.landing.is-open .env__seal { opacity: 0; transform: scale(.6) translateY(40px); pointer-events: none; animation: none; }
.landing.is-open .env-hint { opacity: 0; }
/* keyboard users can still close it: the seal reappears when focused */
.landing.is-open .env__seal:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.pill--enter { margin-top: 26px; padding: 17px 44px; opacity: 0; visibility: hidden; }
.landing.is-open .pill--enter { visibility: visible; animation: rise .8s ease 1.4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   HOME
   ========================================================= */
.strip { background: var(--maroon-deep); color: var(--gold-text); text-align: center; padding: 10px 16px; font-family: var(--serif); font-size: 15px; letter-spacing: .12em; font-variant-numeric: lining-nums tabular-nums; }
.strip strong { font-weight: 600; }

.nav { position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 48px; padding: 18px clamp(20px, 4vw, 56px); background: rgba(251,244,234,.96); border-bottom: 1px solid #EADBC6; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav__side { display: flex; align-items: center; gap: 36px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.navlink { color: var(--ink); text-decoration: none; transition: color .2s ease; }
.navlink:hover { color: var(--rose); }
.nav__seal img { width: 62px; height: 62px; }
.nav__menu { display: none; background: none; border: 1px solid var(--gold); border-radius: 999px; padding: 10px 18px; cursor: pointer; color: var(--maroon); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }

.hero { position: relative; overflow: hidden; min-height: 900px; background: #C98A7A; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 84%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(60,8,24,.62) 0%, rgba(60,8,24,.35) 38%, rgba(60,8,24,0) 62%, rgba(60,8,24,.25) 100%); }
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 170px 24px 80px; }
.hero__welcome { margin-top: 12px; font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .44em; text-transform: uppercase; color: #FFF3DF; text-shadow: 0 1px 10px rgba(50,0,15,.5); }
.names--hero { margin-top: 10px; font-size: clamp(68px, 9vw, 128px); line-height: 1.02; text-shadow: 0 2px 26px rgba(50,0,15,.55); }
.names--hero .amp { font-size: .64em; }
.hero .star-rule { margin-top: 16px; }
.hero__when { margin-top: 16px; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .1em; color: #FFF3DF; text-shadow: 0 1px 12px rgba(50,0,15,.5); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

.glance { background: var(--maroon-deep); color: var(--cream); display: grid; grid-template-columns: repeat(3, 1fr); max-width: none; text-align: center; }
.glance > div { padding: 30px 20px; }
.glance > div + div { border-left: 1px solid rgba(242,212,147,.25); }
.glance__label { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); }
.glance__value { margin-top: 8px; font-family: var(--serif); font-size: 24px; }

.arch-photo { position: relative; overflow: hidden; border-radius: 999px 999px 10px 10px; box-shadow: 0 20px 50px rgba(90,30,30,.2); }
.arch-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch-photo__ring { position: absolute; inset: 8px; border-radius: 999px 999px 6px 6px; border: 1px solid rgba(242,212,147,.9); pointer-events: none; }
.invocation { padding: clamp(56px, 5vw, 80px) 24px 0; text-align: center; }
.arch-photo--ganesh { width: clamp(220px, 16vw, 280px); height: auto; aspect-ratio: 230 / 300; margin: 0 auto; }
.arch-photo--ganesh img { object-position: 50% 12%; }
.invocation .deva { margin-top: 24px; }
.invocation__line { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-mute); }
.invocation .star-rule { margin-top: 22px; }

.story { position: relative; overflow: hidden; padding: clamp(48px, 4.5vw, 72px) 32px 140px; }
.mandala { position: absolute; right: -160px; top: 40px; width: 560px; opacity: .12; animation: spin 160s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.story__grid { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 88px; align-items: center; }
.story__art { position: relative; padding-bottom: 70px; }
.arch-photo--big { width: 82%; aspect-ratio: 4 / 5.4; border-radius: 999px 999px 8px 8px; background: #EFE0CC; box-shadow: 0 24px 60px rgba(90,30,30,.22); }
.arch-photo--big img { object-position: 50% 62%; }
.arch-photo--big .arch-photo__ring { inset: 12px; border-radius: 999px 999px 4px 4px; }
.arch-photo--small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border-radius: 999px 999px 6px 6px; border: 6px solid var(--cream); box-shadow: 0 18px 40px rgba(90,30,30,.22); background: #E7CDB5; }
.arch-photo--small img { object-position: 50% 80%; }
.story__title { margin-top: 20px; font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.1; color: var(--maroon); text-wrap: balance; }
.story__p { font-family: var(--serif); font-size: 21px; line-height: 1.65; color: var(--ink-soft); }
.story__p + .story__p, #storyMore .story__p { margin-top: 16px; }
.dropcap { float: left; font-family: var(--script); font-size: 78px; line-height: .8; margin: 8px 10px 0 0; color: var(--rose); }
.story .textlink { margin-top: 30px; }

.programme { background: var(--cream-2); padding: 130px 28px 140px; }
.programme__head { text-align: center; max-width: 900px; margin: 0 auto; }
.programme__title { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; color: var(--maroon); }
.programme__sub { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-mute); }
.cards { max-width: 1340px; margin: 70px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.ecard { position: relative; overflow: hidden; background: var(--bg); color: var(--ink); border-radius: 999px 999px 14px 14px; padding: 0 22px 28px; text-align: center; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 14px 34px rgba(90,20,30,.16); transition: transform .4s ease, box-shadow .4s ease; }
.ecard:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(90,20,30,.28); }
.ecard__frame { position: absolute; inset: 9px; z-index: 2; border-radius: 999px 999px 9px 9px; border: 1px solid var(--accent); opacity: .8; pointer-events: none; }
.ecard__photo { position: relative; align-self: stretch; margin: 0 -22px; aspect-ratio: 308 / 440; overflow: hidden; }
.ecard__photo picture { display: block; height: 100%; }
.ecard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ecard__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(180deg, transparent 0%, var(--bg) 100%); }
.ecard__icon { position: relative; z-index: 1; margin-top: -30px; width: 58px; height: 58px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px var(--accent), 0 6px 16px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; }
.ecard__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ecard__num { margin-top: 10px; font-family: var(--serif); font-size: 13px; letter-spacing: .34em; color: var(--sub); }
.ecard__sub { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--sub); }
.ecard__sub::first-letter { text-transform: uppercase; }
.ecard__line { margin-bottom: 22px; }
.ecard__line strong { display: block; font-style: normal; font-weight: 600; }
.ecard__name { margin-top: 8px; font-family: var(--script); font-weight: 400; font-size: 40px; line-height: 1.05; color: var(--ink); }
.ecard__date { margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ecard__time { margin-top: 4px; font-family: var(--serif); font-size: 22px; color: var(--ink); }
.ecard__line { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--sub); }
.ecard__dress { margin-top: auto; padding-top: 18px; width: 100%; border-top: 1px solid var(--rule); }
.ecard__label { margin-bottom: 10px; font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--sub); }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.swatches span { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent); }
.ecard__palette { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--sub); }
.programme__venue { margin-top: 44px; text-align: center; font-family: var(--serif); font-size: 19px; color: var(--ink-mute); }

.travel { padding: 140px 32px; }
.travel__grid { max-width: 1220px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.travel__card { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.travel__card picture { display: block; width: 100%; max-width: 440px; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(90,30,30,.25); transform: rotate(-2deg); }
.travel__card img { width: 100%; height: 100%; object-fit: cover; }
.travel__card picture { aspect-ratio: 1150 / 1808; }
.travel__text { flex: 999 1 520px; min-width: 0; }
.travel__title { margin: 16px 0 36px; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.4vw, 54px); line-height: 1.08; color: var(--maroon); }
.route { display: flex; align-items: center; gap: 18px; }
.route__stop { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 130px; flex: none; text-align: center; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.route__icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; }
.route__icon--solid { background: var(--maroon); border-color: var(--maroon); }
.route__arc { flex: 1; min-width: 40px; height: auto; aspect-ratio: 520 / 120; max-height: 120px; overflow: visible; }
.route__arc--mobile { display: none; aspect-ratio: 220 / 112; max-height: none; overflow: hidden; }
.info--wide { grid-column: 1 / -1; }
.info--wide .info__copy { margin-top: 14px; }
.info--wide .info__label + .info__copy { margin-top: 16px; }
.travel__cards { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.info { background: #FFFBF4; border: 1px solid #EADBC6; border-radius: 12px; padding: 36px; }
.info__label { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); }
.info__name { margin-top: 14px; font-family: var(--serif); font-size: 34px; color: var(--ink); }
.info__sub { margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-mute); }
.info__contact { margin: 10px 0 20px; font-size: 14px; color: var(--ink-mute); }
.info__contact a { color: var(--maroon); text-decoration: none; font-weight: 500; }
.info__dates { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.info__mini { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.info__date { margin-top: 6px; font-family: var(--serif); font-size: 24px; }
.info__copy { margin-top: 22px; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink-soft); }

.rsvp { position: relative; padding: 130px 24px; background-color: var(--maroon-deep); background-image: radial-gradient(circle at 50% 50%, rgba(242,212,147,.12) 0 1.5px, transparent 2.5px); background-size: 26px 26px; scroll-margin-top: 20px; }
.rcard { position: relative; max-width: 760px; margin: 0 auto; background: var(--paper); padding: 72px clamp(24px, 6vw, 72px); text-align: center; box-shadow: 0 30px 80px rgba(20,0,5,.45); }
.rcard .frame--outer { inset: 12px; }
.rcard .frame--inner { inset: 17px; }
.rcard__body { position: relative; }
.rcard__seal { width: 96px; height: 96px; margin: -124px auto 20px; filter: drop-shadow(0 8px 14px rgba(40,0,10,.4)); }
.steps { display: flex; justify-content: center; gap: 10px; }
.steps span { width: 28px; height: 4px; border-radius: 2px; background: #E7D3BE; transition: background .3s; }
.steps span.is-on { background: var(--rose); }
.steplabel { margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dark); }
.rcard__title { margin-top: 14px; font-family: var(--script); font-weight: 400; font-size: clamp(44px, 7vw, 68px); line-height: 1.05; color: var(--maroon); outline: none; text-wrap: balance; }
.choices { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; }
.choice { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px 26px; border-radius: 12px; cursor: pointer; background: var(--paper); color: var(--maroon); border: 1px solid #D9B77A; transition: all .25s ease; }
.choice:hover { background: #FFF6EA; }
.choice__title { font-family: var(--serif); font-size: 28px; }
.choice__sub { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.choice__tick { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #D9B77A; color: transparent; display: flex; align-items: center; justify-content: center; }
.choice[aria-pressed="true"] { background: var(--maroon); color: var(--cream); border-color: var(--maroon); box-shadow: 0 14px 30px rgba(110,20,40,.28); }
.choice[aria-pressed="true"] .choice__tick { background: var(--gold); border-color: var(--gold); color: #fff; }
.rstep > .pill { margin-top: 32px; }
.locknote { margin-top: 26px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; line-height: 1.5; color: #5A3A30; }
.locknote svg { flex: none; }
.fields { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.field input { height: 54px; padding: 0 16px; border: 1px solid #D9B77A; border-radius: 10px; background: #FFFBF4; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(168,50,78,.15); }
.field input[aria-invalid="true"] { border-color: #B3123A; background: #FFF0F2; }
.formerror { margin-top: 16px; font-size: 14px; color: #A3102F; }
.rstep__nav { margin-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.result__invite { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-mute); }
.result__guest { margin-top: 10px; font-family: var(--serif); font-size: 36px; color: var(--maroon); }
.result .star-rule { margin-top: 18px; }
.result__date { margin-top: 16px; font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--maroon-deep); }
.result__venue { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-mute); }
.result__ref { margin-top: 10px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); }
.result__copy { margin-top: 14px; font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--ink-soft); }
.calchoices { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.calchoices__note { flex-basis: 100%; font-size: 13px; color: var(--ink-mute); }
.calchoices--open { margin-top: 26px; }
.gift { margin-top: 36px; padding-top: 28px; border-top: 1px solid #EADBC6; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink-soft); }
.bank { margin: 20px auto 0; max-width: 360px; padding: 22px; border: 1px solid #EADBC6; border-radius: 12px; background: #FFFBF4; }
.bank__label { font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); }
.bank__value { margin: 4px 0 12px; font-size: 20px; color: var(--ink); white-space: pre-line; }
.rcard__hint { margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink-mute); }
.rcard__hint + .choices { margin-top: 18px; }
.summary { margin-top: 22px; padding: 16px; border: 1px solid #EADBC6; border-radius: 12px; }
.summary__label { font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); }
.summary .result__guest { margin-top: 6px; }
.summary__note { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-mute); }
.gift__title { margin-bottom: 10px; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; color: var(--maroon); }
.note { margin-top: 28px; padding: 22px 24px; border-radius: 12px; background: #F8EFE3; border-left: 3px solid var(--gold); text-align: left; font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.note p + p { margin-top: 10px; }
.note .note__title { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.result__actions { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; }

.footer { position: relative; overflow: hidden; background: var(--ink); color: #F3DCC8; padding: 90px 32px 64px; text-align: center; }
.footer > img { width: 84px; height: 84px; margin: 0 auto; }
.footer__line { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 24px; }
.footer__meta { margin-top: 10px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #D9B77A; }
.toran--footer .toran__cord { height: 5px; }
.toran--footer .toran__strands { margin-top: -2px; }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--maroon-deep); background-image: radial-gradient(circle at 50% 50%, rgba(242,212,147,.1) 0 1.5px, transparent 2.5px); background-size: 26px 26px; color: var(--cream); padding: 22px 28px 40px; display: flex; flex-direction: column; gap: 26px; animation: menuin .3s ease both; }
@keyframes menuin { from { opacity: 0; } to { opacity: 1; } }
.menu__head { display: flex; justify-content: space-between; align-items: center; }
.menu__close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(242,212,147,.5); border-radius: 50%; background: none; color: var(--gold-text); cursor: pointer; }
.menu nav { display: flex; flex-direction: column; border-top: 1px solid rgba(242,212,147,.25); }
.menu nav a { padding: 16px 0; border-bottom: 1px solid rgba(242,212,147,.25); font-family: var(--serif); font-size: 30px; color: var(--cream); text-decoration: none; }
.menu nav a:hover { color: var(--gold-text); }
.menu .pill { align-self: stretch; }
.menu__foot { margin-top: auto; text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translateX(-50%); background: var(--ink); color: var(--cream); padding: 12px 22px; border-radius: 999px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* =========================================================
   Tablet & phone
   ========================================================= */
@media (max-width: 1100px) {
  .glance__value { font-size: 21px; }
}
@media (max-width: 900px) {
  .archframe--desktop { display: none; }
  .archframe--mobile { display: block; }
  .toran__leaves { display: none; }
  .toran__strands { padding: 0 8px; margin-top: -2px; }
  .toran .bead { width: 11px; height: 11px; }

  .landing { min-height: 100vh; min-height: 100svh; }
  .landing__photo { object-position: 50% 60%; }
  .landing__shade { background: linear-gradient(180deg, rgba(74,10,28,.7) 0%, rgba(74,10,28,.35) 36%, rgba(74,10,28,.1) 60%, rgba(74,10,28,.5) 100%); }
  .wall { display: none; }
  .landing__stage { padding: 112px 30px 40px; }
  .landing .deva { font-size: 15px; }
  .families { margin-top: 8px; font-size: 11px; letter-spacing: .34em; }
  .landing .names { font-size: 52px; line-height: 1.02; }
  .env-stage { --s: .82; margin-top: 10px; margin-bottom: 36px; }
  .env-hint { font-size: 17px; bottom: -30px; }
  .pill--enter { margin-top: 0; width: min(300px, 100%); padding: 16px 0; letter-spacing: .26em; }
  .landing__count { display: block; padding: 6px 16px; border-radius: 999px; background: rgba(60,8,24,.55); text-shadow: 0 1px 6px rgba(40,0,10,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

  .strip { font-size: 13px; letter-spacing: .06em; }
  .nav { justify-content: space-between; padding: 12px 20px; }
  .nav__side { display: none; }
  .nav__seal img { width: 52px; height: 52px; }
  .nav__menu { display: inline-block; }

  .hero { min-height: 760px; }
  .hero__shade { background: linear-gradient(180deg, rgba(60,8,24,.66) 0%, rgba(60,8,24,.5) 50%, rgba(60,8,24,.15) 78%, rgba(60,8,24,.3) 100%); }
  .hero__when, .hero__welcome { text-shadow: 0 1px 14px rgba(40,0,10,.8); }
  .hero__content { padding: 140px 34px 70px; }
  .hero__welcome { font-size: 12px; letter-spacing: .3em; }
  .names--hero { font-size: clamp(58px, 15vw, 96px); }
  .hero__when { font-size: 19px; letter-spacing: .04em; }
  .star-rule--light span { width: 60px; }
  .hero__ctas { flex-direction: column; align-self: stretch; max-width: 340px; margin-left: auto; margin-right: auto; width: 100%; }

  .glance { grid-template-columns: 1fr; }
  .glance > div { padding: 22px 20px; }
  .glance > div + div { border-left: 0; border-top: 1px solid rgba(242,212,147,.25); }

  .invocation { padding-top: 56px; }
  .story { padding: 48px 22px 100px; }
  .story__grid { gap: 56px; }
  .mandala { width: 400px; right: -200px; }
  .story__p { font-size: 19px; }

  .programme { padding: 90px 20px 100px; }
  .programme__sub { font-size: 19px; }
  .cards { grid-template-columns: minmax(0, 400px); justify-content: center; margin-top: 48px; gap: 26px; }

  .travel { padding: 90px 22px; }
  .travel__grid { gap: 48px; }
  .route__stop { width: 88px; font-size: 16px; }
  .route { gap: 6px; }
  .route__arc--desktop { display: none; }
  .route__arc--mobile { display: block; }
  .route__icon { width: 54px; height: 54px; }
  .info { padding: 26px; }

  .rsvp { padding: 110px 16px 90px; }
  .rcard { padding: 64px 22px 48px; }
  .rcard .frame--outer { inset: 8px; }
  .rcard .frame--inner { inset: 12px; }
  .fields { grid-template-columns: 1fr; }
  .choice__title { font-size: 26px; }
  .locknote { align-items: flex-start; text-align: left; }
  .rstep__nav { flex-direction: column-reverse; }
  .rstep__nav .pill { width: 100%; }
}

@media (max-width: 600px) {
  .br-mobile { display: inline; }
  .env-stage { --s: .6458; margin-top: 6px; margin-bottom: 30px; }
  .landing .names { font-size: 52px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .landing .names { font-size: 64px; }
  .names--hero { font-size: clamp(64px, 10vw, 96px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .petals, .mandala { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RSVP · personal invitations: guests + travel ---------- */
.rcard__party { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-mute); }
.rcard__party strong { font-style: normal; font-weight: 600; color: var(--maroon); }
.field select, .field textarea { height: 54px; padding: 0 14px; border: 1px solid #D9B77A; border-radius: 10px; background: #FFFBF4; font-family: var(--serif); font-size: 19px; color: var(--ink); width: 100%; min-width: 0; }
.field select:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(168,50,78,.15); }
.field input { width: 100%; min-width: 0; }
.fields--3 { grid-template-columns: 1fr 1fr 1fr; }
.party { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.pcard { position: relative; border: 1px solid #E2C68A; border-radius: 14px; background: #FFFBF4; padding: 20px 20px 18px; }
.pcard.is-off { background: #F7F0E6; }
.pcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pcard__num { font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); }
.pcard__remove { background: none; border: 0; cursor: pointer; color: var(--ink-mute); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; padding: 4px; }
.pcard .fields { margin-top: 12px; gap: 14px; }
.pcard__more { margin-top: 14px; }
.yesno { display: inline-flex; padding: 3px; border-radius: 999px; background: #F1E3CF; }
.yesno button { border: 0; background: none; cursor: pointer; padding: 8px 16px; border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.yesno button[aria-pressed="true"] { background: var(--maroon); color: var(--cream); }
.evchips { margin-top: 14px; border: 0; padding: 0; }
.evchips legend { padding: 0; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.evchips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.evchip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid #D9B77A; background: var(--paper); cursor: pointer; font-family: var(--serif); font-size: 17px; color: var(--maroon); }
.evchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.evchip:has(input:checked) { background: var(--maroon); border-color: var(--maroon); color: var(--cream); }
.evchip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.party__add { margin-top: 18px; }
.party__add:disabled { opacity: .4; cursor: not-allowed; }
.travelset { margin: 26px 0 0; padding: 0; border: 0; text-align: left; }
.travelset legend { padding: 0; font-family: var(--serif); font-size: 24px; color: var(--maroon); }
.travelset .fields { margin-top: 12px; }
.travelset__note { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-mute); }
.pass { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; align-items: end; padding: 14px 0; border-bottom: 1px solid #F1E6D6; }
.pass__name { font-family: var(--serif); font-size: 20px; color: var(--ink); align-self: center; }
.pass__warn { grid-column: 1 / -1; font-size: 13px; color: #A3102F; }
.result__more { font-size: 17px; }
@media (max-width: 600px) {
  .pcard .fields, .fields--3, [data-step="4"] .fields { grid-template-columns: 1fr; }
  .pcard { padding: 16px 14px; }
  .pass { grid-template-columns: 1fr; }
}
