/* ── SELF-HOSTED FONTS ───────────────────────────────────────────────────
   Was: two render-blocking round trips to fonts.googleapis.com +
   fonts.gstatic.com before the page could paint at all (Lighthouse mobile:
   1280 ms of render-blocking requests, FCP 3.0 s).
   Now: same files served from this domain, on the connection already open.
   Weight 300 was dropped — nothing on the site uses it. Only the latin subset
   is shipped, plus Inter latin-ext for the ħ in "Mellieħa" on the contact page.
   Preload the two roman faces in each page's <head>. ───────────────────── */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ================================================================
   ANIMATOR MALTA — DESIGN SYSTEM
   Based on Claude Design output. Duck yellow · Beak red · Night navy.
   "The Apple of kids entertainment in Malta"
   ================================================================ */

/* Fonts are linked from each page <head> — an @import here would delay
   the first paint by a whole extra round trip. */

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Mascot-derived */
  --am-duck-yellow:   #FBBE0B;
  --am-beak-red:      #E94B1F;
  --am-au-gold:       #F2C75C;

  /* Night-party pop */
  --am-bubble-cyan:   #4DC9E6;
  --am-disco-magenta: #FF3D9A;
  --am-mint-pop:      #6BE3B6;

  /* Mediterranean warmth */
  --am-cream:         #FAEBD2;
  --am-terracotta:    #C9542A;
  --am-sun-tint:      #FFF3D6;

  /* Dark foundation — Lovable Twilight palette */
  --am-night:         #090d18;   /* hsl(222 45% 6%)  — deep midnight navy */
  --am-midnight:      #0e1424;   /* hsl(222 40% 9%)  — surface */
  --am-deep-blue:     #141c33;   /* hsl(222 35% 14%) — surface-2 */
  --am-stroke:        #1e2a45;   /* hsl(222 25% 18%) — border */

  /* Foreground */
  --am-fg1:           #FFF8EC;
  --am-fg2:           #C9C4B5;
  --am-fg3:           #8A8779;
  --am-fg-on-light:   #1A1206;

  /* ── Semantic aliases (used in HTML) ── */
  --bg:         var(--am-night);
  --bg-alt:     var(--am-midnight);
  --card:       var(--am-deep-blue);
  --text:       var(--am-fg1);
  --text-dim:   var(--am-fg2);
  --gold:       var(--am-duck-yellow);
  --gold-soft:  var(--am-au-gold);
  --brand:      var(--am-duck-yellow);
  --accent:     var(--am-beak-red);

  /* ── Typography ── */
  --font:         'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-script:  'Fraunces', Georgia, serif;

  /* ── Gradient gold (Lovable) ── */
  --gradient-gold: linear-gradient(135deg, hsl(42 78% 58%), hsl(45 95% 70%));
  --gradient-glow: radial-gradient(ellipse at center, hsl(42 78% 58% / 0.25), transparent 70%);
  --shadow-gold:   0 20px 60px -20px hsl(42 78% 58% / 0.5);

  /* ── Layout ── */
  --radius: 24px;
  --max:    1280px;

  /* ── Spacing scale (4px base) ── */
  --space-2xs: 4px;
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* ── Shadows / Glows ── */
  --sh-card:       0 10px 30px -8px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.35);
  --sh-card-hover: 0 24px 60px -10px rgba(0,0,0,0.65), 0 4px 10px rgba(0,0,0,0.45);
  --glow-yellow:   0 0 0 1px rgba(251,190,11,0.35), 0 12px 40px -8px rgba(251,190,11,0.45);
  --glow-red:      0 0 0 1px rgba(233,75,31,0.3), 0 12px 30px -8px rgba(233,75,31,0.55);

  /* ── Motion ── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════
   DAY MODE — full-site light theme
═══════════════════════════════════════════════════════════════ */
html.day-mode {
  --bg:         #fbf3e0;       /* warm cream */
  --bg-alt:     #f5e8c8;       /* slightly darker cream */
  --card:       #fffdf8;       /* warm off-white (not pure #fff) */
  --text:       #1a1206;       /* dark espresso */
  --text-dim:   #5a4830;       /* warm brown */
  --am-night:   #fbf3e0;
  --am-midnight:#f5e8c8;
  --am-deep-blue: #efdfb8;
  --am-stroke:  rgba(26,18,6,0.12);
  --am-fg1:     #1a1206;
  --am-fg2:     #5a4830;
  --am-fg3:     #6e6034;       /* was #8a7a52 — failed contrast on cream */
  --am-fg-on-light: #1a1206;
  /* Gold that survives a light background. The brand golds (#FBBE0B/#F2C75C)
     stay untouched for fills, borders and icons — this is for TEXT only. */
  --gold-ink:   #8a5d00;
}

/* Day-mode: smooth fade for all colors during toggle */
html.day-mode,
html.night-mode {
  transition: background 600ms ease;
}
html.day-mode body,
html.night-mode body,
html.day-mode section,
html.night-mode section,
html.day-mode .header,
html.night-mode .header {
  transition: background 600ms ease, color 600ms ease, border-color 600ms ease;
}

