/* ==========================================================================
   Variables
   ========================================================================== */

:root {
  --font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --ink: #f4f8fb;
  --muted: #a9b7c7;
  --soft: #d8e3ee;
  --line: rgba(191, 210, 230, 0.2);
  --line-strong: rgba(191, 210, 230, 0.34);
  --panel: rgba(9, 17, 27, 0.78);
  --panel-solid: #0b1420;
  --panel-soft: #101d2b;
  --navy: #050c14;
  --deep: #07111c;
  --blue: #5fa7e8;
  --cyan: #68d7d1;
  --amber: #ffb84d;
  --amber-strong: #f59a23;
  --green: #a6ce39;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --ease: cubic-bezier(0.2, 0.72, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration: 240ms;
  --duration-slow: 680ms;
  --authorized-agent-image: url("../img/_AuthorisedAgents.webp");
  --portal-image: url("../img/_Portal.webp");

  --repair-image: url("../img/_MaintenanceRepair.webp");
  --training-primary-image: url("../img/_TrainingPri.webp");
  --training-secondary-image: url("../img/_TrainingSec.webp");
  --land-engine-image: url("../img/_LandEngine.webp");
  
  --parts-image: url("../img/_SpareParts.webp");
  --sales-image: url("../img/_SalesCommissioning.webp");

  --director-image: url("../img/_KanedaSan.jpg");
  --profile-image: url("../img/_MoreAboutUs_Download.webp");
  
  --control-image: var(--authorized-agent-image);
  --workshop-image: var(--repair-image);
  color-scheme: dark;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

html[data-theme="light"] {
  --ink: #071722;
  --muted: #2d3f4f;
  --soft: #122b3b;
  --line: rgba(7, 23, 34, 0.18);
  --line-strong: rgba(7, 23, 34, 0.32);
  --panel: rgba(170, 180, 189, 0.78);
  --panel-solid: #aab4bd;
  --panel-soft: #8f9ca7;
  --navy: #748391;
  --deep: #4f6578;
  --blue: #2f5978;
  --cyan: #155a61;
  --amber: #c9822c;
  --amber-strong: #ad6c1f;
  --green: #667b31;
  --shadow: 0 22px 58px rgba(7, 23, 34, 0.23);
  color-scheme: light;
}

body[data-page="home"] {
  --hero-position: center 30%;
}

body[data-page="contact"] {
  --page-hero-position: center;
}

body[data-page="about"] {
  --page-hero-position: center;
}

body[data-page="principals"] {
  --page-hero-position: center 30%;
}

body[data-page="training"] {
  --page-hero-position: center;
  --page-hero-compact-position: center;
}

body[data-page="privacy"] {
  --page-hero-compact-position: right;
}

body[data-page="portal"] {
  --portal-image: var(--portal-image);
}

/* ==========================================================================
   Base
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(95, 167, 232, 0.18), transparent 32rem),
    linear-gradient(180deg, #050a10 0%, #08131f 38%, #07101a 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 18% 12%, rgba(143, 156, 167, 0.3), transparent 30rem),
    linear-gradient(180deg, #748391 0%, #8f9ca7 42%, #aab4bd 100%);
  color: var(--ink);
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

select {
  color-scheme: dark;
  background-color: var(--panel-soft);
  color: var(--ink);
}

html[data-theme="light"] select {
  color-scheme: light;
  background-color: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

select option {
  color: var(--ink);
  background-color: var(--panel-solid);
}

select option:checked,
select option:hover,
select option:focus {
  color: var(--ink);
  background: linear-gradient(90deg, rgba(104, 215, 209, 0.22), rgba(95, 167, 232, 0.18));
}

:focus-visible {
  outline: 3px solid rgba(104, 215, 209, 0.72);
  outline-offset: 3px;
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 20, 0.88);
  backdrop-filter: blur(18px);
  transition:
    background-color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

html[data-theme="light"] .site-header {
  background: rgba(79, 101, 120, 0.9);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 220px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  max-height: 66px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 1;
}

.site-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .login-link {
  margin-left: 8px;
  border: 1px solid rgba(255, 184, 77, 0.6);
  color: #1c1205;
  background: var(--amber);
}

.site-nav .login-link::after {
  display: none;
}

.site-nav .login-link:hover,
.site-nav .login-link[aria-current="page"] {
  color: #110c05;
  background: #ffd17d;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.theme-toggle:hover {
  border-color: rgba(104, 215, 209, 0.55);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.language-switcher {
  position: relative;
  display: inline-flex;
  margin-left: 6px;
}

.language-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  border-color: rgba(104, 215, 209, 0.55);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.language-icon {
  width: 20px;
  height: 20px;
}

.language-icon circle,
.language-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 35;
  width: max-content;
  min-width: 154px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(5, 12, 20, 0.98);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .language-menu {
  background: rgba(79, 101, 120, 0.98);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  color: var(--soft);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.language-menu button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-selected="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
}

.language-menu button[aria-selected="true"]::after {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 184, 77, 0.13);
}

.theme-icon {
  width: 20px;
  height: 20px;
}

.theme-icon-moon {
  display: none;
}

html[data-theme="light"] .theme-icon-sun {
  display: none;
}

html[data-theme="light"] .theme-icon-moon {
  display: block;
}

.theme-icon path,
.theme-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(760px, 78vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy);
}

.hero-background,
.page-hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-background {
  object-position: var(--hero-position, center);
}

.page-hero-background {
  object-position: var(--page-hero-position, center);
}

.page-hero.compact .page-hero-background {
  object-position: var(--page-hero-compact-position, var(--page-hero-position, center));
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(5, 12, 20, 0.9), rgba(5, 12, 20, 0.62) 46%, rgba(5, 12, 20, 0.16)),
    linear-gradient(180deg, rgba(3, 10, 17, 0.02), rgba(3, 10, 17, 0.46));
}

html[data-theme="light"] .hero::before {
  background:
    linear-gradient(90deg, rgba(212, 220, 226, 0.86), rgba(212, 220, 226, 0.58) 48%, rgba(212, 220, 226, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(143, 156, 167, 0.34));
}

.hero::after,
.visual-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero::after {
  z-index: 1;
}

.motion-ready .hero::after,
.motion-ready .visual-band::after {
  animation: grid-drift 24s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  text-decoration: none;
  transition:
    color var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.button.primary {
  border-color: rgba(255, 184, 77, 0.72);
  color: #1b1104;
  background: var(--amber);
}

.button.primary:hover {
  background: #ffd17d;
}

.button:hover {
  border-color: rgba(104, 215, 209, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.button:disabled,
.login-card input:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 48px;
}

.metric {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 28, 0.74);
  box-shadow: var(--shadow);
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

html[data-theme="light"] .metric {
  background: rgba(170, 180, 189, 0.78);
}

.metric strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.metric strong.is-counting {
  will-change: contents;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

body.dynamic-home .hero-metrics {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 14px;
}

body.dynamic-home .dynamic-stat {
  position: relative;
  min-height: 126px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 20px;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026)) padding-box,
    linear-gradient(145deg, rgba(104, 215, 209, 0.48), rgba(255, 184, 77, 0.18), rgba(255, 255, 255, 0.05)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"] body.dynamic-home .dynamic-stat {
  background:
    linear-gradient(145deg, rgba(235, 241, 246, 0.74), rgba(187, 196, 204, 0.7)) padding-box,
    linear-gradient(145deg, rgba(21, 90, 97, 0.48), rgba(201, 130, 44, 0.22), rgba(7, 23, 34, 0.08)) border-box;
}

body.dynamic-home .dynamic-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.62;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(104, 215, 209, 0.12) 50%, transparent 58%),
    radial-gradient(circle at 86% 16%, rgba(255, 184, 77, 0.16), transparent 5.6rem);
  transform: translateX(-18%);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration-slow) var(--ease-out);
}

body.dynamic-home .dynamic-stat::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--amber), transparent);
  opacity: 0.78;
}

body.dynamic-home .dynamic-stat:hover::before {
  opacity: 0.9;
  transform: translateX(0);
}

body.dynamic-home .metric-marker {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(104, 215, 209, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

body.dynamic-home .metric-marker::before,
body.dynamic-home .metric-marker::after {
  content: "";
  display: block;
}

body.dynamic-home .stat-founded .metric-marker::before {
  width: 19px;
  height: 19px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(255, 184, 77, 0.12);
}

body.dynamic-home .stat-founded .metric-marker::after {
  position: absolute;
  width: 2px;
  height: 18px;
  background: var(--cyan);
  transform: translateY(12px);
}

body.dynamic-home .stat-team .metric-marker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    -10px 10px 0 var(--amber),
    10px 10px 0 rgba(104, 215, 209, 0.9);
}

body.dynamic-home .stat-team .metric-marker::after {
  position: absolute;
  bottom: 9px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

body.dynamic-home .stat-engineers .metric-marker::before {
  width: 23px;
  height: 23px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

body.dynamic-home .stat-engineers .metric-marker::after {
  position: absolute;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 184, 77, 0.06);
}

body.dynamic-home .dynamic-stat strong,
body.dynamic-home .dynamic-stat span:not(.metric-marker) {
  position: relative;
  z-index: 1;
}

body.dynamic-home .dynamic-stat span:not(.metric-marker) {
  max-width: 14rem;
}

/* ==========================================================================
   Layout and Sections
   ========================================================================== */

.section {
  padding: 86px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

html[data-theme="light"] .section.alt {
  background: rgba(255, 255, 255, 0.2);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header.center {
  display: block;
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.section-header p,
.section-lede {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid > *,
.section-header > *,
.feature-band > *,
.story-grid > *,
.fact-grid > *,
.principal-grid > *,
.office-grid > *,
.global-summary-grid > * {
  min-width: 0;
}

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

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

/* Homepage capability cards use their own balanced 2 x 2 grid. */
.capabilities-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ==========================================================================
   Cards and Panels
   ========================================================================== */

.card,
.office-card,
.principal-card,
.fact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

html[data-theme="light"] .card,
html[data-theme="light"] .office-card,
html[data-theme="light"] .principal-card,
html[data-theme="light"] .fact-card {
  background: linear-gradient(180deg, rgba(187, 196, 204, 0.6), rgba(170, 180, 189, 0.82));
}

.card {
  overflow: hidden;
}

@media (hover: hover) {
  .card:hover,
  .office-card:hover,
  .principal-card:hover,
  .fact-card:hover,
  .metric:hover {
    border-color: rgba(104, 215, 209, 0.46);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
    transform: translateY(-4px);
  }

  .card:hover .image-card {
    transform: scale(1.025);
  }
}

.card-body {
  padding: 24px;
}

.card p,
.office-card p,
.principal-card p,
.fact-card p {
  color: var(--muted);
}

.image-card {
  min-height: 230px;
  background: var(--panel-soft);
  transition: transform var(--duration-slow) var(--ease-out);
}

.image-card.engine {
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0), rgba(5, 12, 20, 0.18)),
    var(--sales-image) center / cover;
}

.image-card.control {
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0), rgba(5, 12, 20, 0.18)),
    var(--control-image) center / cover;
}

.image-card.workshop {
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0), rgba(5, 12, 20, 0.18)),
    var(--workshop-image) center / cover;
}

