/* ============================================================
   Ops & Order - Direction D: "The Operational Intelligence Layer"
   Direction B foundation + Direction A imports.
   One Ops Navy. Terracotta accent. Calm Cream ground. Larger, legible type.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors (Direction D palette, exact) */
  --navy: #042F61;        /* Ops Navy - the ONLY dominant dark blue */
  --copper: #C5723C;      /* Order Terracotta - accent only */
  --copper-deep: #A85B2A; /* terracotta hover/active for AA contrast on light */
  --cream: #F4EEE2;       /* Calm Cream - dominant light background */
  --white: #FFFFFF;       /* only where extra clarity is needed */
  --ink: #17212B;         /* Ink - text */
  --mist: #DCE5EC;        /* Mist Blue - pale panels / data backgrounds only */

  /* Derived neutrals */
  --surface: #FBF7EF;     /* slightly lighter cream card surface */
  --muted: #55606E;       /* muted body text on light */
  --on-navy: #F4EEE2;     /* warm cream text on navy */
  --muted-navy: #AFBACB;  /* muted text on navy */
  --copper-on-navy: #E0A879; /* terracotta tint legible on navy */

  /* Hairlines / borders */
  --line: rgba(4, 47, 97, 0.14);
  --line-strong: rgba(4, 47, 97, 0.28);
  --line-on-navy: rgba(244, 238, 226, 0.16);

  /* Type scale (clamp, fluid) - Direction D: larger, legible.
     Floors chosen to satisfy brief minimums at 1280px+. */
  --text-xs: 0.8125rem;   /* 13px - smallest micro labels */
  --text-sm: 0.9375rem;   /* 15px - overlines / labels floor */
  --text-base: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);  /* 17-19px body */
  --text-md: clamp(1.125rem, 1.02rem + 0.5vw, 1.25rem);     /* 18-20px lead */
  --text-lg: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);         /* ~21-27px */
  --text-xl: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);         /* ~27-40px */
  --text-2xl: clamp(2.2rem, 1.55rem + 2.9vw, 3.5rem);       /* ~35-56px section heads */
  --text-3xl: clamp(2.7rem, 1.5rem + 5.2vw, 5.4rem);        /* ~43-86px hero (near Direction A) */

  /* Spacing (4px base) */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --s-32: 128px;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 900px;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Work Sans', system-ui, -apple-system, sans-serif;
  --font-label: 'Bernhard Fashion', 'Cormorant Garamond', serif;

  --shadow-card: 0 1px 2px rgba(4,47,97,.05), 0 8px 24px rgba(4,47,97,.06);
  --shadow-lift: 0 2px 4px rgba(4,47,97,.08), 0 22px 56px rgba(4,47,97,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.62;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: rgba(197,114,60,.22); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-6); }
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--cream { background: var(--surface); border-block: 1px solid var(--line); }

/* ---------- Typography primitives ---------- */
.overline {
  font-family: var(--font-label);
  font-size: 1.1875rem;   /* 19px - matches hero overline */
  letter-spacing: 0.16em;
  color: var(--copper-deep);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.overline::before {
  content: "";
  width: 32px; height: 1.5px;
  background: var(--copper);
  display: inline-block;
}
.overline--hero { font-size: 1.1875rem; letter-spacing: 0.18em; color: var(--copper-deep); white-space: nowrap; }
.overline--navy { color: var(--navy); }
.overline--navy::before { background: var(--navy); }
.overline--cream { color: var(--copper-on-navy); }
.overline--cream::before { background: var(--copper-on-navy); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; color: var(--navy); text-wrap: balance; }
.h-section { font-size: var(--text-2xl); letter-spacing: -0.02em; }
.h-section--on-navy { color: var(--on-navy); }
.serif-em { font-style: italic; color: var(--copper); font-weight: 500; }

p { max-width: 64ch; text-wrap: pretty; }
.lead { font-size: var(--text-md); color: var(--ink); line-height: 1.6; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  line-height: 1;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { font-size: var(--text-md); padding: 16px 30px; }
.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 6px 18px rgba(197,114,60,.28); }
.btn--primary:hover { background: var(--copper-deep); box-shadow: 0 12px 26px rgba(168,91,42,.34); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--navy); background: rgba(4,47,97,.05); }
.btn--on-navy { background: var(--copper); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.btn--on-navy:hover { background: var(--copper-deep); box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,238,226,.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.header.scrolled {
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(4,47,97,.07);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: var(--s-6); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__wordmark { height: 42px; width: auto; }
.brand__wordmark--footer { height: 48px; }
@media (max-width: 480px) { .brand__wordmark { height: 36px; } }

.nav { display: flex; align-items: center; gap: var(--s-8); }
.nav__links { display: flex; align-items: center; gap: var(--s-5); list-style: none; }
.nav__links a { font-size: 1rem; color: var(--ink); font-weight: 400; position: relative; padding-block: 4px; white-space: nowrap; } /* 16px */
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--copper); transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 11px 20px; font-size: 1rem; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: .25s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--navy); transition: .25s var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(52px, 6vw, 88px); padding-bottom: clamp(44px, 5vw, 72px); overflow: hidden; }
.hero__bg-ring {
  position: absolute; right: -10%; top: -20%; width: min(52vw, 700px); height: auto;
  opacity: .85; pointer-events: none; z-index: 0;
}
.hero__grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; position: relative; z-index: 1;
}
.hero__headline { font-size: var(--text-3xl); margin-block: var(--s-5) var(--s-6); max-width: 13ch; line-height: 0.98; letter-spacing: -0.03em; }
.hero__para { max-width: 50ch; color: var(--ink); font-size: var(--text-md); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); }

