/* 
  Cirrus Intelligence - Core v2 Stylesheet
  Aesthetics: Apple-esque, minimalist, high contrast, clean typography, micro-interactions
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens / Variables --- */
:root {
  /* Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --bg-dark: #1D1D1F;
  --bg-dark-accent: #0C1018;
  --text-primary: #1D1D1F;
  --text-secondary: #424245;
  --text-muted: #86868B;
  --white: #FFFFFF;
  --mist: #F5F5F7;
  --cloud: #FAFAFC;
  --hairline: #D2D2D7;
  --divider: #E5E5EA;

  /* Brand Colors from Package */
  --bleu-logo: #4589FF;   /* Light Blue Accent */
  --bleu-dark: #052FAD;   /* Navy Blue */
  --bleu-flash: #0F62FE;  /* Electric/Royal Blue */

  /* Mapped tokens */
  --bright: var(--bleu-flash);
  --deep: var(--bleu-dark);
  --glow: #E8EEFC;
  --muted: #B8C9F2;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout & Spacing */
  --nav-height: 64px;
  --nav-height-shrunk: 54px;
  --container-max-width: 1200px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --pad-x: clamp(20px, 5vw, 120px);
  --radius: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Universal Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: var(--nav-height);
  font-size: 17px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

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

::selection {
  background: var(--glow);
  color: var(--text-primary);
}

/* --- Layout Utility --- */
.wrap {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.wrap-narrow {
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(84px, 11vw, 150px);
}

.section-tight {
  padding-block: clamp(64px, 8vw, 110px);
}

.bg-mist { background: var(--mist); }
.bg-cloud { background: var(--cloud); }
.bg-white { background: var(--white); }

.section-head {
  max-width: 52em;
  margin-bottom: 40px;
}

.section-head .lead {
  margin-top: 20px;
}

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  background: var(--bright); color: var(--white);
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transform: translateY(-72px);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* --- Typography System --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--text-primary);
}

p {
  text-wrap: pretty;
  font-weight: 350;
}

h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.15; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bright);
  margin-bottom: 20px;
  display: inline-block;
}

.eyebrow.on-dark {
  color: var(--muted);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 46em;
  margin-top: 22px;
}

/* --- Buttons & Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--bright);
  color: var(--white);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--hairline);
}

.btn-ghost-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background-color: var(--deep); }
  .btn-dark:hover { background-color: #000; }
  .btn-outline:hover { border-color: var(--text-primary); background-color: var(--mist); }
  .btn-ghost-light:hover { background-color: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.7); }
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--bright);
}

.textlink .arw {
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .textlink:hover .arw { transform: translateX(4px); }
}

/* --- Global Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, height 0.3s;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--hairline);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 26px;
  width: auto;
}

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

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms ease;
}

.main-nav a.current {
  color: var(--text-primary);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--text-primary); }
}

/* Solutions Dropdown Menu CSS */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  min-width: 240px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms cubic-bezier(0.16, 1, 0.3, 1), transform 250ms cubic-bezier(0.16, 1, 0.3, 1), visibility 250ms;
  margin-top: 10px;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--white);
  border-left: 1px solid var(--hairline);
  border-top: 1px solid var(--hairline);
  z-index: -1;
}

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

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary) !important;
  text-align: left;
  line-height: 1.25;
  transition: background-color 200ms ease, color 200ms ease;
}

.dropdown-item .dropdown-desc {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 3px;
  display: block;
}

.dropdown-item:hover .dropdown-desc {
  color: var(--text-secondary);
}

.dropdown-item:hover {
  background-color: var(--mist);
  color: var(--text-primary) !important;
}

.dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.main-nav a.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.main-nav a.dropdown-trigger svg {
  transition: transform 200ms ease;
}

