:root {
  /* Canonical colour system */
  --color-bg: #0b1020;
  --color-bg-deep: #050711;
  --color-surface: rgba(255, 255, 255, 0.06);
  --color-surface-subtle: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.18);
  --color-text: #eef3ff;
  --color-muted: rgba(238, 243, 255, 0.72);
  --color-accent: #f97316;
  --color-link: #fb923c;

  /* Backwards-compatible aliases used by existing components */
  --bg: #0b1020;
  --bg2: #050711;
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.18);
  --stroke-2: rgba(255, 255, 255, 0.18);
  --text: #eef3ff;
  --muted: rgba(238, 243, 255, 0.72);
  --accent: var(--color-accent);
  --accent-warm: var(--color-link);
  --accent-yellow: var(--accent-warm);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.04);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --maxw: 1240px;
  --page-max: 1240px;
  --sans: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-height: 90px;

  /* Type scale */
  --type-body: 16px;
  --type-display: clamp(48px, 5vw, 72px);
  --type-display-mobile: clamp(36px, 10vw, 44px);
  --type-section: clamp(30px, 3.5vw, 48px);
  --type-card: clamp(20px, 2vw, 24px);

  /* 8px-based spacing scale with two practical half steps */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  /* Letter Spacing (Tracking) Tokens */
  --tracking-tighter: -0.03em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-widest: 0.15em;
}

