/* ============================================================
   HFI - Website Styles
   Palette: near-black foundation + brand red signal
   Type: Inter (Display 700, 600 SemiBold, 400, 500 labels)
   ============================================================ */

:root {
  --bg:        #0C0E12;   /* primary near-black */
  --bg-2:      #161A22;   /* secondary alternation */
  --bg-3:      #1D2130;   /* surface / card */
  --red:       #D41E1B;   /* brand red */
  --red-deep:  #A81614;   /* hover / press */
  --red-glow:  rgba(212,30,27,.18);
  --white:     #FFFFFF;
  --text-2:    #A1A6AE;   /* secondary body */
  --text-3:    #757D8B;   /* labels / metadata */
  --rule:      #242833;   /* dividers */
  --overlay:   rgba(12,14,18,0.75);
  --shadow:    0 30px 80px rgba(0,0,0,.5);
  --t: 280ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  color: var(--white);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------------------------------- */

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 28px;
}
.eyebrow--muted { color: var(--text-3); }

.h-display {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  color: var(--white);
}
.h-1 {
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
.h-2 {
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}
.h-3 {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin: 0;
}
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.body-lg {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
}
.body { font-size: 16px; line-height: 1.72; color: var(--text-2); }
.body p { margin: 0 0 1.1em; }
.body p:last-child { margin-bottom: 0; }
.body strong, .body em { color: var(--white); font-weight: 500; font-style: normal; }

.meta { font-size: 13px; color: var(--text-3); letter-spacing: 0.02em; }

::selection { background: var(--red); color: var(--white); }

/* ---------- Layout primitives --------------------------- */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.wrap--narrow { max-width: 880px; }
.wrap--prose  { max-width: 720px; }

.section { padding: 120px 0; }
.section--alt { background: var(--bg-2); }
.section--tight { padding: 80px 0; }

/* ---------- Light sections (alternating cadence) -------- */
/* Brand v5: alternate dark and light bands. Light = #F2F4F7. */

:root {
  /* Warm paper neutrals - softer transition out of the dark sections,
     keyed to the warm-grey portrait card backgrounds. */
  --light-bg:      #F1EFE9;
  --light-surface: #E6E2D8;
  --light-rule:    #D2CCBE;
  --light-text:    #1A1814;
  --light-text-2:  #4A4538;
}

.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section--light .h-display,
.section--light .h-1,
.section--light .h-2,
.section--light .h-3 { color: var(--light-text); }
.section--light .body,
.section--light .body-lg { color: var(--light-text-2); }
.section--light .body strong,
.section--light .body em { color: var(--light-text); }
.section--light .label { color: var(--text-3); }       /* cool grey reads on both */
.section--light .eyebrow { color: var(--red); }         /* red still works */
.section--light .feature__media { background: var(--light-surface); }
.section--light .feature__media .badge {
  background: var(--light-bg);
  border-top-color: var(--light-rule);
  border-right-color: var(--light-rule);
}
.section--light .feature__media .badge .lbl { color: var(--light-text-2); }
.section--light .feature__list { border-color: var(--light-rule); }
.section--light .feature__list li { border-color: var(--light-rule); color: var(--light-text-2); }
.section--light .divider { background: var(--light-rule); }
.section--light .link-arrow { color: var(--red); border-color: var(--red); }
.section--light .link-arrow:hover { color: var(--light-text); border-color: var(--light-text); }
.section--light .pillars { background: var(--light-rule); border-color: var(--light-rule); }
.section--light .pillar { background: var(--light-bg); }
.section--light .pillar:hover { background: var(--light-surface); }
.section--light .pillar p { color: var(--light-text-2); }
.section--light .pillar h3 { color: var(--light-text); }
.section--light .pillar__num { color: var(--text-3); }
.section--light .btn--ghost { border-color: rgba(12,14,18,.35); color: var(--light-text); }
.section--light .btn--ghost:hover { border-color: var(--light-text); background: rgba(12,14,18,.04); }

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

/* ---------- Image tiles (Anduril-style capability cards) - */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  isolation: isolate;
}
.tile__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 1200ms cubic-bezier(.2,0,.2,1), filter 600ms;
  z-index: 0;
}
.tile:hover .tile__img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.06);
}
.tile__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,14,18,0) 18%, rgba(12,14,18,.32) 46%, rgba(12,14,18,.72) 76%, rgba(12,14,18,.93) 100%);
  z-index: 1;
}
.tile__rule {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 56px;
  background: var(--red);
  z-index: 3;
  transition: width 500ms cubic-bezier(.2,0,.2,1);
}
.tile:hover .tile__rule { width: 100%; }
.tile__num {
  position: absolute;
  top: 28px; left: 28px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 10px rgba(8,9,12,0.7);
  z-index: 2;
}
.tile__body {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 32px;
  z-index: 2;
  color: var(--white);
  text-shadow: 0 1px 16px rgba(8,9,12,0.55);
}
.tile__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.tile__title {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 14px;
}
.tile__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  margin: 0;
}
.tile__arrow {
  display: inline-flex;
  margin-top: 22px;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  transition: gap 280ms;
}
.tile:hover .tile__arrow { gap: 14px; }

