/* drones.arkemis.space page layout. The design system (fonts, tokens, buttons, windows, labels, nav, footer)
   is /shared.css; this file only lays out this page. */

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.sec { padding: clamp(64px, 8vw, 112px) var(--gutter); }
.sec-head { display: grid; gap: 16px; justify-items: start; max-width: 900px; }

/* ---------- live render hosts (one WebGL canvas moves between them; the poster is the fallback) ---------- */
.live { position: relative; overflow: hidden; background: #c9d6df; }
.live .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.live canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.live.ready .poster { opacity: 0; }

/* ---------- hero: full-bleed cinematic render with the headline on it ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-live { position: absolute; inset: 0; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 18, 30, .28) 0%, rgba(10, 18, 30, 0) 26%, rgba(10, 18, 30, 0) 42%, rgba(10, 18, 30, .62) 100%); }
.hero-in { position: relative; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 9vh, 96px); }
.hero .hl { background: rgba(255, 255, 255, .88); }
.hero-title { margin: 18px 0 0; max-width: 15ch; font: 600 clamp(44px, 7.4vw, 112px)/.98 var(--display); font-stretch: 118%; letter-spacing: -.04em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-title .serif { font-size: 1.04em; }
.hero-sub { margin-top: 20px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.hero .btn-sec { background: rgba(255, 255, 255, .9); }

/* ---------- framed column ---------- */
.column { margin-top: 0; }
.thesis { display: grid; gap: 22px; justify-items: start; max-width: 1040px; }
.thesis .h-1 { font-size: clamp(30px, 4vw, 58px); }

/* ---------- concept of operations ---------- */
.conops-win { margin-top: 44px; }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--hair); }
.phases li { padding: 22px 22px 6px 0; }
.phases li + li { padding-left: 22px; border-left: 1px solid var(--hair); }
.phases .num { display: inline-grid; place-items: center; }
.phases h3 { margin-top: 14px; }
.phases p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .phases { grid-template-columns: 1fr 1fr; } .phases li:nth-child(3) { padding-left: 0; border-left: 0; } .phases li:nth-child(n+3) { border-top: 1px solid var(--hair); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } .phases li, .phases li + li { padding: 20px 0 6px; border-left: 0; border-top: 1px solid var(--hair); } .phases li:first-child { border-top: 0; } }

/* ---------- product ---------- */
.product-win { margin-top: 44px; }
.product-win .win-bar { justify-content: flex-start; }
.views { margin-left: auto; display: flex; gap: 4px; }
.views button { min-height: 26px; padding: 0 10px; border: 1px solid var(--hair); border-radius: 3px; background: #fff; font: 500 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
.views button[aria-pressed="true"] { background: var(--hl-sky); color: var(--ink); border-color: var(--accent); }
.no-live .views { display: none; }
.product-live { aspect-ratio: 16 / 9; }
.product-win figcaption { padding: 10px 14px; border-top: 1px solid var(--hair); font: 500 11.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); background: #fbfaf8; }
.figs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.figs div { padding: 22px 18px 24px; }
.figs div + div { border-left: 1px solid var(--hair); }
.figs dd { margin: 10px 0 0; font: 600 clamp(26px, 2.6vw, 38px)/1.05 var(--display); font-stretch: 112%; letter-spacing: -.03em; white-space: nowrap; }
.figs .hl { margin-top: 12px; }
.fig-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 1000px) { .figs { grid-template-columns: 1fr 1fr; } .figs div, .figs div + div { border-left: 0; border-top: 1px solid var(--hair); } .figs div:nth-child(even) { border-left: 1px solid var(--hair); } .figs div:first-child, .figs div:nth-child(2) { border-top: 0; } }
@media (max-width: 480px) { .figs { grid-template-columns: 1fr; } .figs div:nth-child(even) { border-left: 0; } .figs div:nth-child(2) { border-top: 1px solid var(--hair); } }

/* ---------- use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.uses li { padding: 22px; display: grid; gap: 10px; align-content: start; }
.uses .hl { justify-self: start; }
.uses p { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 900px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

/* ---------- briefings ---------- */
.brief { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.brief-card { padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; justify-items: start; }
.brief-card p { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.brief-card .btn { margin-top: 8px; }
@media (max-width: 760px) { .brief { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 14px; padding: 0 var(--gutter); }
.nf .brand { position: absolute; top: 24px; left: var(--gutter); display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.nf .mark { width: 16px; height: 18px; fill: currentColor; }
.nf .wordmark { font: 600 20px/1 "Bricolage", var(--f); letter-spacing: -.02em; }
@media (max-width: 760px) { .hero-live .poster { object-position: 72% 30%; } .hero { min-height: 92svh; } }

/* ---------- concept of operations: an engineering mission profile ---------- */
.conops-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.conops-svg { display: block; width: 100%; min-width: 880px; height: auto; background: #f4f6f9; }
.conops-svg .land { fill: #cfd3d6; stroke: #14141c; stroke-width: 1; }
.conops-svg .seabed { fill: none; stroke: #14141c; stroke-width: 1; }
.conops-svg .surface { fill: none; stroke: #14141c; stroke-width: 1.2; }
.conops-svg .ref { fill: none; stroke: rgba(20, 20, 28, .38); stroke-width: 1; stroke-dasharray: 6 6; }
.conops-svg .axis, .conops-svg .tick { fill: none; stroke: #14141c; stroke-width: 1; }
.conops-svg .sc { font: 500 11px "Plex Mono", monospace; letter-spacing: .06em; fill: #14141c; }
.conops-svg .ax { font: 500 10px "Plex Mono", monospace; letter-spacing: .12em; fill: #57536b; text-anchor: middle; }
.conops-svg .route { fill: none; stroke: #14141c; stroke-width: 1.4; }
.conops-svg .route.sub { stroke: #f4f6f9; stroke-dasharray: 7 5; }
.conops-svg .pipe { fill: none; stroke: #14141c; stroke-width: 4; stroke-linecap: round; }
.conops-svg .pipe-c { fill: #3b78cf; stroke: #14141c; stroke-width: 1; }
.conops-svg .lead { fill: none; stroke: #14141c; stroke-width: 1; }
.conops-svg .pt { fill: #14141c; }
.conops-svg .tag rect { fill: #ffffff; stroke: #14141c; stroke-width: 1; }
.conops-svg .tag rect.n { fill: #14141c; }
.conops-svg .tag .tn { font: 600 11px "Plex Mono", monospace; fill: #ffffff; text-anchor: middle; }
.conops-svg .tag .tt { font: 500 11px "Plex Mono", monospace; letter-spacing: .05em; fill: #14141c; }
.conops-svg .tag.ghost rect { fill: rgba(255, 255, 255, .7); }
.conops-svg .nts { font: 500 10px "Plex Mono", monospace; letter-spacing: .1em; fill: rgba(255, 255, 255, .8); }
.phases .num { width: auto; height: 22px; padding: 0 7px; border-radius: 2px; background: var(--ink); color: #fff; font: 600 11.5px var(--mono); border: 0; }
