/* =========================================================================
   SENTRIAS · V3 SUBSTRATE
   Editorial register: insurance side. Cinematic register: cyber side.
   One brand. Two voices.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Locked palette */
  --cream: #F3EEE8;
  --cream-2: #ECE5DC;
  --cream-3: #E2D9CC;
  --ink: #0E1F38;
  --ink-2: #0B1A30;
  --ink-3: #081428;
  --ink-4: #050E1D;
  --brass: #CDA77B;
  --brass-2: #B8946B;
  --brass-glow: #E8C394;
  --teal: #347B7D;
  --teal-2: #2A6567;
  --teal-glow: #7BC9CB;

  /* Hairlines */
  --rule: rgba(14, 31, 56, 0.10);
  --rule-strong: rgba(14, 31, 56, 0.22);
  --rule-inverse: rgba(243, 238, 232, 0.10);
  --rule-inverse-strong: rgba(243, 238, 232, 0.22);

  /* Type */
  --serif: 'EB Garamond', 'Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', 'Menlo', monospace;

  /* Spacing — 8pt base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 96px;
  --s-9: 128px;
  --s-10: 160px;

  /* Container */
  --page-max: 1240px;
  --content-max: 1080px;
  --measure: 64ch;
  --margin: 56px;

  /* Radii (square first; minimum is fine for buttons) */
  --r-0: 0;
  --r-1: 3px;
  --r-2: 6px;

  /* Motion */
  --t-fast: 240ms;
  --t-mid: 480ms;
  --t-slow: 700ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 720px) {
  :root {
    --margin: 24px;
    --s-7: 48px;
    --s-8: 64px;
    --s-9: 96px;
    --s-10: 112px;
  }
}

/* ---------- Reset (minimal) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  overscroll-behavior-x: none;
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100vw;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.eyebrow .section-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--brass);
  opacity: 1;
}
.eyebrow .section-num::before {
  content: '§ ';
  color: var(--brass);
}
.eyebrow.on-dark { color: var(--cream); opacity: 0.85; }
.eyebrow.on-dark .section-num { color: var(--brass-glow); }
.eyebrow.on-dark .section-num::before { color: var(--brass-glow); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0;
}
.display .italic-teal {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
}
.display.on-dark { color: var(--cream); }
.display.on-dark .italic-teal { color: var(--teal-glow); }

.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}
.h-section .italic-teal { font-style: italic; color: var(--teal); }
.h-section.on-dark { color: var(--cream); }
.h-section.on-dark .italic-teal { color: var(--teal-glow); }

.h-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.h-sub .italic-teal { font-style: italic; color: var(--teal); }

.lede {
  font-family: var(--sans);
  font-size: clamp(19px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.84;
  max-width: 62ch;
  margin: 0;
}
.lede.on-dark { color: var(--cream); opacity: 0.86; }

.body p {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  max-width: var(--measure);
  margin: 0 0 1.1em 0;
}
.body p:last-child { margin-bottom: 0; }

.mono-meta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.62;
}
.mono-meta.on-dark { color: var(--cream); opacity: 0.62; }

.label-caps {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Brass triangle list ---------- */
.tri-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tri-list li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 12px 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
.tri-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--brass);
  font-size: 14px;
  line-height: 1.6;
}
.tri-list.on-dark li { color: var(--cream); opacity: 0.92; }
.tri-list.on-dark li::before { color: var(--brass-glow); }

/* ---------- Hairlines / dividers ---------- */
.rule { border-top: 1px solid var(--rule); height: 0; }
.rule-strong { border-top: 1px solid var(--rule-strong); }
.rule-brass { border-top: 1px solid var(--brass); }
.rule-teal { border-top: 1.5px solid var(--teal); }
.rule-vert { border-left: 1px solid var(--rule); width: 0; }