/* Operational Health Snapshot panel */
.opspanel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.opspanel__head {
  background: var(--navy);
  color: var(--on-navy);
  padding: 15px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.opspanel__title { font-family: var(--font-label); letter-spacing: .12em; font-size: var(--text-sm); color: var(--on-navy); }
.opspanel__dot { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-navy); font-weight: 600; white-space: nowrap; }
.opspanel__dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--copper-on-navy); box-shadow: 0 0 0 3px rgba(224,168,121,.2); display: inline-block; }
.opspanel__body { padding: 24px 24px 26px; }
.opsdial { display: flex; align-items: center; gap: 22px; }
.opsdial__svg { flex: 0 0 auto; width: 140px; height: 140px; }
.opsdial__num { font-family: var(--font-serif); font-size: 2.7rem; font-weight: 600; fill: var(--navy); }
.opsdial__den { font-family: var(--font-sans); font-size: .84rem; font-weight: 600; fill: var(--muted); letter-spacing: .04em; }
.opsdial__meta { flex: 1 1 auto; }
.opsdial__band {
  display: inline-block; font-family: var(--font-label); letter-spacing: .1em;
  font-size: var(--text-sm); color: var(--copper-deep);
  background: rgba(197,114,60,.12); border: 1px solid rgba(197,114,60,.28);
  padding: 6px 14px; border-radius: 100px; margin-bottom: var(--s-3);
}
.opsdial__cap { font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }

.metricrows { margin-top: 22px; border-top: 1px solid var(--line); }
.metricrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.metricrow__label { font-size: 1rem; color: var(--ink); font-weight: 500; }
.metricrow__bar { display: flex; align-items: center; gap: 12px; }
.metricrow__track { width: 96px; height: 8px; border-radius: 100px; background: var(--mist); overflow: hidden; position: relative; }
.metricrow__fill { display: block; height: 100%; border-radius: 100px; background: var(--copper); }
.metricrow__fill--priority { background: var(--copper); }
.metricrow__fill--attn { background: #C99A5B; }
.metricrow__fill--dev { background: #6E8C6A; }
.metricrow__val { font-size: 0.8125rem; font-weight: 600; color: var(--navy); min-width: 116px; text-align: right; letter-spacing: .01em; white-space: nowrap; }
.metricrow__val--priority { color: var(--copper-deep); }
.metricrow__track { width: 88px; }
.opspanel__foot { font-size: 0.875rem; color: var(--muted); padding: 15px 24px; background: rgba(4,47,97,.03); border-top: 1px solid var(--line); line-height: 1.5; }

/* ---------- Proof strip ---------- */
.proofstrip { border-block: 1px solid var(--line); background: var(--surface); }
.proofstrip__label { font-family: var(--font-label); font-size: 1.1875rem; letter-spacing: .16em; color: var(--copper-deep); text-align: center; margin-bottom: var(--s-6); }
.proofstrip__inner { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.proofitem { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; position: relative; min-width: 0; }
.proofitem + .proofitem::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.proofitem__num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600; color: var(--copper-deep); line-height: 1; }
.proofitem__label { font-size: 1rem; color: var(--ink); line-height: 1.4; } /* 16px */

/* ---------- Section head ---------- */
.section-head { max-width: var(--maxw-narrow); margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head p { margin-top: var(--s-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .overline { display: inline-flex; }
.section-head--center p { margin-inline: auto; }

/* ---------- Quiet cost sequence ---------- */
.costseq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.costitem {
  display: grid; grid-template-columns: 130px 1fr auto; gap: clamp(16px, 3vw, 44px);
  align-items: start; padding: clamp(30px, 3.6vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.costitem__num { position: relative; }
.costitem__num svg { position: absolute; top: -16px; left: -8px; width: 84px; height: 84px; opacity: .55; }
.costitem__num span { font-family: var(--font-serif); font-size: 2.9rem; font-weight: 600; color: var(--navy); position: relative; z-index: 1; }
.costitem__title { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; color: var(--navy); line-height: 1.1; }
.costitem__desc { margin-top: 12px; color: var(--muted); max-width: 54ch; font-size: var(--text-base); }
.costitem__cost { justify-self: end; text-align: right; align-self: center; }
.costtag {
  display: inline-block; font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600;
  letter-spacing: .02em; color: var(--copper-deep);
  border: 1px solid rgba(197,114,60,.3); border-radius: 100px; padding: 7px 16px; white-space: nowrap;
}

/* ---------- What Ops&Order fixes: three-part transformation ---------- */
.fix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.fixcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; position: relative; overflow: hidden;
}
.fixcard__key { font-family: var(--font-label); letter-spacing: .16em; font-size: var(--text-sm); color: var(--navy); }
.fixflow { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.fixflow__from { font-size: var(--text-base); color: var(--muted); }
.fixflow__arr { flex: 0 0 auto; }
.fixflow__to { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--copper-deep); }
.fixcard__note { margin-top: 18px; font-size: var(--text-base); color: var(--ink); }

/* ---------- Operational Opportunity Map ---------- */
.mappanel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mappanel__head {
  background: var(--navy); color: var(--on-navy);
  padding: 15px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mappanel__title { font-family: var(--font-label); letter-spacing: .12em; font-size: var(--text-sm); color: var(--on-navy); }
.mappanel__status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-navy); font-weight: 600; }
.mappanel__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--copper-on-navy); box-shadow: 0 0 0 3px rgba(224,168,121,.22); }
.mappanel__body { padding: 28px 26px 20px; position: relative; }
.mapgrid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mapzone {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px; background: var(--mist);
  position: relative; transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.mapzone:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.mapzone__node { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; position: relative; }
.mapzone__node::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.mapzone--mod .mapzone__node { background: rgba(4,47,97,.18); box-shadow: 0 0 0 4px rgba(4,47,97,.08); }
.mapzone--high .mapzone__node { background: var(--copper); box-shadow: 0 0 0 4px rgba(197,114,60,.22); }
.mapzone--high { border-color: rgba(197,114,60,.4); background: rgba(197,114,60,.07); }
.mapzone__text { display: flex; flex-direction: column; gap: 3px; }
.mapzone__name { font-size: var(--text-base); font-weight: 500; color: var(--navy); }
.mapzone__level { font-size: 0.9375rem; color: var(--muted); }
.mapzone--high .mapzone__level { color: var(--copper-deep); font-weight: 500; }
.maplegend { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; }
.maplegend__item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9375rem; color: var(--muted); }
.maplegend__swatch { width: 14px; height: 14px; border-radius: 50%; }
.maplegend__swatch--high { background: var(--copper); }
.maplegend__swatch--mod { background: rgba(4,47,97,.18); }
.mappanel__foot { font-size: 0.9375rem; color: var(--muted); padding: 16px 26px; background: rgba(4,47,97,.03); border-top: 1px solid var(--line); line-height: 1.5; }

/* ============================================================
   HOW IT WORKS - dark navy timeline (from Direction A)
   ============================================================ */
.timeline-panel { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.timeline-ring {
  position: absolute; right: -8%; bottom: -32%; width: min(46vw, 640px); height: auto;
  opacity: .3; pointer-events: none;
}
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(40px, 6vw, 72px);
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; top: 18px; left: 5%; right: 5%; height: 2px;
  background: linear-gradient(90deg, var(--muted-navy) 0%, var(--copper) 78%, var(--copper) 100%);
  opacity: .55;
}
.tl-step { position: relative; padding-top: var(--s-12); z-index: 1; }
.tl-node {
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--muted-navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; color: var(--muted-navy);
  z-index: 2;
}
.tl-step.active .tl-node { border-color: var(--copper); background: var(--copper); color: #fff; box-shadow: 0 0 0 6px rgba(197,114,60,.2); }
.tl-timing {
  font-family: var(--font-label); font-size: 1.0625rem; letter-spacing: .14em; color: var(--copper-on-navy);
  margin-bottom: var(--s-2);
}
.tl-step h3 { font-size: var(--text-lg); color: var(--on-navy); font-weight: 600; }
.tl-step p { font-size: var(--text-md); color: var(--muted-navy); margin-top: var(--s-3); line-height: 1.55; }

/* ============================================================
   WHAT OPERATIONAL CLARITY LOOKS LIKE - tabs + 3 panels (A structure, B flow styling)
   ============================================================ */
.clarity__tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--mist); border-radius: var(--radius-full); margin-bottom: clamp(28px, 3.5vw, 44px); }
.clarity__tab {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--navy);
  padding: 11px 24px; border-radius: var(--radius-full); transition: background .2s var(--ease), color .2s var(--ease); line-height: 1;
}
.clarity__tab.is-active { background: var(--navy); color: var(--on-navy); box-shadow: var(--shadow-card); }
.clarity__tab:not(.is-active):hover { color: var(--copper-deep); }
.clarity__panel[hidden] { display: none; }

.sample-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: var(--s-6); align-items: stretch; }
.spanel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.spanel__head { padding: 14px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.spanel__badge { font-family: var(--font-label); letter-spacing: .12em; font-size: var(--text-sm); }
.spanel--before .spanel__head { background: rgba(90,100,114,.08); }
.spanel--before .spanel__badge { color: var(--muted); }
.spanel--system .spanel__head { background: var(--navy); }
.spanel--system .spanel__badge { color: var(--on-navy); }
.spanel--impact .spanel__head { background: rgba(197,114,60,.12); }
.spanel--impact .spanel__badge { color: var(--copper-deep); }
.spanel__body { padding: 24px 22px; flex: 1 1 auto; }
.spanel__body p { font-size: var(--text-base); color: var(--ink); }
.spanel--before .spanel__body p { color: var(--muted); }
.spanel--system { background: var(--navy); }
.spanel--system .spanel__body { background: var(--navy); }

/* system flow diagram (B's strong middle-card styling) */
.sysflow { display: flex; flex-direction: column; gap: 0; }
.sysnode { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.sysnode__ring {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--copper); background: rgba(197,114,60,.14); position: relative;
}
.sysnode__ring::after { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); }
.sysnode--end .sysnode__ring { border-color: var(--copper); box-shadow: 0 0 0 4px rgba(197,114,60,.22); }
.sysnode__label { font-size: var(--text-base); color: var(--on-navy); font-weight: 500; }
.sysnode--end .sysnode__label { color: var(--copper-on-navy); font-weight: 600; }
.sysconn { width: 30px; height: 16px; display: flex; justify-content: center; }
.sysconn::before { content: ""; width: 2px; height: 100%; background: var(--copper); opacity: .7; }

/* ============================================================
   OFFER PATHWAY - vertical progression
   ============================================================ */
