/* Aarav weds Meera: ivory, sage green, blush and a little gold. Cormorant Garamond for headings, Pinyon Script for the
   names and small accents, Work Sans for text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBF8F2;
  --surface: #FFFDF9;
  --soft: #F1F3EC;
  --blush: #F7E6E3;
  --blush-strong: #E8C4C0;
  --rose: #A65F58;
  --gold: #B8924A;
  --gold-text: #8A6A2E;
  --sage: #6F8B72;
  --ink: #2F3A33;
  --muted: #5B665E;
  --line: #E5E1D4;
  --line-strong: #CAC9B8;
  --brand: #4E6A53;
  --brand-hover: #3D5642;
  --brand-ink: #FFFDF8;
  --brand-text: #4E6A53;
  --eyebrow: #93564F;
  --head: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --body: "Work Sans", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 14px;
  --btn-radius: 999px;
  --wrap: 1080px;
  --out-bg: #3B4B3F;
  --out-ink: #F7F3EA;
  --out-accent: #EBD3A4;
  --out-btn: #F2D3CE;
  --out-btn-ink: #3A2A2B;
  --out-warn: #FFD7C2;
}
[hidden] { display: none !important; }
body { font-size: 1rem; }
h1, h2, h3 { font-weight: 500; letter-spacing: 0; }
.script { font-family: var(--script); font-weight: 400; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.eyebrow { letter-spacing: .22em; font-weight: 600; font-size: .74rem; }
.btn { font-weight: 500; letter-spacing: .04em; }
.btn-ghost { border-color: var(--line-strong); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
.sec-title { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.1; }
.center-head { text-align: center; display: grid; justify-items: center; gap: 6px; margin-bottom: 32px; }
.center-head .sec-title { margin-bottom: 0; }
.center-head .lede { margin-top: 4px; }
.sprig { width: 120px; height: 24px; margin: 18px auto 0; }
.divider { display: grid; place-items: center; }
.divider .sprig { margin: 0 auto; }
.soft-band { background: var(--soft); }

/* header */
.header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.mono { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--gold); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px var(--blush-strong); font: 400 1.05rem/1 var(--script); color: var(--brand); white-space: nowrap; letter-spacing: -.02em; }
.mono i { font-style: normal; color: var(--gold); font-size: .8em; margin: 0 1px; }
.logo span:not(.mono) { display: grid; line-height: 1.1; }
.logo b { font: 500 1.35rem var(--head); color: var(--ink); }
.logo small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav a { font-size: .92rem; color: var(--muted); letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--soft); }
.header-cta .btn { min-height: 44px; padding: 8px 22px; }
.header-cta .btn[aria-current="page"] { background: var(--rose); }
@media (max-width: 1100px) and (min-width: 961px) { .nav a { padding: 8px 7px; font-size: .88rem; } .logo small { display: none; } }
@media (max-width: 400px) { .logo b { font-size: 1.15rem; } .logo small { font-size: .64rem; letter-spacing: .08em; } .mono { width: 40px; height: 40px; font-size: .92rem; } }