/* ---------- Layout ---------- */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--margin);
}
.content {
  max-width: var(--content-max);
  margin: 0 auto;
}
.section {
  padding: var(--s-9) 0;
  position: relative;
}
.section.tight { padding: var(--s-7) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.section-head .lede { margin-top: var(--s-3); }

/* ---------- Buttons (square corners, no pills) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--r-1);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  position: relative;
}
.btn::after {
  content: '→';
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover { background: var(--teal); border-color: var(--teal); }
.btn:hover::after { transform: translateX(4px); }
.btn.outline {
  background: transparent;
  color: var(--ink);
}
.btn.outline:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn.brass {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}
.btn.brass:hover {
  background: var(--brass-2);
  border-color: var(--brass-2);
}
.btn.on-dark {
  border-color: var(--cream);
  background: transparent;
  color: var(--cream);
}
.btn.on-dark:hover {
  background: var(--cream);
  color: var(--ink);
}
.btn.on-dark.brass {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}
.btn.on-dark.brass:hover {
  background: var(--brass-glow);
  border-color: var(--brass-glow);
}

/* ---------- Inline link ---------- */
.link-inline {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.link-inline:hover {
  color: var(--teal);
  border-color: var(--teal);
}
.on-dark .link-inline { color: var(--cream); border-bottom-color: var(--brass-glow); }
.on-dark .link-inline:hover { color: var(--teal-glow); border-bottom-color: var(--teal-glow); }
.footer-legal .link-inline,
.footer .link-inline {
  color: var(--cream);
  opacity: 0.86;
  border-bottom-color: var(--brass-glow);
}
.footer-legal .link-inline:hover,
.footer .link-inline:hover {
  color: var(--teal-glow);
  opacity: 1;
  border-bottom-color: var(--teal-glow);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 238, 232, 0.92);
  transform: translateZ(0);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px var(--margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.nav-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-mark img { height: 32px; width: auto; }
.nav-mark .nav-wordmark { height: 18px; }
.nav-links {
  display: flex;
  gap: var(--s-5);
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.78;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: opacity var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width var(--t-fast) var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--r-1);
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav-toggle { display: none; }
.nav-mobile { display: none; }

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--r-1);
    color: var(--ink);
  }
  .nav.mobile-open .nav-mobile {
    display: block;
  }
  .nav-mobile {
    display: none;
    border-top: 1px solid var(--rule);
    padding: var(--s-4) var(--margin);
    background: var(--cream);
  }
  .nav-mobile a {
    display: block;
    padding: 14px 0;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
  }
  .nav-mobile a:last-child { border-bottom: 0; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-9) 0 var(--s-6);
  margin-top: 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brass) 50%, transparent 100%);
}
.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--margin);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--rule-inverse);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 100px; margin-bottom: var(--s-4); width: auto; }
.footer-brand p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.74;
  max-width: 36ch;
  margin: 0;
}
.footer-col h6 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 var(--s-3) 0;
  color: var(--brass-glow);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin: 0 0 10px 0;
}
.footer-col a {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--cream);
  opacity: 0.78;
  transition: opacity var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer-col a:hover { opacity: 1; color: var(--teal-glow); }

.footer-legal {
  padding-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.footer-legal h6 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 var(--s-3) 0;
  color: var(--brass-glow);
}
.footer-legal p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.72;
  margin: 0 0 14px 0;
  max-width: 78ch;
}
.footer-bottom {
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-top: var(--s-5);
}
.footer-bottom a { margin-left: var(--s-4); }
.footer-bottom a:first-of-type { margin-left: 0; }

/* ---------- Cinematic register (dark surfaces) ---------- */
.cinematic {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-3) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cinematic .eyebrow { color: var(--cream); opacity: 0.85; }
.cinematic .eyebrow .section-num,
.cinematic .eyebrow .section-num::before { color: var(--brass-glow); }
.cinematic .display { color: var(--cream); }
.cinematic .display .italic-teal { color: var(--teal-glow); }
.cinematic .lede { color: var(--cream); opacity: 0.84; }
.cinematic .rule { border-color: var(--rule-inverse); }