.pathway { display: grid; gap: var(--s-6); position: relative; }
.pathstep {
  display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 3vw, 52px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 34px; position: relative; transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.pathstep:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.pathstep--featured { border-color: rgba(197,114,60,.5); box-shadow: 0 0 0 1px rgba(197,114,60,.25), var(--shadow-card); }
/* vertical connecting flow line (logo-derived pathway) */
.pathstep__flow { position: absolute; left: 44px; bottom: -24px; width: 2px; height: 24px; background: var(--copper); opacity: .5; }
.pathstep__stage { position: relative; }
.pathstep__stagelabel { font-family: var(--font-label); letter-spacing: .16em; font-size: var(--text-sm); color: var(--copper-deep); margin-bottom: 12px; }
.pathstep__name { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); line-height: 1.08; }
.pathstep__price { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--muted); margin-top: 12px; }
.pathstep__desc { color: var(--ink); font-size: var(--text-base); max-width: 58ch; }
.pathstep__feats { list-style: none; display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 18px; }
.pathstep__feats li { font-size: 0.9375rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pathstep__feats li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--copper); flex: 0 0 auto; }
.pathstep__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-weight: 600; color: var(--navy); font-size: var(--text-base); }
.pathstep__cta .arr { transition: transform .2s var(--ease); color: var(--copper); }
.pathstep__cta:hover .arr { transform: translateX(3px); }
.pathstep__pop {
  position: absolute; top: -1px; right: -1px; font-family: var(--font-sans); font-size: var(--text-xs);
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #fff; background: var(--copper);
  padding: 6px 14px; border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
}

/* ============================================================
   WHEN OPS&ORDER FITS - editorial list
   ============================================================ */
.fitslist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 960px; }
.fitsitem {
  display: flex; align-items: center; gap: 20px;
  padding: clamp(20px, 2.4vw, 28px) 4px;
  border-bottom: 1px solid var(--line);
}
.fitsitem__mark { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--copper); position: relative; }
.fitsitem__mark::after { content: ""; position: absolute; inset: 0; margin: auto; width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }
.fitsitem__text { font-family: var(--font-serif); font-size: var(--text-lg); color: var(--navy); font-weight: 500; line-height: 1.2; }

/* ============================================================
   WHY OPS&ORDER
   ============================================================ */
.why { position: relative; overflow: hidden; }
.why-ring { position: absolute; left: -8%; bottom: -28%; width: min(34vw, 460px); height: auto; opacity: .12; pointer-events: none; }
.why-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: start; position: relative; z-index: 1; }
.why__body p { font-size: var(--text-md); color: var(--ink); line-height: 1.66; max-width: 54ch; }
.principles { display: grid; gap: var(--s-5); }
.principle { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: var(--radius); padding: 20px 24px; }
.principle__t { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); }
.principle__d { font-size: var(--text-base); color: var(--muted); margin-top: 6px; }

/* compact founder credibility block */
.founder {
  position: relative; z-index: 1;
  margin-top: clamp(44px, 5vw, 68px);
  padding: clamp(28px, 3.5vw, 40px) clamp(28px, 3.5vw, 40px);
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--copper);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px);
  align-items: start; max-width: 940px;
}
.founder__mark { flex: 0 0 auto; width: 64px; height: 40px; margin-top: 4px; opacity: .9; }
.founder__label { font-family: var(--font-label); letter-spacing: .12em; font-size: var(--text-sm); color: var(--copper-deep); margin-bottom: 10px; }
.founder__name { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); line-height: 1.15; }
.founder__role { font-size: 1rem; color: var(--muted); font-weight: 500; margin-top: 3px; margin-bottom: 12px; }
.founder__bio { font-size: var(--text-base); color: var(--muted); max-width: 64ch; line-height: 1.62; }
@media (max-width: 640px) {
  .founder { grid-template-columns: 1fr; gap: 16px; }
  /* Allow the enlarged hero overline to wrap on phones instead of overflowing */
  .overline--hero { white-space: normal; font-size: 1.0625rem; letter-spacing: 0.14em; }
  /* Step section labels down slightly on phones so longer ones wrap gracefully */
  .overline { font-size: 1.0625rem; letter-spacing: 0.13em; }
  .proofstrip__label { font-size: 1.0625rem; letter-spacing: 0.13em; }
}

/* ============================================================
   FINAL CTA panel - full-width Ops Navy
   ============================================================ */
