/* ============================================================
   earnestfarley.com — "Instrument" design system v4
   Clinical instrument panel, editorial light.
   Porcelain base / ink structure / electric ultramarine commitment /
   coral signal (live data only) / amber reserved for named IP.
   Type: Archivo (variable width: expanded display, normal body)
         Martian Mono (data annotation layer)
   ============================================================ */

:root {
  --porcelain: #f2f6f8;
  --tint: #e7eef2;
  --surface: #ffffff;
  --line: #d5dee5;
  --line-soft: #e3eaef;
  --ink: #0b1526;
  --text: #1d2a3f;
  --muted: #3d4e67;
  --faint: #61708a;
  --ultra: #2230e8;
  --ultra-deep: #1a25b8;
  --ultra-tint: #e6e9ff;
  --pulse: #ff4438;
  --pulse-deep: #d63325;
  --amber: #d9930d;
  --amber-tint: #fbf1dc;
  --display: "Archivo", "Segoe UI", sans-serif;
  --body: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", "SFMono-Regular", monospace;
  --max: 1160px;
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 6px;
  --shadow: 0 1px 2px rgba(11,21,38,0.04), 0 8px 26px rgba(11,21,38,0.06);
  --shadow-lift: 0 2px 4px rgba(11,21,38,0.05), 0 16px 40px rgba(11,21,38,0.10);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--porcelain);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* engineering backdrop: flat grid without JS; a 3D data terrain with it */
.grid-field {
  position: fixed; inset: 0; z-index: -2; background: var(--porcelain);
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.14) 30%, rgba(0,0,0,0.1));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.14) 30%, rgba(0,0,0,0.1));
}
/* vistas: bright Atlanta perspectives crossfading behind the page */
.grid-field.has-vista { background-image: none; mask-image: none; -webkit-mask-image: none; overflow: hidden; }
.vista {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: 0; transition: opacity 1.2s ease; will-change: opacity, transform;
}
.vista::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(242,246,248,0.55), rgba(242,246,248,0.84) 52%, rgba(242,246,248,0.93));
}
.vista.active { opacity: 1; }
/* digital overlay: a fine engineering grid ruled over the city */
.grid-field.has-vistas::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    linear-gradient(rgba(11,21,38,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,21,38,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}
@media (prefers-reduced-motion: no-preference) {
  .vista.active { animation: vistaDrift 26s ease-in-out infinite alternate; }
}
@keyframes vistaDrift { from { transform: scale(1); } to { transform: scale(1.06); } }
.glow-field {
  position: fixed; z-index: -1; pointer-events: none;
  top: -260px; left: 50%; transform: translateX(-50%);
  width: 1400px; height: 620px;
  background:
    radial-gradient(closest-side at 50% 40%, rgba(34,48,232,0.07), transparent 70%),
    radial-gradient(closest-side at 72% 26%, rgba(255,68,56,0.05), transparent 60%);
  filter: blur(4px);
}

a { color: var(--ultra-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 116%;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- reading progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--ultra);
  z-index: 60;
}

/* ---------- nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(242,246,248,0.85);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand {
  font-family: var(--display); font-stretch: 116%; font-weight: 700;
  font-size: 22px; letter-spacing: 0.005em; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--pulse); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15.5px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ultra-deep); }
.nav-cta {
  border-radius: 999px; padding: 9px 20px; font-weight: 600;
  background: var(--ultra); color: #fff !important;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--ink); text-decoration: none; transform: translateY(-1px); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink); padding: 8px 12px;
  font-family: var(--mono); font-size: 11px; cursor: pointer;
}

/* ---------- shared ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em; font-weight: 600;
  text-transform: uppercase; color: var(--ultra-deep);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2.5px; background: var(--ultra); display: inline-block; }

section { padding: 96px 0; }
.band-sky { background: rgba(231,238,242,0.55); }

.section-head { max-width: 800px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(34px, 4.8vw, 54px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 19px; max-width: 68ch; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border-radius: var(--r-md); padding: 14px 28px;
  font-weight: 600; font-size: 15.5px;
  transition: transform 0.28s var(--ease-out), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 0.08s; }
.btn-primary { background: var(--ultra); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--ink); box-shadow: var(--shadow-lift); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ultra); }

/* ============================================================
   HERO — centered instrument stage
   ============================================================ */
.hero { padding: 72px 0 88px; text-align: center; position: relative; }
.hero .wrap { position: relative; z-index: 2; perspective: 1400px; }

/* identity chip: the person, compact and alive */
.id-chip {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 18px 7px 8px;
  box-shadow: var(--shadow); margin-bottom: 34px;
}
.id-chip img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ultra-tint); display: block;
}
.id-chip .id-name { font-weight: 600; color: var(--ink); font-size: 14.5px; white-space: nowrap; }
.id-chip .id-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.id-chip .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--pulse);
  box-shadow: 0 0 0 0 rgba(255,68,56,0.4); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,68,56,0.4); }
  70% { box-shadow: 0 0 0 8px rgba(255,68,56,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,68,56,0); }
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 62px);
  max-width: 900px; margin: 0 auto;
}
.hero h1 .hl { color: var(--ultra-deep); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; bottom: 0.04em; height: 0.1em;
  width: 100%; background: var(--pulse); opacity: 0.65; border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
}
.hl.drawn::after { transition: transform 0.7s var(--ease-out) 0.15s; transform: scaleX(1); }

