:root {
  --bg: #070707;
  --surface: #101010;
  --surface-2: #171717;
  --text: #f5f1e7;
  --muted: #bdb7aa;
  --gold: #d7a928;
  --gold-light: #f0cf67;
  --red: #a80e15;
  --blue: #0c3778;
  --line: rgba(215, 169, 40, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 1.25rem;
  --container: 74rem;
  --focus: 3px solid #f6d46c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 14, 21, 0.10), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(12, 55, 120, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 58rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  background: var(--gold-light);
  color: #090909;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(5, 5, 5, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  transform: rotate(45deg);
  font-weight: 900;
}

.brand-mark::first-letter {
  transform: rotate(-45deg);
}

.brand > span:last-child {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
  font-size: 0.66rem;
  margin-top: 0.2rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.primary-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0.65rem;
  padding: 0.65rem;
}

.menu-toggle span[aria-hidden="true"] {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-desktop.jpg");
  background-image: image-set(
    url("assets/hero-desktop.webp") type("image/webp"),
    url("assets/hero-desktop.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center top;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.55) 48%, #070707 96%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.15) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 49rem;
}

.eyebrow,
.section-label {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
  font-weight: 900;
}

.hero h1,
h2 {
  text-wrap: balance;
}

.hero h1 {
  max-width: 45rem;
  margin: 0.7rem 0 1.1rem;
  font-size: clamp(2.8rem, 7vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 42rem;
  margin: 0 0 2rem;
  color: #e5dfd3;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions,
.training-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 0.7rem;
  text-decoration: none;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #090909;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 8, 0.45);
}

.hero-motto {
  margin-top: 2.25rem;
  color: var(--gold-light);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.philosophy {
  position: relative;
}

h2 {
  margin: 0.45rem 0 1.5rem;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.statement {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(215, 169, 40, 0.08), transparent 38%),
    var(--surface);
  box-shadow: var(--shadow);
}

.statement p {
  margin: 0;
  color: #dad4c9;
  font-size: clamp(1rem, 1.7vw, 1.17rem);
}

.statement strong {
  color: var(--gold-light);
}

blockquote {
  margin: 2rem 0 0;
  padding-left: 1.2rem;
  border-left: 4px solid var(--gold);
}

blockquote p {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
}

blockquote footer {
  margin-top: 0.7rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.approach {
  background: var(--surface);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
}

.section-heading > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.method-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.method-grid li {
  min-height: 5.4rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: linear-gradient(150deg, rgba(215, 169, 40, 0.09), rgba(255, 255, 255, 0.02));
  font-weight: 800;
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.training-copy > p:not(.section-label) {
  color: var(--muted);
  max-width: 38rem;
}

.schedule {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}

.schedule div {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--surface-2);
}

.schedule dt {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.schedule dd {
  margin: 0.2rem 0 0;
  font-weight: 850;
}

.text-link {
  color: var(--gold-light);
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

.training-art {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.training-art img {
  width: 100%;
  display: block;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  color: var(--muted);
}

.footer-inner strong {
  color: var(--gold-light);
}

.footer-inner p {
  margin: 0.15rem 0 0;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    inset: calc(100% + 1px) 1rem auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: rgba(8, 8, 8, 0.98);
    box-shadow: var(--shadow);
  }

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

  .primary-nav a {
    padding: 0.8rem;
  }

  .nav-cta {
    border-radius: 0.5rem;
  }

  .section-heading,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 47rem;
    padding-bottom: 3.5rem;
  }

  .hero-media {
    background-image: url("assets/hero-mobile.jpg");
    background-image: image-set(
      url("assets/hero-mobile.webp") type("image/webp"),
      url("assets/hero-mobile.jpg") type("image/jpeg")
    );
    background-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.66) 47%, #070707 96%);
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
