/* Oryn: design tokens, base, layout and every section of the site. One file, no framework. */

@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* brand colors */
  --midnight: #0B1426;
  --cobalt: #245BFF;
  --cobalt-ink: #1C47CC;    /* cobalt for text and links on light backgrounds (AA contrast) */
  --cobalt-soft: #7FA0FF;   /* cobalt for text on dark backgrounds */
  --slate: #7488A0;
  --white: #FFFFFF;
  --off: #F5F5F2;
  --gray: #747E8C;
  --border: #E3E7ED;
  --surface: #111C30;
  /* roles */
  --bg: var(--white);
  --text: #2A3446;          /* body text on light */
  --heading: var(--midnight);
  --muted: #5B6676;         /* secondary text on light (AA on white and off-white) */
  --on-dark: #E8ECF2;
  --on-dark-muted: #9AA8BA;
  --rule-dark: #22304A;
  /* type */
  --sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* layout and motion */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--heading); margin: 0; font-weight: 500; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.1vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--cobalt-soft); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--midnight); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* labels */
.eyebrow, .num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--cobalt); }
.dark .eyebrow, .dark .num { color: var(--on-dark-muted); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--text); max-width: 38em; }
.dark .lede { color: var(--on-dark-muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid var(--cobalt); background: var(--cobalt); color: #fff; font: 500 15px var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.btn:hover { background: #1A4AE0; border-color: #1A4AE0; }
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.more { color: var(--cobalt-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr); color: #fff; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.hdr.sc, .hdr.solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: var(--midnight); border-bottom-color: var(--border); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; color: inherit; text-decoration: none; flex: none; }
.brand .logo { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a:not(.btn) { font-size: 14.5px; text-decoration: none; opacity: .86; transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: 1; }
.nav-cta { display: none; }
.hdr-r { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.lang a { text-decoration: none; padding: 6px 7px; opacity: .74; border-radius: 4px; }
.lang a[aria-current="true"] { opacity: 1; }
.lang a:hover { opacity: 1; }
.menu { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.menu span:first-child { top: 18px; } .menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1060px) {
  .hdr-cta { display: none; }
  /* phone and tablet: menu on the left edge, logo next to it, language on the right */
  .menu { display: block; margin-left: -12px; }
  .hdr .wrap { gap: 6px; }
  .hdr-r { margin-left: auto; }
  .nav { position: fixed; inset: var(--hdr) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: #fff; color: var(--midnight); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px rgba(11, 20, 38, .08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 17px; opacity: 1; }
  .nav-cta { display: inline-flex; margin-top: 18px; }
  .hdr.open { background: #fff; color: var(--midnight); border-bottom-color: var(--border); }
}

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 11vw, 148px) 0; position: relative; }
.sec.alt { background: var(--off); }
.dark { background: var(--midnight); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.shd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.shd h2 { max-width: 14em; }
@media (max-width: 900px) { .shd { grid-template-columns: 1fr; gap: 22px; } }
.statement { margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--border); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.02em; color: var(--heading); max-width: 30em; font-weight: 400; }
.dark .statement { border-top-color: var(--rule-dark); color: #fff; }
.fine { margin-top: 26px; font-size: 13.5px; color: var(--muted); }

/* grids with hairlines */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.grid4 > li { padding: 30px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.grid4 > li + li { padding-left: 28px; border-left: 1px solid var(--border); }
.grid4 p, .caps p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.dark .grid4 { border-top-color: var(--rule-dark); }
.dark .grid4 > li + li { border-left-color: var(--rule-dark); }
.dark .grid4 p { color: var(--on-dark-muted); }
@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .grid4 > li:nth-child(n+3) { border-top: 1px solid var(--border); margin-top: 22px; }
  .dark .grid4 > li:nth-child(n+3) { border-top-color: var(--rule-dark); }
}
@media (max-width: 620px) {
  .grid4 { grid-template-columns: 1fr; }
  .grid4 > li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); margin-top: 0; }
  .grid4 > li { padding-bottom: 26px; }
  .dark .grid4 > li + li { border-top-color: var(--rule-dark); }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--hdr) + clamp(56px, 8vw, 104px)) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(116, 136, 160, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(116, 136, 160, .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%); pointer-events: none; }
.hero-g { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 12em; }
.hero .lede { margin-top: 28px; max-width: 34em; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.phil { margin-top: 56px; display: flex; gap: 18px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--on-dark-muted); }
.phil span { display: inline-flex; align-items: center; gap: 18px; }
.phil span + span::before { content: ""; width: 22px; height: 1px; background: var(--rule-dark); }
.hero-v { margin: 0; position: relative; }
.hv { width: 100%; height: auto; overflow: visible; }
.hv-state { display: flex; align-items: center; gap: 10px; justify-content: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 4px; }
.hv-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); transition: background .4s; }
.hv.frag ~ .hv-state i, .hero-v.is-frag .hv-state i { background: var(--slate); }
@media (max-width: 960px) {
  .hero-g { grid-template-columns: 1fr; }
  .hero-v { max-width: 560px; margin: 8px auto 0; width: 100%; }
  .phil { margin-top: 40px; flex-wrap: wrap; }
}

/* hero diagram */
.hv .grid line { stroke: rgba(116, 136, 160, .16); stroke-width: 1; transition: opacity 1s var(--ease); }
.hv .slab .f-t { fill: #1A2740; } .hv .slab .f-l { fill: #121D33; } .hv .slab .f-r { fill: #0E182B; }
.hv .slab.s1 .f-t { fill: #7488A0; } .hv .slab.s1 .f-l { fill: #5E718A; } .hv .slab.s1 .f-r { fill: #4E6079; }
.hv .slab.s2 .f-t { fill: #245BFF; } .hv .slab.s2 .f-l { fill: #1D4CD9; } .hv .slab.s2 .f-r { fill: #183FB5; }
.hv .slab polygon { stroke: rgba(255, 255, 255, .06); stroke-width: .6; }
.hv .core { transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); transform-origin: 310px 260px; }
.hv .core-l { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; fill: var(--on-dark-muted); }
.hv .blk .f-t { fill: #1E2C47; } .hv .blk .f-l { fill: #16223A; } .hv .blk .f-r { fill: #111B2F; }
.hv .blk polygon { stroke: #33456A; stroke-width: .8; transition: stroke .6s, fill .6s; }
.hv .node { transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.hv .node text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--on-dark-muted); }
.hv .link { fill: none; stroke: var(--cobalt); stroke-width: 1.3; stroke-dasharray: 3 7; opacity: .9; animation: hvflow 1.4s linear infinite; transition: opacity .8s var(--ease); }
.hv .stub { stroke: var(--slate); stroke-width: 1; stroke-dasharray: 2 5; opacity: 0; transition: opacity .8s var(--ease); }
@keyframes hvflow { to { stroke-dashoffset: -20; } }
/* connected: blocks in place, cobalt outline on each block */
.hv:not(.frag) .blk .f-t { fill: #22355A; }
.hv:not(.frag) .blk polygon { stroke: #3B5EBF; }
/* fragmented: blocks drift apart, links go quiet */
.hv.frag .node { transform: translate(var(--dx), var(--dy)); }
.hv.frag .link { opacity: 0; }
.hv.frag .stub { opacity: .8; }
.hv.frag .grid line { opacity: .35; }
.hv.frag .core { opacity: .35; transform: scale(.92); }

/* hero: living background (aurora, pointer spotlight on the grid) */
.hero-aura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-aura i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.hero-aura i:nth-child(1) { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -8vw; top: -10vw; background: radial-gradient(circle, rgba(36, 91, 255, .45), transparent 65%); animation: aura1 18s ease-in-out infinite alternate; }
.hero-aura i:nth-child(2) { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; right: 18vw; bottom: -16vw; background: radial-gradient(circle, rgba(116, 136, 160, .35), transparent 65%); animation: aura2 22s ease-in-out infinite alternate; }
.hero-aura i:nth-child(3) { width: 26vw; height: 26vw; max-width: 400px; max-height: 400px; left: -10vw; top: 30%; background: radial-gradient(circle, rgba(36, 91, 255, .22), transparent 65%); animation: aura1 26s ease-in-out infinite alternate-reverse; }
@keyframes aura1 { to { transform: translate(-6vw, 5vw) scale(1.12); } }
@keyframes aura2 { to { transform: translate(5vw, -4vw) scale(.9); } }
.hero-spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background-image: linear-gradient(rgba(127, 160, 255, .34) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 160, 255, .34) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(300px circle at var(--mx, 70%) var(--my, 45%), #000, transparent 70%); mask-image: radial-gradient(300px circle at var(--mx, 70%) var(--my, 45%), #000, transparent 70%); }
.hero.lit .hero-spot { opacity: 1; }
.hero-g { z-index: 1; }
.hero-v { transform: perspective(1400px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s var(--ease); transform-style: preserve-3d; }

/* hero: headline comes in word by word, the last word carries a sheen. CSS only (no flash before the script
   runs); the start state lives in the keyframes, so with reduced motion everything simply shows. */
.hero h1 .w { display: inline-block; animation: wrise .9s var(--ease) both; animation-delay: calc(.12s + var(--i) * 75ms); }
.hero h1 .sheen { background: linear-gradient(100deg, var(--on-dark) 35%, #9DB6FF 48%, #FFFFFF 52%, var(--on-dark) 65%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wrise .9s var(--ease) both, sheen 7s ease-in-out infinite; animation-delay: calc(.12s + var(--i) * 75ms), 1.6s; }
@keyframes wrise { from { opacity: 0; transform: translateY(.38em); filter: blur(8px); } }
@keyframes sheen { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
@keyframes fup { from { opacity: 0; transform: translateY(14px); } }
.hero .eyebrow, .hero .lede, .hero .acts, .hero .phil { animation: fup .9s var(--ease) both; }
.hero .eyebrow { animation-delay: .05s; }
.hero .lede { animation-delay: .55s; }
.hero .acts { animation-delay: .7s; }
.hero .phil { animation-delay: .85s; }
.hero-v { animation: vin 1.4s .3s var(--ease) both; }
@keyframes vin { from { opacity: 0; scale: .94; } }
.hero .btn:not(.ghost) { box-shadow: 0 0 0 0 rgba(36, 91, 255, .5); transition: box-shadow .4s var(--ease), background .2s, transform .2s; }
.hero .btn:not(.ghost):hover { box-shadow: 0 8px 32px -6px rgba(36, 91, 255, .7); transform: translateY(-1px); }

/* hero diagram: glow, pulses, floating core */
.hv .halo { transform-origin: center; transform-box: fill-box; animation: breathe 4.8s ease-in-out infinite; transition: opacity 1s var(--ease); }
@keyframes breathe { 50% { opacity: .55; transform: scale(.92); } }
.hv .pulse.in { fill: #A9C0FF; }
.hv .pulse.out { fill: #FFFFFF; opacity: .75; }
.hv .pulses { transition: opacity .8s var(--ease); }
.hv .fl { animation: float 6s ease-in-out infinite; }
.hv .fl.f1 { animation-delay: -.6s; } .hv .fl.f2 { animation-delay: -1.2s; }
@keyframes float { 50% { transform: translateY(-5px); } }
.hv .fl.f2 { animation-name: float2; } @keyframes float2 { 50% { transform: translateY(-9px); } }
.hv .sheen { mix-blend-mode: screen; pointer-events: none; }
.hv .mote { fill: #A9C0FF; opacity: 0; animation: mote 4.2s ease-out infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes mote { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-70px); } }
.hv:not(.frag) .node .blk .f-t { animation: blink 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes blink { 0%, 70%, 100% { fill: #22355A; } 82% { fill: #2C4A8C; } }
.hv.frag .pulses, .hv.frag .motes { opacity: 0; }
.hv.frag .halo { opacity: .12; }
@media (prefers-reduced-motion: reduce) { .hv .pulses, .hv .motes, .hero-spot { display: none; } .hero-v { transform: none; } }

/* ---------- approach ---------- */
.appr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.layers { border-top: 1px solid var(--border); }
.layer { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--border); padding: 20px 0 20px 22px; cursor: pointer; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 18px; position: relative; transition: background .25s; }
.layer::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: transparent; transition: background .3s; }
.layer .num { grid-row: span 2; padding-top: 4px; }
.layer .lt { font-size: 19px; font-weight: 500; color: var(--heading); letter-spacing: -.015em; }
.layer .ld { font-size: 15px; color: var(--muted); line-height: 1.5; }
.layer.on::before { background: var(--cobalt); }
.layer.on .num { color: var(--cobalt-ink); }
.layer:hover { background: rgba(255, 255, 255, .6); }
.appr-v { position: relative; }
.scale { position: absolute; left: 0; top: 4%; bottom: 8%; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.scale i { flex: 1; width: 1px; background: linear-gradient(var(--slate), rgba(116, 136, 160, .15)); }
.lv { width: 100%; height: auto; overflow: visible; }
.lv .pl .f-t { fill: #fff; } .lv .pl .f-l { fill: #E9EDF2; } .lv .pl .f-r { fill: #DCE2EA; }
.lv .pl polygon { stroke: #C9D2DD; stroke-width: 1; transition: fill .45s var(--ease), stroke .45s var(--ease); }
.lv .lead { stroke: #C9D2DD; stroke-width: 1; stroke-dasharray: 2 4; transition: stroke .45s; }
.lv text { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; fill: var(--muted); transition: fill .45s; }
.lv .plate { transition: transform .6s var(--ease); }
.lv .plate.on .pl .f-t { fill: #E7EEFF; } .lv .plate.on .pl .f-l { fill: #C9D8FF; } .lv .plate.on .pl .f-r { fill: #B6C9FF; }
.lv .plate.on .pl polygon { stroke: var(--cobalt); }
.lv .plate.on .lead { stroke: var(--cobalt); stroke-dasharray: none; }
.lv .plate.on text { fill: var(--cobalt-ink); font-weight: 600; }
.lv .plate.on { transform: translateX(10px); }
@media (max-width: 960px) { .appr { grid-template-columns: 1fr; } .appr-v { max-width: 520px; width: 100%; margin: 0 auto; order: -1; } }
@media (max-width: 520px) { .layer { grid-template-columns: 1fr; padding-left: 18px; } .layer .num { grid-row: auto; } .scale { display: none; } }
@media (max-width: 600px) { .phil { gap: 8px 14px; } .phil span + span::before { display: none; } }

/* ---------- methodology ---------- */
.meth { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); }
.meth-stick { position: sticky; top: calc(var(--hdr) + 40px); display: flex; flex-direction: column; gap: 36px; }
.pm { width: min(100%, 340px); height: auto; }
.pm .ly { fill: #1B2741; transition: fill .6s var(--ease); }
.meth.p0 .pm .ly0, .meth.done .pm .ly0 { fill: #FFFFFF; }
.meth.p1 .pm .ly1, .meth.done .pm .ly1 { fill: #7488A0; }
.meth.p2 .pm .ly2, .meth.done .pm .ly2 { fill: #245BFF; }
.meth.p1 .pm .ly0, .meth.p2 .pm .ly0, .meth.p2 .pm .ly1 { fill: #2A3956; }
.meth-idx { display: flex; flex-direction: column; border-top: 1px solid var(--rule-dark); max-width: 340px; }
.meth-idx li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule-dark); font-size: 16px; color: var(--on-dark-muted); transition: color .3s; }
.meth-idx li span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.meth-idx li.on { color: #fff; }
.meth-idx li.on span { color: var(--cobalt-soft); }
.phases { display: flex; flex-direction: column; }
.phase { padding: 8px 0 72px; min-height: 60vh; }
.phase + .phase { padding-top: 64px; border-top: 1px solid var(--rule-dark); }
.phase h3 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.03em; margin-top: 14px; }
.phase .verb { display: block; color: var(--slate); font-weight: 400; }
.phase[data-i="0"] .verb { color: #C7D2E0; }
.phase[data-i="2"] .verb { color: var(--cobalt-soft); }
.phase .pt { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 34em; }
.phase h4 { margin-top: 36px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.acts-l { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.acts-l li { padding: 11px 0 11px 20px; border-bottom: 1px solid var(--rule-dark); font-size: 15px; color: var(--on-dark); position: relative; }
.acts-l li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 1px; background: var(--slate); }
.deliv { margin-top: 32px; padding: 24px 26px; border: 1px solid var(--rule-dark); border-left: 2px solid var(--cobalt); background: var(--surface); border-radius: 0 6px 6px 0; }
.deliv b { display: block; margin-top: 8px; font-size: 21px; font-weight: 500; color: #fff; letter-spacing: -.015em; }
.deliv p { margin-top: 8px; font-size: 15px; color: var(--on-dark-muted); }
.evo { margin-top: 24px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; align-items: start; padding: 32px; border: 1px solid var(--rule-dark); border-radius: 8px; }
.evo svg { width: 48px; height: 48px; color: var(--cobalt-soft); }
.evo h3 { margin-top: 8px; font-size: 24px; }
.evo p { margin-top: 10px; color: var(--on-dark-muted); max-width: 46em; }
.ph-mark { display: none; }
@media (max-width: 960px) {
  .ph-mark { display: block; width: 88px; margin-bottom: 18px; }
  .ph-mark .pm { width: 100%; }
  .ph-mark.p0 .ly0 { fill: #fff; } .ph-mark.p1 .ly1 { fill: #7488A0; } .ph-mark.p2 .ly2 { fill: #245BFF; }
  .meth { grid-template-columns: 1fr; }
  .meth-v { display: none; }
  .phase { min-height: 0; padding-bottom: 48px; }
  .phase + .phase { padding-top: 48px; }
}
@media (max-width: 620px) { .acts-l { grid-template-columns: 1fr; } .evo { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- capabilities and principles ---------- */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--midnight); }
.caps > li { padding: 30px 32px 40px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.caps > li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--border); }
.caps h3 { font-size: 22px; max-width: 14em; }
.caps > li::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--cobalt); transition: width .5s var(--ease); }
.caps > li:not(:nth-child(3n+1))::after { left: 32px; }
.caps > li:hover::after { width: 48px; }
.prin { border-top-color: var(--midnight); }
@media (max-width: 960px) {
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caps > li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .caps > li:not(:nth-child(3n+1))::after { left: 0; }
  .caps > li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--border); }
  .caps > li:nth-child(even)::after { left: 32px; }
}
@media (max-width: 620px) {
  .caps { grid-template-columns: 1fr; }
  .caps > li:nth-child(even) { padding-left: 0; border-left: 0; }
  .caps > li:nth-child(even)::after { left: 0; }
}

/* ---------- architecture ---------- */
.arch { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires path { fill: none; stroke: #B7C2D0; stroke-width: 1; }
.wires path.flow { stroke: var(--cobalt); stroke-width: 1.4; stroke-dasharray: 3 12; animation: flow 1.6s linear infinite; opacity: .55; transition: opacity .3s, stroke-width .3s; }
.wires path.dim { opacity: .12; }
.wires path.hot { opacity: 1; stroke-width: 1.8; }
@keyframes flow { to { stroke-dashoffset: -30; } }
.arch-col { position: relative; z-index: 1; min-width: 0; }
.col-h { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.nodes-l { display: flex; flex-direction: column; gap: 8px; }
.nodes-l button, .nodes-l span { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 10px 14px; font-size: 15px; color: var(--heading); transition: border-color .25s, box-shadow .25s, color .25s; }
.nodes-l button { cursor: pointer; }
.nodes-l button:hover, .nodes-l button.on { border-color: var(--cobalt); box-shadow: 0 6px 18px rgba(36, 91, 255, .10); }
.nodes-l button.on { color: var(--cobalt-ink); }
.nodes-l.tech span.on { border-color: var(--cobalt); color: var(--cobalt-ink); }
.core-card { background: var(--midnight); color: var(--on-dark); border-radius: 10px; padding: 34px 32px; position: relative; overflow: hidden; }
.core-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(116, 136, 160, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(116, 136, 160, .08) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.core-card > * { position: relative; }
.core-card .num { color: var(--cobalt-soft); }
.core-card h3 { color: #fff; font-size: 27px; margin-top: 10px; }
.core-card p { margin-top: 10px; color: var(--on-dark-muted); font-size: 15px; }
.core-card ul { margin-top: 22px; border-top: 1px solid var(--rule-dark); }
.core-card li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--rule-dark); font-size: 15px; position: relative; }
.core-card li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border: 1.5px solid var(--cobalt-soft); transform: rotate(45deg) scale(.8); }
.arch-hint { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.notes { margin-top: clamp(56px, 7vw, 88px); }
@media (max-width: 960px) {
  .arch { grid-template-columns: 1fr; gap: 40px; }
  .wires { display: none; }
  .nodes-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .arch-hint { display: none; }
}

/* ---------- transformation in practice ---------- */
.prac { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prac-v { position: sticky; top: calc(var(--hdr) + 32px); }
.rv { width: 100%; height: auto; overflow: visible; }
.rv line { stroke: #CBD4DF; stroke-width: 1; transition: stroke .35s, stroke-width .35s; }
.rv line.hot { stroke: var(--cobalt); stroke-width: 1.6; }
.rv .ctr polygon { fill: var(--midnight); }
.rv .ctr text { fill: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.rv .fn polygon { fill: #fff; stroke: var(--slate); stroke-width: 1.2; transition: fill .35s, stroke .35s; }
.rv .fn text { font-size: 14px; fill: var(--heading); font-weight: 500; letter-spacing: -.01em; }
.rv .fn.on polygon { fill: var(--cobalt); stroke: var(--cobalt); }
.rv .fn.on text { fill: var(--cobalt-ink); }
.prac-l { border-top: 1px solid var(--border); }
.prac-l button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--border); padding: 18px 0 18px 20px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; cursor: pointer; position: relative; }
.prac-l button::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; background: transparent; transition: background .3s; }
.prac-l .num { grid-row: span 2; padding-top: 4px; }
.prac-l .lt { font-size: 18px; font-weight: 500; color: var(--heading); }
.prac-l .ld { font-size: 15px; color: var(--muted); line-height: 1.5; }
.prac-l button.on::before { background: var(--cobalt); }
.prac-l button.on .num { color: var(--cobalt-ink); }
@media (max-width: 960px) { .prac { grid-template-columns: 1fr; } .prac-v { position: static; max-width: 460px; width: 100%; margin: 0 auto; } }

/* ---------- difference ---------- */
.cmp { margin-bottom: clamp(56px, 7vw, 88px); border-top: 1px solid var(--rule-dark); }
.cmp-r { display: grid; grid-template-columns: minmax(150px, 1.1fr) repeat(3, minmax(0, 1fr)) minmax(150px, 1.2fr); gap: 0 10px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule-dark); }
.cmp-h span { font-size: 14px; color: var(--on-dark-muted); }
.cmp-h .num { margin-right: 6px; font-style: normal; }
.cmp-r [role="rowheader"] { font-size: 16px; color: var(--on-dark); }
.cmp-r.us [role="rowheader"] { color: #fff; font-weight: 500; }
.cell i { display: block; height: 10px; border-radius: 2px; border: 1px dashed #2E3D5B; transform-origin: left; }
.cell.y i { border: 0; background: var(--slate); }
.cmp-r.us .cell.y i { background: var(--cobalt); }
.cmp-r .out { font-size: 14px; color: var(--on-dark-muted); padding-left: 14px; }
.cmp-r.us .out { color: #fff; }
.cmp.pre .cell.y i { transform: scaleX(0); }
.cmp .cell.y i { transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 140ms + 100ms); }
@media (max-width: 760px) {
  .cmp-r { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .cmp-h span:first-child, .cmp-h span:last-child { display: none; }
  .cmp-r [role="rowheader"], .cmp-r .out { grid-column: 1 / -1; padding-left: 0; }
  .cmp-h { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-b { display: flex; flex-direction: column; gap: 22px; }
.about-b p:not(.lede) { color: var(--muted); max-width: 40em; }
.pillars { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.pillars li { padding: 16px 0 16px 22px; border-bottom: 1px solid var(--border); font-size: 15.5px; color: var(--heading); position: relative; }
.pillars li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 1px; background: var(--cobalt); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .lede { margin-top: 24px; }
.contact .support { margin-top: 18px; color: var(--on-dark); max-width: 34em; }
.eng-h { margin-top: 48px; margin-bottom: 8px; font-weight: 500; }
.eng { border-top: 1px solid var(--rule-dark); }
.eng li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-dark); }
.eng .num { grid-row: span 2; padding-top: 3px; }
.eng b { font-weight: 500; color: #fff; font-size: 15.5px; }
.eng p { font-size: 14.5px; color: var(--on-dark-muted); }
.form-card { background: #fff; color: var(--text); border-radius: 10px; padding: clamp(24px, 3vw, 40px); }
.form-card h3 { color: var(--heading); font-size: 22px; margin-bottom: 22px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fld label { font-size: 13.5px; font-weight: 500; color: var(--heading); }
.fld input, .fld select, .fld textarea { width: 100%; font: 15px var(--sans); color: var(--heading); background: #fff; border: 1px solid #CDD5DF; border-radius: 6px; padding: 11px 13px; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235B6676' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(36, 91, 255, .15); }
.fld [aria-invalid="true"] { border-color: #C2362B; }
.fld .err { font-size: 13px; color: #B3261E; min-height: 0; }
.fld .err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.consent a { color: var(--cobalt-ink); }
.form-msg { margin-top: 12px; font-size: 14px; color: #B3261E; }
.form-msg:empty { display: none; }
.form-ok { text-align: center; padding: 40px 12px; }
.form-ok svg { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--cobalt); border: 1.5px solid var(--cobalt); border-radius: 50%; padding: 4px; }
.form-ok h3 { margin-bottom: 8px; }
.form-ok p { color: var(--muted); }
@media (max-width: 960px) { .contact-g { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { background: #fff; border-top: 1px solid var(--border); color: var(--midnight); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.ftr .logo { height: 28px; width: auto; }
.ftr-cat { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ftr-brand p:last-child { margin-top: 10px; color: var(--muted); max-width: 26em; font-size: 15px; }
.ftr h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ftr ul { display: flex; flex-direction: column; gap: 10px; }
.ftr ul a { text-decoration: none; font-size: 15px; color: var(--text); }
.ftr ul a:hover { color: var(--cobalt-ink); }
.ftr-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.ftr-phil { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
@media (max-width: 760px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }

/* ---------- legal pages ---------- */
.legal { padding: calc(var(--hdr) + 72px) 0 96px; }
.legal h1 { font-size: clamp(36px, 4.4vw, 56px); }
.legal .updated { margin-top: 14px; font-size: 14px; color: var(--muted); }
.legal .lede { margin-top: 26px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p { margin-top: 12px; color: var(--text); }

/* ---------- reveal on scroll ---------- */
.js .rv-item { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv-item.pre { opacity: 0; transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv-item.pre { opacity: 1; transform: none; }
}
@media print { .hdr, .hero-v, .wires, .form-card { display: none; } .dark { background: #fff; color: #000; } }

/* models and infrastructure */
#stack { background: radial-gradient(900px 600px at 85% 0%, rgba(36,91,255,.18), transparent 60%), var(--midnight); }
.mdl { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 8px; }
.mdl-g .col-h, .dep-h { color: var(--on-dark-muted); }
.tiles { display: grid; gap: 12px; }
.tiles.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tiles.n3 li { min-height: 104px; padding: 24px 26px; gap: 18px; }
.tiles.n3 .lg { width: 40px; height: 40px; }
.tiles.n3 span { font-size: 21px; }
.tiles li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--rule-dark); background: var(--surface); color: var(--on-dark-muted); transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); min-height: 72px; }
.tiles li:hover { border-color: var(--cobalt); color: #fff; transform: translateY(-2px); }
.tiles .lg { width: 30px; height: 30px; flex: none; }
.tiles span { font-size: 17px; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.tune { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 28px 30px; border: 1px solid var(--rule-dark); border-left: 2px solid var(--cobalt); background: linear-gradient(90deg, rgba(36,91,255,.12), rgba(36,91,255,0) 70%); }
.tune h3 { font-size: 22px; }
.tune p { color: var(--on-dark-muted); font-size: 15.5px; line-height: 1.55; margin-top: 8px; max-width: 46em; }
.tools { display: flex; gap: 22px; flex-wrap: wrap; }
.tools li { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--on-dark-muted); min-width: 64px; }
.tools .lg { width: 30px; height: 30px; }
.tools span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.dep-h { margin-top: 48px; }
.dep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); }
.dep > li { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--rule-dark); display: flex; flex-direction: column; gap: 10px; }
.dep > li + li { padding-left: 26px; border-left: 1px solid var(--rule-dark); }
.dep .di { width: 30px; height: 30px; color: var(--cobalt-soft); }
.dep h3 { font-size: 19px; margin-top: 6px; }
.dep p { color: var(--on-dark-muted); font-size: 15px; line-height: 1.5; }
.dep-logos { display: flex; gap: 16px; margin-top: 6px; color: var(--on-dark); }
.dep-logos .lg { width: 26px; height: 26px; opacity: .85; }
.stack-note { margin-top: 22px; font-size: 12.5px; color: var(--on-dark-muted); }
@media (max-width: 960px) {
  .tiles.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dep > li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 620px) {
  .tiles.n3, .tiles.n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles li, .tiles.n3 li { padding: 14px; gap: 10px; min-height: 60px; }
  .tiles .lg, .tiles.n3 .lg { width: 24px; height: 24px; }
  .tiles span, .tiles.n3 span { font-size: 15px; }
  .tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .tools li { min-width: 0; }
  .tools span { font-size: 10px; text-align: center; }
  .tune { grid-template-columns: 1fr; padding: 22px; }
  .dep { grid-template-columns: 1fr; }
  .dep > li, .dep > li + li { padding: 22px 0; border-left: 0; }
}
