:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #59655f;
  --paper: #fbfaf6;
  --quiet: #f0eee4;
  --line: #d9d4c4;
  --leaf: #244d3d;
  --leaf-soft: #dfe9df;
  --gold: #b98528;
  --gold-soft: #f2dfb7;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(24, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  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: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
}

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

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.34);
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  background: rgba(24, 35, 31, 0.28);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(24, 35, 31, 0.24);
  backdrop-filter: blur(18px);
}

.nav a {
  min-width: 92px;
  padding: 8px 14px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(22px, 6vw, 82px) 82px;
}

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

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

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(13, 24, 20, 0.82), rgba(13, 24, 20, 0.35) 52%, rgba(13, 24, 20, 0.1)),
    linear-gradient(0deg, rgba(13, 24, 20, 0.42), rgba(13, 24, 20, 0.05) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: var(--white);
}

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

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

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

.button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--white);
  color: var(--leaf);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.intro {
  padding: clamp(42px, 6vw, 82px) clamp(22px, 7vw, 110px);
  background: var(--leaf);
  color: var(--white);
}

.intro p {
  max-width: 980px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.28;
}

.section,
.practice-band,
.closing {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.section {
  padding: clamp(58px, 8vw, 108px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.teaching-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(24, 35, 31, 0.05);
}

.card-number {
  display: block;
  margin-bottom: 58px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.teaching-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.teaching-card p,
.practice-band p,
.lineage p,
.closing p,
.site-footer {
  color: var(--muted);
}

.practice-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(38px, 6vw, 66px);
  border-radius: 8px;
  background: var(--quiet);
  box-shadow: var(--shadow);
}

.practice-band p {
  margin: 0;
  font-size: 1.1rem;
}

.lineage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.lineage-copy p {
  max-width: 650px;
  font-size: 1.08rem;
}

blockquote {
  margin: 0;
  padding: 34px;
  border-left: 5px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--leaf-soft);
}

blockquote p {
  margin: 0;
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
}

cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.closing {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: 34px 0 clamp(58px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.closing p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(22px, 6vw, 82px);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 110px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .section-heading,
  .practice-band,
  .lineage,
  .closing {
    display: block;
  }

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

  .teaching-card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 30px;
  }

  .practice-band,
  blockquote {
    margin-top: 24px;
  }

  .closing p {
    margin-top: 18px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}
