/* Balmoral marketing site — built on Azimuth tokens */
@import url('assets/azimuth-tokens.css');

* { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--az-bg-surface);
  color: var(--az-fg-1);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11' 1, 'ss01' 1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Layout container ---------- */
.bm-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .bm-container { padding: 0 20px; }
}

/* ---------- Top navigation ---------- */
.bm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 0.5px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.bm-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.bm-nav.is-scrolled::before {
  opacity: 0;
}
.bm-nav.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-color: var(--az-border-1);
}
.bm-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  height: 64px;
}
.bm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 15px;
  color: var(--az-fg-1);
}
.bm-brand img { display: none; }

/* R-03 Industrial Wordmark */
.bm-r03 { display: flex; flex-direction: column; align-items: center; line-height: 1; user-select: none; }
.bm-r03-name { font-family: 'Archivo', 'Inter', sans-serif; font-weight: 900; font-size: 30px; letter-spacing: -0.025em; color: #ffffff; line-height: 0.88; transition: color 0.3s ease; }
.bm-r03-rule { display: flex; align-items: center; gap: 7px; width: 100%; margin-top: 7px; }
.bm-r03-line { height: 1px; flex: 1; background: rgba(255,255,255,0.8); display: block; transition: background 0.3s ease; }
.bm-r03-grp { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.3em; color: rgba(255,255,255,0.9); font-weight: 600; white-space: nowrap; transition: color 0.3s ease; }
.bm-r03-coords { display: flex; gap: 8px; align-items: center; margin-top: 5px; font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.14em; color: rgba(255,255,255,0.85); font-weight: 600; transition: color 0.3s ease; }
.bm-r03-sep { color: rgba(255,255,255,0.3); transition: color 0.3s ease; }
.bm-r03-cl  { color: #C8102E; }

/* R-03 scrolled (light background) overrides */
.bm-nav.is-scrolled .bm-r03-name { color: #0A2540; }
.bm-nav.is-scrolled .bm-r03-line { background: #0A2540; }
.bm-nav.is-scrolled .bm-r03-grp { color: #0A2540; }
.bm-nav.is-scrolled .bm-r03-coords { color: #14181F; }
.bm-nav.is-scrolled .bm-r03-sep { color: #C8CFDB; }

.bm-brand .bm-brand-suffix {
  font-weight: 400;
  color: var(--az-fg-3);
  font-size: 12px;
  padding-left: 8px;
  border-left: 0.5px solid var(--az-border-1);
  margin-left: 2px;
}
.bm-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.bm-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: var(--az-radius-sm);
  transition: background var(--az-dur-fast) var(--az-ease-standard), color 0.3s ease;
  position: relative;
}
.bm-nav-link:hover { background: rgba(255,255,255,0.1); color: #ffffff; }
.bm-nav.is-scrolled .bm-nav-link { color: var(--az-fg-2); }
.bm-nav.is-scrolled .bm-nav-link:hover { background: var(--az-bg-subtle); color: var(--az-fg-1); }
.bm-nav-link.is-active { color: var(--az-primary); }
.bm-nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: -17px;
  height: 2px;
  background: var(--az-primary);
}
.bm-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--az-primary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--az-radius-sm);
  margin-left: 8px;
  transition: background var(--az-dur-fast) var(--az-ease-standard);
}
.bm-nav-cta:hover { background: var(--az-primary-hover); }
.bm-nav-login {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: var(--az-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--az-dur-fast) var(--az-ease-standard), color 0.3s ease;
}
.bm-nav-login:hover { background: rgba(255,255,255,0.1); color: #ffffff; }
.bm-nav.is-scrolled .bm-nav-login { color: var(--az-fg-2); }
.bm-nav.is-scrolled .bm-nav-login:hover { background: var(--az-bg-subtle); color: var(--az-fg-1); }
.bm-nav-login svg { width: 14px; height: 14px; opacity: 0.7; }

/* ---------- Dropdown ---------- */
.bm-nav-item {
  position: relative;
}
.bm-nav-item > .bm-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bm-nav-item > .bm-nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  margin-left: 4px;
  transition: transform var(--az-dur-fast) var(--az-ease-standard);
}
.bm-nav-item:hover > .bm-nav-link::after { transform: rotate(180deg); }
.bm-nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: white;
  border: 0.5px solid var(--az-border-1);
  border-radius: var(--az-radius-md);
  box-shadow: var(--az-shadow-pop);
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--az-dur-fast) var(--az-ease-standard), transform var(--az-dur-fast) var(--az-ease-standard);
  z-index: 60;
}
.bm-nav-item:hover .bm-nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.bm-nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--az-radius-sm);
  transition: background var(--az-dur-fast) var(--az-ease-standard);
}
.bm-nav-dropdown-item:hover { background: var(--az-bg-subtle); }
.bm-nav-dropdown-item.is-active { background: var(--az-primary-tint); }
.bm-nav-dropdown-item.is-active .bm-nav-dropdown-title { color: var(--az-primary); }
.bm-nav-dropdown-num {
  font-family: var(--az-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--az-fg-muted);
  padding-top: 2px;
  min-width: 22px;
}
.bm-nav-dropdown-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--az-fg-1);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.bm-nav-dropdown-desc {
  font-size: 11px;
  color: var(--az-fg-3);
  margin-top: 2px;
  line-height: 1.4;
}
.bm-nav-dropdown-divider {
  height: 0.5px;
  background: var(--az-border-1);
  margin: 6px 4px;
}
.bm-nav-dropdown-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--az-primary);
  border-radius: var(--az-radius-sm);
  font-family: var(--az-font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bm-nav-dropdown-all:hover { background: var(--az-primary-tint); }

/* ---------- Photo background sections ---------- */
.bm-photo-section {
  position: relative;
  color: white;
  padding: 96px 0;
  overflow: hidden;
}
.bm-photo-section .bm-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.bm-photo-section .bm-photo-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}
.bm-photo-section > .bm-container { position: relative; z-index: 2; }
.bm-photo-section h2 { color: white; }
.bm-photo-section p { color: rgba(255,255,255,0.85); }

