/* ============ NOVITECH — "the layer beneath" ============ */
:root {
  --ink: #070B14;          /* page ground */
  --ink-2: #0B1120;        /* raised surface */
  --ink-3: #101830;        /* card surface */
  --line: rgba(140, 156, 200, 0.14);
  --line-strong: rgba(140, 156, 200, 0.28);
  --text: #E9EDF7;
  --muted: #97A1BC;
  --cobalt: #5B7CFF;       /* signal */
  --cobalt-deep: #2E4BDB;
  --cobalt-soft: rgba(91, 124, 255, 0.14);
  --porcelain: #EEF1F8;    /* light band */
  --porcelain-ink: #10162A;
  --font-display: "Inter Tight", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--cobalt); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }

/* ---- grid ---- */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.off-1 { grid-column-start: 7; }
.col-5.off-1 { grid-column: 8 / span 5; }
.col-6.off-1 { grid-column: 7 / span 6; }
@media (max-width: 900px) {
  .grid-12 { display: block; }
  .col-5, .col-6, .col-5.off-1 { grid-column: auto; }
  .off-1 { margin-top: 32px; }
}

/* ---- type ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 20px;
}
.eyebrow::before { content: "◆ "; font-size: 8px; vertical-align: 2px; }
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.lede { font-size: 18px; line-height: 1.65; color: var(--text); }
.lede.dim { color: var(--muted); margin-top: 18px; }
.lede + .lede { margin-top: 18px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 4px;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}
.btn-solid {
  background: var(--cobalt); color: #060A16; border: 1px solid var(--cobalt);
  position: relative; overflow: hidden;
}
.btn-solid::after {           /* shimmer sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: shimmer 4.5s var(--ease) infinite;
}
@keyframes shimmer { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-solid:hover { background: #7691FF; border-color: #7691FF; transform: translateY(-2px); }
.btn-ghost {
  color: var(--text); border: 1px solid var(--line-strong); background: transparent;
}
.btn-ghost:hover { border-color: var(--cobalt); color: var(--cobalt); transform: translateY(-2px); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-wide { width: 100%; justify-content: center; }

/* ---- nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; gap: 40px;
}
.wordmark {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--text); font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: 0.16em;
}
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; }

/* ---- portfolio dropdown ---- */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 7px; }
.drop-caret { font-size: 8px; line-height: 1; transition: transform 0.3s var(--ease); transform: translateY(1px); }
.nav-drop:hover .drop-caret, .nav-drop:focus-within .drop-caret { transform: translateY(1px) rotate(180deg); }
.nav-drop-panel {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translate(-50%, 10px);
  min-width: 268px; padding: 10px;
  background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav-drop-panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-drop-panel a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 14px; border-radius: 8px; text-decoration: none;
  transition: background 0.25s;
}
.nav-drop-panel a:hover { background: rgba(91, 124, 255, 0.12); }
.nav-drop-panel .mono { color: var(--cobalt); font-size: 11px; }
.nav-drop-panel strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text); }
.nav-drop-panel em { font-style: normal; font-size: 12.5px; color: var(--muted); }
body.light .nav-drop-panel { background: #FFFFFF; border-color: rgba(16, 22, 42, 0.16); box-shadow: 0 24px 60px rgba(16, 22, 42, 0.18); }
body.light .nav-drop-panel strong { color: var(--porcelain-ink); }
body.light .nav-drop-panel em { color: #5A6485; }
body.light .nav-drop-panel a:hover { background: rgba(46, 75, 219, 0.08); }
body.light .nav-drop-panel .mono { color: var(--cobalt-deep); }
@media (max-width: 900px) {
  .drop-caret { display: none; }
  .nav-drop-panel {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; padding: 6px 0 0 16px; background: transparent; border: 0; box-shadow: none;
  }
  .nav-drop-panel::before { content: none; }
  .nav-drop-panel a { padding: 8px 0; }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: fixed; inset: 62px 0 auto 0;
    background: var(--ink-2); padding: 28px 32px; gap: 20px; border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* ---- hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { display: block; }
.hero-grade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 110%, rgba(46, 75, 219, 0.16), transparent 65%),
    linear-gradient(to bottom, rgba(7,11,20,0.55) 0%, rgba(7,11,20,0.15) 45%, rgba(7,11,20,0.88) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 140px; }
.hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.02; letter-spacing: -0.028em;
  max-width: 14ch;
}
.hero-h1 em { font-style: normal; color: var(--cobalt); }
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero-h1 .line > span { display: inline-block; transform: translateY(125%); }
.hero-sub { margin-top: 28px; max-width: 54ch; font-size: 18px; color: var(--muted); }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-foot {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.4); backdrop-filter: blur(6px);
}
.hero-foot-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.scroll-cue { display: flex; align-items: center; gap: 10px; color: var(--cobalt); }
.cue-line { width: 36px; height: 1px; background: var(--cobalt); display: inline-block; animation: cue 2.2s var(--ease) infinite; transform-origin: left; }
@keyframes cue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }
@media (max-width: 700px) { .hero-foot-inner span:first-child, .hero-foot-inner span:last-child { display: none; } .hero-foot-inner { justify-content: center; } }