.hero .lede {
  margin: 26px auto 0; max-width: 640px;
  color: var(--muted); font-size: 18.5px; text-wrap: pretty;
}
.hero-ctas { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* kinetic headline mask reveal */
.kinetic .line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.kinetic .line > span { display: inline-block; transform: translateY(115%); will-change: transform; }
.no-js .kinetic .line > span { transform: none; }

/* ---------- the vitals monitor ---------- */
.monitor {
  margin: 52px auto 0; max-width: 880px; text-align: left;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.75); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden; position: relative;
}
.monitor-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line-soft);
}
.monitor-head .m-title {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); font-weight: 600;
  display: inline-flex; align-items: center; gap: 9px; min-height: 18px;
}
.monitor-head .m-title .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--pulse);
  box-shadow: 0 0 0 0 rgba(255,68,56,0.4); animation: pulse 2.4s infinite;
}
.monitor-head .m-value {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ultra-deep); font-weight: 600; white-space: nowrap;
}
.monitor-canvas { position: relative; height: 300px; }
#vitals { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* results rail: always-visible truth under the graph (never JS-gated) */
.monitor-rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
}
.monitor-rail button {
  appearance: none; background: none; border: none; cursor: pointer;
  padding: 14px 10px 16px; text-align: center; font-family: var(--mono);
  border-left: 1px solid var(--line-soft);
  transition: background 0.2s ease;
}
.monitor-rail button:first-child { border-left: none; }
.monitor-rail button:hover { background: var(--porcelain); }
.monitor-rail button .rv {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em;
}
.monitor-rail button .rk {
  display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-top: 5px;
}
.monitor-rail button[aria-current="true"] { background: var(--ultra-tint); }
.monitor-rail button[aria-current="true"] .rv { color: var(--ultra-deep); }

/* ============================================================
   CINEMATIC HERO — photograph + 3D text, no box, no portrait.
   The one surface with no palette constraint: the photograph
   carries the color; ink scrim carries the legibility.
   ============================================================ */
