@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/space-grotesk-latin-wght-normal.woff2) format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(fonts/poppins-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(fonts/poppins-latin-500-normal.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(fonts/poppins-latin-600-normal.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-2: #0b0e0f;
  --text: #fff;
  --muted: #b4c0c0;
  --teal: #00b2ad;
  --teal-ink: #00807c; /* teal for text on white: 4.8:1 */
  --orange: #f7941d;
  --line: rgba(0, 178, 173, 0.45);
  /* Expanded palette. Teal and orange stay the brand; the rest support them.
     All text colours below pass WCAG AA on black. */
  --aqua: #5fe6dc;        /* light teal: highlights, "holds up" */
  --teal-deep: #06393b;   /* teal surface */
  --amber: #ffc25e;       /* light orange */
  --ember: #e9601e;       /* deep orange */
  --violet: #a093ff;      /* quantum, the future, the new standards */
  --violet-deep: #1d1846; /* violet surface */
  --coral: #ff7a6b;       /* risk, "at risk" */
  --sky: #63b4ff;         /* information */
  --surf-teal: #051517;
  --surf-violet: #0c0a1d;
  --surf-warm: #150c03;
  --grad: linear-gradient(90deg, var(--teal), var(--violet) 52%, var(--orange));
  --head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --gut: clamp(20px, 4vw, 40px);
  --radius: 10px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
picture { display: block; }

h1, h2, h3 {
  font-family: var(--head);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.1; font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.18; }
h3 { font-size: 1.3rem; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.4em; max-width: 68ch; }

a { color: var(--teal); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 46rem; margin-inline: auto; }
.lede { font-size: 1.15rem; line-height: 1.65; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--teal); color: #000; padding: 10px 16px; z-index: 20; font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }

/* Header: white bar, black wordmark */
.site-header { background: #fff; color: #000; color-scheme: light; position: relative; z-index: 5; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; padding-block: 16px; }
.brand { color: #000; text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1.2; }
.brand:hover { color: var(--teal-ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { color: #000; text-decoration: none; font-size: 0.95rem; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--teal-ink); border-bottom-color: var(--teal-ink); }
.nav a[aria-current="page"] { border-bottom-color: #000; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--teal-ink); }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--head); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em;
  text-decoration: none; padding: 0.95em 1.7em; border-radius: var(--radius);
  border: 2px solid var(--teal); background: var(--teal); color: #000; cursor: pointer; line-height: 1.2;
}
.btn:hover { background: #fff; border-color: #fff; color: #000; }
.btn-outline { background: transparent; color: #fff; }
.btn-outline:hover { background: var(--teal); border-color: var(--teal); color: #000; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .actions { justify-content: center; }

/* Sections */
.band { padding-block: clamp(52px, 8vw, 100px); }
.band-alt { background: var(--bg-2); }
.band-line { border-top: 1px solid var(--line); }
.band-tight { padding-block: clamp(32px, 5vw, 56px); }
.sec-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(28px, 4vw, 48px); }
.sec-head::after { content: ""; display: block; height: 2px; margin: 26px auto 0; max-width: 46rem; background: linear-gradient(90deg, transparent, var(--teal) 18%, var(--violet) 50%, var(--orange) 82%, transparent); opacity: 0.8; }
.sec-head p { margin-inline: auto; }
.sec-head h2 { margin-bottom: 0.4em; }
.sec-head .lede { margin-bottom: 0; }

/* Plain page heading */
.page-head { text-align: center; padding-block: clamp(48px, 8vw, 96px) clamp(20px, 3vw, 36px); }
.page-head h1 { margin-bottom: 0.4em; }
.page-head p { font-size: 1.1rem; margin-inline: auto; }
.page-head::after { content: ""; display: block; max-width: 46rem; margin: 30px auto 0; border-top: 1px solid var(--line); }

/* Image behind text: hero (video) and banner (still) */
.hero, .banner, .cta { position: relative; isolation: isolate; overflow: hidden; background: #000; text-align: center; }
.hero > .bg, .banner > .bg, .cta > .bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero > video.bg, .banner > picture.bg img, .cta > picture.bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after, .banner::after, .cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.58); }
.hero::after { background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.68)); }

.hero { display: grid; place-items: center; min-height: clamp(440px, 66vh, 680px); padding: clamp(56px, 9vw, 110px) var(--gut); }
.hero-inner { max-width: 52rem; }
.hero h1 { font-weight: 700; font-size: clamp(2.3rem, 6.2vw, 4.4rem); line-height: 1.08; margin-inline: auto; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }
.hero .sub { font-weight: 600; font-size: clamp(1.02rem, 2vw, 1.3rem); line-height: 1.55; margin: 22px auto 0; max-width: 40rem; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6); }
.hero .actions { justify-content: center; margin-top: 34px; }
.hero-sm { min-height: clamp(380px, 54vh, 560px); }
.hero-sm h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.hero-sm .sub { font-weight: 400; }

.banner { padding: clamp(64px, 11vw, 140px) 0; }
.banner h1 { font-weight: 600; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }
.banner p { margin-inline: auto; font-size: 1.1rem; }

.cta { padding-block: clamp(64px, 10vw, 120px); }
.cta .actions { justify-content: center; }
.cta p { margin-inline: auto; }

/* Image cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.card { margin: 0; max-width: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.card picture img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 22px 24px 28px; }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Text columns */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; list-style: none; margin: 0; padding: 0; }
.cols > li { margin: 0; max-width: none; border-top: 1px solid var(--line); padding-top: 22px; }
.cols h3 { margin-bottom: 0.4em; }
.cols p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

/* Cards and figures sitting on the slightly lighter band */
.band-alt .card, .band-alt .lattice-panel { background: #000; }
.form-wrap .form { margin-inline: auto; }

.side-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; border-radius: 12px; }
@media (max-width: 800px) { .side-img img { aspect-ratio: 16 / 10; } }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
@media (max-width: 860px) { .cols.two { grid-template-columns: 1fr; } }
.banner .actions { justify-content: center; }

/* Lattice figure */
.lattice-panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; margin: 0; overflow: hidden; }
.lattice-panel svg { display: block; width: 100%; height: auto; }
.lattice-panel figcaption { padding: 16px 22px 20px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; border-top: 1px solid var(--line); }
.vec { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.4s 0.5s ease-out forwards; }
.hit { opacity: 0; animation: show 0.4s 1.8s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes show { to { opacity: 1; } }

/* Timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.timeline li { position: relative; margin: 0; max-width: none; padding: 30px 32px 0 0; border-top: 2px solid var(--teal); }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); }
.timeline .year { display: block; font-family: var(--head); font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; font-weight: 600; color: var(--teal); margin-bottom: 14px; }
.timeline h3 { margin-bottom: 0.3em; }
.timeline p { margin: 0; }
.source-note { margin-top: 32px; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-top: 0; border-left: 2px solid var(--teal); padding: 0 0 34px 28px; }
  .timeline li::before { top: 6px; left: -8px; }
}

/* Ruled rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 48px; margin: 0; max-width: none; padding: 28px 0; border-bottom: 1px solid var(--line); }
.rows h3 { margin: 0; }
.rows p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .rows > li { grid-template-columns: 1fr; } }

/* News */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.filters button { font: inherit; font-size: 0.92rem; font-weight: 500; padding: 0.4em 1.1em; border: 1px solid var(--teal); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.filters button:hover { background: rgba(0, 178, 173, 0.2); }
.filters button[aria-pressed="true"] { background: var(--teal); color: #000; }
.news-list { margin-top: 24px; }
.news-item { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-item:first-child { border-top: 1px solid var(--line); }
.news-item .thumb { display: block; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.news-item .thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.news-meta { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin: 0 0 6px; }
.news-meta .cat { color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-right: 10px; }
.news-item h3 { margin-bottom: 0.35em; }
.news-item h3 a { color: #fff; text-decoration: none; }
.news-item h3 a:hover { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; }
.news-item p { margin-bottom: 0.6em; }
.news-item .src { color: var(--muted); font-size: 0.9rem; margin: 0; }
.news-item[hidden] { display: none; }
@media (max-width: 700px) { .news-item { grid-template-columns: 1fr; gap: 16px; } .news-item .thumb { max-width: 22rem; } }

/* Forms */
.form { display: grid; gap: 22px; max-width: 680px; }
.center .form, .form.mid { margin-inline: auto; }
.field label, .field .label { display: block; font-weight: 500; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: inherit; color: #fff; background: #000; border: 1px solid #8a9898; border-radius: 6px; padding: 0.7em 0.85em;
}
.field textarea { min-height: 9em; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { margin-top: 0.45em; width: 1.1em; height: 1.1em; flex: none; accent-color: var(--teal); }
.check label { font-weight: 400; margin: 0; }
.honeypot { position: absolute; left: -9999px; }

/* Two-column text layouts */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 80px); align-items: start; }
.split > h2 { margin: 0; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 800px) { .split, .split.even { grid-template-columns: 1fr; } }
.topics { margin: 0; padding-left: 1.2em; }
.topics li::marker { color: var(--teal); }

.empty { border: 1px dashed #8a9898; border-radius: var(--radius); padding: 28px; max-width: 680px; }
.empty p:last-child { margin-bottom: 0; }

.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: none; }

/* Footer: white, big wordmark */
.site-footer { background: #fff; color: #000; color-scheme: light; padding-block: clamp(36px, 5vw, 56px) 28px; }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: start; }
.foot-name { font-family: var(--head); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 18px; color: #000; }
.foot p { margin: 0 0 8px; }
.foot a { color: var(--teal-ink); }
.foot a:hover { color: #000; }
.foot .contact-us { font-family: var(--head); font-size: 1.5rem; font-weight: 500; display: inline-block; margin-bottom: 10px; }
.foot-links { grid-column: 1 / -1; list-style: none; margin: 14px 0 0; padding: 18px 0 0; border-top: 1px solid #d4dcdc; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 0.92rem; }
.foot-links li { margin: 0; }
.foot-links a { color: #000; }
.foot-links a:hover { color: var(--teal-ink); }
.copy { grid-column: 1 / -1; font-size: 0.85rem; color: #4d5a5a; margin: 0; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vec { animation: none; stroke-dashoffset: 0; }
  .hit { animation: none; opacity: 1; }
}

@media print {
  .site-header, .site-footer, .actions, .filters, video { display: none; }
  body { background: #fff; color: #000; }
  h1, h2, h3, .hero h1 { color: #000; text-shadow: none; }
}

/* ===================== Interactive layer (all of it works without JavaScript) ===================== */

/* Header stays in view on larger screens */
@media (min-width: 800px) {
  .site-header { position: sticky; top: 0; border-bottom: 1px solid #d4dcdc; }
  html { scroll-padding-top: 84px; }
}

/* Buttons and links: gentle transitions */
.btn, .filters button, .tab, .car-btn { transition: background-color 0.18s, color 0.18s, border-color 0.18s; }

/* Carousel: native scroll-snap, with buttons and a counter added by site.js */
.carousel { --car-gap: 28px; position: relative; }
.car-track { display: flex; gap: var(--car-gap); list-style: none; margin: 0; padding: 4px 2px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--teal) transparent; }
.js .car-track, .js .carousel .cards { scrollbar-width: none; }
.js .car-track::-webkit-scrollbar, .js .carousel .cards::-webkit-scrollbar { display: none; }
.car-track > li { flex: 0 0 calc((100% - 2 * var(--car-gap)) / 3); margin: 0; max-width: none; display: flex; scroll-snap-align: start; }
@media (max-width: 1000px) { .car-track > li { flex-basis: calc((100% - var(--car-gap)) / 2); } }
@media (max-width: 640px) { .carousel { --car-gap: 16px; } .car-track > li { flex-basis: 86%; } }
/* The audience cards are a three-column grid on wide screens and swipe sideways on narrow ones */
@media (max-width: 860px) {
  .carousel .cards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; overscroll-behavior-x: contain; }
  .carousel .cards > li { flex: 0 0 84%; scroll-snap-align: start; }
}
.car-ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.car-ui[hidden] { display: none; }
.car-count { margin: 0; color: var(--muted); font-size: 0.92rem; }
.car-btns { display: flex; gap: 10px; }
.car-btn { width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border: 2px solid var(--teal); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.car-btn:hover:not(:disabled) { background: var(--teal); color: #000; }
.car-btn:disabled { opacity: 0.3; cursor: default; }
.car-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* News cards (used in the carousel) */
.news-card { display: flex; flex-direction: column; width: 100%; margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.news-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.news-card .thumb { display: block; overflow: hidden; background: #000; }
.news-card .thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card .body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.news-card h3 { font-size: 1.15rem; margin-bottom: 0.45em; }
.news-card h3 a { color: #fff; text-decoration: none; }
.news-card h3 a:hover { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; }
.news-card p { font-size: 0.95rem; line-height: 1.6; }
.news-card .src { margin: auto 0 0; padding-top: 6px; color: var(--muted); font-size: 0.88rem; }

/* Headlines: the daily-updated list of links */
.headlines-box { margin-top: clamp(36px, 5vw, 56px); }
.headlines-box > h3 { margin-bottom: 0.2em; }
.headlines { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.headline { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 24px; align-items: baseline; margin: 0; max-width: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.headline time { color: var(--muted); font-size: 0.88rem; }
.headline a { color: #fff; text-decoration: none; font-weight: 500; }
.headline a:hover { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; }
.headline .src { grid-column: 2; color: var(--muted); font-size: 0.86rem; }
.headline[hidden], .news-item[hidden] { display: none; }
@media (max-width: 640px) { .headline { grid-template-columns: 1fr; } .headline .src { grid-column: 1; } }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 4px; }
.group-head h2 { font-size: 1.5rem; margin: 0; }
.news-group + .news-group { margin-top: clamp(40px, 6vw, 64px); }

/* News search */
.news-search { margin: 6px 0 14px; max-width: 28rem; }
.news-search input { width: 100%; font: inherit; color: #fff; background: #000; border: 1px solid #8a9898; border-radius: 999px; padding: 0.6em 1.2em; }
.news-search input:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.news-search[hidden], [data-filters][hidden], #news-empty[hidden], .news-group[hidden] { display: none; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.tab { font: inherit; font-weight: 500; font-size: 0.98rem; padding: 0.55em 1.3em; border: 1px solid var(--teal); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.tab:hover { background: rgba(0, 178, 173, 0.2); }
.tab[aria-selected="true"] { background: var(--teal); color: #000; }
[data-tabs] [role="tabpanel"][hidden] { display: none; }
[data-tabs] > [data-tab] + [data-tab] { margin-top: 36px; }
.js [data-tabs] > [data-tab] + [data-tab] { margin-top: 0; }
.js [data-tabs] > [data-tab] > h3:first-child { display: none; }
.tabs-box { max-width: 52rem; margin-inline: auto; }
.tabs-box .topics li { margin-bottom: 0.7em; }
.tabs-box .note { margin: 20px 0 0; }

/* Questions: accordion made from <details>, so it needs no script */
.faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font-family: var(--head); font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-52%); color: var(--teal); font-size: 1.7rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--teal); }
.faq .ans { padding: 0 0 22px; }
.faq .ans p:last-child { margin-bottom: 0; }

/* Timeline extras */
.timeline .away { display: inline-block; margin-bottom: 10px; padding: 2px 12px; border: 1px solid var(--orange); border-radius: 999px; color: var(--orange); font-size: 0.85rem; font-weight: 600; }
.teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 44px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 12px; background: #000; }
.teaser p { margin: 0; max-width: 40rem; }

/* Readiness check */
.readiness { padding: clamp(22px, 4vw, 40px); background: #000; border: 1px solid var(--line); border-radius: 12px; }
.check-list { margin: 0; padding-left: 1.3em; }
.check-list li { margin-bottom: 0.8em; }
.check-list li::marker { color: var(--teal); font-weight: 600; }
.check-form { display: grid; gap: 6px; }
.q { margin: 0 0 18px; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.q legend { display: flex; gap: 14px; align-items: baseline; padding: 0; margin-bottom: 12px; font-weight: 500; line-height: 1.5; }
.qn { flex: none; display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--teal); color: #000; font-family: var(--head); font-weight: 600; font-size: 0.9rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: calc(1.9em + 14px); }
.opt { position: relative; margin: 0; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: inline-block; padding: 0.5em 1.3em; border: 1px solid var(--teal); border-radius: 999px; font-weight: 500; transition: background-color 0.18s, color 0.18s; }
.opt:hover span { background: rgba(0, 178, 173, 0.2); }
.opt input:checked + span { background: var(--teal); color: #000; }
.opt input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.progress { height: 6px; margin-top: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.progress span { display: block; width: 0; height: 100%; background: var(--teal); transition: width 0.3s; }
.check-form .actions { margin-top: 12px; }
.check-form .btn:disabled { opacity: 0.4; cursor: not-allowed; background: var(--teal); border-color: var(--teal); }
.result { margin-top: 28px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--teal); border-radius: 12px; background: var(--bg-2); }
.result[hidden] { display: none; }
.result:focus { outline: none; }
.result .tier { margin: 0 0 8px; font-family: var(--head); font-size: 1.5rem; font-weight: 600; }
.result .tier span { color: var(--teal); margin-right: 10px; }
.result h4 { margin: 20px 0 8px; font-family: var(--head); font-size: 1.1rem; }
.result ul { margin: 0 0 16px; padding-left: 1.2em; }
.result li::marker { color: var(--orange); }
.result .actions { margin-top: 20px; }
@media (max-width: 640px) { .opts { margin-left: 0; } }

/* Fade-in on scroll (added by script, only below the fold) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Spacing for stacked blocks inside one band */
.sub-block { margin-top: clamp(52px, 7vw, 84px); }

@media (prefers-reduced-motion: reduce) {
  .car-track, .carousel .cards { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .news-card, .news-card .thumb img, .progress span { transition: none; }
  .news-card:hover { transform: none; }
  .news-card:hover .thumb img { transform: none; }
}
@media print {
  .car-ui, .tablist, .news-search { display: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  [data-tabs] [role="tabpanel"][hidden] { display: block; }
  .faq details > .ans { display: block; }
}

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===================== Phones and tablets ===================== */
html { -webkit-tap-highlight-color: rgba(0, 178, 173, 0.25); }
.btn, button, .tab, .opt, summary { touch-action: manipulation; }
.wrap { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.foot a { overflow-wrap: anywhere; }
.foot-links a { display: inline-block; padding: 10px 0; }
.foot-links { gap: 0 24px; }

/* One rule under a heading, not two */
.sec-head + .cols > li { border-top: 0; padding-top: 0; }
.sec-head + .rows { border-top: 0; }
.faq { border-top: 0; }
@media (max-width: 860px) { .sec-head + .cols > li + li { border-top: 1px solid var(--line); padding-top: 22px; } }

/* Tabs are buttons that fill the row on narrow screens */
.tab { text-align: center; }
@media (max-width: 560px) { .tablist .tab { flex: 1 1 100%; } }

@media (max-width: 799px) {
  /* Header: wordmark on top, a row of full-height tap targets beneath it */
  .bar { gap: 0; padding-block: 12px 0; }
  .bar nav { width: 100%; }
  .brand { font-size: 1.35rem; padding-block: 2px 4px; }
  .nav { width: 100%; justify-content: space-between; gap: 0; }
  .nav a { display: block; padding: 13px 4px; border-bottom-width: 3px; font-size: 0.95rem; }
  .nav li:first-child a { padding-left: 0; }
  .nav li:last-child a { padding-right: 0; }
}

@media (max-width: 700px) {
  .news-item .thumb img, .news-card .thumb img { aspect-ratio: 16 / 9; }
  .news-card .body { padding: 18px 18px 22px; }
  .news-card p { font-size: 0.94rem; }
  .news-item { padding: 22px 0; }
  .card-body { padding: 20px 20px 24px; }
  .check input[type="checkbox"] { width: 1.4em; height: 1.4em; margin-top: 0.2em; }
}

@media (max-width: 560px) {
  /* Buttons: one per row, same width, easy to hit with a thumb */
  .hero .actions, .cta .actions, .banner .actions, .sub-block .actions, .check-form .actions, .result .actions {
    flex-direction: column; align-items: stretch; max-width: 22rem; margin-inline: auto; gap: 12px;
  }
  .hero .actions .btn, .cta .actions .btn, .banner .actions .btn, .sub-block .actions .btn,
  .check-form .actions .btn, .result .actions .btn, .teaser .btn, .form .btn { display: block; width: 100%; text-align: center; }
  .btn { padding: 1em 1.4em; }
  .teaser { padding: 20px; }
  .filters button { padding: 0.55em 1.1em; }
  .group-head h2 { font-size: 1.35rem; }
}

/* Touch screens: every control gets a proper tap target, whatever the screen width */
.brand { display: inline-block; padding-block: 6px; }
.foot .contact-us { padding-block: 8px; }
.foot p a { display: inline-block; padding-block: 8px; }
@media (pointer: coarse) {
  .nav a { padding-block: 13px; }
  .filters button, .tab { min-height: 44px; }
  .car-btn { width: 48px; height: 48px; }
  .faq summary { min-height: 44px; }
}
@media (pointer: coarse) { .check input[type="checkbox"] { width: 1.45em; height: 1.45em; margin-top: 0.15em; } }

/* =====================================================================
   Expanded palette in use
   ===================================================================== */
.band-alt { background: radial-gradient(1100px 380px at 88% 0%, rgba(160, 147, 255, 0.07), transparent 62%), radial-gradient(900px 380px at 0% 100%, rgba(0, 178, 173, 0.08), transparent 62%), var(--bg-2); }
.band-violet { background: radial-gradient(900px 420px at 15% 0%, rgba(160, 147, 255, 0.16), transparent 65%), radial-gradient(800px 380px at 100% 100%, rgba(247, 148, 29, 0.08), transparent 60%), var(--surf-violet); }
.band-teal { background: radial-gradient(1000px 420px at 85% 0%, rgba(0, 178, 173, 0.16), transparent 65%), radial-gradient(800px 380px at 0% 100%, rgba(160, 147, 255, 0.09), transparent 60%), var(--surf-teal); }
.kicker { display: inline-block; margin: 0 0 14px; padding: 3px 14px; border: 1px solid rgba(160, 147, 255, 0.55); border-radius: 999px; color: var(--violet); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.news-meta .cat-standards { color: var(--aqua); }
.news-meta .cat-policy { color: var(--violet); }
.news-meta .cat-research { color: var(--amber); }
.cards > .card:nth-child(3n+1) { border-top: 3px solid var(--teal); }
.cards > .card:nth-child(3n+2) { border-top: 3px solid var(--violet); }
.cards > .card:nth-child(3n+3) { border-top: 3px solid var(--orange); }
.timeline li:nth-child(1) .year { color: var(--aqua); }
.timeline li:nth-child(2) .year { color: var(--violet); }
.timeline li:nth-child(3) .year { color: var(--orange); }
.timeline li:nth-child(2)::before { background: var(--violet); }
.timeline li:nth-child(1)::before { background: var(--aqua); }
.tier span { color: var(--amber); }

/* Timeline that draws itself as you scroll (JS adds .drawn and sets --tp) */
.timeline[data-draw] { position: relative; }
.js .timeline.drawn li { border-color: rgba(255, 255, 255, 0.14); }
.js .timeline.drawn::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--tp, 0) * 100%); background: var(--grad); background-size: calc(100% / max(var(--tp, 1), 0.01)) 100%; box-shadow: 0 0 12px rgba(160, 147, 255, 0.5); }
.js .timeline.drawn li::before { background: #2a3333; transition: background 0.4s, box-shadow 0.4s; }
.js .timeline.drawn li.on:nth-child(1)::before { background: var(--aqua); box-shadow: 0 0 0 5px rgba(95, 230, 220, 0.2); }
.js .timeline.drawn li.on:nth-child(2)::before { background: var(--violet); box-shadow: 0 0 0 5px rgba(160, 147, 255, 0.2); }
.js .timeline.drawn li.on:nth-child(3)::before { background: var(--orange); box-shadow: 0 0 0 5px rgba(247, 148, 29, 0.2); }
@media (max-width: 760px) {
  .js .timeline.drawn::after { width: 2px; height: calc(var(--tp, 0) * 100%); background: linear-gradient(180deg, var(--teal), var(--violet) 52%, var(--orange)); background-size: 100% calc(100% / max(var(--tp, 1), 0.01)); }
}

/* =====================================================================
   Story: harvest now, decrypt later
   ===================================================================== */
.story-band { padding-top: clamp(52px, 8vw, 100px); background: radial-gradient(1000px 500px at 50% 0%, rgba(0, 178, 173, 0.1), transparent 70%), #000; border-top: 1px solid var(--line); }
.story { position: relative; padding-bottom: clamp(40px, 6vw, 80px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.story-art { max-width: 720px; justify-self: center; width: 100%; }
.story-art svg { display: block; width: 100%; height: auto; }
.story-stage .story-grid { display: none; }
.story-bar { display: none; }
.story-list { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.story-list li { counter-increment: st; margin: 0; max-width: none; padding: 20px 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.story-list li::before { content: counter(st); display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--teal); color: #000; font-family: var(--head); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; }
.story-list li:nth-child(2)::before, .story-list li:nth-child(4)::before { background: var(--coral); }
.story-list li:nth-child(3)::before { background: var(--violet); }
.story-list li:nth-child(5)::before { background: var(--aqua); }
.story-list h3 { font-size: 1.1rem; }
.story-list p { font-size: 0.92rem; margin: 0; }
.story-list .eyebrow { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
@media (max-width: 1000px) { .story-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .story-list { grid-template-columns: 1fr; } }
/* No JavaScript or reduced motion: the finished picture above the five steps */
.story:not(.live) .story-stage .story-grid { display: grid; grid-template-columns: 1fr; margin-bottom: 28px; }
.story:not(.live) .story-caps, .story:not(.live) .story-dots { display: none; }

/* Live (JS, motion allowed): pinned stage, one step at a time */
.story.live { height: calc(var(--steps) * 70vh + 100svh); padding-bottom: 0; }
.story.live .story-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.story.live .story-stage { position: sticky; top: var(--hdr, 0px); height: calc(100svh - var(--hdr, 0px)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.story.live .story-stage .story-grid { display: grid; position: relative; }
.story.live .story-bar { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.08); }
.story.live .story-bar span { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: var(--grad); background-size: calc(100% / max(var(--sp, 1), 0.01)) 100%; }
.story-caps { display: grid; }
.cap { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity 0.45s ease, transform 0.45s ease; pointer-events: none; }
.cap.on { opacity: 1; transform: none; pointer-events: auto; }
.cap .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.cap .eyebrow span { display: inline-grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--teal); color: #000; font-family: var(--head); font-weight: 600; letter-spacing: 0; }
.cap:nth-child(2) .eyebrow span, .cap:nth-child(4) .eyebrow span { background: var(--coral); }
.cap:nth-child(3) .eyebrow span { background: var(--violet); }
.cap:nth-child(5) .eyebrow span { background: var(--aqua); }
.cap h3 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.12; }
.cap p { font-size: clamp(1rem, 1.4vw, 1.12rem); color: #dfe7e7; }
.story-dots { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; position: absolute; left: var(--gut); bottom: -8px; }
.story.live .story-dots:not([hidden]) { display: flex; }
.story-dots li { margin: 0; }
.story-dots button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: var(--muted); font: 600 0.8rem var(--head); cursor: pointer; }
.story-dots button[aria-current="step"] { background: #fff; color: #000; border-color: #fff; }

/* The scene */
.scene text { font-family: var(--head); font-size: 15px; fill: #fff; text-anchor: middle; }
.scene .when { text-anchor: start; font-size: 20px; font-weight: 600; fill: var(--muted); letter-spacing: 0.04em; transition: opacity 0.4s; }
.scene .node rect { fill: #071112; stroke: var(--teal); stroke-width: 2; }
.scene .partner rect { stroke: var(--sky); }
.scene .wire { stroke: var(--teal); stroke-width: 3; transition: stroke 0.5s; }
.scene .pkt rect { fill: var(--teal); transition: fill 0.5s; }
.scene .pkt .lk-c rect { fill: #000; } .scene .pkt .lk-c path { stroke: #000; stroke-width: 2; }
.scene .pkt { animation: travel 3.6s linear infinite; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(278px); opacity: 0; } }
.scene .tap { stroke: var(--coral); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 0.8s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.scene .vault rect { fill: rgba(255, 122, 107, 0.07); stroke: var(--coral); stroke-width: 2; }
.scene .vault text { fill: var(--coral); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.scene .copy > rect { fill: #1a1010; stroke: var(--coral); stroke-width: 1.5; }
.scene .copy .doc { stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; opacity: 0; transition: opacity 0.4s 0.3s; }
.scene .copy .lk-c rect, .scene .copy .lk-o rect { fill: var(--coral); }
.scene .copy .lk-c path, .scene .copy .lk-o path { stroke: var(--coral); stroke-width: 2; }
.scene .copy .lk-o { opacity: 0; }
.scene .lk-c, .scene .lk-o { transition: opacity 0.35s; }
.scene .newcopy > rect { fill: #110f22; stroke: var(--violet); }
.scene .newcopy .lk-c rect { fill: var(--violet); } .scene .newcopy .lk-c path { stroke: var(--violet); }
.scene .qnode rect { fill: rgba(160, 147, 255, 0.08); stroke: var(--violet); stroke-width: 2; stroke-dasharray: 7 6; transition: stroke-dasharray 0.4s, fill 0.4s; }
.scene .qnode text { fill: var(--violet); }
.scene .q-note { font-size: 12px; fill: var(--muted) !important; transition: opacity 0.3s; }
.scene .beam { filter: drop-shadow(0 0 6px rgba(160, 147, 255, 0.9)); stroke: var(--violet); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 2 12; animation: beam 0.6s linear infinite; }
@keyframes beam { to { stroke-dashoffset: -14; } }
.scene .pq-badge rect { fill: var(--violet-deep); stroke: var(--violet); stroke-width: 1.5; }
.scene .pq-badge text { fill: var(--violet); font-size: 13px; font-weight: 600; }
.scene .block path { stroke: var(--aqua); stroke-width: 3; stroke-linecap: round; }
/* Step states: .at-N means step N has been reached, .st-N is the current step */
.scene .s2, .scene .s3, .scene .s4, .scene .s5, .scene .copy { opacity: 0; transition: opacity 0.5s; }
.scene.at-2 .s2, .scene.at-3 .s3, .scene.at-4 .s4, .scene.at-5 .s5 { opacity: 1; }
.scene.at-2 .c1 { opacity: 1; transition-delay: 0.3s; }
.scene.at-2 .c2 { opacity: 1; transition-delay: 0.8s; }
.scene.at-2 .c3 { opacity: 1; transition-delay: 1.3s; }
.scene.at-5 .c4 { opacity: 1; transition-delay: 0.4s; }
.scene .t-later { opacity: 0; }
.scene.at-3 .t-now { opacity: 0; } .scene.at-3 .t-later { opacity: 1; }
.scene.at-4 .qnode rect { stroke-dasharray: none; fill: rgba(160, 147, 255, 0.18); }
.scene.at-4 .q-note { opacity: 0; }
.scene.at-4 .copy:not(.newcopy) .lk-c { opacity: 0; }
.scene.at-4 .copy:not(.newcopy) .lk-o { opacity: 1; }
.scene.at-4 .copy:not(.newcopy) .doc { opacity: 1; }
.scene.at-5 .wire { stroke: var(--violet); }
.scene.at-5 .pkt rect { fill: var(--violet); }
.scene.at-5 .tap { stroke: rgba(255, 122, 107, 0.45); }
.story:not(.live) .scene * { animation: none !important; }
.story:not(.live) .scene .p2 { transform: translateX(120px); }
.story:not(.live) .scene .p3 { transform: translateX(240px); }
@media (max-width: 800px) {
  .story.live .story-grid { grid-template-columns: 1fr; gap: 14px; align-content: center; }
  .story.live .story-art { order: -1; max-width: 520px; }
  .scene text { font-size: 19px; }
  .scene .when { font-size: 24px; }
  .scene .vault text, .scene .pq-badge text { font-size: 15px; }
  .scene .q-note { font-size: 15px; }
  .cap h3 { font-size: 1.5rem; }
  .cap p { font-size: 0.98rem; line-height: 1.6; }
  .story-dots { position: static; margin-top: 4px; }
}
@media (max-height: 560px) and (max-width: 1000px) {
  .story.live .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story.live .story-art { order: 0; }
  .cap h3 { font-size: 1.3rem; } .cap p { font-size: 0.9rem; }
}

/* =====================================================================
   Figures that count up
   ===================================================================== */
.figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fig { margin: 0; max-width: none; padding: 26px 24px 22px; border-radius: 14px; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.fig::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.fig.c-teal { --c: var(--aqua); } .fig.c-violet { --c: var(--violet); } .fig.c-orange { --c: var(--orange); } .fig.c-amber { --c: var(--amber); }
.fig .fig-num { font-family: var(--head); font-weight: 600; font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 1; color: var(--c); margin: 0 0 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig p { font-size: 0.95rem; }
.fig-src { margin: 0; font-size: 0.82rem; }
.fig-src a { color: var(--muted); }
@media (max-width: 1000px) { .figs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .figs { grid-template-columns: 1fr; } .fig .fig-num { font-size: 2.6rem; } }

/* =====================================================================
   Flip cards: what breaks, what holds
   ===================================================================== */
.flips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.flip { margin: 0; max-width: none; perspective: 1200px; }
.flip.v-risk { --c: var(--coral); } .flip.v-safe { --c: var(--aqua); } .flip.v-new { --c: var(--violet); }
.flip-btn { display: grid; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 14px; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.face { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 24px; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front { background: linear-gradient(160deg, #0c1415, #000); border: 1px solid var(--line); }
.back { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #000), #000 75%); border: 1px solid var(--c); transform: rotateY(180deg); font-size: 0.95rem; line-height: 1.6; }
.flip-kind { color: var(--muted); font-size: 0.85rem; }
.flip-name { font-family: var(--head); font-weight: 600; font-size: 1.55rem; line-height: 1.15; }
.flip-name.sm { font-size: 1.15rem; }
.flip-hint { margin-top: auto; color: var(--teal); font-size: 0.85rem; font-weight: 500; }
.flip-hint::after { content: " \2192"; }
.verdict { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--c); color: #000; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.flip-btn:hover .front { border-color: var(--teal); }
.flip-btn[aria-pressed="true"] { transform: rotateY(180deg); }
/* Without JavaScript both faces show, one under the other */
html:not(.js) .flip-btn { cursor: default; gap: 10px; }
html:not(.js) .face { grid-area: auto; min-height: 0; backface-visibility: visible; }
html:not(.js) .back { transform: none; }
html:not(.js) .flip-hint { display: none; }
.flip-all-row { margin-top: 28px; }
@media (max-width: 900px) { .flips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flips { grid-template-columns: 1fr; } .face { min-height: 0; } .front { min-height: 150px; } }

/* =====================================================================
   Migration journey
   ===================================================================== */
.journey { position: relative; }
.jsteps { list-style: none; margin: 0; padding: 0; }
.jline { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.12); }
.jline span { display: block; width: 100%; height: calc(var(--jp, 1) * 100%); background: linear-gradient(180deg, var(--teal), var(--violet) 55%, var(--orange)); background-size: 100% calc(100% / max(var(--jp, 1), 0.01)); box-shadow: 0 0 14px rgba(0, 178, 173, 0.6); }
.jstep { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 8vw, 110px); align-items: center; margin: 0; max-width: none; padding-block: clamp(22px, 3vw, 36px); }
.jstep:nth-child(even) .jtext { order: 2; }
.jtext { position: relative; }
.jnum { display: inline-grid; place-items: center; width: 2.2em; height: 2.2em; margin-bottom: 10px; border-radius: 50%; border: 2px solid var(--c, var(--teal)); color: var(--c, var(--teal)); font-family: var(--head); font-weight: 600; background: #000; transition: background 0.4s, color 0.4s; }
.jstep.on .jnum { background: var(--c, var(--teal)); color: #000; }
.jstep:nth-child(1) { --c: var(--aqua); } .jstep:nth-child(2) { --c: var(--teal); } .jstep:nth-child(3) { --c: var(--violet); } .jstep:nth-child(4) { --c: var(--amber); } .jstep:nth-child(5) { --c: var(--orange); }
.jstep::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #2a3333; transition: background 0.4s, box-shadow 0.4s; }
.jstep.on::before { background: var(--c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 25%, transparent); }
.jtext p { margin: 0; }
.mini { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 18px; background: rgba(0, 0, 0, 0.6); font-size: 0.86rem; position: relative; overflow: hidden; }
.mini ul, .mini ol { list-style: none; margin: 0; padding: 0; }
.mini li { margin: 0; max-width: none; }
.chip { font-size: 0.75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.chip.risk { background: rgba(255, 122, 107, 0.16); color: var(--coral); } .chip.safe { background: rgba(95, 230, 220, 0.14); color: var(--aqua); }
.m-discover li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.m-discover li:last-child { border: 0; }
.scanbar { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(95, 230, 220, 0.18), transparent); pointer-events: none; opacity: 0; }
.m-prio li { padding: 6px 0; }
.m-prio span { display: block; margin-bottom: 5px; } .m-prio em { color: var(--muted); font-style: normal; margin-left: 6px; font-size: 0.8rem; }
.m-prio i { display: block; height: 8px; border-radius: 999px; width: var(--w); transition: width 1s cubic-bezier(.2, .7, .2, 1); }
.m-prio i.risk { background: var(--coral); } .m-prio i.warm { background: var(--amber); } .m-prio i.safe { background: var(--aqua); }
.m-sup li { display: flex; gap: 10px; align-items: center; padding: 7px 0; }
.tick { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--violet); position: relative; transition: background 0.3s; background: var(--violet); }
.tick::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.m-mig { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding-block: 28px; }
.k { padding: 6px 14px; border-radius: 999px; font-family: var(--head); font-weight: 600; transition: transform 0.6s, opacity 0.6s; }
.k1 { border: 1px solid var(--sky); color: var(--sky); } .k2 { border: 1px solid var(--violet); color: var(--violet); }
.k3 { background: var(--amber); color: #000; }
.plus, .eq { color: var(--muted); font-weight: 600; transition: opacity 0.4s; }
.m-prove .meter { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.m-prove .meter i { display: block; height: 100%; width: 72%; background: var(--grad); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.m-prove ol { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 0.8rem; }
.m-prove p { margin: 12px 0 0; }
/* Before a step is reached (JS only): the visual waits, then plays */
.js .jstep:not(.on) .mini { opacity: 0.35; }
.mini { transition: opacity 0.5s; }
.js .jstep:not(.on) .m-prio i { width: 0; }
.js .jstep:not(.on) .tick { background: transparent; }
.js .jstep:not(.on) .tick::after { opacity: 0; }
.m-sup li:nth-child(2) .tick { transition-delay: 0.35s; } .m-sup li:nth-child(3) .tick { transition-delay: 0.7s; }
.js .jstep:not(.on) .k1 { transform: translateX(-12px); opacity: 0.4; }
.js .jstep:not(.on) .k2 { transform: translateX(12px); opacity: 0.4; }
.js .jstep:not(.on) .k3, .js .jstep:not(.on) .eq { opacity: 0; }
.js .jstep:not(.on) .m-prove .meter i { width: 0; }
.js .jstep.on .scanbar { animation: scan 2.4s ease-in-out 2; }
@keyframes scan { 0% { top: -40px; opacity: 1; } 100% { top: 100%; opacity: 1; } }
@media (max-width: 760px) {
  .jline { left: 17px; }
  .jstep { grid-template-columns: 1fr; gap: 16px; padding-left: 52px; }
  .jstep:nth-child(even) .jtext { order: 0; }
  .jstep::before { left: 18px; top: calc(clamp(22px, 3vw, 36px) + 17px); }
  .jnum { position: absolute; left: -52px; top: -2px; margin: 0; }
  .jtext h3 { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .flip-btn, .cap, .mini, .m-prio i, .m-prove .meter i, .k, .tick { transition: none !important; }
  .scene * { animation: none !important; }
}
@media print {
  .story-stage, .story-dots, .flip-all-row { display: none !important; }
  .story.live { height: auto; }
  .story.live .story-list { position: static; width: auto; height: auto; clip: auto; white-space: normal; }
}

/* =====================================================================
   Inspiration layer: accent words, glowing horizon, icon cards,
   numbered band, sector badges, gradient call to action
   ===================================================================== */
.hl { background: linear-gradient(90deg, var(--aqua), var(--teal) 45%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .hl { color: var(--aqua); } }
.hero h1 .hl { text-shadow: none; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55)); }

/* Hero: a dark planet edge with a teal-to-violet glow, under the text */
.hero { padding-bottom: clamp(110px, 14vw, 190px); }
.hero-inner { position: relative; z-index: 1; }
.horizon { position: absolute; left: 50%; bottom: calc(-170vw + clamp(70px, 9vw, 130px)); width: 170vw; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 0%, #061a1b, #000 30%); box-shadow: 0 -1px 0 rgba(95, 230, 220, 0.95), 0 -10px 40px rgba(0, 178, 173, 0.7), 0 -40px 120px rgba(160, 147, 255, 0.55), 0 -90px 240px rgba(160, 147, 255, 0.25); z-index: 0; pointer-events: none; animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { from { filter: brightness(0.85); } to { filter: brightness(1.15); } }
@media (max-width: 700px) { .horizon { width: 260vw; bottom: calc(-260vw + 70px); } }

/* Icon cards, with one picked out */
.icards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.icard { margin: 0; max-width: none; padding: 28px 24px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.icard:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 18px 50px -20px rgba(0, 178, 173, 0.5); }
.icard h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.icard p { font-size: 0.93rem; margin: 0; }
.icard .ic-tag { color: var(--muted); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 6px; }
.icard.feature { background: linear-gradient(160deg, #5fe6dc, #00b2ad 55%, #079c98); border-color: transparent; color: #001312; box-shadow: 0 24px 60px -24px rgba(0, 178, 173, 0.75); }
.icard.feature h3, .icard.feature p { color: #000; }
.icard.feature .ic-tag { color: #00302e; }
.icard.feature .ic { background: #000; color: var(--aqua); border-color: #000; }
.ic { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 50%; border: 1px solid rgba(95, 230, 220, 0.5); background: radial-gradient(circle, rgba(0, 178, 173, 0.28), rgba(0, 178, 173, 0.05) 70%); color: var(--aqua); box-shadow: 0 0 24px rgba(0, 178, 173, 0.25); }
.icards .icard:nth-child(2) .ic { color: var(--violet); border-color: rgba(160, 147, 255, 0.55); background: radial-gradient(circle, rgba(160, 147, 255, 0.25), rgba(160, 147, 255, 0.04) 70%); box-shadow: 0 0 24px rgba(160, 147, 255, 0.25); }
.icards .icard:nth-child(3) .ic { color: var(--amber); border-color: rgba(255, 194, 94, 0.5); background: radial-gradient(circle, rgba(247, 148, 29, 0.22), rgba(247, 148, 29, 0.04) 70%); box-shadow: 0 0 24px rgba(247, 148, 29, 0.2); }
.icards .icard:nth-child(4) .ic { color: var(--coral); border-color: rgba(255, 122, 107, 0.5); background: radial-gradient(circle, rgba(255, 122, 107, 0.2), rgba(255, 122, 107, 0.04) 70%); box-shadow: 0 0 24px rgba(255, 122, 107, 0.2); }
@media (max-width: 1000px) { .icards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .icards { grid-template-columns: 1fr; } }

/* Numbered reasons */
.numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.numbered li { margin: 0; max-width: none; padding: 26px 24px; border-radius: 16px; border: 1px solid rgba(160, 147, 255, 0.35); background: rgba(29, 24, 70, 0.45); }
.numbered .n { display: block; font-family: var(--head); font-weight: 600; font-size: 2.6rem; line-height: 1; margin-bottom: 18px; background: linear-gradient(180deg, #fff, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbered h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.numbered p { font-size: 0.93rem; margin: 0; }
@media (max-width: 1000px) { .numbered { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .numbered { grid-template-columns: 1fr; } }

/* Sector badges */
.sectors { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px clamp(24px, 5vw, 64px); }
.sectors li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 0.9rem; font-weight: 500; max-width: 9rem; }
.sectors .ic { margin: 0; width: 72px; height: 72px; }
.sectors li:nth-child(2) .ic { color: var(--amber); border-color: rgba(255, 194, 94, 0.5); }
.sectors li:nth-child(3) .ic { color: var(--violet); border-color: rgba(160, 147, 255, 0.55); }
.sectors li:nth-child(4) .ic { color: var(--orange); border-color: rgba(247, 148, 29, 0.5); }

/* Gradient call to action */
.cta-wrap { background: #000; }
.cta-panel { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px); border-radius: 24px; background: linear-gradient(120deg, #006a67 0%, #0a5c72 38%, #2f2580 72%, #4f37a8 100%); box-shadow: 0 30px 80px -30px rgba(0, 178, 173, 0.6); }
.cta-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 220px at 85% 0%, rgba(247, 148, 29, 0.35), transparent 70%); pointer-events: none; }
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-panel .hl { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 4px; text-underline-offset: 0.18em; }
.cta-panel .lede { color: #f2fbfb; margin-inline: auto; }
.cta-panel .actions { justify-content: center; }
.btn-dark { background: #000; border-color: #000; color: #fff; }
.btn-dark:hover { background: #fff; border-color: #fff; color: #000; }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: #000; }
@media (prefers-reduced-motion: reduce) { .horizon { animation: none; } .icard { transition: none; } .icard:hover { transform: none; } }
@media print { .horizon { display: none; } .hl { color: #000; background: none; } }

/* Short visual summaries with the full text folded away */
.pressures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pressures li { margin: 0; max-width: none; padding: 26px 24px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)); }
.pressures h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.pressures p { font-size: 0.93rem; margin: 0; color: #dfe7e7; }
.pressures .pr-1 .ic { color: var(--coral); border-color: rgba(255, 122, 107, 0.5); }
.pressures .pr-2 .ic { color: var(--violet); border-color: rgba(160, 147, 255, 0.55); }
.pressures .pr-3 .ic { color: var(--amber); border-color: rgba(255, 194, 94, 0.5); }
@media (max-width: 860px) { .pressures { grid-template-columns: 1fr; } .pressures li { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: start; } .pressures .ic { grid-row: span 2; margin: 0; } }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.pillars li { margin: 0; max-width: none; padding: 28px 28px 8px; text-align: center; }
.pillars li + li { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.pillars .pl { display: block; font-family: var(--head); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; margin-bottom: 12px; }
.pillars li:nth-child(1) .pl { color: var(--aqua); } .pillars li:nth-child(2) .pl { color: var(--violet); } .pillars li:nth-child(3) .pl { color: var(--orange); }
.pillars p { margin: 0 auto; font-size: 0.97rem; max-width: 26ch; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } .pillars li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); } .pillars li { padding: 22px 8px; } }
.more { max-width: 46rem; margin: 32px auto 0; }
.more summary { cursor: pointer; width: fit-content; margin-inline: auto; padding: 0.5em 1.4em; border: 1px solid var(--line); border-radius: 999px; color: var(--teal); font-weight: 500; list-style: none; min-height: 44px; display: flex; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " +"; white-space: pre; }
.more[open] summary::after { content: " \2212"; }
.more-body { padding-top: 22px; }
