/* Generated by scripts/build_home_css.py. Edit source styles, not this file. */
:root {
  --bg: #f8fafc;
  --bg-alt: #eef4fb;
  --bg-elevated: #e3eef9;
  --bg-panel: rgba(255, 255, 255, 0.92);
  --bg-panel-strong: rgba(248, 251, 255, 0.98);
  --surface-soft: rgba(29, 100, 200, 0.055);
  --surface-line: rgba(40, 92, 150, 0.2);
  --surface-line-strong: rgba(29, 100, 200, 0.38);
  --text-primary: #102a43;
  --text-secondary: #40566f;
  --text-muted: #586f86;
  --accent: #1d64c8;
  --accent-strong: #124b9a;
  --accent-hot: #0d3d73;
  --accent-soft: rgba(29, 100, 200, 0.11);
  --highlight: #2d78d4;
  --highlight-soft: rgba(45, 120, 212, 0.12);
  --border-strong: #adc6e3;
  --shadow-lg: 0 28px 64px rgba(31, 74, 122, 0.14);
  --shadow-md: 0 16px 36px rgba(31, 74, 122, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}
/* Existing page layouts remain a fallback; enterprise.css owns the visual system. */
@layer legacy {

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: light;
  min-height: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 82% 12%, rgba(18, 75, 154, 0.1), transparent 25%),
    radial-gradient(circle at 12% 72%, rgba(111, 154, 199, 0.18), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 48%, var(--bg) 100%);
  color: var(--text-primary);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 100, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 154, 199, 0.12) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, black, transparent 84%);
  opacity: 0.2;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(29, 100, 200, 0.03), transparent);
  mask-image: linear-gradient(180deg, transparent, black 36%, transparent);
  opacity: 0.22;
  z-index: -1;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent-hot);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(130px);
  opacity: 0.16;
  pointer-events: none;
}

.site-shell::before {
  width: 22rem;
  height: 22rem;
  top: 6rem;
  right: -8rem;
  background: rgba(29, 100, 200, 0.18);
}

.site-shell::after {
  width: 18rem;
  height: 18rem;
  top: 52rem;
  left: -6rem;
  background: rgba(18, 75, 154, 0.14);
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px) saturate(135%);
  background: rgba(250, 252, 255, 0.92);
  border-bottom: 1px solid var(--surface-line);
  box-shadow: 0 10px 32px rgba(31, 74, 122, 0.1);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 100, 200, 0.28), rgba(18, 75, 154, 0.18), transparent);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand::before {
  width: 5.5rem;
  height: 2rem;
  flex: 0 0 5.5rem;
  background: url("../brand/ss49-wordmark.svg?v=20261006-ss49") center / contain no-repeat;
  mix-blend-mode: multiply;
  content: "";
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.brand-tag {
  color: var(--text-muted);
  font-size: 0.59rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-careers .cta-panel a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  padding: 0.65rem 0.72rem;
  border-radius: 8px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-primary);
  background: rgba(29, 100, 200, 0.07);
}

.site-nav a[aria-current="page"] {
  color: var(--accent-hot);
  background: rgba(29, 100, 200, 0.08);
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  padding-inline: 1rem;
  color: #ffffff;
  font-weight: 700;
  background: var(--accent-hot);
  border: 1px solid rgba(71, 139, 225, 0.64);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #ffffff;
  background: #174f9e;
}

main {
  display: block;
}

section {
  padding: 6.5rem 0;
}

.section-frame {
  position: relative;
  isolation: isolate;
}

.section-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(29, 100, 200, 0.012), transparent 22%, transparent 78%, rgba(29, 100, 200, 0.012));
  opacity: 0.8;
}

.section-frame:nth-of-type(even)::before {
  background: linear-gradient(180deg, rgba(231, 241, 252, 0.76), rgba(238, 245, 252, 0.5));
}

.section-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 2rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 92, 150, 0.2), transparent);
  opacity: 0.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-strong), transparent);
}

.hero {
  padding: 4.6rem 0 4.5rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 5rem;
  width: min(31rem, 36vw);
  height: min(31rem, 36vw);
  border-radius: 28px;
  border: 1px solid rgba(29, 100, 200, 0.14);
  background:
    radial-gradient(circle at 18% 16%, rgba(71, 139, 225, 0.1), transparent 26%),
    linear-gradient(135deg, rgba(29, 100, 200, 0.07), rgba(29, 100, 200, 0.02)),
    repeating-linear-gradient(
      0deg,
      rgba(29, 100, 200, 0.04) 0 1px,
      transparent 1px 26px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(111, 154, 199, 0.1) 0 1px,
      transparent 1px 26px
    );
  box-shadow: 0 30px 72px rgba(31, 74, 122, 0.1);
  transform: perspective(1200px) rotateY(-10deg) rotateX(5deg);
  opacity: 0.72;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  left: 7%;
  top: 2.6rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(95, 161, 235, 0.18) 0%, rgba(29, 100, 200, 0.08) 34%, transparent 72%);
  filter: blur(16px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.hero-grid > *,
.story-grid > *,
.product-grid > *,
.case-grid > *,
.detail-grid > * {
  min-width: 0;
}

.hero-copy h1,
.headline-xl,
.headline-lg,
.headline-md {
  margin: 1.2rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 4.7vw, 4.7rem);
  max-width: 15.5ch;
  letter-spacing: -0.045em;
  text-shadow: 0 14px 36px rgba(31, 74, 122, 0.1);
}

.footer-trust-links {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-trust-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-trust-links a:hover {
  color: var(--accent);
}

.headline-xl {
  font-size: clamp(3.2rem, 5vw, 5rem);
}

.headline-lg {
  font-size: clamp(2.5rem, 3.8vw, 3.8rem);
  max-width: 18ch;
}

.headline-md {
  font-size: clamp(2.1rem, 3vw, 3.1rem);
}

.accent-text {
  color: var(--accent-hot);
  text-shadow: none;
}

.hero-copy .lead,
.section-lead,
.section-copy {
  max-width: 44rem;
  color: var(--text-secondary);
}

.hero-copy .lead {
  margin: 1.65rem 0 0;
  max-width: 42rem;
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.compact-actions {
  margin-top: 1.25rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.82rem 1.25rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button {
  background: var(--accent-hot);
  color: #ffffff;
  border: 1px solid rgba(71, 139, 225, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 30px rgba(28, 67, 110, 0.14);
}

.button-secondary {
  border: 1px solid var(--surface-line);
  background: rgba(225, 237, 250, 0.9);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(29, 100, 200, 0.04);
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--surface-line-strong);
}

.hero-points {
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-secondary);
}

.hero-points li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 0;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--highlight), var(--accent-strong));
  box-shadow: 0 0 0 5px rgba(29, 100, 200, 0.06);
}

.hero-panel,
.glass-panel,
.callout-panel,
.quote-panel,
.cta-panel,
.stats-band {
  border: 1px solid var(--surface-line);
  background:
    linear-gradient(180deg, rgba(29, 100, 200, 0.025), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    var(--shadow-lg);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.hero-panel::before,
.glass-panel::before,
.callout-panel::before,
.cta-panel::before,
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(29, 100, 200, 0.045), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(18, 75, 154, 0.06), transparent 38%);
  opacity: 0.8;
}

.hero-panel {
  padding: 1.75rem;
  transform: translateY(-4px);
}

.panel-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-caption span:last-child {
  color: var(--accent);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.signal-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(29, 100, 200, 0.04), transparent 42%),
    rgba(231, 241, 252, 0.76);
  border: 1px solid var(--surface-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.signal-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 100, 200, 0.24), transparent);
}

.signal-card > strong,
.metric-value,
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.signal-card > strong {
  font-size: 1.8rem;
  color: var(--accent-hot);
  text-shadow: none;
}

.signal-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.mini-stack {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.mini-stack div {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(235, 243, 252, 0.84);
  border: 1px solid rgba(40, 92, 150, 0.18);
}

.mini-stack > div > strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.mini-stack span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.stats-band {
  margin-top: 3rem;
  padding: 1.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.stats-band > div {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 0.15rem 1.5rem;
}

.stats-band > div + div {
  border-left: 1px solid var(--surface-line);
}

.stat-number {
  font-size: clamp(1.9rem, 2.6vw, 2.45rem);
  color: var(--accent-hot);
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 32ch;
}

.logo-band {
  padding: 0 0 2rem;
}

.local-proof-band {
  padding: 1rem 0 2.2rem;
}

.local-proof-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.local-proof-card,
.local-proof-item {
  border: 1px solid rgba(111, 154, 199, 0.72);
  background:
    linear-gradient(180deg, rgba(29, 100, 200, 0.04), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 246, 253, 0.97) 100%);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 58px rgba(28, 67, 110, 0.12);
}

.local-proof-card {
  padding: 1.45rem;
}

.local-proof-card h2 {
  margin: 0.8rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.local-proof-item {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.local-proof-item::before {
  content: "";
  width: 2.3rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--highlight), transparent);
}

.local-proof-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
}

.local-proof-item span {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.logo-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chip,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.58rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 92, 150, 0.18);
  background: rgba(235, 243, 252, 0.82);
  color: var(--text-secondary);
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  letter-spacing: 0.03em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 154, 199, 0.72);
  background: linear-gradient(180deg, rgba(222, 235, 250, 0.88), rgba(224, 237, 251, 0.82));
  color: var(--text-primary);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 0 6px rgba(18, 75, 154, 0.08), 0 0 14px rgba(29, 100, 200, 0.1);
}

.status-pill.live::before {
  background: var(--accent);
}

.status-pill.testing::before {
  background: var(--accent-strong);
}

.project-meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.project-meta p {
  margin: 0;
}

.engagement-groups {
  display: grid;
  gap: 1.25rem;
}

.region-project-groups {
  display: grid;
  gap: 1.25rem;
}

.region-projects {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 0%, rgba(29, 100, 200, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 253, 0.98) 100%);
  border: 1px solid rgba(111, 154, 199, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 70px rgba(28, 67, 110, 0.16);
  overflow: hidden;
}

.region-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1.45rem;
  cursor: pointer;
  list-style: none;
}

.region-summary > div:first-child {
  min-width: 0;
}

.region-summary::-webkit-details-marker {
  display: none;
}

.region-summary::after {
  content: "Open";
  flex: 0 0 auto;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(216, 232, 250, 0.95), rgba(224, 237, 251, 0.9));
  border: 1px solid rgba(111, 154, 199, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.region-projects[open] .region-summary::after {
  content: "Close";
}

.region-kicker {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.region-summary h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.region-summary p {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
}

.region-summary-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
  max-width: 28rem;
}

.region-summary-meta span {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  color: var(--text-secondary);
  background: rgba(230, 241, 252, 0.9);
  border: 1px solid rgba(111, 154, 199, 0.64);
  font-size: 0.78rem;
}

.region-project-body {
  display: grid;
  gap: 1.25rem;
  padding: 0 1rem 1rem;
}

.engagement-group {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(29, 100, 200, 0.04), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 253, 0.98) 100%);
  border: 1px solid rgba(111, 154, 199, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(28, 67, 110, 0.15);
}

.engagement-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.engagement-group-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.engagement-group-header p {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
}

.engagement-list {
  display: grid;
  gap: 0.9rem;
}

.engagement-item {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 1.15rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(40, 92, 150, 0.08);
  align-items: start;
}

.engagement-title {
  margin: 0;
  font-size: 1.06rem;
}

.engagement-copy {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
}

.engagement-content {
  display: grid;
  gap: 0.9rem;
  align-items: start;
}

