/* ==========================================================================
   JGM STRATEGIC SAFETY GROUP
   Site-wide stylesheet

   Brand:
   Real-world experience. Safer outcomes.

   Design principles:
   - Dark, operational, editorial
   - Safety yellow is an accent, never wallpaper
   - Photography should remain dominant
   - Strong typography, restrained effects
   - Interior pages are more editorial than the homepage
   ========================================================================== */


/* ==========================================================================
   1. FONTS
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Core brand */
  --jgm-yellow: #eaff00;
  --jgm-black: #050505;
  --jgm-black-soft: #0b0b0b;
  --jgm-charcoal: #111111;
  --jgm-gray: #1a1a1a;
  --jgm-white: #ffffff;

  /* Text */
  --jgm-text: rgba(255, 255, 255, 0.94);
  --jgm-text-soft: rgba(255, 255, 255, 0.84);
  --jgm-text-muted: rgba(255, 255, 255, 0.64);
  --jgm-text-faint: rgba(255, 255, 255, 0.46);

  /* Borders / surfaces */
  --jgm-border: rgba(255, 255, 255, 0.15);
  --jgm-border-soft: rgba(255, 255, 255, 0.09);
  --jgm-yellow-border: rgba(234, 255, 0, 0.32);
  --jgm-yellow-wash: rgba(234, 255, 0, 0.08);

  /* Surfaces */
  --jgm-glass: rgba(0, 0, 0, 0.54);
  --jgm-glass-strong: rgba(0, 0, 0, 0.72);
  --jgm-panel: rgba(255, 255, 255, 0.045);

  /* Widths */
  --jgm-width: 1180px;
  --jgm-width-wide: 1360px;
  --jgm-width-copy: 760px;

  /* Radius */
  --jgm-radius-sm: 12px;
  --jgm-radius: 20px;
  --jgm-radius-lg: 28px;
  --jgm-radius-pill: 999px;

  /* Shadows */
  --jgm-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42);

  --jgm-shadow-soft:
    0 18px 60px rgba(0, 0, 0, 0.28);

  /* Page-controlled hero properties */
  --hero-image: none;
  --hero-position: center center;
  --hero-min-height: 72svh;

  /* Animation */
  --jgm-fast: 160ms ease;
  --jgm-medium: 280ms ease;
}


/* ==========================================================================
   3. RESET / BASE
   ========================================================================== */

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--jgm-black);
}

body {
  min-height: 100%;
  margin: 0;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  background: var(--jgm-black);
  color: var(--jgm-text);

  font-size: 16px;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: var(--jgm-yellow);
  color: var(--jgm-black);
}


/* ==========================================================================
   4. SHARED LAYOUT
   ========================================================================== */

.jgm-wrap {
  width: min(
    var(--jgm-width),
    calc(100% - 40px)
  );

  margin-inline: auto;
}

.jgm-wrap-wide {
  width: min(
    var(--jgm-width-wide),
    calc(100% - 40px)
  );

  margin-inline: auto;
}

.jgm-copy {
  width: min(100%, var(--jgm-width-copy));
}

.jgm-section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
}

.jgm-section-tight {
  padding: clamp(48px, 7vw, 84px) 0;
}

.jgm-section-dark {
  background: var(--jgm-black);
}

.jgm-section-charcoal {
  background: var(--jgm-charcoal);
}

.jgm-section-panel {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );
}

/* ==========================================================================
   5. SITE HEADER
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  background: #000;
  border-bottom: 1px solid var(--jgm-border-soft);
}
.site-header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
  padding: 12px 0;
}
.site-brand { flex: 0 0 auto; }
.site-logo {
  display: block;
  width: 168px;
  height: 64px;
  object-fit: cover;
  object-position: center;
}
.site-header a { text-decoration: none; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: nowrap;
  min-width: 0;
  white-space: nowrap;
}
.site-nav a {
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--jgm-text-soft);
  padding: 12px 0;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--jgm-white); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--jgm-yellow);
}
.site-nav a[href="/about/"] { color: var(--jgm-yellow); font-weight: 700; }
.site-menu-toggle { display: none; }

/* ==========================================================================
   6. STATUS / EYEBROW ELEMENTS
   ========================================================================== */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;

  border: 1px solid var(--jgm-border);
  border-radius: var(--jgm-radius-pill);

  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);

  color: var(--jgm-text-soft);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill::before {
  content: "";

  width: 9px;
  height: 9px;

  border-radius: 50%;
  background: var(--jgm-yellow);

  box-shadow:
    0 0 20px rgba(234, 255, 0, 0.72);
}

.eyebrow,
.page-eyebrow {
  margin: 0 0 16px;

  color: var(--jgm-yellow);

  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* ==========================================================================
   7. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
}

.display-title,
.page-title {
  margin: 0;

  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;

  text-transform: uppercase;
}

.display-title {
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(1.25rem, 7vw, 5.5rem);
}

.home-layout,
.home-main,
.home-hero {
  min-width: 0;
}