/* ===== GLOBAL NETWORK ===== */
.global-network-page { background: var(--color-bg-deep); }
.global-network-intro { max-width: 1500px; margin: 0 auto; padding: 150px 32px 34px; text-align: center; }
.global-network-intro h1 { margin: 8px auto 20px; max-width: 920px; font-size: var(--type-display); line-height: 1.02; letter-spacing: var(--tracking-tighter); }
.global-network-intro > p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }
.global-network-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1000px; margin: 34px auto 0; }
.global-network-stats div { padding: 18px; border: 1px solid rgba(120,160,255,.18); border-radius: 18px; background: rgba(12,20,42,.62); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.global-network-stats strong { display: block; color: #fff; font-size: clamp(25px, 3vw, 38px); letter-spacing: -.04em; }
.global-network-stats span { display: block; margin-top: 5px; color: #99a8c8; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.global-network-shell { position: relative; max-width: 1560px; height: min(820px, 78vh); min-height: 660px; margin: 0 auto 36px; overflow: hidden; border: 1px solid rgba(104,139,255,.18); border-radius: 30px; background: radial-gradient(circle at 63% 45%, #101c46 0, #070c1d 32%, #02040a 72%); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.global-starfield { position: absolute; inset: 0; opacity: .36; background-image: radial-gradient(#fff 0.8px, transparent 0.8px), radial-gradient(#708dff 0.7px, transparent 0.7px); background-size: 83px 83px, 131px 131px; background-position: 0 0, 40px 30px; pointer-events: none; }
.global-globe-stage { position: absolute; inset: 0; min-width: 0; }
.global-globe { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.global-globe:active { cursor: grabbing; }
.global-globe canvas { outline: none; }
.global-globe-loading, .global-globe-fallback { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%,-50%); padding: 16px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(5,10,22,.86); color: #dbe6ff; text-align: center; }
.global-globe-fallback strong, .global-globe-fallback span { display: block; }
.global-globe-fallback span { margin-top: 5px; color: var(--muted); }
.global-directory-toggle { position: absolute; left: 18px; top: 18px; z-index: 9; min-height: 46px; padding: 0 15px; border: 1px solid rgba(126,163,255,.28); border-radius: 999px; background: rgba(7,13,29,.84); color: #fff; backdrop-filter: blur(16px); cursor: pointer; }
.global-directory { position: absolute; inset: 74px auto 18px 18px; z-index: 8; width: min(390px, calc(100% - 36px)); display: flex; flex-direction: column; padding: 18px; transform: translateX(calc(-100% - 32px)); opacity: 0; pointer-events: none; border: 1px solid rgba(126,163,255,.22); border-radius: 22px; background: rgba(5,10,23,.91); box-shadow: 0 24px 60px rgba(0,0,0,.46); backdrop-filter: blur(22px); transition: transform .35s ease, opacity .3s ease; }
.global-directory.is-open { transform: translateX(0); opacity: 1; pointer-events: auto; }
.global-directory-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.global-directory-head h2 { margin: 2px 0 12px; font-size: 24px; }
.global-panel-close { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.05); color: #fff; font-size: 23px; cursor: pointer; }
.global-search { position: relative; display: block; }
.global-search input, .global-filters select { width: 100%; min-height: 46px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: #0c1326; color: #fff; font: inherit; }
.global-search input { padding: 0 42px 0 13px; }
.global-search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; background: transparent; color: #8fa0c2; cursor: pointer; }
.global-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.global-filters select { padding: 0 10px; font-size: 12px; }
.global-result-count { margin: 11px 2px 8px; color: #8293b5; font-size: 12px; }
.global-location-list { min-height: 0; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #33436c transparent; }
.global-location-group h3 { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; margin: 0; padding: 11px 6px 7px; background: rgba(5,10,23,.96); color: #aebde0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.global-location-item { width: 100%; display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 11px 9px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #fff; text-align: left; cursor: pointer; }
.global-location-item:hover, .global-location-item:focus-visible { background: rgba(108,142,255,.1); border-color: rgba(108,142,255,.18); }
.global-location-item.is-selected { background: rgba(108,142,255,.16); border-color: rgba(112,150,255,.42); }
.global-location-item > i { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--marker); box-shadow: 0 0 13px var(--marker); }
.global-location-item span, .global-location-item strong, .global-location-item small, .global-location-item em { display: block; }
.global-location-item strong { font-size: 13px; line-height: 1.35; }
.global-location-item small { margin-top: 3px; color: #8f9cba; font-size: 11px; }
.global-location-item em { margin-top: 4px; color: #bdc9e5; font-size: 10px; font-style: normal; }
.global-empty-state { padding: 26px 8px; color: var(--muted); text-align: center; }
.global-globe-controls { position: absolute; z-index: 7; right: 18px; top: 18px; display: flex; gap: 7px; }
.global-globe-controls button { width: 46px; height: 46px; border: 1px solid rgba(126,163,255,.26); border-radius: 50%; background: rgba(7,13,29,.84); color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(16px); }
.global-legend { position: absolute; z-index: 6; left: 50%; bottom: 18px; display: flex; gap: 18px; transform: translateX(-50%); padding: 10px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(5,10,23,.78); color: #b8c5e2; font-size: 11px; white-space: nowrap; backdrop-filter: blur(14px); }
.global-legend span { display: flex; align-items: center; gap: 7px; }
.global-legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend-franchise { background: #f97316; box-shadow: 0 0 10px #f97316; }.legend-varbox { background: #9ca3af; box-shadow: 0 0 10px #9ca3af; }.legend-infinity { background: #2388ff; box-shadow: 0 0 10px #2388ff; }
.scene-tooltip { z-index: 12 !important; pointer-events: none !important; }
.global-marker-tooltip { min-width: 180px; max-width: 280px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; background: rgba(4,8,18,.94); box-shadow: 0 14px 34px rgba(0,0,0,.45); color: #fff; font-family: var(--sans); }
.global-marker-tooltip strong, .global-marker-tooltip span, .global-marker-tooltip em { display: block; }
.global-marker-tooltip strong { font-size: 13px; line-height: 1.35; }
.global-marker-tooltip span { margin-top: 4px; color: #9eacc8; font-size: 11px; }
.global-marker-tooltip em { margin-top: 5px; font-size: 10px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.global-location-card { position: absolute; z-index: 8; right: 18px; bottom: 74px; width: min(350px, calc(100% - 36px)); padding: 22px; border: 1px solid rgba(126,163,255,.24); border-radius: 22px; background: rgba(5,10,23,.92); box-shadow: 0 24px 65px rgba(0,0,0,.48); backdrop-filter: blur(22px); }
.global-location-card[hidden] { display: none; }
.global-location-card .global-panel-close { position: absolute; right: 12px; top: 12px; }
.global-card-category { display: block; padding-right: 46px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.global-location-card h2 { margin: 8px 44px 6px 0; font-size: 23px; line-height: 1.18; }
.global-card-place { color: #9aa9c7; font-size: 13px; }
.global-location-card dl { margin: 17px 0 0; }
.global-location-card dl div { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); }
.global-location-card dt { color: #7787a7; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.global-location-card dd { margin: 4px 0 0; color: #dbe5fa; font-size: 12px; line-height: 1.45; }
.global-card-actions { margin-top: 16px; }
.global-data-note { max-width: 1100px; margin: 0 auto; padding: 38px 32px 100px; text-align: center; }
.global-data-note h2 { margin: 7px 0 12px; font-size: clamp(27px,4vw,44px); }
.global-data-note p { max-width: 780px; margin: 0 auto; color: var(--muted); line-height: 1.75; }
.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; }

@media (max-width: 900px) {
  .global-network-stats { grid-template-columns: repeat(2, 1fr); }
  .global-network-shell { margin-inline: 14px; min-height: 680px; border-radius: 24px; }
  .global-location-card { bottom: 68px; }
}
@media (max-width: 760px) {
  :root {
    --type-display: var(--type-display-mobile);
    --type-section: clamp(28px, 8vw, 40px);
  }
  .global-network-intro { padding: 120px 18px 25px; }
  .global-network-stats { gap: 8px; margin-top: 24px; }
  .global-network-stats div { padding: 14px 9px; }
  .global-network-shell { height: 72svh; min-height: 620px; }
  .global-directory-toggle span { display: none; }
  .global-directory { inset: auto 10px 10px; width: auto; height: min(74%, 590px); transform: translateY(calc(100% + 22px)); border-radius: 22px; }
  .global-directory.is-open { transform: translateY(0); }
  .global-location-card { inset: auto 10px 10px; width: auto; max-height: 58%; overflow-y: auto; }
  .global-globe-controls { right: 10px; top: 10px; flex-direction: column; }
  .global-directory-toggle { left: 10px; top: 10px; }
  .global-legend { bottom: 12px; gap: 10px; max-width: calc(100% - 24px); overflow-x: auto; }
  .global-data-note { padding: 30px 18px 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .global-directory, .global-location-item { transition: none !important; }
}
* {
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  min-height: 100%;
}
body {
  font-family: var(--sans);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(
      1000px 700px at 14% 18%,
      rgba(56, 189, 248, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 650px at 88% 16%,
      rgba(249, 115, 22, 0.14),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg2) 0, var(--bg) 55%, var(--bg2) 100%);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.72);
  outline-offset: 3px;
}
code,
pre {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}
.page-shell {
  max-width: var(--maxw);
  margin: 28px auto 0;
  padding: 0 18px 48px;
}

/* Shared layout utilities replacing repeated page-level inline styles. */
.content-lead {
  max-width: 800px;
  margin-bottom: 28px;
}
.content-lead-compact {
  max-width: 800px;
  margin-bottom: 24px;
}
.content-measure {
  max-width: 800px;
}
.legal-measure {
  max-width: 920px;
}
.u-mb-36 {
  margin-bottom: 36px;
}
.u-mb-40 {
  margin-bottom: 40px;
}
.u-mb-48 {
  margin-bottom: 48px;
}
.u-text-center {
  text-align: center;
}
.media-cover-rounded {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}
.data-table-scroll {
  margin: 24px 0;
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table-heading,
.data-table-cell {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.data-table-heading {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  text-align: left;
}

.statement-heading {
  margin: 0 0 28px;
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
}
.statement-heading.is-wide {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(22px, 3.5vw, 38px);
  line-height: 1.3;
}
.hero-card {
  border: 1px solid var(--stroke);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(18, 24, 38, 0.86),
    rgba(11, 16, 32, 0.82)
  );
  box-shadow: var(--shadow);
  position: relative;
  padding: 34px;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(249, 115, 22, 0.06),
    transparent 36%,
    rgba(249, 115, 22, 0.08) 76%,
    transparent
  );
  pointer-events: none;
}
.hero-card h1 {
  position: relative;
  margin: 0 0 14px;
  font-size: var(--type-display);
  line-height: 1.02;
  letter-spacing: var(--tracking-tighter);
}
.hero-card p {
  position: relative;
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}
.varlive-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.topbar-wrap {
  position: relative;
  padding: 14px 18px 0;
  transition: padding 0.3s ease;
}
.varlive-header-wrap.scrolled {
  background: rgba(8, 11, 22, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.varlive-header-wrap.scrolled .topbar-wrap {
  padding: 8px 18px;
}
.varlive-header-wrap.scrolled .topbar {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0;
}
.varlive-header-wrap.scrolled.drawer-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.mobile-menu-open {
  overflow: hidden;
}
.topbar {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(20, 24, 40, 0.88),
    rgba(11, 16, 32, 0.82)
  );
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, #f97316 0, #fb923c 40%, var(--accent-warm) 100%);
  border: 1px solid var(--accent);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(249, 115, 22, 0.35),
    0 0 22px rgba(249, 115, 22, 0.2);
  flex: 0 0 auto;
}
.brand-copy strong {
  display: block;
  font-size: 13px;
  letter-spacing: var(--tracking-normal);
}
.brand-copy span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.nav-item {
  position: relative;
}
.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.header-btn,
.icon-btn,
.lang-trigger,
.nav-link {
  border: 1px solid transparent;
  background: 0 0;
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.nav-link {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(238, 243, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item.open > .nav-link,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--stroke);
}
.caret,
.nav-link .caret {
  font-size: 10px;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.header-btn.primary {
  background: linear-gradient(135deg, #f97316, var(--accent-warm));
  color: #000;
  border: 1px solid transparent;
}
.header-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
  opacity: 0.95;
}
.header-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.header-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}
.icon-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--stroke2);
}
.lang-dropdown,
.mega,
.simple-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  display: none;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(12, 16, 28, 0.96),
    rgba(7, 10, 20, 0.94)
  );
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.nav-item.open .mega {
  display: block;
}
.nav-item.simple.open .simple-dropdown {
  display: block;
}
.simple-dropdown {
  left: 0;
  min-width: 220px;
  padding: 10px;
}
.lang-option,
.simple-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  color: rgba(238, 243, 255, 0.9);
}
.lang-option:hover,
.simple-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
}
.mega {
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, calc(100vw - 36px));
  padding: 18px;
}
.mega-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mega-top strong {
  display: block;
  font-size: 15px;
}
.mega-top span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  max-width: 560px;
}
.mega-chip {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  background: rgba(249, 115, 22, 0.1);
  color: #ffedd5;
  white-space: nowrap;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mega-col {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.mega-col h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--muted);
}
.mega-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-link {
  display: block;
  padding: 10px 10px 11px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: 0 0;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.1s ease;
}
.mega-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.mega-link strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.mega-link span {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}
.lang-wrap {
  position: relative;
}
.lang-trigger {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-trigger:hover,
.lang-wrap.open .lang-trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--stroke2);
}
.lang-code {
  display: inline-flex;
  min-width: 28px;
  justify-content: center;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
  color: #ffedd5;
  font-size: 10px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}
.lang-dropdown {
  right: 0;
  left: auto;
  min-width: 280px;
  padding: 10px;
}
.lang-wrap.open .lang-dropdown {
  display: block;
}
.lang-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lang-option small {
  color: var(--muted);
  font-size: 11px;
}
.lang-option.active {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: #fff6cf;
}
.lang-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 39;
  display: none;
}
.mobile-overlay.show {
  display: block;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 390px);
  height: 100vh;
  height: 100dvh;
  z-index: 40;
  background: linear-gradient(
    180deg,
    rgba(12, 16, 28, 0.98),
    rgba(7, 10, 20, 0.96)
  );
  border-left: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
}
.drawer.show {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-title strong {
  display: block;
  font-size: 14px;
}
.drawer-title span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}
.drawer-body {
  padding: 12px 14px 24px;
  overflow: auto;
}
.accordion-btn,
.m-link {
  width: 100%;
  text-align: left;
  padding: 13px 12px;
  border-radius: 14px;
  color: var(--text);
  background: 0 0;
  border: 1px solid transparent;
  font: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.accordion-btn:hover,
.accordion.open > .accordion-btn,
.m-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}
.accordion-panel {
  display: none;
  padding: 8px 0 6px 12px;
}
.accordion.open .accordion-panel {
  display: block;
}
.m-sublink,
.mobile-lang-option {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 12.5px;
}
.m-sublink:hover,
.mobile-lang-option:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.m-section-label {
  padding: 10px 12px 6px;
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-lang {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-lang-grid {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.mobile-lang-option.active {
  background: rgba(249, 115, 22, 0.1);
  color: #fff6cf;
  border: 1px solid rgba(249, 115, 22, 0.18);
}
@media (max-width: 1180px) {
  .mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .hero-card {
    padding: 24px;
  }
}
@media (max-width: 1120px) {
  .actions .lang-wrap,
  .header-btn,
  .nav {
    display: none;
  }
  .icon-btn {
    display: inline-flex;
  }
  .topbar {
    padding: 12px;
  }
  .topbar-wrap {
    padding: 12px 12px 0;
  }
  .page-shell {
    padding: 0 12px 36px;
    margin-top: 20px;
  }
}
/* ─── FOOTER ───────────────────────────────────────────── */

.varlive-footer {
  position: relative;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

/* Back-to-top button */
.footer-back-top {
  position: absolute;
  top: -20px;
  right: clamp(18px, 4vw, 40px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--bg);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-back-top:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-back-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px 40px;
}

/* ─── TOP GRID ──────────────────────────────────────────── */
.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

/* ─── BRAND COLUMN ──────────────────────────────────────── */
.footer-brand-block {
  max-width: 320px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.footer-brand span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--accent);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.25);
  flex: 0 0 auto;
}

.footer-desc {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* Accreditation badges */
.footer-accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-badge:hover {
  opacity: 1;
}

.footer-badge-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* HQ contact card */
.footer-card {
  margin-top: 0;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(8px);
  font-style: normal;
}

.footer-card-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.footer-card-row:last-child {
  margin-bottom: 0;
}

.footer-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
}

.footer-icon svg {
  display: block;
}

.footer-card strong {
  color: #fff;
  font-size: 13px;
}

.footer-email {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--accent);
}

/* Social links */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-social-link:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: var(--accent);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── NAVIGATION COLUMNS ────────────────────────────────── */
.footer-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: clamp(20px, 4vw, 48px);
  justify-self: stretch;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-links h4 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links a {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.18s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Inline CTA link inside nav column */
.footer-cta-inline {
  margin-top: 6px;
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 13px;
}

.footer-cta-inline:hover {
  color: var(--accent-warm) !important;
}

/* ─── BOTTOM BAR ────────────────────────────────────────── */
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.18s;
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  vertical-align: middle;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}
/* awards mobile (de-duplicated) */
@media (max-width: 768px) {
  .awards-track {
    gap: 40px;
    animation-duration: 34s;
    padding: 14px 0;
  }
  .award-item {
    min-width: 170px;
  }
  .award-item img {
    height: 80px;
  }
  .award-item span {
    font-size: 10px;
    line-height: 1.55;
    letter-spacing: var(--tracking-wide);
    max-width: 150px;
  }
}
/* ─── FOOTER RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand-block {
    max-width: 100%;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 520px) {
  .footer-inner {
    padding: 48px 18px 36px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-back-top {
    right: 18px;
  }
}
.slider-track {
  scroll-snap-type: x mandatory;
}
.division-slide,
.project-slide {
  scroll-snap-align: start;
}
.awards-section {
  position: relative;
  overflow: hidden;
}
.awards-head {
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.awards-marquee {
  position: relative;
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
}
.awards-marquee::after,
.awards-marquee::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
}
.awards-marquee::before {
  left: 0;
  background: linear-gradient(to right, #0b1020, rgba(11, 16, 32, 0));
}
.awards-marquee::after {
  right: 0;
  background: linear-gradient(to left, #0b1020, rgba(11, 16, 32, 0));
}
.awards-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: awardsScroll 42s linear infinite;
  padding: 8px 0;
}
.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  text-align: center;
}
.award-item img {
  height: 160px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.9;
}
.award-item span {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(238, 243, 255, 0.76);
  white-space: normal;
  text-align: center;
  max-width: 160px;
}
@keyframes awardsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .awards-track {
    display: flex;
    align-items: center;
    gap: 72px;
    width: max-content;
    animation: awardsScroll 42s linear infinite;
    padding: 18px 0;
  }
}
.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 220px;
  text-align: center;
}
.award-item img {
  height: 52px;
}
.award-item span {
  font-size: 10px;
}
.has-division-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.division-menu-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 8px;
}
.division-menu-copy {
  display: block;
  min-width: 0;
}
.has-mobile-division-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-division-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 7px;
}
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.lightbox-overlay img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.7);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lightbox-overlay.active img {
  transform: scale(1);
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.home-shell {
  padding-top: var(--header-height);
}
.section-inner.hero {
  padding-top: 40px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--text);
}
.home-shell {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: calc(var(--header-height) + 26px) 18px 72px;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
html {
  scroll-padding-top: var(--header-height);
}
section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: var(--shadow);
}
.section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(249, 115, 22, 0.04),
    transparent 36%,
    rgba(249, 115, 22, 0.05) 76%,
    transparent
  );
  pointer-events: none;
}
.section-inner {
  position: relative;
  padding: 30px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 16px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}
.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.group-hero-copy h1,
.hero-copy h1 {
  margin: 0 0 22px;
  font-size: var(--type-display);
  line-height: 1.02;
  letter-spacing: var(--tracking-tighter);
  max-width: 820px;
  font-weight: 700;
}
.hero-copy h1 {
  font-size: clamp(48px, 4.2vw, 60px);
}
.hero-copy p {
  margin: 0 0 10px;
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.hero-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}
.hero-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.hero-btn.primary {
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.2),
    rgba(249, 115, 22, 0.14)
  );
  border-color: rgba(249, 115, 22, 0.22);
}
.hero-btn.secondary {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.18);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.meta-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.meta-box small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 6px;
}
.meta-box strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.meta-box span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}
.hero-media {
  position: relative;
  min-height: 540px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.12),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.02)
    );
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    180deg,
    rgba(5, 7, 17, 0) 15%,
    rgba(5, 7, 17, 0.58) 100%
  );
}
.media-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 11px;
  margin-bottom: auto;
}
.hero-media h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.04;
  letter-spacing: var(--tracking-tight);
  max-width: 520px;
}
.hero-media p {
  margin: 0;
  max-width: 500px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.hero-media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-media-tags span {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  color: rgba(238, 243, 255, 0.88);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0 0 14px;
  font-size: var(--type-section);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  font-weight: 700;
}
.section-head p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.business-panel,
.copy-block,
.cta-band,
.feature-panel,
.footer-panel,
.map-block,
.project-slide,
.tech-block,
.visual-block {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.business-panel,
.copy-block,
.footer-panel,
.stat-stack,
.tech-copy,
.visual-block {
  padding: 18px;
}
.business-panel h3,
.copy-block h3,
.feature-panel h3,
.project-copy h3,
.tech-copy h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: var(--tracking-tight);
}
.business-panel p,
.copy-block p,
.feature-panel p,
.footer-panel p,
.project-copy p,
.tech-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.diagram-placeholder,
.feature-image,
.project-image,
.tech-image {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: rgba(238, 243, 255, 0.82);
  font-size: 13px;
  line-height: 1.65;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.1),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.02);
}
.map-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.14),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.1),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.02)
    );
  position: relative;
  overflow: hidden;
}
.map-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  pointer-events: none;
  z-index: 2;
}
.map-visual img,
.map-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.map-visual .play-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 11px;
  z-index: 3;
}
.diagram-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.diagram-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}
.diagram-chip strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.diagram-chip span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}
.slider-shell {
  position: relative;
}
.slider-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
}
.slider-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--stroke-2);
}
.slider-progress {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-progress-bar {
  position: relative;
  flex: 1 1 auto;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}
.slider-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.95),
    rgba(249, 115, 22, 0.9)
  );
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.25);
  transition: width 0.22s ease;
}
.slider-progress-text {
  min-width: 70px;
  text-align: right;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.slider-track {
  display: flex;
  gap: 14px;
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
  overscroll-behavior-x: contain;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.division-slide {
  min-width: min(360px, 82vw);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  flex: 0 0 auto;
}
.slide-image {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: rgba(238, 243, 255, 0.8);
  font-size: 13px;
  line-height: 1.65;
  background:
    radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.1),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.slide-copy {
  padding: 18px;
}
.slide-copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: var(--tracking-tight);
}
.slide-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}
.feature-stack {
  display: grid;
  gap: 14px;
}
.feature-panel {
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.feature-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.feature-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 12, 24, 0.38);
  pointer-events: none;
}
.feature-panel .feature-copy {
  position: relative;
  z-index: 2;
  margin: 32px;
  padding: 36px;
  max-width: 580px;
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-panel:hover .feature-copy {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.3);
}
.feature-panel .feature-copy h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  margin-bottom: 12px;
  color: #fff;
  font-weight: 600;
}
.feature-panel .feature-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .feature-panel {
    min-height: 320px;
  }
  .feature-panel .feature-copy {
    margin: 16px;
    padding: 24px;
    border-radius: 18px;
  }
}
.capability-showcase {
  display: grid;
  gap: 14px;
}
.capability-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.capability-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}
.capability-copy {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.capability-copy h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.96;
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  font-weight: 900;
}
.capability-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 560px;
}
.capability-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.capability-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.85);
}
.capability-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(238, 243, 255, 0.94);
}
.capability-point span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.capability-media {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-43-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.14),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.1),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.02)
    );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  color: rgba(238, 243, 255, 0.84);
  font-size: 13px;
  line-height: 1.75;
  position: relative;
  overflow: hidden;
}
.video-43-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  pointer-events: none;
}
.video-43-placeholder .play-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 11px;
}
.tech-stack {
  display: grid;
  gap: 14px;
}
.tech-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
}
.tech-block.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}
.tech-block.reverse .tech-image {
  order: 2;
  border-radius: 0;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 280px;
}
.tech-block.reverse .tech-copy {
  order: 1;
}
.tech-image {
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 280px;
}
.tech-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.global-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}
.map-block {
  padding: 18px;
}
.map-visual {
  min-height: 300px;
}
.stat-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stat-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.stat-box small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 6px;
}
.stat-box strong {
  display: block;
  font-size: 30px;
  letter-spacing: var(--tracking-tighter);
  margin-bottom: 4px;
}
.stat-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  color: rgba(238, 243, 255, 0.88);
}
.list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.project-slide {
  min-width: min(520px, 92vw);
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.project-image {
  min-height: 320px;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}
.project-copy {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-copy p {
  margin-bottom: 14px;
}
.cta-band {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.16),
    rgba(249, 115, 22, 0.1),
    rgba(56, 189, 248, 0.06)
  );
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: var(--tracking-tighter);
}
.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 740px;
}
.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}
.footer-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: var(--tracking-tight);
}
.footer-rows {
  display: grid;
  gap: 10px;
}
.footer-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(238, 243, 255, 0.82);
  font-size: 13px;
  line-height: 1.65;
}
.footer-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  flex: 0 0 auto;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.footer-links h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links a {
  display: block;
  margin-bottom: 6px;
  color: rgba(238, 243, 255, 0.88);
  font-size: 12.5px;
}
@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .business-grid,
  .capability-row,
  .capability-row.reverse,
  .footer-grid,
  .global-grid,
  .project-slide,
  .split-visual,
  .tech-block,
  .tech-block.reverse {
    grid-template-columns: 1fr;
  }
  .project-image,
  .tech-block.reverse .tech-image {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .tech-image {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-links,
  .stat-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .home-shell {
    padding: calc(var(--header-height) + 20px) 12px 48px;
    gap: var(--space-4);
  }
  .section-inner {
    padding: 20px 16px;
  }
  .section-head {
    gap: 12px;
    margin-bottom: 14px;
  }
  .section-head h2 {
    font-size: var(--type-section);
    line-height: 1.12;
  }
  .hero-copy h1 {
    font-size: var(--type-display-mobile);
  }
  .hero-media {
    min-height: 420px;
  }
  .hero-media-overlay {
    padding: 18px;
  }
  .business-grid,
  .diagram-list,
  .footer-links,
  .hero-meta,
  .stat-stack {
    grid-template-columns: 1fr;
  }
  .slider-controls {
    margin-bottom: 10px;
  }
  .slider-progress {
    margin-top: 10px;
  }
  .slider-track {
    gap: 10px;
    padding-bottom: 2px;
    scroll-padding-left: 0;
  }
  .project-slide {
    min-width: calc(100vw - 32px);
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
  .division-slide {
    min-width: calc(100vw - 32px);
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
  .slide-image {
    min-height: 180px;
    padding: 16px;
    font-size: 12px;
  }
  .slide-copy {
    padding: 16px;
  }
  .slide-copy h3 {
    font-size: 20px;
  }
  .project-image {
    min-height: 220px;
    padding: 16px;
    font-size: 12px;
  }
  .project-copy {
    padding: 16px;
  }
  .capability-points {
    grid-template-columns: 1fr;
  }
  .capability-copy {
    padding: 18px;
  }
  .capability-copy h3 {
    font-size: 34px;
  }
  .capability-media {
    padding: 14px;
  }
  .video-43-placeholder {
    font-size: 12px;
    padding: 16px;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .home-shell {
    padding: calc(var(--header-height) + 16px) 10px 40px;
  }
  .section-card {
    border-radius: 22px;
  }
  .section-inner {
    padding: 18px 14px;
  }
  .hero {
    min-height: auto;
  }
  .hero-copy h1 {
    font-size: var(--type-display-mobile);
    line-height: 1.05;
    letter-spacing: var(--tracking-tighter);
  }
  .business-panel p,
  .copy-block p,
  .cta-band p,
  .feature-panel p,
  .hero-copy p,
  .project-copy p,
  .tech-copy p {
    font-size: 12.5px;
  }
  .cta-actions,
  .hero-actions {
    width: 100%;
  }
  .hero-btn {
    width: 100%;
  }
  .division-slide,
  .project-slide {
    min-width: calc(100vw - 28px);
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }
  .slider-btn {
    width: 38px;
    height: 38px;
  }
  .hero-media {
    min-height: 360px;
  }
  .media-pill,
  .play-chip,
  .slider-progress-text {
    font-size: 10px;
  }
  .capability-copy h3 {
    font-size: 28px;
  }
  .footer-panel {
    padding: 16px;
  }
}
.feature-panel img,
.hero-media video,
.map-visual img,
.map-visual video,
.project-image img,
.slide-image img,
.tech-image img,
.video-43-placeholder video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.map-visual img,
.map-visual video {
  position: absolute;
  inset: 0;
}
.hero-media video {
  position: absolute;
  inset: 0;
}
.map-visual,
.project-image,
.slide-image,
.tech-image {
  padding: 0;
  overflow: hidden;
}
.map-visual img,
.project-image img,
.slide-image img,
.tech-image img {
  min-height: 100%;
}
.video-43-placeholder {
  padding: 0;
}
.video-43-placeholder video {
  position: absolute;
  inset: 0;
}
.video-43-placeholder .play-chip {
  z-index: 2;
}
.division-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.group-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--header-height) + 48px) 18px 80px;
}

/* ==========================================================================
   Division and Solution portfolio pages
   ========================================================================== */
.portfolio-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--header-height) + 48px) 18px 80px;
}
.translation-notice {
  max-width: calc(var(--maxw) - 36px);
  margin: calc(var(--header-height) + 22px) auto -22px;
  padding: 12px 16px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.55;
}
.translation-notice + .portfolio-shell {
  padding-top: 44px;
}
.portfolio-hero,
.portfolio-detail-hero,
.portfolio-content-section,
.portfolio-related,
.portfolio-cta {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-6);
  border: 1px solid var(--stroke);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}
.portfolio-hero {
  padding: clamp(40px, 7vw, 92px) clamp(24px, 5vw, 64px);
}
.portfolio-hero::after,
.portfolio-detail-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -130px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 70%);
  pointer-events: none;
}
.portfolio-hero h1,
.portfolio-detail-copy h1 {
  margin: 0 0 20px;
  max-width: 920px;
  font-size: var(--type-display);
  line-height: 1.02;
  letter-spacing: var(--tracking-tighter);
}
.portfolio-hero > p,
.portfolio-detail-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.portfolio-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.portfolio-directory-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.portfolio-directory-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.36);
}
.directory-type {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}
.portfolio-directory-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: var(--tracking-tight);
}
.portfolio-directory-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.portfolio-link,
.related-pill {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.portfolio-link:hover,
.related-pill:hover {
  color: var(--accent);
}
.portfolio-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.portfolio-breadcrumb a:hover {
  color: var(--text);
}
.portfolio-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  min-height: 620px;
}
.portfolio-detail-copy {
  align-self: center;
  padding: clamp(32px, 5vw, 64px);
}
.portfolio-detail-media {
  position: relative;
  min-height: 420px;
  border-left: 1px solid var(--stroke);
}
.portfolio-detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 17, 0.4), transparent 35%);
  pointer-events: none;
}
.portfolio-detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.portfolio-content-section {
  padding: clamp(28px, 5vw, 52px);
}
.portfolio-section-heading h2,
.portfolio-related h2,
.portfolio-cta h2 {
  margin: 0 0 12px;
  font-size: var(--type-section);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
}
.portfolio-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: 28px;
}
.portfolio-related,
.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 48px);
}
.portfolio-related p,
.portfolio-cta p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.related-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.related-pill {
  display: inline-flex;
  padding: 11px 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 960px) {
  .portfolio-directory,
  .portfolio-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-detail-hero {
    grid-template-columns: 1fr;
  }
  .portfolio-detail-media {
    min-height: 360px;
    border-top: 1px solid var(--stroke);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .portfolio-shell {
    padding-top: calc(var(--header-height) + 26px);
  }
  .translation-notice {
    margin: calc(var(--header-height) + 14px) 14px -10px;
  }
  .portfolio-directory,
  .portfolio-capability-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-directory-card {
    min-height: 0;
  }
  .portfolio-related,
  .portfolio-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .related-pills {
    justify-content: flex-start;
  }
}
.group-section {
  margin-bottom: var(--space-6);
  border: 1px solid var(--stroke);
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.group-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(249, 115, 22, 0.04),
    transparent 36%,
    rgba(249, 115, 22, 0.05) 76%,
    transparent
  );
  pointer-events: none;
}
.group-inner {
  position: relative;
  padding: 36px;
}
.structure-page-title {
  margin: 0 0 14px;
  max-width: 980px;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: var(--tracking-tighter);
}
.group-hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1fr;
}
.group-hero-copy {
  position: relative;
  padding: 42px 36px 26px;
}
.group-hero h1 {
  margin: 0 0 20px;
  max-width: 980px;
  font-size: var(--type-display);
  line-height: 1.02;
  letter-spacing: var(--tracking-tighter);
}
.legal-shell .group-hero h1,
.news-hero .group-hero-copy h1 {
  font-size: clamp(44px, 5vw, 64px);
}
.group-hero p {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.group-hero-media {
  height: min(58vh, 560px);
  min-height: 360px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(249, 115, 22, 0.18),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(56, 189, 248, 0.16),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.group-hero-media img,
.group-hero-media video,
.group-media img,
.group-media video,
.group-visual img,
.group-visual video,
.structure-diagram img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.figure-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.figure {
  padding: 34px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.figure:last-child {
  border-right: 0;
}
.figure strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: var(--tracking-tighter);
}
.figure span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.group-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.group-split.reverse .group-visual {
  order: 1;
}
.group-split.reverse .group-copy {
  order: 2;
}
.group-copy {
  position: relative;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.group-copy h2 {
  margin: 0 0 18px;
  font-size: var(--type-section);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
}
.group-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.group-copy ul {
  margin: 6px 0 0;
  padding-left: 18px;
  color: rgba(238, 243, 255, 0.76);
  font-size: 14px;
  line-height: 1.8;
}
.group-visual {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(249, 115, 22, 0.16),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(56, 189, 248, 0.14),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.group-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 17, 0.28), rgba(5, 7, 17, 0));
  pointer-events: none;
}
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.process-item {
  padding: 24px;
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}
.process-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}
.process-item small {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.process-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}
.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.structure-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: center;
}
.structure-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: var(--tracking-tighter);
}
.structure-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.structure-diagram {
  min-height: 420px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}
