/* ==========================================================================
   BEDÖ PILATES ACADEMY™ — v2 design tokens
   Palette: unified with The Bedö System™ (pulled from its live CSS,
   2026-07-30) — warm bone/cream + emerald green interactive accent + brass
   gold for CTAs/prestige. Roles:
           EMERALD = interactive: CTAs, links, badges, progress, AI tutor,
                     nav active state (was teal — System uses emerald, #2d7d6b)
           BRASS   = prestige / decorative + primary buttons (was a slightly
                     different gold — now matches System's brass exactly)
           BLUE    = informational notices (confidentiality) — calm, non-interactive
           INK     = headings + structure
   Fonts: Hanken Grotesk (UI/body) + Georgia/Hoefler Text serif (display) —
   matches System exactly (System does not use Inter or Cormorant Garamond).
   Contrast (WCAG): emerald fill #2D7D6B + white text ≈ 4.9:1 (AA); emerald
   text #245D50 on cream ≈ 7.1:1 (AAA); brass text #8A6D3B on cream ≈ 5.6:1
   (AA); blue text #3E5C77 ≈ 6.2:1 (AA). Never set small text in #B08D57
   (brass fill, ~2.8:1) directly.
   ========================================================================== */
:root {
  /* Surfaces — warm bone / cream (System uses #F8F5EF — nearly identical) */
  --bg: #F7F4EE;
  --bg-rgb: 247,244,238;   /* same value as --bg, as r,g,b — for translucent bars (backdrop-filter) */
  --surface: #FFFFFF;
  --card: #FBF8F2;
  --card2: #EFE9DD;

  /* Ink & text — warm neutrals */
  --ink: #201B14;          /* headings + structure */
  --text: #2A241C;         /* body */
  --text-muted: #6E6153;   /* secondary — AA ~5.5:1 on cream */
  --text-dim: #9C8F7D;     /* hints only, never body copy */

  /* Brass gold — secondary accent, sparingly (prestige / decorative / CTAs).
     Exact values from The Bedö System's --brass / --brassD. */
  --gold: #B08D57;         /* large / decorative fills, primary CTA buttons */
  --gold-soft: #CBB182;    /* decorative highlight */
  --gold-dim: #8A6D3B;     /* small gold TEXT — AA ~5.6:1 */
  --gold-bg: rgba(176,141,87,0.10);
  --border-gold: rgba(176,141,87,0.35);

  /* Emerald — primary interactive accent: CTAs, links, badges, progress,
     nav active state, AI tutor. Exact values from System's --em / --emD. */
  --accent: #2D7D6B;       /* fills / buttons (white text ≈ AA 4.9:1) */
  --accent-hover: #245D50;
  --accent-ink: #1F4F44;   /* links + small accent text on light — AAA ~7.6:1 */
  --accent-soft: #6FA694;  /* decorative light emerald */
  --accent-bg: #E4F0EC;    /* emerald tint for badges / highlight surfaces */
  --accent-border: rgba(45,125,107,0.35);

  /* Soft blue — informational notices only (confidentiality, legal).
     Distinct from emerald so notices never read as clickable. */
  --blue-ink: #3E5C77;     /* small blue text — AA ~6.2:1 on cream */
  --blue-bg: #ECF2F8;
  --blue-border: rgba(62,92,119,0.28);

  /* Structure & status — success/danger nudged to match System's --gr / --re */
  --border: #E4DDCD;
  --success: #276749;
  --warning: #B06A00;
  --danger: #9B2C2C;

  /* Difficulty/level scale (matches System's Pilates Library badges) */
  --level-beginner: #276749;
  --level-intermediate: #B06A00;
  --level-advanced: #9B2C2C;

  --radius: 14px;
  --radius-sm: 9px;
  --font-display: Georgia, 'Hoefler Text', 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(32,27,20,.05), 0 2px 8px rgba(32,27,20,.04);
  --shadow-md: 0 2px 6px rgba(32,27,20,.06), 0 10px 28px rgba(32,27,20,.07);
  --shadow-lg: 0 4px 12px rgba(32,27,20,.08), 0 18px 50px rgba(32,27,20,.12);

  --ease-out: cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   DARK MODE — "Clinical Obsidian & Champagne" (matches The Bedö System).
   Same variable names as :root above, so every existing component (buttons,
   cards, badges, stats, nav, hero, modules…) re-themes automatically — no
   component CSS needs to change. Toggled via [data-theme="dark"] on <html>,
   set by initThemeToggle() in js/ui.js (localStorage 'bedo_theme', falls
   back to the OS prefers-color-scheme on first visit).
   Contrast: champagne #D4AF37 text on #0D1117 ≈ 9.3:1 (AAA). Teal text
   #8FD1E0 on #0D1117 ≈ 11.9:1 (AAA). Body #E3DFD3 on #0D1117 ≈ 14.6:1 (AAA).
   ========================================================================== */
html[data-theme="dark"] {
  /* Surfaces — deep slate / obsidian */
  --bg: #0D1117;
  --bg-rgb: 13,17,23;
  --surface: #151B24;
  --card: #1A212B;
  --card2: #212A36;

  /* Ink & text — warm ivory, never pure white (keeps the premium/soft feel) */
  --ink: #F3EFE6;
  --text: #E3DFD3;
  --text-muted: #A6A093;
  --text-dim: #6E6A60;

  /* Champagne gold — brighter here; it's the hero accent against obsidian */
  --gold: #D4AF37;
  --gold-soft: #E8CD7A;
  --gold-dim: #E3C563;      /* small gold TEXT on dark — AAA */
  --gold-bg: rgba(212,175,55,0.14);
  --border-gold: rgba(212,175,55,0.4);

  /* Emerald — brightened so it still reads as "interactive" against obsidian */
  --accent: #3FA98C;
  --accent-hover: #4FBC9E;
  --accent-ink: #7FD6BC;
  --accent-soft: #2E7A65;
  --accent-bg: rgba(63,169,140,0.16);
  --accent-border: rgba(63,169,140,0.4);

  /* Soft blue notices */
  --blue-ink: #9FC1E0;
  --blue-bg: rgba(62,92,119,0.2);
  --blue-border: rgba(159,193,224,0.32);

  --border: rgba(255,255,255,0.09);
  --success: #4CAF50;
  --warning: #E0A030;
  --danger: #E5695A;
  --level-beginner: #4CAF50;
  --level-intermediate: #E0A030;
  --level-advanced: #E5695A;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.35);
  --shadow-md: 0 2px 8px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.45);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.55), 0 22px 64px rgba(0,0,0,.6);
}
/* A whisper of gold in the hover glow — obsidian "catching light" */
html[data-theme="dark"] .hover-lift:hover{box-shadow:var(--shadow-md),0 0 26px rgba(212,175,55,.10)}
html[data-theme="dark"] .rlp-cue{background:var(--card)}
/* Champagne gold is much brighter in dark mode — white text on .btn-gold
   drops to ~1.9:1 contrast, so flip to dark ink for AA/AAA on the gold fill. */
