/* OTSX website styles
   Palette: navy #010C46 (ground), white, signal pink #FF1A75, amber #FEAF04.
   Type: Sora (display), IBM Plex Sans (body). */

:root {
  --navy: #010C46;
  --navy-2: #06155A;
  --navy-3: #13246F;
  --line: rgba(169, 177, 214, 0.18);
  --ink: #EEF1FB;
  --mist: #A9B1D6;
  --pink: #FF1A75;
  --amber: #FEAF04;
  --paper: #F4F6FC;
  --text: #0B1440;
  --muted: #4A5480;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 14px;
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); background: var(--navy); }
body {
  margin: 0; background: var(--navy); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mist); max-width: 62ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 10vw, 120px); position: relative; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head p { color: var(--mist); }
.light { background: var(--paper); color: var(--text); color-scheme: light; }
.light .section-head p, .light .muted { color: var(--muted); }
.muted { color: var(--mist); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--display); font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #FFC23D; }
.btn-ghost { border-color: rgba(238,241,251,.35); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.light .btn-ghost { border-color: rgba(11,20,64,.3); color: var(--text); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(1, 12, 70, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px); margin-top: calc(-1 * env(safe-area-inset-top, 0px));
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 58px; height: 36px; }
.brand-word { display: inline-flex; align-items: flex-end; gap: 1px; font-family: var(--display); font-weight: 700; font-size: 25px; line-height: .78; letter-spacing: .03em; }
.brand-word img { width: 19px; height: 22px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 10px 12px; border-radius: 8px; color: var(--mist); font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pink); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 42px; padding: 8px 18px; color: var(--navy); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); width: 46px; height: 46px; border-radius: 10px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--navy); border-bottom: 1px solid var(--line); padding: 12px var(--pad) 24px; display: none; margin-top: env(safe-area-inset-top, 0px); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--amber); }
  .nav .btn { margin: 16px 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 112px) clamp(48px, 8vw, 96px); }
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 28px; }
.hero h1 { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-schematic { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-schematic > svg { position: absolute; right: max(8px, calc((100vw - 1320px) / 2)); top: 8%; width: min(900px, 66vw); height: auto; opacity: .92; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 22%, rgba(1,12,70,.72) 52%, rgba(1,12,70,.15) 100%); pointer-events: none; }
@media (max-width: 900px) {
  .hero-schematic > svg { right: -30%; top: auto; bottom: -6%; transform: none; width: 140vw; opacity: .5; }
  .hero::after { background: linear-gradient(180deg, var(--navy) 40%, rgba(1,12,70,.55) 100%); }
}

/* Proof bar */
.proof { border-block: 1px solid var(--line); background: var(--navy-2); }
.proof .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.proof-item { padding: 26px 20px 26px 0; display: grid; gap: 4px; }
.proof-item + .proof-item { border-left: 1px solid var(--line); padding-left: 24px; }
.proof-value { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--ink); }
.proof-label { color: var(--mist); font-size: .95rem; line-height: 1.4; }
@media (max-width: 640px) { .proof-item + .proof-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* Client wall */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-tile { display: grid; gap: 8px; align-content: space-between; min-height: 150px; padding: 22px; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .2s; }
.client-tile:hover { background: var(--navy-2); }
.client-tile img { max-height: 40px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.client-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.client-meta { color: var(--mist); font-size: .9rem; }
.client-count { font-family: var(--display); font-size: .92rem; color: var(--amber); }

/* Service rows */
.service-list { display: grid; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr) 110px; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-row h3 { font-size: 1.3rem; }
.service-row p { color: var(--mist); max-width: 60ch; }
.service-row .count { color: var(--amber); font-family: var(--display); font-size: .92rem; white-space: nowrap; text-align: right; }
.light .service-row .count { color: #C8115A; }
.service-row .icon { width: 30px; height: 30px; color: var(--pink); margin-bottom: 10px; }
.light .service-list, .light .service-row { border-color: rgba(11,20,64,.14); }
.light .service-row p { color: var(--muted); }
@media (max-width: 760px) { .service-row { grid-template-columns: 1fr !important; gap: 8px; } .service-row .count { text-align: left; } }

/* Project cards */
.grid-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.project-card { display: grid; gap: 14px; text-decoration: none; }
.project-media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); position: relative; border: 1px solid var(--line); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-media img { transform: scale(1.03); }
.project-media .tile-anim { position: absolute; inset: 0; }
.project-media .tile-anim > svg { width: 100%; height: 100%; }
.tile-label { position: absolute; left: 14px; bottom: 12px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-shadow: 0 1px 12px rgba(1,12,70,.9); }
.project-card h3 { font-size: 1.15rem; }
.project-card .meta { color: var(--mist); font-size: .92rem; }
.light .project-card .meta { color: var(--muted); }
.role-badge { position: absolute; left: 12px; top: 12px; background: rgba(1,12,70,.85); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 500; backdrop-filter: blur(6px); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--mist); font: 500 .92rem var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--navy); border-color: var(--ink); }

