/* =====================================================================
   SUPERREALIS — corporate website
   prepared 2026-10-16 · revised 2026-10-16
   Palette and type follow the corporate image: Corporate Navy #212D43,
   heading navy #1C2A46, Copper #C58160 (rules and dividers only),
   Background #FEFEFE; Georgia for display, Montserrat for text.
   ===================================================================== */

:root {
  --navy: #212D43;
  --ink: #1C2A46;
  --navy-deep: #151E30;
  --navy-night: #0F1626;
  --copper: #C58160;
  --paper: #FEFEFE;
  --mist: #F4F3F0;
  --stone: #E6E4DF;
  --slate: #566176;
  --slate-light: #AEB6C5;
  --line: rgba(28, 42, 70, 0.14);
  --line-strong: rgba(28, 42, 70, 0.28);
  --line-dark: rgba(254, 254, 254, 0.14);
  --line-dark-strong: rgba(254, 254, 254, 0.28);
  --text-dark: rgba(254, 254, 254, 0.92);
  --text-dark-muted: rgba(254, 254, 254, 0.66);

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --section-y: clamp(80px, 11vw, 148px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 13px; }
.skip-link:focus { top: 12px; }

/* eyebrow: label text in navy/slate, copper used only as the rule */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  font-size: 11px; line-height: 1; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--copper); flex: none; }
.eyebrow--light { color: var(--slate-light); }

h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lead { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.38; color: var(--ink); }

/* buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 1px solid currentColor; border-radius: 0;
  background: transparent;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--ghost-light { color: var(--paper); border-color: var(--line-dark-strong); }
.btn--ghost-light:hover { border-color: var(--paper); background: rgba(254, 254, 254, 0.06); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
}
.link-arrow span { transition: transform 240ms var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow--light { color: var(--paper); }


/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 254, 254, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 240ms var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(254, 254, 254, 0.88); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(21, 30, 48, 0.07); }
.header-bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 34px; }
.primary-nav ul { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.primary-nav a {
  position: relative; display: block; padding: 8px 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="true"]::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-toggle__bar { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 260ms var(--ease); }
.menu-toggle__bar:nth-child(1) { top: 17px; }
.menu-toggle__bar:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--paper); padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { border-top: 1px solid var(--line); }
.mobile-nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--serif); font-size: 28px; line-height: 1.1;
}
.mobile-nav a span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--slate); }
.mobile-nav__foot { margin-top: 32px; font-size: 12px; color: var(--slate); letter-spacing: 0.06em; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, calc(100svh - var(--header-h)), 940px);
  display: flex; color: var(--paper); background: var(--navy-night);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(0.82) brightness(0.8); transform: scale(1.04); animation: drift 30s var(--ease) forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 22, 38, 0.94) 0%, rgba(15, 22, 38, 0.78) 38%, rgba(15, 22, 38, 0.36) 72%, rgba(15, 22, 38, 0.2) 100%),
    linear-gradient(0deg, rgba(15, 22, 38, 0.9) 0%, rgba(15, 22, 38, 0) 42%);
}
.hero__lattice { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__inner {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: clamp(96px, 14vh, 150px); padding-bottom: clamp(28px, 5vh, 48px);
}
.hero__copy { max-width: 1060px; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7.4vw, 100px); line-height: 1; letter-spacing: -0.025em;
  color: var(--paper);
}
.hero__title em { font-style: italic; }
.hero__lede { max-width: 600px; margin-top: 28px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; color: var(--text-dark); font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 36px; }
.hero__pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(48px, 9vh, 96px); border-top: 1px solid var(--line-dark-strong);
}
.hero__pillars > div { padding: 22px 28px 0 0; }
.hero__pillars > div + div { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.hero__pillars dt { font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--paper); }
.hero__pillars dd { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text-dark-muted); max-width: 300px; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: var(--section-y); position: relative; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 { max-width: 14ch; }
.section-head__lede { font-size: 17px; line-height: 1.65; color: var(--slate); max-width: 470px; }
.section-head--dark h2 { color: var(--paper); }
.section-head--dark .section-head__lede { color: var(--text-dark-muted); }
.caption, .panel-note { font-size: 12px; line-height: 1.5; color: var(--slate); letter-spacing: 0.02em; }

/* firm */
.firm__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.firm__text { display: grid; gap: 22px; max-width: 680px; }
.firm__text p:not(.lead) { color: #3B4558; font-size: 17px; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.fact-grid > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact-grid > div:nth-child(odd) { padding-right: 20px; }
.fact-grid > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.fact-grid dt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
.fact-grid dd { margin-top: 6px; font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--ink); }

/* ---------------------------------------------------------------- console */
.console {
  background-color: var(--navy-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='60' viewBox='0 0 104 60'%3E%3Cpath d='M0 30 L52 0 L104 30 L52 60 Z' fill='none' stroke='%23FEFEFE' stroke-opacity='0.035'/%3E%3C/svg%3E");
  color: var(--paper);
}
.console__shell { border: 1px solid var(--line-dark-strong); background: rgba(15, 22, 38, 0.72); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25); }
.console__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 20px; border-bottom: 1px solid var(--line-dark);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dark-muted);
}
.console__bar-note { color: var(--text-dark-muted); }
.console__grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); }
.console__tabs { border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.console__tab {
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; text-align: left;
  padding: 20px 22px 20px 20px; border: 0; border-bottom: 1px solid var(--line-dark); border-left: 2px solid transparent;
  background: transparent; color: var(--text-dark-muted); cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.console__tab:hover { background: rgba(254, 254, 254, 0.03); color: var(--text-dark); }
.console__tab[aria-selected="true"] { border-left-color: var(--copper); background: rgba(254, 254, 254, 0.055); color: var(--paper); }
.console__tab-num { grid-row: span 2; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; padding-top: 3px; color: var(--slate-light); }
.console__tab-label { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.console__tab-sub { font-size: 12px; line-height: 1.45; margin-top: 4px; color: var(--text-dark-muted); }
.console__panels { min-width: 0; }
.console__panel { padding: clamp(24px, 3.4vw, 44px); min-height: 560px; animation: panel-in 380ms var(--ease); }
.console__panel:focus-visible { outline-offset: -4px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.console .panel-note { color: var(--text-dark-muted); margin-top: 26px; }
.panel-intro { font-size: 15.5px; line-height: 1.65; color: var(--text-dark); max-width: 560px; }
.panel-subtitle { margin: 40px 0 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-light); display: flex; align-items: center; gap: 14px; }
.panel-subtitle::before { content: ""; width: 28px; height: 1px; background: var(--copper); }

/* mandate */
.vision { padding: 4px 0 28px; margin-bottom: 4px; }
.vision__text { margin-top: 14px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.32; color: var(--paper); max-width: 900px; }
.mandate__statements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark-strong); }
.statement { padding: 22px 26px 6px 0; }
.statement + .statement { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.statement__label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-light); }
.statement__text { margin-top: 12px; font-family: var(--serif); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.42; color: var(--paper); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; counter-reset: p; }
.principles li { counter-increment: p; padding: 18px 0; border-top: 1px solid var(--line-dark); font-size: 14px; line-height: 1.6; color: var(--text-dark-muted); }
.principles li::before { content: counter(p, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--slate-light); }
.principles strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--paper); margin-bottom: 4px; }

/* moat */
.moat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.moat__svg { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; }
.moat__plate { cursor: pointer; transition: transform 420ms var(--ease); }
.moat__plate .face-top { fill: rgba(254, 254, 254, 0.045); stroke: rgba(254, 254, 254, 0.42); stroke-width: 1; transition: fill 300ms var(--ease), stroke 300ms var(--ease); }
.moat__plate .face-left { fill: rgba(254, 254, 254, 0.02); stroke: rgba(254, 254, 254, 0.26); stroke-width: 1; }
.moat__plate .face-right { fill: rgba(254, 254, 254, 0.01); stroke: rgba(254, 254, 254, 0.26); stroke-width: 1; }
.moat__plate .plate-label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; fill: var(--text-dark-muted); text-transform: uppercase; }
.moat__plate .plate-leader { stroke: rgba(254, 254, 254, 0.2); stroke-width: 1; }
.moat__plate:hover .face-top { fill: rgba(254, 254, 254, 0.08); }
.moat__plate.is-active { transform: translateY(-10px); }
.moat__plate.is-active .face-top { fill: rgba(254, 254, 254, 0.13); stroke: var(--copper); stroke-width: 1.5; }
.moat__plate.is-active .plate-label { fill: var(--paper); }
.moat__plate.is-active .plate-leader { stroke: var(--copper); }
.moat__list { display: none; }
.moat__num { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--slate-light); }
.moat__title { margin-top: 10px; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: var(--paper); }
.moat__text { margin-top: 18px; font-size: 15.5px; line-height: 1.7; color: var(--text-dark); }
.moat__why { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--copper); }
.moat__why-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 8px; }
.moat__why p:last-child { font-family: var(--serif); font-size: 18px; line-height: 1.45; color: var(--paper); }

