/* ==========================================================================
   Tokens
   --------------------------------------------------------------------------
   Two-tier color system (better-colors):
     Tier 1 — primitives, named by hue + step. Never used directly.
     Tier 2 — semantics, named by role. This is what components reference.
   Ramps generated in OKLCH: constant hue, perceptual lightness, vividness
   peaking mid-ramp. Neutral carries the interface; navy is the brand-dark
   surface; accent (orange) owns interactive emphasis only.
   ========================================================================== */
:root {
  /* --- Tier 1: primitives ------------------------------------------------ */
  --neutral-50:  #F6F7F7;
  --neutral-100: #ECEDEE;
  --neutral-200: #DDE0E3;
  --neutral-300: #C7CBD0;
  --neutral-400: #A7ABB1;
  --neutral-500: #878D94;
  --neutral-600: #6D7279;
  --neutral-700: #575B61;
  --neutral-800: #44484D;
  --neutral-900: #333639;
  --neutral-950: #1E1F22;

  --navy-50:  #F3F7FE;
  --navy-100: #E5EDFC;
  --navy-200: #CFE1FF;
  --navy-300: #B1CBFA;
  --navy-400: #8BABE6;
  --navy-500: #678CCF;
  --navy-600: #4E70B0;
  --navy-700: #3B5992;
  --navy-800: #2D4676;
  --navy-900: #213558;
  --navy-950: #131F35;

  --accent-50:  #FFF3EC;
  --accent-100: #FFE6D8;
  --accent-200: #FFD0B4;
  --accent-300: #FFB086;
  --accent-400: #FC854C;
  --accent-500: #E55B00;
  --accent-600: #C33E00;
  --accent-700: #A22A00;
  --accent-800: #831E00;
  --accent-900: #631700;
  --accent-950: #3C0E00;

  --white: #FFFFFF;

  /* --- Tier 2: semantics (roles) ---------------------------------------- */
  /* Surfaces */
  --color-bg-page:      var(--white);
  --color-bg-surface:   var(--white);
  --color-bg-subtle:    var(--neutral-50);
  --color-bg-sunken:    var(--neutral-100);
  --color-bg-inverse:   var(--navy-950);

  /* Text on light */
  --color-text-primary:   var(--neutral-950);
  --color-text-body:      var(--neutral-800);
  --color-text-secondary: var(--neutral-600);
  --color-text-muted:     var(--neutral-500);

  /* Text on dark (navy) surfaces */
  --color-text-on-dark:        var(--navy-100);
  --color-text-on-dark-dim:    var(--navy-300);
  --color-text-on-dark-strong: var(--white);

  /* Borders */
  --color-border-subtle:  var(--neutral-200);
  --color-border:         var(--neutral-300);
  --color-border-strong:  var(--neutral-400);
  --color-border-on-dark: rgba(255, 255, 255, 0.14);

  /* Accent (brand) */
  --color-accent-bg:      var(--accent-50);
  --color-accent-border:  var(--accent-200);
  --color-accent-solid:       var(--accent-600);
  --color-accent-solid-hover: var(--accent-700);
  --color-accent-text:        var(--accent-700);
  --color-accent-on-dark:     var(--accent-300);
  --color-accent-glyph:       var(--accent-500);
  --color-on-accent:          var(--white);

  --color-focus-ring: var(--accent-400);

  /* ------------------------------------------------------------------------
     Typography (better-typography): role-based scale, 16px body floor.
     Each size pairs with an intended line-height and weight in use.
     ------------------------------------------------------------------------ */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-caption: 0.8125rem;  /* 13px */
  --text-sm:      0.9375rem;  /* 15px */
  --text-body:    1rem;       /* 16px  — body floor */
  --text-lg:      1.125rem;   /* 18px */
  --text-xl:      1.375rem;   /* 22px */
  --text-2xl:     1.75rem;    /* 28px */
  --text-3xl:     2.25rem;    /* 36px */
  --text-4xl:     3rem;       /* 48px */
  --text-5xl:     3.75rem;    /* 60px */

  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  --lh-tight:  1.1;
  --lh-snug:   1.2;
  --lh-heading:1.3;
  --lh-body:   1.6;

  --measure: 68ch;

  /* Icons */
  --icon-nav: 18px;
  --icon-card: 24px;

  /* Radii (concentric: outer = inner + padding) */
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-pill: 999px;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;

  /* Elevation — layered transparent shadows for depth (better-ui) */
  --shadow-sm: 0 1px 2px rgba(19, 31, 53, 0.06), 0 2px 6px -2px rgba(19, 31, 53, 0.08);
  --shadow-md: 0 2px 4px rgba(19, 31, 53, 0.05), 0 12px 28px -12px rgba(19, 31, 53, 0.18);
  --shadow-lg: 0 4px 8px rgba(19, 31, 53, 0.06), 0 24px 48px -16px rgba(19, 31, 53, 0.24);
  --shadow-accent: 0 6px 16px -6px rgba(195, 62, 0, 0.4);

  --ease: cubic-bezier(0.2, 0, 0, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  font-weight: var(--weight-normal);
  color: var(--color-text-body);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: none; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Headings: descend through the scale, semibold for real weight */
h1, h2, h3, h4 {
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
  line-height: var(--lh-heading);
  text-wrap: balance;
}

h1 { font-size: var(--text-4xl); line-height: var(--lh-tight); letter-spacing: -0.02em; }
h2 { font-size: var(--text-3xl); line-height: var(--lh-snug); letter-spacing: -0.015em; }
h3 { font-size: var(--text-xl); letter-spacing: -0.01em; }
h4 { font-size: var(--text-lg); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: 96px; }
.section--tight { padding-block: 72px; }

.section-head {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-head--center {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 16px;
}

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

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

.section-title {
  font-size: var(--text-3xl);
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.section-lede {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-body);
  text-wrap: pretty;
}

.section-head--center .section-lede { margin-inline: auto; max-width: 52ch; }

.bg-alt { background: var(--color-bg-subtle); }

.bg-navy {
  background: var(--color-bg-inverse);
  color: var(--color-text-on-dark-dim);
}

.bg-navy .section-title,
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--color-text-on-dark-strong); }
.bg-navy .section-lede { color: var(--color-text-on-dark-dim); }

/* ==========================================================================
   Icons
   ========================================================================== */
.icon {
  flex-shrink: 0;
  width: var(--icon-nav);
  height: var(--icon-nav);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--nav { width: var(--icon-nav); height: var(--icon-nav); }
.icon--card { width: var(--icon-card); height: var(--icon-card); }

/* ==========================================================================
   Buttons — bigger hit areas, calmer accent, scale-on-press
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding-inline: 28px;
  border-radius: var(--r-pill);
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease),
              background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease);
}

.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--color-accent-solid);
  color: var(--color-on-accent);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover { background: var(--color-accent-solid-hover); }

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border-strong);
}

.btn-outline:hover { border-color: var(--color-text-primary); background: var(--neutral-50); }

.btn-outline--on-navy {
  color: var(--color-text-on-dark-strong);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline--on-navy:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }

.btn-ghost {
  height: auto;
  padding: 0;
  color: var(--color-accent-text);
  font-weight: var(--weight-semibold);
}

.btn-ghost .icon { transition: transform 0.2s var(--ease); }
.btn-ghost:hover .icon { transform: translateX(3px); }

.btn-sm { height: 42px; padding-inline: 20px; font-size: var(--text-sm); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-block: 20px;
  transition: padding 0.3s var(--ease), background-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header.is-scrolled,
.header.header--static {
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--color-border-subtle);
  box-shadow: 0 8px 30px -20px rgba(19, 31, 53, 0.4);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy-950);
  color: var(--color-accent-glyph);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark svg { width: 22px; height: 22px; }

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

.brand-name {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.hero .brand-name,
.header:not(.is-scrolled):not(.header--static) .brand-name { color: var(--white); }

.brand-sub {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header:not(.is-scrolled):not(.header--static) .brand-sub { color: rgba(255, 255, 255, 0.7); }

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

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 14px;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-body);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.header:not(.is-scrolled):not(.header--static) .nav-link { color: rgba(255, 255, 255, 0.9); }

.nav-link:hover { background: var(--neutral-100); color: var(--color-text-primary); }
.header:not(.is-scrolled):not(.header--static) .nav-link:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }

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

.header-call {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.header:not(.is-scrolled):not(.header--static) .header-call { color: var(--white); }
.header-call .icon { color: var(--color-accent-glyph); }
.header:not(.is-scrolled):not(.header--static) .header-call .icon { color: var(--color-accent-on-dark); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  color: var(--color-text-primary);
}

.header:not(.is-scrolled):not(.header--static) .nav-toggle { color: var(--white); }
.nav-toggle:hover { background: var(--neutral-100); }
.header:not(.is-scrolled):not(.header--static) .nav-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.nav-toggle .icon-close { display: none; }
.nav-toggle .icon { width: 24px; height: 24px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-950);
  padding: 104px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mobile-link {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-on-dark-strong);
  padding-block: 14px;
  border-bottom: 1px solid var(--color-border-on-dark);
}

.mobile-menu-foot {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu-foot .header-call {
  display: inline-flex;
  color: var(--color-text-on-dark-strong);
  font-size: var(--text-lg);
}
.mobile-menu-foot .header-call .icon { color: var(--color-accent-on-dark); }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 20, 40, 0.94) 0%, rgba(11, 20, 40, 0.6) 42%, rgba(11, 20, 40, 0.28) 68%, rgba(11, 20, 40, 0.55) 100%),
    linear-gradient(to right, rgba(11, 20, 40, 0.4), rgba(11, 20, 40, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 160px 80px;
}

.hero-content .eyebrow { color: var(--color-accent-on-dark); }

.hero-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--white);
  max-width: 16ch;
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(244, 247, 254, 0.88);
  max-width: 52ch;
  line-height: var(--lh-body);
  margin-bottom: 36px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

.hero-ctas .icon { color: currentColor; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding-top: 30px;
  border-top: 1px solid rgba(244, 247, 254, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  color: rgba(244, 247, 254, 0.85);
  text-transform: uppercase;
}

.trust-item .icon { width: 18px; height: 18px; color: var(--color-accent-on-dark); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  outline: 1px solid rgba(19, 31, 53, 0.1);
  outline-offset: -1px;
}

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

.about-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(19, 31, 53, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
}

.about-chip .icon { color: var(--color-accent-on-dark); width: var(--icon-card); height: var(--icon-card); }

.about-chip-text { display: flex; flex-direction: column; gap: 3px; }
.about-chip-title { font-size: var(--text-body); font-weight: var(--weight-semibold); }
.about-chip-sub { font-size: var(--text-sm); color: rgba(255, 255, 255, 0.75); }

.about-copy p { font-size: var(--text-lg); line-height: var(--lh-body); color: var(--color-text-body); }
.about-copy p + p { margin-top: 18px; }
.about-copy .section-title { max-width: 18ch; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding-inline: 18px;
  border-radius: var(--r-pill);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.pill-tag .icon { color: var(--color-accent-glyph); width: 18px; height: 18px; }

/* ==========================================================================
   Cards grid (services / why-us)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--color-accent-bg);
  color: var(--color-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 10px;
}

.service-card p, .why-card p {
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  line-height: var(--lh-body);
  text-wrap: pretty;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-border-on-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.why-card {
  background: var(--navy-950);
  padding: 36px 32px;
}

.why-card .card-icon {
  background: rgba(252, 133, 76, 0.16);
  color: var(--color-accent-on-dark);
}

.why-card h3 { color: var(--color-text-on-dark-strong); font-size: var(--text-xl); margin-bottom: 10px; }
.why-card p { color: var(--color-text-on-dark-dim); }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
}

.partner-logo {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.25s var(--ease);
}

.partner-logo:hover { color: var(--color-text-body); }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

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

.avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  margin-inline: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--white);
  background: linear-gradient(155deg in oklab, var(--navy-800), var(--navy-950));
}

.team-card h3 { font-size: var(--text-lg); margin-bottom: 4px; }
.team-role { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ==========================================================================
   Careers
   ========================================================================== */
.careers-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.careers-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.careers-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.careers-card h3 { font-size: var(--text-xl); }
.careers-card-tag { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }

.careers-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }

.careers-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--text-body);
  color: var(--color-text-body);
}