/* ---------- Hero motion primitives ---------- */
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes drift-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}
@keyframes pulse-deep {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.6; }
}
@keyframes trace {
  from { stroke-dashoffset: 240; }
  to { stroke-dashoffset: 0; }
}
@keyframes orbit {
  from { stroke-dashoffset: 480; }
  to { stroke-dashoffset: 0; }
}
@keyframes chip-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shield-assemble {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes blade-rise {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes glow-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes data-flow {
  0% { opacity: 0; transform: translateX(-100%); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

.anim-drift { animation: drift 6s ease-in-out infinite; transform-origin: center; }
.anim-drift-slow { animation: drift-slow 8s ease-in-out infinite; }
.anim-pulse { animation: pulse-soft 5s ease-in-out infinite; }
.anim-pulse-deep { animation: pulse-deep 7s ease-in-out infinite; }
.anim-trace { stroke-dasharray: 240; stroke-dashoffset: 240; animation: trace 3s var(--ease-out) 0.4s forwards; }
.anim-orbit { stroke-dasharray: 480; stroke-dashoffset: 480; animation: orbit 3.4s var(--ease-out) 0.6s forwards; }
.anim-enter { animation: chip-enter var(--t-slow) var(--ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- HOMEPAGE HERO · cinematic ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 30%, #102746 0%, var(--ink-3) 45%, var(--ink-4) 100%);
  color: var(--cream);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: stretch;
  padding: 0;
  border-bottom: 1px solid var(--rule-inverse);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(232, 195, 148, 0.16) 0%, transparent 38%),
    radial-gradient(circle at 22% 78%, rgba(123, 201, 203, 0.12) 0%, transparent 42%);
  pointer-events: none;
}
.hero::after {
  /* subtle grain noise via CSS gradient — improves cinematic feel */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(243, 238, 232, 0.012) 2px, rgba(243, 238, 232, 0.012) 4px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 238, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 232, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--s-9) 16px var(--s-8) var(--margin);
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: var(--s-8);
  align-items: center;
  width: 100%;
}
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-7); padding: var(--s-8) var(--margin); }
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.86;
  margin-bottom: var(--s-5);
  display: flex;
  align-items: baseline;
  gap: 12px;
  animation: chip-enter var(--t-slow) var(--ease-out) 0.4s both;
}
.hero-eyebrow > span:not(.brass-mark) {
  flex: 1;
}
.hero-eyebrow .brass-mark {
  color: var(--brass-glow);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
}
.hero-lede {
  font-family: var(--sans);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  color: var(--cream);
  opacity: 0.92;
  margin: var(--s-5) 0 var(--s-6);
  max-width: 56ch;
  animation: chip-enter var(--t-slow) var(--ease-out) 0.7s both;
}
.hero-lede .accent {
  font-style: italic;
  color: var(--teal-glow);
}

.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: chip-enter var(--t-slow) var(--ease-out) 0.9s both;
}
.hero-ctas .btn {
  padding: 9px 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  gap: 6px;
}
.hero-ctas .btn::after {
  font-size: 12px;
}@media (max-width: 520px) {
  .hero-meta-foot { grid-template-columns: 1fr; gap: var(--s-3); }
}
/* ---------- Hero composition (the star) ---------- */
.hero-stage {
  position: relative;
  height: 600px;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 980px) {
  .hero-stage { height: 480px; }
}

.hero-stage svg.composition {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ambient glow behind shield */
.stage-halo-1 {
  position: absolute;
  top: 50%; left: 50%;
  width: 520px; height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 195, 148, 0.32) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: pulse-soft 5s ease-in-out infinite;
}
.stage-halo-2 {
  position: absolute;
  top: 60%; left: 28%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(123, 201, 203, 0.26) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
  animation: pulse-deep 7s ease-in-out infinite;
}
.stage-halo-3 {
  position: absolute;
  top: 30%; right: 18%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(205, 167, 123, 0.22) 0%, transparent 60%);
  filter: blur(45px);
  pointer-events: none;
  animation: pulse-soft 6s ease-in-out infinite;
  animation-delay: 1s;
}

