@import "./tokens.css";

/* 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;
  }
}

}
