:root {
  color-scheme: light;
  --ink: #17201e;
  --ink-2: #2d3936;
  --muted: #62716c;
  --soft: #84908c;
  --paper: #faf8f3;
  --surface: #fffdf8;
  --stone: #eee8dc;
  --stone-2: #e2ddcf;
  --line: rgba(23, 32, 30, 0.14);
  --line-strong: rgba(23, 32, 30, 0.24);
  --plum: #6b355f;
  --plum-dark: #402239;
  --sage: #718369;
  --blue: #466a7f;
  --clay: #b67857;
  --gold: #b79152;
  --focus: #285f9f;
  --shadow: 0 18px 44px rgba(29, 39, 36, 0.09);
  --max: 1160px;
  --wide: 1320px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(107, 53, 95, 0.18);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(40, 95, 159, 0.36);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.88);
  border-bottom: 1px solid rgba(23, 32, 30, 0.1);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 32px, var(--wide));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 760;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--plum);
  border-radius: 50%;
  font-weight: 760;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 30px);
  width: 100%;
}

.menu-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.menu-links a,
.footer a {
  color: var(--ink-2);
  transition: color 180ms ease;
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-links a[aria-current="page"],
.footer a:hover,
.footer a:focus-visible {
  color: var(--plum);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--surface);
  background: var(--ink);
  font-weight: 720;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-action:hover,
.button:hover,
.nav-action:focus-visible,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(23, 32, 30, 0.14);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.button.light {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
}

.button.plum {
  background: var(--plum-dark);
  border-color: var(--plum-dark);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.menu-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.page-main {
  min-height: 70vh;
}

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 132px) 0;
}

.section.compact {
  padding: clamp(58px, 7vw, 92px) 0;
}

.wide-section {
  width: min(100% - 32px, var(--wide));
  margin: 0 auto;
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dark-band {
  color: var(--surface);
  background: var(--ink);
}

.section-label {
  margin: 0 0 16px;
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.dark-band .section-label,
.cta-panel .section-label {
  color: #d9c0d0;
}

.display {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 6.4rem);
  line-height: 0.96;
  font-weight: 760;
}

.display.small {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.62;
}

.dark-band .lead,
.cta-panel .lead {
  color: rgba(255, 253, 248, 0.76);
}

.cta-panel .button.secondary,
.dark-band .button.secondary {
  color: var(--surface);
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.34);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(250, 248, 243, 0.98)),
    radial-gradient(circle at 78% 22%, rgba(113, 131, 105, 0.18), transparent 30%),
    radial-gradient(circle at 8% 68%, rgba(70, 106, 127, 0.14), transparent 34%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(100% - 32px, var(--wide));
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  padding: clamp(34px, 4.5vw, 56px) 0 clamp(26px, 4vw, 42px);
}

.hero-copy {
  max-width: 650px;
}

.hero .lead {
  font-size: clamp(1.16rem, 2.1vw, 1.5rem);
}

.hero .display {
  font-size: clamp(3.1rem, 6vw, 5.7rem);
  line-height: 0.98;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.hero-proof div {
  min-height: 88px;
  padding: 14px;
  background: rgba(255, 253, 248, 0.82);
}

.hero-proof strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.92rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.system-map {
  width: min(100%, 600px);
  aspect-ratio: 1.12;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.88), rgba(238, 232, 220, 0.74)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 37px,
      rgba(23, 32, 30, 0.045) 38px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 37px,
      rgba(23, 32, 30, 0.045) 38px
    );
  box-shadow: var(--shadow);
}

.system-map svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.map-line {
  fill: none;
  stroke: rgba(23, 32, 30, 0.34);
  stroke-width: 1.6;
  stroke-dasharray: 9 8;
  animation: map-dash 9s linear infinite;
}

.map-line.accent-plum {
  stroke: rgba(107, 53, 95, 0.78);
}

.map-line.accent-blue {
  stroke: rgba(70, 106, 127, 0.72);
}

.map-node rect {
  fill: var(--surface);
  stroke: rgba(23, 32, 30, 0.18);
  stroke-width: 1;
  rx: 8;
}

.map-node .node-dot {
  fill: var(--plum);
}

.map-node.sage .node-dot {
  fill: var(--sage);
}

.map-node.blue .node-dot {
  fill: var(--blue);
}

.map-node.gold .node-dot {
  fill: var(--gold);
}

.map-node text {
  fill: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 720;
}

.map-node .sub {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 560;
}

.map-core {
  transform-origin: center;
  animation: core-breathe 4.8s ease-in-out infinite;
}

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 122px) 0;
}

.page-hero .lead {
  max-width: 790px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.9rem;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 42px;
  margin-bottom: 42px;
}

.card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 32px rgba(29, 39, 36, 0.08);
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 1.22rem;
  line-height: 1.22;
}

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

.card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--plum);
  font-weight: 720;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--plum);
  font-size: 0.82rem;
  font-weight: 760;
}

.card:nth-child(2n) .card-index {
  background: var(--sage);
}

.card:nth-child(3n) .card-index {
  background: var(--blue);
}

.card:nth-child(4n) .card-index {
  background: var(--clay);
}

.text-link {
  color: var(--plum);
  font-weight: 720;
}

.approach-list {
  display: grid;
  gap: 12px;
}

.approach-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.approach-step strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 50%;
}

.approach-step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.approach-step p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

.case-list,
.industry-list,
.insight-list {
  display: grid;
  gap: 14px;
}

.row-link {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.row-link:hover,
.row-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(29, 39, 36, 0.08);
}

.row-link h3 {
  margin: 0;
  font-size: 1.18rem;
}

.row-link p {
  margin: 0;
  color: var(--muted);
}

.row-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--ink);
  border-radius: 50%;
}

.feature-panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.06), rgba(255, 253, 248, 0.02)),
    var(--ink);
}

.feature-panel h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1;
}

.feature-panel p {
  max-width: 680px;
  color: rgba(255, 253, 248, 0.76);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(255, 253, 248, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 253, 248, 0.15);
}

.evidence-grid div {
  min-height: 130px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.055);
}

.evidence-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--surface);
}

.evidence-grid span {
  color: rgba(255, 253, 248, 0.72);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-item summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 760;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--plum);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.cta-panel {
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--radius);
  color: var(--surface);
  background:
    linear-gradient(135deg, rgba(107, 53, 95, 0.95), rgba(23, 32, 30, 0.96)),
    var(--ink);
}

.cta-panel h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.98;
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.detail-section:first-child {
  border-top: 0;
}