/* hero: the invitation card */
.hero { padding-block: clamp(28px, 6vw, 72px); background:
  radial-gradient(circle at 12% 18%, var(--blush) 0, transparent 34%),
  radial-gradient(circle at 88% 82%, #E4EBDF 0, transparent 38%), var(--bg); }
.invite { position: relative; max-width: 640px; margin-inline: auto; padding: clamp(64px, 11vw, 96px) clamp(22px, 7vw, 72px) clamp(56px, 9vw, 84px); text-align: center; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(47,58,51,.35); }
.invite::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--gold); pointer-events: none; }
.invite::after { content: ""; position: absolute; inset: 17px; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); pointer-events: none; }
.fc { position: absolute; width: clamp(92px, 22vw, 150px); height: auto; z-index: 1; pointer-events: none; }
.fc-tl { top: 2px; left: 2px; }
.fc-tr { top: 2px; right: 2px; transform: scaleX(-1); }
.fc-bl { bottom: 2px; left: 2px; transform: scaleY(-1); }
.fc-br { bottom: 2px; right: 2px; transform: scale(-1, -1); }
.invite > *:not(.fc) { position: relative; z-index: 2; }
.inv-pre { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.inv-names { display: grid; justify-items: center; margin: 14px 0 6px; font: 400 clamp(3.6rem, 13vw, 6.2rem)/1 var(--script); color: var(--brand); }
.inv-names span { display: block; padding-inline: .1em; }
.inv-names i { font: italic 400 clamp(1.6rem, 5vw, 2.4rem)/1.2 var(--head); color: var(--gold-text); }
.inv-line { font: italic 400 clamp(1.15rem, 2.6vw, 1.4rem) var(--head); color: var(--ink); }
.inv-date { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; font-family: var(--head); }
.inv-date span { padding: 6px 0; border-block: 1px solid var(--gold); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--body); min-width: 52px; }
.inv-date b { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 500; color: var(--ink); }
.inv-month { font: 500 1.2rem var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.inv-place { margin-top: 6px; font-size: .86rem; letter-spacing: .18em; text-transform: uppercase; color: var(--eyebrow); }
.inv-cd { justify-content: center; margin-top: 26px; gap: 8px; }
.inv-cd div { min-width: 64px; padding: 10px 6px; background: var(--bg); border-color: var(--line); border-radius: 4px; }
.inv-cd b { color: var(--brand); font-weight: 500; }
.inv-cd-note { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.inv-done { margin-top: 20px; font: italic 1.3rem var(--head); color: var(--brand); }
.invite .hero-actions { justify-content: center; margin-top: 26px; }
@media (max-width: 420px) { .inv-cd div { min-width: 56px; } .inv-cd b { font-size: 1.45rem; } .inv-date { gap: 8px; } .inv-date span { min-width: 40px; letter-spacing: .12em; } }

/* letter */
.letter { text-align: center; }
.letter .sec-title { margin: 8px 0 18px; }
.letter-body { font: 400 clamp(1.2rem, 2.4vw, 1.4rem)/1.6 var(--head); color: var(--ink); max-width: 60ch; margin-inline: auto; }
.signoff { margin-top: 18px; font-size: 2.4rem; color: var(--rose); }

/* countdown boxes and the next event */
.countdown div { border-radius: 4px; }
.countdown b { font-weight: 500; }
.next-ev { display: grid; justify-items: center; gap: 10px; padding: 26px 18px; margin-bottom: 30px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blush-strong); border-radius: var(--radius-lg); }
.next-name { display: grid; gap: 2px; }
.next-name span { font: 500 clamp(1.7rem, 4vw, 2.2rem)/1.1 var(--head); color: var(--brand); }
.next-name small { color: var(--muted); font-size: .92rem; }
.next-ev .countdown { justify-content: center; gap: 8px; }
.next-ev .countdown div { min-width: 62px; background: var(--bg); }
.next-done { font: italic 1.3rem var(--head); color: var(--brand); }

/* compact timeline on the home page */
.mini-tl { list-style: none; display: grid; gap: 0; margin-bottom: 24px; }
.mini-tl li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line-strong); }
.mini-tl li:first-child { border-top: 1px solid var(--line-strong); }
.mt-date { display: grid; justify-items: center; padding: 6px 0; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ev); line-height: 1; }
.mt-date b { font: 500 1.6rem/1 var(--head); }
.mt-date small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.mini-tl h3 { font-size: 1.4rem; }
.mini-tl p { color: var(--muted); font-size: .94rem; }
.mini-tl li.is-next h3::after, .ev.is-next .ev-time::after { content: "Next"; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: var(--blush); color: var(--rose); font: 600 .7rem var(--body); letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }

/* story teaser */
.story-tease { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 5vw, 48px); align-items: center; }
.story-tease .sec-title { margin: 6px 0 12px; }
.story-tease p + p { margin-top: 10px; }
.arch { margin: 0; padding: 8px; border: 1px solid var(--gold); border-radius: 140px 140px 6px 6px; }
.arch svg { width: 100%; height: auto; aspect-ratio: 4 / 4.6; border-radius: 132px 132px 4px 4px; }
@media (max-width: 640px) { .story-tease { grid-template-columns: minmax(0, 1fr); text-align: center; } .arch { max-width: 220px; margin-inline: auto; } }