.engagement-launch {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.engagement-shot {
  margin: 0;
  width: 100%;
  padding: 0.5rem;
  border-radius: calc(var(--radius-md) - 4px);
  border: 1px solid rgba(40, 92, 150, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%),
    rgba(240, 246, 253, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 34px rgba(28, 67, 110, 0.1);
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.engagement-launch:hover .engagement-shot,
.engagement-launch:focus-visible .engagement-shot {
  transform: translateY(-3px);
  border-color: rgba(29, 100, 200, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 42px rgba(28, 67, 110, 0.12);
}

.engagement-launch:focus-visible {
  outline: none;
}

.engagement-preview {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: calc(var(--radius-md) - 10px);
  border: 1px solid rgba(40, 92, 150, 0.08);
  box-shadow: 0 10px 24px rgba(28, 67, 110, 0.08);
}

.engagement-count {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  background: rgba(13, 61, 115, 0.92);
  border: 1px solid rgba(40, 92, 150, 0.16);
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.engagement-shot figcaption {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.engagement-meta {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 0.95rem 1rem;
  border-radius: calc(var(--radius-md) - 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(40, 92, 150, 0.08);
}

.engagement-meta span {
  color: var(--text-secondary);
}

.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.82);
  backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: 4vh auto;
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(40, 92, 150, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 252, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-nav {
  appearance: none;
  border: 1px solid rgba(40, 92, 150, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  margin-left: auto;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  margin-bottom: 1rem;
}

.lightbox-header strong {
  font-size: 1.15rem;
}

.lightbox-counter {
  flex-shrink: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.lightbox-nav {
  width: 3rem;
  height: 3rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.lightbox-figure {
  margin: 0;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(40, 92, 150, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.lightbox-figure img {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-figure figcaption {
  margin-top: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.section-lead {
  font-size: 1.06rem;
  line-height: 1.78;
}

.cards-3,
.cards-4,
.cards-2,
.story-grid,
.timeline-grid,
.product-grid,
.footer-grid,
.case-grid {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Regional pages share the brand system without looking like cloned templates. */
.market-uk .hero-panel {
  border-radius: 4px 28px 4px 28px;
}

.market-us .hero-panel {
  border-radius: 12px;
  box-shadow:
    12px 12px 0 rgba(29, 100, 200, 0.055),
    var(--shadow-lg);
}

.market-uae .hero-panel {
  border-radius: 28px 6px 28px 6px;
  border-inline-start: 3px solid var(--accent);
}

@media (min-width: 781px) {
  .market-uae .page-hero {
    padding-top: 3.9rem;
  }
}

.market-regions .hero-panel {
  border-top: 3px solid var(--accent);
  border-radius: 8px 8px var(--radius-lg) var(--radius-lg);
}

.staggered-cards > :nth-child(2) {
  transform: translateY(1.5rem);
}

.offset-cards > :nth-child(1),
.offset-cards > :nth-child(3) {
  transform: translateY(1rem);
}

.cards-2,
.story-grid,
.product-grid,
.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.timeline-card,
.footer-card {
  height: 100%;
  padding: 1.55rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(29, 100, 200, 0.025), transparent 28%),
    rgba(255, 255, 255, 0.86);
  border: 1px solid var(--surface-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 32px rgba(31, 74, 122, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.card::before,
.timeline-card::before,
.footer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-strong), transparent 68%);
  opacity: 0.64;
}

.card:hover,
.timeline-card:hover,
.footer-card:hover {
  transform: translateY(-2px);
  border-color: var(--surface-line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(31, 74, 122, 0.12);
}

.card h3,
.timeline-card h3,
.footer-card h3,
.footer-card h4 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.card p,
.timeline-card p,
.footer-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.case-study-card {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.case-study-card .tag-row {
  margin-top: 0;
}

.case-study-card .compact-actions {
  margin-top: auto;
}

.case-study-client {
  color: var(--highlight);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--accent-soft);
  color: var(--highlight);
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.card-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 12px;
  border: 1px solid rgba(29, 100, 200, 0.12);
  opacity: 0.72;
}

.story-card {
  padding: 1.75rem;
}

.story-card .eyebrow {
  margin-bottom: 1rem;
}

.quote-panel {
  padding: 2.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(249, 252, 255, 0.94) 100%);
  position: relative;
  overflow: hidden;
}

.quote-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(29, 100, 200, 0.7), rgba(18, 75, 154, 0.24), transparent 88%);
  opacity: 0.8;
}

.quote-panel p {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.quote-panel strong {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.founder-role {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  padding: 1.65rem;
  border: 1px solid var(--surface-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(29, 100, 200, 0.06),
    0 24px 60px rgba(28, 67, 110, 0.08);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(29, 100, 200, 0.05), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(18, 75, 154, 0.08), transparent 38%);
  opacity: 1;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-strong), transparent 70%);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: var(--surface-line-strong);
  box-shadow:
    inset 0 1px 0 rgba(29, 100, 200, 0.07),
    0 28px 62px rgba(28, 67, 110, 0.12);
}

.testimonial-mark,
.testimonial-copy,
.testimonial-signature,
.testimonial-author,
.testimonial-role,
.testimonial-email {
  position: relative;
  z-index: 1;
}

.testimonial-mark {
  display: block;
  margin-bottom: 0.15rem;
  color: rgba(29, 100, 200, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: 0.72;
}

.testimonial-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.testimonial-signature {
  margin-top: 0.65rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(231, 241, 252, 0.88);
  border: 1px solid rgba(40, 92, 150, 0.14);
  box-shadow: inset 0 1px 0 rgba(29, 100, 200, 0.04);
}

.testimonial-author {
  display: block;
  font-size: 1.02rem;
  color: var(--text-primary);
}

.testimonial-role {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.testimonial-email {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.7rem;
  color: var(--accent);
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 100, 200, 0.22);
}

.testimonial-email:hover,
.testimonial-email:focus-visible {
  color: var(--text-primary);
  border-bottom-color: rgba(29, 100, 200, 0.52);
}

.feature-list,
.check-list,
.stack-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list {
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(40, 92, 150, 0.18);
  background: rgba(235, 243, 252, 0.9);
}

.feature-list > li > strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.feature-list span {
  color: var(--text-secondary);
}

.case-grid {
  align-items: stretch;
}

.case-panel {
  padding: 1.9rem;
}

.case-label {
  color: var(--highlight);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric-value {
  font-size: clamp(2rem, 3vw, 2.9rem);
  color: var(--highlight);
  text-shadow: none;
}

.metric-copy {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.timeline-card span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--highlight);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-panel {
  padding: 1.65rem;
}

.product-panel .headline-md {
  margin-top: 0.5rem;
}

.product-panel .section-copy {
  margin-top: 1rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.pill {
  color: var(--text-primary);
}

.cta-panel {
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1.4rem;
  align-items: center;
}

.cta-panel p {
  margin: 0.8rem 0 0;
  color: var(--text-secondary);
  max-width: 42rem;
}

.site-footer {
  padding: 1rem 0 2.5rem;
  border-top: 1px solid var(--surface-line);
  background: rgba(229, 239, 250, 0.72);
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}

.footer-card {
  padding: 2rem 1.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-card + .footer-card {
  border-left: 1px solid rgba(40, 92, 150, 0.14);
}

.footer-card::before {
  display: none;
}

.footer-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.footer-links {
  display: grid;
  gap: 0.72rem;
}

.footer-links a,
.footer-links span {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text-primary);
}

.footer-bottom {
  margin-top: 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(40, 92, 150, 0.14);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.88rem;
}

.inline-link,
.text-link {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 100, 200, 0.22);
}

.inline-link:hover,
.inline-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--highlight);
  border-bottom-color: rgba(29, 100, 200, 0.4);
}

.page-hero {
  padding-top: 4.8rem;
}

.page-hero .hero-copy h1 {
  max-width: 16.5ch;
  font-size: clamp(3.1rem, 4.8vw, 4.55rem);
  line-height: 1;
}

.page-hero .hero-copy h1.hero-title-compact {
  max-width: 17ch;
  font-size: clamp(3.1rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 1.5rem;
  align-items: start;
}

.article-body {
  padding: clamp(1.5rem, 2vw, 2rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-bottom: 1.5rem;
}

.article-read-time {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-prose {
  max-width: 46rem;
}

.company-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.company-story-heading .headline-md {
  margin-top: 1rem;
  scroll-margin-top: 8rem;
}

.company-story-source {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-line);
}

.company-story-source p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .company-story {
    grid-template-columns: minmax(0, 1fr);
  }
}

.article-prose > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.95;
}

.article-prose > p + p,
.article-prose > p + .article-quote,
.article-prose > .article-quote + p {
  margin-top: 1.5rem;
}

.article-quote {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(111, 154, 199, 0.72);
  background:
    linear-gradient(180deg, rgba(29, 100, 200, 0.03), transparent 38%),
    linear-gradient(135deg, rgba(222, 235, 250, 0.88), rgba(232, 242, 252, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.article-quote p {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.article-sidebar {
  position: sticky;
  top: 7rem;
  padding: 1.5rem;
}

.article-sidebar h3 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.18;
}

.article-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.article-points span {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  color: var(--text-primary);
  background: rgba(228, 239, 251, 0.9);
  border: 1px solid rgba(111, 154, 199, 0.56);
}

.architecture-list {
  display: grid;
  gap: 0.85rem;
}

.architecture-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(233, 242, 252, 0.94), rgba(228, 239, 251, 0.94));
  border: 1px solid rgba(111, 154, 199, 0.64);
}

.architecture-step strong {
  display: block;
  margin-bottom: 0.2rem;
}

.step-index {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--accent-soft);
  color: var(--highlight);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(18, 75, 154, 0.08);
}

.highlight-bar {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(29, 100, 200, 0.035), transparent 32%),
    linear-gradient(135deg, rgba(216, 232, 250, 0.82), rgba(18, 75, 154, 0.08));
  border: 1px solid rgba(111, 154, 199, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(28, 67, 110, 0.1);
}

.highlight-bar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 100, 200, 0.28), rgba(18, 75, 154, 0.18), transparent);
}

.highlight-bar strong {
  font-size: 1.04rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero-copy,
.hero-panel,
.stats-band {
  animation: enterprise-reveal 620ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-panel {
  animation-delay: 90ms;
}

.stats-band {
  animation-delay: 160ms;
}

@keyframes enterprise-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  .site-header .container {
    display: grid;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    min-height: auto;
    padding: 0.85rem 0;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .site-nav {
    display: none;
    grid-area: nav;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.1rem;
    padding: 0.55rem;
    border-radius: var(--radius-md);
    background: rgba(248, 251, 255, 0.98);
    border: 1px solid var(--surface-line);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    width: 100%;
    padding: 0.8rem 0.95rem;
    color: var(--text-primary);
    background: rgba(227, 238, 251, 0.88);
  }

  .site-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
    color: #ffffff;
    background: var(--accent-hot);
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
    justify-self: end;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    flex-direction: column;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--surface-line);
    background: rgba(227, 238, 251, 0.92);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 1.12rem;
    height: 2px;
    border-radius: 999px;
    background: var(--text-primary);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .cards-4,
  .timeline-grid,
  .footer-grid,
  .detail-grid,
  .local-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3,
  .cards-2,
  .testimonial-grid,
  .story-grid,
  .product-grid,
  .case-grid,
  .cta-panel,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .detail-grid,
  .story-grid,
  .product-grid,
  .case-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero::after {
    width: 22rem;
    height: 22rem;
    opacity: 0.36;
  }

  .hero-panel {
    transform: none;
  }

  .cards-4,
  .timeline-grid,
  .footer-grid,
  .local-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-card + .footer-card {
    border-left: 0;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .staggered-cards > :nth-child(2),
  .offset-cards > :nth-child(1),
  .offset-cards > :nth-child(3) {
    transform: none;
  }

  section {
    padding: 4.6rem 0;
  }

  .site-header .container {
    display: grid;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    min-height: auto;
    padding: 0.9rem 0;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    max-width: 100%;
  }

  .brand-mark {
    min-width: 0;
  }

  .site-header .container,
  .hero-grid,
  .cards-3,
  .cards-4,
  .cards-2,
  .testimonial-grid,
  .story-grid,
  .timeline-grid,
  .product-grid,
  .footer-grid,
  .detail-grid,
  .case-grid,
  .signal-grid,
  .stats-band,
  .metric-grid,
  .local-proof-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    grid-area: nav;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.45rem;
    border-radius: var(--radius-md);
    background: rgba(248, 251, 255, 0.98);
    border: 1px solid var(--surface-line);
    box-shadow: 0 18px 36px rgba(28, 67, 110, 0.1);
    font-size: 0.92rem;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 3rem;
    width: 100%;
    padding: 0.95rem 1rem;
    text-align: left;
    border-radius: 9px;
    background: rgba(227, 238, 251, 0.9);
    border: 0;
    color: var(--text-primary);
  }

  .site-nav a + a {
    border-top: 0;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
    justify-self: end;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    flex-direction: column;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--surface-line);
    background: rgba(227, 238, 251, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 999px;
    background: var(--text-primary);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding: 4.6rem 0 3.8rem;
  }

  .hero::after {
    display: none;
  }

  .hero::before {
    left: -1.5rem;
    top: 4.8rem;
    width: 8rem;
    height: 8rem;
    opacity: 0.55;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.05rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .hero-copy .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    line-height: 1.6;
  }

  .hero-copy .eyebrow::before {
    width: 2.2rem;
  }

  .hero-copy .lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-copy .lead,
  .hero-points li,
  .section-copy,
  .section-lead {
    overflow-wrap: anywhere;
  }

  .page-hero .hero-copy h1,
  .headline-md,
  .headline-lg {
    max-width: 100%;
  }

  .page-hero .hero-copy h1.hero-title-compact {
    font-size: clamp(2.2rem, 10vw, 2.9rem);
    line-height: 1.04;
  }

  .hero-actions {
    gap: 0.8rem;
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .stats-band {
    gap: 0;
    padding: 0.6rem 1.2rem;
  }

  .stats-band > div {
    padding: 1.15rem 0;
  }

  .stats-band > div + div {
    border-top: 1px solid var(--surface-line);
    border-left: 0;
  }

  .brand-name {
    font-size: 0.96rem;
    letter-spacing: 0.035em;
  }

  .brand-tag {
    font-size: 0.56rem;
    letter-spacing: 0.035em;
  }

  .quote-panel p {
    font-size: 1.08rem;
  }

  .engagement-group {
    padding: 1.15rem;
  }

  .region-summary {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1.15rem;
  }

  .region-summary::after {
    width: fit-content;
  }

  .region-summary-meta {
    justify-content: flex-start;
    margin-left: 0;
  }

  .region-project-body {
    padding: 0 0.6rem 0.6rem;
  }

  .engagement-group-header,
  .engagement-item {
    grid-template-columns: 1fr;
  }

  .engagement-launch,
  .engagement-shot {
    width: 100%;
  }

  .engagement-group-header {
    display: grid;
  }

  .engagement-meta {
    gap: 0.3rem;
  }

  .lightbox-dialog {
    width: min(calc(100% - 1rem), 1100px);
    margin: 2vh auto;
    padding: 0.9rem;
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    width: 100%;
    height: 2.9rem;
  }

  .lightbox-figure img {
    max-height: 60vh;
  }

  .hero-panel,
  .cta-panel,
  .quote-panel,
  .case-panel,
  .product-panel,
  .card,
  .timeline-card,
  .footer-card {
    padding: 1.25rem;
  }

  .footer-grid {
    gap: 0;
  }

  .footer-card {
    padding: 1.45rem 0;
  }

  .footer-card + .footer-card {
    border-top: 1px solid rgba(40, 92, 150, 0.14);
  }
}

/* Blueprint editorial direction: stronger rhythm without abandoning the light brand. */
section {
  padding: 5.25rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header .headline-lg {
  position: relative;
}

.home-hero {
  padding-bottom: 3.5rem;
}

.home-hero::after {
  border-color: rgba(15, 91, 216, 0.28);
  background:
    linear-gradient(135deg, rgba(15, 91, 216, 0.14), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(0deg, rgba(15, 91, 216, 0.09) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(15, 91, 216, 0.09) 0 1px, transparent 1px 24px);
  box-shadow:
    24px 28px 0 rgba(15, 91, 216, 0.055),
    0 32px 76px rgba(15, 64, 126, 0.15);
  animation: blueprint-drift 9s ease-in-out infinite alternate;
}

.home-hero .accent-text {
  position: relative;
  color: #0f5bd8;
}

.home-hero .accent-text::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0;
  bottom: 0.04em;
  height: 0.08em;
  border-radius: 999px;
  background: #3b8cff;
  transform: rotate(-1.4deg);
}

.home-hero .hero-panel {
  border: 2px solid #123e73;
  border-radius: 6px 28px 6px 28px;
  box-shadow:
    14px 14px 0 rgba(15, 91, 216, 0.1),
    0 30px 70px rgba(15, 64, 126, 0.18);
  transform: rotate(0.8deg);
}

.home-hero .hero-panel .panel-caption {
  margin: -1.75rem -1.75rem 1.35rem;
  padding: 1rem 1.3rem;
  color: rgba(255, 255, 255, 0.76);
  background: #0b315f;
  border-radius: 4px 24px 0 0;
}

.home-hero .hero-panel .panel-caption span:last-child {
  color: #89c4ff;
}

.home-hero .mini-stack > div {
  border: 0;
  border-left: 4px solid #2d7eea;
  border-radius: 2px 12px 12px 2px;
  background: rgba(255, 255, 255, 0.9);
}

.home-stats {
  padding: 1.4rem 0;
  color: #ffffff;
  border: 0;
  border-radius: 6px 24px 6px 24px;
  background:
    linear-gradient(115deg, #0a2d57 0%, #104d96 72%, #1676e8 140%);
  box-shadow:
    12px 12px 0 rgba(15, 91, 216, 0.08),
    0 24px 56px rgba(9, 45, 88, 0.2);
}

.home-stats::before {
  background: repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.025) 88px 89px);
}

.home-stats .stat-number {
  color: #9ed0ff;
}

.home-stats .stat-label {
  color: rgba(255, 255, 255, 0.78);
}

.home-stats > div + div {
  border-left-color: rgba(255, 255, 255, 0.18);
}

.proof-section::before {
  background:
    radial-gradient(circle at 88% 20%, rgba(32, 123, 239, 0.13), transparent 24%),
    linear-gradient(180deg, #f8fbff, #edf5ff);
}

.proof-section .testimonial-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: 1rem;
}

.proof-section .testimonial-card:first-child {
  grid-row: 1 / 3;
  padding: clamp(2rem, 4vw, 3.25rem);
  color: #ffffff;
  border: 0;
  border-radius: 4px 32px 4px 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(71, 156, 255, 0.34), transparent 36%),
    #0a315f;
  box-shadow: 14px 14px 0 rgba(15, 91, 216, 0.1);
}

.proof-section .testimonial-card:first-child .testimonial-copy,
.proof-section .testimonial-card:first-child .testimonial-role {
  color: rgba(255, 255, 255, 0.84);
}

.proof-section .testimonial-card:first-child .testimonial-copy {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.72;
}

.proof-section .testimonial-card:first-child .testimonial-mark,
.proof-section .testimonial-card:first-child .testimonial-email {
  color: #8bc6ff;
}

.proof-section .testimonial-card:first-child .testimonial-author {
  color: #ffffff;
}

.proof-section .testimonial-card:first-child .testimonial-signature {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.proof-section .testimonial-card:not(:first-child) {
  padding: 1.4rem 1.55rem;
  border-radius: 20px 4px 20px 4px;
}

.proof-section .testimonial-card:not(:first-child) .testimonial-mark {
  font-size: 3.2rem;
}

.proof-section .testimonial-card:not(:first-child) .testimonial-copy {
  font-size: 0.92rem;
  line-height: 1.65;
}

.voice-section::before {
  background:
    radial-gradient(circle at 10% 12%, rgba(32, 123, 239, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fbff, #eef5fd);
}

.voice-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(24, 86, 156, 0.24);
}

.voice-item {
  display: grid;
  align-content: space-between;
  min-height: 15rem;
  padding: 2rem 1.7rem;
  border-right: 1px solid rgba(24, 86, 156, 0.2);
}

.voice-item:last-child {
  border-right: 0;
}

.voice-item p {
  max-width: 27ch;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.voice-item footer {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.8rem;
}

.voice-item footer strong {
  color: var(--text-primary);
}

.voice-item footer span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.voice-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.4rem;
}

.page-reviews .review-section::before {
  background:
    repeating-linear-gradient(135deg, rgba(15, 91, 216, 0.025) 0 1px, transparent 1px 20px),
    #f7faff;
}

.review-ledger {
  border-top: 1px solid rgba(24, 86, 156, 0.24);
}

.review-entry {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  padding: clamp(2.4rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid rgba(24, 86, 156, 0.24);
}

.review-identity {
  display: grid;
  gap: 0.35rem;
}

.review-number {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #ffffff;
  border-radius: 4px 14px 4px 14px;
  background: #0f5bd8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.review-identity strong {
  color: var(--text-primary);
  font-size: 1.05rem;
}

.review-identity > span:not(.review-number) {
  color: var(--text-muted);
  line-height: 1.55;
}

.review-identity .text-link {
  width: fit-content;
  margin-top: 1rem;
}

.review-entry blockquote {
  margin: 0;
}

.review-entry blockquote p {
  max-width: 36ch;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.review-entry:nth-child(even) {
  margin-inline: calc(clamp(1rem, 4vw, 3rem) * -1);
  padding-inline: clamp(1rem, 4vw, 3rem);
  border: 0;
  border-radius: 5px 28px 5px 28px;
  background: #0b315f;
}

.review-entry:nth-child(even) .review-number {
  color: #0b315f;
  background: #ffffff;
}

.review-entry:nth-child(even) .review-identity strong,
.review-entry:nth-child(even) blockquote p,
.review-entry:nth-child(even) .review-identity .text-link {
  color: #ffffff;
}

.review-entry:nth-child(even) .review-identity > span:not(.review-number) {
  color: rgba(255, 255, 255, 0.74);
}

.review-entry:nth-child(even) .review-identity .text-link {
  border-bottom-color: rgba(255, 255, 255, 0.34);
}

.outcome-section::before {
  background: linear-gradient(100deg, #e6f1ff 0%, #f8fbff 62%, #edf6ff 100%);
}

.outcome-section .cards-4 {
  gap: 0;
  border-block: 1px solid rgba(24, 86, 156, 0.22);
}

.outcome-section .card {
  min-height: 12rem;
  padding: 2rem 1.5rem;
  border: 0;
  border-right: 1px solid rgba(24, 86, 156, 0.22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.outcome-section .card:last-child {
  border-right: 0;
}

.outcome-section .card::before {
  inset: 0 auto auto 0;
  width: 3.5rem;
  height: 5px;
  background: #176cce;
  opacity: 1;
}

.outcome-section .card:nth-child(even)::before {
  background: #6aaef7;
}

.outcome-section .card h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.12;
}

.outcome-section .card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px rgba(26, 82, 145, 0.1);
}

.market-section::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), transparent 52%),
    repeating-linear-gradient(135deg, rgba(15, 91, 216, 0.035) 0 1px, transparent 1px 18px),
    #f5f9ff;
}

.market-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.market-grid > .card:nth-child(1),
.market-grid > .card:nth-child(2) {
  grid-column: span 2;
  min-height: 15rem;
  padding: 2rem;
  color: #ffffff;
  border: 0;
  border-radius: 4px 26px 4px 26px;
}

.market-grid > .card:nth-child(1) {
  background: #0b315f;
}

.market-grid > .card:nth-child(2) {
  background: linear-gradient(135deg, #0f5bd8, #2687ee);
}

.market-grid > .card:nth-child(1) h3,
.market-grid > .card:nth-child(2) h3,
.market-grid > .card:nth-child(1) p,
.market-grid > .card:nth-child(2) p {
  color: #ffffff;
}

.market-grid > .card:nth-child(1) .card-icon,
.market-grid > .card:nth-child(2) .card-icon {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.market-grid > .card:nth-child(1) .button-secondary,
.market-grid > .card:nth-child(2) .button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.market-grid > .card:nth-child(n+3) {
  border-radius: 18px 4px 18px 4px;
}

.faq-section .container {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.faq-section .section-header {
  position: sticky;
  top: 7rem;
}

.faq-list {
  border-top: 1px solid var(--surface-line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--surface-line-strong);
}

.faq-list summary {
  position: relative;
  padding: 1.45rem 3rem 1.45rem 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.35rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: #0f5bd8;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
}

.faq-list details[open] summary::after {
  background: #0b315f;
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 60ch;
  margin: -0.25rem 3rem 1.5rem 0;
  color: var(--text-secondary);
}

.closing-section {
  padding-block: 3.5rem;
}

.closing-section .cta-panel {
  min-height: 18rem;
  overflow: hidden;
  color: #ffffff;
  border: 0;
  border-radius: 6px 34px 6px 34px;
  background:
    radial-gradient(circle at 88% 12%, rgba(103, 184, 255, 0.42), transparent 28%),
    linear-gradient(120deg, #08284e, #0e4d96 68%, #1479e8 140%);
  box-shadow: 16px 16px 0 rgba(15, 91, 216, 0.09);
}

.closing-section .cta-panel::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5rem rgba(255, 255, 255, 0.035),
    0 0 0 5rem rgba(255, 255, 255, 0.025);
}

.closing-section .headline-md,
.closing-section .cta-panel p {
  color: #ffffff;
}

.closing-section .eyebrow {
  color: #9fd0ff;
}

.closing-section .eyebrow::before {
  background: linear-gradient(90deg, #9fd0ff, transparent);
}

.closing-section .button {
  color: #0b315f;
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(2, 21, 42, 0.25);
}

.market-page .case-grid > :first-child {
  color: #ffffff;
  border: 0;
  border-radius: 4px 28px 4px 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(68, 151, 250, 0.3), transparent 34%),
    #0b315f;
  box-shadow: 12px 12px 0 rgba(15, 91, 216, 0.08);
}

.market-page .case-grid > :first-child h2,
.market-page .case-grid > :first-child h3,
.market-page .case-grid > :first-child p,
.market-page .case-grid > :first-child li {
  color: #ffffff;
}

.market-page .case-grid > :first-child .case-label {
  color: #8fc8ff;
}

.page-hero:not(.home-hero) {
  border-bottom: 1px solid rgba(27, 93, 166, 0.13);
}

.page-hero:not(.home-hero) .hero-panel {
  border-width: 1.5px;
  border-radius: 5px 26px 5px 26px;
  box-shadow:
    10px 10px 0 rgba(15, 91, 216, 0.07),
    0 28px 62px rgba(22, 72, 128, 0.12);
}

.section-frame:not(.proof-section):not(.outcome-section):not(.market-section):not(.faq-section):not(.closing-section) .card:nth-child(3n + 1),
.section-frame:not(.proof-section):not(.outcome-section):not(.market-section):not(.faq-section):not(.closing-section) .timeline-card:nth-child(3n + 1) {
  border-radius: 5px 22px 5px 22px;
}

.section-frame:not(.proof-section):not(.outcome-section):not(.market-section):not(.faq-section):not(.closing-section) .card:nth-child(3n + 2),
.section-frame:not(.proof-section):not(.outcome-section):not(.market-section):not(.faq-section):not(.closing-section) .timeline-card:nth-child(3n + 2) {
  border-radius: 22px 5px 22px 5px;
}

.section-frame:not(.proof-section):not(.outcome-section):not(.market-section):not(.faq-section):not(.closing-section) .card:nth-child(3n),
.section-frame:not(.proof-section):not(.outcome-section):not(.market-section):not(.faq-section):not(.closing-section) .timeline-card:nth-child(3n) {
  border-radius: 5px 5px 22px 5px;
}

/* Interior pages: one brand system, different compositions for different jobs. */
body:not(.page-home) .page-hero {
  min-height: min(47rem, calc(100vh - 5rem));
  display: grid;
  align-items: center;
  overflow: hidden;
}

body:not(.page-home) .page-hero::before {
  width: 15rem;
  height: 15rem;
  left: 2%;
  top: 11rem;
  opacity: 0.72;
}

body:not(.page-home) .page-hero::after {
  border-radius: 5px 34px 5px 34px;
  box-shadow:
    18px 18px 0 rgba(15, 91, 216, 0.05),
    0 32px 72px rgba(18, 68, 126, 0.13);
}

body:not(.page-home) .page-hero .hero-copy h1 {
  max-width: 15ch;
}

body:not(.page-home) main > .section-frame:nth-of-type(odd)::before {
  background:
    radial-gradient(circle at 92% 18%, rgba(29, 100, 200, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff, #edf5ff);
}

body:not(.page-home) main > .section-frame:nth-of-type(even)::before {
  background:
    repeating-linear-gradient(135deg, rgba(15, 91, 216, 0.025) 0 1px, transparent 1px 20px),
    #f8fbff;
}

body:not(.page-home) .section-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(24, 86, 156, 0.24);
}

body:not(.page-home) .section-header .headline-lg {
  max-width: 20ch;
}

body:not(.page-home) .case-grid > .glass-panel:first-child,
body:not(.page-home) .detail-grid > .glass-panel:first-child {
  color: #ffffff;
  border: 0;
  border-radius: 5px 30px 5px 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(76, 160, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #092b53, #0d447f);
  box-shadow: 13px 13px 0 rgba(15, 91, 216, 0.09);
}

body:not(.page-home) .case-grid > .glass-panel:first-child h2,
body:not(.page-home) .case-grid > .glass-panel:first-child h3,
body:not(.page-home) .case-grid > .glass-panel:first-child p,
body:not(.page-home) .case-grid > .glass-panel:first-child li,
body:not(.page-home) .detail-grid > .glass-panel:first-child h2,
body:not(.page-home) .detail-grid > .glass-panel:first-child h3,
body:not(.page-home) .detail-grid > .glass-panel:first-child p,
body:not(.page-home) .detail-grid > .glass-panel:first-child li {
  color: #ffffff;
}

body:not(.page-home) .case-grid > .glass-panel:first-child .case-label,
body:not(.page-home) .case-grid > .glass-panel:first-child .eyebrow,
body:not(.page-home) .detail-grid > .glass-panel:first-child .case-label,
body:not(.page-home) .detail-grid > .glass-panel:first-child .eyebrow {
  color: #9bcfff;
}

body:not(.page-home) .case-grid > .glass-panel:first-child .feature-list li,
body:not(.page-home) .case-grid > .glass-panel:first-child .check-list li,
body:not(.page-home) .detail-grid > .glass-panel:first-child .feature-list li,
body:not(.page-home) .detail-grid > .glass-panel:first-child .check-list li {
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

body:not(.page-home) main .cta-panel {
  min-height: 17rem;
  color: #ffffff;
  border: 0;
  border-radius: 5px 32px 5px 32px;
  background:
    radial-gradient(circle at 90% 0%, rgba(111, 187, 255, 0.4), transparent 28%),
    linear-gradient(120deg, #08284e, #0d4b90 70%, #1478e6 145%);
  box-shadow: 14px 14px 0 rgba(15, 91, 216, 0.085);
}

body:not(.page-home) main .cta-panel .eyebrow {
  color: #9fd0ff;
}

body:not(.page-home) main .cta-panel h2,
body:not(.page-home) main .cta-panel p,
body:not(.page-home) main .cta-panel a:not(.button) {
  color: #ffffff;
}

body:not(.page-home) main .cta-panel .button {
  color: #0b315f;
  border-color: #ffffff;
  background: #ffffff;
}

body:not(.page-home) [id="frequently-asked-questions"] .cards-3 {
  gap: 0;
  border-top: 1px solid rgba(24, 86, 156, 0.24);
}

body:not(.page-home) [id="frequently-asked-questions"] .card {
  padding: 1.55rem 1.4rem;
  border: 0;
  border-right: 1px solid rgba(24, 86, 156, 0.2);
  border-bottom: 1px solid rgba(24, 86, 156, 0.24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.page-home) [id="frequently-asked-questions"] .card:last-child {
  border-right: 0;
}

body:not(.page-home) [id="frequently-asked-questions"] .card::before {
  display: none;
}

body:not(.page-home) [id="frequently-asked-questions"] .card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

/* Services: a service index first, a market catalogue second. */
.page-services main > .section-frame:nth-of-type(2) .cards-4 {
  gap: 0;
  border-block: 1px solid rgba(24, 86, 156, 0.24);
}

.page-services main > .section-frame:nth-of-type(2) .card {
  min-height: 15rem;
  border: 0;
  border-right: 1px solid rgba(24, 86, 156, 0.22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-services main > .section-frame:nth-of-type(2) .card:last-child {
  border-right: 0;
}

.page-services main > .section-frame:nth-of-type(2) .card-icon {
  color: #ffffff;
  background: #0f5bd8;
}

.page-services main > .section-frame:nth-of-type(3) .cards-3 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-services main > .section-frame:nth-of-type(3) .card:first-child,
.page-services main > .section-frame:nth-of-type(3) .card:last-child {
  color: #ffffff;
  border: 0;
  background: #0b315f;
}

.page-services main > .section-frame:nth-of-type(3) .card:last-child {
  background: linear-gradient(135deg, #0f5bd8, #2c8df1);
}

.page-services main > .section-frame:nth-of-type(3) .card:first-child h3,
.page-services main > .section-frame:nth-of-type(3) .card:first-child p,
.page-services main > .section-frame:nth-of-type(3) .card:last-child h3,
.page-services main > .section-frame:nth-of-type(3) .card:last-child p {
  color: #ffffff;
}

/* Solution pages: problem, system, evidence, answer. */
.page-solution main > .section-frame:nth-of-type(2) .card:first-child {
  color: #ffffff;
  border: 0;
  border-radius: 5px 28px 5px 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(86, 169, 255, 0.3), transparent 34%),
    #0b315f;
}

.page-solution main > .section-frame:nth-of-type(2) .card:first-child h3,
.page-solution main > .section-frame:nth-of-type(2) .card:first-child p {
  color: #ffffff;
}

.page-solution .case-grid > :last-child {
  border-radius: 24px 5px 24px 5px;
}

.page-nagpur main > .section-frame:nth-of-type(4) .cards-3,
.page-raipur main > .section-frame:nth-of-type(4) .cards-3 {
  grid-template-columns: 1.15fr 0.85fr 1fr;
  align-items: stretch;
}

/* Process, pricing, and careers: steps read as a connected sequence. */
.page-process .timeline-grid,
.page-pricing .timeline-grid,
.page-careers .timeline-grid {
  position: relative;
  gap: 0;
  border-block: 1px solid rgba(24, 86, 156, 0.24);
}

.page-process .timeline-card,
.page-pricing .timeline-card,
.page-careers .timeline-card {
  min-height: 14rem;
  padding: 2rem 1.45rem;
  border: 0;
  border-right: 1px solid rgba(24, 86, 156, 0.22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-process .timeline-card:last-child,
.page-pricing .timeline-card:last-child,
.page-careers .timeline-card:last-child {
  border-right: 0;
}

.page-process .timeline-card::before,
.page-pricing .timeline-card::before,
.page-careers .timeline-card::before {
  display: none;
}

.page-process .timeline-card span,
.page-pricing .timeline-card span,
.page-careers .timeline-card span {
  width: fit-content;
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  color: #ffffff;
  border-radius: 999px;
  background: #0f5bd8;
}

.page-process .timeline-card:nth-child(even) span,
.page-pricing .timeline-card:nth-child(even) span,
.page-careers .timeline-card:nth-child(even) span {
  background: #0b315f;
}

.page-careers main > .section-frame:nth-of-type(2) .cards-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-careers main > .section-frame:nth-of-type(2) .card {
  min-height: 13rem;
}

.page-careers main > .section-frame:nth-of-type(2) .card:first-child {
  color: #ffffff;
  border: 0;
  background: #0b315f;
}

.page-careers main > .section-frame:nth-of-type(2) .card:first-child h3,
.page-careers main > .section-frame:nth-of-type(2) .card:first-child p {
  color: #ffffff;
}

/* Case studies: evidence is presented as a dossier, not a product-card grid. */
.page-case-index .cards-2 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
}

.page-case-index .case-study-card {
  grid-column: span 5;
  min-height: 21rem;
  padding: 2rem;
}

.page-case-index .case-study-card:nth-child(4n + 1),
.page-case-index .case-study-card:nth-child(4n) {
  grid-column: span 7;
}

.page-case-index .case-study-card:first-child {
  color: #ffffff;
  border: 0;
  border-radius: 5px 30px 5px 30px;
  background: #0b315f;
}

.page-case-index .case-study-card:last-child {
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #0f5bd8, #2b8cf0);
}

.page-case-index .case-study-card:first-child h3,
.page-case-index .case-study-card:first-child p,
.page-case-index .case-study-card:last-child h3,
.page-case-index .case-study-card:last-child p,
.page-case-index .case-study-card:first-child .case-study-client,
.page-case-index .case-study-card:last-child .case-study-client {
  color: #ffffff;
}

.page-case-detail .metric-grid {
  gap: 0;
  border-block: 1px solid rgba(24, 86, 156, 0.24);
}

.page-case-detail .metric-grid .card {
  padding: 2rem 1.5rem;
  border: 0;
  border-right: 1px solid rgba(24, 86, 156, 0.22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-case-detail .metric-grid .card:last-child {
  border-right: 0;
}

/* Project work: deployment board with clear regional containers. */
.page-projects .region-project-groups {
  gap: 2rem;
}

.page-projects .region-projects {
  border: 0;
  border-radius: 5px 30px 5px 30px;
  background: #ffffff;
  box-shadow:
    12px 12px 0 rgba(15, 91, 216, 0.07),
    0 26px 64px rgba(22, 70, 124, 0.12);
}

.page-projects .region-summary {
  min-height: 8.5rem;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(91, 171, 255, 0.28), transparent 32%),
    #0b315f;
}

.page-projects .region-summary h3,
.page-projects .region-summary p,
.page-projects .region-kicker {
  color: #ffffff;
}

.page-projects .region-summary-meta span {
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
}

.page-projects .region-summary::after {
  color: #0b315f;
  border: 0;
  background: #ffffff;
}

.page-projects .region-project-body {
  padding: 1rem;
}

.page-projects .engagement-group {
  border: 1px solid rgba(24, 86, 156, 0.16);
  border-radius: 3px 22px 3px 22px;
  box-shadow: none;
}

.page-projects .engagement-item {
  border: 0;
  border-top: 1px solid rgba(24, 86, 156, 0.15);
  border-radius: 0;
  background: transparent;
}

/* Insights: one strong feature and a calmer long-form reading surface. */
.page-insights .cards-3 {
  grid-template-columns: 1fr;
}

.page-insights .case-study-card {
  min-height: 24rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #ffffff;
  border: 0;
  border-radius: 5px 34px 5px 34px;
  background:
    radial-gradient(circle at 88% 10%, rgba(104, 184, 255, 0.4), transparent 30%),
    linear-gradient(125deg, #08284e, #0e4d96 72%, #1677e6 150%);
}

.page-insights .case-study-card h3 {
  max-width: 18ch;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.page-insights .case-study-card p,
.page-insights .case-study-client {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.84);
}

.page-article .article-body {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 0;
  border-left: 4px solid #0f5bd8;
  border-radius: 0 24px 24px 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.72);
}

.page-article .article-sidebar {
  color: #ffffff;
  border: 0;
  border-radius: 5px 24px 5px 24px;
  background: #0b315f;
}

.page-article .article-sidebar h3,
.page-article .article-sidebar .eyebrow {
  color: #ffffff;
}

.page-article .article-points span {
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

/* Trust pages: concise, document-like, and deliberately calmer. */
.page-trust .page-hero {
  min-height: 38rem;
}

.page-trust .page-hero .hero-copy h1 {
  max-width: 13ch;
}

.page-trust .page-hero .hero-panel {
  color: #ffffff;
  border: 0;
  background: #0b315f;
}

.page-trust .page-hero .panel-caption,
.page-trust .page-hero .panel-caption span:last-child,
.page-trust .page-hero .mini-stack strong {
  color: #ffffff;
}

.page-trust .page-hero .mini-stack div {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.page-trust .page-hero .mini-stack span {
  color: rgba(255, 255, 255, 0.78);
}

.page-trust .cards-3,
.page-trust .cards-4 {
  gap: 0;
  border-block: 1px solid rgba(24, 86, 156, 0.22);
}

.page-trust .cards-3 .card,
.page-trust .cards-4 .card {
  border: 0;
  border-right: 1px solid rgba(24, 86, 156, 0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-trust .cards-3 .card:last-child,
.page-trust .cards-4 .card:last-child {
  border-right: 0;
}

/* Regions: bento composition for the four market promises. */
.page-regions main > .section-frame:nth-of-type(2) .cards-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-regions main > .section-frame:nth-of-type(2) .card {
  min-height: 16rem;
  padding: 2rem;
}

.page-regions main > .section-frame:nth-of-type(2) .card:first-child,
.page-regions main > .section-frame:nth-of-type(2) .card:nth-child(2) {
  color: #ffffff;
  border: 0;
}

.page-regions main > .section-frame:nth-of-type(2) .card:first-child {
  background: #0b315f;
}

.page-regions main > .section-frame:nth-of-type(2) .card:nth-child(2) {
  background: linear-gradient(135deg, #0f5bd8, #2b8cf0);
}

.page-regions main > .section-frame:nth-of-type(2) .card:first-child h3,
.page-regions main > .section-frame:nth-of-type(2) .card:first-child p,
.page-regions main > .section-frame:nth-of-type(2) .card:first-child .case-label,
.page-regions main > .section-frame:nth-of-type(2) .card:nth-child(2) h3,
.page-regions main > .section-frame:nth-of-type(2) .card:nth-child(2) p,
.page-regions main > .section-frame:nth-of-type(2) .card:nth-child(2) .case-label {
  color: #ffffff;
}

.page-regions main > .section-frame:nth-of-type(2) .card:first-child .text-link,
.page-regions main > .section-frame:nth-of-type(2) .card:nth-child(2) .text-link {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.32);
}

@media (min-width: 961px) {
  body:not(.page-home) .section-header {
    grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.18fr);
    column-gap: clamp(2.5rem, 7vw, 7rem);
    align-items: end;
  }

  body:not(.page-home) .section-header .eyebrow {
    grid-column: 1;
  }

  body:not(.page-home) .section-header .headline-lg,
  body:not(.page-home) .section-header .section-copy,
  body:not(.page-home) .section-header .section-lead {
    grid-column: 2;
  }
}

@media (max-width: 960px) {
  body:not(.page-home) .page-hero {
    min-height: auto;
  }

  .page-services main > .section-frame:nth-of-type(3) .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-case-index .case-study-card,
  .page-case-index .case-study-card:nth-child(4n + 1),
  .page-case-index .case-study-card:nth-child(4n) {
    grid-column: span 6;
  }

  .page-projects .engagement-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  body:not(.page-home) .page-hero .hero-copy h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  body:not(.page-home) main .cta-panel {
    min-height: auto;
  }

  body:not(.page-home) [id="frequently-asked-questions"] .cards-3,
  .page-services main > .section-frame:nth-of-type(2) .cards-4,
  .page-process .timeline-grid,
  .page-pricing .timeline-grid,
  .page-careers .timeline-grid,
  .page-case-detail .metric-grid,
  .page-trust .cards-3,
  .page-trust .cards-4 {
    border-bottom: 0;
  }

  body:not(.page-home) [id="frequently-asked-questions"] .card,
  .page-services main > .section-frame:nth-of-type(2) .card,
  .page-process .timeline-card,
  .page-pricing .timeline-card,
  .page-careers .timeline-card,
  .page-case-detail .metric-grid .card,
  .page-trust .cards-3 .card,
  .page-trust .cards-4 .card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(24, 86, 156, 0.22);
  }

  .page-services main > .section-frame:nth-of-type(3) .cards-3,
  .page-careers main > .section-frame:nth-of-type(2) .cards-4,
  .page-regions main > .section-frame:nth-of-type(2) .cards-4 {
    grid-template-columns: 1fr;
  }

  .page-case-index .cards-2 {
    grid-template-columns: 1fr;
  }

  .page-case-index .case-study-card,
  .page-case-index .case-study-card:nth-child(4n + 1),
  .page-case-index .case-study-card:nth-child(4n) {
    grid-column: auto;
    min-height: auto;
  }

  .page-nagpur main > .section-frame:nth-of-type(4) .cards-3,
  .page-raipur main > .section-frame:nth-of-type(4) .cards-3 {
    grid-template-columns: 1fr;
  }

  .page-projects .region-summary {
    grid-template-columns: 1fr auto;
  }

  .page-projects .region-summary-meta {
    grid-column: 1 / -1;
  }

  .page-article .article-body {
    border-left-width: 3px;
  }
}

.reveal-enabled .section-frame .container {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-enabled .section-frame .container.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blueprint-drift {
  from {
    transform: perspective(1200px) rotateY(-10deg) rotateX(5deg) translate3d(0, 0, 0);
  }
  to {
    transform: perspective(1200px) rotateY(-7deg) rotateX(3deg) translate3d(-8px, 10px, 0);
  }
}

@media (max-width: 960px) {
  .proof-section .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .proof-section .testimonial-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  section {
    padding: 4rem 0;
  }

  .home-hero .hero-panel {
    transform: none;
  }

  .home-hero .hero-panel .panel-caption {
    margin: -1.25rem -1.25rem 1.2rem;
  }

  .home-stats {
    border-radius: 4px 20px 4px 20px;
  }

  .home-stats > div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .proof-section .testimonial-grid,
  .market-grid,
  .faq-section .container {
    grid-template-columns: 1fr;
  }

  .proof-section .testimonial-card:first-child,
  .market-grid > .card:nth-child(1),
  .market-grid > .card:nth-child(2) {
    grid-column: auto;
  }

  .outcome-section .cards-4 {
    border-bottom: 0;
  }

  .outcome-section .card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(24, 86, 156, 0.22);
  }

  .faq-section .section-header {
    position: static;
  }

  .closing-section .cta-panel {
    min-height: auto;
    border-radius: 4px 26px 4px 26px;
  }

  .voice-strip,
  .review-entry {
    grid-template-columns: 1fr;
  }

  .voice-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(24, 86, 156, 0.2);
  }

  .voice-item:last-child {
    border-bottom: 0;
  }

  .voice-action {
    justify-content: stretch;
  }

  .voice-action .button-secondary {
    width: 100%;
    justify-content: center;
  }

  .review-entry {
    gap: 1.6rem;
  }

  .review-entry:nth-child(even) {
    margin-inline: 0;
    padding-inline: 1.25rem;
  }

  .review-entry blockquote p {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }
}

/* Product-led layouts share the existing SS49 palette and typography. */
.home-hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 0;
}

.home-hero::after,
.home-hero .accent-text::after {
  display: none;
}

.home-hero .hero-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.home-hero .hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 1.04;
}

.hero-note {
  max-width: 40ch;
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-feature {
  margin: 0;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 42, 67, 0.13);
}

.product-feature-top,
.product-feature figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 1rem 1.25rem;
}

.product-feature-top {
  color: #ffffff;
  background: var(--accent-hot);
  font-size: 0.9rem;
  font-weight: 600;
}

.deployment-label {
  font-size: 0.8rem;
  padding-left: 1rem;
  position: relative;
}

.deployment-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a5d8ff;
}

.product-feature img {
  width: 100%;
  height: auto;
}

.product-feature figcaption {
  border-top: 1px solid var(--surface-line);
  font-size: 0.875rem;
}

.product-feature figcaption strong,
.product-feature figcaption span,
.client-note figcaption span {
  display: block;
}

.product-feature figcaption span {
  color: var(--text-secondary);
}

.client-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: baseline;
  gap: 1.25rem 2rem;
  padding: 1.75rem 0;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-block: 1px solid var(--surface-line);
  font-size: 0.9rem;
}

.client-line > span {
  grid-column: 1 / -1;
  color: var(--text-muted);
}

.client-line > strong {
  min-width: 0;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-heading-row .headline-lg {
  margin: 0.65rem 0 0;
}

.page-home .headline-lg {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.12;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.work-card {
  min-width: 0;
}

.work-grid-featured {
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.work-grid > .work-card:only-child,
.work-grid-featured > .work-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.work-image {
  display: block;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.work-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 933;
  object-fit: contain;
}

.work-card-copy {
  padding: 1.3rem 0;
}

.work-card .work-privacy-note {
  font-size: 0.875rem;
  margin: 1rem 0 0;
}

.work-category {
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 600;
}

.work-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  margin: 0.55rem 0;
}

.work-card p,
.delivery-grid p,
.founder-copy p {
  color: var(--text-secondary);
}

.work-text-row {
  display: grid;
  grid-template-columns: auto 1fr 1.6fr auto;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.75rem 0;
  border-block: 1px solid var(--surface-line);
  margin-top: 1.25rem;
  text-decoration: none;
}

.founder-grid,
.client-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.founder-grid h2 {
  max-width: 18ch;
}

.founder-copy p:first-child {
  margin-top: 0;
}

.founder-copy {
  border-left: 3px solid var(--accent);
  padding-left: 1.75rem;
}

.client-note {
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
}

.client-note > div {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.client-note figure,
.client-note blockquote {
  margin: 0;
}

.client-note blockquote p {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.35;
}

.client-note figcaption {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--surface-line);
}

.delivery-grid > a {
  padding: 1.5rem;
  border-right: 1px solid var(--surface-line);
  text-decoration: none;
}

.delivery-grid > a:last-child {
  border-right: 0;
}

.delivery-grid h3 {
  font-size: 1.15rem;
}

.delivery-grid > a:hover,
.work-text-row:hover {
  background: var(--surface-soft);
}

/* Keep supporting pages readable without a full-screen wall of headings. */
body:not(.page-home) .page-hero {
  min-height: auto;
  padding-block: clamp(3rem, 5vw, 5rem);
}

body:not(.page-home) .page-hero .hero-copy h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.1rem);
  max-width: 18ch;
  line-height: 1.08;
}

body:not(.page-home) .headline-lg {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

body:not(.page-home) main > .section-frame:nth-of-type(odd)::before,
body:not(.page-home) main > .section-frame:nth-of-type(even)::before,
.selected-work::before,
.client-note-section::before,
.delivery-section::before {
  background: transparent;
}

.section-frame {
  padding-block: clamp(3rem, 5vw, 5rem);
}

body:not(.page-home) .page-hero .hero-panel {
  transform: none;
}

.page-projects .engagement-item {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.36fr);
  padding-block: 1.75rem;
}

.page-projects .engagement-meta {
  font-size: 0.9rem;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
  background: var(--surface-soft);
}

.page-projects .engagement-title {
  font-size: 1.45rem;
}

.page-projects .engagement-shot figcaption {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.case-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 2.5rem;
}

.case-evidence figure {
  margin: 0;
}

.case-evidence img {
  width: 100%;
  height: auto;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
}

.case-evidence figcaption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.scope-example {
  border-top: 1px solid var(--surface-line);
  padding-top: 1.25rem;
}

.case-card-image {
  display: block;
  margin-block: 1.25rem;
}

.case-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.case-result {
  max-width: 900px;
}

.case-quote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.case-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.case-quote footer {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.engagement-title[id] {
  scroll-margin-top: 7rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.engagement-launch:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 960px) {
  .client-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero .hero-grid,
  .work-grid > .work-card:only-child,
  .work-grid-featured > .work-card,
  .founder-grid,
  .client-note,
  .case-evidence,
  .page-projects .engagement-item {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-copy h1 {
    max-width: 17ch;
  }

  .work-text-row {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-grid > a:nth-child(2) {
    border-right: 0;
  }

  .delivery-grid > a:nth-child(n + 3) {
    border-top: 1px solid var(--surface-line);
  }
}

@media (max-width: 600px) {
  .home-hero .hero-copy h1 {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
  }

  .work-grid,
  .work-text-row,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .delivery-grid > a {
    border-right: 0;
  }

  .delivery-grid > a + a {
    border-top: 1px solid var(--surface-line);
  }

  .client-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .product-feature figcaption {
    align-items: start;
    flex-direction: column;
  }

  .page-projects .region-project-body,
  .page-projects .engagement-group,
  .page-projects .engagement-item {
    padding-inline: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: optional;
}

:root {
  --brand-navy: #14213d;
  --brand-cream: #f4ede0;
  --brand-coral: #ff6b5b;
  --bg: #faf6ef;
  --bg-alt: var(--brand-cream);
  --bg-elevated: #ebe0cf;
  --bg-panel: #fffdf8;
  --bg-panel-strong: #ffffff;
  --surface-soft: #f5ede2;
  --surface-line: #d8cdbb;
  --surface-line-strong: #a89b89;
  --text-primary: var(--brand-navy);
  --text-secondary: #495369;
  --text-muted: #586074;
  --accent: #854238;
  --accent-strong: #683128;
  --accent-hot: #854238;
  --accent-soft: #f8e6df;
  --highlight: #854238;
  --border-strong: #a89b89;
  --shadow-lg: 0 20px 50px rgba(18, 46, 59, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 46, 59, 0.04);
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --container: 1320px;
  --font-sans: "Manrope", "Avenir Next", sans-serif;
  --font-display: "Manrope", "Avenir Next", sans-serif;
}

html { background: var(--bg); scroll-padding-top: 7rem; }
body { background: var(--bg); color: var(--text-primary); font-size: 15px; line-height: 1.75; }
body::before, body::after, .site-shell::before, .site-shell::after,
.hero::before, .hero::after, .section-frame::before, .section-frame::after,
.card::before, .timeline-card::before, .story-card::before,
.hero-panel::before, .glass-panel::before, .cta-panel::before, .cta-panel::after,
.signal-card::after, .card-icon::after, .stats-band::before,
.testimonial-card::before, .testimonial-card::after { display: none; }
.container { width: min(calc(100% - 6rem), var(--container)); }
section, .section-frame { padding: clamp(4rem, 7vw, 7rem) 0; }
.site-header { background: rgba(248, 249, 246, .97); border-bottom: 1px solid var(--surface-line); box-shadow: none; backdrop-filter: blur(16px); }
.site-header::after { display: none; }
.site-header .container { min-height: 96px; gap: 2rem; }
.brand { gap: .9rem; }
.brand::before { width: 6rem; height: 2.3rem; flex-basis: 6rem; }
.brand-mark { padding-left: .9rem; border-left: 1px solid #bac5c2; }
.brand-name { font-size: .92rem; font-weight: 800; letter-spacing: .045em; }
.brand-tag { font-size: .55rem; letter-spacing: .025em; color: var(--text-secondary); }
.site-nav { gap: 1.15rem; }
.site-nav a { padding: .7rem 0; font-size: .79rem; font-weight: 750; border-radius: 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); background: transparent; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
.site-nav .nav-cta { padding: .85rem 1.25rem; margin-left: .5rem; color: #ffffff; background: var(--text-primary); border: 1px solid var(--text-primary); border-radius: 3px; box-shadow: none; }
.site-nav .nav-cta:hover { color: #ffffff; background: var(--accent); border-color: var(--accent); }
.nav-toggle { border: 1px solid var(--surface-line); background: transparent; border-radius: 3px; box-shadow: none; }

h1, h2, h3, h4, .headline-lg, .headline-md { font-family: var(--font-display); font-weight: 550; letter-spacing: -.045em; text-wrap: balance; text-shadow: none; }
h1, h2, h3, h4 { line-height: 1.18; }
.headline-lg { font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.15; }
.headline-md { font-size: clamp(1.65rem, 2.7vw, 2.7rem); line-height: 1.2; }
.eyebrow, .work-category, .case-label, .region-kicker { color: var(--accent); font-size: .66rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: inline-block; }
.eyebrow::before { display: none; }
.accent-text { color: var(--accent); background: none; text-shadow: none; }
.lead, .hero-copy .lead { color: var(--text-secondary); font-size: clamp(1rem, 1.2vw, 1.13rem); line-height: 1.8; }
.section-heading-row { align-items: end; margin-bottom: 3rem; gap: 2rem; }
.section-heading-row .headline-lg { margin-top: 1.15rem; }
.section-aside { max-width: 330px; }
.section-aside p { margin: 0 0 1.25rem; color: var(--text-secondary); }
.section-header { border: 0; padding: 0; margin-bottom: 2.5rem; gap: .7rem; }
.section-header .headline-lg { margin-block: .65rem 0; }
.button, .button-secondary { padding: .95rem 1.45rem; gap: 1.4rem; min-height: 50px; border-radius: 3px; box-shadow: none; font-size: .8rem; font-weight: 700; transform: none; }
.button { color: #ffffff; background: var(--accent); border: 1px solid var(--accent); }
.button-secondary { color: var(--text-primary); background: transparent; border: 1px solid var(--surface-line-strong); }
.button:hover { background: var(--accent-strong); transform: none; }
.button-secondary:hover { background: var(--surface-soft); transform: none; }
.button span { font-size: 1.1rem; }
.text-link, .inline-link { display: inline-flex; gap: 1rem; align-items: center; width: fit-content; padding-block: .35rem; font-size: .8rem; font-weight: 700; color: var(--text-primary); border-bottom: 1px solid var(--surface-line-strong); }
.text-link:hover, .inline-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-actions { gap: 1rem 1.5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

/* The home page leads with the brand, then evidence, not a generic dashboard hero. */
.enterprise-hero { position: relative; padding: 2.15rem 0 0; background: linear-gradient(125deg, var(--bg) 45%, #edf1ed); overflow: hidden; }
.enterprise-hero::after { content: ""; position: absolute; inset: 0 0 0 55%; pointer-events: none; background-image: linear-gradient(90deg, rgba(20, 46, 59, .04) 1px, transparent 1px); background-size: 96px 100%; mask-image: linear-gradient(90deg, transparent, #000); }
.enterprise-hero .container { position: relative; z-index: 1; }
.hero-masthead { display: flex; justify-content: space-between; gap: 1rem; }
.masthead-location { color: var(--text-muted); font-size: .69rem; }
.enterprise-intro { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, .8fr); align-items: end; gap: 5rem; padding: 4.5rem 0 5rem; }
.enterprise-intro h1 { margin: 0; font-size: clamp(3.5rem, 6.25vw, 6.1rem); line-height: 1.08; font-weight: 520; letter-spacing: -.058em; }
.enterprise-intro h1 span { color: var(--accent); }
.enterprise-intro-copy { padding: 1.4rem 0 .45rem; border-top: 1px solid var(--surface-line-strong); }
.enterprise-intro-copy .lead { font-size: 1rem; line-height: 1.7; margin: 0 0 1.5rem; max-width: 38ch; }
.hero-action-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.25rem; }
.enterprise-intro-copy .button { display: inline-flex; width: fit-content; min-height: 48px; padding: .75rem 1rem; gap: 1rem; background: var(--text-primary); border-color: var(--text-primary); white-space: nowrap; }
.enterprise-intro-copy .button:hover { background: var(--accent); border-color: var(--accent); }
.hero-action-row .text-link { border: 0; padding-block: .75rem; gap: .6rem; white-space: nowrap; }
.hero-action-row .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-index { border-top: 1px solid var(--surface-line-strong); padding: 1.25rem 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; font-size: .68rem; }
.hero-index a { text-decoration: none; display: flex; gap: 2rem; }
.hero-index-number { text-align: right; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.enterprise-work { border-top: 1px solid var(--surface-line); }
.work-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 31%; gap: 1.75rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: .35rem .35rem 1.5rem; scrollbar-color: var(--accent) var(--surface-line); }
.work-gallery:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.work-scroll-hint { margin: 0 0 1rem; color: var(--text-secondary); font-size: .8rem; }
.work-card { min-width: 0; scroll-snap-align: start; }
.work-card-visual { position: relative; display: flex; align-items: center; aspect-ratio: 4 / 3; padding: 1.25rem; overflow: hidden; background: var(--surface-muted, #e9ede7); text-decoration: none; }
.work-card-visual img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; box-shadow: 0 8px 24px #132f3c18; transition: transform 250ms ease; }
.work-card-visual:hover img { transform: scale(1.025); }
.work-card-number { position: absolute; top: .75rem; left: .75rem; z-index: 1; background: var(--surface, #f7f9f6); color: var(--text-primary); padding: .5rem .65rem; font-size: .75rem; }
.work-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem .75rem; margin-top: 1.25rem; color: var(--text-secondary); font-size: .7rem; font-weight: 700; letter-spacing: .035em; }
.work-card-meta > span:last-child { color: var(--accent); }
.work-card h3 { margin: .75rem 0; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.3; letter-spacing: -.035em; }
.work-card h3 a { display: flex; justify-content: space-between; gap: .75rem; text-decoration: none; }
.work-card h3 a:hover { color: var(--accent); }
.work-card h3 a > span { font-size: 1rem; color: var(--text-secondary); flex-shrink: 0; }
.work-card p { margin: 0; color: var(--text-secondary); font-size: .9rem; line-height: 1.75; }
.work-card-brief { flex-direction: column; justify-content: center; align-items: flex-start; gap: .65rem; padding: 2rem; background: linear-gradient(135deg, #edf2f2, #f7f9f6); border-bottom: 2px solid var(--surface-line); }
.work-brief-label { color: var(--accent); font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; }
.work-brief-title { color: var(--text-primary); font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.2; max-width: 16ch; }
.work-brief-note { font-size: .7rem; color: var(--text-secondary); }
.work-card-visual:focus-visible, .work-card h3 a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1000px) { .work-gallery { grid-auto-columns: 46%; } }
@media (max-width: 600px) { .work-gallery { grid-auto-columns: 86%; gap: 1rem; } }
@media (prefers-reduced-motion: reduce) { .work-card-visual img { transition: none; } .work-card-visual:hover img { transform: none; } }
.featured-system { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr); align-items: center; background: var(--brand-navy); color: #f9faf7; overflow: hidden; }
.featured-system-copy { padding: clamp(2rem, 3.4vw, 3.5rem); }
.project-status { color: #cedad8; display: flex; align-items: center; gap: .6rem; font-size: .66rem; }
.status-dot { width: 6px; height: 6px; background: #cfdf8b; border-radius: 50%; }
.project-client { display: block; margin-top: 2.6rem; font-size: .78rem; color: #c0cfce; }
.featured-system h3 { font-size: clamp(1.75rem, 3.1vw, 3rem); line-height: 1.15; margin: .6rem 0 1.15rem; color: #ffffff; }
.featured-system-copy p { font-size: .84rem; color: #c0cfce; max-width: 34ch; }
.featured-system .text-link { color: #ffffff; border-color: #66808a; margin-top: 1rem; }
.featured-system .text-link:hover { color: #cfdf8b; }
.featured-system-footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #405964; margin-top: 2.6rem; padding-top: 1.1rem; font-size: .62rem; line-height: 1.8; color: #b7c9ca; }
.featured-system-footer > span:last-child { font-size: 1.6rem; font-weight: 400; color: #cfdf8b; }
.featured-system-media { display: block; min-width: 0; align-self: stretch; margin: 3.25rem 0 3.25rem 1rem; padding: 2rem 2rem 1.5rem; background: #e4eae6; text-decoration: none; box-shadow: 0 12px 32px #09202c44; }
.screen-bar { height: 2rem; display: flex; gap: 4px; align-items: center; padding-inline: .75rem; background: #f8faf7; border-radius: 4px 4px 0 0; }
.screen-bar > span { width: 4px; height: 4px; border-radius: 50%; background: #afbab5; }
.screen-bar b { margin-left: auto; font-size: .53rem; color: #53676b; font-weight: 500; }
.featured-system-media img { width: 100%; height: auto; background: #ffffff; border: 1px solid #d2dad4; }
.screen-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: .58rem; color: #405961; }
.enterprise-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 3.5rem; }
.enterprise-project { min-width: 0; }
.enterprise-project-image { display: block; padding: 2rem; background: #e9ede7; border: 1px solid var(--surface-line); }
.enterprise-project:nth-child(2) .enterprise-project-image { background: #eee9e3; }
.enterprise-project-image img { width: 100%; height: auto; aspect-ratio: 1800 / 1014; object-fit: contain; background: #ffffff; box-shadow: 0 7px 22px #18314010; transition: transform 250ms ease; }
.enterprise-project-image:hover img { transform: translateY(-4px); }
.project-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; color: var(--text-muted); font-size: .65rem; }
.project-caption > span:first-child { color: var(--text-primary); font-weight: 700; }
.enterprise-project h3 { margin: .85rem 0 .75rem; font-size: clamp(1.2rem, 1.8vw, 1.65rem); }
.enterprise-project h3 a { display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; }
.enterprise-project h3 a:hover { color: var(--accent); }
.enterprise-project p { max-width: 53ch; font-size: .85rem; color: var(--text-secondary); }
.enterprise-clients { margin-top: 4.5rem; }
.enterprise-clients-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.enterprise-clients-header h2 { margin: 0; font-size: 1.35rem; font-weight: 550; letter-spacing: -.025em; }
.enterprise-clients-header .text-link { font-size: .72rem; border: 0; color: var(--text-secondary); }
.enterprise-clients [data-client-names] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--surface-line-strong); background: linear-gradient(135deg, #eff2ed, #f5f6f2); }
.enterprise-clients strong { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 118px; padding: 1.5rem 1.25rem; text-align: center; text-wrap: balance; font-size: clamp(.95rem, 1.22vw, 1.13rem); font-weight: 650; line-height: 1.4; letter-spacing: -.02em; border-right: 1px solid var(--surface-line); border-bottom: 1px solid var(--surface-line); }
.enterprise-clients strong:nth-child(4n) { border-right: 0; }
.enterprise-clients strong:nth-last-child(-n+4) { border-bottom: 0; }
.client-enquiry { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 1.25rem; text-align: center; color: var(--accent); background: var(--accent-soft); font-size: .85rem; font-weight: 650; text-decoration: none; }
.client-enquiry:hover { text-decoration: underline; text-underline-offset: 4px; }
.client-detail { display: block; max-width: 23ch; margin-top: .4rem; color: var(--text-secondary); font-size: .72em; font-weight: 500; letter-spacing: 0; }

.enterprise-capabilities { background: var(--bg-alt); border-block: 1px solid var(--surface-line); }
.capabilities-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 8rem); }
.capabilities-heading { position: sticky; top: 8rem; align-self: start; }
.capabilities-heading h2 { margin: 1.2rem 0 1.5rem; }
.capabilities-heading p { max-width: 34ch; color: var(--text-secondary); margin-bottom: 1.4rem; }
.capability-register { border-top: 1px solid var(--surface-line-strong); }
.capability-register > a { display: grid; grid-template-columns: 2rem 1fr 1.25rem; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--surface-line); text-decoration: none; }
.capability-register h3 { font-size: clamp(1.2rem, 1.8vw, 1.7rem); margin: 0 0 .75rem; letter-spacing: -.035em; }
.capability-register p { margin: 0; color: var(--text-secondary); font-size: .85rem; max-width: 43ch; }
.capability-index { color: var(--text-muted); font-size: .65rem; padding-top: .4rem; }
.row-arrow { color: var(--accent); font-size: 1.4rem; }
.capability-register a:hover h3 { color: var(--accent); }
.delivery-steps { padding: 0; margin: 3rem 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.delivery-steps li { border-top: 2px solid var(--text-primary); padding: 1.65rem 0 0; }
.delivery-steps li > span { font-size: .66rem; color: var(--text-muted); }
.delivery-steps h3 { font-size: 1.35rem; margin: 1.4rem 0 1rem; }
.delivery-steps p { font-size: .86rem; color: var(--text-secondary); margin: 0; }
.enterprise-founder { display: flex; align-items: center; gap: 1.2rem; padding-top: 2rem; margin-top: 3.5rem; border-top: 1px solid var(--surface-line); }
.founder-initials { font-family: Georgia, serif; color: var(--text-primary); font-size: 1.8rem; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--surface-line-strong); border-radius: 50%; }
.enterprise-founder strong, .enterprise-founder span { display: block; font-size: .8rem; }
.enterprise-founder span { color: var(--text-muted); font-size: .66rem; }
.enterprise-founder p { margin: 0 auto; max-width: 32ch; font-size: .8rem; color: var(--text-secondary); }
.enterprise-testimonial { background: var(--bg-alt); border-block: 1px solid var(--surface-line); }
.enterprise-testimonial .container { display: grid; grid-template-columns: 1fr 2.3fr; gap: 3rem; }
.enterprise-testimonial figure, .enterprise-testimonial blockquote { margin: 0; }
.enterprise-testimonial blockquote p { font-size: clamp(1.65rem, 3.2vw, 3.2rem); line-height: 1.35; letter-spacing: -.045em; margin: 0; }
.enterprise-testimonial figcaption { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; font-size: .8rem; }
.enterprise-testimonial figcaption span { display: block; color: var(--text-secondary); font-size: .72rem; margin-top: .25rem; }
.enterprise-markets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--surface-line); }
.enterprise-markets > a { position: relative; padding: 2.25rem 1.5rem 3.5rem; text-decoration: none; border-right: 1px solid var(--surface-line); transition: background 180ms ease; }
.enterprise-markets > a:last-child { border-right: 0; }
.enterprise-markets > a:hover { background: #edf0e9; }
.enterprise-markets span { font-size: .65rem; color: var(--text-muted); }
.enterprise-markets h3 { font-size: 1.12rem; margin: 2.6rem 0 .7rem; }
.enterprise-markets p { font-size: .74rem; color: var(--text-secondary); margin: 0; }
.enterprise-markets b { position: absolute; bottom: 1.15rem; right: 1.5rem; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.faq-section { border-top: 1px solid var(--surface-line); }
.faq-section .section-header { position: static; }
.faq-list { border-top: 1px solid var(--surface-line-strong); }
.faq-list summary { font-size: 1.05rem; font-weight: 600; line-height: 1.45; padding-block: 1.5rem; }
.faq-list summary::after { background: transparent; color: var(--text-primary); border: 1px solid var(--surface-line); border-radius: 0; width: 1.5rem; height: 1.5rem; font-size: 1rem; }
.faq-list details[open] summary::after { background: var(--text-primary); color: #ffffff; }
.faq-list details p { font-size: .88rem; }
.enterprise-contact { background: var(--brand-navy); color: #ffffff; position: relative; overflow: hidden; }
.enterprise-contact::after { content: ""; pointer-events: none; position: absolute; inset: 0 0 0 70%; border-left: 1px solid #ffffff12; background-image: repeating-linear-gradient(90deg, transparent 0 80px, #ffffff0c 80px 81px); }
.enterprise-contact .container { position: relative; z-index: 1; }
.enterprise-contact .eyebrow { color: #cbdca4; }
.contact-heading { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin: 2.4rem 0 3rem; }
.contact-heading h2 { font-size: clamp(2.8rem, 6vw, 6rem); line-height: 1.1; margin: 0; color: #ffffff; }
.contact-arrow { display: grid; place-items: center; flex: 0 0 108px; height: 108px; border: 1px solid #687f85; border-radius: 50%; color: #d7e5ad; text-decoration: none; font-size: 3.5rem; line-height: 1; }
.contact-arrow:hover { background: #d7e5ad; color: #132f3c; }
.contact-details { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; padding-top: 1.75rem; border-top: 1px solid #415966; color: #c4d0d2; }
.contact-details p { margin: 0; font-size: .77rem; }
.contact-details a { font-size: .79rem; color: #ffffff; text-underline-offset: 6px; overflow-wrap: anywhere; }

/* Shared enterprise language for every existing content page. */
.page-hero { min-height: auto; padding-block: 5rem; background: linear-gradient(125deg, #f8f9f6 45%, #edf1ed); border-bottom: 1px solid var(--surface-line); }
.hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero-copy h1, .page-hero .hero-copy h1, .hero-copy h1.hero-title-compact { font-size: clamp(2.4rem, 4.2vw, 4.4rem); font-weight: 520; line-height: 1.12; letter-spacing: -.05em; max-width: 19ch; margin-block: 1.4rem; }
.hero-copy .lead { max-width: 53ch; }
.hero-panel, .glass-panel, .callout-panel, .quote-panel, .stats-band, .card, .timeline-card, .story-card, .testimonial-card, .signal-card { border: 1px solid var(--surface-line); border-radius: 3px; background: #ffffff; background-image: none; color: var(--text-primary); box-shadow: none; transform: none; backdrop-filter: none; }
.hero-panel { padding: 2rem; border-top: 3px solid var(--accent); }
.hero-panel, .stats-band { animation: none; }
.hero-panel :is(h2,h3,h4,p,strong,li), .glass-panel :is(h2,h3,h4,p,strong,li), .card :is(h2,h3,h4,p,strong,li) { color: var(--text-primary); }
.panel-caption { color: var(--text-muted); font-size: .6rem; letter-spacing: .06em; padding-bottom: 1rem; border-bottom: 1px solid var(--surface-line); }
.panel-caption span:last-child { color: var(--accent); }
.mini-stack { margin-top: 0; gap: 0; }
.mini-stack > div { padding: 1.1rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--surface-line); border-radius: 0; }
.mini-stack > div:last-child { border: 0; padding-bottom: 0; }
.mini-stack strong { font-size: .92rem; font-weight: 700; color: var(--text-primary); }
.mini-stack span { font-size: .79rem; color: var(--text-secondary); }
.cards-2, .cards-3, .cards-4, .case-grid, .detail-grid { gap: 1.4rem; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .timeline-card { padding: 2rem; }
.card:hover, .timeline-card:hover, .story-card:hover, .testimonial-card:hover { transform: none; border-color: var(--surface-line-strong); box-shadow: none; }
.card p, .case-study-card .case-study-client, .story-card p { color: var(--text-secondary); font-size: .87rem; }
.card h3, .timeline-card h3 { font-size: 1.3rem; line-height: 1.3; margin-block: 1rem; }
.card-icon { width: auto; height: auto; border: 0; background: none; color: var(--accent); font-size: .75rem; justify-content: start; border-radius: 0; box-shadow: none; }
.staggered-cards > *, .offset-cards > * { transform: none; }
.feature-list li, .check-list li { color: var(--text-secondary); background: transparent; border-color: var(--surface-line); font-size: .88rem; }
.check-list li::before, .hero-points li::before { width: 4px; height: 4px; background: var(--accent); box-shadow: none; border-radius: 0; }
.case-label, .glass-panel .case-label, .glass-panel .eyebrow { color: var(--accent); }
.case-panel { padding: 2rem; }
.case-panel h2 { margin-block: .9rem 1.4rem; font-size: clamp(1.45rem, 2vw, 2rem); }
.metric-grid { gap: 1px; background: var(--surface-line); border: 1px solid var(--surface-line); }
.metric-grid .card { border: 0; background: var(--bg); }
.metric-value { color: var(--accent); }
.timeline-grid { border-top: 1px solid var(--surface-line); gap: 0; }
.timeline-card { border: 0; border-right: 1px solid var(--surface-line); border-bottom: 1px solid var(--surface-line); background: transparent; }
.timeline-card:last-child { border-right: 0; }
.timeline-card > span { color: var(--accent); font-size: .68rem; padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.cta-panel { border: 0; border-radius: 3px; background: var(--brand-navy); box-shadow: none; min-height: auto; padding: clamp(2rem, 4vw, 4rem); color: #ffffff; }
.cta-panel h2, .cta-panel p, .cta-panel a:not(.button) { color: #ffffff; }
.cta-panel .eyebrow { color: #d5e3af; }
.cta-panel .button { color: #132f3c; background: #ffffff; border-color: #ffffff; }
.cta-panel .button:hover { background: #e8efdb; }
.case-study-card { grid-column: auto; min-height: auto; background: #ffffff; }
.case-study-card h3 { font-size: 1.6rem; }
.case-card-image img, .case-evidence img { border-radius: 0; }
.pill { padding: .3rem .6rem; background: var(--surface-soft); color: var(--text-secondary); border-radius: 2px; box-shadow: none; font-size: .65rem; }
.status-pill { border-radius: 2px; background: var(--bg-alt); font-size: .64rem; box-shadow: none; }
.status-pill.live { background: #eaf1df; color: #365021; }
.region-projects { border: 1px solid var(--surface-line); border-radius: 3px; background: #ffffff; box-shadow: none; }
.region-summary { padding: 1.75rem 2rem; border-radius: 0; background: #e9eee9; color: var(--text-primary); }
.region-summary h3, .region-summary p, .region-kicker { color: var(--text-primary); }
.region-summary h3 { font-size: 1.45rem; margin: .5rem 0; }
.region-summary::after { color: var(--text-primary); border-color: var(--surface-line-strong); border-radius: 0; background: transparent; }
.region-summary-meta span { color: var(--text-secondary); border-color: var(--surface-line); background: transparent; }
.region-project-body { padding: 0 2rem; }
.engagement-group { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 2rem 0; }
.engagement-group-header { padding-bottom: 1.25rem; border-bottom: 1px solid var(--surface-line); }
.engagement-group-header h3 { font-size: 1.3rem; }
.engagement-item { grid-template-columns: minmax(0, 1fr) minmax(200px, .36fr); padding-block: 2rem; gap: 2rem; }
.engagement-title { font-size: 1.5rem; font-weight: 600; }
.engagement-shot { border: 1px solid var(--surface-line); border-radius: 2px; background: var(--bg-alt); box-shadow: none; padding: 1rem; }
.engagement-launch:hover .engagement-shot, .engagement-launch:focus-visible .engagement-shot { transform: none; border-color: var(--accent); box-shadow: none; }
.engagement-count { border-radius: 2px; background: var(--brand-navy); color: #ffffff; }
.engagement-shot figcaption { color: var(--text-secondary); font-size: .72rem; text-transform: none; letter-spacing: 0; }
.engagement-meta { padding: 1.25rem; background: var(--bg-alt); border: 0; border-left: 2px solid var(--surface-line-strong); border-radius: 0; box-shadow: none; align-self: start; font-size: .81rem; }
.lightbox-dialog { border-radius: 3px; background: #f8f9f6; }
.lightbox-figure, .lightbox-figure img { border-radius: 0; }
.review-entry { padding-block: 3.5rem; }
.review-entry:nth-child(even) { color: var(--text-primary); background: var(--bg-alt); border-radius: 0; margin-inline: 0; padding-inline: 2rem; }
.review-entry:nth-child(even) :is(strong,p,.text-link) { color: var(--text-primary); }
.review-entry:nth-child(even) .review-identity > span:not(.review-number) { color: var(--text-secondary); }
.review-entry blockquote p { font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.45; letter-spacing: -.035em; max-width: 40ch; }
.review-number { width: auto; height: auto; display: block; color: var(--accent); background: transparent; border-radius: 0; }
.review-entry:nth-child(even) .review-number { color: var(--accent); background: transparent; }
.article-body { padding: 2rem 0; border: 0; background: transparent; box-shadow: none; }
.article-sidebar { background: var(--bg-alt); color: var(--text-primary); border: 1px solid var(--surface-line); border-radius: 3px; box-shadow: none; }
.article-sidebar .eyebrow { color: var(--accent); }
.article-points span { color: var(--text-secondary); background: transparent; border-color: var(--surface-line); border-radius: 0; }
.article-quote { border-radius: 0; background: var(--bg-alt); }
.architecture-step, .highlight-bar { background: var(--bg-alt); color: var(--text-primary); border: 1px solid var(--surface-line); border-radius: 3px; box-shadow: none; }
.highlight-bar::after { display: none; }
.step-index { background: transparent; color: var(--accent); border: 0; border-radius: 0; box-shadow: none; }
.local-proof-item { background: #ffffff; border: 1px solid var(--surface-line); border-radius: 3px; }
.local-proof-item::before { display: none; }

/* The assistant is a workspace, with its controls kept compact and legible. */
.assistant-main { padding-block: 4rem 5rem; }
.assistant-intro { margin-bottom: 3rem; }
.assistant-intro h1 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.1; margin: 1rem 0; }
.assistant-conversation, .assistant-brief { border-radius: 3px; background: #ffffff; box-shadow: none; }
.assistant-conversation { padding: 0; }
.assistant-brief { padding: 1.5rem; }
.brief-review { padding: 0; }
.assistant-topbar { padding: 1.2rem; }
.assistant-identity h2 { margin: 0; padding: 0; line-height: 1.3; letter-spacing: 0; font-size: .85rem; }
.assistant-identity > div { padding: 0; }
.assistant-log { background: var(--bg-alt); }
.assistant-message, .assistant-message.is-user { border-radius: 3px; }
.assistant-starters button, .assistant-main textarea, .assistant-brief input { border-radius: 3px; }
.assistant-brief h2 { font-size: 1.5rem; font-weight: 550; line-height: 1.2; }
.assistant-text-button { flex-shrink: 0; }

.site-footer { padding: 4rem 0 2rem; background: var(--bg-alt); border-top: 1px solid var(--surface-line); }
.footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
.footer-card { border: 0; border-radius: 0; background: transparent; padding: 0 0 2.5rem; box-shadow: none; }
.footer-card + .footer-card { border: 0; }
.footer-card:hover { transform: none; box-shadow: none; }
.footer-card .brand { margin-bottom: .75rem; }
.footer-card h3 { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; margin: 0 0 1.5rem; }
.footer-card p { font-size: .8rem; color: var(--text-secondary); max-width: 36ch; }
.footer-links { gap: .55rem; font-size: .79rem; }
.footer-links a { overflow-wrap: anywhere; }
.footer-grid .footer-card:nth-child(2) .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.footer-bottom { text-align: left; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .64rem; padding-top: 1.6rem; }
.footer-bottom p { margin: 0; }
.footer-trust-links { justify-content: start; width: min(calc(100% - 6rem), var(--container)); margin: 1.2rem auto 0; font-size: .6rem; letter-spacing: .04em; }

/* First-screen content must not wait for entrance animations to become visible. */
.enterprise-intro h1, .enterprise-intro-copy, .hero-index { animation: none; }
.reveal-enabled .section-frame .container { opacity: 1; transform: none; transition: none; }

@media (max-width: 1280px) {
  .site-header .container { min-height: 86px; display: grid; grid-template-areas: "brand toggle" "nav nav"; grid-template-columns: minmax(0, 1fr) auto; gap: 0; padding-block: 1.1rem; }
  .site-nav { border: 0; border-top: 1px solid var(--surface-line); border-radius: 0; box-shadow: none; background: transparent; padding: 1rem 0 0; margin-top: 1rem; }
  .site-nav:not(.is-open) { display: none; }
  .site-nav.is-open { display: grid; gap: .5rem 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav a { padding: .9rem; background: #edf0ea; font-size: .8rem; }
  .site-nav a[aria-current="page"] { background: var(--accent-soft); box-shadow: none; }
  .site-nav .nav-cta { margin: 0; }
  .enterprise-intro { gap: 3rem; }
  .featured-system-media { margin-left: 0; padding: 1.25rem; align-self: center; }
}

@media (max-width: 1100px) {
  .enterprise-clients [data-client-names] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enterprise-clients strong { font-size: 1rem; min-height: 104px; }
  .enterprise-clients strong:nth-child(4n) { border-right: 1px solid var(--surface-line); }
  .enterprise-clients strong:nth-child(2n) { border-right: 0; }
  .enterprise-clients strong:nth-last-child(-n+4) { border-bottom: 1px solid var(--surface-line); }
  .enterprise-clients strong:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 960px) {
  .container, .footer-trust-links { width: calc(100% - 3rem); }
  .enterprise-intro { grid-template-columns: 1.45fr 1fr; gap: 2rem; padding-block: 3.5rem; }
  .enterprise-intro h1 { font-size: clamp(3rem, 6.4vw, 4.5rem); }
  .enterprise-intro-copy .lead { font-size: .9rem; }
  .hero-index { grid-template-columns: 1fr auto; }
  .hero-index-number { display: none; }
  .featured-system { grid-template-columns: 1fr 1.3fr; }
  .featured-system-copy { padding: 2rem; }
  .featured-system h3 { font-size: 1.9rem; }
  .project-client { margin-top: 1.75rem; }
  .featured-system-footer { margin-top: 1.5rem; }
  .screen-caption { flex-direction: column; gap: .35rem; }
  .enterprise-project-image { padding: 1rem; }
  .capabilities-layout { gap: 2.5rem; grid-template-columns: 1fr 1.2fr; }
  .enterprise-founder { flex-wrap: wrap; }
  .enterprise-founder p { margin: 0; }
  .enterprise-testimonial .container { grid-template-columns: 1fr; gap: 2rem; }
  .enterprise-markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enterprise-markets > a:nth-child(2) { border-right: 0; }
  .enterprise-markets > a:nth-child(-n+2) { border-bottom: 1px solid var(--surface-line); }
  .contact-details { flex-wrap: wrap; align-items: start; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero-copy h1, .page-hero .hero-copy h1 { max-width: 22ch; }
  .hero-panel { max-width: none; }
  .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .footer-card:first-child { grid-column: 1 / -1; }
  .footer-card:first-child p { max-width: 55ch; }
}

@media (max-width: 600px) {
  .container, .footer-trust-links { width: calc(100% - 2.5rem); }
  section, .section-frame { padding-block: 3.75rem; }
  .site-header .container { min-height: 78px; padding-block: 1rem; }
  .brand { gap: .65rem; }
  .brand::before { width: 4.8rem; flex-basis: 4.8rem; height: 1.8rem; }
  .brand-mark { padding-left: .65rem; }
  .brand-name { font-size: .8rem; }
  .brand-tag { font-size: .47rem; letter-spacing: 0; }
  .nav-toggle { width: 42px; height: 42px; }
  .site-nav.is-open { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .site-nav a { min-height: 44px; }
  .site-nav .nav-cta { grid-column: 1 / -1; justify-content: center; }
  .enterprise-hero { padding: 1.5rem 0 0; }
  .hero-masthead { display: block; }
  .masthead-location { display: none; }
  .enterprise-intro { display: block; padding: 2.3rem 0 2.7rem; }
  .enterprise-intro h1 { font-size: clamp(2.65rem, 10.5vw, 3.9rem); letter-spacing: -.057em; line-height: 1.13; }
  .enterprise-intro-copy { margin-top: 2rem; }
  .enterprise-intro-copy .lead { font-size: .92rem; max-width: 40ch; margin-bottom: 1.35rem; }
  .hero-index { display: flex; flex-wrap: wrap; justify-content: space-between; font-size: .59rem; gap: .7rem; padding: 1rem 0; }
  .hero-index a { gap: .5rem; }
  .section-heading-row { display: block; margin-bottom: 2rem; }
  .section-heading-row .headline-lg { font-size: 2.2rem; }
  .section-aside { max-width: none; margin-top: 1.5rem; font-size: .87rem; }
  .featured-system { grid-template-columns: minmax(0, 1fr); }
  .featured-system-copy { padding: 1.7rem; }
  .featured-system h3 { font-size: 2.2rem; }
  .featured-system-copy p { max-width: 43ch; }
  .featured-system-media { margin: 0 1rem 1rem; padding: 1rem; }
  .screen-caption { margin-top: .9rem; font-size: .53rem; }
  .enterprise-project-grid { grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; gap: 2rem; }
  .enterprise-project h3 { font-size: 1.35rem; }
  .enterprise-project-image { padding: 1.25rem; }
  .enterprise-clients { margin-top: 3rem; }
  .enterprise-clients-header { align-items: start; gap: .6rem; margin-bottom: 1rem; }
  .enterprise-clients-header h2 { font-size: 1.1rem; }
  .enterprise-clients-header .text-link { font-size: .62rem; gap: .5rem; padding-top: .1rem; }
  .enterprise-clients strong { min-height: 98px; padding: 1.25rem .75rem; font-size: .86rem; }
  .capabilities-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .capabilities-heading { position: static; }
  .capability-register > a { grid-template-columns: 1.1rem 1fr 1rem; gap: .85rem; padding-block: 1.5rem; }
  .capability-register h3 { font-size: 1.2rem; }
  .delivery-steps { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; margin-block: 2rem; }
  .delivery-steps h3 { margin-top: .8rem; }
  .enterprise-founder { gap: .9rem; margin-top: 2rem; }
  .enterprise-founder p { flex-basis: 100%; max-width: none; }
  .enterprise-founder > .text-link { margin-top: .35rem; }
  .enterprise-testimonial blockquote p { font-size: 1.8rem; }
  .enterprise-testimonial figcaption { align-items: start; }
  .enterprise-markets > a { padding: 1.25rem 1rem 3rem; }
  .enterprise-markets h3 { font-size: .96rem; margin-top: 1.8rem; overflow-wrap: anywhere; }
  .enterprise-markets p { font-size: .67rem; }
  .enterprise-markets b { right: 1rem; }
  .faq-section .container { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .faq-list summary { font-size: .95rem; }
  .contact-heading { align-items: end; gap: 1rem; }
  .contact-heading h2 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .contact-arrow { flex-basis: 52px; height: 52px; font-size: 1.8rem; }
  .contact-details { display: grid; gap: 1.5rem; }
  .contact-details a { font-size: .75rem; }
  .page-hero { padding-block: 3.5rem; }
  .hero-copy h1, .page-hero .hero-copy h1, .hero-copy h1.hero-title-compact { font-size: clamp(2.05rem, 8.8vw, 3rem); max-width: 100%; overflow-wrap: anywhere; }
  .hero-panel { padding: 1.5rem; }
  .panel-caption { font-size: .54rem; gap: .65rem; }
  .cards-2, .cards-3, .cards-4, .metric-grid, .case-evidence, .company-story { grid-template-columns: minmax(0, 1fr); }
  .card, .timeline-card, .case-panel { padding: 1.5rem; }
  .case-study-card { grid-column: auto; }
  .case-study-card h3 { font-size: 1.4rem; }
  .region-summary { padding: 1.25rem; }
  .region-summary h3 { font-size: 1.2rem; }
  .region-project-body { padding-inline: 1rem; }
  .engagement-group { padding-inline: 0; }
  .engagement-item { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-inline: 0; }
  .engagement-title { font-size: 1.3rem; }
  .engagement-shot { padding: .5rem; }
  .engagement-group-header { flex-wrap: wrap; }
  .engagement-meta { padding: 1rem; }
  .review-entry { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .review-entry:nth-child(even) { padding-inline: 1.25rem; }
  .review-entry blockquote p { font-size: 1.4rem; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .cta-panel { padding: 1.75rem; }
  .assistant-main { padding-top: 2.75rem; }
  .assistant-topbar { padding: 1rem; }
  .assistant-identity { gap: .6rem; }
  .assistant-identity img { width: 40px; }
  .assistant-identity h2 { font-size: .78rem; }
  .assistant-identity span { font-size: .64rem; }
  .assistant-text-button { font-size: .7rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-card { padding-block: 1.5rem; }
  .footer-card:first-child { grid-column: auto; padding-top: 0; }
  .footer-card + .footer-card { border-top: 1px solid var(--surface-line); }
  .footer-bottom { font-size: .6rem; line-height: 1.8; }
  .footer-trust-links { gap: 1.5rem; }
}

/* Readability and interaction refinements shared across the public pages. */
.site-nav a, .button, .button-secondary, .text-link, .inline-link { font-size: .875rem; }
.text-link, .inline-link { min-height: 44px; }
.card p, .story-card p, .delivery-steps p, .capability-register p,
.enterprise-project p, .featured-system-copy p, .faq-list details p { font-size: .95rem; }
.eyebrow, .case-label, .work-category, .region-kicker { font-size: .75rem; }
.project-caption, .project-status, .project-client,
.enterprise-markets span, .enterprise-markets p, .enterprise-founder span,
.featured-system-footer, .screen-caption { font-size: .8rem; }
.hero-index, .masthead-location, .enterprise-clients-header .text-link { font-size: .8rem; }
.hero-index a { align-items: center; min-height: 44px; }
.hero-index { padding-block: .65rem; }
.enterprise-clients-header { flex-wrap: wrap; }
.client-detail { font-size: .8rem; }
.pill, .status-pill, .engagement-shot figcaption { font-size: .75rem; }
.status-pill { width: fit-content; }
.status-pill::before { box-shadow: none; }
.footer-card p, .footer-links { font-size: .875rem; }
.footer-card h3, .footer-bottom, .footer-trust-links { font-size: .75rem; }
.footer-grid .footer-links { margin: 0; padding: 0; list-style: none; row-gap: .15rem; grid-auto-rows: minmax(44px, auto); align-content: start; }
.footer-links li { margin: 0; min-width: 0; }
.footer-links a, .footer-links li > span { display: flex; align-items: center; min-height: 44px; line-height: 1.5; }
.footer-bottom .footer-trust-links { display: flex; flex-wrap: wrap; align-items: center; width: auto; margin: 0; padding: 0; gap: 1.25rem; }
.footer-links a, .footer-bottom a, .footer-trust-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-card .brand { min-height: 44px; }
.footer-bottom a, .footer-trust-links a { font-size: .8125rem; }
.footer-trust-links { gap: 1.5rem; }
.project-jump-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 2rem; }
.project-jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--surface-line-strong); border-radius: 3px; font-size: .875rem; text-decoration: none; }
.project-jump-links a:hover { background: var(--accent-soft); border-color: var(--accent); }
.page-projects .hero-panel .mini-stack > div > span { display: block; margin-top: .25rem; }
.assistant-entry-actions { display: flex; flex-direction: column; align-items: start; gap: .5rem; flex-shrink: 0; }
.assistant-entry-actions .button-secondary { text-decoration: none; }
.assistant-brief label, .assistant-field-label, .assistant-consent { font-size: .875rem; }
.assistant-main textarea, .assistant-brief input { font-size: 1rem; }
.assistant-note { font-size: .8125rem; }
.assistant-starters button, .assistant-text-button { min-height: 44px; font-size: .875rem; }
.assistant-identity span { font-size: .75rem; }
.lightbox-dialog { max-height: calc(100dvh - 2rem); margin: 1rem auto; overflow-y: auto; overscroll-behavior: contain; }
.lightbox-figure img { max-height: 60dvh; }
.lightbox-figure figcaption { font-size: .875rem; letter-spacing: 0; text-transform: none; }
.lightbox-close { min-height: 44px; border-radius: 3px; background: var(--bg); }
.lightbox-nav { min-width: 44px; min-height: 44px; border-radius: 3px; }
.featured-system :focus-visible, .enterprise-contact :focus-visible, .cta-panel :focus-visible { outline-color: #cfdf8b; }
.site-header:not([data-nav-ready]) .nav-toggle { display: none; }

@media (max-width: 1280px) {
  .site-header { max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  .site-header:not([data-nav-ready]) { position: static; }
  .site-header:not([data-nav-ready]) .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .site-nav a { font-size: .875rem; }
}

@media (max-width: 900px) {
  .assistant-entry-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
}

@media (max-width: 600px) {
  .footer-grid .footer-card:nth-child(2) .footer-links { gap: .15rem 1rem; }
  .enterprise-markets > a { padding: 1.5rem 1rem 3.2rem; }
  .hero-index { gap: .25rem .75rem; }
  .hero-index > span:first-child { display: none; }
  .enterprise-clients-header { gap: .25rem 1rem; }
  .enterprise-clients-header .text-link { font-size: .8rem; }
  .assistant-topbar { flex-wrap: wrap; gap: .25rem; }
  .lightbox-header { align-items: start; }
  .lightbox-stage { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .lightbox-figure { grid-column: 1 / -1; grid-row: 1; padding: .5rem; }
  .lightbox-nav { width: 100%; }
  .lightbox-figure img { max-height: 50dvh; }
}

/* Desktop density: preserve reading space without pushing evidence below the fold. */
@media (min-width: 1101px) {
  .site-header { max-height: none; overflow: visible; }
  .site-header .container { display: flex; justify-content: space-between; align-items: center; min-height: 96px; padding-block: 0; gap: 2rem; }
  .nav-toggle { display: none; }
  .site-header .site-nav, .site-header .site-nav:not(.is-open), .site-header:not([data-nav-ready]) .site-nav { display: flex; width: auto; flex: 0 0 auto; gap: 1.5rem; align-items: center; padding: 0; margin: 0 0 0 auto; border: 0; }
  .site-nav a { padding: .7rem 0; background: transparent; font-size: .9375rem; font-weight: 750; }
  .site-nav a[aria-current="page"] { background: transparent; box-shadow: inset 0 -2px var(--accent); }
  .site-header .brand { flex-shrink: 0; }
  .site-header .site-nav .nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-left: .5rem; padding: .65rem 1.25rem; border: 1px solid var(--text-primary); border-radius: 3px; background: var(--text-primary); color: #fff; font-size: .9375rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
  .site-header .site-nav .nav-cta:hover { background: var(--accent); border-color: var(--accent); }
  main > .section-frame { padding-block: 4.5rem; }
  .page-hero { padding-block: 3.5rem; }
  .hero-copy h1, .page-hero .hero-copy h1, .hero-copy h1.hero-title-compact { font-size: clamp(2.75rem, 3.7vw, 3.6rem); max-width: 22ch; }
  .hero-panel { padding: 1.5rem 1.75rem; }
  .hero-panel .signal-card { padding: 1.15rem; }
  .hero-panel .signal-card strong { font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.35; }
  .hero-grid { gap: 3rem; }
  .mini-stack > div { padding-block: .85rem; }
  .enterprise-hero { padding-top: 1.5rem; }
  .enterprise-intro { padding-block: 3rem; gap: 3.5rem; grid-template-columns: minmax(0, 1.8fr) minmax(300px, .85fr); }
  .enterprise-intro h1 { font-size: clamp(3.4rem, 5.7vw, 5.2rem); }
  .enterprise-intro-copy .lead { font-size: 1rem; }
  .section-heading-row { margin-bottom: 2rem; }
  .section-header { display: block; margin-bottom: 2rem; }
  .section-header .headline-lg { max-width: 26ch; margin-top: .65rem; }
  .section-header .section-copy, .section-header .section-lead { max-width: 65ch; }
  .headline-lg { font-size: clamp(2.25rem, 3vw, 2.8rem); }
  .enterprise-project-grid { margin-top: 2.5rem; }
  .enterprise-clients { margin-top: 3rem; }
  .engagement-copy { max-width: 70ch; }
  .article-body p { max-width: 70ch; }
  .assistant-main { padding-block: 3rem 4rem; }
  .assistant-intro { margin-bottom: 2rem; }
  .assistant-log { height: clamp(320px, 43vh, 440px); }
  .site-footer { padding-top: 3rem; }
}

@media (min-width: 1600px) {
  .container, .footer-trust-links { --container: 1400px; }
  .hero-grid { gap: 4rem; }
  .enterprise-intro { gap: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.project-enquiry { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid currentColor; }
.project-enquiry > p { max-width: 65ch; }
.enquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0; }
.enquiry-fields label { display: grid; gap: 0.5rem; font-weight: 600; }
.enquiry-fields input, .enquiry-fields textarea { width: 100%; min-width: 0; padding: 0.85rem; border: 1px solid #73858a; border-radius: 4px; background: #fff; color: #152e39; font: inherit; }
.enquiry-fields textarea { resize: vertical; }
.enquiry-wide { grid-column: 1 / -1; }
.enquiry-fields :is(input, textarea):focus-visible { outline: 3px solid #8db9ff; outline-offset: 2px; }
@media (max-width: 600px) { .enquiry-fields { grid-template-columns: 1fr; } }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  padding: 0.85rem 0.65rem;
  white-space: nowrap;
  cursor: pointer;
}
.nav-dropdown-trigger::after { content: "\2304"; margin-left: 0.35rem; }
.nav-dropdown.is-current > button,
.nav-dropdown-trigger[aria-expanded="true"] { color: var(--accent-hot); }
.nav-dropdown-trigger:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: -2px; }
.site-nav .nav-dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 100;
  width: 260px;
  padding: 0.5rem;
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  background: #f8faf8;
  box-shadow: 0 16px 40px rgba(20, 45, 55, 0.16);
}
.site-nav .nav-dropdown-panel[hidden] { display: none; }
.site-nav .nav-dropdown-panel a {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.75rem;
  white-space: normal;
  border: 0;
  border-radius: 5px;
}
@media (max-width: 1100px) {
  .site-nav .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; min-height: 48px; text-align: left; }
  .nav-dropdown-trigger::after { float: right; }
  .site-nav .nav-dropdown-panel { position: static; width: 100%; box-shadow: none; }
  .site-nav.is-open { max-height: 75vh; overflow-y: auto; }
}

/* Compact delivery evidence and an email alternative share the existing type system. */
.delivery-proof { display: block; margin: 0 0 1.5rem; max-width: 70ch; color: var(--text-secondary); font-size: .875rem; line-height: 1.7; }
.delivery-proof strong { color: var(--text-primary); font-weight: 650; }
.delivery-proof a { display: inline-flex; align-items: center; min-height: 44px; margin-left: .5rem; text-underline-offset: 4px; }

.home-palette-hero {
  --hero-navy: #14213d;
  --hero-cream: #f4ede0;
  --hero-coral: #ff6b5b;
  --text-primary: var(--hero-cream);
  --text-secondary: #d7deeb;
  --text-muted: #c4cede;
  --surface-line-strong: #52617c;
  --accent: var(--hero-coral);
  background: radial-gradient(ellipse at 92% 5%, #233759, transparent 65%), var(--hero-navy);
  color: var(--hero-cream);
}
.home-palette-hero::after {
  background-image: linear-gradient(90deg, #f4ede014 1px, transparent 1px);
}
.home-palette-hero :is(h1, a:not(.button)) { color: var(--hero-cream); }
.home-palette-hero .enterprise-intro h1 span {
  color: var(--hero-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.045em;
}
.home-palette-hero .enterprise-intro { align-items: center; }
.home-palette-hero .enterprise-intro-copy {
  border-image: linear-gradient(90deg, var(--hero-coral) 2.5rem, var(--surface-line-strong) 2.5rem) 1;
}
.hero-proof-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 2rem;
  padding: .75rem 0;
  border-top: 1px solid var(--surface-line-strong);
}
.hero-proof-rail .delivery-proof { margin: 0; }
.hero-proof-rail > a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  font-size: .85rem;
  text-decoration: none;
}
.hero-proof-rail > a span { color: var(--hero-coral); }
.home-palette-hero a:not(.button):hover { color: var(--hero-coral); }
.home-palette-hero .enterprise-intro-copy .button {
  background: var(--hero-coral);
  border-color: var(--hero-coral);
  color: var(--hero-navy);
}
.home-palette-hero .enterprise-intro-copy .button:hover {
  background: #ff9487;
  border-color: #ff9487;
}
.home-palette-hero a:focus-visible { outline-color: var(--hero-cream); }
.home-palette-work {
  --text-primary: #14213d;
  --surface-line: #d8cdbb;
  --accent: #733b34;
  background: #f4ede0;
}
.home-palette-work .headline-lg { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.04em; }
.home-palette-work .work-card-visual { background: #ebe0cf; }
.home-palette-work .work-card-brief { background: linear-gradient(135deg, #ebe0cf, #faf6ef); }
.home-palette-work .work-card-number { background: #faf6ef; }
.home-palette-work .work-card-meta { border-top: 1px solid var(--surface-line); padding-top: .7rem; }

/* Keep the light panels readable inside the darker editorial hero. */
.site-header { background: #faf6eff7; }
.page-hero {
  background: radial-gradient(ellipse at 92% 5%, #283b5e, transparent 65%), var(--brand-navy);
}
.page-hero .hero-copy {
  --text-primary: var(--brand-cream);
  --text-secondary: #d7deeb;
  --text-muted: #c4cede;
  --surface-line-strong: #8793ad;
  --surface-soft: #2b3a56;
  --accent: var(--brand-coral);
  color: var(--text-primary);
}
.page-hero .hero-copy :is(h1, .accent-text),
.assistant-main h1,
.section-heading-row .headline-lg,
.section-header .headline-lg {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.page-hero .hero-copy :is(h1, a:not(.button)) { color: var(--brand-cream); }
.page-hero .hero-copy .accent-text { color: var(--brand-cream); font-style: italic; }
.page-hero .hero-panel { background: var(--bg-panel); border-top-color: var(--brand-coral); }
.button { color: var(--brand-navy); background: var(--brand-coral); border-color: var(--brand-coral); }
.button:hover { color: var(--brand-navy); background: #ff9487; border-color: #ff9487; }
.site-footer { background: var(--brand-cream); padding-block: clamp(1.75rem, 3vw, 2.5rem) 1rem; }
.site-footer > :is(.footer-grid, .footer-bottom, .footer-trust-links) { max-width: 68rem; }
.site-footer .footer-grid { column-gap: clamp(1.5rem, 3vw, 2.75rem); }
.site-footer .footer-card h3 { margin-bottom: .65rem; }
.site-footer .footer-bottom { justify-content: flex-start; gap: .25rem 1rem; padding-top: .55rem; }
.site-footer .footer-bottom .footer-trust-links { gap: .8rem; }
@media (min-width: 901px) {
  .site-footer .footer-card { padding-bottom: 1.25rem; }
  .site-footer .footer-grid .footer-links { grid-auto-rows: minmax(36px, auto); }
  .site-footer .footer-links :is(a, li > span) { min-height: 36px; }
  .site-footer .footer-bottom > p { margin-inline-start: auto; }
}
.site-nav .nav-cta,
.cta-panel .button {
  color: var(--brand-navy);
  background: var(--brand-coral);
  border-color: var(--brand-coral);
}
.site-nav .nav-cta:hover,
.cta-panel .button:hover {
  color: var(--brand-navy);
  background: #ff9487;
  border-color: #ff9487;
}
.page-hero .hero-copy .button-secondary:hover { background: var(--surface-soft); }
.page-hero .hero-copy :focus-visible { outline-color: var(--brand-cream); }
.lightbox-dialog { background: var(--bg-panel); }
.assistant-main .accent-text { font-style: italic; }
.assistant-conversation, .assistant-brief { background: var(--bg-panel); }
.site-shell main .eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  margin-inline-end: .5rem;
  vertical-align: .28em;
  background: var(--brand-coral);
}
.site-header .site-nav a[aria-current="page"]:not(.nav-cta) {
  box-shadow: inset 0 -3px var(--brand-coral);
}
.work-card-visual:has(img),
.engagement-shot,
.case-card {
  border-top: 3px solid #164dcc;
}
.enquiry-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.enterprise-contact { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 72rem;
  align-items: start;
}
.contact-intro .eyebrow { color: var(--brand-coral); }
.contact-intro .contact-heading { margin: .8rem 0 1.25rem; }
.contact-intro .contact-heading h2 {
  font: 400 clamp(2.15rem, 4vw, 3.6rem)/1.08 Georgia, "Times New Roman", serif;
  color: var(--brand-cream);
}
.contact-intro .contact-details { display: grid; gap: .65rem; margin-top: 1.25rem; padding-top: 1rem; }
.contact-layout .project-enquiry {
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid #53617b;
  background: #ffffff07;
}
.contact-layout .project-enquiry h3 { margin: 0 0 .65rem; }
.contact-layout .enquiry-fields { gap: .85rem; margin: 1rem 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-layout .button-secondary { color: var(--brand-cream); }
.contact-layout .button-secondary:hover { background: #ffffff14; }
.contact-layout :focus-visible { outline-color: var(--brand-cream); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); max-width: 42rem; } }
@media (max-width: 600px) { .contact-layout .enquiry-fields { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .delivery-proof a { margin-left: 0; }
  .enquiry-actions > button { width: 100%; justify-content: center; }
}
