:root {
  --color-ink: #51470c;
  --color-ink-soft: #756b2c;
  --color-sun: #ffed55;
  --color-sun-soft: #fff5a6;
  --color-petal: #f8d6ee;
  --color-leaf: #b8cfa7;
  --color-logo-bg: #ffffff;
  --color-cloud: #fffdf5;
  --color-paper: #ffffff;
  --color-line: rgba(81, 71, 12, 0.16);
  --shadow-soft: 0 18px 52px rgba(81, 71, 12, 0.15);
  --width: min(1120px, calc(100% - 40px));
  --radius: 8px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family:
    Manrope,
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 14px 14px, rgba(81, 71, 12, 0.06) 0 3px, transparent 4px) 0 0 / 42px 42px,
    linear-gradient(180deg, #fffefa 0%, #fff8d8 42%, #fffdf5 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p,
ul,
dl {
  margin-block: 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: 0;
}

h1 {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 5rem;
  line-height: 0.95;
  text-shadow: 0 4px 22px rgba(32, 27, 5, 0.48);
  text-transform: uppercase;
  white-space: nowrap;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 1.55rem;
}

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

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.8rem 1rem;
  background: var(--color-ink);
  color: var(--color-paper);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 253, 245, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--color-line);
  box-shadow: 0 10px 40px rgba(81, 71, 12, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

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

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  margin-top: 0.1rem;
  color: var(--color-ink-soft);
  font-size: 0.82rem;
}

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

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: var(--color-sun);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
  color: var(--color-ink);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  position: relative;
  overflow: hidden;
  color: var(--color-paper);
  background: var(--color-ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 27, 5, 0.82) 0%, rgba(32, 27, 5, 0.42) 48%, rgba(32, 27, 5, 0.12) 100%),
    linear-gradient(0deg, rgba(32, 27, 5, 0.64) 0%, rgba(32, 27, 5, 0) 46%);
}

