:root {
  color-scheme: dark;
  --navy: #0c1729;
  --deep: #091321;
  --panel: #122239;
  --line: #283d52;
  --white: #f3f6fb;
  --muted: #b6c3d1;
  --mint: #82f0d4;
  --ink: #122139;
  --paper: #f3f6f5;
  --body-font: "Inter", system-ui, sans-serif;
  --title-font: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font: 16px/1.62 var(--body-font); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--title-font); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -.052em; }
h3 { line-height: 1.2; letter-spacing: -.03em; }
.wrap { width: min(1224px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; top: 6px; left: 6px; z-index: 2; padding: 8px 14px; background: var(--white); color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid #213147; background: var(--deep); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-size: .88rem; font-weight: 730; line-height: 1.27; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #5edbc3; border-radius: 8px; }
.mark i { width: 13px; height: 13px; border: 1px solid var(--mint); transform: rotate(45deg); box-shadow: 0 0 10px #66ead46b; }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
nav a, .text-link, footer a { text-decoration: none; }
nav a { font-size: .87rem; font-weight: 560; color: #cad5e2; }
nav a:hover, .text-link:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 12px; padding: 10px 17px; border: 1px solid transparent; border-radius: 6px; font-weight: 720; font-size: .86rem; text-decoration: none; }
.arrow-up { display: inline-block; position: relative; width: 10px; height: 10px; border-top: 1px solid; border-right: 1px solid; }
.arrow-up::after { content: ""; position: absolute; top: 3px; right: -1px; width: 12px; border-top: 1px solid; transform: rotate(-45deg); }
.primary { background: var(--mint); color: #0b2831; }
.primary:hover { background: #abf8e6; }
.outline { border-color: #4d6275; }
.outline:hover { border-color: currentColor; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--mint); font-size: .73rem; letter-spacing: .115em; text-transform: uppercase; font-weight: 750; line-height: 1.45; }
.eyebrow > span { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }

.hero { overflow: hidden; background: radial-gradient(ellipse at 76% 34%, #142b43, transparent 59%), var(--navy); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); gap: 40px; align-items: center; padding-block: 79px 74px; }
.hero h1 { font-size: clamp(2.65rem, 5.1vw, 5.05rem); line-height: 1.025; letter-spacing: -.065em; margin-block: 21px; }
.hero h1 em { color: var(--mint); font-style: normal; }
.intro { max-width: 515px; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.21rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 23px; margin-top: 28px; }
.text-link { color: var(--white); font-size: .86rem; font-weight: 650; }
.text-link span { margin-left: 5px; color: var(--mint); }

.visual { min-height: 390px; position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; border: 1px solid #3c596b; border-radius: 14px; background: linear-gradient(#8ef9dc0d 1px, transparent 1px), linear-gradient(90deg,#8ef9dc0d 1px,transparent 1px), radial-gradient(ellipse at 50% 56%, #1d514f, #0a192b 72%); background-size: 26px 26px, 26px 26px, auto; }
.visual-title { display: flex; align-items: center; gap: 8px; position: absolute; inset: 0 0 auto; min-height: 46px; padding: 0 16px; border-bottom: 1px solid #395263; background: #0d2032; font-size: .78rem; font-weight: 720; }
.signal { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.visual-subtitle { margin-left: auto; color: #a7becc; font-weight: 500; }
.orbit { position: absolute; top: 55%; left: 50%; transform: translate(-50%,-50%); width: var(--size); aspect-ratio: 1; border: 1px solid #8fe9d34a; border-radius: 50%; }
.orbit-outer { --size: min(61%, 290px); border-style: dashed; }
.orbit-inner { --size: min(47%, 223px); }
.orbit-core { --size: min(34%, 160px); box-shadow: 0 0 25px #76ffda1c, inset 0 0 30px #76ffda18; }
.crosshair { position: absolute; inset: 46px 0 0; z-index: -1; background: linear-gradient(transparent calc(50% - .5px), #8fe9d32b 50%, transparent calc(50% + .5px)), linear-gradient(90deg, transparent calc(50% - .5px), #8fe9d32b 50%, transparent calc(50% + .5px)); }
.core { position: absolute; top: 55%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; gap: 1px; white-space: nowrap; color: var(--mint); font-weight: 720; font-size: .78rem; }
.core span { font-size: 1.85rem; line-height: 1.1; text-shadow: 0 0 22px #82f0d4; }
.node { position: absolute; display: flex; gap: 8px; align-items: center; white-space: nowrap; padding: 6px 10px; border: 1px solid #557989; background: #122e3d; border-radius: 4px; color: #d8eee9; font-size: .72rem; }
.node b { width: 5px; height: 5px; background: var(--mint); border-radius: 50%; }
.n1 { top: 26%; left: 12%; }
.n2 { top: 31%; right: 8%; }
.n3 { bottom: 21%; left: 8%; }
.n4 { bottom: 17%; right: 7%; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #314659; }
.principles > div { display: flex; align-items: center; gap: 13px; padding: 19px 10px 20px 24px; border-left: 1px solid #314659; }
.principles > div:first-child { border-left: 0; padding-left: 0; }
.principles > div > span { color: var(--mint); font-size: 1.4rem; }
.principles strong, .principles small { display: block; }
.principles strong { font-size: .9rem; }
.principles small { color: var(--muted); font-size: .8rem; }

.section { padding-block: 84px; }
.section-heading { margin-bottom: 34px; }
.section .eyebrow { margin-bottom: 12px; }
.section-heading > p:last-child:not(:first-child) { max-width: 680px; color: #435468; margin-top: 17px; }
#truthsynth { background: var(--paper); color: var(--ink); }
#truthsynth .section-heading .eyebrow, .book-section .eyebrow, .company .eyebrow { color: #116954; }
.case { display: grid; grid-template-columns: .88fr 1.12fr; border: 1px solid #c9d8d8; border-radius: 12px; overflow: hidden; }
.case-intro { padding: clamp(22px, 4vw, 49px); background: #12273b; color: var(--white); }
.case-intro h3 { margin-block: 12px; font-size: clamp(1.4rem, 2.75vw, 2.4rem); }
.case-intro > p:last-child { color: #c0ced8; }
.case-work { padding: 12px 27px; background: #fff; }
.case-work details + details { border-top: 1px solid #d7e0e3; }
.case-work summary { padding: 16px 0; cursor: pointer; font-weight: 720; }
.case-work summary:hover { color: #116954; }
.case-work details p { margin: -6px 0 16px 17px; color: #405166; }

.applications { background: var(--deep); }
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.markets article { padding: 25px; border: 1px solid #2c4256; border-radius: 10px; background: #0f1e31; }
.markets h3 { margin: 0 0 10px; font-size: 1.35rem; }
.markets p { color: var(--muted); }
.book-section, .company { background: var(--paper); color: var(--ink); }
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px, 7vw, 105px); }
.book-image { display: grid; place-items: center; min-height: 315px; padding: 19px; border: 1px solid #c9d8d8; border-radius: 12px; background: radial-gradient(ellipse, #b9ded6, #dfedeb 76%); }
.book-image img { display: block; width: min(100%, 315px); object-fit: contain; }
.book-grid cite { font-style: normal; }
.book-subtitle { margin-top: 9px; font-size: 1.12rem; font-weight: 650; }
.book-grid p + p { margin-top: 14px; color: #425268; }
.book-grid .button { margin-top: 22px; }
.company { padding-top: 0; }
.company-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(24px, 7vw, 105px); padding-top: 42px; border-top: 1px solid #c9d8d8; }
.company-grid p + p { margin-top: 13px; }
.contact { background: radial-gradient(ellipse at 90% 35%, #174844, transparent 70%), #0c2333; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.contact h2 + p { max-width: 600px; margin-top: 16px; color: var(--muted); }
.contact-action { display: grid; gap: 10px; justify-items: start; }
.contact-email { color: var(--muted); font-size: .87rem; overflow-wrap: anywhere; }
footer { background: var(--deep); color: var(--muted); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 14px; padding-block: 24px; }

@media (max-width: 1040px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 25px; }
  .visual { min-height: 350px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .nav { flex-wrap: wrap; padding-block: 13px; gap: 13px 16px; }
  nav { order: 3; justify-content: flex-start; width: 100%; gap: 5px 20px; }
  nav a { padding: 5px 0; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 49px 33px; }
  .hero h1 { font-size: clamp(2.55rem, 8vw, 4.6rem); }
  .visual { min-height: 325px; }
  .section { padding-block: 57px; }
  .company { padding-top: 0; }
  .principles > div { align-items: flex-start; gap: 7px; padding-left: 10px; }
  .principles > div > span { font-size: 1rem; }
  .markets article { padding: 17px; }
  .desktop-break { display: none; }
}
@media (max-width: 580px) {
  .case, .markets, .book-grid, .company-grid, .contact-inner { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; padding-bottom: 12px; }
  .principles > div { padding: 9px 0; border-left: 0; border-bottom: 1px solid #314659; gap: 12px; }
  .principles small { display: inline; }
  .principles strong { display: inline; margin-right: 7px; }
  .visual { min-height: 288px; }
  .case-work { padding-inline: 18px; }
  .book-image { min-height: 0; }
  .book-image img { width: min(100%, 245px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