.nav-item-dropdown:hover a.dropdown-trigger svg {
  transform: rotate(180deg);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lang-switch {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lang-switch strong {
  color: var(--text-primary);
  font-weight: 600;
}

.lang-switch a {
  color: var(--text-muted);
  transition: color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .lang-switch a:hover { color: var(--text-primary); }
}

.btn-header {
  padding: 10px 20px;
  font-size: 14px;
}

/* Mobile Toggle Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms ease;
}

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

.mobile-panel {
  display: none;
  border-top: 1px solid var(--divider);
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-panel a {
  display: block;
  padding: 16px var(--pad-x);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--divider);
}

.mobile-panel .mobile-cta {
  padding: 20px var(--pad-x);
  border-bottom: none;
}

.mobile-panel .mobile-cta .btn {
  width: 100%;
}

.site-header.menu-open .mobile-panel {
  display: block;
}

@media (max-width: 980px) {
  .main-nav, .lang-switch, .btn-header { display: none; }
  .nav-toggle { display: flex; }
}

/* --- Hero Section with Background Video --- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000;
  margin-top: -64px;
  padding-top: 64px;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.66) 40%, rgba(0,0,0,0.34) 66%, rgba(0,0,0,0.08) 100%),
              linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 34%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(90px, 13vh, 150px);
}

.hero .eyebrow {
  color: var(--muted);
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.0vw, 3.6rem);
  max-width: none;
  text-shadow: 0 2px 40px rgba(0,0,0,0.45);
  letter-spacing: -0.01em;
}

.hero h1 .accent {
  color: var(--bleu-logo) !important;
}

.hero-sub {
  margin-top: 24px;
  max-width: 40em;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* Scroll cue in video hero */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-cue svg {
  display: block;
}

/* Stagger animations for video load */
.js .hero-anim {
  opacity: 0;
  animation: heroUp 900ms var(--ease-out) forwards;
}
.js .hero-anim.d1 { animation-delay: 80ms; }
.js .hero-anim.d2 { animation-delay: 200ms; }
.js .hero-anim.d3 { animation-delay: 320ms; }
.js .hero-anim.d4 { animation-delay: 440ms; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .hero-scrim {
    background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.28) 40%, rgba(0,0,0,0.8) 100%);
  }
  .hero { align-items: flex-end; }
  .hero-content { padding-bottom: 96px; }
}

/* --- Section B: How we make it simple (Services Bento Grid) --- */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
}

.sol-card {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
  background-color: var(--cloud);
  border: 1px solid var(--divider);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sol-card.core {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
}

.sol-card.core h3 {
  color: var(--white);
}

.sol-card.core p {
  color: rgba(255, 255, 255, 0.74);
}

@media (hover: hover) and (pointer: fine) {
  .sol-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
  }
  .sol-card.core:hover {
    box-shadow: 0 16px 36px rgba(12, 16, 24, 0.15);
  }
}

.sol-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--bright);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.sol-card.core .sol-num {
  color: var(--muted);
}

.sol-card p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.sol-list {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.sol-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.sol-card.core .sol-list li {
  color: rgba(255, 255, 255, 0.82);
}

.sol-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--bright);
}

.sol-card .textlink {
  margin-top: auto;
}

.sol-card.core .textlink {
  color: var(--muted);
}

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

/* --- Section C: Situation Matrix (Persona Tab Switcher) --- */
.matrix {
  margin-top: clamp(44px, 5vw, 64px);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 2px;
}

.tab {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 12px 18px;
  border-radius: 10px 10px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color 200ms ease, background-color 200ms ease;
}

.tab[aria-selected="true"] {
  color: var(--text-primary);
}

.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -2px;
  height: 2.5px;
  background-color: var(--bright);
  border-radius: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .tab:hover {
    color: var(--text-primary);
    background-color: var(--mist);
  }
}

.tabpanel {
  display: none;
  padding-top: clamp(32px, 4vw, 44px);
}

.tabpanel.active {
  display: block;
}

.js .tabpanel.active {
  animation: fadeIn 400ms var(--ease-out);
}

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

.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.persona-lead h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.persona-lead .who {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bright);
}

.persona-lead p {
  margin-top: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 32em;
}

.need-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.need-item {
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 18px 20px;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
  transition: var(--transition-fast);
}

.need-item:hover {
  border-color: var(--hairline);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.need-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0;
  color: var(--text-primary);
}

.need-item p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.need-item .tagline {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bright);
}

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

/* --- Section D: Proof / Logo Wall --- */
.proof {
  background-color: var(--mist);
  padding-block: clamp(56px, 7vw, 90px);
  text-align: center;
}

.proof .eyebrow {
  margin-bottom: 10px;
}

.proof-line {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 40em;
  margin: 0 auto 40px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background-color: var(--white);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.logo-slot small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.proof-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text-muted);
}

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

