/* DroSonic v2: dark, tactical. One accent colour (signal amber), condensed display type,
   mono for labels and data. */

:root {
  --bg: #0b0e11;
  --bg-2: #0f1418;
  --bg-3: #151b21;
  --line: #222b33;
  --line-2: #33404b;
  --text: #e8ecf0;
  --text-2: #a9b3bd;
  --text-3: #74808b;
  --accent: #f2a93b;
  --accent-2: #ffc46a;
  --accent-ink: #1a1206;
  --light: #e9ecef;
  --light-ink: #11161b;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(96px, 12vw, 168px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.02em; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 1.1em 1.7em; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1 var(--font); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-outline { border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.7em 1.1em; font-size: 0.875rem; }
.arrow::after { content: "→"; display: inline-block; font-size: 1.25em; line-height: 0; transition: transform .25s var(--ease, ease); }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(5px); }
.text-link { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; font-weight: 600; font-size: 1.0625rem; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 17, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 85%; font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand img { width: 30px; height: auto; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav { align-items: center; }
.site-nav a { text-decoration: none; color: #d3dae0; font-size: 0.9375rem; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a.nav-featured { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(242, 169, 59, .65); border-radius: var(--radius); color: var(--accent); font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.site-nav a.nav-featured:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.nav-featured .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(242, 169, 59, .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 169, 59, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(242, 169, 59, 0); } }
.btn-light { background: #e8ecf0; color: #0b0e11; }
.btn-light:hover { background: #fff; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); border-color: var(--accent); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-row { gap: 12px; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; padding: 0 11px; }
  .nav-toggle span { display: block; height: 1.5px; background: var(--text); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; color: var(--text); }
  .site-nav a.nav-featured { order: -1; justify-content: center; margin: 12px 0 8px; padding: 16px; border: 1px solid var(--accent); }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--text-3); text-transform: uppercase; }
.eyebrow b { color: var(--accent); font-weight: 500; }
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-2); }
.h-display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-stretch: 78%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.95; }
.h-section { font-size: clamp(2rem, 4.2vw, 3.4rem); font-stretch: 80%; font-weight: 800; text-transform: uppercase; line-height: 1; max-width: 20ch; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 58ch; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.section-title { margin-bottom: clamp(56px, 7vw, 96px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.split-text { color: var(--text-2); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.7; max-width: 56ch; }
.split-text p + p { margin-top: 1.2em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Motion primitives ---------- */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }
.js [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.js [data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal], .reduce [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---------- Hero (full-bleed photo) ---------- */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(5,6,7,.78), rgba(5,6,7,.5)); border-bottom-color: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .4s, border-color .4s; }
.has-hero .site-header.scrolled { background: rgba(11, 14, 17, 0.9); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.hero { position: relative; height: min(100vh, 1080px); height: min(100svh, 1080px); min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #050607; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
/* Each slide fills the right of the hero on desktop and feathers into the dark left side, where the
   headline sits. The frame covers the slide like object-fit: cover, but keeps the image's own
   coordinates, so the threat label stays on the drone at every size and through the zoom. */
.hero-slide { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; container-type: size; opacity: 0; z-index: 0; transition: opacity 2.4s cubic-bezier(.45, 0, .2, 1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-frame {
  position: absolute;
  width: max(100cqw, calc(100cqh * var(--ar)));
  height: max(100cqh, calc(100cqw / var(--ar)));
  left: calc((100cqw - max(100cqw, calc(100cqh * var(--ar)))) * var(--fx));
  top: calc((100cqh - max(100cqh, calc(100cqw / var(--ar)))) * var(--fy));
  transform: scale(1.12); transform-origin: calc(var(--fx) * 100%) calc(var(--fy) * 100%);
}
.hero-frame img { width: 100%; height: 100%; display: block; filter: grayscale(.55) contrast(1.08) brightness(var(--dim, .62)) sepia(.18); }
/* The outgoing slide keeps zooming while it fades (is-leaving), so nothing snaps. */
.hero-slide.is-active .hero-frame, .hero-slide.is-leaving .hero-frame { animation: kenburns 16s cubic-bezier(.3, 0, .5, 1) forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
@media (max-width: 860px) { .hero-slide { width: 100%; -webkit-mask-image: none; mask-image: none; } .hero-frame { --fx: .5 !important; --fy: .25 !important; } .hud { display: none; } }
.hero-shade { position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(90deg, rgba(5,6,7,.85) 0%, rgba(5,6,7,.45) 40%, rgba(5,6,7,0) 70%),
  linear-gradient(0deg, rgba(5,6,7,.97) 0%, rgba(5,6,7,.8) 20%, rgba(5,6,7,.35) 40%, rgba(5,6,7,0) 58%),
  linear-gradient(180deg, rgba(5,6,7,.6) 0%, rgba(5,6,7,0) 20%); }
@media (max-width: 860px) { .hero-shade { background: linear-gradient(0deg, rgba(5,6,7,.96) 0%, rgba(5,6,7,.55) 55%, rgba(5,6,7,.35) 100%); } }
/* Threat label over the photo: corner brackets draw in, then the tag fades in. */
.hud { position: absolute; pointer-events: none; }
.hud-box { position: absolute; inset: 0;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 22px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) top left / 1.5px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 22px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) top right / 1.5px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 22px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom left / 1.5px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 22px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom right / 1.5px 22px no-repeat;
  opacity: 0; transform: scale(1.25); transition: opacity .6s ease .5s, transform 1.1s var(--ease) .5s; }
.hud-tag { position: absolute; left: 0; top: calc(100% + 10px); display: flex; flex-direction: column; gap: 3px; padding: 7px 10px; background: rgba(5,6,7,.72); border-left: 2px solid var(--accent); color: #c9d1d8; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .6s ease 1.1s, transform .8s var(--ease) 1.1s; }
.hud-tag b { color: var(--accent); font-weight: 500; }
.hero-slide.is-active .hud-box { opacity: .9; transform: none; }
.hero-slide.is-active .hud-tag { opacity: 1; transform: none; }

.hero-inner { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 8vh, 96px); }
.hero-title { font-size: clamp(2.9rem, 7.4vw, 6.6rem); line-height: .9; max-width: 14ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; } .js .hero-title .line > span { transform: translate3d(0, 105%, 0); transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.hero-title .line:nth-child(3) > span { transition-delay: .24s; }
.hero-title em { font-style: normal; color: var(--accent); }
.loaded .hero-title .line > span { transform: none; }
.hero-foot { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.hero-foot .lede { margin: 0; max-width: 54ch; color: #c9d1d8; }
.js .reveal-load { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1s var(--ease) .55s, transform 1s var(--ease) .55s; }
.hero-actions.reveal-load { transition-delay: .7s; }
.loaded .reveal-load { opacity: 1; transform: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--text); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.1); }
.hero-progress { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 96px); display: flex; gap: 8px; }
.hero-progress span { width: 36px; height: 2px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero-progress span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-progress span.is-active::after { animation: progress var(--slide, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
@media (max-width: 860px) { .hero-foot { grid-template-columns: 1fr; } .hero-progress { display: none; } }
.reduce .hero-title .line > span, .reduce .reveal-load { transform: none; opacity: 1; transition: none; }
.reduce .hero-slide.is-active .hero-frame { animation: none; transform: none; }

/* Proof strip (under the logo band) */
.proof-band { border-bottom: 1px solid var(--line); }
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof > div { padding: 24px 20px 24px 0; }
.proof > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.proof dt { color: var(--text-3); text-transform: uppercase; margin-bottom: 6px; }
.proof dd { margin: 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
@media (max-width: 860px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof > div:nth-child(3) { padding-left: 0; border-left: 0; } .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Logo marquee ---------- */
.logos { background: var(--light); color: var(--light-ink); padding-block: 30px 34px; overflow: hidden; }
.logos-label { margin: 0 0 18px; color: #56626d; text-transform: uppercase; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; list-style: none; margin: 0; padding: 0 36px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; }
.marquee-track img { height: 38px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .72; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.marquee-track img.tall { height: 50px; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.reduce .marquee-track { animation: none; flex-wrap: wrap; width: auto; gap: 28px 48px; }
.reduce .marquee-track li[aria-hidden="true"] { display: none; }
@media (max-width: 760px) { .marquee-track { gap: 44px; animation-duration: 36s; } .marquee-track img { height: 30px; } .marquee-track img.tall { height: 40px; } }

/* ---------- Statement (words light up on scroll) ---------- */
.statement-section { border-top: 0; }
.statement { font-size: clamp(1.7rem, 3.6vw, 3.1rem); font-weight: 600; font-stretch: 92%; line-height: 1.18; letter-spacing: -0.015em; max-width: 30ch; margin: 0; }
.js .statement .w { color: #2c353e; transition: color .35s ease; }
.statement .w.lit { color: var(--text); }
.reduce .statement .w, .no-js .statement .w { color: var(--text); }
.stats { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.stats > div { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.stats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 800; font-stretch: 75%; line-height: .9; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-2); max-width: 30ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; } }

/* ---------- Sectors: pinned while you scroll through them ---------- */
.sectors { position: relative; height: calc(var(--count, 3) * 90vh + 10vh); }
.sectors-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.sector-media { position: absolute; inset: 0; z-index: -1; }
.sector-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); filter: grayscale(.5) brightness(.5) sepia(.12); transition: opacity 1.2s cubic-bezier(.45, 0, .2, 1), transform 6s cubic-bezier(.2, .6, .2, 1); }
.sector-media img.is-active { opacity: 1; transform: scale(1); }
.sector-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,12,.94) 0%, rgba(8,10,12,.72) 45%, rgba(8,10,12,.4) 100%); }
.sectors-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.sector-list li { position: relative; padding: 30px 0 30px 24px; border-bottom: 1px solid rgba(255,255,255,.14); cursor: pointer; outline: none; }
.sector-list li::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.sector-list li.is-active::before { transform: scaleY(1); }
.sector-list h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-stretch: 80%; text-transform: uppercase; color: #5d6873; transition: color .5s ease; }
.sector-list p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: #c3cbd2; font-size: 1.0625rem; transition: max-height .8s var(--ease), opacity .6s ease .1s, margin .8s var(--ease); }
.sector-list li.is-active h3 { color: var(--text); }
.sector-list li.is-active p { max-height: 180px; opacity: 1; margin-top: 14px; }
.sector-list li:hover h3 { color: var(--text); }
.sector-list li:focus-visible h3 { text-decoration: underline; text-decoration-color: var(--accent); }
.sector-credits { margin-top: 18px; min-height: 1.2em; }
@media (max-width: 860px) {
  .sectors { height: auto; }
  .sectors-pin { position: relative; height: auto; padding-block: clamp(96px, 12vw, 160px); }
  .sectors-inner { grid-template-columns: 1fr; }
}
.reduce .sectors { height: auto; }
.reduce .sectors-pin { position: relative; height: auto; padding-block: clamp(96px, 12vw, 160px); }

/* Photo credits (third-party photos only) */
.credit { color: var(--text-3); font-size: 0.6875rem; letter-spacing: .03em; text-decoration: none; opacity: .8; }
.credit:hover { color: var(--text-2); opacity: 1; }
[data-slide-credit], [data-sector-credit] { display: none; }
[data-slide-credit].is-active, [data-sector-credit].is-active { display: inline; }
.hero-credits { position: absolute; right: var(--gutter); bottom: 16px; z-index: 2; }

/* Images fade in once loaded instead of popping in */
.js .news-thumb img, .js .photo img { opacity: 0; transition: opacity .9s ease, transform .3s, filter .3s; }
.js .news-thumb img.is-loaded, .js .photo img.is-loaded { opacity: 1; }

/* OSINT report cards in the research slider */
.news-thumb { position: relative; }
.news-thumb .tag { position: absolute; left: 12px; top: 12px; padding: 4px 8px; background: rgba(5,6,7,.78); border-left: 2px solid var(--accent); color: var(--accent); font-size: 0.6875rem; letter-spacing: .08em; }
.report-card p { margin: 0; color: var(--text-2); font-size: 0.9875rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* "Show all news" */
.news-more-grid { margin-top: 56px; }
/* ---------- News slider ---------- */
.slider-head { align-items: end; }
.slider-nav { display: flex; gap: 10px; justify-self: end; }
.slider-btn { width: 64px; height: 64px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.slider-btn:hover { border-color: var(--accent); color: var(--accent); }
.slider-btn:disabled { opacity: .3; cursor: default; border-color: var(--line-2); color: var(--text); }
.slider { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.slider::-webkit-scrollbar { display: none; }
.slider.dragging { cursor: grabbing; scroll-snap-type: none; }
.slider.dragging a { pointer-events: none; }
.slider-track { display: flex; gap: 28px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.news-card.slide { width: clamp(270px, 30vw, 400px); scroll-snap-align: start; user-select: none; }
.news-more { color: var(--text-3); text-transform: uppercase; margin-top: auto; }
.news-card:hover .news-more { color: var(--accent); }
@media (max-width: 860px) { .slider-nav { display: none; } }

/* ---------- Numbered columns (the gap) ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.cols-3 > * { padding: 36px 36px 8px 0; }
.cols-3 > * + * { padding-left: 36px; border-left: 1px solid var(--line); }
.num { display: block; color: var(--accent); margin-bottom: 18px; }
.col-title { font-size: 1.625rem; font-stretch: 90%; font-weight: 700; margin-bottom: 12px; line-height: 1.15; }
.cols-3 p { color: var(--text-2); }
@media (max-width: 860px) { .cols-3 { grid-template-columns: 1fr; } .cols-3 > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 32px 0 0; }
.step-mark { height: 2px; margin-bottom: 28px; background: linear-gradient(90deg, var(--accent) 0 44px, var(--line-2) 44px); }

.step:last-child .step-mark { background: linear-gradient(90deg, var(--accent) 0 44px, var(--line-2) 44px, transparent); }
.step h3 { font-size: 1.5rem; font-stretch: 85%; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 1rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.specs { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--bg-2); }
.specs > div { padding: 22px; }
.specs > div + div { border-left: 1px solid var(--line); }
.specs dt { color: var(--text-3); text-transform: uppercase; margin-bottom: 8px; }
.specs dd { margin: 0; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
@media (max-width: 860px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .specs > div:nth-child(3) { border-left: 0; } .specs > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Applications (rows) ---------- */
.rows { border-top: 1px solid var(--line-2); }
.row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 40px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-stretch: 80%; text-transform: uppercase; }
.row p { color: var(--text-2); margin: 0 0 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { border: 1px solid var(--line-2); padding: 5px 10px; color: var(--text-2); text-transform: uppercase; font-family: var(--mono); font-size: 0.75rem; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Field record (timeline) ---------- */
.record { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.timeline li { border-bottom: 1px solid var(--line); }
.timeline a, .timeline .tl-static { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 24px 0; text-decoration: none; align-items: baseline; transition: padding-left .3s var(--ease, ease); }
.timeline a:hover { padding-left: 8px; }
.timeline time { color: var(--text-3); text-transform: uppercase; }
.timeline strong { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.timeline span.what { display: block; color: var(--text-2); font-size: 0.9375rem; font-weight: 400; margin-top: 4px; }
.timeline a .arrow { color: var(--text-3); }
.timeline a:hover strong { color: var(--accent); }
.timeline a:hover .arrow { color: var(--accent); }
.timeline .upcoming time { color: var(--accent); }
.record-aside { position: sticky; top: 96px; }
@media (max-width: 980px) { .record { grid-template-columns: 1fr; } .record-aside { position: static; } }
@media (max-width: 520px) { .timeline a, .timeline .tl-static { grid-template-columns: 1fr; gap: 6px; } }

/* Photo slots: replaced by real photos when src/photos/<name> exists */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border: 1px solid var(--line); }
.photo figcaption { margin-top: 10px; color: var(--text-3); }
.photo-slot {
  aspect-ratio: 4 / 3; border: 1px dashed var(--line-2); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--text-3);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.025) 14px 15px);
}
.photo-slot strong { display: block; color: var(--text-2); font-family: var(--mono); font-weight: 500; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Research cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-height: 240px; transition: background-color .15s; }
.section-alt .card { background: var(--bg-2); }
.card:hover { background: var(--bg-3); }
.card .mono { color: var(--text-3); text-transform: uppercase; }
.card h3 { font-size: 1.375rem; font-stretch: 88%; line-height: 1.15; }
.card p { color: var(--text-2); font-size: 0.9875rem; margin: 0; }
.card .card-foot { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 0.9375rem; }
.section-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* News grid (image cards) */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 36px; }
.news-card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.news-thumb { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .3s, filter .3s; }
.news-card:hover .news-thumb img { transform: scale(1.03); filter: none; }
.news-card time { color: var(--text-3); text-transform: uppercase; }
.news-card h3 { font-size: 1.1875rem; font-stretch: 92%; line-height: 1.25; font-weight: 700; }
.news-card:hover h3 { color: var(--accent); }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 16px; padding: 28px 0; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { color: var(--accent); }
.faq summary h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.3; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.75rem; line-height: 1; color: var(--text-2); justify-self: end; transition: color .2s; }
.faq summary:hover::after, .faq summary:hover h3 { color: var(--accent); }
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq .answer { padding: 0 48px 32px 0; color: var(--text-2); max-width: 72ch; font-size: 1.0625rem; }
.faq .answer a { color: var(--text); }


/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .h-display { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.contact-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list .mono { color: var(--text-3); text-transform: uppercase; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.who { margin-top: 28px; color: var(--text-2); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-list li { grid-template-columns: 1fr; gap: 4px; } .contact-list a { overflow-wrap: anywhere; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-top: 24px; }

/* Facts table (About) */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.facts > div { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.facts > div:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.facts > div:nth-last-child(-n+3) { border-bottom: 0; }
.facts dt { color: var(--text-3); text-transform: uppercase; margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 1.125rem; font-weight: 600; }
.facts-note { margin-top: 16px; color: var(--text-3); }
.facts-note a { color: var(--text-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div { border-left: 0 !important; border-bottom: 1px solid var(--line) !important; } .facts > div:nth-child(even) { border-left: 1px solid var(--line) !important; } }

/* Founder */
.founder { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.founder img { width: 220px; height: 220px; object-fit: cover; border: 1px solid var(--line-2); filter: grayscale(.2); }
.founder-name { font-size: clamp(1.75rem, 3vw, 2.4rem); font-stretch: 85%; text-transform: uppercase; }
.founder .role { color: var(--accent); font-weight: 600; margin: 10px 0 22px; }
.founder p { color: var(--text-2); max-width: 66ch; }
.founder ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } .founder img { width: 160px; height: 160px; } }

.prose-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; color: var(--text-2); }
@media (max-width: 860px) { .prose-cols { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-head { padding-block: clamp(48px, 7vw, 96px) 32px; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-3); text-transform: uppercase; margin-top: 28px; }
.article-head h1 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); font-stretch: 82%; text-transform: uppercase; line-height: 1; max-width: 22ch; }
.article-head .dek { font-size: 1.25rem; color: var(--text-2); max-width: 60ch; margin-top: 20px; }
.crumbs { color: var(--text-3); text-transform: uppercase; margin-bottom: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.article-figure { margin: 0 0 48px; border-block: 1px solid var(--line); background: #07090b; }
.article-figure img { max-height: 620px; width: auto; margin: 0 auto; }
.prose { max-width: 70ch; font-size: 1.125rem; line-height: 1.7; color: #d3d9df; }
.prose p { margin: 0 0 1.3em; }
.prose a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.article-foot { max-width: 70ch; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* Legal pages */
.legal { max-width: 78ch; color: var(--text-2); }
.legal h2 { color: var(--text); font-size: 1.5rem; font-stretch: 90%; margin: 2em 0 0.6em; text-transform: none; }
.legal h3 { color: var(--text); font-size: 1.15rem; margin: 1.6em 0 0.5em; }
.legal a { color: var(--text); }
.legal ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #080a0c; padding-block: 64px 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { color: var(--text-3); margin-top: 16px; max-width: 34ch; font-size: 0.9375rem; }
.footer-head { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; color: var(--text-2); font-size: 0.9375rem; }
.site-footer ul a:hover { color: var(--accent); }
.footer-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--text-3); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }
