/* ═══════════════════════════════════════════
   TRUTSPHERE TECHNOLOGIES — WEBSITE STYLES
   Colors: White · Rust Orange · Gold · Royal Blue
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --rust:        #C0392B;
  --rust-light:  #E2654B;
  --rust-dark:   #8B2D18;
  --gold:        #B8860B;
  --gold-light:  #D4A020;
  --gold-dark:   #8A6308;
  --royal-blue:  #2655C5;
  --blue-light:  #5B8BF0;
  --white:       #FFFFFF;
  --off-white:   #F8F6F3;
  --near-white:  #F2EEE8;
  --dark:        #0F0503;
  --dark-2:      #180806;
  --dark-3:      #201008;
  --dark-4:      #2A140A;
  --text-light:  #F0E8DC;
  --text-muted:  #B3A18A;
  --border:      rgba(184,134,11,0.18);
  --glow-rust:   rgba(192,57,43,0.4);
  --glow-gold:   rgba(184,134,11,0.3);
  --glow-blue:   rgba(184,134,11,0.2);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Fluid root: 14px on phones → 16px at laptop → 20px on large monitors and
     projectors, so every rem-based size scales with the screen. Each stop is
     2px below the original scale — the whole UI reads one notch tighter. */
  font-size: clamp(14px, 13px + 0.21vw, 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Work Sans', sans-serif;
  background: linear-gradient(160deg, #090302 0%, #0F0503 40%, #150704 100%);
  background-attachment: fixed;
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg, video, canvas { max-width: 100%; }

/* ── Global animations ── */
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.08); }
  66%      { transform: translate(-25px,40px) scale(0.96); }
}
@keyframes shimmerText {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(184,134,11,0.15); }
  50%     { box-shadow: 0 0 45px rgba(184,134,11,0.35), 0 0 80px rgba(192,57,43,0.15); }
}
@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
h1,h2,h3,h4,h5 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ── Utilities ── */
/* Content column: 1200px on laptops, widening on large monitors and projectors
   so the page doesn't sit as a narrow strip in the middle of a big screen. */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(192,57,43,0.09);
  border: 1px solid rgba(192,57,43,0.28);
  color: var(--rust-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.32rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--rust-light);
  border-radius: 50%;
  animation: pulseTag 2s infinite;
}

@keyframes pulseTag {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}

.gold-text   { color: var(--gold); }
.rust-text   { color: var(--rust-light); }
.blue-text   { color: var(--royal-blue); }

.highlight {
  background: linear-gradient(90deg, var(--rust-light) 0%, var(--gold-light) 40%, var(--gold) 60%, var(--rust-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #B83A26 0%, #A3301F 50%, #7E2814 100%);
  color: #fff;
  padding: 0.85rem 2.1rem;
  border-radius: 8px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(192,57,43,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(192,57,43,0.45), 0 0 60px rgba(192,57,43,0.15);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--gold);
  padding: 0.82rem 2rem;
  border-radius: 8px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(184,134,11,0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px var(--glow-gold);
}

/* Scroll-reveal is armed only when JavaScript is running — the `js` class is
   set on <html> by a synchronous inline script in <head>. Guarding it this way
   means a blocked, failed or delayed script can never leave a section
   permanently invisible at opacity:0; without JS the content is simply there. */
html.js .fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════
   ICON SYSTEM
   Replaces the emoji that previously acted as interface iconography. Each
   icon is a <use> reference into the sprite at the top of <body>, sized in
   `em` so it inherits its container's font-size, and drawn in currentColor
   so it inherits the container's colour. Sizing an icon is therefore just a
   font-size change on the container, exactly as it was with emoji.
   ══════════════════════════════════════ */
.ts-ico {
  width: 1em;
  height: 1em;
  display: block;
  flex-shrink: 0;
  /* Stroke geometry stays crisp when a card scales on hover. */
  vector-effect: non-scaling-stroke;
}
/* Centred cards: the icon is a block element, so centre it explicitly
   rather than relying on the parent's text-align, which does not apply. */
.vm-icon .ts-ico,
.integration-icon .ts-ico { margin-inline: auto; }

/* Colours — emoji carried their own; SVG inherits from the container. */
.reason-icon      { color: var(--rust); }
.cap-icon         { color: var(--gold); }
.vm-icon          { color: var(--gold); }
.value-icon       { color: var(--gold); }
.integration-icon { color: rgba(232,224,213,0.72); }
.contact-info-icon{ color: var(--gold); }
.integration-badge:hover .integration-icon { color: var(--gold); }
.stack-disconnected .ts-ico {
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.4em;
}
.alert-title .ts-ico {
  display: inline-block;
  vertical-align: -0.14em;
  margin-right: 0.3em;
}

/* Hero dashboard — honesty label for the sample scenario */
.hero-dashboard-note {
  margin: 0.85rem 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(232, 224, 213, 0.5);
  letter-spacing: 0.01em;
  max-width: 46ch;
}

/* ══════════════════════════════════════
   PRODUCT OVERVIEW
   Three products, three equal cards, each the whole click target. Replaces a
   stack of stats, an architecture strip and a four-pillar grid that left a
   lot of dead vertical space and buried the fact that each product now has a
   page of its own.
   ══════════════════════════════════════ */
.prodgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.prod {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.85rem 1.75rem;
  text-decoration: none;
  border-radius: 18px;
  border: 1px solid rgba(184, 134, 11, 0.18);
  background: linear-gradient(158deg, rgba(36,17,7,0.6) 0%, rgba(14,5,2,0.82) 100%);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.prod:hover,
.prod:focus-visible {
  border-color: rgba(184, 134, 11, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.42);
}
.prod:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.prod-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.45rem;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(192,57,43,0.16), rgba(184,134,11,0.1));
  margin-bottom: 1.4rem;
}
.prod-tag {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.prod-name {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 0.55rem;
}
.prod-lead {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.prod-p {
  display: block;
  flex: 1;
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.prod-go {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rust-light);
  letter-spacing: 0.01em;
}
.prod-go span { display: inline-block; transition: padding-left 0.28s; }
.prod:hover .prod-go span { padding-left: 0.35rem; }

@media (prefers-reduced-motion: reduce) {
  .prod, .prod-go span { transition: none; }
  .prod:hover { transform: none; }
}
@media (max-width: 980px) {
  .prodgrid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.25rem; }
  .prod { padding: 1.7rem 1.5rem 1.5rem; }
}

/* ══════════════════════════════════════
   SKIP LINK
   Off-screen until focused, so a keyboard user can jump the navigation
   instead of tabbing through it on every page.
   ══════════════════════════════════════ */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  padding: 0.7rem 1.15rem;
  background: var(--dark-2);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0 0 10px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 2px solid var(--gold); outline-offset: 2px; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.6rem 0;
  transition: all 0.35s ease;
}
#navbar.scrolled {
  background: rgba(15,5,3,0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(184,134,11,0.12);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.9rem, 2vw, 2rem);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: clamp(52px, 5.8vw, 4.5rem);
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(184,134,11,0.22));
  transition: filter 0.3s, transform 0.3s;
}
.nav-logo-img:hover {
  filter: drop-shadow(0 4px 18px rgba(184,134,11,0.4));
  transform: scale(1.04);
}
.footer-logo-link { display: inline-flex; margin-bottom: 0.5rem; }
.footer-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(184,134,11,0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.85rem, 1.9vw, 2.25rem);
  list-style: none;
}
.nav-links li { flex: 0 0 auto; }
.nav-links a {
  display: block;
  white-space: nowrap;
  font-size: clamp(0.76rem, 1.05vw, 0.88rem);
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text-light); }

/* ── Dropdowns ──
   Hover opens on pointer devices; :focus-within opens for keyboard users, so
   tabbing through the nav works without JS. script.js adds Escape-to-close
   and mirrors the state onto aria-expanded. */
.nav-item { position: relative; }
.nav-top {
  display: inline-flex !important;
  align-items: center;
  gap: 0.34em;
  /* Vertical padding keeps the pointer inside the item while it travels
     toward the panel, so the dropdown does not flicker shut on the way. */
  padding: 0.55rem 0;
}
.nav-caret {
  width: 0.62em;
  height: auto;
  flex: 0 0 auto;
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.2s;
}
.nav-item:hover > .nav-top .nav-caret,
.nav-item:focus-within > .nav-top .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  /* Nudged up and scaled in; the translate keeps it centred under the label. */
  transform: translate(-50%, 6px);
  padding-top: 0.7rem;      /* invisible bridge across the gap */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop,
