/* site.css - components the public site needs that geome.css does not yet have:
   primary navigation, wide home sections, logo strip, stat tiles and footer links.
   Tokens only. Candidates to move into the geome-design plugin. */

/* Images carry width and height for layout stability; let CSS widths keep the ratio */
img { height: auto; }

/* One left edge on every page: narrow text columns line up with the wide sections.
   Paragraphs and forms keep their own reading widths. */
.page-main { max-width: 1200px; padding-bottom: 0; }
.page-main .use-case-grid { max-width: none; }
.legal, .contact-form { max-width: 760px; }
.page-main .theme-card { max-width: none; margin-top: 0; }

/* Page titles fill the content width, with no orphaned words; the centred home statement stays balanced */
.hero h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.14; text-wrap: pretty; }
.statement h1 { text-wrap: balance; }
/* Titles break between phrases, never inside one; on phones they wrap freely and balanced */
@media (min-width: 761px) { .hero h1 .ph, .statement h1 .ph { white-space: nowrap; } }
@media (max-width: 760px) { .hero h1 { text-wrap: balance; } }

/* Standard section spacing: 72px between top-level blocks, whatever the column type */
.wide + .page-main, .map-stage + .page-main, .map-fallback + .page-main { margin-top: 72px; padding-top: 0; }
.wide + .page-main > .section:first-child { padding-top: 0; }
.page-main > .section + .section { padding-top: 48px; }

/* Standard paragraph: dim body text, reading width only, never centred or offset */
.narrative p, .narrative p:first-child { color: var(--text-dim); max-width: 760px; }
/* The overview is the page's lead statement: two-tone like the headings, on the same left edge */
#overview { padding-top: 0; }
#overview .narrative p:first-child { max-width: 960px; font-size: clamp(19px, 1.85vw, 26px); font-weight: 300; line-height: 1.34; text-wrap: balance; color: var(--text-faint); }
#overview .narrative p:first-child .lead { color: var(--text); }

/* --- Primary navigation ---------------------------------------------------- */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--glass); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--glass); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-menu { display: none; position: relative; }
.nav-menu > summary { list-style: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}
.nav-menu-panel a { padding: 10px 14px; border-radius: var(--radius-xs); font-size: 14px; color: var(--text-dim); }
.nav-menu-panel a:hover { color: var(--text); background: var(--glass); }

@media (max-width: 900px) {
  .nav-links, .nav-actions .nav-contact { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 16px 20px; }
}

/* --- Wide sections (home and hub pages) ------------------------------------- */
.wide { max-width: 1200px; margin: 72px auto 0; padding: 0 32px; }
.wide .cards-head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 300; line-height: 1.12; margin-bottom: 18px; }
.statement .actions, .hero .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.hero .actions { justify-content: flex-start; }
.statement { padding-top: 72px; padding-bottom: 24px; }

/* --- Closing call to action (home) ------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 44px 48px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cta-band .aur { position: absolute; border-radius: 50%; filter: blur(56px); pointer-events: none; }
.cta-band .c1 { width: 360px; height: 300px; background: var(--aurora-purple); top: -150px; left: -90px; }
.cta-band .c2 { width: 340px; height: 280px; background: var(--aurora-teal); bottom: -170px; right: -60px; }
.cta-band .lead { color: var(--text); }
.cta-band .rest { color: var(--text-faint); }
/* Closing bands break between the two sentences, never inside one */
.cta-band h2 .lead, .cta-band h2 .rest { display: block; }
.cta-band h2 { position: relative; font-size: clamp(22px, 2.6vw, 26px); font-weight: 300; line-height: 1.2; max-width: 760px; text-wrap: balance; }
.cta-actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; padding: 32px 28px; }
  .cta-band h2 { text-wrap: pretty; }
  .cta-actions { justify-content: flex-start; }
}

/* --- Cards with an image on top ------------------------------------------------ */
.image-card { display: flex; flex-direction: column; padding-top: 12px; }
.image-card .card-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--glass-border); margin-bottom: 12px; }