.image-card.parts {
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0), rgba(5, 12, 20, 0.16)),
    var(--parts-image) center / cover;
}

.image-card.land-engine {
  /* Replace --land-engine-image with an approved WebP asset when available. */
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.12), rgba(255, 184, 77, 0.08)),
    linear-gradient(180deg, rgba(5, 12, 20, 0), rgba(5, 12, 20, 0.16)),
    var(--land-engine-image);
  background-position: center;
  background-size: cover;
}

.image-card.training-primary {
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0), rgba(5, 12, 20, 0.18)),
    var(--training-primary-image) center / cover;
}

.image-card.training-secondary {
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0), rgba(5, 12, 20, 0.16)),
    var(--training-secondary-image) center / cover;
}

.tag-list,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.tag-list li,
.pill,
.filter-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    color var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.feature-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 17, 27, 0.72);
  transition:
    border-color var(--duration) var(--ease),
    background-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

@media (hover: hover) {
  .feature-panel:hover {
    border-color: rgba(104, 215, 209, 0.42);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
  }
}

html[data-theme="light"] .feature-panel {
  background: rgba(170, 180, 189, 0.7);
}

.feature-panel p {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--soft);
}

.list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 184, 77, 0.12);
}

body.dynamic-home .lifecycle-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 88% 18%, rgba(104, 215, 209, 0.09), transparent 24rem);
}

html[data-theme="light"] body.dynamic-home .lifecycle-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 88% 18%, rgba(21, 90, 97, 0.12), transparent 24rem);
}

body.dynamic-home .lifecycle-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 34px;
}

body.dynamic-home .lifecycle-flow::before {
  content: "";
  position: absolute;
  top: 50px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(104, 215, 209, 0.12), rgba(104, 215, 209, 0.58), rgba(255, 184, 77, 0.52), rgba(104, 215, 209, 0.12));
}

body.dynamic-home .lifecycle-step {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: start;
  padding: 54px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.028));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

html[data-theme="light"] body.dynamic-home .lifecycle-step {
  background:
    linear-gradient(180deg, rgba(212, 220, 226, 0.55), rgba(187, 196, 204, 0.74));
}

body.dynamic-home .lifecycle-step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 0 1px rgba(104, 215, 209, 0.58),
    0 0 0 8px rgba(104, 215, 209, 0.1);
  transform: translateX(-50%);
}

body.dynamic-home .lifecycle-step::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(104, 215, 209, 0.1), transparent 46%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

body.dynamic-home .lifecycle-step:hover {
  border-color: rgba(104, 215, 209, 0.48);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
}

body.dynamic-home .lifecycle-step:hover::after {
  opacity: 1;
}

body.dynamic-home .step-number {
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

body.dynamic-home .lifecycle-step h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

body.dynamic-home .lifecycle-step p {
  margin-bottom: 0;
  color: var(--muted);
}

body.dynamic-home .global-reach-strip {
  position: relative;
  padding: 52px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 184, 77, 0.09), rgba(104, 215, 209, 0.07)),
    rgba(255, 255, 255, 0.025);
}

html[data-theme="light"] body.dynamic-home .global-reach-strip {
  background:
    linear-gradient(90deg, rgba(201, 130, 44, 0.16), rgba(21, 90, 97, 0.12)),
    rgba(170, 180, 189, 0.25);
}

body.dynamic-home .global-reach-strip .section-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

body.dynamic-home .reach-copy h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

body.dynamic-home .reach-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.dynamic-home .reach-chip {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    border-color var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease);
}

