/* ==========================================================================
   Safety First Collective — Design System
   Cinematic Production Safety Command Center

   Visual language notes:
   - Dark surfaces (hero, feature sections, CTA band, footer) share one baked-in
     cinematic treatment: layered navy gradient + film grain + a faint
     soundstage-grid line texture. No per-page decoration required.
   - Amber is a signature safety-indicator color used only as a tiny
     micro-accent (a status dot, a hairline, a flagged doc-line). It is not
     an interactive or structural color.
   - Steel blue / mist blue carry all hover, active, and numbering treatments.
   - The light palette is deliberately cool — a blue-tinted off-white and
     mist gray, never cream/beige — so the site reads as navy command-center,
     not warm editorial or lifestyle.
   ========================================================================== */

:root {
  /* Brand color system */
  --deep-navy: #050b12;
  --sfc-navy: #071a2f;
  --steel-blue: #3e5f78;
  --mist-blue: #a7bbc8;
  --off-white: #f3f6f8;
  --mist-gray: #e6ebef;
  --charcoal: #1c2228;
  --safety-amber: #c98a24;
  --border-color: #d7dee4;

  /* Typography */
  --font-heading: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container-width: 1240px;

  /* Motion */
  --transition-fast: 180ms ease;

  /* Cinematic surface layers */
  --grain-texture: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  --rig-lines: repeating-linear-gradient(
    180deg,
    rgba(167, 187, 200, 0.05) 0px,
    rgba(167, 187, 200, 0.05) 1px,
    transparent 1px,
    transparent 72px
  );
  --gradient-deep: radial-gradient(130% 95% at 78% 0%, rgba(62, 95, 118, 0.32) 0%, rgba(62, 95, 118, 0.08) 42%, rgba(5, 11, 18, 0) 68%),
    linear-gradient(158deg, #0a1826 0%, #050b12 55%, #050b12 100%);
  --gradient-navy: radial-gradient(130% 95% at 78% 0%, rgba(167, 187, 200, 0.18) 0%, rgba(62, 95, 118, 0.1) 42%, rgba(7, 26, 47, 0) 68%),
    linear-gradient(158deg, #0d2440 0%, #071a2f 55%, #071a2f 100%);
  /* One tall shared canvas for a run of dark sections (see .cinematic-sequence
     below). The glow is a fixed-pixel ellipse rather than a percentage size
     so it stays a single graceful highlight near the top no matter how tall
     the combined wrapper gets, instead of stretching across every section. */
  --gradient-sequence: radial-gradient(900px 700px at 78% 0%, rgba(62, 95, 118, 0.28) 0%, rgba(62, 95, 118, 0.06) 45%, rgba(5, 11, 18, 0) 70%),
    linear-gradient(180deg, #0a1826 0px, #050b12 650px, #050b12 100%);
  --gradient-hero: radial-gradient(140% 100% at 76% -8%, rgba(62, 95, 118, 0.4) 0%, rgba(62, 95, 118, 0.12) 42%, rgba(5, 11, 18, 0) 70%),
    linear-gradient(158deg, #0a1826 0%, #050b12 55%, #050b12 100%);
  --gradient-footer: linear-gradient(180deg, #071a2f 0%, #050b12 100%);
  /* Ends on the exact color --gradient-footer starts on, so the CTA band
     flows straight into the footer with no visible seam between them. */
  --gradient-cta: linear-gradient(180deg, #0a1826 0%, #071a2f 100%);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--off-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--sfc-navy);
  font-weight: 600;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--steel-blue);
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

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

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

.section {
  padding-block: 88px;
}

@media (min-width: 900px) {
  .section {
    padding-block: 120px;
  }
}

.section--tight {
  padding-block: 64px;
}

/* Extra breathing room above the eyebrow/heading for sections that read as
   cramped directly under the sticky header — top padding only, bottom
   padding stays the normal .section rhythm. */
.section--roomy-top {
  padding-top: 128px;
}

@media (min-width: 900px) {
  .section--roomy-top {
    padding-top: 160px;
  }
}

/* ---- Cinematic dark-surface system -------------------------------------
   Every dark surface on the site (hero, dark/navy sections, CTA band,
   footer) draws from the same layered treatment: a gradient base, a grain
   overlay, and — for the larger feature surfaces — a faint horizontal
   line texture standing in for a soundstage lighting grid. This is applied
   once here so no page ever needs bespoke per-section decoration. */

.section--dark,
.section--navy,
.cta-band,
.site-footer,
.cinematic-sequence {
  position: relative;
  color: var(--off-white);
}

.section--dark {
  background: var(--gradient-deep);
}

.section--navy {
  background: var(--gradient-navy);
}

.cta-band {
  background: var(--gradient-cta);
}

.site-footer {
  background: var(--gradient-footer);
}

/* .cinematic-sequence is the shared canvas for a run of dark sections that
   should read as one continuous environment (see Home: Why SFC / How It
   Works / Gulf & International). The gradient and grain are painted once on
   this wrapper; the sections inside it stay fully transparent so no
   internal boundary ever shows a background seam. */
.cinematic-sequence {
  background: var(--gradient-sequence);
}

.section--dark::before,
.section--navy::before,
.cta-band::before,
.site-footer::before,
.cinematic-sequence::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: var(--grain-texture);
  background-size: 160px 160px;
  pointer-events: none;
}

/* The closing CTA/footer pairing stays calmer than mid-page feature
   sections — quieter grain, no rig-line grid, no corner brackets. */
.cta-band::before,
.site-footer::before {
  opacity: 0.28;
}

.section--dark::after,
.section--navy::after,
.cinematic-sequence::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--rig-lines);
  pointer-events: none;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--navy h1,
.section--navy h2,
.section--navy h3,
.cinematic-sequence h1,
.cinematic-sequence h2,
.cinematic-sequence h3 {
  color: var(--off-white);
}

.section--dark > .container,
.section--navy > .container,
.cta-band > .container,
.site-footer > .container,
.cinematic-sequence .container {
  position: relative;
  z-index: 1;
}

/* Marks where one subsection of a .cinematic-sequence ends and the next
   begins — content-level separation (a hairline, not a background change)
   so the sections inside the sequence never look like stacked blocks. */
.sequence-divider {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.sequence-divider::before {
  content: "";
  display: block;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(167, 187, 200, 0) 0%, rgba(167, 187, 200, 0.18) 50%, rgba(167, 187, 200, 0) 100%);
}

@media (min-width: 768px) {
  .sequence-divider {
    padding-inline: 40px;
  }
}

.section--light {
  background-color: var(--off-white);
}

.section--gray {
  background-color: var(--mist-gray);
}

.section-header {
  max-width: 750px;
  margin-bottom: 48px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--sfc-navy);
  color: var(--off-white);
  padding: 12px 18px;
  border-radius: 3px;
  z-index: 200;
  transition: top var(--transition-fast);
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Cinematic visual placeholder system

   Abstract, code-drawn stand-ins for production photography — a soundstage
   truss grid, a call-sheet's redacted rows, a Gulf horizon. No raster
   imagery anywhere unless a real photo has been supplied: every motif is a
   layered gradient or pattern, so it stays crisp, on-brand, and instant to
   load. Reused verbatim across every page for a consistent visual signature.
   ========================================================================== */

/* A single soft hairline at the top is the only edge treatment the CTA band
   gets — no corner brackets, no boxed frame. Nothing at the bottom, so the
   band flows straight into the footer below it. */
.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 187, 200, 0) 0%, rgba(167, 187, 200, 0.22) 50%, rgba(167, 187, 200, 0) 100%);
  pointer-events: none;
}

/* Base placeholder panel — used for every abstract "production visual" slot */
.visual-slot {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(167, 187, 200, 0.16);
  background: linear-gradient(155deg, #0d2440 0%, #050b12 100%);
  isolation: isolate;
}

.visual-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: var(--grain-texture);
  background-size: 160px 160px;
  pointer-events: none;
}

.visual-slot-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-blue);
  opacity: 0.8;
}