@media (max-width: 1000px) { .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .tile-grid { grid-template-columns: 1fr; } .tile { aspect-ratio: 16/10; } }

/* ---------- Image strip (Anduril operational gallery) ---- */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.strip__cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.strip__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.04);
  transform: scale(1.06);
  transform-origin: center;
  transition: transform 650ms cubic-bezier(.2,0,.2,1), filter 650ms ease;
  will-change: transform;
}
/* Ken Burns: slow pan + zoom while hovered, gentle reset on leave. */
.strip__cell:hover .strip__img,
.strip__cell:focus-visible .strip__img {
  transform: scale(1.16) translate(var(--kbx, 0%), var(--kby, 0%));
  filter: saturate(1.04) contrast(1.05);
  transition: transform 7000ms ease-out, filter 1200ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .strip__img { transform: scale(1.02); transition: none; }
  .strip__cell:hover .strip__img,
  .strip__cell:focus-visible .strip__img { transform: scale(1.05); transition: none; }
}
.strip__cell::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,14,18,0) 38%, rgba(12,14,18,.34) 66%, rgba(12,14,18,.72) 84%, rgba(12,14,18,.92) 100%);
  pointer-events: none;
}
.strip__caption {
  position: absolute;
  left: 22px; right: 22px;
  bottom: 22px;
  z-index: 2;
  text-shadow: 0 1px 16px rgba(8,9,12,0.55);
}
.strip__caption .num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  display: block;
}
.strip__caption .lbl {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--white);
  line-height: 1.3;
  display: block;
}
.strip__caption .sub {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  margin-top: 6px;
  letter-spacing: 0.02em;
  display: block;
}
.strip__cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--red);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 280ms ease, transform 280ms ease;
}
.strip__cell:hover .strip__cta,
.strip__cell:focus-visible .strip__cta { opacity: 1; transform: translateY(0); }
@media (hover: none) { .strip__cta { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .strip { grid-template-columns: 1fr; } .strip__cell { aspect-ratio: 16/10; } }

/* ---------- Editorial photo with caption ---------------- */

.photo-figure { margin: 0; }
.photo-figure__media {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.photo-figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}
.photo-figure__cap {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.photo-figure__cap .ref { color: var(--red); }

/* ---------- Product cards ------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.section--light .product-grid { background: var(--light-rule); border-color: var(--light-rule); }

.product {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: background 280ms;
}
.section--light .product { background: var(--light-bg); }
.section--alt .product { background: var(--bg-2); }

.product__media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.section--light .product__media {
  background: rgba(12,14,18,.025);
  border-bottom-color: var(--light-rule);
}
.product__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.4));
}
.section--light .product__media img {
  filter: drop-shadow(0 16px 28px rgba(12,14,18,.15));
}

/* Clickable product photo (gated inquiry) */
.product__media--link { cursor: pointer; text-decoration: none; }
.product__media--link img { transition: transform 600ms cubic-bezier(.2,0,.2,1); }
.product__media--link:hover img,
.product__media--link:focus-visible img { transform: scale(1.04); }
.product__media-hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(0deg, rgba(212,30,27,.94) 0%, rgba(212,30,27,.78) 100%);
  transform: translateY(100%);
  transition: transform 280ms cubic-bezier(.2,0,.2,1);
}
.product__media-hint span { transition: transform 220ms ease; }
.product__media--link:hover .product__media-hint,
.product__media--link:focus-visible .product__media-hint { transform: translateY(0); }
.product__media--link:hover .product__media-hint span { transform: translateX(4px); }
@media (hover: none) { .product__media-hint { transform: translateY(0); background: linear-gradient(0deg, rgba(212,30,27,.92) 0%, rgba(212,30,27,0) 100%); } }
@media (prefers-reduced-motion: reduce) {
  .product__media--link img,
  .product__media-hint { transition: none; }
}

.product__body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.product__num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.product__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  line-height: 1.18;
  color: var(--white);
}
.section--light .product__name { color: var(--light-text); }