body.dynamic-home .reach-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(104, 215, 209, 0.1);
}

body.dynamic-home .reach-chip:hover {
  border-color: rgba(255, 184, 77, 0.5);
  color: var(--ink);
  transform: translateY(-2px);
}

body.dynamic-site .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

body.dynamic-site .page-hero .section-inner {
  position: relative;
  z-index: 2;
}

body.dynamic-site .card,
body.dynamic-site .feature-panel,
body.dynamic-site .fact-card,
body.dynamic-site .principal-card,
body.dynamic-site .office-card,
body.dynamic-site .quote-panel,
body.dynamic-site .profile-download {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.026));
}

html[data-theme="light"] body.dynamic-site .card,
html[data-theme="light"] body.dynamic-site .feature-panel,
html[data-theme="light"] body.dynamic-site .fact-card,
html[data-theme="light"] body.dynamic-site .principal-card,
html[data-theme="light"] body.dynamic-site .office-card,
html[data-theme="light"] body.dynamic-site .quote-panel,
html[data-theme="light"] body.dynamic-site .profile-download {
  background:
    linear-gradient(180deg, rgba(235, 241, 246, 0.62), rgba(187, 196, 204, 0.74));
}

body.dynamic-site .legal-copy {
  padding: 6px 0 0;
}

body.dynamic-site .policy-divider {
  height: 1px;
  margin: 30px 0 22px;
  background:
    linear-gradient(90deg, transparent, rgba(104, 215, 209, 0.34) 24%, rgba(255, 184, 77, 0.4) 50%, rgba(104, 215, 209, 0.34) 76%, transparent);
}

html[data-theme="light"] body.dynamic-site .policy-divider {
  background:
    linear-gradient(90deg, transparent, rgba(21, 90, 97, 0.28) 24%, rgba(173, 108, 31, 0.34) 50%, rgba(21, 90, 97, 0.28) 76%, transparent);
}

body.dynamic-home .metric-marker {
  border-color: rgba(104, 215, 209, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032));
}

body.dynamic-home .stat-founded .metric-marker::before {
  width: 23px;
  height: 18px;
  border: 2px solid var(--amber);
  border-top-width: 6px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 0 34%, rgba(255, 184, 77, 0.38) 34% 42%, transparent 42% 58%, rgba(255, 184, 77, 0.38) 58% 66%, transparent 66%),
    linear-gradient(180deg, transparent 0 42%, rgba(104, 215, 209, 0.44) 42% 52%, transparent 52%);
  box-shadow: none;
}

body.dynamic-home .stat-founded .metric-marker::after {
  position: absolute;
  top: 11px;
  width: 29px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  transform: none;
}

body.dynamic-home .stat-team .metric-marker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    -11px 2px 0 rgba(104, 215, 209, 0.78),
    11px 2px 0 rgba(255, 184, 77, 0.88);
}

body.dynamic-home .stat-team .metric-marker::after {
  position: absolute;
  bottom: 10px;
  width: 30px;
  height: 12px;
  border: 2px solid var(--amber);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: transparent;
}

body.dynamic-home .stat-engineers .metric-marker::before {
  width: 24px;
  height: 24px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, rgba(104, 215, 209, 0.7) 45% 55%, transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(104, 215, 209, 0.7) 45% 55%, transparent 55%);
}

body.dynamic-home .stat-engineers .metric-marker::after {
  position: absolute;
  width: 12px;
  height: 26px;
  border: 2px solid var(--amber);
  border-top: 0;
  border-bottom: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

body.dynamic-home .lifecycle-flow {
  gap: 22px;
  padding-top: 0;
}

body.dynamic-home .lifecycle-flow::before {
  display: none;
}

body.dynamic-home .lifecycle-step {
  min-height: 218px;
  padding: 28px 24px 24px;
  border-color: rgba(191, 210, 230, 0.24);
}

body.dynamic-home .lifecycle-step::before {
  top: 24px;
  left: auto;
  right: 22px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(104, 215, 209, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.24), rgba(255, 184, 77, 0.12)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: none;
}

body.dynamic-home .lifecycle-step::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(104, 215, 209, 0.62), rgba(255, 184, 77, 0.5));
  opacity: 0.9;
}

body.dynamic-home .lifecycle-step:last-child::after {
  display: none;
}

body.dynamic-home .step-number {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
}

body.dynamic-home .step-number::after {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
}

body.dynamic-home .lifecycle-step:hover::after {
  opacity: 1;
}

body.dynamic-home .reach-chip {
  text-decoration: none;
}

body.dynamic-home .reach-chip:focus-visible {
  outline-offset: 4px;
}

body.dynamic-site .office-search-panel {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-bottom: 16px;
}

body.dynamic-site .office-search-panel label {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.dynamic-site .office-search-panel input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
  transition:
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}

body.dynamic-site .office-search-panel input:focus {
  border-color: rgba(104, 215, 209, 0.72);
  box-shadow: 0 0 0 4px rgba(104, 215, 209, 0.12);
}

html[data-theme="light"] body.dynamic-site .office-search-panel input {
  background: rgba(212, 220, 226, 0.42);
}

body.dynamic-site .section-header {
  position: relative;
}

body.dynamic-site .section-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: -14px;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  opacity: 0.7;
}

body.dynamic-site .card,
body.dynamic-site .feature-panel,
body.dynamic-site .fact-card,
body.dynamic-site .principal-card,
body.dynamic-site .office-card,
body.dynamic-site .quote-panel,
body.dynamic-site .profile-download {
  position: relative;
  overflow: hidden;
}

body.dynamic-site .card::after,
body.dynamic-site .feature-panel::after,
body.dynamic-site .fact-card::after,
body.dynamic-site .principal-card::after,
body.dynamic-site .office-card::after,
body.dynamic-site .profile-download::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(255, 184, 77, 0.08), transparent 34%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

body.dynamic-site .card:hover::after,
body.dynamic-site .feature-panel:hover::after,
body.dynamic-site .fact-card:hover::after,
body.dynamic-site .principal-card:hover::after,
body.dynamic-site .office-card:hover::after,
body.dynamic-site .profile-download:hover::after {
  opacity: 1;
}

body.dynamic-home .lifecycle-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 184, 77, 0.08), transparent 21rem),
    radial-gradient(circle at 90% 20%, rgba(104, 215, 209, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0.038));
}

body.dynamic-home .lifecycle-flow {
  --lifecycle-gap: 24px;
  gap: 24px;
  padding-top: 34px;
}

body.dynamic-home .lifecycle-flow::before {
  display: block;
  top: 16px;
  left: calc(12.5% - 9px);
  right: calc(12.5% - 9px);
  height: 1px;
  background:
    linear-gradient(90deg, rgba(104, 215, 209, 0.62), rgba(255, 184, 77, 0.46), rgba(104, 215, 209, 0.62));
  box-shadow: 0 0 18px rgba(104, 215, 209, 0.1);
}

body.dynamic-home .lifecycle-step {
  min-height: 232px;
  padding: 78px 24px 24px;
  border-color: rgba(191, 210, 230, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.026)),
    linear-gradient(135deg, rgba(104, 215, 209, 0.04), transparent 46%);
}

body.dynamic-home .lifecycle-step::before {
  display: none;
}

body.dynamic-home .lifecycle-step::after {
  content: none;
}