/* ---- ticker ---- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 14px 0; background: var(--ink-2); }
.ticker-track { display: flex; gap: 42px; width: max-content; animation: tick 36s linear infinite; }
.ticker-track span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.ticker-track i { color: var(--cobalt); font-style: normal; font-size: 9px; align-self: center; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---- sections ---- */
.section { padding: 130px 0; position: relative; }
.sec-head { margin-bottom: 72px; }
.sec-lede { max-width: 62ch; margin-top: 22px; }

/* ---- thesis / stats ---- */
.thesis { background: var(--ink); }
.stats {
  margin-top: 96px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.stat { padding: 36px 30px; border-right: 1px solid var(--line); background: var(--ink-2); }
.stat:last-child { border-right: 0; }
.stat-n {
  font-family: var(--font-display); font-weight: 700; font-size: 56px;
  letter-spacing: -0.03em; line-height: 1; color: var(--text); display: block;
}
.stat-n em { font-style: normal; font-size: 22px; color: var(--cobalt); margin-left: 4px; }
.stat-l { display: block; margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* ---- platforms ---- */
.platforms { background: var(--ink-2); border-block: 1px solid var(--line); }
.platform {
  border: 1px solid var(--line); border-radius: 10px; background: var(--ink);
  padding: 0; margin-bottom: 40px; overflow: hidden; position: relative;
}
.platform::before {          /* border-beam accent */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cobalt), transparent);
  background-size: 200% 100%;
  animation: beamtop 6s linear infinite;
}
@keyframes beamtop { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.platform-head {
  display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap;
  padding: 34px 44px; border-bottom: 1px solid var(--line);
}
.idx { color: var(--cobalt); font-size: 13px; }
.platform-name {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0.08em;
}
.platform-tag { color: var(--muted); font-size: 15px; margin-left: auto; }
.platform-body { padding: 44px; align-items: center; }
.feat-list { list-style: none; margin: 30px 0 34px; }
.feat-list li {
  display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line);
}
.feat-list li:last-child { border-bottom: 1px solid var(--line); }
.feat-list .mono { color: var(--cobalt); padding-top: 3px; }
.feat-list strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 16.5px; margin-bottom: 4px;
}
.feat-list div { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .platform-body { padding: 28px; } .platform-head { padding: 24px 28px; } .order-2-desktop { margin-top: 36px; } }

