/* Palette sampled from the couple's portrait: navy sherwani, champagne, sage foliage, and antique gold. */
:root {
  --plum: #182736;
  --plum-deep: #0d1a25;
  --ivory: #fbf5ea;
  --ivory-deep: #eee4d2;
  --gold: #d7b580;
  --gold-deep: #94734b;
  --wine: #49645f;
  --ink: #27333a;
  --muted: #68716c;
  --serif: "Iowan Old Style", "Palatino Linotype", "Baskerville", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--plum); color: var(--ivory); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 4.1vw, 3.5rem); letter-spacing: -.035em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding-block: 100px; }
.eyebrow, .small-label { font-size: .65rem; line-height: 1.8; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; }
.eyebrow { color: var(--gold); }
.skip-link { position: absolute; top: -100px; left: 10px; z-index: 10; padding: 12px; background: var(--ivory); color: var(--ink); }
.skip-link:focus { top: 10px; }
.invocation { padding: 9px 20px; background: var(--plum-deep); color: var(--gold); text-align: center; font-size: .85rem; letter-spacing: .06em; border-bottom: 1px solid #d8b57126; }
.site-header { position: sticky; top: 0; z-index: 5; background: #281827f5; border-bottom: 1px solid #d8b57135; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.monogram { color: var(--gold); font: 1.85rem/1 var(--serif); text-decoration: none; letter-spacing: -.04em; }
.monogram span { padding-inline: 5px; font-size: .65em; font-style: italic; }
.nav-links { display: flex; gap: 32px; }
.nav a:not(.monogram), .nav-date { font-size: .67rem; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; }
.nav-links a { padding-block: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-date { color: var(--gold); }

.hero { position: relative; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 70px; padding-block: 54px 112px; overflow: hidden; isolation: isolate; }
.hero-copy, .hero-portrait, .scroll-cue { z-index: 1; }
.hero-copy { padding: 95px 0 25px; }
.jhalar { position: absolute; z-index: 2; top: 0; left: -7%; width: 114%; height: 118px; opacity: .68; pointer-events: none; user-select: none; }
.mountain-range { position: absolute; display: block; pointer-events: none; user-select: none; }
.mountain-range-hero { z-index: -1; right: -12%; bottom: 0; left: -12%; width: 124%; height: 220px; opacity: .45; }
.tiny-star { font-size: 1.25rem; margin-right: 8px; vertical-align: middle; }
.hero h1 { margin-top: 20px; font-size: clamp(4rem, 7.5vw, 7.2rem); line-height: .95; letter-spacing: -.065em; }
.ampersand { display: block; margin: 7px 0 3px 38px; color: var(--gold); font-size: .55em; font-style: italic; letter-spacing: 0; }
.family-line { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; color: #e8d8c5; font-size: .78rem; }
.family-line > span { color: var(--gold); font-size: .5rem; margin-block: 4px; }
.hero-intro { max-width: 390px; margin-top: 20px; font-size: .91rem; color: #dbc5b5; }
.wedding-date { display: flex; flex-direction: column; margin-block: 26px; padding-left: 18px; border-left: 1px solid var(--gold); }
.wedding-date > span { color: #dbc5b5; font-size: .63rem; letter-spacing: .16em; text-transform: uppercase; }
.wedding-date time { font-family: var(--serif); color: #f4dbab; font-size: 1.55rem; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; padding: 13px 21px; border: 1px solid transparent; font-size: .63rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .2s, transform .2s; }
.button span { font-size: 1rem; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--plum-deep); }
.button-gold:hover { background: #ecd09a; }
.button-wine { background: var(--wine); color: var(--ivory); }
.button-wine:hover { background: #642132; }
.hero-portrait { position: relative; padding: 12px; border: 1px solid #d8b57185; border-radius: 250px 250px 3px 3px; max-width: 490px; width: 100%; justify-self: center; }
.hero-portrait::before { content: "✧"; position: absolute; top: 13%; right: -21px; color: var(--gold); font: 2.8rem var(--serif); background: var(--plum); line-height: 1; }
.portrait-frame { overflow: hidden; border-radius: 240px 240px 1px 1px; background: #342a2a; }
/* Preserve the full 2:3 portrait on all screens. No background-cover face cropping. */
.portrait-frame img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.hero-portrait figcaption { display: flex; justify-content: center; align-items: center; gap: 18px; color: var(--gold); padding: 14px 0 2px; font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; }
.hero-portrait figcaption span { font-size: .55rem; }
.scroll-cue { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--gold); font-size: .56rem; text-transform: uppercase; letter-spacing: .2em; text-decoration: none; }
.scroll-cue span { display: inline-block; margin-left: 10px; font-size: 1rem; }

.countdown { background: var(--plum-deep); border-block: 1px solid #d8b57133; padding-block: 37px; }
.countdown-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.countdown h2 { font-size: 1.7rem; margin-top: 6px; letter-spacing: -.025em; }
.countdown .eyebrow { font-size: .55rem; }
.countdown-status { margin-top: 9px; color: #c6af9a; font-size: .68rem; }
.timer { display: flex; align-items: flex-start; gap: clamp(8px, 2vw, 24px); }
.timer-unit { display: flex; flex-direction: column; align-items: center; min-width: 55px; }
.timer-number { font: 3.05rem/1.15 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.timer-label { font-size: .52rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 7px; color: #ddcbb8; }
.timer-colon { color: #b7956059; font: 2rem/1.5 var(--serif); }
.mountain-divider { height: 72px; overflow: hidden; background: var(--ivory-deep); line-height: 0; }
.mountain-divider img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: .18; filter: sepia(.45); }

.invitation { color: var(--ink); background: var(--ivory); text-align: center; position: relative; overflow: hidden; }
.invitation::before, .invitation::after { position: absolute; content: ""; width: 230px; height: 230px; border: 1px solid #b38b4726; border-radius: 50%; box-shadow: 0 0 0 20px #b38b4706, 0 0 0 40px #b38b4706; }
.invitation::before { top: 60px; left: -170px; }
.invitation::after { right: -170px; bottom: 60px; }
.invitation-inner { position: relative; max-width: 780px; }
.floral { margin: 0 auto 24px; width: 100px; }
.invitation .eyebrow, .celebrations .eyebrow { color: var(--gold-deep); }
.invitation h2 { margin-top: 14px; }
.invitation-note { max-width: 620px; margin: 24px auto 0; color: var(--muted); font-size: .94rem; }
.family-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; padding-block: 32px; margin-top: 20px; border-block: 1px solid #99743b35; }
.small-label { color: var(--gold-deep); font-size: .59rem; }
.family-grid h3 { font-size: 2rem; margin: 5px 0 8px; }
.family-grid p { font-size: .76rem; color: var(--muted); }
.family-amp { font: italic 2.5rem var(--serif); color: var(--gold-deep); }
.hindi-note { margin-top: 28px; color: var(--gold-deep); font-size: .9rem; }

.celebrations { background: linear-gradient(180deg, #eee4d2 0%, #f8f2e7 100%); color: var(--ink); }
.section-heading { text-align: center; margin-bottom: 45px; }
.section-heading h2 { margin-block: 10px 14px; }
.section-heading > p:last-child { color: var(--muted); font-size: .9rem; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1180px; margin: auto; }
.event-card { position: relative; padding: 38px; border: 1px solid #99743b50; background: var(--ivory); }
.event-card::after { position: absolute; content: ""; inset: 7px; border: 1px solid #99743b20; pointer-events: none; }
.wedding-card { background: #fffaef; }
.event-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.event-index { color: #b38b4780; font: 1.5rem var(--serif); }
.event-icon { width: 52px; height: 52px; stroke: var(--gold-deep); stroke-width: 1.3; }
.event-card h3 { font-size: clamp(2.1rem, 3vw, 2.6rem); margin: 7px 0 16px; }
.event-description { color: var(--muted); font-size: .88rem; min-height: 76px; }
.event-details { margin-top: 26px; border-top: 1px solid #99743b35; padding-top: 23px; }
.event-date { color: var(--wine); font-size: .72rem; font-weight: 600; margin-bottom: 13px; }
.event-details h4 { font-size: 1.4rem; line-height: 1.35; }
.event-details p:last-child { color: var(--muted); font-size: .74rem; margin-top: 10px; }
.event-card .button { margin-top: 27px; }


.closing { position: relative; overflow: hidden; text-align: center; border-top: 1px solid #d8b57140; }
.closing > .wrap { position: relative; z-index: 1; }
.mountain-range-closing { z-index: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 170px; opacity: .21; }
.closing::before, .closing::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid #d8b57125; border-radius: 50%; box-shadow: 0 0 0 30px #d8b57105, 0 0 0 60px #d8b57105; }
.closing::before { top: -220px; left: -130px; }
.closing::after { bottom: -220px; right: -130px; }
.closing h2 { margin-block: 14px 22px; }
.closing p:not(.eyebrow) { color: #d7c3b0; max-width: 440px; margin-inline: auto; font-size: .88rem; }
.signature { display: block; margin-top: 28px; color: var(--gold); font: italic 1.5rem var(--serif); }
footer { background: var(--plum-deep); padding: 34px 24px; text-align: center; border-top: 1px solid #d8b57126; }
footer p { color: #bba48e; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 12px; }
footer a { display: inline-block; padding: 12px; margin-top: 8px; color: var(--gold); font-size: .62rem; text-decoration: none; }

@media (max-width: 1000px) {
  .hero { gap: 35px; }
  .hero .eyebrow { font-size: .57rem; letter-spacing: .12em; }
  .countdown-inner { flex-direction: column; text-align: center; gap: 25px; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .wrap { width: calc(100% - 40px); }
  .section-pad { padding-block: 65px; }
  .nav { min-height: 66px; gap: 10px; }
  .monogram { font-size: 1.55rem; }
  .nav-links { gap: 17px; }
  .nav a:not(.monogram) { font-size: .57rem; letter-spacing: .07em; }
  .nav-date { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; padding-bottom: 68px; }
  .jhalar { left: -18%; width: 136%; height: 78px; opacity: .55; }
  .mountain-range-hero { height: 145px; opacity: .34; }
  .hero-copy { text-align: center; padding: 92px 0 0; }
  .hero .eyebrow { font-size: .56rem; letter-spacing: .13em; }
  .hero h1 { font-size: clamp(3.8rem, 14vw, 6rem); }
  .ampersand { display: block; margin: 5px 0; font-size: .45em; }
  .family-line { margin-top: 20px; }
  .family-line > span { margin-block: 3px; }
  .hero-intro { max-width: 310px; margin: 18px auto 0; font-size: .82rem; }
  .wedding-date { padding: 0; border: 0; margin-block: 19px; }
  .wedding-date time { font-size: 1.5rem; }
  .hero-portrait { width: calc(100% - 20px); max-width: 390px; padding: 9px; }
  .hero-portrait figcaption { font-size: .52rem; }
  .countdown { padding-block: 32px; }
  .mountain-divider { height: 45px; }
  .countdown h2 { font-size: 1.6rem; }
  .timer { gap: 10px; justify-content: center; width: 100%; }
  .timer-number { font-size: 2.65rem; }
  .timer-unit { min-width: 48px; }
  .timer-colon { font-size: 1.8rem; }
  .timer-label { font-size: .47rem; letter-spacing: .13em; }
  .invitation-note { font-size: .85rem; }
  .family-grid { gap: 12px; }
  .family-grid h3 { font-size: 1.7rem; }
  .family-grid p { font-size: .66rem; }
  .family-amp { font-size: 1.8rem; }
  .hindi-note { font-size: .8rem; }
  .event-grid { grid-template-columns: 1fr; gap: 20px; max-width: 500px; }
  .event-card { padding: 30px; }
  .event-description { min-height: auto; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { gap: 12px; }
  .hero h1 { font-size: 3.4rem; }
  .ampersand { display: block; margin: 5px 0; }
  .timer { gap: 6px; }
  .timer-unit { min-width: 42px; }
  .timer-number { font-size: 2.3rem; }
  .event-card { padding: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