.detail-section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.detail-section p:first-child {
  margin-top: 0;
}

.rich-text p {
  color: var(--muted);
}

.rich-text ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.rich-text li + li {
  margin-top: 8px;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.stack-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 4vw, 36px);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-2);
  font-weight: 720;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  color: rgba(255, 253, 248, 0.76);
  background: var(--ink);
}

.footer-inner {
  width: min(100% - 32px, var(--wide));
  margin: 0 auto;
  padding: 54px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) repeat(4, minmax(120px, 1fr));
  gap: 32px;
}

.footer h2,
.footer h3,
.footer strong,
.site-footer strong {
  color: var(--surface);
}

.footer-brand p {
  max-width: 360px;
  color: rgba(255, 253, 248, 0.72);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 6px;
  font-size: 0.94rem;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 253, 248, 0.68);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

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

@keyframes map-dash {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes core-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

@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;
  }
}

@media (max-width: 1080px) {
  .hero-inner,
  .section-heading,
  .split,
  .detail-section {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .sticky-copy {
    position: static;
  }

  .grid.four,
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    width: 100%;
    padding: 18px 16px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(250, 248, 243, 0.98);
    box-shadow: 0 18px 42px rgba(23, 32, 30, 0.12);
  }

  body.nav-open .site-menu {
    display: grid;
  }

  .menu-links {
    display: grid;
    gap: 4px;
  }

  .menu-links a,
  .site-menu .nav-action {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
  }

  .site-menu .nav-action {
    justify-content: center;
    margin-top: 8px;
  }

  .hero-proof,
  .grid.three,
  .row-link {
    grid-template-columns: 1fr;
  }

  .row-arrow {
    display: none;
  }
}