/* Syndric diagram */
.diagram { position: relative; min-height: 380px; display: flex; align-items: center; }
.d-sources { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 2; }
.d-node {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); background: var(--ink-3); border: 1px solid var(--line-strong);
  padding: 12px 20px; border-radius: 6px; width: 128px; text-align: center;
}
.d-beams { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.beam-base { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.beam-glow {
  fill: none; stroke: var(--cobalt); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 34 300; stroke-dashoffset: 334;
  animation: beam 3.2s linear infinite;
}
.beam-glow:nth-of-type(7) { animation-delay: 0.5s; }
.beam-glow:nth-of-type(8) { animation-delay: 1.1s; }
.beam-glow:nth-of-type(9) { animation-delay: 1.6s; }
.beam-glow:nth-of-type(10) { animation-delay: 2.2s; }
@keyframes beam { to { stroke-dashoffset: 0; } }
.d-core {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 2;
  background: linear-gradient(160deg, var(--cobalt-deep), #1A2C86);
  border: 1px solid rgba(120, 148, 255, 0.5);
  border-radius: 10px; padding: 26px 26px; width: 190px;
  box-shadow: 0 0 60px rgba(46, 75, 219, 0.35);
}
.d-core .mono { color: #B9C8FF; display: block; margin-bottom: 8px; }
.d-core strong { font-family: var(--font-display); font-size: 19px; line-height: 1.25; font-weight: 600; }
@media (max-width: 520px) { .d-node { width: 104px; padding: 10px 12px; } .d-core { width: 150px; padding: 18px; } }

/* Xipp visual */
.xipp-visual {
  border: 1px solid var(--line); border-radius: 10px; background: var(--ink-3);
  padding: 38px 34px; display: flex; flex-direction: column; gap: 26px;
}
.x-row { display: flex; align-items: center; gap: 16px; }
.x-row .mono { width: 96px; flex-shrink: 0; }
.x-bar { position: relative; height: 8px; border-radius: 4px; background: rgba(140,156,200,0.12); flex: 1; overflow: hidden; }
.x-bar::after {
  content: ""; position: absolute; inset: 0; width: var(--w);
  border-radius: 4px; background: linear-gradient(90deg, var(--cobalt-deep), var(--cobalt));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.in-view .x-bar::after { transform: scaleX(1); }
.x-row:nth-child(2) .x-bar::after { transition-delay: 0.12s; }
.x-row:nth-child(3) .x-bar::after { transition-delay: 0.24s; }
.x-row:nth-child(4) .x-bar::after { transition-delay: 0.36s; }
.x-row:nth-child(5) .x-bar::after { transition-delay: 0.48s; }
.x-chip {
  color: #9EE6B8; border: 1px solid rgba(110, 220, 150, 0.4);
  padding: 3px 8px; border-radius: 4px; font-size: 9.5px;
}

/* ---- what we do (capabilities) ---- */
.services { background: var(--ink); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 34px 30px;
  background: var(--ink-2);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.cap-card:hover { border-color: var(--cobalt); transform: translateY(-4px); }
.cap-idx { color: var(--cobalt); display: block; margin-bottom: 18px; }
.cap-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.cap-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.cap-card-cta {
  background: linear-gradient(160deg, var(--cobalt-deep), #1A2C86);
  border-color: rgba(120, 148, 255, 0.5);
}
.cap-card-cta p { color: #C7D3FF; }
.cap-card-cta .btn { margin-top: 18px; border-color: rgba(185, 200, 255, 0.5); color: #EDF1FF; }
.cap-card-cta .btn:hover { border-color: #fff; color: #fff; }
@media (max-width: 980px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---- portfolio highlights ---- */
.porthl { background: var(--ink-2); border-block: 1px solid var(--line); }
.port-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.port-tile {
  display: block; text-decoration: none; color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 42px 38px;
  background: var(--ink); position: relative; overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.port-tile::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cobalt), transparent);
  background-size: 200% 100%;
  animation: beamtop 6s linear infinite;
}
.port-tile:hover { border-color: var(--cobalt); transform: translateY(-4px); }
.port-name {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 34px); letter-spacing: 0.08em; margin-top: 14px;
}
.port-tag { display: block; color: var(--muted); font-size: 15px; margin: 4px 0 16px; }
.port-tile p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.port-link { color: var(--cobalt); display: inline-flex; align-items: center; gap: 8px; }
.port-tile:hover .port-link .arr { transform: translateX(5px); }
.port-link .arr { transition: transform 0.3s var(--ease); }
@media (max-width: 800px) { .port-row { grid-template-columns: 1fr; } }

/* ---- portfolio page ---- */
.page-head { padding: 175px 0 40px; }
.page-h1 { font-size: clamp(38px, 5.4vw, 68px); }
.page-sub { max-width: 62ch; }
.platforms-page { border-top: 0; padding-top: 60px; }

/* ---- fit band (portfolio page) ---- */
.fit { background: var(--ink); padding-top: 0; }
.fit-band {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 26px; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2);
  padding: 40px 44px;
}
.fit-cell .mono { color: var(--cobalt); display: block; margin-bottom: 10px; }
.fit-cell p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.fit-arrow { color: var(--cobalt); font-size: 20px; }
@media (max-width: 800px) {
  .fit-band { grid-template-columns: 1fr; }
  .fit-arrow { transform: rotate(90deg); justify-self: start; }
}

/* ---- method ---- */
.method { background: var(--ink); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.m-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 38px 34px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.m-card:hover { border-color: var(--cobalt); transform: translateY(-4px); }
.m-idx { color: var(--cobalt); display: block; margin-bottom: 22px; }
.m-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.m-card p { color: var(--muted); font-size: 15px; }
.method-note {
  margin-top: 56px; padding: 22px 28px; border-left: 2px solid var(--cobalt);
  background: var(--cobalt-soft); border-radius: 0 8px 8px 0;
  color: var(--text); font-size: 15px; max-width: 760px;
}
.method-note .mono { color: var(--cobalt); }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; } }

/* ---- governance (light band) ---- */
.governance { background: var(--porcelain); color: var(--porcelain-ink); }
.governance .h2 { color: var(--porcelain-ink); }
.governance .lede { color: #46506B; margin-top: 22px; }
.governance .eyebrow { color: var(--cobalt-deep); }
.gov-list { display: flex; flex-direction: column; }
.gov-item {
  display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid rgba(16, 22, 42, 0.14);
}
.gov-item:last-child { border-bottom: 1px solid rgba(16, 22, 42, 0.14); }
.gov-item .mono { color: var(--cobalt-deep); padding-top: 4px; }
.gov-item strong { font-family: var(--font-display); font-size: 18px; font-weight: 700; display: block; margin-bottom: 6px; }
.gov-item p { color: #46506B; font-size: 15px; line-height: 1.6; }

/* ---- model ---- */
.model { background: var(--ink); }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mo-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 36px 32px; background: var(--ink-2);
  position: relative; overflow: hidden;
}
.mo-card .mono { color: var(--cobalt); font-size: 13px; letter-spacing: 0.24em; display: block; margin-bottom: 18px; }
.mo-card p { color: var(--muted); font-size: 15px; }
.mo-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--cobalt), transparent);
}
@media (max-width: 900px) { .model-grid { grid-template-columns: 1fr; } }

/* ---- statement ---- */
.statement { padding: 150px 0; background: var(--ink-2); border-block: 1px solid var(--line); text-align: center; }
.statement-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.12; letter-spacing: -0.02em;
}
.statement-line em { font-style: normal; color: var(--cobalt); }

/* ---- contact ---- */
.contact { background: var(--ink); }
.c-form { display: flex; flex-direction: column; gap: 18px; }
.c-form label { display: flex; flex-direction: column; gap: 8px; }
.c-form input, .c-form textarea {
  background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 6px;
  color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 13px 16px;
  transition: border-color 0.3s; resize: vertical;
}
.c-form input:focus, .c-form textarea:focus { outline: none; border-color: var(--cobalt); }
.c-sent { display: none; color: #9EE6B8; text-align: center; }
.c-form.sent .c-sent { display: block; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding-top: 64px; padding-bottom: 48px;
}
.wordmark-text { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.16em; font-size: 18px; }
.f-brand .mono { margin-top: 10px; }
.f-col { display: flex; flex-direction: column; gap: 12px; }
.f-col .mono { margin-bottom: 6px; }
.f-col a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color 0.25s; }
.f-col a:hover { color: var(--text); }
.f-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12.5px;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

/* ---- sub-page components ---- */
.breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a.mono:hover { color: var(--cobalt); }
.breadcrumb .sep { color: var(--line-strong); }

.sec-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--cobalt); text-decoration: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; }
.sec-more .arr { transition: transform 0.3s var(--ease); }
.sec-more:hover .arr { transform: translateX(5px); }

.deep-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px;
  padding: 48px 0; border-top: 1px solid var(--line);
}
.deep-row:last-of-type { border-bottom: 1px solid var(--line); }
.deep-row .dr-label .mono { color: var(--cobalt); display: block; margin-bottom: 10px; }
.deep-row h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.deep-row .dr-body > p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 62ch; }
.dr-points { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.dr-points li { display: flex; gap: 12px; font-size: 14.5px; color: var(--text); }
.dr-points li::before { content: "◆"; color: var(--cobalt); font-size: 8px; padding-top: 6px; }
.dr-via { margin-top: 20px; }
.dr-via .mono a { color: var(--cobalt); text-decoration: none; }
.dr-via .mono a:hover { text-decoration: underline; }
@media (max-width: 800px) { .deep-row { grid-template-columns: 1fr; gap: 16px; } }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 56px; }
.tl-cell { padding: 30px 26px; border-right: 1px solid var(--line); background: var(--ink-2); position: relative; }
.tl-cell:last-child { border-right: 0; }
.tl-cell .mono { color: var(--cobalt); display: block; margin-bottom: 12px; }
.tl-cell strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; display: block; margin-bottom: 6px; }
.tl-cell p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.tl-cell::after { content: "→"; position: absolute; right: -9px; top: 30px; color: var(--cobalt); z-index: 2; font-size: 14px; }
.tl-cell:last-child::after { content: none; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; } .tl-cell { border-right: 0; border-bottom: 1px solid var(--line); } .tl-cell:last-child { border-bottom: 0; } .tl-cell::after { content: none; } }