.nav-item.open > .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-drop > ul {
  list-style: none;
  min-width: 17rem;
  max-width: 21rem;
  padding: 0.45rem;
  background: rgba(21,8,5,0.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.3);
}
.nav-drop li { display: block; }
.nav-drop a {
  display: block;
  white-space: normal;
  padding: 0.6rem 0.7rem;
  border-radius: 7px;
  border-left: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.nav-drop a:hover,
.nav-drop a:focus-visible {
  background: rgba(184,134,11,0.09);
  border-left-color: var(--gold);
}
.nd-t {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.01em;
}
.nav-drop a:hover .nd-t,
.nav-drop a:focus-visible .nd-t { color: var(--gold-light); }
.nd-d {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
}

.nav-actions { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }

.nav-cta {
  background: linear-gradient(135deg, var(--rust), var(--rust-dark));
  color: #fff;
  white-space: nowrap;
  padding: 0.58rem clamp(0.9rem, 1.4vw, 1.4rem);
  border-radius: 6px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(0.76rem, 1vw, 0.84rem);
  letter-spacing: 0.01em;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.06);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px var(--glow-rust);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem;
  /* The menu is taller than the viewport once the groups are expanded. */
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mob-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.mob-link:hover { color: var(--text-light); }
.mob-cta { margin-top: 0.5rem; justify-content: center; }

/* ── Mobile accordions ──
   Collapsed by default; script.js toggles .open on the <li>. With JS
   unavailable the sub-lists stay hidden, so .mob-group > .mob-toggle also
   carries the section href on the first child link. */
.mob-group { display: block; }
.mob-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.6rem;
  padding: 0.4rem 0;
  min-height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  transition: color 0.2s;
}
.mob-toggle:hover { color: var(--gold-light); }
.mob-toggle .nav-caret {
  width: 0.7rem;
  opacity: 0.75;
}
.mob-group.open > .mob-toggle { color: var(--gold-light); }
.mob-group.open > .mob-toggle .nav-caret { transform: rotate(180deg); }

.mob-sub {
  display: none !important;
  margin: 0.15rem 0 0.4rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--border);
  gap: 0.1rem !important;
}
.mob-group.open > .mob-sub { display: flex !important; }
.mob-sublink {
  font-size: 0.92rem;
  padding: 0.45rem 0;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  /* svh tracks the visible viewport, so mobile browser chrome can't clip the hero */
  min-height: 100svh;
  display: flex;
  /* "safe" keeps content from overflowing upward under the fixed navbar when it
     is taller than the viewport (phones in portrait) */
  align-items: center;
  align-items: safe center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 15% 50%, rgba(192,57,43,0.38) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(184,134,11,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 55% at 55% 105%, rgba(192,57,43,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 65%, rgba(184,134,11,0.14) 0%, transparent 50%),
    linear-gradient(135deg, #0C0402 0%, #1C0A06 50%, #0C0402 100%);
}

/* Aurora orbs */
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orbFloat linear infinite;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(192,57,43,0.18) 0%, transparent 70%);
  top: -180px; left: -150px;
  animation-duration: 13s;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(184,134,11,0.14) 0%, transparent 70%);
  top: 30%; right: -120px;
  animation-duration: 16s;
  animation-delay: -5s;
}
.orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(184,134,11,0.2) 0%, transparent 70%);
  bottom: -100px; left: 35%;
  animation-duration: 11s;
  animation-delay: -8s;
}
.orb-4 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(192,57,43,0.16) 0%, transparent 70%);
  top: 60%; left: 25%;
  animation-duration: 18s;
  animation-delay: -3s;
}

#heroCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.65;
  pointer-events: none;
  z-index: 2;
}
.hero-content { z-index: 10; }

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, rgba(184,134,11,0.12), rgba(192,57,43,0.08));
  border: 1px solid rgba(184,134,11,0.3);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(184,134,11,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: glowPulse 4s ease infinite;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulseTag 2s infinite;
}

.hero-h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 490px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.75rem; }/* Dashboard card */
.hero-dashboard {
  background: linear-gradient(135deg, rgba(36,14,5,0.72) 0%, rgba(18,6,2,0.78) 100%);
  border: 1px solid rgba(184,134,11,0.25);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(184,134,11,0.2) inset;
}
.hero-dashboard-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(192,57,43,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-dashboard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dashboard-subtitle {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.dashboard-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
}
.dashboard-badge {
  background: rgba(192,57,43,0.18);
  border: 1px solid rgba(192,57,43,0.4);
  color: #FF6B47;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
  animation: blinkBadge 2.5s infinite;
}
@keyframes blinkBadge {
  0%,100% { opacity:1; }
  50%      { opacity:0.55; }
}

.dashboard-alert {
  background: rgba(192,57,43,0.07);
  border: 1px solid rgba(192,57,43,0.18);
  border-left: 3px solid var(--rust);
  border-radius: 8px;
  padding: 0.9rem;
  margin-bottom: 0.9rem;
}
.alert-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--rust-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.alert-items { display: flex; flex-direction: column; gap: 0.38rem; }
.alert-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.alert-dot {
  width: 4px; height: 4px;
  background: var(--rust-light);
  border-radius: 50%;
  flex-shrink: 0;
}
.alert-item .crit { color: var(--rust-light); font-weight: 700; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.dash-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 8px;
  padding: 0.78rem;
}
.dash-card-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.3rem;
}
.dash-card-value {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.dash-card-value.critical  { color: var(--rust-light); }
.dash-card-value.gold      { color: var(--gold); }
.dash-card-value.blue-val  { color: var(--blue-light); }
.dash-card-sub { font-size: 0.62rem; color: var(--text-muted); }

.dash-timeline {
  border-top: 1px solid rgba(255,255,255,0.055);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.t-time { color: var(--gold); font-weight: 600; width: 4.2em; flex-shrink: 0; white-space: nowrap; }
.t-dot  { color: var(--text-muted); font-size: 0.45rem; }
.gold-dot { color: var(--gold); }
.rust-dot { color: var(--rust-light); }

.dashboard-footer {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

@keyframes scrollBounce {
  0%,100% { transform:translateX(-50%) translateY(0); opacity:0.6; }
  50%      { transform:translateX(-50%) translateY(6px); opacity:1; }
}

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker-section {
  background: rgba(184,134,11,0.05);
  border-top: 1px solid rgba(184,134,11,0.12);
  border-bottom: 1px solid rgba(184,134,11,0.12);
  padding: 0.85rem 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: tickerRoll 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 2.5rem;
}
.ticker-item::after {
  content: '◆';
  color: var(--rust);
  font-size: 0.4rem;
  margin-left: 2.5rem;
}
@keyframes tickerRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   PROBLEM SECTION
══════════════════════════════════════ */
#problem {
  padding: 7rem 0;
  background: var(--off-white);
}
.problem-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.problem-header .section-tag {
  background: rgba(192,57,43,0.07);
  border-color: rgba(192,57,43,0.22);
  color: var(--rust);
}
.problem-header h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: var(--dark);
  margin-bottom: 0.9rem;
}
.problem-header .lead {
  font-size: 1.05rem;
  color: #5A5550;
  max-width: 560px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.problem-card {
  background: #fff;
  border: 1px solid #E5DDD5;
  border-radius: 12px;
  padding: 1.75rem 1.4rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rust), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.09);
  border-color: #D4C9BE;
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--rust);
}
.problem-card h3 {
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.problem-card p {
  font-size: 0.78rem;
  color: #7A7068;
  line-height: 1.55;
}

.persona-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 2rem;
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.persona-card {
  background: var(--dark-3);
  border: 1px solid rgba(184,134,11,0.12);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.persona-card:hover {
  border-color: rgba(184,134,11,0.25);
  transform: translateY(-3px);
}
.persona-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: 1rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--rust);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}
.persona-quote {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  position: relative;
}
.persona-info { display: flex; align-items: center; gap: 0.75rem; }
.persona-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--rust), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.persona-name {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}
.persona-role { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.1rem; }