/* --- Slim full-width note card ------------------------------------------------- */
.slim-card {
  margin-top: 14px; padding: 16px 22px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  font-size: 14.5px; font-weight: 300; color: var(--text-dim); line-height: 1.5;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.slim-card b { font-weight: 500; color: var(--text); }
.slim-card a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* --- Featured capability band ------------------------------------------------ */
.feature-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px;
  padding: 36px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.feature-band .aur { position: absolute; border-radius: 50%; filter: blur(56px); pointer-events: none; }
.feature-band .c1 { width: 340px; height: 300px; background: var(--aurora-teal); top: -150px; left: -90px; }
.feature-band .c2 { width: 320px; height: 280px; background: var(--aurora-purple); bottom: -170px; right: -60px; }
.feature-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.feature-text h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 300; line-height: 1.2; text-wrap: balance; }
.feature-text .lead { color: var(--text); }
.feature-text .rest { color: var(--text-faint); }
.feature-text p { font-size: 15px; font-weight: 300; color: var(--text-dim); line-height: 1.6; }
.feature-text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.feature-shot { position: relative; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--glass-border); }
@media (max-width: 860px) { .feature-band { grid-template-columns: 1fr; padding: 28px; } }

/* --- Stat tiles ----------------------------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.stat b { display: block; font-size: 34px; font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-dim); }

/* --- Client logo strip ------------------------------------------------------------ */
.logo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.logo-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 14px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}
.logo-strip img { max-height: 34px; max-width: 100%; width: auto; }

/* --- Partner badges ------------------------------------------------------------------- */
.badge-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 14px 0 16px; }
.badge-row img { height: 96px; width: auto; }

/* --- Footer links ---------------------------------------------------------------------- */
.site-footer { margin-top: 96px; }
.footer-inner { flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text-dim); }
.footer-meta {
  max-width: 1200px; margin: 0 auto; padding: 0 32px 24px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  font-size: 11.5px; color: var(--text-faint); line-height: 1.5;
}
.footer-legal { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-logo { flex: none; display: block; }
.footer-logo img { height: 28px; width: auto; }
@media (max-width: 720px) { .footer-meta { flex-direction: column; align-items: flex-start; } }
.footer-offices { color: var(--text-dim); font-size: 12px; }

@media (max-width: 960px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wide { padding: 0 20px; margin-top: 56px; }
}

/* Grids sized to their item counts */
.wide .asset-grid { grid-template-columns: repeat(3, 1fr); }
.wide .asset-grid.four { grid-template-columns: repeat(4, 1fr); }
.logo-strip { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 960px) {
  .wide .asset-grid, .wide .asset-grid.four { grid-template-columns: repeat(2, 1fr); }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .wide .asset-grid, .wide .asset-grid.four { grid-template-columns: 1fr; }
}

/* --- Home ---------------------------------------------------------------- */
.statement h1 { max-width: 820px; margin-left: auto; margin-right: auto; }
.statement .subline { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 16px; line-height: 1.6; }
/* Client logos as one quiet band: no tiles, muted, two rows of nine */
.logo-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px 24px;
  list-style: none;
  padding: 26px 8px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.logo-row li { display: flex; align-items: center; justify-content: center; height: 44px; }
.logo-row img { max-height: 26px; max-width: 100%; width: auto; opacity: 0.6; transition: opacity 0.2s ease; }
.logo-row li:hover img { opacity: 1; }
/* Monochrome logo wall: soft white in dark, soft charcoal in light; full colour on hover */
.logo-row img { transition: opacity 0.2s ease, filter 0.2s ease; }
.logo-row img.logo-dark { filter: brightness(0) invert(1); opacity: 0.7; }
.logo-row img.logo-light { filter: brightness(0); opacity: 0.6; }
.logo-row li:hover img.logo-dark, .logo-row li:hover img.logo-light { filter: none; opacity: 1; }
/* Logos that need a purpose-made single-colour file: show it, swap to colour on hover */
.logo-row li.mono img.logo-mono { opacity: 0.7; }
[data-theme="light"] .logo-row li.mono img.logo-mono { filter: brightness(0); opacity: 0.6; }
.logo-row li.mono img.logo-light, .logo-row li.mono img.logo-dark { display: none; }
.logo-row li.mono:not(.still):hover img.logo-mono { display: none; }
/* Boxed marks (AA, Bupa, NatWest): the colour file is a different shape, so hover just brightens */
.logo-row li.mono.still:hover img.logo-mono { opacity: 1; }
:root:not([data-theme="light"]) .logo-row li.mono:not(.still):hover img.logo-dark { display: block; }
[data-theme="light"] .logo-row li.mono:not(.still):hover img.logo-light { display: block; }
#clients { margin-top: 48px; }
.ai-line { margin-top: 22px; font-size: 14.5px; font-weight: 300; color: var(--text-dim); line-height: 1.6; text-wrap: pretty; }
.ai-line a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: center; }
.why-text { font-size: 15.5px; font-weight: 300; color: var(--text-dim); line-height: 1.6; }
.asset-card { color: inherit; text-decoration: none; }
@media (max-width: 960px) {
  .logo-row { grid-template-columns: repeat(6, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo-row { grid-template-columns: repeat(3, 1fr); }
}
.blocks-side { display: flex; flex-direction: column; gap: 22px; }
.blocks-side .blocks-col { flex: none; }
#changed .narrative { margin: 0; }
#changed .narrative p { max-width: none; color: var(--text-dim); }
.licence-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.licence-grid.four { grid-template-columns: repeat(4, 1fr); }
.licence-grid.three { grid-template-columns: repeat(3, 1fr); }
.licence-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1040px) { .licence-grid, .licence-grid.four, .licence-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .licence-grid, .licence-grid.four, .licence-grid.three, .licence-grid.two { grid-template-columns: 1fr; } }
.use-case-grid.pairs { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .use-case-grid.pairs { grid-template-columns: 1fr; } }

/* --- Product area pages ------------------------------------------------------------- */
.wide .asset-grid.pairs { grid-template-columns: repeat(2, 1fr); }
.wide .asset-grid.single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.section .actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .wide .asset-grid.pairs { grid-template-columns: 1fr; }
}