.visual-slot-tag::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--safety-amber);
  margin-right: 9px;
  opacity: 0.9;
}

/* Soundstage — vertical truss grid beneath a soft overhead rig beam */
.visual-slot--soundstage {
  background: linear-gradient(180deg, #0a1826 0%, #050b12 100%);
}

.visual-slot--soundstage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(60% 55% at 28% 0%, rgba(167, 187, 200, 0.22) 0%, rgba(167, 187, 200, 0) 70%),
    repeating-linear-gradient(90deg, rgba(167, 187, 200, 0.09) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(180deg, rgba(167, 187, 200, 0.07) 0 1px, transparent 1px 52px);
  pointer-events: none;
}

/* Lighting rig — quiet horizontal truss lines, for on-set / crew moments */
.visual-slot--rig::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--rig-lines), radial-gradient(50% 60% at 82% 100%, rgba(167, 187, 200, 0.16) 0%, rgba(167, 187, 200, 0) 70%);
  pointer-events: none;
}

/* Call sheet / planning document — redacted line rows with one amber flag */
.visual-slot--callsheet {
  background: linear-gradient(155deg, #10233a 0%, #071a2f 100%);
}

.doc-lines {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.doc-lines span {
  display: block;
  height: 6px;
  border-radius: 1px;
  background-color: rgba(167, 187, 200, 0.3);
}

.doc-lines span:nth-child(3n) {
  background-color: rgba(201, 138, 36, 0.4);
  max-width: 30%;
}

/* Desert / Gulf horizon — low dune gradient with a hairline horizon */
.visual-slot--desert {
  background: linear-gradient(180deg, #0a1826 0%, #0d2440 58%, #15304a 100%);
}

.visual-slot--desert::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(34% 40% at 80% 20%, rgba(167, 187, 200, 0.32) 0%, rgba(167, 187, 200, 0) 70%),
    linear-gradient(180deg, transparent 0%, transparent 82%, rgba(201, 138, 36, 0.22) 82.5%, transparent 83.5%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 7px);
  pointer-events: none;
}

/* On full-bleed hero backgrounds the panel sits behind copy of unpredictable
   length, so push the horizon further down and mute it further — it should
   read as a floor, not cross through the headline or lede. */
.page-hero > .visual-slot--desert::after {
  background-image:
    radial-gradient(34% 40% at 80% 20%, rgba(167, 187, 200, 0.28) 0%, rgba(167, 187, 200, 0) 70%),
    linear-gradient(180deg, transparent 0%, transparent 91%, rgba(201, 138, 36, 0.16) 91.5%, transparent 92.5%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 7px);
}

/* ==========================================================================
   Real production photography

   Clean, minimal treatment for actual photographs: a navy gradient scrim
   (so type stays legible and the palette stays consistent) plus the shared
   .visual-slot grain — nothing else. No scanlines, no grid overlays, no
   corner marks, no line effects of any kind on top of a real photo.
   Each slot below is a single dedicated image; none are reused elsewhere.
   ========================================================================== */

/* Home — "Why SFC" panel, beside the section copy */
.visual-slot--why-sfc-photo {
  background-image:
    linear-gradient(180deg, rgba(5, 11, 18, 0.1) 0%, rgba(5, 11, 18, 0.35) 65%, rgba(5, 11, 18, 0.6) 100%),
    url("../images/why-sfc-production-safety-lead.png");
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}

/* Home — Gulf & International banner (small corner caption only) */
.visual-slot--home-gulf-photo {
  background-image:
    linear-gradient(180deg, rgba(5, 11, 18, 0.15) 0%, rgba(5, 11, 18, 0.1) 55%, rgba(5, 11, 18, 0.6) 100%),
    url("../images/home-gulf-production-unit.png");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

/* Gulf & International page — dedicated feature panel (regional support) */
.visual-slot--gulf-regional-photo {
  background-image:
    linear-gradient(180deg, rgba(5, 11, 18, 0.12) 0%, rgba(5, 11, 18, 0.15) 55%, rgba(5, 11, 18, 0.62) 100%),
    url("../images/gulf-regional-production-support.png");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

/* Gulf & International page — full-bleed hero. Real headline/lede/button
   copy sits directly on the photo here (unlike the panel above, which only
   carries a small corner caption), so this needs the same left-weighted
   darkening technique as the other photographic heroes. */
.visual-slot--gulf-hero-photo {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 11, 18, 0.97) 0%,
      rgba(5, 11, 18, 0.88) 34%,
      rgba(5, 11, 18, 0.48) 68%,
      rgba(5, 11, 18, 0.62) 100%
    ),
    linear-gradient(180deg, rgba(5, 11, 18, 0.25) 0%, rgba(5, 11, 18, 0.1) 40%, rgba(5, 11, 18, 0.5) 100%),
    url("../images/gulf-hero-international-shoot.png");
  background-size: cover, cover, cover;
  background-position: center, center, center calc(55% + var(--parallax-y));
  background-repeat: no-repeat, no-repeat, no-repeat;
}

/* About page — founder/story panel */
.visual-slot--about-founder-photo {
  background-image:
    linear-gradient(180deg, rgba(5, 11, 18, 0.1) 0%, rgba(5, 11, 18, 0.2) 55%, rgba(5, 11, 18, 0.55) 100%),
    url("../images/about-founder-production-context.png");
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
}

/* Services page — full-bleed hero. The source photo has a legible planning
   board on the left (the same side the headline sits on), so beyond the
   left-weighted scrim it also gets a light blur — the one place besides the
   process texture where a photo needed blur for text legibility, per the
   allowed treatment list. */
.visual-slot--services-hero-photo {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 11, 18, 0.97) 0%,
      rgba(5, 11, 18, 0.88) 34%,
      rgba(5, 11, 18, 0.48) 68%,
      rgba(5, 11, 18, 0.62) 100%
    ),
    linear-gradient(180deg, rgba(5, 11, 18, 0.25) 0%, rgba(5, 11, 18, 0.1) 40%, rgba(5, 11, 18, 0.5) 100%),
    url("../images/services-production-planning.png");
  background-size: cover, cover, cover;
  background-position: center, center, center calc(45% + var(--parallax-y));
  background-repeat: no-repeat, no-repeat, no-repeat;
  filter: blur(3px);
}