.product__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}
.section--light .product__desc { color: var(--light-text-2); }

.product__meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.section--light .product__meta { border-top-color: var(--light-rule); }
.product__meta .tag { font-size: 10px; padding: 5px 10px; }

.product__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 220ms ease, border-color 220ms ease;
}
.product__cta span { transition: transform 220ms ease; }
.product__cta:hover { gap: 12px; border-bottom-color: var(--red); }
.product__cta:hover span { transform: translateX(3px); }

/* Highlight strip (3 short statements on platform section) */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--rule);
}
.highlights__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.highlights__item .dot {
  width: 8px; height: 8px;
  background: var(--red);
  margin-top: 7px;
  flex: 0 0 auto;
}
.highlights__item .txt {
  font-size: 15px;
  color: var(--white);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.005em;
}
@media (max-width: 760px) {
  .highlights { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Buttons ------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: transparent;
  color: var(--white);
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn--primary { background: var(--red); border-color: var(--red); }
.btn--primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

.btn .arr {
  display: inline-block;
  transition: transform var(--t);
}
.btn:hover .arr { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--red);
  transition: color var(--t), border-color var(--t), gap var(--t);
}
.link-arrow:hover { color: var(--white); border-color: var(--white); gap: 14px; }

/* ---------- Nav ----------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  /* Subtle top scrim so the menu keeps contrast over bright hero imagery
     before scrolling; replaced by the solid bar once scrolled. */
  background: linear-gradient(180deg, rgba(8,9,12,.52) 0%, rgba(8,9,12,.22) 55%, rgba(8,9,12,0) 100%);
  transition: background var(--t), border-color var(--t), padding var(--t);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(12,14,18,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
  padding: 14px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav__logo {
  background: #fff;
  padding: 5px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.28);
}
.nav__logo img { height: 92px; width: auto; display: block; transition: height var(--t); }
.nav--scrolled .nav__logo img { height: 74px; }
@media (max-width: 760px) {
  .nav__logo { padding: 4px 7px; }
  .nav__logo img { height: 66px; }
  .nav--scrolled .nav__logo img { height: 56px; }
}
.nav__links {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__links a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--t);
  position: relative;
}
.nav__links a:hover { color: var(--white); }
.nav__links a.is-active { color: var(--white); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
}
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .btn { padding: 12px 18px; font-size: 11px; }

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav__burger span {
  width: 18px; height: 1.5px; background: var(--white); display: block;
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 100px 40px 40px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 400ms cubic-bezier(.4,0,.2,1);
}
.drawer.is-open { overflow-y: auto; }
.drawer.is-open { transform: translateY(0); }
.drawer a {
  font-size: 26px;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--white);
  display: block;
}
.drawer a.is-active { color: var(--red); }

