/* Futurelab v3 – shared system for both directions.
   One family (Satoshi standing in for Degular), three weights: 300, 400, 500. Nothing heavier anywhere. */
@font-face { font-family: 'FL'; src: url('fonts/Satoshi-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'FL'; src: url('fonts/Satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'FL'; src: url('fonts/Satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
/* Satoshi draws the en dash as long as an em dash; Noto Sans supplies a true en dash in the same three weights */
@font-face { font-family: 'FL Dash'; src: url('fonts/dash-300.woff') format('woff'); font-weight: 300; unicode-range: U+2013; font-display: swap; }
@font-face { font-family: 'FL Dash'; src: url('fonts/dash-400.woff') format('woff'); font-weight: 400; unicode-range: U+2013; font-display: swap; }
@font-face { font-family: 'FL Dash'; src: url('fonts/dash-500.woff') format('woff'); font-weight: 500; unicode-range: U+2013; font-display: swap; }

:root {
  --bg: #F6F3EE;
  --surface: #FFFFFF;
  --ink: #111418;
  --muted: #25455F;          /* infinit.cx navy for secondary information */
  --faint: #5B6A78;
  --line: rgb(17 20 24 / 0.14);
  --line-strong: rgb(17 20 24 / 0.55);
  --petrol: #004A5F;
  --petrol-deep: #00323F;
  --sky: #9AC8D7;
  --accent: #1E5BD8;         /* the one accent: what is live or interactive right now */
  --accent-tint: #E6EDFB;
  --accent-on-petrol: #A9C4FF;
  --coral: #FF6457;          /* smallest alerts only */
  --green: #55B64B;          /* infinit.cx endorsement only */
  --page-bg: var(--bg);

  --wrap: 1312px;
  --gut: 24px;
  --pad: clamp(20px, 4.4vw, 64px);

  --display: clamp(48px, 6.6vw, 96px);
  --display-lh: 1.02;
  --display-w: 300;
  --h2: clamp(28px, 3vw, 40px);
  --h3: 22px;
  --body: 19px;
  --small: 15px;
  --tag: 14px;
  --sentence: clamp(28px, 3.3vw, 46px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--page-bg); color: var(--ink); font-family: 'FL Dash', 'FL', 'Helvetica Neue', Arial, sans-serif; font-weight: 400; font-size: var(--body); line-height: 1.6; font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* No bold, anywhere: every element that browsers set heavier is pulled back to Medium or Regular */
b, strong, th, dt, legend, optgroup, summary { font-weight: 500; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; font-weight: 400; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.muted { color: var(--muted); }
.dot { color: var(--faint); }

/* ---------- Header: the same on every page. Not petrol. ---------- */
.top { background: var(--page-bg); }
.bar { display: flex; align-items: center; gap: 40px; height: 76px; }
.brand { display: block; color: var(--ink); margin-right: auto; }
.brand svg { width: 124px; height: auto; fill: currentColor; }
.nav { display: flex; gap: 32px; font-size: 17px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 8px; }
.nav a:hover { border-bottom-color: var(--line-strong); }
.nav a[aria-current="page"] { color: var(--petrol); border-bottom-color: var(--petrol); }
.mode-g { width: 13px; height: 13px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.4; }
.ask { font-size: 17px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.ask:hover { background: #2A2F36; }
.ask[aria-current="page"] { background: var(--petrol); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; content: ''; }
.menu-btn span::before { position: absolute; top: -7px; } .menu-btn span::after { position: absolute; top: 7px; }
.m-nav { display: none; }

/* ---------- Latest: its own band directly below the header ---------- */
.latest { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--page-bg); }
.latest .wrap { display: flex; align-items: stretch; height: 44px; }
.lt-label { flex: none; display: flex; align-items: center; padding-right: 20px; margin-right: 0; border-right: 1px solid var(--line); font-size: var(--small); color: var(--muted); }
.lt-view { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent); }
.lt-track { display: flex; width: max-content; animation: lt-move var(--lt-dur, 80s) linear infinite; }
.latest.is-paused .lt-track, .latest:hover .lt-track, .latest:focus-within .lt-track { animation-play-state: paused; }
@keyframes lt-move { to { transform: translateX(-50%); } }
.lt-item { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 28px; font-size: var(--small); text-decoration: none; white-space: nowrap; color: var(--ink); }
.lt-item:hover .lt-t { text-decoration: underline; }
.lt-k { color: var(--muted); }
.lt-w { color: var(--faint); font-variant-numeric: tabular-nums; }
.lt-item + .lt-item { border-left: 1px solid var(--line); }
.lt-pause { flex: none; display: inline-flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid var(--line); font-size: var(--small); color: var(--muted); }
.lt-pause:hover { color: var(--ink); }
.lt-pause svg { width: 10px; height: 10px; fill: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .lt-track { animation: none; }
  .lt-view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .lt-track .lt-dup { display: none; }
  .lt-pause { display: none; }
}

/* ---------- The statement: once per page, in the display size ---------- */
.statement { font-size: var(--display); line-height: var(--display-lh); font-weight: var(--display-w); letter-spacing: -0.03em; max-width: 15.5em; text-wrap: balance; }
.statement .st2 { color: var(--petrol); }
.page-head { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(36px, 4vw, 56px); }

/* ---------- The sentence: the Consume search ---------- */
.sentence { font-size: var(--sentence); line-height: 1.42; font-weight: 300; letter-spacing: -0.015em; max-width: 30em; }
.term-wrap { white-space: nowrap; }
.term { font-weight: 400; color: var(--ink); background: none; border-bottom: 2px dotted var(--line-strong); padding: 0 0.06em; line-height: 1.2; transition: color .15s, border-color .15s, background-color .15s; }
.term:hover { border-bottom-color: var(--ink); }
.term.is-open { color: var(--accent); border-bottom: 2px solid var(--accent); background: var(--accent-tint); }
.term.is-set { color: var(--accent); border-bottom: 2px solid var(--accent); }
.s-tools { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: var(--small); color: var(--muted); }
.s-tools button, .s-tools a { text-decoration: underline; text-decoration-color: var(--line-strong); }
.s-tools [hidden] { display: none; }
.term-pop { position: absolute; z-index: 40; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 12px 32px rgb(17 20 24 / 0.10); padding: 6px; max-height: 360px; overflow: auto; }
.term-pop .pop-head { font-size: 13px; color: var(--faint); padding: 8px 10px 4px; }
.term-pop button { display: flex; width: 100%; justify-content: space-between; gap: 16px; padding: 9px 10px; border-radius: 4px; font-size: 16px; text-align: left; }
.term-pop button:hover, .term-pop button:focus-visible { background: var(--accent-tint); outline: none; }
.term-pop button[aria-selected="true"] { color: var(--accent); }
.term-pop button.none { color: var(--faint); }
.term-pop .c { color: var(--faint); font-variant-numeric: tabular-nums; }

/* ---------- Index rows: title, one line, tag line ---------- */
.index-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); font-size: var(--small); color: var(--muted); }
.index-head a, .index-head button { text-decoration: underline; text-decoration-color: var(--line-strong); }
.index-head .note { display: block; flex-basis: 100%; color: var(--muted); }
.index { transition: opacity .14s ease; }
.index.is-leaving { opacity: 0.25; }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding: 22px 0 22px; border-bottom: 1px solid var(--line); }
.row-t { grid-column: 1 / span 5; font-size: var(--h3); line-height: 1.3; text-decoration: none; font-weight: 400; }
.row-t:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.row-body { grid-column: 6 / -1; }
.row-d { font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 40em; }
.row .tagline { margin-top: 8px; }
.row-n { display: none; }
.index.is-entering .row { opacity: 0; transform: translateY(6px); }
.row { transition: opacity .28s ease, transform .28s ease; }

/* ---------- Tag line: Industry · Topic · Horizon – Format · Evidence · time ---------- */
.tagline { font-size: var(--tag); font-weight: 500; line-height: 1.5; color: var(--ink); display: flex; flex-wrap: wrap; column-gap: 0; }
.tagline .tag { text-decoration: none; }
.tagline .tag:hover { text-decoration: underline; }
.tagline .tl-sep { margin: 0 0.5em; color: var(--faint); }
.tagline .tf { color: var(--muted); }
.ev { display: inline-flex; align-items: center; gap: 5px; }
.ev-g { width: 11px; height: 11px; flex: none; }
.ev-opinion { font-style: italic; font-weight: 400; }
.ev-research { color: var(--ink); }
.ev-ai { color: var(--accent); }

/* ---------- Buttons: one primary style, text links for everything else ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-size: 17px; font-weight: 500; text-decoration: none; background: var(--ink); color: #fff; border: 0; }
.btn:hover { background: #2A2F36; }
.on-petrol .btn { background: #fff; color: var(--petrol-deep); }
.on-petrol .btn:hover { background: var(--sky); }
.textlink { text-decoration: underline; text-decoration-color: var(--line-strong); font-size: var(--small); }
.textlink:hover { text-decoration-color: currentColor; }
.arrow { width: 1em; height: 1em; }

/* ---------- Open questions as text links ---------- */
.questions { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 19px; }
.questions a { text-decoration: underline; text-decoration-color: var(--line-strong); }
.questions a:hover { text-decoration-color: currentColor; }
.q-label { font-size: var(--small); color: var(--muted); margin-bottom: 10px; }

/* ---------- Converse input (open, not a box) ---------- */
.cv-form { display: flex; align-items: flex-end; gap: 12px; border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; }
.cv-form textarea, .cv-form input { flex: 1; border: 0; background: transparent; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; font-weight: 300; padding: 6px 0; resize: none; min-height: 46px; outline: none; }
.cv-form textarea::placeholder, .cv-form input::placeholder { color: #6B7682; }
.cv-form:focus-within { border-bottom-color: var(--accent); }
.send { flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.send:hover { background: var(--accent); }
.send svg { width: 18px; height: 18px; }
.cv-ex { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 16px; font-size: 17px; color: var(--muted); }
.cv-ex a, .cv-ex button { text-decoration: underline; text-decoration-color: var(--line-strong); color: var(--muted); text-align: left; }
.cv-ex a:hover, .cv-ex button:hover { color: var(--ink); }

/* ---------- The audacity field: petrol, once per page ---------- */
.field { background: var(--petrol); color: #fff; }
.on-petrol a { color: #fff; }
.radar { width: 100%; height: auto; overflow: visible; touch-action: none; }
.radar .ring { fill: none; stroke: rgb(255 255 255 / 0.28); stroke-width: 1; }
.radar .ring-core { fill: rgb(255 255 255 / 0.06); }
.radar .axis { stroke: rgb(255 255 255 / 0.18); stroke-width: 1; }
.radar .ring-l { fill: var(--sky); font-size: 13px; font-family: 'FL Dash', 'FL', sans-serif; }
.radar .sec-l { fill: #fff; font-size: 15px; font-family: 'FL Dash', 'FL', sans-serif; font-weight: 400; }
.radar .trail polyline { fill: none; stroke: rgb(255 255 255 / 0.45); stroke-width: 1.2; }
.radar .trail circle { fill: #fff; }
.radar .num-l { fill: var(--sky); font-size: 12px; font-family: 'FL Dash', 'FL', sans-serif; }

/* ---------- Footer: beige, hairline, contact details once ---------- */
.foot { border-top: 1px solid var(--line-strong); padding: 40px 0 48px; font-size: var(--small); color: var(--muted); background: var(--page-bg); }
.foot .grid { row-gap: 24px; align-items: start; }
.foot-brand { grid-column: 1 / span 5; }
.foot-brand svg { width: 96px; fill: var(--ink); margin-bottom: 12px; }
.foot-brand .icx { display: inline-block; vertical-align: -3px; }
.foot-brand .icx img { height: 15px; width: auto; display: inline; }
.foot-contact { grid-column: 6 / span 4; }
.foot-legal { grid-column: 10 / -1; display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; }
.foot a { text-decoration-color: var(--line-strong); }

/* ---------- Article reading view ---------- */
.art { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 72px; }
.art .grid { row-gap: 32px; }
.art-side { grid-column: 1 / span 3; font-size: var(--small); color: var(--muted); }
.art-main { grid-column: 4 / span 7; }
.art-crumb { font-size: var(--small); color: var(--muted); margin-bottom: 28px; display: inline-block; }
.art-title { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.05; font-weight: var(--display-w); letter-spacing: -0.025em; text-wrap: balance; }
.art-lead { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.45; font-weight: 300; color: var(--ink); margin-top: 28px; max-width: 34em; }
.art-body { margin-top: 40px; max-width: 37em; }
.art-body p, .art-body ul, .art-body blockquote { margin-bottom: 1.15em; }
.art-body p { font-size: var(--body); line-height: 1.68; }
.art-body h2 { font-size: 24px; font-weight: 500; margin: 1.8em 0 0.6em; line-height: 1.3; }
.art-body ul { padding-left: 1.1em; list-style: disc; }
.art-body li { margin-bottom: 0.4em; line-height: 1.6; }
.art-body li::marker { color: var(--faint); }
.art-body blockquote { border-left: 2px solid var(--petrol); padding-left: 20px; font-size: 22px; line-height: 1.5; font-weight: 300; }
.art-side dl { display: grid; gap: 14px; position: sticky; top: 24px; }
.art-side dt { font-weight: 400; color: var(--faint); font-size: 13px; }
.art-side dd { color: var(--ink); }
.art-side dd a { text-decoration-color: var(--line-strong); }
.art-side .tags a { display: block; text-decoration: none; font-weight: 500; font-size: var(--tag); }
.art-side .tags a:hover { text-decoration: underline; }
.art-more { margin-top: 64px; }
.art-more h2 { font-size: var(--small); color: var(--muted); font-weight: 400; margin-bottom: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.art-more .row-t { grid-column: 1 / span 5; }
.art-orig { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--small); color: var(--muted); }

/* Scenario covers: the 16 scenarios as a set of typographic covers */
.cover { background: var(--petrol); color: #fff; overflow: hidden; }
.cover .wrap { position: relative; min-height: clamp(380px, 46vw, 600px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-content: end; padding-top: 48px; padding-bottom: 48px; }
.cv-num { font-size: clamp(160px, 26vw, 380px); line-height: 0.8; font-weight: 300; letter-spacing: -0.06em; color: var(--sky); }
.cv-title { font-size: clamp(40px, 5.4vw, 84px); line-height: 1.0; font-weight: 300; letter-spacing: -0.03em; text-wrap: balance; }
.cv-meta { font-size: var(--small); color: var(--sky); }
.cv-trail { position: absolute; inset: 0; pointer-events: none; }
.cv-trail line, .cv-trail circle { stroke: rgb(255 255 255 / 0.3); fill: none; }
.cover[data-sec="0"] .cv-num { grid-column: 1 / span 6; grid-row: 1; align-self: start; }
.cover[data-sec="0"] .cv-title { grid-column: 1 / span 9; grid-row: 2; margin-top: 32px; }
.cover[data-sec="0"] .cv-meta { grid-column: 1 / span 6; grid-row: 3; margin-top: 18px; }
.cover[data-sec="1"] .cv-num { grid-column: 7 / -1; grid-row: 1 / span 3; text-align: right; align-self: end; }
.cover[data-sec="1"] .cv-title { grid-column: 1 / span 7; grid-row: 2; align-self: end; }
.cover[data-sec="1"] .cv-meta { grid-column: 1 / span 6; grid-row: 3; margin-top: 18px; }
.cover[data-sec="2"] .wrap { align-content: center; }
.cover[data-sec="2"] .cv-num { grid-column: 1 / -1; grid-row: 1; text-align: center; opacity: 0.55; }
.cover[data-sec="2"] .cv-title { grid-column: 2 / span 10; grid-row: 1; align-self: center; text-align: center; position: relative; }
.cover[data-sec="2"] .cv-meta { grid-column: 1 / -1; grid-row: 2; text-align: center; margin-top: 20px; }
.cover[data-sec="3"] .cv-num { grid-column: 1 / span 5; grid-row: 1 / span 2; align-self: end; }
.cover[data-sec="3"] .cv-title { grid-column: 6 / -1; grid-row: 1; align-self: end; border-top: 1px solid rgb(255 255 255 / 0.4); padding-top: 20px; }
.cover[data-sec="3"] .cv-meta { grid-column: 6 / -1; grid-row: 2; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bar { gap: 28px; }
  .nav { gap: 22px; }
}
@media (max-width: 860px) {
  :root { --body: 18px; --gut: 16px; }
  .nav, .bar > .ask { display: none; }
  .menu-btn { display: inline-flex; }
  .bar { height: 64px; gap: 12px; }
  .brand svg { width: 108px; }
  .m-nav { display: block; border-top: 1px solid var(--line); padding: 8px 0 16px; }
  .m-nav[hidden] { display: none; }
  .m-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
  .m-nav a[aria-current="page"] { color: var(--petrol); }
  .m-nav .ask { margin-top: 16px; justify-content: center; }
  .row { display: block; }
  .row-t { display: block; }
  .row-body { margin-top: 8px; }
  .art-side, .art-main { grid-column: 1 / -1; }
  .art-side { order: 2; }
  .art-side dl { position: static; grid-template-columns: 1fr 1fr; }
  .foot-brand, .foot-contact, .foot-legal { grid-column: 1 / -1; }
  .foot-legal { justify-content: flex-start; }
  .lt-label { padding-right: 12px; }
  .lt-pause .lt-pl { display: none; }
  .cover .wrap > * { grid-column: 1 / -1 !important; text-align: left !important; }
  .cover[data-sec="2"] .cv-title { grid-row: 2; }
}
