/* ═══════════════════════════════════════════════════════════════
   GenjiTech — style.css (production, 2026-08-02; large-screen scaling 2026-11-25)
   "Gets to keep" synthesis: forest-green canvas · Playfair display ·
   ownership hero + ICM diagram panel · proof stack · six services
   All sizes are in rem so the whole layout scales with the root font size
   (see the html rule). Hairlines (1-3px) stay in px on purpose.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --canvas: #1C3A2C;
  --canvas-deep: #142B20;
  --canvas-lift: #26493A;
  --canvas-darkest: #0F231A;
  --cream: #F5F1E8;
  --c-body: rgba(245, 241, 232, 0.82);
  --c-muted: rgba(245, 241, 232, 0.65);
  --c-faint: rgba(245, 241, 232, 0.5);
  --c-stroke: rgba(245, 241, 232, 0.14);
  --c-stroke-soft: rgba(245, 241, 232, 0.09);
  --sage: #A8C6A5;
  --card: #FFFFFF;
  --ink: #20241F;
  --ink-body: #43483F;
  --ink-muted: #6A6F63;
  --stroke: rgba(32, 36, 31, 0.15);
  --stroke-soft: rgba(32, 36, 31, 0.08);
  --orange: #E4590F;
  --orange-deep: #C74B0A;
  --serif: 'Playfair Display', Georgia, serif;
  --head: 'Montserrat', 'Segoe UI', sans-serif;
  --sans: 'Open Sans', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Large-screen scaling. Root stays at the browser default (16px) up to a 1440px-wide
   window, then grows smoothly: about 18.6px at 1920, 22px at 2560, capped at 24px.
   51.75% of 16px = 8.28px, so 8.28px + 0.536vw = 16px exactly at 1440px. */