/* --- Section E: Selected Work & Case Cards --- */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
}

.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
  }
}

.case-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--divider);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .case-card:hover .case-media img {
    transform: scale(1.04);
  }
}

.case-body {
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background-color: var(--mist);
  border-radius: 999px;
  padding: 5px 12px;
}

.chip.accent {
  color: var(--deep);
  background-color: var(--glow);
}

.case-body h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.case-client {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-rows {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
}

.case-row dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}

.case-row dd {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-primary);
}

.case-result {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  font-size: 14.5px;
  color: var(--text-secondary);
}

.case-result strong {
  color: var(--bright);
}

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

/* --- Section F: ROI Teaser & Metrics --- */
.teaser {
  background-color: var(--bg-dark);
  color: #fff;
  padding-block: clamp(80px, 11vw, 140px);
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.teaser h2 {
  color: #fff;
}

.teaser p {
  margin-top: 20px;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1rem,1.4vw,1.18rem);
  line-height: 1.6;
  max-width: 34em;
}

.teaser .metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.teaser .metrics dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--muted);
}

.teaser .metrics dd {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.66);
  line-height: 1.45;
}

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

/* --- Section G: Final CTA & Footer --- */
.cta-band {
  background-color: var(--glow);
  padding-block: clamp(88px, 12vw, 150px);
  text-align: center;
}

.cta-band h2 {
  max-width: 16em;
  margin-inline: auto;
}

.cta-band p {
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 34em;
  margin-inline: auto;
}

.cta-band .btn {
  margin-top: 36px;
  padding: 16px 36px;
  font-size: 17px;
}

.cta-sub {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.cta-sub a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--hairline);
}

@media (hover: hover) and (pointer: fine) {
  .cta-sub a:hover { color: var(--bright); border-color: var(--bright); }
}

/* Footer layout */
.site-footer {
  background-color: var(--bg-dark);
  color: rgba(255,255,255,0.72);
  padding-block: clamp(64px, 8vw, 96px) 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}

.footer-brand img {
  height: 26px;
  width: auto;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 24em;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a, .footer-col address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  transition: color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: var(--white); }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-legal a {
  color: rgba(255,255,255,0.45);
  transition: color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-legal a:hover { color: var(--white); }
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Service details (solutions subpage) --- */
.svc {
  border-top: 1px solid var(--divider);
  padding-block: clamp(52px, 7vw, 88px);
}

.svc-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.svc-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bright);
}

.svc-kicker.support {
  color: var(--text-muted);
}

.svc h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.svc .svc-intro {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.6;
}

.svc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
}

.svc-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.svc-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.svc-col li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
}

.svc-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--bright);
}

.svc-col.deliver li::before {
  background-color: var(--text-muted);
}

@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-cols { grid-template-columns: 1fr; }
}

/* --- Engagement Steps (solutions subpage) --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
  counter-reset: step;
}

.step {
  border-radius: var(--radius);
  background-color: var(--white);
  border: 1px solid var(--divider);
  padding: 28px 26px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--glow);
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.step h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.step p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* --- ROI Subpage Grid & Savings Table --- */
.roi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
}

.roi-card {
  border-radius: var(--radius);
  background-color: var(--white);
  border: 1px solid var(--divider);
  padding: 30px 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
  transition: var(--transition-fast);
}

.roi-card:hover {
  border-color: var(--hairline);
  box-shadow: 0 6px 18px rgba(0,0,0,0.02);
}

.roi-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background-color: var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--deep);
  font-size: 1.25rem;
}

.roi-card h3 {
  font-size: 1.2rem;
}

.roi-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (max-width: 860px) { .roi-cards { grid-template-columns: 1fr; } }

/* Gold Mine savings card */
.example {
  border-radius: var(--radius);
  background-color: var(--bg-dark);
  color: #fff;
  padding: clamp(34px, 5vw, 60px);
  margin-top: clamp(40px, 5vw, 60px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12,16,24,0.15);
}

.example .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.example h3 {
  color: #fff;
  margin-top: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  max-width: 18em;
}

.example .disclaimer {
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}

.example-table {
  margin-top: 30px;
  border-collapse: collapse;
  width: 100%;
}

