/* ==========================================================================
   Vashi Impact Group — Design System & Site Styles
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --red-50: #fdf2f2;
  --red-100: #fbe3e3;
  --red-200: #f6c4c5;
  --red-500: #e5262c;
  --red-600: #d7141a;
  --red-700: #b40f14;
  --red-800: #8c0c10;

  /* Neutrals (warm) */
  --ink: #16131a;
  --ink-2: #2a2630;
  --ink-3: #4a4552;
  --muted: #6b6573;
  --line: #e9e4df;
  --line-strong: #d9d2cb;
  --sand: #f7f3ef;
  --sand-2: #efe8e1;
  --white: #ffffff;
  --night: #110e14;
  --night-2: #1b1720;
  --night-line: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 5rem);
  --fs-display: clamp(2.75rem, 1.5rem + 5.4vw, 6rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --section: clamp(80px, 10vw, 136px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22, 19, 26, 0.06), 0 2px 8px rgba(22, 19, 26, 0.04);
  --shadow: 0 10px 30px -12px rgba(22, 19, 26, 0.18), 0 2px 6px rgba(22, 19, 26, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(22, 19, 26, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink-3);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--red-600);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--red-600);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--red-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(860px + var(--gutter) * 2);
}

.section {
  padding-block: var(--section);
  position: relative;
}

.section--tight {
  padding-block: calc(var(--section) * 0.65);
}

.section--sand {
  background: var(--sand);
}

.section--dark {
  background: var(--night);
  color: rgba(255, 255, 255, 0.72);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.grid {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
}

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split--wide-right {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.stack > * + * {
  margin-top: 1.25rem;
}

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-600);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section--dark .eyebrow,
.eyebrow--light {
  color: #ff7a7e;
}

.h1 {
  font-size: var(--fs-h1);
}

.h2 {
  font-size: var(--fs-h2);
}

.h3 {
  font-size: var(--fs-h3);
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--ink-3);
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.muted {
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head .h2 + .lead,
.section-head .h2 + p {
  margin-top: 20px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.section-head--row > div {
  max-width: 720px;
}

.prose p {
  color: var(--ink-3);
}

.prose h3 {
  font-size: var(--fs-h3);
  margin: 2em 0 0.6em;
}

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  --btn-bg: var(--red-600);
  box-shadow: 0 12px 24px -10px rgba(215, 20, 26, 0.55);
}

.btn--primary:hover {
  --btn-bg: var(--red-700);
  box-shadow: 0 18px 32px -12px rgba(215, 20, 26, 0.6);
}

.btn--dark:hover {
  --btn-bg: var(--ink-2);
  box-shadow: var(--shadow);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  border-color: var(--white);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  border-color: var(--ink);
}

.btn--white {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
}

.btn--white:hover {
  --btn-bg: var(--sand);
}

.btn--sm {
  min-height: 44px;
  padding: 11px 20px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  transition: color 0.25s, gap 0.35s var(--ease);
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  color: var(--red-600);
}

.link-arrow:hover {
  color: var(--red-600);
  gap: 12px;
}

.section--dark .link-arrow,
.award-card .link-arrow {
  color: var(--white);
}

.text-link {
  color: var(--red-600);
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.35s var(--ease);
}

.text-link:hover {
  background-size: 100% 1.5px;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.4s, box-shadow 0.4s, color 0.4s, height 0.4s var(--ease), transform 0.45s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 8, 12, 0.55), transparent);
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: none;
}

.site-header.is-scrolled {
  --header-h: 72px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(22, 19, 26, 0.25);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 34px;
  height: auto;
  transition: transform 0.5s var(--ease);
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text span {
  margin-top: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border: 0;
  background: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.25s, color 0.25s;
}

.nav-link .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-item:focus-within > .nav-link {
  background: rgba(255, 255, 255, 0.12);
}

.is-scrolled .nav-link:hover,
.is-scrolled .nav-item:focus-within > .nav-link {
  background: var(--sand);
}

.nav-link[aria-current="page"],
.nav-link.is-active {
  color: #ff8f92;
}

.is-scrolled .nav-link[aria-current="page"],
.is-scrolled .nav-link.is-active {
  color: var(--red-600);
}

.nav-item:hover > .nav-link .icon,
.nav-item:focus-within > .nav-link .icon {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 300px;
  padding: 10px;
  list-style: none;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(22, 19, 26, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}

.dropdown::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background-color 0.2s;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--sand);
}