.shield-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The real shield SVG, animated. We inline the file via <object> or <img> wrapping. */
.shield-mark {
  position: relative;
  width: clamp(150px, 13vw, 180px);
  height: auto;
  animation: shield-assemble 1.6s var(--ease-out) 0.2s both, drift 6s ease-in-out infinite 1.8s;
  filter: drop-shadow(0 0 24px rgba(232, 195, 148, 0.25));
  z-index: 3;
}

/* When we inline the shield SVG, target its paths */
.shield-mark svg path { transition: fill var(--t-mid) var(--ease); }

/* hover effect on the whole hero stage activates the shield */
.hero-stage:hover .shield-mark { animation-play-state: running; }
.hero-stage:hover .shield-pulse-ring { opacity: 1; }

/* rings around shield */
.shield-ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(232, 195, 148, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.shield-ring.r1 { width: 420px; height: 420px; animation: pulse-soft 8s ease-in-out infinite; }
.shield-ring.r2 { width: 560px; height: 560px; border-color: rgba(123, 201, 203, 0.12); animation: pulse-soft 10s ease-in-out infinite 1s; }
.shield-ring.r3 { width: 700px; height: 700px; border-color: rgba(232, 195, 148, 0.08); animation: pulse-soft 12s ease-in-out infinite 2s; }
.shield-ring.dashed {
  border-style: dashed;
  border-color: rgba(232, 195, 148, 0.16);
  animation: glow-rotate 60s linear infinite;
}
.shield-ring.r4 {
  width: 340px; height: 340px;
  border-color: rgba(232, 195, 148, 0.22);
  border-style: dashed;
  animation: glow-rotate 90s linear infinite;
}
@media (max-width: 720px) {
  .chip-1, .chip-3, .chip-5 { display: none; }
}
/* ---------- Generic editorial section · light surfaces ---------- */
.editorial { background: var(--cream); color: var(--ink); }

/* program / verticals grid */
.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 860px) { .tri-grid { grid-template-columns: 1fr; } }
.tri-grid > .cell {
  padding: var(--s-6) var(--s-4);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.tri-grid > .cell:last-child { border-right: 0; }
@media (max-width: 860px) {
  .tri-grid > .cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .tri-grid > .cell:last-child { border-bottom: 0; }
}
.tri-grid > .cell:hover { background: rgba(205, 167, 123, 0.06); }
.tri-grid .cell-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--brass);
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tri-grid .cell-num::before { content: '§'; color: var(--brass); }
.tri-grid h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 var(--s-3) 0;
  letter-spacing: -0.01em;
}
.tri-grid h3 .italic-teal { color: var(--teal); font-style: italic; }
.tri-grid p { font-size: 16px; line-height: 1.55; margin: 0 0 var(--s-3) 0; max-width: 38ch; }
.tri-grid .meta-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.62;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
}

/* numbered method/operating-model list */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr 1.8fr;
  gap: var(--s-5);
  align-items: start;
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step .step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--brass);
  letter-spacing: -0.02em;
}
.step h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}
.step p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 60ch;
  opacity: 0.85;
}
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: var(--s-2); }
  .step .step-num { font-size: 36px; }
}

/* 2-col body */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: var(--s-5); } }

/* timeline / trajectory */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } }
.timeline .stage {
  padding: var(--s-6) var(--s-4);
  border-right: 1px solid var(--rule);
  position: relative;
}
.timeline .stage:last-child { border-right: 0; }
@media (max-width: 860px) {
  .timeline .stage { border-right: 0; border-bottom: 1px solid var(--rule); }
  .timeline .stage:last-child { border-bottom: 0; }
}
.timeline .when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-3);
}
.timeline h5 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 var(--s-3) 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.timeline p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}

/* feature row (Native AI, etc) */
.feature-row {
  display: grid;
  grid-template-columns: 280px 1fr 1.4fr;
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.feature-row:last-child { border-bottom: 1px solid var(--rule); }
.feature-row .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.feature-row h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 var(--s-2) 0;
  letter-spacing: -0.01em;
  line-height: 1.18;
}
.feature-row h4 .italic-teal { color: var(--teal); font-style: italic; }
/* on dark (cinematic) sections the accent uses the brighter glow teal,
   matching every other dark-section italic accent for consistent contrast */