body.dynamic-home .lifecycle-milestone {
  position: absolute;
  top: -23px;
  left: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(5, 12, 20, 0.95);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 0 5px rgba(104, 215, 209, 0.12),
    0 0 18px rgba(104, 215, 209, 0.2);
  opacity: 1;
  transform: translateX(-50%);
  z-index: 2;
}

body.dynamic-home .lifecycle-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(104, 215, 209, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.18), rgba(255, 184, 77, 0.09)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.14);
}

body.dynamic-home .lifecycle-icon::before,
body.dynamic-home .lifecycle-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

body.dynamic-home .lifecycle-supply .lifecycle-icon::before {
  width: 24px;
  height: 18px;
  border: 2px solid var(--amber);
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(255, 184, 77, 0.48) 45% 55%, transparent 55%),
    linear-gradient(180deg, rgba(255, 184, 77, 0.08), transparent);
}

body.dynamic-home .lifecycle-supply .lifecycle-icon::after {
  width: 28px;
  height: 7px;
  border: 2px solid var(--cyan);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  transform: translate(-50%, -150%);
}

body.dynamic-home .lifecycle-commissioning .lifecycle-icon::before {
  width: 22px;
  height: 26px;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(104, 215, 209, 0.8) 24% 34%, transparent 34%),
    repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 184, 77, 0.54) 6px 8px, transparent 8px 12px);
}

body.dynamic-home .lifecycle-commissioning .lifecycle-icon::after {
  width: 19px;
  height: 5px;
  border-radius: 999px;
  background: var(--amber);
  transform: translate(-10%, 70%) rotate(-38deg);
  box-shadow: -8px 0 0 0 var(--amber);
}

body.dynamic-home .lifecycle-maintenance .lifecycle-icon::before {
  width: 22px;
  height: 22px;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 34%, rgba(104, 215, 209, 0.35) 36% 44%, transparent 46%);
  box-shadow:
    0 -9px 0 -5px var(--cyan),
    0 9px 0 -5px var(--cyan),
    9px 0 0 -5px var(--cyan),
    -9px 0 0 -5px var(--cyan);
}

body.dynamic-home .lifecycle-maintenance .lifecycle-icon::after {
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: var(--amber);
  transform: translate(-35%, 28%) rotate(-42deg);
  box-shadow: 11px 0 0 -1px var(--amber);
}

body.dynamic-home .lifecycle-parts .lifecycle-icon::before {
  width: 25px;
  height: 25px;
  border: 3px solid var(--amber);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 184, 77, 0.12) 0 30%, transparent 32%),
    linear-gradient(90deg, transparent 45%, rgba(104, 215, 209, 0.8) 45% 55%, transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(104, 215, 209, 0.8) 45% 55%, transparent 55%);
  box-shadow:
    0 -10px 0 -6px var(--amber),
    0 10px 0 -6px var(--amber),
    10px 0 0 -6px var(--amber),
    -10px 0 0 -6px var(--amber);
}

body.dynamic-home .lifecycle-parts .lifecycle-icon::after {
  width: 11px;
  height: 11px;
  border: 2px solid var(--cyan);
  border-radius: 2px;
  background: rgba(104, 215, 209, 0.08);
  transform: translate(30%, 22%);
}

body.dynamic-home .step-number {
  position: absolute;
  top: 28px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.dynamic-home .step-number::after {
  display: none;
}

body.dynamic-home .lifecycle-step h3 {
  margin-bottom: 12px;
  padding-right: 18px;
}

body.dynamic-home .lifecycle-step:hover .lifecycle-milestone {
  box-shadow:
    0 0 0 5px rgba(104, 215, 209, 0.12),
    0 0 18px rgba(104, 215, 209, 0.2);
}

body.dynamic-home .global-presence-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 184, 77, 0.075), rgba(104, 215, 209, 0.068)),
    radial-gradient(circle at 86% 18%, rgba(104, 215, 209, 0.09), transparent 26rem),
    rgba(255, 255, 255, 0.018);
}

body.dynamic-home .global-presence-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}

body.dynamic-home .global-presence-section .section-inner {
  position: relative;
  z-index: 1;
}

body.dynamic-home .global-presence-section .reach-chips {
  margin-top: 24px;
}

body.dynamic-home .global-presence-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

body.dynamic-home .global-presence-copy p {
  margin-bottom: 0;
}

body.dynamic-home .global-presence-copy .section-actions {
  margin-top: 2px;
}

body.dynamic-home .global-office-summary {
  display: block;
  margin-top: 28px;
}

body.dynamic-home .global-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.dynamic-home .global-fact {
  min-height: 128px;
  padding-left: 62px;
}

body.dynamic-home .global-fact::before,
body.dynamic-site .office-card::before,
body.dynamic-site .principal-card::before {
  content: "";
  position: absolute;
  border: 1px solid rgba(104, 215, 209, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.18), rgba(255, 184, 77, 0.08)),
    rgba(255, 255, 255, 0.04);
}

body.dynamic-home .global-fact::before {
  left: 18px;
  top: 22px;
  width: 28px;
  height: 28px;
}

body.dynamic-home .global-head-office::before {
  background:
    linear-gradient(180deg, var(--amber) 0 6px, transparent 6px),
    linear-gradient(90deg, transparent 0 32%, rgba(104, 215, 209, 0.56) 32% 42%, transparent 42% 58%, rgba(104, 215, 209, 0.56) 58% 68%, transparent 68%),
    rgba(255, 255, 255, 0.04);
}

body.dynamic-home .global-service-reach::before {
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, rgba(104, 215, 209, 0.7) 45% 55%, transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(104, 215, 209, 0.7) 45% 55%, transparent 55%),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 7px rgba(255, 184, 77, 0.12);
}

body.dynamic-home .global-support-email::before {
  border-radius: 6px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 50% 29% / 66% 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 50% 71% / 66% 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 17% 50% / 2px 42% no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 83% 50% / 2px 42% no-repeat,
    linear-gradient(145deg, transparent 42%, rgba(255, 184, 77, 0.86) 44% 50%, transparent 52%) 42% 55% / 44% 42% no-repeat,
    linear-gradient(35deg, transparent 42%, rgba(255, 184, 77, 0.86) 44% 50%, transparent 52%) 58% 55% / 44% 42% no-repeat,
    rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] body.dynamic-home .global-presence-section {
  background:
    linear-gradient(90deg, rgba(201, 130, 44, 0.15), rgba(21, 90, 97, 0.12)),
    radial-gradient(circle at 86% 18%, rgba(21, 90, 97, 0.1), transparent 26rem),
    rgba(170, 180, 189, 0.24);
}

body.dynamic-site .field-shell,
body.dynamic-site .principal-search-panel {
  position: relative;
}

body.dynamic-site .field-shell .search-icon,
body.dynamic-site .principal-search-panel .search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

body.dynamic-site .field-shell .search-icon::after,
body.dynamic-site .principal-search-panel .search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
  transform: rotate(45deg);
}