/* travel trio on home */
.trio { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin-bottom: 24px; }
.trio li { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 24px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trio .ic { width: 28px; height: 28px; color: var(--sage); }
.trio h3 { font-size: 1.35rem; }
.trio p { color: var(--muted); font-size: .94rem; }

/* inner pages */
.page-head { text-align: center; background: linear-gradient(180deg, var(--blush) 0%, var(--bg) 100%); margin-bottom: clamp(20px, 3vw, 36px); }
.page-head .wrap { display: grid; justify-items: center; }
.page-head h1 { color: var(--ink); font-weight: 500; font-size: clamp(2.4rem, 6vw, 3.8rem); }
.page-head .lede { margin-inline: auto; }
.prose { display: grid; gap: 16px; font-size: 1.06rem; }
.prose-c { text-align: center; color: var(--muted); max-width: 60ch; margin-inline: auto; font-size: 1.04rem; }
.drop::first-letter { float: left; font: 400 4.4rem/.8 var(--script); color: var(--rose); padding: 10px 10px 0 0; }

/* story timeline */
.tl li::before { background: var(--line-strong); }
.tl-when { font-family: var(--head); font-size: 1.1rem; font-weight: 600; color: var(--eyebrow); }
.tl-what::before { background: var(--surface); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--soft); }
.tl-what h3 { font-size: 1.45rem; }

/* families, quotes */
.team { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 20px; text-align: center; }
.tm-art { border-radius: 90px 90px 8px 8px; border: 1px solid var(--line); }
.team h3 { font-size: 1.25rem; }
.tm-role { color: var(--eyebrow); font-size: .9rem; }
.quotes li { background: var(--surface); text-align: center; border-radius: var(--radius-lg); }
.quotes blockquote p { font: italic 400 1.25rem/1.45 var(--head); }
.quotes blockquote p::before { content: "“"; display: block; font: 400 3rem/.8 var(--script); color: var(--blush-strong); }

/* events page */
.ics-all { margin-bottom: 18px; }
.day-block { margin-top: clamp(36px, 6vw, 56px); }
.day-head { display: grid; justify-items: center; gap: 0; margin-bottom: 22px; text-align: center; font: 500 clamp(1.5rem, 3vw, 1.9rem) var(--head); }
.day-head .script { font-size: clamp(2rem, 5vw, 2.6rem); color: var(--rose); line-height: 1.1; }
.sched { list-style: none; display: grid; gap: 22px; }
.ev { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: 100px; }
.ev-art { border-right: 4px solid var(--ev); }
.ev-art svg { width: 100%; height: 100%; min-height: 200px; }
.ev-body { display: grid; gap: 10px; align-content: start; padding: 22px clamp(18px, 3vw, 28px) 24px; }
.ev-time { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; letter-spacing: .04em; color: var(--eyebrow); }
.ev-time .ic { width: 18px; height: 18px; }
.ev h3 { font-size: clamp(1.7rem, 3.4vw, 2.1rem); }
.ev-what { color: var(--muted); }
.ev-facts { display: grid; gap: 8px; margin: 4px 0; }
.ev-facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; font-size: .94rem; }
.ev-facts dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.ev-facts dd { margin: 0; }
.swatches { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.swatches li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.swatches i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.ev .btn { justify-self: start; margin-top: 4px; }
.ev.is-next { border-color: var(--blush-strong); box-shadow: 0 0 0 3px var(--blush); }
@media (max-width: 640px) { .ev { grid-template-columns: minmax(0, 1fr); } .ev-art { border-right: 0; border-bottom: 4px solid var(--ev); } .ev-art svg { min-height: 0; aspect-ratio: 16 / 8; } .ev-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.note-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 36px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--blush); }
.note-card .ic { color: var(--rose); }

/* travel */
.ways { list-style: none; display: grid; gap: 0; }
.ways li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ways li:first-child { border-top: 1px solid var(--line); }
.w-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--brand); }
.ways h2 { font-size: 1.6rem; margin-bottom: 6px; }
.ways p { color: var(--muted); }
.hotels { list-style: none; display: grid; gap: 16px; margin-bottom: 20px; }
.hotels li { display: grid; gap: 6px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: var(--radius-lg); }
.hotels h3 { font-size: 1.45rem; }
.hotels p { color: var(--muted); }
.hotels .h-rate { color: var(--ink); }
.hotels .h-rate b { font: 600 1.4rem var(--head); color: var(--brand); }
.hotels .h-how { font-size: .9rem; color: var(--eyebrow); font-weight: 500; }
.tips { list-style: none; display: grid; gap: 14px; margin-bottom: 32px; }
.tips li { padding-left: 26px; position: relative; color: var(--muted); }
.tips li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--blush-strong); box-shadow: 0 0 0 3px var(--blush); }
.tips b { color: var(--ink); font-weight: 600; }
.weather caption { text-align: left; font: 500 1.3rem var(--head); padding-bottom: 10px; }
.data-table { background: var(--surface); }
.data-table th[scope="row"] { font: 600 1.08rem var(--head); color: var(--brand); }

