/* Karate Edge preview: no red */
:root {
  --navy: #031B38;
  --navy-2: #1D2A47;
  --navy-3: #14276D;
  --navy-4: #0B4269;
  --navy-5: #1E1C3A;
  --primary: #007DB6;
  --primary-light: #009BFF;
  --accent: #93C96A;
  --accent-dark: #23A455;
  --cta: #0253FE;
  --cta-2: #0187FA;
  --cyan: #71E5FF;
  --gold: #C39555;
  --text: #3B3B3B;
  --muted: #545454;
  --bg: #F5F5FB;
  --border: #E6E6EE;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(3, 27, 56, 0.12);
  --radius: 6px;
  --header-h: 108px;
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--cta); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Placeholder facts that still need real info: clearly not live data */
.ph, mark.ph {
  display: inline;
  background: #fff4d6;
  color: #031B38;
  border: 1px dashed var(--gold);
  border-radius: 3px;
  padding: 0 0.35em;
  font-weight: 600;
  font-style: normal;
}
a.ph:hover { color: var(--navy); }

/* Buttons: blue/green only, never red */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background: linear-gradient(to right, var(--cta), var(--cta-2));
  color: var(--white) !important;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  border-radius: 5px;
  padding: 16px 28px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2, 83, 254, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  text-align: center;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--white) !important; }
.btn-block { width: 100%; }
.btn-green {
  background: linear-gradient(to right, var(--accent-dark), var(--accent));
  box-shadow: 0 6px 18px rgba(35, 164, 85, 0.28);
}
.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ===== Header / utility (overlays hero on home) ===== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  color: var(--white);
}
.site-header.is-solid {
  position: relative;
  background: var(--navy);
}
.utility {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 10px 0 4px;
  font-size: 14px;
}
.utility a, .utility span {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.utility svg { width: 14px; height: 14px; fill: var(--cyan); flex-shrink: 0; }
.utility a:hover { color: var(--cyan); }
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 12px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--white) !important; }
.logo img { width: auto; height: 72px; }
.logo-word { font-weight: 700; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-toggle {
  display: none;
  background: var(--navy-3);
  border: 0;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 22px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav > li { position: relative; }
.nav a, .nav button.has-sub {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  font-family: inherit;
}
.nav a:hover, .nav a.is-active, .nav button.has-sub:hover { color: var(--cyan); }
.nav .drop {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 280px;
  background: var(--navy-3);
  border-radius: 5px;
  padding: 6px 0;
  box-shadow: var(--shadow);
  z-index: 50;
}
.nav li:hover > .drop, .nav li:focus-within > .drop, .nav li.open > .drop { display: block; }
.nav .drop a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.nav .drop a:hover { background: var(--navy-4); color: var(--cyan); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  background: var(--navy) center / cover no-repeat;
  display: flex;
  align-items: stretch;
  padding: 200px 0 60px;
}
.hero-program { min-height: 0; padding: 180px 0 50px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* was red→blue on the live site; navy→blue only */
  background: linear-gradient(270deg, rgba(0,155,255,0.75) 0%, rgba(3,27,56,0.88) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  width: min(1272px, calc(100% - 40px));
}
.hero h1 { color: var(--white); font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; margin-bottom: 16px; }
.hero .lede { font-size: 18px; color: #e8f4ff; max-width: 36em; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; }
.steps li { display: flex; gap: 14px; margin-bottom: 16px; }
.steps .num {
  flex: 0 0 36px; height: 36px; border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  display: grid; place-items: center;
}
.steps strong { display: block; color: var(--white); }
.steps span { color: #d7eaff; font-size: 14px; }

.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: 6px;
  padding: 28px 24px 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
}
.form-card h2 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; color: var(--navy-2); }
input, select, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c5c9d1;
  background: #f7f8fb;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: #5C626E;
  border-radius: 3px 3px 0 0;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--cyan);
  border-bottom-color: var(--primary);
}
.form-note { font-size: 11px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.form-success {
  display: none;
  background: #eef8e8;
  border: 1px solid var(--accent);
  color: var(--navy);
  padding: 14px 16px;
  border-radius: 5px;
  margin-bottom: 12px;
  font-size: 14px;
}
.form-success.is-visible, .form-success:target { display: block; }
.form-success [hidden] { display: none !important; }
.form-success .checkout-next { display: inline-block; margin-top: 10px; }
/* Spam trap: hidden from people, bots fill it in */
.form-error { color: #b00020; font-weight: 600; margin: 10px 0 0; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Dark form on photo band */
.form-band {
  position: relative;
  color: var(--white);
  padding: 50px 0;
  background: var(--navy) center / cover no-repeat;
}
.form-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,27,56,0.88), rgba(0,125,182,0.75));
}
.form-band .wrap { position: relative; z-index: 1; max-width: 800px; text-align: center; }
.form-band h2 { color: var(--white); }
.form-band .form-card { text-align: left; margin-top: 16px; }
.form-band .form-note, .form-band .form-note a { color: #e8f0ff; }
.form-band .form-note a { text-decoration: underline; }

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }
.section-soft { background: var(--bg); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.center { text-align: center; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-navy .kicker { color: var(--cyan); }
.skillz-logo { width: min(420px, 80%); margin: 0 auto 24px; }
.lead { font-size: 18px; max-width: 46em; margin-left: auto; margin-right: auto; color: var(--muted); }

/* Program cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.program-card {
  position: relative;
  min-height: 320px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--navy) center / cover no-repeat;
  box-shadow: var(--shadow);
}
.program-card::before {
  content: "";
  position: absolute; inset: 0;
  /* navy → blue → green (replaced reds) */
  background: linear-gradient(180deg, rgba(1,66,128,0.15) 0%, rgba(3,27,56,0.88) 100%);
}
.program-card .inner { position: relative; z-index: 1; padding: 24px 22px 22px; }
.program-card .ages {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.program-card h3 { color: var(--white); font-size: 22px; margin: 0 0 6px; }
.program-card p { color: #dce8f5; font-size: 14px; margin: 0 0 12px; }
.program-card .btn { padding: 10px 16px; font-size: 12px; }

/* Icon / benefit boxes */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(3,27,56,0.05);
}
.benefit .icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bg);
  display: grid; place-items: center;
  color: var(--primary);
  font-size: 26px;
}
.benefit h3 { font-size: 18px; margin-bottom: 8px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split img { width: 100%; border-radius: 6px; object-fit: cover; max-height: 420px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.quote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}
.quote img.stars { width: 120px; height: auto; margin-bottom: 10px; }
.quote p { font-size: 15px; color: var(--text); }
.quote cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: 14px; }