@media (max-width: 620px) {
  .nav,
  .section,
  .wide-section,
  .hero-inner,
  .page-hero-inner,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero-inner {
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 34px;
    min-height: auto;
  }

  .display {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero .display {
    font-size: clamp(2.18rem, 10.6vw, 3.4rem);
  }

  .display.small {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .hero-visual {
    min-height: 118px;
  }

  .system-map {
    width: min(100%, 320px);
    padding: 10px;
    aspect-ratio: 2.05;
    margin: 0 auto;
  }

  .hero .lead {
    margin-top: 14px;
    font-size: 0.98rem;
  }

  .hero .button-row {
    margin-top: 18px;
    gap: 8px;
  }

  .hero .button {
    min-height: 40px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
  }

  .hero-proof div {
    min-height: 72px;
    padding: 8px;
  }

  .hero-proof strong {
    font-size: 0.78rem;
  }

  .hero-proof span {
    font-size: 0.7rem;
  }

  .map-node .sub {
    display: none;
  }

  .grid.two,
  .grid.four,
  .evidence-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .row-link,
  .approach-step,
  .form-panel {
    padding: 20px;
  }

  .approach-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .approach-step strong {
    width: 36px;
    height: 36px;
  }

  .button-row,
  .hero .button-row {
    display: grid;
  }

  .button,
  .nav-action {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

/* Editorial refinement: the approved wireframe flow, with a quieter visual language. */
:root {
  color-scheme: light;
  --ink: #111111;
  --ink-2: #2b2b2a;
  --muted: #6a6a6a;
  --soft: #9a9a9a;
  --paper: #f8f8f6;
  --surface: #ffffff;
  --stone: #f1f1ed;
  --stone-2: #e6e6e2;
  --line: #e6e6e2;
  --line-strong: #cfcfca;
  --plum: #a54bcf;
  --plum-dark: #7f2aa6;
  --plum-wash: #f5ecfa;
  --black: #0d0d0d;
  --focus: #7f2aa6;
  --shadow: 0 24px 72px rgba(17, 17, 17, 0.09);
  --radius: 6px;
  --max: 1280px;
  --wide: 1440px;
}

html {
  background: var(--paper);
}

body,
.page-main {
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

::selection {
  color: var(--ink);
  background: #ead6f4;
}

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 4px;
}

.site-header {
  color: var(--ink);
  background: rgba(248, 248, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(100% - 48px, var(--wide));
  min-height: 76px;
  gap: 34px;
}

.brand {
  gap: 9px;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 25px;
  height: 25px;
  color: var(--surface);
  background: var(--plum);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.site-menu,
.menu-links {
  gap: clamp(18px, 2vw, 30px);
}

.menu-links a,
.footer a {
  position: relative;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 550;
}

.menu-links a::after,
.footer a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-links a[aria-current="page"],
.footer a:hover,
.footer a:focus-visible {
  color: var(--ink);
}

.menu-links a:hover::after,
.menu-links a:focus-visible::after,
.menu-links a[aria-current="page"]::after,
.footer a:hover::after,
.footer a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-action,
.button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: var(--surface);
  background: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.nav-action:hover,
.button:hover,
.nav-action:focus-visible,
.button:focus-visible {
  box-shadow: none;
  transform: translateY(-2px);
}

.nav-action:hover,
.nav-action:focus-visible,
.button.plum:hover,
.button.plum:focus-visible {
  color: var(--surface);
  background: var(--plum);
  border-color: var(--plum);
}

.button.plum,
.button:not(.secondary):not(.light) {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.button.light {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
}

.button-row {
  gap: 10px;
  margin-top: 34px;
}

.section,
.footer-inner {
  width: min(100% - 48px, var(--max));
}

.section {
  padding: clamp(116px, 13vw, 192px) 0;
}

.section::before {
  width: min(100%, var(--max));
  background: var(--line);
}

.section.compact {
  padding: 0 0 clamp(96px, 11vw, 160px);
}

.section-label,
.row-kicker {
  color: var(--plum);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display,
.feature-panel h2,
.cta-panel h2 {
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(4rem, 7.2vw, 6rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.94;
}

.display.small {
  max-width: 740px;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.display em,
.feature-panel h2 em,
.cta-panel h2 em {
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.52;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - var(--wide)) / 2));
  bottom: 0;
  width: min(31vw, 500px);
  content: "";
  background:
    linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat,
    linear-gradient(90deg, var(--line), var(--line)) 50% 0 / 1px 100% no-repeat,
    var(--plum-wash);
}

.hero::after {
  right: min(20vw, 290px);
  bottom: 19%;
  left: auto;
  width: 13px;
  height: 13px;
  background: var(--plum);
  border-radius: 50%;
}

.hero-inner {
  width: min(100% - 48px, var(--wide));
  grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.62fr);
  gap: clamp(46px, 8vw, 140px);
  padding: clamp(92px, 9vw, 128px) 0 clamp(66px, 7vw, 96px);
}

.hero-copy {
  max-width: 700px;
}

.hero .section-label {
  color: var(--plum);
}

.hero .display {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(4.6rem, 7.8vw, 7.3rem);
  font-weight: 600;
  line-height: 0.91;
}

.hero .lead {
  color: var(--muted);
}

.hero .button.plum {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.hero .button.plum:hover,
.hero .button.plum:focus-visible {
  background: var(--plum);
  border-color: var(--plum);
}

.hero .button.secondary {
  color: var(--ink);
  border-color: var(--line-strong);
}

.hero-proof {
  display: grid;
  max-width: 660px;
  margin-top: clamp(54px, 7vw, 90px);
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
  grid-template-columns: repeat(3, 1fr);
}

.hero-proof div {
  min-height: 128px;
  padding: 18px 18px 0 0;
  background: transparent;
}

.hero-proof div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.hero-visual {
  align-self: center;
  min-height: 0;
}

.system-map {
  width: min(100%, 500px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 52px rgba(76, 43, 89, 0.08);
}

.map-line {
  stroke: #c9b2d3;
  stroke-width: 1.4;
}

.map-line.accent-plum {
  stroke: var(--plum);
}

.map-line.accent-blue {
  stroke: #8e9290;
}

.map-node rect {
  fill: #ffffff;
  stroke: #dcdcd6;
}

.map-node text {
  fill: var(--ink);
}

.map-node .sub {
  fill: var(--muted);
}

.map-core circle:first-child {
  fill: #ffffff;
  stroke: #dcdcd6;
}

.map-core circle:nth-child(2) {
  fill: var(--plum-wash);
  stroke: #d4a7e4;
}

.page-hero {
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  right: max(24px, calc((100vw - var(--wide)) / 2));
  bottom: -1px;
  width: min(26vw, 340px);
  height: min(21vw, 240px);
  border: 1px solid #d7b3e6;
  background: transparent;
  transform: none;
}

.page-hero-inner {
  width: min(100% - 48px, var(--max));
  padding: clamp(132px, 15vw, 210px) 0 clamp(100px, 12vw, 160px);
}

.page-hero .section-label {
  color: var(--plum);
}

.page-hero .display {
  max-width: 1030px;
  color: var(--ink);
}

.page-hero .lead {
  max-width: 700px;
  color: var(--muted);
}

.meta-row {
  gap: 8px;
}

.tag,
.stack-list span,
.stack-list a {
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
}

.page-hero .tag {
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
}

.section-heading {
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.52fr);
  gap: clamp(36px, 7vw, 136px);
  margin-bottom: 80px;
}

.grid {
  gap: 0;
}

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  min-height: 275px;
  padding: 24px 28px 34px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.card + .card {
  border-left: 1px solid var(--line);
}

.card::after {
  height: 2px;
  background: var(--plum);
}

.card:hover,
.card:focus-within {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.06);
  transform: translateY(-6px);
}

.card:hover p,
.card:focus-within p {
  color: var(--muted);
}

.card:hover a,
.card:focus-within a {
  color: var(--plum);
}

.card-index {
  width: auto;
  height: auto;
  margin-bottom: 50px;
  color: var(--plum);
  background: transparent;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.card:nth-child(2n) .card-index,
.card:nth-child(3n) .card-index,
.card:nth-child(4n) .card-index {
  color: var(--plum);
  background: transparent;
}

.card h3 {
  max-width: 250px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.05;
}

.card p {
  max-width: 285px;
  color: var(--muted);
  font-size: 0.84rem;
}

.card a {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.band {
  background: var(--surface);
}

.approach-step {
  min-height: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.approach-step:last-child {
  border-bottom: 1px solid var(--line);
}

.approach-step:hover {
  background: transparent;
  border-color: var(--line-strong);
  transform: none;
}

.approach-step strong {
  width: auto;
  height: auto;
  color: var(--plum);
  background: transparent;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.approach-step h3 {
  font-size: 1.18rem;
  font-weight: 600;
}

.approach-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

.row-link {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 34px 0;
  border-color: var(--line);
  border-radius: 0;
  background: transparent;
  transition: border-color 200ms ease, transform 200ms ease;
}

.row-link:hover,
.row-link:focus-visible {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
  transform: none;
}

.row-link:hover p,
.row-link:focus-visible p {
  color: var(--muted);
}

.row-number {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.row-copy h3,
.row-link h3 {
  margin: 6px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

.row-copy p,
.row-link p {
  max-width: 630px;
  color: var(--muted);
  font-size: 0.94rem;
}

.row-arrow {
  width: auto;
  height: auto;
  padding-top: 5px;
  color: var(--plum);
  background: transparent;
  border-radius: 0;
  font-size: 1.4rem;
}

.case-list .row-link {
  grid-template-columns: 44px minmax(0, 0.95fr) minmax(200px, 0.48fr) auto;
  min-height: 255px;
}

.case-list .row-link:not(:has(.case-preview)) {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 185px;
}

.case-preview {
  position: relative;
  align-self: center;
  width: 100%;
  height: 210px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--plum-wash);
}

.case-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 46%);
  pointer-events: none;
}

.case-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.76) contrast(1.02);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease;
}

.row-link:hover .case-preview img,
.row-link:focus-visible .case-preview img {
  filter: saturate(0.9) contrast(1.03);
  transform: scale(1.04);
}

.dark-band {
  color: var(--surface);
  background: var(--black);
}

.feature-panel {
  max-width: 1100px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dark-band .section-label,
.cta-panel .section-label {
  color: #d49be7;
}

.feature-panel h2,
.cta-panel h2 {
  max-width: 1020px;
  color: var(--surface);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
}

.feature-panel > p {
  max-width: 610px;
  color: #b8b8b5;
  font-size: 1.05rem;
}

.evidence-grid {
  gap: 0;
  margin-top: 80px;
}

.evidence-grid div {
  min-height: 176px;
  padding: 24px;
  border: 0;
  border-top: 1px solid #353535;
  border-radius: 0;
  background: transparent;
}

.evidence-grid div + div {
  border-left: 1px solid #353535;
}

.evidence-grid strong {
  color: var(--surface);
}

.evidence-grid span {
  color: #a0a09c;
}

.faq-list {
  max-width: 920px;
}

.faq-item {
  border-radius: 0;
  background: transparent;
}

.faq-item summary {
  padding: 26px 54px 26px 0;
  font-size: 1.08rem;
  font-weight: 600;
}

.faq-item summary::after {
  color: var(--plum);
}

.faq-item p {
  max-width: 650px;
  color: var(--muted);
}

.cta-panel {
  padding: clamp(70px, 10vw, 142px);
  border-radius: 0;
  background: var(--black);
}

.cta-panel::after {
  right: clamp(22px, 6vw, 92px);
  bottom: clamp(22px, 5vw, 72px);
  width: min(24vw, 260px);
  height: min(14vw, 170px);
  border-color: #a54bcf;
  transform: none;
}

.cta-panel .lead {
  color: #bebeb9;
}

.cta-panel .button.light {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
}

.cta-panel .button.secondary {
  color: var(--surface);
  border-color: #565653;
}

.detail-section {
  grid-template-columns: minmax(230px, 0.44fr) minmax(0, 0.92fr);
  gap: clamp(48px, 9vw, 156px);
  padding: clamp(66px, 8vw, 120px) 0;
}

.detail-section h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 600;
  line-height: 0.98;
}

.detail-section .rich-text {
  max-width: 660px;
  font-size: 1.03rem;
}

.rich-text p,
.rich-text li {
  color: var(--muted);
}

.text-link {
  position: relative;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.field input,
.field select,
.field textarea {
  border-color: var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--plum);
  outline: 0;
  box-shadow: 0 0 0 3px var(--plum-wash);
}

.case-feature {
  width: min(100% - 48px, var(--wide));
  margin: clamp(64px, 8vw, 124px) auto 0;
}

.case-feature figure {
  height: min(56vw, 620px);
  margin: 0;
  overflow: hidden;
  background: var(--plum-wash);
}

.case-feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.78) contrast(1.02);
}

.site-footer {
  color: var(--surface);
  background: var(--black);
}

.footer-inner {
  padding: 76px 0 26px;
}

.footer-top {
  gap: 48px;
}

.footer .brand {
  color: var(--surface);
}

.footer a {
  color: #b2b2ae;
}

.footer-column h3 {
  color: #7e7e7b;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  color: #7e7e7b;
  border-top-color: #30302e;
}

.reveal {
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 1080px) {
  .hero::before {
    right: 24px;
    width: 34vw;
  }

  .hero-inner,
  .section-heading,
  .split,
  .detail-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 56px;
  }

  .hero-visual {
    width: min(100%, 600px);
  }

  .section-heading {
    gap: 26px;
  }

  .detail-section {
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .nav,
  .section,
  .footer-inner,
  .page-hero-inner,
  .hero-inner,
  .case-feature {
    width: min(100% - 36px, var(--max));
  }

  .menu-toggle {
    color: var(--ink);
    background: transparent;
    border-color: var(--line-strong);
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    background: var(--ink);
  }

  .site-menu {
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-menu .menu-links a {
    color: var(--ink);
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .card:nth-child(odd) {
    border-left: 0;
  }

  .case-list .row-link {
    grid-template-columns: 38px minmax(0, 1fr) minmax(160px, 0.45fr) auto;
  }

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

  .evidence-grid div:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  body,
  .page-main {
    font-size: 16px;
  }

  .nav,
  .section,
  .footer-inner,
  .page-hero-inner,
  .hero-inner,
  .case-feature {
    width: min(100% - 32px, var(--max));
  }

  .nav {
    min-height: 66px;
  }

  .section {
    padding: 88px 0;
  }

  .section.compact {
    padding-bottom: 80px;
  }

  .display,
  .hero .display {
    font-size: clamp(3.35rem, 15vw, 4.75rem);
    line-height: 0.92;
  }

  .display.small,
  .feature-panel h2,
  .cta-panel h2 {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
    line-height: 0.94;
  }

  .hero::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: 54vw;
    height: 32%;
  }

  .hero::after {
    right: 14vw;
    bottom: 16%;
  }

  .hero-inner {
    gap: 44px;
    padding: 80px 0 70px;
  }

  .hero-proof {
    display: none;
  }

  .hero-visual {
    width: 100%;
  }

  .system-map {
    width: 100%;
  }

  .page-hero-inner {
    padding: 96px 0 80px;
  }

  .page-hero::after {
    width: 45vw;
    height: 33vw;
  }

  .section-heading {
    margin-bottom: 54px;
  }

  .grid.three,
  .grid.four,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 215px;
    padding: 22px 0 28px;
    border-left: 0 !important;
  }

  .card-index {
    margin-bottom: 34px;
  }

  .case-list .row-link,
  .case-list .row-link:not(:has(.case-preview)),
  .row-link {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 0;
    gap: 15px;
    padding: 26px 0;
  }

  .case-preview {
    grid-column: 2 / 4;
    height: 180px;
    min-height: 180px;
    margin-top: 8px;
  }

  .row-copy h3,
  .row-link h3 {
    font-size: 1.65rem;
  }

  .approach-step {
    gap: 18px;
  }

  .evidence-grid {
    margin-top: 48px;
  }

  .evidence-grid div {
    min-height: 0;
    padding: 22px 0;
    border-left: 0 !important;
  }

  .cta-panel {
    padding: 62px 26px;
  }

  .cta-panel::after {
    width: 120px;
    height: 100px;
  }

  .case-feature {
    margin-top: 48px;
  }

  .case-feature figure {
    height: 62vw;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Modern visual pass */
:root {
  --ink: #080d0c;
  --ink-2: #121b19;
  --muted: #5d6b66;
  --soft: #8b9690;
  --paper: #f3f0e8;
  --surface: #fffcf3;
  --stone: #e8e0d2;
  --stone-2: #d6cdbd;
  --line: rgba(8, 13, 12, 0.13);
  --line-strong: rgba(8, 13, 12, 0.28);
  --plum: #8b4377;
  --plum-dark: #4a263f;
  --sage: #7a8f68;
  --blue: #3c7488;
  --clay: #a86145;
  --gold: #b89643;
  --acid: #d8ff67;
  --cyan: #70d7dc;
  --shadow: 0 26px 90px rgba(8, 13, 12, 0.18);
  --radius: 6px;
}

body {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(8, 13, 12, 0.04),
      rgba(8, 13, 12, 0.04) 1px,
      transparent 1px,
      transparent calc((100vw - min(100vw - 32px, var(--wide))) / 2 + 96px)
    ),
    var(--paper);
}

.page-main {
  background: var(--paper);
}

.site-header {
  color: var(--surface);
  background: rgba(8, 13, 12, 0.86);
  border-bottom-color: rgba(255, 252, 243, 0.12);
}

.nav {
  min-height: 68px;
}

.brand {
  font-weight: 860;
}

.brand-mark {
  color: var(--ink);
  background: var(--acid);
}

.menu-links a,
.footer a {
  color: rgba(255, 252, 243, 0.72);
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-links a[aria-current="page"] {
  color: var(--acid);
}

.nav-action {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 4px;
  text-transform: none;
  font-weight: 820;
}

.button.plum,
.button:not(.secondary):not(.light) {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(8, 13, 12, 0.32);
}

.section {
  position: relative;
  padding: clamp(86px, 11vw, 164px) 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, var(--wide));
  height: 1px;
  transform: translateX(-50%);
  background: rgba(8, 13, 12, 0.11);
}

.section.compact::before,
.band .section::before,
.dark-band .section::before {
  display: none;
}

.section-label {
  color: var(--plum);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
}

.display {
  max-width: 920px;
  font-size: clamp(3.6rem, 9.5vw, 10rem);
  line-height: 0.84;
  font-weight: 920;
}

.display.small {
  max-width: 830px;
  font-size: clamp(2.8rem, 6.4vw, 6.8rem);
  line-height: 0.88;
}

.lead {
  color: var(--muted);
}

.hero {
  color: var(--surface);
  background:
    linear-gradient(rgba(8, 13, 12, 0.78), rgba(8, 13, 12, 0.78)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 252, 243, 0.075),
      rgba(255, 252, 243, 0.075) 1px,
      transparent 1px,
      transparent 96px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 252, 243, 0.055),
      rgba(255, 252, 243, 0.055) 1px,
      transparent 1px,
      transparent 96px
    ),
    var(--ink);
  border-bottom: 1px solid rgba(255, 252, 243, 0.16);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 13, 12, 0), rgba(8, 13, 12, 0.62));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1480px);
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  gap: clamp(36px, 5vw, 76px);
  padding: clamp(52px, 6vw, 82px) 0 clamp(42px, 5vw, 56px);
}

.hero-copy {
  max-width: 850px;
}

.hero .section-label {
  color: var(--acid);
}

.hero .display {
  max-width: 870px;
  color: var(--surface);
  font-size: clamp(4.4rem, 8.3vw, 8rem);
  line-height: 0.86;
  overflow-wrap: break-word;
}

.hero .lead {
  max-width: 610px;
  color: rgba(255, 252, 243, 0.72);
}

.hero .button.plum {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.hero .button.secondary {
  color: var(--surface);
  border-color: rgba(255, 252, 243, 0.28);
}

.hero-proof {
  max-width: 760px;
  border-color: rgba(255, 252, 243, 0.16);
  background: rgba(255, 252, 243, 0.12);
}

.hero-proof div {
  background: rgba(255, 252, 243, 0.045);
}

.hero-proof strong {
  color: var(--surface);
}

.hero-proof span {
  color: rgba(255, 252, 243, 0.62);
}

.hero-visual {
  min-height: 420px;
}

.system-map {
  position: relative;
  width: min(100%, 540px);
  color: var(--surface);
  border-color: rgba(255, 252, 243, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 252, 243, 0.09), rgba(255, 252, 243, 0.02)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 252, 243, 0.075),
      rgba(255, 252, 243, 0.075) 1px,
      transparent 1px,
      transparent 42px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 252, 243, 0.06),
      rgba(255, 252, 243, 0.06) 1px,
      transparent 1px,
      transparent 42px
    ),
    #0d1412;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
}

