:root {
  --ivory: #faf8f5;
  --charcoal: #222222;
  --burgundy: #7a4a52;
  --stone: #d9d2c8;
  --cream: #efe6e2;
  --white: #fffdfa;
  --muted: #665f59;
  --line: rgba(34, 34, 34, 0.11);
  --shadow: 0 18px 54px rgba(70, 53, 42, 0.06);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 172px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:not(.nav-button):hover,
.site-footer a:hover {
  color: var(--burgundy);
}

.nav-button,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--burgundy);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
}

.nav-button,
.button.primary {
  background: var(--burgundy);
  color: #fffaf8;
}

.button.secondary {
  background: transparent;
  color: var(--burgundy);
}

.button:hover,
.nav-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(122, 74, 82, 0.1);
}

.menu-toggle {
  display: none;
}

.section-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.98fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 52px) 0 clamp(38px, 5.5vw, 60px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--charcoal);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.96;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.65rem, 7.4vw, 5.35rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 6.8vw, 5rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.7rem;
  line-height: 1.05;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 16px;
  color: #3a3531;
  font-size: clamp(1.1rem, 1.7vw, 1.24rem);
  line-height: 1.6;
}

.hero-support {
  max-width: 520px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 20px;
}

.language-note {
  max-width: 430px;
  margin-bottom: 0;
  padding-left: 18px;
  border-left: 1px solid var(--burgundy);
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(122, 74, 82, 0.12);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(250, 248, 245, 0.48);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: clamp(330px, 48vh, 500px);
  object-fit: cover;
  opacity: 0.9;
}

.mission,
.focus,
.chapter,
.founder,
.vision,
.why-section,
.research-speaking,
.join {
  padding: clamp(64px, 9vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.split-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.split-copy p,
.founder-copy p,
.join-copy p,
.chapter-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 640px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.measure-section,
.framework,
.platform,
.research-callout {
  padding: clamp(64px, 9vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.measure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.55fr) minmax(220px, 0.55fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.measure-column {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.44);
}

.measure-column.is-lived {
  background: rgba(239, 230, 226, 0.58);
}

.measure-column ul,
.vision-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.measure-column li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.measure-column li:last-child {
  border-bottom: 0;
}

.statement-line {
  margin: 34px 0 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.framework-grid,
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.framework-grid article,
.platform-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.42);
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-card {
  display: grid;
  color: inherit;
}

.platform-card.is-live {
  background: rgba(239, 230, 226, 0.48);
}

.framework-grid span,
.platform-card span {
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 700;
}

.framework-grid p,
.platform-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.research-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr) auto;
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
}

.research-callout p {
  margin: 0;
  color: var(--muted);
}

.product-hero {
  padding: clamp(62px, 10vw, 120px) 0 clamp(42px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.product-hero h1 {
  max-width: 940px;
  font-size: clamp(4.2rem, 11vw, 8rem);
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  padding: clamp(58px, 8vw, 96px) 0;
}

.focus-card {
  min-height: 244px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.36);
}

.focus-card span {
  display: block;
  margin-bottom: 44px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.chapter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
  gap: 30px 62px;
  padding: clamp(28px, 4.6vw, 52px);
  border: 1px solid rgba(122, 74, 82, 0.16);
  border-radius: 8px;
  background: rgba(239, 230, 226, 0.72);
}

.chapter-copy {
  align-self: end;
}

.subcard-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.subcard {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(122, 74, 82, 0.18);
  border-radius: 8px;
  background: rgba(250, 248, 245, 0.58);
  color: #3d3632;
  font-weight: 600;
}

.founder {
  display: grid;
  grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.founder-portrait {
  aspect-ratio: 4 / 5;
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 18%;
}

.founder-portrait::after {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(250, 248, 245, 0.46);
  content: "";
  pointer-events: none;
}

.founder-copy {
  max-width: 720px;
}

.credential-line {
  margin-bottom: 14px;
  color: var(--burgundy);
  font-weight: 700;
}

.credential-list,
.interest-block ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.credential-list li,
.interest-block li {
  border: 1px solid rgba(122, 74, 82, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 253, 250, 0.48);
  color: #4d4641;
  font-size: 0.82rem;
  font-weight: 700;
}

.interest-block {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.interest-block h3 {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vision-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.vision-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #3d3632;
}

.research-speaking .split-copy {
  margin-bottom: 34px;
}

.presentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.78fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.presentation-card,
.clinical-context,
.research-library article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.48);
  box-shadow: var(--shadow);
}

.presentation-card {
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: 18px;
}

.presentation-card h3,
.research-library h3 {
  font-size: 1.65rem;
}

.presentation-card p,
.research-library p {
  color: var(--muted);
}

.presentation-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #141210;
}

.presentation-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 136%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 8%;
  transform: translateY(-16%);
}

.research-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.clinical-context {
  margin: 0;
  overflow: hidden;
}

.clinical-context img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 0%;
}

.clinical-context figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.research-library {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.research-library article {
  min-height: 132px;
  padding: 22px;
}

.research-library span {
  display: block;
  margin-bottom: 20px;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 700;
}

.join {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.join-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(70, 53, 42, 0.055);
}

.join-form label {
  display: grid;
  gap: 7px;
  color: #433c37;
  font-size: 0.84rem;
  font-weight: 700;
}

.join-form label span,
.join-form p {
  color: var(--muted);
  font-weight: 500;
}

.join-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--stone);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--charcoal);
  font: inherit;
  padding: 12px 14px;
}

.join-form input:focus {
  border-color: var(--burgundy);
  outline: 3px solid rgba(122, 74, 82, 0.14);
}

.join-form button {
  width: 100%;
  margin-top: 2px;
  cursor: pointer;
}

.join-form p {
  margin: 0;
  font-size: 0.86rem;
  text-align: center;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  align-items: start;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #4d4641;
  font-size: 0.92rem;
  font-weight: 600;
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 760px;
  font-size: 0.82rem;
}

@media (max-width: 880px) {
  .site-header {
    width: 100%;
    padding: 16px;
  }

  .menu-toggle {
    position: relative;
    z-index: 30;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 253, 250, 0.78);
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: var(--charcoal);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .menu-toggle + .site-nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: grid;
    align-content: center;
    gap: 22px;
    padding: 80px 28px;
    background: var(--ivory);
    color: var(--charcoal);
    font-size: 1.45rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-toggle + .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header:not(:has(.menu-toggle)) .site-nav {
    justify-content: flex-start;
    gap: 10px 16px;
    font-size: 0.86rem;
  }

  .nav-button {
    width: min(100%, 280px);
    margin-top: 8px;
    font-size: 0.98rem;
  }

  .hero,
  .split-copy,
  .chapter-panel,
  .founder,
  .join,
  .site-footer,
  .measure-grid,
  .research-callout,
  .presentation-grid,
  .product-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding-top: 28px;
  }

  .hero-visual {
    order: 0;
  }

  .hero-visual img {
    height: clamp(240px, 58vw, 420px);
  }

  .card-grid,
  .subcard-row,
  .framework-grid,
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .site-footer {
    width: min(100% - 32px, 1160px);
  }

  .brand {
    width: 148px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.75rem);
    line-height: 1;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .product-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.35rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .card-grid,
  .subcard-row,
  .framework-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: 220px;
  }

  .focus-card span {
    margin-bottom: 38px;
  }

  .mission,
  .focus,
  .chapter,
  .founder,
  .vision,
  .why-section,
  .research-speaking,
  .join {
    padding: 58px 0;
  }

  .founder-portrait {
    min-height: 300px;
  }
}
