@import url("../shared/infikre-base.css");

:root {
  --paper: #f5ead9;
  --surface: #fff9ef;
  --ink: #4e1c29;
  --muted: #805f57;
  --line: rgba(78, 28, 41, .2);
  --accent: #d3a65e;
  --opening-bg: #4e1c29;
  --opening-ink: #f5ead9;
  --font-display: "Noto Serif Tamil", Latha, Georgia, serif;
}

body { background: var(--paper); color: var(--ink); }
.opening-screen { background: radial-gradient(circle at 50% 30%, #7d3543 0, var(--opening-bg) 55%); }
.kolam-ring { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 24px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 1.8rem; }
.kolam-ring::before, .kolam-ring::after { content: ""; position: absolute; inset: 11px; border: 1px dashed rgba(211,166,94,.8); border-radius: 50%; transform: rotate(45deg); }
.kolam-ring::after { inset: 21px; transform: rotate(-45deg); }
.opening-inner .eyebrow { color: var(--accent); }
.opening-names b { color: var(--accent); font-weight: 400; }
.traditional-hero { position: relative; min-height: 100svh; overflow: hidden; padding: 112px 0 74px; background: radial-gradient(circle at 78% 18%, rgba(211,166,94,.18), transparent 28%), var(--paper); }
.traditional-hero::after { content: ""; position: absolute; right: -120px; bottom: -180px; width: 430px; height: 430px; border: 1px solid rgba(78,28,41,.18); border-radius: 50%; box-shadow: 0 0 0 18px rgba(78,28,41,.035), 0 0 0 36px rgba(78,28,41,.03); }
.topbar { color: var(--ink); }
.topbar-link { max-width: 120px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-align: right; text-transform: uppercase; }
.traditional-hero-grid { position: relative; z-index: 1; display: grid; gap: 46px; align-items: center; min-height: calc(100svh - 92px); }
.hero-copy { max-width: 580px; }
.hero-copy .eyebrow { color: #9f6838; }
.hero-copy h1 { display: grid; margin: 18px 0 22px; font: 400 clamp(4.2rem, 18vw, 9.8rem)/.76 var(--font-display); letter-spacing: -.1em; }
.hero-copy h1 i { margin-left: .16em; color: var(--accent); font: 400 .48em/1 Georgia, serif; letter-spacing: 0; }
.hero-intro { max-width: 430px; margin: 0; color: var(--muted); font: 400 1.05rem/1.65 var(--font-display); }
.hero-date { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; color: #956047; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero-art { position: relative; width: min(100%, 420px); margin-inline: auto; }
.arch-frame { position: relative; overflow: hidden; aspect-ratio: .76; padding: 10px; border: 2px solid var(--accent); border-radius: 49% 49% 8px 8px; background: #6b2532; box-shadow: 0 0 0 7px var(--paper), 0 0 0 9px var(--accent), 18px 22px 0 rgba(78,28,41,.08); }
.arch-frame::after { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(245,234,217,.65); border-radius: 45% 45% 4px 4px; pointer-events: none; }
.arch-frame img { height: 100%; object-fit: cover; }
.hero-seal { position: absolute; right: -14px; bottom: 30px; display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid var(--accent); border-radius: 50%; background: var(--paper); color: var(--accent); font-size: 1.55rem; }
.thoranam { position: absolute; top: 78px; left: 50%; z-index: 2; display: flex; justify-content: center; gap: 8px; width: 100%; height: 54px; pointer-events: none; transform: translateX(-50%); }
.thoranam::before { position: absolute; top: 9px; left: 4%; width: 92%; height: 1px; background: rgba(78,28,41,.28); content: ""; }
.thoranam::after { position: absolute; top: 0; left: 50%; color: var(--accent); content: "✦"; font-size: .8rem; transform: translateX(-50%); }
.thoranam span { position: relative; z-index: 1; display: block; width: 21px; height: 38px; margin-top: 10px; border: 0; border-radius: 4px 4px 58% 58%; background: #718c4b; box-shadow: inset -3px 0 rgba(255,255,255,.16); clip-path: polygon(50% 0, 100% 16%, 86% 100%, 50% 84%, 14% 100%, 0 16%); transform: rotate(15deg); }
.thoranam span:nth-child(even) { margin-top: 15px; transform: rotate(-15deg); }
.date-section { background: var(--ink); color: var(--paper); }
.date-section .countdown-block { display: grid; gap: 34px; }
.date-section .section-heading p { color: #d2b6a3; }
.date-section .countdown-cell { border-color: rgba(245,234,217,.26); }
.date-section .countdown-label { color: #d2b6a3; }
.couple-section { background: #fbf4e8; }
.couple-grid { position: relative; display: grid; gap: 32px; }
.portrait-card { text-align: center; }
.portrait-frame { width: min(100%, 280px); margin: 0 auto 20px; overflow: hidden; aspect-ratio: .76; border: 1px solid var(--accent); padding: 8px; background: var(--paper); }
.portrait-frame img { height: 100%; object-fit: cover; }
.portrait-card--bride .portrait-frame { border-radius: 50% 50% 4px 4px; }
.portrait-card .eyebrow { margin-bottom: 6px; color: #9f6838; }
.portrait-card h3 { margin: 0; font: 400 2.6rem/.9 var(--font-display); letter-spacing: -.07em; }
.portrait-card p:last-child { max-width: 260px; margin: 14px auto 0; color: var(--muted); font: 400 .9rem/1.55 var(--font-display); }
.ampersand { position: absolute; top: 48%; left: 50%; z-index: 2; color: var(--accent); font: 400 3rem/1 Georgia, serif; transform: translate(-50%, -50%); }
.couple-note { max-width: 530px; margin: 46px auto 0; color: var(--muted); font: 400 1rem/1.7 var(--font-display); text-align: center; }
.events-section { background: var(--paper); }
.events-section .section-heading h2, .gallery-section .section-heading h2 { color: var(--ink); }
.event-card { border-color: rgba(78,28,41,.2); background: var(--surface); box-shadow: 5px 5px 0 rgba(78,28,41,.06); }
.event-index { color: #a36f42; }
.event-card h3 { color: var(--ink); }
.event-meta strong { color: var(--ink); }
.traditional-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.traditional-gallery .gallery-item { border: 6px solid var(--surface); box-shadow: 0 8px 0 rgba(78,28,41,.07); }
.traditional-gallery .gallery-item:nth-child(2n) { margin-top: 36px; }
.traditional-gallery .gallery-item:nth-child(3n) { grid-column: span 2; }
.traditional-gallery .gallery-item img { min-height: 180px; }
.venue-section { background: #ead5bf; }
.venue-panel { position: relative; overflow: hidden; padding: 36px 28px; border: 1px solid var(--accent); background: #f8eee0; }
.venue-panel::after { content: "✦"; position: absolute; right: 20px; top: 18px; color: var(--accent); font-size: 2.8rem; opacity: .6; }
.venue-panel h2 { max-width: 580px; margin: 0 0 20px; font: 400 clamp(2.5rem, 10vw, 6rem)/.88 var(--font-display); letter-spacing: -.08em; }
.venue-panel .map-button { margin-top: 24px; color: var(--ink); }
.family-section { background: #fbf4e8; }
.family-card { border-color: rgba(78,28,41,.16); background: rgba(255,255,255,.45); }
.family-card h3 { color: var(--ink); }
.rsvp-section { background: #ead5bf; }
.rsvp-section .section-heading h2 { color: var(--ink); }
.rsvp-button { background: var(--ink); }
.tamil-final { min-height: 80vh; background: var(--ink); color: var(--paper); }
.tamil-final h2 { color: var(--paper); }
.tamil-final p { color: #d2b6a3; }
.final-flourish { margin-bottom: 30px; color: var(--accent); letter-spacing: .3em; }

@media (min-width: 650px) {
  .traditional-hero-grid { grid-template-columns: 1.05fr .95fr; }
  .date-section .countdown-block { grid-template-columns: .85fr 1.15fr; align-items: end; }
  .couple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
  .ampersand { top: 44%; }
  .venue-panel { padding: 58px 56px; }
}