@media (max-width: 940px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- Footer -------------------------------------- */

.footer {
  background: #08090C;
  border-top: 1px solid var(--rule);
  padding: 100px 0 50px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--rule);
}
.footer__logo {
  background: #fff;
  padding: 9px 13px;
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 4px 22px rgba(0,0,0,0.3);
}
.footer__logo img { height: 124px; width: auto; display: block; }
.footer__tag { margin-top: 28px; color: var(--text-2); font-size: 15px; max-width: 360px; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 22px; font-weight: 500; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--text-2); font-size: 14px; transition: color var(--t); }
.footer__col a:hover { color: var(--white); }
.footer__col p { color: var(--text-2); font-size: 14px; margin: 0 0 6px; line-height: 1.6; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom .red-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}
.footer__credit {
  display: block;
  margin-top: 8px;
  margin-left: 16px;
  font-size: 11px;
  color: var(--text-3);
  opacity: 0.7;
  letter-spacing: 0.02em;
  max-width: 420px;
}

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; gap: 50px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Page hero ----------------------------------- */

/* Crown copyright credit - a condition of the CAF Combat Camera licence.
   Tiny by design; must appear on each DND-owned photo. */
.crown-credit {
  position: absolute;
  right: 9px;
  bottom: 8px;
  z-index: 6;
  margin: 0;
  max-width: 64%;
  text-align: right;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.crown-credit--left { right: auto; left: 9px; text-align: left; }
@media (max-width: 560px) { .crown-credit { font-size: 8px; max-width: 80%; } }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.05);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,14,18,.34) 0%, rgba(12,14,18,.18) 42%, rgba(12,14,18,.82) 100%),
    linear-gradient(90deg, rgba(12,14,18,.62) 0%, rgba(12,14,18,.28) 48%, rgba(12,14,18,.06) 82%, rgba(12,14,18,.04) 100%);
}

/* Home cinematic hero - full-bleed aerial video.
   Source video has baked-in black bars on the left (~15%) and bottom (~16%).
   We anchor transform-origin to the no-black corner (top-right) and scale up
   to push those bars off-frame entirely. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
  transform-origin: top right;
  transform: scale(1.205);
  filter: saturate(0.92) contrast(1.04);
  z-index: 0;
}

/* Legacy Ken Burns slideshow - kept for fallback / other pages */
.hero__kenburns {
  position: absolute; inset: 0;
  overflow: hidden;
}
.kb-frame {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.04);
  opacity: 0;
  animation: kb-cycle 36s linear infinite;
  will-change: transform, opacity;
}
.kb-frame--1 { animation-delay: 0s;  }
.kb-frame--2 { animation-delay: 12s; }
.kb-frame--3 { animation-delay: 24s; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12,14,18,.30) 0%, rgba(12,14,18,.14) 42%, rgba(12,14,18,.80) 100%),
    linear-gradient(90deg, rgba(12,14,18,.62) 0%, rgba(12,14,18,.26) 52%, rgba(12,14,18,.04) 100%);
  pointer-events: none;
}

/* Cycle: 0% fade in + start scale, 8% fully in, 33% still drifting, 36% start fade out, 40% fully out then idle */
@keyframes kb-cycle {
  0%   { opacity: 0; transform: scale(1.05) translate(0%, 0%); }
  5%   { opacity: 1; }
  33%  { opacity: 1; transform: scale(1.14) translate(-2%, 1.5%); }
  38%  { opacity: 0; transform: scale(1.16) translate(-2.4%, 1.8%); }
  100% { opacity: 0; transform: scale(1.05) translate(0%, 0%); }
}
@keyframes hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.85); }
}

@media (max-width: 720px) {
  .hero__corner { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-frame { animation: none; opacity: 1; transform: scale(1.08); }
  .kb-frame--2, .kb-frame--3 { opacity: 0; }
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: .07;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 13% 27%, rgba(255,255,255,.4) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 71% 63%, rgba(255,255,255,.3) 0 1px, transparent 1px 5px);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-top: 120px;
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  margin: 26px 0 0;
  max-width: 540px;
  line-height: 1.6;
}
.hero__sub strong { color: var(--white); font-weight: 500; }
.hero__cta { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }

/* Cinematic home hero carries an absolutely-positioned strap at the bottom.
   Reserve its height as padding so the centered content never overlaps it. */
.hero--cinematic { padding-bottom: 132px; }

.hero--page {
  min-height: 70vh;
}
.hero--page .hero__content { padding-top: 100px; padding-bottom: 60px; }