/* Interior page head with photo */
.bm-page-head-photo {
  position: relative;
  color: white;
  overflow: hidden;
  border-bottom: 0;
  padding: 0;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  background: var(--az-black);
}
.bm-page-head-photo .bm-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.bm-page-head-photo .bm-photo-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}
.bm-page-head-photo > .bm-container {
  position: relative; z-index: 2;
  padding: 140px 0 72px;
  width: 100%;
  align-self: stretch;
}
.bm-page-head-photo h1 {
  color: white;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 16px 0 18px;
  text-wrap: balance;
  max-width: 20ch;
}
.bm-page-head-photo .bm-page-sub {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.bm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--az-font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--az-radius-sm);
  border: 0;
  cursor: pointer;
  transition: background var(--az-dur-fast) var(--az-ease-standard), color var(--az-dur-fast) var(--az-ease-standard), border-color var(--az-dur-fast) var(--az-ease-standard);
  line-height: 1;
}
.bm-btn-primary {
  background: var(--az-primary);
  color: white;
}
.bm-btn-primary:hover { background: var(--az-primary-hover); }
.bm-btn-ghost {
  background: transparent;
  color: var(--az-fg-1);
  border: 0.5px solid var(--az-border-strong);
}
.bm-btn-ghost:hover { background: var(--az-bg-subtle); }
.bm-btn-light {
  background: white;
  color: var(--az-fg-1);
}
.bm-btn-light:hover { background: var(--az-bg-subtle); }
.bm-btn-onDark {
  background: transparent;
  color: white;
  border: 0.5px solid rgba(255,255,255,0.35);
}
.bm-btn-onDark:hover { background: rgba(255,255,255,0.08); }
.bm-btn-arrow::after {
  content: '→';
  display: inline-block;
  font-weight: 500;
  transition: transform var(--az-dur-fast) var(--az-ease-standard);
}
.bm-btn-arrow:hover::after { transform: translateX(2px); }

/* ---------- Eyebrow & helpers ---------- */
.bm-eyebrow {
  font-family: var(--az-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--az-fg-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bm-eyebrow-onDark { color: rgba(255,255,255,0.7); }
.bm-eyebrow-dot {
  width: 5px; height: 5px;
  background: var(--az-primary);
  border-radius: 50%;
  display: inline-block;
}
.bm-eyebrow-dot.amber { background: var(--az-status-hold-solid); }
.bm-eyebrow-dot.green { background: var(--az-status-transit-solid); }

.bm-mono { font-family: var(--az-font-mono); font-variant-numeric: tabular-nums; }
.bm-num { font-variant-numeric: tabular-nums; }

/* ---------- Section ---------- */
.bm-section {
  padding: 88px 0;
}
.bm-section-sm { padding: 56px 0; }
.bm-section-tight { padding: 40px 0; }
.bm-section-dark {
  background: var(--az-black);
  color: white;
}
.bm-section-dark p { color: rgba(255,255,255,0.72); }
.bm-section-dark h1, .bm-section-dark h2, .bm-section-dark h3 { color: white; }

.bm-section-tinted { background: var(--az-bg-page); }

.bm-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
@media (max-width: 860px) {
  .bm-section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
}
.bm-section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}
.bm-section-head .bm-lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--az-fg-2);
  max-width: 56ch;
}