/* ══════════════════════════════════════
   WHY NOW
══════════════════════════════════════ */
#why-now {
  padding: 7rem 0;
  background: linear-gradient(155deg, #200D07 0%, #0F0503 55%, #1A0906 100%);
  position: relative;
  overflow: hidden;
}
#why-now::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(184,134,11,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.why-now-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.why-now-left h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.why-now-left > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.broken-stack {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.4rem;
}
.broken-stack-title {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.1rem;
}
.broken-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.stack-tool {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(192,57,43,0.13);
  border-radius: 7px;
  padding: 0.7rem 0.65rem;
  text-align: center;
  font-size: 0.67rem;
  color: var(--text-muted);
  line-height: 1.4;
  transition: border-color 0.2s;
}
.stack-tool:hover { border-color: rgba(192,57,43,0.28); }
.stack-tool-name {
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.7rem;
  display: block;
  margin-bottom: 0.2rem;
}
.stack-disconnected {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--rust-light);
  font-weight: 600;
}

.why-now-reasons { display: flex; flex-direction: column; gap: 0.85rem; }
.reason-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s;
}
.reason-item:hover {
  border-color: rgba(184,134,11,0.18);
  background: rgba(184,134,11,0.035);
}
.reason-icon {
  width: 36px; height: 36px;
  background: rgba(192,57,43,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.reason-text h3 {
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.reason-text p { font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════
   SOLUTION / PLATFORM
══════════════════════════════════════ */
#solution {
  padding: 7rem 0;
  background: linear-gradient(135deg, #0C0402 0%, #180905 50%, #0C0402 100%);
  position: relative;
}
#solution::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,0.2), transparent);
}

.solution-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.solution-header h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.solution-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.layer-diagram-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}
.layer-diagram { width: 100%; max-width: 680px; }

.layer-ts {
  background: linear-gradient(135deg, rgba(192,57,43,0.2), rgba(184,134,11,0.15));
  border: 1px solid rgba(184,134,11,0.35);
  border-radius: 12px;
  padding: 1.2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  position: relative;
  overflow: hidden;
}
.layer-ts::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,0.06), rgba(184,134,11,0.04));
  pointer-events: none;
}
.layer-ts-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-light);
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.layer-connector {
  text-align: center;
  padding: 0.75rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.layer-connector::before,
.layer-connector::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.layer-tools {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.tool-badge {
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
  padding: 0.6rem 0.5rem;
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.tool-badge:hover {
  border-color: rgba(184,134,11,0.22);
  color: var(--text-light);
}

.duality-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
}
.duality-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  transition: background 0.3s;
}
.duality-no {
  background: rgba(192,57,43,0.05);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.duality-no:hover { background: rgba(192,57,43,0.09); }
.duality-yes {
  background: rgba(184,134,11,0.05);
}
.duality-yes:hover { background: rgba(184,134,11,0.09); }
.duality-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}
.duality-no .duality-icon { background: rgba(192,57,43,0.2); color: var(--rust-light); }
.duality-yes .duality-icon { background: rgba(184,134,11,0.2); color: var(--gold); }
.duality-item h3 { font-size: 0.88rem; color: var(--white); margin-bottom: 0.25rem; }
.duality-item p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.duality-divider { width: 1px; background: rgba(255,255,255,0.06); }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.cap-card {
  background: linear-gradient(135deg, rgba(34,12,4,0.62) 0%, rgba(18,6,2,0.68) 100%);
  border: 1px solid rgba(184,134,11,0.12);
  border-radius: 14px;
  padding: 1.5rem 1.1rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,134,11,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.cap-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rust), var(--gold), var(--blue-light));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.cap-card:hover {
  border-color: rgba(184,134,11,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(184,134,11,0.08);
}
.cap-card:hover::before { opacity: 1; }
.cap-card:hover::after  { transform: scaleX(1); }
.cap-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, rgba(192,57,43,0.13), rgba(184,134,11,0.08));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.9rem;
}
.cap-card h3 {
  font-size: 0.82rem;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.cap-card p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
#services:not(.sv-section),
#offers {
  padding: 7rem 0;
  background: var(--off-white);
}
.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.services-header .section-tag {
  background: rgba(192,57,43,0.07);
  border-color: rgba(192,57,43,0.22);
  color: var(--rust);
}
.services-header h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: var(--dark);
  margin-bottom: 0.9rem;
}
.services-header p { font-size: 1.05rem; color: #5A5550; max-width: 480px; margin: 0 auto; }

/* All five offerings sit in a single row. The section breaks out of the site's
   1200px container so five cards still get a readable column width; below
   1280px it falls back to as many columns as fit. */
#services:not(.sv-section) .container,
#offers .container { max-width: 1460px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.055);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.12);
}
.service-card-top {
  padding: 1.35rem 1.25rem;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.service-card-1 .service-card-top {
  background: linear-gradient(140deg, #0A0A0A 0%, #1E0A04 100%);
}
.service-card-2 .service-card-top {
  background: linear-gradient(140deg, #0A0A0A 0%, #04101E 100%);
}
.service-card-3 .service-card-top {
  background: linear-gradient(140deg, #0A0A0A 0%, #0E0E04 100%);
}
/* Cards 4–5 continue the rust → blue → gold cycle from the top of the grid. */
.service-card-4 .service-card-top {
  background: linear-gradient(140deg, #0A0A0A 0%, #1E0A04 100%);
}
.service-card-5 .service-card-top {
  background: linear-gradient(140deg, #0A0A0A 0%, #04101E 100%);
}
.service-num {
  position: absolute;
  top: 0.75rem; right: 0.9rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 2.9rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}
.service-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  position: relative;
}
.service-card-1 .service-tag { color: var(--rust-light); }
.service-card-2 .service-tag { color: var(--blue-light); }
.service-card-3 .service-tag { color: var(--gold); }
.service-card-4 .service-tag { color: var(--rust-light); }
.service-card-5 .service-tag { color: var(--blue-light); }
.service-card-top h3 {
  font-size: 1.05rem;
  color: var(--white);
  position: relative;
  line-height: 1.25;
}

.service-card-body {
  padding: 1.25rem 1.15rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body p {
  font-size: 0.8rem;
  color: #5A5550;
  line-height: 1.6;
  margin-bottom: 1.15rem;
  flex: 1;
}
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #3D3530;
}
.service-features li::before {
  content: '→';
  font-size: 0.7rem;
  color: var(--rust);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.55;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rust);
  letter-spacing: 0.01em;
  transition: gap 0.2s ease, color 0.2s;
  margin-top: auto;
}
.service-cta:hover { gap: 0.65rem; color: var(--rust-dark); }

/* ══════════════════════════════════════
   WORKFLOW
══════════════════════════════════════ */
#workflow {
  padding: 7rem 0;
  background: linear-gradient(155deg, #1C0B05 0%, #0C0402 60%, #180A05 100%);
}
.workflow-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.workflow-header h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: var(--white);
  margin-bottom: 0.9rem;
}
.workflow-header p { font-size: 1.05rem; color: var(--text-muted); }

.scenario-label {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.scenario-dot {
  width: 6px; height: 6px;
  background: var(--rust-light);
  border-radius: 50%;
  animation: pulseTag 1.5s infinite;
}

.workflow-panel {
  background: linear-gradient(135deg, rgba(14,24,80,0.55) 0%, rgba(6,13,46,0.65) 100%);
  border: 1px solid rgba(184,134,11,0.18);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.workflow-col h3 {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}
.wf-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.035);
}
.wf-item:last-child { border-bottom: none; }
.wf-check { color: var(--gold); font-size: 0.6rem; margin-top: 3px; flex-shrink: 0; }
.wf-label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.wf-val { font-size: 0.78rem; font-weight: 700; color: var(--text-light); }
.wf-val.urgent { color: var(--rust-light); }

.wf-timeline-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.035);
}
.wf-timeline-item:last-of-type { border-bottom: none; }
.wf-time { color: var(--gold); font-size: 0.7rem; font-weight: 700; width: 4.4em; flex-shrink: 0; white-space: nowrap; }
.wf-dot { font-size: 0.4rem; color: var(--text-muted); }
.gold-dot { color: var(--gold-light); }
.rust-dot { color: var(--rust-light); }
.wf-event { font-size: 0.78rem; color: var(--text-muted); }

.wf-timeline-spacer { height: 0.75rem; }
.wf-time-total {
  background: rgba(184,134,11,0.08);
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.wf-time-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.wf-time-value {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.workflow-cta-bar {
  text-align: center;
  padding: 1.1rem 1.5rem;
  background: rgba(184,134,11,0.05);
  border: 1px solid rgba(184,134,11,0.1);
  border-radius: 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}
.workflow-cta-bar strong { color: var(--gold-light); font-style: normal; }

/* ══════════════════════════════════════
   INTEGRATIONS
══════════════════════════════════════ */
#integrations {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #0C0402 0%, #180905 50%, #0C0402 100%);
  border-top: 1px solid rgba(184,134,11,0.08);
  border-bottom: 1px solid rgba(184,134,11,0.08);
}
.integrations-header {
  text-align: center;
  margin-bottom: 2.75rem;
}
.integrations-header h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.integrations-header p { font-size: 0.92rem; color: var(--text-muted); }

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.integration-badge {
  background: linear-gradient(135deg, rgba(32,11,4,0.58) 0%, rgba(18,6,2,0.62) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: all 0.35s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.integration-badge:hover {
  border-color: rgba(184,134,11,0.3);
  background: linear-gradient(135deg, rgba(44,18,7,0.72) 0%, rgba(28,10,4,0.78) 100%);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35), 0 0 20px rgba(184,134,11,0.08);
}
.integration-icon { font-size: 1.55rem; margin-bottom: 0.5rem; transition: color 0.35s; }
.integration-name {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.integration-cat { display: block; font-size: 0.65rem; color: var(--text-muted); }

.integrations-more {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ══════════════════════════════════════
   OUTCOMES
══════════════════════════════════════ */
#outcomes {
  padding: 7rem 0;
  background: linear-gradient(155deg, #240F08 0%, #0F0503 45%, #1C0B05 100%);
  position: relative;
  overflow: hidden;
}
#outcomes::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,134,11,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.outcomes-header { text-align: center; margin-bottom: 3.5rem; }
.outcomes-header h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); color: var(--white); margin-bottom: 0.9rem; }
.outcomes-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.metrics-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}
.metric-card {
  background: linear-gradient(135deg, rgba(32,11,4,0.58) 0%, rgba(18,6,2,0.62) 100%);
  border: 1px solid rgba(184,134,11,0.12);
  border-radius: 14px;
  padding: 1.75rem 1rem;
  text-align: center;
  transition: all 0.35s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,0.4), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.metric-card:hover {
  border-color: rgba(184,134,11,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(184,134,11,0.1);
}
.metric-card:hover::before { opacity: 1; }
.metric-num {
  font-family: 'Work Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rust-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  display: block;
}
.metric-num.metric-text {
  font-size: 1.65rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
}
.metric-label {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.outcomes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.outcome-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.25s;
}
.outcome-item:hover {
  border-color: rgba(184,134,11,0.18);
  color: var(--text-light);
  background: rgba(184,134,11,0.03);
}
.outcome-check { color: var(--gold); font-size: 0.95rem; flex-shrink: 0; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
#testimonials {
  padding: 7rem 0;
  background: linear-gradient(135deg, #0C0402 0%, #1C0B05 50%, #0C0402 100%);
  position: relative;
  overflow: hidden;
}
#testimonials::before {
  content: '';
  position: absolute;
  top: -180px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(192,57,43,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.testimonials-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.testimonials-header h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: var(--white); }
.testimonials-header p { color: var(--text-muted); margin-top: 1rem; font-size: 1.02rem; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
}
.testimonial-card {
  background: linear-gradient(150deg, rgba(32,11,4,0.62) 0%, rgba(18,6,2,0.66) 100%);
  border: 1px solid rgba(184,134,11,0.14);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,0.45), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.testimonial-card:hover {
  border-color: rgba(192,57,43,0.32);
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.42), 0 0 30px rgba(184,134,11,0.08);
}
.testimonial-card:hover::before { opacity: 1; }

.testimonial-quote-mark {
  font-family: 'Work Sans', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.6;
  color: rgba(184,134,11,0.22);
  margin-bottom: 0.75rem;
  user-select: none;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 1.85rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(184,134,11,0.12);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--rust) 0%, var(--gold-dark) 100%);
  box-shadow: 0 0 18px rgba(184,134,11,0.18);
}
.testimonial-meta { display: flex; flex-direction: column; line-height: 1.4; }
.testimonial-name {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }
.testimonial-loc {
  font-size: 0.72rem;
  color: var(--rust-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Standalone testimonials page ── */
/* Persistent current-page nav highlight (scrollspy only sets .active on #anchors) */
.nav-links a.nav-current { color: var(--gold); }

.page-hero {
  padding: clamp(7rem, 12vw, 9.5rem) 0 3rem;
  background: linear-gradient(150deg, #0C0402 0%, #1C0B05 55%, #0C0402 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -160px; right: -140px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(184,134,11,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-back {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  transition: color 0.25s;
  position: relative;
  z-index: 1;
}
.page-back:hover { color: var(--gold); }
.page-hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.page-hero-inner h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero-inner p { color: var(--text-muted); font-size: 1.05rem; }

#testimonials.testimonials-page { padding: 3rem 0 6rem; }

/* ── Share bar ── */
.share-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(184,134,11,0.12);
}
.share-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.share-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.share-btn {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184,134,11,0.18);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  transition: all 0.25s ease;
}
.share-btn:hover {
  color: var(--gold);
  border-color: rgba(184,134,11,0.4);
  background: rgba(184,134,11,0.06);
  transform: translateY(-2px);
}
.share-btn.copied {
  color: var(--gold);
  border-color: rgba(184,134,11,0.5);
  background: rgba(184,134,11,0.1);
}

/* ── "See all" link under the homepage testimonials ── */
.testimonials-more {
  text-align: center;
  margin-top: 2.5rem;
}
.testimonials-more a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,134,11,0.35);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.testimonials-more a:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
/* The two middle steps are ours — mark them, don't shout. */
@media (max-width: 520px) {}

/* ══════════════════════════════════════
   HERO — THREE DOORS
   The company's three business lines as equal, full-height panels. At rest
   they are exact thirds, so no line reads as the main one; the panel under
   the pointer or keyboard focus expands and reveals its detail. Entirely CSS
   — it works with JavaScript blocked, which is the whole point after the
   render bug this site shipped with.
   ══════════════════════════════════════ */
.hero-content.container {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 5.6rem;
  padding-bottom: 1.75rem;
}

/* ── orchestrated entrance ──
   CSS animations run whether or not script.js arrives, so the hero cannot be
   left blank by a blocked script the way .fade-in sections once were. */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.hero-head,
.doors > .door,
.hero-foot {
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-head            { animation-delay: 0.05s; }
.doors > .door:nth-child(1) { animation-delay: 0.22s; }
.doors > .door:nth-child(2) { animation-delay: 0.32s; }
.doors > .door:nth-child(3) { animation-delay: 0.42s; }
.hero-foot            { animation-delay: 0.58s; }

.hero-head { max-width: 60rem; }
/* The hero H1 runs smaller here than the site default: three full-height
   doors plus the CTAs have to clear the fold on a 13" laptop. */
.hero-head .hero-h1 { font-size: clamp(1.85rem, 3.5vw, 2.85rem); line-height: 1.12; }
.hero-head .hero-sub { font-size: 0.95rem; }
.hero-head .hero-h1 { margin-bottom: 0.9rem; }
.hero-head .hero-h1 .highlight { display: inline; }
.hero-head .hero-sub { max-width: 62ch; margin: 0; }

/* ── the doors ── */
.doors {
  display: flex;
  gap: 0.9rem;
  align-items: stretch;
  /* Fixed, not min — otherwise opening a door grows the hero and shoves the
     CTAs down the page under the pointer. */
  height: 21.5rem;
}
.door {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  /* Expanding by flex-grow keeps all three visible — none is ever pushed off. */
  transition: flex-grow 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}
.doors:hover .door:not(:hover) { flex-grow: 0.82; }
.door:hover,
.door:focus-within { flex-grow: 1.75; }

.door-hit {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.6rem 1.5rem 1.45rem;
  overflow: hidden;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid rgba(184, 134, 11, 0.16);
  background:
    linear-gradient(160deg, rgba(36,17,7,0.62) 0%, rgba(14,5,2,0.86) 100%);
  transition: border-color 0.5s, box-shadow 0.5s, background 0.5s;
}
.door-hit::before {
  /* the accent wash, per door — off until the door is active */
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s;
  pointer-events: none;
}
.door-build  .door-hit::before { background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(192,57,43,0.3), transparent 70%); }
.door-run    .door-hit::before { background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(184,134,11,0.28), transparent 70%); }
.door-secure .door-hit::before { background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(38,85,197,0.3), transparent 70%); }
.door:hover .door-hit::before,
.door:focus-within .door-hit::before { opacity: 1; }