.example-table th, .example-table td {
  text-align: left;
  padding: 14px 16px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.example-table th {
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.example-table td {
  color: rgba(255,255,255,0.9);
}

.example-table td:last-child, .example-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.example-table tr.total td {
  font-weight: 700;
  color: #fff;
  border-bottom: none;
  font-size: 17px;
}

.example-table tr.total td:last-child {
  color: var(--muted);
}

.example-foot {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 44em;
}

/* FAQ Details Accordion */
.faq {
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--divider);
}

.faq details {
  border-bottom: 1px solid var(--divider);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

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

.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 24px;
  color: var(--text-muted);
  transition: transform 200ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 48em;
}

/* --- Contact Page Form & Layout --- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.form-aside h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.form-aside .lead {
  margin-top: 18px;
}

.form-aside .assure {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-aside .assure li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-aside .assure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23052FAD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.form-card {
  background-color: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.field .req {
  color: var(--bright);
}

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text-primary);
  background-color: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2386868B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}

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

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--bright);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-hint {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 7px;
}

.form-card .btn {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
}

.form-legal {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.4s ease forwards;
}

.form-success .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--deep);
  font-size: 1.5rem;
}

.form-success h3 {
  font-size: 1.4rem;
}

.form-success p {
  margin-top: 12px;
  color: var(--text-secondary);
}

form.sent .form-body { display: none; }
form.sent .form-success { display: block; }

@media (max-width: 820px) {
  .form-wrap { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* --- Portal Page Split Layout --- */
.portal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78vh;
}

.portal-visual {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.portal-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.portal-visual .pv-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,14,24,0.5), rgba(8,14,24,0.8));
}

.portal-visual .pv-copy {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 80px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.portal-visual .pv-copy h2 {
  color: #fff;
}

.portal-visual .pv-copy p {
  margin-top: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 30em;
  line-height: 1.6;
}

.portal-visual .pv-list {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-visual .pv-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

.portal-visual .pv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B8C9F2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.portal-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
  background-color: var(--white);
}

.portal-form .inner {
  width: 100%;
  max-width: 380px;
}

.portal-form .eyebrow {
  margin-bottom: 12px;
}

.portal-form h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.portal-form .sub {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.portal-form form {
  margin-top: 30px;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--mist);
  font-size: 12.5px;
  color: var(--text-secondary);
}

.portal-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #E8A33D;
}

@media (max-width: 860px) {
  .portal-split { grid-template-columns: 1fr; }
  .portal-visual { min-height: 300px; }
}

/* --- Field Media strip & Marquee (Infinite Scroll) --- */
.mediastrip {
  background-color: var(--cloud);
  padding-block: clamp(72px, 9vw, 120px);
  overflow: hidden;
}

.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.js .marquee-track {
  animation: marquee 55s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.marquee-group img {
  height: clamp(200px, 26vw, 280px);
  width: auto;
  border-radius: 14px;
  flex: none;
  object-fit: cover;
  filter: contrast(1.02);
}

/* --- Viewport Animation Classes --- */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1), transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- Parallax and Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .marquee-track { animation: none; }
  .js .tabpanel.active { animation: none; }
  .js .hero-bg { animation: none; }
  .js .hero-anim { animation: none; opacity: 1; }
}

/* --- Capabilities Flipping Cards Section --- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(40px, 5vw, 64px);
}

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

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

.flip-card {
  background-color: transparent;
  perspective: 1000px;
  height: 380px;
  cursor: pointer;
  border-radius: var(--radius);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

/* Hover/active flip triggers */
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--divider);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}

/* Front card styling */
.flip-card-front {
  background-color: var(--cloud);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.flip-card:hover .flip-card-front {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
}

/* Back card styling */
.flip-card-back {
  background-color: var(--bg-dark);
  color: var(--white);
  transform: rotateY(180deg);
  border-color: var(--bg-dark);
  box-shadow: 0 12px 36px rgba(12, 16, 24, 0.15);
}

.capability-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-color: var(--white);
  color: var(--bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.flip-card-back .capability-icon {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bleu-logo);
  box-shadow: none;
}

.flip-card-front h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--text-primary);
  margin-top: auto;
  margin-bottom: 20px;
}

.flip-cue {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.flip-card-back h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.flip-card-back p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .flip-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .flip-card:hover {
    transform: translateY(-4px);
  }
}

