/* ACE Taekwondo — tokens from the ACE Taekwondo design system */
:root {
  --surface-100: #f7f5f1;
  --surface-200: #ece8e1;
  --white: #ffffff;
  --line: #d9d4cb;
  --field: #8a867f;
  --ink: #141416;
  --ink-muted: #5d5b57;
  --ace-red: #c8102e;
  --ace-red-hover: #9e0c24;
  --ace-navy: #0f2a5c;
  --navy-muted: #dfe6f3;
  --belt-gold: #e8a317;
  --ok: #1f7a45;
  --warn: #b4540a;
  --illus-skin: #f1c7a1; /* illustrations only (team placeholder portraits) */
  --illus-hair-brown: #6b4226; /* illustrations only */
  --illus-blush: #f5a3ad; /* illustrations only */

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", system-ui, sans-serif;

  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-10: 40px;
  --space-20: 80px;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 27px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ace-red); }
a:hover { color: var(--ace-red-hover); }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 700; color: var(--ace-navy); }
h1 { font-size: clamp(48px, 7vw, 72px); line-height: .95; }
h2 { font-size: clamp(34px, 4.5vw, 44px); line-height: 1.05; }
h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--ace-navy); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-20); display: flex; flex-direction: column; gap: var(--space-10); }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: var(--radius-pill);
  font: inherit; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--ace-red); color: var(--white); }
.btn-primary:hover { background: var(--ace-red-hover); color: var(--white); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 44px; padding: 0 22px; }
.btn-block { width: 100%; }
.text-link { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 241, .96); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: 12px; }
.brand img { height: 67px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.site-nav a:not(.btn):hover { color: var(--ace-red); }
.nav-social { display: flex; align-items: center; gap: 4px; }
.nav-social a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 44px; min-height: 44px; }
.nav-social-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-nav .btn-sm { font-size: 14px; }
.header-phone { margin-left: auto; margin-right: var(--space-4); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ace-navy); font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--ace-red); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 48px; height: 48px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .header-phone { margin-right: 0; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-100); border-bottom: 1px solid var(--line); padding: 8px var(--space-6) var(--space-6);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: var(--space-4); }
  .nav-social { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-social a { justify-content: flex-start; }
  .nav-social-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 520px) {
  .header-phone { justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .header-phone-number { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-10); padding-block: var(--space-10) var(--space-20); }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.pill { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.lead { max-width: 500px; font-size: 19px; line-height: 29px; color: var(--ink-muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.hero-collage { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.hero-slot { position: relative; height: 220px; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-200); }
.hero-slot.tall { grid-row: span 2; height: 456px; }
.hero-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-slot img.is-active { opacity: 1; }
@media (max-width: 520px) {
  .hero-slot.tall { height: 320px; }
  .hero-slot { height: 152px; }
}

/* Benefits */
.benefits { background: var(--white); border-block: 1px solid var(--line); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-block: 56px; }
.benefit { display: flex; flex-direction: column; gap: var(--space-2); }
.benefit svg { color: var(--ace-red); }
.benefit p { color: var(--ink-muted); }

/* Programs */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.programs-head { display: flex; flex-direction: column; gap: var(--space-2); }
.program-tabs { display: flex; flex-direction: column; gap: var(--space-4); }
.program-card {
  font: inherit; text-align: left; cursor: pointer; padding: 0; border: 0;
  color: var(--ink); background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 0 0 0 transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.program-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 42, 92, .10); }
.program-card[aria-selected="true"] { box-shadow: 0 0 0 3px var(--ace-navy), 0 8px 24px rgba(15, 42, 92, .14); }
.program-card:focus-visible, .team-tab:focus-visible, .poomsae-toggle:focus-visible, .program-panel:focus-visible { outline: 3px solid var(--belt-gold); outline-offset: 3px; }
.program-card img { width: 100%; height: 180px; object-fit: cover; }
.program-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.program-name { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 34px; }
.program-blurb { color: var(--ink-muted); }
.team-tabs { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-4); }
.team-tabs-label { align-self: center; font-weight: 600; color: var(--ink-muted); }
.team-tab {
  font: inherit; text-align: left; cursor: pointer; flex: 1 1 260px;
  display: flex; flex-direction: column; gap: 2px; min-height: 44px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 24px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.team-tab .program-name { font-size: 24px; line-height: 28px; }
.team-tab .program-blurb { font-size: 15px; line-height: 22px; }
.team-tab:hover { border-color: var(--ace-navy); }
.team-tab[aria-selected="true"] { border-color: var(--ace-navy); box-shadow: 0 0 0 2px var(--ace-navy); }

/* Program detail: animated figure + principles */
.program-detail {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-10);
  align-items: start; background: var(--white); border-radius: var(--radius-lg); padding: var(--space-10);
}
.poomsae-wrap { position: sticky; top: 110px; }
.poomsae-wrap[hidden] { display: none; }
.poomsae-stage { margin: 0; background: var(--surface-200); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-4) var(--space-6); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.poomsae-svg { width: 100%; height: auto; max-width: 380px; display: block; overflow: visible; }
.poomsae-move { text-align: center; min-height: 48px; display: flex; flex-direction: column; }
.move-ko { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 26px; color: var(--ace-navy); }
.move-en { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.poomsae-toggle {
  position: absolute; left: 12px; top: 12px;
  font: inherit; font-size: 13px; font-weight: 600; min-height: 44px; padding: 0 14px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-pill);
}
.program-panels { display: flex; flex-direction: column; gap: var(--space-10); }
.program-panel { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; border-radius: var(--radius-md); }
.program-panel[hidden] { display: none; }
.detail-title { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 40px; color: var(--ace-navy); }
.detail-lede { font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 640px; }
.detail-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); width: 100%; margin-block: var(--space-2); }
.detail-cols h4 { margin: 0 0 var(--space-2); font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ace-navy); }
.detail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.detail-list li { position: relative; padding-left: 22px; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 2px; background: var(--belt-gold); }
@media (max-width: 860px) {
  .program-detail { grid-template-columns: 1fr; padding: var(--space-6); gap: var(--space-6); }
  .poomsae-wrap { position: relative; top: 0; }
  .poomsae-svg { max-width: 300px; }
  .detail-title { font-size: 30px; line-height: 34px; }
}
@media (max-width: 600px) {
  .program-tabs .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .program-card img { height: 96px; }
  .program-card .program-body { padding: 12px 14px 16px; gap: 6px; }
  .program-card .program-name { font-size: 22px; line-height: 26px; }
  .program-card .program-blurb { display: none; }
  .team-tabs-label { flex-basis: 100%; }
  .team-tab { padding: 12px 18px; }
}
.tag { align-self: flex-start; background: var(--belt-gold); color: var(--ink); border-radius: var(--radius-sm); padding: 4px 10px; font-size: 13px; line-height: 16px; font-weight: 600; }
.muted strong { color: var(--ink); }