.cta-panel { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; text-align: center; }
.cta-panel__ring { position: absolute; pointer-events: none; }
.cta-panel__ring--l { left: -8%; bottom: -34%; width: 480px; opacity: .3; }
.cta-panel__ring--r { right: -6%; top: -36%; width: 420px; opacity: .28; }
.cta-panel__inner { position: relative; z-index: 1; max-width: 800px; margin-inline: auto; }
.cta-panel h2 { color: var(--on-navy); font-size: var(--text-2xl); font-weight: 500; }
.cta-panel__sub { color: var(--muted-navy); font-size: var(--text-md); margin: var(--s-6) auto var(--s-8); max-width: 52ch; }
.cta-panel .btn { margin-top: 0; }
.cta-panel__reassure { margin: var(--s-5) auto 0; font-size: 1rem; color: var(--muted-navy); text-align: center; max-width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--muted-navy); padding-block: clamp(48px, 6vw, 76px) 28px; border-top: 1px solid var(--line-on-navy); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-12); padding-bottom: var(--s-10); border-bottom: 1px solid var(--line-on-navy); }
.footer .brand__name { color: var(--on-navy); }
.footer .brand__amp { color: var(--copper); }
.footer__tag { font-family: var(--font-serif); font-style: italic; font-size: var(--text-lg); color: var(--on-navy); margin-top: 16px; max-width: 32ch; }
.footer__email { display: inline-block; margin-top: 16px; color: var(--copper-on-navy); font-size: var(--text-base); }
.footer__email:hover { color: var(--copper); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 30px; align-content: start; }
.footer__nav a { color: var(--muted-navy); font-family: var(--font-label); letter-spacing: .1em; font-size: 1.0625rem; }
.footer__nav a:hover { color: var(--on-navy); }
.footer__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.9375rem; color: var(--muted-navy); }
.footer__tagline-em { font-family: var(--font-serif); font-style: italic; font-size: 1.0625rem; color: var(--on-navy); }
.footer__tagline-em em { font-style: italic; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   DIRECTION E - NEW SECTION STYLES
   ============================================================ */

/* ---- Proof num that is text (not a number) ---- */
.proofitem:nth-child(3) .proofitem__num,
.proofitem:nth-child(4) .proofitem__num { font-size: 1.5rem; line-height: 1.1; }

/* ---- Does any of this sound familiar? editorial list ---- */
.familiar { list-style: none; border-top: 1px solid var(--line); }
.famitem {
  display: grid; grid-template-columns: 96px 1fr auto; gap: clamp(16px, 3vw, 40px);
  align-items: start; padding: clamp(26px, 3.2vw, 40px) 0; border-bottom: 1px solid var(--line);
}
.famitem__num { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 500; color: var(--copper-deep); line-height: 1; }
.famitem__title { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; color: var(--navy); line-height: 1.12; }
.famitem__desc { margin-top: 12px; color: var(--muted); max-width: 60ch; font-size: var(--text-base); }
.famitem__tag {
  justify-self: end; align-self: center; white-space: nowrap;
  font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600; letter-spacing: .02em;
  color: var(--copper-deep); border: 1px solid rgba(197,114,60,.3); border-radius: 100px; padding: 7px 16px;
}

/* ---- Explainer video ---- */
.videoframe {
  position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 960px; margin-inline: auto;
  background: linear-gradient(135deg, #042F61 0%, #042F61 60%, #042F61 100%);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lift); border: 1px solid rgba(4,47,97,.4);
}
.videoframe__ring { position: absolute; pointer-events: none; opacity: .16; }
.videoframe__ring--l { left: -6%; bottom: -34%; width: 42%; }
.videoframe__ring--r { right: -6%; top: -36%; width: 38%; opacity: .22; }
.videoframe__inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; z-index: 1; text-align: center; padding: 24px; }
.videoframe--live .videoframe__inner { padding: 0; }
.videoframe__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-lg); background: var(--navy); }
.videoframe__play {
  width: clamp(64px, 8vw, 88px); height: clamp(64px, 8vw, 88px); border-radius: 50%;
  background: var(--copper); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.32); transition: transform .2s var(--ease), background .2s var(--ease);
}
.videoframe__play svg { width: 40%; height: 40%; margin-left: 6%; }
.videoframe__play:hover { transform: scale(1.06); background: var(--copper-deep); }
.videoframe__label { font-family: var(--font-serif); font-style: italic; font-size: var(--text-lg); color: var(--on-navy); }
.videoframe__mark { position: absolute; bottom: 20px; right: 22px; width: clamp(56px, 8vw, 84px); opacity: .8; }
.videoframe__cta { text-align: center; margin-top: clamp(28px, 3.5vw, 40px); }

/* ---- Transformation band ---- */
.tband {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.tband__col { padding: clamp(24px, 2.6vw, 36px) clamp(22px, 2.4vw, 32px); }
.tband__key { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); }
.tband__flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tband__from { font-size: 0.9375rem; color: var(--muted); }
.tband__to { font-size: 0.9375rem; color: var(--copper-deep); font-weight: 600; }
.tband__arr { width: 26px; height: 10px; flex: 0 0 auto; position: relative; }
.tband__arr::before { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.6px; background: var(--copper); transform: translateY(-50%); }
.tband__arr::after { content: ""; position: absolute; top: 50%; right: 0; width: 7px; height: 7px; border-top: 1.6px solid var(--copper); border-right: 1.6px solid var(--copper); transform: translateY(-50%) rotate(45deg); }
.tband__list { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.tband__list li { font-size: var(--text-base); color: var(--ink); display: flex; align-items: flex-start; gap: 10px; line-height: 1.35; }
.tband__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); margin-top: 9px; flex: 0 0 auto; }
.tband__connector { align-self: center; width: 34px; height: 1.6px; background: var(--copper); position: relative; }
.tband__connector::after { content: ""; position: absolute; top: 50%; right: 0; width: 8px; height: 8px; border-top: 1.6px solid var(--copper); border-right: 1.6px solid var(--copper); transform: translateY(-50%) rotate(45deg); }

/* ---- Business Review hub-and-spoke map ---- */
.hubmap { position: relative; width: 100%; max-width: 1000px; margin-inline: auto; aspect-ratio: 1000 / 640; }
.hubmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__center-l1, .hub__center-l2 { font-family: var(--font-serif); font-weight: 500; fill: var(--on-navy); font-size: 20px; }
.hubmap__nodes { position: absolute; inset: 0; }
.hubnode {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: min(23%, 220px); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow-card); text-align: left;
}
.hubnode__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-bottom: 7px; }
.hubnode--priority { border-color: rgba(197,114,60,.5); background: #FBF3EC; }
.hubnode--priority .hubnode__dot { background: var(--copper); box-shadow: 0 0 0 4px rgba(197,114,60,.2); }
.hubnode--healthy .hubnode__dot { background: var(--mist); box-shadow: 0 0 0 4px rgba(220,229,236,.5); border: 1px solid rgba(4,47,97,.2); }
.hubnode__name { display: block; font-family: var(--font-serif); font-size: 1.06rem; font-weight: 600; color: var(--navy); line-height: 1.12; }
.hubnode__sub { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 5px; line-height: 1.35; }
.hubmap__legend { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }
.maplegend__item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9375rem; color: var(--muted); }
.maplegend__swatch { width: 14px; height: 14px; border-radius: 50%; }
.maplegend__swatch--high { background: var(--copper); }
.maplegend__swatch--mist { background: var(--mist); border: 1px solid rgba(4,47,97,.2); }
.hubmap__note { font-size: 0.9375rem; color: var(--muted); font-style: italic; }

/* stacked list fallback for narrow screens */
.hubmap__center-mobile { display: none; }