body.dynamic-site .office-search-panel {
  grid-template-columns: minmax(220px, 0.42fr) minmax(260px, 0.58fr);
  align-items: center;
  max-width: none;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

body.dynamic-site .office-search-panel p {
  max-width: 440px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

body.dynamic-site .office-search-panel input,
body.dynamic-site .principal-search-panel input {
  padding-left: 46px;
}

body.dynamic-site .office-search-panel input:focus,
body.dynamic-site .principal-search-panel input:focus {
  border-color: rgba(104, 215, 209, 0.82);
  box-shadow:
    0 0 0 4px rgba(104, 215, 209, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.14);
}

body.dynamic-site .contact-toolbar {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

body.dynamic-site .filter-button {
  border-color: rgba(104, 215, 209, 0.28);
  color: var(--soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
    rgba(5, 12, 20, 0.14);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

body.dynamic-site .filter-button:hover {
  border-color: rgba(104, 215, 209, 0.58);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(104, 215, 209, 0.13), rgba(255, 184, 77, 0.055)),
    rgba(255, 255, 255, 0.05);
}

body.dynamic-site .filter-button:focus-visible {
  border-color: rgba(255, 184, 77, 0.72);
  box-shadow:
    0 0 0 4px rgba(104, 215, 209, 0.14),
    0 10px 22px rgba(0, 0, 0, 0.16);
}

body.dynamic-site .filter-button[aria-pressed="true"] {
  border-color: rgba(255, 184, 77, 0.82);
  color: #07111c;
  background:
    linear-gradient(135deg, rgba(255, 184, 77, 0.96), rgba(104, 215, 209, 0.72));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 12px 24px rgba(255, 184, 77, 0.16);
}

html[data-theme="light"] body.dynamic-site .filter-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.2)),
    rgba(170, 180, 189, 0.24);
}

html[data-theme="light"] body.dynamic-site .filter-button[aria-pressed="true"] {
  color: #071722;
}

body.dynamic-site .office-card {
  min-height: 214px;
  padding: 24px 24px 22px 66px;
}

body.dynamic-site .office-card::before {
  content: none;
  display: none;
}

body.dynamic-site .flag-pin {
  position: absolute;
  left: 19px;
  top: 20px;
  z-index: 1;
  width: 34px;
  height: 42px;
  display: block;
  pointer-events: none;
  filter:
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18))
    drop-shadow(0 0 8px rgba(104, 215, 209, 0.18));
}

body.dynamic-site .flag-pin__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

body.dynamic-site .flag-pin__svg [stroke] {
  fill: none;
}

body.dynamic-site .flag-pin__outline {
  fill: none;
  stroke: rgba(104, 215, 209, 0.96);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

body.dynamic-site .flag-pin__highlight {
  fill: none;
  stroke: rgba(255, 184, 77, 0.88);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 13 92;
  stroke-dashoffset: 23;
}

body.dynamic-site .flag-pin__hole {
  fill: rgba(7, 17, 28, 0.88);
  stroke: rgba(255, 184, 77, 0.86);
  stroke-width: 1.25;
}

html[data-theme="light"] body.dynamic-site .flag-pin__outline {
  stroke: rgba(21, 90, 97, 0.96);
}

html[data-theme="light"] body.dynamic-site .flag-pin__highlight {
  stroke: rgba(173, 108, 31, 0.88);
}

html[data-theme="light"] body.dynamic-site .flag-pin__hole {
  fill: rgba(235, 241, 246, 0.92);
  stroke: rgba(173, 108, 31, 0.9);
}

body.dynamic-site .office-card .country {
  position: relative;
  min-height: 26px;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid rgba(104, 215, 209, 0.28);
  border-radius: 999px;
  background: rgba(104, 215, 209, 0.08);
}

body.dynamic-site .office-card .country::before {
  content: none;
  display: none;
}

body.dynamic-site .about-story .story-timeline {
  position: relative;
  padding-left: 30px;
}

body.dynamic-site .about-story .story-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 54px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, rgba(104, 215, 209, 0.58), rgba(255, 184, 77, 0.28), transparent);
}

body.dynamic-site .about-story .story-timeline p:not(.section-kicker) {
  position: relative;
  margin-bottom: 22px;
}

body.dynamic-site .about-story .story-timeline p:not(.section-kicker)::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(104, 215, 209, 0.1);
}

body.company-video-modal-open {
  overflow: hidden;
}

.company-video-section {
  padding-top: 32px;
}

.company-video-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.company-video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: inherit;
}

.company-video-preview__media,
.company-video-preview__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.company-video-preview__media {
  object-fit: cover;
}

.company-video-preview__shade {
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0.1), rgba(5, 12, 20, 0.42)),
    radial-gradient(circle at center, transparent 0 12%, rgba(5, 12, 20, 0.22) 60%, rgba(5, 12, 20, 0.54));
}

.company-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  min-width: 118px;
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(104, 215, 209, 0.68);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(5, 12, 20, 0.82);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.42),
    0 0 0 10px rgba(104, 215, 209, 0.09);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.company-video-play:hover {
  border-color: var(--amber);
  background: rgba(7, 17, 28, 0.94);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.48),
    0 0 0 12px rgba(255, 184, 77, 0.1);
  transform: translate(-50%, -50%) scale(1.04);
}

.company-video-play__icon {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--amber);
}

.company-video-play > span:last-child {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.company-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(2, 7, 12, 0.9);
  backdrop-filter: blur(10px);
}

.company-video-modal[hidden] {
  display: none;
}

.company-video-modal__dialog {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-video-modal__header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.company-video-modal__header h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
}

.company-video-close {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.company-video-close:hover {
  border-color: var(--amber);
  background: rgba(255, 184, 77, 0.12);
  transform: translateY(-1px);
}

.company-video-close span,
.company-video-close span::after {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.company-video-close span::after {
  content: "";
  transform: rotate(90deg);
}

.company-video-modal__media {
  width: 100%;
  max-height: calc(100dvh - 92px);
  aspect-ratio: 16 / 9;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #000;
  object-fit: contain;
}

body.dynamic-site .company-facts .fact-card {
  min-height: 152px;
  padding-left: 60px;
}

body.dynamic-site .company-facts .profile-icon {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(104, 215, 209, 0.42);
  border-radius: 8px;
  color: var(--cyan);
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.18), rgba(255, 184, 77, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.dynamic-site .company-facts .profile-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.dynamic-site .company-facts .profile-icon .icon-accent {
  stroke: var(--amber);
}

body.dynamic-site .profile-download {
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] body.dynamic-site .profile-download {
  background: transparent;
}

body.dynamic-site .value-card {
  min-height: 250px;
  padding-top: 78px;
}

body.dynamic-site .value-icon,
body.dynamic-site .training-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(104, 215, 209, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.17), rgba(255, 184, 77, 0.08)),
    rgba(255, 255, 255, 0.04);
}

body.dynamic-site .value-icon::before,
body.dynamic-site .value-icon::after,
body.dynamic-site .training-icon::before,
body.dynamic-site .training-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

body.dynamic-site .value-vision .value-icon::before {
  width: 24px;
  height: 24px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(104, 215, 209, 0.1);
}

body.dynamic-site .value-vision .value-icon::after {
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  transform: translate(-36%, -38%) rotate(45deg);
}

body.dynamic-site .value-mission .value-icon::before {
  width: 25px;
  height: 25px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 35%, rgba(104, 215, 209, 0.28) 37% 44%, transparent 46%);
  box-shadow:
    inset 0 0 0 7px rgba(104, 215, 209, 0.08),
    0 0 0 1px rgba(104, 215, 209, 0.2);
}

body.dynamic-site .value-mission .value-icon::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 184, 77, 0.12);
}

