/* ============================================================
   TigerTax — Premium tax & bookkeeping
   Brand: deep emerald green · white · black ink
   Type:  Fraunces (display serif) · Plus Jakarta Sans (body)
          Noto Sans Tamil (Tamil glyphs)
   Mobile-first. Light + dark theme.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --green:        #0F5132;
  --green-700:    #0B3F28;
  --green-900:    #0A3322;
  --green-bright: #2DA56B;
  --green-50:     #EAF3ED;
  --green-tint:   #F2F7F3;

  --bg:      #FFFFFF;
  --paper:   #FBFCFB;
  --ink:     #0E1311;
  --sub:     #51605A;
  --muted:   #7A867F;
  --border:  rgba(14, 19, 17, 0.10);
  --border2: rgba(14, 19, 17, 0.16);
  --on-green:#F3FAF6;

  --shadow-s: 0 1px 2px rgba(11, 61, 41, 0.06), 0 2px 6px rgba(11, 61, 41, 0.05);
  --shadow:   0 6px 18px rgba(11, 61, 41, 0.08), 0 2px 6px rgba(11, 61, 41, 0.05);
  --shadow-l: 0 24px 60px rgba(11, 61, 41, 0.14), 0 8px 20px rgba(11, 61, 41, 0.08);

  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --font-d: "Fraunces", Georgia, "Times New Roman", serif;
  --font-b: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ta: "Noto Sans Tamil", "Plus Jakarta Sans", sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1200px;
  --pad: 20px;
  --nav-h: 64px;
}

[data-theme="dark"] {
  --green:        #2FA86E;
  --green-700:    #259A62;
  --green-900:    #0E1F18;
  --green-bright: #4BD79C;
  --green-50:     #11251C;
  --green-tint:   #0F1D17;

  --bg:      #0A1310;
  --paper:   #0E1A15;
  --ink:     #EAF2ED;
  --sub:     #A9B8B0;
  --muted:   #7E8E85;
  --border:  rgba(234, 242, 237, 0.12);
  --border2: rgba(234, 242, 237, 0.20);
  --on-green:#06120D;

  --shadow-s: 0 1px 2px rgba(0,0,0,0.4);
  --shadow:   0 6px 20px rgba(0,0,0,0.45);
  --shadow-l: 0 28px 64px rgba(0,0,0,0.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

/* ---------- Trilingual visibility ---------- */
.t-fr, .t-ta { display: none; }
[data-lang="fr"] .t-en, [data-lang="fr"] .t-ta { display: none; }
[data-lang="fr"] .t-fr { display: revert; }
[data-lang="ta"] .t-en, [data-lang="ta"] .t-fr { display: none; }
[data-lang="ta"] .t-ta { display: revert; }
[data-lang="ta"] body, [data-lang="ta"] { --font-b: var(--font-ta); }
[data-lang="ta"] .t-ta { font-family: var(--font-ta); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: 72px; position: relative; }
.section-head { max-width: 640px; margin-bottom: 40px; }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }
h2 { font-size: clamp(2rem, 7vw, 3.1rem); font-optical-sizing: auto; }
h3 { font-size: 1.3rem; line-height: 1.15; }
.lede { font-size: 1.06rem; color: var(--sub); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  min-height: 52px; transition: transform 0.25s var(--ease-out), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--green); color: var(--on-green); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-l); }
/* dark mode: keep CTAs the same dark green as light mode (match the orbit CTA) */
[data-theme="dark"] .btn--primary { background: #0F5132; color: #F3FAF6; }
[data-theme="dark"] .btn--primary:hover { background: #14633F; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border2); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--light { background: var(--on-green); color: var(--green-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.btn svg { width: 17px; height: 17px; }

/* Orbit glow button — faithful rebuild of Framer OrbitGlowButton (dark green)
   comet conic on a 500% spinning disc, shown through two XOR-masked rings:
   a blurred glow band + a sharp 1.5px border band. */
.orbit {
  --comet: 47,168,110;            /* #2FA86E */
  --orbit-fill: #0F5132;          /* brand dark green */
  position: relative; display: inline-flex; border-radius: 100px; cursor: pointer; text-decoration: none;
  filter: drop-shadow(0 0 14px rgba(var(--comet),0.5)) drop-shadow(0 0 35px rgba(var(--comet),0.2));
  transition: filter 0.4s ease, transform 0.35s cubic-bezier(.34,1.56,.64,1);
  isolation: isolate;
}
.orbit:hover { transform: scale(1.04); filter: drop-shadow(0 0 25px rgba(var(--comet),0.8)) drop-shadow(0 0 70px rgba(var(--comet),0.35)); }
.orbit__glow, .orbit__ring {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
}
.orbit__glow { z-index: 0; filter: blur(14px); opacity: 0.9; padding: 22.5px; }
.orbit__ring { z-index: 2; padding: 1.5px; }
.orbit__disc {
  position: absolute; width: 500%; height: 500%; top: -200%; left: -200%; border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(var(--comet),0) 0deg, rgba(var(--comet),0) 6deg, rgba(var(--comet),0) 264deg,
    rgba(var(--comet),.01) 271.2deg, rgba(var(--comet),.02) 277.5deg, rgba(var(--comet),.03) 283.8deg,
    rgba(var(--comet),.05) 291deg, rgba(var(--comet),.08) 298.2deg, rgba(var(--comet),.12) 305.4deg,
    rgba(var(--comet),.18) 312.6deg, rgba(var(--comet),.26) 319.8deg, rgba(var(--comet),.36) 327deg,
    rgba(var(--comet),.48) 333.3deg, rgba(var(--comet),.6) 338.7deg, rgba(var(--comet),.72) 343.2deg,
    rgba(var(--comet),.82) 346.8deg, rgba(var(--comet),.92) 350.4deg, rgba(var(--comet),1) 354deg,
    rgba(var(--comet),.6) 356deg, rgba(var(--comet),.2) 358deg, rgba(var(--comet),0) 360deg);
  animation: orbit-spin 3.5s linear infinite; will-change: transform; backface-visibility: hidden;
}
.orbit__border { position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid rgba(var(--comet),0.18); z-index: 1; pointer-events: none; }
.orbit__fill {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 15px 28px; margin: 1.5px; border-radius: 98.5px; background: var(--orbit-fill); color: #fff;
  font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden;
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); min-height: 52px; box-sizing: border-box;
}
.orbit__fill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(165deg, rgba(255,255,255,0.07) 0%, transparent 50%); pointer-events: none; }
.orbit__fill svg { width: 17px; height: 17px; position: relative; }
.orbit__arrow { transition: transform 0.3s ease; }
.orbit:hover .orbit__arrow { transform: translateX(4px); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit__disc { animation: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-s);
}
.nav__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: "PP Hatton", var(--font-d); font-weight: 500; font-size: 1.34rem; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--green); font-weight: 700; }
/* deeper green for the wordmark on dark backgrounds */
[data-theme="dark"] .brand b { color: #1E8A55; }

.nav__links { display: none; }
.nav__links a { font-size: 0.94rem; font-weight: 500; color: var(--sub); position: relative; padding-block: 6px; transition: color 0.2s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--green); transition: width 0.28s var(--ease-out); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__tools { display: flex; align-items: center; gap: 8px; }

/* language switch */
.lang { display: inline-flex; align-items: center; background: var(--green-tint); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; }
.lang button { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; padding: 6px 9px; border-radius: var(--r-pill); color: var(--muted); transition: all 0.2s var(--ease); min-width: 34px; }
.lang button.active { background: var(--green); color: var(--on-green); }

.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--ink); transition: all 0.2s var(--ease); }
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }

.nav__cta { display: none; }

.burger { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
body.menu-open .burger span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--bg);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
  display: flex; flex-direction: column; padding: 24px var(--pad) 40px;
  overflow-y: auto;
}
body.menu-open .drawer { transform: translateY(0); opacity: 1; pointer-events: auto; }
.drawer a.drawer__link { font-family: var(--font-d); font-size: 2rem; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.drawer .btn { margin-top: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px;
  overflow: hidden; text-align: center;
  background:
    radial-gradient(120% 80% at 100% 0%, var(--green-50) 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 100%, var(--green-tint) 0%, transparent 50%),
    var(--bg);
}
.hero__mist { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  /* faint radial fade so the mist concentrates toward the edges and stays
     light behind the centered hero copy for legibility */
  -webkit-mask-image: radial-gradient(125% 95% at 50% 38%, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.6) 40%, #000 75%);
          mask-image: radial-gradient(125% 95% at 50% 38%, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.6) 40%, #000 75%); }
.hero__grain { position: absolute; inset: 0; z-index: 0; opacity: 0.4; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }

.hero__tag { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-s); font-size: 0.82rem; font-weight: 600; color: var(--sub); margin-bottom: 22px; }
.hero__tag .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--on-green); display: inline-grid; place-items: center; font-size: 0.7rem; }

.hero h1 { font-size: clamp(2.6rem, 12vw, 5.2rem); line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--green); font-style: italic; font-weight: 500; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero__inner > div { width: 100%; }
.hero__tag { margin-inline: auto; }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero__sub { font-size: 1.12rem; color: var(--sub); max-width: 52ch; margin: 22px auto 0; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }
.hero__cta .btn { flex: 1 1 auto; }

.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 44px auto 0; max-width: 760px; width: 100%; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.hero__stats .stat { background: var(--bg); padding: 22px 18px; }
.stat__num { font-family: var(--font-d); font-size: 1.9rem; font-weight: 600; color: var(--green); line-height: 1; }
.stat__label { font-size: 0.82rem; color: var(--muted); margin-top: 7px; }

/* ============================================================
   SERVICES
   ============================================================ */