.cinematic .feature-row h4 .italic-teal { color: var(--teal-glow); }
.feature-row p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.86;
}
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* numbered why list (4 reasons) */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }
.why-grid .why {
  padding: var(--s-5);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background var(--t-fast) var(--ease);
}
.why-grid .why:nth-child(2n) { border-right: 0; }
.why-grid .why:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 720px) {
  .why-grid .why { border-right: 0; border-bottom: 1px solid var(--rule); }
  .why-grid .why:last-child { border-bottom: 0; }
}
.why-grid .why:hover { background: rgba(52, 123, 125, 0.04); }
.why-grid .why .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--brass);
  line-height: 1;
  margin-bottom: var(--s-3);
}
.why-grid .why h5 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 var(--s-2) 0;
  letter-spacing: -0.01em;
}
.why-grid .why p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}

/* Intel cadence preview cards */
.intel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 860px) { .intel-grid { grid-template-columns: 1fr; } }
.intel-grid .pub {
  padding: var(--s-6) var(--s-4);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.intel-grid .pub:last-child { border-right: 0; }
@media (max-width: 860px) {
  .intel-grid .pub { border-right: 0; border-bottom: 1px solid var(--rule); }
  .intel-grid .pub:last-child { border-bottom: 0; }
}
.intel-grid .pub:hover { background: rgba(205, 167, 123, 0.05); }
.intel-grid .cadence {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-2);
}
.intel-grid h5 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-3) 0;
}
.intel-grid h5 .italic-teal { color: var(--teal); font-style: italic; }
.intel-grid p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}

/* CTA band — inverse */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-8) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(232, 195, 148, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.cta-band .content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
}
@media (max-width: 860px) {
  .cta-band .content { grid-template-columns: 1fr; }
}
.cta-band h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  color: var(--cream);
  max-width: 24ch;
}
.cta-band h3 .italic-teal { font-style: italic; color: var(--teal-glow); }

/* Interior page hero — editorial register */
.page-hero {
  padding: calc(var(--s-9) + 20px) 0 var(--s-8);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-hero .eyebrow { margin-bottom: var(--s-4); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4) 0;
  max-width: 18ch;
}
.page-hero h1 .italic-teal { font-style: italic; color: var(--teal); }
.page-hero .lede { max-width: 64ch; }
.page-hero .meta-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.62;
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  max-width: 64ch;
}
.page-hero-actions {
  margin-top: var(--s-5);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* faq */
.faq dt {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: var(--s-5) 0 var(--s-2) 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  display: flex;
  gap: var(--s-3);
  align-items: baseline;
}
.faq dt::before {
  content: 'Q';
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--brass);
  flex-shrink: 0;
}
.faq dt:first-child { border-top: 0; }
.faq dd {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 var(--s-4) 0;
  padding-left: 22px;
  opacity: 0.86;
  max-width: 72ch;
}

/* contact channel cards */
.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 860px) { .channels { grid-template-columns: 1fr; } }
.channels .channel {
  padding: var(--s-6) var(--s-4);
  border-right: 1px solid var(--rule);
}
.channels .channel:last-child { border-right: 0; }
@media (max-width: 860px) {
  .channels .channel { border-right: 0; border-bottom: 1px solid var(--rule); }
  .channels .channel:last-child { border-bottom: 0; }
}
.channels .label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-3);
}
.channels h5 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 var(--s-2) 0;
  letter-spacing: -0.01em;
}
.channels p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 var(--s-3) 0;
  opacity: 0.82;
}
.channels a.email {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.channels a.email:hover { color: var(--teal); border-color: var(--teal); }

/* legal numbered list (disclosures, terms) */
.legal-list {
  display: grid;
  gap: 0;
}
.legal-list .item {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s-5);
  align-items: start;
}
.legal-list .item:last-child { border-bottom: 1px solid var(--rule); }
.legal-list .item .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brass);
  padding-top: 4px;
}
.legal-list .item h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 var(--s-3) 0;
  letter-spacing: -0.005em;
}
.legal-list .item p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 var(--s-2) 0;
  max-width: 72ch;
  opacity: 0.86;
}
@media (max-width: 720px) {
  .legal-list .item { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* leadership grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.team-grid .role {
  padding: var(--s-5);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background var(--t-fast) var(--ease);
}
.team-grid .role:hover { background: rgba(205, 167, 123, 0.05); }
.team-grid .role:nth-child(2n) { border-right: 0; }
.team-grid .role:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 720px) {
  .team-grid .role { border-right: 0; border-bottom: 1px solid var(--rule); }
  .team-grid .role:last-child { border-bottom: 0; }
}
.team-grid .status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.team-grid .status .dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.team-grid .status.recruiting .dot { background: var(--brass); }
.team-grid h5 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-2) 0;
  line-height: 1.2;
}
.team-grid p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.84;
}