.home-hero {
  box-sizing: border-box;
  max-width: 100%;
  container-type: inline-size;
}

.home-hero .display-title span {
  display: block;
}

@supports (font-size: 1cqw) {
  .home-hero .display-title {
    font-size: min(5.75rem, 14cqw);
  }
}

.page-title {
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.section-title {
  margin: 0 0 24px;

  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  font-weight: 760;

  line-height: 1.01;
  letter-spacing: -0.04em;
}

.section-title-small {
  margin: 0 0 20px;

  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 750;

  line-height: 1.06;
  letter-spacing: -0.035em;
}

.body-copy {
  color: var(--jgm-text-soft);
  font-size: 24px;
  line-height: 1.72;
}

.dek,
.page-dek {
  max-width: 60ch;
  font-size: 24px;
  line-height: 1.58;
}

.lead {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.58;
}

.body-copy p {
  margin: 0 0 1.35em;
}

.body-copy strong {
  color: var(--jgm-white);
  font-weight: 700;
}


/* ==========================================================================
   8. BRAND RULE
   ========================================================================== */

.jgm-rule {
  width: 100%;
  height: 8px;

  margin: 28px 0;

  background: var(--jgm-yellow);

  box-shadow:
    0 0 28px rgba(234, 255, 0, 0.34);
}

.jgm-rule-small {
  width: 76px;
  height: 5px;

  margin: 22px 0;

  background: var(--jgm-yellow);
}


/* ==========================================================================
   9. HOMEPAGE
   ========================================================================== */

.home-page {
  min-height: 100svh;
}

.home-hero-shell {
  position: relative;
  min-height: 100svh;

  overflow: hidden;
  isolation: isolate;
}

.home-hero-shell::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.64) 36%,
      rgba(0, 0, 0, 0.28) 65%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.08) 44%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    url("/images/background_branding1.png");

  background-size: cover;
  background-position: center center;

  transform: scale(1.01);
}

.home-hero-shell::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 72% 56%,
      rgba(234, 255, 0, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at 21% 62%,
      rgba(255, 144, 0, 0.18),
      transparent 28%
    );

  mix-blend-mode: screen;
}

.home-layout {
  width: min(
    var(--jgm-width),
    calc(100% - 40px)
  );

  min-height: 100svh;
  margin: 0 auto;

  display: grid;
  grid-template-rows: auto 1fr;
  gap: 32px;

  padding: 32px 0 26px;
}


.home-main {
  display: flex;
  align-items: center;

  padding: 48px 0;
}

.home-hero {
  width: min(720px, 100%);

  padding: clamp(24px, 4vw, 42px);

  border: 1px solid var(--jgm-border);
  border-radius: var(--jgm-radius-lg);

  background:
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.74),
      rgba(0, 0, 0, 0.44)
    );

  backdrop-filter: blur(14px);

  box-shadow: var(--jgm-shadow);
}


/* ==========================================================================
   10. SERVICE / INTERIOR PAGE HERO
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: var(--hero-min-height);

  display: flex;
  align-items: flex-end;

  overflow: hidden;
  isolation: isolate;

  background: var(--jgm-black);
}

.page-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -2;

  background-image: var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position);
  background-repeat: no-repeat;

  transform: scale(1.01);
}

.page-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.90) 0%,
      rgba(0, 0, 0, 0.72) 33%,
      rgba(0, 0, 0, 0.38) 60%,
      rgba(0, 0, 0, 0.16) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.12) 45%,
      rgba(0, 0, 0, 0.86) 100%
    );
}

.page-hero-content {
  width: min(
    var(--jgm-width),
    calc(100% - 40px)
  );

  margin: 0 auto;

  padding:
    clamp(140px, 18vw, 230px)
    0
    clamp(64px, 9vw, 110px);
}

.page-hero-copy {
  width: min(760px, 100%);
}


/* Hero where subject is on LEFT and copy should sit RIGHT */

.page-hero.hero-copy-right::after {
  background:
    linear-gradient(
      270deg,
      rgba(0, 0, 0, 0.90) 0%,
      rgba(0, 0, 0, 0.70) 34%,
      rgba(0, 0, 0, 0.28) 63%,
      rgba(0, 0, 0, 0.10) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.12) 45%,
      rgba(0, 0, 0, 0.86) 100%
    );
}

.page-hero.hero-copy-right .page-hero-copy {
  margin-left: auto;
}


/* ==========================================================================
   11. SERVICE PILLS / TAGS
   ========================================================================== */

.services,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin: 28px 0 0;
  padding: 0;

  list-style: none;
}

.services a,
.services li,
.tag {
  display: inline-flex;
  align-items: center;

  min-height: 38px;
  padding: 8px 13px;

  border: 1px solid var(--jgm-yellow-border);
  border-radius: var(--jgm-radius-pill);

  background: var(--jgm-yellow-wash);

  color: rgba(255, 255, 255, 0.92);

  font-size: 0.9rem;
  font-weight: 650;

  text-decoration: none;

  transition:
    background var(--jgm-fast),
    border-color var(--jgm-fast),
    color var(--jgm-fast);
}