html[data-theme="dark"] .btn-gold{color:#181410}
html[data-theme="dark"] .btn-gold:hover{background:#C49A2E}
/* Rich Lesson Editor modal + Exercise Library review are still light-surfaced
   (admin-only authoring tools) — re-theme their few hardcoded light colors. */
html[data-theme="dark"] .rich-editor-card{background:var(--surface);color:var(--text)}
html[data-theme="dark"] .rich-editor-tabs,
html[data-theme="dark"] .rich-editor-array-item{background:var(--card)}

/* Smooth cross-fade when switching themes. The class is added by
   initThemeToggle() just before the flip and removed ~450ms later, so the
   transition never lingers on unrelated hover/press states. */
.theme-transitioning, .theme-transitioning *{
  transition:background-color .4s var(--ease-out),color .4s var(--ease-out),border-color .4s var(--ease-out),box-shadow .4s var(--ease-out)!important;
}

/* ---- Theme toggle — sun/moon pill switch ---- */
.theme-toggle{position:relative;width:50px;height:27px;border-radius:999px;background:var(--card2);border:1px solid var(--border);padding:0;flex:none}
.theme-toggle .tt-track{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 6px;color:var(--text-dim)}
.theme-toggle .tt-track svg{width:12px;height:12px}
.theme-toggle .tt-thumb{position:absolute;top:2px;left:2px;width:21px;height:21px;border-radius:50%;background:var(--gold);box-shadow:0 1px 4px rgba(0,0,0,.35);transition:transform .35s var(--ease-out),background .3s var(--ease-out);display:flex;align-items:center;justify-content:center}
.theme-toggle .tt-thumb svg{width:12px;height:12px;color:#fff}
html[data-theme="dark"] .theme-toggle .tt-thumb{transform:translateX(23px)}
.theme-toggle:hover{border-color:var(--border-gold)}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);background:var(--bg);color:var(--text);min-height:100vh;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--font-display);color:var(--ink);letter-spacing:.01em}
button{cursor:pointer;border:none;font-family:inherit}
input,textarea,select{font-family:inherit}
a{color:var(--accent-ink);text-decoration:none}
a:hover{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Buttons — primary is teal (the interactive accent); gold reserved for special prestige CTAs */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.72rem 1.4rem;border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;letter-spacing:.03em;transition:transform .18s var(--ease-out),box-shadow .18s var(--ease-out),background .18s var(--ease-out)}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 2px 10px rgba(74,124,140,.28)}
.btn-primary:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 16px rgba(74,124,140,.34)}
.btn-primary:active{transform:none}
.btn-gold{background:var(--gold);color:#fff;box-shadow:0 2px 10px rgba(168,124,36,.28)}
.btn-gold:hover{background:#946A1C;transform:translateY(-1px)}
.btn-secondary{background:var(--card2);color:var(--ink);border:1px solid var(--border)}
.btn-secondary:hover{border-color:var(--accent-border);color:var(--accent-ink)}
.btn-full{width:100%}
.btn-sm{padding:.5rem 1rem;font-size:.82rem}
.btn-lg{padding:.9rem 1.9rem;font-size:.95rem}
.btn[disabled]{opacity:.55;cursor:default;transform:none!important}

/* Cards */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow-sm)}