.hero-cine {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; padding: 0;
  background: #0a1020;
}
.cine-bg { position: absolute; inset: -4%; z-index: 0; background: #1a2030; }
.cine-bg video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* cinematic grade: lift the fog's color without losing its softness */
  filter: saturate(1.22) contrast(1.07) brightness(1.04);
  will-change: transform;
}
.cine-atmo {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(200deg, rgba(10,16,32,0) 40%, rgba(10,16,32,0.36) 64%, rgba(8,13,26,0.72) 100%),
    linear-gradient(90deg, rgba(8,13,26,0.4), rgba(8,13,26,0.03) 58%),
    radial-gradient(120% 90% at 50% 108%, rgba(34,48,232,0.16), transparent 55%);
}
/* dusk color grade: ultramarine shadows, warm amber horizon glow */
.cine-grade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(90% 60% at 78% 18%, rgba(217,147,13,0.10), transparent 60%),
    linear-gradient(180deg, rgba(34,48,232,0.12), transparent 44%, rgba(34,48,232,0.08));
  mix-blend-mode: soft-light;
}
/* cinematic vignette keeps the eye in the frame */
.cine-grade::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(118% 100% at 50% 44%, transparent 62%, rgba(6,10,22,0.36) 100%);
}
/* film grain: tactile 35mm shimmer over the fog */
.cine-grain {
  position: absolute; inset: -100px; z-index: 3; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* grain is a still texture: the animated shift caused visible frame hitches over the film */
.cine-content {
  position: relative; z-index: 2; width: 100%;
  padding-top: 150px; padding-bottom: 190px;
  perspective: 1000px; text-align: left;
}
/* eyebrow: the site's rule-and-caps lockup, set for the dark film */
.cine-eyebrow {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(255,255,255,0.86);
  display: flex; align-items: center; gap: 16px; margin-bottom: 30px;
}
.cine-eyebrow::before {
  content: ""; width: 44px; height: 2px; background: var(--pulse); flex: none;
  box-shadow: 0 0 12px rgba(255,68,56,0.55);
}
/* availability: a quiet glass chip seated with the CTAs, not shouting over the title */
.cine-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  background: rgba(8,13,26,0.34); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px; padding: 12px 20px; margin-left: 6px;
}
.cine-status .kick-sep { color: rgba(255,255,255,0.45); }
.cine-status .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--pulse);
  box-shadow: 0 0 0 0 rgba(255,68,56,0.4); animation: pulse 2.4s infinite;
}
.cine-title {
  color: #fff; font-size: clamp(40px, 6.4vw, 86px);
  max-width: 1000px; text-wrap: initial;
  text-shadow: 0 2px 40px rgba(5,9,20,0.45);
  transform-style: preserve-3d;
}
.cine-title .cl { display: block; }
.cine-title .w { display: inline-block; will-change: transform, opacity; transform-style: preserve-3d; }
.cine-title .hl { color: #fff; position: relative; display: inline-block; }
.cine-lede {
  color: rgba(255,255,255,0.82); font-size: 18px; max-width: 560px;
  margin-top: 24px; text-wrap: pretty; text-shadow: 0 1px 18px rgba(5,9,20,0.5);
}
.hero-cine .hero-ctas { justify-content: flex-start; margin-top: 32px; }
.btn-cine { background: #fff; color: var(--ink); }
.btn-cine:hover { background: var(--pulse); color: #fff; }
.btn-cine-ghost { border: 1.5px solid rgba(255,255,255,0.44); color: #fff; background: rgba(10,16,32,0.25); backdrop-filter: blur(4px); }
.btn-cine-ghost:hover { border-color: #fff; }
.cine-ticker {
  margin-top: 38px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.62);
}
.cine-ticker .ts { color: rgba(255,255,255,0.28); margin: 0 6px; }

/* header floats transparent over the cinema, lands on porcelain after */
header.site.over-cine { position: fixed; top: 0; left: 0; right: 0; }
header.site.over-cine:not(.scrolled) {
  background: linear-gradient(180deg, rgba(8,13,26,0.55), rgba(8,13,26,0));
  backdrop-filter: none; border-bottom-color: transparent;
}
header.site.over-cine:not(.scrolled) .brand { color: #fff; }
header.site.over-cine:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
header.site.over-cine:not(.scrolled) .nav-links a[aria-current="page"] { color: #fff; }
header.site.over-cine:not(.scrolled) .nav-cta { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.5); }
header.site.over-cine:not(.scrolled) .nav-cta:hover { background: #fff; color: var(--ink) !important; }
header.site.over-cine:not(.scrolled) .menu-btn { border-color: rgba(255,255,255,0.5); color: #fff; }
header.site { transition: background 0.35s ease, border-color 0.35s ease; }

/* the instrument rises out of the skyline */
.monitor-dock { padding: 0 0 96px; position: relative; z-index: 3; }
.monitor-dock .wrap { perspective: 1400px; }
.monitor-dock .monitor {
  margin-top: -128px;
  box-shadow: 0 -8px 30px rgba(5,9,20,0.18), 0 30px 70px rgba(11,21,38,0.22);
}

@media (max-width: 920px) {
  .cine-title { font-size: clamp(38px, 8.6vw, 64px); }
  .cine-content { padding-bottom: 170px; }
}
@media (max-width: 640px) {
  .hero-cine { min-height: 92svh; }
  .cine-content { padding-top: 120px; padding-bottom: 150px; }
  .cine-lede { font-size: 16.5px; }
  .cine-ticker { line-height: 2; }
  .monitor-dock .monitor { margin-top: -96px; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-status .pulse-dot { animation: none; }
  .method-meta .mm-dot { animation: none; }
}

/* ============================================================
   OPERATING PRINCIPLES — pinned console (the differentiators)
   ============================================================ */
.prin-stage { position: relative; }
.prin-pin { position: relative; }
.prin-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start;
}
.prin-rail { position: relative; }
.prin-num {
  font-family: var(--display); font-stretch: 116%; font-weight: 700;
  font-size: clamp(120px, 16vw, 210px); line-height: 0.9;
  color: transparent; -webkit-text-stroke: 2px var(--ultra);
  opacity: 0.85; display: block; user-select: none;
}
.prin-steps { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 0; }
.prin-steps li {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; font-weight: 600;
  text-transform: uppercase; color: var(--faint);
  padding: 13px 0 13px 20px; position: relative; cursor: pointer;
  border-left: 3px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, padding 0.25s ease;
}
.prin-steps li:hover { color: var(--text); }
.prin-steps li.active {
  color: var(--ink); border-left-color: var(--pulse);
  background: linear-gradient(90deg, rgba(255,68,56,0.07), transparent 70%);
  padding-left: 26px;
}
/* the rail announces itself: this list drives the scroll */
.prin-pin.enhanced .prin-rail::after {
  content: "SCROLL \25BE"; display: block; margin-top: 26px; padding-left: 20px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; font-weight: 600;
  color: var(--ultra-deep);
  animation: scrollNudge 1.8s ease-in-out infinite;
}
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(7px); opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) { .prin-pin.enhanced .prin-rail::after { animation: none; } }

.prin-panels { position: relative; min-height: 460px; }
.prin-panel { max-width: 720px; }
.prin-panel h3 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 20px; }
.prin-panel p { color: var(--text); font-size: 20px; line-height: 1.6; max-width: 54ch; }
.prin-panel .p-tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; font-weight: 600;
  text-transform: uppercase; color: var(--pulse-deep); margin-bottom: 18px; display: block;
}

/* enhanced (JS) mode: panels overlay and crossfade while pinned,
   each framed as a console card with schematic corner ticks so the
   stage reads full, not empty */
.prin-pin.enhanced .prin-panels .prin-panel {
  position: absolute; inset: 0; opacity: 0; transform: translateY(26px);
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 52px; max-width: none;
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  background-image:
    linear-gradient(var(--ultra) 0 0), linear-gradient(var(--ultra) 0 0),
    linear-gradient(var(--ultra) 0 0), linear-gradient(var(--ultra) 0 0),
    linear-gradient(var(--ultra) 0 0), linear-gradient(var(--ultra) 0 0),
    linear-gradient(var(--ultra) 0 0), linear-gradient(var(--ultra) 0 0);
  background-repeat: no-repeat;
  background-size: 22px 2px, 2px 22px, 22px 2px, 2px 22px, 22px 2px, 2px 22px, 22px 2px, 2px 22px;
  background-position: 14px 14px, 14px 14px,
    calc(100% - 14px) 14px, calc(100% - 14px) 14px,
    14px calc(100% - 14px), 14px calc(100% - 14px),
    calc(100% - 14px) calc(100% - 14px), calc(100% - 14px) calc(100% - 14px);
}
/* ghost numeral anchors the frame's right side */
.prin-pin.enhanced .prin-panels .prin-panel::after {
  content: attr(data-num); position: absolute; right: 28px; bottom: 2px;
  font-family: var(--display); font-stretch: 116%; font-weight: 700;
  font-size: clamp(130px, 15vw, 220px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(34,48,232,0.16);
  pointer-events: none; user-select: none;
}
.prin-pin.enhanced .prin-panels .prin-panel.active {
  opacity: 1; transform: none; pointer-events: auto;
}
.prin-pin.enhanced .prin-panel { transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }

/* static / mobile fallback: readable stacked list */
.prin-pin:not(.enhanced) .prin-panel { padding: 26px 0; border-top: 1px solid var(--line); }
.prin-pin:not(.enhanced) .prin-panel:first-child { border-top: none; }
.prin-pin:not(.enhanced) .prin-num { font-size: 96px; }

/* ---------- method spotlight (named IP: amber lives here only) ----------
   Portrait on one side; the four frameworks present themselves on the
   other, fading through in turn. Tabs jump; hover pauses the cycle. */
.method-spot { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: stretch; }
.method-portrait {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 400px;
  background: linear-gradient(160deg, #e7edf2, #f4f7f9);
  box-shadow: 16px 16px 0 -4px var(--ultra-tint), var(--shadow-lift);
}
.method-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* instrument wash + inner ring: the portrait joins the system */
.method-portrait::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(205deg, rgba(34,48,232,0.14), transparent 45%, rgba(11,21,38,0.18) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  border-radius: var(--r-lg);
}
.method-portrait .corner, .monitor .corner {
  position: absolute; width: 20px; height: 20px; z-index: 2; pointer-events: none;
  border: 0 solid rgba(255,255,255,0.75);
  mix-blend-mode: screen;
}
.corner.tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 5px; }
.corner.tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 5px; }
.corner.bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 5px; }
.corner.br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 5px; }
/* photo chips: dark glass so they live inside the photograph
   instead of sitting on top of it */
.method-meta {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(11,21,38,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px; padding: 8px 13px;
}
.method-meta .mm-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--pulse);
  box-shadow: 0 0 0 0 rgba(255,68,56,0.4); animation: pulse 2.4s infinite;
}
.method-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(11,21,38,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 9px 15px;
}
.method-stage { position: relative; display: flex; flex-direction: column; }
.method-stage.enhanced { min-height: 400px; }
.method-callout {
  background: linear-gradient(165deg, #ffffff, #fbf9f4 88%);
  border: 1px solid var(--line-soft); border-top: 3px solid var(--amber);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift); padding: 42px 40px;
}
.method-stage:not(.enhanced) .method-callout { margin-bottom: 14px; }
.method-stage.enhanced .method-callout {
  position: absolute; inset: 0 0 60px 0; opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none; overflow: hidden;
}
.method-stage.enhanced .method-callout.active { opacity: 1; transform: none; pointer-events: auto; }
.method-callout .glyph { width: 46px; height: 46px; display: block; margin-bottom: 18px; }
.method-callout .g-draw {
  stroke: var(--amber); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.method-stage.enhanced .method-callout .g-draw {
  stroke-dasharray: 130; stroke-dashoffset: 130;
  transition: stroke-dashoffset 1s var(--ease-out) 0.3s;
}
.method-stage.enhanced .method-callout.active .g-draw { stroke-dashoffset: 0; }
.method-callout h3 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.method-callout p { color: var(--text); font-size: 18px; line-height: 1.62; max-width: 54ch; }
.method-callout a { display: inline-block; margin-top: 20px; font-weight: 600; font-size: 15.5px; }
.method-tabs { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 2; }
.method-stage.enhanced .method-tabs { position: absolute; bottom: 0; left: 0; }
.method-tabs button {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.method-tabs button:hover { border-color: var(--amber); color: var(--ink); }
.method-tabs button[aria-current="true"] { border-color: var(--amber); background: var(--amber-tint); color: var(--ink); }
.ip-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); margin-top: 24px; text-transform: uppercase; }

/* ---------- metrics ledger ---------- */
.ledger {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow);
}
.ledger .cell { padding: 32px 28px; border-left: 1px solid var(--line-soft); }
.ledger .cell:first-child { border-left: none; }
.ledger .num {
  font-family: var(--display); font-stretch: 116%;
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; color: var(--ink); line-height: 1.05;
}
.ledger .num .unit { color: var(--ultra-deep); font-size: 0.6em; font-weight: 600; margin-left: 2px; }
.ledger .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 12px; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; perspective: 1600px; }
.pillar, .service, .article-card, .contact-card { transform-style: preserve-3d; }
.services, .articles.mag, .contact-cards { perspective: 1600px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 34px 32px; box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--ultra); box-shadow: var(--shadow-lift); }
.pillar h3 { font-size: 21px; margin-bottom: 12px; }
.pillar > p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.proof { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.proof li { font-size: 15px; color: var(--text); display: flex; gap: 10px; align-items: baseline; }
.proof li::before { content: "▸"; color: var(--ultra); font-size: 12px; }
.proof .where { color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; }

/* ---------- evidence band (ultramarine commitment) ---------- */
.band-navy { background: var(--ultra); }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy p { color: #ccd2ff; }
.band-navy .eyebrow { color: #b8c0ff; }
.band-navy .eyebrow::before { background: #b8c0ff; }
.band-navy .btn-primary { background: #fff; color: var(--ultra-deep); }
.band-navy .btn-primary:hover { background: var(--ink); color: #fff; }
.proof-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.proof-chip {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md); padding: 20px 18px; text-align: left;
}
.proof-chip .co { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #b8c0ff; margin-bottom: 8px; }
.proof-chip .num { font-family: var(--display); font-stretch: 116%; font-weight: 700; font-size: 21px; color: #fff; }
.proof-chip .what { font-size: 12.5px; color: #ccd2ff; margin-top: 4px; }

/* ---------- signature video showcase ---------- */
.showcase {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lift); border: 1px solid var(--line-soft);
  background: var(--surface); position: relative;
}
.showcase video { width: 100%; height: auto; display: block; background: var(--porcelain); }
.showcase-controls {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
}
.showcase-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink); transition: transform 0.2s var(--ease-out), background 0.2s ease;
}
.showcase-toggle:hover { transform: scale(1.08); background: #fff; }
.showcase-toggle svg { width: 16px; height: 16px; }
.showcase-caption {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--muted);
  background: rgba(255,255,255,0.94); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 14px; text-transform: uppercase;
}

/* ---------- current focus stats ---------- */
.focus-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fstat { border-left: 1px solid var(--line); padding-left: 16px; }
.fstat::before { content: ""; display: block; width: 22px; height: 2px; background: var(--ultra); margin-bottom: 10px; }
.fstat .v { font-family: var(--display); font-stretch: 116%; font-weight: 700; font-size: 22px; color: var(--ink); }
.fstat .k { font-family: var(--mono); font-size: 9px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

.status-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; margin-bottom: 30px; background: var(--surface); box-shadow: var(--shadow);
}
.status-line .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--pulse);
  box-shadow: 0 0 0 0 rgba(255,68,56,0.4); animation: pulse 2.4s infinite;
}

/* ---------- pull quote ---------- */
.pullquote {
  font-family: var(--display); font-stretch: 112%; font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.22; letter-spacing: -0.015em;
  color: var(--ink); max-width: 900px; position: relative; padding-left: 34px;
  text-wrap: balance;
}
.pullquote::before {
  content: "\201C"; position: absolute; left: 0; top: -6px;
  font-size: 64px; line-height: 1; color: var(--amber); font-family: Georgia, serif;
}
.pullquote .attr {
  display: block; margin-top: 22px; padding-left: 2px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint);
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 110px 0; }
.cta-band h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 36px; }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding: 92px 0 60px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 860px; }
.page-hero .lede { margin-top: 20px; max-width: 720px; color: var(--text); font-size: 19.5px; }