.door:hover .door-hit,
.door:focus-within .door-hit {
  border-color: rgba(184, 134, 11, 0.42);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.door-hit:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.door-n {
  position: relative;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(232, 224, 213, 0.62);
  transition: color 0.45s;
}
.door-build  .door:hover .door-n { color: var(--rust-light); }
.door:hover .door-n, .door:focus-within .door-n { color: var(--gold); }

/* ── micro-scene ── */
.door-art {
  position: relative;
  display: block;
  width: 74px;
  height: 74px;
  margin: 0.95rem 0 1.1rem;
  /* The mark recedes as the detail comes forward — it also buys back the
     vertical room the expanded list needs, so nothing clips. */
  transition: width 0.5s cubic-bezier(0.22,1,0.36,1),
              height 0.5s cubic-bezier(0.22,1,0.36,1),
              margin 0.5s cubic-bezier(0.22,1,0.36,1),
              opacity 0.3s;
}
.door:hover .door-art,
.door:focus-within .door-art {
  width: 0; height: 0; margin: 0.1rem 0 0; opacity: 0;
}
.door-art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.door-art svg * { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.art-blocks rect { stroke: rgba(184,134,11,0.62); stroke-width: 3; fill: rgba(184,134,11,0.09); }
.art-core { stroke: var(--rust-light); stroke-width: 3.4; fill: rgba(192,57,43,0.28); }
.art-wire path { stroke: rgba(184,134,11,0.7); stroke-width: 2.4; stroke-dasharray: 3 4; }
.door-build:hover .art-wire path,
.door-build:focus-within .art-wire path { animation: wireRun 1.4s linear infinite; }
@keyframes wireRun { to { stroke-dashoffset: -14; } }

.art-plates path { stroke-width: 3; }
.plate-1 { stroke: rgba(91,139,240,0.75); fill: rgba(38,85,197,0.18); }
.plate-2 { stroke: rgba(212,80,58,0.8);   fill: rgba(192,57,43,0.18); }
.plate-3 { stroke: rgba(184,134,11,0.8);  fill: rgba(184,134,11,0.15); }
.art-flow path { stroke: rgba(240,232,220,0.8); stroke-width: 2.4; stroke-dasharray: 5 9; }
.door-run:hover .art-flow path,
.door-run:focus-within .art-flow path { animation: flowRun 1.1s linear infinite; }
@keyframes flowRun { to { stroke-dashoffset: -28; } }

.art-rings circle { stroke: rgba(184,134,11,0.5); stroke-width: 2.4; }
.art-sweep { fill: rgba(91,139,240,0.42); stroke: none; transform-origin: 60px 60px; }
.door-secure:hover .art-sweep,
.door-secure:focus-within .art-sweep { animation: sweepSpin 3.2s linear infinite; }
@keyframes sweepSpin { to { transform: rotate(360deg); } }
.art-dot { fill: var(--gold); stroke: none; }
.art-flow path { stroke: rgba(240,232,220,0.85); }

/* ── copy ── */
.door-body { position: relative; display: flex; flex-direction: column; flex: 1; }
.door-k {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.door-lead {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}
.door-p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 44ch;
  transition: -webkit-line-clamp 0.4s;
}
/* Once a door is open the list carries the detail, so the summary tightens. */
.door:hover .door-p,
.door:focus-within .door-p { -webkit-line-clamp: 2; }
/* A narrowed door wraps its summary onto more lines, which was pushing its
   own link out of the clipped box. Clamp harder while a sibling is open. */
.doors:hover .door:not(:hover) .door-p,
.doors:focus-within .door:not(:focus-within) .door-p { -webkit-line-clamp: 3; }
/* Detail is held back until the door is opened, so three panels of copy never
   compete on first paint. */
.door-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.4s;
}
.door:hover .door-more,
.door:focus-within .door-more { grid-template-rows: 1fr; opacity: 1; }
.door-list { display: block; overflow: hidden; min-height: 0; }
.door-list > span {
  display: block;
  position: relative;
  padding: 0.26rem 0 0.26rem 1.05rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(232, 224, 213, 0.72);
}
.door-list > span:first-child { margin-top: 0.85rem; }
.door-list > span::before {
  content: '';
  position: absolute;
  left: 0; top: 0.82em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.75;
}
.door-go {
  display: block;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rust-light);
}
.door-go span { display: inline-block; transition: padding-left 0.3s; }
.door:hover .door-go span { padding-left: 0.35rem; }