.group-media {
  height: min(62vh, 560px);
  min-height: 360px;
  position: relative;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(56, 189, 248, 0.16),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(249, 115, 22, 0.16),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.group-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 17, 0.35), rgba(5, 7, 17, 0));
  pointer-events: none;
}
.group-statement {
  padding: 56px 36px;
  text-align: center;
}
.group-statement h2 {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
}
.group-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.group-cta h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.1;
}
.group-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
}
@media (max-width: 980px) {
  .group-split,
  .structure-block {
    grid-template-columns: 1fr;
  }
  .group-split.reverse .group-copy,
  .group-split.reverse .group-visual {
    order: initial;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .figure-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .figure:nth-child(2) {
    border-right: 0;
  }
  .figure:first-child,
  .figure:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .group-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 620px) {
  .group-shell {
    padding: calc(var(--header-height) + 24px) 12px 56px;
  }
  .group-copy,
  .group-hero-copy,
  .group-inner {
    padding: 24px 18px;
  }
  .group-hero h1 {
    font-size: var(--type-display-mobile);
  }
  .structure-page-title {
    font-size: var(--type-display-mobile);
  }
  .group-hero-media,
  .group-media,
  .group-visual {
    min-height: 300px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .figure-strip {
    grid-template-columns: 1fr;
  }
  .figure {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .figure:last-child {
    border-bottom: 0;
  }
  .cta-actions,
  .group-cta .hero-btn {
    width: 100%;
  }
}
.structure-head {
  position: relative;
  max-width: 860px;
  margin-bottom: 34px;
}
.structure-head h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: var(--tracking-tighter);
}
.structure-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.structure-diagram {
  position: relative;
  padding: 10px 0 4px;
}
.structure-tier {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.structure-tier + .structure-tier {
  margin-top: 54px;
}
.structure-tier:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -42px;
  width: 1px;
  height: 42px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.04)
  );
}
.structure-tier.core::before,
.structure-tier.divisions::before {
  content: "";
  position: absolute;
  top: -27px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
}
.structure-row {
  display: grid;
  gap: 14px;
  width: 100%;
}
.structure-row.core-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
}
.structure-row.division-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.structure-node {
  position: relative;
  min-height: 136px;
  padding: 18px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.08),
      transparent 36%
    ),
    rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}