.careers-list .icon {
  color: var(--color-accent-glyph);
  margin-top: 3px;
  width: 20px;
  height: 20px;
}

.careers-card .btn { margin-top: auto; }

.lane-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow-md);
  outline: 1px solid rgba(19, 31, 53, 0.1);
  outline-offset: -1px;
}

.lane-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.lane-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 20, 40, 0.9), rgba(11, 20, 40, 0.15) 60%);
}

.lane-tags {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 10px;
  padding: 24px;
}

.lane-tag {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--white);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-info {
  background: var(--navy-950);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  color: var(--color-text-on-dark-dim);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-info h3 { color: var(--color-text-on-dark-strong); font-size: var(--text-xl); }

.contact-row { display: flex; gap: 16px; align-items: flex-start; }

.contact-row .card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(252, 133, 76, 0.16);
  color: var(--color-accent-on-dark);
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-row .card-icon .icon { width: 20px; height: 20px; }

.contact-row-text { display: flex; flex-direction: column; gap: 3px; }
.contact-row-label { font-size: var(--text-sm); color: var(--color-text-on-dark-dim); }
.contact-row-value { font-size: var(--text-body); color: var(--color-text-on-dark-strong); font-weight: var(--weight-semibold); }
.contact-row-value a:hover { color: var(--color-accent-on-dark); }

.contact-socials { display: flex; gap: 12px; margin-top: auto; padding-top: 10px; }

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-on-dark);
  color: var(--color-text-on-dark-dim);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.social-btn:hover { background: var(--color-accent-solid); color: var(--white); border-color: var(--color-accent-solid); }
