@font-face {
  font-family: "Noto Telugu Local";
  src: url("assets/telugu_fonts/NotoSerifTelugu-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Telugu Local";
  src: url("assets/telugu_fonts/NotoSerifTelugu-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --green: #173e36;
  --red: #9c3e42;
  --gold: #ad8040;
  --cream: #f5f6ef;
  --white: #fffdf8;
  --ink: #263831;
  --muted: #596b60;
  --line: #d8ddd2;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Georgia, "Times New Roman", serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a, button { outline-offset: 4px; }
a { color: inherit; }
.callout-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(173,128,64,.68); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.callout-link:hover, .callout-link:focus-visible { color: var(--red); text-decoration-color: currentColor; }
.venue-section .callout-link:hover, .venue-section .callout-link:focus-visible { color: #f2cf8d; }
.hero { min-height: min(820px, 100svh); position: relative; display: grid; place-items: start center; padding: clamp(45px, 6vh, 84px) 20px 90px; background: #fffefa url("assets/balaji-padma.png?v=314aeae4e73e") center bottom/auto 60% no-repeat; text-align: center; isolation: isolate; }
.hero-content { max-width: 850px; }
.eyebrow { margin: 0 0 22px; color: var(--red); font: 700 11px/1.5 Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--green); font-size: clamp(55px, 7vw, 105px); font-weight: 400; line-height: .94; text-wrap: balance; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--red); font-size: .45em; font-weight: 400; line-height: 1.15; }
.hero-intro { margin: 28px 0 0; color: var(--green); font-size: clamp(18px, 1.8vw, 23px); }
.hero-place { margin: 7px 0 0; color: #526058; font: 600 13px/1.7 Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.hero-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; margin-top: 27px; padding: 12px 22px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: #fff; text-decoration: none; font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 7px 22px rgba(23,62,54,.18); }
.hero-link:hover, .hero-link:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.invitation-section { padding: 55px 16px 95px; }
.language-switch { width: max-content; max-width: 100%; display: flex; gap: 3px; margin: 0 auto 22px; padding: 3px; background: #fff; border: 1px solid #ced7cd; }
.language-switch button { min-width: 92px; min-height: 42px; padding: 10px 16px; border: 0; background: transparent; color: #52625a; font: 700 12px/1.3 Arial, sans-serif; cursor: pointer; }
.language-switch button[lang="te"] { font: 700 15px/1.3 "Noto Telugu Local", "Noto Serif Telugu", serif; }
.language-switch button[aria-pressed="true"] { background: var(--green); color: #fff; }
.language-switch button:hover:not([aria-pressed="true"]) { background: #e8eee7; }
.invite-card { width: min(100%, 790px); position: relative; margin: auto; padding: 48px clamp(24px, 7vw, 84px) 52px; overflow: hidden; border: 1px solid #cba45b; background: var(--white); box-shadow: 0 20px 65px rgba(25,51,42,.11); text-align: center; }
.card-ornament { display: flex; align-items: center; justify-content: center; gap: .8em; color: var(--gold); font-size: 15px; letter-spacing: 0; line-height: 1; }
.card-ornament span { color: var(--red); }
.card-ornament.bottom { margin-top: 29px; }
.sacred-emblem { display: block; width: min(100%, 280px); height: auto; object-fit: contain; margin: 8px auto 18px; }
.card-blessing { margin: 0 0 24px; color: var(--red); font-size: 16px; line-height: 1.55; }
.card-family { margin: 0 0 12px; color: var(--green); font-size: clamp(28px, 3vw, 36px); font-weight: 400; line-height: 1.2; }
.card-intro, .card-relation, .card-message { max-width: 580px; margin: 0 auto; color: #43554b; font-size: 19px; line-height: 1.65; }
.couple-names { margin: 27px auto 23px; }
.couple-names p { margin: 0; color: var(--green); font-size: clamp(36px, 5vw, 59px); line-height: 1.13; }
.couple-names > span { display: block; margin: 6px 0; color: var(--red); font-size: 20px; font-style: italic; }
.card-relation { font-size: 18px; }
.card-relation-sub { margin: 5px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.card-divider { display: flex; align-items: center; gap: 18px; width: min(100%, 360px); margin: 30px auto 22px; color: var(--gold); }
.card-divider::before, .card-divider::after { content: ""; height: 1px; flex: 1; background: #d6bc85; }
.card-divider img { display: block; width: 58px; height: 58px; object-fit: contain; }
.card-facts { max-width: 460px; display: grid; gap: 20px; margin: 0 auto 28px; }
.card-facts>div+div { padding-top: 20px; border-top: 1px solid var(--line); }
.fact-label { display: block; margin-bottom: 10px; color: var(--red); font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.card-facts strong { display: block; color: var(--green); font-size: 20px; font-weight: 400; line-height: 1.55; }
.card-message { margin-bottom: 25px; font-style: italic; }
.card-hosts-label { margin: 0 0 7px; color: var(--red); font-size: 16px; font-style: italic; }
.card-hosts { margin: 0; color: var(--green); font-size: 20px; line-height: 1.5; }
.card-family-extra { margin: 8px 0 0; color: var(--green); font-size: 18px; line-height: 1.5; }
.card-compliments { margin: 25px 0 0; color: var(--muted); font-size: 15px; }
.telugu-card { font-family: "Noto Telugu Local", "Noto Serif Telugu", serif; }
.telugu-card .card-family { font-family: inherit; font-size: clamp(29px, 3.2vw, 38px); font-weight: 700; }
.telugu-subtitle { margin: 0 0 12px; color: var(--green); font-size: 20px; line-height: 1.6; }
.telugu-card .card-blessing { font-size: 20px; line-height: 1.8; }
.telugu-line { margin: 3px 0; color: #43554b; font-size: 19px; line-height: 1.8; }
.telugu-ritual { margin: 0 auto 22px; }
.telugu-kinship { margin: 0; color: var(--red); font-size: 20px; line-height: 1.7; }
.telugu-card .couple-names { margin: 14px auto 19px; }
.telugu-card .couple-names p { font-family: inherit; font-size: clamp(34px, 4.4vw, 49px); line-height: 1.55; }
.telugu-card .couple-names > span { font-family: inherit; font-size: 20px; font-style: normal; }
.telugu-card .couple-names .honorific { display: block; color: var(--red); font-size: clamp(19px, 2.2vw, 25px); line-height: 1.6; }
.telugu-card .couple-names .person-name { display: block; }
.telugu-relation { margin-bottom: 20px; }
.telugu-request { margin: 0 auto; }
.telugu-facts { max-width: 490px; margin: 0 auto 27px; }
.telugu-facts>div+div { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.telugu-facts h3, .telugu-hosts h3 { margin: 0 0 10px; color: var(--red); font-size: 20px; font-weight: 700; line-height: 1.6; }
.telugu-facts p { margin: 0; color: var(--green); font-size: 20px; line-height: 1.7; }
.telugu-facts .latin { font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.telugu-hosts .telugu-line { color: var(--green); }
.telugu-hosts .telugu-line+ .telugu-line { margin-top: 4px; }
.telugu-card .card-compliments { font-size: 18px; line-height: 1.7; }
.live-section { padding: 72px 20px 78px; background: var(--white); text-align: center; }
.live-heading { margin-bottom: 22px; }
.live-placeholder { width: min(100%, 880px); aspect-ratio: 16 / 9; position: relative; display: grid; place-items: end center; margin: 0 auto; overflow: hidden; border: 1px solid #c8a25b; background: #f7f2e7; box-shadow: 0 18px 55px rgba(25,51,42,.13); }
.live-placeholder img { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-overlay { position: absolute; inset: auto 0 0; padding: clamp(22px, 4vw, 40px); background: linear-gradient(transparent, rgba(10,31,27,.9) 30%); color: #fff; }
.live-title { margin: 0; font-size: clamp(28px, 5vw, 54px); font-weight: 400; line-height: 1.05; text-shadow: 0 2px 18px rgba(0,0,0,.48); }
.live-title span { color: #e0bb78; font-style: italic; }
.live-subtitle { margin: 7px 0 20px; color: #f1d69f; font: 700 clamp(10px, 1.4vw, 13px)/1.4 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.live-countdown { width: min(100%, 430px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 auto; opacity: .82; }
.live-countdown div { min-width: 0; padding: 5px 8px; border-left: 1px solid rgba(255,255,255,.32); }
.live-countdown div:first-child { border-left: 0; }
.live-countdown strong { display: block; color: #fff; font: 400 clamp(17px, 2.4vw, 25px)/1 Georgia, "Times New Roman", serif; font-variant-numeric: tabular-nums; }
.live-countdown span { display: block; margin-top: 5px; color: rgba(255,255,255,.78); font: 700 8px/1.2 Arial, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.countdown-date { margin: 11px 0 0; color: rgba(255,255,255,.72); font: 500 10px/1.5 Arial, sans-serif; letter-spacing: .05em; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.venue-section { padding: 75px 20px 85px; background: var(--green); color: #fff; text-align: center; }
.content-width { max-width: 880px; margin: auto; }
.venue-section .eyebrow { color: #e0bb78; }
.venue-section h2 { margin: 0 0 12px; color: #fff; font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.12; }
.venue-section p:not(.eyebrow) { margin: 0 0 27px; color: #dce9df; font-size: 17px; line-height: 1.5; }
.map-frame { width: 100%; min-height: 320px; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #bbd0bc; background: #dfe8df; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.venue-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.venue-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 10px 18px; border: 1px solid #d2e0d5; color: #fff; text-decoration: none; font: 700 12px/1.3 Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.venue-actions a:hover { background: #fff; color: var(--green); }
.site-footer { padding: 25px 20px; background: #102e29; color: #d7e2d9; text-align: center; font: 12px/1.5 Arial, sans-serif; letter-spacing: .06em; }
@media (min-width: 901px) {
  .hero { background-size: auto 70%; background-position: center calc(100% + 15px); }
  .hero-content { max-width: 1200px; }
  .hero h1 { font-size: clamp(58px, 5.3vw, 82px); white-space: nowrap; }
  .hero h1 span, .hero h1 em { display: inline; }
  .hero h1 em { margin: 0 .22em; }
}
@media (max-width: 700px) {
  .hero { min-height: min(820px, 100svh); padding: 42px 18px 60px; background-position: center bottom; background-size: auto 55%; }
  .hero h1 { font-size: clamp(44px, 12vw, 73px); }
  .hero-intro { margin-top: 19px; }
  .hero-place { font-size: 11px; letter-spacing: 0; }
  .invitation-section { padding: 40px 15px 70px; }
  .invite-card { padding: 39px 24px 43px; }
  .sacred-emblem { width: min(88%, 250px); }
  .card-divider img { width: 50px; height: 50px; }
  .card-intro, .card-relation, .card-message { font-size: 18px; }
  .card-facts strong { font-size: 19px; }
  .telugu-card .couple-names p { font-size: clamp(29px, 8vw, 42px); }
  .telugu-line { font-size: 18px; }
  .live-section { padding-inline: 12px; }
  .live-overlay { padding: 16px 10px 12px; }
  .live-title { font-size: clamp(25px, 8vw, 38px); }
  .live-subtitle { margin: 5px 0 12px; font-size: 9px; }
  .live-countdown div { padding: 4px 3px; }
  .live-countdown strong { font-size: clamp(15px, 5vw, 21px); }
  .live-countdown span { margin-top: 4px; font-size: 7px; letter-spacing: .05em; }
  .countdown-date { margin-top: 7px; font-size: 8px; }

  .map-frame { min-height: 310px; aspect-ratio: 4 / 3; }
  .venue-section { padding: 60px 16px 68px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 43px; }
  .invite-card { padding-inline: 19px; }
  .telugu-card .couple-names p { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Shared emblem, guest links, and a quiet signature. */
.brand-link { display: inline-flex; justify-content: center; margin: 0 auto 15px; }
.site-logo { display: block; width: 44px; height: 60px; object-fit: contain; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin: 22px 0 0; }
.hero-actions .hero-link { margin: 0; color: var(--muted); font: italic 16px/1.5 Georgia, serif; letter-spacing: 0; text-transform: none; text-underline-offset: 5px; }
.rsvp-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 1px solid #b39762; border-radius: 2px; color: var(--green); background: #fffdf8; text-decoration: none; font-size: 16px; }
.rsvp-link:hover, .rsvp-link:focus-visible { background: var(--green); border-color: var(--green); color: #fffdf8; }
.card-rsvp { margin: 24px 0 0; color: var(--green); font-size: 16px; line-height: 1.7; }
.card-rsvp a { text-underline-offset: 5px; text-decoration-color: var(--gold); }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 22px; justify-content: center; margin: 15px 0; }
.site-footer nav a { min-height: 32px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.site-credit { display: block; margin-top: 16px; font: 10px/1.6 Georgia, serif; letter-spacing: 0; color: inherit; opacity: .78; }
@media (max-width: 700px) {
  .hero { padding-top: 24px; }
  .brand-link { margin-bottom: 11px; }
  .site-logo { width: 36px; height: 49px; }
  .hero-actions { gap: 10px 18px; margin-top: 17px; }
  .hero-actions .hero-link { font-size: 14px; }
  .rsvp-link { padding: 8px 15px; font-size: 14px; }
}

.hero-actions .hero-link { min-height: 44px; padding: 9px 2px; background: transparent; border: 0; border-bottom: 1px solid #b39762; border-radius: 0; box-shadow: none; text-decoration: none; }
.hero-actions .hero-link:hover, .hero-actions .hero-link:focus-visible { background: transparent; color: var(--green); box-shadow: none; border-bottom-color: var(--green); }
