/* ================================================================
   STICKLEBRICK — Brand Style v1.0
   Modern AI tooling with Apple / IBM / Adobe heritage cues.
   Confident not flashy. Geometric not decorative.
   Source of truth: brand-style.pdf + logo-system.pdf
   ================================================================ */

:root {
  /* Brand --------------------------------------------------------- */
  --brand-blue:       #1350A9;
  --brand-blue-dark:  #0E3F87;
  --brand-blue-tint:  #E7EEF9;

  /* Neutrals ------------------------------------------------------ */
  --ink:              #0A1F3D;
  --slate:            #5A6573;
  --mortar:           #E4E7EC;
  --brick-white:      #FAFAFA;
  --white:            #FFFFFF;

  /* System -------------------------------------------------------- */
  --success:          #1F7A4D;
  --warning:          #B8860B;
  --error:            #C13E3E;

  /* Type families ------------------------------------------------- */
  --font-display: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;
  --font-serif:   'IBM Plex Serif', Georgia, 'Times New Roman', serif;

  /* Layout -------------------------------------------------------- */
  --container:  1184px;
  --container-narrow: 880px;
  --gutter:     clamp(1.25rem, 4vw, 2rem);
  --section-y:  clamp(4.5rem, 9vw, 8rem);

  /* Radii / shape ------------------------------------------------- */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;

  /* Motion -------------------------------------------------------- */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--brick-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--brand-blue); color: #fff; }

/* Type scale ----------------------------------------------------- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.display-l {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.0025em;
  margin: 0;
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0;
}
p { margin: 0; line-height: 1.6; }

.body-l   { font-size: 1.125rem; line-height: 1.55; }
.body-sm  { font-size: 0.875rem; line-height: 1.45; }
.body-xs  { font-size: 0.75rem; line-height: 1.35; font-weight: 500; letter-spacing: 0.01em; }

em, .editorial {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.editorial-blue { color: var(--brand-blue); }

.slate { color: var(--slate); }
.muted { color: var(--slate); }

/* Mono caption (eyebrow) ---------------------------------------- */
.mono-caption {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}
.section-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--brand-blue);
  letter-spacing: 0.02em;
}

/* Layout --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--white     { background: var(--white); }
.section--brick     { background: var(--brick-white); }
.section--ink       { background: var(--ink); color: #DEE2EB; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .slate { color: #8A92A6; }

.hairline {
  height: 1px;
  background: var(--mortar);
  border: 0;
  margin: 0;
}

/* Top nav -------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,250,.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--mortar);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 1rem;
}
.nav-links {
  display: flex; gap: 2rem; align-items: center;
}
.nav-links a:not(.btn) {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: .25rem 0;
}
.nav-links a:not(.btn):hover { color: var(--brand-blue); }
.nav-links a.active { color: var(--brand-blue); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--brand-blue);
}
/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  margin-right: -10px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }

  /* Hide the inline link row by default on mobile */
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    background: var(--brick-white);
    border-bottom: 1px solid var(--mortar);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease), padding .3s var(--ease);
  }

  /* Expanded state */
  .nav.open .nav-links {
    max-height: 80vh;
    padding: .5rem var(--gutter) 1.25rem;
  }
  .nav.open .nav-links a {
    display: flex;
    padding: .9rem 0;
    border-bottom: 1px solid var(--mortar);
    font-size: 16px;
  }
  .nav.open .nav-links a:last-child {
    border-bottom: 0;
    margin-top: .75rem;
  }
  .nav.open .nav-links a.active::after {
    display: none;
  }

  /* Hamburger morph to X */
  .nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Logo lockup (horizontal: square + wordmark beside) ------------ */
.logo-lockup {
  display: inline-flex; align-items: center;
  gap: 0; /* gap handled by square margin */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.012em;
  line-height: 1;
  color: var(--ink);
}
.logo-lockup .mark {
  width: 26px; height: 26px;
  margin-right: 10px;  /* 0.4 × square (per logo-system V1.1) */
  flex: 0 0 26px;
  display: block;
}
.logo-lockup.on-ink { color: var(--white); }
.logo-lockup.on-blue { color: var(--white); }