body.dynamic-site .value-quality .value-icon::before {
  width: 22px;
  height: 25px;
  border: 2px solid var(--cyan);
  border-radius: 12px 12px 4px 4px;
  background: rgba(104, 215, 209, 0.08);
}

body.dynamic-site .value-quality .value-icon::after {
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  transform: translate(-48%, -18%) rotate(-45deg);
}

body.dynamic-site .principal-search-panel {
  width: min(620px, 100%);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

body.dynamic-site .principal-search-panel input {
  width: 100%;
}

body.dynamic-site .principal-grid {
  gap: 16px;
}

body.dynamic-site .principal-card {
  min-height: 158px;
  padding: 20px 18px 18px;
}

body.dynamic-site .principal-card::before {
  content: none;
}

body.dynamic-site .principal-card--agent {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  align-items: start;
}

body.dynamic-site .principal-monogram {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(104, 215, 209, 0.5);
  border-radius: 50%;
  color: #eefdfb;
  background:
    linear-gradient(145deg, rgba(104, 215, 209, 0.16), rgba(255, 184, 77, 0.07)),
    rgba(7, 17, 28, 0.72);
  box-shadow:
    inset 0 0 0 2px rgba(255, 184, 77, 0.16),
    0 0 0 5px rgba(104, 215, 209, 0.07),
    0 12px 24px rgba(0, 0, 0, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

body.dynamic-site .principal-monogram::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-top: 2px solid rgba(255, 184, 77, 0.68);
  border-radius: inherit;
  pointer-events: none;
}

body.dynamic-site .principal-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.dynamic-site .principal-card strong {
  padding-right: 0;
}

body.dynamic-site .principal-site-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 14px 0 0;
  padding: 8px 14px;
  border: 1px solid rgba(104, 215, 209, 0.42);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)),
    rgba(7, 17, 28, 0.38);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    color var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

body.dynamic-site .principal-card--agent > .principal-site-link {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: center;
  margin: 0;
}

body.dynamic-site .principal-site-link:hover,
body.dynamic-site .principal-site-link:focus-visible {
  border-color: rgba(255, 184, 77, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 184, 77, 0.12), rgba(104, 215, 209, 0.08)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 0 0 4px rgba(104, 215, 209, 0.1),
    0 10px 22px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

body.dynamic-site .principal-card--agent .principal-tags {
  width: 100%;
  margin-top: 12px;
}

@media (hover: hover) {
  body.dynamic-site .principal-card--agent:hover .principal-monogram {
    border-color: rgba(255, 184, 77, 0.56);
    box-shadow:
      inset 0 0 0 2px rgba(255, 184, 77, 0.22),
      0 0 0 5px rgba(104, 215, 209, 0.1),
      0 14px 28px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
  }
}

html[data-theme="light"] body.dynamic-site .principal-monogram {
  color: #06202a;
  background:
    linear-gradient(145deg, rgba(104, 215, 209, 0.28), rgba(201, 130, 44, 0.14)),
    rgba(235, 241, 246, 0.78);
  box-shadow:
    inset 0 0 0 2px rgba(173, 108, 31, 0.18),
    0 0 0 5px rgba(21, 90, 97, 0.06),
    0 10px 22px rgba(7, 23, 34, 0.12);
}

html[data-theme="light"] body.dynamic-site .principal-site-link {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)),
    rgba(235, 241, 246, 0.42);
}

body.dynamic-site .principal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

body.dynamic-site .principal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(104, 215, 209, 0.28);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(104, 215, 209, 0.075);
  font-size: 0.72rem;
  font-weight: 900;
}

body.dynamic-site .search-empty {
  background:
    linear-gradient(135deg, rgba(255, 184, 77, 0.09), rgba(104, 215, 209, 0.06)),
    rgba(255, 255, 255, 0.045);
}

body.dynamic-site .training-cta-panel,
body.dynamic-site .training-journey,
body.dynamic-site .training-equipment {
  padding-top: 82px;
}

body.dynamic-site .training-icon-engine::before {
  width: 24px;
  height: 18px;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0 30%, rgba(255, 184, 77, 0.7) 30% 40%, transparent 40% 60%, rgba(255, 184, 77, 0.7) 60% 70%, transparent 70%),
    rgba(104, 215, 209, 0.08);
}

body.dynamic-site .training-icon-engine::after {
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: var(--amber);
  transform: translate(-50%, 260%);
}

body.dynamic-site .training-icon-process::before {
  width: 24px;
  height: 24px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, rgba(104, 215, 209, 0.68) 45% 55%, transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(104, 215, 209, 0.68) 45% 55%, transparent 55%);
}

body.dynamic-site .training-icon-process::after {
  width: 15px;
  height: 8px;
  border-left: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  transform: translate(-48%, -15%) rotate(-45deg);
}

body.dynamic-site .training-icon-equipment::before {
  content: none;
}

body.dynamic-site .training-icon-equipment::after {
  content: none;
}

body.dynamic-site .training-icon-equipment svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translate(-50%, -50%);
}

body.dynamic-site .training-icon-equipment .icon-accent {
  stroke: var(--amber);
}

body.dynamic-site .training-journey .list li {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid rgba(191, 210, 230, 0.14);
}

body.dynamic-site .training-journey .list li:last-child {
  border-bottom: 0;
}

body.dynamic-site .training-equipment .tag-list li {
  border-color: rgba(104, 215, 209, 0.26);
  background: rgba(104, 215, 209, 0.065);
}

body.dynamic-site .training-enquiry-status {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

body.dynamic-site .training-enquiry-status[hidden] {
  display: none;
}

body.dynamic-site .training-enquiry-status.is-success {
  border-color: rgba(104, 215, 209, 0.42);
  background:
    linear-gradient(135deg, rgba(104, 215, 209, 0.15), rgba(166, 206, 57, 0.08)),
    rgba(255, 255, 255, 0.04);
}

body.dynamic-site .training-enquiry-status.is-error {
  border-color: rgba(255, 184, 77, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 184, 77, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

body.dynamic-site .training-enquiry-status strong {
  color: var(--ink);
}

body.dynamic-site .training-enquiry-status span {
  color: var(--muted);
}

body.dynamic-site .training-enquiry-shell {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  scroll-margin-top: 96px;
  transform: translateY(-8px);
  visibility: hidden;
  transition:
    max-height var(--duration-slow) var(--ease-out),
    margin-top var(--duration) var(--ease),
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    visibility var(--duration) var(--ease);
}

body.dynamic-site .training-enquiry-shell.is-open,
body.dynamic-site .training-enquiry-shell:target {
  max-height: 2600px;
  margin-top: 22px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

body.dynamic-site .training-enquiry-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.026));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] body.dynamic-site .training-enquiry-form {
  background:
    linear-gradient(180deg, rgba(235, 241, 246, 0.62), rgba(187, 196, 204, 0.74));
}

body.dynamic-site .training-form-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

body.dynamic-site .training-form-heading h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

body.dynamic-site .training-form-heading p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--muted);
}

body.dynamic-site .training-form-section {
  min-width: 0;
  padding: 0;
  margin: 0 0 28px;
  border: 0;
}

body.dynamic-site .training-form-section:last-of-type {
  margin-bottom: 22px;
}