/* Subtle legibility anchor for white hero text now that the photo overlay is
   lighter - barely visible on dark areas, keeps text popping over bright sky. */
.hero .h-display { text-shadow: 0 2px 34px rgba(8, 9, 12, 0.5); }
.hero .hero__sub { text-shadow: 0 1px 18px rgba(8, 9, 12, 0.55); }

/* Heritage / scale strap at bottom of hero */
.hero__strap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(8,9,12,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__strap-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.hero__strap-item .num {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero__strap-item .lbl {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
}
@media (max-width: 760px) {
  .hero__strap-inner { grid-template-columns: 1fr 1fr; gap: 20px; row-gap: 22px; }
}

/* ---------- Statement section --------------------------- */

.statement {
  background: var(--bg-2);
  padding: 96px 0;
  position: relative;
}
.statement--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.statement--light p { color: var(--light-text); }
.statement--light p:last-child { color: var(--light-text-2); }
.statement::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 60px;
  background: var(--red);
  transform: translateX(-50%);
}
.statement__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.statement p {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.5;
  color: var(--white);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}
.statement p:last-child { margin-bottom: 0; color: var(--text-2); font-size: clamp(18px, 1.6vw, 22px); }

/* ---------- Pillar grid --------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.pillar {
  background: var(--bg);
  padding: 50px 38px 56px;
  position: relative;
  transition: background var(--t);
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--red);
  transition: width var(--t);
}
.pillar:hover { background: var(--bg-2); }
.pillar:hover::before { width: 100%; }
.pillar__num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 28px;
}
.pillar h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.pillar p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; margin: 0; }

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

/* ---------- Section heading row ------------------------- */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 70px;
  align-items: end;
}
.section-head__right { padding-bottom: 6px; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Feature row (image + text alternating) ------ */

.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature--reverse { grid-template-columns: 1fr 1.1fr; }
.feature--reverse .feature__media { order: 2; }
.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-3);
}
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 800ms cubic-bezier(.2,0,.2,1);
}
.feature__media:hover img { transform: scale(1.03); }
.feature__media .badge {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--bg);
  padding: 14px 22px;
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.feature__media .badge .num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
  font-weight: 500;
}
.feature__media .badge .lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}

.feature__body h2 { margin-bottom: 24px; }
.feature__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--rule);
}
.feature__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature__list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  flex: 0 0 auto;
}

@media (max-width: 920px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 40px; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media { aspect-ratio: 16 / 10; }
}

/* ---------- Heritage bar -------------------------------- */

.heritage {
  background: var(--bg);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.heritage--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.heritage--light .h-1,
.heritage--light .h-display { color: var(--light-text); }
.heritage--light .body,
.heritage--light .body-lg { color: var(--light-text-2); }
.heritage--light .heritage__year { color: rgba(12,14,18,.045); }
.heritage::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--red), transparent 60%);
}
.heritage__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}
.heritage__year {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 700;
  color: rgba(255,255,255,.025);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 920px) {
  .heritage__inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Full-bleed image w/ text overlay ------------ */

.bleed {
  position: relative;
  height: 78vh;
  min-height: 600px;
  overflow: hidden;
}
.bleed__bg { position: absolute; inset: 0; }
.bleed__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04);
}
.bleed__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,14,18,.88) 0%, rgba(12,14,18,.42) 42%, rgba(12,14,18,0) 72%);
}
.bleed__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.bleed__box { max-width: 580px; }

/* ---------- Closing CTA --------------------------------- */

.closing {
  padding: 140px 0;
  text-align: center;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.closing::before, .closing::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}
.closing::before { top: -160px; left: 10%; }
.closing::after  { bottom: -160px; right: 10%; }
.closing__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.closing h2 { margin-bottom: 28px; }
.closing p { color: var(--text-2); font-size: 17px; margin: 0 0 40px; }
.closing__brand {
  display: block;
  height: 104px;
  width: auto;
  margin: 0 auto 36px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.32);
}

/* ---------- Hero brand stamp ---------------------------- */
/* Small HFI lockup placed above eyebrows on page heroes
   for brand reinforcement. */
