:root {
  --brand-blue: #2c4da6;
  --brand-blue-deep: #223f92;
  --brand-blue-soft: #eaf0ff;
  --brand-white: #ffffff;
  --ink: #142654;
  --body: #2f3f6b;
  --surface: #f3f6ff;
  --line: #ccd5ee;
  --accent: var(--brand-blue);
  --accent-deep: var(--brand-blue-deep);
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(25, 50, 120, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overscroll-behavior-y: none;
}

html {
  scroll-padding-top: 32px;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--body);
  background: radial-gradient(circle at 10% 0%, var(--brand-blue-soft), #ffffff 42%);
  line-height: 1.6;
  overflow-x: hidden;
}

main section[id] {
  scroll-margin-top: 32px;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(7px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(19, 49, 63, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 0;
}

.brand-text {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0.4rem 0.65rem;
  color: var(--ink);
  font-weight: 700;
}

.hero {
  padding: 2.8rem 0 4.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  margin-top: 0;
}

h1,
h2 {
  font-family: "Fraunces", serif;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.45rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  margin-bottom: 0.5rem;
}

.hero-copy {
  max-width: 58ch;
}

.hero-wordmark {
  width: min(450px, 100%);
  height: auto;
  margin: 0.5rem 0 0.8rem;
  display: block;
}

.hero-cta {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  color: var(--white);
}

.btn.primary:hover {
  background: #1d3988;
  text-decoration: none;
}

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.btn.ghost:hover {
  background: #f3f8f8;
  text-decoration: none;
}

.hero-card,
.card,
.info-panel,
.contact-card {
  background: var(--white);
  border: 1px solid rgba(19, 49, 63, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.4rem;
}

.hero-card ul,
.info-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.section {
  padding: 4.2rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.muted {
  background: var(--surface);
  border-top: 1px solid rgba(19, 49, 63, 0.06);
  border-bottom: 1px solid rgba(19, 49, 63, 0.06);
}

.cards {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.1rem;
}

.note {
  font-size: 0.94rem;
  color: #445682;
}

.info-panel {
  padding: 1.3rem;
}

.training-book-btn {
  margin-top: 0;
}

.training-class-list {
  margin-bottom: 1.35rem !important;
}

.training-cta {
  margin-top: 0;
}

.contact {
  padding-bottom: 5.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.3rem;
}

.small {
  font-size: 0.86rem;
  color: #4c5f8c;
}

.site-footer {
  border-top: 1px solid rgba(19, 49, 63, 0.08);
  background: var(--brand-blue);
  color: var(--brand-white);
}

.footer-grid {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-grid p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.footer-grid div {
  display: flex;
  gap: 1rem;
}

.footer-grid a {
  color: var(--brand-white);
}

.footer-grid a:hover {
  color: #dfe8ff;
}

.footer-logo {
  width: 28px;
  height: 28px;
  display: block;
}

.legal {
  padding: 4rem 0;
}

.legal h1 {
  margin-bottom: 0.5rem;
}

.legal p,
.legal li {
  max-width: 78ch;
}

@media (max-width: 920px) {
  .hero-grid,
  .section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: 74px;
    width: min(300px, calc(100vw - 2rem));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.7rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}