/* ------------------------------------------------------------
   Aurora Bento (faithful rebuild of the Framer "Aurora Bento"):
   white tiles in a 3-col bento grid (large 2x2 · tall 1x2 · smalls
   · wide 3x1). On hover each tile lights up: a cursor-following
   radial backdrop glow + a green conic-masked "aurora" border that
   rotates toward the pointer. JS (services-bento.js) feeds --mx/--my
   and --start; activation is CSS :hover. Theme-token based.
   ------------------------------------------------------------ */
/* mobile: horizontal swipeable rail (one card at a time, peek of next) */
.bento {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  /* lock the swipe to horizontal so a diagonal/vertical drag can't hijack it */
  touch-action: pan-x; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); padding-bottom: 8px;
  scroll-padding-inline-start: var(--pad); scrollbar-width: none;
}
.bento::-webkit-scrollbar { display: none; }
.bento-tile {
  position: relative; border-radius: 20px; isolation: isolate;
  flex: 0 0 84%; max-width: 340px; scroll-snap-align: start;
}
.bento-tile .bento-card { min-height: 250px; }
/* cursor-following soft glow behind the tile */
.bento-backdrop {
  position: absolute; inset: -24px; border-radius: 32px; pointer-events: none; z-index: 0;
  background: radial-gradient(192px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--green) 32%, transparent), transparent 70%);
  filter: blur(12px);
  opacity: 0; transition: opacity 420ms ease;
}
/* green conic-masked glowing border ("aurora") — revealed on hover */
.glow-ring {
  --spread: 38; --start: 0; --border-width: 1.6px;
  --gradient: conic-gradient(from 0deg at 50% 50%, var(--green), var(--green));
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
}
.glow-ring::after {
  content: ""; position: absolute; inset: calc(-1 * var(--border-width));
  border: var(--border-width) solid transparent; border-radius: inherit;
  background: var(--gradient);
  opacity: 0; transition: opacity 320ms ease;
  -webkit-mask-clip: padding-box, border-box; mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(#0000, #0000),
    conic-gradient(from calc((var(--start) - var(--spread)) * 1deg),
      transparent 0deg, #fff, transparent calc(var(--spread) * 2deg));
          mask-image:
    linear-gradient(#0000, #0000),
    conic-gradient(from calc((var(--start) - var(--spread)) * 1deg),
      transparent 0deg, #fff, transparent calc(var(--spread) * 2deg));
}
.bento-tile:hover .bento-backdrop { opacity: 1; }
.bento-tile:hover .glow-ring::after { opacity: 1; }

/* white content panel */
.bento-card {
  position: relative; z-index: 2; width: 100%; height: 100%; box-sizing: border-box;
  background: var(--bg); border: 1px solid var(--border); border-radius: 20px;
  padding: 24px; overflow: hidden; display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
}
.bento-tile:hover .bento-card { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento-card__viz {
  position: relative; flex: 1; min-height: 80px;
  display: flex; align-items: center; justify-content: var(--viz-justify, flex-start);
  color: var(--green);
}
.bento-card__viz svg { display: block; }
.bento-card__text { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.bento-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green); margin-bottom: 2px;
}
.bento-card h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
.bento-card p { font-size: 0.9rem; line-height: 1.55; color: var(--sub); margin: 0; }

/* shuffling files graphic (Bookkeeping tall tile) */
.viz-files { position: relative; }
.bento-tile.is-tall .bento-card__viz .viz-files { width: 116px; height: 116px; }
.viz-files .file {
  position: absolute; top: 50%; left: 50%; width: 60px; height: 80px;
  margin: -40px 0 0 -30px; border: 1.5px solid var(--green); border-radius: 7px;
  background: var(--bg); box-sizing: border-box;
}
.viz-files .file::before {
  content: ""; position: absolute; left: 16%; right: 34%; top: 22%; height: 2px;
  background: var(--green); opacity: 0.55; border-radius: 2px;
}
.viz-files .file::after {
  content: ""; position: absolute; left: 16%; right: 16%; top: 40%; bottom: 22%;
  background: repeating-linear-gradient(var(--green) 0 2px, transparent 2px 9px);
  opacity: 0.32;
}
/* static fan — what reduced-motion users see */
.viz-files .f1 { transform: translate(0, 3px) rotate(-7deg); z-index: 3; }
.viz-files .f2 { transform: translate(1px, -3px) rotate(4deg); z-index: 2; }
.viz-files .f3 { transform: translate(-1px, -9px) rotate(1deg); z-index: 1; }

/* ---- animated service visuals (one per tile, loop; reduced-motion pauses) ---- */
.bento-card__viz [class^="viz-"] { width: 46px; height: 46px; color: var(--green); overflow: visible; }
.bento-tile.is-large .bento-card__viz .viz-chart { width: 62px; height: 62px; }
.bento-tile.is-wide  .bento-card__viz .viz-search { width: 78px; height: 48px; }
.viz-chart .ln, .viz-clock circle, .viz-clock .hand { stroke: currentColor; }

/* Base (static) states — what reduced-motion users see */
.viz-chart .ln { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.viz-chart .dot { fill: currentColor; transform-box: fill-box; transform-origin: center; }
.viz-person .ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.viz-person .figure { transform-box: fill-box; transform-origin: 50% 100%; }
.viz-bars rect { fill: currentColor; transform-box: fill-box; transform-origin: 50% 100%; }
.viz-clock circle { fill: none; stroke-width: 2; }
.viz-clock .hand { stroke-width: 2.2; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 100%; }
.viz-clock .tick { fill: currentColor; }
.viz-search .doc { opacity: 0.28; }
.viz-search .lens { transform-box: fill-box; transform-origin: center; transform: translate(34px, 18px); }

/* Animations (loop) — only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  /* Income Tax Filing — line draws upward, end-dot pulses */
  .viz-chart .ln { stroke-dasharray: 74; stroke-dashoffset: 74; animation: viz-draw 3.4s var(--ease-out) infinite; }
  .viz-chart .dot { animation: viz-pulse 3.4s ease infinite; }
  /* Tax Consultation — an individual with a pulsing presence ring */
  .viz-person .ring { animation: viz-ring 2.8s ease-out infinite; }
  .viz-person .figure { animation: viz-breath 2.8s ease-in-out infinite; }
  /* Bookkeeping — files shuffle through the stack */
  .viz-files .file { animation: viz-shuffle 3.6s ease-in-out infinite; }
  .viz-files .f2 { animation-delay: 1.2s; }
  .viz-files .f3 { animation-delay: 2.4s; }
  /* Financial Statements — bars grow in a staggered wave */
  .viz-bars .b1 { animation: viz-grow 1.9s ease infinite; }
  .viz-bars .b2 { animation: viz-grow 1.9s ease infinite .14s; }
  .viz-bars .b3 { animation: viz-grow 1.9s ease infinite .28s; }
  .viz-bars .b4 { animation: viz-grow 1.9s ease infinite .42s; }
  /* GST/QST Returns — clock hand sweeps the year */
  .viz-clock .hand { animation: viz-sweep 4.5s linear infinite; }
  /* Audit Support — magnifier scans across the documents */
  .viz-search .lens { animation: viz-scan 5.4s ease-in-out infinite; }
}
@keyframes viz-draw { 0% { stroke-dashoffset: 74; } 55% { stroke-dashoffset: 0; } 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 74; } }
@keyframes viz-pulse { 0%,48% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.35); opacity: 1; } 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: .35; } }
@keyframes viz-ring { 0% { transform: scale(.55); opacity: .55; } 70% { opacity: 0; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes viz-breath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes viz-shuffle {
  0%   { transform: translate(0, 3px) rotate(-7deg); z-index: 3; }
  14%  { transform: translate(-16px, -16px) rotate(-20deg); z-index: 3; }
  28%  { transform: translate(-1px, -9px) rotate(1deg); z-index: 1; }
  64%  { transform: translate(1px, -3px) rotate(4deg); z-index: 2; }
  100% { transform: translate(0, 3px) rotate(-7deg); z-index: 3; }
}
@keyframes viz-grow { 0%,100% { transform: scaleY(.28); } 50% { transform: scaleY(1); } }
@keyframes viz-sweep { to { transform: rotate(360deg); } }
@keyframes viz-scan {
  0%   { transform: translate(16px, 15px); }
  26%  { transform: translate(46px, 15px); }
  50%  { transform: translate(33px, 26px); }
  74%  { transform: translate(20px, 20px); }
  100% { transform: translate(16px, 15px); }
}

/* ============================================================
   WHY / VALUE PROPS
   ============================================================ */
/* This band is always dark green in both themes — text stays fixed light. */
.why { background: #0B3D29; color: #F3FAF6; border-radius: 0; }
[data-theme="dark"] .why { background: #0C2A1E; border-top: 1px solid rgba(243,250,246,0.08); border-bottom: 1px solid rgba(243,250,246,0.08); }
.why h2, .why .stat__num { color: #F3FAF6; }
.why .lede { color: rgba(243, 250, 246, 0.72); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
.why-card { padding: 24px; border: 1px solid rgba(243, 250, 246, 0.14); border-radius: var(--r); background: rgba(243, 250, 246, 0.03); transition: background 0.3s var(--ease), transform 0.3s var(--ease-out); }
.why-card:hover { background: rgba(243, 250, 246, 0.07); transform: translateY(-3px); }
.why-card .n { font-family: var(--font-d); font-size: 0.95rem; color: #5BD89C; }
.why-card h3 { color: #F3FAF6; margin: 10px 0 6px; font-size: 1.15rem; }
.why-card p { font-size: 0.92rem; color: rgba(243, 250, 246, 0.66); }

/* ============================================================
   THE SHOW (YouTube)
   ============================================================ */
.yt {
  position: relative; aspect-ratio: 16 / 9; background: var(--green-900); cursor: pointer;
  display: grid; place-items: center; overflow: hidden;
}
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.5s var(--ease-out), opacity 0.3s var(--ease); }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt__play { position: relative; z-index: 2; width: 66px; height: 66px; border-radius: 50%; background: var(--green); color: var(--on-green); display: grid; place-items: center; box-shadow: var(--shadow-l); transition: transform 0.25s var(--ease-out), background 0.25s var(--ease); }
.yt:hover .yt__play { transform: scale(1.08); background: var(--green-700); }
.yt__play svg { width: 26px; height: 26px; margin-left: 3px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
/* Featured + playlist */
.show__player-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.show__feature .yt { border-radius: var(--r-lg); box-shadow: var(--shadow-l); border: 1px solid var(--border); }
.show__feature .show__meta { padding: 16px 2px 0; }
.show__meta h3 { font-size: 1.15rem; line-height: 1.2; }
.ep-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.show__meta .guest { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }

/* playlist — MOBILE: horizontal swipe rail of cards (edge-to-edge) */
.show__list {
  display: flex; flex-direction: row; gap: 12px; margin-top: 20px;
  /* top+bottom room so the active item's green outline isn't clipped by the scroll container */
  padding-top: 6px; padding-bottom: 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  touch-action: pan-x; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad);
  scroll-padding-inline-start: var(--pad);
  scrollbar-width: none;
}
.show__list::-webkit-scrollbar { display: none; }
.show__list-item {
  flex: 0 0 72%; max-width: 260px; display: flex; flex-direction: column;
  scroll-snap-align: start; cursor: pointer; border: 0; padding: 0; background: none;
  transition: transform 0.2s var(--ease);
}
.show__list-item:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 12px; }
.li-thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--green-900); flex: none; transition: outline 0.2s var(--ease); outline: 2px solid transparent; outline-offset: 2px; }
.li-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease-out); }
.show__list-item:hover .li-thumb img { transform: scale(1.05); }
.li-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(11,61,41,0.28); transition: opacity 0.2s var(--ease); }
.show__list-item:hover .li-play, .show__list-item.is-active .li-play { opacity: 1; }
.li-play svg { width: 26px; height: 26px; color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.45)); }
.li-text { min-width: 0; padding: 8px 2px 0; }
.li-ep { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.li-title { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 0.95rem; line-height: 1.25; margin: 2px 0 3px; }
.li-guest { font-size: 0.8rem; color: var(--muted); }
.show__list-item.is-active .li-thumb { outline-color: var(--green); }
.show__list-item.is-active .li-title { color: var(--green-700); }
.show__cta { margin-top: 40px; text-align: center; }

/* "Write-Off" felt-pen wordmark — Linotype Feltpen (licensed, self-hosted) */
@font-face {
  font-family: "Linotype Feltpen";
  src: url("../fonts/linotype-feltpen-regular.woff2") format("woff2"),
       url("../fonts/linotype-feltpen-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Linotype Feltpen";
  src: url("../fonts/linotype-feltpen-medium.woff2") format("woff2"),
       url("../fonts/linotype-feltpen-medium.woff") format("woff");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
.feltpen {
  font-family: "Linotype Feltpen", "Permanent Marker", var(--font-d);
  font-weight: 500;
  font-style: normal;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  /* optically balance the marker face against the serif */
  font-size: 1.05em;
  padding-inline: 0.06em;
}

/* PP Hatton — TigerTax logo wordmark (licensed, self-hosted) */
@font-face {
  font-family: "PP Hatton";
  src: url("../fonts/pphatton-medium.woff2") format("woff2"),
       url("../fonts/pphatton-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Hatton";
  src: url("../fonts/pphatton-bold.woff2") format("woff2"),
       url("../fonts/pphatton-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   INSTAGRAM REELS
   ============================================================ */
/* its own delineated band so Reviews reads as a separate section below */
.reels { background: var(--paper); border-block: 1px solid var(--border); }
.reels__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.reels__intro { max-width: 560px; }
.reels__intro .lede { margin-top: 10px; }
.reels__follow {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-size: 0.92rem; font-weight: 600; color: var(--green);
  padding: 9px 15px; border-radius: var(--r-pill); border: 1px solid var(--border2);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease-out), background 0.2s var(--ease);
}
.reels__follow svg { width: 18px; height: 18px; }
.reels__follow:hover { border-color: var(--green); background: var(--green-tint); transform: translateY(-2px); }

/* mobile: horizontal swipeable rail (same recipe as .show__list) */
.reels__rail {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  touch-action: pan-x; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); padding-bottom: 6px;
  scroll-padding-inline-start: var(--pad); scrollbar-width: none;
}
.reels__rail::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 60%; max-width: 230px; scroll-snap-align: start; }
.reel__media {
  position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 16px;
  overflow: hidden; background: var(--green-900);
  box-shadow: var(--shadow-s); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease);
}
.reel:hover .reel__media { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.reel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.reel:hover .reel__media img { transform: scale(1.05); }
/* branded fallback when a cover image is missing */
.reel__media--ph { background: linear-gradient(160deg, var(--green) 0%, var(--green-900) 100%); }
.reel__media--ph::after {
  content: ""; position: absolute; inset: 0; opacity: 0.16;
  background: no-repeat center / 46px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23ffffff'/%3E%3C/svg%3E");
}
.reel__play {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--on-green);
  display: grid; place-items: center; box-shadow: var(--shadow-l);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease);
}
.reel:hover .reel__play { transform: translate(-50%, -50%) scale(1.1); background: var(--green-700); }
[data-theme="dark"] .reel__play { background: #0F5132; color: #F3FAF6; }
.reel__play svg { width: 22px; height: 22px; margin-left: 2px; }

/* ============================================================
   FOUNDER (Meet Puva)
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.founder__photo { position: relative; }
.founder__photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-l); }
.founder__photo .badge {
  position: absolute; bottom: -14px; left: 16px; right: 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 14px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.founder__photo .badge .sig { font-family: var(--font-d); font-style: italic; font-size: 1.2rem; color: var(--green); }
.founder__photo .badge small { color: var(--muted); font-size: 0.78rem; }
.founder blockquote { font-family: var(--font-d); font-size: clamp(1.3rem, 5vw, 1.75rem); line-height: 1.3; color: var(--ink); margin: 18px 0; }
.founder .lede { margin-bottom: 14px; }
.founder__signoff { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.founder__signoff .name { font-weight: 700; }
.founder__signoff .role { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   REVIEWS
   ============================================================ */
/* auto-scrolling strip (left -> right), pauses on hover */
.reviews__marquee {
  overflow: hidden; margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reviews__track { display: flex; gap: 18px; width: max-content; align-items: stretch; padding-block: 6px; animation: reviews-slide 60s linear infinite; }
.reviews__marquee:hover .reviews__track { animation-play-state: paused; }
@keyframes reviews-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review { flex: 0 0 340px; max-width: 88vw; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow-s); }
@media (prefers-reduced-motion: reduce) {
  .reviews__track { animation: none; }
  .reviews__marquee { overflow-x: auto; scrollbar-width: none; }
  .reviews__marquee::-webkit-scrollbar { display: none; }
}
.review .stars { color: #F5A623; display: flex; gap: 2px; margin-bottom: 14px; }
.review .stars svg { width: 17px; height: 17px; }
.review p { font-size: 1rem; color: var(--ink); line-height: 1.6; flex: 1 1 auto; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; font-family: var(--font-d); font-weight: 600; }
.review .who b { display: block; font-size: 0.92rem; }
.review .who small { color: var(--muted); font-size: 0.8rem; }

/* ============================================================
   BOOK (Cal.com)
   ============================================================ */
.book { background: var(--green-tint); }
.book__card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-l); overflow: hidden; }
/* embed sits flush — no outer card frame */
.book__card--embed { background: transparent; border: none; border-radius: 0; box-shadow: none; padding: 0; overflow: hidden; }
#cal-embed { min-height: 420px; width: 100%; border-radius: var(--r); overflow: hidden; }
/* crop the "Cal.com" branding bar at the bottom of the inline embed */
#cal-embed iframe { display: block; margin-bottom: -52px !important; }
.book__fallback { text-align: center; padding: 40px 20px; }

/* mobile popup trigger card (hidden on desktop) */
.book__card--popup { display: block; padding: 36px 24px 32px; text-align: center; max-width: 460px; margin-inline: auto; }
.book__card--embed { display: none; }
.book__popup-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--green-50); color: var(--green); display: inline-grid; place-items: center; margin-bottom: 18px; }
.book__popup-ic svg { width: 28px; height: 28px; }
.book__card--popup h3 { font-size: 1.5rem; margin-bottom: 10px; }
.book__card--popup p { margin-bottom: 22px; }
.book__card--popup .btn { width: 100%; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
.contact-card .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.contact-card .ic svg { width: 21px; height: 21px; }
.contact-card small { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card b { font-size: 1.04rem; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-block: 52px 28px; }
[data-theme="dark"] .footer { background: #060D0A; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer .brand { color: #fff; }
.footer .brand b { color: #1E8A55; }
.footer__tag { margin-top: 14px; font-size: 0.92rem; max-width: 34ch; }
.footer__col h4 { color: #fff; font-family: var(--font-b); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col a, .footer__col p { display: block; font-size: 0.92rem; color: rgba(255,255,255,0.66); padding-block: 5px; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--green-bright); }
.footer__bottom { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: rgba(255,255,255,0.7); transition: all 0.2s var(--ease); }
.footer__social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; transform: translateY(150%); transition: transform 0.4s var(--ease-out);
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { flex: 1; box-shadow: var(--shadow-l); }

/* ---------- Floating social button (faithful Framer ParallaxSocialFAB) ----------
   FAB opens icons in a quarter-arc orbit with spring stagger, pulse ring, tooltips,
   branded colors, and dims non-hovered siblings. Profile links per request. */
.social-fab { position: fixed; right: 40px; bottom: 40px; width: 56px; height: 56px; z-index: 95; display: none; }
@media (min-width: 768px) { .social-fab { display: block; } }
.social-fab__toggle { position: absolute; inset: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-l); z-index: 20; transition: transform 0.35s cubic-bezier(.34,1.4,.6,1), background 0.25s var(--ease); }
.social-fab__toggle:hover { background: var(--green-700); transform: scale(1.08); }
.social-fab.open .social-fab__toggle { transform: rotate(45deg); }
.social-fab__toggle svg { width: 25px; height: 25px; }
.social-fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--green); z-index: 10; pointer-events: none; animation: fab-pulse 4s ease-out infinite; }
.social-fab.open .social-fab__pulse { display: none; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .55; } 25% { opacity: .25; } 100% { transform: scale(1.9); opacity: 0; } }
.social-fab__item {
  position: absolute; left: 4px; top: 4px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  opacity: 0; pointer-events: none; transform: translate(0,0) scale(0.3); z-index: 15;
  transition: transform 0.45s cubic-bezier(.34,1.45,.6,1), opacity 0.3s var(--ease), filter 0.18s ease;
}
.social-fab__item svg { width: 22px; height: 22px; }
.social-fab.open .social-fab__item { opacity: 1; pointer-events: auto; transform: translate(var(--tx,0), var(--ty,0)) scale(1); }
.social-fab.open .social-fab__item:nth-child(1) { transition-delay: 0s; }
.social-fab.open .social-fab__item:nth-child(2) { transition-delay: 0.06s; }
.social-fab.open .social-fab__item:nth-child(3) { transition-delay: 0.12s; }
.social-fab.open .social-fab__item:hover { transform: translate(var(--tx,0), var(--ty,0)) scale(1.12); }
.social-fab.open:has(.social-fab__item:hover) .social-fab__item:not(:hover) { filter: blur(1.5px) brightness(0.55); opacity: 0.65; }
.social-fab__item[data-net="instagram"] { background: #E1306C; }
.social-fab__item[data-net="youtube"]  { background: #FF0000; }
.social-fab__item[data-net="tiktok"]   { background: #111111; }
/* tooltip */
.social-fab__item::after {
  content: attr(data-label); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.78); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; font-weight: 600;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.18s var(--ease);
}
.social-fab__item:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .social-fab__item, .social-fab__toggle { transition: opacity 0.2s; } .social-fab__pulse { animation: none; display: none; } }

/* ---------- Fade-up ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up.d1 { transition-delay: 0.08s; }
.fade-up.d2 { transition-delay: 0.16s; }
.fade-up.d3 { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE — layer up from mobile
   ============================================================ */
@media (min-width: 600px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn { flex: 0 0 auto; }
}

@media (min-width: 768px) {
  :root { --pad: 32px; --nav-h: 76px; }
  /* Aurora Bento: 3-col grid with mixed tile sizes (rail -> grid) */
  .bento {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(168px, auto);
    overflow: visible; margin-inline: 0; padding-inline: 0; padding-bottom: 0;
    touch-action: auto; /* static grid on desktop — allow normal vertical scroll */
  }
  .bento-tile { flex: none; max-width: none; }
  .bento-tile .bento-card { min-height: 0; }
  .bento-tile.is-large { grid-column: span 2; grid-row: span 2; }
  .bento-tile.is-tall  { grid-column: span 1; grid-row: span 2; }
  .bento-tile.is-wide  { grid-column: span 3; grid-row: span 1; }
  .bento-tile.is-large .bento-card h3 { font-size: 1.6rem; }
  .bento-tile.is-large .bento-card p,
  .bento-tile.is-tall  .bento-card p { font-size: 0.95rem; }
  .bento-tile.is-large .bento-card__viz svg { width: 56px; height: 56px; }
  .section { padding-block: 100px; }
  .hero { padding-bottom: 80px; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .founder-grid { grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
  /* reels: one horizontal strip carousel (social-style) — swipe/scroll through all */
  .reels__rail { gap: 16px; margin-inline: 0; padding-inline: 0; scroll-padding-inline-start: 0; }
  .reel { flex: 0 0 clamp(180px, 17vw, 205px); max-width: none; }
  .mobile-cta { display: none; }
  .lede { font-size: 1.12rem; }
  /* booking: inline embed on desktop, hide the popup card */
  .book__card--embed { display: block; }
  .book__card--popup { display: none; }
}

@media (min-width: 960px) {
  .nav__links { display: flex; align-items: center; gap: 26px; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .show__player-grid { grid-template-columns: 1.6fr 1fr; gap: 32px; }
  /* playlist back to a vertical sidebar */
  .show__list {
    flex-direction: column; gap: 6px; margin: 0; padding-block: 0; touch-action: auto;
    overflow-x: visible; overflow-y: auto; max-height: 472px; padding-inline: 0; padding-right: 6px;
    margin-inline: 0; scroll-snap-type: none;
    scrollbar-width: thin; scrollbar-color: var(--border2) transparent;
  }
  .show__list::-webkit-scrollbar { display: block; width: 7px; }
  .show__list::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 8px; }
  .show__list::-webkit-scrollbar-track { background: transparent; }
  .show__list-item {
    flex: none; max-width: none; display: grid; grid-template-columns: 140px 1fr;
    gap: 14px; align-items: center; padding: 8px; border: 1px solid transparent;
    border-radius: var(--r); scroll-snap-align: none;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  }
  .show__list-item:hover { background: var(--green-tint); }
  .show__list-item.is-active { background: var(--green-50); border-color: color-mix(in srgb, var(--green) 28%, transparent); }
  .show__list-item.is-active .li-thumb { outline-color: transparent; }
  .li-text { padding: 0; }
}

@media (min-width: 1100px) {
  .hero { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px; }
  .hero__sub { font-size: 1.18rem; }
}

/* ============================================================
   UPLOAD MODAL
   ============================================================ */
body.modal-open { overflow: hidden; }

.upload-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.upload-modal.is-open { display: flex; }

.upload-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 15, 11, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: um-fade 0.25s var(--ease-out);
}
.upload-modal__dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-l);
  animation: um-pop 0.3s var(--ease-out);
}
@keyframes um-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes um-pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.upload-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--green-tint); color: var(--sub);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.upload-modal__close:hover { background: var(--green-50); color: var(--ink); }
.upload-modal__close svg { width: 18px; height: 18px; }

