@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('fonts/Montserrat-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('fonts/Montserrat-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('fonts/Montserrat-ExtraBold.woff2') format('woff2'); }
:root {
  --navy: #011b32;
  --navy-2: #072a4a;
  --navy-tint: #123e66;
  --teal: #01e4cd;
  --teal-soft: #7ef7e8;
  --blue: #01acfd;
  --text-blue: #0068a8;
  --text-teal: #00796b;
  --paper: #f7fafc;
  --mist: #eef4f8;
  --slate: #3e5568;
  --ink: #1f3447;
  --white: #ffffff;
  --muted: #96acc0;
  --rule: rgba(1, 27, 50, 0.14);
  --rule-strong: rgba(1, 27, 50, 0.28);
  --radius: 16px;
  --wrap: 1140px;
  --font-body: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: Montserrat, system-ui, -apple-system, Arial, sans-serif;
  --shadow-static: 0 2px 6px rgba(1, 27, 50, 0.06), 0 8px 20px -6px rgba(1, 27, 50, 0.1);
  --shadow-card: inset 0 1px 0 0 rgba(255, 255, 255, 0.95), 0 4px 0 0 var(--navy), 3px 4px 0 0 var(--navy), 0 10px 22px -4px rgba(1, 27, 50, 0.16), 0 20px 34px -10px rgba(1, 27, 50, 0.12);
  --shadow-card-hover: inset 0 1px 0 0 rgba(255, 255, 255, 1), 0 5px 0 0 var(--text-teal), 5px 6px 0 0 var(--navy), 0 18px 32px -4px rgba(1, 27, 50, 0.22), 0 28px 48px -10px rgba(1, 27, 50, 0.2);
  --shadow-dark-card: inset 0 1px 0 0 rgba(238, 244, 248, 0.16), 0 4px 0 0 #000c17, 3px 4px 0 0 rgba(1, 228, 205, 0.25), 0 14px 28px -6px rgba(0, 0, 0, 0.55);
  --shadow-dark-card-hover: inset 0 1px 0 0 rgba(238, 244, 248, 0.28), 0 5px 0 0 var(--teal), 5px 6px 0 0 rgba(0, 0, 0, 0.75), 0 22px 42px -6px rgba(0, 0, 0, 0.7);
  --rx: 2deg;
  --ry: -2deg;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--font-body); -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 65ch; }
a { color: var(--text-blue); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid #ffeb3b; outline-offset: 3px; box-shadow: 0 0 0 5px var(--navy); border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 700 .88rem/1.3 var(--font-display); color: var(--text-teal); margin-bottom: .5em; }
.intro { font-size: 1.0625rem; color: var(--slate); max-width: 62ch; margin-bottom: 34px; }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); color: var(--navy); padding: 8px 12px; z-index: 60; }
section { padding: 84px 0; }
section.alt { background: var(--mist); }

/* header — seamless at y=0, crisp separation on scroll */
.top { background: var(--navy); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: border-color .2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .2s cubic-bezier(0.22, 1, 0.36, 1), background-color .2s; }
.top.scrolled { background: rgba(1, 27, 50, 0.96); backdrop-filter: blur(10px); border-bottom-color: var(--navy-tint); box-shadow: 0 10px 28px rgba(1, 27, 50, 0.28); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand img { width: 58px; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--white); text-decoration: none; font: 700 .93rem var(--font-display); transition: color .18s; }
.top nav a:hover, .top nav a:focus { color: var(--teal); }
.top nav a.cta { border: 2px solid var(--teal); color: var(--teal); padding: 9px 16px; border-radius: 999px; transition: background .18s, color .18s, transform .18s; }
.top nav a.cta:hover { background: var(--teal); color: var(--navy); transform: translateY(-1px); }
.menu { display: none; background: rgba(255, 255, 255, 0.06); color: var(--white); border: 2px solid var(--muted); border-radius: 10px; padding: 8px 16px; font: 700 .95rem var(--font-display); cursor: pointer; }
.menu[aria-expanded="true"] { border-color: var(--teal); color: var(--teal); }