/* strategy canvas */
.canvas__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.canvas__legend { display: flex; flex-wrap: wrap; gap: 8px; }
.legend-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; min-height: 40px;
  border: 1px solid var(--line-dark-strong); background: transparent; color: var(--text-dark-muted);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.legend-btn[aria-pressed="true"] { color: var(--paper); border-color: rgba(254, 254, 254, 0.55); }
.legend-btn__swatch { width: 22px; height: 0; border-top: 2px solid currentColor; }
.legend-btn__swatch--dash { border-top-style: dashed; }
.legend-btn__swatch--dot { border-top-style: dotted; border-top-width: 3px; }
.canvas__chart { margin-top: 26px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 14px 0 16px; }
.canvas__chart svg { width: 100%; height: auto; overflow: visible; }
.canvas__factor { min-height: 3.2em; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text-dark); }
.canvas__factor strong { font-weight: 600; color: var(--paper); }
.cv-grid line { stroke: rgba(254, 254, 254, 0.08); }
.cv-axis-label { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; fill: var(--slate-light); text-transform: uppercase; }
.cv-factor { cursor: pointer; }
.cv-factor text { font-family: var(--sans); font-size: 11px; font-weight: 500; fill: var(--text-dark-muted); }
.cv-factor rect { fill: transparent; }
.cv-factor:hover text, .cv-factor.is-active text { fill: var(--paper); }
.cv-factor.is-active .cv-factor-rule { stroke: var(--copper); }
.cv-factor-rule { stroke: transparent; stroke-width: 1; }
.cv-line { fill: none; stroke-linejoin: round; stroke-linecap: round; transition: opacity 300ms var(--ease); }
.cv-line.is-hidden, .cv-dots.is-hidden { opacity: 0; }
.cv-dots { transition: opacity 300ms var(--ease); }
.errc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-top: 30px; }
.errc__col { border-top: 1px solid var(--line-dark-strong); padding-top: 14px; }
.errc__label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 8px; }
.errc li { padding: 7px 0; font-size: 13.5px; line-height: 1.5; color: var(--text-dark); border-bottom: 1px solid var(--line-dark); }

/* ---------------------------------------------------------------- approach */
.themes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; counter-reset: none; }
.theme { border-top: 1px solid var(--line-strong); padding: 20px 0 0; position: relative; }
.theme::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--copper); transition: width 500ms var(--ease); }
.theme:hover::before { width: 100%; }
.theme__num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--slate); }
.theme h3 { margin-top: 14px; font-family: var(--serif); font-size: 21px; line-height: 1.22; color: var(--ink); }
.theme p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--slate); }

.profiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.profiles__chart svg { width: 100%; max-width: 480px; margin-inline: auto; overflow: visible; }
.rd-ring { fill: none; stroke: var(--line); }
.rd-spoke { stroke: var(--line); }
.rd-scale { font-family: var(--sans); font-size: 10px; fill: var(--slate); letter-spacing: 0.06em; }
.rd-axis { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink); }
.rd-shape { fill: rgba(28, 42, 70, 0.08); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.rd-ghost { fill: none; stroke: var(--slate-light); stroke-width: 1; stroke-dasharray: 3 4; }
.rd-node { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.profiles__title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--ink); }
.profiles__buttons { display: grid; gap: 10px; margin-top: 26px; }
.profile-btn {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper);
  transition: border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.profile-btn:hover { border-color: var(--line-strong); }