.hero__brand {
  display: inline-block;
  margin-bottom: 28px;
}
.hero__brand img {
  display: block;
  height: 64px;
  width: auto;
}
.hero__brand--light {
  /* tone hook retained for variants that want it */
}
@media (max-width: 760px) {
  .hero__brand img { height: 50px; }
  .hero__brand { margin-bottom: 22px; }
  .closing__brand { height: 72px; margin-bottom: 28px; }
}

/* ---------- Misc ---------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.tag .dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .section { padding: 80px 0; }
  .statement, .heritage, .closing { padding: 72px 0; }
}

/* ============================================================
   HOME - alternate layouts for Pillars & Field Operations
   Breaks the repeated "three equal vertical cards" rhythm.
   ============================================================ */

/* ---- Pillars: asymmetric MOSAIC (1 tall feature + 2 stacked) ---- */
.pillars-mosaic {
  display: grid;
  grid-template-columns: 1.34fr 1fr;
  gap: 6px;
  align-items: stretch;
}
.pillars-mosaic .pm-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}
.pillars-mosaic .tile { aspect-ratio: auto; height: 100%; }
.pillars-mosaic .tile--feature { aspect-ratio: 1 / 1.16; }
.pillars-mosaic .tile--feature .tile__body { left: 44px; right: 44px; bottom: 44px; }
.pillars-mosaic .tile--feature .tile__num { top: 36px; left: 44px; }
.pillars-mosaic .tile--feature .tile__title {
  font-size: clamp(30px, 3vw, 46px);
  margin-bottom: 18px;
}
.pillars-mosaic .tile--feature .tile__desc { font-size: 16px; max-width: 480px; }
.pillars-mosaic .tile--compact .tile__title { font-size: clamp(20px, 1.7vw, 26px); }

@media (max-width: 900px) {
  .pillars-mosaic { grid-template-columns: 1fr; }
  .pillars-mosaic .tile--feature { aspect-ratio: 16 / 11; }
  .pillars-mosaic .pm-right { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .pillars-mosaic .tile--compact { aspect-ratio: 4 / 5; }
}
@media (max-width: 600px) {
  .pillars-mosaic .pm-right { grid-template-columns: 1fr; }
  .pillars-mosaic .tile--compact { aspect-ratio: 16 / 10; }
}

/* Mobile legibility: short tiles/strips put text over more of the image,
   so deepen the scrim and tighten padding/sizing. */
@media (max-width: 600px) {
  .tile__body { left: 22px; right: 22px; bottom: 22px; }
  .tile__num { top: 22px; left: 22px; }
  .pillars-mosaic .tile--feature .tile__body { left: 24px; right: 24px; bottom: 24px; }
  .pillars-mosaic .tile--feature .tile__num { top: 24px; left: 24px; }
  .pillars-mosaic .tile--feature .tile__title { font-size: clamp(26px, 7.4vw, 34px); margin-bottom: 12px; }
  .pillars-mosaic .tile--feature .tile__desc { font-size: 14.5px; }
  .tile__eyebrow { margin-bottom: 10px; }
  .tile__overlay {
    background: linear-gradient(180deg, rgba(12,14,18,0) 6%, rgba(12,14,18,.44) 44%, rgba(12,14,18,.82) 74%, rgba(12,14,18,.95) 100%);
  }
  .strip__cell::after {
    background: linear-gradient(180deg, rgba(12,14,18,0) 24%, rgba(12,14,18,.42) 56%, rgba(12,14,18,.8) 82%, rgba(12,14,18,.95) 100%);
  }
  .strip__caption { left: 20px; right: 20px; bottom: 20px; }
}

/* ---- Pillars: EDITORIAL alternating rows ---- */
.pillars-editorial {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.ped-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--bg);
  min-height: 440px;
  isolation: isolate;
}
.ped-row:nth-child(even) .ped-media { order: 2; }
.ped-media { position: relative; overflow: hidden; min-height: 320px; }
.ped-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 1200ms cubic-bezier(.2,0,.2,1);
}
.ped-row:hover .ped-img { transform: scale(1.05); }
.ped-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,14,18,0) 78%, rgba(12,14,18,.18) 100%);
}
.ped-text {
  padding: 64px clamp(40px, 5vw, 76px);
  display: flex; flex-direction: column; justify-content: center;
}
.ped-num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: 0.16em; color: var(--text-3);
  margin-bottom: 22px;
}
.ped-title {
  font-size: clamp(26px, 2.6vw, 38px); font-weight: 600;
  letter-spacing: -0.018em; line-height: 1.12; margin: 0 0 18px;
}
.ped-desc { font-size: 16px; line-height: 1.65; color: var(--text-2); margin: 0 0 32px; max-width: 460px; }
@media (max-width: 820px) {
  .ped-row { grid-template-columns: 1fr; min-height: 0; }
  .ped-row:nth-child(even) .ped-media { order: 0; }
  .ped-media { min-height: 260px; aspect-ratio: 16 / 9; }
  .ped-text { padding: 40px 28px 48px; }
}

