:root {
  --paper: #f6f5ee;
  --ink: #25291f;
  --muted: #66695e;
  --accent: #b74b2c;
  --line: #d8d9cd;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(24px, 4.5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.2' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button[hidden] { display: none; }
button, a, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { color: var(--paper); background: var(--accent); }
.shell { max-width: 1408px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 14px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 em, h2 em { font-weight: 400; color: var(--accent); }
.keep-together { white-space: nowrap; }
.mono, .section-label, .figure-heading, .figure-caption, .field-label, .footer-meta { font-family: var(--mono); font-size: 11px; line-height: 1.6; font-weight: 400; letter-spacing: .025em; }

.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 104px; gap: 32px; }
.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark span { font-size: 27px; font-weight: 500; letter-spacing: -.8px; line-height: 1.06; }
.brand-symbol { display: block; width: 43px; height: 43px; flex-shrink: 0; }
.desktop-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.desktop-nav a { padding-block: 12px; transition: color .2s; }
.desktop-nav a:hover, .text-link:hover { color: var(--accent); }
.site-header nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero-copy { min-width: 0; }
h1 { margin-bottom: 30px; font-size: clamp(62px, 6.9vw, 98px); line-height: 1.03; letter-spacing: -.052em; }
@property --headline-light { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes headline-reveal {
  from { opacity: .15; transform: translateY(8px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes headline-shimmer {
  0%, 12% { background-position: 0 0, 100% 50%; }
  48%, 100% { background-position: 0 0, 0% 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-title.headline-ready:not(.headline-entered) { animation: headline-reveal 1.2s cubic-bezier(.22, 1, .36, 1) both; }
  @supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .hero-title.headline-ready em {
      padding-inline: .08em;
      margin-inline: -.08em;
      background-color: var(--accent);
      background-image:
        radial-gradient(100px 70px at var(--headline-x, 50%) var(--headline-y, 50%), rgb(192 120 85 / var(--headline-light)) 0%, transparent 75%),
        linear-gradient(110deg, var(--accent) 40%, #c07855 50%, var(--accent) 60%);
      background-size: 100% 100%, 300% 100%;
      background-repeat: no-repeat;
      background-position: 0 0, 100% 50%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      animation: headline-shimmer 10s ease-in-out infinite;
      transition: --headline-light .35s ease;
    }
    .hero-title.is-lit em { --headline-light: 1; }
    .hero-title.headline-paused em, .hero-title.headline-offscreen em { animation-play-state: paused; }
  }
}
@media (forced-colors: active), print {
  .hero-title.headline-ready:not(.headline-entered) { animation: none; }
  .hero-title.headline-ready em { background: none; color: var(--accent); -webkit-text-fill-color: currentColor; animation: none; }
}
.hero-description { max-width: 43ch; color: var(--muted); line-height: 1.65; font-size: 18px; letter-spacing: -.15px; margin-bottom: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; gap: 30px; padding: 14px 20px; background: var(--ink); color: var(--paper); font-size: 13px; transition: background .2s; }
.button span { font-size: 18px; line-height: 1; }
.button:hover { background: var(--accent); }
.field-figure { margin: 0; position: relative; display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--line); }
.figure-heading { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; text-transform: uppercase; color: var(--muted); font-size: 10px; }
.figure-heading span:first-child { color: var(--accent); flex-shrink: 0; }
.field-stage { position: relative; width: 100%; min-height: 390px; aspect-ratio: 1.3; overflow: hidden; }
.field-fallback, #direction-field { display: block; position: absolute; width: 100%; height: 100%; inset: 0; }
#direction-field { opacity: 0; transition: opacity .25s; }
.field-stage.ready #direction-field { opacity: 1; }
.field-stage.ready .field-fallback { visibility: hidden; }
.steering-handle { position: absolute; left: 64%; top: 43%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; transform: translate(-50%, -50%); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.steering-handle.is-dragging { cursor: grabbing; }
.steering-handle:focus-visible { outline-offset: 0; }
.steering-point { position: relative; width: 18px; height: 18px; border: 1px solid #b74b2c66; border-radius: 50%; pointer-events: none; transition: border-color .2s, transform .2s; }
.steering-point::after { content: ""; position: absolute; width: 8px; height: 8px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); }
.steering-handle:hover .steering-point, .steering-handle:focus-visible .steering-point, .steering-handle.is-dragging .steering-point { border-color: var(--accent); transform: scale(1.15); }
.field-label { position: absolute; left: 50%; bottom: calc(100% - 3px); transform: translateX(-50%); color: var(--accent); font-size: 9px; text-transform: uppercase; pointer-events: none; white-space: nowrap; }
.figure-caption { padding: 16px 0 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 10px; min-height: 52px; }
.motion-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; background: transparent; border: 1px solid var(--line); color: var(--muted); cursor: pointer; font-family: var(--mono); font-size: 10px; min-height: 34px; }
.motion-toggle:hover { color: var(--ink); border-color: var(--ink); }
.motion-icon { display: inline-block; min-width: 8px; }
.section-divider::after { content: ""; display: block; border-top: 1px solid var(--line); }

.section { padding-top: 96px; padding-bottom: 96px; }
.section-label { margin-bottom: 36px; text-transform: uppercase; color: var(--muted); font-size: 11px; }
h2 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 0; text-wrap: balance; }
.section-intro { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 0; }
.approach-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 6vw, 88px); align-items: center; }
.approach-intro h2 { max-width: 23ch; font-size: clamp(40px, 4vw, 58px); }
.approach-intro h2 em { white-space: nowrap; }
.approach-intro .section-intro { max-width: 48ch; }
.disciplines { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.discipline { min-width: 0; border-top: 1px solid var(--line); }
.discipline-art { display: block; width: 100%; height: 128px; padding: 16px 0; color: var(--accent); fill: var(--accent); }
.diagram-soft { fill: none; stroke: var(--ink); stroke-width: .8; opacity: .22; }
.diagram-strong { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.discipline-heading { padding-top: 12px; }
.discipline-heading h3 { font-family: var(--serif); font-size: 27px; line-height: 1.25; font-weight: 400; letter-spacing: -.5px; margin: 0 0 16px; }
.discipline p { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 47ch; margin-bottom: 0; }

.principles-wrap { background: #eaece1; border-block: 1px solid #d5d9c9; }
.principles { padding-block: 88px; }
.principles .section-content { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.principles h2 { max-width: 17ch; }
.principles h2 em { color: #5b6545; }
.principle-list { margin-top: 0; }
.principle { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 22px; padding-block: 26px; border-top: 1px solid #cdd1c0; }
.principle:first-child { padding-top: 0; border-top: 0; }
.principle:last-child { padding-bottom: 0; }
.principle-number { color: #626b50; font-size: 10px; padding-top: 4px; }
.principle h3 { font-size: 20px; line-height: 1.4; font-weight: 400; margin-bottom: 10px; letter-spacing: -.3px; }
.principle p { font-size: 15px; line-height: 1.7; color: #59604f; margin-bottom: 0; max-width: 48ch; }

.about { padding-block: 88px; }
.about .section-content { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.about h2 { font-size: clamp(36px, 3.55vw, 50px); }
.about-narrative { min-width: 0; }
.about-narrative .section-intro { max-width: 48ch; margin-top: 28px; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 10px; margin-top: 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.text-link span { font-size: 17px; }

.learning-dashboard { min-width: 0; margin: 0; }
.evaluation-chart { position: relative; height: 252px; padding-top: 28px; }
.evaluation-label, .rollout-label { color: var(--muted); font-size: 11px; line-height: 1.5; }
.evaluation-label { position: absolute; top: 0; left: 0; }
.evaluation-plot { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-axis-line { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.evaluation-cursor { stroke: var(--ink); stroke-opacity: .13; stroke-width: 1; vector-effect: non-scaling-stroke; }
.eval-reasoning { --eval-color: var(--accent); }
.eval-coding { --eval-color: #647857; }
.eval-tool-use { --eval-color: #577b8b; }
.evaluation-reference { fill: none; stroke: var(--eval-color); stroke-opacity: .13; stroke-width: 1; vector-effect: non-scaling-stroke; }
.evaluation-line { fill: none; stroke: var(--eval-color); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.evaluation-marker { fill: var(--paper); stroke: var(--eval-color); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.chart-axis { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; color: var(--muted); font: 10px/1.6 var(--mono); }
.evaluation-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; font-family: var(--sans); }
.evaluation-legend span { display: inline-flex; align-items: center; gap: 6px; }
.evaluation-legend span::before { content: ""; width: 12px; border-top: 1.6px solid var(--eval-color); }
.training-axis-label { display: inline-flex; gap: 10px; margin-left: auto; }
.rollout-register { margin-top: 28px; }
.rollout-label { display: block; margin-bottom: 14px; }
.rollout-plot { display: block; width: 100%; height: 36px; overflow: visible; }
.rollout-guide { fill: none; stroke: var(--ink); stroke-opacity: .1; stroke-width: .6; vector-effect: non-scaling-stroke; }
.rollout-samples { fill: none; stroke: #79856a; stroke-opacity: .55; stroke-width: 2.2; stroke-dasharray: 0 15; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rollout-token { fill: #5b6545; }
.learning-dashboard[data-phase="learn"] .rollout-token { fill: var(--accent); }
.learning-figure-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 24px; padding-top: 5px; border-top: 1px solid var(--line); }
.simulation-label { color: var(--muted); font: 10px/1.6 var(--mono); }
.dashboard-controls { display: inline-flex; align-items: center; gap: 16px; }
.dashboard-controls button { min-height: 36px; padding: 7px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 10px/1.4 var(--mono); }
.dashboard-controls button:hover { color: var(--accent); }
.dashboard-controls button:disabled { opacity: .55; cursor: default; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px 40px; padding-top: 44px; padding-bottom: 44px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.footer-wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 19px; font-weight: 500; letter-spacing: -.65px; line-height: 1.02; }
.footer-symbol { display: block; flex-shrink: 0; width: 36px; height: 36px; }
.footer-meta { color: var(--muted); font-size: 10px; }

@media (max-width: 1100px) {
  .hero { gap: 40px; padding-top: 48px; padding-bottom: 72px; }
  .hero-description { font-size: 17px; }
  .approach-intro, .about .section-content { gap: 48px; }
  .principles .section-content { gap: 56px; }
  .disciplines { gap: 48px; }
  .discipline-heading h3 { font-size: 25px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  .hero-copy { max-width: 680px; }
  h1 { font-size: clamp(62px, 9vw, 82px); }
  .hero-description { max-width: 50ch; font-size: 18px; }
  .field-stage { aspect-ratio: 1.9; min-height: 320px; }
  .section { padding-block: 72px; }
  .section-label { margin-bottom: 28px; }
  .approach-intro { grid-template-columns: 1fr; gap: 28px; }
  .approach-intro h2 { max-width: 24ch; }
  .approach-intro .section-intro { max-width: 64ch; }
  .disciplines { margin-top: 44px; gap: 36px; }
  .discipline-heading h3 { font-size: 23px; }
  .principles .section-content { grid-template-columns: 1fr; gap: 40px; }
  .principles h2 { max-width: 23ch; }
  .principle-list { max-width: 660px; }
  .principle { padding-block: 24px; }
  .principle p { max-width: 62ch; font-size: 16px; }
  .about .section-content { grid-template-columns: 1fr; gap: 28px; }
  .about-narrative .section-intro { max-width: 62ch; }
  .learning-dashboard { max-width: 680px; width: 100%; }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 24px; }
  .site-header { min-height: 88px; position: relative; }
  .wordmark span { font-size: 24px; }
  .brand-symbol { width: 38px; height: 38px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 0 12px 12px; font-size: 13px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { font-size: 20px; transition: transform .2s; }
  .mobile-nav[open] summary span { transform: rotate(45deg); }
  .mobile-nav nav { position: absolute; z-index: 5; top: 77px; left: 24px; right: 24px; padding: 12px 20px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 24px #25291f0a; }
  .mobile-nav nav a { display: flex; justify-content: space-between; padding-block: 16px; font-size: 15px; }
  .mobile-nav nav a + a { border-top: 1px solid var(--line); }
  .hero { padding-top: 36px; padding-bottom: 56px; gap: 40px; }
  h1 { font-size: clamp(46px, 11.5vw, 72px); line-height: 1.06; letter-spacing: -.048em; margin-bottom: 24px; }
  .hero-description { font-size: 16px; line-height: 1.7; margin-bottom: 26px; }
  .field-stage { aspect-ratio: 1.3; min-height: 285px; }
  .figure-heading { padding-block: 14px; font-size: 10px; }
  .figure-caption { font-size: 10px; padding-top: 12px; }
  .section { padding-block: 60px; }
  .section-label { font-size: 10px; margin-bottom: 26px; }
  h2 { font-size: clamp(34px, 7.6vw, 44px); line-height: 1.15; }
  .approach-intro h2 { font-size: clamp(34px, 7.6vw, 44px); }
  .section-intro { font-size: 16px; line-height: 1.75; }
  .approach-intro { gap: 24px; }
  .disciplines { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .discipline-art { height: 116px; padding: 12px 0; }
  .discipline-heading { padding-top: 8px; }
  .discipline-heading h3 { font-size: 25px; margin-bottom: 14px; }
  .discipline p { font-size: 16px; max-width: 100%; }
  .principles .section-content { gap: 32px; }
  .principle { gap: 18px; }
  .principle h3 { font-size: 19px; }
  .principle p { font-size: 15px; }
  .about h2 { font-size: clamp(32px, 7.2vw, 42px); }
  .about-narrative .section-intro { margin-top: 24px; }
  .text-link { margin-top: 20px; }
  .site-footer { padding-top: 32px; padding-bottom: 32px; gap: 24px 32px; }
  .footer-wordmark { font-size: 18px; gap: 10px; }
}
@media (max-width: 480px) {
  .site-footer { flex-direction: column; align-items: flex-start; }
  .evaluation-chart { height: 212px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print, (prefers-reduced-motion: reduce), (forced-colors: active) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