.dropdown .dd-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--red-50);
  color: var(--red-600);
}

.dropdown .dd-icon .icon {
  width: 20px;
  height: 20px;
}

.dropdown strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.dropdown small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  min-height: 46px;
  padding: 12px 22px;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.is-scrolled .menu-toggle {
  border-color: var(--line-strong);
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s, transform 0.45s var(--ease), visibility 0.35s;
  overflow-y: auto;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--night-line);
}

.drawer-close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--night-line);
  border-radius: 50%;
  background: transparent;
}

.drawer-nav {
  padding: 16px var(--gutter) 32px;
  list-style: none;
}

.drawer-nav > li {
  border-bottom: 1px solid var(--night-line);
}

.drawer-nav > li > a,
.drawer-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

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

.drawer-nav summary .icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s var(--ease);
}

.drawer-nav details[open] summary .icon {
  transform: rotate(180deg);
}

.drawer-nav details ul {
  list-style: none;
  padding: 0 0 16px 4px;
}

.drawer-nav details a {
  display: block;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.drawer-nav a[aria-current="page"] {
  color: #ff8f92;
}

.drawer-foot {
  margin-top: auto;
  padding: 24px var(--gutter) 40px;
  display: grid;
  gap: 20px;
}

.drawer-foot .btn {
  width: 100%;
}

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 980px);
  min-height: min(100svh, 980px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 8s linear;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 10, 16, 0.92) 0%, rgba(14, 10, 16, 0.72) 42%, rgba(14, 10, 16, 0.2) 75%, rgba(14, 10, 16, 0.1) 100%),
    linear-gradient(0deg, rgba(14, 10, 16, 0.85) 0%, rgba(14, 10, 16, 0) 45%);
}

.hero-inner {
  width: 100%;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-badge b {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red-600);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero h1 em {
  color: #ff6b70;
}

.hero .lead {
  max-width: 600px;
  margin: 28px 0 40px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

.hero-locations span:first-child {
  color: var(--white);
  font-weight: 700;
}

.hero-locations span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 22px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--red-500);
}

.hero-locations span:nth-child(2)::before {
  display: none;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  position: relative;
  width: 44px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.hero-dot::before {
  content: "";
  position: absolute;
  inset: -10px 0;
}

.hero-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-dot.is-active::after {
  animation: dot-progress var(--slide-ms, 6500ms) linear forwards;
}

.hero.is-paused .hero-dot.is-active::after {
  animation-play-state: paused;
}

@keyframes dot-progress {
  to {
    transform: scaleX(1);
  }
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.hero-arrow:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.hero-arrow .icon {
  width: 18px;
  height: 18px;
}

.hero-arrow--prev .icon {
  transform: rotate(180deg);
}

/* Hero entrance */
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-in 1.1s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 120ms + 200ms);
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 104px);
  color: var(--white);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 18s ease-out forwards;
}

@keyframes slow-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(215, 20, 26, 0.35), transparent 60%),
    linear-gradient(90deg, rgba(14, 10, 16, 0.95) 0%, rgba(14, 10, 16, 0.8) 50%, rgba(14, 10, 16, 0.5) 100%);
}

.page-hero--plain::after {
  background:
    radial-gradient(ellipse 50% 70% at 90% 10%, rgba(215, 20, 26, 0.38), transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(215, 20, 26, 0.16), transparent 60%),
    var(--night);
}

.page-hero-content {
  max-width: 820px;
}