.boundary {
  border: 1px solid rgba(120, 148, 255, 0.45); border-radius: 10px;
  background: linear-gradient(160deg, rgba(46, 75, 219, 0.22), rgba(46, 75, 219, 0.06));
  padding: 44px 48px; margin-top: 64px;
}
.boundary .mono { color: var(--cobalt); display: block; margin-bottom: 14px; }
.boundary p { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.01em; max-width: 30ch; }
.boundary p em { font-style: normal; color: var(--cobalt); }
.boundary .sec-more { margin-top: 22px; }

.prod-head { padding: 175px 0 60px; border-bottom: 1px solid var(--line); }
.prod-head .idx { font-size: 15px; }
.prod-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 7vw, 84px); letter-spacing: 0.06em; line-height: 1; margin: 14px 0 6px; }
.prod-tagline { color: var(--muted); font-size: 19px; }
.prod-head .lede { margin-top: 26px; max-width: 60ch; }

.ap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ap-tile { border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; background: var(--ink-2); transition: border-color 0.4s, transform 0.4s var(--ease); }
.ap-tile:hover { border-color: var(--cobalt); transform: translateY(-3px); }
.ap-tile .mono { color: var(--cobalt); display: block; margin-bottom: 12px; }
.ap-tile strong { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; display: block; margin-bottom: 6px; }
.ap-tile p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 900px) { .ap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ap-grid { grid-template-columns: 1fr; } }

