/* =========================================================
   Digital Ads Mall — Office Grand Opening Invitation
   Brand colors taken from the DAM logo (royal blue + sky blue),
   with gold / marigold accents for the festive opening.
   ========================================================= */

:root {
  --navy: #0B1A4A;
  --navy-2: #12276B;
  --royal: #1E3FAE;
  --sky: #22A8F0;
  --sky-soft: #DCEFFF;
  --gold: #F5C451;
  --marigold: #F59E0B;
  --ribbon: #D7263D;
  --ink: #0E1530;
  --muted: #5A6485;
  --bg: #F6F8FE;
  --card: #FFFFFF;
  --line: #E3E8F6;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;

  --radius: 22px;
  --shadow: 0 18px 50px -18px rgba(14, 33, 102, .28);
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-family: var(--font-accent); font-style: italic; font-weight: 600; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }
.section { padding: 88px 0; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--royal);
}
.eyebrow--light { color: var(--gold); }
.section__title {
  margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 6vw, 52px); line-height: 1.08; letter-spacing: -.02em;
  color: var(--navy);
}
.section__title em { color: var(--royal); }
.section__title--light { color: #fff; }
.section__title--light em { color: var(--gold); }
.section__lead { max-width: 640px; margin: 0 0 40px; color: var(--muted); font-size: 18px; }
.sub-title { font-family: var(--font-display); font-size: 24px; margin: 56px 0 20px; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .cut-btn:focus-visible, .music-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--royal), var(--sky)); color: #fff; box-shadow: 0 12px 28px -10px rgba(30, 63, 174, .6); }
.btn--ghost { background: transparent; color: var(--royal); border-color: var(--royal); }
.btn--whatsapp { width: 100%; background: #25D366; color: #fff; padding: 17px 26px; font-size: 17px; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .7); }

/* ---------- Toran (marigold garland) ---------- */
.toran {
  position: absolute; top: 0; left: 0; right: 0; height: 74px; z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='74' viewBox='0 0 120 74'%3E%3Cdefs%3E%3CradialGradient id='m' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23FFD34D'/%3E%3Cstop offset='.6' stop-color='%23F59E0B'/%3E%3Cstop offset='1' stop-color='%23D9480F'/%3E%3C/radialGradient%3E%3CradialGradient id='r' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23FF8A65'/%3E%3Cstop offset='1' stop-color='%23C62828'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0 6 Q60 40 120 6' fill='none' stroke='%232E7D32' stroke-width='2'/%3E%3Ccircle cx='15' cy='13' r='7' fill='url(%23m)'/%3E%3Ccircle cx='36' cy='20' r='7' fill='url(%23r)'/%3E%3Ccircle cx='84' cy='20' r='7' fill='url(%23r)'/%3E%3Ccircle cx='105' cy='13' r='7' fill='url(%23m)'/%3E%3Cpath d='M60 23 L60 44' stroke='%232E7D32' stroke-width='1.5'/%3E%3Cpath d='M60 44 C52 52 54 64 60 70 C66 64 68 52 60 44Z' fill='%2343A047'/%3E%3Cpath d='M60 46 L60 68' stroke='%231B5E20' stroke-width='1'/%3E%3Ccircle cx='60' cy='23' r='8' fill='url(%23m)'/%3E%3Ccircle cx='0' cy='6' r='6' fill='url(%23m)'/%3E%3Ccircle cx='120' cy='6' r='6' fill='url(%23m)'/%3E%3C/svg%3E") repeat-x top center / 120px 74px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .18));
}
.toran--footer { opacity: .9; }

/* ---------- 1. Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px var(--gutter) 40px; text-align: center; color: #fff;
  background: radial-gradient(120% 80% at 50% 0%, var(--navy-2) 0%, var(--navy) 55%, #060E2C 100%);
  transition: opacity .9s ease, visibility .9s ease;
}
.intro.is-gone { opacity: 0; visibility: hidden; }
.intro__glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%; top: 18%;
  background: radial-gradient(circle, rgba(34, 168, 240, .35), transparent 65%);
  filter: blur(10px); animation: pulse 5s ease-in-out infinite;
}
.intro__content { position: relative; z-index: 2; }
.intro__emblem {
  width: 116px; height: 116px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 0 50px rgba(34, 168, 240, .55);
  animation: floaty 4s ease-in-out infinite;
}
.intro__emblem img { width: 82px; }
.intro__eyebrow { margin: 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-soft); }
.intro__title {
  margin: 6px 0 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(46px, 12vw, 92px); line-height: 1; letter-spacing: -.03em;
}
.intro__title em { color: var(--gold); font-weight: 700; }
.intro__sub { margin: 8px 0 0; font-size: 18px; color: var(--sky-soft); }

.ribbon { position: relative; width: 100vw; height: 64px; margin: 46px 0 34px; z-index: 2; }
.ribbon__half {
  position: absolute; top: 18px; height: 28px; width: 50%;
  background: linear-gradient(180deg, #F04A5E 0%, var(--ribbon) 45%, #9E1328 100%);
  border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  transition: transform 1.1s cubic-bezier(.6, -.1, .3, 1), opacity 1.1s ease;
}
.ribbon__half--l { left: 0; transform-origin: left center; }
.ribbon__half--r { right: 0; transform-origin: right center; }
.ribbon__bow { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transition: transform 1s ease, opacity .8s ease; }
.bow-loop {
  position: absolute; top: -26px; width: 46px; height: 52px;
  background: radial-gradient(circle at 30% 30%, #F65A6E, var(--ribbon) 60%, #9E1328);
  border: 3px solid var(--gold);
}
.bow-loop--l { right: 6px; border-radius: 60% 10% 10% 60%; transform: rotate(-8deg); }
.bow-loop--r { left: 6px; border-radius: 10% 60% 60% 10%; transform: rotate(8deg); }
.bow-knot { position: absolute; left: -14px; top: -16px; width: 28px; height: 32px; border-radius: 8px; background: #B71C32; border: 3px solid var(--gold); }
.bow-tail { position: absolute; top: 10px; width: 18px; height: 46px; background: var(--ribbon); border: 2px solid var(--gold); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.bow-tail--l { left: -22px; transform: rotate(18deg); }
.bow-tail--r { left: 4px; transform: rotate(-18deg); }

.intro.is-cut .ribbon__half--l { transform: translateX(-30%) rotate(-14deg) translateY(120px); opacity: 0; }
.intro.is-cut .ribbon__half--r { transform: translateX(30%) rotate(14deg) translateY(120px); opacity: 0; }
.intro.is-cut .ribbon__bow { transform: translateY(160px) rotate(25deg); opacity: 0; }

.cut-btn {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 17px/1 var(--font-body); color: var(--navy);
  background: linear-gradient(135deg, #FFE08A, var(--gold) 50%, var(--marigold));
  box-shadow: 0 0 0 0 rgba(245, 196, 81, .6), 0 14px 30px -10px rgba(245, 196, 81, .7);
  animation: ring 2s ease-out infinite;
}
.cut-btn__icon { font-size: 22px; display: inline-block; animation: snip 1.4s ease-in-out infinite; }
.intro.is-cut .cut-btn { animation: none; opacity: 0; transition: opacity .3s; }
.intro__hint { position: relative; z-index: 2; margin: 18px 0 0; font-size: 13px; color: rgba(220, 239, 255, .7); }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 110; pointer-events: none; }

/* ---------- 2. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 0 90px;
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(34, 168, 240, .18), transparent 70%),
    radial-gradient(60% 50% at 5% 90%, rgba(30, 63, 174, .14), transparent 70%),
    var(--bg);
}
.hero__orbs span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: floaty 9s ease-in-out infinite; }
.hero__orbs span:nth-child(1) { width: 180px; height: 180px; right: -90px; top: 46%; background: radial-gradient(circle at 30% 30%, #8FD3FF, var(--sky)); }
.hero__orbs span:nth-child(2) { width: 90px; height: 90px; left: 6%; bottom: 14%; background: radial-gradient(circle at 30% 30%, #6C8BFF, var(--royal)); animation-delay: -3s; }
.hero__orbs span:nth-child(3) { width: 46px; height: 46px; right: 22%; bottom: 10%; background: radial-gradient(circle at 30% 30%, #FFE08A, var(--marigold)); animation-delay: -6s; }
.hero__inner { position: relative; z-index: 2; text-align: center; }
.hero__logo { width: min(460px, 88%); height: auto; margin: 0 auto 34px; }
.hero__title {
  margin: 0 0 18px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 9vw, 84px); line-height: 1.02; letter-spacing: -.03em; color: var(--navy);
}
.hero__title em { color: var(--royal); background: linear-gradient(90deg, var(--royal), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero__lead { max-width: 600px; margin: 0 auto 28px; font-size: 18px; color: var(--muted); }
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-weight: 700; font-size: 15px; color: var(--navy); box-shadow: 0 6px 18px -10px rgba(14, 33, 102, .25);
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(30, 63, 174, .45); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--royal); animation: scrolldot 1.8s ease-in-out infinite; }

/* ---------- 3. Countdown ---------- */
.countdown { padding: 64px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--royal) 100%); position: relative; overflow: hidden; }
.countdown::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 80% at 90% 50%, rgba(34, 168, 240, .3), transparent 70%); pointer-events: none; }
.countdown .container { position: relative; z-index: 1; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 640px; margin: 18px auto 0; }
.cd { padding: 18px 6px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.cd__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 8vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd__label { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-soft); }
.countdown__done { font-family: var(--font-display); font-size: 26px; margin: 10px 0 0; }