.structure-node:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.14),
      transparent 36%
    ),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(56, 189, 248, 0.1);
}
.structure-node.root {
  max-width: 420px;
  min-height: 150px;
  padding: 24px;
  border-color: rgba(249, 115, 22, 0.32);
  background:
    radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.18),
      transparent 36%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.12),
      transparent 36%
    ),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 34px rgba(249, 115, 22, 0.08);
}
.structure-node.core-node {
  border-color: rgba(56, 189, 248, 0.18);
}
.structure-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.structure-node.root .structure-logo {
  width: 68px;
  height: 68px;
}
.structure-node strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}
.structure-node.root strong {
  font-size: 20px;
}
.structure-node span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  max-width: 210px;
}
.tier-label {
  margin-bottom: 12px;
  color: rgba(238, 243, 255, 0.48);
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  font-weight: 700;
}
.structure-diagram.is-muted .structure-node {
  opacity: 0.42;
}
.structure-diagram.is-muted .structure-node.is-active,
.structure-diagram.is-muted .structure-node:hover {
  opacity: 1;
}
@media (max-width: 1050px) {
  .structure-row.division-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .structure-tier.core::before,
  .structure-tier.divisions::before {
    left: 20%;
    right: 20%;
  }
}
@media (max-width: 760px) {
  .structure-head h2 {
    font-size: 30px;
  }
  .structure-row.core-row,
  .structure-row.division-row {
    grid-template-columns: 1fr;
  }
  .structure-tier + .structure-tier {
    margin-top: 42px;
  }
  .structure-tier:not(:last-child)::after {
    bottom: -32px;
    height: 32px;
  }
  .structure-tier.core::before,
  .structure-tier.divisions::before {
    display: none;
  }
  .structure-node {
    min-height: 120px;
  }
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 12px;
  color: rgba(238, 243, 255, 0.6);
  transition: 0.2s ease;
}
.footer-legal-links a:hover {
  color: #fff;
}
.footer-copy {
  font-size: 12px;
  color: rgba(238, 243, 255, 0.5);
}