/* Full lockup (mark with wordmark inside) ----------------------- */
.logo-full {
  display: inline-grid; place-items: center;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.012em;
  text-align: center;
}
.logo-full--128 { width: 128px; height: 128px; font-size: 19px; }
.logo-full--200 { width: 200px; height: 200px; font-size: 30px; }

/* Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r-md);
  height: 40px;
  padding: 0 16px;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn--lg { height: 48px; padding: 0 20px; font-size: 16px; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }

.btn--primary {
  background: var(--brand-blue);
  color: var(--white);
}
.btn--primary:hover { background: var(--brand-blue-dark); }

.btn--secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--mortar);
}
.btn--secondary:hover { border-color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--brand-blue);
}
.btn--ghost:hover { color: var(--brand-blue-dark); }

.btn--ink {
  background: var(--ink);
  color: var(--white);
}
.btn--ink:hover { background: #061632; }

/* "GET IN TOUCH →" mono caps style nav link --------------------- */
.btn-mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-mono:hover { color: var(--brand-blue); }
.btn-mono .arrow { transition: transform .2s var(--ease); }
.btn-mono:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* Section head -------------------------------------------------- */
.section-head {
  display: grid; gap: 1rem;
  margin-bottom: 3rem;
  max-width: 720px;
}
.section-head .section-num { display: block; margin-bottom: -.25rem; }
.section-head .mono-caption { display: block; }

/* Hero block ---------------------------------------------------- */
.hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* Pillar list (P—01 etc.) -------------------------------------- */
.pillar-list {
  border-top: 1px solid var(--mortar);
}
.pillar {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--mortar);
}
.pillar .code { font-family: var(--font-mono); font-size: 13px; color: var(--brand-blue); }
.pillar h3 { margin-bottom: .75rem; }
.pillar p { color: var(--slate); max-width: 60ch; }
@media (max-width: 720px) {
  .pillar { grid-template-columns: 1fr; gap: .75rem; padding: 1.5rem 0; }
}

/* Capability grid (C—01 etc.) ---------------------------------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--mortar);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.cap {
  padding: 2rem;
  border-right: 1px solid var(--mortar);
  border-bottom: 1px solid var(--mortar);
}
.cap:nth-child(3n) { border-right: 0; }
.cap:nth-last-child(-n+3) { border-bottom: 0; }
.cap .code { font-family: var(--font-mono); font-size: 13px; color: var(--brand-blue); display: block; margin-bottom: 1.25rem; }
.cap h4 { margin-bottom: .75rem; }
.cap p { color: var(--slate); font-size: 0.9375rem; }
@media (max-width: 880px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap { border-right: 1px solid var(--mortar); border-bottom: 1px solid var(--mortar); }
  .cap:nth-child(3n) { border-right: 1px solid var(--mortar); }
  .cap:nth-child(2n) { border-right: 0; }
  .cap:nth-last-child(-n+3) { border-bottom: 1px solid var(--mortar); }
  .cap:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap, .cap:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--mortar); }
  .cap:last-child { border-bottom: 0; }
}

/* Outcome stats ------------------------------------------------- */
.outcome-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--mortar);
}
.outcome-card:first-child { border-top: 1px solid var(--mortar); }
.outcome-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 3rem;
  align-items: start;
}
.outcome-label { font-family: var(--font-mono); font-size: 13px; color: var(--brand-blue); }
.outcome-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: .75rem;
  margin-bottom: .25rem;
}
.outcome-stat small {
  font-size: 0.4em;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0;
  margin-left: 4px;
}
.outcome-title { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; margin-top: .5rem; }
.outcome-body { color: var(--slate); margin-top: .75rem; max-width: 56ch; }
@media (max-width: 720px) {
  .outcome-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* Sister-company chip ------------------------------------------ */
.chip {
  display: inline-flex; align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--mortar);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
}
.chip:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* Pull quote ---------------------------------------------------- */
.pull-quote {
  border-left: 3px solid var(--brand-blue);
  padding: .25rem 0 .25rem 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 2rem 0;
  max-width: 28ch;
}

