:root {
  --ink: #171615;
  --muted: #68615a;
  --paper: #f8f4ed;
  --white: #ffffff;
  --clay: #a64b2a;
  --clay-dark: #75331f;
  --cedar: #24504a;
  --sumi: #262322;
  --line: rgba(23, 22, 21, 0.14);
  --shadow: 0 22px 70px rgba(38, 35, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(248, 244, 237, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--white);
  background: var(--sumi);
  border-radius: 50%;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

nav a,
.header-action,
.button,
.program-list a,
footer a,
.connect-list a {
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--clay);
}

.header-action,
.button,
.program-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.header-action,
.button.primary {
  color: var(--white);
  background: var(--clay);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.84), rgba(17, 16, 15, 0.38) 50%, rgba(17, 16, 15, 0.12)),
    linear-gradient(0deg, rgba(17, 16, 15, 0.62), transparent 46%);
}

.hero-content {
  position: relative;
  width: min(820px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 10vh, 92px) clamp(18px, 7vw, 92px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.connect-panel .eyebrow {
  color: #f0b36a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(50px, 9vw, 112px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.22;
}

.hero-lede {
  max-width: 670px;
  font-size: clamp(19px, 2.1vw, 25px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.quick-strip article {
  padding: 26px clamp(18px, 4vw, 46px);
  background: var(--white);
  border-right: 1px solid var(--line);
}

.quick-strip article:last-child {
  border-right: 0;
}

.quick-strip span {
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.quick-strip strong {
  display: block;
  margin: 5px 0;
  font-size: 24px;
}

.intro-section,
.profile-section,
.practice-section,
.training-section,
.program-section,
.philosophy-section,
.contact-section,
footer {
  padding: clamp(56px, 8vw, 100px) clamp(18px, 6vw, 86px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(26px, 6vw, 86px);
  align-items: start;
}

.profile-section {
  display: block;
  background: #fffaf2;
}

.profile-copy {
  max-width: 980px;
}

.profile-copy p {
  color: var(--muted);
  font-size: 18px;
}

.intro-text {
  color: var(--muted);
  font-size: 18px;
}

.practice-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(280px, 1.12fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: center;
  background: var(--paper);
}

.practice-section .button {
  margin-top: 10px;
}

.video-preview {
  position: relative;
  width: min(440px, 100%);
  justify-self: center;
  overflow: hidden;
  border: 12px solid var(--white);
  border-radius: 8px;
  background: var(--sumi);
  box-shadow: var(--shadow);
}

.video-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.training-section {
  background: var(--sumi);
  color: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.training-grid article {
  min-height: 270px;
  padding: 28px;
  background: #302c29;
}

.number {
  display: block;
  margin-bottom: 42px;
  color: #f0b36a;
  font-weight: 900;
}

.training-grid p,
.program-section p,
.contact-card p,
.connect-panel p {
  color: var(--muted);
}

.training-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.program-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: #fffaf2;
}

.program-list {
  display: grid;
  gap: 12px;
}

.program-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(38, 35, 34, 0.08);
}

.program-list a {
  color: var(--clay-dark);
  background: #f3dfd3;
}

.philosophy-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  color: var(--white);
  background: var(--cedar);
}

.philosophy-section p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 2vw, 25px);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: stretch;
}

.contact-card,
.connect-panel {
  border-radius: 8px;
}

.contact-card {
  padding: clamp(26px, 5vw, 52px);
  background: var(--white);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

textarea {
  resize: vertical;
}

.connect-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 42px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(38, 35, 34, 0.08), rgba(38, 35, 34, 0.78)),
    var(--sumi);
}

.connect-panel h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.connect-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.connect-list a {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.connect-list a:hover {
  border-color: rgba(240, 179, 106, 0.78);
  background: rgba(255, 255, 255, 0.11);
}

.connect-list span {
  color: #f0b36a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.connect-list strong {
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 17px;
}

.connect-panel .small-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

footer {
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  background: #eee5d8;
}

footer strong {
  color: var(--ink);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .quick-strip,
  .intro-section,
  .profile-section,
  .practice-section,
  .program-section,
  .philosophy-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    margin-left: 18px;
  }

  .quick-strip,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .quick-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .program-list article {
    grid-template-columns: 1fr;
  }

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