/* Contact page — full-bleed hero */
.visual-slot--contact-hero-photo {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 11, 18, 0.97) 0%,
      rgba(5, 11, 18, 0.88) 34%,
      rgba(5, 11, 18, 0.48) 68%,
      rgba(5, 11, 18, 0.62) 100%
    ),
    linear-gradient(180deg, rgba(5, 11, 18, 0.25) 0%, rgba(5, 11, 18, 0.1) 40%, rgba(5, 11, 18, 0.5) 100%),
    url("../images/contact-production-inquiry.png");
  background-size: cover, cover, cover;
  background-position: center, center, center calc(42% + var(--parallax-y));
  background-repeat: no-repeat, no-repeat, no-repeat;
}

/* Full-bleed photo heroes sit directly on .page-hero, which otherwise gets
   the shared dark-surface rig-line texture via .section--dark::after — that
   subtle stripe pattern is fine over an abstract gradient but is exactly the
   kind of line effect that must not sit on top of a real photograph, so it's
   suppressed here. Grain (::before) is left on; it's the one texture allowed
   over photos per the site's treatment rules. */
.page-hero--photo::after {
  display: none;
}

/* Hero atmosphere — soft, off-axis practical-light glows that fade into the
   dark background behind the headline. No decorative icon or silhouette of
   any kind — just diffuse light, blurred and masked so it reads as ambient
   depth rather than a graphic. */
