/* Open Horizon Limited — openhorizon.ltd */

:root {
  /* Brand palette (brandbook v2.0) */
  --navy: #101D35;
  --navy-deep: #0B1528;
  --navy-soft: #172846;
  --blue: #2463EB;
  --blue-deep: #1A4FC4;
  --cyan: #69DCF2;
  --cloud: #F5F8FC;
  --white: #FFFFFF;
  --slate: #52627A;
  --mist: #D8E2EF;
  --mist-soft: #EAF0F7;

  --bg: var(--cloud);
  --text: var(--navy);
  --text-dim: var(--slate);
  --on-dark: #F5F8FC;
  --on-dark-dim: #A9B7CC;
  --line-dark: rgba(105, 220, 242, .16);
  --line: var(--mist);

  /* rgb triplets for overlays */
  --scrim: 16, 29, 53;
  --cyan-rgb: 105, 220, 242;
  --blue-rgb: 36, 99, 235;

  /* Type */
  --font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --t-hero: clamp(44px, 6.6vw, 96px);
  --t-h2: clamp(34px, 4.1vw, 58px);
  --t-statement: clamp(26px, 3.1vw, 44px);
  --t-h3: clamp(21px, 1.7vw, 25px);
  --t-lead: clamp(17px, 1.35vw, 20px);
  --t-body: 17px;
  --t-small: 15px;
  --t-label: 12.5px;

  /* Layout */
  --container: 1280px;
  --pad-x: clamp(20px, 5.5vw, 80px);
  --section-py: clamp(72px, 9vw, 136px);
  --nav-h: 76px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--cyan); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--pad-x)); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-py) 0; position: relative; }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-mist { background: var(--mist-soft); }

/* ---------- Eyebrows / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: var(--t-label); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 22px;
}
.eyebrow .idx { color: var(--blue); }
.eyebrow .idx::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; }
.eyebrow-dark { color: var(--on-dark-dim); }
.eyebrow-dark .idx { color: var(--cyan); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), .18); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; margin-bottom: clamp(44px, 5.5vw, 80px); }
.section-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
.section-head h2 { font-size: var(--t-h2); line-height: 1.06; }
.section-head h2:last-child { grid-column: 1 / -1; }
.section-lead { font-size: var(--t-lead); line-height: 1.6; color: var(--text-dim); max-width: 52ch; }
.section-dark .section-lead { color: var(--on-dark-dim); }
.section-lead a { color: var(--blue); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; letter-spacing: -0.005em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-icon { width: 18px; height: 18px; filter: brightness(0) invert(1); transition: transform .2s var(--ease); }
.btn:hover .btn-icon { transform: translate(2px, -2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 30px -12px rgba(var(--blue-rgb), .8); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-primary:disabled { background: #8FA4C7; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { color: var(--on-dark); border-color: rgba(245, 248, 252, .28); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-outline { min-height: 44px; padding: 0 20px; font-size: 15px; color: var(--on-dark); border-color: rgba(var(--cyan-rgb), .5); }
.btn-outline:hover { background: rgba(var(--cyan-rgb), .1); border-color: var(--cyan); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link span { display: inline-block; transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: var(--on-dark);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { background: rgba(var(--scrim), .95); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { height: 100%; max-width: calc(var(--container) + 2 * var(--pad-x)); margin: 0 auto; padding: 0 var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.main-nav > a:not(.btn) { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--on-dark-dim); position: relative; padding: 6px 0; transition: color .2s; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav > a:not(.btn):hover, .main-nav > a.active { color: var(--on-dark); }
.main-nav > a:not(.btn):hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.scroll-line { position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(var(--progress, 0)); transform-origin: left; opacity: .9; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(245, 248, 252, .25); background: transparent; color: var(--on-dark); cursor: pointer; position: relative; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { position: absolute; left: 50%; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle .bars { top: 50%; transform: translate(-50%, -50%); }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--on-dark);
  padding-top: var(--nav-h); overflow: hidden; isolation: isolate;
  min-height: min(100svh, 980px); display: flex; flex-direction: column;
}
.hero::before { /* faint top-left wash */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 0% 0%, rgba(var(--blue-rgb), .16), transparent 70%);
}
.hero-inner {
  flex: 1; width: 100%; max-width: calc(var(--container) + 2 * var(--pad-x)); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--pad-x) clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hero h1 { font-size: var(--t-hero); line-height: 1.0; font-weight: 600; letter-spacing: -0.035em; max-width: 11ch; }