.map-line {
  stroke: rgba(216, 255, 103, 0.48);
}

.map-line.accent-plum {
  stroke: rgba(255, 132, 218, 0.86);
}

.map-line.accent-blue {
  stroke: rgba(112, 215, 220, 0.82);
}

.map-node rect {
  fill: rgba(255, 252, 243, 0.08);
  stroke: rgba(255, 252, 243, 0.18);
}

.map-node text {
  fill: var(--surface);
}

.map-node .sub {
  fill: rgba(255, 252, 243, 0.58);
}

.map-core circle:first-child {
  fill: rgba(255, 252, 243, 0.09);
  stroke: rgba(255, 252, 243, 0.18);
}

.map-core circle:nth-child(2) {
  fill: rgba(216, 255, 103, 0.12);
  stroke: rgba(216, 255, 103, 0.42);
}

.signal-strip {
  overflow: hidden;
  color: var(--surface);
  background: var(--ink);
  border-top: 1px solid rgba(255, 252, 243, 0.12);
  border-bottom: 1px solid rgba(255, 252, 243, 0.12);
}

.signal-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  animation: signal-scroll 28s linear infinite;
}

.signal-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 252, 243, 0.76);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.86rem;
}

.signal-track span::after {
  content: "/";
  color: var(--acid);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--surface);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 252, 243, 0.06),
      rgba(255, 252, 243, 0.06) 1px,
      transparent 1px,
      transparent 110px
    ),
    var(--ink);
  border-bottom-color: rgba(255, 252, 243, 0.14);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: min(7vw, 96px);
  bottom: -72px;
  width: min(38vw, 520px);
  height: 180px;
  border: 1px solid rgba(216, 255, 103, 0.36);
  transform: skewY(-8deg);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1320px);
  padding: clamp(96px, 12vw, 180px) 0 clamp(72px, 8vw, 122px);
}