.social-btn .icon { width: 20px; height: 20px; }

.contact-form {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-row + .form-row { margin-top: 18px; }

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

.field label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.field input, .field textarea {
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-size: var(--text-body);
  color: var(--color-text-primary);
  background: var(--color-bg-surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}

.field input::placeholder, .field textarea::placeholder { color: var(--color-text-muted); }

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-accent-solid);
  box-shadow: 0 0 0 3px var(--color-accent-bg);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.form-note { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 30ch; text-wrap: pretty; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--color-accent-bg);
  color: var(--color-accent-text);
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  margin-top: 20px;
}

.form-success.is-visible { display: flex; }
.form-success .icon { width: 20px; height: 20px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg in oklab, var(--navy-900), var(--navy-950));
  border-radius: var(--r-lg);
  padding: 56px 32px;
  text-align: center;
  color: var(--white);
}

.cta-band h2 { color: var(--white); font-size: var(--text-3xl); margin-bottom: 14px; }
.cta-band p { font-size: var(--text-lg); color: rgba(244, 247, 254, 0.82); margin-bottom: 32px; text-wrap: pretty; max-width: 48ch; margin-inline: auto; }

.cta-band-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--color-text-on-dark-dim);
  padding-block: 72px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.footer-brand .brand-name { color: var(--color-text-on-dark-strong); }
