/* Arjun & Trishala — guest site. Hand-made paper, gold ink, calm motion. */

:root {
  --ink: #2b2a33;
  --ink-soft: #4a4853;
  --gold: #b8893b;
  --gold-text: #8a6320;      /* AA-safe gold for small text on ivory */
  --sindoor: #a8322d;
  --green: #3f5d45;
  --turmeric: #d9a441;
  --ivory: #f6efe2;
  --card: rgba(255, 252, 245, .66);
  --card-solid: #fffaf0;
  --line: rgba(184, 137, 59, .32);
  --shadow: 0 1px 1px rgba(43, 42, 51, .04), 0 10px 30px -12px rgba(90, 62, 20, .22);

  --display: "Homemade Apple", "Segoe Script", "Bradley Hand", cursive;
  --body: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  /* critically damped by default; a whisper of overshoot only where a toggle moves */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.25, .5, 1);
  --nav-h: 66px;
  --tab-h: 62px;
  --gutter: max(18px, env(safe-area-inset-left));
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .26 7%, .6 16%, .86 28%, 1 40%, 1.035 52%, 1.012 66%, 1); }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ivory);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 1.4rem;          /* 22.4px on mobile */
  line-height: 1.4;
  color: var(--ink);
  overflow-x: clip;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 12px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {               /* paper, fixed behind everything */
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background: var(--ivory) url("assets/paper.webp") center / cover no-repeat;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(168, 50, 45, .55); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
.eyebrow {
  margin: 0 0 .6rem;
  font-weight: 600; font-size: 1.15rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold-text);
}
.label { font-weight: 600; font-size: 1.05rem; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-text); }
.muted { color: var(--ink-soft); }