/* Day-mode specific overrides */
html.day-mode body { background: var(--bg); color: var(--text); }
html.day-mode .header.scrolled {
  background: rgba(251,243,224,0.85);
  border-bottom-color: rgba(26,18,6,0.08);
}
html.day-mode .logo-tagline { color: var(--text-dim); }
html.day-mode .nav a { color: rgba(26,18,6,0.7); }
html.day-mode .nav a:hover,
html.day-mode .nav a.active { color: var(--text); }

/* Day-mode buttons */
html.day-mode .btn-secondary {
  background: rgba(255,255,255,0.6);
  color: var(--text);
  border-color: rgba(26,18,6,0.18);
}
html.day-mode .btn-secondary:hover { background: white; border-color: var(--am-au-gold); }

/* Day-mode surface elements */
html.day-mode .surface-card,
html.day-mode .why-lv-grid,
html.day-mode .pc-card,
html.day-mode .ct-card,
html.day-mode .ct-info-card,
html.day-mode .pkg,
html.day-mode .problem-card,
html.day-mode .review,
html.day-mode .faq-item,
html.day-mode .program-card,
html.day-mode .show-card {
  background: white !important;
  border-color: rgba(26,18,6,0.10) !important;
  color: var(--text);
}
html.day-mode .why-lv-grid { background: rgba(26,18,6,0.08) !important; }
html.day-mode .why-lv-card { background: #fffdf8 !important; }

/* ── DAY MODE — icon & filter-tab contrast (night untouched) ── */
html.day-mode .ic { color: var(--am-beak-red); }
html.day-mode .section-emoji svg.ic { color: var(--am-beak-red); }
html.day-mode .ftab {
  color: rgba(26,18,6,0.72);
  background: rgba(26,18,6,0.05);
  border-color: rgba(26,18,6,0.15);
}
html.day-mode .ftab:hover { color: #1a1206; border-color: var(--am-beak-red); }
html.day-mode .ftab-active { color: #1A1206 !important; }
html.day-mode .why-lv-card:hover { background: #faf2e0 !important; }
html.day-mode .why-lv-body,
html.day-mode .pc-tag,
html.day-mode .ct-info-body,
html.day-mode .lv-sub { color: var(--text-dim); }
html.day-mode .why-lv-title,
html.day-mode .pc-name,
html.day-mode .ct-info-title,
html.day-mode .ct-value,
html.day-mode .lv-h1,
html.day-mode .lv-trust-num,
html.day-mode .section-title,
html.day-mode h1, html.day-mode h2, html.day-mode h3, html.day-mode h4, html.day-mode h5 {
  color: var(--text);
}
html.day-mode .pill-tag {
  background: rgba(255,255,255,0.7);
  border-color: rgba(26,18,6,0.12);
  color: var(--text-dim);
}
html.day-mode .eyebrow { color: var(--gold-ink); }

/* Day-mode hero text.
   This block used to force `color: white !important` with the note "hero stays
   bright on photo" — but the day hero photo is a PALE CREAM shot, so white on
   it measured 1.11:1 and the headline was washed out. Dark ink with a light
   halo instead; the photo itself is untouched. */
html.day-mode .lv-h1,
html.day-mode .lv-trust-num {
  color: var(--am-fg1, #1a1206) !important;
  text-shadow: 0 1px 10px rgba(255,253,248,0.9), 0 0 3px rgba(255,253,248,0.95);
}
html.day-mode .lv-sub,
html.day-mode .lv-trust-label {
  color: var(--am-fg2, #5a4830) !important;
  text-shadow: 0 1px 8px rgba(255,253,248,0.9);
}
html.day-mode .pill-tag {
  background: rgba(26,18,6,0.07);
  color: var(--am-fg1, #1a1206);
  border-color: rgba(26,18,6,0.18);
  text-shadow: none;
}

/* ════ DAY MODE — fix dark-built components on the light (cream) background ════ */
/* Sticky show-filter bar: dark band → cream */
html.day-mode .filter-bar {
  background: rgba(251,243,224,0.92);
  border-top-color: rgba(26,18,6,0.06);
  border-bottom-color: rgba(26,18,6,0.10);
}
/* Flying review mini-cards (home reviews): dark navy → light card */
html.day-mode .fly-review {
  background: #fffdf8;
  border-color: rgba(26,18,6,0.10);
  box-shadow: 0 16px 40px rgba(26,18,6,0.12);
}
html.day-mode .fr-text { color: #1a1206; }
html.day-mode .fr-who  { color: #5a4830; }
/* Orbit chips (shows bottom): neon-on-dark → readable pills on cream */
html.day-mode .orbit-chip,
html.day-mode .orbit-sub {
  background: #fffdf8;
  color: #1a1206;
  box-shadow: 0 3px 10px rgba(26,18,6,0.10);
  /* The neon outline was left at its night value: mint/pink/lilac at 0.4 alpha
     measure 1.17–1.22:1 on a white pill, so every chip looked identical and the
     colour coding was gone. Each chip already carries its own hue in --glow —
     darken it toward the espresso ink so it survives a light background. */
  border-color: color-mix(in srgb, rgb(var(--glow)) 55%, #1a1206);
}
html.day-mode .duck-center .duck-glow { opacity: 0.5; }

/* ════ MOBILE NAV (burger) — desktop nav hides on ≤768px; burger opens a dropdown ════ */
.nav-toggle { display: none; }
@media (max-width: 768px) {
  .header .btn-primary { display: none; }        /* hide header CTA — declutter */
  .header .logo { flex: 1 1 auto; }
  /* bubbles off on phone (were overlapping text) */
  .page-bubbles { display: none !important; }
}
/* Burger below 1200px. Six nav items ("Communion & Schools",
   "Hotels & Corporate") cannot sit between the logo and the theme toggle
   below that. Before 2026-09-14 the burger appeared at 768 while .nav was
   hidden from 900 — tablets in portrait had NO navigation at all. */
@media (max-width: 1199px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--am-stroke); border-radius: 10px;
    cursor: pointer; flex-shrink: 0;
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--am-fg1); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  html.day-mode .nav-toggle { background: rgba(26,18,6,0.05); border-color: rgba(26,18,6,0.15); }
  html.day-mode .nav-toggle span { background: #1a1206; }
  .header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* nav → full-width dropdown panel */
  .header .nav {
    position: absolute; top: 100%; left: 0; right: 0; transform: none;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(9,13,24,0.98); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 6px 22px 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  }
  html.day-mode .header .nav { background: rgba(251,243,224,0.98); border-bottom-color: rgba(26,18,6,0.10); }
  .header.nav-open .nav { display: flex; }
  .header .nav a { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  html.day-mode .header .nav a { border-bottom-color: rgba(26,18,6,0.08); }
  .header .nav a:last-child { border-bottom: none; }
}

/* ════ MOBILE OVERFLOW FIXES (text/buttons/chips were spilling off-screen) ════ */
/* NOTE: high specificity + !important needed to beat page-inline <style> blocks */
@media (max-width: 768px) {
  /* hero text column was 520px wide on a 375px screen → text got clipped */
  .lv-hero .lv-text { max-width: 100% !important; flex-shrink: 1 !important; }
  .lv-hero .lv-sub  { max-width: 100% !important; }
  /* long buttons wrap instead of overflowing */
  .btn { white-space: normal; max-width: 100%; }
  .lv-hero .lv-cta, .cta-row { width: 100%; }
  .lv-hero .lv-cta .btn, .cta-row .btn { width: 100%; }
  /* show-filter: let the long chips scroll horizontally instead of being cut off */
  .filter-bar .fb-inner .filter-row { flex-wrap: nowrap !important; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .filter-bar .fb-inner .filter-row::-webkit-scrollbar { display: none; }
  .filter-bar .fb-inner .ftab { flex-shrink: 0; }
}

/* Day-mode footer */
html.day-mode .footer {
  background: var(--bg-alt);
  border-top-color: rgba(26,18,6,0.08);
}
html.day-mode .footer-bottom { color: var(--text-dim); }

/* Day-mode form inputs */
html.day-mode .form-group input,
html.day-mode .form-group select,
html.day-mode .form-group textarea {
  background: white;
  border-color: rgba(26,18,6,0.15);
  color: var(--text);
}

/* Day-mode separators */
html.day-mode .lv-trust-sep,
html.day-mode hr { background: rgba(255,255,255,0.4); }

/* Day-mode duck logo glow (less golden when on light bg) */
html.day-mode .logo-duck-glow { opacity: 0.4; }

/* ═══ HEADER THEME TOGGLE 🌙/☀️ (universal, all pages) ═══ */
.header-theme {
  display: inline-flex;
  align-items: center; gap: 3px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--am-stroke);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  line-height: 1;
  margin-right: 8px;
  flex-shrink: 0;
  transition: background 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.header-theme:hover { border-color: var(--am-duck-yellow); }
.header-theme .icon-moon,
.header-theme .icon-sun {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 24px;
  border-radius: 999px;
  font-size: 13px; line-height: 1;
  transition: background 240ms var(--ease-out), opacity 240ms var(--ease-out);
}
/* highlight the ACTIVE side, dim the other */
html.night-mode .header-theme .icon-moon { background: var(--gradient-gold); }
html.night-mode .header-theme .icon-sun  { opacity: 0.45; }
html.day-mode   .header-theme .icon-sun  { background: var(--gradient-gold); }
html.day-mode   .header-theme .icon-moon { opacity: 0.45; }
html.day-mode .header-theme {
  background: rgba(26,18,6,0.05);
  border-color: rgba(26,18,6,0.15);
}

/* Hide old hero pill — replaced by header toggle */
.lv-toggle-wrap { display: none !important; }

/* Gradient gold stays gold in both modes (brand color) */
html.day-mode .btn-primary,
html.day-mode .lv-toggle-active,
html.day-mode .pc-excl,
html.day-mode .why-lv-icon,
html.day-mode .ct-icon {
  /* unchanged — gold stays gold */
}

/* ── RESET ──────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* iOS Safari inflates text when the phone is rotated to landscape unless
     this is pinned; and it flashes a grey box on every tap of a link or
     button, which reads as a rendering glitch on a dark site. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-feature-settings: 'ss01', 'cv11';
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── GOLD HEADING ACCENT (solid — no gradient text) ── */
.text-gold {
  color: var(--am-au-gold);
}

/* ── FRAUNCES ITALIC ACCENT ── */
.italic { font-style: italic; }

/* ── EYEBROW PILL (Lovable style) ── */
.pill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  font-size: 12px; color: var(--am-fg2);
  margin-bottom: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pill-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--am-duck-yellow);
  display: inline-block;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ── HEADER / NAV ────────────────────────────────────────────── */
.header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  background: transparent;
  transition: background 500ms ease, border-color 500ms ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(12,18,32,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-weight: 400; font-size: 20px; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--am-fg1);
  text-decoration: none;
}
.logo-duck-wrap {
  position: relative;
  width: 42px; height: 42px; flex-shrink: 0;
}
.logo-duck-glow {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,37,0.45), transparent 70%);
  filter: blur(8px);
  opacity: 0.7;
  transition: opacity 240ms;
}
.logo:hover .logo-duck-glow { opacity: 1; }
.logo-duck-img {
  position: relative; z-index: 1;
  height: 42px; width: 42px;
  object-fit: contain;
  transition: transform 240ms var(--ease-out);
}
.logo:hover .logo-duck-img { transform: rotate(-8deg) scale(1.08); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo span { color: var(--am-duck-yellow); }
.logo-tagline {
  font-family: var(--font);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--am-fg3);
  font-weight: 500;
}

/* Nav links */
.nav { display: flex; gap: 28px; align-items: center; }
/* Center the nav on the page: logo left, nav centered, toggle+CTA right */
.header .container { position: relative; }
.header .logo { flex: 1 1 0; }
/* Desktop only. This sat outside any media query while the burger rule for
   the SAME selector lives in @media (max-width:768px) higher up the file —
   identical specificity, and this one is later, so on a phone it won and
   the dropdown was centred on the header instead of dropping below it. */
@media (min-width: 1200px) {
  .header .nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
}
/* Six items since 2026-09-14 ("Communion & Schools", "Hotels & Corporate").
   Between the burger breakpoint and ~1200px the centred nav wrapped to two
   lines and ran under the theme toggle. Tighten first, then drop "Home" —
   the logo is the home link anyway. */
@media (min-width: 1200px) and (max-width: 1240px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
}
.nav a {
  font-size: 14px; font-weight: 500;
  color: var(--am-fg2);
  transition: color 140ms var(--ease-out);
}
.nav a:hover, .nav a.active { color: var(--am-fg1); }
.nav .lang { font-size: 13px; opacity: .55; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font);
  font-weight: 700; font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), background 140ms;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ── FOCUS — keyboard accessibility (instant, no fade) ── */
:where(a, button, .btn, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 10px;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--am-fg-on-light);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  opacity: 0.92;
  box-shadow: 0 0 0 1px rgba(232,168,37,0.4), 0 20px 50px -8px rgba(232,168,37,0.65);
}

.btn-secondary {
  background: transparent;
  color: var(--am-fg1);
  border: 1px solid var(--am-stroke);
}
.btn-secondary:hover { border-color: var(--am-au-gold); color: var(--am-au-gold); }

.btn-lg { padding: 18px 40px; font-size: 17px; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 15%, rgba(255,61,154,0.10) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(77,201,230,0.08) 0%, transparent 60%),
    var(--am-night);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 28px;
}
.hero h1 .accent { color: var(--am-duck-yellow); }
.hero p.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--am-fg2);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust-strip {
  margin-top: 52px;
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--am-fg3);
}
.trust-strip span { display: flex; align-items: center; gap: 6px; }
.trust-strip strong {
  font-family: var(--font-display);
  font-size: 24px; color: var(--am-fg1);
  font-weight: 400;
}

/* ── DRIFT BUBBLES (Lovable) ── */
.hero-bubbles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(232,168,37,0.08);
  border: 1px solid rgba(232,168,37,0.18);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  animation: drift-up linear infinite;
}
@keyframes drift-up {
  0%   { transform: translateY(100vh) translateX(0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-20vh) translateX(40px) scale(1); opacity: 0; }
}

/* ── FLOAT ANIMATION (duck) ── */
.float-slow { animation: float-slow 8s ease-in-out infinite; }
@keyframes float-slow {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-18px) rotate(2deg); }
}