.page-hero h1 {
  color: var(--white);
  font-size: var(--fs-h1);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-hero h1 em {
  color: #ff6b70;
}

.page-hero .lead {
  margin-top: 24px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero .btn-row {
  margin-top: 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  list-style: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb [aria-current] {
  color: #ff8f92;
}

/* ---------- 9. Stats ---------- */
.stats-band {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: var(--night);
  color: var(--white);
}

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

.stat {
  padding: clamp(32px, 4vw, 52px) clamp(16px, 2.5vw, 36px);
  border-right: 1px solid var(--night-line);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.stat-value sup,
.stat-value small {
  font-size: 0.5em;
  color: #ff6b70;
  vertical-align: top;
  margin-left: 2px;
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

/* ---------- 10. About / intro ---------- */
.media-stack {
  position: relative;
  padding: 0 12% 14% 0;
}

.media-stack .media-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.media-stack .media-main img,
.media-stack .media-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-stack .media-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  border: 8px solid var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media-badge {
  position: absolute;
  left: -20px;
  bottom: 22%;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
  padding: 16px 20px 16px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.35;
  animation: float 6s ease-in-out infinite;
}

.media-badge img {
  width: 38px;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.check-list li {
  position: relative;
  padding-left: 40px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7141a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.section--dark .check-list li::before {
  background-color: rgba(215, 20, 26, 0.18);
}

/* ---------- 11. Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card h3 {
  font-size: 1.375rem;
  line-height: 1.25;
}

.card p {
  margin-top: 12px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.card .link-arrow {
  margin-top: auto;
  padding-top: 24px;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--red-50);
  color: var(--red-600);
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}

.icon-badge .icon {
  width: 26px;
  height: 26px;
}

.card:hover .icon-badge {
  background: var(--red-600);
  color: var(--white);
  transform: rotate(-6deg);
}

.section--sand .card {
  border-color: transparent;
}

/* Service cards (image) */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.07);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 10, 16, 0.55), transparent 55%);
}

.service-num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 30px;
}

.service-body .icon-badge {
  margin: -56px 0 20px;
  position: relative;
  z-index: 1;
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(215, 20, 26, 0.6);
}

.service-body h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}

.service-body p {
  margin-top: 12px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.service-body .link-arrow {
  margin-top: auto;
  padding-top: 22px;
}

.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ---------- 12. Promo / CTA banners ---------- */
.promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--red-700) 0%, var(--red-600) 55%, #e8463f 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.promo::before,
.promo::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.promo::before {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -200px;
}

.promo::after {
  width: 340px;
  height: 340px;
  right: -50px;
  top: -110px;
}

.promo h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  font-weight: 400;
}

.promo p {
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-lg);
}

.promo .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.promo-art {
  justify-self: end;
  width: min(100%, 300px);
  padding: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px -20px rgba(80, 0, 0, 0.5);
  animation: float 7s ease-in-out infinite;
}

.cta-band {
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 90% at 100% 0%, rgba(215, 20, 26, 0.5), transparent 60%),
    radial-gradient(ellipse 35% 60% at 0% 100%, rgba(215, 20, 26, 0.22), transparent 60%);
}

.cta-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: var(--fs-h2);
  font-weight: 400;
}

.cta-band p {
  margin-top: 16px;
  max-width: 620px;
  font-size: var(--fs-lg);
}

/* Grid pattern used on dark/tech sections */
.grid-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
}

/* ---------- 13. Thematic focus ---------- */
.focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.focus-sticky {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.focus-list {
  list-style: none;
  counter-reset: focus;
}

.focus-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 36px 0;
  border-top: 1px solid var(--night-line);
  transition: padding-left 0.5s var(--ease);
}

.focus-item:last-child {
  border-bottom: 1px solid var(--night-line);
}

.focus-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  background: var(--red-500);
  transition: width 0.7s var(--ease);
}

.focus-item:hover::before {
  width: 100%;
}

.focus-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: #ff6b70;
  padding-top: 6px;
}

.focus-item h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  font-weight: 400;
}

.focus-item h3 .icon {
  width: 28px;
  height: 28px;
  color: #ff6b70;
  stroke-width: 1.4;
}

.focus-item p {
  grid-column: 2;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

.section--light-focus .focus-item {
  border-color: var(--line);
}

/* light variant */
.focus-light .focus-item {
  border-top-color: var(--line);
}

.focus-light .focus-item:last-child {
  border-bottom-color: var(--line);
}

.focus-light .focus-item p {
  color: var(--muted);
}

.focus-light .focus-num,
.focus-light .focus-item h3 .icon {
  color: var(--red-600);
}

/* ---------- 14. Programme areas ---------- */
.areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.area {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.35;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}

.area:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--red-100);
}