/* ---------- Hero ---------- */
.bm-hero { position: relative; overflow: hidden; background: var(--az-black); }

/* Hero variant: bleed (full-bleed photo with overlay text) */
.bm-hero-bleed {
  min-height: 720px;
  color: white;
  display: flex;
  align-items: flex-end;
}
.bm-hero-bleed .bm-hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-ship.jpg');
  background-size: cover;
  background-position: center 35%;
  filter: saturate(0.85);
}
.bm-hero-bleed .bm-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
}
.bm-hero-bleed .bm-hero-inner {
  position: relative;
  padding: 140px 0 72px;
  width: 100%;
}
.bm-hero-bleed h1 {
  color: white;
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 18px 0 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.bm-hero-bleed .bm-hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  max-width: 58ch;
  margin-bottom: 36px;
}
.bm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero variant: split (typographic left, photo plate right) */
.bm-hero-split {
  background: white;
  color: var(--az-fg-1);
}
.bm-hero-split .bm-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  padding: 96px 0 96px;
  align-items: center;
}
@media (max-width: 960px) {
  .bm-hero-split .bm-hero-inner { grid-template-columns: 1fr; padding: 64px 0; }
}
.bm-hero-split h1 {
  color: var(--az-fg-1);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 16px 0 20px;
  text-wrap: balance;
}
.bm-hero-split .bm-hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--az-fg-2);
  max-width: 50ch;
  margin-bottom: 28px;
}
.bm-hero-split .bm-hero-photo-plate {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--az-radius-md);
  background-image: url('assets/hero-ship.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: var(--az-shadow-2);
  overflow: hidden;
}
.bm-hero-split .bm-hero-photo-plate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.25), transparent 60%);
}
.bm-hero-split .bm-hero-photo-stamp {
  position: absolute;
  left: 16px; bottom: 16px;
  font-family: var(--az-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 6px 10px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

/* Hero variant: stacked (typographic block above photo plate w/ route overlay) */
.bm-hero-stacked { background: white; }
.bm-hero-stacked .bm-hero-inner { padding: 88px 0 0; }
.bm-hero-stacked .bm-hero-text {
  max-width: 980px;
  margin-bottom: 56px;
}
.bm-hero-stacked h1 {
  color: var(--az-fg-1);
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 18px 0 24px;
  text-wrap: balance;
}
.bm-hero-stacked h1 .bm-accent { color: var(--az-primary); }
.bm-hero-stacked .bm-hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--az-fg-2);
  max-width: 58ch;
  margin-bottom: 32px;
}
.bm-hero-stacked .bm-hero-photo-banner {
  position: relative;
  height: 460px;
  background-image: url('assets/hero-ship.jpg');
  background-size: cover;
  background-position: center 40%;
}
.bm-hero-stacked .bm-hero-photo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0) 60%, rgba(0,0,0,0.45));
}
.bm-hero-stacked .bm-hero-route-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Status strip below hero — corridors */
.bm-corridor-strip {
  background: var(--az-black);
  color: white;
  padding: 14px 0;
}
.bm-corridor-strip .bm-corridor-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--az-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.bm-corridor-label {
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.bm-corridor-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bm-corridor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--az-status-transit-solid);
}

/* ---------- Service cards ---------- */
.bm-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .bm-svc-grid { grid-template-columns: 1fr; }
}
.bm-svc-card {
  position: relative;
  border-radius: var(--az-radius-md);
  background: white;
  border: 0.5px solid var(--az-border-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--az-dur-base) var(--az-ease-standard), transform var(--az-dur-base) var(--az-ease-standard);
}
.bm-svc-card:hover {
  box-shadow: var(--az-shadow-2);
}
.bm-svc-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
}
.bm-svc-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55));
}
.bm-svc-photo .bm-svc-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--az-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,0.45);
  padding: 5px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.bm-svc-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bm-svc-body h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.bm-svc-body p {
  color: var(--az-fg-2);
  font-size: 14px;
  line-height: 1.55;
}
.bm-svc-cta {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--az-primary);
  font-weight: 600;
  font-size: 13px;
}
.bm-svc-cta::after {
  content: '';
}
.bm-svc-card:hover .bm-svc-cta::after { transform: translateX(3px); }