/* note callouts (the small grey blocks under sections) */
.note-block {
  margin-top: var(--s-6);
  padding: var(--s-4) var(--s-5);
  background: var(--cream-2);
  border-left: 2px solid var(--brass);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.88;
  max-width: 72ch;
}
.cinematic .note-block {
  background: rgba(243, 238, 232, 0.04);
  border-left-color: var(--brass-glow);
  color: var(--cream);
}

/* limit pill (not actually a pill — square label) */
.limit-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--cream-2);
  padding: 6px 10px;
  border-radius: var(--r-1);
  border: 1px solid var(--rule-strong);
}

/* program detail block (verticals page) */
.program {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.program:first-of-type { border-top: 0; }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; } }
.program .tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-3);
}
.program h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0;
}
.program h2 .italic-teal { font-style: italic; color: var(--teal); }
.program p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 var(--s-4) 0;
  opacity: 0.86;
  max-width: 62ch;
}
.program-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin: var(--s-5) 0;
}
@media (max-width: 520px) { .program-cols { grid-template-columns: 1fr; } }
.program-cols h6 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.62;
  margin: 0 0 var(--s-3) 0;
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--rule);
}

/* exclude items (verticals) */
.exclude {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .exclude { grid-template-columns: 1fr; } }
.exclude .ex {
  padding: var(--s-4) var(--s-4);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.exclude .ex:nth-child(3n) { border-right: 0; }
.exclude .ex:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 720px) {
  .exclude .ex { border-right: 0; border-bottom: 1px solid var(--rule); }
  .exclude .ex:last-child { border-bottom: 0; }
}
.exclude h6 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 6px 0;
}
.exclude p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
}