.upload-modal__body { padding: 34px 30px 30px; }
.upload-modal__title { font-size: 1.55rem; line-height: 1.15; margin: 0 0 6px; }
.upload-modal__sub { color: var(--sub); font-size: 0.96rem; line-height: 1.5; margin: 0 0 20px; }

.upload-form__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.upload-field { display: block; margin-bottom: 14px; }
.upload-form__row .upload-field { margin-bottom: 0; }
.upload-field__label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--sub); margin-bottom: 6px; }
.upload-field__opt { font-weight: 400; color: var(--muted); }
.upload-field input,
.upload-field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--border2); border-radius: var(--r);
  font-family: inherit; font-size: 0.96rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.upload-field textarea { resize: vertical; min-height: 52px; }
.upload-field input:focus,
.upload-field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}

.dropzone {
  margin-top: 4px; padding: 26px 18px; text-align: center;
  border: 1.5px dashed var(--border2); border-radius: var(--r-lg);
  background: var(--green-tint); cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease-out);
}
.dropzone:hover { border-color: var(--green); }
.dropzone:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
.dropzone.is-drag { border-color: var(--green); background: var(--green-50); transform: scale(1.01); }
.dropzone__ic { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--green); }
.dropzone__ic svg { width: 100%; height: 100%; }
.dropzone__title { font-size: 0.98rem; color: var(--ink); margin: 0 0 3px; }
.dropzone__title b { color: var(--green); text-decoration: underline; }
.dropzone__hint { font-size: 0.8rem; color: var(--muted); margin: 0; }