.hero-atmosphere {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  min-width: 380px;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(2px);
  -webkit-mask-image: radial-gradient(68% 85% at 80% 48%, black 0%, black 40%, transparent 78%);
  mask-image: radial-gradient(68% 85% at 80% 48%, black 0%, black 40%, transparent 78%);
}

.hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(34% 26% at 66% 24%, rgba(167, 187, 200, 0.3) 0%, rgba(167, 187, 200, 0) 70%),
    radial-gradient(24% 20% at 90% 66%, rgba(62, 95, 118, 0.28) 0%, rgba(62, 95, 118, 0) 70%);
}

@media (max-width: 900px) {
  .hero-atmosphere {
    display: none;
  }
}

/* Oversized ghost numeral — an editorial section watermark, scene-slate style */
.ghost-index {
  position: absolute;
  top: -0.3em;
  right: 0;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 13vw, 10.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--sfc-navy);
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.section--dark .ghost-index,
.section--navy .ghost-index,
.cinematic-sequence .ghost-index {
  color: var(--off-white);
  opacity: 0.06;
}

/* Service module wrapper — positions the ghost numeral behind real content */
.service-module {
  position: relative;
  overflow: hidden;
}

.service-module > .container {
  position: relative;
}

.service-module .two-col {
  position: relative;
  z-index: 1;
}

/* Phase badges — review / risk / deployment pipeline markers on service modules */
.phase-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px 7px 10px;
  border-radius: 2px;
  border: 1px solid rgba(62, 95, 118, 0.3);
  color: var(--steel-blue);
}

.section--dark .phase-badge,
.section--navy .phase-badge,
.cinematic-sequence .phase-badge {
  border-color: rgba(167, 187, 200, 0.28);
  color: var(--mist-blue);
}

.phase-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.7;
}

/* Card visual strip — a small letterhead-style band bleeding to the card edge */
.card-visual {
  height: 76px;
  margin: -34px -30px 24px;
  border-radius: 3px 3px 0 0;
}

.press-card .card-visual {
  margin: -36px -36px 24px;
}

@media (max-width: 640px) {
  .card-visual {
    margin: -34px -26px 22px;
  }
}

/* Form letterhead strip — same motif applied to the top of a form shell */
.form-shell-visual {
  height: 64px;
  margin: -44px -44px 32px;
  border-radius: 3px 3px 0 0;
}

@media (max-width: 640px) {
  .form-shell-visual {
    height: 52px;
    margin: -28px -28px 24px;
    border-radius: 2px 2px 0 0;
  }
}

/* ==========================================================================
   Typography scale
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 18px;
}

.section--dark .eyebrow,
.section--navy .eyebrow,
.cinematic-sequence .eyebrow {
  color: var(--mist-blue);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 1.5px;
  background-color: var(--steel-blue);
}

.section--dark .eyebrow::before,
.section--navy .eyebrow::before,
.cinematic-sequence .eyebrow::before {
  background-color: var(--mist-blue);
  opacity: 0.65;
}

.h-display {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.h-xl {
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.h-lg {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

.h-md {
  font-size: 1.35rem;
  line-height: 1.3;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--steel-blue);
  max-width: 640px;
}

.section--dark .lede,
.section--navy .lede,
.cinematic-sequence .lede {
  color: var(--mist-blue);
}

.body-text {
  color: var(--charcoal);
  opacity: 0.85;
  line-height: 1.7;
}

.section--dark .body-text,
.section--navy .body-text,
.cinematic-sequence .body-text {
  color: var(--mist-blue);
  opacity: 0.95;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn--solid {
  background-color: var(--sfc-navy);
  border-color: var(--sfc-navy);
  color: var(--off-white);
}

.btn--solid:hover {
  background-color: var(--deep-navy);
  border-color: var(--steel-blue);
}

.btn--inverse {
  background-color: var(--off-white);
  border-color: var(--off-white);
  color: var(--sfc-navy);
}

.btn--inverse:hover {
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 1px rgba(62, 95, 118, 0.35);
}

.btn--outline {
  background-color: transparent;
  border-color: rgba(7, 26, 47, 0.3);
  color: var(--sfc-navy);
}

.btn--outline:hover {
  border-color: var(--sfc-navy);
  background-color: rgba(7, 26, 47, 0.04);
}

.btn--outline-inverse {
  background-color: transparent;
  border-color: rgba(247, 246, 242, 0.35);
  color: var(--off-white);
}

.btn--outline-inverse:hover {
  border-color: var(--mist-blue);
  background-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--off-white);
  border-bottom: 1px solid var(--border-color);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sfc-navy);
  letter-spacing: -0.01em;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background-color: var(--sfc-navy);
  color: var(--off-white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.logo-text-full {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.site-header .logo-text-sub {
  display: none;
}

.logo-text-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--sfc-navy);
}

.main-nav a[aria-current="page"] {
  color: var(--sfc-navy);
  font-weight: 600;
}

/* Active-state marker sits under the label via an absolutely-positioned
   underline, not an inline dot — it never shifts nav spacing/width. */
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background-color: var(--steel-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* FR/EN language toggle — heat-campaign pages only. A compact, self-contained
   pill control that sits in the actions group, separate from both the nav
   text and the CTA button. */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 9px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  white-space: nowrap;
}

