/* SPYONAX Group website: full-screen, cinematic layout (spacex.com format), black and white with a gold accent. */
:root {
  --bg: #07172E;            /* SPYONAX deep navy (house NAVY_DEEP) */
  --bg-2: #0A1F3D;          /* SPYONAX navy (house NAVY) */
  --hover: #0E2749;
  --fg: #fff;
  --fg-2: #c8c9cf;
  --fg-3: #8b8d96;
  --line: rgba(255, 255, 255, .16);
  --line-2: rgba(255, 255, 255, .32);
  --gold: #C9A227;
  --gold-lt: #E3C765;
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
p { margin: 0 0 16px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: 48px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); }
.eyebrow.gold { color: var(--gold-lt); }

/* ---------------------------------------------------------------- header + menu */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background-color .3s ease; padding-top: env(safe-area-inset-top, 0px); }
.topbar.scrolled { background: rgba(7, 23, 46, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-mark { font-weight: 600; font-size: 24px; letter-spacing: .32em; }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: .3em; color: var(--gold-lt); }
.nav { display: flex; gap: 30px; margin-right: auto; margin-left: 48px; }
.nav a { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: #fff; }
.menu-btn { display: flex; align-items: center; gap: 12px; background: none; border: 0; color: #fff; font: 600 13px/1 var(--font); letter-spacing: .14em; cursor: pointer; padding: 10px 0; }
.menu-btn i { display: block; width: 26px; height: 2px; background: #fff; box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff; }
.drawer { position: fixed; inset: 0; z-index: 40; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-shade { position: absolute; inset: 0; background: rgba(2, 8, 18, .6); opacity: 0; transition: opacity .3s ease; border: 0; width: 100%; cursor: pointer; }
.drawer.open .drawer-shade { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--bg); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .35s ease; padding: 28px 40px 40px; overflow-y: auto; }
.drawer.open .drawer-panel { transform: none; }
.drawer-close { display: block; margin-left: auto; background: none; border: 0; color: #fff; font: 600 13px var(--font); letter-spacing: .14em; cursor: pointer; padding: 10px 0; }
.drawer ul { list-style: none; margin: 24px 0 0; padding: 0; }
.drawer li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.drawer li a:hover { color: var(--gold-lt); }
.drawer .drawer-sub a { font-size: 13px; font-weight: 500; color: var(--fg-2); padding: 10px 0 10px 16px; }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-shade, .topbar { transition: none; } }

/* ---------------------------------------------------------------- full-screen panels */
.panel { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.panel.short { min-height: 78vh; min-height: 78svh; }
.panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 23, 46, .82) 0%, rgba(7, 23, 46, .38) 45%, rgba(7, 23, 46, 0) 70%),
              linear-gradient(0deg, rgba(7, 23, 46, .75) 0%, rgba(7, 23, 46, 0) 45%); }
.panel-body { position: relative; z-index: 2; width: 100%; padding-bottom: 14vh; }
.panel-text { max-width: 640px; }
.panel h1, .panel h2 { font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.04; margin: 14px 0 18px; text-wrap: balance; }
.panel h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.panel h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.panel p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-2); max-width: 540px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; color: var(--fg-3); text-decoration: none; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 36px; background: var(--fg-3); margin: 10px auto 0; }
.crumbs { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a { text-decoration: none; color: var(--fg-3); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--fg-2); }