/* ── foot ── */
.hero-foot .hero-actions { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero-head, .doors > .door, .hero-foot { animation: none; }
  .door-art { transition: none; }
  .door, .door-more, .door-hit, .door-hit::before { transition: none; }
  .art-wire path, .art-flow path, .art-sweep { animation: none !important; }
}

/* Below the three-across threshold the doors stack and open permanently —
   hover is not a thing a touch user can do. */
@media (max-width: 1024px) {
  .doors { flex-direction: column; height: auto; }
  .door, .doors:hover .door:not(:hover), .door:hover, .door:focus-within { flex-grow: 1; }
  .door-more { grid-template-rows: 1fr; opacity: 1; }
  .door-hit { padding: 1.75rem 1.5rem; }
  .door-art { margin: 1rem 0 1.25rem; width: 64px; height: 64px; }
  .hero-content.container { padding-top: 7rem; }
}

/* Architecture strip in the product section: four across, full width. */
@media (max-width: 780px) {}
@media (max-width: 480px) {}

/* ══════════════════════════════════════
   ASSESSMENT BAND
   Self-serve entry point on the homepage. Sits on the dark ground so it reads
   as a break between the light Outcomes/Testimonials run and the final CTA.
   ══════════════════════════════════════ */
#assessment {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  border-top: 1px solid var(--border);
}
.assess-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}
.assess-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  color: var(--text-light);
  margin: 0.6rem 0 1rem;
}
.assess-copy p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 46ch;
}
.assess-cards {
  display: grid;
  gap: 1rem;
}
.assess-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "ico title"
    "ico meta"
    "ico go";
  column-gap: 1.1rem;
  row-gap: 0.25rem;
  padding: 1.6rem 1.75rem;
  background: rgba(32, 16, 8, 0.55);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.assess-card:hover,
.assess-card:focus-visible {
  border-color: rgba(184, 134, 11, 0.45);
  background: rgba(42, 20, 10, 0.7);
  transform: translateY(-3px);
}
.assess-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.assess-card-ico {
  grid-area: ico;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  font-size: 1.4rem;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(192,57,43,0.14), rgba(184,134,11,0.09));
}
.assess-card-title {
  grid-area: title;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
}
.assess-card-meta {
  grid-area: meta;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.assess-card-go {
  grid-area: go;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold);
}
.assess-card:hover .assess-card-go span { padding-left: 0.25rem; }
.assess-card-go span { transition: padding-left 0.25s; display: inline-block; }

@media (max-width: 900px) {
  #assessment { padding: 4.5rem 0; }
  .assess-band { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 480px) {
  .assess-card {
    grid-template-columns: 1fr;
    grid-template-areas: "ico" "title" "meta" "go";
    row-gap: 0.45rem;
  }
}

#cta-section {
  padding: 7rem 0;
  background: var(--off-white);
}
.cta-box {
  background: linear-gradient(135deg, #0F0503 0%, #1C0A06 50%, #0F0503 100%);
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: 24px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rust), var(--gold), var(--blue-light), var(--gold), var(--rust));
  background-size: 200% auto;
  animation: borderFlow 4s linear infinite;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(184,134,11,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.65rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-box p {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact {
  padding: 7rem 0;
  background: linear-gradient(155deg, #1C0B05 0%, #0F0503 55%, #180905 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}
.contact-left h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-left > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info-icon { font-size: 1.1rem; margin-top: 3px; }
.contact-info-text h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.contact-info-text p { font-size: 0.83rem; color: var(--text-muted); }

.contact-form {
  background: linear-gradient(135deg, rgba(34,12,4,0.62) 0%, rgba(18,6,2,0.72) 100%);
  border: 1px solid rgba(184,134,11,0.18);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}
.form-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.87rem;
  color: var(--text-light);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(154,142,130,0.6); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(184,134,11,0.4);
  background: rgba(255,255,255,0.055);
}
.form-group textarea { resize: vertical; min-height: 95px; line-height: 1.6; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark-3); color: var(--text-light); }
.form-msg {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  display: none;
}
.form-msg.success {
  display: block;
  background: rgba(30,120,60,0.12);
  border: 1px solid rgba(30,160,70,0.3);
  color: #5AE07A;
}
.form-msg.error {
  display: block;
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  color: var(--rust-light);
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}
.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: linear-gradient(135deg, #080201 0%, #0F0503 60%, #0C0402 100%);
  border-top: 1px solid rgba(184,134,11,0.1);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 0.85rem;
  max-width: 270px;
}
.footer-tagline {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold-dark);
}

.footer-col h3,
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a {
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.055);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  color: var(--text-muted);
  transition: color 0.2s;
  font-size: 0.78rem;
}
.footer-legal a:hover { color: var(--text-light); }