.lang-toggle a {
  color: var(--steel-blue);
  padding: 3px 4px;
  border-radius: 12px;
}

.lang-toggle a:hover {
  color: var(--sfc-navy);
}

.lang-toggle a[aria-current="page"] {
  color: var(--sfc-navy);
  background-color: var(--mist-gray);
}

.lang-toggle .lang-divider {
  color: var(--border-color);
  font-weight: 400;
}

@media (max-width: 560px) {
  .lang-toggle {
    font-size: 0.72rem;
  }
}

/* Long localized CTA labels (e.g. French heat-review buttons) can exceed the
   viewport at phone widths since .btn forces a single line — allow wrapping
   there instead of letting the button push the page into horizontal scroll.
   min-width: 0 overrides the flex-item default (min-width: auto, which
   resolves to the unwrapped text's min-content width) so the button and its
   row are actually allowed to shrink down to the wrapped size. */
@media (max-width: 640px) {
  .btn {
    white-space: normal;
    text-align: center;
    min-width: 0;
  }

  .btn-row {
    min-width: 0;
  }

  .btn-row > .btn {
    min-width: 0;
    max-width: 100%;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background-color: var(--sfc-navy);
}

/* .container is permanently capped at --container-width (1240px) — it never
   grows past that regardless of viewport, so the full nav's available width
   plateaus at 1240px for any viewport >= 1241px. This tightened spacing was
   originally scoped to only 1241-1380px on the assumption that wider
   viewports would have "more room," but they don't: the header row still
   overflowed identically above 1380px (confirmed via responsive audit,
   2026-07-08) because the container width is the actual constraint, not the
   viewport. No upper bound — applies to every full-nav desktop width. */
@media (min-width: 1241px) {
  .site-header .container {
    gap: 18px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .btn {
    padding: 13px 18px;
    font-size: 12px;
  }
}

.header-mobile-cta {
  display: none;
}

.lang-toggle--mobile {
  display: none;
}

/* Below this point the full nav no longer has room to sit comfortably next
   to the brand and actions group — switch to the slide-out mobile/tablet
   menu rather than letting items crowd or overlap. */
@media (max-width: 1240px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background-color: var(--off-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 260ms ease;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
  }

  .main-nav a[aria-current="page"]::after {
    display: none;
  }

  .header-actions .btn,
  .header-actions .lang-toggle {
    display: none;
  }

  .header-actions .nav-toggle {
    display: flex;
  }

  /* Mobile-only lang-toggle instance lives inside the slide-out panel
     itself, between the nav links and the CTA — never floats in the
     collapsed header bar next to the hamburger. */
  .lang-toggle--mobile {
    display: flex;
    margin-top: 20px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .lang-toggle--mobile a {
    padding: 6px 10px;
  }

  .main-nav .header-mobile-cta {
    display: block;
    margin-top: 24px;
    width: 100%;
    text-align: center;
    border-bottom: none;
    padding: 15px 28px;
    color: var(--off-white);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

/* Homepage hero photo — a real soundstage frame sits behind the gradient,
   weighted so the crew/light-rig detail reads on the right while the left
   (where the headline sits) stays almost fully navy for contrast. The photo
   is a supporting atmosphere layer, not a banner: it never rises above the
   overlay's darkest point, and the section's shared grain treatment (via
   .section--dark) still paints on top of it. */
.hero--photo {
  background-image: linear-gradient(
      90deg,
      rgba(5, 11, 18, 0.96) 0%,
      rgba(5, 11, 18, 0.86) 26%,
      rgba(5, 11, 18, 0.5) 58%,
      rgba(5, 11, 18, 0.68) 100%
    ),
    url("../images/hero-image-web.jpg");
  background-size: cover, cover;
  background-position: center, 62% calc(50% + var(--parallax-y));
  background-repeat: no-repeat, no-repeat;
}

/* No rig-line stripes on top of the real photo — see .page-hero--photo::after
   below for the same rule applied to the page-hero variants. */
.hero--photo::after {
  display: none;
}

.hero {
  padding-block: 140px 100px;
}

@media (min-width: 900px) {
  .hero {
    padding-block: 180px 130px;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero .lede {
  margin-top: 20px;
  max-width: 620px;
}

.hero-credibility {
  margin-top: 32px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--mist-blue);
  text-transform: uppercase;
  font-weight: 500;
}

.hero .btn-row {
  margin-top: 40px;
}

.page-hero {
  padding-block: 130px 80px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

/* ==========================================================================
   Grid & Cards
   ========================================================================== */

.grid {
  display: grid;
  gap: 28px;
  counter-reset: card-index col-index;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Slightly denser rhythm for grids of lighter-weight .card--compact items. */
.grid--tight {
  gap: 20px;
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 620px) and (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Cards read as spec-sheet / dossier entries rather than boxed SaaS feature
   tiles: a plain-bordered panel, a quiet index mark instead of a colored
   icon chip, and an outline glyph with no background fill. */

.card {
  counter-increment: card-index;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  background-color: #fff;
  padding: 34px 30px 30px;
  box-shadow: 0 1px 0 rgba(7, 26, 47, 0.02);
  transition: border-color var(--transition-fast), background-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--steel-blue), rgba(62, 95, 118, 0) 75%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover::before {
  opacity: 1;
}

.card:has(.card-visual)::after {
  display: none;
}

.card::after {
  content: "0" counter(card-index);
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(62, 95, 118, 0.4);
}

.card:hover {
  border-color: var(--steel-blue);
  background-color: rgba(7, 26, 47, 0.015);
  box-shadow: 0 22px 44px -30px rgba(7, 26, 47, 0.4);
}

a.card:hover {
  transform: translateY(-3px);
}

.card--dark {
  background-color: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.12);
}

.card--dark::before {
  background: linear-gradient(90deg, var(--mist-blue), rgba(167, 187, 200, 0) 75%);
}

.card--dark::after {
  color: rgba(167, 187, 200, 0.4);
}

.card--dark:hover {
  border-color: rgba(167, 187, 200, 0.45);
  background-color: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.5);
}

/* Lighter-weight variant for dense grids (e.g. an audience/segment matrix)
   where the full .card padding/type scale reads as too heavy. */
.card--compact {
  padding: 24px 22px 22px;
}

.card--compact::after {
  top: 16px;
  right: 18px;
}

.card--compact h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.card--compact p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.card-icon {
  display: flex;
  align-items: center;
  width: 26px;
  height: 26px;
  color: var(--steel-blue);
  margin-bottom: 22px;
}

.card--dark .card-icon {
  color: var(--mist-blue);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding-right: 28px;
}

.card--dark h3 {
  color: var(--off-white);
}

.card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--charcoal);
  opacity: 0.78;
}

.card--dark p {
  color: var(--mist-blue);
  opacity: 0.9;
}

.card-link {
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card--dark .card-link {
  color: var(--mist-blue);
}

.card ul {
  margin-top: 6px;
  margin-bottom: 14px;
}

.card ul li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 6px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background-color: var(--steel-blue);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid var(--border-color);
  color: var(--steel-blue);
}

.card--dark .tag {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--mist-blue);
}

/* ==========================================================================
   "Also supported" secondary use-case panel

   For an audience grid with an odd count (e.g. 6 primary segments + 1
   secondary), this is deliberately NOT a 7th grid cell — a lone trailing
   card reads as accidental. It's also deliberately not a plain label/
   title/copy flex row, which reads as a stray table row rather than a
   considered panel — the fixed-width kicker column plus a mist-blue left
   accent (echoing the .process-row rule-and-numeral language elsewhere on
   this page) is what makes it read as an intentional aside, not a data row.
   ========================================================================== */

.also-supported {
  margin-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 30px 34px;
  border: 1px solid rgba(167, 187, 200, 0.1);
  border-left: 2px solid rgba(167, 187, 200, 0.32);
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.014);
}

.also-supported-label {
  flex: 0 0 148px;
  padding-top: 3px;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-blue);
  opacity: 0.6;
}

.also-supported-body {
  flex: 1 1 auto;
}

.also-supported h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--off-white);
}