/* method (platform page) */
.method-row {
  display: grid;
  grid-template-columns: 120px 1fr 1.6fr;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
}
.method-row:last-child { border-bottom: 1px solid var(--rule); }
.method-row .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--brass);
  line-height: 1;
}
.method-row h5 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.2;
}
.method-row p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.86;
}
@media (max-width: 720px) {
  .method-row { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* publication preview row */
.pub-row {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-5);
  align-items: start;
  transition: background var(--t-fast) var(--ease);
}
.pub-row:last-child { border-bottom: 1px solid var(--rule); }
.pub-row:hover { background: rgba(205, 167, 123, 0.04); }
.pub-row .when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--brass);
  padding-top: 4px;
}
.pub-row h5 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-2) 0;
  line-height: 1.25;
}
.pub-row p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.82;
  max-width: 64ch;
}
@media (max-width: 720px) {
  .pub-row { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* tab pills (verticals nav anchor links) */
.anchor-tabs {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-1);
  overflow: hidden;
}
.anchor-tabs a {
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  border-right: 1px solid var(--rule);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.anchor-tabs a:last-child { border-right: 0; }
.anchor-tabs a:hover { background: var(--ink); color: var(--cream); opacity: 1; }

/* utility */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.text-center { text-align: center; }

/* selection */
::selection { background: var(--brass); color: var(--ink); }
.cinematic ::selection { background: var(--teal); color: var(--cream); }

/* focus visible */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- Quad grid (2x2 balanced cells, shares tri-grid cell styling) ---------- */
.quad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quad-grid > .cell {
  padding: var(--s-6) var(--s-5);
  position: relative;
  transition: background var(--t-fast) var(--ease);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
/* right column: no right border */
.quad-grid > .cell:nth-child(2n) { border-right: 0; }
/* bottom row (last two cells): no bottom border */
.quad-grid > .cell:nth-last-child(-n+2) { border-bottom: 0; }
.quad-grid > .cell:hover { background: rgba(205, 167, 123, 0.06); }
.quad-grid .cell-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--brass);
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.quad-grid .cell-num::before { content: '§'; color: var(--brass); }
.quad-grid h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 var(--s-3) 0;
  letter-spacing: -0.01em;
}
.quad-grid h3 .italic-teal { color: var(--teal); font-style: italic; }
.quad-grid p { font-size: 16px; line-height: 1.55; margin: 0; max-width: 42ch; }
@media (max-width: 720px) {
  .quad-grid { grid-template-columns: 1fr; }
  .quad-grid > .cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .quad-grid > .cell:last-child { border-bottom: 0; }
}

/* ============================================================
   Who We Protect — mega menu (v55)
   Desktop: hover-intent panel under the sticky nav.
   Mobile: accordion group inside .nav-mobile.
   ============================================================ */
.wwp-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.78;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: opacity var(--t-fast) var(--ease);
}
.wwp-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width var(--t-fast) var(--ease);
}
.wwp-trigger:hover, .nav.wwp-open .wwp-trigger { opacity: 1; }
.wwp-trigger:hover::after, .nav.wwp-open .wwp-trigger::after { width: 100%; }
.wwp-caret { transition: transform var(--t-fast) var(--ease); }
.nav.wwp-open .wwp-caret { transform: rotate(180deg); }

.wwp-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--rule-strong);
  box-shadow: 0 24px 48px rgba(14, 31, 56, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
}
.nav { position: sticky; }
.nav.wwp-open .wwp-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s;
}
.wwp-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--margin) 44px;
  display: grid;
  grid-template-columns: 1.9fr 1.3fr 1.4fr;
  gap: var(--s-6);
}
.wwp-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.wwp-item {
  display: block;
  padding: 10px 10px 12px;
  margin: 0 -10px;
  border-radius: var(--r-1);
  transition: background var(--t-fast) var(--ease);
}
.wwp-item:hover { background: rgba(14, 31, 56, 0.045); }
.wwp-item-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}
.wwp-item:hover .wwp-item-title { color: var(--teal); }
.wwp-item-desc {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.62;
}
.wwp-partner-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.wwp-view-all {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal);
}
.wwp-view-all:hover { color: var(--ink); }

.wwp-card {
  background: var(--ink);
  border-radius: var(--r-2, 10px);
  padding: 26px 26px 24px;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wwp-card-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-glow);
}
.wwp-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
}
.wwp-score-num {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  color: var(--brass-glow);
}
.wwp-score-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 30px;
}
.wwp-score-bars span {
  width: 5px;
  background: var(--teal-glow);
  opacity: 0.7;
  border-radius: 2px 2px 0 0;
}
.wwp-card-line {
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--cream);
  opacity: 0.92;
}
.wwp-card-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--r-1);
  border: 1px solid var(--cream);
  color: var(--cream);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.wwp-card-cta:hover { background: var(--cream); color: var(--ink); }

@media (max-width: 1080px) {
  .wwp-panel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wwp-panel, .wwp-trigger, .wwp-caret, .wwp-item { transition: none; }
}

/* Mobile accordion group */
.nav-mobile-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nav-mobile-group-toggle .wwp-caret { transition: transform var(--t-fast) var(--ease); }
.nav-mobile-group-toggle[aria-expanded="true"] .wwp-caret { transform: rotate(180deg); }
.nav-mobile-group { display: none; }
.nav-mobile-group.open { display: block; }
.nav-mobile-group a { padding-left: 16px !important; font-size: 11px !important; }