/* ── REVEAL ON SCROLL ── */
.reveal { opacity: 0; transform: translateY(24px); animation: reveal-in 0.9s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Duck hero image */
.hero-duck-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin: 40px auto 0;
  max-width: 300px; height: 300px;
}
.hero-duck-wrap::before {
  content: "";
  position: absolute; inset: 10%;
  background: radial-gradient(circle, rgba(251,190,11,0.3) 0%, transparent 65%);
  filter: blur(24px);
}
.hero-duck-img {
  position: relative; z-index: 2;
  width: 260px; height: auto;
  filter: drop-shadow(0 22px 36px rgba(0,0,0,0.45));
  animation: am-bob 3.6s ease-in-out infinite;
}
@keyframes am-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

/* ── SECTIONS ────────────────────────────────────────────────── */
section { padding: 96px 0; }

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.03em;
  /* 1.05 made the descenders of line 1 (g, y, p) collide with line 2 —
     Fraunces has unusually deep descenders. */
  line-height: 1.14;
  margin-bottom: 20px;
  color: var(--am-fg1);
}
/* Gold italic accent — bigger and more dramatic */
.section-title em,
.section-title .accent-gold,
.text-gold {
  font-style: normal;
  font-weight: 600;
  color: var(--am-au-gold);
}
/* Why title, Final CTA title — match same upgraded scale */
.why-title,
.final-cta h2 {
  font-size: clamp(40px, 6vw, 76px) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  padding-bottom: 0.12em !important;
}
.section-sub {
  text-align: center;
  color: var(--am-fg2);
  font-size: 17px;
  margin-bottom: 56px;
}