.also-supported p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--mist-blue);
  opacity: 0.85;
  max-width: 62ch;
}

@media (max-width: 640px) {
  .also-supported {
    flex-direction: column;
    gap: 10px;
    padding: 24px;
  }

  .also-supported-label {
    flex-basis: auto;
    padding-top: 0;
  }
}

/* ==========================================================================
   Process rows

   Redesigned to read as an operational briefing / call-sheet rundown
   rather than a bordered SaaS feature table: no container box, no icon
   tiles — just a ruled list of full-width rows separated by hairline
   rules, with a quiet typographic numeral standing in for a step chip.
   ========================================================================== */

/* A single, very low-opacity, pre-blurred production-detail photograph
   sits behind the whole "How it works" subsection as ambient texture —
   never as a per-row image. It's masked to fade out at the top and bottom
   edges so it blends into the shared .cinematic-sequence canvas rather than
   reading as its own background block, and it's faint enough that it never
   competes with the row typography above it. */
.process {
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/process-planning-detail.png");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 78%, transparent 100%);
  pointer-events: none;
}

.process-list {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(167, 187, 200, 0.16);
}

.process-row {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr 1.4fr;
  align-items: baseline;
  column-gap: 48px;
  padding-block: 44px;
  border-bottom: 1px solid rgba(167, 187, 200, 0.16);
}

.process-row::before {
  content: "";
  position: absolute;
  left: 100px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background-color: rgba(167, 187, 200, 0.18);
  transition: background-color var(--transition-fast);
}

.process-row:hover::before {
  background-color: rgba(167, 187, 200, 0.4);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--mist-blue);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.process-row:hover .process-number {
  opacity: 0.85;
}

.process-title {
  padding-left: 48px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--off-white);
  transition: transform var(--transition-fast);
}

.process-row:hover .process-title {
  transform: translateX(4px);
}

.process-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mist-blue);
  max-width: 46ch;
}

@media (max-width: 760px) {
  .process-row {
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding-block: 32px;
  }

  .process-row::before {
    display: none;
  }

  .process-number {
    font-size: 1.6rem;
  }

  .process-title {
    padding-left: 0;
  }

  .process-row:hover .process-title {
    transform: none;
  }

  .process-desc {
    max-width: none;
  }
}