/* ---------- Gold-ink motifs ---------- */
.ink { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: url(#wobble); }
.ink-fill { fill: var(--gold); stroke: none; filter: url(#wobble); }
.motif { display: block; margin-inline: auto; overflow: visible; }

.hero-border {
  position: relative; width: 100%; max-width: 780px; margin: clamp(1rem, 3vw, 1.8rem) auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.hero-border svg { max-width: none; width: 190%; margin-left: -45%; height: auto; display: block; }
@media (min-width: 620px) { .hero-border svg { width: 100%; max-width: 100%; margin-left: 0; } }
.hero-border .jhoti { clip-path: inset(0 100% 0 0); }
.hero-border .kasavu { clip-path: inset(0 0 0 100%); }
.hero-border .wheel { opacity: 0; transform-origin: 400px 28px; transform: scale(.6) rotate(-40deg); }
.is-drawn .hero-border .jhoti { clip-path: inset(0 0 0 0); transition: clip-path 2.1s var(--ease) .25s; }
.is-drawn .hero-border .kasavu { clip-path: inset(0 0 0 0); transition: clip-path 2.1s var(--ease) .25s; }
.is-drawn .hero-border .wheel { opacity: 1; transform: none; transition: opacity .9s ease 1.5s, transform 1.4s var(--ease) 1.5s; }
html:not(.js) .hero-border .jhoti, html:not(.js) .hero-border .kasavu { clip-path: none; }
html:not(.js) .hero-border .wheel { opacity: 1; transform: none; }

.divider { width: min(300px, 72%); height: auto; margin: 0 auto; }

/* ---------- Nav: translucent top bar (desktop) / iOS tab bar (mobile) ---------- */
.nav { position: fixed; z-index: 50; left: 0; right: 0; }
.nav-inner { display: flex; align-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; }
.nav a { text-decoration: none; -webkit-tap-highlight-color: transparent; }
.nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-brand { display: none; }

/* mobile (default): bottom tab bar */
.nav { bottom: 0; padding-bottom: env(safe-area-inset-bottom); background: rgba(247, 241, 228, .78);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border-top: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 -1px 0 var(--line); }
.nav-inner { width: 100%; }
.nav-list { width: 100%; justify-content: space-around; padding-inline: max(4px, env(safe-area-inset-left)) max(4px, env(safe-area-inset-right)); }
.nav-list li { flex: 1; min-width: 0; }
.nav-list a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-height: var(--tab-h); padding: 6px 2px 4px; color: var(--ink-soft);
  font-weight: 600; font-size: 1.05rem; line-height: 1.1;
  transition: color .25s var(--ease), transform .12s ease-out;
}
.nav-list a:active { transform: scale(.94); }
.nav-list a span { transition: color .25s var(--ease); }
.nav-list a svg { transition: transform .45s var(--spring), stroke .25s; }
.nav-list a[aria-current="true"] { color: var(--sindoor); }
.nav-list a[aria-current="true"] svg { transform: translateY(-1px) scale(1.12); stroke-width: 1.9; }

@media (min-width: 768px) {
  body { padding-bottom: 0; font-size: 1.5rem; }
  .nav { top: 0; bottom: auto; padding: 0; border-top: 0; box-shadow: 0 1px 0 var(--line);
    background: rgba(247, 241, 228, .7); }
  .nav-inner { max-width: 1180px; margin-inline: auto; height: var(--nav-h); padding-inline: var(--gutter); justify-content: space-between; }
  .nav-brand { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
  .nav-brand span { color: var(--gold); font-size: 1.15em; margin: 0 1px; }
  .nav-list { width: auto; gap: .25rem; padding: 0; }
  .nav-list li { flex: none; }
  .nav-list a { flex-direction: row; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px; font-size: 1.3rem; position: relative; }
  .nav-list a svg { width: 20px; height: 20px; }
  .nav-list a[aria-current="true"] { background: rgba(168, 50, 45, .09); }
  .nav-list a[aria-current="true"] svg { transform: none; }
  .nav-list a:hover { color: var(--ink); }
  html { scroll-padding-top: calc(var(--nav-h) + 8px); }
}
html { scroll-padding-top: 12px; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem); }
.section-head { text-align: center; margin-bottom: clamp(1.8rem, 5vw, 3.2rem); }
.section-head h2 { font-size: clamp(1.9rem, 6.2vw, 3.1rem); line-height: 1.25; letter-spacing: -.01em; }
.section-head .divider { margin-top: 1rem; }
.section-head p.lede { margin: .9rem auto 0; max-width: 34rem; color: var(--ink-soft); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }

/* ---------- Hero ---------- */
.hero { min-height: min(100svh, 920px); display: grid; place-items: center; text-align: center; padding: calc(2.5rem + env(safe-area-inset-top)) 0 3rem; }
@media (min-width: 768px) { .hero { padding-top: calc(var(--nav-h) + 2rem); } }
.names { display: flex; flex-direction: column; align-items: center; line-height: 1.25; letter-spacing: -.015em; font-size: clamp(2.5rem, 12.5vw, 4.4rem); }
.names .amp { font-size: 1.45em; line-height: .9; color: var(--gold); margin: .02em 0; }
@media (min-width: 900px) {
  .names { flex-direction: row; justify-content: center; align-items: baseline; gap: .35em; font-size: clamp(3.4rem, 6.4vw, 5.6rem); }
  .names .amp { font-size: 1.3em; }
}
.hero-inner > .eyebrow { margin-bottom: 1.4rem; }
.dateline { margin: 0; font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 500; }
.dateline .dot { color: var(--gold); margin-inline: .45em; }
.hero .venue { margin: .2rem 0 0; color: var(--ink-soft); }
.hashtag { margin: .3rem 0 0; color: var(--gold-text); font-weight: 600; }

.count { display: flex; justify-content: center; gap: clamp(.4rem, 2.4vw, 1rem); margin: clamp(1.6rem, 4vw, 2.4rem) auto 0; max-width: 28rem; }
.count > div {
  flex: 1; min-width: 0; padding: .7rem .2rem .55rem; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.count b { display: block; font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.05; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.count span { display: block; font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.count-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: 1.2em; }
.hero-cta { margin-top: clamp(1.4rem, 4vw, 2.2rem); display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.hero-cta small { flex-basis: 100%; font-size: 1.05rem; color: var(--ink-soft); }
.gate-note { margin: clamp(1.6rem, 5vw, 2.6rem) auto 0; max-width: 24rem; font-size: 1.5rem; color: var(--ink-soft); }
.gate-note::before { content: ""; display: block; width: 36px; height: 36px; margin: 0 auto .8rem; background: url("assets/favicon.svg") center / contain no-repeat; opacity: .9; }
body.is-gate .hero { min-height: 100svh; padding-bottom: 4rem; }
body.is-gate { padding-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .55rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1.25rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--ivory);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -10px rgba(43,42,51,.55);
  transition: transform .12s ease-out, background .25s, box-shadow .25s, opacity .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #3a3945; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn.ghost { background: rgba(255, 252, 245, .55); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 252, 245, .9); border-color: var(--gold); }
.btn.sm { min-height: 46px; padding: .4rem 1.1rem; font-size: 1.15rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.wa { background: var(--green); }
.btn.wa:hover { background: #35503b; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 24px 28px 22px 26px / 26px 22px 28px 24px;
  padding: clamp(1.3rem, 4vw, 2rem);
}

/* ---------- Celebrations ---------- */
#events .konark-bg { position: absolute; right: -90px; top: 3rem; width: 340px; opacity: .13; pointer-events: none; }
@media (min-width: 900px) { #events .konark-bg { right: -40px; width: 420px; } }
.event-grid { display: grid; gap: clamp(1rem, 3vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); position: relative; margin-inline: auto; }
.event-grid[data-n="1"] { max-width: 440px; }
.event-grid[data-n="2"] { max-width: 860px; }
.event { display: flex; flex-direction: column; gap: 1rem; }
.event-top { display: flex; gap: 1rem; align-items: center; }
.event-date { flex: none; width: 4.4rem; text-align: center; padding-bottom: .5rem; border-bottom: 1px solid var(--line); position: relative; }
.event-date::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -4px; height: 1px; background: var(--line); }
.event-date b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1.15; color: var(--gold); }
.event-date span { display: block; font-weight: 600; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.event h3 { font-size: clamp(1.4rem, 5vw, 1.8rem); line-height: 1.35; }
.event .weekday { color: var(--ink-soft); font-size: 1.2rem; }
.facts { display: grid; gap: .7rem; margin: 0; }
.facts div { display: grid; grid-template-columns: 5.2rem 1fr; gap: .6rem; align-items: baseline; }
.facts dt { margin: 0; font-weight: 600; font-size: 1.02rem; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-text); }
.facts dd { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.facts dd.soft { color: var(--ink-soft); }
.dots { display: inline-flex; gap: 6px; vertical-align: middle; margin-left: .5rem; }
.dots i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(43,42,51,.28); box-shadow: 0 1px 2px rgba(43,42,51,.2) inset; }
.event .blurb { margin: 0; color: var(--ink-soft); }
.event .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Rituals ---------- */
.rituals { max-width: 760px; margin-inline: auto; }
.seg {
  --n: 2; --i: 0;
  position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr);
  background: rgba(43, 42, 51, .07); border-radius: 16px; padding: 4px; isolation: isolate;
}
.seg-thumb {
  position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n));
  border-radius: 12px; background: var(--card-solid);
  box-shadow: 0 1px 2px rgba(43,42,51,.14), 0 3px 8px -2px rgba(43,42,51,.12);
  transform: translateX(calc(var(--i) * 100%)); transition: transform .5s var(--spring);
}
.seg-opt {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: .3rem .4rem; border: 0; background: none; cursor: pointer; border-radius: 12px;
  font-weight: 600; font-size: 1.2rem; line-height: 1.1; color: var(--ink-soft);
  transition: color .25s, transform .12s ease-out; -webkit-tap-highlight-color: transparent;
}
.seg-opt:active { transform: scale(.97); }
.seg-opt.on, .seg-opt:has(input:checked) { color: var(--ink); }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt:has(input:focus-visible), .seg-opt:focus-visible { outline: 3px solid rgba(168, 50, 45, .55); outline-offset: 1px; }
.ritual-intro { text-align: center; margin: 1.2rem 0 1.6rem; color: var(--ink-soft); min-height: 1.4em; }
.ritual-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ritual-list.swap > li { animation: rise .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
.ritual { display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; }
.ritual-mark { width: 2.4rem; height: 2.4rem; margin-top: .15rem; }
.ritual h3 { font-family: var(--body); font-weight: 700; font-size: 1.55rem; line-height: 1.15; margin-bottom: .2rem; }
.ritual p { margin: 0; color: var(--ink-soft); }
.tag { display: inline-block; margin-left: .5rem; padding: 0 .55rem; border-radius: 999px; font-size: .9rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; vertical-align: .15em; color: var(--green); background: rgba(63, 93, 69, .1); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Travel ---------- */
.travel-grid { display: grid; gap: clamp(1rem, 3vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); max-width: 900px; margin-inline: auto; }
.travel-grid .card { display: flex; flex-direction: column; gap: .6rem; }
.travel-grid .card.wide { grid-column: 1 / -1; }
.travel-grid h3 { font-family: var(--body); font-weight: 700; font-size: 1.6rem; display: flex; align-items: center; gap: .55rem; }
.travel-grid h3 svg { width: 26px; height: 26px; flex: none; }
.travel-grid p { margin: 0; }
.map-btn { margin-top: .4rem; align-self: flex-start; }

/* ---------- RSVP ---------- */
.rsvp-card { max-width: 640px; margin-inline: auto; }
.field { display: grid; gap: .4rem; margin-bottom: 1.3rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: 1.05rem; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-text); padding: 0; }
.input {
  width: 100%; min-height: 54px; padding: .6rem 1rem; font-size: 1.35rem; line-height: 1.2;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(43, 42, 51, .22); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 137, 59, .22); background: #fff; }
.input[aria-invalid="true"] { border-color: var(--sindoor); }
.err { margin: 0; min-height: 0; font-size: 1.1rem; color: var(--sindoor); font-weight: 600; }
.err:empty { display: none; }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.switches { display: grid; gap: .6rem; }
.switch-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
  min-height: 62px; padding: .6rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .5); border: 1px solid var(--line);
  transition: background .25s, transform .12s ease-out; -webkit-tap-highlight-color: transparent;
}
.switch-row:active { transform: scale(.985); }
.switch-row:has(input:checked) { background: rgba(63, 93, 69, .09); border-color: rgba(63, 93, 69, .4); }
.switch-row:has(input:focus-visible) { outline: 3px solid rgba(168, 50, 45, .55); outline-offset: 2px; }
.switch-row b { display: block; font-weight: 700; font-size: 1.4rem; line-height: 1.1; }
.switch-row small { font-size: 1.1rem; color: var(--ink-soft); }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; flex: none; width: 54px; height: 32px; border-radius: 999px; background: rgba(43,42,51,.2); transition: background .3s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.28); transition: transform .45s var(--spring), width .2s; }
.switch-row:active .switch::after { width: 31px; }
.switch-row input:checked + .switch { background: var(--green); }
.switch-row input:checked + .switch::after { transform: translateX(22px); }
.switch-row:active input:checked + .switch::after { transform: translateX(17px); }
.hint { margin: .5rem 0 0; font-size: 1.1rem; color: var(--ink-soft); }

.stepper { display: inline-flex; align-items: center; gap: .3rem; background: rgba(43,42,51,.07); border-radius: 999px; padding: 4px; width: max-content; }
.stepper button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--card-solid); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 1px 2px rgba(43,42,51,.14); transition: transform .12s ease-out, opacity .2s; -webkit-tap-highlight-color: transparent; }
.stepper button:active { transform: scale(.92); }
.stepper button[disabled] { opacity: .35; cursor: default; }
.stepper output { min-width: 3.2rem; text-align: center; font-weight: 700; font-size: 1.7rem; font-variant-numeric: tabular-nums; }