html { font-size: clamp(100%, calc(51.75% + 0.536vw), 150%); scroll-behavior: smooth; scroll-padding-top: 5.75rem; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--c-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--sage); color: var(--ink); }
img { max-width: 100%; display: block; }
.container { max-width: 75rem; margin: 0 auto; padding: 0 1.625rem; }
h1, h2, h3 { color: var(--cream); }

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  font-family: var(--head);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.625rem 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.kicker {
  display: block;
  font-family: var(--head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 3.3vw, 2.625rem);
  font-weight: 580;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.accent { color: var(--sage); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: var(--head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0.625rem;
  padding: 1rem 1.625rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 0.5rem 1.5rem rgba(228, 89, 15, 0.3); }
.btn-orange:hover { background: var(--orange-deep); }
.btn-line { background: transparent; color: var(--cream); border: 1.5px solid rgba(245, 241, 232, 0.55); }
.btn-line:hover { background: var(--cream); color: var(--canvas-deep); border-color: var(--cream); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 43, 32, 0.92);
  backdrop-filter: blur(0.625rem);
  -webkit-backdrop-filter: blur(0.625rem);
  border-bottom: 1px solid var(--c-stroke-soft);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 0.375rem 1.5rem rgba(8, 16, 12, 0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
/* logo may shrink (never the menu button) when a large default font makes the header tight */
.logo-link { display: inline-flex; align-items: center; min-width: 0; }
.logo-svg { width: 13.5rem; height: 3rem; min-width: 0; max-width: 100%; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a.nav-link {
  font-family: var(--head);
  font-size: 0.78125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.main-nav a.nav-link:hover { color: #fff; }
.nav-cta { padding: 0.75rem 1.25rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); cursor: pointer; padding: 0.5rem; flex-shrink: 0; }
.nav-toggle svg { width: 1.625rem; height: 1.625rem; }

/* ---------- hero ---------- */
.hero { padding: 9.25rem 0 2.875rem; }
.hero-inner { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 2.75rem; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(min(2.375rem, 12vw), 4.3vw, 3.625rem);  /* 12vw keeps the unbroken accent phrase on-screen at very large font settings */
  font-weight: 580;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero .lede { font-size: 1.125rem; line-height: 1.65; color: var(--c-body); max-width: 29.375rem; margin-bottom: 0.875rem; }
.hero .showwork {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.1875rem;
  color: var(--cream);
  margin-bottom: 1.875rem;
}
.hero .showwork::before { content: ''; width: 3px; height: 1.5rem; background: var(--sage); border-radius: 2px; flex-shrink: 0; }
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 1.375rem; }
.hero-note { font-size: 0.78125rem; color: var(--c-faint); max-width: 27.5rem; line-height: 1.6; }
.hero-note .dot { display: inline-block; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--sage); margin-right: 0.4375rem; vertical-align: 2px; }

/* diagram panel: the dark "screen" moment on the warm page */
.hero-media { position: relative; }
.diagram-panel {
  background: #00030F;
  border: 1px solid var(--c-stroke);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1.625rem 3.75rem rgba(8, 16, 12, 0.5);
}
.diagram-panel img { width: 100%; height: auto; }

/* what we captured: plain text caption under the diagram (no card) */
.captured { margin-top: 1.25rem; padding: 0 0.25rem; }
.captured .cc-title {
  font-family: var(--head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.625rem;
}
.captured ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11.75rem, 100%), 1fr)); gap: 0.375rem 1.25rem; }
.captured li { display: flex; align-items: center; gap: 0.5625rem; font-size: 0.875rem; line-height: 1.5; color: var(--c-body); }
.captured li svg { width: 1rem; height: 1rem; color: var(--sage); flex-shrink: 0; }

/* ---------- stats bar ---------- */
.stats { padding: 3.5rem 0 0; }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--canvas-deep);
  border: 1px solid var(--c-stroke);
  border-radius: 0.875rem;
}
.stat { display: flex; align-items: center; gap: 0.9375rem; padding: 1.625rem 1.5rem; border-right: 1px solid var(--c-stroke-soft); }
.stat:last-child { border-right: none; }
.stat-icon {
  width: 3rem; height: 3rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.4px solid rgba(168, 198, 165, 0.45);
  border-radius: 50%;
  color: var(--sage);
}
.stat-icon svg { width: 1.375rem; height: 1.375rem; }
.stat .num { font-family: var(--serif); font-size: 1.875rem; font-weight: 600; color: #fff; line-height: 1.1; }
.stat .num span { font-size: 1.1875rem; }
.stat .title { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; color: #fff; line-height: 1.2; }
.stat .label { font-family: var(--head); font-size: 0.65625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-faint); line-height: 1.5; margin-top: 0.25rem; }

/* ---------- sections ---------- */
.hero-inner > *, .wwd-grid > *, .icm-grid > *, .about-grid > *, .contact-grid > * { min-width: 0; }
.section { padding: 6rem 0; }
.band { background: var(--canvas-deep); border-top: 1px solid var(--c-stroke-soft); border-bottom: 1px solid var(--c-stroke-soft); }

/* what we do */
.wwd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.wwd-copy p { font-size: 1.03125rem; line-height: 1.75; color: var(--c-muted); margin-bottom: 1.125rem; }
.wwd-copy p:last-child { margin-bottom: 0; }
.wwd-copy strong { color: var(--cream); font-weight: 600; }

/* why icm */
.icm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.25rem; align-items: center; margin-bottom: 3.25rem; }
.icm-lede { font-size: 1rem; color: var(--c-muted); margin-top: 0.875rem; }
.icm-lede strong { color: var(--cream); font-weight: 600; }
.icm-panel {
  background: #161A15;
  border: 1px solid var(--c-stroke);
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(8, 16, 12, 0.4);
}
.icm-panel-bar { display: flex; align-items: center; gap: 0.4375rem; background: rgba(245, 241, 232, 0.06); border-bottom: 1px solid rgba(245, 241, 232, 0.1); padding: 0.625rem 0.9375rem; }
.icm-panel-bar .dot { width: 0.5625rem; height: 0.5625rem; border-radius: 50%; background: rgba(245, 241, 232, 0.22); }
.icm-panel-bar .bar-title { font-family: var(--mono); font-size: 0.6875rem; color: rgba(245, 241, 232, 0.6); margin-left: 0.4375rem; }
.icm-tree { list-style: none; padding: 0.8125rem 1rem 0.9375rem; }
.icm-tree li { display: flex; align-items: center; gap: 0.5625rem; font-family: var(--mono); font-size: 0.75rem; color: rgba(245, 241, 232, 0.82); padding: 0.3125rem 0; flex-wrap: wrap; }
.icm-tree li.indent { padding-left: 1.5rem; }
.icm-tree .icon { color: rgba(245, 241, 232, 0.4); font-size: 0.625rem; }
.icm-tree .fname { font-weight: 500; color: #F5F1E8; }
.icm-tree .tag { font-family: var(--head); font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 0.25rem; padding: 2px 0.4375rem; margin-left: auto; }
.tag-sage { background: rgba(168, 198, 165, 0.16); color: #A8C6A5; }
.tag-green { background: rgba(141, 198, 63, 0.18); color: #B4E07A; }
.tag-orange { background: rgba(255, 154, 102, 0.16); color: #FF9A66; }
.icm-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.375rem; }
.icm-point { background: var(--canvas-deep); border: 1px solid var(--c-stroke); border-radius: 0.875rem; padding: 1.5rem 1.375rem; }
.icm-point h3 { display: flex; align-items: center; gap: 0.5625rem; font-family: var(--serif); font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
.icm-point h3 svg { width: 1.1875rem; height: 1.1875rem; color: var(--sage); flex-shrink: 0; }
.icm-point p { font-size: 0.8125rem; color: var(--c-muted); line-height: 1.6; }

/* proof band */
.proof-head { text-align: center; max-width: 42.5rem; margin: 0 auto 2.5rem; }
.proof-head .fail-line { font-family: var(--serif); font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 580; color: var(--cream); line-height: 1.35; }
.proof-head .fail-line .accent { color: var(--sage); }
.proof-head p { font-size: 0.90625rem; color: var(--c-muted); margin-top: 0.875rem; }
.proof-head a { color: #FFB98A; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 185, 138, 0.45); }
.proof-head a:hover { color: #fff; border-bottom-color: #fff; }
.trust-label { text-align: center; font-family: var(--head); font-size: 0.71875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-faint); margin-bottom: 1.5rem; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.trust-chip { display: flex; align-items: center; justify-content: center; height: 4.25rem; background: var(--card); border-radius: 0.75rem; padding: 0.75rem 1.25rem; }
.trust-chip img { max-height: 2.625rem; width: auto; }

/* services */
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head p { font-size: 1rem; color: var(--c-muted); margin-top: 0.75rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--card);
  border: 1px solid var(--stroke-soft);
  border-radius: 0.875rem;
  padding: 1.75rem 1.625rem;
  transition: transform 0.16s ease;
}
.service-card:hover { transform: translateY(-3px); }
.service-icon {
  width: 3rem; height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 107, 74, 0.08);
  border: 1px solid rgba(47, 107, 74, 0.22);
  border-radius: 0.75rem;
  color: #2F6B4A;
  margin-bottom: 1rem;
}
.service-icon svg { width: 1.4375rem; height: 1.4375rem; }
.service-card h3 { font-size: 1.03125rem; font-weight: 700; font-family: var(--sans); color: var(--ink); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; }

/* cost curve */
.costcurve { text-align: center; }
.costcurve .section-title { margin-bottom: 1.125rem; }
.costcurve .statement { font-size: 1.03125rem; color: var(--c-muted); max-width: 43.75rem; margin: 0 auto 1.375rem; }
.costcurve .payoff { font-family: var(--serif); font-size: clamp(1.1875rem, 2.2vw, 1.5625rem); font-weight: 580; color: var(--cream); }

/* process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.625rem; margin-top: 3rem; }
.process-step .num { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--sage); line-height: 1; margin-bottom: 0.75rem; }
.process-step h3 { font-size: 1.03125rem; font-weight: 700; font-family: var(--sans); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.84375rem; color: var(--c-muted); line-height: 1.6; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-copy p { font-size: 0.96875rem; color: var(--c-muted); line-height: 1.75; margin-bottom: 1rem; }
.about-copy strong { color: var(--cream); font-weight: 600; }
.handdown {
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--cream);
  border-left: 3px solid var(--sage);
  padding-left: 1.125rem;
  margin-top: 1.5rem;
}
.founder-card {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  background: var(--card);
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  margin-top: 1.75rem;
  box-shadow: 0 0.875rem 2.25rem rgba(8, 16, 12, 0.35);
}
.founder-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.125rem; height: 3.125rem;
  border-radius: 50%;
  background: var(--canvas);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
}
.founder-card .name { font-weight: 700; color: var(--ink); font-size: 0.9375rem; }
.founder-card > div:last-child { min-width: 0; }
.founder-card .role { font-size: 0.78125rem; color: var(--ink-muted); overflow-wrap: anywhere; }
.founder-card .role a { color: #2F6B4A; text-decoration: none; font-weight: 600; }
.founder-card .role a:hover { text-decoration: underline; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 26.25rem; gap: 3.5rem; align-items: center; }
.contact-copy .contact-lede { font-size: 1rem; color: var(--c-muted); margin-top: 0.875rem; max-width: 30rem; }
.contact-copy .mailto-line { font-size: 0.875rem; color: var(--c-muted); margin-top: 1.125rem; }
.contact-copy .mailto-line a { color: var(--sage); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(168, 198, 165, 0.4); }
.contact-copy .mailto-line a:hover { color: #fff; border-bottom-color: #fff; }
.audit-card {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  padding: 1.75rem 1.625rem;
  box-shadow: 0 1.375rem 3.375rem rgba(8, 16, 12, 0.45);
  overflow: hidden;
}
.audit-card::before { content: ''; position: absolute; top: 0; left: 1.25rem; right: 1.25rem; height: 3px; background: #2F6B4A; border-radius: 0 0 3px 3px; }
.audit-card h3 { font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.625rem; }
.audit-card > p { font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 1rem; }
.field { margin-bottom: 0.75rem; }
.audit-card input {
  width: 100%;
  padding: 0.8125rem 0.9375rem;
  background: #F5F1E8;
  border: 1px solid var(--stroke);
  border-radius: 0.5625rem;
  font-family: var(--sans);
  font-size: 0.90625rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.audit-card input::placeholder { color: #8B8F82; }
.audit-card input:focus { border-color: #2F6B4A; background: #fff; box-shadow: 0 0 0 3px rgba(47, 107, 74, 0.16); }
.audit-card input.invalid { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(228, 89, 15, 0.12); }
.form-note { font-size: 0.71875rem; color: #8B8F82; margin-top: 0.75rem; text-align: center; }
.hp-wrap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  display: none;
  background: rgba(194, 69, 58, 0.08);
  border: 1px solid rgba(194, 69, 58, 0.4);
  border-radius: 0.5625rem;
  padding: 0.6875rem 0.875rem;
  font-size: 0.8125rem;
  color: #8E3129;
  margin-bottom: 0.8125rem;
}
.form-error.visible { display: block; }
.form-error a { color: inherit; font-weight: 700; }
.form-success { display: none; text-align: center; padding: 1.5rem 0.5rem 0.75rem; }
.form-success.visible { display: block; }
.form-success:focus { outline: none; }
.form-success svg { width: 2.625rem; height: 2.625rem; color: #2F6B4A; margin: 0 auto 0.75rem; }
.form-success .fs-title { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3125rem; }
.form-success .fs-sub { font-size: 0.8125rem; color: var(--ink-muted); }

/* footer */
.site-footer { background: var(--canvas-darkest); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.footer-logo { width: 13.5rem; height: 3rem; max-width: 100%; }
.footer-fine { text-align: right; }
.footer-fine .fine { display: block; font-size: 0.78125rem; color: var(--c-faint); }
.footer-fine a { color: var(--c-muted); text-decoration: none; }
.footer-fine a:hover { color: #fff; }

/* responsive */
@media (max-width: 68.75em) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats { padding-top: 3rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--c-stroke-soft); }
  .wwd-grid, .about-grid, .icm-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .icm-points, .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 56.25em) {
  .header-inner { gap: 1rem; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 5rem; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--canvas-deep);
    border-bottom: 1px solid var(--c-stroke);
    padding: 0.5rem 1.625rem 1.25rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a.nav-link { padding: 0.8125rem 0; border-bottom: 1px solid var(--c-stroke-soft); }
  .nav-cta { margin-top: 0.875rem; justify-content: center; }
}
@media (max-width: 38.75em) {
  .section { padding: 4.5rem 0; }
  .hero { padding-top: 7.75rem; }
  .hero-actions .btn { width: 100%; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--c-stroke-soft); }
  .stat:last-child { border-bottom: none; }
  .services-grid, .icm-points, .process-grid { grid-template-columns: 1fr; }
  .logo-svg, .footer-logo { width: 11.875rem; height: 2.625rem; }
  .footer-inner { justify-content: center; }
  .footer-fine { text-align: center; }
}

/* ---------- drawn diagrams (2026-11-25): hero flow + "where it fits" hub, real text, sharp at any size ---------- */
.diagram-panel svg { display: block; width: 100%; height: auto; }
.diagram-panel .flow-m { display: none; }
@media (max-width: 38.75em) {
  .diagram-panel .flow-d { display: none; }
  .diagram-panel .flow-m { display: block; }
}
/* "where it fits" hub: eight kinds of work around one written record */
.uc-wrap { margin-top: 4.5rem; }
.uc-head { text-align: center; max-width: 42.5rem; margin: 0 auto 1.75rem; }
.uc-head h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.125rem); font-weight: 580; line-height: 1.2; letter-spacing: -0.01em; }
.uc-head p { font-size: 1rem; color: var(--c-muted); margin-top: 0.625rem; }
.uc-panel { position: relative; background: #00030F; border: 1px solid var(--c-stroke); border-radius: 1rem; overflow: hidden; box-shadow: 0 1.625rem 3.75rem rgba(8, 16, 12, 0.5); }
.uc-panel svg.uc-hub { display: block; width: 100%; height: auto; }
.uc-mhead { display: none; }
/* the list is the accessible text version; hidden visually while the drawn hub is showing */
.uc-list { list-style: none; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 47.5em) {
  .uc-panel svg.uc-hub { display: none; }
  .uc-mhead { display: flex; flex-direction: column; align-items: center; gap: 0.625rem; padding: 1.5rem 1rem 0.375rem; text-align: center; }
  .uc-pill { font-family: var(--head); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(18, 52, 104, 0.95); border: 1.5px solid #29AAE1; border-radius: 999px; padding: 0.5rem 1.125rem; box-shadow: 0 0 1.125rem rgba(41, 170, 225, 0.45); }
  .uc-rec { font-family: var(--head); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #FF9A66; line-height: 1.6; }
  .uc-list { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; padding: 1rem 1rem 1.375rem; }
  .uc-list li { display: flex; align-items: center; gap: 0.625rem; min-width: 0; background: rgba(12, 26, 56, 0.78); border: 1px solid rgba(127, 208, 245, 0.32); border-radius: 0.75rem; padding: 0.625rem 0.75rem; font-size: 0.8125rem; font-weight: 600; color: var(--cream); line-height: 1.3; }
  .uc-ico { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.125rem; height: 2.125rem; border-radius: 50%; border: 1.5px solid #29AAE1; color: #9BDCF8; }
  .uc-ico svg { width: 1.125rem; height: 1.125rem; }
}
@media (max-width: 22.5em) { .uc-list { grid-template-columns: 1fr; } }