/* ---------- timeline (experience) ---------- */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--ultra), var(--line) 85%);
}
.role { position: relative; padding: 0 0 58px 46px; }
.role::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--porcelain); border: 3px solid var(--ultra);
}
.role .capability {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ultra-deep); margin-bottom: 8px;
}
.role h3 { font-size: 25px; }
.role .org { font-size: 16.5px; color: var(--muted); margin: 6px 0 16px; font-weight: 600; }
.role .org .dates { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-left: 10px; }
.role .scope { color: var(--text); font-size: 16.5px; max-width: 72ch; margin-bottom: 16px; }
.role .wins { list-style: none; display: flex; flex-direction: column; gap: 11px; max-width: 72ch; }
.role .wins li { font-size: 16px; color: var(--text); display: flex; gap: 10px; align-items: baseline; }
.role .wins li::before { content: "▸"; color: var(--ultra); font-size: 12px; }
.earlier { padding: 8px 0 0 46px; color: var(--muted); font-size: 15.5px; max-width: 72ch; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 36px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.service:hover { transform: translateY(-4px); border-color: var(--ultra); box-shadow: var(--shadow-lift); }
.service .snum { font-family: var(--mono); color: var(--ultra-deep); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.service h3 { font-size: 24px; margin-bottom: 12px; }
.service p { color: var(--text); font-size: 16px; margin-bottom: 18px; }
.service .proof { margin-bottom: 18px; }
.service .fit { margin-top: auto; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 16px; }
.service .fit strong { color: var(--ink); font-weight: 600; }

/* ---------- practice films: the practice in 46 seconds ---------- */
.practice-film {
  max-width: 1020px; margin: 0 0 44px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-lift);
  background: var(--ink);
}
.practice-film video { width: 100%; display: block; }
.film-note {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  padding: 12px 18px; background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* ---------- practices (services): six disciplines, each a menu ---------- */
.practice-head { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: start; margin-bottom: 44px; }
.practice-head .pnum {
  font-family: var(--display); font-stretch: 116%; font-weight: 700;
  font-size: clamp(84px, 9vw, 132px); line-height: 0.86;
  color: transparent; -webkit-text-stroke: 2px var(--ultra);
  opacity: 0.85; user-select: none;
}
.practice-head h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 14px; max-width: 20ch; }
.practice-head .gproof {
  color: var(--text); font-size: 17px; max-width: 66ch;
  border-left: 3px solid var(--pulse); padding-left: 16px;
}
.practice .menu {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px;
}
.practice .menu li {
  border-left: 2px solid var(--line); padding-left: 20px;
  transition: border-color 0.25s ease;
}
.practice .menu li:hover { border-left-color: var(--ultra); }
.practice .menu h3 { font-size: 18.5px; margin-bottom: 8px; }
.practice .menu p { color: var(--muted); font-size: 15.5px; }
.practice .menu .mproof {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.03em;
  color: var(--ultra-deep); margin-top: 10px; line-height: 1.7;
}
.practice > .fit {
  margin-top: 38px; font-size: 15px; color: var(--muted);
  border-top: 1px solid var(--line-soft); padding-top: 18px; max-width: 90ch;
}
.practice > .fit strong { color: var(--ink); font-weight: 600; }
/* named-model IP: amber, exactly like the framework cards */
.model { color: var(--amber); font-weight: 600; }
.mproof .model { color: var(--amber); }
.cta-contact {
  margin-top: 26px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.06em; color: var(--muted) !important; max-width: none !important;
}

.engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; }
.engage.buy { grid-template-columns: repeat(4, 1fr); }
.step { border-left: 2px solid var(--line); padding-left: 22px; }
.step::before { content: ""; display: block; width: 30px; height: 3px; background: var(--ultra); margin-bottom: 12px; }
.step .k { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ultra-deep); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.step p { color: var(--text); font-size: 16.5px; }