.area-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--red-50);
  color: var(--red-600);
  transition: background-color 0.35s, color 0.35s;
}

.area:hover .area-icon {
  background: var(--red-600);
  color: var(--white);
}

.area-icon .icon {
  width: 24px;
  height: 24px;
}

/* ---------- 15. Testimonials ---------- */
.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4.5vw, 60px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.6;
  height: 44px;
  color: var(--red-600);
}

.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}

.quote-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red-600);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-author strong {
  display: block;
  color: var(--ink);
  font-size: var(--fs-sm);
}

.quote-author span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

/* Avatar is a <span> too — restore it after the generic span rule above */
.quote-author .avatar {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-500), var(--red-800));
  box-shadow: 0 8px 18px -8px rgba(215, 20, 26, 0.6), 0 0 0 4px var(--red-50);
}

.quote-author .avatar:has(img) {
  background: var(--sand-2);
}

.quote-author a:hover strong {
  color: var(--red-600);
}

.masonry {
  columns: 3 320px;
  column-gap: 24px;
}

.masonry > * {
  break-inside: avoid;
  margin-bottom: 24px;
}

.rec-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.rec-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.rec-card p {
  font-size: var(--fs-sm);
  line-height: 1.75;
}

.rec-card .quote-author {
  margin-top: 24px;
  padding-top: 20px;
}

.li-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4fb;
  color: #0a66c2;
  font-size: 0.72rem;
  font-weight: 700;
}

.li-badge .icon {
  width: 13px;
  height: 13px;
}

/* ---------- 16. Award ---------- */
.trust-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: stretch;
}

.quote-author .link-arrow {
  margin-left: auto;
}

.award-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 4.5vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #1d1820, var(--night));
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.award-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 420px;
  height: 420px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 98, 0.35), transparent 65%);
}

.award-card h3 {
  color: var(--white);
  font-size: var(--fs-h3);
  font-weight: 400;
}

.award-logo {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
}

.award-logo img {
  width: 100%;
  max-width: 340px;
}

/* ---------- 17. Clients marquee ---------- */
.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee + .marquee {
  margin-top: 16px;
}

.marquee-track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
  list-style: none;
  animation: marquee 60s linear infinite;
}

.marquee--reverse .marquee-track {
  animation-direction: reverse;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

.logo-tile {
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 0.4s var(--ease);
}

.logo-tile:hover {
  box-shadow: var(--shadow-sm);
}

.logo-tile:hover img {
  transform: scale(1.05);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  list-style: none;
}

.logo-grid .logo-tile {
  width: 100%;
}

/* ---------- 18. Regions ---------- */
.regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.region {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.region:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.region-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.region h3 {
  font-size: 1.3rem;
}

.region-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red-600);
}

.region-count small {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}

.section--sand .chip,
.section--sand .region .chip {
  background: var(--sand);
}

.chip--red {
  background: var(--red-50);
  color: var(--red-700);
}