/* Badges */
.badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.72rem;font-weight:600;letter-spacing:.03em;padding:.28rem .7rem;border-radius:999px}
.badge-accent{background:var(--accent-bg);color:var(--accent-ink);border:1px solid var(--accent-border)}
.badge-gold{background:var(--gold-bg);color:var(--gold-dim);border:1px solid var(--border-gold)}
.badge-success{background:rgba(45,122,48,.10);color:#1F5A22;border:1px solid rgba(45,122,48,.30)}
.badge-neutral{background:var(--card2);color:var(--text-muted);border:1px solid var(--border)}

/* Credential chips */
.chip{display:inline-block;font-size:.76rem;letter-spacing:.01em;color:var(--ink);background:var(--card2);border:1px solid var(--border);border-radius:999px;padding:.34rem .82rem}
.chip-flagship{background:var(--gold-bg);color:var(--gold-dim);border-color:var(--border-gold);font-weight:600}

/* Links */
.link{color:var(--accent-ink)}
.link:hover{color:var(--accent)}

/* Progress indicators */
.progress{height:8px;background:var(--card2);border-radius:999px;overflow:hidden}
.progress > i{display:block;height:100%;background:var(--accent);border-radius:999px;transition:width .4s var(--ease-out)}
.progress.gold > i{background:var(--gold)}

/* Notices — soft blue, informational (confidentiality / legal). Never interactive. */
.notice-blue{background:var(--blue-bg);border:1px solid var(--blue-border);color:var(--blue-ink);border-radius:var(--radius-sm);padding:.75rem 1.1rem;font-size:.8rem;line-height:1.65;text-align:center}
.notice-blue strong{font-weight:600}

/* Data tables (admin) */
.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}
table.data{width:100%;border-collapse:collapse;font-size:.86rem}
table.data th{text-align:left;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);font-weight:600;padding:.7rem .9rem;border-bottom:1px solid var(--border);background:var(--card)}
table.data td{padding:.68rem .9rem;border-bottom:1px solid var(--border);vertical-align:top}
table.data tr:last-child td{border-bottom:none}
table.data tr:hover td{background:var(--card)}

/* Stat cards (admin) */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.9rem}
.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem 1.25rem;box-shadow:var(--shadow-sm)}
.stat .sv{font-family:var(--font-display);font-size:2rem;font-weight:600;color:var(--ink);line-height:1.15}
.stat .sl{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);margin-top:.15rem}
.stat.teal .sv{color:var(--accent-ink)}
.stat.gold .sv{color:var(--gold-dim)}

/* ==========================================================================
   Motion — subtle, elegant. Scroll reveals via .reveal + IntersectionObserver
   (js/ui.js adds .in). Stagger children with .reveal-stagger. Everything
   collapses to instant-visible when the user prefers reduced motion.
   ========================================================================== */
/* Reveal elements only start hidden when JS is confirmed running (.js on
   <html>). Without JS — or if a module fails to load — content stays fully
   visible rather than stuck at opacity:0. */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease-out),transform .7s var(--ease-out)}