/* buttons */
.btn { display: inline-block; margin-top: 18px; padding: 17px 38px; border: 2px solid #fff; background: transparent; color: #fff; font: 600 13px/1 var(--font);
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.btn:hover { background: #fff; color: var(--bg); }
.btn.small { padding: 12px 22px; margin-top: 0; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* status tags */
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-2); color: var(--fg-2); white-space: nowrap; }
.tag.now { border-color: #fff; color: #fff; }
.tag.next { border-color: var(--gold); color: var(--gold-lt); }
.tag.later { border-color: var(--line-2); color: var(--fg-3); }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }

/* ---------------------------------------------------------------- content sections */
.block { padding-block: 110px; border-top: 1px solid var(--line); }
.block.tight { padding-block: 80px; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 44px; }
.block h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin: 8px 0 0; line-height: 1.1; }
.block .lede { color: var(--fg-2); font-size: 1.1rem; max-width: 640px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.spec { margin: 0; }
.spec div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec div:first-child { border-top: 1px solid var(--line); }
.spec dt { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.spec dd { margin: 0; text-align: right; font-weight: 600; letter-spacing: .04em; }
.spec dd a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.spec dd a:hover { border-color: #fff; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows b { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rows span { color: var(--fg-2); }
.rows a { text-decoration: none; }
.rows a:hover b { color: var(--gold-lt); }
.rows .arrow { color: var(--fg-3); font-size: 13px; letter-spacing: .14em; }
.steps2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps2 > div { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--line); }
.steps2 .n { font-size: 3.2rem; font-weight: 500; line-height: 1; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.steps2 h3 { font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 18px 0 8px; }
.steps2 p { color: var(--fg-2); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--line-2); padding: 10px 16px; font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.chips a { text-decoration: none; display: block; }
.chips li:has(a):hover { background: #fff; color: var(--bg); }
.notice { border-left: 2px solid var(--gold); padding: 6px 0 6px 20px; color: var(--fg-2); max-width: 760px; margin-top: 40px; }
.notice b { color: #fff; font-weight: 600; letter-spacing: .04em; }
.next-link { display: block; padding-block: 90px; border-top: 1px solid var(--line); text-decoration: none; background: var(--bg-2); transition: background-color .25s ease; }
.next-link:hover { background: var(--hover); }
.next-link .eyebrow { display: block; margin-bottom: 12px; }
.next-link strong { display: block; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.next-link strong::after { content: "  →"; color: var(--gold-lt); }

/* cards grid */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { display: flex; flex-direction: column; gap: 12px; min-height: 250px; background: var(--bg); padding: 30px 28px; text-decoration: none; transition: background-color .2s ease; }
.card:hover { background: var(--hover); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.card p { margin: 0; color: var(--fg-2); font-size: 15.5px; }
.card .go { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.card:hover .go { color: var(--gold-lt); }

/* numbered principles / roadmap */
.numbered { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 8px 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.numbered .n { font-size: 2.4rem; font-weight: 500; color: var(--fg-3); line-height: 1; font-variant-numeric: tabular-nums; }
.numbered b { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.numbered span { color: var(--fg-2); }
.numbered span a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.numbered span a:hover { border-color: #fff; }

/* ---------------------------------------------------------------- organisation map (dark) */
.orgmap { position: relative; }
.orgmap a { text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.om-group, .om-hold { display: block; max-width: 520px; margin: 0 auto; text-align: center; border: 1px solid var(--line-2); padding: 16px 20px; }
.om-group { border-color: #fff; }
.om-group b, .om-hold b { display: block; font-size: 17px; font-weight: 600; letter-spacing: .24em; }
.om-group span, .om-hold span { display: block; font-size: 13px; color: var(--fg-3); margin-top: 4px; letter-spacing: .04em; }
.om-group:hover, .om-hold:hover { background: #fff; color: var(--bg); }
.om-group:hover span, .om-hold:hover span { color: #333; }
.om-v { width: 1px; height: 30px; background: var(--line-2); margin: 0 auto; }
.om-pillars { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 30px; }
.om-pillars::before { content: ""; position: absolute; top: 0; left: calc(12.5% - 7.5px); right: calc(12.5% - 7.5px); height: 1px; background: var(--line-2); }
.om-pillar { position: relative; min-width: 0; }
.om-pillar::before { content: ""; position: absolute; top: -30px; left: 50%; width: 1px; height: 30px; background: var(--line-2); }
.om-phead { display: flex; flex-direction: column; justify-content: center; min-height: 96px; text-align: center; padding: 14px 10px; border: 1px solid var(--line-2); border-top: 3px solid var(--pc, #fff); }
.om-pillar.capital { --pc: var(--gold); } .om-pillar.tech { --pc: #7FA8FF; } .om-pillar.res { --pc: #E0825A; } .om-pillar.life { --pc: #5DC27F; }
.om-phead b { font-size: 14px; font-weight: 600; letter-spacing: .2em; }
.om-phead span { font-size: 12.5px; color: var(--fg-3); margin-top: 4px; }
.om-phead:hover { background: #fff; color: var(--bg); }
.om-sectors { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.om-sectors li { position: relative; padding-left: 22px; }
.om-sectors li::before { content: ""; position: absolute; left: 9px; top: -16px; bottom: -12px; width: 1px; background: var(--line-2); }
.om-sectors li:last-child::before { bottom: 50%; }
.om-sectors li::after { content: ""; position: absolute; left: 9px; top: 50%; width: 13px; height: 1px; background: var(--line-2); }
.om-sectors a { display: block; text-align: center; padding: 12px 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.om-sectors li.sub a { border-style: dashed; }
.om-sectors b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .1em; }
.om-sectors span { display: block; font-size: 12px; color: var(--fg-3); }
.om-sectors a:hover { background: #fff; color: var(--bg); border-color: #fff; }
.om-sectors a:hover span { color: #333; }
.om-research { margin-top: 36px; border: 1px solid var(--line-2); padding: 18px 20px 22px; }
.om-rhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.om-rhead b { font-size: 16px; font-weight: 600; letter-spacing: .24em; }
.om-rhead span { font-size: 13px; color: var(--gold-lt); letter-spacing: .06em; }
.om-rhead:hover b { color: var(--gold-lt); }
.om-labs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.om-labs a { display: block; text-align: center; padding: 10px 6px; border: 1px solid var(--line); }
.om-labs b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; }
.om-labs span { display: block; font-size: 11.5px; color: var(--fg-3); }
.om-labs a:hover { background: #fff; color: var(--bg); }
.om-key { font-size: 13px; color: var(--fg-3); margin: 22px 0 0; letter-spacing: .04em; }

/* ---------------------------------------------------------------- contact */
.email-big { display: inline-block; font-size: clamp(1.6rem, 4.4vw, 3rem); font-weight: 600; letter-spacing: .04em; text-decoration: none; border-bottom: 2px solid var(--gold); margin-bottom: 26px; word-break: break-all; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding-block: 44px calc(env(safe-area-inset-bottom, 0px) + 36px); font-size: 13px; color: var(--fg-3); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--fg-2); }
.foot-links a:hover { color: #fff; }
.legal { margin-top: 26px; font-size: 12.5px; line-height: 1.7; color: var(--fg-3); max-width: 900px; }
.legal p { margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
}
@media (max-width: 900px) {
  .wrap { padding-inline: 28px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .om-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding-top: 18px; }
  .om-pillars::before, .om-pillar::before { display: none; }
  .om-labs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .rows li span { grid-column: 1 / -1; }
  .block { padding-block: 80px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .bar { height: 72px; }
  .brand-mark { font-size: 20px; letter-spacing: .26em; }
  .brand-sub { display: none; }
  .panel-body { padding-bottom: 12vh; }
  .om-pillars { grid-template-columns: minmax(0, 1fr); }
  .om-labs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .om-phead { min-height: 0; }
  .numbered li { grid-template-columns: 56px minmax(0, 1fr); }
  .numbered li > .tag { grid-column: 2; justify-self: start; }
  .spec div { flex-direction: column; gap: 4px; }
  .spec dd { text-align: left; }
  .btn { padding: 15px 28px; }
}

/* linked rows: the <a> carries the row grid */
.rows li.linked { display: block; padding: 0; }
.rows li.linked > a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: baseline; padding: 22px 0; }
@media (max-width: 900px) { .rows li.linked > a { grid-template-columns: minmax(0, 1fr) auto; } .rows li.linked > a span:not(.tag) { grid-column: 1 / -1; } }