/* Image placeholder fallbacks for service photos */
.bm-img-placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,0.06) 12px 13px),
    var(--az-black);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--az-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Service modes (5-column) ---------- */
.bm-modes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--az-border-1);
  border-bottom: 0.5px solid var(--az-border-1);
}
@media (max-width: 900px) {
  .bm-modes { grid-template-columns: repeat(2, 1fr); }
  .bm-modes .bm-mode:nth-child(5) { grid-column: span 2; }
}
.bm-mode {
  padding: 28px 24px;
  border-right: 0.5px solid var(--az-border-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.bm-mode:last-child { border-right: 0; }
@media (max-width: 900px) {
  .bm-mode { border-right: 0; border-bottom: 0.5px solid var(--az-border-1); }
  .bm-mode:nth-child(odd) { border-right: 0.5px solid var(--az-border-1); }
}
.bm-mode-num {
  font-family: var(--az-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--az-fg-muted);
}
.bm-mode-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--az-fg-1);
}
.bm-mode-desc {
  font-size: 13px;
  color: var(--az-fg-2);
  line-height: 1.5;
}
.bm-mode-icon {
  width: 28px; height: 28px;
  color: var(--az-primary);
  margin-bottom: 4px;
}

/* ---------- Coverage map ---------- */
.bm-map-wrap {
  position: relative;
  background: var(--az-black);
  border-radius: var(--az-radius-md);
  overflow: hidden;
  padding: 40px;
  color: white;
}
.bm-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
@media (max-width: 900px) {
  .bm-map-grid { grid-template-columns: 1fr; }
}
.bm-map-svg { width: 100%; height: auto; display: block; }
.bm-map-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bm-map-stat-num {
  font-size: 44px;
  font-family: var(--az-font-mono);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bm-map-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  letter-spacing: 0.03em;
}
.bm-map-stat + .bm-map-stat { padding-top: 20px; border-top: 0.5px solid rgba(255,255,255,0.14); }

/* ---------- Stats strip ---------- */
.bm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 720px) { .bm-stats { grid-template-columns: repeat(2, 1fr); } }
.bm-stat {
  padding: 0 24px;
  border-left: 0.5px solid var(--az-border-1);
}
.bm-stat:first-child { border-left: 0; padding-left: 0; }
.bm-stat-num {
  font-family: var(--az-font-mono);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--az-fg-1);
  font-variant-numeric: tabular-nums;
}
.bm-stat-label {
  font-size: 12px;
  color: var(--az-fg-3);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* ---------- Client logo ribbon ---------- */
.bm-ribbon-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
}
.bm-ribbon-wrap::before,
.bm-ribbon-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.bm-ribbon-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, transparent 100%);
}
.bm-ribbon-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.82) 0%, transparent 100%);
}
.bm-ribbon-track {
  display: flex;
  align-items: center;
  gap: 84px;
  width: max-content;
  animation: bm-ribbon-scroll 36s linear infinite;
  padding: 18px 0;
}
.bm-ribbon-wrap:hover .bm-ribbon-track {
  animation-play-state: paused;
}
.bm-ribbon-logo {
  height: 72px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: screen;
}
@keyframes bm-ribbon-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Offices ---------- */
.bm-offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .bm-offices { grid-template-columns: 1fr; } }
.bm-office {
  padding: 28px;
  border: 0.5px solid var(--az-border-1);
  border-radius: var(--az-radius-md);
  background: white;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bm-office-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--az-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--az-fg-3);
}
.bm-office-city {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--az-fg-1);
}
.bm-office-addr {
  font-size: 14px;
  color: var(--az-fg-2);
  line-height: 1.5;
}
.bm-office a { color: var(--az-primary); font-weight: 500; }