/* ==========================================================================
   Three-/four-column blocks (Why SFC, Founder Values)

   Reuses the same quiet index-mark language as the cards: a thin rule and
   a small counter-generated tag, not a colored divider.
   ========================================================================== */

.col-block {
  counter-increment: col-index;
  padding-top: 22px;
  border-top: none;
  background-image: linear-gradient(90deg, rgba(167, 187, 200, 0.5) 0%, rgba(167, 187, 200, 0.05) 65%);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top left;
  transition: background-image var(--transition-fast);
}

.col-block:hover {
  background-image: linear-gradient(90deg, var(--steel-blue) 0%, rgba(62, 95, 118, 0.08) 70%);
}

.section--dark .col-block:hover,
.section--navy .col-block:hover,
.cinematic-sequence .col-block:hover {
  background-image: linear-gradient(90deg, var(--mist-blue) 0%, rgba(167, 187, 200, 0.08) 70%);
}

.col-block::before {
  content: "0" counter(col-index);
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--steel-blue);
  margin-bottom: 12px;
}

.section--dark .col-block::before,
.section--navy .col-block::before,
.cinematic-sequence .col-block::before {
  color: var(--mist-blue);
}

.section--light .col-block,
.section--gray .col-block {
  background-image: linear-gradient(90deg, rgba(62, 95, 118, 0.55) 0%, rgba(62, 95, 118, 0.05) 65%);
}

.col-block h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.col-block p {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.85;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  padding-block: 104px;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px 64px;
}

.cta-band h2 {
  color: var(--off-white);
  max-width: 1040px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cta-band p {
  color: var(--mist-blue);
  margin-top: 14px;
  max-width: 560px;
}

.cta-band .btn-row {
  flex-shrink: 0;
}

/* At phone widths the flex-shrink: 0 pin above stops the row from wrapping
   down to fit, which pushes long localized CTA labels past the viewport
   edge — release it here so the row (and its already-wrappable .btn
   children) can shrink to fit instead of causing horizontal scroll. */
@media (max-width: 640px) {
  .cta-band .btn-row {
    flex-shrink: 1;
  }
}

@media (max-width: 640px) {
  .cta-band {
    padding-block: 72px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 96px 36px;
  color: var(--mist-blue);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 187, 200, 0) 0%, rgba(167, 187, 200, 0.28) 50%, rgba(167, 187, 200, 0) 100%);
}

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

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: var(--off-white);
  margin-bottom: 20px;
}

.footer-brand .logo-mark {
  width: 42px;
  height: 42px;
  font-size: 0.9rem;
  border: 1px solid rgba(167, 187, 200, 0.3);
}

.footer-brand p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.65;
  color: var(--mist-blue);
  opacity: 0.85;
}

/* The one deliberate, restrained amber mark on the site: a small status
   indicator beside the brand line, evoking an active tally light rather
   than a decorative accent. */
.footer-brand p::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--safety-amber);
}

.footer-col h4 {
  color: var(--off-white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

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

.footer-col a {
  font-size: 0.9rem;
  color: var(--mist-blue);
  opacity: 0.9;
}

.footer-col a:hover {
  color: var(--off-white);
  opacity: 1;
}

.footer-legal {
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-legal-text {
  max-width: 780px;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.78rem;
  opacity: 0.75;
}

.footer-legal-links a:hover {
  opacity: 1;
}

.footer-bottom-row {
  margin-top: 24px;
  font-size: 0.875rem;
  opacity: 0.55;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-shell {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 44px;
  box-shadow: 0 40px 70px -48px rgba(7, 26, 47, 0.4), 0 1px 0 rgba(7, 26, 47, 0.03);
}

.form-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sfc-navy) 0%, var(--steel-blue) 50%, var(--sfc-navy) 100%);
}

@media (max-width: 640px) {
  .form-shell {
    padding: 28px;
    border-radius: 4px;
  }
}

.form-fields-wrapper {
  counter-reset: form-step;
}

.form-section-title {
  counter-increment: form-step;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sfc-navy);
  margin-bottom: 24px;
  margin-top: 44px;
}

.form-section-title::before {
  content: "0" counter(form-step);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(62, 95, 118, 0.4);
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--steel-blue);
  letter-spacing: 0;
}

.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-image: linear-gradient(90deg, var(--border-color) 0%, rgba(221, 227, 232, 0) 100%);
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sfc-navy);
}

.form-field .hint {
  font-size: 0.875rem;
  color: var(--steel-blue);
  font-weight: 400;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  background-color: var(--off-white);
  color: var(--charcoal);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--steel-blue) 50%), linear-gradient(135deg, var(--steel-blue) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.form-field input[type="file"] {
  padding: 11px 14px;
  cursor: pointer;
}

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

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(62, 95, 118, 0.5);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--steel-blue);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(62, 95, 118, 0.14);
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

label.checkbox-option,
label.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--charcoal);
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  background-color: var(--off-white);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.checkbox-option:has(input:checked),
.radio-option:has(input:checked) {
  border-color: var(--steel-blue);
  background-color: rgba(62, 95, 118, 0.05);
}

.checkbox-option input,
.radio-option input {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--sfc-navy);
}