/* Navy band */
.band-navy { background: var(--ace-navy); color: var(--white); }
.band-navy h2 { color: var(--white); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.steps li { display: flex; flex-direction: column; gap: var(--space-2); }
.steps p { color: var(--navy-muted); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 56px; color: var(--belt-gold); }

/* Split layouts */
.split { flex-direction: row; flex-wrap: wrap; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split-copy { display: flex; flex-direction: column; gap: var(--space-4); }
.master-photo { height: 400px; border-radius: var(--radius-lg); background: var(--surface-200); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; flex: 1 1 320px; }
.master-photo img { height: 380px; width: auto; }
.team { display: flex; flex-direction: column; gap: var(--space-10); }
.team-member { display: flex; gap: var(--space-10); }
.member-name { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 40px; color: var(--ace-navy); }
.team-member .eyebrow { margin: 0; }
.photo-placeholder { flex-direction: column; align-items: center; justify-content: flex-end; gap: var(--space-2); }
.photo-placeholder svg { width: 220px; max-width: 75%; height: auto; display: block; margin-bottom: -2px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-10) var(--space-6); }
.team-member.compact { flex-direction: column; gap: var(--space-6); }
.team-member.compact .master-photo { flex: none; height: 240px; }
.team-member.compact .cartoon { height: 96%; width: auto; max-width: 90%; }
.team-member.compact .master-photo img { height: 100%; width: auto; }
.team-member.compact .member-name { font-size: 30px; line-height: 34px; }
.team-member.compact .split-copy { gap: var(--space-2); }
.placeholder-fg { fill: var(--navy-muted); }
.placeholder-note { order: -1; margin-bottom: auto; padding-top: var(--space-6); font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* Cards + forms */
.band-white { background: var(--white); }
.fb[hidden] { display: none; }
.team + .fb { padding-top: 0; }
.fb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); }
.fb-follow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
.fb-follow svg { color: var(--ace-navy); flex: none; }
.fb-follow:hover { color: var(--ink); border-color: var(--ace-navy); }
.fb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-6); }
.fb-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.fb-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-200); }
.fb-body { flex: 1; display: flex; flex-direction: column; gap: var(--space-2); padding: 20px var(--space-6) var(--space-6); }
.fb-date { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.fb-text { margin: 0; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fb-card:not(:has(img)) .fb-text { -webkit-line-clamp: 10; }
.fb-body .text-link { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; }
.band-warm { background: var(--surface-200); }
.band-warm-2 { background: var(--surface-200); border-top: 1px solid var(--line); }
.card { background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: var(--space-6); }
.trial-form { background: var(--white); border: 0; gap: var(--space-4); }
label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); }
.optional { font-weight: 400; color: var(--ink-muted); }
input, select, textarea {
  font: inherit; font-weight: 400; font-size: 17px; color: var(--ink);
  padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(15, 42, 92, .35); border-color: var(--ace-navy); }
