:root {
  --ink: #211c18;
  --muted: #6d6259;
  --paper: #fffaf3;
  --warm: #f5eadc;
  --clay: #a85e3e;
  --clay-dark: #7d432d;
  --line: rgba(33, 28, 24, 0.12);
  --shadow: 0 24px 60px rgba(33, 28, 24, 0.14);
}

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

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

a {
  color: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem;
  color: #fff;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 12, 9, 0.8) 0%, rgba(16, 12, 9, 0.58) 42%, rgba(16, 12, 9, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 12, 9, 0.3), rgba(16, 12, 9, 0.1));
}

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand,
.nav-cta {
  text-decoration: none;
}

.brand {
  font-weight: 700;
  letter-spacing: 0;
}

.nav-cta {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  color: var(--ink);
  background: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: left;
}

.hero h1,
.hero .tagline {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f7d4bd;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 10vw, 7.75rem);
}

h2 {
  max-width: 720px;
  font-size: clamp(2.15rem, 4vw, 4rem);
}

p {
  margin: 1.25rem 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
}

.tagline {
  margin-top: 1rem;
  max-width: 760px;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 2rem;
  padding: 0.88rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.button-dark {
  background: var(--clay-dark);
  color: #fff;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-text {
  max-width: 620px;
}

.program {
  background: var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.program-list li {
  min-height: 132px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.76);
  color: var(--ink);
  font-weight: 750;
}

.program-list li::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--clay);
}

.experience {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
}

.contact {
  padding: clamp(4.5rem, 8vw, 7rem) 20px;
  text-align: center;
  background: #2b241f;
  color: #fff;
}

.contact .eyebrow {
  color: #f0b58f;
}

.contact h2 {
  margin: 0 auto;
}

.contact .button {
  box-shadow: none;
}

.fade-in {
  animation: fadeIn 700ms ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .fade-in,
  .button,
  .nav-cta {
    animation: none;
    transition: none;
  }
}

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

  .experience img {
    order: 2;
  }

  .program-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100vh;
    background-position: 42% center;
  }

  .site-nav {
    width: min(100% - 28px, 1120px);
    padding: 18px 0;
  }

  .brand {
    max-width: 13rem;
    line-height: 1.15;
  }

  .nav-cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
  }

  .section,
  .program-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero-content {
    width: 100%;
    padding: 0;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.3rem);
  }

  p {
    font-size: 1rem;
  }

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

  .program-list li {
    min-height: 0;
  }
}