/* ---------- writing ---------- */
.articles { display: grid; grid-template-columns: 1fr; gap: 20px; }
.articles.mag { grid-template-columns: repeat(3, 1fr); }
.article-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-top: 3px solid var(--ultra-tint); border-radius: var(--r-lg);
  padding: 32px 30px; display: block; color: var(--text); box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.article-card:hover { transform: translateY(-4px); border-color: var(--ultra); border-top-color: var(--ultra); box-shadow: var(--shadow-lift); text-decoration: none; }
.article-card .tag {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px; display: block;
}
.article-card h3 { font-size: 23px; margin-bottom: 10px; }
.article-card p { color: var(--muted); font-size: 15.5px; }
.article-card .soon { color: var(--faint); font-family: var(--mono); font-size: 9.5px; margin-top: 12px; display: block; letter-spacing: 0.08em; }

.article-body { max-width: 720px; }
.article-body p { margin-bottom: 22px; color: var(--text); font-size: 17px; text-wrap: pretty; }
.article-body h2 { font-size: 26px; margin: 40px 0 16px; }
.placeholder-block {
  border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 28px;
  color: var(--faint); font-family: var(--mono); font-size: 11.5px; margin: 26px 0; background: var(--surface);
}

/* ---------- article body utilities (Writing pages) ---------- */
.article-body .pullquote { margin: 34px 0; font-size: clamp(23px, 3vw, 31px); }

