/* ITI · Intelligence Territoriale Immersive. Editorial system shared by the home page and the Atlas.
   Paper, ink, terracotta and lagoon come from the visual language of the ITI address of 29 Oct 2026. */

@font-face { font-family: "Fraunces"; src: url("/static/vb3c502fbf4f42a1d/fonts/Fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/vb3c502fbf4f42a1d/fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F6F1E7; --paper-2: #EFE7D8; --paper-3: #E5DAC5; --card: #FBF8F1;
  --ink: #17211F; --ink-2: #47504B; --ink-3: #6F756D; --rule: rgba(23, 33, 31, .14);
  --terra: #A94A24; --terra-2: #C4602E; --lagoon: #17635F; --ochre: #B87B16; --night: #101B1A;
  --serif: "Fraunces", "Sitka Heading", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------- top bar */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--gut); transition: background .3s, box-shadow .3s; }
.top.solid { background: rgba(246, 241, 231, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule); }
.top .mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.top .mark img { height: 26px; width: auto; }
.top nav { display: flex; gap: 26px; align-items: center; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--terra); }
.top nav a.btn, .top nav a.btn:hover { color: var(--paper); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px; cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s; }
.btn:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.top .btn { padding: 8px 16px; font-size: 14px; }
@media (max-width: 860px) { .top nav a:not(.btn) { display: none; } }