/* FAQ */
.faq { max-width: 850px; margin: 0 auto; }
.faq-item { margin-bottom: 16px; }
.faq-item h3, .faq details summary {
  border-left: 2px solid var(--primary); /* was #FF7073 */
  padding: 12px 16px;
  background: var(--white);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--primary); }
.faq details .answer, .faq-item .answer {
  border-left: 2px solid var(--primary);
  padding: 8px 16px 16px;
  color: var(--muted);
  background: var(--white);
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 28px 0;
}
.photo-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }

/* Map */
.map-embed { width: 100%; height: 320px; border: 0; border-radius: 6px; }
.contact-box h3 { margin-top: 0; }
.contact-box p, .contact-box a { color: var(--text); }

/* Inner page banner */
.page-banner {
  background: var(--navy) center / cover no-repeat;
  color: var(--white);
  padding: 70px 0 50px;
  position: relative;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,27,56,0.85), rgba(0,125,182,0.55));
}
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); font-size: clamp(28px, 4vw, 44px); }

/* Blog */
.post-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.post-card img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.post-card .body { padding: 20px 20px 20px 0; }
.article { max-width: 800px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* Instructors */
.instructors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.instructor {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}
.instructor .photo {
  height: 180px;
  background: var(--bg);
  border: 1px dashed var(--gold);
  border-radius: 4px;
  display: grid; place-items: center;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d4e0;
  padding: 56px 0 0;
  font-size: 14px;
}
.site-footer h3 { color: var(--white); font-size: 16px; margin-bottom: 14px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 36px;
}
.site-footer a { color: #c9d4e0; }
.site-footer a:hover { color: var(--cyan); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-4);
  display: grid; place-items: center;
  color: var(--white);
}
.socials a:hover { background: var(--primary); color: var(--white); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: 13px;
}
.back-locations { color: var(--cyan) !important; font-weight: 600; }

/* ===== Link-tree landing ===== */
.tree-body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(160deg, #031B38 0%, #1D2A47 55%, #007DB6 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.tree-body::before { /* overlay via inner */ }
.tree-shade {
  flex: 1;
  background: linear-gradient(180deg, rgba(3,27,56,0.88) 0%, rgba(20,39,109,0.82) 50%, rgba(3,27,56,0.94) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 88px;
  text-align: center;
}
.tree-shade img.tree-logo { height: 110px; width: auto; margin: 0 auto 10px; }
.tree-shade h1 {
  color: var(--white);
  letter-spacing: 0.16em;
  font-size: 28px;
  margin: 8px 0 6px;
}
.tree-shade .tagline { color: #d7eaff; font-size: 18px; max-width: 26em; margin: 0 auto 32px; }
.tree-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: min(760px, 100%);
  margin-bottom: 36px;
}
.tree-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border: 2px solid rgba(113,229,255,0.5);
  border-radius: 12px;
  padding: 24px 22px 20px;
  color: var(--white);
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.tree-card .city {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.tree-card .addr,
.tree-card .phone,
.tree-card .hours,
.tree-card .blurb {
  margin: 0 0 6px;
  color: #d7eaff;
  font-size: 14px;
  line-height: 1.45;
}
.tree-card .hours { margin-top: 8px; font-weight: 600; color: #fff; }
.tree-card .blurb { margin: 10px 0 18px; }
.tree-card .tree-visit { width: 100%; margin: 0 0 10px; }
.tree-card .tree-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tree-card .tree-actions .btn { padding: 12px 16px; font-size: 13px; width: 100%; }
.tree-social { display: flex; gap: 12px; justify-content: center; }
.tree-social a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: grid; place-items: center;
  color: var(--white);
}
.tree-social a:hover { background: var(--cta); border-color: var(--cta); color: var(--white); }
.tree-social svg { width: 18px; height: 18px; fill: currentColor; }
.tree-foot { color: #9eb0c4; font-size: 12px; margin-top: 28px; }

.offer-points { list-style: none; padding: 0; margin: 0 0 16px; }
.offer-points li { padding-left: 22px; position: relative; margin: 0 0 6px; font-size: 14px; }
.offer-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }

.scheduler-link { display: block; text-align: center; margin-top: 10px; font-weight: 600; }

/* Responsive */
@media (max-width: 1024px) {
  .card-grid-4, .instructors { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 0; padding: 160px 0 40px; }
}
@media (max-width: 800px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-3);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 16px;
  }
  .nav.is-open { display: flex; }
  .nav > li { border-top: 1px solid rgba(255,255,255,0.08); }
  .nav a, .nav button.has-sub { display: block; width: 100%; text-align: left; padding: 12px 20px; }
  .nav .drop { position: static; display: none; min-width: 0; border-radius: 0; background: #0e1b52; }
  .nav li.open > .drop { display: block; }
  .hero .wrap, .split, .quotes, .benefits, .card-grid, .card-grid-3, .card-grid-4,
  .form-grid, .post-card, .foot-grid, .instructors, .tree-cards, .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .utility { justify-content: flex-start; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
  .logo img { height: 56px; }
  .hero { padding: 150px 0 32px; }
  .post-card .body { padding: 16px; }
  .section { padding: 48px 0; }
}

/* Focus, skip link, a11y toolbar, cookies, extras */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  top: 0;
  left: 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 14px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  z-index: 200;
  background: var(--cta);
  color: #fff;
  border-radius: 0 0 4px 4px;
}

/* Collapsed accessibility control: small FAB that never covers page content */
.a11y-widget {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.a11y-fab {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(3, 27, 56, 0.35);
  padding: 0;
}
.a11y-fab:hover,
.a11y-fab[aria-expanded="true"] { background: var(--cta); border-color: #fff; }
.a11y-panel {
  pointer-events: auto;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 12px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}
.a11y-panel[hidden] { display: none !important; }
.a11y-panel-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.a11y-panel button {
  background: var(--navy-4);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font: 600 13px/1 Poppins, sans-serif;
  padding: 10px 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.a11y-panel button:hover { background: var(--primary); }
body { padding-bottom: 72px; }
html.font-lg { font-size: 18px; }
html.font-xl { font-size: 20px; }
html.high-contrast {
  --text: #000;
  --muted: #222;
  --bg: #fff;
  --border: #000;
}
html.high-contrast body { background: #fff; }
html.high-contrast .hero::before,
html.high-contrast .page-banner::before,
html.high-contrast .form-band::before {
  background: rgba(3,27,56,0.92);
}

.cookie-banner {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--navy);
  color: #fff;
  padding: 16px 20px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner .wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 14px; color: #d7eaff; max-width: 60em; }
.cookie-banner a { color: var(--cyan); }

.breadcrumbs { font-size: 14px; margin-bottom: 16px; color: var(--muted); }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs.light, .breadcrumbs.light a { color: #d7eaff; }
.draft-flag {
  display: inline-block;
  background: #fff4d6;
  border: 1px dashed var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.cats { font-size: 13px; color: var(--muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 6px; }
.gallery-grid figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px) {
  .gallery-grid, .contact-grid { grid-template-columns: 1fr; }
}

body.has-cookie .a11y-widget { bottom: 100px; }
/* Reserve a right-side gutter on small screens so the FAB sits in the margin, never over text.
   Applied to .wrap (with !important) so inline hero padding cannot undo it. */
@media (max-width: 800px) {
  :root { --a11y-gutter: 58px; }
  .a11y-widget { right: 6px; bottom: 12px; }
  body.has-cookie .a11y-widget { bottom: 120px; }
  .tree-shade { padding-left: 16px; padding-right: calc(16px + var(--a11y-gutter)); }
  .hero,
  .hero-program,
  .page-banner,
  .form-band,
  .section,
  .section-sm,
  .site-footer {
    padding-right: var(--a11y-gutter);
  }
  .wrap {
    width: min(var(--max, 1272px), calc(100% - 28px - var(--a11y-gutter))) !important;
    max-width: calc(100% - 28px - var(--a11y-gutter));
    margin-left: 20px !important;
    margin-right: calc(8px + var(--a11y-gutter)) !important;
  }
  .site-header .wrap,
  .cookie-banner .wrap {
    width: min(var(--max, 1272px), calc(100% - 40px)) !important;
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* =====================================================================
   v2 layout (Nov 2026): structure modeled on a modern martial arts school
   layout (top bar, solid header, slanted CTAs, pill eyebrows, card grids,
   dark curriculum band, stats row, form band). Colors, logo, and font are
   Karate Edge's own: navy, blue, cyan, green, Poppins. Never red.
   ===================================================================== */
:root {
  --ink: #0A1A33;
  --navy-deep: #021428;
  --gray-bg: #EEF1F6;
  --blue-soft: #E3EEFF;
  --star: #F5B301;
  --radius-lg: 18px;
  --shadow-card: 0 10px 30px rgba(3, 27, 56, 0.10);
}
body { color: #44506A; }
h1, h2, h3, h4 { color: var(--ink); }

/* Buttons: slanted edges, blue gradient (brand CTA) */
.btn-skew {
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  border-radius: 0;
  padding: 16px 34px;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 16px;
  box-shadow: none;
}
.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.85);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-light { background: var(--white); color: var(--navy) !important; }
.btn-light:hover { color: var(--cta) !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.mt { margin-top: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cta); margin: 0 8px; }
.link-arrow svg { fill: currentColor; }

/* Pills / eyebrows */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--cta);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin: 0 0 18px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(2,83,254,0.18); }
.pill-dark { background: rgba(113, 229, 255, 0.12); color: var(--cyan); border: 1px solid rgba(113,229,255,0.35); }
.pill-dark .dot { box-shadow: 0 0 0 3px rgba(113,229,255,0.2); }

.display { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -0.01em; color: var(--white); margin: 0 0 20px; }
.display .accent { color: var(--cyan); display: inline; }
.display-sm { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; text-transform: uppercase; line-height: 1.1; letter-spacing: -0.005em; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #C9D6E8; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #C9D6E8; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--cyan); }
.topbar svg { width: 14px; height: 14px; fill: var(--cyan); }
.topbar-social { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.08); justify-content: center; }
.topbar-social svg { fill: #fff; }
.site-header, .site-header.is-solid {
  position: sticky; top: 0; background: var(--white); color: var(--ink);
  box-shadow: 0 2px 14px rgba(3,27,56,0.08); z-index: 60;
}
.site-header .nav-bar { padding: 12px 0; min-height: 76px; }
.logo { color: var(--ink) !important; gap: 12px; }
.logo img { height: 52px; width: 52px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 18px; font-weight: 800; letter-spacing: 0.04em; color: var(--ink); }
.logo-text span { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cta); margin-top: 3px; }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text span { color: var(--cyan); }
.logo-tile { background: #fff; border-radius: 12px; padding: 6px; display: inline-flex; }
.logo-tile img { width: 44px; height: 44px; }
.nav { gap: 26px; }
.nav a, .nav button.has-sub {
  color: #33405A; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500;
}
.nav a:hover, .nav a.is-active, .nav button.has-sub:hover { color: var(--cta); }
.nav button.has-sub::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.nav .drop { background: #fff; border: 1px solid var(--border); border-radius: 12px; left: -12px; right: auto; min-width: 290px; padding: 10px 0; box-shadow: var(--shadow-card); }
.nav .drop a { color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; gap: 10px; }
.nav .drop a small { color: #7A86A0; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.nav .drop a small svg { fill: currentColor; }
.nav .drop a:hover { background: var(--blue-soft); color: var(--cta); }
.drop-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #7A86A0; padding: 10px 20px 4px; border-top: 1px solid var(--border); margin-top: 6px; }
.nav-cta .btn { color: #fff !important; padding: 13px 26px; }
.nav-toggle { background: var(--navy); border-radius: 8px; display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 0 11px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.hero2 {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) var(--hero-img) center / cover no-repeat;
  padding: 80px 0 90px;
}
.hero2::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,20,40,0.94) 0%, rgba(3,27,56,0.86) 45%, rgba(0,60,120,0.70) 100%); }
.hero2 .wrap { position: relative; z-index: 1; }
.hero2-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero2-lede { font-size: 18px; color: #D7E4F5; max-width: 34em; }
.hero2-media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.hero2-media img { width: 100%; height: 480px; object-fit: cover; }
.hero2-badge { position: absolute; top: 20px; left: 20px; background: linear-gradient(to right, var(--cta), var(--cta-2)); color: #fff; padding: 10px 16px; border-radius: 12px; box-shadow: 0 10px 24px rgba(2,83,254,0.35); }
.hero2-badge small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }
.hero2-badge strong { font-size: 18px; }
.hero2-chip { position: absolute; left: 18px; right: 18px; bottom: 18px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hero2-chip strong { display: block; font-size: 15px; }
.hero2-chip span { font-size: 13px; color: #5B6780; }
.tag-dark { background: var(--navy); color: #fff !important; font-size: 12px !important; font-weight: 700; padding: 7px 12px; clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); white-space: nowrap; }

/* Trust strip */
.trust-strip { background: var(--navy-deep); border-top: 3px solid var(--cta); padding: 20px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); padding: 14px 16px; clip-path: polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%); }
.trust-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(113,229,255,0.12); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-icon svg { fill: var(--cyan); width: 20px; height: 20px; }
.trust-item strong { display: block; color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.trust-item span { color: #A9B9D0; font-size: 13px; }

/* Sections */
.section2 { padding: 90px 0; position: relative; }
.section-light { background: #fff; }
.section-gray { background: var(--gray-bg); }
.section-dark { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #C9D6E8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sec-head p:not(.pill) { font-size: 17px; color: #5B6780; }
.sec-head.light p:not(.pill) { color: #C9D6E8; }
.sec-head .attrib { font-weight: 700; color: var(--cta) !important; font-size: 14px !important; text-transform: uppercase; letter-spacing: 0.08em; }
.watermark { overflow: hidden; }
.watermark::before {
  content: attr(data-mark); position: absolute; top: 10px; right: -20px;
  font-size: clamp(90px, 15vw, 210px); font-weight: 800; line-height: 1; letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 2px rgba(113,229,255,0.12); pointer-events: none;
}
.watermark-light::before { -webkit-text-stroke-color: rgba(3,27,56,0.07); }
.watermark > .wrap { position: relative; z-index: 1; }

/* Program cards */
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.pcard { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(3,27,56,0.16); color: inherit; }
.pcard-img { position: relative; }
.pcard-img img { width: 100%; height: 200px; object-fit: cover; }
.age-tag { position: absolute; top: 14px; left: 12px; background: var(--cta); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.age-tag-lg { font-size: 14px; padding: 8px 18px; }
.pcard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 19px; margin-bottom: 8px; }
.pcard-body p { font-size: 14.5px; color: #5B6780; flex: 1; }
.ext-note { font-size: 11px; font-weight: 700; color: var(--accent-dark); background: #EAF6E1; border-radius: 999px; padding: 3px 9px; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.06em; }
.more { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
.more svg { fill: var(--cta); }
.pcard:hover .more { color: var(--cta); }

/* SKILLZ stage cards */
.stage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stage-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stage-card { background: #fff; color: #44506A; border-radius: var(--radius-lg); padding: 26px; border-top: 4px solid var(--cta); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.stage-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.section-dark .stage-card h3, .stage-card h3 { color: var(--ink); font-size: 19px; margin: 0; }
.stage-card p { font-size: 14.5px; margin: 10px 0 0; }
.stage-tag { font-weight: 700; color: var(--cta); font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px !important; }
.age-pill { background: #EAF6E1; color: #2E7D32; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { background: var(--gray-bg); color: var(--ink); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 8px; }
.stage-grid-light .stage-card { box-shadow: var(--shadow-card); }

/* Icon cards */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icard { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); }
.icard-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icard-icon svg { fill: var(--cta); width: 24px; height: 24px; }
.icard h3 { font-size: 18px; margin-bottom: 6px; }
.icard p { font-size: 14.5px; margin: 0; }

/* Team + stats */
.team-grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.team-photo { border-radius: 50%; padding: 10px; background: #fff; box-shadow: 0 0 0 8px var(--cta), 0 30px 60px rgba(3,27,56,0.25); aspect-ratio: 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 3px solid var(--cta); margin-top: 56px; padding-top: 30px; text-align: center; }
.stats-row strong { display: block; font-size: 46px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stats-row span { font-size: 14px; font-weight: 600; color: #5B6780; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rcard { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; }
.rstars { padding: 22px 22px 0; display: flex; gap: 2px; }
.rstars svg { fill: var(--star); }
.rcard blockquote { margin: 0; padding: 12px 22px 20px; font-size: 15px; color: var(--ink); flex: 1; }
.rcard figcaption { border-top: 1px solid var(--border); padding: 14px 22px; display: flex; gap: 12px; align-items: center; }
.rcard figcaption strong { display: block; color: var(--ink); font-size: 14.5px; }
.rcard figcaption small { color: #7A86A0; font-size: 12.5px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* FAQ refresh */
#faq { background: var(--gray-bg); }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); }

/* CTA / form band */
.cta-band { position: relative; color: #fff; background: var(--navy) var(--hero-img) center / cover no-repeat; padding: 90px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,20,40,0.95), rgba(3,27,56,0.88)); }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { color: #fff; }
.cta-copy p { color: #C9D6E8; }
.rule { display: block; width: 60px; height: 4px; background: var(--cta-2); border-radius: 2px; margin: 4px 0 20px; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: #E2EBF7; }
.check-list.dark li { color: var(--ink); }
.check-list svg { flex-shrink: 0; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--accent-dark); fill: #fff; margin-top: 1px; }
.cta-visit { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 18px; margin-top: 10px; }
.cta-visit p { margin: 0 0 6px; }
.cta-visit a { color: #fff; display: inline-flex; gap: 8px; align-items: center; }
.cta-visit svg { fill: var(--cyan); }
.cta-band .form-card, .hero .form-card { border-radius: var(--radius-lg); border-top: 4px solid var(--cta); box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.cta-band .form-card h2 { text-align: center; }
.cta-band .form-card .sub { text-align: center; }
.map-band { line-height: 0; }
.map-band .map-embed { height: 360px; border-radius: 0; }
.cta-slim { background: linear-gradient(90deg, var(--cta), var(--primary)); padding: 50px 0; }
.cta-slim .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-slim h2 { color: #fff; margin: 0; font-size: clamp(22px, 2.6vw, 32px); }

/* SKILLZ page */
.banner-lede { max-width: 48em; color: #D7E4F5; font-size: 17px; }
.stage-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.stage-row.flip > :first-child { order: 2; }
.stage-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.stage-media img { width: 100%; height: 420px; object-fit: cover; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.pillar { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-card); border-left: 4px solid var(--cta); }
.pillar h3 { font-size: 16px; margin: 0 0 4px; }
.pillar p { font-size: 14px; margin: 0; }
.loves { font-size: 14.5px; }
.icon-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Inner pages: solid header now, so tighten old hero spacing */
.hero, .hero-program { padding: 70px 0 60px; min-height: 0; }
.hero::before, .page-banner::before { background: linear-gradient(100deg, rgba(2,20,40,0.94), rgba(3,27,56,0.80) 55%, rgba(0,60,120,0.65)); }
.hero h1, .page-banner h1 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; }
.page-banner { padding: 70px 0 60px; }
.kicker { color: var(--cta); }
.section-navy { background: var(--navy-deep); }
.btn:not(.btn-skew):not(.btn-outline) { border-radius: 8px; }

/* Footer */
.site-footer { background: var(--navy-deep); padding: 70px 0 26px; }
.site-footer .foot-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.foot-grid-hub { grid-template-columns: 1.4fr 1fr 1fr !important; }
.foot-brand p { color: #A9B9D0; font-size: 14px; margin: 16px 0; }
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.site-footer p { font-size: 14px; }
.site-footer p a { display: inline-flex; gap: 8px; align-items: flex-start; }
.site-footer svg { fill: var(--cyan); flex-shrink: 0; margin-top: 4px; }
.site-footer .socials svg { margin: 0; fill: #fff; }
.site-footer .socials a { border-radius: 10px; background: rgba(255,255,255,0.08); }
.site-footer li a svg { margin: 0 0 0 4px; vertical-align: middle; }
.legal { border-top: 1px solid rgba(255,255,255,0.10); }

/* Hub */
.hub-nav { display: flex; align-items: center; gap: 24px; }
.hub-nav a:not(.btn) { color: #33405A; font-weight: 500; }
.hub-nav a:not(.btn):hover { color: var(--cta); }
.hub-nav .btn { padding: 13px 26px; }
.hub-hero { padding: 80px 0 100px; }
.hub-hero-copy { text-align: center; max-width: 900px; margin: 0 auto 50px; }
.hub-hero-copy .hero2-lede { margin: 0 auto; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1080px; margin: 0 auto; }
.loc-card { background: #fff; color: #44506A; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.35); display: flex; flex-direction: column; }
.loc-img { position: relative; display: block; }
.loc-img img { width: 100%; height: 230px; object-fit: cover; }
.loc-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.loc-state { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cta); margin: 0 0 4px; }
.loc-body h2 { font-size: 26px; font-weight: 800; text-transform: uppercase; margin: 0 0 10px; }
.loc-body h2 a { color: var(--ink); }
.loc-body h2 a:hover { color: var(--cta); }
.loc-blurb { font-size: 15px; flex: 1; }
.loc-facts { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14.5px; }
.loc-facts li { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; color: var(--ink); }
.loc-facts svg { fill: var(--cta); flex-shrink: 0; width: 16px; height: 16px; }
.loc-facts a { color: var(--ink); }
.loc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 10px; }
.loc-links a { display: flex; justify-content: space-between; align-items: center; gap: 6px; border: 2px solid var(--blue-soft); background: #F6F9FF; color: var(--ink); font-weight: 600; font-size: 14px; padding: 11px 14px; border-radius: 10px; }
.loc-links a:hover { border-color: var(--cta); color: var(--cta); }
.loc-links svg { fill: var(--cta); flex-shrink: 0; }
.loc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-mini { display: inline-flex; justify-content: center; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #5B6780; padding: 8px; border-radius: 8px; }
.btn-mini svg { fill: currentColor; }
.btn-mini:hover { background: var(--gray-bg); }

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a, .nav button.has-sub { font-size: 14px; }
  .hide-md { display: none; }
  .stage-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; width: 46px; height: 46px; }
  .nav-wrap { position: static; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; box-shadow: 0 20px 30px rgba(3,27,56,0.12); max-height: calc(100vh - 120px); overflow: auto; }
  .nav.is-open { display: flex; }
  .nav > li { border-bottom: 1px solid var(--border); }
  .nav a, .nav button.has-sub { display: block; width: 100%; text-align: left; padding: 13px 0; font-size: 16px; }
  .nav .drop { position: static; box-shadow: none; border: 0; padding: 0 0 8px 10px; min-width: 0; }
  .nav-cta { border: 0 !important; padding-top: 14px; }
  .nav-cta .btn { width: 100%; text-align: center; }
  .site-header .nav-bar { position: relative; }
  .hero2-grid, .cta-grid, .team-grid, .stage-row { grid-template-columns: 1fr; gap: 36px; }
  .stage-row.flip > :first-child { order: 0; }
  .team-photo { max-width: 300px; margin: 0 auto; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .icon-grid, .review-grid, .icon-grid-3 { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .site-footer .foot-grid, .foot-grid-hub { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .topbar .wrap { min-height: 38px; }
  .section2 { padding: 64px 0; }
  .hero2 { padding: 48px 0 60px; }
  .hero2-media img { height: 320px; }
  .btn-row .btn { flex: 1 1 100%; }
  .trust-grid, .icon-grid, .review-grid, .stage-grid, .stage-grid-4, .icon-grid-3, .pillar-grid { grid-template-columns: 1fr; }
  .stats-row strong { font-size: 34px; }
  .stage-media img { height: 280px; }
  .site-footer .foot-grid, .foot-grid-hub { grid-template-columns: 1fr !important; }
  .loc-links { grid-template-columns: 1fr; }
  .hub-nav a:not(.btn) { display: none; }
  .hub-nav .btn { padding: 11px 18px; font-size: 14px; }
  .logo-text strong { font-size: 16px; }
  .cta-band { padding: 60px 0; }
}
.nav .nav-cta .btn { background: linear-gradient(to right, var(--cta), var(--cta-2)); color: #fff !important; padding: 12px 24px; font-weight: 700; }
.nav .nav-cta .btn:hover { color: #fff !important; }
.nav-toggle { align-items: center; }
.nav-toggle span { width: 22px; flex-shrink: 0; }
@media (max-width: 640px) {
  .hub-header .logo-text span { display: none; }
  .hub-nav .btn { white-space: nowrap; padding: 10px 16px; font-size: 13px; }
  .display { font-size: clamp(32px, 9vw, 44px); }
}

/* ===== New logo (white/silver + blue lettering): dark navy header for contrast ===== */
.site-header, .site-header.is-solid {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(113,229,255,0.14);
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.topbar { background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-header .nav-bar { min-height: 84px; padding: 10px 0; }
.logo { gap: 14px; }
.logo picture { display: block; line-height: 0; }
.logo img.logo-img { height: 62px; width: auto; }
.logo-city {
  color: var(--cyan); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,0.22); padding-left: 14px; line-height: 1.3; max-width: 9em;
}
.nav a, .nav button.has-sub, .hub-nav a:not(.btn) { color: #E6EEF9; }
.nav a:hover, .nav a.is-active, .nav button.has-sub:hover, .hub-nav a:not(.btn):hover { color: var(--cyan); }
.nav .drop a { color: var(--ink); }
.nav .drop a:hover { color: var(--cta); }
.nav-toggle { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); }
.site-footer .logo img.logo-img { height: 74px; }
@media (max-width: 980px) {
  .nav { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); }
  .nav > li { border-bottom-color: rgba(255,255,255,0.10); }
  .nav .drop { background: rgba(255,255,255,0.04); border-radius: 10px; }
  .nav .drop a { color: #E6EEF9; }
  .nav .drop a small { color: #A9B9D0; }
  .drop-label { color: #A9B9D0; border-top-color: rgba(255,255,255,0.10); }
}
@media (max-width: 640px) {
  .site-header .nav-bar { min-height: 70px; }
  .logo img.logo-img { height: 50px; }
  .logo-city { font-size: 10px; padding-left: 10px; letter-spacing: 0.12em; }
  .logo { gap: 10px; }
}
.logo img.logo-img { height: 74px; }
.site-header .nav-bar { min-height: 94px; padding: 8px 0; }
.hub-header .logo-city { max-width: 13em; }
@media (max-width: 640px) {
  .logo img.logo-img { height: 58px; }
  .site-header .nav-bar { min-height: 76px; }
}
.loc-img picture { display: block; }
.loc-img img { height: 270px; }
@media (max-width: 640px) { .loc-img img { height: 240px; } }
.loc-img .age-tag { left: auto; right: 12px; }
.loc-img .age-tag { top: auto; bottom: 12px; left: 12px; right: auto; }

/* Curated photos: picture elements inherit the same frame as bare imgs */
.hero2-media picture,
.pcard-img picture,
.team-photo picture,
.split picture,
.photo-grid picture,
.gallery-grid picture,
.stage-media picture,
.location-photo picture,
.coming-soon-header picture {
  display: block;
  width: 100%;
}
.team-photo picture { height: 100%; }
.location-photo { margin: 0 0 16px; }
.location-photo img { width: 100%; border-radius: 6px; object-fit: cover; max-height: 420px; }

/* St. Augustine home: visible storefront coming-soon header */
.coming-soon-header {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.coming-soon-header img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 55%;
}
.coming-soon-header .cs-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 0 22px;
  background: linear-gradient(transparent, rgba(2, 20, 40, 0.82));
  color: #fff;
}
.coming-soon-header .cs-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #71E5FF;
}
.coming-soon-header .cs-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
}
@media (max-width: 640px) {
  .coming-soon-header img { height: 200px; }
  .coming-soon-header .cs-overlay { padding: 28px 0 16px; }
}

/* Sensei Tony headshot (220x275 original; never shown larger than its real size) */
.story-head { display: flex; align-items: center; gap: 20px; margin-bottom: 12px; }
.story-head h2 { margin: 0; text-align: left; flex: 1; }
.headshot img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(3,27,56,.18); display: block; }
.instructor .photo-headshot { display: flex; justify-content: center; margin-bottom: 12px; }
.instructor .photo-headshot img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; display: block; }
@media (max-width: 560px) { .story-head { flex-direction: column; align-items: flex-start; } }
.story-head .headshot { flex: 0 0 120px; width: 120px; display: block; }
.split .story-head .headshot img { width: 120px; height: 120px; max-height: none; border-radius: 50%; }
.instructor .photo.photo-headshot { height: auto; background: none; border: 0; padding: 0; }

.team-subtitle { font-size: 18px; color: var(--navy); margin: -4px 0 14px; }

/* Instructor without a headshot yet: initials circle */
.instructor .photo-headshot .initials { width: 140px; height: 140px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #031B38; color: #fff; font-size: 2.6rem; font-weight: 800; letter-spacing: .04em; }