body.dynamic-site .training-form-section legend {
  padding: 0;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.dynamic-site .training-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.dynamic-site .training-form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

body.dynamic-site .training-form-field.form-field-wide {
  grid-column: 1 / -1;
}

body.dynamic-site .training-form-field label {
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 900;
}

body.dynamic-site .required-mark {
  color: var(--amber);
  font-weight: 900;
}

body.dynamic-site .training-form-field input,
body.dynamic-site .training-form-field select,
body.dynamic-site .training-form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel-soft);
  font: inherit;
  outline: none;
  transition:
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}

body.dynamic-site .training-form-field select {
  background-color: var(--panel-soft);
  color: var(--ink);
}

body.dynamic-site .training-form-field textarea {
  min-height: 104px;
  resize: vertical;
}

body.dynamic-site .training-form-field input::placeholder,
body.dynamic-site .training-form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.78;
}

body.dynamic-site .training-form-field input:focus,
body.dynamic-site .training-form-field select:focus,
body.dynamic-site .training-form-field textarea:focus {
  border-color: rgba(104, 215, 209, 0.82);
  box-shadow:
    0 0 0 4px rgba(104, 215, 209, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.14);
}

body.dynamic-site .training-form-field.has-error input,
body.dynamic-site .training-form-field.has-error select,
body.dynamic-site .training-form-field.has-error textarea,
body.dynamic-site .training-form-field input[aria-invalid="true"],
body.dynamic-site .training-form-field select[aria-invalid="true"],
body.dynamic-site .training-form-field textarea[aria-invalid="true"] {
  border-color: rgba(255, 184, 77, 0.82);
}

html[data-theme="light"] body.dynamic-site .training-form-field input,
html[data-theme="light"] body.dynamic-site .training-form-field textarea {
  background: rgba(212, 220, 226, 0.42);
}