.reveal.in{opacity:1;transform:none}
.js .reveal-stagger > *{opacity:0;transform:translateY(16px);transition:opacity .6s var(--ease-out),transform .6s var(--ease-out)}
.reveal-stagger.in > *{opacity:1;transform:none}
.reveal-stagger.in > *:nth-child(1){transition-delay:.05s}
.reveal-stagger.in > *:nth-child(2){transition-delay:.13s}
.reveal-stagger.in > *:nth-child(3){transition-delay:.21s}
.reveal-stagger.in > *:nth-child(4){transition-delay:.29s}
.reveal-stagger.in > *:nth-child(5){transition-delay:.37s}
.reveal-stagger.in > *:nth-child(6){transition-delay:.45s}
.rise{animation:rise .8s var(--ease-out) both}
.rise.d1{animation-delay:.12s}
.rise.d2{animation-delay:.24s}
.rise.d3{animation-delay:.36s}
@keyframes rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
.hover-lift{transition:transform .22s var(--ease-out),box-shadow .22s var(--ease-out),border-color .22s var(--ease-out)}
.hover-lift:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal,.reveal-stagger > *{opacity:1;transform:none;transition:none}
  .rise{animation:none}
  .hover-lift,.hover-lift:hover{transform:none;transition:none}
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Utility */
.hidden{display:none!important}
.muted{color:var(--text-muted);font-size:.85rem}

/* ==========================================================================
   System-aligned components (added 2026-07-30, matched to the live Bedö
   System app): avatar chip, underline nav tabs, difficulty/level badges.
   ========================================================================== */

/* Avatar chip — black circle + white initials, top-right of the nav/topbar */
.avatar-chip{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:var(--bg);font-size:.72rem;font-weight:700;letter-spacing:.02em;flex:none}

/* Underline nav tabs — horizontal links, emerald underline + text on active.
   Use on any top nav bar: <div class="tabnav"><a class="tabnav-a active">…</a></div> */
.tabnav{display:flex;gap:1.4rem;align-items:center;border-bottom:1px solid var(--border)}
.tabnav-a{font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);padding:.85rem 0;border-bottom:2px solid transparent;transition:color .2s var(--ease-out),border-color .2s var(--ease-out)}
.tabnav-a:hover{color:var(--accent-ink)}
.tabnav-a.active{color:var(--accent-ink);border-bottom-color:var(--accent)}

/* Difficulty/level badges — colored dot + outlined pill, matches System's
   Pilates Library (green Beginner / amber Intermediate / red Advanced). */
.level-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:.5rem;flex:none}
.level-dot.beginner{background:var(--level-beginner)}
.level-dot.intermediate{background:var(--level-intermediate)}
.level-dot.advanced{background:var(--level-advanced)}
.level-pill{display:inline-flex;align-items:center;font-size:.68rem;font-weight:700;letter-spacing:.03em;padding:.2rem .6rem;border-radius:999px;border:1px solid transparent}
.level-pill.beginner{background:rgba(39,103,73,.10);color:var(--level-beginner);border-color:rgba(39,103,73,.3)}
.level-pill.intermediate{background:rgba(176,106,0,.10);color:var(--level-intermediate);border-color:rgba(176,106,0,.3)}
.level-pill.advanced{background:rgba(155,44,44,.10);color:var(--level-advanced);border-color:rgba(155,44,44,.3)}

/* Photo hero — full-bleed banner with a bottom gradient for text legibility,
   plus stat cards that float half-over the photo's bottom edge (System's
   dashboard pattern). Set the photo via inline style="background-image:url(…)"
   on .photo-hero; a warm placeholder gradient shows until a real photo is set. */
.photo-hero{position:relative;border-radius:var(--radius);overflow:hidden;min-height:260px;background:linear-gradient(135deg,var(--card2),var(--card));background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:2rem clamp(1.2rem,4vw,2.4rem) 3.4rem}
.photo-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.55) 100%)}
.photo-hero-content{position:relative;z-index:1;color:#fff}
.photo-hero-eyebrow{font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;font-weight:600;color:rgba(255,255,255,.82);margin-bottom:.5rem}
.photo-hero h2{font-family:var(--font-display);font-size:clamp(1.8rem,4vw,2.6rem);font-weight:600;color:#fff;margin-bottom:.3rem}
.photo-hero-sub{font-size:.86rem;color:rgba(255,255,255,.82)}
.photo-hero-stats{position:relative;z-index:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.9rem;margin:-2.6rem 1.2rem 0;transform:translateY(0)}
@media (max-width:640px){.photo-hero-stats{margin-inline:.8rem}}
/* Same floating-over-the-photo effect, applied to the existing 6-up .stats
   grid used on the admin/instructor dashboard — no JS changes needed, just
   add this class alongside .stats. */
.stats.stats-overlap{position:relative;z-index:2;margin:-2.6rem 1.2rem 0}
@media (max-width:640px){.stats.stats-overlap{margin-inline:.8rem}}

/* Welcome hero — a single full-width video tile (formerly a 4-up mosaic:
   one large anchor tile + 3 smaller flanking clips, trimmed down to just
   the anchor). .hero-tiles is kept as the outer wrapper (for the .reveal
   scroll-in and consistent margins) but no longer needs to be a grid. */
.hero-tiles{position:relative}
.hero-tiles .tile-main{position:relative;width:100%;aspect-ratio:16/9;min-height:220px;max-height:440px;overflow:hidden;border-radius:calc(var(--radius) - 4px);display:flex;align-items:flex-end;background:linear-gradient(135deg,var(--card2),var(--card));padding:2rem clamp(1.1rem,3vw,1.8rem) 3.4rem}
.hero-tiles .tile-main::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.5) 100%)}
/* The welcome clip fills the tile like a background-image would, sitting on
   its poster frame until autoplay kicks in. Sits behind the ::after scrim
   and .tile-content (z-index:1) so the welcome text stays legible. Falls
   back to the poster image (or the gradient, if that 404s too) if the video
   source fails to load — no JS required for that fallback. */
