:root {
  --ink: #221d18;
  --muted: #6b6258;
  --paper: #fffaf2;
  --cream: #f3eadb;
  --sage: #536f4e;
  --sage-dark: #263e2d;
  --gold: #c99a55;
  --clay: #9a5f3b;
  --line: rgba(34, 29, 24, 0.14);
  --shadow: 0 24px 70px rgba(34, 29, 24, 0.16);
  --max: 1160px;
}

* {
  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;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.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;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: white;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 10px 35px rgba(34, 29, 24, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  padding: 160px clamp(20px, 5vw, 72px) 72px;
}

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

.hero-media {
  z-index: -2;
}

.hero-media::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 24, 18, 0.78), rgba(20, 24, 18, 0.24) 58%, rgba(20, 24, 18, 0.12)),
    linear-gradient(0deg, rgba(20, 24, 18, 0.62), rgba(20, 24, 18, 0.02) 42%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: inherit;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
}

.lead {
  max-width: 590px;
  margin: 24px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 88px);
}

.section h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.text-flow p,
.panel p,
.section-heading p,
.contact-section p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.teaching-section {
  background: var(--cream);
}

.teaching-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 84px);
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.image-stack img,
.gallery img,
.quote-band img {
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.stack-main {
  width: 82%;
  height: 520px;
}

.stack-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 330px;
  border: 10px solid var(--cream);
}

.panel {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.72);
}

.panel h2 {
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  min-height: 235px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-grid span {
  display: block;
  color: var(--gold);
  font-weight: 900;
}

.service-grid h3,
.timeline h3 {
  margin: 18px 0 10px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.quote-band {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 70px 20px;
  color: white;
  text-align: center;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(23, 25, 18, 0.56);
}

.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.quote-band div {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
}

.quote-band p {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.08;
}

.journey-section {
  background: var(--sage-dark);
  color: white;
}

.journey-section .section-heading p,
.journey-section .timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.timeline li {
  min-height: 250px;
  padding: 28px;
  background: #2d4934;
}

.timeline li::before {
  content: counter(list-item, decimal-leading-zero);
  color: var(--gold);
  font-weight: 900;
}

.gallery-section {
  padding-top: 0;
  background: var(--sage-dark);
}

.gallery {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 430px;
}

.gallery img:nth-child(2) {
  height: 520px;
  margin-top: -90px;
}

.contact-section {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 8vw, 96px);
}

.contact-cta {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-cta p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 42px clamp(20px, 5vw, 72px);
  color: white;
  background: #161310;
}

.site-footer > * {
  min-width: 0;
}

.site-footer img {
  width: 82px;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

.site-footer address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: white;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.footer-links button {
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.footer-credit {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.82);
}

.modal {
  width: min(720px, calc(100% - 32px));
  max-height: min(760px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(18, 15, 12, 0.68);
}

.modal h2 {
  margin: 0 44px 18px 0;
  font-family: inherit;
  font-size: 2rem;
  line-height: 1.1;
}

.modal p {
  color: var(--muted);
}

.modal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--muted);
}

.modal li + li {
  margin-top: 4px;
}

.modal h3 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

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

  .site-nav {
    position: fixed;
    inset: 78px 14px auto;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.menu-visible .site-nav {
    display: grid;
  }

  .split,
  .teaching-grid,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery img,
  .gallery img:nth-child(2) {
    height: 340px;
    margin-top: 0;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 680px;
    padding: 120px 18px 48px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 18px;
  }

  .image-stack {
    min-height: auto;
  }

  .stack-main,
  .stack-small {
    position: static;
    width: 100%;
    height: 360px;
  }

  .stack-small {
    margin-top: 14px;
    border: 0;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .timeline li {
    min-height: auto;
  }

  .quote-band {
    min-height: 420px;
  }

  .site-footer {
    padding: 34px 18px;
  }
}