.article-lead::first-letter {
  float: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.82;
  padding: 6px 12px 0 0;
  color: var(--ultra-deep);
}

.article-next {
  margin-top: 46px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.4;
  color: var(--muted);
}
.article-next a { color: var(--ultra-deep); }
.article-next a:hover { color: var(--ultra); }

.article-source {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.article-source a { color: var(--ultra); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.portrait {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lift); position: sticky; top: 100px;
  background: linear-gradient(160deg, #e7edf2, #f4f7f9);
  border: 1px solid var(--line-soft);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio p { margin-bottom: 20px; color: var(--text); font-size: 17px; max-width: 68ch; }
.creds { margin-top: 36px; }
.creds h3 { font-size: 18px; margin-bottom: 14px; }
.cred-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.cred-list li {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: 13.5px; color: var(--muted); background: var(--surface);
}

/* ---------- board-ready biography (about) ---------- */
.board-bio {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--ultra); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift); padding: 42px 44px; max-width: 860px;
}
.board-bio p { color: var(--text); font-size: 17.5px; line-height: 1.72; }
.board-bio-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
#copyBio { border: none; cursor: pointer; font-family: var(--body); }
#copyBio.copied { background: var(--ink); }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 36px 32px; display: block; color: var(--text);
  transition: transform 0.3s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--ultra); box-shadow: var(--shadow-lift); text-decoration: none; }
.contact-card .k { font-family: var(--mono); font-size: 10px; color: var(--ultra-deep); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.contact-card .k .ico-k { width: 14px; height: 14px; flex: none; }
.contact-card .v { font-family: var(--display); font-stretch: 112%; font-size: 20px; font-weight: 600; color: var(--ink); }
.contact-card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line-soft); padding: 46px 0 56px; color: var(--faint); font-size: 14px; background: var(--porcelain); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.foot .links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; row-gap: 12px; }
.foot a { color: var(--muted); }
.foot .links a { display: inline-flex; align-items: center; gap: 8px; }
.foot .links a:hover { color: var(--ultra); text-decoration: none; }
.foot .links a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.foot .links .ico { width: 15px; height: 15px; flex: none; }
.foot .links a:focus-visible { outline: 2px solid var(--ultra); outline-offset: 3px; border-radius: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger .cell { border-top: 1px solid var(--line-soft); }
  .pillars, .engage, .engage.buy, .services, .articles.mag { grid-template-columns: 1fr 1fr; }
  .practice .menu { grid-template-columns: 1fr; }
  .practice-head { grid-template-columns: 1fr; gap: 10px; }
  .practice-head .pnum { font-size: 72px; }
  .method-spot { grid-template-columns: 1fr; }
  .method-portrait { min-height: 300px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .focus-stats { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; position: static; }
  .prin-layout { grid-template-columns: 1fr; gap: 24px; }
  .prin-rail { display: flex; align-items: center; gap: 24px; }
  .prin-num { font-size: 96px; }
  .prin-steps { margin-top: 0; }
  .monitor-canvas { height: 240px; }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .hero { padding: 48px 0 64px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--porcelain);
    border-bottom: 1px solid var(--line); padding: 22px 24px; gap: 18px;
  }
  .menu-btn { display: block; }
  .pillars, .services, .engage, .contact-cards, .ledger,
  .articles.mag, .proof-strip { grid-template-columns: 1fr; }
  .method-stage.enhanced { min-height: 480px; }
  .method-callout { padding: 28px 24px; }
  .focus-stats { grid-template-columns: 1fr 1fr; }
  .pullquote { padding-left: 26px; }
  .id-chip .id-meta .id-role-txt { display: none; }
  .monitor-canvas { height: 200px; }
  .monitor-head { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 16px; }
  .monitor-head .m-value { white-space: normal; }
  .monitor-rail { grid-template-columns: 1fr 1fr; }
  .monitor-rail button { border-top: 1px solid var(--line-soft); }
  .prin-steps li { padding: 7px 0 7px 12px; }
}