/* Eyebrow label (Lovable style) */
.eyebrow {
  display: block;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--am-au-gold);
  margin-bottom: 16px;
  font-family: var(--font);
}

/* ── PROBLEM / FEATURE CARDS ─────────────────────────────────── */
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.problem-card {
  background: var(--am-midnight);
  padding: 36px 28px; border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--am-stroke);
  box-shadow: var(--sh-card);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card-hover); }
.problem-card .icon { font-size: 44px; margin-bottom: 16px; }
.problem-card h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; }
.problem-card p { color: var(--am-fg2); font-size: 15px; }

/* ── STEPS ───────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 50px;
}
.step { text-align: center; padding: 20px; }
.step .num {
  width: 64px; height: 64px;
  background: var(--am-duck-yellow); color: var(--am-fg-on-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--glow-yellow);
}
.step h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--am-fg2); }

/* ── SHOW CARDS ──────────────────────────────────────────────── */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.show-card {
  background: var(--am-midnight);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--am-stroke);
  box-shadow: var(--sh-card);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  cursor: pointer;
}
.show-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-hover);
}
.show-card .thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--am-deep-blue), var(--am-midnight));
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; position: relative; overflow: hidden;
}
.show-card .thumb::after {
  content: '▶ VIDEO';
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--am-fg1);
}
.show-card .body { padding: 24px; }
.show-card h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.show-card .hook { color: var(--am-fg2); font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
.show-card .price {
  color: var(--am-au-gold);
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.show-card .more { font-size: 14px; color: var(--am-au-gold); font-weight: 600; }

/* ── PACKAGES ────────────────────────────────────────────────── */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pkg {
  background: var(--am-midnight);
  border-radius: var(--radius);
  padding: 40px 28px;
  border: 1px solid var(--am-stroke);
  box-shadow: var(--sh-card);
  position: relative;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--sh-card-hover); }
.pkg.featured {
  border-color: var(--am-duck-yellow);
  transform: scale(1.04);
  box-shadow: var(--glow-yellow);
}
.pkg.featured:hover { transform: scale(1.04) translateY(-4px); }
.pkg.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--am-duck-yellow); color: var(--am-fg-on-light);
  padding: 6px 20px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
}
.pkg .pkg-icon { font-size: 48px; margin-bottom: 12px; text-align: center; }
.pkg h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 8px;
}
.pkg .pkg-price {
  text-align: center; color: var(--am-au-gold);
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800; margin-bottom: 24px;
}
.pkg ul { list-style: none; margin-bottom: 28px; }
.pkg li {
  padding: 10px 0; color: var(--am-fg2);
  border-bottom: 1px solid var(--am-stroke); font-size: 14px;
}
.pkg li::before { content: '✓ '; color: var(--am-duck-yellow); font-weight: 800; }
.pkg .btn { width: 100%; }