.consent-field {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background-color: var(--mist-gray);
  border: 1px solid var(--border-color);
  border-left: 2px solid var(--steel-blue);
  border-radius: 2px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.consent-field input {
  margin-top: 4px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--sfc-navy);
}

.form-disclaimer {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--steel-blue);
  margin-top: 20px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  margin-bottom: 14px;
}

.form-success p {
  color: var(--steel-blue);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.7;
}

form.is-submitted .form-fields-wrapper {
  display: none;
}

/* ==========================================================================
   Press card
   ========================================================================== */

.press-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 36px;
  background-color: #fff;
  max-width: 640px;
  box-shadow: 0 30px 60px -44px rgba(7, 26, 47, 0.35);
}

.press-card .eyebrow {
  margin-bottom: 0;
}

.press-card h3 {
  font-size: 1.3rem;
}

.press-card p {
  color: var(--charcoal);
  opacity: 0.8;
  line-height: 1.7;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col--wide {
  grid-template-columns: 1.3fr 1fr;
  align-items: flex-start;
  gap: 64px;
}

.two-col--top {
  align-items: flex-start;
}

.campaign-strip {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 760px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

.divider {
  height: 1px;
  border: none;
  margin-block: 48px;
  background-image: linear-gradient(90deg, rgba(62, 95, 118, 0) 0%, rgba(62, 95, 118, 0.35) 50%, rgba(62, 95, 118, 0) 100%);
}

.section--dark .divider,
.section--navy .divider,
.cinematic-sequence .divider {
  background-image: linear-gradient(90deg, rgba(167, 187, 200, 0) 0%, rgba(167, 187, 200, 0.3) 50%, rgba(167, 187, 200, 0) 100%);
}

/* Gulf/Support callout block — a quiet bordered aside reusing the col-block
   index language instead of a one-off colored left rule. */
.aside-block {
  border-top: 1px solid rgba(167, 187, 200, 0.3);
  padding-top: 22px;
}

.aside-block h3 {
  font-size: 1.05rem;
  color: var(--off-white);
  margin-bottom: 10px;
}

.aside-block p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--mist-blue);
  opacity: 0.95;
}

/* ==========================================================================
   Scroll reveal system

   A restrained, editorial reveal: sections fade in with a small upward
   drift, driven by IntersectionObserver in main.js. Everything here is
   opacity/transform only (compositor-friendly, no layout impact), and the
   whole system is disabled under prefers-reduced-motion — see the query at
   the bottom of this block, and the JS-side check that skips the observer
   entirely and marks everything visible up front for reduced-motion users.
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-fade {
  transform: none;
}

.reveal.is-visible,
.reveal-fade.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger group — direct children fade/rise in sequence. JS assigns each
   child an incremental transition-delay once, up front; toggling
   .is-visible on the group is what actually starts the reveal. */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

/* Header — a quiet elevation cue on scroll, nothing structural. No height
   change, no shrink, just a soft shadow and a touch more background
   opacity so it reads as "lifted" above the page once you've scrolled. */
.site-header {
  transition: box-shadow 300ms ease;
}

.site-header--scrolled {
  box-shadow: 0 12px 28px -20px rgba(5, 11, 18, 0.45);
}

/* Optional slow parallax hook for the large full-bleed photo heroes only.
   main.js nudges --parallax-y a few pixels as the section scrolls; every
   photo-hero background-position already resolves its vertical anchor
   through this variable, defaulting to 0 so nothing moves without JS. */
.hero--photo,
.visual-slot--gulf-hero-photo,
.visual-slot--services-hero-photo,
.visual-slot--contact-hero-photo {
  --parallax-y: 0px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-stagger > * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .site-header {
    transition: none !important;
  }
}

/* ==========================================================================
   WordPress theme additions
   Appended for the WordPress conversion: server-side form validation states,
   generic edited-page/post typography, and a few utility classes used by the
   fallback templates. Original design rules above are unchanged.
   ========================================================================== */

/* --- Form validation states (server-side) --- */
.form-alert {
  border: 1px solid #c0392b;
  border-left-width: 4px;
  background: #fdf3f2;
  color: #7a231a;
  padding: 16px 18px;
  border-radius: 6px;
  margin-bottom: 28px;
  font-size: 0.92rem;
}
.form-alert strong { display: block; margin-bottom: 8px; }
.form-alert ul { margin: 0; padding-left: 18px; }
.form-alert li { margin-bottom: 4px; }
.form-alert a { color: #7a231a; text-decoration: underline; }

.form-error {
  display: block;
  margin-top: 6px;
  color: #c0392b;
  font-size: 0.82rem;
  font-weight: 500;
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #c0392b;
}

/* --- Generic edited pages / single posts --- */
.legal-content > * + * { margin-top: 1.1em; }
.legal-content h2 { margin-top: 1.6em; }
.legal-content h3 { margin-top: 1.3em; }
.legal-content ul,
.legal-content ol { margin-left: 1.25em; }
.legal-content li { margin-bottom: 0.5em; }
.legal-content a { color: var(--steel-blue); text-decoration: underline; }
.legal-content img { max-width: 100%; height: auto; }

/* --- Utilities --- */
.mb-32 { margin-bottom: 32px; }

/* Comments (only used if enabled on posts) */
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