/* ---------- 4. Letter ---------- */
.letter__card {
  position: relative; padding: 48px 30px 40px; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); text-align: center;
  border: 1px solid var(--line);
}
.letter__card::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(245, 196, 81, .7); border-radius: 16px; pointer-events: none; }
.letter__om { display: block; font-size: 38px; margin-bottom: 6px; }
.letter__salutation { font-family: var(--font-accent); font-style: italic; font-size: 22px; color: var(--royal); margin: 0 0 16px; }
.letter__card p { margin: 0 0 14px; color: #2A3354; }
.letter__sign { margin-top: 24px !important; font-weight: 700; color: var(--navy) !important; }
.letter__sign small { font-weight: 500; color: var(--muted); }

/* ---------- 5. Founders ---------- */
.founders { background: linear-gradient(180deg, var(--bg), #EEF3FF); text-align: center; }
.founders__grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
.founder { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); text-align: left; transition: transform .3s ease; }
.founder:hover { transform: translateY(-6px); }
.founder__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--gold); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.founder:hover .founder__photo img { transform: scale(1.04); }
.founder__body { padding: 22px 24px 26px; }
.founder__name { margin: 0; font-family: var(--font-display); font-size: 26px; color: var(--navy); }
.founder__role { display: inline-block; margin: 6px 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--sky-soft); color: var(--royal); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.founder__text { margin: 0; color: var(--muted); }

/* ---------- 6. About ---------- */
.about { text-align: center; }
.about .section__lead { margin-left: auto; margin-right: auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 760px; margin: 0 auto 36px; }
.stat { padding: 22px 8px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(14, 33, 102, .3); }
.stat__num, .stat__plus { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 7vw, 46px); color: var(--royal); line-height: 1; }
.stat__plus { color: var(--sky); }
.stat__label { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.services { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; }
.services li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: linear-gradient(135deg, #fff, var(--sky-soft)); border: 1px solid #C9E3FA; font-weight: 700; font-size: 15px; color: var(--navy); }

/* ---------- 7. Team ---------- */
.team { background: linear-gradient(180deg, #EEF3FF, var(--bg)); text-align: center; overflow: hidden; }
.team .section__lead { margin-left: auto; margin-right: auto; }
.team__grid { display: none; }
.member {
  position: relative; border-radius: 50%; padding: 5px; aspect-ratio: 1 / 1;
  background: conic-gradient(from 210deg, var(--royal), var(--sky), var(--gold), var(--royal));
  box-shadow: 0 16px 34px -16px rgba(14, 33, 102, .45);
  transition: transform .35s ease;
}
.member img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; background: #fff; }
.member:hover { transform: translateY(-8px) rotate(-2deg); }

.team__marquee { display: flex; flex-direction: column; gap: 16px; padding: 4px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; width: max-content; gap: 16px; animation: marquee 34s linear infinite; }
.marquee-row--rev { animation-direction: reverse; }
.marquee-row .member { width: 132px; flex: 0 0 auto; }

/* ---------- 8. Details ---------- */
.details { text-align: center; }
.details__cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
.dcard { padding: 28px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dcard__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 26px; background: var(--sky-soft); margin-bottom: 10px; }
.dcard h3 { margin: 0 0 4px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.dcard p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1.3; }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; text-align: left; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--royal), var(--sky), var(--gold)); }
.timeline li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 10px 0; }
.timeline__dot { flex: 0 0 52px; height: 52px; display: grid; place-items: center; font-size: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); box-shadow: 0 6px 14px -8px rgba(14, 33, 102, .5); z-index: 1; }
.timeline strong { font-family: var(--font-display); font-size: 19px; color: var(--navy); }
.timeline p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.calendar-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- 9. Venue ---------- */
.venue { background: linear-gradient(180deg, var(--bg), #EEF3FF); text-align: center; }
.venue__wrap { display: grid; grid-template-columns: 1fr; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: 36px; text-align: left; }
.venue__info { padding: 30px 26px; }
.venue__info h3 { margin: 0; font-family: var(--font-display); font-size: 30px; color: var(--navy); }
.venue__floor { display: inline-block; margin: 8px 0 6px; padding: 5px 14px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 800; }
.venue__info p { margin: 0 0 20px; color: var(--muted); }
.venue__map { min-height: 320px; background: var(--sky-soft); }
.venue__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- 10. RSVP ---------- */
.rsvp { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--royal) 100%); position: relative; overflow: hidden; }
.rsvp::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 168, 240, .4), transparent 65%); }
.rsvp__card { position: relative; text-align: center; color: #fff; }
.rsvp__lead { color: var(--sky-soft); margin: 0 0 28px; }
.rsvp__form { display: grid; gap: 18px; text-align: left; padding: 26px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--sky-soft); }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .95); font: 500 16px var(--font-body); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 196, 81, .35); }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle label { cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { display: block; height: 100%; padding: 13px 10px; border-radius: 14px; text-align: center; font-weight: 700; font-size: 14px; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; transition: all .2s ease; }
.toggle input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.toggle input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.rsvp__error { margin: -6px 0 0; color: #FFB4B4; font-weight: 700; font-size: 14px; }
.rsvp__alt { margin: 20px 0 0; color: var(--sky-soft); font-size: 15px; }
.rsvp__alt a { color: var(--gold); font-weight: 700; }

/* ---------- 11. Footer ---------- */
.footer { position: relative; padding: 100px 0 40px; text-align: center; color: var(--sky-soft); background: #060E2C; }
.footer__emblem { width: 76px; margin: 0 auto 18px; padding: 10px; border-radius: 50%; background: #fff; }
.footer__thanks { font-size: 19px; color: #fff; margin: 0 0 24px; }
.footer__thanks em { color: var(--gold); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 22px; }
.footer__links a { text-decoration: none; font-size: 15px; word-break: break-word; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; justify-content: center; gap: 12px; margin-bottom: 26px; }
.footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s ease, transform .2s ease; }
.footer__social a:hover { background: var(--royal); transform: translateY(-3px); }
.footer__copy { margin: 0; font-size: 13px; color: rgba(220, 239, 255, .55); }

/* ---------- Music button ---------- */
.music-btn {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--royal), var(--sky)); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(14, 33, 102, .6); display: grid; place-items: center;
}
.music-btn__bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.music-btn__bars i { width: 3px; height: 100%; background: #fff; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.music-btn__bars i:nth-child(2) { animation-delay: -.3s; }
.music-btn__bars i:nth-child(3) { animation-delay: -.6s; }
.music-btn__bars i:nth-child(4) { animation-delay: -.15s; }
.music-btn.is-paused .music-btn__bars i { animation: none; height: 30%; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(245, 196, 81, .55), 0 14px 30px -10px rgba(245, 196, 81, .7); } 100% { box-shadow: 0 0 0 22px rgba(245, 196, 81, 0), 0 14px 30px -10px rgba(245, 196, 81, .7); } }
@keyframes snip { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .hero__orbs span:nth-child(1) { right: -40px; top: 22%; }
  .section { padding: 110px 0; }
  .founders__grid { grid-template-columns: 1fr 1fr; max-width: 880px; margin-left: auto; margin-right: auto; }
  .details__cards { grid-template-columns: repeat(3, 1fr); }
  .venue__wrap { grid-template-columns: 2fr 3fr; }
  .venue__info { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
  .venue__info .btn, .venue__floor { align-self: flex-start; }
  .venue__map, .venue__map iframe { min-height: 380px; }
  .rsvp__form { padding: 34px; }
  .letter__card { padding: 60px 56px 50px; }
}
@media (min-width: 900px) {
  .team__marquee { display: none; }
  .team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 38px; max-width: 860px; margin: 0 auto; padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-row { animation: none; }
  .team__marquee { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; }
}