.profile-btn[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 14px 30px rgba(21, 30, 48, 0.08); }
.profile-btn strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); }
.profile-btn small { display: block; font-size: 13px; color: var(--slate); margin-top: 2px; }
.profile-btn__swatch { width: 22px; height: 22px; flex: none; }
.profile-btn__swatch--ink { background: var(--ink); }
.profile-btn__swatch--slate { background: #4E6A8F; }
.profile-btn__swatch--mist { background: #8E9AAE; }
.profiles__desc { margin-top: 22px; font-size: 15px; line-height: 1.65; color: #3B4558; min-height: 5em; }
.profiles .caption { margin-top: 10px; }

/* ---------------------------------------------------------------- process */
.process { background: var(--mist); }
.cycle { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cycle__figure svg { width: 100%; max-width: 360px; margin-inline: auto; overflow: visible; }
.cy-ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.cy-arc { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; opacity: 0; transition: opacity 400ms var(--ease); }
.cy-arc.is-active { opacity: 1; }
.cy-node { cursor: pointer; }
.cy-node circle { fill: var(--mist); stroke: var(--line-strong); stroke-width: 1; transition: fill 300ms var(--ease), stroke 300ms var(--ease); }
.cy-node text { font-family: var(--serif); font-size: 17px; fill: var(--ink); text-anchor: middle; }
.cy-node .cy-num { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; fill: var(--slate); }
.cy-node.is-active circle { fill: var(--ink); stroke: var(--ink); }
.cy-node.is-active text { fill: var(--paper); }
.cy-node.is-active .cy-num { fill: var(--slate-light); }
.cy-center { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; fill: var(--slate); text-anchor: middle; text-transform: uppercase; }
.cycle__tabs { display: flex; border-bottom: 1px solid var(--line-strong); }
.cycle__tab {
  flex: 1; display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: transparent; cursor: pointer; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); color: var(--slate); text-align: left;
}
.cycle__tab span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; }
.cycle__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--copper); }
.cycle__panel { padding-top: 26px; }
.cycle__kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); }
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px; }
.engine { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.engine__label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.engine p:last-child { font-size: 15px; line-height: 1.65; color: #3B4558; }

.path { margin-top: clamp(72px, 9vw, 120px); }
.path__title { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.path__title::before { content: ""; width: 28px; height: 1px; background: var(--copper); }
.path__steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.path__steps li { position: relative; padding: 22px 18px 4px 0; }
.path__steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.path__steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--mist); border: 1px solid var(--ink); }
.path__steps li + li::before { left: -4px; }
.path__num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--slate); }
.path__steps h4 { margin-top: 8px; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.path__steps p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--slate); }

/* ---------------------------------------------------------------- governance */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.flow__node { position: relative; padding: 26px 32px 26px 0; border-top: 1px solid var(--ink); }
.flow__node + .flow__node { padding-left: 32px; }
.flow__node:not(:last-child)::after {
  content: ""; position: absolute; top: -5px; right: -5px; width: 9px; height: 9px;
  border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); background: transparent;
}
.flow__num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--slate); }
.flow__node h3 { margin-top: 10px; font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); }
.flow__node p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--slate); max-width: 260px; }
.flow__loop { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-size: 13px; color: var(--slate); }
.flow__loop span { flex: none; width: 46px; height: 18px; border: 1px solid var(--line-strong); border-top: 0; border-radius: 0 0 10px 10px; }
.controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 88px); }
.control { padding: 26px 24px 28px; background: var(--mist); border-top: 1px solid var(--copper); }
.control h3 { font-family: var(--serif); font-size: 21px; line-height: 1.22; color: var(--ink); }
.control p { margin-top: 12px; font-size: 14.5px; line-height: 1.62; color: #3B4558; }

/* ---------------------------------------------------------------- leadership */
.leadership { background: var(--mist); }
.people { display: grid; grid-template-columns: 1fr; gap: 24px; }
.person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: clamp(24px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); align-content: start; }
.person__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 48px; align-content: start; }
.person__body > * { grid-column: 1; }
.person__body > .person__meta { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; align-self: start; }
.person__photo { margin: 0; position: relative; align-self: start; }
.person__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: saturate(0.92) contrast(1.02); background: var(--navy-deep); }
.person__photo::after { content: ""; display: block; height: 1px; margin-top: 12px; background: var(--copper); width: 48px; }
.person__role { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); line-height: 1.6; }
.person__name { margin-top: 10px; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; color: var(--ink); }
.person__body > p:not(.person__role) { margin-top: 14px; font-size: 15px; line-height: 1.68; color: #3B4558; }
.person__meta { margin-top: 20px; border-top: 1px solid var(--line); }
.person__meta > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.person__meta dt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); padding-top: 2px; }
.person__meta dd { font-size: 13.5px; line-height: 1.6; color: var(--ink); }