/* --- Contact form ------------------------------------------------------------------------ */
.contact-form { display: grid; gap: 16px; max-width: 700px; margin-top: 24px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { display: grid; gap: 6px; font-size: 13.5px; color: var(--text-dim); }
.contact-form .field em { font-style: normal; color: var(--text-faint); }
.contact-form input, .contact-form textarea {
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent, var(--text-dim)); }
.contact-form button { justify-self: start; font-family: inherit; cursor: pointer; }
.contact-form button:disabled { opacity: 0.6; cursor: progress; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; color: var(--accent-red); }
.form-success { margin-top: 24px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
a[href^="tel:"] { white-space: nowrap; }
.contact-layout .contact-form { margin-top: 0; }
.contact-layout .form-success { margin-top: 0; }
.contact-panel h2 { margin-bottom: 14px; font-size: 18px; font-weight: 400; color: var(--text); }
.contact-panel h3 { margin-top: 14px; font-size: 13px; font-weight: 500; color: var(--text-faint); }
.contact-panel a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form .field-row { grid-template-columns: 1fr; } }

/* --- Legal pages ---------------------------------------------------------------------------- */
.legal { max-width: 700px; }
.legal p, .legal li { font-weight: 300; font-size: 15px; color: var(--text-dim); }
.legal p + p, .legal ul + p, .legal p + ul, .legal h3 + p { margin-top: 10px; }
.legal h3 { font-size: 15px; font-weight: 400; color: var(--text); margin-top: 20px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li + li { margin-top: 4px; }
.legal a, .narrative a { text-decoration: underline; text-underline-offset: 3px; }

/* --- Ecosystem radial (home and Google Maps Platform hub) --------------------
   Ported from the GTM Map (geome-gmp-gtm site/src/css/site.css) with the
   internal panel content removed. The eight building blocks surround the
   Google Maps Platform hub; the legend previews the block under the pointer. */
:root {
  --node-fill: rgba(255, 255, 255, 0.06);
  --ring-faint: rgba(255, 255, 255, 0.08);
}
[data-theme="light"] {
  --node-fill: rgba(255, 255, 255, 0.85);
  --ring-faint: rgba(60, 90, 180, 0.18);
}

.map-stage {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: stretch;
}
.map-card, .legend-card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.map-card { display: flex; align-items: center; justify-content: center; }
.map-card .aur { position: absolute; border-radius: 50%; filter: blur(52px); pointer-events: none; }
.map-card .m1 { width: 340px; height: 320px; background: var(--aurora-purple); top: -110px; left: -80px; }
.map-card .m2 { width: 320px; height: 300px; background: var(--aurora-teal); bottom: -110px; right: -70px; }
.map-card .m3 { width: 280px; height: 260px; background: var(--aurora-orange); bottom: -100px; left: 24%; }
#radial-mount { position: relative; width: 100%; }

.legend-card { padding: 24px; }
.legend-aur {
  position: absolute;
  width: 260px; height: 240px;
  top: -90px; right: -70px;
  border-radius: 50%;
  filter: blur(52px);
  pointer-events: none;
  background: var(--aurora-purple);
  opacity: 0.8;
  transition: background 0.35s ease;
}
.legend-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); height: 100%; }
#legend-default, #legend-preview { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; }
#legend-default[hidden], #legend-preview[hidden] { display: flex !important; visibility: hidden; pointer-events: none; }
.legend-card h3 { font-size: 22px; font-weight: 400; }
.legend-tagline { font-size: 13.5px; font-weight: 300; color: var(--text-dim); }
.legend-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--glass-border); display: flex; flex-direction: column; gap: 10px; }
.legend-foot p { font-size: 12px; color: var(--text-faint); line-height: 1.55; }
.legend-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--glass-border); }
.legend-shot.contain { object-fit: contain; padding: 32px; background: var(--glass); }
.legend-badge img { height: 112px; width: auto; margin-bottom: -12px; }
.legend-badge[hidden] { display: none; }
.legend-delivers > span { display: block; font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.legend-delivers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.legend-delivers li { position: relative; padding-left: 14px; font-size: 12.5px; font-weight: 300; color: var(--text-dim); line-height: 1.45; }
.legend-delivers li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-faint); }
.legend-index { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 14px; border-top: 1px solid var(--glass-border); }
.legend-index a { font-size: 12.5px; color: var(--text-faint); text-decoration: none; }
.legend-index a:hover, .legend-index a:focus-visible { color: var(--text); }