/* ── REVIEWS ─────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: var(--am-midnight);
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--am-stroke);
  box-shadow: var(--sh-card);
  position: relative;
}
.review .stars { color: var(--am-duck-yellow); margin-bottom: 12px; font-size: 18px; }
.review p { color: var(--am-fg2); font-size: 15px; line-height: 1.55; margin-bottom: 16px; }
.review .who { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.review .who span { color: var(--am-fg3); font-weight: 400; }

/* ── WHY US ──────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card { text-align: center; padding: 24px 20px; }
.why-card .icon { font-size: 48px; margin-bottom: 14px; }
.why-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; margin-bottom: 6px;
}
.why-card p { color: var(--am-fg2); font-size: 14px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--am-midnight);
  border-radius: 16px;
  margin-bottom: 10px; overflow: hidden;
  border: 1px solid var(--am-stroke);
}
.faq-item summary {
  padding: 22px 28px;
  cursor: pointer; font-weight: 700;
  font-family: var(--font-display);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; color: var(--am-duck-yellow); font-size: 22px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 28px 22px; color: var(--am-fg2); line-height: 1.6; }

/* ── FINAL CTA ───────────────────────────────────────────────── */
.final-cta {
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(251,190,11,0.08) 0%, transparent 60%),
    linear-gradient(135deg, var(--am-midnight), var(--am-night));
  text-align: center; padding: 100px 0;
  border-top: 1px solid var(--am-stroke);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700; letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.final-cta p { color: var(--am-fg2); font-size: 18px; margin-bottom: 36px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: #060B18;
  padding: 64px 0 32px;
  border-top: 1px solid var(--am-stroke);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer h3 {
  font-family: var(--font-display);
  margin-bottom: 16px; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--am-au-gold);
}
.footer ul { list-style: none; }
.footer li { padding: 5px 0; color: var(--am-fg2); font-size: 14px; }
.footer li a:hover { color: var(--am-fg1); }

/* Footer contacts. Two problems here before: emoji standing in for icons, and
   links that looked exactly like the plain text next to them — nothing said
   "this is clickable". Now: one consistent icon set, and a real underline. */
.foot-contact li { display: flex; align-items: center; gap: 9px; }
.foot-contact .fi { width: 16px; height: 16px; flex: none; opacity: 0.7;
  transition: opacity 140ms var(--ease-out); }