.page-hero .section-label {
  color: var(--acid);
}

.page-hero .display {
  color: var(--surface);
  max-width: 1040px;
}

.page-hero .lead {
  color: rgba(255, 252, 243, 0.7);
  max-width: 790px;
}

.tag {
  border-color: rgba(8, 13, 12, 0.14);
  background: rgba(255, 252, 243, 0.68);
}

.page-hero .tag {
  color: rgba(255, 252, 243, 0.72);
  border-color: rgba(255, 252, 243, 0.2);
  background: rgba(255, 252, 243, 0.06);
}

.section-heading {
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.58fr);
  margin-bottom: 52px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  padding: 30px;
  background: rgba(255, 252, 243, 0.58);
  border-color: rgba(8, 13, 12, 0.12);
  box-shadow: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.card:hover,
.card:focus-within {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-7px);
  box-shadow: 0 34px 70px rgba(8, 13, 12, 0.18);
}

.card:hover::after,
.card:focus-within::after {
  transform: scaleX(1);
  background: var(--acid);
}

.card:hover p,
.card:focus-within p {
  color: rgba(255, 252, 243, 0.7);
}

.card:hover a,
.card:focus-within a {
  color: var(--acid);
}

.card-index {
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
}

.card:nth-child(2n) .card-index,
.card:nth-child(3n) .card-index,
.card:nth-child(4n) .card-index {
  color: var(--surface);
}