.form-error { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 14px; background: rgba(168, 50, 45, .09); color: #7e2420; font-weight: 600; }
.form-actions { display: grid; gap: .7rem; justify-items: stretch; margin-top: 1.6rem; }
.form-actions .btn { width: 100%; min-height: 58px; font-size: 1.4rem; }
.deadline { text-align: center; margin: 0 0 1.4rem; color: var(--ink-soft); }

.success { text-align: center; padding-block: 1.4rem 1rem; }
.success[hidden] { display: none; }
.tick { width: 112px; height: 112px; margin: 0 auto .6rem; display: block; overflow: visible; }
.tick circle, .tick path { fill: none; stroke: var(--green); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: url(#wobble); }
.tick circle { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tick path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.success.show .tick circle { animation: draw .9s var(--ease) forwards; }
.success.show .tick path { animation: draw .6s var(--ease) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.4; margin-bottom: .6rem; }
.success p { margin: 0 0 1.2rem; color: var(--ink-soft); }

/* ---------- FAQ & contacts ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .7rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.2rem; border: 0; background: none; text-align: left; cursor: pointer;
  font-weight: 700; font-size: 1.4rem; line-height: 1.15; -webkit-tap-highlight-color: transparent;
}
.faq-q:active { background: rgba(184, 137, 59, .08); }
.faq-q svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold-text); stroke-width: 2; stroke-linecap: round; transition: transform .5s var(--spring); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.contacts { max-width: 760px; margin: clamp(2.5rem, 6vw, 4rem) auto 0; }
.contacts h3 { font-family: var(--display); text-align: center; font-size: clamp(1.4rem, 4.6vw, 1.9rem); margin-bottom: 1.2rem; }
.contact-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.contact { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.contact strong { font-size: 1.45rem; font-weight: 700; line-height: 1.1; }
.contact span { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.foot { text-align: center; padding: 3rem 0 2.5rem; }
.foot .lamp { width: 44px; height: auto; margin: 0 auto 1rem; }
.foot p { margin: .3rem 0; }
.foot .bless { font-size: 1.5rem; max-width: 28rem; margin-inline: auto; }
.foot .sign { font-family: var(--display); font-size: 1.3rem; color: var(--ink); margin-top: 1rem; }
.foot .sign span { color: var(--gold); }

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; }
  .js .reveal.in { transition: opacity .4s ease; }
  .hero-border .jhoti, .hero-border .kasavu { clip-path: none !important; transition: none !important; }
  .hero-border .wheel { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ritual-list.swap > li { animation: none; }
  .seg-thumb, .switch::after, .faq-q svg, .faq-a, .nav-list a svg { transition-duration: .01ms; }
  .success.show .tick circle, .success.show .tick path { animation-duration: .01ms; animation-delay: 0s; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .card, .count > div, .faq-item { background: var(--card-solid); }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(43, 42, 51, .55); --ink-soft: #2b2a33; }
  .nav { background: var(--ivory); }
}
@media (max-width: 360px) {
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
  .btn { padding-inline: 1.1rem; }
}

.divider { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }

.hero-border .kasavu { stroke-width: 2; }
.hero-border .jhoti .ink-fill { stroke: none; }

/* muhurtham list */
.muhurtham { list-style: none; margin: .2rem 0 .4rem; padding: .7rem 0 0; border-top: 1px dashed var(--line); display: grid; gap: .3rem; }
.muhurtham li { display: flex; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; flex-wrap: wrap; }
.muhurtham .m-label { font-family: var(--body); font-size: 1.4rem; letter-spacing: .05em; font-variant: small-caps; color: var(--gold-text); }
.muhurtham .m-time { color: var(--ink); font-weight: 700; font-size: 1.2rem; }
/* venue card */
.travel-grid .venue-card { align-items: center; text-align: center; }
.venue-card h3 { justify-content: center; }
.venue-name { font-weight: 700; font-size: 1.3rem; }
.qr-card { background: var(--card-solid); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); line-height: 0; }
.qr-card img { width: 160px; height: 160px; display: block; max-width: 100%; }
.venue-addr { max-width: 34ch; }
@media (max-width: 640px) {
  .venue-card .map-btn { align-self: stretch; justify-content: center; }
}