.foot-contact li:hover .fi { opacity: 1; }
.footer li a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: color 140ms var(--ease-out), text-decoration-color 140ms var(--ease-out);
}
.footer li a:hover,
.footer li a:focus-visible { text-decoration-color: currentColor; }
.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid var(--am-stroke);
  color: var(--am-fg3); font-size: 13px;
}

/* ── FLOATING BUTTONS ────────────────────────────────────────── */
.floating-chat, .floating-wa {
  position: fixed; bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 200;
  transition: transform 240ms var(--ease-bounce);
}
.floating-chat:hover, .floating-wa:hover { transform: scale(1.12); }
.floating-chat { right: 24px; background: var(--am-duck-yellow); }
.floating-wa   { left:  24px; background: #25D366; color: white; }

/* ── CATEGORY BADGES ─────────────────────────────────────────── */
.cat-badge {
  display: inline-block;
  padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
}
.cat-bubble   { background: rgba(77,201,230,0.15);  color: var(--am-bubble-cyan);   border: 1px solid rgba(77,201,230,0.3); }
.cat-disco    { background: rgba(255,61,154,0.15);  color: var(--am-disco-magenta); border: 1px solid rgba(255,61,154,0.3); }
.cat-paper    { background: rgba(242,199,92,0.15);  color: var(--am-au-gold);       border: 1px solid rgba(242,199,92,0.3); }
.cat-kpop     { background: rgba(255,61,154,0.15);  color: var(--am-disco-magenta); border: 1px solid rgba(255,61,154,0.3); }
.cat-kids     { background: rgba(251,190,11,0.15);  color: var(--am-duck-yellow);   border: 1px solid rgba(251,190,11,0.3); }
.cat-teen     { background: rgba(107,227,182,0.15); color: var(--am-mint-pop);      border: 1px solid rgba(107,227,182,0.3); }
.cat-communion{ background: rgba(107,227,182,0.15); color: var(--am-mint-pop);      border: 1px solid rgba(107,227,182,0.3); }
.cat-seasonal { background: rgba(233,75,31,0.15);   color: var(--am-beak-red);      border: 1px solid rgba(233,75,31,0.3); }

.exclusive-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(90deg, var(--am-disco-magenta), #B44EFF);
  color: white; font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  margin-left: 10px; vertical-align: middle;
}

/* ── SHOW DETAIL ─────────────────────────────────────────────── */
.show-hero {
  padding: 80px 0;
  background: radial-gradient(ellipse at top, var(--am-deep-blue) 0%, var(--bg) 70%);
  text-align: center;
}
.show-hero .video-placeholder {
  max-width: 800px; height: 420px;
  margin: 40px auto;
  background: linear-gradient(135deg, var(--am-deep-blue), var(--am-midnight));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
  border: 1px solid var(--am-stroke);
}
.show-tags {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 30px;
}
.tag {
  background: var(--am-midnight); padding: 8px 18px; border-radius: 999px;
  font-size: 14px; color: var(--am-fg2);
  border: 1px solid var(--am-stroke);
}
/* "What's included" — short labels like "Speaker" or "1 artist". A fixed
   2-column grid left an orphan whenever the count was odd (7 items = one
   lonely box beside a hole), and an 18x22 padded card was mostly chrome for
   two words. Flowing pills wrap to any count and read as one group. */
.included {
  max-width: 700px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.included div {
  background: rgba(255,255,255,0.05);
  padding: 9px 15px;
  border-radius: 999px; font-size: 14px;
  border: 1px solid var(--am-stroke);
  color: var(--text-dim);
  line-height: 1.35;
}
.included div::before { content: '✓ '; color: var(--am-duck-yellow); font-weight: 800; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 1000px; margin: 0 auto;
}
.gallery-grid div {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--am-deep-blue), var(--am-midnight));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; opacity: .7;
}

/* ── BOOK PAGE ───────────────────────────────────────────────── */
.book-wrap { max-width: 900px; margin: 0 auto; }
.steps-bar {
  display: flex; justify-content: space-between;
  margin-bottom: 50px; position: relative;
}
.steps-bar::before {
  content: ''; position: absolute; top: 20px; left: 10%; right: 10%;
  height: 2px; background: var(--am-stroke); z-index: 0;
}
.step-item { position: relative; z-index: 1; text-align: center; flex: 1; }
.step-item .circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--am-midnight); border: 2px solid var(--am-stroke);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; font-weight: 700;
}
.step-item.active .circle {
  background: var(--am-duck-yellow); color: var(--am-fg-on-light);
  border-color: var(--am-duck-yellow);
  box-shadow: var(--glow-yellow);
}
.step-item .label { font-size: 13px; color: var(--am-fg2); }