.services a:hover,
.services a:focus-visible {
  background: rgba(234, 255, 0, 0.16);
  border-color: rgba(234, 255, 0, 0.58);
  color: var(--jgm-white);
}


/* ==========================================================================
   12. BUTTONS
   ========================================================================== */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 20px;

  border: 1px solid transparent;
  border-radius: var(--jgm-radius-pill);

  font-weight: 800;
  line-height: 1;
  text-decoration: none;

  cursor: pointer;

  transition:
    transform var(--jgm-fast),
    background var(--jgm-fast),
    color var(--jgm-fast),
    border-color var(--jgm-fast);
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(234, 255, 0, 0.32);
  outline-offset: 3px;
}

.button-primary {
  background: var(--jgm-yellow);
  color: var(--jgm-black);
  border-color: var(--jgm-yellow);
}

.button-primary:hover {
  background: #f2ff4a;
}

.button-secondary {
  color: var(--jgm-white);

  border-color: rgba(255, 255, 255, 0.28);

  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
}


/* ==========================================================================
   13. EDITORIAL SPLIT SECTIONS
   ========================================================================== */

.split {
  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(0, 0.92fr);

  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.split-copy {
  min-width: 0;
}

.split-media {
  min-width: 0;
}

.split.reverse .split-copy {
  order: 2;
}

.split.reverse .split-media {
  order: 1;
}


/* ==========================================================================
   14. MEDIA / PHOTOGRAPHY
   ========================================================================== */

.media-frame {
  position: relative;

  overflow: hidden;

  border: 1px solid var(--jgm-border-soft);
  border-radius: var(--jgm-radius);

  background: #111;

  box-shadow: var(--jgm-shadow-soft);
}

.media-frame img {
  width: 100%;
  height: auto;

  object-fit: cover;
}

.media-frame.landscape img {
  aspect-ratio: 16 / 10;
}

.media-frame.wide img {
  aspect-ratio: 16 / 9;
}

.media-frame.portrait img {
  aspect-ratio: 4 / 5;
}

.media-frame::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.media-caption {
  margin-top: 12px;

  color: var(--jgm-text-muted);

  font-size: 0.83rem;
  line-height: 1.5;
}


/* ==========================================================================
   15. FEATURE / CAPABILITY CARDS
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;

  margin-top: 42px;
}

.feature-card {
  padding: 26px;
  font-size: 20px;

  border: 1px solid var(--jgm-border);
  border-radius: var(--jgm-radius);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );
}

.feature-card::before {
  content: "";

  display: block;

  width: 44px;
  height: 4px;

  margin-bottom: 20px;

  background: var(--jgm-yellow);
}

.feature-card h3 {
  margin: 0 0 12px;

  font-size: 20px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;

  color: var(--jgm-text-soft);

  line-height: 1.62;
}


/* ==========================================================================
   16. PULL QUOTES / PRINCIPLES
   ========================================================================== */

.pullquote {
  position: relative;

  max-width: 980px;

  margin: 0;
  padding: 8px 0 8px clamp(24px, 4vw, 48px);

  border-left:
    clamp(5px, 0.6vw, 8px)
    solid
    var(--jgm-yellow);

  color: var(--jgm-white);

  font-size: clamp(2rem, 4.3vw, 4.4rem);
  font-weight: 760;

  line-height: 1.03;
  letter-spacing: -0.04em;
}

.pullquote-small {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.pullquote-source {
  display: block;

  margin-top: 20px;

  color: var(--jgm-text-muted);

  font-size: 0.95rem;
  font-weight: 500;

  letter-spacing: 0;
}


/* ==========================================================================
   17. CALLOUTS
   ========================================================================== */

.callout {
  padding: clamp(24px, 4vw, 38px);

  border: 1px solid var(--jgm-yellow-border);
  border-radius: var(--jgm-radius);

  background:
    linear-gradient(
      135deg,
      rgba(234, 255, 0, 0.09),
      rgba(255, 255, 255, 0.025)
    );
}

.callout h3 {
  margin: 0 0 14px;

  color: var(--jgm-white);

  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.callout p {
  margin: 0;

  color: var(--jgm-text-soft);
}


/* ==========================================================================
   18. LARGE STATEMENT SECTION
   ========================================================================== */

.statement-section {
  position: relative;

  padding:
    clamp(88px, 12vw, 160px)
    0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 50%,
      rgba(234, 255, 0, 0.08),
      transparent 32%
    ),
    var(--jgm-charcoal);
}

.statement {
  max-width: 1000px;

  margin: 0;

  font-size: clamp(2.5rem, 6vw, 6.3rem);
  font-weight: 800;

  line-height: 0.97;
  letter-spacing: -0.055em;
}

.statement-section .pullquote + .statement {
  margin-top: clamp(64px, 8vw, 112px);
}

.statement em {
  color: var(--jgm-yellow);

  font-style: normal;
}


/* ==========================================================================
   19. ARCHIVAL IMAGE CROSSFADE
   Joe / fire-service history
   ========================================================================== */

.archive-fade {
  position: relative;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  border: 1px solid var(--jgm-border-soft);
  border-radius: var(--jgm-radius);

  background: #090909;
}

.archive-fade img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  animation:
    jgmArchiveFade 21s infinite;

  filter:
    saturate(0.88)
    contrast(1.03)
    brightness(0.92);
}

.archive-fade img:nth-child(1) {
  animation-delay: 0s;
}

.archive-fade img:nth-child(2) {
  animation-delay: 7s;
}

.archive-fade img:nth-child(3) {
  animation-delay: 14s;
}

.archive-fade::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04),
      rgba(0, 0, 0, 0.25)
    );
}