/* Brandmark card (the spec card from the brief) ---------------- */
.brandmark-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.75rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--mortar);
  border-radius: var(--r-lg);
  background: var(--white);
  max-width: 520px;
}
.brandmark-card .logo-full { width: 96px; height: 96px; font-size: 14px; }
.brandmark-card .meta { display: grid; gap: .25rem; }
.brandmark-card .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.brandmark-card .name { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--ink); letter-spacing: .08em; text-transform: uppercase; }
.brandmark-card .tag { font-family: var(--font-mono); font-size: 13px; color: var(--slate); letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; }

/* Assessment / score card -------------------------------------- */
.assessment {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 880px) { .assessment { grid-template-columns: 1fr; gap: 2rem; } }

.score-card {
  border: 1px solid var(--mortar);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.score-card .head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.5rem;
}
.score-card .sample-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate);
}
.score-card .total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.score-card .total small { font-size: .4em; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.score-card .total-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); display: block; margin-top: .25rem; }

.score-bar { display: grid; grid-template-columns: 140px 1fr 32px; gap: 1rem; align-items: center; padding: .625rem 0; border-top: 1px solid var(--mortar); }
.score-bar:last-child { border-bottom: 1px solid var(--mortar); }
.score-bar .nm { font-family: var(--font-body); font-size: 14px; color: var(--ink); font-weight: 500; }
.score-bar .meter { height: 6px; background: var(--mortar); border-radius: 999px; overflow: hidden; }
.score-bar .meter span { display: block; height: 100%; background: var(--brand-blue); border-radius: 999px; }
.score-bar .val { font-family: var(--font-mono); font-size: 13px; color: var(--slate); text-align: right; }

/* Form ---------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .5rem; }
.field label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 15px;
  height: 44px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--mortar);
  border-radius: var(--r-md);
  color: var(--ink);
  transition: border .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { height: auto; padding: 12px; resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 1px var(--brand-blue);
}

/* Footer ------------------------------------------------------- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--mortar);
  padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.25rem;
}
.footer ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .75rem;
  font-size: 14px;
}
.footer ul a { color: var(--ink); }
.footer ul a:hover { color: var(--brand-blue); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mortar);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Hero "system diagram" tile ----------------------------------- */
.diagram-card {
  background: var(--white);
  border: 1px solid var(--mortar);
  border-radius: var(--r-lg);
  padding: 2rem;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
}
.diagram-card .row { display: flex; justify-content: space-between; padding: .625rem 0; border-bottom: 1px dashed var(--mortar); }
.diagram-card .row:last-child { border-bottom: 0; }
.diagram-card .ok { color: var(--success); }
.diagram-card .warn { color: var(--warning); }

/* Utility ------------------------------------------------------ */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.items-center { align-items: center; }
.wrap { flex-wrap: wrap; }

/* Hero image with overlaid headline --------------------------- */
.hero-overlay {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--mortar);
  background: var(--ink);
}
.hero-overlay > img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-overlay-headline {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: clamp(1.75rem, 5vw, 4.5rem);
  background: linear-gradient(to bottom, rgba(10,18,38,.78) 0%, rgba(10,18,38,.45) 55%, rgba(10,18,38,0) 100%);
  pointer-events: none;
}
.hero-overlay-headline > * {
  pointer-events: auto;
}
.hero-overlay-headline h1,
.hero-overlay-headline h2,
.hero-overlay-headline .h1,
.hero-overlay-headline .h2,
.hero-overlay-headline .display-xl,
.hero-overlay-headline .display-l {
  color: #FFFFFF;
  max-width: 22ch;
  margin: 0;
}
.hero-overlay-headline em.editorial-blue,
.hero-overlay-headline .editorial-blue {
  color: #8AA5E5;
}
.hero-overlay-headline .section-num {
  color: #8AA5E5;
  display: block;
  margin-bottom: .5rem;
}
.hero-overlay-headline .mono-caption {
  color: rgba(255,255,255,.72);
  display: block;
  margin-bottom: 1.25rem;
}
@media (max-width: 720px) {
  .hero-overlay-headline {
    padding: 1.25rem;
    background: linear-gradient(to bottom, rgba(10,18,38,.85) 0%, rgba(10,18,38,.5) 60%, rgba(10,18,38,.15) 100%);
  }
  .hero-overlay-headline h1,
  .hero-overlay-headline h2,
  .hero-overlay-headline .display-xl,
  .hero-overlay-headline .display-l {
    font-size: clamp(1.5rem, 6.5vw, 2.5rem) !important;
  }
}