/* ==========================================
   FOOTER ACCREDITATIONS
========================================== */

.footer-brand-copy{
  min-width:0;
}

.footer-accreditations{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
  margin-bottom:22px;
  flex-wrap:wrap;
}

.varlive-footer .footer-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 140px;
  width:140px;
  max-width:140px;
  height:52px;
  max-height:52px;
  padding:6px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:rgba(255,255,255,.03);
  overflow:hidden;
  transition:border-color .2s ease, background .2s ease;
}

.varlive-footer .footer-badge:hover{
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);
}

.varlive-footer .footer-badge-logo,
.varlive-footer .footer-badge img{
  display:block;
  width:auto !important;
  height:auto !important;
  max-width:120px !important;
  max-height:36px !important;
  object-fit:contain;
  filter:brightness(0) invert(1);
}

.varlive-footer .footer-badge-placeholder{
  flex:0 0 140px;
  width:140px;
  max-width:140px;
  height:52px;
  max-height:52px;
  border-style:dashed;
}

.varlive-footer .footer-badge-placeholder span{
  font-size:9px;
  line-height:1.25;
  letter-spacing: var(--tracking-wide);
  text-transform:uppercase;
  color:rgba(238,243,255,.5);
  text-align:center;
}

@media (max-width:768px){
  .footer-accreditations{
    margin-top:12px;
    margin-bottom:20px;
  }

  .varlive-footer .footer-badge{
    flex:0 0 120px;
    width:120px;
    max-width:120px;
    height:46px;
    max-height:46px;
  }

  .varlive-footer .footer-badge-logo,
  .varlive-footer .footer-badge img{
    max-width:100px !important;
    max-height:30px !important;
  }
}

/* ==========================================
   PARTNER WIZARD STYLES
   ========================================== */

.partner-shell {
  max-width: var(--maxw);
  margin: var(--header-height) auto 0;
  padding: 40px 20px 80px;
}

.partner-card {
  border: 1px solid var(--stroke);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(18, 24, 38, 0.86),
    rgba(11, 16, 32, 0.82)
  );
  box-shadow: var(--shadow);
  position: relative;
  padding: clamp(24px, 4vw, 48px);
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(249, 115, 22, 0.04),
    transparent 40%,
    rgba(249, 115, 22, 0.05) 80%,
    transparent
  );
  pointer-events: none;
}

.partner-card h1 {
  margin: 0 0 10px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: var(--tracking-tighter);
}

.partner-card p.subtitle {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 40px;
}

.other-objective-wrapper {
  display: none;
  margin-top: var(--space-6);
  animation: slideDownBanner 0.3s ease;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submission-safeguards {
  margin-top: var(--space-7);
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(249, 115, 22, 0.025));
}

.submission-safeguards-heading {
  margin-bottom: 16px;
}

.submission-safeguards-heading small {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.submission-safeguards-heading h4 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 17px;
}

.submission-safeguards-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.privacy-consent-block {
  position: relative;
  margin: 0;
}

.privacy-consent-input {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.privacy-consent-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(5, 9, 19, 0.46);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.privacy-consent-card:hover {
  border-color: rgba(249, 115, 22, 0.48);
  background: rgba(249, 115, 22, 0.055);
}

.privacy-consent-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 13px;
  background: rgba(249, 115, 22, 0.09);
  color: var(--accent);
}

.privacy-consent-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.privacy-consent-copy {
  min-width: 0;
}

.privacy-consent-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}

.privacy-consent-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.privacy-consent-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: transparent;
  font-size: 15px;
  font-weight: 900;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.privacy-consent-input:focus-visible + .privacy-consent-card {
  outline: 3px solid rgba(249, 115, 22, 0.36);
  outline-offset: 3px;
}

.privacy-consent-input:checked + .privacy-consent-card {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.13), rgba(249, 115, 22, 0.045));
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.1);
}

.privacy-consent-input:checked + .privacy-consent-card .privacy-consent-icon {
  background: rgba(249, 115, 22, 0.17);
}

.privacy-consent-input:checked + .privacy-consent-card .privacy-consent-check {
  border-color: var(--accent);
  background: var(--accent);
  color: #090b12;
  transform: scale(1.05);
}

.privacy-policy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 4px 0 0 56px;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.privacy-policy-link:hover {
  color: #fff0b0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-policy-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.turnstile-block {
  margin: 12px 0 0;
  max-width: none;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(5, 9, 19, 0.34);
}

.turnstile-widget {
  min-height: 65px;
  width: 100%;
}

.turnstile-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.turnstile-status[data-state="error"] {
  color: #b42318;
}

.turnstile-status[data-state="success"] {
  color: #1f6f43;
}

/* Privacy and bot verification belong only to the final contact step. */
#partnerForm:not([data-current-step="4"]) .submission-safeguards {
  display: none;
}

/* Steps Progress Header */
.wizard-steps-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 24px;
  margin-bottom: 40px;
  gap: 16px;
  scroll-margin-top: calc(var(--header-height, 96px) + 16px);
}