.hero__image,
.hero__image img {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: var(--width);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero__lead {
  max-width: 620px;
  font-size: 1.55rem;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.section,
.program,
.contact,
.site-footer {
  width: var(--width);
  margin-inline: auto;
}

.section,
.program,
.contact {
  position: relative;
  overflow: hidden;
  background: var(--color-logo-bg);
  border: 1px solid rgba(81, 71, 12, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.section::before,
.program::before,
.contact::before {
  content: "";
  position: absolute;
  right: clamp(1.5rem, 4vw, 3.5rem);
  top: clamp(2rem, 5vw, 4rem);
  width: min(46%, 380px);
  aspect-ratio: 239 / 209;
  background: url("../img/logo.png") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.program--reverse::before {
  right: auto;
  left: clamp(1.5rem, 4vw, 3.5rem);
}

.video-section::before {
  right: auto;
  left: clamp(1.5rem, 4vw, 3.5rem);
}

.contact::before {
  top: 46%;
  right: 50%;
  transform: translate(50%, -20%);
}

.section > *,
.program > *,
.contact > * {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(2rem, 5vw, 4rem);
  margin-block: clamp(2rem, 5vw, 4.5rem);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.section__content {
  max-width: 700px;
}

.section__content p,
.split__content p,
.person p,
.program__body p,
.details {
  color: var(--color-ink-soft);
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-list {
  padding: 0 0 0 clamp(1rem, 2vw, 1.5rem);
  border-left: 4px solid var(--color-sun);
}

.feature-list ul,
.check-list {
  padding-left: 1.1rem;
}

.feature-list li,
.check-list li {
  padding-left: 0.25rem;
  margin-bottom: 0.65rem;
}

.split,
.video-section,
.person,
.program {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}

.video-section {
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.48fr);
}

.split__image,
.person img,
.program__image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(81, 71, 12, 0.12);
}

.split__image img,
.person img,
.program__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__image {
  aspect-ratio: 4 / 5;
}

.video-copy p {
  color: var(--color-ink-soft);
}

.video-player {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(81, 71, 12, 0.78), rgba(81, 71, 12, 0.36)),
    url("../img/hero.jpg") center / cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(81, 71, 12, 0.12);
}

.video-player--portrait {
  justify-self: center;
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  background-position: center;
}

.video-player iframe,
.video-placeholder {
  width: 100%;
  height: 100%;
}

.video-player iframe {
  display: block;
  border: 0;
}

.video-placeholder {
  display: grid;
  place-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.video-placeholder p {
  max-width: 34ch;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(32, 27, 5, 0.5);
}

.section__heading {
  max-width: 860px;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.team {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.person {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.person--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
}

.person--reverse img {
  order: 2;
}

.person img {
  aspect-ratio: 4 / 3;
}

.programs {
  padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 8vw, 7rem);
  background: linear-gradient(180deg, rgba(248, 214, 238, 0.42), rgba(184, 207, 167, 0.34));
}

.program {
  padding: clamp(2rem, 5vw, 4rem);
  margin-block: clamp(2rem, 5vw, 4rem);
}

.program + .program {
  border-top: 1px solid rgba(81, 71, 12, 0.1);
}

.program--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
}

.program--reverse .program__image {
  order: 2;
}

.program__image {
  aspect-ratio: 3 / 4;
}

.program__body {
  padding: 0;
}

.details {
  display: grid;
  gap: 0.9rem;
  margin-block: 1.4rem;
}

.details div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--color-line);
}

.details dt {
  color: var(--color-ink);
  font-weight: 850;
}

.details dd {
  margin: 0;
}

.note {
  display: inline-block;
  padding: 0.75rem 0.9rem;
  background: var(--color-sun-soft);
  border-radius: var(--radius);
  color: var(--color-ink);
  font-weight: 700;
}

.columns {
  columns: 2;
  column-gap: 2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding-bottom: 0.18rem;
  border-bottom: 2px solid var(--color-sun);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  border-color: var(--color-ink);
}

.contact {
  max-width: 760px;
  text-align: center;
  padding: clamp(2.2rem, 5vw, 4rem);
  margin-block: clamp(2rem, 6vw, 5rem);
}

.contact__inner {
  display: grid;
  justify-items: center;
}

.contact__logo {
  width: 168px;
  margin-bottom: 1rem;
}

.contact h2 {
  margin-bottom: 0.5rem;
}

.contact__links {
  margin-top: 1.4rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.contact-link:hover {
  color: #9a7d42;
  transform: translateY(-1px);
}

.contact-link svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

.contact-link--email {
  gap: 0.45rem;
}

.contact-link--phone {
  gap: 0.55rem;
}

.contact-link--email svg,
.contact-link--phone svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-list {
  display: grid;
  gap: 0.18rem;
  text-align: left;
}

.phone-list a {
  color: inherit;
  text-decoration: none;
}

.phone-list strong {
  margin-right: 0.25rem;
}

.contact-link--icon {
  width: 38px;
  height: 38px;
}

.contact-link--icon svg {
  width: 28px;
  height: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 520ms ease,
    opacity 520ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  :root {
    --width: min(100% - 30px, 680px);
    --header-height: 74px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .hero__lead {
    font-size: 1.25rem;
  }

  .site-header {
    padding-inline: 15px;
  }

.brand img {
    width: 54px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 15px auto;
    display: grid;
    gap: 0.35rem;
    padding: 0.7rem;
    background: var(--color-paper);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    justify-content: center;
    min-height: 48px;
  }

  .hero {
    min-height: calc(92vh - var(--header-height));
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(32, 27, 5, 0.86) 0%, rgba(32, 27, 5, 0.28) 78%),
      linear-gradient(90deg, rgba(32, 27, 5, 0.42), rgba(32, 27, 5, 0.1));
  }

  .hero__image img {
    object-position: 62% center;
  }

  .intro,
  .split,
  .video-section,
  .person,
  .person--reverse,
  .program,
  .program--reverse,
  .contact {
    grid-template-columns: 1fr;
  }

  .person--reverse img,
  .program--reverse .program__image {
    order: 0;
  }

  .section::before,
  .program::before {
    top: auto;
    right: 1.25rem;
    bottom: 1.5rem;
    left: auto;
    width: min(58%, 260px);
  }

  .program__body {
    padding: 1.2rem;
  }

  .video-section::before {
    right: 1.25rem;
    left: auto;
  }

  .video-player--portrait {
    width: min(100%, 300px);
  }

  .details div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .columns {
    columns: 1;
  }

  .contact {
    max-width: var(--width);
  }
}

@media (max-width: 520px) {
  :root {
    --width: calc(100% - 24px);
  }

  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .brand span {
    max-width: 160px;
  }

  .hero__content {
    padding-bottom: 3rem;
  }

  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact__links {
    gap: 0.75rem;
  }

  .contact-link--email {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .contact-link--phone {
    width: 100%;
    justify-content: center;
  }

  .feature-list {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    transform: none;
    opacity: 1;
  }

}

