/* Kid's birthday - bold, bright, bouncy. Sun yellow, coral, sky, mint and grape on deep navy ink. */
:root {
  --ink: #1c1b4d; --sun: #ffcf33; --coral: #ff5d5d; --sky: #35b0ff; --mint: #2fd6a6; --grape: #8b5cf6; --cream: #fffaf0; --sky-l: #d8f0ff; --sun-l: #fff3c4;
  --head: 'Baloo Thambi 2', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', 'Mukta Malar', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; -webkit-text-size-adjust: 100%; background: var(--cream); }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; font-weight: 600; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--coral); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
html[data-lang="en"] .ta, html[data-lang="ta"] .en { display: none !important; }
html[data-lang="ta"] body { font-family: 'Mukta Malar', var(--body); line-height: 1.75; }

/* header */
.site-header { position: fixed; z-index: 80; left: 0; right: 0; top: 0; height: 68px; display: flex; align-items: center; gap: 14px; padding: 0 clamp(14px, 3vw, 36px); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: var(--cream); box-shadow: 0 4px 0 var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 22px; margin-right: auto; }
.brand b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; border: 3px solid var(--ink); font-size: 24px; line-height: 1; transform: rotate(-8deg); }
#menu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
#menu a { display: block; padding: 6px 14px; border-radius: 99px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 17px; transition: background .2s, transform .2s; }
#menu a:hover, #menu a:focus-visible { background: var(--sun); transform: rotate(-3deg); outline: none; }
.m-lang { display: flex; gap: 4px; margin-left: 8px; }
.m-lang button { border: 3px solid var(--ink); background: #fff; border-radius: 99px; width: 40px; height: 34px; font-weight: 800; cursor: pointer; font-size: 14px; }
.m-lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pill { background: var(--coral); color: #fff; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 17px; padding: 6px 20px; border-radius: 99px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.pill:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.nav-toggle { display: none; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 26px; }
.sec { padding: 96px 0; position: relative; }
.band-blue { background: var(--sky); } .band-yellow { background: var(--sun); } .band-navy { background: var(--ink); color: #fff; }
.eyebrow { display: inline-block; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 14px; border-radius: 99px; transform: rotate(-2deg); }
html[data-lang="ta"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 17px; }
.band-navy .eyebrow { background: var(--sun); color: var(--ink); }
.sec-h { font-family: var(--head); font-weight: 800; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.05; margin: 14px 0 12px; max-width: 18ch; }
html[data-lang="ta"] .sec-h { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.2; max-width: 22ch; }
.sub { max-width: 54ch; font-size: 19px; }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(40px) rotate(2deg); transition: opacity .6s ease, transform .7s cubic-bezier(.3, 1.5, .5, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.btn { display: inline-block; border: 3px solid var(--ink); background: var(--coral); color: #fff; font-family: var(--head); font-weight: 800; font-size: 20px; padding: 8px 28px 6px; border-radius: 99px; text-decoration: none; cursor: pointer; box-shadow: 5px 5px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.btn:hover, .btn:focus-visible { transform: translate(3px, 3px) rotate(-1deg); box-shadow: 2px 2px 0 var(--ink); outline: none; }
.btn.alt { background: #fff; color: var(--ink); }

/* hero */
.hero { padding: 100px 0 70px; background: var(--sun); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -80px -10%; height: 160px; background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.balloons { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.bal { position: absolute; bottom: -120px; width: 54px; height: 66px; border-radius: 50% 50% 48% 48%; background: var(--coral); border: 3px solid var(--ink); animation: up 14s linear infinite; }
.bal u { position: absolute; left: 50%; top: 100%; width: 2px; height: 70px; background: var(--ink); }
.bal::after { content: ""; position: absolute; left: 12px; top: 10px; width: 10px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .6); transform: rotate(20deg); }
.b1 { left: 3%; animation-delay: -2s; } .b2 { left: 12%; background: var(--sky); animation-delay: -7s; animation-duration: 17s; } .b3 { left: 46%; background: var(--grape); animation-delay: -11s; }
.b4 { left: 56%; background: var(--mint); animation-delay: -4s; animation-duration: 18s; } .b5 { left: 70%; animation-delay: -9s; } .b6 { left: 86%; background: var(--sky); animation-delay: -1s; animation-duration: 16s; } .b7 { left: 94%; background: var(--grape); animation-delay: -13s; }
@keyframes up { 0% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-60vh) translateX(20px) rotate(4deg); } 100% { transform: translateY(-120vh) rotate(-4deg); } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.hero-eyebrow { display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: 99px; padding: 3px 16px; font-family: var(--head); font-weight: 700; font-size: 16px; }
.big5 { position: relative; display: inline-block; margin-top: 8px; }
.big5 span { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(150px, 24vw, 280px); line-height: .85; color: var(--coral); -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; text-shadow: 8px 8px 0 var(--ink); animation: bounce 2.4s cubic-bezier(.3, 1.6, .5, 1) infinite; transform-origin: 50% 100%; }
@keyframes bounce { 0%, 100% { transform: translateY(0) scale(1, 1); } 40% { transform: translateY(-26px) scale(.97, 1.04); } 50% { transform: translateY(-26px) scale(.97, 1.04); } 80% { transform: translateY(0) scale(1.05, .95); } }
.paw { position: absolute; width: 38px; fill: var(--ink); opacity: .85; animation: step 3s ease-in-out infinite; }
.p1 { right: -56px; top: 14%; transform: rotate(20deg); } .p2 { right: -96px; top: 44%; transform: rotate(-10deg); animation-delay: .5s; } .p3 { right: -52px; top: 74%; transform: rotate(25deg); animation-delay: 1s; }
@keyframes step { 0%, 100% { opacity: 0; } 30%, 70% { opacity: .85; } }
#names { font-family: var(--head); font-weight: 800; font-size: clamp(54px, 9vw, 110px); line-height: .95; color: var(--ink); margin-top: 6px; }
html[data-lang="ta"] #names { font-size: clamp(44px, 7vw, 80px); line-height: 1.1; }
.hero-lead { font-family: var(--head); font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); margin-top: 6px; line-height: 1.2; }
.hero-date { display: inline-block; margin-top: 18px; background: var(--ink); color: var(--sun); font-family: var(--head); font-weight: 800; font-size: clamp(19px, 2.6vw, 26px); padding: 4px 22px 2px; border-radius: 14px; transform: rotate(-2deg); animation: pop .9s .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes pop { from { transform: scale(.4) rotate(10deg); opacity: 0; } }
.hero-place { font-weight: 800; margin-top: 8px; font-size: 18px; }
.ticket { display: flex; gap: 10px; margin: 20px 0 6px; flex-wrap: wrap; }
.ticket > div { width: 84px; padding: 8px 0 6px; text-align: center; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); }
.k1 { background: var(--coral); color: #fff; } .k2 { background: var(--sky); } .k3 { background: var(--mint); } .k4 { background: var(--grape); color: #fff; }
.ticket b { display: block; font-family: var(--head); font-weight: 800; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket b.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.3) rotate(-6deg); } }
.ticket small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html[data-lang="ta"] .ticket small { letter-spacing: 0; text-transform: none; font-size: 13px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero-pic { position: relative; justify-self: center; width: min(420px, 82vw); }
.blob { position: absolute; inset: -6% -10% -4% -6%; background: var(--coral); border: 4px solid var(--ink); border-radius: 62% 38% 56% 44% / 48% 56% 44% 52%; animation: morph 9s ease-in-out infinite alternate; }
@keyframes morph { to { border-radius: 40% 60% 42% 58% / 58% 42% 58% 42%; transform: rotate(6deg); } }
.photo-frame { margin: 0; position: relative; border: 5px solid var(--ink); border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 10px 10px 0 var(--ink); transform: rotate(3deg); background: var(--sun-l); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; animation: kb 16s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.12) translateY(-2%); } }
.badge { position: absolute; left: -44px; bottom: -22px; width: 124px; height: 124px; background: var(--sun); border: 4px solid var(--ink); border-radius: 50%; display: grid; place-items: center; animation: spin 18s linear infinite; z-index: 2; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge text { font-family: var(--head); font-weight: 800; font-size: 13px; fill: var(--ink); letter-spacing: .05em; }
.badge b { font-family: var(--head); font-size: 44px; font-weight: 800; color: var(--coral); animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee { background: var(--ink); color: var(--sun); overflow: hidden; border-block: 4px solid var(--ink); padding: 10px 0 6px; position: relative; z-index: 4; }
.mq { display: flex; width: max-content; gap: 26px; font-family: var(--head); font-weight: 800; font-size: 28px; white-space: nowrap; animation: scroll 28s linear infinite; }
.mq i { font-style: normal; color: var(--coral); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 44px; }
.tile { border: 4px solid var(--ink); border-radius: 30px; padding: 22px 24px; box-shadow: 7px 7px 0 var(--ink); display: flex; flex-direction: column; gap: 4px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.tile:hover { transform: rotate(-1.5deg) translateY(-6px); }
.tile small { font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
html[data-lang="ta"] .tile small { letter-spacing: 0; text-transform: none; font-size: 17px; }
.tile b { font-family: var(--head); font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; }
html[data-lang="ta"] .tile b { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.2; }
.tile span { font-size: 16.5px; line-height: 1.45; }
.t-when { grid-column: span 2; background: var(--coral); color: #fff; } .t-where { grid-column: span 4; background: var(--sky-l); }
.t-theme { grid-column: span 2; background: var(--mint); } .t-dress { grid-column: span 2; background: var(--sun); } .t-rsvp { grid-column: span 2; background: var(--grape); color: #fff; }
.t-food { grid-column: span 6; background: #fff; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.map { margin-top: 6px; font-family: var(--head); font-weight: 800; color: var(--ink); text-decoration-thickness: 3px; }

/* schedule */
.sched { list-style: none; margin: 50px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: x; }
.sched::before { content: ""; position: absolute; left: 6%; right: 6%; top: 44px; border-top: 5px dashed var(--ink); opacity: .35; }
.st { background: #fff; border: 4px solid var(--ink); border-radius: 28px; padding: 54px 20px 22px; position: relative; box-shadow: 6px 6px 0 var(--ink); }
.when { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); background: var(--sun); border: 4px solid var(--ink); border-radius: 99px; font-family: var(--head); font-weight: 800; font-size: 26px; padding: 0 20px; line-height: 1.5; white-space: nowrap; animation: hop 2.6s ease-in-out infinite; }
.st2 .when { background: var(--mint); animation-delay: -.6s; } .st3 .when { background: var(--coral); color: #fff; animation-delay: -1.2s; } .st4 .when { background: var(--grape); color: #fff; animation-delay: -1.8s; }
@keyframes hop { 50% { transform: translateX(-50%) translateY(-8px); } }
.st h3 { font-family: var(--head); font-weight: 800; font-size: 24px; line-height: 1.15; margin-bottom: 6px; }
html[data-lang="ta"] .st h3 { font-size: 20px; line-height: 1.3; }
.st p { font-size: 16.5px; line-height: 1.5; }

/* flip cards */
.flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; perspective: 1000px; }
.flip { border: 0; background: none; padding: 0; height: 270px; position: relative; cursor: pointer; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); text-align: center; }
.flip:hover, .flip:focus-visible, .flip.on { transform: rotateY(180deg); outline: none; }
.js .flip.reveal { transform: translateY(40px) rotate(2deg); } .js .flip.reveal.in { transform: none; } .js .flip.reveal.in:hover, .js .flip.reveal.in:focus-visible, .js .flip.reveal.in.on { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border: 4px solid var(--ink); border-radius: 30px; box-shadow: 6px 6px 0 var(--ink); backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; }
.front b, .back > b { font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1.1; }
html[data-lang="ta"] .front b, html[data-lang="ta"] .back > b { font-size: 21px; }
.fi { width: 92px; height: 92px; display: block; animation: wob 3s ease-in-out infinite; } .fi svg { width: 100%; height: 100%; }
@keyframes wob { 50% { transform: rotate(8deg) scale(1.06); } }
.back { transform: rotateY(180deg); color: #fff; font-size: 17px; line-height: 1.45; }
.f1 .front { background: var(--sun-l); } .f1 .back { background: var(--coral); }
.f2 .front { background: #dff7ee; } .f2 .back { background: var(--grape); }
.f3 .front { background: var(--sky-l); } .f3 .back { background: var(--mint); color: var(--ink); }
.f4 .front { background: #efe7ff; } .f4 .back { background: var(--sky); color: var(--ink); }

/* wish */
.wish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.cake-wrap { position: relative; }
.cake { width: 100%; height: auto; display: block; background: #fff; border: 5px solid var(--ink); border-radius: 36px; box-shadow: 10px 10px 0 var(--ink); transform: rotate(-2deg); padding: 24px 24px 8px; }
.sf { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 1.2s ease-in-out infinite; transition: opacity .4s; }
.blown .sf { opacity: 0; animation: none; }
.flame-row { position: absolute; left: 50%; top: -34px; width: 40px; height: 56px; margin-left: -6px; }
.fl { position: absolute; left: 0; bottom: 0; width: 22px; height: 36px; background: radial-gradient(circle at 50% 70%, #fff 0 20%, var(--sun) 21% 55%, var(--coral) 56%); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform-origin: 50% 100%; animation: flick 1.2s ease-in-out infinite; transition: opacity .4s, transform .4s; }
.blown .fl { opacity: 0; transform: scale(0) translateY(-20px); animation: none; }
@keyframes flick { 0%, 100% { transform: scale(1) skewX(0); } 30% { transform: scale(.9, 1.1) skewX(5deg); } 60% { transform: scale(1.06, .92) skewX(-5deg); } }
.blow { margin-top: 20px; }
.wished { margin-top: 18px; font-family: var(--head); font-weight: 800; font-size: 24px; line-height: 1.2; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); }

/* album */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; gap: 24px; margin-top: 44px; }
.g { position: relative; display: block; overflow: hidden; border: 4px solid var(--ink); border-radius: 32px; box-shadow: 7px 7px 0 var(--ink); text-decoration: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); background: #fff; }
.g1 { transform: rotate(-2deg); } .g2 { transform: rotate(1.5deg) translateY(16px); } .g3 { transform: rotate(-1deg); }
.g:hover, .g:focus-visible { transform: rotate(0) scale(1.04); outline: none; z-index: 2; }
.g img { width: 100%; height: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; transition: transform .8s; }
.g:hover img { transform: scale(1.1); }
.cap { position: absolute; left: 12px; bottom: 12px; background: var(--sun); color: var(--ink); border: 3px solid var(--ink); border-radius: 99px; padding: 0 14px; font-family: var(--head); font-weight: 800; font-size: 17px; }

/* reply */
.rsvp-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.band-navy .sec-h { color: #fff; }
.big { font-family: var(--head); font-weight: 800; font-size: 42px; line-height: 1; color: var(--sun); margin-top: 22px; transform: rotate(-3deg); }
html[data-lang="ta"] .big { font-size: 30px; line-height: 1.25; }
.rsvp-form { background: #fff; color: var(--ink); border: 4px solid var(--sun); border-radius: 32px; padding: 34px 32px 28px; display: grid; gap: 18px; box-shadow: 8px 8px 0 var(--coral); }
.field { display: grid; gap: 4px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-family: var(--head); font-weight: 700; font-size: 18px; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea { width: 100%; border: 3px solid var(--ink); border-radius: 16px; background: var(--cream); padding: 10px 14px; font-size: 18px; font-weight: 700; outline: none; transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--sun-l); box-shadow: 4px 4px 0 var(--ink); }
.field textarea { resize: vertical; }
.opt { font-weight: 600; opacity: .7; font-family: var(--body); }
.choice { gap: 8px; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 18px; cursor: pointer; }
.field .radio, .field .check { font-family: var(--body); font-size: 18px; font-weight: 700; }
.radio input, .check input { accent-color: var(--coral); width: 22px; height: 22px; margin: 3px 0 0; flex: 0 0 auto; }
.err { color: #d62b2b; font-weight: 800; font-size: 14px; }
.err:empty { display: none; }
.field.invalid input { border-color: #d62b2b; background: #ffeceb; }
.rsvp-form .btn { width: 100%; text-align: center; }
.fine { font-size: 15px; text-align: center; line-height: 1.5; }
.fine a { font-weight: 800; white-space: nowrap; }

/* footer */
.foot { background: var(--coral); color: #fff; text-align: center; padding: 80px 0 34px; border-top: 6px solid var(--ink); position: relative; }
.bye { font-family: var(--head); font-weight: 800; font-size: clamp(44px, 8vw, 96px); line-height: 1; color: var(--sun); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); animation: wob 3s ease-in-out infinite; }
html[data-lang="ta"] .bye { font-size: clamp(34px, 6vw, 64px); line-height: 1.2; }
.fnames { font-family: var(--head); font-weight: 800; font-size: 28px; margin-top: 22px; }
.fdate { font-weight: 800; margin-top: 2px; }
.hash { margin-top: 14px; font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 22px; }
.photocred { margin: 24px auto 0; font-size: 12.5px; max-width: 70ch; line-height: 1.5; color: #ffe3e0; }
.credit { margin-top: 16px; font-size: 14px; color: #ffe3e0; } .credit a { color: #fff; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28, 27, 77, .92); display: grid; place-items: center; padding: 20px; }
.lightbox figure { margin: 0; max-width: min(900px, 94vw); }
.lightbox img { max-height: 80vh; margin: 0 auto; border: 6px solid var(--sun); border-radius: 26px; }
.lightbox figcaption { color: #fff; text-align: center; font-family: var(--head); font-weight: 700; font-size: 22px; margin-top: 10px; }
.lb-close { position: absolute; right: 22px; top: 14px; width: 50px; height: 50px; border: 3px solid var(--ink); background: var(--sun); font-size: 30px; font-weight: 800; cursor: pointer; border-radius: 50%; }

@media (max-width: 960px) {
  .hero-grid, .wish-grid, .rsvp-grid { grid-template-columns: 1fr; }
  .hero-pic { margin-top: 20px; }
  .sched { grid-template-columns: 1fr 1fr; gap: 46px 20px; } .sched::before { display: none; }
  .flips { grid-template-columns: 1fr 1fr; }
  
  .p1 { right: -30px; } .p2 { right: -40px; } .p3 { right: -30px; }
}
@media (max-width: 820px) {
  .pill { display: none; }
  .nav-toggle { display: block; width: 46px; height: 42px; border: 3px solid var(--ink); background: var(--sun); border-radius: 14px; position: relative; cursor: pointer; }
  .nav-toggle span { position: absolute; left: 9px; right: 9px; height: 3px; border-radius: 2px; background: var(--ink); transition: .25s; }
  .nav-toggle span:nth-child(1) { top: 10px; } .nav-toggle span:nth-child(2) { top: 17px; } .nav-toggle span:nth-child(3) { top: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 17px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 17px; transform: rotate(-45deg); }
  #menu { position: fixed; top: 68px; left: 0; right: 0; background: var(--cream); border-bottom: 4px solid var(--ink); max-height: 0; overflow: hidden; transition: max-height .4s ease; }
  #menu.open { max-height: 80vh; overflow: auto; }
  #menu ul { flex-direction: column; align-items: stretch; padding: 8px 16px 18px; }
  #menu a { padding: 12px 14px; font-size: 22px; }
  .m-lang { margin: 8px 0 0; }
  .site-header.scrolled { box-shadow: 0 3px 0 var(--ink); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .sec { padding: 70px 0; }
  .wrap { padding: 0 18px; }
  .bento { grid-template-columns: 1fr; } .t-when, .t-where, .t-theme, .t-dress, .t-rsvp, .t-food { grid-column: span 1; }
  .sched { grid-template-columns: 1fr; gap: 44px; }
  .flips { gap: 14px; } .flip { height: 240px; }
  .strip { grid-template-columns: 1fr; } .g2 { transform: rotate(1.5deg); }
  .ticket > div { width: 72px; } .ticket b { font-size: 28px; }
  .rsvp-form { padding: 26px 18px 22px; }
  .badge { left: -8px; width: 100px; height: 100px; } .badge b { font-size: 36px; }
  .cta .btn { flex: 1 1 100%; text-align: center; }
  .p1, .p2, .p3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .flip.reveal { opacity: 1; transform: none; }
  .confetti { display: none; }
}