/* ---------- Footer ---------- */
.bm-footer {
  background: #0A2540;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.bm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(255,255,255,0.12);
}
@media (max-width: 800px) {
  .bm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.bm-footer-col h4 {
  color: rgba(255,255,255,0.55);
  font-family: var(--az-font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.bm-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bm-footer-col a { color: white; font-size: 14px; }
.bm-footer-col a:hover { color: rgba(255,255,255,0.7); }
.bm-footer-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.bm-footer-brand img { width: 32px; height: 32px; filter: invert(1) brightness(2); }
.bm-footer-brand .bm-footer-name { color: white; font-weight: 700; font-size: 16px; }
.bm-footer-tag {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.5;
  max-width: 32ch;
}
.bm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--az-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}

/* ---------- Quote / CTA band ---------- */
.bm-cta-band {
  background: var(--az-primary);
  color: white;
  padding: 64px 0;
}
.bm-cta-band-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) { .bm-cta-band-inner { grid-template-columns: 1fr; } }
.bm-cta-band h2 {
  color: white;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.bm-cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-top: 12px;
  max-width: 50ch;
}
.bm-cta-band-actions {
  display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap;
}
@media (max-width: 800px) { .bm-cta-band-actions { justify-content: flex-start; } }

/* ---------- Generic page header (interior pages) ---------- */
.bm-page-head {
  padding: 96px 0 48px;
  border-bottom: 0.5px solid var(--az-border-1);
}
.bm-page-head h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 16px 0 16px;
  text-wrap: balance;
}
.bm-page-head .bm-page-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--az-fg-2);
  max-width: 60ch;
}

/* ---------- Two-col content (interior pages) ---------- */
.bm-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 56px;
}
@media (max-width: 860px) { .bm-content-grid { grid-template-columns: 1fr; gap: 24px; } }
.bm-content-aside h3 {
  font-family: var(--az-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--az-fg-3);
  margin-bottom: 16px;
}
.bm-content-aside ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bm-content-aside li {
  display: flex; gap: 10px;
  font-size: 14px;
  color: var(--az-fg-2);
  line-height: 1.5;
}
.bm-content-aside li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--az-primary);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.bm-content-main p { font-size: 16px; line-height: 1.6; color: var(--az-fg-2); margin-bottom: 18px; }
.bm-content-main h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 32px 0 16px;
  color: var(--az-fg-1);
}

/* ---------- Form ---------- */
.bm-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bm-form .bm-field-full { grid-column: 1 / -1; }
.bm-field { display: flex; flex-direction: column; gap: 6px; }
.bm-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--az-fg-2);
  letter-spacing: 0.02em;
}
.bm-field input, .bm-field select, .bm-field textarea {
  font-family: var(--az-font-sans);
  font-size: 14px;
  padding: 10px 12px;
  border: 0.5px solid var(--az-border-strong);
  border-radius: var(--az-radius-sm);
  background: white;
  color: var(--az-fg-1);
  transition: border-color var(--az-dur-fast), box-shadow var(--az-dur-fast);
}
.bm-field input:focus, .bm-field select:focus, .bm-field textarea:focus {
  outline: none;
  border-color: var(--az-primary);
  box-shadow: var(--az-shadow-focus);
}
.bm-field textarea { min-height: 130px; resize: vertical; }

/* ---------- Industry showcase rows ---------- */
.bm-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 0.5px solid var(--az-border-1);
}
.bm-showcase-row:last-child { border-bottom: 0; }
.bm-showcase-row.flip > :first-child { order: 2; }
@media (max-width: 860px) {
  .bm-showcase-row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .bm-showcase-row.flip > :first-child { order: 0; }
}
.bm-showcase-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--az-radius-md);
  background-size: cover;
  background-position: center;
  background-color: var(--az-black);
  position: relative;
  overflow: hidden;
}
.bm-showcase-photo .bm-svc-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--az-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 5px 8px;
  border-radius: 4px;
}
.bm-showcase-text h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 12px 0 18px;
}
.bm-showcase-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--az-fg-2);
}

/* ---------- Tweak panel-friendly: variant body class hooks ---------- */
body[data-hero="bleed"] .bm-hero-split,
body[data-hero="bleed"] .bm-hero-stacked { display: none; }
body[data-hero="split"] .bm-hero-bleed,
body[data-hero="split"] .bm-hero-stacked { display: none; }
body[data-hero="stacked"] .bm-hero-bleed,
body[data-hero="stacked"] .bm-hero-split { display: none; }

/* ============================================================
   Login page
   ============================================================ */
.bm-login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  overflow: hidden;
  background: var(--az-black);
}

.bm-login-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-ship.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: saturate(0.6);
  z-index: 0;
}