.hero-tiles .tile-main-video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover}
.hero-tiles .tile-content{position:relative;z-index:1;color:#fff;width:100%;min-width:0}
.hero-tiles .tile-eyebrow{font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;font-weight:600;color:rgba(255,255,255,.82);margin-bottom:.5rem}
.hero-tiles .tile-main h2{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2.1rem);font-weight:600;color:#fff;margin-bottom:.3rem}
.hero-tiles .tile-sub{font-size:.8rem;color:rgba(255,255,255,.82)}
@media (max-width:640px){
  .hero-tiles .tile-main{aspect-ratio:4/5;min-height:280px;max-height:420px;padding:1.6rem 1.2rem 2.6rem}
}

/* ---- Student section nav ---- */
/* Was sticky pills under the topbar; now a small row of photo tiles with the
   same click-to-scroll behavior (js still targets `a[data-sec]`, unchanged).
   Left non-sticky on purpose: pinning tiles this size to the top while
   scrolling would eat too much fixed screen space, especially on mobile.
   The photo lives on a separate `.snav-tile-bg` layer (not the tile's own
   background) so its Ken Burns zoom can animate via `transform:scale()`
   instead of `background-size` — background-size forces a full repaint every
   animation frame and reads as jittery/stuttery over a slow loop; transform
   is GPU-composited and animates smoothly. Same reasoning for the shimmer: a
   wide gradient bar translated via `transform` instead of animating
   `background-position`. */
.snav{position:static;top:auto;display:flex;gap:.7rem;flex-wrap:wrap;padding:0;margin-bottom:1.6rem;background:none;border-bottom:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.snav a.snav-tile{position:relative;flex:1 1 150px;min-width:130px;height:104px;display:flex;align-items:flex-end;padding:.7rem .8rem;border-radius:calc(var(--radius) - 4px);overflow:hidden;cursor:pointer;text-decoration:none;border:1px solid var(--border);background:var(--card2);transition:transform .22s var(--ease-out),box-shadow .22s var(--ease-out)}
.snav-tile-bg{position:absolute;inset:0;z-index:0;background-color:var(--card2);background-image:linear-gradient(135deg,var(--card2),var(--card));background-size:cover;background-position:center;transform-origin:center;will-change:transform;animation:snavKenBurns 16s ease-in-out infinite alternate}
.snav a.snav-tile::before{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.55) 100%)}
.snav-tile-shimmer{position:absolute;top:0;left:-30%;width:160%;height:100%;z-index:0;background:linear-gradient(115deg,transparent 42%,rgba(212,175,55,.28) 50%,transparent 58%);will-change:transform;animation:snavShimmer 6.5s ease-in-out infinite}
.snav a.snav-tile:hover,.snav a.snav-tile:focus-visible{transform:translateY(-3px);box-shadow:var(--shadow-md),0 0 0 1px var(--accent-border)}
.snav-tile-label{position:relative;z-index:1;color:#fff;font-size:.8rem;font-weight:700;letter-spacing:.01em;text-shadow:0 1px 4px rgba(0,0,0,.4)}
@keyframes snavKenBurns{from{transform:scale(1)}to{transform:scale(1.12)}}
@keyframes snavShimmer{0%,30%{transform:translateX(0)}70%,100%{transform:translateX(60%)}}
@media (max-width:640px){.snav a.snav-tile{flex:1 1 44%;height:88px}}