/* "Cookie settings" control in the footer legal row. It has to be a <button>
   because it opens the consent banner rather than navigating anywhere, but it
   should read as one of the links beside it, not as a stray form control. */
.footer-legal-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-legal-btn:hover { color: var(--text-light); }

/* Compact legal strip for the two assessment wizards. Those pages are
   deliberately chrome-free — no site footer — but they collect the most
   sensitive inputs on the site, so a route to the privacy notice and the
   tool disclaimer is not optional. */
.tool-legal {
  border-top: 1px solid rgba(184,134,11,0.14);
  margin-top: 2rem;
  padding: 1.4rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.tool-legal .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.tool-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}
.tool-legal a:hover { color: var(--text-light); }

/* ── Hero tagline ── */
.hero-tagline {
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  margin: 0.5rem 0 1.5rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

/* ── Brand promise line in workflow ── */
.brand-promise {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════
   VISION & MISSION
══════════════════════════════════════ */
#vision {
  padding: 6rem 0;
  background: linear-gradient(155deg, #1C0B05 0%, #0C0402 50%, #180A05 100%);
  position: relative;
  overflow: hidden;
}
#vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(192,57,43,0.06), transparent);
  pointer-events: none;
}
.vision-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.vision-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.vision-card, .mission-card {
  background: rgba(22,8,4,0.7);
  border: 1px solid rgba(184,134,11,0.18);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s;
}
.vision-card:hover, .mission-card:hover {
  border-color: rgba(184,134,11,0.38);
  transform: translateY(-4px);
}
.vm-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.vm-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.vision-card h3, .mission-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-light);
  font-style: italic;
}
.vision-pillars {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.vision-pillar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.vp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.vp-dot.gold-dot { background: var(--gold); }
.vp-dot.rust-dot { background: var(--rust); }
.vm-divider-line {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(184,134,11,0.25), transparent);
  align-self: stretch;
  margin: 1rem 0;
}

/* ══════════════════════════════════════
   BRAND VALUES
══════════════════════════════════════ */
#values {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0C0402 0%, #1C0B05 50%, #0C0402 100%);
}
.values-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.values-header h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.values-header p { color: var(--text-muted); margin-top: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: rgba(22,8,4,0.65);
  border: 1px solid rgba(184,134,11,0.14);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
}
.value-card:hover {
  border-color: rgba(192,57,43,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(192,57,43,0.12);
}
.value-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  display: block;
}
.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.65rem;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pillar grid (4sight capabilities) ── */
.pillar-grid { grid-template-columns: repeat(4, 1fr) !important; }
.pillar-card {
  text-align: center;
  padding: 2.25rem 1.5rem;
}
.pillar-card .cap-icon { font-size: 2.2rem; margin-bottom: 0.85rem; }
.pillar-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.65rem;
}
.pillar-card p { font-size: 0.86rem; }

/* ══════════════════════════════════════
   RESPONSIVE
   Tiers: ≥2200 projector · ≥1700 large monitor · 1100 laptop
          1024 tablet landscape · 900 nav collapse · 768 tablet portrait
          600 large phone · 480 phone
══════════════════════════════════════ */

/* ── Large monitors & projectors: widen the column so content fills the screen ── */
@media (min-width: 1700px) {
  .container,
  .nav-inner { max-width: 1360px; }
}
@media (min-width: 2200px) {
  .container,
  .nav-inner { max-width: 1560px; }
  .metrics-row { gap: 1.5rem; }
}

/* Below the five-across threshold, fit as many cards per row as stay readable
   (4 → 3 → 2) rather than squeezing all five. */
@media (max-width: 1279px) {
  #services .container,
  #offers .container { max-width: 1200px; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
}

@media (max-width: 1200px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .capabilities-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-grid        { grid-template-columns: repeat(2, 1fr) !important; }
  .metrics-row        { grid-template-columns: repeat(3, 1fr); }
  .integrations-grid  { grid-template-columns: repeat(3, 1fr); }
  .layer-tools        { grid-template-columns: repeat(3, 1fr); }
  .persona-grid       { grid-template-columns: repeat(2, 1fr); }
  .problem-grid       { grid-template-columns: repeat(3, 1fr); }
  .values-grid        { grid-template-columns: repeat(2, 1fr); }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .vm-divider-line    { width: 100%; height: 1px; margin: 0; }
}

/* ── Tablet landscape ── */
@media (max-width: 1024px) {
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .layer-tools       { grid-template-columns: repeat(2, 1fr); }
  .problem-grid      { grid-template-columns: repeat(2, 1fr); }
  .metrics-row       { grid-template-columns: repeat(3, 1fr); }
  .hero-content      { gap: 2.5rem; }
}

/* Collapse the nav to the hamburger; above this the 5 dropdown links fit on one line */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .nav-cta    { display: none; }
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 8rem; }
  .hero-right { display: none; }

  .why-now-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid  { grid-template-columns: 1fr; }
  .workflow-panel { grid-template-columns: 1fr; gap: 1.5rem; }
  .outcomes-list  { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid    { grid-template-columns: repeat(2, 1fr) !important; }
  .metrics-row    { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid   { grid-template-columns: 1fr; }
  .problem-grid   { grid-template-columns: repeat(2, 1fr); }
  .form-row       { grid-template-columns: 1fr; }
  .duality-row    { flex-direction: column; }  .cta-box        { padding: 3rem 1.5rem; }
  .layer-tools    { grid-template-columns: repeat(2, 1fr); }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .vm-divider-line { width: 100%; height: 1px; margin: 0; }
}

/* ── Phones & tablets: readable micro-labels + comfortable tap targets ── */
@media (max-width: 1024px) {
  /* Small labels fall below ~12px on handheld screens — floor them so everything
     stays legible at arm's length. Values are the smallest size still comfortable. */
  .broken-stack-title,
  .layer-ts-tag,
  .tool-badge,
  .service-tag,
  .wf-time-label,
  .integration-cat,
  .metric-label,
  .section-tag,
  .hero-stat-label,
  .scroll-hint,
  .ticker-item,
  .stack-tool-name,
  .stack-disconnected,
  .vm-label,
  .wf-label,
  .wf-val,
  .wf-time,
  .wf-event,
  .integration-name,
  .testimonial-role,
  .testimonial-loc,
  .share-label,
  .footer-tagline,
  .footer-col h3,
  .footer-col h4 { font-size: 0.82rem; }
  .testimonial-loc { letter-spacing: 0.04em; }

  /* Touch targets: ≥44px tall for anything tappable */
  .mob-link,
  .service-cta,
  .footer-links a,
  .footer-legal a,
  .share-btn,
  .page-back,
  .testimonials-more a,
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-links a,
  .footer-legal a { min-height: 40px; }
  .btn-primary,
  .btn-secondary { justify-content: center; }

  /* Decorative hint collides with the hero stats once the hero gets tall */
}

/* ── Phones only: stack the primary actions full-width ── */
@media (max-width: 600px) {
  .cta-actions,
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-primary,
  .cta-actions .btn-secondary,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; }
}