.bm-login-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.62) 100%),
    linear-gradient(135deg, rgba(1,83,170,0.18) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}

.bm-login-center {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ---- Card ---- */
.bm-login-card {
  width: 100%;
  background: white;
  border-radius: var(--az-radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.38), 0 0 0 0.5px rgba(255,255,255,0.06);
  padding: 36px 36px 28px;
}

@media (max-width: 480px) {
  .bm-login-card { padding: 28px 24px 22px; }
}

.bm-login-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.bm-login-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.bm-login-card-brand {
  display: flex;
  flex-direction: column;
}

.bm-login-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--az-fg-1);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.bm-login-divider {
  height: 0.5px;
  background: var(--az-border-1);
  margin-bottom: 24px;
}

.bm-login-title-block {
  margin-bottom: 24px;
}

.bm-login-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--az-fg-1);
  margin: 0 0 8px;
}

.bm-login-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--az-fg-3);
  margin: 0;
}

/* ---- Form fields ---- */
.bm-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bm-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bm-login-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--az-fg-2);
  letter-spacing: 0.02em;
}

.bm-login-forgot {
  font-size: 12px;
  font-weight: 400;
  color: var(--az-primary);
  text-decoration: none;
}
.bm-login-forgot:hover { text-decoration: underline; }

.bm-login-field input {
  font-family: var(--az-font-sans);
  font-size: 14px;
  padding: 11px 13px;
  border: 0.5px solid var(--az-border-strong);
  border-radius: var(--az-radius-sm);
  background: var(--az-bg-subtle);
  color: var(--az-fg-1);
  width: 100%;
  transition: border-color var(--az-dur-fast) var(--az-ease-standard),
              box-shadow   var(--az-dur-fast) var(--az-ease-standard),
              background   var(--az-dur-fast) var(--az-ease-standard);
  -webkit-appearance: none;
}

.bm-login-field input::placeholder { color: var(--az-fg-muted); }

.bm-login-field input:focus {
  outline: none;
  border-color: var(--az-primary);
  background: white;
  box-shadow: var(--az-shadow-focus);
}

/* ---- Error message ---- */
.bm-login-error {
  font-size: 12px;
  color: var(--az-danger);
  min-height: 0;
  line-height: 1.4;
  display: none;
}
.bm-login-error:not(:empty) { display: block; }

/* ---- Submit button ---- */
.bm-login-submit {
  width: 100%;
  justify-content: center;
  position: relative;
  padding: 13px 18px;
  font-size: 14px;
  margin-top: 4px;
  gap: 8px;
}

.bm-login-btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--az-dur-fast) var(--az-ease-standard);
}
.bm-login-submit:hover .bm-login-btn-arrow { transform: translateX(3px); }

.bm-login-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: bm-spin 0.7s linear infinite;
}

.bm-login-submit.is-loading .bm-login-btn-text { opacity: 0.6; }
.bm-login-submit.is-loading .bm-login-btn-arrow { display: none; }
.bm-login-submit.is-loading .bm-login-spinner { display: inline-block; }

@keyframes bm-spin {
  to { transform: rotate(360deg); }
}

/* ---- Card footer ---- */
.bm-login-card-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 0.5px solid var(--az-border-1);
  text-align: center;
}

.bm-login-card-footer p {
  font-size: 13px;
  color: var(--az-fg-3);
}

.bm-login-card-footer a {
  color: var(--az-primary);
  font-weight: 500;
}
.bm-login-card-footer a:hover { text-decoration: underline; }

/* ---- Security badge (below card) ---- */
.bm-login-security {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--az-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.bm-login-security svg {
  width: 12px;
  height: 12px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

/* ---- Active state for nav login ---- */
.bm-nav-login.is-active {
  color: var(--az-primary);
  background: var(--az-primary-tint);
}

/* ---- LinkedIn nav icon ---- */
.bm-nav-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--az-radius-sm);
  color: rgba(255,255,255,0.7);
  transition: background var(--az-dur-fast) var(--az-ease-standard), color 0.3s ease;
  flex-shrink: 0;
}
.bm-nav-linkedin:hover { background: rgba(255,255,255,0.1); color: #ffffff; }
.bm-nav.is-scrolled .bm-nav-linkedin { color: var(--az-fg-2); }
.bm-nav.is-scrolled .bm-nav-linkedin:hover { background: var(--az-bg-subtle); color: var(--az-fg-1); }