.wizard-step-indicator {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  gap: 6px;
  opacity: 0.35;
  transition: opacity 0.3s, transform 0.2s;
}

.wizard-step-indicator.active {
  opacity: 1;
}

.wizard-step-indicator.completed {
  opacity: 0.8;
  cursor: pointer;
}

.wizard-step-indicator.completed:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.wizard-step-indicator:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 2px;
}

.wizard-step-indicator .step-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.wizard-step-indicator.active .step-line,
.wizard-step-indicator.completed .step-line {
  background: var(--accent);
}

.wizard-step-indicator span.step-number {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
}

.wizard-step-indicator span.step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Step Layout Containers */
.wizard-step-section {
  grid-area: 1 / 1;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.wizard-step-section.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: fadeInStep 0.4s ease;
}

#partnerForm {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title-block {
  margin-bottom: 28px;
}

.step-title-block h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.step-title-block p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Step 4: Review and submit */
.review-summary {
  display: grid;
  gap: 16px;
}

.review-card {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(5, 9, 19, 0.38);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.025);
}

.review-card-header h4 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.review-edit-button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.08);
  color: var(--accent-warm);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.review-edit-button:hover {
  border-color: var(--accent);
  background: rgba(249, 115, 22, 0.15);
}

.review-edit-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 4px 18px;
}

.review-list > div {
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.review-list > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.review-list > div:nth-child(odd) {
  padding-right: 18px;
}

.review-list > div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.review-list .review-wide {
  grid-column: 1 / -1;
  padding-right: 0;
  padding-left: 0;
  border-left: 0;
}

.review-list dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.review-list dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.review-list dd[data-review="message"] {
  white-space: pre-wrap;
}

/* Step 1: Sector Grid */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.sector-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
}

.sector-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.sector-card.active {
  border-color: var(--accent);
  background: rgba(249, 115, 22, 0.08);
}

.sector-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sector-card.active .sector-icon {
  background: var(--accent);
  color: #000;
}

.sector-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sector-copy strong {
  font-size: 14px;
  color: var(--text);
}

.sector-copy span {
  font-size: 11px;
  color: var(--muted);
}

/* Division Mapping Banner */
.division-mapping-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.08), rgba(249, 115, 22, 0.03));
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 18px;
  margin-top: 32px;
  animation: slideDownBanner 0.3s ease;
}

@keyframes slideDownBanner {
  from { opacity: 0; transform: scaleY(0.9); transform-origin: top; }
  to { opacity: 1; transform: scaleY(1); }
}

.div-banner-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.div-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.div-banner-copy small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--accent);
  text-transform: uppercase;
}

.div-banner-copy strong {
  font-size: 15px;
  color: #fff;
}

.div-banner-copy span {
  font-size: 12px;
  color: var(--muted);
}

/* Step 2: Objectives Grid */
.objectives-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.objective-pill {
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
}

.objective-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.objective-pill.active {
  background: var(--text);
  color: #000;
  border-color: var(--text);
}

/* Step 3: Contact Inputs */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--tracking-normal);
  color: rgba(255, 255, 255, 0.6);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form Action Buttons Bar */
.wizard-actions-bar {
  grid-area: 2 / 1;
  display: flex;
  justify-content: space-between;
  align-self: end;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  gap: 16px;
}

@media (max-width: 600px) {
  #partnerForm {
    display: flex;
    flex-direction: column;
  }

  .wizard-step-section {
    display: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .wizard-step-section.active {
    display: block;
    animation: fadeInStep 0.4s ease;
  }

  .wizard-actions-bar {
    margin-top: 0;
  }

  .submission-safeguards {
    padding: 16px;
    border-radius: 18px;
  }

  .privacy-consent-card {
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    gap: 11px;
    padding: 15px;
  }

  .privacy-consent-icon {
    width: 38px;
    height: 38px;
  }

  .privacy-policy-link {
    margin-left: 49px;
  }

  .review-list {
    grid-template-columns: 1fr;
  }

  .review-list > div,
  .review-list > div:nth-child(odd),
  .review-list > div:nth-child(even) {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 0;
  }

  .review-list > div:last-child {
    border-bottom: 0;
  }
}

.wizard-actions-bar button {
  min-width: 120px;
}

.wizard-actions-bar .right-actions {
  display: flex;
  gap: 12px;
}

/* Success Lightbox Modal */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 17, 0.85);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeSuccessIn 0.3s ease;
}

.success-overlay.active {
  display: flex;
}

@keyframes fadeSuccessIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-modal {
  max-width: 480px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: rgba(18, 24, 38, 0.95);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  padding: 40px;
  text-align: center;
  position: relative;
  animation: popSuccessModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popSuccessModal {
  from { transform: scale(0.95) translateY(12px); }
  to { transform: scale(1) translateY(0); }
}

.success-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
}

.success-modal h3 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #fff;
}

.success-modal p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
}

.success-modal button {
  width: 100%;
}

/* Loading state override */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 860px) {
  .partner-shell {
    padding: 30px 16px 60px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .wizard-steps-header {
    margin-bottom: 30px;
  }
  .wizard-step-indicator span.step-label {
    display: none;
  }
}

/* ==========================================================================
   Company Overview Page Layouts
   ========================================================================== */

/* Ecosystem Flow (Hierarchical flowchart) */
.ecosystem-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0;
  position: relative;
}
.ecosystem-node {
  flex: 1;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color 0.22s, background 0.22s;
}
.ecosystem-node:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}
.ecosystem-node strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: var(--tracking-tight);
}
.ecosystem-node span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.ecosystem-arrow {
  font-size: 20px;
  color: var(--accent);
  user-select: none;
  display: flex;
  align-items: center;
}

/* Grids: Tech Platforms, Portfolio, Industries, Pillars, Props */
.tech-platforms-grid,
.portfolio-grid,
.pillars-grid,
.props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 28px;
}

/* Glassmorphic Cards styles */
.overview-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  display: flex;
  flex-direction: column;
}
.overview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}
.overview-card .card-icon {
  font-size: 26px;
  margin-bottom: 18px;
  display: inline-block;
}
.overview-card h2,
.overview-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: var(--tracking-tight);
}
.overview-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  flex: 1;
}
.overview-card .focus-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 11px;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  align-self: flex-start;
}

/* Timeline Lifecycle Layout */
.delivery-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 36px;
  position: relative;
}
.timeline-step {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.timeline-step:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}
.timeline-step .step-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.timeline-step strong {
  display: block;
  font-size: 14px;
  letter-spacing: var(--tracking-tight);
  color: var(--text);
}

/* Image / Diagram placeholder box card */
.placeholder-block {
  width: 100%;
  min-height: 380px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.015),
      rgba(255, 255, 255, 0.015) 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px
    ),
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02)
    );
  border: 2px dashed rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}