/* Edge + process */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(11,20,64,.14); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 600; color: var(--pink); font-size: 1.05rem; padding-top: 2px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* Credentials */
.creds { display: flex; flex-wrap: wrap; gap: 12px 36px; padding: 22px 0; border-top: 1px solid var(--line); }
.cred { display: grid; gap: 2px; }
.cred dt { color: var(--mist); font-size: .85rem; }
.cred dd { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: .02em; }

/* CTA band */
.cta-band { background: var(--navy-2); border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 56px; }
.cta-band h2 { max-width: 22ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; color: var(--mist); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--ink); font-size: .95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile contact bar */
.contact-bar { display: none; }
@media (max-width: 760px) {
  .contact-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(1,12,70,.96); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); backdrop-filter: blur(10px); }
  .contact-bar a { display: grid; place-items: center; gap: 2px; min-height: 58px; text-decoration: none; font-size: .8rem; color: var(--ink); }
  .contact-bar a svg { width: 20px; height: 20px; }
  .contact-bar a.primary { background: var(--amber); color: var(--navy); font-weight: 600; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}

/* Page head */
.page-head { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 2; display: grid; gap: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--mist); font-size: .92rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Project detail */
.bg-anim { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .08; }
.bg-anim > svg { width: 100%; height: 100%; }
.project-page { position: relative; z-index: 1; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(6,21,90,.7); backdrop-filter: blur(8px); }
.fact { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact dt { color: var(--mist); font-size: .85rem; margin-bottom: 4px; }
.fact dd { margin: 0; font-weight: 500; }
.story-blocks { display: grid; gap: 40px; max-width: 760px; }
.story-blocks h2 { font-size: 1.4rem; margin-bottom: 10px; }
.story-blocks p { color: var(--mist); white-space: pre-line; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.gallery figure { margin: 0; display: grid; gap: 10px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { color: var(--mist); font-size: .92rem; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(1,6,35,.94); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 10px; }
.lightbox p { color: var(--ink); margin-top: 14px; text-align: center; max-width: 70ch; }
.lightbox button { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--navy); color: var(--ink); font-size: 22px; cursor: pointer; }

/* About */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; border-left: 2px solid rgba(11,20,64,.14); }
.timeline li { position: relative; padding: 0 0 36px 32px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--pink); background: var(--paper); }
.timeline .when { font-family: var(--display); font-weight: 600; color: var(--pink); font-size: .95rem; }
.timeline h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.timeline p { color: var(--muted); max-width: 64ch; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px; }
.person { display: grid; gap: 12px; }
.avatar { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); display: grid; place-items: center; border: 1px solid var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar span { font-family: var(--display); font-weight: 700; font-size: 3rem; color: var(--ink); letter-spacing: .04em; }
.person .role { color: var(--mist); font-size: .95rem; }
.teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.team { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.team .n { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--amber); }
.team p { color: var(--mist); }
.meaning { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.meaning span { display: block; }

/* Forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .95rem; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(11,20,64,.22); background: #fff; color: var(--text); font: 400 1rem var(--body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { color: var(--muted); font-size: .85rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.chips-input { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-input label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid rgba(11,20,64,.22); border-radius: 999px; background: #fff; cursor: pointer; font-size: .95rem; }
.chips-input input { accent-color: var(--navy); width: 18px; height: 18px; min-height: 0; margin: 0; flex: none; }
.chips-input label { line-height: 1.3; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); }
.notice { background: #fff; border: 1px solid rgba(11,20,64,.14); border-radius: 12px; padding: 16px 18px; font-size: .9rem; color: var(--muted); }
.form-status { font-weight: 500; }
.form-status.ok { color: #0B7A43; }
.form-status.err { color: #B4123F; }
.channel { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid rgba(11,20,64,.14); text-decoration: none; }
.channel strong { font-family: var(--display); font-size: 1.15rem; }

/* Prose pages */
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: 1.35rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Reveal: one orchestrated hero moment only */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.empty { color: var(--mist); padding: 24px 0; }
.anim-paused * { animation-play-state: paused !important; }
.split > *, .two > *, .field { min-width: 0; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; }

/* ---------- Round 2 additions ---------- */
/* Logo ribbon */
.ribbon { overflow: hidden; border-block: 1px solid var(--line); background: var(--navy-2); padding-block: 26px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon-track { display: flex; gap: 28px; width: max-content; animation: ribbon 46s linear infinite; }
.ribbon:hover .ribbon-track, .ribbon:focus-within .ribbon-track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.plate { flex: none; display: grid; place-items: center; width: 168px; height: 84px; padding: 12px 18px; background: #fff; border-radius: 14px; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; text-decoration: none; transition: transform .25s; }
.plate:hover { transform: translateY(-3px); }
.plate img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.plate span { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: .95rem; text-align: center; line-height: 1.15; }

/* Client showcase */
.showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.client-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.client-row .plate { width: 132px; height: 72px; }
.client-row .plate img { max-height: 48px; }
.client-row h3 { font-size: 1.12rem; }
.client-row p { color: var(--mist); font-size: .93rem; line-height: 1.45; margin-top: 4px; }
.client-row .num { text-align: right; font-family: var(--display); }
.client-row .num b { display: block; font-size: 2rem; line-height: 1; color: var(--amber); }
.client-row .num span { font-size: .8rem; color: var(--mist); }
.client-row:hover h3 { color: var(--amber); }
@media (max-width: 560px) { .client-row { grid-template-columns: 96px minmax(0,1fr); } .client-row .plate { width: 96px; height: 56px; } .client-row .num { grid-column: 2; text-align: left; } .client-row .num b { display: inline; font-size: 1.3rem; margin-right: 6px; } }
.total-band { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; margin-bottom: 28px; }
.total-band b { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--ink); }
.total-band span { color: var(--mist); max-width: 40ch; }

/* Capabilities */
.caps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.cap:nth-child(even) .cap-visual { order: -1; }
.cap-visual { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); border: 1px solid var(--line); }
.cap-visual > svg { width: 100%; height: 100%; }
.cap .nick { font-family: var(--display); color: var(--pink); font-weight: 600; font-size: .95rem; }
.cap h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 6px 0 10px; }
.cap p { color: var(--mist); }
.cap ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cap li { position: relative; padding-left: 26px; color: var(--ink); }
.cap li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--amber); }
@media (max-width: 860px) { .cap { grid-template-columns: 1fr; } .cap:nth-child(even) .cap-visual { order: 0; } }