/* ---------------------------------------------------------------- quote bands */
.quote-band { padding-block: clamp(72px, 9vw, 128px); background: var(--paper); }
.quote-band--rule { border-top: 1px solid var(--line); }
.quote { margin: 0; max-width: 1040px; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.8vw, 52px); line-height: 1.16; letter-spacing: -0.012em; color: var(--ink);
}
.quote blockquote p::before { content: "\201C"; margin-left: -0.42em; }
.quote blockquote p::after { content: "\201D"; }
.quote--short blockquote p { font-size: clamp(30px, 4.4vw, 60px); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); }
.quote figcaption::before { content: ""; width: 28px; height: 1px; background: var(--copper); }

/* ---------------------------------------------------------------- singapore */
.singapore { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: var(--navy-night); }
.singapore__media { position: absolute; inset: 0; z-index: -2; }
.singapore__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(0.9); }
.singapore::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(15, 22, 38, 0.97) 0%, rgba(15, 22, 38, 0.9) 36%, rgba(15, 22, 38, 0.5) 66%, rgba(15, 22, 38, 0.28) 100%);
}
.singapore__inner { min-height: clamp(620px, 90vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--section-y) clamp(48px, 6vw, 80px); }
.singapore__copy h2 { color: var(--paper); max-width: 16ch; }
.singapore__lede { margin-top: 22px; max-width: 620px; font-size: 16.5px; line-height: 1.65; color: var(--text-dark); }
.singapore__points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(40px, 5vw, 64px); }
.singapore__points li { border-top: 1px solid var(--line-dark-strong); padding-top: 18px; }
.singapore__points h3 { font-family: var(--serif); font-size: 21px; color: var(--paper); }
.singapore__points p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--text-dark-muted); }