.placeholder-block .placeholder-icon {
  font-size: 42px;
  margin-bottom: 16px;
  opacity: 0.65;
}
.placeholder-block h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text);
  letter-spacing: var(--tracking-tight);
}
.placeholder-block p {
  margin: 0;
  max-width: 320px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Overrides for Company Overview
   ========================================================================== */
@media (max-width: 1080px) {
  .tech-platforms-grid,
  .portfolio-grid,
  .pillars-grid,
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .delivery-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .ecosystem-flow {
    flex-direction: column;
    gap: 12px;
  }
  .ecosystem-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }
  .tech-platforms-grid,
  .portfolio-grid,
  .pillars-grid,
  .props-grid,
  .industries-grid,
  .delivery-timeline {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Concise text-only Group pages
   ========================================================================== */
.group-content-page .group-hero-text-only {
  min-height: 0;
}
.group-content-page .group-hero-text-only .group-hero-copy {
  padding-block: clamp(52px, 8vw, 104px);
}
.group-content-page .group-hero-text-only h1 {
  max-width: 1120px;
}
.group-content-page .group-hero-text-only p {
  max-width: 820px;
  font-size: clamp(16px, 1.5vw, 19px);
}
.group-section-title {
  max-width: 960px;
  margin: 0 0 16px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
}
.group-section-lead {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.group-text-grid,
.group-roster-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.group-text-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.group-text-grid-3,
.group-roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-text-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group-text-card,
.group-roster-card {
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.group-roster-card { min-height: 190px; }
.group-text-card:hover,
.group-roster-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}
.group-card-index,
.group-roster-card > span {
  margin-bottom: 32px;
  color: var(--accent-warm);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}
.group-text-card h3,
.group-roster-card h3 {
  margin: 0 0 11px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
}
.group-text-card p,
.group-roster-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.group-text-card a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 750;
}
.group-flow-list,
.group-layer-list {
  margin-top: 30px;
  border-top: 1px solid var(--stroke);
}
.group-flow-list article,
.group-layer-list article {
  min-height: 132px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  border-bottom: 1px solid var(--stroke);
}
.group-flow-list article > span,
.group-layer-list article > span {
  color: var(--accent-warm);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
}
.group-flow-list h3,
.group-layer-list h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.12;
}
.group-flow-list p,
.group-layer-list p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.group-statement-compact {
  padding-block: clamp(48px, 7vw, 86px);
}
.group-statement-compact h2 {
  font-size: clamp(34px, 5vw, 66px);
}
.group-approval-note {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.group-disclosure {
  max-width: 980px;
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: rgba(249, 115, 22, 0.07);
}
.group-disclosure strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-warm);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.group-disclosure p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 1080px) {
  .group-content-page .group-text-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .group-content-page .group-text-grid-2,
  .group-content-page .group-text-grid-3,
  .group-content-page .group-text-grid-4,
  .group-content-page .group-roster-grid {
    grid-template-columns: 1fr;
  }
  .group-text-card,
  .group-roster-card {
    min-height: 0;
  }
  .group-flow-list article,
  .group-layer-list article {
    min-height: 0;
    padding-block: 24px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
}

/* ==========================================================================
   Vision & Strategy Page Layouts
   ========================================================================== */
.strategic-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.global-expansion-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .strategic-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .global-expansion-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .strategic-pillars-grid,
  .global-expansion-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Group Structure Page Layouts
   ========================================================================== */
.shared-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .shared-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .shared-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   B2B Partner Wizard Sidebar Panel Layouts
   ========================================================================== */
.wizard-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.wizard-main-flow {
  min-width: 0;
}

.wizard-sidebar-panel {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.sidebar-empty-state {
  text-align: center;
  padding: 30px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state-icon {
  font-size: 32px;
  opacity: 0.5;
  animation: pulseBeacon 2s infinite ease-in-out;
}

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

.sidebar-empty-state p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Active Sidebar State */
.sidebar-division-card {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  padding-right: 40px;
}

.sidebar-drawer-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sidebar-drawer-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wizard-sidebar-panel .sidebar-desc,
.wizard-sidebar-panel .sidebar-modules {
  display: none;
}

.wizard-sidebar-panel.expanded .sidebar-division-card {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 16px;
}

.wizard-sidebar-panel.expanded .sidebar-desc,
.wizard-sidebar-panel.expanded .sidebar-modules {
  display: block;
  animation: fadeInStep 0.25s ease;
}

.wizard-sidebar-panel.expanded .sidebar-drawer-toggle {
  transform: translateY(-50%) rotate(180deg);
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.sidebar-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.sidebar-division-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-division-info small {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.sidebar-division-info strong {
  font-size: 15px;
  color: #fff;
}

.sidebar-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.sidebar-capabilities-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin: 0 0 12px 0;
}

.sidebar-capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-capabilities-list li {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: start;
  gap: 8px;
}

.sidebar-capabilities-list li::before {
  content: "✦";
  color: var(--accent);
  font-size: 10px;
  margin-top: 1px;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
  .wizard-grid-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Reset panel on mobile to float */
  .wizard-sidebar-panel {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    top: auto;
    z-index: 1000;
    border-radius: 18px;
    border: 1px solid rgba(249, 115, 22, 0.4);
    background: rgba(13, 19, 33, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 45px rgba(0,0,0,0.7);
    padding: 16px;
    transform: translateY(180px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .wizard-sidebar-panel.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-empty-state {
    display: none !important;
  }

  /* Compact top toggle for mobile drawer extension */
  .wizard-sidebar-panel.expanded .sidebar-desc,
  .wizard-sidebar-panel.expanded .sidebar-modules {
    margin-top: 14px;
  }

  .sidebar-division-card {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
    padding-right: 40px; /* Give room for toggle button */
  }

  /* Add large padding at the bottom of the shell so submit actions are scrollable */
  .partner-shell {
    padding-bottom: 140px;
  }
}

/* ==========================================================================
   News Layout & News Page Styles
   ========================================================================== */

/* Homepage News Integration */
.news-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.news-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Base News Card Styles */
.news-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke2);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.news-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.03);
}

.news-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 12px;
}

.news-meta span {
  display: flex;
  align-items: center;
}

.news-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  opacity: 0.6;
}

.news-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
  letter-spacing: var(--tracking-tight);
}

.news-content p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  flex-grow: 1;
}

.news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  align-self: flex-start;
}

.news-link:hover {
  gap: 10px;
}

/* Featured Card Layout (Bigger on Desktop) */
@media (min-width: 901px) {
  .news-featured {
    flex-direction: row;
    grid-column: span 1;
  }
  .news-featured .news-image {
    width: 52%;
    height: 100%;
    aspect-ratio: auto;
  }
  .news-featured .news-content {
    width: 48%;
    padding: 32px;
  }
  .news-featured .news-content h3 {
    font-size: 24px;
  }
}

/* Scrolling Rail for other articles */
.news-rail-wrap {
  position: relative;
  overflow-x: auto;
  margin-top: 36px;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.news-rail-wrap::-webkit-scrollbar {
  height: 6px;
}

.news-rail-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}

.news-rail-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  transition: background 0.2s;
}

.news-rail-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.news-rail {
  display: flex;
  gap: 20px;
  width: max-content;
}

.news-tile-link {
  display: block;
}

.news-tile {
  width: 340px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 20px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  height: 100%;
}

.news-tile-link:hover .news-tile {
  transform: translateY(-3px);
  border-color: var(--stroke2);
  background: rgba(255, 255, 255, 0.045);
}

.news-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-tile-link:hover .news-thumb img {
  transform: scale(1.03);
}

.news-tile-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-tile-copy small {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.news-tile-copy strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: var(--tracking-tight);
}

.news-tile-copy span {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.news-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   News Page Listing Specific (Filters & Search)
   ========================================================================== */
.news-page-hero {
  padding-bottom: 24px;
}

.news-search-filters-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.news-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.news-filter-btn {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.22s ease;
  outline: none;
}

.news-filter-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--stroke2);
}

.news-filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.news-search-wrap {
  position: relative;
  width: 320px;
}

@media (max-width: 768px) {
  .news-search-filters-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .news-search-wrap {
    width: 100%;
  }
}

.news-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 10px 16px 10px 42px;
  border-radius: 30px;
  font-size: 13.5px;
  font-family: var(--sans);
  outline: none;
  transition: all 0.25s ease;
}

.news-search-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.news-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  opacity: 0.7;
  pointer-events: none;
  width: 15px;
  height: 15px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed var(--stroke);
  border-radius: 24px;
  color: var(--muted);
  grid-column: 1 / -1;
}

.no-results h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.no-results p {
  font-size: 13px;
}

/* News Hero Override to resolve the empty height gap */
.news-hero {
  min-height: auto !important;
  margin-bottom: 24px;
}
.news-hero .group-hero-copy {
  padding: 42px 36px 36px;
}

/* ==========================================================================
   Malaysia Digital (MD) Status Section
   ========================================================================== */
.md-status-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
}

.md-status-copy .lead-text {
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.4;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 500;
}

.md-status-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.md-feature {
  display: flex;
  align-items: start;
  gap: 12px;
}

.feature-bullet {
  color: var(--accent);
  font-size: 14px;
  margin-top: 2px;
}

.md-feature strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}

.md-feature span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.md-badge-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.md-badge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.03),
    rgba(249, 115, 22, 0.03)
  );
  pointer-events: none;
}

.md-badge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 15px 50px rgba(249, 115, 22, 0.15);
}

.md-card-logo {
  max-width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 24px;
}

.md-card-divider {
  height: 1px;
  background: var(--stroke);
  margin: 0 auto 24px;
  width: 80%;
}

.md-badge-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.md-badge-card .hero-btn {
  width: 100%;
}

@media (max-width: 991px) {
  .md-status-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .md-badge-card {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Solutions Interactive Configurator (Option A)
   ========================================================================== */
.solutions-tabs-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(900px, 100%);
  margin-inline: auto;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 16px;
}

.solutions-tab-btn {
  width: 100%;
  min-height: 54px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solutions-tab-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.solutions-tab-btn.active {
  color: var(--text);
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.2),
    rgba(249, 115, 22, 0.14)
  );
  border-color: rgba(249, 115, 22, 0.22);
}

.solutions-configurator-container {
  position: relative;
  width: 100%;
}

.solutions-configurator-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.solutions-configurator-panel.active {
  position: relative;
  display: block;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: #080c18;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
}

.solutions-info-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(62%, 720px);
  min-height: 600px;
  padding: 52px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.solutions-info-col h3 {
  font-size: clamp(22px, 3vw, 32px);
  color: #fff;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}

.solutions-info-col p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.solutions-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.solutions-markets .market-badge {
  font-size: 12px;
  background: rgba(5, 9, 19, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 6px 12px;
  border-radius: 99px;
  font-weight: 500;
}

.solutions-capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.solutions-capability-item {
  display: flex;
  align-items: start;
  gap: 0;
}

.solutions-capability-item .item-icon {
  display: none;
}

.solutions-capability-item strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}

.solutions-capability-item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.solutions-preview-col {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: #080c18;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.solutions-preview-col::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 17, 0.98) 0%,
      rgba(5, 8, 17, 0.94) 32%,
      rgba(5, 8, 17, 0.82) 52%,
      rgba(5, 8, 17, 0.42) 76%,
      rgba(5, 8, 17, 0.5) 100%
    ),
    linear-gradient(180deg, rgba(5, 8, 17, 0.28), rgba(5, 8, 17, 0.58));
}

.solutions-preview-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: transform 0.5s ease;
}

.solutions-configurator-panel.active:hover .solutions-preview-col img {
  transform: scale(1.03);
}