/* Mission & vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(11,20,64,.14); }
.mv > div { padding: 32px 32px 32px 0; display: grid; gap: 12px; align-content: start; }
.mv > div + div { border-left: 1px solid rgba(11,20,64,.14); padding-left: 32px; }
.mv h3 { font-size: 1.05rem; color: #C8115A; }
.mv p { font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.4; font-weight: 600; color: var(--text); }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } .mv > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(11,20,64,.14); } }

/* Safety */
.safety { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.safety > div { padding: 24px 22px 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.safety svg { width: 34px; height: 34px; color: var(--amber); }
.safety h3 { font-size: 1.05rem; }
.safety p { color: var(--mist); font-size: .95rem; }

/* System panel on project pages */
.system { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.system .cap-visual { aspect-ratio: 3 / 2; }
@media (max-width: 860px) { .system { grid-template-columns: 1fr; } }
.via { color: var(--mist); }
.client-logo-head { width: 180px; height: 90px; }

/* Card client plate */
.card-plate { position: absolute; right: 12px; top: 12px; width: 70px; height: 38px; padding: 5px 8px; background: #fff; border-radius: 8px; display: grid; place-items: center; }
.card-plate img { max-height: 28px; width: auto; }

/* Scroll spine */
.spine { position: fixed; left: max(6px, calc((100vw - var(--wrap)) / 2 - 64px)); top: 0; bottom: 0; width: 56px; z-index: 1; pointer-events: none; display: none; }
@media (min-width: 1320px) { .spine { display: block; } }
.spine svg { width: 100%; height: 100%; }
.sp-base { fill: none; stroke: rgba(169,177,214,.16); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sp-live { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; transition: stroke-dashoffset .15s linear; }
.sp-node { fill: var(--navy); stroke: rgba(169,177,214,.35); stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill .3s, stroke .3s; }
.sp-node.on { fill: var(--pink); stroke: var(--pink); }
.hero-schematic > svg { will-change: transform; }
.plate span { overflow-wrap: anywhere; }
.client-row .plate span { font-size: .8rem; }
@media (max-width: 560px) { .client-row .plate span { font-size: .7rem; } }