/* Footer: five columns with the Who We Protect column (v55) */
.footer-grid { grid-template-columns: 1.6fr 1fr 1.1fr 1fr 0.9fr; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* v55: keep the nav CTA on one line now that the nav carries one more item */
.nav-cta { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1081px) {
  .nav-links { gap: 22px; }
}


/* ============================================================
   Sentrias CyberScore menu widget (v63)
   The score draws itself every time the panel opens: ring to 87,
   count-up numeral, bars rising, one quiet sheen.
   ============================================================ */
.wwp-card { position: relative; overflow: hidden; }
.wwp-card::after {
  content: "";
  position: absolute;
  top: -60%; bottom: -60%;
  width: 44%; left: -80%;
  background: linear-gradient(100deg, transparent, rgba(243, 238, 232, 0.07), transparent);
  transform: skewX(-14deg);
  pointer-events: none;
}
.nav.wwp-open .wwp-card::after { animation: wwpSheen 1.5s ease .4s forwards; }
.wwp-score2 { position: relative; width: 96px; height: 96px; margin-top: 16px; }
.wwp-ring { width: 96px; height: 96px; transform: rotate(-90deg); display: block; }
.wwp-ring circle { fill: none; }
.wwp-ring-bg { stroke: rgba(243, 238, 232, 0.12); stroke-width: 5; }
.wwp-ring-arc {
  stroke: var(--teal-glow);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 257.6;
  stroke-dashoffset: 257.6;
  filter: drop-shadow(0 0 6px rgba(123, 201, 203, 0.45));
}
.nav.wwp-open .wwp-ring-arc { animation: wwpArc .95s cubic-bezier(.2, .65, .25, 1) .15s forwards; }
.wwp-score2 .wwp-score-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; line-height: 1;
}
.wwp-card .wwp-score-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 14px; }
.nav.wwp-open .wwp-score-bars span { animation: wwpBarUp .55s cubic-bezier(.2, .8, .3, 1.2) both; transform-origin: bottom; }
.nav.wwp-open .wwp-score-bars span:nth-child(1) { animation-delay: .30s; }
.nav.wwp-open .wwp-score-bars span:nth-child(2) { animation-delay: .38s; }
.nav.wwp-open .wwp-score-bars span:nth-child(3) { animation-delay: .46s; }
.nav.wwp-open .wwp-score-bars span:nth-child(4) { animation-delay: .54s; }
.nav.wwp-open .wwp-score-bars span:nth-child(5) { animation-delay: .62s; }
.nav.wwp-open .wwp-score-bars span:nth-child(6) { animation-delay: .70s; }
.wwp-card-meta {
  margin-top: 10px;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(123, 201, 203, 0.62);
}
@keyframes wwpArc { to { stroke-dashoffset: 33.5; } }
@keyframes wwpBarUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes wwpSheen { from { left: -80%; } to { left: 135%; } }
@media (prefers-reduced-motion: reduce) {
  .wwp-ring-arc { stroke-dashoffset: 33.5 !important; animation: none !important; }
  .nav.wwp-open .wwp-score-bars span { animation: none !important; transform: none !important; }
  .nav.wwp-open .wwp-card::after { animation: none !important; }
}

/* v63: footer carries the no-tagline horizontal lockup */
.footer-brand img.footer-lockup { height: 42px; width: auto; margin-bottom: var(--s-4); }

/* v66: contact channels row in the homepage closing band */
.contact-channels { margin-top: var(--s-5); display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.cc-item { display: inline-flex; align-items: baseline; gap: 10px; }
.cc-k { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.cc-slot { font-family: var(--mono); font-size: 14px; letter-spacing: .22em; color: var(--ink); opacity: .4; }
.cc-soon { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); border: 1px dashed rgba(205, 167, 123, .55); border-radius: 999px; padding: 3px 9px; }
.cc-sep { width: 1px; height: 16px; background: var(--rule-strong); }
@media (max-width: 640px) { .cc-sep { display: none; } .contact-channels { flex-direction: column; gap: 12px; } }