/* Glassmorphic simulated telemetry overlay */
.solutions-telemetry-overlay {
  display: none;
  position: relative;
  z-index: 1;
  width: 90%;
  background: rgba(8, 12, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.telemetry-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.telemetry-status {
  font-size: 11px;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 8px;
  border-radius: 99px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.telemetry-status .status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: telemetryPulse 1.8s infinite;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.telemetry-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px;
  border-radius: 12px;
}

.telemetry-item small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.telemetry-item strong {
  display: block;
  font-size: 18px;
  color: #fff;
}

@keyframes telemetryPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

@media (max-width: 991px) {
  .solutions-configurator-panel.active {
    min-height: 0;
  }

  .solutions-info-col {
    width: 72%;
    min-height: 560px;
    padding: 32px;
  }

  .solutions-preview-col {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .solutions-tabs-bar {
    grid-template-columns: 1fr;
  }

  .solutions-tab-btn {
    min-height: 48px;
  }

  .solutions-info-col {
    width: 100%;
    min-height: 0;
    padding: 32px 24px;
  }

  .solutions-preview-col::after {
    background:
      linear-gradient(
        180deg,
        rgba(5, 8, 17, 0.82) 0%,
        rgba(5, 8, 17, 0.92) 48%,
        rgba(5, 8, 17, 0.98) 100%
      ),
      rgba(5, 8, 17, 0.32);
  }
}

/* ==========================================================================
   Interactive Corporate Organization Chart
   ========================================================================== */
#orgChartSection {
  background:
    radial-gradient(circle at 12% 0%, rgba(61, 155, 211, .16), transparent 25%),
    radial-gradient(circle at 86% 8%, rgba(212, 131, 77, .13), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(143, 120, 216, .08), transparent 34%),
    linear-gradient(180deg, #0b111c 0%, #070b13 100%);
}

.chart-shell {
  --orange: #e07b39;
  --blue: #3a82f6;
  --green: var(--blue);
  --red: var(--blue);
  --violet: var(--blue);
  --cyan: var(--blue);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 20px;
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: 10px 0 20px;
  overflow-x: auto;
  position: relative;
  isolation: isolate;
}

#orgChartSection::before,
#orgChartSection::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .13;
  pointer-events: none;
  animation: ambient-drift 14s ease-in-out infinite alternate;
}
#orgChartSection::before { left: -12rem; top: -15rem; background: #2f9ed8; }
#orgChartSection::after { right: -13rem; bottom: -17rem; background: #8f78d8; animation-delay: -7s; }

.chart {
  min-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.top-row {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.top-row .card-wrap {
  width: 290px;
  flex: 0 0 290px;
  max-width: 100%;
}

.row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-inline: 12.5%;
}

.bottom-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  position: relative;
  z-index: 1;
  padding-top: 10px;
}
.bottom-row .card-wrap:nth-child(2) { grid-column: 2; }
.bottom-row .card-wrap:nth-child(3) { grid-column: 3; }

.service-label {
  margin: 2px 0 8px;
  color: #858e9f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 14px;
  width: 100%;
}

.card h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  text-align: left;
}

.card .desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: #a4b3cd;
  margin: 0 0 16px;
  text-align: left;
}

.card-wrap {
  position: relative;
  padding-top: 10px;
}

.card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  perspective: 1200px;
  cursor: pointer;
  min-height: var(--card-height, 238px);
  height: var(--card-height, 238px);
  outline: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover,
.card:focus-within {
  transform: translateY(-5px);
}

.card.compact { min-height: var(--card-height, 250px); }

.card-inner {
  position: relative;
  width: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2,.72,.2,1);
}

.card.is-flipped .card-inner { transform: rotateY(180deg); }

.card-face {
  position: absolute;
  inset: 0;
  min-height: inherit;
  padding: 18px 18px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18,27,43,.98), rgba(10,16,28,.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 12px 28px rgba(0,0,0,.16);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 36%);
  opacity: .7;
}

.card-back {
  transform: rotateY(180deg);
}

.card.orange .card-face { border-color: var(--orange); }
.card.blue .card-face,
.card.green .card-face,
.card.red .card-face,
.card.violet .card-face,
.card.cyan .card-face { border-color: var(--blue); }

.card:hover .card-face,
.card:focus-visible .card-face {
  border-color: #6e81a2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 20px 42px rgba(0,0,0,.28), 0 0 0 3px rgba(103,188,232,.12);
}
.card.orange:hover .card-face, .card.orange:focus-visible .card-face { border-color: var(--orange); box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 20px 42px rgba(224, 123, 57, .18), 0 0 0 3px rgba(224, 123, 57, .15); }
.card.blue:hover .card-face, .card.blue:focus-visible .card-face,
.card.green:hover .card-face, .card.green:focus-visible .card-face,
.card.red:hover .card-face, .card.red:focus-visible .card-face,
.card.violet:hover .card-face, .card.violet:focus-visible .card-face,
.card.cyan:hover .card-face, .card.cyan:focus-visible .card-face { border-color: var(--blue); box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 20px 42px rgba(58, 130, 246, .18), 0 0 0 3px rgba(58, 130, 246, .15); }

.domain {
  flex: none;
  padding: 7px 11px;
  border: 1px solid #3d4555;
  border-radius: 999px;
  color: #b7becb;
  font-size: 13px;
  line-height: 1;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

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

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #41495a;
  background: rgba(255,255,255,.035);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  color: #d2d7e0;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
}

.chip:hover {
  background: rgba(255,255,255,.075);
  border-color: #60708d;
  transform: translateY(-1px);
}

.flip-hint {
  margin-top: auto;
  padding-top: 18px;
  color: #90a0b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flip-hint::before {
  content: "↻";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  transition: transform .35s ease;
}

.card:hover .flip-hint::before { transform: rotate(135deg); }
.card-back .card-header { margin-bottom: 10px; }
.card-back .chips { position: relative; z-index: 1; }
.card-back .service-label { margin-top: 0; }
.card-back .flip-hint { padding-top: 12px; }

/* SVG connector overlay layer */
.connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.connector-path {
  fill: none;
  stroke: url(#connectorGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(85, 164, 225, .42));
  stroke-dasharray: 9 8;
  animation: line-flow 2.8s linear infinite;
}

.connector-glow {
  fill: none;
  stroke: rgba(91, 173, 234, .18);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: blur(5px);
  animation: connector-pulse 3.2s ease-in-out infinite;
}

.connector-node {
  fill: #83c8f2;
  filter: drop-shadow(0 0 7px rgba(92, 188, 245, .8));
  animation: node-pulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes line-flow { to { stroke-dashoffset: -34; } }
@keyframes connector-pulse { 0%,100% { opacity: .16; } 50% { opacity: .5; } }
@keyframes node-pulse { 0%,100% { transform: scale(.82); opacity: .72; } 50% { transform: scale(1.25); opacity: 1; } }

/* Cascading entries load-in animations */
.top-row, .row .card-wrap, .bottom-row .card-wrap {
  opacity: 0;
  transform: translateY(-14px);
  animation: cascade-in 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}

.top-row { animation-delay: .05s; }
.row.three .card-wrap:nth-child(1) { animation-delay: .22s; }
.row.three .card-wrap:nth-child(2) { animation-delay: .31s; }
.row.three .card-wrap:nth-child(3) { animation-delay: .40s; }
.row.connected:not(.three) .card-wrap:nth-child(1) { animation-delay: .58s; }
.row.connected:not(.three) .card-wrap:nth-child(2) { animation-delay: .67s; }
.row.connected:not(.three) .card-wrap:nth-child(3) { animation-delay: .76s; }
.row.connected:not(.three) .card-wrap:nth-child(4) { animation-delay: .85s; }
.bottom-row .card-wrap:nth-child(2) { animation-delay: 1.03s; }
.bottom-row .card-wrap:nth-child(3) { animation-delay: 1.12s; }

@keyframes cascade-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .chart-shell {
    border-radius: 20px;
    padding: 18px 14px 28px;
    overflow-x: hidden;
  }
  .chart {
    gap: 18px;
    padding-left: 24px;
    min-width: auto;
  }
  .top-row { width: 100%; justify-content: flex-start; }
  .top-row .card-wrap { width: 100%; flex: none; }
  .row, .row.three, .bottom-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-inline: 0;
  }
  .bottom-row .card-wrap:nth-child(2),
  .bottom-row .card-wrap:nth-child(3) { grid-column: auto; }
  .bottom-row > div:empty { display: none; }
  .card, .card.compact { width: 100%; }
  .card-header { flex-direction: column; align-items: flex-start; }
  .domain { align-self: flex-start; max-width: 100%; overflow-wrap: anywhere; white-space: normal; margin-top: 4px; }
  h2 { font-size: 17px; }
  .desc { font-size: 13px; }
  .chip { white-space: normal; line-height: 1.25; }
  .top-row, .row .card-wrap, .bottom-row .card-wrap { animation-delay: .05s !important; }
}

/* Keep long localized navigation labels from colliding at tablet widths. */
@media (max-width: 1120px) {
  body .varlive-header-wrap .nav,
  body .varlive-header-wrap .actions .lang-wrap,
  body .varlive-header-wrap .header-btn {
    display: none !important;
  }

  body .varlive-header-wrap #openDrawer {
    display: inline-flex !important;
  }
}