.calendar {
  background: var(--am-midnight); padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--am-stroke);
}
.cal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.cal-header h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-grid .day-name {
  text-align: center; padding: 10px 0;
  font-size: 12px; color: var(--am-fg3); font-weight: 700; letter-spacing: 0.05em;
}
.cal-grid .day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03); border-radius: 10px;
  cursor: pointer; font-size: 14px;
  transition: background 140ms; position: relative;
}
.cal-grid .day:hover { background: rgba(251,190,11,0.12); }
.cal-grid .day.available::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; position: absolute; bottom: 5px;
}
.cal-grid .day.partial::after { background: var(--am-duck-yellow); }
.cal-grid .day.booked {
  color: rgba(255,255,255,0.18); cursor: not-allowed; text-decoration: line-through;
}
.cal-grid .day.booked::after { background: #ef4444; }
.cal-grid .day.empty { background: transparent; cursor: default; }

.slots { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.slot {
  padding: 10px 20px;
  background: rgba(251,190,11,0.08);
  border: 1px solid rgba(251,190,11,0.4);
  border-radius: 999px; color: var(--am-duck-yellow);
  font-weight: 600; cursor: pointer;
  transition: all 140ms var(--ease-out);
}
.slot:hover { background: var(--am-duck-yellow); color: var(--am-fg-on-light); }
.slot.taken {
  background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.2);
  border-color: var(--am-stroke); cursor: not-allowed; text-decoration: line-through;
}

/* Summary box on book page */
.summary-box {
  background: var(--am-midnight); padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--am-duck-yellow); margin-top: 30px;
  box-shadow: var(--glow-yellow);
}
.summary-box .total {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800; color: var(--am-duck-yellow); margin-top: 12px;
}

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-card {
  background: var(--am-midnight); padding: 24px 28px; border-radius: var(--radius);
  border: 1px solid var(--am-stroke); margin-bottom: 14px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: var(--sh-card);
  transition: transform 240ms var(--ease-out), border-color 240ms;
}
.contact-card:hover { transform: translateX(4px); border-color: var(--am-au-gold); }
.contact-card .icon { font-size: 36px; }
.contact-card h4 {
  font-size: 12px; color: var(--am-fg3);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px;
}
.contact-card .value {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
}

/* Form inputs */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-size: 13px; color: var(--am-fg2); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--am-stroke);
  border-radius: 16px;
  color: var(--am-fg1); font-size: 15px; font-family: var(--font);
  transition: border-color 140ms var(--ease-out), box-shadow 140ms;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--am-au-gold);
  box-shadow: 0 0 0 3px rgba(242,199,92,0.15);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .problems, .steps, .shows-grid, .packages,
  .reviews-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pkg.featured { transform: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 60px; }
}

/* ── BACK TO TOP ─────────────────────────────────────────────────
   Small arrow, bottom-right. Appears only once you are past the
   middle of the page AND start scrolling up. Click → very top.
   Markup is injected by back-to-top.js (no per-page markup).      */
.back-to-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: calc(clamp(16px, 3vh, 28px) + env(safe-area-inset-bottom, 0px));
  z-index: 300;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  /* Frosted white glass — deliberately not a site colour, so it never
     disappears into whatever section it happens to be floating over. */
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
          backdrop-filter: blur(14px) saturate(150%);
  color: #FFFFFF;
  box-shadow: 0 8px 26px rgba(0,0,0,0.40),
              inset 0 1px 0 rgba(255,255,255,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 220ms ease,
              transform 220ms var(--ease-bounce, cubic-bezier(0.34,1.56,0.64,1)),
              visibility 220ms,
              background 180ms ease, color 180ms ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; height: 20px; display: block; }
.back-to-top:hover { background: rgba(255,255,255,0.30); border-color: rgba(255,255,255,0.65); }
.back-to-top:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Light theme: cream background, so the glass goes brighter-than-white with a
   dark arrow — still a frosted bubble, still clearly sitting on top. */
html.day-mode .back-to-top {
  background: rgba(255,255,255,0.70);
  border-color: rgba(255,255,255,0.95);
  color: var(--am-fg-on-light);
  box-shadow: 0 8px 24px rgba(26,18,6,0.22),
              inset 0 1px 0 rgba(255,255,255,0.85);
}
html.day-mode .back-to-top:hover { background: rgba(255,255,255,0.92); }

/* No backdrop-filter (older Firefox, some Android WebViews) — go solid so it
   still reads as a bubble instead of a faint transparent smudge. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .back-to-top { background: rgba(255,255,255,0.88); color: var(--am-fg-on-light); }
  html.day-mode .back-to-top { background: #FFFFFF; }
}

@media (max-width: 600px) { .back-to-top { width: 44px; height: 44px; } }

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transform: none; transition: opacity 120ms ease, visibility 120ms; }
}


/* ── DAY MODE — text colours that only worked on the dark palette ──────
   Gold (#FBBE0B / #F2C75C) and cream (#F5F0E8) read fine on night navy and
   disappear on cream/white. Everything here re-inks TEXT only; gold fills,
   borders and icons are deliberately left alone. */

/* Gold text → dark amber */
html.day-mode .logo span,
html.day-mode .hero h1 .accent,
html.day-mode .section-title em,
html.day-mode .section-title .accent-gold,
html.day-mode .text-gold,
html.day-mode .review .stars,
html.day-mode .footer-bottom a,
html.day-mode .legal-doc a,
html.day-mode .pc-meta,
html.day-mode .fr-stars,
html.day-mode .program-price,
html.day-mode .shows-hero-sub a,
html.day-mode .shows-hero-note a,
html.day-mode .act-card .act-rate,
html.day-mode .ct-info-eyebrow,
html.day-mode .gold-ink { color: var(--gold-ink); }

/* Cream text stranded on white cards */
html.day-mode .pc-price { color: var(--text-dim); }
html.day-mode .pc-arrow { color: var(--text); border-color: rgba(26,18,6,0.22); }