@keyframes jgmArchiveFade {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  28% {
    opacity: 1;
  }

  36% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}


/* ==========================================================================
   20. CRISIS COMMUNICATIONS PAGE
   Optional specialty treatments
   ========================================================================== */

.crisis-page .page-hero::after {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.74) 34%,
      rgba(0, 0, 0, 0.38) 63%,
      rgba(0, 0, 0, 0.17) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.82)
    );
}

.crisis-principle {
  max-width: 1100px;

  font-size: clamp(2.2rem, 5vw, 5.3rem);
  font-weight: 800;

  line-height: 1;
  letter-spacing: -0.05em;
}

.crisis-principle strong {
  color: var(--jgm-yellow);
}


/* ==========================================================================
   21. BIO / ABOUT PAGE
   ========================================================================== */

.bio-intro {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: clamp(42px, 8vw, 110px);

  align-items: center;
}

.bio-name {
  margin: 0 0 8px;

  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;

  line-height: 0.96;
  letter-spacing: -0.055em;
}

.bio-title {
  margin: 0;

  color: var(--jgm-yellow);

  font-size: 1rem;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ==========================================================================
   22. CTA BAND
   ========================================================================== */

.cta-band {
  position: relative;

  padding:
    clamp(64px, 8vw, 100px)
    0;

  border-top: 1px solid var(--jgm-border-soft);
  border-bottom: 1px solid var(--jgm-border-soft);

  background:
    linear-gradient(
      135deg,
      rgba(234, 255, 0, 0.06),
      rgba(255, 255, 255, 0.02)
    );
}

.cta-band-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.cta-band-copy {
  max-width: 720px;
}

.cta-band h2 {
  margin: 0 0 12px;

  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 780;

  line-height: 1;
  letter-spacing: -0.04em;
}

.cta-band p {
  margin: 0;

  color: var(--jgm-text-soft);

  font-size: 1.08rem;
}


/* ==========================================================================
   23. FOOTER
   ========================================================================== */

.site-footer {
  padding: 34px 0;

  border-top: 1px solid var(--jgm-border-soft);

  color: var(--jgm-text-muted);

  font-size: 0.9rem;
}

.site-footer-inner {
  width: min(
    var(--jgm-width),
    calc(100% - 40px)
  );

  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 18px;

  flex-wrap: wrap;
}

.site-footer a {
  color: var(--jgm-white);

  text-decoration-color:
    rgba(234, 255, 0, 0.65);

  text-underline-offset: 4px;
}

.site-footer a:hover {
  text-decoration-color: var(--jgm-yellow);
}


/* ==========================================================================
   24. ACCESSIBILITY / MOTION
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--jgm-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

  .archive-fade img {
    animation: none;
    opacity: 0;
  }

  .archive-fade img:first-child {
    opacity: 1;
  }
}


/* ==========================================================================
   25. TABLET
   ========================================================================== */

@media (max-width: 960px) {

  .split,
  .bio-intro {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy,
  .split.reverse .split-media {
    order: initial;
  }

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

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ==========================================================================
   26. MOBILE
   ========================================================================== */

@media (max-width: 760px) {

  :root {
    --hero-min-height: auto;
  }

  .jgm-wrap,
  .jgm-wrap-wide,
  .site-header-inner,
  .site-footer-inner,
  .page-hero-content {
    width: min(
      100% - 28px,
      var(--jgm-width)
    );
  }

  /* Homepage */

  .home-layout {
    width: min(
      100% - 28px,
      var(--jgm-width)
    );

    padding-top: 22px;
  }

  
  .home-main {
    align-items: end;

    padding: 24px 0;
  }

  .home-hero {
    border-radius: 22px;
  }

  .home-hero-shell::before {
    background-position: 62% center;
  }

  /* Hero */

  .page-hero {
    min-height: 680px;
  }

  .page-hero-content {
    padding:
      190px
      0
      60px;
  }

  .page-title,
  .display-title {
    max-width: 11ch;

    font-size: clamp(2.8rem, 13vw, 5rem);
  }

  .page-hero.hero-copy-right .page-hero-copy {
    margin-left: 0;
  }

  /* Content */

  .jgm-section {
  padding: clamp(64px, 7.5vw, 110px) 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px;
  }

  .pullquote {
    padding-left: 22px;
  }

  .statement {
    font-size: clamp(2.4rem, 12vw, 4.2rem);
  }

  /* Footer */

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ==========================================================================
   27. VERY SMALL SCREENS
   ========================================================================== */

@media (max-width: 420px) {

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    min-height: 38px;

    padding-inline: 8px;

    font-size: 0.78rem;
  }

  .status-pill {
    font-size: 0.7rem;
  }

  .button {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }
}
/* ==========================================================================
   28/ SCROLL REVEALS
   ========================================================================== */

.reveal-statement span {
  display: block;

  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 600ms ease,
    transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.reveal-statement span:nth-child(2) {
  transition-delay: 100ms;
}

.reveal-statement span:nth-child(3) {
  transition-delay: 220ms;
}

.reveal-statement span:nth-child(4) {
  transition-delay: 340ms;
}

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

.reveal-statement .accent {
  color: var(--jgm-yellow);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-statement span {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Biography visuals: reserved media slots and an ambient four-image hero.
   Only biography or explicitly opted-in ambient hero elements are affected. */
.bio-page .page-hero .page-title {
  max-width: 11ch;
}

.ambient-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bio-page .ambient-hero {
  min-height: 84vh;
}

.ambient-hero .page-hero-content {
  position: relative;
  z-index: 2;
}

.bio-page .ambient-hero::after {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.55) 40%, rgba(0,0,0,.10) 75%),
    linear-gradient(0deg, rgba(0,0,0,.90), rgba(0,0,0,.08) 75%),
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08));
}

.ambient-hero-images {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: #111;
}

.ambient-hero-images img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
}

.ambient-hero-images img:nth-child(1) {
  object-position: 65% 35%;
  animation: fire-one 24s linear infinite;
}
.ambient-hero-images img:nth-child(2) {
  object-position: 50% 38%;
  transform: translateX(30%);
  animation: fire-two 24s linear infinite;
}
.ambient-hero-images img:nth-child(3) {
  object-position: 50% 28%;
  animation: fire-three 24s linear infinite;
}
.ambient-hero-images img:nth-child(4) {
  object-position: 50% 35%;
  animation: fire-four 24s linear infinite;
}
@media (min-width: 761px) {
  .bio-page .ambient-hero-images img:nth-child(4) {
    transform: translateX(25%);
  }
}
@keyframes fire-one {
  0%, 21% { opacity: 1; }
  27%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fire-two {
  0%, 21% { opacity: 0; }
  27%, 46% { opacity: 1; }
  52%, 100% { opacity: 0; }
}
@keyframes fire-three {
  0%, 46% { opacity: 0; }
  52%, 71% { opacity: 1; }
  77%, 100% { opacity: 0; }
}
@keyframes fire-four {
  0%, 71% { opacity: 0; }
  77%, 94% { opacity: 1; }
  100% { opacity: 0; }
}

.bio-editorial-image {
  margin: clamp(40px, 6vw, 80px) 0 0;
}

.bio-visual-slot {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--jgm-border-soft);
  border-radius: var(--jgm-radius);
  background:
    linear-gradient(125deg, transparent 45%, rgba(255,255,255,.035) 45%, transparent 75%),
    linear-gradient(145deg, #20272b, #0b0e10);
}

.bio-visual-slot-wide {
  aspect-ratio: 21 / 9;
  margin-top: 40px;
}

.bio-visual-title {
  margin: 16px 0;
  color: var(--jgm-text);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

@media (max-width: 760px) {
  .bio-page .ambient-hero { min-height: 76svh; }
  .ambient-hero-images img:nth-child(1) { object-position: 65% 35%; }
  .ambient-hero-images img:nth-child(2) { object-position: 50% 38%; }
  .ambient-hero-images img:nth-child(3) { object-position: 50% 28%; }
  .bio-visual-slot-wide { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-hero-images img { animation: none !important; opacity: 0; }
  .ambient-hero-images img:first-child { opacity: 1; }
}

/* Homepage biography band; independent of the archival hero and statement reveals. */
.home-meet-joe {
  border-top: 1px solid var(--jgm-border-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .home-meet-joe.is-reveal-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms ease, transform 800ms cubic-bezier(.2, .7, .2, 1);
  }

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

/* Trial by Fire editorial details, scoped to the biography. */
.bio-page .bio-hero-note {
  max-width: 58ch;
  color: var(--jgm-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.trial-title-fire { color: var(--jgm-yellow); }

.bio-page .bio-callout {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 3px solid var(--jgm-yellow);
  color: var(--jgm-white);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.3;
  font-weight: 650;
}

.bio-callout-stacked { text-transform: uppercase; }

.bio-descriptors,
.bio-summary-roles {
  list-style: none;
  padding: 0;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .06em;
  font-weight: 700;
}

.bio-descriptors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 32px 0 0;
}
.bio-descriptors li { border-left: 2px solid var(--jgm-yellow); padding-left: 12px; }

.bio-fact {
  margin: 32px 0;
  padding: clamp(24px, 4vw, 40px);
  background: var(--jgm-gray);
  border-top: 2px solid var(--jgm-yellow);
}
.bio-page .bio-fact-number {
  color: var(--jgm-white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 760;
  line-height: 1.1;
  margin: 18px 0;
}
.bio-page .bio-fact p:last-child { margin-bottom: 0; }

.bio-role-callout { margin: 32px 0; padding: 24px 0; border-block: 1px solid var(--jgm-border); }
.bio-page .bio-role-path {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--jgm-white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.bio-role-path span[aria-hidden] { color: var(--jgm-yellow); }
.bio-page .bio-role-note { font-size: .9rem; margin: 0; }
.bio-summary-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.bio-summary-roles li { border-top: 2px solid var(--jgm-yellow); padding-top: 16px; }
.bio-summary p { color: var(--jgm-text-soft); }

@media (max-width: 760px) {
  .bio-summary-roles { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .editorial-reveal.is-reveal-ready {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 750ms ease, transform 750ms ease;
  }
  .editorial-reveal.is-reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
}


.bio-sandy-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.bio-sandy-images figure { min-width: 0; margin: 0; }
.bio-sandy-caption { margin-top: 32px; }
@media (max-width: 760px) {
  .bio-sandy-images { grid-template-columns: 1fr; }
}

.bio-crisis-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.bio-crisis-images figure { min-width: 0; margin: 0; }
@media (max-width: 760px) {
  .bio-crisis-images { grid-template-columns: 1fr; }
}

.trial-title-primary,
.trial-title-fire,
.trial-title-rule {
  display: block;
}

.trial-title-primary {
  opacity: 0;
  transform: translateY(10px);
  animation: trialPrimaryIn 500ms ease-out 100ms both;
}

.trial-title-fire {
  opacity: 0;
  transform: translateY(10px);
  animation: trialFireIn 550ms ease-out 1300ms both;
}

.trial-title-rule {
  transform: scaleX(0);
  transform-origin: left center;
  animation: trialRuleIn 450ms ease-out 1550ms both;
}

@keyframes trialPrimaryIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes trialFireIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes trialRuleIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .trial-title-primary,
  .trial-title-fire,
  .trial-title-rule {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Factual biography: readable route schematic and archival evidence. */
.bio-profile-image { margin: 0; min-width: 0; }
.bio-profile-followup { margin-top: clamp(32px, 5vw, 64px); }
.bio-profile-archive { max-width: 580px; margin-top: clamp(40px, 6vw, 80px); }
.bio-line-list {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: clamp(32px, 5vw, 56px) 0 0;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
}
.bio-line-list li { display: flex; align-items: center; gap: 16px; }
.bio-line-dot {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--line-color);
}
.hero-subhead,
.bio-sandy-subhead {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-subhead { margin: 0 0 24px; }
.bio-page .hero-subhead { color: var(--jgm-yellow); font-weight: 800; }
.bio-page .trial-title-rule { width: min(100%, 28rem); }
.bio-sandy-subhead { margin: 0 0 24px; }

/* Shared desktop and compact navigation, identical on every public page. */
.home-hero-shell .home-layout {
  min-height: calc(100svh - 89px);
  grid-template-rows: 1fr;
  padding-top: 0;
}
.site-header-inner { width: min(1180px, calc(100% - 48px)); }
.site-nav-contact { display: none; }
@media (max-width: 980px) {
  .site-header-inner { width: calc(100% - 32px); flex-wrap: wrap; gap: 12px 16px; }
  .site-header.nav-ready .site-header-inner { flex-wrap: nowrap; }
  .site-menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--jgm-border);
    border-radius: 4px;
    color: var(--jgm-white);
    background: transparent;
    font: 600 14px "Inter", sans-serif;
    cursor: pointer;
  }
  .site-menu-toggle[aria-expanded="true"] { color: var(--jgm-yellow); }
  .site-menu-toggle:focus-visible { outline: 2px solid var(--jgm-yellow); outline-offset: 3px; }
  .site-menu-icon { position: relative; width: 20px; height: 2px; background: currentColor; }
  .site-menu-icon::before,
  .site-menu-icon::after {
    content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
  }
  .site-menu-icon::before { top: -6px; }
  .site-menu-icon::after { top: 6px; }
  .site-menu-toggle[aria-expanded="true"] .site-menu-icon { background: transparent; }
  .site-menu-toggle[aria-expanded="true"] .site-menu-icon::before { top: 0; transform: rotate(45deg); }
  .site-menu-toggle[aria-expanded="true"] .site-menu-icon::after { top: 0; transform: rotate(-45deg); }
  .site-nav {
    width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 12px; white-space: normal;
  }
  .site-header.nav-ready .site-nav {
    display: none;
    opacity: 0;
    transition: opacity 160ms ease-in, display 160ms allow-discrete;
    position: absolute; top: 100%; left: 0; right: 0;
    box-sizing: border-box;
    padding: 8px 16px 16px;
    max-height: calc(100vh - 89px);
    max-height: calc(100dvh - 89px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    background: #000;
    border-bottom: 1px solid var(--jgm-border);
  }
  .site-header.nav-ready .site-nav[data-open="true"] {
    display: flex;
    opacity: 1;
    transition-timing-function: ease-out;
  }
  @starting-style {
    .site-header.nav-ready .site-nav[data-open="true"] { opacity: 0; }
  }
  .site-nav a {
    display: flex; align-items: center; box-sizing: border-box;
    min-height: 48px; padding: 14px 0;
    font-size: 18px; line-height: 1.3;
    border-bottom: 1px solid var(--jgm-border-soft);
    overflow-wrap: anywhere;
  }
  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] { color: var(--jgm-yellow); }
  .site-nav a[aria-current="page"]::after { right: auto; width: 32px; bottom: 6px; }
  .site-nav-contact {
    display: block; margin-top: 16px; padding-top: 8px;
    border-top: 1px solid var(--jgm-border);
  }
  .site-nav-contact a:last-child { border-bottom: 0; }
  @media (prefers-reduced-motion: reduce) {
    .site-header.nav-ready .site-nav { transition: none; }
  }
}

/* Trial by Fire: five roles, sequential color-only emphasis. */
#chapter-6 { color: #fff; }
.role-word {
  color: #fff;
  animation: role-pulse 10s ease-in-out infinite;
}
.role-firefighter { animation-delay: 0s; }
.role-railroader { animation-delay: 2s; }
.role-inspector { animation-delay: 4s; }
.role-mentor { animation-delay: 6s; }
.role-advisor { animation-delay: 8s; }
@keyframes role-pulse {
  0%, 20%, 100% { color: #fff; }
  5%, 15% { color: var(--jgm-yellow); }
}
@media (prefers-reduced-motion: reduce) {
  .role-word { animation: none; color: #fff; }
}

/* Sandy: immersive opening, then documentary image and prose. */
.bio-sandy-section { padding-top: clamp(48px, 6vw, 88px); }
.bio-sandy-band {
  position: relative;
  isolation: isolate;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: clamp(24px, 2.2vw, 32px) 0;
}
.bio-sandy-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 58%;
}
.bio-sandy-panel {
  width: min(100%, 640px);
  min-width: 0;
  padding: clamp(24px, 2.3vw, 32px);
  background: rgba(8, 10, 12, .8);
  border-top: 2px solid var(--jgm-yellow);
}
.bio-sandy-panel .section-title { font-size: clamp(2.2rem, 3.2vw, 3.2rem); }
.bio-sandy-panel .body-copy { color: #eee; line-height: 1.6; }
.bio-sandy-panel .body-copy p { margin-bottom: 16px; }
.bio-sandy-panel .body-copy p:last-child { margin-bottom: 0; }
.bio-sandy-continuation { padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 9vw, 128px); }
.bio-sandy-statement {
  max-width: 1000px;
  margin-bottom: clamp(32px, 5vw, 64px);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.bio-sandy-statement p { margin: 0; }
.bio-sandy-statement p + p { margin-top: 20px; }
.bio-sandy-document { width: 80%; margin: 0; }
@media (max-width: 760px) {
  .bio-sandy-band { min-height: 70svh; padding: 20px 0; align-items: flex-end; }
  .bio-sandy-background { object-position: 62% 60%; }
  .bio-sandy-panel { padding: 24px 20px; }
  .bio-sandy-document { width: 100%; }
}

/* Brightline: introduction, corridor, safety work, convergence. */
.bio-brightline-intro { max-width: 960px; }
.bio-brightline-corridor {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 4vw, 56px) 0;
  margin: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--jgm-yellow);
  border-bottom: 1px solid var(--jgm-border-soft);
}
.bio-brightline-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
.bio-brightline-stats > div { display: flex; flex-direction: column; min-width: 0; }
.bio-brightline-stats dt {
  order: 2;
  margin-top: 10px;
  font-size: .8rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.bio-brightline-stats dd {
  margin: 0;
  color: var(--jgm-yellow);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.04em;
}
.bio-brightline-corridor > p {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
  font-weight: 550;
}
.bio-brightline-safety {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.bio-brightline-safety > div { min-width: 0; }
.bio-brightline-safety p:last-child { margin-bottom: 0; }
.bio-brightline-convergence {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--jgm-border-soft);
}
.bio-brightline-roles {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.25;
}
.bio-brightline-close {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 550;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .bio-brightline-corridor,
  .bio-brightline-safety,
  .bio-brightline-convergence { grid-template-columns: 1fr; }
}

/* Operational Readiness: three lines across the full editorial measure. */
.readiness-closing .jgm-wrap { container-type: inline-size; }
.readiness-closing .statement {
  max-width: 100%;
  color: #fff;
  font-size: clamp(2rem, 6.5vw, 5rem);
  line-height: 1.08;
}
@supports (font-size: 1cqw) {
  .readiness-closing .statement { font-size: min(5rem, 6.8cqw); }
}

.readiness-closing .statement > .accent {
  margin-top: clamp(28px, 4vw, 56px);
}

/* Service hero refinements. */
.incident-response-page .page-hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .62) 48%, rgba(0, 0, 0, .08) 88%),
    linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 60%);
}
.incident-response-page .incident-floor { margin-top: clamp(40px, 5vw, 64px); }
.incident-response-page .incident-solving {
  color: #fff;
  margin: 0;
  max-width: 1050px;
}
.incident-response-page .incident-solving span { color: var(--jgm-yellow); }

/* Crisis Communications: the solving editorial line. */
.crisis-solving { color: #fff; }
.crisis-solving .accent { color: var(--jgm-yellow); }

/* Shared text-only safety-yellow accent. */
.accent { color: var(--jgm-yellow); }

/* QR contact landing page: isolated from the editorial site layouts. */
.joe-contact-page { background: var(--jgm-black); }
.joe-contact {
  width: min(100%, 520px);
  min-height: 100svh;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  padding: 20px 24px 24px;
}
.joe-contact-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 18%;
}
.joe-contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,5,5,.48), rgba(5,5,5,.35) 22%, rgba(5,5,5,.94) 49%, #050505 72%);
}
.joe-contact-brand { display: inline-block; }
.joe-contact-logo { width: 148px; height: 68px; object-fit: contain; }
.joe-contact-identity { padding-top: 142px; }
.joe-contact h1 {
  font-size: clamp(36px, 9vw, 48px); line-height: 1.05;
  font-weight: 800; letter-spacing: -.045em; margin: 0 0 12px;
}
.joe-contact-role { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.joe-contact-company { margin: 0; font-size: 16px; line-height: 1.45; color: var(--jgm-text-soft); }
.joe-contact-tagline {
  margin: 20px 0 24px; padding-top: 16px;
  border-top: 2px solid var(--jgm-yellow);
  font-size: 17px; font-weight: 600; line-height: 1.4;
}
.joe-contact-actions { display: grid; gap: 12px; }
.joe-contact-actions .button {
  width: 100%; min-height: 54px; padding: 16px 12px;
  border-radius: 4px; font-size: 17px; line-height: 1.3;
  text-align: center; overflow-wrap: anywhere; transform: none;
}
.joe-contact-actions .button-primary { min-height: 68px; font-size: 19px; }
.joe-contact-footer { margin-top: 24px; font-size: 13px; color: var(--jgm-text-muted); }
.joe-contact-footer a { text-decoration: none; }
.joe-contact a:focus-visible { outline: 2px solid var(--jgm-yellow); outline-offset: 4px; }
@media (min-width: 600px) {
  .joe-contact { margin-top: 32px; margin-bottom: 32px; min-height: 0; padding: 24px 40px 32px; border: 1px solid var(--jgm-border-soft); }
  .joe-contact-identity { padding-top: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .joe-contact-actions .button { transition: none; }
}


/* Homepage headline: alternating emphasis, two-second fades and holds. */
@media (prefers-reduced-motion: no-preference) {
  .home-hero .display-title .headline-experience,
  .home-hero .display-title .headline-outcomes {
    animation: home-headline-emphasis 8s ease-in-out infinite;
  }
  .home-hero .display-title .headline-outcomes { animation-delay: -4s; }
}
@keyframes home-headline-emphasis {
  0%, 25%, 100% { color: var(--jgm-yellow); }
  50%, 75% { color: var(--jgm-text); }
}

/* Shared headline/callout word spacing; existing letter spacing stays intact. */
h1, h2, h3, h4, h5, h6,
.display-title,
.page-title,
.section-title,
.section-title-small,
.bio-title,
.bio-visual-title,
.statement,
.closing-statement,
.pullquote,
.callout,
.bio-callout,
.bio-sandy-statement {
  word-spacing: 0.08em;
}

/* FRA/inspector chapter: Joe remains unobscured at every viewport width. */
.bio-inspector-band {
  display: block;
  min-height: 0;
  padding: 0;
  background: #080a0c;
}
.bio-inspector-background {
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  height: clamp(340px, 50vw, 720px);
  object-fit: cover;
  object-position: center 38%;
}
.bio-inspector-band > .jgm-wrap {
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(32px, 5vw, 72px);
}
.bio-inspector-panel {
  width: min(100%, 720px);
  background: rgba(8, 10, 12, .9);
}
@media (max-width: 760px) {
  .bio-inspector-background {
    height: clamp(320px, 85vw, 520px);
    object-position: center 27%;
  }
  .bio-inspector-panel { width: 100%; }
}