/* ============ PAGE HERO (Interior Pages) ============ */
.page-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark-accent);
  color: var(--white);
  width: 100%;
}

.page-hero.tall {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 1;
}

/* Specific position adjustments for page heroes to look perfect */
.page-hero img[src*="pilot-window.jpg"] {
  object-position: center 85%;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,16,24,0.95) 0%, rgba(12,16,24,0.65) 50%, rgba(12,16,24,0.3) 100%), 
              linear-gradient(0deg, rgba(12,16,24,0.8) 0%, rgba(12,16,24,0) 50%);
  z-index: 2;
}

.page-hero .wrap {
  position: relative;
  z-index: 3;
  padding-block: clamp(80px, 10vw, 140px);
  width: 100%;
}

.page-hero .eyebrow {
  color: var(--bleu-logo);
  font-weight: 600;
}

.page-hero h1 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 22ch;
  margin-top: 12px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

.page-hero h1 .accent {
  color: var(--bleu-logo) !important;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  max-width: 44em;
  margin-top: 18px;
}

.breadcrumb {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* ============ YOUR OPERATIONAL STATUS SWITCHER ============ */
:root {
  --industrial-orange: var(--bleu-flash); /* Changed from orange to brand blue */
}

.tabs-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 40px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbars but allow scrolling if overflowed on mobile */
.tabs-wrapper::-webkit-scrollbar {
  display: none;
}

#status-switcher-section .tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--divider);
  padding: 0;
  margin: 0;
  min-width: 900px;
}

#status-switcher-section .tab {
  background: none;
  border: none;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease-in-out;
  text-align: center;
  flex: 1;
}

#status-switcher-section .tab:hover {
  color: var(--text-primary);
}

#status-switcher-section .tab[aria-selected="true"] {
  color: var(--industrial-orange);
}

#status-switcher-section .tab[aria-selected="true"]::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--industrial-orange);
}

/* Content Panel Grid */
.status-panel-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.status-intro {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.status-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.status-intro h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.status-value-prop {
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 52em;
}

.btn-status-link {
  align-self: flex-start;
  font-weight: 600;
}

/* Core Services 3-Column Grid */
.services-grid-wrapper h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px 0;
}

.status-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* Service Item Card (Subtle Borders, no background) */
.service-item-card {
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 24px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s ease-in-out;
}

.service-item-card:hover {
  border-color: var(--hairline);
}

.service-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.service-header h5 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
}

.service-detail p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.service-bottomline {
  margin-top: auto;
  border-top: 1px dashed var(--divider);
  padding-top: 16px;
}

.service-bottomline p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

/* ============ VERTICAL STICKY SERVICES SECTION ============ */
.bg-charcoal-services {
  background-color: #121214 !important;
  color: #F7FAFC !important;
  padding: 100px 0;
}

.split-service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 120px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 80px;
}

.split-service-block:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 900px) {
  .split-service-block {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
    padding-bottom: 40px;
  }
}

.sticky-left-side {
  position: sticky;
  top: 120px;
  align-self: start;
}

@media (max-width: 900px) {
  .sticky-left-side {
    position: static;
  }
}

.service-number {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bleu-logo); /* Logo Blue */
  display: block;
  margin-bottom: 12px;
}

.sticky-left-side h3 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: #F7FAFC;
  margin: 0 0 20px 0;
  line-height: 1.25;
}

.service-focus {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(247, 250, 252, 0.8);
  margin-bottom: 32px;
}

.service-visual-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16/10;
  background-color: #1A1A1E;
}

.service-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.85); /* Desaturated industrial aviation image */
}

/* Scrollable Right Side Grid */
.scroll-right-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 600px) {
  .scroll-right-side {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.col-what-we-do h4, .col-what-you-receive h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 250, 252, 0.5);
  margin: 0 0 20px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
}

.scroll-right-side ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.scroll-right-side li {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 250, 252, 0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.scroll-right-side li:last-child {
  border-bottom: none;
}

.scroll-right-side li:hover {
  transform: translateX(4px);
  color: var(--bleu-logo); /* Logo Blue focus on hover */
}

.scroll-right-side li::before {
  content: "→";
  color: var(--bleu-logo); /* Logo Blue arrow */
  font-weight: bold;
}