/* ---------------------------------------------------------------- contact */
.contact { background: var(--navy-deep); color: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: end; }
.contact h2 { color: var(--paper); }
.contact__text { margin-top: 24px; max-width: 470px; font-size: 16px; line-height: 1.65; color: var(--text-dark-muted); }
.contact__email {
  display: inline-block; margin-top: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--copper);
  font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); text-decoration: none; color: var(--paper);
  overflow-wrap: anywhere;
}
.contact__email:hover { border-bottom-color: var(--paper); }
.contact__facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark-strong); }
.contact__facts > div { padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact__facts > div:nth-child(odd) { padding-right: 20px; }
.contact__facts > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.contact__facts dt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-light); }
.contact__facts dd { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--paper); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-night); color: var(--text-dark-muted); padding-block: 56px 32px; font-size: 13px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 56px; height: 56px; }
.footer__entity { font-family: var(--serif); font-size: 18px; color: var(--paper); }
.footer__tagline { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__nav a { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--text-dark); }
.footer__nav a:hover { color: var(--paper); }
.footer__legal { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-bottom: 1px solid var(--line-dark); }
.footer__legal details { padding: 18px 0; }
.footer__legal summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dark);
  min-height: 32px;
}
.footer__legal summary::-webkit-details-marker { display: none; }
.footer__legal summary::after { content: "+"; font-size: 18px; font-weight: 300; }
.footer__legal details[open] summary::after { content: "−"; }
.footer__legal details p { margin-top: 12px; font-size: 12.5px; line-height: 1.7; max-width: 560px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 12px; }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .path__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .path__steps li:nth-child(5) { border-left: 0; padding-left: 0; }
  .path__steps li:nth-child(5)::before { left: 0; }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console__grid { grid-template-columns: 220px minmax(0, 1fr); }
  .person { grid-template-columns: 170px minmax(0, 1fr); gap: 28px; }
  .person__body { grid-template-columns: 1fr; }
  .person__body > .person__meta { grid-column: 1; grid-row: auto; margin-top: 20px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .errc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .people { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .brand img { height: 28px; }
  .section-head, .firm__body, .contact__grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; gap: 22px; }
  .hero__pillars { grid-template-columns: 1fr; }
  .hero__pillars > div, .hero__pillars > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .hero__pillars dd { max-width: none; }
  .console__grid { grid-template-columns: 1fr; }
  .console__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-dark); scrollbar-width: none; }
  .console__tabs::-webkit-scrollbar { display: none; }
  .console__tab { flex: none; border-bottom: 2px solid transparent; border-left: 0; padding: 14px 18px; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; }
  .console__tab[aria-selected="true"] { border-bottom-color: var(--copper); border-left: 0; }
  .console__tab-num { grid-row: auto; padding: 0; }
  .console__tab-sub { display: none; }
  .console__tab-label { font-size: 17px; white-space: nowrap; }
  .console__panel { min-height: 0; }
  .mandate__statements { grid-template-columns: 1fr; }
  .statement, .statement + .statement { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .moat, .cycle, .profiles { grid-template-columns: 1fr; }
  .moat__svg { max-width: 360px; }
  .profiles__chart { order: 2; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .flow__node:nth-child(3) { padding-left: 0; }
  .flow__node:nth-child(2)::after { display: none; }
  .singapore__points { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer__legal { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero__copy { margin-top: 36px; }
  .hero__inner { padding-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .themes { grid-template-columns: 1fr; }
  .path__steps { grid-template-columns: 1fr; }
  .path__steps li, .path__steps li + li { padding: 18px 0 18px 22px; border-left: 1px solid var(--line-strong); }
  .path__steps li::before, .path__steps li + li::before { left: -4px; top: 24px; }
  .path__steps { border-top: 0; }
  .controls { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow__node, .flow__node + .flow__node { padding: 20px 0; }
  .flow__node::after { display: none; }
  .person { grid-template-columns: 1fr; padding: 22px; }
  .person__photo { width: 132px; }
  .person__meta > div { grid-template-columns: 1fr; gap: 4px; }
  .quote blockquote p::before { margin-left: 0; }
  .singapore__points { grid-template-columns: 1fr; }
  .engines { grid-template-columns: 1fr; gap: 18px; }
  .principles, .errc { grid-template-columns: 1fr; }
  .fact-grid, .contact__facts { grid-template-columns: 1fr; }
  .fact-grid > div:nth-child(even), .contact__facts > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .console__bar-title { display: none; }
  .canvas__chart { overflow-x: auto; }
  .canvas__chart svg { min-width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__lattice, .console, .menu-toggle { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero__media, .hero::before { display: none; }
  .hero__title, .hero__pillars dt { color: var(--ink); }
}

/* =====================================================================
   Rev4 — blue ocean and risk architecture (prepared 2026-10-16)
   ===================================================================== */

/* ---------------------------------------------------------------- blue ocean */
.ocean { background: var(--mist); }
.ocean__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ocean h2 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.02; max-width: none; }
.ocean__lede { margin-top: 28px; font-size: 17px; line-height: 1.7; color: #3B4558; max-width: 560px; }
.ocean__claim { margin-top: 22px; padding-left: 20px; border-left: 1px solid var(--copper); font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; color: var(--ink); max-width: 600px; }
.ocean__figure svg { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
.venn-circle { cursor: pointer; }
.venn-circle circle { fill: rgba(28, 42, 70, 0.05); stroke: var(--ink); stroke-width: 1.1; transition: fill 260ms var(--ease), stroke-width 260ms var(--ease); }
.venn-circle text { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink); text-anchor: middle; pointer-events: none; }
.venn-circle:hover circle, .venn-circle:focus-visible circle, .venn-circle.is-active circle { fill: rgba(28, 42, 70, 0.11); stroke-width: 2; }
.venn-core { cursor: pointer; }
.venn-core .venn-ring { fill: none; stroke: var(--copper); stroke-width: 1; stroke-dasharray: 3 4; }
.venn-core text { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; fill: var(--ink); text-anchor: middle; }
.ocean__models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.model { padding: 24px 24px 26px; background: var(--paper); border: 1px solid var(--line); border-top: 1px solid var(--line-strong); transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease), transform 260ms var(--ease); }
.model.is-active { border-top-color: var(--copper); box-shadow: 0 18px 40px rgba(21, 30, 48, 0.08); transform: translateY(-3px); }
.model__from { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
.model h3 { margin-top: 10px; font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--ink); }
.model dl { margin-top: 16px; border-top: 1px solid var(--line); }
.model dl > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.model dt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); padding-top: 2px; }
.model dd { font-size: 14px; line-height: 1.55; color: #3B4558; }

/* ---------------------------------------------------------------- risk architecture */
.risk {
  background-color: var(--navy-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='60' viewBox='0 0 104 60'%3E%3Cpath d='M0 30 L52 0 L104 30 L52 60 Z' fill='none' stroke='%23FEFEFE' stroke-opacity='0.03'/%3E%3C/svg%3E");
  color: var(--paper);
}
.risk .section-head h2 { max-width: none; }
.lab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lab__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line-dark-strong); background: rgba(15, 22, 38, 0.6); }
.lab__card--wide { grid-column: 1 / -1; }
.lab__card--split { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: clamp(28px, 4vw, 56px); row-gap: 14px; align-content: start; }
.lab__card--split > * { grid-column: 1; }
.lab__card--split > svg { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
.lab__head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--copper); }
.lab__num { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--slate-light); }
.lab__head h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); color: var(--paper); }
.lab__lead { font-size: 15px; line-height: 1.6; color: var(--text-dark); }
.lab__formula { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--paper); letter-spacing: 0.01em; }
.lab__formula sub { font-size: 0.68em; font-style: normal; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-dark-strong); align-self: flex-start; }
.seg__btn { min-height: 38px; padding: 0 14px; border: 0; border-right: 1px solid var(--line-dark); background: transparent; color: var(--text-dark-muted); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.seg__btn:last-child { border-right: 0; }
.seg__btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.lab__sliders { display: grid; gap: 10px; }
.lab__slider { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-light); }
.lab__slider output { font-family: var(--serif); font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--paper); font-variant-numeric: tabular-nums; }
.lab__slider input[type="range"] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; cursor: pointer; }
.lab__slider input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: rgba(254, 254, 254, 0.25); }
.lab__slider input[type="range"]::-moz-range-track { height: 2px; background: rgba(254, 254, 254, 0.25); }
.lab__slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: var(--paper); border: 0; }
.lab__slider input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 0; }
.lab__card svg { width: 100%; height: auto; overflow: visible; }
.lab__read { font-size: 14px; line-height: 1.6; color: var(--text-dark); min-height: 3.2em; }
.lab__read strong { color: var(--paper); font-weight: 600; }
.lab__note { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 1.6; color: var(--text-dark-muted); }
.lab__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.lab__stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lab__stats > div { padding: 10px 10px 2px 0; }
.lab__stats > div + div { padding-left: 12px; border-left: 1px solid var(--line-dark); }
.lab__stats dt { font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-light); line-height: 1.4; }
.lab__stats dd { margin-top: 6px; font-family: var(--serif); font-size: 20px; color: var(--paper); font-variant-numeric: tabular-nums; }
.lab__foot { margin-top: 22px; color: var(--text-dark-muted); }