/* ============================================================
   AMBIENT FIELD — drifting glow blobs (GSAP-driven; extends the
   existing static .glow-field gradient, which remains the no-JS /
   reduced-motion look underneath — see main.js for the animation).
   ============================================================ */
.glow-field .blob {
  position: absolute; border-radius: 50%; filter: blur(38px); will-change: transform;
}
.glow-field .blob.b1 { width: 620px; height: 620px; left: 6%; top: -160px; background: radial-gradient(closest-side, rgba(34,48,232,0.10), transparent 72%); }
.glow-field .blob.b2 { width: 520px; height: 520px; right: 4%; top: 20px; background: radial-gradient(closest-side, rgba(255,68,56,0.07), transparent 72%); }
.glow-field .blob.b3 { width: 460px; height: 460px; left: 38%; top: 180px; background: radial-gradient(closest-side, rgba(217,147,13,0.055), transparent 72%); }

/* ---------- spotlight cards (cursor-tracked glow) ---------- */
.pillar, .service, .article-card, .contact-card, .framework { position: relative; }
.pillar > *, .service > *, .article-card > *, .contact-card > *, .framework > * { position: relative; z-index: 1; }
.pillar::before, .service::before, .article-card::before, .contact-card::before, .framework::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), rgba(34,48,232,0.12), transparent 72%);
  opacity: 0; transition: opacity 0.35s ease;
}
.pillar:hover::before, .service:hover::before, .article-card:hover::before, .contact-card:hover::before, .framework:hover::before { opacity: 1; }

/* ---------- shiny text: named-IP sweep, amber reserved for this use only ---------- */
@media (prefers-reduced-motion: no-preference) {
  .method-callout.active h3.shiny {
    background-image: linear-gradient(100deg, var(--ink) 40%, var(--amber) 50%, var(--ink) 60%);
    background-size: 240% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shineSweep 2.8s ease-in-out 0.35s 1 forwards;
  }
}
@keyframes shineSweep { to { background-position: 0 0; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .id-chip .pulse-dot, .status-line .pulse, .monitor-head .pulse-dot { animation: none; }
  .btn, .pillar, .framework, .article-card, .service, .contact-card { transition: none; }
  .kinetic .line > span { transform: none !important; }
  .hl::after { transform: scaleX(1); transition: none; }
  .framework .glyph .g-draw { stroke-dashoffset: 0; transition: none; }
  .progress { display: none; }
  .prin-pin.enhanced .prin-panel { transition: none; }
  .glow-field .blob { display: none; }
}

/* ---------- role case-study link (experience timeline) ---------- */
.role-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ultra-deep);
}
.role-link:hover { color: var(--ultra); text-decoration: none; letter-spacing: 0.08em; }

/* ============================================================
   OPERATING MODELS PAGE — the named IP, one model per section
   ============================================================ */
.model-block { position: relative; }
.model-head { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; margin-bottom: 40px; }
.model-head .mnum {
  font-family: var(--display); font-stretch: 116%; font-weight: 700;
  font-size: clamp(84px, 9vw, 138px); line-height: 0.84;
  color: transparent; -webkit-text-stroke: 2px var(--ultra); opacity: 0.85; user-select: none;
}
.model-head h2 { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 12px; max-width: 20ch; }
.model-head h2 .model { color: var(--amber); }
.model-built {
  font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--muted); text-transform: uppercase;
}
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.model-col h3 {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ultra-deep); margin-bottom: 12px;
}
.model-col p { color: var(--text); font-size: 17px; line-height: 1.62; margin-bottom: 22px; }
.model-diagram {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 30px 30px 24px;
}
.model-diagram .dlabel {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 22px; display: block;
}
.model-diagram svg { width: 100%; height: auto; display: block; }
.model-outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.mo-cell { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 24px 22px; }
.mo-cell .mo-n { font-family: var(--display); font-stretch: 116%; font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); line-height: 1.04; }
.mo-cell .mo-n .u { color: var(--ultra-deep); font-size: 0.62em; font-weight: 600; }
.mo-cell .mo-l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 12px; line-height: 1.5; }
.model-transfer {
  margin-top: 34px; border-left: 3px solid var(--amber); padding-left: 20px;
  color: var(--text); font-size: 17px; max-width: 74ch;
}
.model-transfer strong { color: var(--ink); font-weight: 600; }

