:root {
  --ink: #120e0c;
  --ink-soft: #2a221c;
  --paper: #f7f1e8;
  --paper-deep: #ebe2d4;
  --sand: #d8c7a8;
  --maroon: #8b1e2d;
  --maroon-hot: #b42334;
  --gold: #c4a35a;
  --text: #1c1612;
  --muted: #5c534a;
  --white: #fffaf4;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 163, 90, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(139, 30, 45, 0.08), transparent 45%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(18, 14, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 250, 244, 0.08);
  transition: background 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(18, 14, 12, 0.88);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.brand img {
  width: 2rem;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  font-weight: 500;
}

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

.site-nav a {
  text-decoration: none;
  color: rgba(255, 250, 244, 0.86);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
}

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

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 250, 244, 0.35);
  background: rgba(255, 250, 244, 0.08);
}

.nav-cta:hover {
  background: var(--maroon-hot);
  border-color: var(--maroon-hot);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 14, 12, 0.45) 0%, rgba(18, 14, 12, 0.25) 35%, rgba(18, 14, 12, 0.82) 100%),
    linear-gradient(90deg, rgba(18, 14, 12, 0.55) 0%, transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, calc(100% - 2rem));
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(3.5rem, 8vw, 5.5rem);
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  animation: rise 1s var(--ease) both;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  color: rgba(255, 250, 244, 0.92);
  animation: rise 1s 0.12s var(--ease) both;
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 30rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 250, 244, 0.82);
  animation: rise 1s 0.22s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1s 0.32s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--maroon-hot);
  color: var(--white);
  border-color: var(--maroon-hot);
}

.btn-primary:hover {
  background: var(--maroon);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 250, 244, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 250, 244, 0.1);
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-inner {
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.lede {
  margin: 0 0 2.5rem;
  max-width: 38rem;
  font-size: 1.12rem;
  font-weight: 300;
  color: var(--muted);
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(3, 1fr);
}

.pillars h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
}

.gurus {
  background:
    linear-gradient(180deg, rgba(18, 14, 12, 0.03), transparent 30%),
    linear-gradient(0deg, rgba(139, 30, 45, 0.04), transparent 40%);
}

.guru-grid {
  display: grid;
  gap: 3.5rem;
}

.guru {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.guru-alt {
  grid-template-columns: 0.95fr 1.05fr;
}

.guru-alt .guru-visual {
  order: 2;
}

.guru-visual {
  overflow: hidden;
  min-height: 18rem;
  background: var(--ink);
}

.guru-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.guru:hover .guru-visual img {
  transform: scale(1.04);
}

.guru-track {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 600;
}

.guru-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.guru-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 34rem;
}

.lesson-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(28, 22, 18, 0.14);
}

.lesson {
  display: grid;
  grid-template-columns: minmax(7rem, 12rem) 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(28, 22, 18, 0.14);
}

.lesson h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
}

.lesson p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 38rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--ink-soft);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.95);
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.g-span-2 {
  grid-column: span 2;
}

.g-span-2 img {
  aspect-ratio: 16 / 10;
}

.enroll {
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

.enroll-panel {
  background:
    linear-gradient(145deg, rgba(18, 14, 12, 0.94), rgba(42, 34, 28, 0.92)),
    url("/assets/photo-3.jpg") center / cover;
  color: var(--white);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.enroll-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(18, 14, 12, 0.88) 0%, rgba(18, 14, 12, 0.72) 55%, rgba(139, 30, 45, 0.45) 100%);
  pointer-events: none;
}

.enroll-panel > * {
  position: relative;
  z-index: 1;
}

.enroll-panel .eyebrow {
  color: var(--gold);
}

.enroll-panel h2 {
  color: var(--white);
}

.enroll-panel .lede {
  color: rgba(255, 250, 244, 0.78);
}

.enroll-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.enroll-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 250, 244, 0.7);
}

.enroll-form .full {
  grid-column: 1 / -1;
}

.enroll-form input,
.enroll-form select,
.enroll-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 244, 0.22);
  background: rgba(255, 250, 244, 0.08);
  color: var(--white);
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.enroll-form input:focus,
.enroll-form select:focus,
.enroll-form textarea:focus {
  outline: 2px solid rgba(196, 163, 90, 0.55);
  outline-offset: 1px;
}

.enroll-form select option {
  color: var(--ink);
}

.enroll-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.35rem;
}

.enroll-alt {
  margin: 0;
  color: rgba(255, 250, 244, 0.7);
  font-size: 0.95rem;
}

.enroll-alt a {
  color: var(--gold);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem clamp(1rem, 4vw, 2.5rem) 2.25rem;
  background: var(--ink);
  color: rgba(255, 250, 244, 0.72);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
}

.footer-meta {
  margin: 0;
  font-size: 0.88rem;
}

.footer-meta a {
  color: rgba(255, 250, 244, 0.86);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(0, -1.5%, 0);
  }
}

@media (max-width: 900px) {
  .pillars,
  .guru,
  .guru-alt {
    grid-template-columns: 1fr;
  }

  .guru-alt .guru-visual {
    order: 0;
  }

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

  .lesson {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: rgba(18, 14, 12, 0.96);
    border-bottom: 1px solid rgba(255, 250, 244, 0.08);
  }

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

  .site-nav a {
    padding: 0.9rem 1.25rem;
  }

  .nav-cta {
    margin: 0.5rem 1.25rem 0;
    text-align: center;
  }

  .hero-brand {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .enroll-form {
    grid-template-columns: 1fr;
  }

  .g-span-2 {
    grid-column: span 2;
  }
}

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

  .hero-media img,
  .reveal,
  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-actions {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