.arc-word { position: relative; display: inline-block; color: var(--cyan); white-space: nowrap; }
.arc-word svg { position: absolute; left: -2%; bottom: -0.14em; width: 104%; height: .32em; overflow: visible; }
.arc-word path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-lead { margin-top: 28px; font-size: var(--t-lead); color: var(--on-dark-dim); max-width: 46ch; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.horizon-svg { width: 100%; height: auto; max-height: 600px; overflow: visible; }
.hz-arcs path { stroke-opacity: .32; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hz-orbit { transform-box: view-box; transform-origin: 320px 330px; animation: orbit 26s linear infinite; }
.hz-orbit-b { animation-duration: 40s; animation-direction: reverse; }
.hz-nodes circle { animation: twinkle 4s ease-in-out infinite; }
.hz-nodes circle:nth-child(2) { animation-delay: -1.2s; }
.hz-nodes circle:nth-child(3) { animation-delay: -2.4s; }
.hz-nodes circle:nth-child(4) { animation-delay: -3.1s; }
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* intro animation (only when JS has flagged motion is welcome) */
.motion .hz-arcs path { stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
.motion .hz-arcs path:nth-child(2) { animation-delay: .15s; }
.motion .hz-arcs path:nth-child(3) { animation-delay: .3s; }
.motion .hz-arcs path:nth-child(4) { animation-delay: .45s; }
.motion .hz-sun { transform: translateY(70px); animation: rise 1.8s .2s var(--ease) forwards; }
.motion .hz-horizon { transform-box: fill-box; transform-origin: center; transform: scaleX(0); animation: grow 1.2s var(--ease) forwards; }
.motion .arc-word path { stroke-dashoffset: 1; animation: draw 1s .7s var(--ease) forwards; }
.motion .hero-copy > * { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; }
.motion .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.motion .hero-copy > *:nth-child(3) { animation-delay: .18s; }
.motion .hero-copy > *:nth-child(4) { animation-delay: .28s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-strip {
  list-style: none; position: relative; width: 100%; max-width: calc(var(--container) + 2 * var(--pad-x)); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero-strip::before { content: ""; position: absolute; left: var(--pad-x); right: var(--pad-x); top: 0; height: 1px; background: var(--line-dark); }
.hero-strip a {
  display: flex; align-items: center; gap: 14px; padding: 26px 24px 30px 0; text-decoration: none;
  font-size: 16px; font-weight: 500; color: var(--on-dark); position: relative;
}
.hero-strip a::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--cyan); transition: width .35s var(--ease); }
.hero-strip a:hover::before { width: 70%; }
.hero-strip .num { font-family: var(--mono); font-size: var(--t-label); color: var(--cyan); }
.hero-strip .arrow { margin-left: auto; margin-right: 24px; color: var(--on-dark-dim); transition: transform .25s var(--ease), color .2s; }
.hero-strip a:hover .arrow { transform: translateX(4px); color: var(--cyan); }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); row-gap: 0; }
.intro-grid .eyebrow { grid-column: 1 / -1; justify-self: start; }
.statement { font-size: var(--t-statement); line-height: 1.22; font-weight: 500; letter-spacing: -0.022em; }
.statement em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.statement em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: rgba(var(--cyan-rgb), .55); z-index: -1; border-radius: 2px; }
.statement .muted { color: var(--slate); }
.intro-points { list-style: none; display: grid; gap: 28px; align-content: start; padding-top: 10px; }
.intro-points li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.intro-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.intro-points strong { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.intro-points span { color: var(--slate); font-size: var(--t-small); line-height: 1.55; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.service-list { border-top: 1px solid var(--line); }
.service {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px);
  padding: clamp(36px, 4.5vw, 60px) clamp(0px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--cloud), var(--white)); opacity: 0; transition: opacity .35s var(--ease); }