.band {
  background:
    linear-gradient(180deg, rgba(8, 13, 12, 0.02), rgba(8, 13, 12, 0.04)),
    var(--stone);
}

.approach-step {
  min-height: 118px;
  background: rgba(255, 252, 243, 0.52);
  border-color: rgba(8, 13, 12, 0.11);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.approach-step:hover {
  transform: translateX(8px);
  background: var(--surface);
  border-color: rgba(8, 13, 12, 0.22);
}

.approach-step strong {
  color: var(--ink);
  background: var(--acid);
}

.row-link {
  padding: 28px;
  border-color: rgba(8, 13, 12, 0.12);
  background: rgba(255, 252, 243, 0.54);
}

.row-link:hover,
.row-link:focus-visible {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-5px);
}

.row-link:hover p,
.row-link:focus-visible p {
  color: rgba(255, 252, 243, 0.68);
}

.row-arrow {
  color: var(--ink);
  background: var(--acid);
}

.dark-band {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 252, 243, 0.05),
      rgba(255, 252, 243, 0.05) 1px,
      transparent 1px,
      transparent 110px
    ),
    var(--ink);
}

.feature-panel {
  border-color: rgba(255, 252, 243, 0.14);
  background: rgba(255, 252, 243, 0.045);
}

.feature-panel h2 {
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.86;
}

.evidence-grid div {
  background: rgba(255, 252, 243, 0.06);
}

.faq-item {
  background: rgba(255, 252, 243, 0.58);
}

.faq-item summary {
  font-size: 1.02rem;
}

.faq-item summary::after {
  color: var(--plum);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 252, 243, 0.055),
      rgba(255, 252, 243, 0.055) 1px,
      transparent 1px,
      transparent 86px
    ),
    var(--ink);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 190px;
  height: 120px;
  border: 1px solid rgba(216, 255, 103, 0.38);
  transform: rotate(-12deg);
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel .button.light {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.detail-section {
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  padding: clamp(46px, 6vw, 82px) 0;
}

.detail-section h2 {
  font-size: clamp(2rem, 3.35vw, 3.8rem);
  line-height: 0.92;
  overflow-wrap: break-word;
}

.stack-list span,
.stack-list a,
.tag {
  border-radius: 4px;
}

.form-panel {
  background: rgba(255, 252, 243, 0.62);
  border-color: rgba(8, 13, 12, 0.12);
}

.field input,
.field select,
.field textarea {
  background: rgba(255, 252, 243, 0.72);
}

.site-footer {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 252, 243, 0.045),
      rgba(255, 252, 243, 0.045) 1px,
      transparent 1px,
      transparent 110px
    ),
    var(--ink);
}

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