/* ---------- 19. Tech initiative ---------- */
.tech {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.tech-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.tech-visual {
  position: relative;
  aspect-ratio: 1.15;
  border-radius: var(--radius-lg);
  border: 1px solid var(--night-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tech-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  animation: spin 40s linear infinite;
}

.tech-orbit:nth-child(1) {
  width: 46%;
  aspect-ratio: 1;
}

.tech-orbit:nth-child(2) {
  width: 70%;
  aspect-ratio: 1;
  animation-duration: 60s;
  animation-direction: reverse;
}

.tech-orbit:nth-child(3) {
  width: 94%;
  aspect-ratio: 1;
  animation-duration: 90s;
}

.tech-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 18px var(--red-500);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.tech-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 28%;
  background: linear-gradient(135deg, var(--red-500), var(--red-800));
  color: var(--white);
  box-shadow: 0 20px 50px -10px rgba(215, 20, 26, 0.6);
}

.tech-core .icon {
  width: 42%;
  height: 42%;
  stroke-width: 1.4;
}

/* ---------- 20. Team ---------- */
.leader {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.leader + .leader {
  margin-top: 24px;
}

.leader-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader h3 {
  font-size: var(--fs-h3);
}

.role {
  display: block;
  margin-top: 6px;
  color: var(--red-600);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.leader p {
  margin-top: 16px;
  font-size: var(--fs-sm);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.tab {
  padding: 10px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-3);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.member {
  position: relative;
  display: flex;
  flex-direction: column;
  animation: fade-in 0.5s var(--ease);
}

.member[hidden] {
  display: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.member-photo {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-2);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s var(--ease), filter 0.5s;
}

.member:hover .member-photo img {
  transform: scale(1.05);
}

.member-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-info {
  padding-top: 16px;
}

.member h3,
.member h4 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.member .role {
  margin-top: 4px;
  font-size: 0.85rem;
}

.member-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.bio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.bio-btn .icon {
  width: 16px;
  height: 16px;
  color: var(--red-600);
  transition: transform 0.3s var(--ease);
}

.bio-btn:hover {
  color: var(--red-600);
}

.bio-btn:hover .icon {
  transform: translateX(3px);
}

.social-mini {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  transition: background-color 0.25s, color 0.25s;
}

.social-mini:hover {
  background: #0a66c2;
  color: var(--white);
}

.social-mini .icon {
  width: 14px;
  height: 14px;
}

/* Dialog */
.bio-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink-3);
}

.bio-dialog::backdrop {
  background: rgba(14, 10, 16, 0.6);
  backdrop-filter: blur(4px);
}

.bio-dialog[open] {
  animation: dialog-in 0.45s var(--ease);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}

.bio-dialog-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: clamp(24px, 4vw, 44px);
}

.bio-dialog-photo {
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius);
  overflow: hidden;
}

.bio-dialog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-dialog h3 {
  font-size: var(--fs-h3);
  padding-right: 40px;
}

.bio-dialog .bio-text {
  margin-top: 18px;
  font-size: var(--fs-sm);
}

.bio-dialog .bio-text p + p {
  margin-top: 12px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  transition: background-color 0.25s, color 0.25s;
}

.dialog-close:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- 21. Values / pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pillar {
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.pillar--accent {
  background: var(--red-600);
  border-color: var(--red-600);
  color: rgba(255, 255, 255, 0.88);
}

.pillar--accent h3 {
  color: var(--white);
}

.pillar--accent .icon-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.pillar--dark {
  background: var(--night);
  border-color: var(--night);
  color: rgba(255, 255, 255, 0.72);
}

.pillar--dark h3 {
  color: var(--white);
}

.pillar--dark .icon-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #ff6b70;
}

.pillar h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.pillar p {
  font-size: var(--fs-sm);
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.statement em {
  color: var(--red-600);
}

/* ---------- 22. Content blocks (service pages) ---------- */
.side-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.side-nav {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  list-style: none;
  border-left: 1px solid var(--line);
}

.side-nav a {
  display: block;
  margin-left: -1px;
  padding: 10px 0 10px 20px;
  border-left: 2px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s;
}

.side-nav a:hover,
.side-nav a.is-active {
  color: var(--ink);
  border-left-color: var(--red-600);
}

.block {
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
}

.block + .block {
  margin-top: 24px;
}

.block-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.block-head .icon-badge {
  margin: 0;
}

.block h2,
.block h3 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 500;
}

.block-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red-600);
  font-size: var(--fs-sm);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: clamp(72px, 9vw, 120px);
}

.feature-row--reverse .feature-media {
  order: 2;
}

.feature-media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.feature-row:hover .feature-media img {
  transform: scale(1.04);
}

.feature-row h2,
.feature-row h3 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 400;
}

.feature-row p {
  margin-top: 18px;
}

.feature-row .btn,
.feature-row .link-arrow {
  margin-top: 28px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 50% 100% at 0% 50%, rgba(215, 20, 26, 0.45), transparent 70%);
}

.highlight-figure {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.03em;
}

.highlight-figure small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff8f92;
  margin-bottom: 8px;
}

.highlight h3 {
  color: var(--white);
  font-size: var(--fs-h3);
  font-weight: 400;
  margin-bottom: 12px;
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  transition: color 0.25s;
}

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

.accordion summary:hover {
  color: var(--red-600);
}

.acc-icon {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}

.acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .acc-icon {
  background: var(--red-600);
  border-color: var(--red-600);
  color: var(--white);
  transform: rotate(180deg);
}

details[open] .acc-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.acc-body {
  padding: 0 56px 28px 0;
  color: var(--ink-3);
}

.acc-body p + p {
  margin-top: 12px;
}

/* 70-20-10 bars */
.ratio-bars {
  display: grid;
  gap: 22px;
}

.ratio-bar strong {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--ink);
  font-size: var(--fs-sm);
  margin-bottom: 10px;
}

.ratio-bar strong span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--red-600);
  line-height: 1;
}

.ratio-track {
  height: 10px;
  border-radius: 10px;
  background: var(--sand-2);
  overflow: hidden;
}

.ratio-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-700), var(--red-500));
  transition: width 1.6s var(--ease);
}

.is-visible .ratio-fill {
  width: var(--w);
}

/* Case studies */
.case {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.case-flag {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red-50);
  color: var(--red-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case h3 {
  font-size: 1.5rem;
}

.case p {
  margin-top: 14px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Programmes */
.programme {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.programme:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecf7ef;
  color: #1c7a3d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status--upcoming {
  background: #fff5e6;
  color: #a35f00;
}

.status--upcoming::before {
  animation: pulse 1.8s ease-in-out infinite;
}

.status--closed {
  background: var(--red-50);
  color: var(--red-700);
}

@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}

.programme h3 {
  font-size: 1.5rem;
}

.programme p {
  margin-top: 14px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.programme .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}

.programme .meta .icon {
  color: var(--red-600);
}

.programme .link-arrow {
  margin-top: auto;
  padding-top: 24px;
}

/* Modules */
.modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  counter-reset: mod;
}

.module {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.4s var(--ease);
}

.module:hover {
  border-color: var(--red-200);
  box-shadow: var(--shadow);
}

.module-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
}

.module h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}

.module p,
.module li {
  margin-top: 12px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.module ul {
  list-style: none;
}

.module li strong {
  color: var(--ink);
}

.module--wide {
  grid-column: 1 / -1;
}

.module--wide ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

/* Facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius-lg);
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
}

.fact {
  padding: 28px;
  background: var(--white);
}

.fact .icon {
  width: 26px;
  height: 26px;
  color: var(--red-600);
  margin-bottom: 16px;
}

.fact small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.notice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--red-50);
  border: 1px solid var(--red-100);
  color: var(--ink-2);
  font-size: var(--fs-sm);
}

.notice .icon {
  width: 22px;
  height: 22px;
  color: var(--red-600);
}

/* Publications */
.pubs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.pub {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pub-cover {
  position: relative;
  aspect-ratio: 3 / 3.6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-2);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.pub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 1s var(--ease);
}

.pub-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 10, 16, 0.65), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.pub-open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-600);
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.5s var(--ease);
}

.pub:hover .pub-cover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pub:hover .pub-cover img {
  transform: scale(1.05);
}

.pub:hover .pub-cover::after,
.pub:hover .pub-open {
  opacity: 1;
  transform: none;
}

.pub-type {
  margin-top: 20px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-600);
}

.pub h3 {
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.35;
  transition: color 0.25s;
}

.pub:hover h3 {
  color: var(--red-600);
}

/* Jobs */
.job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: box-shadow 0.4s var(--ease), border-color 0.3s;
}

.job:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.job h3 {
  font-size: 1.4rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-meta .icon {
  width: 16px;
  height: 16px;
  color: var(--red-600);
}

/* ---------- 23. Forms ---------- */
.form-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.form-card h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 400;
}

.form-card > p {
  margin-top: 10px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.field label .req {
  color: var(--red-600);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgba(215, 20, 26, 0.12);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--red-600);
  background: var(--red-50);
}

.field-error {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--red-700);
}

.field-error:empty {
  display: none;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  grid-column: 1 / -1;
  margin-top: 4px;
}

.form-foot small {
  color: var(--muted);
  font-size: var(--fs-xs);
}

.form-status {
  grid-column: 1 / -1;
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: var(--fs-sm);
}

.form-status.is-success {
  display: flex;
  background: #ecf7ef;
  color: #1c5f33;
}

.form-status.is-error {
  display: flex;
  background: var(--red-50);
  color: var(--red-800);
}