@media (max-width: 480px) {
  .hero-h1   { font-size: 2rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .metrics-row  { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid  { grid-template-columns: 1fr 1fr !important; }
  .values-grid  { grid-template-columns: 1fr; }
  .testimonial-card { padding: 2rem 1.5rem 1.75rem; }
  .vision-pillars { gap: 1rem; }  .share-bar { flex-direction: column; gap: 0.9rem; }
}

/* ── Respect reduced-motion preferences ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ══════════════════════════════════════
   OPENING SECTION — WHAT TRUSTSPHERE DOES
   First screen of the site: bespoke builds and TrustCore as a service.
   Reuses the existing brand tokens, .highlight shimmer and .fade-in reveal
   (script.js), so it behaves like the rest of the page.
══════════════════════════════════════ */
#intro {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: safe center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(192,57,43,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 12% 85%, rgba(184,134,11,0.18) 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 88% 75%, rgba(38,85,197,0.12) 0%, transparent 60%),
    linear-gradient(175deg, #0A0301 0%, #16070300 40%, #0C0402 100%),
    var(--dark);
}

/* Slow sweeping light beams behind the type */
.intro-beams { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.beam {
  position: absolute;
  top: -40%;
  width: 42vw;
  height: 190%;
  filter: blur(70px);
  opacity: 0.55;
  animation: beamDrift linear infinite;
}
.beam-1 { left: -12%; background: linear-gradient(180deg, transparent, rgba(192,57,43,0.35), transparent); animation-duration: 19s; }
.beam-2 { left: 34%;  background: linear-gradient(180deg, transparent, rgba(184,134,11,0.28), transparent); animation-duration: 25s; animation-delay: -8s; }
.beam-3 { right: -14%; background: linear-gradient(180deg, transparent, rgba(192,57,43,0.22), transparent); animation-duration: 22s; animation-delay: -14s; }
@keyframes beamDrift {
  0%,100% { transform: translateX(0) skewX(-8deg); }
  50%     { transform: translateX(7vw) skewX(6deg); }
}

/* Faint engineering grid — reads as "we build things" without a graphic */
.intro-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(240,232,220,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,232,220,0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 25%, transparent 78%);
}

.intro-inner {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
  padding-bottom: 3rem;
  text-align: center;
}

.intro-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.intro-eyebrow-line {
  width: clamp(1.5rem, 6vw, 4.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,0.6), transparent);
}

.intro-statement {
  font-size: clamp(2.4rem, 7.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.intro-statement span { display: block; }
.intro-line-1 { color: var(--white); }
.intro-line-2 { padding-bottom: 0.12em; }

.intro-lede {
  max-width: 34rem;
  margin: 0 auto 2.25rem;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-muted);
}

.intro-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}
.intro-offer {
  position: relative;
  overflow: hidden;
  padding: 1.7rem 1.7rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(184,134,11,0.24);
  background: linear-gradient(150deg, rgba(38,15,6,0.72) 0%, rgba(14,5,2,0.8) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), border-color 0.4s ease, box-shadow 0.4s ease;
}
/* Sheen that sweeps across on hover */
.intro-offer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.07) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 130% 0;
  transition: background-position 0.75s ease;
  pointer-events: none;
}
.intro-offer:hover {
  transform: translateY(-8px);
  border-color: rgba(192,57,43,0.6);
  box-shadow: 0 28px 70px rgba(0,0,0,0.55), 0 0 45px rgba(192,57,43,0.14);
}
.intro-offer:hover::after { background-position: -30% 0; }

.intro-offer-ghost {
  position: absolute;
  top: 0.6rem; right: 1.1rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(240,232,220,0.035);
  pointer-events: none;
}
.intro-offer-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(184,134,11,0.35);
  background: rgba(184,134,11,0.08);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.intro-offer h3 {
  position: relative;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.intro-offer p {
  position: relative;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}
.intro-offer-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rust-light);
  transition: gap 0.25s ease, color 0.25s ease;
}
.intro-offer:hover .intro-offer-cta { gap: 0.75rem; color: var(--gold-light); }

.intro-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(184,134,11,0.18);
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.intro-foot strong { color: var(--text-light); font-weight: 600; }
/* Scroll cue styled as a live, self-announcing control: it breathes, a sheen
   passes across it every few seconds, and the arrow nudges — so the eye keeps
   returning to it without a click ever being demanded. */
.intro-foot-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(184,134,11,0.4);
  background: linear-gradient(135deg, rgba(184,134,11,0.14), rgba(192,57,43,0.1));
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold-light);
  white-space: nowrap;
  animation: introCtaBreathe 3.4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1), border-color 0.3s ease, color 0.3s ease;
}
/* Sheen sweeps on a loop rather than only on hover, so it catches the eye
   before the pointer ever arrives. */
.intro-foot-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.28) 50%, transparent 62%);
  background-size: 260% 100%;
  animation: introCtaSheen 3.4s ease-in-out infinite;
  pointer-events: none;
}
.intro-foot-link:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(192,57,43,0.75);
  color: #fff;
  animation-play-state: paused;
}
.intro-foot-link:hover .intro-foot-arrow { animation-duration: 0.7s; }