input[aria-invalid="true"] { border-color: var(--ace-red); }
textarea { resize: vertical; min-height: 96px; line-height: 25px; }
::placeholder { color: var(--ink-muted); opacity: 1; }
.inline-field { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.inline-field label { flex: 1 1 220px; }
.inline-field .form-status { flex-basis: 100%; }
.form-status { font-size: 14px; line-height: 20px; min-height: 20px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--ace-red); }

.eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ace-red); }
.eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge-gold { background: var(--belt-gold); color: var(--ink); border-radius: var(--radius-sm); padding: 4px 10px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.badge-soon { align-self: flex-start; background: var(--surface-200); color: var(--ink-muted); border-radius: var(--radius-pill); padding: 4px 12px; font-size: 13px; line-height: 18px; font-weight: 600; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checklist li { display: flex; gap: 8px; align-items: center; }
.checklist li::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: var(--ace-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Attendance week */
.week { border-top: 1px solid var(--line); padding-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.week-head { display: flex; justify-content: space-between; gap: var(--space-4); font-weight: 600; }
.week-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; text-align: center; }
.day { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; color: var(--ink-muted); }
.day::after { content: ""; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); }
.day.on::after {
  background: var(--ace-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 18px no-repeat;
  border-color: var(--ace-navy);
}
.progress-label { display: flex; justify-content: space-between; gap: var(--space-4); font-size: 14px; color: var(--ink-muted); }
.progress-label strong { color: var(--ink); }
.progress { height: 10px; border-radius: 999px; background: var(--surface-200); overflow: hidden; }
.progress > div { height: 100%; background: var(--belt-gold); }

/* AI coach */
.mini-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-4); }
.mini-steps li { display: flex; flex-direction: column; gap: 4px; }
.mini-steps .step-num { font-size: 32px; line-height: 32px; }
.ai-preview { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ai-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.ai-frame img { width: 100%; height: 360px; object-fit: cover; opacity: .85; }
.ai-chip-top { position: absolute; top: 16px; left: 16px; background: rgba(18, 18, 20, .85); color: #f4f2ee; border-radius: var(--radius-sm); padding: 6px 10px; font-size: 13px; font-weight: 600; }
.ai-chips { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; background: #f4f2ee; color: var(--ink); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 14px; line-height: 20px; }
.ai-chip::before { content: ""; width: 10px; height: 10px; border-radius: 999px; flex: none; }
.ai-chip.ok::before { background: var(--ok); }
.ai-chip.warn::before { background: var(--warn); }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: 32px; }
.site-footer img { height: 40px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: 14px; }
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--ace-red); }
.site-footer > p { flex-basis: 100%; }

/* Poomsae figure */
.mat-line { stroke: var(--line); stroke-width: 2; }
.fig-shadow { fill: var(--ink); fill-opacity: .10; }
.fig-line { stroke-linecap: round; stroke-linejoin: round; }
.fig-outline { stroke: var(--ink); }
.fig-dobok { stroke: var(--white); }
.fig-far { stroke: var(--navy-muted); }
.fig-skin { fill: var(--ace-navy); }
.fig-hogu { stroke: var(--ace-navy); }
.fig-belt { stroke-linecap: butt; }
.fig-belt-tail { stroke-linecap: round; stroke-linejoin: round; }
.belt-gold { stroke: var(--belt-gold); }
.belt-navy { stroke: var(--ace-navy); }
.belt-ink { stroke: var(--ink); }

/* Reviews marquee */
.reviews { background: var(--surface-200); padding-block: var(--space-20); overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-10); }
.reviews-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: var(--space-2) 0 0; }
.reviews-rating strong { font-family: var(--font-display); font-size: 28px; line-height: 32px; color: var(--ace-navy); }
.reviews-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.reviews-toggle { font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 16px; cursor: pointer; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.reviews-toggle[hidden] { display: none; }
.reviews-toggle:focus-visible { outline: 3px solid var(--belt-gold); outline-offset: 3px; }
.stars { display: inline-flex; gap: 2px; fill: var(--belt-gold); }
.stars-lg svg { width: 22px; height: 22px; }
.reviews-viewport { overflow-x: auto; padding-inline: max(var(--space-6), calc((100vw - 1200px) / 2 + var(--space-6))); scrollbar-width: thin; }
.reviews-track { list-style: none; margin: 0; padding: 0 0 var(--space-2); display: flex; gap: var(--space-6); width: max-content; }
.review-card { width: 380px; flex: none; background: var(--white); border-radius: var(--radius-lg); padding: 20px var(--space-6); display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; flex: none; }
.avatar-bg { fill: var(--navy-muted); }
.avatar-fg { fill: var(--ace-navy); }
.avatar { clip-path: circle(50%); }
.avatar-limb { stroke: var(--ace-navy); stroke-width: 4.2; stroke-linecap: round; fill: none; }
.avatar { width: 48px; height: 48px; }
.avatar .av-skin, .avatar .av-hair, .avatar .av-hair-brown, .avatar .av-grey, .avatar .av-navy, .avatar .av-white { stroke: var(--ink); stroke-width: .9; stroke-linejoin: round; }
.avatar .av-skin { fill: var(--illus-skin); }
.avatar .av-hair, .avatar .av-ink { fill: var(--ink); }
.avatar .av-hair-brown { fill: var(--illus-hair-brown); }
.avatar .av-grey { fill: var(--field); }
.avatar .av-navy { fill: var(--ace-navy); }
.avatar .av-white { fill: var(--white); }
.avatar .av-shine { fill: var(--white); }
.avatar .av-blush { fill: var(--illus-blush); opacity: .8; }
.avatar .av-mouth { fill: var(--white); stroke: var(--ink); stroke-width: .7; }
.avatar .av-glass, .avatar .av-line { fill: none; stroke: var(--ink); stroke-width: .7; stroke-linecap: round; }
.avatar .av-limb-navy { stroke: var(--ace-navy); }
.avatar .av-limb-white { stroke: var(--white); }
.avatar .av-limb-o { stroke: var(--ink); stroke-width: 5.8; }
.avatar-arm { transform-box: view-box; transform-origin: 27px 30px; transform: rotate(160deg); opacity: 0; animation: avatar-wave 5s ease-in-out infinite; }
.avatar-head { transform-box: view-box; transform-origin: 20px 24px; animation: avatar-tilt 5s ease-in-out infinite; }
.review-card:nth-child(3n+2) .avatar-arm, .review-card:nth-child(3n+2) .avatar-head { animation-delay: -1.7s; }
.review-card:nth-child(3n+3) .avatar-arm, .review-card:nth-child(3n+3) .avatar-head { animation-delay: -3.4s; }
@keyframes avatar-wave {
  0%, 52%, 100% { transform: rotate(160deg); opacity: 0; }
  56% { opacity: 1; }
  60% { transform: rotate(-12deg); }
  66% { transform: rotate(16deg); }
  72% { transform: rotate(-12deg); }
  78% { transform: rotate(16deg); }
  84% { transform: rotate(0deg); opacity: 1; }
  92% { transform: rotate(160deg); opacity: 0; }
}
@keyframes avatar-tilt {
  0%, 54%, 100% { transform: rotate(0deg); }
  62%, 82% { transform: rotate(-7deg); }
}
.reviews.is-paused .avatar-arm, .reviews.is-paused .avatar-head { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .avatar-arm, .avatar-head { animation: none; }
  .avatar-arm { opacity: 0; }
}
.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-card blockquote { margin: 0; }
.review-card blockquote p { margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-source { font-size: 13px; line-height: 18px; color: var(--ink-muted); font-weight: 600; }
/* Animated mode (set by JS when motion is allowed) */
.reviews.is-moving .reviews-viewport { overflow: hidden; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews.is-moving .reviews-track { padding-right: var(--space-6); animation: reviews-scroll var(--reviews-duration, 60s) linear infinite; }
.reviews.is-moving .reviews-viewport:hover .reviews-track,
.reviews.is-moving .reviews-viewport:focus-within .reviews-track,
.reviews.is-paused .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .reviews { padding-block: var(--space-10); }
  .reviews-viewport { scroll-snap-type: x mandatory; scroll-padding-inline: var(--space-4); padding-inline: var(--space-4); }
  .review-card { width: 85vw; max-width: 340px; scroll-snap-align: start; }
}

/* Little Tiger cub */
.tiger-fur { fill: var(--belt-gold); stroke: var(--ink); stroke-width: 1.8; }
.tiger-light { fill: var(--white); }
.tiger-ink { fill: var(--ink); }
.tiger-stripe { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.tiger-mouth { stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; fill: none; }
.tiger-tail { stroke: var(--belt-gold); }
.tiger-inner, .tiger-muzzle, .tiger-shine { fill: var(--white); }
.tiger-eye { fill: var(--ink); }
/* Junior: white tiger */
.tiger-white .tiger-fur { fill: var(--white); }
.tiger-white .tiger-tail { stroke: var(--white); }
.tiger-white .tiger-inner { fill: var(--navy-muted); }
.tiger-white .tiger-muzzle { fill: var(--surface-100); stroke: var(--ink); stroke-width: 1; }
.tiger-white .tiger-eye { fill: var(--ace-navy); }
.hh-skin { fill: var(--illus-skin); stroke: var(--ink); stroke-width: 1.6; }
.hh-hair { fill: var(--ink); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.hh-brown { fill: var(--illus-hair-brown); }
.hh-tie { fill: var(--ace-red); stroke: var(--ink); stroke-width: 1; }
.hh-ink { fill: var(--ink); }
.hh-shine { fill: var(--white); }
.hh-blush { fill: var(--illus-blush); opacity: .8; }
.hh-mouth { fill: var(--white); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }

/* Cartoon placeholder portraits (team) */
.cartoon { width: 240px; max-width: 80%; height: auto; display: block; margin-bottom: -2px; }
.cartoon path, .cartoon circle, .cartoon ellipse { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.cartoon .c-skin { fill: var(--illus-skin); }
.cartoon .c-hair, .cartoon .c-ink { fill: var(--ink); }
.cartoon .c-dobok { fill: var(--white); }
.cartoon .c-top { fill: var(--ace-navy); }
.cartoon .c-shine { fill: var(--white); stroke: none; }
.cartoon .c-line { fill: none; stroke-linecap: round; }
.cartoon .c-mouth { fill: var(--white); stroke-width: 2.5; }
.cartoon .c-splash { fill: var(--belt-gold); stroke: var(--belt-gold); stroke-width: 6; stroke-linecap: round; opacity: .55; }
.cartoon .c-shadow { fill: var(--ink); stroke: none; opacity: .15; }
.cartoon .c-limb-o { fill: none; stroke: var(--ink); stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; }
.cartoon .c-limb, .cartoon .c-limb-navy { fill: none; stroke: var(--white); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.cartoon .c-limb-navy { stroke: var(--ace-navy); }
.cartoon .c-white { fill: var(--white); stroke-width: 2.5; }
.cartoon .c-hair-brown { fill: var(--illus-hair-brown); }
.cartoon .c-hair-shine { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; opacity: .45; }
.cartoon .c-brow { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.cartoon .c-iris { fill: var(--ink); stroke: none; }
.cartoon .c-lash { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.cartoon .c-blush { fill: var(--illus-blush); stroke: none; opacity: .7; }
.cartoon .c-accent { fill: var(--ace-red); }