/* buttons */
.btn { display: inline-block; font: 700 1rem/1 var(--font-display); text-decoration: none; padding: 15px 24px; border-radius: 12px; border: 2px solid transparent; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--navy); box-shadow: 0 8px 20px rgba(1, 228, 205, 0.25); }
.btn-primary:hover, .btn-primary:focus { background: #5cf0e0; box-shadow: 0 12px 26px rgba(1, 228, 205, 0.35); }
.btn-ghost { color: var(--white); border-color: rgba(150, 172, 192, 0.7); }
.btn-ghost:hover, .btn-ghost:focus { border-color: var(--teal); color: var(--teal); background: rgba(1, 228, 205, 0.08); }
.btn-film { color: var(--teal-soft); border-color: var(--teal); background: rgba(1, 228, 205, 0.12); box-shadow: 0 6px 18px rgba(1, 228, 205, 0.18); }
.btn-film:hover, .btn-film:focus { background: var(--teal); color: var(--navy); box-shadow: 0 12px 26px rgba(1, 228, 205, 0.35); }
.btn-dark { background: var(--navy); color: var(--white); box-shadow: 0 4px 12px rgba(1, 27, 50, 0.16); }
.btn-dark:hover, .btn-dark:focus { background: var(--navy-tint); box-shadow: 0 8px 18px rgba(1, 27, 50, 0.24); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero */
.hero { position: relative; background: radial-gradient(1100px 520px at 82% 24%, #0d4473 0%, #03223e 45%, var(--navy) 75%); color: var(--white); padding: 68px 0 108px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: 44px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.3vw, 3.25rem); }
.hero h1 span { background: linear-gradient(90deg, var(--teal), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: var(--teal); }
.hero .lead { font-size: 1.16rem; color: #d7e4ef; max-width: 34em; }
.pulse { position: absolute; left: 0; right: 0; bottom: 58px; width: 100%; height: 74px; opacity: .24; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.pulse path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: draw 6s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1800; } 60%, 100% { stroke-dashoffset: 0; } }

/* prompt cycle wheel */
.wheel { justify-self: center; width: min(410px, 100%); }
.wheel svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 34px rgba(0, 12, 24, 0.4)); }
.wheel .ring { fill: none; stroke: var(--navy-tint); stroke-width: 2.5; }
.wheel .ring-dash { fill: none; stroke: var(--teal); stroke-width: 3.5; stroke-dasharray: 96 710; stroke-linecap: round; transform-origin: 180px 180px; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel .node { cursor: pointer; }
.wheel .node circle { fill: var(--navy-2); stroke: var(--blue); stroke-width: 2.2; transition: stroke .2s, fill .2s, filter .2s; animation: nodeGlow 8s linear infinite; }
.wheel .node text { fill: var(--white); font: 700 11.5px var(--font-display); text-anchor: middle; pointer-events: none; }
.wheel .node:hover circle { stroke: var(--teal); fill: #0d3a63; }
.wheel .n2 circle { animation-delay: 2s; }
.wheel .n3 circle { animation-delay: 4s; }
.wheel .n4 circle { animation-delay: 6s; }
@keyframes nodeGlow {
  0%, 22% { stroke: var(--teal); filter: drop-shadow(0 0 10px rgba(1, 228, 205, 0.55)); }
  26%, 100% { stroke: var(--blue); filter: none; }
}
.wheel .core { fill: var(--teal); filter: drop-shadow(0 8px 20px rgba(1, 228, 205, 0.35)); }
.wheel .core-t { fill: var(--navy); font: 800 14.5px var(--font-display); text-anchor: middle; }
.wheel .core-t.sm { font-size: 11.5px; font-weight: 700; }

/* stats */
.stats { padding: 0; background: var(--paper); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #d5e2ed; border: 1.5px solid var(--navy); border-radius: var(--radius); overflow: hidden; transform: translateY(-42px); box-shadow: var(--shadow-card); }
.stats div { background: var(--white); padding: 22px 22px; }
.stats strong { display: block; font: 800 1.55rem var(--font-display); font-variant-numeric: tabular-nums; color: var(--navy); margin-bottom: 2px; }
.stats span { color: var(--slate); font-size: .93rem; line-height: 1.4; display: block; }

/* 3D card system */
.cards { display: grid; gap: 24px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform .16s ease-out, box-shadow .2s cubic-bezier(0.22, 1, 0.36, 1), border-color .2s;
}
.card:hover,
.card:focus-within {
  border-top-color: var(--text-teal);
  box-shadow: var(--shadow-card-hover);
  transform: perspective(850px) translateY(-6px) rotateX(var(--rx, 2deg)) rotateY(var(--ry, -2deg));
}
.card h3 { transition: transform .18s ease-out; }
.card:hover h3 { transform: translateZ(12px); }
.card p { color: var(--slate); }
.card .btn { margin-top: auto; }
.card.link { text-decoration: none; color: inherit; cursor: pointer; }
.card.link:hover, .card.link:focus { border-color: var(--navy); border-top-color: var(--teal); }
.cards.ai .card { border-left: 5px solid var(--blue); border-top-width: 1.5px; }
.cards.ai .card:hover { border-left-color: var(--teal); }
.pillar { border-top: 5px solid var(--teal); }
.card .go { margin-top: auto; font: 700 .95rem var(--font-display); color: var(--text-blue); display: inline-flex; align-items: center; gap: 6px; }
.card .go::after { content: "\2192"; display: inline-block; transition: transform .18s ease-out; }
.card.link:hover .go { color: var(--text-teal); }
.card.link:hover .go::after { transform: translateX(4px); }
.tag-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.tag-row .tag { margin-bottom: 0; }
.tag { display: inline-block; font: 700 .86rem/1.2 var(--font-display); color: var(--text-teal); margin-bottom: 8px; }
.tag-subtle { color: var(--slate); font-weight: 600; }

/* prompt cycle explorer — tactile 3D step tabs */
.cycle { background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 14px; background: var(--navy); border-bottom: 1px solid var(--navy-tint); }
.steps button {
  background: var(--navy-2);
  border: 1.5px solid var(--navy-tint);
  border-radius: 12px;
  color: #d7e4ef;
  padding: 16px 18px;
  font: 700 1rem var(--font-display);
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 5px 0 #000c17, 0 10px 18px rgba(0, 0, 0, 0.35);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform .16s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .16s cubic-bezier(0.22, 1, 0.36, 1), border-color .16s, background-color .16s, color .16s;
}
.steps button:hover {
  background: #0b3760;
  border-color: var(--blue);
  color: var(--white);
  transform: perspective(650px) translateY(-3px) rotateX(var(--rx, 3deg)) rotateY(var(--ry, -2deg));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 7px 0 #000c17, 0 14px 24px rgba(0, 0, 0, 0.45);
}
.steps button:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 0 #000c17, 0 4px 10px rgba(0, 0, 0, 0.35);
}
.steps button small { display: block; font: 400 .85rem var(--font-body); color: var(--muted); margin-top: 4px; transition: color .16s; }
.steps button[aria-selected="true"] {
  color: var(--white);
  background: linear-gradient(180deg, #0d3c68 0%, #072a4a 100%);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(1, 228, 205, 0.42), 0 5px 0 var(--teal), 0 12px 24px rgba(1, 228, 205, 0.24);
}
.steps button[aria-selected="true"]:hover {
  transform: perspective(650px) translateY(-4px) rotateX(var(--rx, 3deg)) rotateY(var(--ry, -2deg));
  box-shadow: inset 0 1px 0 rgba(1, 228, 205, 0.52), 0 7px 0 var(--teal), 0 16px 28px rgba(1, 228, 205, 0.32);
}
.steps button[aria-selected="true"] small { color: var(--teal-soft); font-weight: 600; }
.panels { padding: 30px; }
.panels p { margin-bottom: 14px; }
.before, .after { border-radius: 12px; padding: 16px 20px; font-size: 1.04rem; }
.before { background: #f3f7fa; color: var(--slate); border: 1px solid #dce6ef; }
.after { background: #e6fbf8; color: var(--navy); border-left: 5px solid var(--teal); border-top: 1px solid #bceee7; border-right: 1px solid #bceee7; border-bottom: 1px solid #bceee7; }
.before span, .after span { display: block; font: 700 .74rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; color: var(--text-teal); }
.before span { color: var(--slate); }
.why { font-weight: 700; color: var(--navy); margin-bottom: 0; }

/* feature spotlight */
.feature {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #e7f7fb 100%);
  border: 1.5px solid var(--navy);
  border-top: 5px solid var(--teal);
  border-radius: 22px;
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform .18s ease-out, box-shadow .2s ease-out;
}
.feature:hover {
  box-shadow: var(--shadow-card-hover);
  transform: perspective(1000px) translateY(-4px) rotateX(var(--rx, 1deg)) rotateY(var(--ry, -1deg));
}
.feature img { max-width: 260px; justify-self: center; filter: drop-shadow(0 20px 30px rgba(1, 27, 50, 0.25)); transition: transform .25s ease-out; }
.feature:hover img { transform: translateZ(18px) scale(1.02); }
.feature h3 { font-size: 1.65rem; }

/* dark section and roadmap */
section.dark { background: radial-gradient(900px 420px at 15% 10%, #09355c 0%, var(--navy) 65%); color: #d7e4ef; }
section.dark h2, section.dark h3 { color: var(--white); }
section.dark .eyebrow { color: var(--teal); }
section.dark .intro { color: #c3d3e1; }
section.dark .small { color: var(--muted); margin-top: 28px; }
.road { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.road::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 52%, var(--blue) 74%, var(--navy-tint) 100%); opacity: .65; pointer-events: none; }
.road li {
  background: var(--navy-2);
  border: 1.5px solid var(--navy-tint);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
  box-shadow: var(--shadow-dark-card);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform .16s ease-out, box-shadow .2s ease-out, border-color .2s;
}
.road li:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-dark-card-hover);
  transform: perspective(850px) translateY(-6px) rotateX(var(--rx, 2deg)) rotateY(var(--ry, -2deg));
}
.road li::before { content: ""; position: absolute; top: -9px; left: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-tint); border: 3px solid var(--navy); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08); }
.road li.done::before { background: var(--teal); box-shadow: 0 0 12px rgba(1, 228, 205, 0.6); }
.road li.now::before { background: var(--blue); box-shadow: 0 0 12px rgba(1, 172, 253, 0.65); }
.road .state { display: inline-block; font: 700 .72rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.road li.now .state { color: #7ad7ff; }
.road li:not(.done):not(.now) .state { color: var(--muted); }
.road p { font-size: .95rem; margin: 0; color: #cfe0ee; }

/* team */
.group-heading { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin: 20px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #d5e2ed; }
.founder-card + .group-heading { margin-top: 44px; margin-bottom: 10px; }
.group-note { margin: 0 0 22px; font-size: 1rem; }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.team .person { flex: 0 1 calc((100% - 44px) / 3); }
@media (max-width: 960px) { .team .person { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 720px) { .team .person { flex-basis: 100%; } }
.person {
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform .16s ease-out, box-shadow .2s ease-out, border-color .2s;
}
.person:hover {
  border-top-color: var(--teal);
  box-shadow: var(--shadow-card-hover);
  transform: perspective(850px) translateY(-6px) rotateX(var(--rx, 2deg)) rotateY(var(--ry, -2deg));
}
.person h4 { font: 700 1.15rem/1.2 var(--font-display); color: var(--navy); margin: 0 0 .35em; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top center; background: var(--mist); border-radius: 50% 50% 18px 50%; border: 4px solid var(--mist); margin-bottom: 16px; transition: border-color .2s; }
.person:hover img { border-color: var(--teal); }
.person .role { font: 700 .86rem/1.35 var(--font-display); color: var(--text-teal); margin-bottom: 10px; }
.person p { font-size: .94rem; color: var(--slate); }
.person a { margin-top: auto; font: 700 .92rem var(--font-display); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.person a::after { content: "\2197"; font-size: .85em; }
.person a:hover { text-decoration: underline; }
.person.founder-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 22px;
  align-items: center;
  max-width: 640px;
  padding: 20px 24px;
  margin: 0;
}
.person.founder-card img { width: 128px; height: 128px; margin-bottom: 0; }
.founder-body { display: flex; flex-direction: column; align-items: flex-start; }
.founder-body p:last-of-type { margin-bottom: .6em; }
blockquote {
  margin: 48px auto 0;
  max-width: 820px;
  text-align: center;
  font: 700 clamp(1.18rem, 2.5vw, 1.55rem)/1.45 var(--font-display);
  color: var(--navy);
  background: var(--white);
  border: 1px solid #d5e2ed;
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-static);
}

/* partners */
#partners { padding: 56px 0; }
.logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.logos li { background: var(--white); border: 1px solid #cad9e6; border-left: 4px solid var(--navy); border-radius: 10px; padding: 13px 22px; font: 700 .98rem var(--font-display); color: var(--navy); box-shadow: var(--shadow-static); }

/* footer */
footer { background: var(--navy); color: #c3d3e1; padding: 52px 0; font-size: .92rem; border-top: 1px solid var(--navy-tint); }
footer a { color: var(--teal-soft); text-underline-offset: 3px; }
footer a:hover { color: var(--white); }
.foot { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; }

/* inner pages */
.doc { max-width: 780px; }
.doc h2 { font-size: 1.4rem; margin-top: 1.6em; }
.doc.wide { max-width: 1140px; }
.table-heading { font-size: 1.25rem; margin: 28px 0 12px; color: var(--navy); }
.tablewrap { overflow-x: auto; margin: 0 0 24px; background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-static); }
table.map { border-collapse: collapse; width: 100%; min-width: 820px; font-size: .95rem; }
table.map th, table.map td { padding: 13px 16px; border-top: 1px solid #d9e4ee; vertical-align: top; text-align: left; }
table.map thead th { background: var(--navy); color: var(--white); font-family: var(--font-display); border-top: 0; }
table.map tbody th { color: var(--navy); font-weight: 700; width: 22%; }
table.map tbody tr:nth-child(even) { background: #f8fbfd; }
.cov { display: inline-block; padding: 4px 11px; border-radius: 999px; font: 700 .78rem var(--font-display); white-space: nowrap; }
.cov.s { background: #c8f7f1; color: #00594f; }
.cov.p { background: #fff1c2; color: #6b4e00; }
.cov.g { background: #f1e3e3; color: #7a1f1f; }
.mapnote { font-weight: 700; margin-top: -12px; }

/* cookie consent banner — compact floating card + automatic footer clearance */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 980px;
  margin: 0 auto;
  z-index: 50;
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(1, 27, 50, 0.28);
  padding: 14px 18px;
}
.consent .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0; max-width: none; }
.consent p { margin: 0; flex: 1 1 380px; font-size: .9rem; line-height: 1.45; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { padding: 11px 16px; font-size: .88rem; cursor: pointer; border: 0; }
body:has(.consent) footer { padding-bottom: 148px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--text-blue); text-decoration: underline; font: inherit; cursor: pointer; }
footer .linkbtn { color: var(--teal-soft); }
table.cookies { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: .95rem; background: var(--white); }
table.cookies th, table.cookies td { border: 1px solid #d9e4ee; padding: 10px 12px; text-align: left; vertical-align: top; }
table.cookies thead th { background: var(--mist); }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap, .feature { grid-template-columns: 1fr; }
  .wheel { max-width: 340px; }
  .cards.three, .road, .team { grid-template-columns: 1fr 1fr; }
  .road::before { display: none; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu { display: block; }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--navy-tint); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35); }
  .top nav.open { display: flex; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0 88px; }
  .cards.three, .road, .team, .stats .wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
  .steps button { padding: 14px 12px; }
  .panels { padding: 20px; }
  .feature { padding: 24px; gap: 24px; }
  .feature img { max-width: 210px; }
  .person.founder-card { grid-template-columns: 1fr; gap: 14px; }
  .person.founder-card img { width: 120px; height: 120px; }
  .person img { max-width: 150px; }
  .foot { grid-template-columns: 1fr; }

  /* Mobile stacked cards for NHS Capability Framework table (zero clipping) */
  .tablewrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  table.map { min-width: 0; display: block; }
  table.map thead { display: none; }
  table.map tbody { display: grid; gap: 16px; }
  table.map tbody tr {
    display: block;
    background: var(--white) !important;
    border: 1.5px solid var(--navy);
    border-top: 4px solid var(--teal);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-static);
  }
  table.map tbody th {
    display: block;
    width: 100%;
    padding: 0 0 10px;
    border: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    border-bottom: 1px solid #d9e4ee;
    margin-bottom: 10px;
  }
  table.map tbody td {
    display: block;
    padding: 6px 0;
    border: 0;
    font-size: .92rem;
  }
  table.map tbody td::before {
    content: attr(data-label);
    display: block;
    font: 700 .72rem var(--font-display);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 3px;
  }

  /* Compact mobile cookie banner so hero CTAs stay visible */
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; }
  .consent p { font-size: .84rem; line-height: 1.38; }
  .consent-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .consent .btn { padding: 10px 8px; font-size: .8rem; text-align: center; }
  body:has(.consent) footer { padding-bottom: 190px; }
}

/* Fullscreen interactive film modal (delegates autoplay + sound to future.nursingcitizendevelopment.com) */
.film-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #04060d;
  animation: filmFadeIn .28s ease-out;
}
@keyframes filmFadeIn { from { opacity: 0; } to { opacity: 1; } }
.film-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.film-bar {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 102;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .85;
  transition: opacity .35s;
}
.film-bar:hover, .film-bar:focus-within { opacity: 1; }
.film-bar button, .film-bar a {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #22305e;
  background: rgba(6, 10, 24, 0.78);
  backdrop-filter: blur(10px);
  color: #eef3fa;
  font: 700 .78rem/1 var(--font-display);
  letter-spacing: .06em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.film-bar button:hover, .film-bar a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(12, 22, 48, 0.92);
}
