:root {
  --ink: #211831;
  --ink-soft: #4d4057;
  --cream: #fffaf1;
  --paper: #f6efe2;
  --gold: #e9b95d;
  --gold-light: #ffe3a2;
  --wine: #821e42;
  --plum: #301944;
  --line: rgba(50, 30, 52, .14);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; padding: .8rem 1rem; background: #fff; border-radius: 5px; }
.site-header { display: flex; align-items: center; justify-content: space-between; width: min(1210px, calc(100% - 3rem)); margin: 0 auto; padding: 1.25rem 0; }
.wordmark { color: var(--ink); text-decoration: none; font: 700 2rem/1 var(--serif); letter-spacing: -.08em; }
.wordmark span, .footer-monogram span { color: var(--wine); font-style: italic; margin: 0 .1em; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a, .back-link { color: var(--ink); font-size: .8rem; text-decoration: none; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; }
.site-header nav a:hover, .back-link:hover, .text-link:hover { color: var(--wine); }
.hero { min-height: 690px; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 3rem; padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1130px) / 2)); background: radial-gradient(circle at 85% 14%, #754a81 0, transparent 25%), radial-gradient(circle at 12% 95%, #a64c52 0, transparent 33%), linear-gradient(130deg, #161029, #321741 48%, #741d3d); color: #fff8e9; }
.hero-copy { position: relative; z-index: 2; max-width: 690px; }
.eyebrow { margin: 0 0 .55rem; color: var(--wine); font-size: .71rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
.eyebrow.light { color: var(--gold-light); }
.hero h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .1em .25em; font: 700 clamp(4.5rem, 10vw, 8.7rem)/.76 var(--serif); letter-spacing: -.075em; }
.hero h1 i { color: var(--gold); font-size: .56em; font-weight: 500; }
.hero-intro { max-width: 450px; margin: 2rem 0 1.3rem; font: 600 clamp(1.15rem, 1.8vw, 1.42rem)/1.35 var(--serif); letter-spacing: .01em; }
.date-lockup { display: flex; align-items: center; gap: .7rem; color: #f4d89c; font-size: .83rem; letter-spacing: .05em; text-transform: uppercase; }
.date-lockup strong { color: #fff9e9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .85rem 1.1rem; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { margin-top: 2rem; background: var(--gold); color: #291530; }
.button-gold:hover { background: #ffcf71; }
.button-dark { margin-top: 1rem; background: var(--plum); color: #fffaf1; }
.button-outline { border-color: var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--cream); }
.countdown-card { position: relative; z-index: 2; width: 100%; padding: 2.1rem 1.8rem 1.6rem; border: 1px solid rgba(255, 239, 193, .45); background: rgba(20, 10, 34, .38); box-shadow: 20px 25px 70px rgba(0, 0, 0, .22); backdrop-filter: blur(7px); }
.countdown-card h2 { margin: 0; color: #fff9eb; font: 700 clamp(2rem, 3vw, 2.55rem)/.94 var(--serif); letter-spacing: -.04em; }
.countdown-card .eyebrow { color: var(--gold-light); }
.muhurtam-time { margin: .9rem 0 1.4rem; color: #f3ddaa; font-size: .8rem; font-weight: 600; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); padding-top: 1rem; }
.countdown > div { display: grid; gap: .15rem; text-align: center; border-right: 1px solid rgba(255,255,255,.18); }
.countdown > div:last-child { border-right: 0; }
.countdown strong { color: #fff9e9; font: 600 clamp(1.25rem, 2vw, 1.7rem)/1 var(--serif); }
.countdown span { color: #efd7a0; font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; }
.countdown-complete { grid-column: 1 / -1; margin: 0; color: #fff9eb; font: 600 1.3rem/1.2 var(--serif); text-align: center; }
.hero-orb { position: absolute; z-index: -1; border: 1px solid rgba(255, 221, 148, .3); border-radius: 50%; }
.orb-one { width: 550px; height: 550px; top: -295px; right: 8%; box-shadow: 0 0 0 45px rgba(232, 185, 93, .04), 0 0 0 95px rgba(232, 185, 93, .035); animation: drift 11s ease-in-out infinite; }
.orb-two { width: 260px; height: 260px; bottom: -175px; left: 33%; animation: drift 9s ease-in-out -3s infinite reverse; }
.hero-pattern { position: absolute; z-index: -1; bottom: -80px; right: -10px; width: min(48vw, 620px); height: 350px; opacity: .72; background: repeating-radial-gradient(ellipse at bottom, transparent 0 18px, rgba(255, 214, 126, .31) 19px 20px, transparent 21px 40px); transform: rotate(15deg); }
.hero-couple { position: absolute; z-index: 0; right: clamp(365px, 35vw, 485px); bottom: -2.4rem; width: min(31vw, 380px); pointer-events: none; filter: drop-shadow(0 20px 22px rgba(8, 3, 16, .34)); opacity: .64; animation: couple-float 7s ease-in-out infinite; }
.hero-couple img { display: block; width: 100%; height: auto; }
@keyframes couple-float { 50% { transform: translateY(-12px) rotate(-1.2deg); } }
@keyframes drift { 50% { transform: translate3d(18px, 22px, 0) rotate(7deg); } }
.intro-band { display: grid; grid-template-columns: 150px minmax(0, 750px); gap: 2rem; align-items: start; padding: 3.8rem max(1.5rem, calc((100vw - 1030px) / 2)); background: #f0dfbd; color: #3a2136; }
.intro-band .eyebrow { margin-top: .4rem; }
.intro-band > p:last-child { margin: 0; font: 600 clamp(1.4rem, 2.4vw, 2rem)/1.22 var(--serif); letter-spacing: -.02em; }
.section { width: min(1130px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.section h2, .not-found h1 { margin: 0; font: 700 clamp(2.7rem, 5vw, 4.4rem)/.83 var(--serif); letter-spacing: -.06em; }
.section-note { max-width: 360px; margin: 0; color: var(--ink-soft); font-size: .91rem; }
.journey { padding-bottom: 2.5rem; }
.journey-list { padding-top: 2.1rem; }
.day-schedule { display: grid; grid-template-columns: 130px 1fr; gap: 2rem; padding: 1rem 0 2.5rem; }
.day-marker { display: grid; align-content: start; gap: .15rem; color: var(--wine); }
.day-marker strong { font: 700 2.1rem/.8 var(--serif); letter-spacing: -.05em; }
.day-marker span { font-size: .69rem; font-weight: 700; letter-spacing: .12em; }
.events-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.event-card { min-height: 153px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 1.05rem 1.1rem .9rem; border: 1px solid var(--event-border, rgba(44,27,43,.12)); background: var(--event-bg, #fff); color: var(--event-ink, var(--ink)); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.event-card::after { content: ""; position: absolute; width: 105px; height: 105px; right: -43px; bottom: -49px; border: 1px solid currentColor; border-radius: 50%; opacity: .15; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(47, 24, 44, .11); }
.event-time { display: flex; align-items: center; justify-content: space-between; color: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.event-time span { font: 1.25rem/1 var(--serif); }
.event-card-body { position: relative; z-index: 1; }
.event-type { margin: 0 0 .1rem; font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.event-card h3 { margin: 0; font: 700 1.7rem/.9 var(--serif); letter-spacing: -.04em; }
.event-card-body > p:last-child { margin: .45rem 0 0; font-size: .75rem; opacity: .82; }
.event-arrow { position: absolute; z-index: 2; right: 1rem; bottom: .8rem; font-size: 1rem; }
.theme-journey { --event-bg: #dbe8f5; --event-ink: #173c61; --event-border: #a8c5e3; }
.theme-welcome { --event-bg: #e7dced; --event-ink: #40224d; --event-border: #c6add2; }
.theme-dining { --event-bg: #f0e2c7; --event-ink: #563b1b; --event-border: #d6b884; }
.theme-haldi { --event-bg: #f8d54b; --event-ink: #563900; --event-border: #e1ad16; }
.theme-mehendi { --event-bg: #c5d7a2; --event-ink: #253e1e; --event-border: #96b572; }
.theme-sangeet { --event-bg: #d7c5eb; --event-ink: #371e5a; --event-border: #aa8fd0; }
.theme-pooja { --event-bg: #f0ccc1; --event-ink: #632231; --event-border: #d89689; }
.theme-baraat { --event-bg: #efab6b; --event-ink: #592004; --event-border: #d77832; }
.theme-reception { --event-bg: #e9bdd3; --event-ink: #541c41; --event-border: #cc86aa; }
.theme-muhurtam { --event-bg: #8b2045; --event-ink: #fff6e6; --event-border: #6d102f; }
.location-section { border-top: 1px solid var(--line); }
.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2.2rem; background: var(--line); border: 1px solid var(--line); }
.location-card { min-height: 295px; padding: 1.4rem; background: #fffaf1; }
.location-card:nth-child(2) { background: #dfeaf0; }
.location-card:nth-child(3) { background: #f1dec2; }
.location-card:nth-child(4) { background: #e5dbea; }
.icon-badge { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(44,23,53,.1); font: 1.4rem/1 var(--serif); }
.card-kicker { margin: 1.8rem 0 .2rem; color: var(--wine); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.location-card h3 { margin: 0; font: 700 1.7rem/.95 var(--serif); letter-spacing: -.04em; }
.location-card > p:not(.card-kicker) { margin: .8rem 0 1rem; font-size: .81rem; }
.text-link { display: inline-flex; gap: .45rem; color: var(--wine); font-size: .73rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.status-pill { display: inline-block; padding: .4rem .55rem; background: rgba(72,39,63,.1); color: #553544; font-size: .63rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.status-pill.large { margin-top: .4rem; font-size: .69rem; }
.guest-note { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 1.3rem; margin-top: 1rem; padding: 3rem; background: var(--plum); color: #fff9ec; }
.guest-note .eyebrow { color: var(--gold-light); }
.guest-note h2 { color: #fff9ec; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.guest-note p:last-child { max-width: 690px; margin: 1rem 0 0; color: #e8d9ef; }
.note-symbol { color: var(--gold); font: 4.5rem/1 var(--serif); text-align: center; }
.contacts-section { padding-bottom: clamp(5rem, 10vw, 9rem); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.contact-card { display: grid; grid-template-columns: 46px 1fr auto; gap: .9rem; align-items: center; min-height: 120px; padding: 1rem; border: 1px solid var(--line); background: #fffdf8; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.contact-card:hover { transform: translateY(-2px); border-color: var(--wine); }
.contact-initial { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--plum); color: #fff9eb; font: 700 1.7rem/1 var(--serif); }
.contact-card:nth-child(2) .contact-initial { background: var(--wine); }
.contact-card:nth-child(3) .contact-initial { background: #a66e32; }
.contact-card span:nth-child(2) { display: grid; }
.contact-card small { color: var(--wine); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { font: 700 1.45rem/.95 var(--serif); letter-spacing: -.03em; }
.contact-card em { margin-top: .32rem; color: var(--ink-soft); font-size: .75rem; font-style: normal; }
.contact-card b { color: var(--wine); font-size: 1.1rem; }
footer { display: grid; place-items: center; gap: .4rem; padding: 3rem 1.5rem; background: #1c1028; color: #d8c7dc; text-align: center; }
.footer-monogram { margin: 0; color: #fff9e9; font: 700 2.2rem/1 var(--serif); letter-spacing: -.08em; }
footer p:not(.footer-monogram) { margin: 0; font-size: .75rem; }
.back-top { margin-top: .4rem; color: var(--gold-light); font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }

/* Event detail page */
.event-header { border-bottom: 1px solid var(--line); }
.event-hero { --event-bg: #f0dfbd; --event-ink: var(--ink); position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 315px); gap: 2.5rem; align-items: end; min-height: 455px; padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - 1130px) / 2)); background: var(--event-bg); color: var(--event-ink); }
.event-hero::before { content: ""; position: absolute; z-index: -1; width: min(65vw, 800px); height: min(65vw, 800px); top: -420px; right: -120px; border: 1px solid currentColor; border-radius: 50%; opacity: .15; box-shadow: 0 0 0 60px transparent, 0 0 0 61px currentColor, 0 0 0 120px transparent, 0 0 0 121px currentColor; }
.event-hero .eyebrow { color: currentColor; opacity: .75; }
.event-theme-label { margin: .2rem 0 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.event-hero h1 { max-width: 750px; margin: 0; font: 700 clamp(4rem, 9vw, 7.4rem)/.78 var(--serif); letter-spacing: -.075em; }
.event-summary { max-width: 570px; margin: 1.5rem 0 0; font: 600 clamp(1.1rem, 2vw, 1.45rem)/1.3 var(--serif); }
.event-stamp { position: relative; z-index: 1; display: grid; gap: .4rem; padding: 1.3rem; border: 1px solid currentColor; background: rgba(255,255,255,.16); }
.event-stamp strong { font: 700 2.4rem/.9 var(--serif); letter-spacing: -.045em; }
.event-stamp span { font-size: .78rem; font-weight: 600; }
.event-hero-art { position: absolute; z-index: -1; top: -20px; right: 14%; font: clamp(13rem, 28vw, 23rem)/1 var(--serif); opacity: .11; }
.event-details { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.detail-main h2 { max-width: 600px; }
.detail-list { margin: 2rem 0 1.7rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { padding: .9rem 0 .9rem 1.7rem; border-bottom: 1px solid var(--line); position: relative; font-size: .91rem; }
.detail-list li::before { content: "✦"; position: absolute; left: 0; color: var(--wine); }
.detail-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.help-panel { padding: 1.6rem; background: #efe2c8; color: #382234; }
.help-panel h3 { margin: 0; font: 700 2rem/.93 var(--serif); letter-spacing: -.04em; }
.help-panel p:not(.eyebrow) { margin: 1rem 0; font-size: .86rem; }
.help-panel a { color: var(--wine); font-size: .78rem; font-weight: 700; }
.not-found { min-height: 50vh; }
.not-found p:not(.eyebrow) { max-width: 480px; }

@media (max-width: 850px) {
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 3.2rem; padding-top: 5rem; padding-bottom: 4.5rem; }
  .hero-couple { right: 1.8rem; bottom: 1.5rem; width: 270px; opacity: .26; }
  .countdown-card { max-width: 470px; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .event-details { grid-template-columns: 1fr; }
  .help-panel { max-width: 450px; }
}
@media (max-width: 620px) {
  .site-header { width: min(100% - 2rem, 1210px); padding: 1rem 0; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .62rem; }
  .hero { padding: 4rem 1rem 3rem; }
  .hero-couple { right: -.4rem; bottom: 3.5rem; width: 230px; opacity: .21; }
  .hero h1 { font-size: clamp(4.2rem, 22vw, 6.2rem); }
  .intro-band { grid-template-columns: 1fr; gap: .4rem; padding: 2.5rem 1rem; }
  .section { width: min(100% - 2rem, 1130px); padding: 3.7rem 0; }
  .section-heading { display: grid; gap: 1rem; padding-bottom: 1.5rem; }
  .section-note { max-width: 100%; }
  .day-schedule { grid-template-columns: 1fr; gap: .9rem; padding-bottom: 2rem; }
  .day-marker { display: flex; align-items: baseline; gap: .5rem; }
  .events-grid, .location-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 140px; }
  .guest-note { grid-template-columns: 1fr; padding: 2rem 1.3rem; }
  .note-symbol { text-align: left; font-size: 3rem; }
  .event-hero { grid-template-columns: 1fr; gap: 2rem; min-height: 0; padding: 4rem 1rem 3rem; }
  .event-hero h1 { font-size: clamp(3.7rem, 16vw, 5.7rem); }
  .event-stamp { max-width: 360px; }
  .event-details { padding-top: 3.7rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
