:root {
  --ink: #171415;
  --ink-soft: #554d4f;
  --paper: #f4f0e9;
  --paper-deep: #e9e1d7;
  --white: #fffdf9;
  --wine: #711d2b;
  --wine-deep: #3d1019;
  --wine-bright: #a13c4f;
  --rose: #d7a8a2;
  --sage: #879488;
  --line: rgba(31, 23, 25, 0.16);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 80px rgba(47, 25, 29, 0.12);
  --radius: 22px;
  --shell: min(1240px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--wine);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1001;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left center;
}

.content-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 220ms ease, background 220ms ease, min-height 220ms ease, border 220ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  color: var(--ink);
  background: rgba(244, 240, 233, 0.93);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--wine-deep);
  background: var(--white);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.is-scrolled .brand-mark {
  color: var(--white);
  background: var(--wine);
}

.brand-mark span {
  color: var(--rose);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: 0.18em;
}

.brand-copy small {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.08em;
  opacity: 0.68;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  padding: 30px 0 27px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 11px 16px 11px 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

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

.header-cta span {
  color: var(--wine);
}

.is-scrolled .header-cta {
  color: var(--white);
  background: var(--wine);
}

.is-scrolled .header-cta span {
  color: var(--rose);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  color: var(--white);
  background: var(--wine-deep);
  overflow: hidden;
}

.hero-image,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
  animation: hero-in 1200ms cubic-bezier(.2,.8,.2,1) both;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(47, 7, 18, 0.92) 0%, rgba(69, 15, 27, 0.7) 35%, rgba(65, 16, 25, 0.08) 71%),
    linear-gradient(0deg, rgba(22, 10, 13, 0.56) 0%, transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(820px, calc(100svh - 100px));
  max-width: 720px;
  margin-left: max(32px, calc((100vw - 1240px) / 2));
  padding-top: 176px;
  padding-bottom: 150px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span::after {
  display: block;
  width: 38px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.7;
}

.eyebrow.light {
  color: var(--rose);
}

.hero h1,
.section-heading h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(64px, 7.1vw, 112px);
}

.hero h1 em,
.section-heading h2 em,
.closing h2 em {
  color: var(--rose);
  font-weight: 400;
}

.hero-lead {
  max-width: 610px;
  margin: 34px 0 0;
  color: rgba(255, 253, 249, 0.8);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(43, 12, 20, 0.2);
}

.button-light {
  color: var(--wine-deep);
  background: var(--white);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 650;
}

.text-link.light {
  color: rgba(255, 253, 249, 0.86);
}