.gtm-radial { width: 100%; height: auto; display: block; }
.gtm-radial .graticule { fill: none; stroke: var(--ring-faint); stroke-width: 1; }
.gtm-radial .connector { fill: none; stroke-width: 1; opacity: 0.85; transition: opacity 0.25s, stroke-width 0.25s; }
.gtm-radial .connector-glow { fill: none; stroke-width: 4; opacity: 0.4; filter: url(#glow); transition: opacity 0.25s; }
.gtm-radial .node-disc { fill: var(--node-fill); }
.gtm-radial .node-ring { fill: none; stroke-width: 1.4; transition: stroke-width 0.2s; }
.gtm-radial .node-short { fill: var(--text); font-weight: 500; text-anchor: middle; }
.gtm-radial .node-name { fill: var(--text-dim); font-size: 12px; font-weight: 400; }
.gtm-radial .hub-disc { fill: var(--glass); stroke: var(--glass-border); }
.gtm-radial .hub-label { fill: var(--text); font-weight: 500; text-anchor: middle; }
.gtm-radial .ring-band { fill: var(--glass); stroke: var(--glass-border); stroke-width: 1; transition: fill 0.2s, stroke 0.2s; }
.gtm-radial .ring:hover .ring-band, .gtm-radial .ring:focus .ring-band { fill: var(--glass-hover); stroke: var(--text-dim); }
.gtm-radial .ring-label { fill: var(--text-faint); font-weight: 500; letter-spacing: 0.14em; }
.gtm-radial .hub .hub-disc { transition: fill 0.2s, stroke 0.2s; }
.gtm-radial .hub:hover .hub-disc, .gtm-radial .hub:focus .hub-disc { fill: var(--glass-hover); stroke: var(--text-dim); }
.gtm-radial .node:hover .node-ring, .gtm-radial .node:focus .node-ring, .gtm-radial .node.current .node-ring { stroke-width: 2.4; }
.gtm-radial .node.current .node-disc { fill: var(--glass-hover); }
.gtm-radial .node:focus { outline: none; }
.gtm-radial .node:focus .node-disc { stroke: var(--text); stroke-width: 1; }

@keyframes draw-line { to { stroke-dashoffset: 0; } }
.gtm-radial .connector.draw {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-line 0.9s ease-out forwards;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gtm-radial .draw-in { opacity: 0; animation: fade-up 0.7s ease-out forwards; }

/* The same eight blocks as a list: the no-JS and narrow-screen form of the
   radial, and the "where you are" rail at the top of each building-block page. */
.block-list { display: grid; grid-template-columns: 1fr; gap: 8px; list-style: none; padding: 0; }
.block-list a {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px;
  color: inherit; text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease;
}
.block-list a:hover, .block-list a:focus-visible { background: var(--glass-hover); }
.bl-thumb { width: 76px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid var(--glass-border); display: block; }
.bl-thumb.contain { object-fit: contain; padding: 8px; background: var(--glass); }
.bl-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.block-list b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.block-list b::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--text-faint)); }
.block-list .bl-hub b::before { display: none; }
.block-list .bl-text > span { font-size: 12.5px; font-weight: 300; color: var(--text-dim); line-height: 1.4; }
.block-list .bl-hub a { margin-bottom: 4px; }
.block-list a[aria-current="page"] { background: var(--glass-hover); }

.block-rail { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.block-rail a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  font-size: 12.5px; font-weight: 400;
  color: var(--text-dim);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
}
.block-rail a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--text-faint)); }
.block-rail a:hover { color: var(--text); border-color: var(--accent); }
.block-rail a[aria-current="page"] { color: var(--text); background: var(--glass-hover); border-color: var(--accent); }

.map-fallback { display: none; max-width: 1200px; margin: 40px auto 0; padding: 0 32px; }
@media (max-width: 960px) {
  .map-stage { grid-template-columns: 1fr; }
  .legend-card { min-height: 0; }
}
@media (max-width: 720px) {
  .map-stage { display: none; }
  .map-fallback { display: block; padding: 0 20px; }
}
html.no-js .map-stage { display: none; }
html.no-js .map-fallback { display: block; }

@media (prefers-reduced-motion: reduce) {
  .gtm-radial .connector.draw { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .gtm-radial .draw-in { animation: none; opacity: 1; }
}

/* --- Home: building blocks band -------------------------------------------------------- */
.blocks-band { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.blocks-col {
  padding: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.blocks-col h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.blocks-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.blocks-col li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; }
.blocks-col li b { font-weight: 500; color: var(--text); min-width: 150px; }
.blocks-col li span { font-weight: 300; color: var(--text-dim); }
.blocks-col.then li b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--text-faint); margin-right: 10px; vertical-align: 1px; }
.blocks-col.now li b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--text)); margin-right: 10px; vertical-align: 1px; }
.blocks-band + .narrative { margin-top: 22px; }
@media (max-width: 800px) {
  .blocks-band { grid-template-columns: 1fr; }
  .blocks-col li { flex-direction: column; gap: 2px; }
  .blocks-side { display: contents; }
  #changed .narrative { order: 1; }
}

/* --- Three-step method cards ------------------------------------------------------- */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method-card {
  padding: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.method-card .step { font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent, var(--text-faint)); }
.method-card h3 { font-size: 17px; font-weight: 400; margin-top: 6px; color: var(--text); }
.method-card p { font-size: 13.5px; font-weight: 300; color: var(--text-dim); margin-top: 8px; line-height: 1.5; }
@media (max-width: 800px) { .method-grid { grid-template-columns: 1fr; } }

