:root {
  --bg: #f8f1e8;
  --bg-alt: #fffaf4;
  --surface: rgba(255, 250, 244, 0.86);
  --surface-strong: #fffdf9;
  --line: rgba(124, 95, 74, 0.14);
  --text: #47352a;
  --muted: #7a6353;
  --accent: #ca7b5a;
  --accent-strong: #b66545;
  --sage: #c4d3c2;
  --sand: #eed8bd;
  --shadow: 0 22px 60px rgba(111, 86, 66, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(202, 123, 90, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(196, 211, 194, 0.44), transparent 28%),
    linear-gradient(180deg, #fffaf6 0%, #f8f1e8 45%, #fcf6ef 100%);
}

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

button,
a.button {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.ambient {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-left {
  top: 7rem;
  left: -10rem;
  background: rgba(238, 216, 189, 0.8);
}

.ambient-right {
  top: 18rem;
  right: -8rem;
  background: rgba(196, 211, 194, 0.65);
}

.topbar,
.hero,
.highlights,
.section,
.footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand strong,
.footer strong {
  display: block;
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #f1decb, #fffefb);
  box-shadow: var(--shadow);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.nav,
.topbar-actions,
.hero-actions,
.hero-stats,
.panel-grid,
.highlights,
.program-grid,
.path-grid,
.footer,
.footer-meta {
  display: flex;
}

.nav {
  gap: 1.4rem;
  color: var(--muted);
}

.nav a:hover,
.contact-mail:hover {
  color: var(--accent-strong);
}

.topbar-actions {
  align-items: center;
  gap: 0.8rem;
}

.env-pill {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fffaf7;
  box-shadow: 0 16px 30px rgba(182, 101, 69, 0.24);
}

.button-soft {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--line);
}

.button-ghost {
  background: transparent;
  border-color: rgba(124, 95, 74, 0.2);
}

.button-full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 3.2rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section h2,
.panel-lead h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.94;
}

.hero h1 {
  font-size: clamp(3.3rem, 6vw, 5.9rem);
  max-width: 11ch;
}

.hero-text {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  gap: 0.9rem;
  margin-top: 1.7rem;
  flex-wrap: wrap;
}

.hero-stats {
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-stats li {
  min-width: 11rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.hero-stats span,
.panel-card span,
.program-card p,
.path-card p,
.highlight-card p,
.materials-main p,
.contact-card p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-panel,
.materials-side {
  display: grid;
  gap: 1rem;
}

.panel-card,
.highlight-card,
.program-card,
.path-card,
.materials-main,
.quote-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel-card,
.highlight-card,
.program-card,
.path-card,
.materials-main,
.quote-card,
.contact-card {
  padding: 1.4rem;
}

.panel-lead {
  padding: 1.6rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 237, 225, 0.9)),
    var(--surface);
}

.panel-lead h2 {
  margin-top: 0.3rem;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.panel-grid {
  gap: 1rem;
  flex-direction: column;
}

.highlights {
  gap: 1rem;
  padding: 1rem 0 2rem;
}

.highlight-card,
.program-card,
.path-card {
  flex: 1 1 0;
}

.highlight-card span,
.path-card strong {
  color: var(--accent-strong);
  font-weight: 800;
}

.section {
  padding: 3rem 0;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.section h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.program-grid,
.path-grid {
  gap: 1rem;
  flex-wrap: wrap;
}

.program-card,
.path-card {
  min-width: min(100%, 16rem);
}

.section-accent {
  padding: 2rem;
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(135deg, rgba(196, 211, 194, 0.42), rgba(255, 251, 245, 0.9));
  border: 1px solid var(--line);
}

.materials-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.materials-main ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.materials-main li {
  margin-bottom: 0.8rem;
}

.quote-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 216, 189, 0.55));
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.3;
}

.contact-card {
  display: grid;
  gap: 0.9rem;
}

.contact-mail,
.footer-meta span {
  color: var(--muted);
}

.footer {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.footer-meta {
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 700ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 90ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 180ms;
}

.reveal:nth-of-type(4) {
  animation-delay: 270ms;
}

.reveal:nth-of-type(5) {
  animation-delay: 360ms;
}

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

@media (max-width: 980px) {
  .topbar,
  .hero,
  .materials-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .nav,
  .topbar-actions,
  .highlights,
  .footer {
    flex-wrap: wrap;
  }

  .highlights {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero,
  .highlights,
  .section,
  .footer {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .section-accent {
    padding: 1.2rem;
  }

  .footer {
    align-items: flex-start;
  }
}