@media (prefers-reduced-motion: reduce) {
  .signal-track {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero .display {
    font-size: clamp(4rem, 13vw, 7rem);
  }

  .hero-visual {
    min-height: 330px;
  }

  .section-heading,
  .split,
  .detail-section {
    grid-template-columns: 1fr;
  }

  .detail-section .rich-text {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .site-menu {
    background: rgba(8, 13, 12, 0.98);
    border-bottom-color: rgba(255, 252, 243, 0.14);
  }

  .menu-toggle {
    background: rgba(255, 252, 243, 0.08);
    border-color: rgba(255, 252, 243, 0.2);
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    background: var(--surface);
  }
}

@media (max-width: 620px) {
  .section {
    padding: 72px 0;
  }

  .display,
  .hero .display {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
    line-height: 0.88;
  }

  .display.small,
  .feature-panel h2,
  .cta-panel h2 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
    line-height: 0.9;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 158px;
  }

  .system-map {
    width: min(100%, 315px);
    aspect-ratio: 1.8;
  }

  .hero-proof {
    display: none;
  }

  .hero-proof div {
    min-height: auto;
  }

  .page-hero-inner {
    padding: 72px 0 58px;
  }

  .page-hero::after {
    display: none;
  }

  .card:hover,
  .card:focus-within,
  .row-link:hover,
  .row-link:focus-visible {
    transform: none;
  }

  .detail-section .rich-text,
  .rich-text ul,
  .rich-text li {
    min-width: 0;
    overflow-wrap: break-word;
  }
}

/* Final editorial cascade. This intentionally sits after legacy prototype rules. */
:root {
  --ink: #111111;
  --ink-2: #2b2b2a;
  --muted: #6a6a6a;
  --soft: #9a9a9a;
  --paper: #f8f8f6;
  --surface: #ffffff;
  --stone: #f1f1ed;
  --stone-2: #e6e6e2;
  --line: #e6e6e2;
  --line-strong: #cfcfca;
  --plum: #a54bcf;
  --plum-dark: #7f2aa6;
  --plum-wash: #f5ecfa;
  --black: #0d0d0d;
  --max: 1280px;
  --wide: 1440px;
}

/* Fixed dimensions keep very tall source captures from dictating row height. */
body .case-preview {
  align-self: center;
  width: 100%;
  height: 210px;
  min-height: 0;
}

@media (max-width: 620px) {
  body .case-preview {
    height: 180px;
  }
}

html,
body,
.page-main {
  color: var(--ink);
  background: var(--paper);
}

body {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

::selection {
  color: var(--ink);
  background: #ead6f4;
}

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 4px;
}

.site-header {
  color: var(--ink);
  background: rgba(248, 248, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(100% - 48px, var(--wide));
  min-height: 76px;
  gap: 34px;
}

.brand {
  gap: 9px;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-mark {
  width: 25px;
  height: 25px;
  color: var(--surface);
  background: var(--plum);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.site-menu,
.menu-links {
  gap: clamp(18px, 2vw, 30px);
}

.menu-links a,
.footer a {
  position: relative;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 550;
}

.menu-links a::after,
.footer a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-links a[aria-current="page"],
.footer a:hover,
.footer a:focus-visible {
  color: var(--ink);
}

.menu-links a:hover::after,
.menu-links a:focus-visible::after,
.menu-links a[aria-current="page"]::after,
.footer a:hover::after,
.footer a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-action,
.button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: var(--surface);
  background: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.nav-action:hover,
.button:hover,
.nav-action:focus-visible,
.button:focus-visible {
  box-shadow: none;
  transform: translateY(-2px);
}

.nav-action:hover,
.nav-action:focus-visible,
.button.plum:hover,
.button.plum:focus-visible {
  color: var(--surface);
  background: var(--plum);
  border-color: var(--plum);
}

.button.plum,
.button:not(.secondary):not(.light) {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.button.light {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
}

.section,
.footer-inner {
  width: min(100% - 48px, var(--max));
}

.section {
  position: relative;
  padding: clamp(116px, 13vw, 192px) 0;
}

.section::before {
  width: min(100%, var(--max));
  background: var(--line);
}

.section.compact {
  padding: 0 0 clamp(96px, 11vw, 160px);
}

.section-label,
.row-kicker {
  color: var(--plum);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display,
.feature-panel h2,
.cta-panel h2 {
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(4rem, 7.2vw, 6rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.94;
}

.display.small {
  max-width: 740px;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.display em,
.feature-panel h2 em,
.cta-panel h2 em {
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.52;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - var(--wide)) / 2));
  bottom: 0;
  width: min(31vw, 500px);
  content: "";
  background:
    linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat,
    linear-gradient(90deg, var(--line), var(--line)) 50% 0 / 1px 100% no-repeat,
    var(--plum-wash);
}

.hero::after {
  right: min(20vw, 290px);
  bottom: 19%;
  left: auto;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--plum);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--wide));
  min-height: 0;
  grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.62fr);
  gap: clamp(46px, 8vw, 140px);
  padding: clamp(68px, 6vw, 86px) 0 clamp(50px, 5vw, 72px);
}

.hero-copy {
  max-width: 700px;
}

.hero .section-label {
  color: var(--plum);
}

.hero .display {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(4.3rem, 7vw, 6.7rem);
  font-weight: 600;
  line-height: 0.91;
}

.hero .lead {
  color: var(--muted);
}

.hero .button.plum {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.hero .button.plum:hover,
.hero .button.plum:focus-visible {
  background: var(--plum);
  border-color: var(--plum);
}

.hero .button.secondary {
  color: var(--ink);
  border-color: var(--line-strong);
}

.hero-proof {
  display: grid;
  max-width: 660px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
  grid-template-columns: repeat(3, 1fr);
}

.hero-proof div {
  min-height: 104px;
  padding: 16px 16px 0 0;
  background: transparent;
}

.hero-proof div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.42;
}

.hero-visual {
  align-self: center;
  min-height: 0;
}

.system-map {
  width: min(100%, 500px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 52px rgba(76, 43, 89, 0.08);
}

.map-line {
  stroke: #c9b2d3;
  stroke-width: 1.4;
}

.map-line.accent-plum {
  stroke: var(--plum);
}

.map-line.accent-blue {
  stroke: #8e9290;
}

.map-node rect {
  fill: #ffffff;
  stroke: #dcdcd6;
}

.map-node text {
  fill: var(--ink);
}

.map-node .sub {
  fill: var(--muted);
}

.map-core circle:first-child {
  fill: #ffffff;
  stroke: #dcdcd6;
}

.map-core circle:nth-child(2) {
  fill: var(--plum-wash);
  stroke: #d4a7e4;
}

.page-hero {
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  right: max(24px, calc((100vw - var(--wide)) / 2));
  bottom: -1px;
  width: min(26vw, 340px);
  height: min(21vw, 240px);
  border: 1px solid #d7b3e6;
  background: transparent;
  transform: none;
}

.page-hero-inner {
  width: min(100% - 48px, var(--max));
  padding: clamp(132px, 15vw, 210px) 0 clamp(100px, 12vw, 160px);
}

.page-hero .section-label {
  color: var(--plum);
}

.page-hero .display {
  max-width: 1030px;
  color: var(--ink);
}

.page-hero .lead {
  max-width: 700px;
  color: var(--muted);
}

.tag,
.stack-list span,
.stack-list a {
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
}

.page-hero .tag {
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
}

.section-heading {
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.52fr);
  gap: clamp(36px, 7vw, 136px);
  margin-bottom: 80px;
}

.grid {
  gap: 0;
}

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  min-height: 275px;
  padding: 24px 28px 34px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.card + .card {
  border-left: 1px solid var(--line);
}

.card::after {
  height: 2px;
  background: var(--plum);
}

.card:hover,
.card:focus-within {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.06);
  transform: translateY(-6px);
}

.card:hover p,
.card:focus-within p {
  color: var(--muted);
}

.card:hover a,
.card:focus-within a {
  color: var(--plum);
}