/* RSVP */
.rsvp { max-width: 1080px; }
.deadline-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--blush); border: 1px solid var(--blush-strong); }
.dl-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--rose); }
.deadline-card b { display: block; font: 600 1.3rem var(--head); color: var(--ink); }
.tool-step { border-radius: var(--radius-lg); }
.tool-step > h2, fieldset.tool-step > legend { font: 500 1.5rem var(--head); }
.field legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.opt-box { border-radius: 8px; background: var(--surface); }
.opt-box b { font-weight: 600; }
.opt input:checked + .opt-box { border-color: var(--brand); background: #EEF3EC; box-shadow: inset 0 0 0 1px var(--brand); }
.opt-sw { height: 6px; border: 0; margin-bottom: 8px; }
.ev-counts { display: grid; gap: 10px; }
.ev-count, .nights { padding: 10px 14px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.stepper button { background: var(--surface); }
.check { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.tool-out .eyebrow { color: var(--out-accent); }
.sum-total { font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.2rem); }
.sum-lines dt small { display: block; font-size: .8rem; opacity: .8; }
.tool-msg.is-ok { color: #BFE3C4; }
.tool-out .btn.is-pending { opacity: .75; }

/* gallery */
.gallery-wrap { max-width: 1000px; }
.g-filters { justify-content: center; }
.g-filters button { border-radius: 999px; font-weight: 500; }
.g-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.g-item figure { border-radius: 120px 120px 8px 8px; padding: 8px; border-color: var(--line); }
.g-item svg { border-radius: 112px 112px 4px 4px; aspect-ratio: 4 / 3.6; }
.g-item figcaption { text-align: center; }
.g-item figcaption b { font: 500 1.3rem var(--head); }
.gal-note { margin-top: 28px; }

/* contact */
.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.people li { display: grid; gap: 4px; align-content: start; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.people h2 { font-size: 1.5rem; }
.p-rel { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow); font-weight: 600; }
.p-for { color: var(--muted); margin: 4px 0 6px; }
.p-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.p-links a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--brand); text-underline-offset: 4px; }
.quick { max-width: 620px; margin-inline: auto; }
.quick h2 { font-size: 1.8rem; margin-bottom: 0; }

/* FAQ */
.faq-group h2 { font-size: 1.9rem; }
details summary { font-weight: 500; }
.faq-index a { min-height: 40px; display: flex; align-items: center; }

/* CTA band + footer */
.cta-band { padding-block: clamp(52px, 7vw, 88px); text-align: center; background: var(--blush); border-top: 1px solid var(--blush-strong); }
.cta-band .wrap { display: grid; justify-items: center; gap: 10px; }
.cta-script { font-size: clamp(2.2rem, 6vw, 3rem); color: var(--rose); line-height: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.cta-band p:not(.script) { color: var(--muted); max-width: 54ch; }
.days-left { font-weight: 600; color: var(--ink); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.footer { background: var(--ink); color: #DCE3DA; --footer-line: rgba(255,255,255,.14); text-align: center; }
.f-names .sprig { margin: 0 auto 6px; }
.f-names .script { font-size: clamp(2.4rem, 6vw, 3.2rem); color: #F2D3CE; line-height: 1.2; }
.f-date { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #C7D2C5; }
.footer .f-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; margin: 26px 0 10px; }
.f-links a { padding: 0 10px; min-height: 40px; }
.f-help { font-size: .92rem; color: #C7D2C5; }
.f-help a { display: inline; min-height: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal { justify-content: center; gap: 8px 24px; margin-top: 32px; }
.footer .credit a { color: #fff; }
@media (max-width: 480px) {
  .inv-cd, .next-ev .countdown { flex-wrap: nowrap; gap: 6px; width: 100%; }
  .inv-cd div, .next-ev .countdown div { flex: 1 1 0; min-width: 0; padding: 8px 2px; }
  .inv-cd b, .next-ev .countdown b { font-size: 1.4rem; }
  .countdown span { font-size: .6rem; letter-spacing: .06em; }
  .invite { padding-inline: 18px; }
}
.logo b { white-space: nowrap; }
@media (max-width: 420px) { .logo small { display: none; } .logo { gap: 8px; } }
@media (max-width: 480px) { .invite .hero-actions .btn { padding-inline: 18px; } }
.yes-steps { display: grid; gap: 22px; }
@media (min-width: 641px) { .ev-art { display: grid; align-items: center; background: #F6F1E7; } .ev-art svg { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }
