:root {
  --red: #e10600;
  --red-dark: #b00000;
  --ink: #111111;
  --muted: #5a5a5a;
  --line: #e4e4e4;
  --wash: #f5f5f5;
  --paper: #ffffff;
  --black: #0b0b0b;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.6rem;
}
p { margin: 0 0 1rem; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--red);
  color: white;
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.wrap-wide { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { width: 68px; height: 68px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.04em; }
.brand-text span { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button {
  display: none;
  border: 1px solid var(--ink);
  background: white;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav .cta {
  margin-left: 0.4rem;
  background: var(--red);
  color: white;
  border-bottom: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
}
.nav .cta:hover { background: var(--red-dark); }

.hero {
  position: relative;
  min-height: 72vh;
  color: white;
  display: grid;
  align-items: end;
  background: #111 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.72) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 4.5rem 0 3.2rem; }
.kicker {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.7rem;
}
.hero .kicker { color: #ff3b30; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); max-width: 14ch; color: white; }
.hero p { max-width: 42rem; color: #f3f3f3; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.2rem; }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid var(--red);
  background: var(--red);
  color: white;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.button.ghost { background: transparent; color: white; border-color: white; }
.button.dark { background: var(--ink); border-color: var(--ink); }
.button.line { background: white; color: var(--ink); border-color: var(--ink); }
.button:hover { transform: translateY(-1px); }

.band { padding: 4.5rem 0; }
.band.wash { background: var(--wash); }
.band.black { background: var(--black); color: white; }
.band-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.6rem; }
.band-head p { max-width: 38rem; color: var(--muted); margin: 0; }
.band.black .band-head p { color: #d0d0d0; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2a2a2a; }
.value { padding: 1.4rem 1.2rem 0.2rem 0; border-right: 1px solid #2a2a2a; }
.value:last-child { border-right: 0; }
.value strong { display: block; font-family: var(--display); font-size: 1.7rem; }
.value span { color: var(--red); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.step em { color: var(--red); font-style: normal; font-weight: 800; letter-spacing: 0.12em; }

.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }

.card, .person, .dojo, .article-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card:hover, .person:hover, .dojo:hover, .article-card:hover { border-color: #bbb; box-shadow: var(--shadow); }
.card img, .person img, .article-card img, .media img { width: 100%; height: 210px; object-fit: cover; }
.card div, .person div, .article-card div, .dojo { padding: 1rem 1rem 1.15rem; }
.card h3, .person h3, .article-card h3, .dojo h3 { font-size: 1.45rem; }
.meta { color: var(--muted); font-size: 0.92rem; }
.tag {
  display: inline-block;
  background: #fff1f1;
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filters button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.dojo-list { display: grid; gap: 1rem; }
.dojo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border-left: 5px solid var(--red);
}
.times { margin: 0; padding: 0; list-style: none; }
.times li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.phone { font-weight: 800; color: var(--red-dark); text-decoration: none; font-size: 1.15rem; }

.page-hero { padding: 3.2rem 0 1.4rem; border-bottom: 1px solid var(--line); background: var(--wash); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; }
.crumbs { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.crumbs a { color: var(--red-dark); }

.prose { width: min(760px, 100%); }
.prose h2 { margin-top: 2rem; font-size: 2rem; }
.prose ol, .prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.45rem 0; }
.oath { list-style: none; padding: 0; }
.oath li { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.oath em { display: block; color: var(--muted); }

.split { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.portrait { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); background: var(--wash); }
.side-nav { display: grid; gap: 0.35rem; }
.side-nav a { text-decoration: none; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.side-nav a[aria-current="page"] { color: var(--red); font-weight: 800; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 10px; }

.site-footer { background: var(--black); color: white; padding: 3rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; }
.site-footer h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: #ffb3b0; }
.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { color: #ffb3b0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.legal { border-top: 1px solid #2a2a2a; margin-top: 2rem; padding-top: 1rem; color: #bdbdbd; font-size: 0.88rem; }
.note { background: #fff8f8; border-left: 4px solid var(--red); padding: 0.8rem 1rem; }

@media (max-width: 860px) {
  .nav-button { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    background: white;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 0.75rem 0.2rem; border-bottom: 1px solid var(--line); }
  .nav .cta { margin: 0.6rem 0 0; text-align: center; }
  .values, .steps, .grid-2, .grid-3, .grid-4, .dojo, .split, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid #2a2a2a; }
  .brand-text { display: none; }
  .hero { min-height: 78vh; }
}