/* ---- Field Ops: CINEMA (1 wide hero banner + supporting pair) ---- */
.field-cinema { display: grid; gap: 4px; }
.field-cinema .fc-hero.strip__cell { aspect-ratio: 21 / 8; }
.field-cinema .fc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.field-cinema .fc-pair .strip__cell { aspect-ratio: 16 / 10; }
.field-cinema .fc-hero .strip__caption { left: 36px; right: 36px; bottom: 32px; max-width: 540px; }
.field-cinema .fc-hero .strip__caption .lbl { font-size: 22px; letter-spacing: -0.015em; }
.field-cinema .fc-hero .strip__caption .sub { font-size: 14px; margin-top: 8px; }
@media (max-width: 720px) {
  .field-cinema .fc-hero.strip__cell { aspect-ratio: 16 / 10; }
  .field-cinema .fc-pair { grid-template-columns: 1fr; }
  .field-cinema .fc-pair .strip__cell { aspect-ratio: 16 / 10; }
}

/* ---- Field Ops: TRIPTYCH (unequal full-bleed slices) ---- */
.field-triptych { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 4px; }
.field-triptych .strip__cell { aspect-ratio: auto; min-height: 600px; }
@media (max-width: 900px) {
  .field-triptych { grid-template-columns: 1fr 1fr; }
  .field-triptych .strip__cell { min-height: 420px; }
}
@media (max-width: 560px) {
  .field-triptych { grid-template-columns: 1fr; }
  .field-triptych .strip__cell { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---- Field Ops: HOME 3-up grid (responsive - fixes inline override) ---- */
.strip--home3 { grid-template-columns: repeat(3, 1fr); }
.strip--home3 .strip__cell { aspect-ratio: 4 / 5; }
@media (max-width: 1000px) { .strip--home3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  {
  .strip--home3 { grid-template-columns: 1fr; }
  .strip--home3 .strip__cell { aspect-ratio: 16 / 10; }
}

/* ============================================================
   HOME - light-band overrides (less black; alternating cadence)
   Hero D · Pillars L · Field D · Statement L · Bleed D ·
   Development D · Heritage L · Closing D
   ============================================================ */

/* Pillars on a light band: keep the dark image tiles, but the
   6px gutters + section chrome read as light. */
.section--light .pl-head .link-arrow { color: var(--red); border-color: var(--red); }
.section--light .pl-head .link-arrow:hover { color: var(--light-text); border-color: var(--light-text); }
.section--light .pillars-mosaic,
.section--light .pillars-mosaic .pm-right,
.section--light .tile-grid { background: transparent; }
/* Editorial variant rows recolor to paper when section is light */
.section--light .pillars-editorial { background: var(--light-rule); border-block-color: var(--light-rule); }
.section--light .ped-row { background: var(--light-bg); }
.section--light .ped-title { color: var(--light-text); }
.section--light .ped-desc { color: var(--light-text-2); }
.section--light .ped-num { color: var(--text-3); }
.section--light .ped-media::after {
  background: linear-gradient(90deg, rgba(241,239,233,0) 60%, rgba(241,239,233,.35) 100%);
}

/* ============================================================
   MOBILE PASS - tighten spacing, guarantee stacking, kill overflow
   ============================================================ */
@media (max-width: 760px) {
  /* Calmer vertical rhythm - the desktop 120px bands feel huge on phones */
  .section { padding: 68px 0; }
  .section--tight { padding: 52px 0; }
  .statement { padding: 60px 0; }
  .heritage { padding: 84px 0; }
  .closing { padding: 84px 0; }
  .footer { padding: 72px 0 40px; }

  /* Home section heads: stack cleanly with a small, consistent gap */
  .pl-head, .fs-head, .home-dev__head {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: start !important;
    margin-bottom: 36px !important;
  }
  .home-dev__rows { gap: 4px; }
  .home-dev__cta { gap: 16px; margin-top: 32px; }

  /* Hero: don't let the fixed nav + tall copy collide with the strap */
  .hero { min-height: 92vh; }
  .hero--cinematic { padding-bottom: 188px; }
  .hero__content { padding-top: 104px; }
  .hero__cta { margin-top: 32px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero__strap { padding: 16px 0; }

  /* Bleed: stronger vertical scrim so overlay text stays legible
     when the band is narrow, and a shorter band on phones */
  .bleed { height: auto; min-height: 0; }
  .bleed__bg { position: relative; height: 56vw; min-height: 280px; }
  .bleed__bg::after {
    background: linear-gradient(180deg, rgba(12,14,18,0) 30%, rgba(12,14,18,.3) 65%, rgba(12,14,18,.7) 100%);
  }
  .bleed__content {
    position: relative;
    height: auto;
    background: var(--bg);
    padding: 40px 0 8px;
  }
  .section--light + .bleed .bleed__content { background: var(--bg); }
  .bleed__box { max-width: 100%; }

  /* Footer: single column reads better than a cramped 2-up */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .home-dev__cta { flex-direction: column; align-items: flex-start; }
  .home-dev__div { display: none; }
}

/* Wide editorial image bands (21:9) get too short on phones - give them a
   taller crop so the subject reads. */
@media (max-width: 760px) {
  .ds-wide-media { aspect-ratio: 16 / 9 !important; }
}

/* Belt-and-braces: nothing should cause horizontal scroll on mobile */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
}

/* ============================================================
   HOME - LIGHTER RENDERING
   Lifts the gloom: field strip + development read as paper,
   facility copy floats in a light card (no left grey wash).
   Hero + closing stay dark as deliberate bookends.
   ============================================================ */

/* ---- Facility full-bleed: light card, no creeping grey ---- */
.bleed--light .bleed__bg::after {
  background: linear-gradient(90deg, rgba(12,14,18,.30) 0%, rgba(12,14,18,.06) 38%, rgba(12,14,18,0) 58%);
}
.bleed--light .bleed__box {
  background: rgba(244,242,236,.94);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: clamp(34px, 3.4vw, 52px);
  border-left: 3px solid var(--red);
  box-shadow: 0 34px 80px rgba(0,0,0,.30);
}
.bleed--light .bleed__box .eyebrow { color: var(--red); }
.bleed--light .bleed__box .h-1 { color: var(--light-text); }
.bleed--light .bleed__box .body,
.bleed--light .bleed__box .body-lg { color: var(--light-text-2); }
.bleed--light .bleed__box .body strong { color: var(--light-text); }
.bleed--light .bleed__box .link-arrow { color: var(--red); border-color: var(--red); }
.bleed--light .bleed__box .link-arrow:hover { color: var(--light-text); border-color: var(--light-text); }

/* ---- Development section: paper variant ---- */
.home-dev--light { background: var(--light-bg); color: var(--light-text); }
.home-dev--light .h-1 { color: var(--light-text); }
.home-dev--light .home-dev__lede { color: var(--light-text-2); }
.home-dev--light .hd-row {
  background: var(--light-surface);
  border-color: var(--light-rule);
}
.home-dev--light .hd-title { color: var(--light-text); }
.home-dev--light .hd-body { color: var(--light-text-2); }
.home-dev--light .home-dev__div { background: var(--light-rule); }
.home-dev--light .link-arrow { color: var(--red); border-color: var(--red); }
.home-dev--light .link-arrow:hover { color: var(--light-text); border-color: var(--light-text); }
