:root {
  --bg: #eef4f1;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-muted: #f4f8f6;
  --text: #17332f;
  --text-soft: #496460;
  --heading: #123a44;
  --accent: #2d6c68;
  --accent-strong: #1f5556;
  --accent-soft: #d6e8e5;
  --border: rgba(18, 58, 68, 0.12);
  --shadow: 0 18px 48px rgba(19, 56, 53, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1160px;
  --font-sans: "Aptos", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(92, 156, 143, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(44, 114, 141, 0.14), transparent 28%),
    linear-gradient(180deg, #f7fbf9 0%, #edf3f0 100%);
  line-height: 1.65;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 20px auto 48px;
}

.hero,
.content-section {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: var(--radius-xl);
  padding: 20px;
  overflow: visible;
  margin-top: 14px;
}

.top-nav {
  position: sticky;
  top: 12px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 58, 68, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(19, 56, 53, 0.1);
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--heading);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.nav-toggle {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.hero-grid {
  display: block;
  padding: 32px 10px 12px;
}

.hero-main {
  display: grid;
  gap: 18px;
}

.hero-top {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.hero-copy,
.hero-panel,
.content-section,
.team-card,
.video-embed,
.video-placeholder,
.poster-card,
.reference-card,
.outcome-card,
.section-nav,
.book-card {
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 22px;
  background: linear-gradient(135deg, rgba(214, 232, 229, 0.82), rgba(255, 255, 255, 0.92));
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-intro,
.team-body p,
.prose p,
.reference-list li,
.bullet-list li,
.caption,
.video-placeholder p {
  font-size: 1.03rem;
}

.hero-text {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.hero-meta {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 58, 68, 0.08);
}

.hero-meta p {
  margin: 0;
  color: var(--text);
}

.hero-meta p + p {
  margin-top: 6px;
}

.hero-overview {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 248, 245, 0.96));
  border: 1px solid rgba(18, 58, 68, 0.08);
}

.hero-overview h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-overview p {
  margin: 0;
  font-size: 0.96rem;
}

.hero-overview p + p {
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(31, 85, 86, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(45, 108, 104, 0.2);
  color: var(--accent-strong);
}

.hero-panel {
  padding: 20px;
  background: linear-gradient(180deg, rgba(18, 58, 68, 0.98), rgba(39, 93, 96, 0.92));
  color: #f4fbfa;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-panel h2 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.hero-list {
  margin: 0;
  padding-left: 20px;
}

.hero-list li + li {
  margin-top: 8px;
}

#app {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.content-section {
  padding: 30px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-intro {
  margin-top: 14px;
  max-width: 68ch;
  color: var(--text-soft);
}

.section-nav {
  padding: 18px;
  background: linear-gradient(180deg, #f4faf8, #edf5f1);
  border: 1px solid var(--border);
}

.section-nav h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.section-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(18, 58, 68, 0.08);
  color: var(--text-soft);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.section-nav-links a:hover,
.section-nav-links a:focus-visible {
  color: var(--accent-strong);
  border-color: rgba(45, 108, 104, 0.25);
  transform: translateY(-1px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.team-card,
.video-embed,
.video-placeholder,
.poster-card,
.reference-card,
.outcome-card {
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: 0 10px 22px rgba(17, 56, 52, 0.06);
}

.team-card {
  padding: 24px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(17, 56, 52, 0.12);
}

.team-role {
  display: inline-block;
  margin: 10px 0 16px;
  color: var(--accent);
  font-weight: 700;
}

.team-body p,
.prose p {
  margin: 0 0 18px;
  color: var(--text);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 18px;
}

.highlight-grid-full {
  grid-template-columns: 1fr;
}

.bullet-list,
.reference-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li + li,
.reference-list li + li {
  margin-top: 12px;
}

.video-placeholder {
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(29, 77, 79, 0.95), rgba(52, 109, 113, 0.92));
  color: #f5fbfa;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-placeholder .placeholder-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.video-placeholder h3 {
  color: #ffffff;
  margin: 16px 0 10px;
}

.video-placeholder p {
  margin: 0;
  color: rgba(245, 251, 250, 0.86);
}

.video-embed {
  padding: 20px;
  background: linear-gradient(180deg, #f5faf8, #ffffff);
}

.video-embed h3 {
  margin: 16px 0 14px;
}

.video-embed .placeholder-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.video-embed video {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 58, 68, 0.12);
  background: #0f2426;
}

.poster-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.poster-card {
  padding: 20px;
  background: linear-gradient(180deg, rgba(244, 250, 248, 0.96), rgba(255, 255, 255, 0.98));
}

.poster-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 58, 68, 0.12);
}

.caption {
  margin: 14px 2px 0;
  color: var(--text-soft);
}

.reference-card {
  margin-top: 12px;
  padding: 22px;
  background: linear-gradient(180deg, #fbfdfc, #f6faf8);
}

.reference-card h3 {
  margin-bottom: 14px;
}

.outcome-card {
  margin: 22px 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, #f3f9f6, #ffffff);
}

.outcome-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
}

.book-card {
  margin: 20px 0 24px;
  padding: 20px;
  background: linear-gradient(180deg, #f1f8f5, #fdfefe);
  border: 1px solid var(--border);
}

.book-card p {
  margin: 0;
}

.book-card p + p {
  margin-top: 10px;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--heading);
}

.book-meta {
  color: var(--text-soft);
}

.section-anchor {
  scroll-margin-top: 98px;
}

@media (max-width: 980px) {
  .hero-top,
  .highlight-grid,
  .poster-layout,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .section-header {
    flex-direction: column;
  }

  .hero-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    margin: 10px auto 30px;
  }

  .hero,
  .content-section {
    padding: 18px;
  }

  .top-nav {
    align-items: flex-start;
    border-radius: 28px;
    padding: 14px;
    top: 8px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding-top: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .hero-grid {
    padding-top: 18px;
  }

  h1 {
    max-width: none;
  }
}