/* ---- Before/after list styling ---- */
.ba-list { list-style: none; display: grid; gap: 11px; }
.ba-list li { font-size: var(--text-base); color: var(--ink); display: flex; align-items: flex-start; gap: 11px; line-height: 1.4; }
.ba-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-top: 9px; flex: 0 0 auto; }
.spanel--before .ba-list li { color: var(--muted); }
.ba-list--result li::before { background: var(--copper); }

/* ---- Smarter tools behind the scenes ---- */
.smart-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.smart__body p { font-size: var(--text-md); color: var(--ink); line-height: 1.66; max-width: 56ch; }
.smart-progress { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.5vw, 40px); }
.smart-progress__step {
  font-family: var(--font-sans); font-size: var(--text-base); font-weight: 600; color: var(--navy);
  background: var(--mist); border: 1px solid var(--line); border-radius: 100px; padding: 10px 20px;
}
.smart-progress__step--end { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.smart-progress__arr { width: 24px; height: 10px; flex: 0 0 auto; position: relative; }
.smart-progress__arr::before { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.6px; background: var(--copper); transform: translateY(-50%); }
.smart-progress__arr::after { content: ""; position: absolute; top: 50%; right: 0; width: 7px; height: 7px; border-top: 1.6px solid var(--copper); border-right: 1.6px solid var(--copper); transform: translateY(-50%) rotate(45deg); }
.smart-points { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.smart-points li {
  font-size: var(--text-base); color: var(--ink); padding: 15px 0 15px 30px; border-bottom: 1px solid var(--line);
  position: relative; line-height: 1.4;
}
.smart-points li::before {
  content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--copper);
}

/* Ways we can help - stage label as level */
.pathstep__stagelabel { text-transform: none; letter-spacing: .12em; }

/* ---- Quick Analysis vs paid review comparison ---- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); align-items: stretch; }
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
}
.tier--featured { border-color: rgba(197,114,60,.5); box-shadow: 0 0 0 1px rgba(197,114,60,.25), var(--shadow-card); }
.tier__flag {
  position: absolute; top: 0; right: 0; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: #fff; background: var(--copper); padding: 6px 14px; border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
}
.tier__head { padding: 26px 26px 22px; border-bottom: 1px solid var(--line); background: rgba(4,47,97,.03); }
.tier__name { display: block; font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); }
.tier__price { display: block; margin-top: 8px; font-size: var(--text-base); font-weight: 600; color: var(--copper-deep); }
.tier__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1 1 auto; }
.tier__inc-label { font-family: var(--font-label); letter-spacing: .12em; font-size: var(--text-sm); color: var(--navy); margin-bottom: 12px; }
.tier__inc-label--not { color: var(--muted); margin-top: 22px; }
.tier__list { list-style: none; display: grid; gap: 9px; }
.tier__list li { font-size: var(--text-base); color: var(--ink); display: flex; align-items: flex-start; gap: 10px; line-height: 1.38; }
.tier__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); margin-top: 9px; flex: 0 0 auto; }
.tier__list--not li { color: var(--muted); }
.tier__list--not li::before { background: transparent; border: 1px solid var(--muted); width: 8px; height: 2px; border-radius: 0; margin-top: 11px; }
.tier__cta { margin-top: auto; padding-top: 24px; align-self: flex-start; }
.tier__body .btn { margin-top: 24px; }
.compare__foot { text-align: center; font-size: 0.9375rem; color: var(--muted); margin-top: var(--s-8); font-style: italic; }

/* ---- Sample Business Review ---- */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); overflow: hidden; }
.review__head {
  background: var(--navy); color: var(--on-navy); padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.review__company { display: block; font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 600; color: var(--on-navy); line-height: 1.1; }
.review__tag { display: inline-block; margin-top: 10px; font-family: var(--font-label); letter-spacing: .12em; font-size: var(--text-sm); color: var(--copper-on-navy); background: rgba(224,168,121,.14); border: 1px solid rgba(224,168,121,.3); padding: 5px 13px; border-radius: 100px; }
.review__score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.review__dial { width: 108px; height: 108px; }
.review__dial .opsdial__num { fill: var(--on-navy); }
.review__dial .opsdial__den { fill: var(--muted-navy); }
.review__score-label { font-size: 0.875rem; color: var(--muted-navy); letter-spacing: .04em; }
.review__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.review__block { padding: clamp(24px, 2.8vw, 34px) clamp(24px, 3vw, 38px); background: var(--white); }
.review__block--full { border-top: 1px solid var(--line); }
.review__h { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); margin-bottom: 18px; }
.review__findings, .review__improve, .review__benefits { list-style: none; display: grid; gap: 11px; }
.review__findings li, .review__improve li, .review__benefits li { font-size: var(--text-base); color: var(--ink); display: flex; align-items: flex-start; gap: 11px; line-height: 1.4; }
.review__findings li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); margin-top: 9px; flex: 0 0 auto; }
.review__improve { grid-template-columns: 1fr 1fr; gap: 11px 28px; }
.review__improve li::before { content: counter(imp); counter-increment: imp; background: var(--navy); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; flex: 0 0 auto; margin-top: 1px; }
.review__improve { counter-reset: imp; }
.review__benefits li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); margin-top: 9px; flex: 0 0 auto; }
.review__ratings { list-style: none; display: grid; gap: 0; }
.review__ratings li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.review__ratings li:last-child { border-bottom: none; }
.rr__name { font-size: var(--text-base); color: var(--ink); }
.rr__badge { font-size: 0.8125rem; font-weight: 600; padding: 4px 12px; border-radius: 100px; white-space: nowrap; }
.rr__badge--strong { background: rgba(110,140,106,.16); color: #47603f; }
.rr__badge--dev { background: var(--mist); color: var(--navy); }
.rr__badge--attn { background: rgba(201,154,91,.16); color: #8a6221; }
.rr__badge--priority { background: rgba(197,114,60,.14); color: var(--copper-deep); }
.ie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ie-cell { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.ie-cell__tag { display: block; font-family: var(--font-label); letter-spacing: .1em; font-size: var(--text-sm); margin-bottom: 8px; }
.ie-cell--quick { border-left: 3px solid var(--copper); }
.ie-cell--quick .ie-cell__tag { color: var(--copper-deep); }
.ie-cell--next .ie-cell__tag { color: var(--navy); }
.ie-cell--build .ie-cell__tag { color: var(--navy); }
.ie-cell--later .ie-cell__tag { color: var(--muted); }
.ie-cell__item { font-size: var(--text-base); color: var(--ink); }
.workflow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.wf-node { font-size: var(--text-base); font-weight: 500; color: var(--navy); background: var(--mist); border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px; }
.wf-node--end { background: var(--copper); color: #fff; border-color: var(--copper); }
.wf-arr { width: 22px; height: 10px; flex: 0 0 auto; position: relative; }
.wf-arr::before { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.6px; background: var(--copper); transform: translateY(-50%); }
.wf-arr::after { content: ""; position: absolute; top: 50%; right: 0; width: 7px; height: 7px; border-top: 1.6px solid var(--copper); border-right: 1.6px solid var(--copper); transform: translateY(-50%) rotate(45deg); }
.review__buildname { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 600; color: var(--copper-deep); line-height: 1.1; }
.review__block--build { background: rgba(197,114,60,.05); }

/* ---- fits foot ---- */
.fits__foot { margin-top: var(--s-8); font-size: var(--text-md); color: var(--ink); max-width: 60ch; }

/* ---- Why Ops&Order numbered principles ---- */
.whyprinciples { display: grid; gap: 0; border-top: 1px solid var(--line); }
.wp { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: clamp(22px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.wp__num { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; color: var(--copper-deep); line-height: 1; }
.wp__t { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); line-height: 1.1; }
.wp__d { font-size: var(--text-base); color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ---- Founder aside ---- */
.founder__aside { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.founder__portrait { width: 84px; height: 84px; border-radius: 50%; background: var(--mist); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border: 1px solid var(--line); }
.founder__portrait svg { width: 70%; }
.founder__mark { width: 84px; height: auto; opacity: .9; }

/* ---- CTA secondary link ---- */
.cta-panel__secondary { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-6); color: var(--copper-on-navy); font-size: var(--text-base); font-weight: 500; }
.cta-panel__secondary .arr { color: var(--copper-on-navy); transition: transform .2s var(--ease); }
.cta-panel__secondary:hover { color: #fff; }
.cta-panel__secondary:hover .arr { transform: translateX(3px); }

/* ---- footer descriptor ---- */
.footer__desc { font-size: var(--text-base); color: var(--muted-navy); margin-top: 12px; max-width: 42ch; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  /* transformation band -> stacked, connectors become horizontal dividers */
  .tband { grid-template-columns: 1fr; }
  .tband__col { border-bottom: 1px solid var(--line); }
  .tband__col:last-child { border-bottom: none; }
  .tband__connector { display: none; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .hero__headline { max-width: 18ch; }
  .why-grid { grid-template-columns: 1fr; }
  .sample-grid { grid-template-columns: 1fr; }
  .fix-grid { grid-template-columns: 1fr; }
  .timeline--5 { grid-template-columns: repeat(3, 1fr); gap: var(--s-10) var(--s-8); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: var(--s-10); }
  .timeline::before { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s-8); }
  .smart-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .compare { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .review__grid { grid-template-columns: 1fr; }
  .review__improve { grid-template-columns: 1fr; }

  /* Hub map -> stacked list on tablet/mobile */
  .hubmap { aspect-ratio: auto; max-width: 640px; }
  .hubmap__svg { display: none; }
  .hubmap__centermark { display: none; }
  .hubmap__center-mobile {
    display: block; text-align: center; font-family: var(--font-serif); font-style: italic;
    font-size: var(--text-lg); color: var(--navy); margin-bottom: var(--s-6);
  }
  .hubmap__nodes { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .hubnode { position: static; transform: none; width: auto; }
}

@media (max-width: 900px) {
  .nav__cta.desktop-only, .nav__cta.nav-toggle-hide { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-4) var(--s-6) var(--s-8);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(4,47,97,.1);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
    z-index: 99; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: var(--text-md); line-height: 1.2; }
  .nav__links a::after { display: none; }
  .nav .btn { margin-top: var(--s-4); justify-content: center; }
  .nav .btn.mobile-only { display: inline-flex; }

  .proofstrip__inner { grid-template-columns: 1fr 1fr; }
  .proofitem { padding: 22px 16px; }
  .proofitem:nth-child(2)::before { display: none; }
  .proofitem:nth-child(3), .proofitem:nth-child(4) { border-top: 1px solid var(--line); }
  .proofitem:nth-child(3)::before { display: none; }

  /* familiar list -> tag drops below on mobile */
  .famitem { grid-template-columns: 54px 1fr; gap: 12px 16px; }
  .famitem__num { font-size: 2rem; }
  .famitem__tag { grid-column: 2; justify-self: start; align-self: start; margin-top: 4px; }

  .pathstep { grid-template-columns: 1fr; gap: 16px; padding: 26px 24px; }
  .pathstep__flow { display: none; }

  .ie-grid { grid-template-columns: 1fr; }

  .clarity__tabs { display: flex; width: 100%; flex-wrap: wrap; }
  .clarity__tab { flex: 1 1 auto; text-align: center; padding: 12px 12px; }
}

@media (max-width: 620px) {
  .hubmap__nodes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .timeline--5 { grid-template-columns: 1fr; gap: var(--s-8); }
  .review__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .wrap { padding-inline: 18px; }
  .btn--lg { padding-left: 22px; padding-right: 22px; }
  .btn { max-width: 100%; }
  .overline--hero { font-size: 1rem; letter-spacing: 0.1em; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .opsdial { flex-direction: column; align-items: flex-start; gap: 16px; }
  .opsdial__svg { margin-inline: auto; }
  .opsdial__meta { text-align: left; }
  .timeline { grid-template-columns: 1fr; gap: var(--s-8); }
  .timeline--5 { grid-template-columns: 1fr; }
  .tl-step { padding-left: 52px; padding-top: 2px; min-height: 44px; }
  .tl-node { top: 0; }
  .metricrow { grid-template-columns: 1fr; gap: 6px; }
  .metricrow__bar { justify-content: space-between; }
  .metricrow__val { min-width: 0; }
  .workflow { gap: 8px; }
  .wf-node { font-size: 0.9375rem; padding: 7px 14px; }
  .videoframe__label { font-size: var(--text-base); }
}

.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

/* focus visibility */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px;
}

/* ============================================================
   MULTIPAGE ADDITIONS (Direction E split)
   New classes only. Existing tokens and classes reused.
   ============================================================ */

/* ---- Hub map layering fix: lines sit clearly behind cards ---- */
.hubmap__svg { z-index: 0; }
.hubmap__nodes { z-index: 2; }
.hubnode { z-index: 2; }
/* Center mark image on the navy hub (replaces flat inline rings) */
.hubmap__centermark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: auto; z-index: 1; pointer-events: none;
}
/* A touch more breathing room between hub cards at mid widths */
@media (min-width: 901px) {
  .hubnode { width: min(21%, 208px); }
}

/* ---- Mist-blue surface variation (one extra distinct surface) ---- */
.section--mist { background: var(--mist); }

/* ---- Compact teaser row (homepage links to Services, Sample, Examples) ---- */
.teaserrow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6);
}
.teasercard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.teasercard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.teasercard__key { font-family: var(--font-label); letter-spacing: .14em; font-size: var(--text-sm); color: var(--copper-deep); text-transform: uppercase; }
.teasercard__title { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); line-height: 1.1; }
.teasercard__desc { font-size: var(--text-base); color: var(--muted); line-height: 1.5; }
.teasercard__link { margin-top: auto; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; }
.teasercard__link:hover { color: var(--copper-deep); }
.teasercard__link .arr { transition: transform .2s var(--ease); }
.teasercard:hover .teasercard__link .arr { transform: translateX(4px); }

/* ---- Anonymous company credibility line on homepage ---- */
.companyline {
  max-width: 760px; margin-inline: auto; text-align: center;
}
.companyline__text { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 500; color: var(--navy); line-height: 1.3; font-style: italic; }
.companyline__link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-5); font-weight: 600; color: var(--navy); }
.companyline__link:hover { color: var(--copper-deep); }
.companyline__link .arr { transition: transform .2s var(--ease); }
.companyline__link:hover .arr { transform: translateX(4px); }

/* ---- Generic page hero (secondary pages) ---- */
.pagehero { padding: clamp(56px, 8vw, 108px) 0 clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.pagehero__inner { max-width: 820px; }
.pagehero__inner--center { margin-inline: auto; text-align: center; }
.pagehero h1 { font-size: var(--text-2xl); margin: var(--s-4) 0 var(--s-5); }
.pagehero p { font-size: var(--text-md); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.pagehero__inner--center p { margin-inline: auto; }
.pagehero__ring { position: absolute; right: -60px; top: -40px; width: 320px; opacity: .1; pointer-events: none; }

/* ---- About page prose sections ---- */
.aboutblocks { display: grid; gap: clamp(28px, 4vw, 48px); max-width: 860px; }
.aboutblock__h { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; color: var(--navy); line-height: 1.12; margin-bottom: var(--s-4); }
.aboutblock__p { font-size: var(--text-base); color: var(--ink); line-height: 1.62; max-width: 64ch; }
.aboutblock__p + .aboutblock__p { margin-top: var(--s-4); }
.aboutlist { list-style: none; display: grid; gap: 11px; margin-top: var(--s-4); }
.aboutlist li { font-size: var(--text-base); color: var(--ink); display: flex; align-items: flex-start; gap: 11px; line-height: 1.45; }
.aboutlist li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); margin-top: 9px; flex: 0 0 auto; }

/* ---- Founder's note (About page only) ---- */
.foundernote {
  display: grid; grid-template-columns: 96px 1fr; gap: clamp(20px, 3vw, 40px);
  align-items: start; max-width: 900px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-card);
}
.foundernote__mark { width: 84px; height: auto; }
.foundernote__label { font-family: var(--font-label); letter-spacing: .14em; font-size: var(--text-sm); color: var(--copper-deep); text-transform: uppercase; }
.foundernote__name { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 600; color: var(--navy); margin-top: var(--s-2); }
.foundernote__role { font-size: var(--text-sm); color: var(--muted); margin-top: 2px; }
.foundernote__bio { font-size: var(--text-base); color: var(--ink); line-height: 1.62; margin-top: var(--s-5); max-width: 64ch; }

/* ---- Hero snapshot corner mark (real mark on cream card) ---- */
.opspanel__mark { position: absolute; right: 16px; bottom: 14px; width: 42px; height: auto; opacity: .9; }

/* ---- Responsive: teaser + founder note + about ---- */
@media (max-width: 760px) {
  .teaserrow { grid-template-columns: 1fr; gap: var(--s-5); }
  .foundernote { grid-template-columns: 1fr; gap: var(--s-5); }
  .foundernote__mark { width: 72px; }
}
