/* Grid & Red */
:root {
  --paper: #ffffff; --black: #111111; --red: #e10600; --grey: #e9e9e4;
  --bg: var(--paper); --ink: var(--black); --muted: #5a5a5a; --accent: var(--red); --accent-ink: #fff;
  --card: var(--paper); --line: rgba(17, 17, 17, .9);
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif; --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif; --font-script: "Archivo", sans-serif;
  --font-label: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif; --font-ta: "Noto Sans Tamil", sans-serif; --radius: 0;
}
body { font-size: 17px; counter-reset: sec 1; }
.sec { text-align: left; max-width: 1040px; margin: 0 auto; padding: 64px var(--gutter); border-top: 2px solid var(--black); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 0 32px; }
.sec > * { grid-column: 2; }
.sec > .sec-head { grid-column: 1; grid-row: 1 / span 20; margin: 0; text-align: left; }
.sec-head h2 { font-weight: 800; font-size: clamp(26px, 4vw, 40px); letter-spacing: -.02em; line-height: 1; margin: 0; }
.sec-head h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero) " —"; display: block; font-family: var(--font-label); font-size: 14px; font-weight: 600; color: var(--red); margin-bottom: 10px; letter-spacing: .04em; }
.sec-head h2 [lang="ta"] { font-family: var(--font-ta); font-weight: 700; font-size: .7em; }
.sec-head .eyebrow, .sec-head .sub { margin-top: 10px; }
.eyebrow { font-family: var(--font-label); font-weight: 600; color: var(--black); letter-spacing: .06em; font-size: 12px; }
@media (max-width: 720px) { .sec { grid-template-columns: 1fr; } .sec > *, .sec > .sec-head { grid-column: 1; grid-row: auto; margin-bottom: 26px; } }

/* ---------- intro: red block lifts ---------- */
.sw-intro { background: var(--paper); transition: visibility 0s linear 1.5s; }
.sw-block { position: absolute; inset: 0; overflow: hidden; background: var(--red); color: #fff; padding: clamp(20px, 5vw, 48px); display: flex; flex-direction: column; justify-content: space-between; transition: transform 1.1s cubic-bezier(.8, 0, .2, 1) .1s; }
.sw-meta { display: flex; justify-content: space-between; font-family: var(--font-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; border-top: 2px solid #fff; padding-top: 8px; }
.sw-initials { font-weight: 900; font-size: min(46vw, 27vh, 420px); line-height: .8; letter-spacing: -.06em; margin-left: -.04em; }
.sw-bottom { display: grid; gap: 14px; justify-items: start; border-top: 2px solid #fff; padding-top: 12px; }
.sw-line { font-weight: 800; font-size: clamp(22px, 5vw, 34px); letter-spacing: -.02em; }
.sw-line [lang="ta"] { font-family: var(--font-ta); font-size: .75em; }
.sw-cta { background: #fff; color: var(--red); border: 0; padding: 14px 22px; font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.sw-lang { background: transparent; color: #fff; border: 2px solid #fff; padding: 7px 14px; font-size: 14px; }
html.intro-opening .sw-block { transform: translateY(-101%); }
html.intro-opening .sw-intro { visibility: hidden; }

/* ---------- hero ---------- */
.sw-hero { min-height: 100svh; display: grid; align-items: center; }
.sw-grid { position: relative; max-width: 1040px; width: 100%; margin: 0 auto; padding: 40px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.sw-label { grid-column: 1 / -1; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-top: 2px solid var(--black); padding-top: 8px; }
.sw-label [lang="ta"] { text-transform: none; letter-spacing: 0; }
.sw-big-date { grid-column: 1 / -1; font-weight: 900; font-size: clamp(76px, 22vw, 230px); line-height: .82; letter-spacing: -.05em; }
.sw-big-date span { color: var(--red); }
.sw-names { grid-column: 1; }
.sw-hero .couple { justify-items: start; text-align: left; gap: 2px; }
.sw-hero .name { font-weight: 800; font-size: clamp(40px, 8vw, 72px); letter-spacing: -.03em; line-height: 1; }
.sw-hero .name [lang="ta"] { font-family: var(--font-ta); font-weight: 700; font-size: .62em; }
.sw-hero .parents { font-style: normal; font-size: 14px; color: var(--muted); margin: 4px 0 12px; }
.sw-hero .weds { font-family: var(--font-label); font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.sw-lead { grid-column: 2; align-self: end; font-size: 20px; line-height: 1.4; }
.sw-date { grid-column: 2; font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sw-square { position: absolute; right: var(--gutter); top: 40px; width: 28px; height: 28px; background: var(--red); }
@media (max-width: 640px) { .sw-grid { grid-template-columns: 1fr; } .sw-names, .sw-lead, .sw-date { grid-column: 1; } }

/* ---------- sections ---------- */
.scratch { --foil-1: #c40500; --foil-2: #ff3b30; --foil-3: #a10400; --foil-label: "Scratch"; --burst: #e10600, #111, #fff; margin: 0; border: 2px solid var(--black); border-radius: 0; }
.scratch-under { text-align: left; }
.dcell b { font-weight: 900; letter-spacing: -.04em; }
.hint, [data-scratch-reveal] { text-align: left; }
.events { margin: 0; max-width: none; gap: 0; }
.event { border-top: 1px solid var(--black); padding: 18px 0; grid-template-columns: 90px 1fr; }
.event-date { text-align: left; }
.event-date b { font-weight: 900; font-size: 48px; letter-spacing: -.04em; }
.event-date span { color: var(--red); font-weight: 600; }
.event h3 { font-weight: 800; letter-spacing: -.02em; }
.event.is-main h3 { color: var(--red); }
.cd-grid { margin: 0; max-width: none; gap: 0; }
.cd-cell { text-align: left; border-top: 6px solid var(--black); border-radius: 0; padding: 12px 0 0; }
.cd-cell:first-child { border-top-color: var(--red); }
.cd-cell b { font-weight: 900; letter-spacing: -.05em; font-size: clamp(42px, 9vw, 90px); }
.cd-date, .venues, .venue, .story, .note, .share-row, .contacts { text-align: left; margin-left: 0; justify-content: flex-start; justify-items: start; }
.address { margin-left: 0; }
.venue h3 { font-weight: 800; letter-spacing: -.02em; }
.map { border-radius: 0; filter: grayscale(1); }
.note blockquote { font-family: var(--font-body); font-weight: 800; font-style: normal; letter-spacing: -.02em; }
.signature { font-family: var(--font-body); font-weight: 800; color: var(--red); }
.btn { border-radius: 0; background: var(--black); border-color: var(--black); }
.btn-ghost { background: transparent; color: var(--black); }
.btn-wa { background: #1f9d55; border-color: #1f9d55; }
.muhurtham, .gallery, .faq, .details, .family, .cards, .rsvp-form, .video, .palette, .upi { margin-left: 0; }
.palette, .upi { justify-content: flex-start; justify-items: start; }
.mh-item, .faq-item, .info-card, .rsvp-form { border-radius: 0; }
.foot { text-align: left; max-width: 1040px; margin: 0 auto; border-top: 2px solid var(--black); }
.foot-names { font-weight: 900; letter-spacing: -.04em; }
.foot-names .amp { color: var(--red); font-family: var(--font-body); }