/* Category tiles on the home page are a PHOTO with a dark scrim, in BOTH
   themes — the overlay gradient ends at rgba(10,14,26,0.95). The day-mode sweep
   above treated their text like text on a light card and turned it dark, so on
   a light theme the labels were dark ink on a near-black gradient: invisible.
   They keep the night treatment. */
html.day-mode .pc-name  { color: #FFF8EC; }
html.day-mode .pc-tag   { color: rgba(245,240,232,0.65); }
html.day-mode .pc-meta  { color: var(--am-duck-yellow, #FBBE0B); }
html.day-mode .pc-price { color: rgba(245,240,232,0.9); }
html.day-mode .pc-arrow { color: rgba(245,240,232,0.7); border-color: rgba(255,255,255,0.2); }

/* Category badges — pastel ink on a pastel tint of itself */
html.day-mode .cat-bubble    { color: #0f6e85; border-color: rgba(15,110,133,0.35); }
html.day-mode .cat-disco,
html.day-mode .cat-kpop      { color: #a8115c; border-color: rgba(168,17,92,0.35); }
html.day-mode .cat-paper,
html.day-mode .cat-kids      { color: var(--gold-ink); border-color: rgba(138,93,0,0.35); }
html.day-mode .cat-teen,
html.day-mode .cat-communion { color: #0b5a42; border-color: rgba(11,90,66,0.35); }
html.day-mode .cat-seasonal  { color: #a83313; border-color: rgba(168,51,19,0.35); }

/* Unfilled legal placeholders */
html.day-mode .legal-todo { color: #b3300e; }

/* Shared hook for the handful of gold texts that were written inline */
.gold-ink { color: var(--gold); }

/* Hairlines, chips and tinted surfaces that were drawn in white-on-dark and
   therefore disappear completely on the cream/white day palette. */
html.day-mode .tier-switch button:not(.on),
html.day-mode .face-tags span {
  border-color: rgba(26,18,6,0.20);
  background: rgba(26,18,6,0.04);
}
html.day-mode .tier-switch button:hover { border-color: var(--gold-ink); }
html.day-mode .shows-section,
html.day-mode .shows-duck-hero,
html.day-mode .sf-nav        { border-top-color: rgba(26,18,6,0.12); }
html.day-mode .section-hero  { border-bottom-color: rgba(26,18,6,0.12); }
html.day-mode .program-card .inc li,
html.day-mode .show-modal-body .inc li { border-bottom-color: rgba(26,18,6,0.10); }
html.day-mode .show-modal-box,
html.day-mode .act-card,
html.day-mode .sf-card,
html.day-mode .sf-opt,
html.day-mode .hairline      { border-color: rgba(26,18,6,0.14); }
html.day-mode .act-card .act-meta { border-top-color: rgba(26,18,6,0.12); }
html.day-mode .sf-card,
html.day-mode .sf-opt        { background: rgba(26,18,6,0.03); }

/* Gold tick marks / plus signs read as smudges on cream */
html.day-mode .pkg li::before,
html.day-mode .included div { background: rgba(26,18,6,0.05); border-color: rgba(26,18,6,0.14); }
html.day-mode .included div::before,
html.day-mode .show-modal-body .inc li::before,
html.day-mode .faq-item summary::after { color: var(--gold-ink); }

/* Utility hooks for the few surfaces written as inline styles */
.hairline  { border: 1px solid rgba(255,255,255,0.08); }
.note-gold { background: rgba(255,204,0,0.07); border: 1px solid rgba(255,204,0,0.15); }
html.day-mode .note-gold { background: rgba(184,130,26,0.10); border-color: rgba(138,93,0,0.30); }
.note-warm { background: rgba(255,122,69,0.10); border: 1px solid rgba(255,122,69,0.2); }
html.day-mode .note-warm { background: rgba(201,84,42,0.10); border-color: rgba(168,51,19,0.32); }

/* ── ANTI-SLOP GATES ─────────────────────────────────────────────
   Gate 38a — emphasis inside a heading is carried by weight or colour,
   never by italic (italic-in-heading is one of the most reliable AI tells).
   Four of six heading <em> already did this via .section-title em; the hero
   H1 and one section H2 were missed. */
:is(h1, h2, h3, h4, h5, h6, .lv-h1, .why-title, .shows-hero-title) :is(em, i) {
  font-style: normal;
  font-weight: 600;
}
/* Headings over the hero photo keep white — weight alone carries the emphasis.
   Elsewhere use the accent, matching what .section-title em already does. */
:is(h2, h3) :is(em, i):not(.text-gold) { color: var(--gold); }
html.day-mode :is(h2, h3) :is(em, i):not(.text-gold) { color: var(--gold-ink); }

/* Gate 49 — no clickable text may wrap onto a second line */
.footer-bottom a { white-space: nowrap; }

/* Gate 48 — K-Pop card + note tints were written as inline rgba(), which no
   theme rule can reach. Same root cause as the day-mode contrast bugs. */
.show-card.card-kpop { border-color: rgba(255,100,180,0.30); }
html.day-mode .show-card.card-kpop { border-color: rgba(168,17,92,0.32); }
.show-card.card-communion { border-color: rgba(200,160,255,0.30); }
.note-magenta   { background: rgba(255,61,154,0.08); border: 1px solid rgba(255,61,154,0.20); }
html.day-mode .note-magenta { background: rgba(168,17,92,0.07); border-color: rgba(168,17,92,0.28); }