.form-status .icon {
  margin-top: 2px;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 1025px) {
  .contact-layout > :first-child {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--white);
  transition: transform 0.4s var(--ease);
}

.contact-email:hover {
  transform: translateY(-4px);
}

.contact-email .icon-badge {
  margin: 0;
  background: var(--red-600);
  color: var(--white);
}

.contact-email small {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.contact-email strong {
  display: block;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  word-break: break-word;
}

.offices {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.office {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.4s var(--ease);
}

.office:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.office-code {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.office h3 {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.office address {
  margin-top: 4px;
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}

.office a {
  font-size: var(--fs-sm);
  color: var(--red-600);
  font-weight: 600;
}

/* ---------- 24. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--night);
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-sm);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(215, 20, 26, 0.18), transparent 60%);
}

.footer-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-block: clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--night-line);
}

.footer-cta h2 {
  max-width: 760px;
  color: var(--white);
  font-size: var(--fs-h2);
  font-weight: 400;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-block: clamp(56px, 7vw, 88px);
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 380px;
  margin-top: 24px;
  line-height: 1.75;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--white);
  font-weight: 700;
}

.footer-email .icon {
  color: #ff6b70;
}

.footer-email:hover {
  color: #ff8f92;
}

.footer-col h3 {
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-links a {
  position: relative;
  transition: color 0.25s, padding-left 0.35s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--night-line);
  color: var(--white);
  transition: background-color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}

.socials a:hover {
  background: var(--red-600);
  border-color: var(--red-600);
  transform: translateY(-3px);
}

.socials .icon {
  width: 18px;
  height: 18px;
}

.socials--dark a {
  border-color: var(--line-strong);
  color: var(--ink);
}

.socials--dark a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 28px;
  border-top: 1px solid var(--night-line);
  font-size: var(--fs-xs);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.to-top span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--night-line);
  transition: background-color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}

.to-top .icon {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}

.to-top:hover span {
  background: var(--red-600);
  border-color: var(--red-600);
  transform: translateY(-3px);
}

/* ---------- 25. Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal="left"] {
  transform: translateX(-40px);
}

.js [data-reveal="right"] {
  transform: translateX(40px);
}

.js [data-reveal="zoom"] {
  transform: scale(0.94);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 26. Responsive ---------- */
@media (max-width: 1180px) {
  .nav-list,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

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

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

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(3) {
    padding-left: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--night-line);
  }

  .focus-layout,
  .side-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .focus-sticky,
  .side-nav {
    position: static;
  }

  .side-nav {
    display: none;
  }

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

  .tech-card {
    grid-template-columns: 1fr;
  }

  .tech-visual {
    max-width: 460px;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .split,
  .split--wide-right,
  .trust-grid,
  .feature-row,
  .promo,
  .cta-band-grid,
  .leader {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-media {
    order: 0;
  }

  .promo-art {
    justify-self: start;
    width: 180px;
    padding: 18px;
  }

  .leader-photo {
    max-width: 320px;
  }

  .media-stack {
    max-width: 560px;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .module--wide ul {
    grid-template-columns: 1fr;
  }

  .bio-dialog-inner {
    grid-template-columns: 1fr;
  }

  .bio-dialog-photo {
    width: 160px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .pillars,
  .regions,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .stat {
    padding-inline: 0 12px;
  }

  .stat:nth-child(even) {
    padding-left: 16px;
  }

  .brand-text strong {
    font-size: 1.4rem;
  }

  .brand img {
    width: 30px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .hero-locations span + span::before {
    margin-right: 12px;
  }

  .hero-locations {
    gap: 6px 12px;
  }

  .hero-arrow {
    display: none;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .focus-item {
    grid-template-columns: 1fr;
  }

  .focus-item p {
    grid-column: 1;
  }

  .media-badge {
    left: 8px;
  }

  .highlight {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .acc-body {
    padding-right: 0;
  }

  .logo-tile {
    width: 140px;
    height: 96px;
  }

  .job {
    padding: 24px;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 1;
  }

  .marquee-track[aria-hidden="true"] {
    display: none;
  }

  .hero-anim {
    opacity: 1;
    transform: none;
  }
}