.hero-facts {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 140px 140px 220px 1fr;
  align-items: end;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-facts div {
  display: flex;
  flex-direction: column;
}

.hero-facts strong {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
}

.hero-facts div span {
  color: rgba(255, 253, 249, 0.58);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts > p {
  justify-self: end;
  margin: 0;
  color: rgba(255, 253, 249, 0.7);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.hero-facts i {
  margin-inline: 12px;
  color: var(--rose);
  font-style: normal;
}

.section {
  position: relative;
  padding: 138px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  column-gap: 80px;
  align-items: start;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  font-size: clamp(54px, 6vw, 86px);
}

.section-heading > p:last-child {
  max-width: 550px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.section-heading.compact {
  display: block;
}

.section-heading.compact h2 {
  max-width: 810px;
}

.section-heading.compact > p:last-child {
  margin-top: 30px;
}

.opening {
  background:
    radial-gradient(circle at 93% 9%, rgba(161, 60, 79, 0.09), transparent 27%),
    var(--paper);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 92px;
}

.signal-card {
  min-height: 286px;
  padding: 28px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.signal-card.strong {
  color: var(--white);
  background: var(--wine);
  border-color: transparent;
}

.signal-label,
.mini-label {
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.strong .signal-label {
  color: var(--rose);
}

.signal-card h3 {
  margin: 36px 0 12px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.signal-card p {
  min-height: 52px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 14px;
}

.signal-card.strong p,
.signal-card.strong small {
  color: rgba(255, 253, 249, 0.7);
}

.signal-line {
  height: 3px;
  margin-bottom: 9px;
  background: rgba(113, 29, 43, 0.13);
  overflow: hidden;
}

.signal-line span {
  display: block;
  width: var(--value);
  height: 100%;
  background: var(--wine);
}

.strong .signal-line {
  background: rgba(255, 255, 255, 0.18);
}

.strong .signal-line span {
  background: var(--rose);
}

.signal-card small {
  color: var(--ink-soft);
  font-size: 10px;
}

.site-comparison {
  margin-top: 96px;
  padding: 48px;
  background: var(--white);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}

.comparison-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.comparison-head h3 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
}

.segmented-control {
  display: inline-flex;
  padding: 4px;
  background: var(--paper);
  border-radius: 999px;
}

.segmented-control button,
.priority-controls button,
.filter-row button {
  border: 0;
  cursor: pointer;
}

.segmented-control button {
  min-width: 112px;
  padding: 11px 16px;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.segmented-control button.is-active {
  color: var(--white);
  background: var(--wine);
}

.comparison-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 50px;
  padding-top: 44px;
  animation: panel-in 240ms ease both;
}

.comparison-panel[hidden] {
  display: none;
}

.site-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--wine);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 14px;
}

.site-id p {
  margin: 22px 0 28px;
  font-size: 20px;
}

.site-id p strong {
  display: block;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.site-id a {
  padding-bottom: 3px;
  color: var(--wine);
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
}

.compare-column h4 {
  margin: 0 0 24px;
  color: var(--sage);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-column.issues h4 {
  color: var(--wine-bright);
}

.compare-column ul {
  list-style: none;
}

.compare-column li {
  position: relative;
  padding: 13px 0 13px 25px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.compare-column li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--sage);
  content: "+";
  font-weight: 800;
}

.compare-column.issues li::before {
  color: var(--wine-bright);
  content: "→";
}

.friction-section {
  background: var(--paper-deep);
}

.friction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 78px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.friction-card {
  min-height: 360px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 260ms ease, background 260ms ease, transform 260ms ease;
}

.friction-card:hover {
  z-index: 1;
  color: var(--white);
  background: var(--wine);
  transform: translateY(-7px);
  box-shadow: 0 30px 60px rgba(74, 21, 31, 0.2);
}

.friction-card > span {
  color: var(--wine-bright);
  font-family: var(--display);
  font-size: 14px;
}

.friction-card:hover > span,
.friction-card:hover small {
  color: var(--rose);
}

.friction-card h3 {
  max-width: 310px;
  margin: 65px 0 18px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
}

.friction-card p {
  min-height: 76px;
  color: var(--ink-soft);
  font-size: 13px;
}

.friction-card:hover p {
  color: rgba(255, 253, 249, 0.72);
}

.friction-card small {
  display: block;
  margin-top: 28px;
  color: var(--wine-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.friction-card strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.ecosystem {
  color: var(--white);
  background:
    radial-gradient(circle at 50% 42%, rgba(161, 60, 79, 0.2), transparent 34%),
    var(--wine-deep);
  overflow: hidden;
}

.section-heading.on-dark > p:last-child {
  color: rgba(255, 253, 249, 0.66);
}

.ecosystem-map {
  position: relative;
  min-height: 700px;
  margin-top: 70px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 76%;
  height: 76%;
}

.orbit-two {
  width: 46%;
  height: 46%;
}

.eco-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 220px;
  height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.04), 0 30px 80px rgba(13, 3, 5, 0.3);
  transform: translate(-50%, -50%);
}

.eco-core span {
  color: var(--wine);
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
}

.eco-core strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
}

.eco-core small {
  max-width: 155px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 9px;
  text-align: center;
}

.eco-node {
  position: absolute;
  z-index: 3;
  width: min(290px, 28%);
  padding: 26px;
  background: rgba(255, 253, 249, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, background 220ms ease;
}

.eco-node:hover {
  background: rgba(255, 253, 249, 0.12);
  transform: translateY(-6px);
}

.medical-node {
  top: 10%;
  left: 8%;
}

.academy-node {
  top: 10%;
  right: 8%;
}

.shop-node {
  right: 50%;
  bottom: 5%;
  transform: translateX(50%);
}

.shop-node:hover {
  transform: translate(50%, -6px);
}

.eco-node small {
  color: var(--rose);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eco-node h3 {
  margin: 25px 0 11px;
  font-family: var(--display);
  font-size: 37px;
  font-weight: 400;
}

.eco-node p {
  margin-bottom: 22px;
  color: rgba(255, 253, 249, 0.65);
  font-size: 13px;
}

.eco-node > span {
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.principles > div {
  min-height: 175px;
  padding: 28px 26px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.principles > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.principles span {
  display: block;
  margin-bottom: 28px;
  color: var(--rose);
  font-family: var(--display);
  font-size: 13px;
}

.principles strong {
  display: block;
  font-size: 14px;
}

.principles p {
  margin: 8px 0 0;
  color: rgba(255, 253, 249, 0.54);
  font-size: 11px;
}

.academy {
  background: var(--paper);
}

.academy-intro {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 90px;
  align-items: end;
}

.academy-intro > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.academy-demo {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  margin-top: 80px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.course-browser {
  padding: 40px;
}

.browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.browser-top h3 {
  margin: 7px 0 0;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
}

.filter-button {
  padding: 10px 12px 10px 17px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.filter-button span {
  display: inline-grid;
  width: 21px;
  height: 21px;
  margin-left: 9px;
  place-items: center;
  color: var(--white);
  background: var(--wine);
  border-radius: 50%;
  font-size: 9px;
}

.filter-row {
  display: flex;
  gap: 7px;
  margin: 28px 0;
}

.filter-row button {
  padding: 8px 14px;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.filter-row button.is-active {
  color: var(--white);
  background: var(--wine);
}

.course-list {
  border-top: 1px solid var(--line);
}

.course-card {
  display: grid;
  width: 100%;
  grid-template-columns: 58px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 14px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 180ms ease, padding 180ms ease;
}

.course-card:hover,
.course-card.is-selected {
  padding-inline: 20px;
  background: var(--paper);
}

.course-card[hidden] {
  display: none;
}

.course-date {
  display: flex;
  width: 50px;
  height: 58px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--wine);
  border: 1px solid rgba(113, 29, 43, 0.28);
  border-radius: 12px;
}

.course-date strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.course-date small {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.course-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.course-copy small {
  color: var(--wine-bright);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-copy strong {
  margin: 4px 0 2px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
}

.course-copy span {
  color: var(--ink-soft);
  font-size: 11px;
}

.course-capacity {
  padding: 6px 9px;
  color: #496655;
  background: #e4ede5;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.course-capacity.warning {
  color: #8a423d;
  background: #f3dfdc;
}

.course-detail {
  display: flex;
  padding: 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 168, 162, 0.24), transparent 33%),
    var(--wine);
  flex-direction: column;
}

.detail-badge {
  align-self: flex-start;
  padding: 6px 10px;
  color: var(--wine-deep);
  background: var(--rose);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-detail .mini-label {
  margin: 42px 0 10px;
  color: var(--rose);
}

.course-detail h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 37px;
  font-weight: 400;
  line-height: 1.08;
}

.course-detail > p:not(.mini-label) {
  color: rgba(255, 253, 249, 0.68);
  font-size: 13px;
}

.course-detail dl {
  margin: 20px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.course-detail dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
}

.course-detail dt {
  color: rgba(255, 253, 249, 0.5);
}

.course-detail dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.detail-register {
  width: 100%;
  color: var(--wine-deep);
  background: var(--white);
}

.detail-note {
  display: block;
  margin-top: 13px;
  color: rgba(255, 253, 249, 0.45);
  font-size: 9px;
  text-align: center;
}

.lifecycle {
  margin-top: 100px;
}

.lifecycle ol {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 24px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lifecycle li {
  position: relative;
  min-height: 155px;
  padding: 26px 18px;
  border-right: 1px solid var(--line);
}

.lifecycle li:first-child {
  border-left: 1px solid var(--line);
}

.lifecycle li::before {
  position: absolute;
  top: -5px;
  left: -1px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--wine);
  border-radius: 50%;
}

.lifecycle li span {
  display: block;
  margin-bottom: 28px;
  color: var(--wine-bright);
  font-family: var(--display);
  font-size: 12px;
}

.lifecycle li strong,
.lifecycle li small {
  display: block;
}

.lifecycle li strong {
  font-size: 13px;
}

.lifecycle li small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 9px;
}

.system-scope {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 90px;
}

.scope-card {
  min-height: 430px;
  padding: 34px;
  background: rgba(255, 253, 249, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-card.featured {
  color: var(--white);
  background: var(--wine);
  border-color: transparent;
  transform: translateY(-16px);
}

.scope-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 68px;
  place-items: center;
  color: var(--wine);
  border: 1px solid rgba(113, 29, 43, 0.3);
  border-radius: 50%;
}

.featured .scope-icon {
  color: var(--rose);
  border-color: rgba(255, 255, 255, 0.3);
}

.featured .mini-label {
  color: var(--rose);
}

.scope-card h3 {
  margin: 8px 0 28px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
}

.scope-card ul {
  list-style: none;
}

.scope-card li {
  position: relative;
  padding: 12px 0 12px 20px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.scope-card li::before {
  position: absolute;
  left: 0;
  color: var(--wine-bright);
  content: "·";
  font-size: 20px;
  line-height: 15px;
}

.featured li {
  color: rgba(255, 253, 249, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
}

.featured li::before {
  color: var(--rose);
}

.value-section {
  background: var(--white);
}

.value-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.value-loop {
  position: relative;
  min-height: 590px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.value-loop::before,
.value-loop::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px dashed rgba(113, 29, 43, 0.18);
  border-radius: 50%;
}

.value-loop::after {
  inset: 25%;
}

.loop-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 165px;
  height: 165px;
  place-items: center;
  align-content: center;
  color: var(--white);
  background: var(--wine);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.loop-center span {
  color: var(--rose);
  font-family: var(--display);
  font-size: 34px;
}

.loop-center strong {
  margin-top: 3px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
}

.loop-item {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 135px;
  height: 135px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.loop-item span {
  color: var(--wine-bright);
  font-family: var(--display);
  font-size: 11px;
}

.loop-item strong {
  margin: 6px 0 2px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
}

.loop-item small {
  color: var(--ink-soft);
  font-size: 8px;
}

.loop-a {
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.loop-b {
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
}

.loop-c {
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.loop-d {
  top: 50%;
  left: -7px;
  transform: translateY(-50%);
}

.metric-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  background: var(--paper);
  border-radius: 18px;
}

.metric-strip div {
  min-height: 105px;
  padding: 25px;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border: 0;
}

.metric-strip span,
.metric-strip strong {
  display: block;
}

.metric-strip span {
  margin-bottom: 10px;
  color: var(--wine-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-strip strong {
  font-size: 12px;
}

.plan {
  background: var(--paper-deep);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 84px;
}

.roadmap article {
  min-height: 390px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
}

.roadmap article:nth-child(2) {
  color: var(--white);
  background: var(--wine);
}

.roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.roadmap article:nth-child(2) .roadmap-top {
  border-color: rgba(255, 255, 255, 0.16);
}

.roadmap-top span {
  color: var(--wine-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.roadmap article:nth-child(2) .roadmap-top span {
  color: var(--rose);
}

.roadmap-top small {
  color: var(--ink-soft);
  font-size: 10px;
}

.roadmap article:nth-child(2) .roadmap-top small {
  color: rgba(255, 253, 249, 0.55);
}

.roadmap h3 {
  margin: 48px 0 14px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
}

.roadmap p {
  min-height: 66px;
  color: var(--ink-soft);
  font-size: 13px;
}

.roadmap article:nth-child(2) p {
  color: rgba(255, 253, 249, 0.68);
}

.roadmap ul {
  margin-top: 24px;
  list-style: none;
}

.roadmap li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.roadmap article:nth-child(2) li {
  border-color: rgba(255, 255, 255, 0.15);
}

.priority-board {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
  margin-top: 100px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.priority-copy h3 {
  margin: 8px 0 14px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
}

.priority-copy > p:not(.mini-label) {
  color: var(--ink-soft);
  font-size: 13px;
}

.priority-controls {
  display: flex;
  gap: 6px;
  margin-top: 30px;
}

.priority-controls button {
  padding: 8px 14px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.priority-controls button.is-active {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.priority-list {
  border-top: 1px solid var(--line);
}

.priority-list article {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 90px;
  border-bottom: 1px solid var(--line);
}

.priority-list article[hidden] {
  display: none;
}

.priority-list article > span {
  color: var(--wine-bright);
  font-family: var(--display);
  font-size: 12px;
}

.priority-list strong,
.priority-list small {
  display: block;
}

.priority-list strong {
  font-size: 13px;
}

.priority-list small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
}

.priority-list b {
  min-width: 56px;
  padding: 6px 8px;
  color: var(--wine);
  background: rgba(113, 29, 43, 0.09);
  border-radius: 999px;
  font-size: 9px;
  text-align: center;
}

.closing {
  position: relative;
  padding: 130px 0 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(215, 168, 162, 0.16), transparent 32%),
    var(--wine);
  overflow: hidden;
}

.closing-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 100px;
  align-items: end;
}

.closing-layout .eyebrow {
  grid-column: 1 / -1;
}

.closing h2 {
  font-size: clamp(70px, 8vw, 116px);
}

.closing-copy {
  padding-bottom: 12px;
}

.closing-copy p {
  margin-bottom: 34px;
  color: rgba(255, 253, 249, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.closing-marquee {
  width: max-content;
  margin-top: 100px;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--display);
  font-size: clamp(80px, 11vw, 170px);
  line-height: 0.75;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.site-footer {
  color: var(--white);
  background: var(--wine-deep);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 60px;
  align-items: center;
  min-height: 170px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 17px;
}

.footer-brand > span {
  color: var(--rose);
  font-family: var(--display);
  font-size: 35px;
}

.footer-brand p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer-brand small {
  margin-top: 5px;
  color: rgba(255, 253, 249, 0.45);
  font-size: 9px;
}

.source-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.source-links span {
  color: rgba(255, 253, 249, 0.4);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-links a {
  color: rgba(255, 253, 249, 0.74);
  font-size: 9px;
}

.source-links a:hover {
  color: var(--rose);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  min-width: 320px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--wine-deep);
  background: var(--rose);
  border-radius: 50%;
  font-weight: 800;
}

.toast p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.toast strong {
  font-size: 11px;
}

.toast small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 40px, 960px);
  }

  .site-header {
    padding-inline: 20px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header .brand {
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    inset: 0 0 auto;
    display: flex;
    width: 100vw;
    height: 100dvh;
    min-height: 100svh;
    padding: 110px 24px 40px;
    background: var(--wine-deep);
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 200ms ease, transform 200ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav a {
    padding: 16px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--display);
    font-size: 30px;
  }

  .menu-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-open .site-header {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-open .brand-mark {
    color: var(--wine-deep);
    background: var(--white);
  }

  .hero-content {
    margin-left: 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .section-heading > p:last-child {
    margin-top: 0;
  }

  .signal-grid,
  .friction-grid,
  .roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-panel {
    grid-template-columns: 0.7fr 1.1fr;
  }

  .compare-column.issues {
    grid-column: 2;
  }

  .ecosystem-map {
    min-height: 760px;
  }

  .medical-node {
    left: 3%;
  }

  .academy-node {
    right: 3%;
  }

  .eco-node {
    width: 31%;
  }

  .academy-intro,
  .value-layout {
    grid-template-columns: 1fr;
  }

  .academy-intro {
    gap: 35px;
  }

  .academy-intro > p {
    max-width: 650px;
  }

  .academy-demo {
    grid-template-columns: 1fr;
  }

  .course-detail {
    min-height: auto;
  }

  .lifecycle ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .system-scope {
    grid-template-columns: 1fr 1fr;
  }

  .scope-card.featured {
    transform: none;
  }

  .system-scope .scope-card:last-child {
    grid-column: 1 / -1;
  }

  .value-loop {
    width: min(590px, 90vw);
    justify-self: center;
  }

  .metric-strip {
    grid-template-columns: 1fr 1fr;
  }

  .metric-strip div:nth-child(2) {
    border-right: 0;
  }

  .metric-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .roadmap article:last-child {
    grid-column: 1 / -1;
  }

  .footer-layout {
    grid-template-columns: 1fr auto;
  }

  .source-links {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 28px;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 32px);
    --radius: 18px;
  }

  .site-header {
    min-height: 70px;
    padding-inline: 16px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(47, 7, 18, 0.92) 0%, rgba(54, 10, 20, 0.7) 75%, rgba(54, 10, 20, 0.3)),
      linear-gradient(0deg, rgba(22, 10, 13, 0.72), transparent 60%);
  }

  .hero-content {
    width: calc(100% - 32px);
    min-height: 680px;
    margin-left: 16px;
    padding-top: 110px;
    padding-bottom: 100px;
    justify-content: flex-end;
  }

  .hero h1 {
    font-size: clamp(53px, 16vw, 76px);
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
    flex-direction: column;
  }

  .hero-facts {
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 20px;
  }

  .hero-facts strong {
    font-size: 22px;
  }

  .hero-facts div span {
    max-width: 85px;
    font-size: 7px;
  }

  .hero-facts > p {
    display: none;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading h2 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .section-heading > p:last-child,
  .academy-intro > p {
    font-size: 15px;
  }

  .signal-grid,
  .friction-grid,
  .roadmap,
  .system-scope {
    grid-template-columns: 1fr;
  }

  .signal-grid {
    margin-top: 58px;
  }

  .signal-card {
    min-height: auto;
  }

  .site-comparison {
    margin-top: 62px;
    padding: 25px 20px;
  }

  .comparison-head {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented-control {
    width: 100%;
  }

  .segmented-control button {
    width: 50%;
  }

  .comparison-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .compare-column.issues {
    grid-column: auto;
  }

  .friction-card {
    min-height: 330px;
  }

  .friction-card h3 {
    margin-top: 45px;
  }

  .ecosystem-map {
    display: grid;
    min-height: auto;
    gap: 12px;
    padding: 20px;
    border-radius: 28px;
  }

  .orbit {
    display: none;
  }

  .eco-core,
  .eco-node,
  .medical-node,
  .academy-node,
  .shop-node {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .eco-core {
    width: 180px;
    height: 180px;
    margin: 8px auto 22px;
  }

  .eco-node:hover,
  .shop-node:hover {
    transform: translateY(-4px);
  }

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

  .principles > div {
    min-height: 160px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .academy-intro {
    grid-template-columns: 1fr;
  }

  .academy-demo {
    margin-top: 55px;
  }

  .course-browser,
  .course-detail {
    padding: 24px 20px;
  }

  .browser-top {
    align-items: flex-start;
  }

  .browser-top h3 {
    font-size: 28px;
  }

  .course-card {
    grid-template-columns: 50px 1fr;
    gap: 13px;
    padding-inline: 0;
  }

  .course-card:hover,
  .course-card.is-selected {
    padding-inline: 8px;
  }

  .course-capacity {
    display: none;
  }

  .course-copy strong {
    font-size: 16px;
  }

  .course-detail .mini-label {
    margin-top: 30px;
  }

  .course-detail h3 {
    font-size: 32px;
  }

  .lifecycle {
    margin-top: 70px;
  }

  .lifecycle ol {
    grid-template-columns: 1fr 1fr;
  }

  .system-scope .scope-card:last-child {
    grid-column: auto;
  }

  .scope-card {
    min-height: auto;
  }

  .scope-icon {
    margin-bottom: 45px;
  }

  .value-layout {
    gap: 60px;
  }

  .value-loop {
    width: 100%;
    min-height: 430px;
  }

  .loop-item {
    width: 100px;
    height: 100px;
  }

  .loop-center {
    width: 135px;
    height: 135px;
  }

  .loop-item strong {
    font-size: 16px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric-strip div,
  .metric-strip div:nth-child(2) {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .roadmap article:last-child {
    grid-column: auto;
  }

  .priority-board {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 70px;
  }

  .priority-list article {
    grid-template-columns: 28px 1fr;
    padding: 12px 0;
  }

  .priority-list b {
    display: none;
  }

  .closing {
    padding-top: 90px;
  }

  .closing-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .closing h2 {
    font-size: clamp(60px, 17vw, 88px);
  }

  .closing-marquee {
    margin-top: 70px;
  }

  .footer-layout {
    display: flex;
    padding: 40px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .source-links {
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  .source-links span {
    width: 100%;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