/* ============ per-page identities ============ */

/* fx layer inside page heads */
.page-head, .prod-head { position: relative; overflow: hidden; }
.fx-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.page-head .wrap, .prod-head .wrap { position: relative; z-index: 1; }
.head-grade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,11,20,0) 40%, rgba(7,11,20,0.85) 100%); }
body.light .head-grade { background: linear-gradient(to bottom, rgba(238,241,248,0) 40%, rgba(238,241,248,0.9) 100%); }

/* taller, more confident sub-page heads */
.page-head { padding: 205px 0 110px; }
.prod-head { padding: 205px 0 90px; border-bottom: 1px solid var(--line); }
.page-h1 { font-size: clamp(42px, 6.4vw, 84px); }

/* watermark numerals on deep rows */
.deep-row { position: relative; overflow: hidden; }
.dr-num {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(120px, 16vw, 230px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(91, 124, 255, 0.16);
  pointer-events: none; user-select: none; z-index: 0;
}
.deep-row .dr-label, .deep-row .dr-body { position: relative; z-index: 1; }

/* page marquee (mono ticker per page) */
.ticker.ticker-page { background: transparent; }
body.light .ticker-track span { color: #46506B; }
body.light .ticker { border-color: rgba(16,22,42,0.14); background: transparent; }

/* ---- GOVERNANCE: full light theme ---- */
body.light { background: var(--porcelain); color: var(--porcelain-ink); }
body.light .nav.scrolled { background: rgba(238, 241, 248, 0.85); border-bottom-color: rgba(16,22,42,0.12); }
body.light .wordmark, body.light .nav-links a:hover { color: var(--porcelain-ink); }
body.light .nav-links a { color: #46506B; }
body.light .nav-toggle span { background: var(--porcelain-ink); }
body.light .h2, body.light .page-h1 { color: var(--porcelain-ink); }
body.light .page-sub, body.light .lede.dim { color: #46506B; }
body.light .lede { color: #2A3350; }
body.light .eyebrow { color: var(--cobalt-deep); }
body.light .mono { color: #5A6485; }
body.light .deep-row { border-color: rgba(16,22,42,0.14); }
body.light .deep-row .dr-label .mono { color: var(--cobalt-deep); }
body.light .deep-row .dr-body > p { color: #46506B; }
body.light .dr-points li { color: #2A3350; }
body.light .dr-points li::before { color: var(--cobalt-deep); }
body.light .dr-num { -webkit-text-stroke-color: rgba(46, 75, 219, 0.18); }
body.light .statement { background: #E4E8F2; border-color: rgba(16,22,42,0.12); }
body.light .statement-line { color: var(--porcelain-ink); }
body.light .statement-line em { color: var(--cobalt-deep); }
body.light .footer { background: #E4E8F2; border-color: rgba(16,22,42,0.12); }
body.light .footer .f-col a { color: #46506B; }
body.light .footer .f-col a:hover { color: var(--porcelain-ink); }
body.light .footer .wordmark-text, body.light .f-legal { color: var(--porcelain-ink); }
body.light .boundary { background: linear-gradient(160deg, rgba(46,75,219,0.14), rgba(46,75,219,0.04)); }
body.light .boundary p { color: var(--porcelain-ink); }
body.light .boundary p em { color: var(--cobalt-deep); }
body.light .btn-ghost { color: var(--porcelain-ink); border-color: rgba(16,22,42,0.3); }
body.light .btn-ghost:hover { color: var(--cobalt-deep); border-color: var(--cobalt-deep); }
body.light .sec-more { color: var(--cobalt-deep); }
body.light .gseal {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  border: 1px solid rgba(16,22,42,0.25); border-radius: 999px; padding: 10px 20px;
}

/* ---- SYNDRIC: benefits split ---- */
.benefit-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bs-col { border-radius: 12px; padding: 40px 36px; border: 1px solid var(--line); }
.bs-col.internal { background: var(--ink-2); }
.bs-col.external {
  background: linear-gradient(170deg, rgba(46, 75, 219, 0.28), rgba(46, 75, 219, 0.08));
  border-color: rgba(120, 148, 255, 0.4);
}
.bs-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.bs-head .mono { color: var(--cobalt); font-size: 12px; }
.bs-head h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.bs-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.bs-item { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.bs-col.external .bs-item { border-top-color: rgba(120, 148, 255, 0.25); }
.bs-item .mono { color: var(--cobalt); padding-top: 3px; }
.bs-item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.bs-item p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.bs-col.external .bs-item p { color: #B9C6F2; }
@media (max-width: 900px) { .benefit-split { grid-template-columns: 1fr; } }

/* ---- METHOD: flow spine + step panels ---- */
.method-flow { position: relative; padding-left: 56px; }
.spine {
  position: absolute; left: 12px; top: 0; bottom: 0; width: 2px;
  background: rgba(140, 156, 200, 0.15); border-radius: 2px;
}
.spine-fill { position: absolute; inset: 0; background: linear-gradient(var(--cobalt), var(--cobalt-deep)); transform: scaleY(0); transform-origin: top; border-radius: 2px; }
.step-panel {
  position: relative; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: 46px 48px; margin-bottom: 34px; overflow: hidden;
}
.step-panel::before {
  content: attr(data-step);
  position: absolute; right: 6px; top: -14px;
  font-family: var(--font-display); font-weight: 700; font-size: 180px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(91, 124, 255, 0.14);
  pointer-events: none;
}
.step-panel .mono { color: var(--cobalt); display: block; margin-bottom: 16px; }
.step-panel h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.step-panel > p { color: var(--muted); font-size: 16px; max-width: 62ch; }
.step-dot {
  position: absolute; left: -51px; top: 54px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--cobalt);
  box-shadow: 0 0 14px rgba(91, 124, 255, 0.5);
}
@media (max-width: 700px) { .method-flow { padding-left: 34px; } .step-panel { padding: 32px 28px; } .step-dot { left: -29px; } }

/* ---- COMPANY: orbital model ---- */
.orbital { position: relative; width: min(460px, calc(100% - 44px)); aspect-ratio: 1; margin: 0 auto; }
.orb-ring { position: absolute; border: 1px dashed rgba(91, 124, 255, 0.35); border-radius: 50%; }
.orb-ring.r1 { inset: 0; animation: orbit 46s linear infinite; }
.orb-ring.r2 { inset: 17%; animation: orbit 32s linear infinite reverse; }
.orb-ring.r3 { inset: 34%; animation: orbit 22s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.orb-label {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em;
  background: var(--ink); color: var(--cobalt);
  border: 1px solid rgba(91, 124, 255, 0.4); border-radius: 999px; padding: 5px 14px;
}
.orb-core {
  position: absolute; inset: 41%; border-radius: 50%;
  background: linear-gradient(160deg, var(--cobalt-deep), #1A2C86);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; font-size: 13px;
  box-shadow: 0 0 70px rgba(46, 75, 219, 0.45);
}
.mani { padding: 40px 0 10px; }
.mani-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.6vw, 58px); line-height: 1.12; letter-spacing: -0.02em;
}
.mani-line em { font-style: normal; color: var(--cobalt); }
.mani-line.dim { color: rgba(233, 237, 247, 0.28); }

/* ---- XIPP: signal words marquee accent ---- */
.xipp-mark .ticker-track i { color: #9EE6B8; }

/* ---- CONTACT: fx backdrop ---- */
.contact-head { position: relative; overflow: hidden; }
.contact-head .wrap { position: relative; z-index: 1; }

/* ---- reveal system ---- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; filter: none; }
.reveal-card { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-card.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-card { opacity: 1; transform: none; filter: none; }
  .hero-h1 .line > span { transform: none; }
  html { scroll-behavior: auto; }
}