/* ------------------------------------------------------------- hero: scroll-driven relief */
.hero { position: relative; height: 320vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#relief { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 45%, var(--paper-3), var(--paper) 62%); }
.hero-copy { position: absolute; left: var(--gut); bottom: clamp(104px, 17vh, 170px); width: min(640px, 88vw); }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.hero h1 { font: 380 clamp(44px, 5.2vw, 78px)/1.02 var(--serif); letter-spacing: -.022em; margin: 16px 0 20px; font-variation-settings: "SOFT" 40, "WONK" 0; }
.hero h1 em { font-style: italic; color: var(--terra); font-weight: 340; }
.hero .lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 44ch; margin: 0 0 28px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.phases { position: absolute; left: var(--gut); bottom: clamp(26px, 5vh, 48px); width: min(640px, 88vw); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.phases li { opacity: .42; transition: opacity .45s; border-top: 1px solid var(--ink); padding-top: 8px; }
.phases li.on { opacity: 1; border-top-color: var(--terra); }
.phases b { display: block; font: 420 18px/1.15 var(--serif); }
.phases span { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; display: block; margin-top: 3px; }
.credit { position: absolute; right: var(--gut); bottom: 24px; font-size: 11.5px; color: var(--ink-3); text-align: right; }
@media (max-width: 860px) { .phases { display: none; } .hero { height: 240vh; } .hero-stage::before { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, var(--paper) 26%); z-index: 1; } .hero-copy { z-index: 2; } }

/* ------------------------------------------------------------- sections */
section.s { padding: clamp(72px, 11vw, 150px) var(--gut); position: relative; }
.wrap { max-width: 1240px; margin: 0 auto; }
.s h2 { font: 380 clamp(36px, 4.6vw, 66px)/1.05 var(--serif); letter-spacing: -.016em; margin: 14px 0 22px; max-width: 18ch; }
.s .intro { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin: 0; }
.src { font-size: 12.5px; color: var(--ink-3); margin-top: 18px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.question { background: var(--night); color: var(--paper); }
.question .eyebrow { color: #E6A070; }
.question blockquote { margin: 18px 0 0; font: 360 clamp(32px, 5vw, 70px)/1.1 var(--serif); letter-spacing: -.015em; max-width: 22ch; }
.question p { color: #BEC5BC; max-width: 58ch; font-size: 19px; margin: 30px 0 0; }
.question .src { color: #8E978F; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(246, 241, 231, .16); margin-top: clamp(40px, 6vw, 80px); }
.stats div { background: var(--night); padding: 24px 24px 24px 0; }
.stats b { display: block; font: 380 clamp(21px, 2vw, 28px)/1.15 var(--serif); color: #fff; margin-bottom: 8px; }
.stats span { font-size: 14.5px; color: #BEC5BC; line-height: 1.45; display: block; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stats div { padding-right: 0; } }

/* eight readings */
.wheel-wrap { position: relative; max-width: 620px; margin: 0 auto; width: 100%; }
#wheel { width: 100%; height: auto; display: block; overflow: visible; }
#wheel .ray { stroke: var(--rule); stroke-width: 1; transition: stroke .3s, stroke-width .3s; fill: none; }
#wheel .ray.on { stroke: var(--terra); stroke-width: 2; }
#wheel .node { cursor: pointer; }
#wheel .node circle { fill: var(--card); stroke: var(--ink); stroke-width: 1; transition: fill .25s, r .25s var(--ease); }
#wheel .node text { font: 500 15px var(--sans); fill: var(--ink); pointer-events: none; }
#wheel .node.on circle, #wheel .node:hover circle { fill: var(--terra); stroke: var(--terra); }
#wheel .node.on circle.hub, #wheel .node:hover circle.hub { fill: var(--terra) !important; }
#wheel .hub { fill: var(--ink); }
#wheel .node text.hub-t { font: 400 42px var(--serif); fill: var(--paper); }
#wheel .node text.hub-s { font: 500 9.5px var(--sans); fill: #C8CDC6; letter-spacing: .14em; }
.reading { margin-top: 26px; border-top: 1px solid var(--ink); padding-top: 16px; min-height: 230px; }
.reading h3 { font: 420 27px/1.15 var(--serif); margin: 0 0 4px; }
.reading ul { list-style: none; margin: 12px 0 14px; padding: 0; columns: 2; column-gap: 26px; font-size: 14.5px; color: var(--ink-2); }
.reading li { break-inside: avoid; padding: 2px 0; }
.textlink { color: var(--terra); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.textlink:hover { color: var(--ink); }
@media (max-width: 560px) { .reading ul { columns: 1; } }

/* atlas band */
.atlas-band { background: var(--paper-2); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: clamp(32px, 4vw, 56px) 0; }
.figures div { border-top: 1px solid var(--ink); padding-top: 12px; }
.figures b { display: block; font: 360 clamp(38px, 4.4vw, 62px)/1 var(--serif); letter-spacing: -.02em; font-feature-settings: "tnum"; }
.figures span { font-size: 14px; color: var(--ink-2); display: block; margin-top: 6px; }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr 1fr; } }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchips a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); text-decoration: none; font-size: 14.5px; transition: background .2s, color .2s, transform .25s var(--ease); }
.tchips a:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.tchips a small { color: var(--ink-3); margin-left: 5px; font-size: 12px; }
.tchips a:hover small { color: #C8CDC6; }

/* four paths */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); margin-top: clamp(36px, 5vw, 64px); }
.path { background: var(--paper); padding: 26px 24px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.path + .path { padding-left: 24px; }
.path .n { font: 400 14px var(--serif); color: var(--terra); }
.path h3 { font: 420 26px/1.12 var(--serif); margin: 0; }
.path .q { font: italic 370 17.5px/1.35 var(--serif); color: var(--ink-2); margin: 0; }
.path p { font-size: 15px; color: var(--ink-2); margin: 0; flex: 1; }
.tag { align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--paper-3); color: var(--ink); }
.tag.done { background: #DCE9DE; color: #1F5A38; } .tag.dev { background: #F4E4BD; color: #6F4C05; } .tag.next { background: #E4DEF0; color: #4B3A73; }
@media (max-width: 1040px) { .paths { grid-template-columns: 1fr 1fr; } .path, .path + .path { padding: 24px 20px; } }
@media (max-width: 620px) { .paths { grid-template-columns: 1fr; } }

/* what if */
.ifs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.if { display: block; padding: 26px; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.if:hover { border-color: var(--terra); transform: translateY(-3px); }
.if small { font-size: 12.5px; color: var(--terra); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.if b { display: block; font: 400 clamp(23px, 2.2vw, 30px)/1.16 var(--serif); margin: 8px 0 12px; }
.if span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 720px) { .ifs { grid-template-columns: 1fr; } }

/* platforms */
.deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.pf { text-decoration: none; display: block; }
.pf figure { margin: 0; overflow: hidden; border-radius: 5px; background: var(--paper-3); aspect-ratio: 16/10; position: relative; }
.pf img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pf:hover img { transform: scale(1.04); }
.pf b { display: flex; align-items: center; gap: 8px; font: 420 19px/1.2 var(--serif); margin-top: 10px; }
.pf span { font-size: 14px; color: var(--ink-2); line-height: 1.42; display: block; margin-top: 3px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--paper-3); flex: none; box-shadow: 0 0 0 1px var(--rule); }
.dot.up { background: #2F8F5B; box-shadow: 0 0 0 3px rgba(47, 143, 91, .18); } .dot.down { background: #C2341D; }
@media (max-width: 1040px) { .deck { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .deck { grid-template-columns: 1fr; } }

/* operational foundation */
.socle { background: var(--night); color: var(--paper); }
.socle .eyebrow { color: #E6A070; }
.socle .intro { color: #BEC5BC; }
.tiers { display: grid; gap: 1px; background: rgba(246, 241, 231, .16); grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.tiers div { background: var(--night); padding: 18px 20px; }
.tiers div:first-child { padding-left: 0; }
.tiers b { font: 420 22px var(--serif); display: block; margin-bottom: 5px; }
.tiers span { font-size: 14.5px; color: #BEC5BC; display: block; line-height: 1.45; }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }
.live-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.live-count { font: 360 clamp(46px, 6vw, 76px)/1 var(--serif); letter-spacing: -.02em; }
.live-count small { font-size: .42em; color: #BEC5BC; letter-spacing: 0; }
.live-when { font-size: 13px; color: #8E978F; }
.live-grid { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; }
.live-grid li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(246, 241, 231, .12); font-size: 14.5px; }
.live-grid a { text-decoration: none; } .live-grid a:hover { color: #E6A070; }
.socle .dot { background: #4B5550; box-shadow: none; } .socle .dot.up { background: #57C98A; box-shadow: 0 0 0 3px rgba(87, 201, 138, .2); } .socle .dot.down { background: #EE6A50; }
.socle .src { color: #8E978F; }
@media (max-width: 520px) { .live-grid { grid-template-columns: 1fr; } }

/* five moments */
.cycle { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 40px 0 0; padding: 0; position: relative; }
.cycle::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--ink); }
.cycle li { padding: 34px 20px 0 0; position: relative; }
.cycle li::before { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 5px var(--paper); }
.cycle b { font: 420 25px var(--serif); display: block; }
.cycle span { font-size: 14.5px; color: var(--ink-2); display: block; margin-top: 6px; line-height: 1.42; }
@media (max-width: 860px) { .cycle { grid-template-columns: 1fr; } .cycle::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; } .cycle li { padding: 0 0 22px 32px; } }

/* trajectory */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.road div { padding: 22px; border: 1px dashed rgba(23, 33, 31, .34); border-radius: 6px; background: transparent; }
.road small { font-size: 13px; color: var(--ink-3); }
.road b { display: block; font: 380 54px/1 var(--serif); margin: 8px 0 3px; }
.road h4 { font: 500 15.5px var(--sans); margin: 0 0 8px; }
.road p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .road { grid-template-columns: 1fr; } }

.closing { background: var(--terra); color: #FFF7EC; text-align: center; }
.closing blockquote { font: 360 clamp(36px, 6vw, 84px)/1.06 var(--serif); letter-spacing: -.018em; margin: 0 auto; max-width: 20ch; }
.closing p { max-width: 54ch; margin: 26px auto 0; font-size: 18px; color: #FBE6D3; }
.closing .src { color: #F2CBAD; }

.access { background: var(--paper-2); }
.access .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.access h3 { font: 420 26px var(--serif); margin: 0 0 6px; }
.access p { color: var(--ink-2); margin: 0 0 14px; font-size: 15.5px; }
.access .row { display: flex; gap: 10px; }
.access input { flex: 1; min-width: 0; border: 1px solid var(--ink); background: var(--card); border-radius: 999px; padding: 11px 18px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 720px) { .access .grid { grid-template-columns: minmax(0, 1fr); } }

footer { padding: 36px var(--gut) 48px; font-size: 13px; color: var(--ink-3); background: var(--paper); }
footer .wrap { display: grid; gap: 10px; }
footer img { height: 34px; width: auto; }
footer p { margin: 0; max-width: 92ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero { height: 100vh; }
}