@keyframes introCtaBreathe {
  0%,100% { box-shadow: 0 0 0 0 rgba(184,134,11,0.28), 0 0 18px rgba(184,134,11,0.12); }
  50%     { box-shadow: 0 0 0 7px rgba(184,134,11,0), 0 0 32px rgba(192,57,43,0.3); }
}
@keyframes introCtaSheen {
  0%      { background-position: 150% 0; }
  55%,100% { background-position: -60% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-foot-link,
  .intro-foot-link::after { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .beam { animation: none; }
}

@media (max-width: 900px) {
  .intro-offers { grid-template-columns: 1fr; gap: 1rem; }
  .intro-inner { padding-top: 8rem; padding-bottom: 3rem; }
  .intro-lede { margin-bottom: 2rem; }
  .intro-offer { padding: 1.6rem 1.4rem 1.4rem; }
  .intro-offer-ghost { font-size: 4rem; }
  .intro-foot { flex-direction: column; align-items: flex-start; }
}

/* Nudging arrow on the opening scroll cue — its own keyframe because the
   existing scrollBounce also carries a translateX(-50%) centring offset. */
.intro-foot-arrow {
  display: inline-block;
  margin-left: 0.15rem;
  animation: introNudge 1.8s ease-in-out infinite;
}
@keyframes introNudge {
  0%,100% { transform: translateY(0); opacity: 0.75; }
  50%     { transform: translateY(4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-foot-arrow { animation: none; }
}

/* ── Header: secondary text link beside Book a demo ── */
.nav-assess {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(0.76rem, 1vw, 0.84rem);
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: rgba(184,134,11,0.5);
  text-underline-offset: 4px;
}
.nav-assess:hover { color: var(--gold-light); }
@media (max-width: 1100px) { .nav-assess { display: none; } }

/* ── Footer: five columns, address ── */
@media (min-width: 1025px) {
  .footer-grid-5 { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2.25rem; }
}
.footer-address {
  font-style: normal;
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 0.85rem;
}
.footer-address a { color: var(--text-light); }
.footer-address a:hover { color: var(--gold-light); }

/* ── Contact page ── */
#contact.contact-page { padding: 2.5rem 0 6rem; background: none; }
.contact-page .contact-left h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  color: var(--white);
  margin: 1rem 0 1rem;
}
.contact-page .contact-left h2.contact-sub {
  font-size: 1.05rem;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.contact-steps {
  margin: 0 0 2.25rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-light);
}
.contact-info-text a { color: var(--text-light); }
.contact-info-text a:hover { color: var(--gold-light); }
.form-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--text-muted); }
.form-note a { color: var(--text-light); text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════════════════════
   HOMEPAGE — sections added in the rebuild
   (paths, 3-card problem, product lists, platform stack, markets, steps)
══════════════════════════════════════ */

/* Choose your path */
#paths {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, #120603 0%, #0F0503 100%);
  border-top: 1px solid rgba(184,134,11,0.1);
}
.hp-paths-h {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hp-paths {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}
.hp-path {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(184,134,11,0.2);
  background: rgba(32,14,6,0.55);
  transition: border-color 0.3s, transform 0.3s;
}
.hp-path:hover, .hp-path:focus-visible { border-color: rgba(184,134,11,0.55); transform: translateY(-3px); }
.hp-path:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hp-path-who { font-size: 0.95rem; font-weight: 600; color: var(--text-light); line-height: 1.35; }
.hp-path-go { margin-top: auto; font-size: 0.82rem; font-weight: 700; color: var(--rust-light); }

/* Problem: three cards, left-aligned, a little larger text than the old five */
.problem-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.problem-grid-3 .problem-card { text-align: left; padding: 1.9rem 1.7rem; }
.problem-grid-3 .problem-card h3 { font-size: 1.05rem; }
.problem-grid-3 .problem-card p { font-size: 0.92rem; line-height: 1.65; color: #5A5550; }
#problem .problem-header h2 { max-width: 30ch; margin-left: auto; margin-right: auto; }

/* Product cards: three short benefit lines */
.prod-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}
.prod-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.prod-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Platform: the product structure diagram */
#platform {
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #0C0402 0%, #180905 50%, #0C0402 100%);
  border-top: 1px solid rgba(184,134,11,0.08);
}
.hp-stack { max-width: 960px; margin: 0 auto 3.5rem; display: grid; gap: 0.9rem; }
.hp-stack-row { display: grid; gap: 0.9rem; }
.hp-stack-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-stack-base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-box, .hp-core {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(184,134,11,0.22);
  background: rgba(36,16,7,0.6);
}
.hp-core {
  text-align: center;
  align-items: center;
  border: 1.5px solid var(--gold);
  background: linear-gradient(135deg, rgba(184,134,11,0.16), rgba(192,57,43,0.12));
  padding: 1.35rem 1.25rem;
}
.hp-box-quiet { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
.hp-box-t { font-family: 'Work Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--white); }
.hp-box-s { font-size: 0.8rem; font-weight: 600; color: var(--gold); }
.hp-box-d { font-size: 0.84rem; line-height: 1.55; color: var(--text-muted); }
.hp-core .hp-box-d { color: var(--text-light); }
.integrations-more a { color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; }

/* Built for regulated markets (light reading section) */
#markets { padding: 6rem 0; background: var(--off-white); }
.hp-markets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hp-market {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E5DDD5;
  border-radius: 12px;
  padding: 1.75rem 1.6rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hp-market:hover, .hp-market:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.08); }
.hp-market:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.hp-market h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 0.5rem; }
.hp-market p { font-size: 0.95rem; line-height: 1.6; color: #4A4540; margin-bottom: 1.25rem; }
.hp-market-go { margin-top: auto; font-size: 0.86rem; font-weight: 700; color: var(--rust); }

/* How we work */
#how-we-work { padding: 6rem 0; background: linear-gradient(135deg, #0C0402 0%, #180905 50%, #0C0402 100%); }
.hp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  counter-reset: none;
}
.hp-step {
  position: relative;
  padding: 1.5rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(184,134,11,0.18);
  background: rgba(36,16,7,0.5);
}
.hp-step-n { font: 700 0.8rem 'Work Sans', sans-serif; color: var(--gold); letter-spacing: 0.08em; }
.hp-step h3 { font-size: 1.1rem; color: var(--white); margin: 0.5rem 0 0.5rem; }
.hp-step p { font-size: 0.88rem; line-height: 1.6; color: var(--text-muted); }

@media (max-width: 1024px) {
  .hp-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .hp-paths { grid-template-columns: 1fr 1fr; }
  .problem-grid-3, .hp-markets, .hp-stack-products { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hp-paths, .hp-steps, .hp-stack-base { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════
   TYPE SYSTEM
   Lora for headings, Work Sans for everything else — the same pairing as
   the approved brochure, so web and print match. Self-hosted: css/fonts.css.
   ══════════════════════════════════════════════════════════════════════ */
body { font-family: 'Work Sans', sans-serif; }
h1, h2,
.hero-h1, .lp-hero h1, .bl-hero h1, .doc-hero h1,
.prod-name, .cta-box h2 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* ══════════════════════════════════════════════════════════════════════
   READING THEME
   Hero and closing bands stay dark rust and gold; the sections people
   actually read sit on the brochure's cream. Colours are redefined as
   variables inside the section, so every component that already uses
   var(--text-light) / var(--text-muted) / var(--gold) adapts on its own.
   Contrast on #F8F4EC: body text #574940 ≈ 8:1, headings #2B1D16 ≈ 15:1.
   ══════════════════════════════════════════════════════════════════════ */
.theme-reading,
.lp-section {
  --text-light: #2B1D16;
  --text-muted: #574940;
  --white:      #1E130E;
  --gold:       #8A6308;
  --gold-light: #7A5606;
  --rust-light: #A3301F;
  --border:     #E3D8C8;
  background: #F8F4EC;
  color: var(--text-muted);
  border-top-color: #E9E0D2;
}
.theme-reading .section-tag,
.lp-section .section-tag {
  background: rgba(138,99,8,0.08);
  border-color: rgba(138,99,8,0.3);
  color: #7A5606;
}

/* Body copy: 17px at a 16px root, 1.7 line height, ~70 characters a line */
.lp-section .lp-body,
.lp-section .lp-section-intro,
.lp-section .lp-body p { font-size: 1.0625rem; line-height: 1.7; max-width: 70ch; }
.lp-section .lp-point p,
.lp-section .lp-reg li,
.lp-section .lp-ring-list p,
.lp-section .lp-faq-answer,
.lp-section .lp-cap p,
.lp-section .lp-who dd { font-size: 1rem; line-height: 1.65; }
.lp-section .lp-split-col li,
.lp-section .lp-mod li,
.lp-section .lp-related-d { font-size: 0.95rem; line-height: 1.6; }

/* Cards become white on cream */
.lp-section .lp-point,
.lp-section .lp-split-col,
.lp-section .lp-group,
.lp-section .lp-mod,
.lp-section .lp-tile,
.lp-section .lp-faq-item,
.lp-section .lp-related a,
.lp-section .lp-reg,
.lp-section .lp-outcome,
.lp-section .integration-badge {
  background: #FFFFFF;
  border: 1px solid #E6DCCD;
  box-shadow: 0 1px 2px rgba(43,29,22,0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lp-section .lp-split-col.is-after { background: #FFFBF2; border-color: rgba(138,99,8,0.45); }
.lp-section .lp-mod { background: #FBF8F3; }
.lp-section .lp-related a:hover,
.lp-section .lp-related a:focus-visible { background: #FFFFFF; border-color: #B8860B; }
.lp-section .lp-split-m { color: #A3301F; }
.lp-section .lp-flow-n { background: #FFFFFF; color: #7A5606; border-color: #B8860B; }
.lp-section .lp-group-n { color: #A3301F; }
.lp-section .lp-mod li::before { background: #A3301F; }
.lp-section .lp-ring-node circle { fill: #FFFFFF; stroke: #8A6308; }
.lp-section .lp-ring-node text { fill: #7A5606; }
.lp-section .lp-ring-arcs path { stroke: rgba(138,99,8,0.55); }
.lp-section #lp-ring-arrow path { fill: #8A6308; }
.lp-section .lp-ico { color: #8A6308; }
.lp-section :is(.lp-body, .lp-section-intro, .lp-who dd, .lp-point p, .lp-faq-answer, .lp-ring-list p) a {
  color: #7A5606; text-decoration: underline; text-underline-offset: 3px;
}

/* ── Contrast fixes (WCAG AA) ── */
.footer-tagline { color: var(--gold); }
.nav-cta { background: linear-gradient(135deg, #B83A26, #7E2814); }

/* Components that stay dark inside a cream reading section keep dark tokens */
.lp-section .bl-featured,
.lp-section .solution-dashboard {
  --text-light: #F0E8DC;
  --text-muted: #B3A18A;
  --white:      #FFFFFF;
  --gold:       #B8860B;
  --gold-light: #D4A020;
  --rust-light: #E2654B;
  color: var(--text-muted);
}

/* Cards that were translucent-dark become white on cream */
.lp-section .bl-card,
.lp-section .bl-topic,
.lp-section .team-card,
.lp-section .team-empty {
  background: #FFFFFF;
  border-color: #E6DCCD;
  box-shadow: 0 1px 2px rgba(43,29,22,0.04);
}
.lp-section .bl-card:hover,
.lp-section .bl-card:focus-visible { background: #FFFFFF; border-color: #B8860B; }
.lp-section .bl-topic[aria-pressed="true"],
.lp-section .bl-topic.is-active { background: #2B1D16; color: #F8F4EC; border-color: #2B1D16; }
.lp-section .team-photo { background: #F1EADF; }
.lp-section .team-card.is-featured { background: #FFFFFF; border-color: #E6DCCD; }
.lp-section { --blue-light: #2655C5; }
.lp-section .hero-dashboard { background: linear-gradient(135deg, #1E0A04 0%, #120502 100%); }
.hero-actions .btn-secondary { color: var(--gold-light); border-color: var(--gold-light); }
.lp-section .solution-dashboard { --blue-light: #5B8BF0; }

/* ── Keyboard focus (WCAG 2.2 AA: 2.4.7 focus visible, 2.4.11 not obscured) ── */
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.theme-reading :focus-visible,
.lp-section :focus-visible,
#problem :focus-visible,
#markets :focus-visible { outline-color: #7A5606; }
.btn-primary:focus-visible,
.nav-cta:focus-visible { outline: 2px solid #F0E8DC; outline-offset: 3px; }
/* the fixed header must not hide the element that has focus */
html { scroll-padding-top: 6rem; }