/* SVG diagram atoms (shared) */
.dg-box { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.dg-box-ultra { fill: var(--ultra-tint); stroke: var(--ultra); stroke-width: 1.5; }
.dg-box-amber { fill: var(--amber-tint); stroke: var(--amber); stroke-width: 2; }
.dg-t { font-family: var(--mono); font-size: 12px; font-weight: 600; fill: var(--text); }
.dg-t-mid { font-family: var(--mono); font-size: 12px; font-weight: 600; fill: var(--text); text-anchor: middle; }
.dg-t-amber { font-family: var(--mono); font-size: 12px; font-weight: 600; fill: var(--amber); text-anchor: middle; }
.dg-t-white { font-family: var(--mono); font-size: 12px; font-weight: 600; fill: #fff; text-anchor: middle; }
.dg-line { stroke: var(--ultra); stroke-width: 1.6; fill: none; }
.dg-line-coral { stroke: var(--pulse); stroke-width: 1.8; fill: none; }
.dg-fill-ultra { fill: var(--ultra); }
.dg-fill-coral { fill: var(--pulse); }
.dg-cap { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; fill: var(--faint); text-anchor: middle; }
.dg-sm { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: var(--text); text-anchor: middle; }
.dg-sm-white { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: #fff; text-anchor: middle; }

/* ============================================================
   INDEPENDENT CHAPTER — fractional case-study narrative
   ============================================================ */
.cs-read { max-width: 760px; }
.cs-section { padding: 84px 0; border-top: 1px solid var(--line-soft); }
.cs-meta {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.cs-meta .cs-tag { color: var(--ultra-deep); }
.cs-section h2 { font-size: clamp(26px, 3.6vw, 42px); margin: 16px 0 0; line-height: 1.1; max-width: 22ch; }
.cs-section h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 40px 0 10px; letter-spacing: -0.01em; }
.cs-section p { margin: 0 0 18px; color: var(--text); font-size: 17.5px; line-height: 1.66; }
.cs-lead { font-size: 19px !important; color: var(--text); margin-top: 22px !important; }
.cs-quote {
  border-left: 3px solid var(--amber); background: linear-gradient(180deg, #fff, #fdfbf6);
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0;
  font-family: var(--display); font-stretch: 108%; font-weight: 600;
  font-size: clamp(18px, 2.2vw, 23px); letter-spacing: -0.01em; line-height: 1.34; color: var(--ink);
}
.cs-quote .who {
  display: block; font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-top: 14px;
}
.fw-call {
  background: linear-gradient(165deg, #ffffff, #fbf9f4 88%);
  border: 1px solid var(--line-soft); border-top: 3px solid var(--amber);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: 30px 32px; margin: 34px 0;
}
.fw-call .kicker { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.fw-call .nm { font-family: var(--display); font-stretch: 116%; font-weight: 700; font-size: 26px; color: var(--amber); letter-spacing: -0.01em; margin: 10px 0 14px; }
.fw-call p { font-size: 16px; margin: 0 0 14px; color: var(--text); }
.fw-call p:last-child { margin: 0; }
.oc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 8px; }
.oc { background: var(--tint); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 22px; }
.oc .n { font-family: var(--display); font-stretch: 116%; font-weight: 700; font-size: 28px; color: var(--ultra-deep); letter-spacing: -0.02em; line-height: 1; }
.oc .l { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.45; }

@media (max-width: 920px) {
  .model-head { grid-template-columns: 1fr; gap: 8px; }
  .model-head .mnum { font-size: 72px; }
  .model-grid { grid-template-columns: 1fr; gap: 28px; }
  .model-outcomes { grid-template-columns: 1fr 1fr; }
  .oc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .model-outcomes { grid-template-columns: 1fr; }
}

/* ============================================================
   GLOBAL FOOTPRINT — dark instrument band with canvas globe
   (Experience page capstone. One of the few dark surfaces,
   deliberate, like the cinematic hero.)
   ============================================================ */
.footprint {
  position: relative; overflow: hidden;
  background:
    radial-gradient(130% 100% at 72% 8%, #16264a 0%, #0d1830 46%, #0b1526 100%);
  color: #eaf0f8;
}
.footprint::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,140,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,140,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(120% 100% at 30% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 30% 50%, #000, transparent 78%);
}
.footprint .wrap { position: relative; z-index: 1; }
.footprint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.footprint .eyebrow { color: #8fa2ff; }
.footprint .eyebrow::before { background: #8fa2ff; }
.footprint h1, .footprint h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); max-width: 16ch; }
.footprint-hero { padding-top: 116px; padding-bottom: 108px; }
.footprint-hero .footprint-grid { grid-template-columns: minmax(340px, 0.94fr) 1.06fr; gap: 24px; }
.footprint-hero .footprint-copy { position: relative; z-index: 3; }
/* headline: force white + a soft backing so it stays legible over the globe no matter what CSS is cached */
.footprint-hero .footprint-copy h1 { color: #fff; text-shadow: 0 2px 34px rgba(6,12,28,0.62); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; max-width: 17ch; }
.footprint-hero .footprint-copy p { color: #c6d2ee; font-size: 18.5px; max-width: 50ch; }
.footprint-hero .footprint-globe { width: min(60vw, 860px); max-width: none; justify-self: end; margin-right: -62px; margin-top: -18px; margin-bottom: -18px; }
/* fade the dark hero into the light section below */
.footprint-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(11,21,38,0) 0%, rgba(11,21,38,0.5) 42%, var(--porcelain) 100%); }
.footprint-copy p { color: #b9c6e6; font-size: 18px; line-height: 1.6; max-width: 48ch; margin-top: 18px; }
.footprint-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.fp-stat .v { font-family: var(--display); font-stretch: 116%; font-weight: 700; font-size: 42px; color: #fff; line-height: 1; }
.fp-stat .v .u { color: #8fa2ff; font-size: 0.5em; font-weight: 600; }
.fp-stat .k { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #8fa2ff; margin-top: 10px; max-width: 16ch; }
.footprint-globe { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
#footprintGlobe { width: 100%; height: 100%; display: block; }
.footprint-globe .fg-fallback {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #8fa2ff; text-align: center; padding: 0 40px;
}
.no-js .footprint-globe .fg-fallback { display: flex; }
@media (max-width: 920px) {
  .footprint-grid { grid-template-columns: 1fr; gap: 32px; }
  .footprint-globe { max-width: 440px; order: -1; }
  .footprint-hero .footprint-grid { grid-template-columns: 1fr; gap: 28px; }
  .footprint-hero .footprint-globe { width: 100%; max-width: 460px; justify-self: center; margin: 0 auto; order: -1; }
  .footprint-hero { padding-top: 104px; padding-bottom: 72px; }
}

:focus-visible { outline: 2px solid var(--ultra); outline-offset: 3px; border-radius: 4px; }
