
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --ivory: #F7F0E4;
  --cream: #FFFDF8;
  --terracotta: #C87557;
  --terracotta-dark: #A44F35;
  --sage: #667B5B;
  --ink: #292D25;
  --muted: #62665C;
  --line: #E8DFD1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  line-height: 1.12;
}

h1, h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: white;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 4px;
}

/* Navigation */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  max-width: 1280px;
  margin: auto;
  padding: 1.2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
}

.brand strong {
  color: var(--terracotta-dark);
}

.brand-mark {
  color: var(--terracotta);
  font-size: 2rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .9rem;
  font-weight: 600;
}

.nav-links a:not(.nav-cta):hover,
.text-link:hover {
  color: var(--terracotta-dark);
}

.nav-cta {
  padding: .75rem 1.2rem;
  background: var(--sage);
  color: white;
  border-radius: 100px;
  transition: background .2s ease;
}

.nav-cta:hover {
  background: #4D6244;
}

/* Hero */

.hero {
  max-width: 1440px;
  margin: auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 5rem 5%;
}

.eyebrow {
  color: var(--terracotta-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 1.5rem 0;
  font-size: clamp(2.8rem, 4.4vw, 5rem);
  letter-spacing: -.035em;
}

.hero h1 em {
  color: var(--sage);
  font-weight: 400;
}

.hero-description {
  max-width: 480px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: #873E2A;
}

.text-link {
  font-size: .9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  border-radius: 46% 46% 16px 16px;
  background: var(--ivory);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: inherit;
}

.hero-note {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  padding: 1rem 1.3rem;
  background: var(--cream);
  box-shadow: 0 12px 35px #292D251A;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 700;
}

.hero-note span {
  margin-right: .4rem;
  color: var(--terracotta);
}

/* Mission */

.intro-section {
  padding: 6rem 5%;
  background: var(--ivory);
  text-align: center;
}

.intro-section h2,
.community-section h2,
.enrollment-section h2 {
  max-width: 760px;
  margin: 1rem auto 1.5rem;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
}

.intro-section > p:last-child {
  max-width: 680px;
  margin: auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Community */

.community-section {
  max-width: 1280px;
  margin: auto;
  padding: 6rem 5%;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  padding: 3rem 2rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: left;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: #E9D8C7;
  color: var(--terracotta-dark);
  font-size: 1.8rem;
}

.value-card h3 {
  margin-bottom: .75rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Enrollment invitation */

.enrollment-section {
  padding: 6rem 5%;
  background: var(--sage);
  color: white;
  text-align: center;
}

.enrollment-section .eyebrow {
  color: #FBE2C9;
}

.enrollment-section p:not(.eyebrow) {
  margin-bottom: 2rem;
}

.enrollment-section .button-primary {
  background: var(--cream);
  color: var(--ink);
}

.enrollment-section .button-primary:hover {
  background: var(--ivory);
}

.site-footer {
  padding: 2rem 5%;
  background: var(--ink);
  color: white;
  text-align: center;
  font-size: .85rem;
}

.site-footer p {
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 380px;
  }

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

@media (max-width: 600px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-cta {
    padding: .6rem 1rem;
  }

  .hero {
    padding: 3rem 5%;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .hero-note {
    right: .5rem;
    bottom: 1rem;
    font-size: .75rem;
  }

  .intro-section,
  .community-section,
  .enrollment-section {
    padding: 4rem 5%;
  }
}

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

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