.filelist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.filelist__item {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 6px 12px; padding: 10px 12px;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r);
}
.filelist__meta { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.filelist__name { font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filelist__size { font-size: 0.76rem; color: var(--muted); flex: none; }
.filelist__bar {
  grid-column: 1 / -1; height: 4px; border-radius: 3px;
  background: var(--border); overflow: hidden;
}
.filelist__bar i { display: block; height: 100%; width: 0; background: var(--green-bright); transition: width 0.25s var(--ease-out); }
.filelist__remove {
  grid-row: 1; grid-column: 2;
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  font-size: 1.2rem; line-height: 1; color: var(--muted);
  background: transparent; transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.upload-modal.is-busy .filelist__remove { visibility: hidden; }
.filelist__remove:hover { background: var(--green-50); color: var(--ink); }

.upload-form__error {
  margin: 14px 0 0; padding: 10px 14px;
  background: color-mix(in srgb, #c0392b 12%, transparent);
  border: 1px solid color-mix(in srgb, #c0392b 30%, transparent);
  border-radius: var(--r); color: #c0392b; font-size: 0.86rem;
}

.upload-form__submit { width: 100%; margin-top: 18px; position: relative; }
.upload-form__submit.is-busy { pointer-events: none; }
.upload-form__submit.is-busy .upload-submit__label { visibility: hidden; }
.upload-form__submit.is-busy::after {
  content: attr(data-busytext);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600;
}
.upload-form__privacy { margin: 12px 0 0; text-align: center; font-size: 0.8rem; color: var(--muted); }
.upload-form__privacy a { color: var(--green); text-decoration: underline; }

.upload-success { text-align: center; padding: 18px 6px 6px; }
.upload-success__ic {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-50); color: var(--green);
}
.upload-success__ic svg { width: 30px; height: 30px; }
.upload-success h3 { font-size: 1.4rem; margin: 0 0 8px; }
.upload-success p { color: var(--sub); margin: 0 0 22px; }
.upload-success .btn { min-width: 160px; }

@media (max-width: 560px) {
  .upload-modal__body { padding: 30px 20px 24px; }
  .upload-form__row { grid-template-columns: 1fr; gap: 0; }
  .upload-form__row .upload-field { margin-bottom: 14px; }
  .upload-modal__title { font-size: 1.35rem; }
}