/* svg pieces */
.an-label { font-family: var(--sans); font-size: 11.5px; fill: var(--text-dark); }
.an-label--muted { fill: var(--slate-light); font-style: italic; }
.an-value { font-family: var(--sans); font-size: 11.5px; font-weight: 600; fill: var(--paper); font-variant-numeric: tabular-nums; }
.an-zero { stroke: rgba(254, 254, 254, 0.35); }
.an-grid { stroke: rgba(254, 254, 254, 0.07); }
.an-sep { stroke: var(--copper); }
.an-bar { fill: rgba(254, 254, 254, 0.82); }
.an-bar--neg { fill: rgba(254, 254, 254, 0.14); stroke: rgba(254, 254, 254, 0.7); stroke-width: 1; }
.an-bar--total { fill: var(--paper); }
.sg-curve { fill: rgba(254, 254, 254, 0.06); stroke: rgba(254, 254, 254, 0.75); stroke-width: 1.4; }
.sg-tail { fill: rgba(254, 254, 254, 0.45); }
.sg-mark { stroke: var(--copper); stroke-width: 1.4; }
.sg-axis { stroke: rgba(254, 254, 254, 0.3); }
.sg-tick { font-family: var(--sans); font-size: 10px; fill: var(--slate-light); text-anchor: middle; font-variant-numeric: tabular-nums; }
.sg-flag { font-family: var(--sans); font-size: 10.5px; font-weight: 600; fill: var(--paper); text-anchor: middle; letter-spacing: 0.06em; }
.ge-shape { fill: rgba(254, 254, 254, 0.05); stroke: none; }
.ge-vec { stroke: rgba(254, 254, 254, 0.6); stroke-width: 2; }
.ge-sum { stroke: var(--paper); stroke-width: 3; }
.ge-right { fill: none; stroke: var(--copper); stroke-width: 1.2; }
.ge-label { font-family: var(--sans); font-size: 11px; font-weight: 600; fill: var(--paper); letter-spacing: 0.04em; }
.ge-label--muted { fill: var(--slate-light); }
.ge-arrow { fill: rgba(254, 254, 254, 0.6); }
.ge-arrow--sum { fill: var(--paper); }