/* Two-column feature row (kept simple, restrained) ------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
/* Collapse to a single column on mobile — !important beats any inline
   grid-template-columns overrides on individual heroes/sections */
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr !important; }
}

/* Mobile image safety: any hero/section image should fill its column */
@media (max-width: 880px) {
  figure img,
  section img {
    width: 100%;
    height: auto;
  }
}

/* ================================================================
   HERO OVERLAY — v1.3 (Hero subjects v1.0, May 2026)
   Headlines overlay images directly. No gradient panel.
   Dark ink text on the bright top-left of each robot-world hero.
   Multi-layer white halo keeps the type legible where it crosses
   busier zones (robot bodies, mid-tone reflections).
   ================================================================ */

.hero-overlay > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hero-overlay {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.hero-overlay-headline {
  top: 0; left: 0; right: auto;
  bottom: auto;
  max-width: 64%;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: none !important;
}
@media (max-width: 720px) {
  .hero-overlay-headline { max-width: 100%; }
}
.hero-overlay--bottom .hero-overlay-headline {
  top: auto; bottom: 0;
  background: none !important;
}
.hero-overlay--section .hero-overlay-headline {
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
}

/* Text colours — dark ink on the photographic backdrop. */
.hero-overlay-headline .section-num {
  color: var(--brand-blue) !important;
  display: block;
  margin-bottom: .5rem;
  text-shadow:
    0 0 8px rgba(255,255,255,.85),
    0 1px 0 rgba(255,255,255,.7);
}
.hero-overlay-headline .mono-caption {
  color: var(--slate) !important;
  display: block;
  margin-bottom: 1.25rem;
  text-shadow:
    0 0 8px rgba(255,255,255,.85),
    0 1px 0 rgba(255,255,255,.7);
}
.hero-overlay-headline h1,
.hero-overlay-headline h2,
.hero-overlay-headline .display-xl,
.hero-overlay-headline .display-l {
  color: var(--ink) !important;
  /* Soft multi-layer white halo for safety on busy zones. */
  text-shadow:
    0 0 18px rgba(255,255,255,.92),
    0 0 8px rgba(255,255,255,.92),
    0 1px 2px rgba(255,255,255,.55);
  max-width: 22ch;
  margin: 0;
}
.hero-overlay-headline em.editorial-blue,
.hero-overlay-headline .editorial-blue {
  color: var(--brand-blue) !important;
  text-shadow:
    0 0 18px rgba(255,255,255,.92),
    0 0 8px rgba(255,255,255,.92),
    0 1px 2px rgba(255,255,255,.55);
}

/* ----------------------------------------------------------------
   FIELD STRIP — 3-card row (Trades / Fleet / Engineers cards)
   ---------------------------------------------------------------- */
.field-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .field-strip { grid-template-columns: 1fr; } }
.field-card {
  background: var(--white);
  border: 1px solid var(--mortar);
  border-radius: var(--r-md, 6px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.field-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 31, 61, .06);
}
.field-card .img-wrap { position: relative; }
.field-card .img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.field-card .body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.field-card .body .label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.field-card .body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.01em;
}
.field-card .body p {
  font-family: var(--font-body);
  color: var(--slate);
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  flex: 1;
}
.field-card .body .more {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--brand-blue);
  text-decoration: none;
  margin-top: auto;
}
