/* =========================================================
   V2 — Cinematic + depth. Content-rich layout on top of the shared world.
   Mobile-first: single column by default, grids open up on wider screens.
   ========================================================= */

/* hero flows normally (not absolutely positioned) so long copy never collides on short phones */
.v2 .ch--hero { height: auto; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 clamp(72px, 12vh, 130px); }
.v2 .hero { position: relative; left: auto; bottom: auto; max-width: 860px; padding: 0 var(--gutter); }
.v2 .hero__title { font-size: clamp(2.6rem, 6.4vw, 6.6rem); }
.hero__facts { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 760px; border: 1px solid var(--faint); border-radius: 18px; overflow: hidden; background: var(--faint); counter-reset: fact; }
.hero__facts li { background: rgba(3, 10, 8, 0.92); padding: 20px 22px 22px; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; counter-increment: fact; }
.hero__facts li::before { content: "0" counter(fact); font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .14em; color: var(--mint); opacity: .8; margin-bottom: 8px; }
.hero__facts b { font-weight: 500; font-size: 17px; letter-spacing: -.005em; color: var(--ink, #F3F7F8); line-height: 1.25; }
.hero__facts span { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
@media (min-width: 720px) { .hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* platform section in v2 is content, not a 150vh scroll moment */
.v2 .ch--pillars { min-height: 0; }
.v2 .powers { margin-top: 0; }

.pill { display: inline-block; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--faint); color: var(--mute); font-size: 10px; }
.pill.is-on, .is-live .pill { color: var(--mint); border-color: rgba(141, 220, 192, 0.45); }
.v-card { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(10, 30, 25, 0.9), rgba(3, 10, 8, 0.9)); padding: clamp(22px, 2.4vw, 32px); }
.v-card h3 { margin: 14px 0 10px; font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.7rem); letter-spacing: -0.015em; line-height: 1.2; }
.v-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.v2-split { display: grid; gap: 20px; max-width: none; }
@media (min-width: 900px) { .v2-split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 60px; } .v2-split .lead { margin: 0; } }

/* agents */
.agent-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .agent-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.agent-card { display: flex; flex-direction: column; min-height: 260px; }
.agent-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--mute); }
.agent-card__out { margin-top: auto !important; padding-top: 18px; border-top: 1px solid var(--faint); display: grid; gap: 4px; color: var(--ink) !important; }
.agent-card__out .mono { color: var(--mute); }
.agent-card { margin-top: 0; }
.agent-card h3 + p { margin-bottom: 18px; }
.agent-card.is-live { border-color: rgba(141, 220, 192, 0.32); }

/* sectors */
.sector-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .sector-grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto auto; } .sector-card--lead { grid-row: 1 / 4; } }
.sector-card--lead { border-color: rgba(141, 220, 192, 0.4); }
.sector-card--lead h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--mint); background: radial-gradient(circle, var(--mint) 0 3px, transparent 4px); }
.v2 .stats { max-width: none; }
.case-slots { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: clamp(40px, 6vh, 70px); }
@media (min-width: 900px) { .case-slots { grid-template-columns: 1fr 1fr; } }
.case-slot { border-style: dashed; background: rgba(3, 10, 8, 0.7); }
.case-slot .mono { color: var(--mint); }

/* how we work: full-width toggle panel */
.v2 .ch--adopt { min-height: 0; }
.adopt--wide { max-width: none; margin: 0; }

/* company */
.v2-company { display: grid; gap: 32px; }
@media (min-width: 900px) { .v2-company { grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; } }
.v2-company__body .lead { margin-top: 0; max-width: 56ch; }
.person { display: flex; align-items: center; gap: 16px; margin-top: 28px; max-width: 420px; }
.person img { width: 44px; height: 44px; }
.person b { display: block; font-weight: 500; font-size: 1.1rem; }
.person span { color: var(--ink-2); font-size: 14px; }

/* finale in v2 is a contact moment */
.v2 .ch--finale { height: 140vh; }

/* bigger footer with a sitemap */
.footer--big { padding: 60px 0 90px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer__col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer__col .mono { color: var(--mute); margin: 0 0 4px; }
.footer__col .linklike { color: var(--ink-2); }
.footer__col .linklike:hover { color: var(--mint); }
.footer__muted { color: var(--mute); font-size: 13px; }
.footer--big .footer__legal { grid-column: 1 / -1; }


/* ---------- launch polish ---------- */
.h-lg, .h-xl, .h-xxl, .hero__title, .lead, .info__head p { text-wrap: balance; }
/* keep content clear of the chapter dots on the right */
@media (min-width: 900px) { .info .wrap, .ch--pillars .wrap, .ch--modules .wrap { padding-right: calc(var(--gutter) + 36px); } }
/* sectors: lead card across the top, three cards below */
@media (min-width: 900px) {
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  .sector-card--lead { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .sector-card--lead > .pill, .sector-card--lead > h3, .sector-card--lead > p { grid-column: 1; }
  .sector-card--lead > .ticks { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; }
}
.sector-card { display: flex; flex-direction: column; gap: 12px; }
.sector-card > .pill { align-self: flex-start; }
.sector-card h3, .sector-card p { margin: 0; }
.sector-card--lead { display: grid; gap: 14px; }
/* our goal: one centred statement */
.v2-company { display: block; max-width: 920px; margin: 0 auto; text-align: center; }
.v2-company .eyebrow { justify-content: center; }
.v2-company .h-xl { margin-bottom: 28px; }
.v2-company__body .lead { margin: 0 auto; max-width: 52ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.55; color: var(--ink-2); }
#company { padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(60px, 9vh, 110px); }
/* closing headline */
.finale .h-xxl { max-width: none; font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: 1.02; }
.finale .h-xxl .nw { white-space: nowrap; }
@media (max-width: 520px) { .finale .h-xxl .nw { white-space: normal; } }
/* footer legal link */
.footer__legal a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.footer__legal a:hover { color: var(--mint); }
.sector-card--lead > .pill { justify-self: start; }