/* pipeline */
.pipe { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin-top: 8px; position: relative; }
.pipe::before { content: ""; position: absolute; left: 4%; right: 4%; top: 19px; height: 1px; background: var(--line-dark-strong); }
.pipe::after { content: ""; position: absolute; top: 16px; left: 4%; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); animation: pipe-flow 6s linear infinite; }
@keyframes pipe-flow { from { left: 4%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { left: 95%; opacity: 0; } }
.pipe__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 4px; border: 0; background: transparent; color: var(--text-dark-muted); cursor: pointer; text-align: center; font: inherit; }
.pipe__dot { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line-dark-strong); border-radius: 50%; background: var(--navy-night); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--slate-light); transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease); }
.pipe__name { font-size: 12px; line-height: 1.35; font-weight: 500; }
.pipe__step:hover .pipe__dot { border-color: var(--paper); }
.pipe__step[aria-pressed="true"] { color: var(--paper); }
.pipe__step[aria-pressed="true"] .pipe__dot { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pipe__detail { margin-top: 10px; padding: 18px 0 0; border-top: 1px solid var(--line-dark); min-height: 112px; }
.pipe__formula { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--slate-light); }
.pipe__detail h4 { margin-top: 6px; font-family: var(--serif); font-size: 22px; color: var(--paper); }
.pipe__detail p:last-child { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--text-dark); max-width: 820px; }

/* strategy canvas legend: fourth line style */
.legend-btn__swatch--dashdot { border-top-style: dashed; border-top-width: 1px; }

@media (max-width: 1100px) {
  .lab { grid-template-columns: 1fr; }
  .lab__card--split { grid-template-columns: 1fr; }
  .lab__card--split > svg { grid-column: 1; grid-row: auto; }
  .pipe { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
  .pipe::before, .pipe::after { display: none; }
}
@media (max-width: 900px) {
  .ocean__grid { grid-template-columns: 1fr; }
  .ocean__models { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lab__stats { grid-template-columns: 1fr 1fr; }
  .lab__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .lab__stats--3 { grid-template-columns: 1fr; }
  .lab__stats--3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg { align-self: stretch; }
  .seg__btn { flex: 1; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .pipe::after { display: none; } }

/* ---------------------------------------------------------------- horizons (Rev5) */
.horizons { margin-top: 26px; }
.horizons svg { width: 100%; height: auto; overflow: visible; }
.hz-axis { stroke: rgba(254, 254, 254, 0.3); }
.hz-tick { font-family: var(--sans); font-size: 11px; fill: var(--slate-light); text-anchor: middle; letter-spacing: 0.04em; }
.hz-wave { fill: none; stroke: var(--copper); stroke-width: 1; opacity: 0.8; }
.hz-band { cursor: pointer; }
.hz-rect { fill: rgba(254, 254, 254, 0.1); stroke: rgba(254, 254, 254, 0.45); stroke-width: 1; transition: fill 240ms var(--ease); }
.hz-rect--dash { fill: none; stroke-dasharray: 5 5; }
.hz-label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; fill: var(--paper); }
.hz-band:hover .hz-rect, .hz-band:focus-visible .hz-rect { fill: rgba(254, 254, 254, 0.18); }
.hz-band.is-active .hz-rect { fill: rgba(254, 254, 254, 0.88); stroke: var(--paper); }
.hz-band.is-active .hz-rect--dash { fill: rgba(254, 254, 254, 0.12); stroke: var(--copper); }
.hz-band.is-active .hz-label { fill: var(--ink); }
.hz-band.is-active .hz-rect--dash + .hz-label { fill: var(--paper); }
.horizons__buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hz-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; padding: 10px 14px; border: 1px solid var(--line-dark-strong); background: transparent; color: var(--text-dark); font-family: var(--serif); font-size: 17px; cursor: pointer; text-align: left; }
.hz-btn span { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-light); }
.hz-btn[aria-pressed="true"] { border-color: var(--paper); background: rgba(254, 254, 254, 0.06); color: var(--paper); }
.horizons__detail { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--copper); min-height: 108px; }
.horizons__detail h3 { font-family: var(--serif); font-size: 22px; color: var(--paper); }
.horizons__detail p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--text-dark); max-width: 720px; }
@media (max-width: 600px) { .hz-btn { flex: 1 1 100%; } }