.service:hover::before, .service:focus-within::before { opacity: 1; }
.service-arc {
  position: absolute; z-index: -1; right: -6%; bottom: -78%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(var(--blue-rgb), .14); box-shadow: 0 0 0 40px rgba(var(--blue-rgb), .025), 0 0 0 80px rgba(var(--blue-rgb), .02);
  transform: translateY(24%); opacity: 0; transition: transform .6s var(--ease), opacity .45s var(--ease);
}
.service:hover .service-arc, .service:focus-within .service-arc { transform: translateY(0); opacity: 1; }
.service-head { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-content: start; }
.service-num { font-family: var(--mono); font-size: var(--t-label); color: var(--blue); grid-column: 1 / -1; margin-bottom: 18px; letter-spacing: .1em; }
.service-icon { grid-row: 2 / span 2; width: 64px; height: 64px; border-radius: var(--radius); background: var(--cloud); border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.service:hover .service-icon { background: var(--white); border-color: rgba(var(--blue-rgb), .35); }
.service h3 { font-size: var(--t-h3); line-height: 1.22; align-self: center; }
.service-tag { color: var(--slate); font-size: var(--t-small); margin-top: 6px; }
.service-body p { color: #33435C; }
.service-body .text-link { margin-top: 22px; }
.service-caps { list-style: none; display: grid; gap: 10px; align-content: start; }
.service-caps li { position: relative; padding-left: 22px; font-size: var(--t-small); line-height: 1.45; color: var(--navy); }
.service-caps li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 5px; border: 1.5px solid var(--blue); border-bottom: 0; border-radius: 10px 10px 0 0; }

/* ---------- Approach ---------- */
.approach { overflow: hidden; }
.approach::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; background: radial-gradient(50% 50% at 50% 100%, rgba(var(--blue-rgb), .35), transparent 70%); pointer-events: none; }
.approach .container { position: relative; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); position: relative; padding-top: 44px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; }
.timeline::before { background: var(--line-dark); }
.timeline::after { background: linear-gradient(90deg, var(--cyan), var(--blue)); transform-origin: left; transform: scaleX(1); transition: transform 1.6s var(--ease); }
.js .timeline:not(.in)::after { transform: scaleX(0); }
.step { position: relative; }
.step-dot { position: absolute; top: -44px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--navy); border: 2px solid var(--cyan); }
.step-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--cyan); }
.step-num { display: block; font-family: var(--mono); font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.step h3 { font-size: var(--t-h3); margin-bottom: 12px; line-height: 1.2; }
.step p { color: var(--on-dark-dim); font-size: var(--t-small); }
.step-out { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(var(--cyan-rgb), .22); }
.step-out span { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 4px; }

/* ---------- Engagement ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.model {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.model:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(var(--scrim), .35); border-color: rgba(var(--blue-rgb), .3); }
.model-arc { width: 104px; height: 52px; margin-bottom: 18px; overflow: visible; fill: none; stroke: var(--blue); stroke-width: 1.5; }
.model-arc path { stroke-opacity: .55; }
.model-arc .model-arc-line { stroke: var(--cyan); stroke-opacity: 1; stroke-width: 2; }
.model-kicker { font-family: var(--mono); font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.model h3 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; }
.model p:not(.model-kicker) { color: var(--slate); }
.model-fit { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--t-small); }
.model-fit strong { color: var(--navy); font-weight: 600; margin-right: 4px; }
.model-featured { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.model-featured .model-kicker { color: var(--cyan); }
.model-featured p:not(.model-kicker) { color: var(--on-dark-dim); }
.model-featured .model-fit { border-color: var(--line-dark); }
.model-featured .model-fit strong { color: var(--on-dark); }
.model-featured .model-arc { stroke: var(--cyan); }

/* ---------- Principles + stack ---------- */
.principles { padding-bottom: clamp(56px, 6vw, 88px); }
.principles-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.principles-intro h2 { font-size: var(--t-h2); line-height: 1.06; }
.principles-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); counter-reset: pr; }
.principles-list > div { padding: 28px 0; border-top: 1px solid #C9D5E4; counter-increment: pr; }
.principles-list dt { font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.principles-list dt::before { content: "0" counter(pr); font-family: var(--mono); font-size: var(--t-label); color: var(--blue); font-weight: 500; }
.principles-list dd { color: var(--slate); font-size: var(--t-small); }

.stack { margin-top: clamp(56px, 6vw, 88px); }
.stack-title { text-align: center; font-family: var(--mono); font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 22px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { list-style: none; display: flex; flex-shrink: 0; gap: 12px; padding-right: 12px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { white-space: nowrap; padding: 10px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--mist); font-weight: 500; font-size: 15px; color: var(--navy); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-intro h2 { font-size: var(--t-h2); line-height: 1.06; margin-bottom: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.45vw, 21px); font-weight: 600; line-height: 1.35; transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: 0 0 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--navy), var(--navy)) center / 12px 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 1.5px 12px no-repeat;
  transition: transform .3s var(--ease), background-color .2s, border-color .2s;
}
.faq-list summary:hover { color: var(--blue); }
.faq-list details[open] summary::after { transform: rotate(45deg); border-color: var(--blue); background-color: var(--cloud); }
.faq-list details p { padding: 0 56px 28px 0; color: var(--slate); max-width: 64ch; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -15%; bottom: -40%; width: 70%; height: 90%; background: radial-gradient(50% 50% at 50% 50%, rgba(var(--blue-rgb), .22), transparent 70%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; position: relative; }
.contact-info h2 { font-size: var(--t-h2); line-height: 1.06; margin-bottom: 22px; }
.contact-cards { list-style: none; margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-cards > li { display: flex; }
.contact-card {
  position: relative; overflow: hidden; flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 22px 24px 24px; border-radius: 20px; text-decoration: none; color: var(--on-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid rgba(var(--cyan-rgb), .14);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
a.contact-card:hover { border-color: rgba(var(--cyan-rgb), .55); background-color: rgba(var(--cyan-rgb), .05); transform: translateY(-2px); }
.contact-card-wide { grid-column: 1 / -1; }
.cc-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; background: rgba(var(--cyan-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .25); transition: background-color .25s; }
.cc-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a.contact-card:hover .cc-icon { background: rgba(var(--cyan-rgb), .2); }
.cc-label { font-family: var(--mono); font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-dim); }
.cc-value { font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; overflow-wrap: anywhere; }
address.cc-value { font-weight: 500; color: var(--on-dark); line-height: 1.55; position: relative; z-index: 1; }
.cc-arrow { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: var(--on-dark-dim); border: 1px solid rgba(var(--cyan-rgb), .18); transition: color .25s, border-color .25s, transform .25s var(--ease); }
a.contact-card:hover .cc-arrow { color: var(--navy); background: var(--cyan); border-color: var(--cyan); transform: rotate(45deg); }
.cc-horizon { position: absolute; right: 24px; bottom: 0; width: clamp(120px, 14vw, 170px); height: auto; fill: none; stroke: rgba(var(--cyan-rgb), .3); stroke-width: 1; }
.cc-horizon .cc-horizon-line { stroke: var(--cyan); stroke-width: 1.5; stroke-opacity: .8; }
.cc-horizon circle { fill: var(--cyan); stroke: none; }

.contact-form { background: var(--cloud); color: var(--navy); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.form-heading h3 { font-size: var(--t-h3); }
.form-required { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.topic-chips { border: 0; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #C3D0E1; background: var(--white); color: var(--navy); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy);
  background: var(--white); border: 1px solid #C3D0E1; border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #7D8BA0; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .16); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #C4314B; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--slate); }
.form-note a { color: var(--navy); text-underline-offset: 3px; }
.turnstile-widget { margin-top: 18px; min-height: 0; }
.verification-status { margin-top: 10px; font-size: 14px; color: var(--slate); }
.verification-status a, .form-error a { color: var(--navy); font-weight: 600; }
.form-submit { margin-top: 20px; width: 100%; }
.form-success { margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: #E3F6FA; border: 1px solid rgba(var(--cyan-rgb), .9); display: grid; gap: 4px; }
.form-success strong::before { content: "✓ "; color: var(--blue); }
.form-success span { color: var(--slate); font-size: 15px; }
.form-error { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: #FCECEF; border: 1px solid #E8A3B0; color: #7A1F31; font-size: 15px; }
.form-error::before { content: "! "; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-dim); padding: clamp(56px, 6vw, 88px) 0 32px; font-size: var(--t-small); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 224px; height: auto; margin-left: -2px; }
.footer-brand p { margin-top: 16px; color: var(--on-dark); font-size: 18px; font-weight: 500; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-label { font-family: var(--mono); font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }

/* ---------- Legal / 404 pages ---------- */
.page-hero { background: var(--navy); color: var(--on-dark); padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8%; bottom: -70%; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-dark); box-shadow: 0 0 0 60px rgba(var(--cyan-rgb), .03), 0 0 0 120px rgba(var(--cyan-rgb), .02); }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.03em; }
.page-hero p:not(.eyebrow) { margin-top: 18px; color: var(--on-dark-dim); font-size: var(--t-lead); max-width: 56ch; }
.legal { padding: clamp(48px, 6vw, 88px) 0 var(--section-py); background: var(--white); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: clamp(22px, 2vw, 28px); margin: 44px 0 14px; letter-spacing: -0.015em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: #33435C; margin-bottom: 14px; }
.legal-body a { color: var(--blue); text-underline-offset: 3px; }
.error-page { min-height: 100svh; display: flex; align-items: center; }
.error-page .container { position: relative; z-index: 1; }
.error-page .btn { margin-top: 36px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-stagger > * { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in, .js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: .1s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: .2s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: .3s; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; padding-top: clamp(32px, 6vw, 56px); }
  .hero h1 { max-width: 12ch; }
  .hero-visual { order: -1; height: clamp(220px, 40vw, 380px); margin: 0 calc(-1 * var(--pad-x)); }
  .horizon-svg { height: 100%; width: auto; max-width: none; }
  .section-head { grid-template-columns: 1fr; row-gap: 20px; }
  .intro-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-left: 0; padding-right: 0; }
  .service-head { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .timeline::before, .timeline::after { display: none; }
  .step { padding-top: 32px; border-top: 1px solid var(--line-dark); }
  .step-dot { top: -8px; }
  .models { grid-template-columns: 1fr; }
  .principles-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  :root { --nav-h: 66px; --t-body: 16px; }
  .brand img { height: 34px; }
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100svh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--pad-x) 32px;
    background: var(--navy); border-top: 1px solid var(--line-dark);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a:not(.btn) { font-size: 26px; font-weight: 500; color: var(--on-dark); padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .main-nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 28px; min-height: 52px; font-size: 16px; }
  .site-header.menu-open { background: var(--navy); }

  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip li + li a { border-top: 1px solid var(--line-dark); }
  .hero-strip a { padding: 18px 0; }
  .hero-strip a::before { display: none; }
  .hero-strip .arrow { margin-right: 0; }
  .statement em { white-space: normal; }
  .service { grid-template-columns: 1fr; gap: 24px; }
  .service-icon { width: 56px; height: 56px; }
  .timeline { grid-template-columns: 1fr; row-gap: 40px; }
  .principles-list { grid-template-columns: 1fr; }
  .faq-list details p { padding-right: 0; }
  .contact-cards { grid-template-columns: 1fr; gap: 10px; }
  .contact-cards .contact-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 18px 64px 18px 18px; }
  .cc-icon { grid-row: 1 / span 2; margin-bottom: 0; }
  .contact-cards .contact-card-wide { align-items: start; padding-right: 18px; }
  .contact-card-wide .cc-icon { grid-row: 1 / span 2; }
  .cc-arrow { top: 50%; right: 18px; margin-top: -17px; }
  .cc-horizon { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > *, .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hz-sun, .hz-horizon, .hero-copy > * { opacity: 1 !important; transform: none !important; }
  .hz-arcs path, .arc-word path { stroke-dashoffset: 0 !important; }
  .js .timeline:not(.in)::after { transform: none; }
  .btn:hover, .btn:active, .model:hover, a.contact-card:hover { transform: none; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .marquee-track { flex-wrap: wrap; justify-content: center; flex-shrink: 1; padding: 0 var(--pad-x); }
  .marquee-track[aria-hidden="true"] { display: none; }
}

[hidden] { display: none !important; }
.site-footer-compact { padding: 28px 0; }
.site-footer-compact .footer-bottom { padding-top: 0; }