html[data-theme="light"] body.dynamic-site .training-form-field select {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

body.dynamic-site .field-error {
  margin: 0;
  color: #ffd17d;
  font-size: 0.82rem;
  line-height: 1.35;
}

html[data-theme="light"] body.dynamic-site .field-error {
  color: #6a3f0c;
}

body.dynamic-site .field-error:empty {
  display: none;
}

body.dynamic-site .training-form-actions {
  display: flex;
  justify-content: flex-start;
}

body.dynamic-site .training-form-actions .button.is-loading {
  opacity: 0.78;
  pointer-events: none;
}

body.dynamic-site .legal-copy h2 {
  position: relative;
  padding-left: 0;
}

body.dynamic-site .legal-copy h2::before {
  content: none;
}

/* ==========================================================================
   Page-Specific Components
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 78px 0 56px;
  border-bottom: 1px solid var(--line);
  background-color: var(--navy);
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 12, 20, 0.84), rgba(5, 12, 20, 0.58) 56%, rgba(5, 12, 20, 0.28)),
    linear-gradient(180deg, rgba(5, 12, 20, 0.04), rgba(5, 12, 20, 0.24));
}

html[data-theme="light"] .page-hero::before {
  background:
    linear-gradient(90deg, rgba(212, 220, 226, 0.84), rgba(212, 220, 226, 0.58) 56%, rgba(212, 220, 226, 0.3)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(143, 156, 167, 0.22));
}

.page-hero.compact {
  padding: 78px 0 56px;
}

.page-hero h1 {
  max-width: 1180px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.page-hero p {
  max-width: 800px;
  color: var(--soft);
  font-size: 1.08rem;
}

.breadcrumbs {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--cyan);
  text-decoration: none;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fact-card {
  min-height: 136px;
  padding: 20px;
}

.fact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.3;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 35px;
  align-items: start;
}

.quote-panel {
  padding: 10px;
  max-width: 350px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

body.dynamic-site .about-story .quote-panel {
  align-self: start;
  height: fit-content;
  padding: 22px;
}

html[data-theme="light"] .quote-panel {
  background: rgba(187, 196, 204, 0.44);
}

.quote-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

body.dynamic-site .about-story .quote-photo {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: center;
}

.quote-panel blockquote {
  margin: 0;
  color: var(--soft);
  font-size: 1.25rem;
  line-height: 1;
}

body.dynamic-site .about-story .quote-panel blockquote {
  font-size: 0.85rem;
  line-height: 1.44;
}

.quote-panel cite {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

body.dynamic-site .about-story .quote-panel cite {
  margin-top: 14px;
}

.profile-download {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 0;
  padding-top: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

html[data-theme="light"] .profile-download {
  background: transparent;
}

.profile-download-media,
.profile-download-copy {
  position: relative;
  z-index: 1;
}

.profile-download-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 12, 20, 0.3);
}

html[data-theme="light"] .profile-download-media {
  background: rgba(255, 255, 255, 0.18);
}

.profile-download img {
  width: min(100%, 260px);
  max-height: 340px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  object-fit: contain;
}

.profile-download h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.22;
}

.profile-download p {
  max-width: 620px;
  color: var(--muted);
}

.profile-download .section-actions {
  margin-top: 24px;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.search-panel input {
  width: min(460px, 100%);
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
  transition:
    background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}

html[data-theme="light"] .search-panel input,
html[data-theme="light"] .login-card input {
  background: rgba(212, 220, 226, 0.4);
}

.search-panel input:focus {
  border-color: rgba(104, 215, 209, 0.72);
  box-shadow: 0 0 0 4px rgba(104, 215, 209, 0.12);
}

.principal-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.search-empty {
  max-height: 0;
  margin: 0;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  opacity: 0;
  transition:
    max-height var(--duration) var(--ease),
    margin var(--duration) var(--ease),
    padding var(--duration) var(--ease),
    opacity var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.search-empty.is-visible {
  max-height: 120px;
  margin: 0 0 22px;
  padding: 14px 18px;
  border-color: var(--line);
  opacity: 1;
}

.principal-card {
  min-height: 152px;
  padding: 18px;
}

.principal-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.3;
}

.principal-card p {
  margin-bottom: 0;
}

.visual-band {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 12, 20, 0.56), rgba(5, 12, 20, 0.08)),
    var(--workshop-image) center / cover;
}

html[data-theme="light"] .visual-band {
  background:
    linear-gradient(90deg, rgba(212, 220, 226, 0.48), rgba(212, 220, 226, 0.08)),
    var(--workshop-image) center / cover;
}

.contact-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-button {
  cursor: pointer;
}

.filter-button:hover {
  border-color: rgba(104, 215, 209, 0.5);
  transform: translateY(-1px);
}

.filter-button[aria-pressed="true"] {
  border-color: rgba(255, 184, 77, 0.72);
  color: #120d05;
  background: var(--amber);
}

.office-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.filterable-card.is-filtered-out {
  display: none !important;
}

.office-card {
  padding: 20px;
}

.office-card .country {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.office-card h3 {
  margin-bottom: 8px;
}

.office-card p {
  margin-bottom: 8px;
}

.office-card a {
  color: var(--soft);
  text-decoration-color: rgba(104, 215, 209, 0.5);
}

.cta {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 184, 77, 0.12), rgba(104, 215, 209, 0.08)),
    rgba(255, 255, 255, 0.025);
}

html[data-theme="light"] .cta {
  background:
    linear-gradient(90deg, rgba(201, 130, 44, 0.18), rgba(21, 90, 97, 0.14)),
    rgba(170, 180, 189, 0.24);
}

.cta-inner {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
}

.cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--soft);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: #040910;
}

html[data-theme="light"] .site-footer {
  background: #6a7b88;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 28px;
  padding: 44px 0;
}

.footer-inner p,
.footer-inner a {
  color: var(--muted);
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   Legacy Portal Styles
   ========================================================================== */

.portal-shell {
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 56px 20px;
  background:
    linear-gradient(90deg, rgba(5, 12, 20, 0.88), rgba(5, 12, 20, 0.38)),
    var(--portal-image, var(--training-secondary-image)) center / cover;
}

html[data-theme="light"] .portal-shell {
  background:
    linear-gradient(90deg, rgba(212, 220, 226, 0.88), rgba(212, 220, 226, 0.38)),
    var(--portal-image, var(--training-secondary-image)) center / cover;
}

.portal-panel {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 14px;
}

.portal-copy,
.login-card {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(9, 17, 27, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

html[data-theme="light"] .portal-copy,
html[data-theme="light"] .login-card {
  background: rgba(170, 180, 189, 0.78);
}

.portal-copy {
  padding: 34px;
}

.portal-copy h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.portal-copy p {
  color: var(--soft);
}

.login-card {
  padding: 30px;
}

.login-card label {
  display: block;
  margin: 16px 0 6px;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.login-card input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}

.login-card .button {
  width: 100%;
  margin-top: 18px;
}

.notice {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 184, 77, 0.34);
  border-radius: 8px;
  color: #ffe1ab;
  background: rgba(255, 184, 77, 0.08);
  font-size: 0.92rem;
}

.legal-copy {
  max-width: 880px;
}

.legal-copy h2 {
  margin-top: 32px;
  font-size: 1.55rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.policy-divider + h2 {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.motion-ready .reveal-item {
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .reveal-item:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready body[data-page="privacy"] .reveal-item:not(.is-visible) {
  transform: translateY(8px);
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 42px 42px, 42px 42px;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    padding: 14px 20px 18px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 12, 20, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition:
      max-height var(--duration) var(--ease),
      opacity var(--duration) var(--ease),
      transform var(--duration) var(--ease),
      visibility var(--duration) var(--ease);
  }

  .site-nav.is-open {
    max-height: 560px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    justify-content: center;
  }

  .site-nav .login-link {
    margin-left: 0;
  }

  .theme-toggle {
    margin: 6px auto 0;
  }

  .language-switcher {
    margin: 6px auto 0;
  }

  .language-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .section-header,
  .feature-band,
  .story-grid,
  .profile-download,
  .cta-inner,
  .footer-inner,
  .portal-panel {
    grid-template-columns: 1fr;
  }

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

  body.dynamic-home .lifecycle-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
    padding-top: 24px;
  }

  body.dynamic-home .lifecycle-flow::before {
    display: none;
  }

  body.dynamic-home .lifecycle-step {
    min-height: 190px;
  }

  body.dynamic-home .lifecycle-step::before {
    left: auto;
    right: 22px;
    transform: none;
  }

  body.dynamic-home .lifecycle-step::after {
    display: none;
  }

  body.dynamic-home .lifecycle-milestone {
    top: -17px;
  }

  body.dynamic-home .global-reach-strip .section-inner {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .motion-ready .reveal-item,
  .motion-ready .reveal-item:not(.is-visible),
  .motion-ready body[data-page="privacy"] .reveal-item:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-content,
  .cta-inner {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    min-width: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 170px;
    max-height: 52px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 100%;
    font-size: 2.1rem;
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .page-hero h1 {
    font-size: 2rem;
    line-height: 1.08;
  }

  h2,
  h3,
  p,
  li,
  a,
  strong {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  body {
    overflow-x: hidden;
  }

  /* Capability cards stack on phones while tablet keeps two columns. */
  .hero-metrics,
  .capabilities-grid,
  .grid.two,
  .grid.three,
  .principal-grid,
  .fact-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

  body.dynamic-home .hero-metrics,
  body.dynamic-home .lifecycle-flow {
    grid-template-columns: 1fr;
  }

  body.dynamic-home .dynamic-stat {
    min-height: 118px;
  }

  body.dynamic-home .lifecycle-step {
    min-height: auto;
    padding: 50px 20px 22px;
  }

  body.dynamic-home .global-reach-strip {
    padding: 42px 0;
  }

  body.dynamic-home .reach-chips {
    gap: 8px;
  }

  body.dynamic-home .reach-chip {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 0.85rem;
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    min-height: 390px;
    padding: 56px 0;
  }

  .hero-actions,
  .section-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .filter-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .portal-copy,
  .login-card,
  .feature-panel,
  .card-body {
    padding: 22px;
  }

  .profile-download img {
    max-height: 260px;
  }

  .profile-download h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 1120px) {
  body.dynamic-home .global-office-summary {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body.dynamic-home .global-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.dynamic-home .lifecycle-flow {
    gap: 32px 16px;
    padding-top: 24px;
  }

  body.dynamic-home .lifecycle-step {
    padding-top: 78px;
  }

  body.dynamic-site .office-search-panel {
    grid-template-columns: 1fr;
  }

  body.dynamic-site .training-process-grid,
  body.dynamic-home .global-summary-grid {
    grid-template-columns: 1fr;
  }

  body.dynamic-site .training-enquiry-shell.is-open,
  body.dynamic-site .training-enquiry-shell:target {
    max-height: 3200px;
  }
}

@media (max-width: 680px) {
  body.dynamic-site .section-header::before {
    width: 56px;
  }

  .company-video-section {
    padding-top: 20px;
  }

  .company-video-play {
    min-width: 88px;
    min-height: 88px;
    padding: 12px;
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.42),
      0 0 0 7px rgba(104, 215, 209, 0.09);
  }

  .company-video-play__icon {
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 16px;
  }

  .company-video-play > span:last-child {
    font-size: 0.68rem;
  }

  .company-video-modal {
    padding: 10px;
  }

  .company-video-modal__dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .company-video-modal__media {
    max-height: calc(100dvh - 80px);
  }

  body.dynamic-home .lifecycle-step {
    padding: 78px 20px 22px;
  }

  body.dynamic-home .lifecycle-icon {
    right: 18px;
  }

  body.dynamic-home .step-number {
    left: 20px;
  }

  body.dynamic-home .global-presence-section .reach-chips {
    margin-top: 18px;
  }

  body.dynamic-home .global-fact,
  body.dynamic-site .company-facts .fact-card,
  body.dynamic-site .office-card {
    padding-left: 54px;
  }

  body.dynamic-site .principal-card {
    padding-top: 20px;
  }

  body.dynamic-site .office-search-panel {
    padding: 16px;
  }

  body.dynamic-site .training-enquiry-form {
    padding: 22px;
  }

  body.dynamic-site .training-form-grid {
    grid-template-columns: 1fr;
  }

  body.dynamic-site .training-enquiry-shell.is-open,
  body.dynamic-site .training-enquiry-shell:target {
    max-height: 4200px;
  }

  body.dynamic-site .contact-toolbar {
    gap: 8px;
    padding: 8px;
  }

  body.dynamic-site .about-story .story-timeline {
    padding-left: 24px;
  }

  body.dynamic-site .about-story .story-timeline p:not(.section-kicker)::before {
    left: -23px;
  }

  body.dynamic-site .value-card,
  body.dynamic-site .training-cta-panel,
  body.dynamic-site .training-journey,
  body.dynamic-site .training-equipment {
    padding-top: 78px;
  }

  body.dynamic-site .profile-download {
    padding: 16px;
  }
}