.card-index {
  width: auto;
  height: auto;
  margin-bottom: 50px;
  color: var(--plum);
  background: transparent;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.card:nth-child(2n) .card-index,
.card:nth-child(3n) .card-index,
.card:nth-child(4n) .card-index {
  color: var(--plum);
  background: transparent;
}

.card h3 {
  max-width: 250px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.05;
}

.card p {
  max-width: 285px;
  color: var(--muted);
  font-size: 0.84rem;
}

.card a {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.band {
  background: var(--surface);
}

.approach-step {
  min-height: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.approach-step:last-child {
  border-bottom: 1px solid var(--line);
}

.approach-step:hover {
  background: transparent;
  border-color: var(--line-strong);
  transform: none;
}

.approach-step strong {
  width: auto;
  height: auto;
  color: var(--plum);
  background: transparent;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.approach-step h3 {
  font-size: 1.18rem;
  font-weight: 600;
}

.approach-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

.row-link {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 34px 0;
  border-color: var(--line);
  border-radius: 0;
  background: transparent;
  transition: border-color 200ms ease, transform 200ms ease;
}

.row-link:hover,
.row-link:focus-visible {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
  transform: none;
}

.row-link:hover p,
.row-link:focus-visible p {
  color: var(--muted);
}

.row-number {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.row-copy h3,
.row-link h3 {
  margin: 6px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

.row-copy p,
.row-link p {
  max-width: 630px;
  color: var(--muted);
  font-size: 0.94rem;
}

.row-arrow {
  width: auto;
  height: auto;
  padding-top: 5px;
  color: var(--plum);
  background: transparent;
  border-radius: 0;
  font-size: 1.4rem;
}

.case-list .row-link {
  grid-template-columns: 44px minmax(0, 0.95fr) minmax(200px, 0.48fr) auto;
  min-height: 255px;
}

.case-list .row-link:not(:has(.case-preview)) {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 185px;
}

.case-preview {
  position: relative;
  align-self: stretch;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  background: var(--plum-wash);
}

.case-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 46%);
  pointer-events: none;
}

.case-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.76) contrast(1.02);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease;
}

.row-link:hover .case-preview img,
.row-link:focus-visible .case-preview img {
  filter: saturate(0.9) contrast(1.03);
  transform: scale(1.04);
}

.dark-band,
.cta-panel,
.site-footer {
  color: var(--surface);
  background: var(--black);
}

.feature-panel {
  max-width: 1100px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dark-band .section-label,
.cta-panel .section-label {
  color: #d49be7;
}

.feature-panel h2,
.cta-panel h2 {
  max-width: 1020px;
  color: var(--surface);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
}

.feature-panel > p {
  max-width: 610px;
  color: #b8b8b5;
  font-size: 1.05rem;
}

.evidence-grid {
  gap: 0;
  margin-top: 80px;
}

.evidence-grid div {
  min-height: 176px;
  padding: 24px;
  border: 0;
  border-top: 1px solid #353535;
  border-radius: 0;
  background: transparent;
}

.evidence-grid div + div {
  border-left: 1px solid #353535;
}

.evidence-grid strong {
  color: var(--surface);
}

.evidence-grid span {
  color: #a0a09c;
}

.faq-list {
  max-width: 920px;
}

.faq-item {
  border-radius: 0;
  background: transparent;
}

.faq-item summary {
  padding: 26px 54px 26px 0;
  font-size: 1.08rem;
  font-weight: 600;
}

.faq-item summary::after {
  color: var(--plum);
}

.faq-item p,
.rich-text p,
.rich-text li {
  color: var(--muted);
}

.cta-panel {
  padding: clamp(70px, 10vw, 142px);
  border-radius: 0;
}

.cta-panel::after {
  right: clamp(22px, 6vw, 92px);
  bottom: clamp(22px, 5vw, 72px);
  width: min(24vw, 260px);
  height: min(14vw, 170px);
  border-color: #a54bcf;
  transform: none;
}

.cta-panel .lead {
  color: #bebeb9;
}

.cta-panel .button.light {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
}

.cta-panel .button.secondary {
  color: var(--surface);
  border-color: #565653;
}

.detail-section {
  grid-template-columns: minmax(230px, 0.44fr) minmax(0, 0.92fr);
  gap: clamp(48px, 9vw, 156px);
  padding: clamp(66px, 8vw, 120px) 0;
}

.detail-section h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 600;
  line-height: 0.98;
}

.detail-section .rich-text {
  max-width: 660px;
  font-size: 1.03rem;
}

.text-link {
  position: relative;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.field input,
.field select,
.field textarea {
  border-color: var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--plum);
  outline: 0;
  box-shadow: 0 0 0 3px var(--plum-wash);
}

.case-feature {
  width: min(100% - 48px, var(--wide));
  margin: clamp(64px, 8vw, 124px) auto 0;
}

.case-feature figure {
  height: min(56vw, 620px);
  margin: 0;
  overflow: hidden;
  background: var(--plum-wash);
}

.case-feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.78) contrast(1.02);
}

.footer-inner {
  padding: 76px 0 26px;
}

.footer .brand {
  color: var(--surface);
}

.footer a {
  color: #b2b2ae;
}

.footer-column h3 {
  color: #7e7e7b;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  color: #7e7e7b;
  border-top-color: #30302e;
}

.reveal {
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 1080px) {
  .hero::before {
    right: 24px;
    width: 34vw;
  }

  .hero-inner,
  .section-heading,
  .split,
  .detail-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 56px;
  }

  .hero-visual {
    width: min(100%, 600px);
  }

  .section-heading {
    gap: 26px;
  }

  .detail-section {
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .nav,
  .section,
  .footer-inner,
  .page-hero-inner,
  .hero-inner,
  .case-feature {
    width: min(100% - 36px, var(--max));
  }

  .menu-toggle {
    color: var(--ink);
    background: transparent;
    border-color: var(--line-strong);
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    background: var(--ink);
  }

  .site-menu {
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-menu .menu-links a {
    color: var(--ink);
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .card:nth-child(odd) {
    border-left: 0;
  }

  .case-list .row-link {
    grid-template-columns: 38px minmax(0, 1fr) minmax(160px, 0.45fr) auto;
  }

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

  .evidence-grid div:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  body,
  .page-main {
    font-size: 16px;
  }

  .nav,
  .section,
  .footer-inner,
  .page-hero-inner,
  .hero-inner,
  .case-feature {
    width: min(100% - 32px, var(--max));
  }

  .nav {
    min-height: 66px;
  }

  .section {
    padding: 88px 0;
  }

  .section.compact {
    padding-bottom: 80px;
  }

  .display,
  .hero .display {
    font-size: clamp(3.35rem, 15vw, 4.75rem);
    line-height: 0.92;
  }

  .display.small,
  .feature-panel h2,
  .cta-panel h2 {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
    line-height: 0.94;
  }

  .hero::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: 54vw;
    height: 32%;
  }

  .hero::after {
    right: 14vw;
    bottom: 16%;
  }

  .hero-inner {
    gap: 44px;
    padding: 80px 0 70px;
  }

  .hero-proof {
    display: none;
  }

  .hero-visual {
    width: 100%;
  }

  .system-map {
    width: 100%;
  }

  .page-hero-inner {
    padding: 96px 0 80px;
  }

  .page-hero::after {
    width: 45vw;
    height: 33vw;
  }

  .section-heading {
    margin-bottom: 54px;
  }

  .grid.three,
  .grid.four,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 215px;
    padding: 22px 0 28px;
    border-left: 0 !important;
  }

  .card-index {
    margin-bottom: 34px;
  }

  .case-list .row-link,
  .case-list .row-link:not(:has(.case-preview)),
  .row-link {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 0;
    gap: 15px;
    padding: 26px 0;
  }

  .case-preview {
    grid-column: 2 / 4;
    min-height: 180px;
    margin-top: 8px;
  }

  .row-copy h3,
  .row-link h3 {
    font-size: 1.65rem;
  }

  .approach-step {
    gap: 18px;
  }

  .evidence-grid {
    margin-top: 48px;
  }

  .evidence-grid div {
    min-height: 0;
    padding: 22px 0;
    border-left: 0 !important;
  }

  .cta-panel {
    padding: 62px 26px;
  }

  .cta-panel::after {
    width: 120px;
    height: 100px;
  }

  .case-feature {
    margin-top: 48px;
  }

  .case-feature figure {
    height: 62vw;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}