.footer-brand .brand-sub { color: var(--color-text-on-dark-dim); }
.footer-brand p { font-size: var(--text-body); margin-top: 18px; max-width: 34ch; line-height: var(--lh-body); }
.footer-brand .contact-socials { margin-top: 24px; }

.footer-col h4 {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-on-dark-strong);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: var(--text-body); color: var(--color-text-on-dark-dim); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--color-accent-on-dark); }

.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-on-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-dim);
}

.footer-bottom a:hover { color: var(--color-accent-on-dark); }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero {
  padding: 160px 0 64px;
  background: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.legal-hero h1 { font-size: var(--text-3xl); }
.legal-hero p { font-size: var(--text-body); color: var(--color-text-muted); margin-top: 10px; }

.legal-body { padding-block: 72px; }
.legal-body h2 { font-size: var(--text-xl); margin-top: 44px; margin-bottom: 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: var(--text-body); color: var(--color-text-body); line-height: var(--lh-body); margin-bottom: 14px; max-width: var(--measure); }
.legal-body ul { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; max-width: var(--measure); }
.legal-body ul li { font-size: var(--text-body); color: var(--color-text-body); padding-left: 22px; position: relative; }
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-solid);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-band { padding: 72px 48px; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 780px) {
  .header-call { display: inline-flex; }
}

@media (min-width: 860px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-wrap { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-grid.is-reversed .about-media { order: 2; }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .hero-content { padding-block: 200px 100px; }
  .hero-title { font-size: var(--text-5xl); }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 959px) {
  .nav-links { display: none; }
  /* Collapse header to brand + hamburger; the CTA lives in the mobile menu */
  .header-actions .btn-primary { display: none; }
}

@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(6, 1fr); }
}
