/* =========================================================
   Final Strike Karate — site styles
   Colors come from the logo: royal blue ring, red lettering,
   silver center, black silhouettes.
   ========================================================= */
:root {
  --red: #c8202e;
  --red-dark: #a3151f;
  --blue: #1e47c2;
  --blue-dark: #12307f;
  --navy: #0a1430;
  --navy-2: #111d42;
  --ink: #12161f;
  --text: #3a4152;
  --muted: #6b7385;
  --line: #e4e7ee;
  --paper: #f6f7fa;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(10, 20, 48, .10);
  --shadow-lg: 0 24px 60px rgba(10, 20, 48, .18);
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.1; margin: 0; font-weight: 600; letter-spacing: .3px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 500; font-size: 1rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 15px 30px; border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(200, 32, 46, .35); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue-dark); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header (floating toolbar) ---------- */
header.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 2px 18px rgba(10,20,48,.08);
}
header.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50% 100%); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 58px; height: 58px; }
.brand .name { font-family: var(--head); text-transform: uppercase; line-height: 1; color: var(--navy); }
.brand .name b { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: 1px; }
.brand .name span { display: block; font-size: .82rem; font-weight: 500; letter-spacing: 5.2px; color: var(--red); margin-top: 3px; }
nav.links { display: flex; gap: 4px; margin-left: auto; }
nav.links a {
  position: relative; font-family: var(--head); font-weight: 500; font-size: .98rem; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding: 8px 12px; white-space: nowrap;
}
nav.links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
nav.links a:hover::after, nav.links a.active::after { transform: scaleX(1); }
nav.links a.active { color: var(--red); }
.top-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.top-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.top-phone svg { width: 20px; height: 20px; color: var(--red); }
.top-cta .btn { padding: 12px 22px; font-size: .92rem; }

@media (max-width: 1120px) {
  .top-phone span { display: none; }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .top .wrap { flex-wrap: wrap; height: auto; gap: 0 12px; padding-top: 8px; }
  .brand img { width: 46px; height: 46px; }
  .brand .name b { font-size: 1.1rem; }
  .brand .name span { font-size: .7rem; letter-spacing: 4.2px; }
  .top-cta { margin-left: auto; gap: 10px; }
  .top-cta .btn { padding: 10px 14px; font-size: .8rem; letter-spacing: 1px; }
  .top-phone { width: 42px; height: 42px; border-radius: 50%; justify-content: center; background: var(--paper); }
  nav.links {
    order: 3; flex-basis: calc(100% + 48px); max-width: none; margin: 6px -24px 0; padding: 0 16px 6px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line);
  }
  nav.links::-webkit-scrollbar { display: none; }
  nav.links a { font-size: .9rem; padding: 10px 10px; }
}
@media (max-width: 420px) {
  .top-cta .btn { display: none; }
}

/* ---------- Hero (logo banner on every page) ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
  background: var(--navy) center / cover no-repeat;
}
.hero.home { min-height: min(86vh, 760px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,20,48,.96) 0%, rgba(10,20,48,.86) 38%, rgba(10,20,48,.45) 70%, rgba(10,20,48,.25) 100%),
    linear-gradient(0deg, rgba(10,20,48,.7) 0%, rgba(10,20,48,0) 40%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 1;
  background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 34%, var(--blue) 34% 100%);
}
.hero .wrap { width: 100%; padding-top: 72px; padding-bottom: 80px; }
.hero-inner { max-width: 720px; }
.hero-badge { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.hero-badge img { width: 96px; height: 96px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.crumbs { font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumbs a { color: #fff; }
.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: 3px;
  font-size: .9rem; color: var(--red);
}
.hero .eyebrow { color: #ff6b76; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; font-weight: 700; margin: 10px 0 18px; letter-spacing: .5px; }
.hero h1 em { font-style: normal; color: #ff4d5a; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 32px; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-quote { margin-top: 34px; padding-left: 18px; border-left: 3px solid var(--red); font-style: italic; color: rgba(255,255,255,.8); max-width: 520px; }
@media (max-width: 700px) {
  .hero, .hero.home { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(10,20,48,.82), rgba(10,20,48,.94)); }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero-badge img { width: 76px; height: 76px; }
  .hero .btns .btn { flex: 1 1 100%; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust .item { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.trust .item:last-child { border-right: 0; }
.trust b { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: #fff; }
.trust small { color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; }
@media (max-width: 760px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust .item:nth-child(2) { border-right: 0; }
  .trust .item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust b { font-size: 1.5rem; }
}

/* ---------- Sections ---------- */
section { padding: 110px 0; }
section.tint { background: var(--paper); }
section.tight { padding: 80px 0; }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.sec-head h2, .split h2, .page h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin: 10px 0 18px; }
.sec-head p { font-size: 1.1rem; color: var(--text); }
.rule { width: 70px; height: 4px; background: var(--red); border-radius: 2px; margin: 0 auto 22px; }
.split .rule, .page .rule { margin-left: 0; }
@media (max-width: 700px) { section { padding: 72px 0; } .sec-head { margin-bottom: 40px; } }

/* Alternating photo / text rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 100px; }
.feature.flip .media { order: 2; }
.media { position: relative; }
.media img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--red); border-radius: var(--radius); z-index: -1; }
.feature.flip .media::before { inset: 22px 22px -22px -22px; border-color: var(--blue); }
.feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; margin: 8px 0 16px; }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; }
.checks li { position: relative; padding-left: 34px; margin: 10px 0; color: var(--ink); font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .media { order: 0; }
  .feature + .feature { margin-top: 72px; }
  .media::before { inset: 14px -10px -14px 10px; }
  .feature.flip .media::before { inset: 14px 10px -14px -10px; }
}

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  background: #fff; border-radius: var(--radius); padding: 34px 26px; box-shadow: var(--shadow);
  border-top: 4px solid var(--blue); transition: transform .25s, box-shadow .25s;
}
.value:nth-child(even) { border-top-color: var(--red); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value .num { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--line); line-height: 1; }
.value h3 { font-size: 1.5rem; text-transform: uppercase; margin: 10px 0 10px; }
.value p { margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* Schedule table */
.schedule { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule th { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; text-align: left; padding: 18px 24px; font-size: .95rem; }
.schedule td { padding: 22px 24px; border-top: 1px solid var(--line); color: var(--ink); }
.schedule td:first-child { font-family: var(--head); font-size: 1.3rem; text-transform: uppercase; font-weight: 600; }
.schedule tr:hover td { background: #fafbfd; }
.schedule .tag { display: inline-block; background: rgba(30,71,194,.1); color: var(--blue); font-weight: 700; font-size: .8rem; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 600px) {
  .schedule th:nth-child(3), .schedule td:nth-child(3) { display: none; }
  .schedule th, .schedule td { padding: 16px; }
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 28px; margin-top: 56px; }
.plan { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 34px; text-align: center; border: 1px solid var(--line); position: relative; }
.plan.best { border: 2px solid var(--red); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-family: var(--head); letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem; padding: 5px 14px; border-radius: 999px; }
.plan h3 { text-transform: uppercase; font-size: 1.4rem; }
.plan .price { font-family: var(--head); font-size: 4rem; font-weight: 700; color: var(--navy); line-height: 1; margin: 18px 0 4px; }
.plan .price sup { font-size: 1.6rem; vertical-align: top; position: relative; top: 10px; }
.plan .per { color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; }
.plan .checks { text-align: left; margin: 26px 0 30px; }
.plan .btn { width: 100%; }
@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

/* Instructor */
.coach { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: start; }
.coach .photo { position: relative; }
.coach .photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.coach .photo .seal { position: absolute; right: -28px; bottom: -28px; width: 130px; height: 130px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
.coach .title { color: var(--red); font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; font-size: 1.05rem; margin: 6px 0 22px; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.creds li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .9rem; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .coach { grid-template-columns: 1fr; gap: 48px; } .coach .photo { max-width: 420px; } .coach .photo .seal { right: -10px; } }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(10,20,48,.06); margin-bottom: 14px; border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1430' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(180deg); background-color: rgba(200,32,46,.1); }
.faq details[open] { border-color: rgba(200,32,46,.35); }
.faq .ans { padding: 0 26px 22px; }
.faq .ans p:last-child { margin: 0; }

/* Dark "Visit" band */
.visit-band { background: #05091a; color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.visit-band::before { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(30,71,194,.18); }
.visit-band .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; position: relative; }
.visit-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin: 10px 0 30px; }
.info { list-style: none; padding: 0; margin: 0 0 34px; }
.info li { display: flex; gap: 18px; margin-bottom: 22px; }
.info .ic { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(200,32,46,.15); color: #ff6b76; }
.info .ic svg { width: 22px; height: 22px; }
.info b { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; color: rgba(255,255,255,.6); font-size: .85rem; }
.info span, .info a { color: #fff; font-size: 1.1rem; text-decoration: none; }
.info a:hover { text-decoration: underline; }
.visit-band .btns { display: flex; flex-wrap: wrap; gap: 14px; }
.map { width: 100%; height: 440px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #1a2140; }
@media (max-width: 900px) { .visit-band { padding: 72px 0; } .visit-band .wrap { grid-template-columns: 1fr; gap: 40px; } .map { height: 320px; } }

/* Call-to-action band */
.cta-band {
  background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #e03a47);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-transform: uppercase; }
.cta-band p { margin: 8px 0 0; color: rgba(255,255,255,.88); font-size: 1.1rem; }
.cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-white { background: #fff; color: var(--red); }
.cta-band .btn-white:hover { background: var(--navy); color: #fff; }

/* Long-form page text (About) */
.page { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: start; }
.page .prose p { font-size: 1.08rem; }
.page .prose h3 { font-size: 1.7rem; text-transform: uppercase; margin: 46px 0 14px; color: var(--navy); }
.page .prose h3 small { display: block; font-size: .9rem; color: var(--red); letter-spacing: 2px; margin-top: 6px; }
.lead-in::first-letter { font-family: var(--head); float: left; font-size: 4.4rem; line-height: .9; padding: 6px 12px 0 0; color: var(--red); font-weight: 700; }
.aside { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 24px; }
.aside .card { background: var(--paper); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.aside .card h4 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 12px; }
.aside .seal-card { background: var(--navy); text-align: center; border: 0; }
.aside .seal-card img { width: 220px; margin: 0 auto 14px; }
.aside .seal-card p { color: rgba(255,255,255,.75); font-size: .95rem; margin: 0; }
.mini { list-style: none; padding: 0; margin: 0; }
.mini li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.mini li:last-child { border-bottom: 0; }
.mini b { color: var(--navy); }
@media (max-width: 960px) { .page { grid-template-columns: 1fr; gap: 48px; } .aside { position: static; } }

/* Gallery */
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery button {
  display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; break-inside: avoid; position: relative; box-shadow: var(--shadow);
}
.gallery img { width: 100%; height: auto; transition: transform .5s; }
.gallery button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,20,48,.45), transparent 50%); opacity: 0; transition: opacity .3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(5,9,26,.95); display: none; align-items: center; justify-content: center; z-index: 200; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; display: grid; place-items: center; line-height: 1; }
.lightbox button:hover { background: var(--red); }
.lightbox .close { top: 18px; right: 18px; }
.lightbox .prev { left: 14px; top: 50%; margin-top: -26px; }
.lightbox .next { right: 14px; top: 50%; margin-top: -26px; }
.lightbox .count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem; letter-spacing: 1px; }
@media (max-width: 600px) { .lightbox { padding: 60px 10px; } .lightbox .prev, .lightbox .next { top: auto; bottom: 10px; margin: 0; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.ccard { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--text); box-shadow: 0 4px 16px rgba(10,20,48,.05); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(200,32,46,.35); }
.ccard .ic { flex: none; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.ccard:nth-child(even) .ic { background: var(--red); }
.ccard .ic svg { width: 24px; height: 24px; }
.ccard b { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; font-size: .85rem; color: var(--muted); }
.ccard span { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
form.contact { background: #fff; border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; border-top: 5px solid var(--red); }
form.contact h3 { font-size: 1.8rem; text-transform: uppercase; }
form.contact .sub { margin: -8px 0 4px; color: var(--muted); }
form.contact label { font-weight: 600; font-size: .9rem; color: var(--ink); display: grid; gap: 8px; }
form.contact input, form.contact textarea {
  font: inherit; font-size: 1rem; padding: 14px 16px; border: 1.5px solid #d6dae4; border-radius: 8px; width: 100%; background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
form.contact input:focus, form.contact textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,71,194,.14); background: #fff; }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: var(--red); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } form.contact { padding: 30px 22px; } }
@media (max-width: 560px) { form.contact .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: #05091a; color: rgba(255,255,255,.7); padding: 80px 0 0; font-size: .96rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 48px; }
footer h4 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; font-weight: 500; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
footer a { color: rgba(255,255,255,.85); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .fbrand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
footer .fbrand img { width: 64px; height: 64px; }
footer .fbrand .name { font-family: var(--head); text-transform: uppercase; color: #fff; line-height: 1; }
footer .fbrand .name b { display: block; font-size: 1.4rem; letter-spacing: 1px; }
footer .fbrand .name span { display: block; color: #ff6b76; letter-spacing: 5px; font-size: .82rem; margin-top: 4px; }
footer .valuesline { font-family: var(--head); text-transform: uppercase; letter-spacing: 2.5px; color: #fff; font-size: .9rem; margin-top: 18px; }
footer .social { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); margin-top: 18px; }
footer .social:hover { background: var(--blue); }
footer .social svg { width: 20px; height: 20px; color: #fff; }
footer .bottom { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer .cols { grid-template-columns: 1fr; gap: 36px; } footer { padding-top: 60px; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .value:hover, a.ccard:hover { transform: none; }
}

/* Black belt roster (Instructors page) */
.roster { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 980px; margin: 0 auto; gap: 24px; align-items: start; }
.rank-group { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-top: 4px solid var(--red); }
.rank-group h3 { background: var(--navy); color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 18px 22px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.rank-group .deg { background: var(--red); border-radius: 6px; padding: 3px 10px; font-weight: 700; }
.rank-group ul { list-style: none; margin: 0; padding: 6px 22px 10px; }
.rank-group li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rank-group li:last-child { border-bottom: 0; }
.rank-group .who { color: var(--ink); font-weight: 600; }
.rank-group .yr { font-family: var(--head); font-size: 1.15rem; color: var(--blue); font-weight: 600; flex: none; }
.inst-key { display: inline-block; vertical-align: middle; margin-left: 6px; background: rgba(200,32,46,.1); color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
@media (max-width: 960px) { .roster { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Instructors page: photo centered on top, bio below */
.coach.stack { grid-template-columns: 1fr; justify-items: center; gap: 56px; }
.coach.stack .photo { width: 100%; max-width: 420px; }
.coach.stack > div { max-width: 820px; width: 100%; }
.coach.stack { gap: 100px; }
.coach.stack .photo .seal { left: 50%; right: auto; bottom: -65px; transform: translateX(-50%); }
.coach .photo .seal { box-shadow: none; border-radius: 0; aspect-ratio: auto; object-fit: contain; }
