:root {
  --orange: #E74E35;
  --ink: #1b1b1b;
  --ink-2: #343434;
  --muted: #6c6966;
  --paper: #ffffff;
  --warm: #f3f1ef;
  --warm-2: #e9e6e2;
  --line: #d8d4cf;
  --shadow: 0 18px 55px rgba(20, 18, 16, 0.08);
  --display: Bellfort, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 241, 239, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.navbar { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-tile {
  width: 172px; aspect-ratio: 859 / 187; background: var(--orange); padding: 0;
  display: grid; place-items: center; text-decoration: none;
}
.brand-tile img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.nav-links a { text-decoration: none; border-bottom: 1px solid transparent; padding: 8px 0; }
.nav-links a:hover, .nav-links a.active { border-color: var(--ink); }
.nav-links .nav-cta { background: var(--orange); color: white; padding: 11px 18px; border-radius: 999px; border: 0; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; }

.hero { min-height: 610px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 74px 0 76px; }
.eyebrow { display: flex; align-items: center; gap: 14px; font: 700 11px/1 var(--display); letter-spacing: .25em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--orange); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; margin-top: 0; }
h1 { font-size: clamp(50px, 6vw, 82px); line-height: .98; font-weight: 650; margin: 22px 0 22px; }
h2 { font-size: clamp(34px, 4vw, 55px); line-height: 1.02; font-weight: 650; margin-bottom: 20px; }
h3 { font-size: 24px; line-height: 1.15; }
.hero-copy { font-size: 20px; max-width: 620px; color: var(--ink-2); }
.hero-actions, .button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 21px; border-radius: 3px; border: 1px solid var(--ink); text-decoration: none; font-weight: 600; background: transparent; }
.btn.primary { background: var(--orange); color: white; border-color: var(--orange); }
.btn::after { content: "→"; }
.hero-mark { position: relative; }
.hero-mark img { width: min(540px, 100%); margin: 0 auto; }
.hero-words { border-left: 1px solid var(--orange); margin: 0 0 20px auto; padding-left: 22px; width: 160px; font: 700 11px/2.1 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.home-hero .hero-mark { display: grid; place-items: center; }
.hero-support { max-width: 740px; margin: 16px 0 0; color: var(--ink-2); font-size: 18px; }

.section { padding: 84px 0; background: var(--paper); }
.section.alt { background: var(--warm); }
.section.dark { background: var(--ink); color: white; }
.section-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; margin-bottom: 46px; }
.section-intro p { margin: 0; max-width: 690px; color: var(--ink-2); font-size: 18px; }
.dark .section-intro p { color: #e8e5e2; }
.dark .eyebrow { color: white; }

.planet-band { padding: 82px 0; background: var(--ink); color: white; }
.planet-band-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 58px; align-items: center; }
.planet-band p { color: #e8e5e2; font-size: 18px; }
.planet-themes { display: grid; gap: 8px; margin: 26px 0 0; }
.planet-themes span { color: #fff; font: 700 12px var(--display); letter-spacing: .1em; text-transform: uppercase; }
.planet-themes span::before { content: ""; display: inline-block; width: 19px; height: 2px; margin: 0 10px 4px 0; background: var(--orange); }
.planet-network-preview { min-height: 470px; display: grid; place-items: center; }
.planet-network-preview svg { width: 100%; max-height: 500px; }

.feature-strip { padding: 36px 0; background: white; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { padding: 16px 34px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature strong { font-family: var(--display); font-size: 20px; display: block; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }

.cta-band { background: var(--orange); color: white; padding: 44px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin-bottom: 5px; }
.cta-inner p { margin: 0; font-size: 19px; }
.cta-inner .btn { background: white; border-color: white; color: var(--orange); }

footer { background: #f7f5f2; border-top: 1px solid var(--line); padding: 34px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 190px 1fr auto; gap: 42px; align-items: center; }
.footer-full-logo { width: 140px; }
.footer-tagline { font-family: var(--display); font-size: 17px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--ink); text-decoration: none; font-size: 14px; }
.copyright { margin-top: 24px; font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.footer-legal a { color: inherit; }

.page-hero { padding: 76px 0 54px; background: var(--warm); }
.page-hero h1 { font-size: clamp(46px, 6vw, 76px); }
.page-hero .lead { max-width: 760px; font-size: 21px; color: var(--ink-2); }

.science-hero { padding-bottom: 68px; }
.intelligence-section { padding: 100px 0 92px; }
.intelligence-intro { margin-bottom: 58px; }
.intelligence-intro p + p { margin-top: 18px; }
.decision-loop { margin: 0 0 66px; padding: 32px 36px 24px; border: 1px solid var(--line); background: #fcfbfa; }
.decision-loop svg { width: 100%; display: block; }
.loop-labels text, .adapt-label text { font: 700 15px var(--display); letter-spacing: .18em; }
.decision-loop figcaption { max-width: 660px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.principle-grid.four-up { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.principle { border-top: 2px solid var(--orange); padding: 18px 0 0; }
.principle-number { color: var(--orange); font: 700 11px/1 var(--display); letter-spacing: .18em; }
.principle h3 { margin: 13px 0 9px; }
.principle p { margin: 0; color: var(--muted); }
.compact-intro { margin-bottom: 28px; }
.case-study-types { display: flex; flex-wrap: wrap; gap: 10px; }
.case-study-types span { padding: 10px 14px; border: 1px solid var(--line); background: white; font: 700 12px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.home-decision-motif { display: flex; align-items: center; gap: 16px; max-width: 780px; padding: 19px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 700 13px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.home-decision-motif i { flex: 1; height: 1px; min-width: 16px; background: var(--orange); position: relative; }
.home-decision-motif i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--orange); border-right: 1px solid var(--orange); transform: rotate(45deg); }
.home-decision-motif b { color: var(--orange); font-size: 20px; line-height: 1; }
.philosophy-copy { max-width: 820px; }
.philosophy-copy p, .about-copy { font-size: 20px; color: var(--ink-2); }
.about-copy { max-width: 790px; }
.about-copy p + p { margin-top: 24px; }

.capability-grid, .application-grid, .engagement-grid, .insight-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.capability-grid article, .application-grid article, .engagement-grid article, .insight-topic-grid article { border-top: 2px solid var(--orange); padding: 19px 0 0; }
.capability-grid span, .insight-topic-grid span { color: var(--orange); font: 700 11px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.capability-grid h3, .application-grid h3, .engagement-grid h3, .insight-topic-grid h3 { margin: 12px 0 9px; font-size: 21px; }
.capability-grid p, .application-grid p, .engagement-grid p, .insight-topic-grid p { margin: 0; color: var(--muted); }
.dark .engagement-grid p { color: #e8e5e2; }
.dark .engagement-grid article { border-color: var(--orange); }
.workflow-section { padding: 48px 0; background: var(--ink); color: white; }
.workflow-section .eyebrow { color: white; }
.planet-workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 0; margin: 28px 0 0; list-style: none; counter-reset: planning; }
.planet-workflow li { counter-increment: planning; position: relative; padding: 0 24px 0 0; font: 700 17px/1.2 var(--display); }
.planet-workflow li::before { content: "0" counter(planning); display: block; margin-bottom: 10px; color: var(--orange); font-size: 11px; letter-spacing: .16em; }
.planet-workflow li:not(:last-child)::after { content: "→"; position: absolute; right: 2px; top: 16px; color: var(--orange); }
.contact-panel fieldset { margin: 24px 0 8px; padding: 0; border: 0; }
.contact-panel legend { font-family: var(--display); font-size: 20px; }
.interest-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.interest-options label { display: block; margin: 0; padding: 14px; border: 1px solid var(--line); cursor: pointer; }
.interest-options small { display: block; margin: 7px 0 0 24px; color: var(--muted); line-height: 1.35; }
.contact-panel button:disabled { cursor: not-allowed; opacity: .7; }

.network-section { background: white; padding: 34px 0 90px; }
.network-shell { display: grid; grid-template-columns: 1fr 310px; gap: 28px; align-items: stretch; }
.network-card, .overlay-panel, .info-card { background: #faf9f7; border: 1px solid #e0dcd7; box-shadow: var(--shadow); }
.network-card { min-height: 670px; padding: 22px; position: relative; overflow: hidden; }
.network-card svg { width: 100%; height: 620px; }
.network-note { position: absolute; left: 26px; bottom: 22px; padding: 9px 12px; background: rgba(255,255,255,.9); color: var(--muted); font-size: 12px; border: 1px solid var(--line); }
.overlay-panel { padding: 28px; }
.overlay-panel h3 { margin-bottom: 10px; }
.overlay-panel > p { color: var(--muted); font-size: 14px; }
.overlay-controls { display: grid; gap: 10px; margin-top: 24px; }
.overlay-toggle { width: 100%; text-align: left; padding: 13px 14px; background: white; border: 1px solid var(--line); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.overlay-toggle.active { border-color: var(--orange); box-shadow: inset 4px 0 0 var(--orange); }
.overlay-key { font-size: 12px; color: var(--muted); margin-top: 24px; }

.node { fill: #f0eeeb; stroke: #aaa49e; stroke-width: 1.5; transition: .25s ease; }
.node-center { fill: var(--orange); stroke: var(--orange); }
.node text, .node-label { font-family: var(--body); font-size: 13px; fill: var(--ink); font-weight: 600; }
.node-center-label { fill: white; font-weight: 700; }
.edge { stroke: #c7c2bd; stroke-width: 1.4; opacity: .7; transition: .25s ease; }
.edge.faint { opacity: .28; }
.edge.overlay { opacity: .08; }
.network-card.show-prereq .edge.prereq,
.network-card.show-co .edge.co,
.network-card.show-rep .edge.rep,
.network-card.show-difficulty .edge.difficulty { stroke: var(--orange); stroke-width: 3.1; opacity: 1; }
.network-card.show-prereq .prereq-node,
.network-card.show-co .co-node,
.network-card.show-rep .rep-node,
.network-card.show-difficulty .difficulty-node { stroke: var(--orange); stroke-width: 3; fill: #fff4f0; }
.network-card.show-difficulty .edge.difficulty { stroke-dasharray: 8 5; }
.network-card.show-rep .edge.rep { stroke-dasharray: 2 5; }
.network-card.show-co .edge.co { stroke-dasharray: 12 4 2 4; }

.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.info-card { padding: 25px 26px; }
.info-card h3 { font-size: 21px; }
.info-card ul { padding-left: 20px; margin-bottom: 0; }
.info-card li { margin: 8px 0; color: var(--ink-2); }
.safe-note { margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--orange); background: #fff8f5; color: var(--ink-2); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-panel { background: white; padding: 38px; border: 1px solid var(--line); }
.contact-panel { max-width: 760px; background: white; border: 1px solid var(--line); padding: 34px; }
.contact-panel label { display: block; font-size: 14px; margin: 16px 0 6px; }
.contact-panel input, .contact-panel textarea { width: 100%; padding: 12px; border: 1px solid #aaa39c; background: #fff; }
.contact-panel textarea { min-height: 140px; }
.demo-warning { font-size: 13px; color: var(--muted); margin-top: 10px; }

@media (max-width: 1080px) {
  .shell { width: min(100% - 32px, 760px); }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; background: var(--warm); padding: 18px 24px 26px; flex-direction: column; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .hero, .planet-band-grid, .section-intro, .network-shell, .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .hero-mark { order: -1; max-width: 420px; margin: 0 auto; }
  .principle-grid, .principle-grid.four-up, .capability-grid, .application-grid, .engagement-grid, .insight-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .network-card { min-height: 560px; }
  .network-card svg { height: 500px; }
  .insight-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .planet-workflow { grid-template-columns: 1fr; gap: 15px; }
  .planet-workflow li { padding-right: 0; }
  .planet-workflow li:not(:last-child)::after { content: "↓"; position: static; display: block; margin-top: 9px; }
  .interest-options { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .navbar { height: 70px; }
  .brand-tile { width: 140px; }
  .nav-links { top: 70px; }
  h1 { font-size: 48px; }
  .hero { min-height: auto; }
  .section, .planet-band { padding: 62px 0; }
  .network-card { padding: 8px; }
  .network-card svg { height: 430px; }
  .decision-loop { margin-left: -2px; margin-right: -2px; padding: 24px 16px 18px; overflow-x: auto; }
  .decision-loop svg { width: 700px; max-width: none; }
  .home-decision-motif { gap: 9px; padding: 16px 0; font-size: 10px; letter-spacing: .08em; }
  .home-decision-motif i { min-width: 8px; }
  .capability-grid, .application-grid, .engagement-grid, .insight-topic-grid { grid-template-columns: 1fr; }
  .footer-legal { display: grid; gap: 8px; }
}