/* --- Flagship and building-block pages ---------------------------------------- */
/* A framed screenshot that spans the wide column, with an optional caption. */
.shot-frame {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame figcaption {
  display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap;
  padding: 12px 18px;
  border-top: 1px solid var(--glass-border);
  font-size: 13px; font-weight: 300; color: var(--text-dim);
}
.shot-frame figcaption b { font-weight: 500; color: var(--text); }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shot-pair .shot-frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.wide.tight { margin-top: 28px; }
.stat-row.three { grid-template-columns: repeat(3, 1fr); }
.hero .block-rail { margin-top: 22px; }
@media (max-width: 800px) {
  .shot-pair { grid-template-columns: 1fr; }
  .stat-row.three { grid-template-columns: 1fr; }
}
.nowrap { white-space: nowrap; }

/* --- Pill nav: keep 4.5:1 where the bar crosses a bright aurora ---------------- */
.pill-nav a:not(.active) { color: var(--text); }
.pill-nav { scrollbar-width: none; }
.pill-nav::-webkit-scrollbar { display: none; }
.legend-card .pill.tag { color: var(--text); }

/* --- Skip link (visible on keyboard focus) ---------------------------------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--text); color: var(--bg, #0c0d11);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* --- About: people, key facts, questions ---------------------------------------- */
.person-card { display: flex; flex-direction: row; gap: 16px; align-items: center; }
.hero + #overview { margin-top: 48px; }
.person-card img { width: 96px; height: 96px; flex: none; border-radius: 12px; object-fit: cover; }
.person-card h3 { margin-bottom: 4px; }
.person-card a { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.facts-table { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 15px; font-weight: 300; }
.facts-table th, .facts-table td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--glass-border); }
.facts-table th { width: 170px; font-weight: 500; color: var(--text); }
.facts-table td { color: var(--text-dim); }
.facts-table a, .foot-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.faq-list { max-width: 760px; }
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--glass-border); }
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { margin-bottom: 6px; font-size: 16px; font-weight: 500; }
.faq-item p { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--text-dim); }
.foot-note { margin-top: 24px; font-size: 14px; font-weight: 300; color: var(--text-dim); }

/* Accessibility fixes, November 2026 */
[data-theme="light"] .asset-scrim { background: linear-gradient(180deg, rgba(6, 7, 9, 0.2) 15%, rgba(6, 7, 9, 0.92) 70%); }
[data-theme="light"] .asset-card .pill.tag { background: rgba(10, 11, 14, 0.78); }
.gtm-radial .node:focus-visible { filter: drop-shadow(0 0 7px var(--text)); }
.gtm-radial .node:focus-visible .node-ring { stroke-width: 5; }
.gtm-radial .node:focus-visible .node-disc { stroke: var(--text); stroke-width: 3; }
.gtm-radial .node.ring:focus-visible .ring-band, .gtm-radial .node.hub:focus-visible .hub-disc { stroke: var(--text); stroke-width: 3; }
.form-success:focus { outline: none; }
:root:not([data-theme="light"]) { --text-faint: #9ba0ae; }
[data-theme="light"] { --text-faint: #575e6a; }
:root:not([data-theme="light"]) .pill.tag, :root:not([data-theme="light"]) .block-list .bl-text > span { color: #b3b8c4; }
:root:not([data-theme="light"]) .legend-card .pill.tag { color: var(--text); }
:root:not([data-theme="light"]) .asset-card .pill.tag { color: #eceef2; }
:root:not([data-theme="light"]) .nav-menu-panel a { color: #c4c8d2; }
:root:not([data-theme="light"]) .nav-menu-panel a:hover { color: var(--text); }
[data-theme="light"] .method-card .step { color: color-mix(in srgb, var(--accent, var(--text-faint)) 86%, #000); }

/* Home "What's new" section */
.cards-intro { margin: -4px 0 22px; max-width: 780px; font-size: 14.5px; font-weight: 300; color: var(--text-dim); line-height: 1.6; text-wrap: pretty; }
.card .card-shot { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--glass-border); }
:root:not([data-theme="light"]) #whats-new .pill.tag { color: var(--text); }
