/* ==========================================================================
   Moses Robinson: Law Enforcement & Safety Consulting LLC
   Design DNA: meetchrisfield.com  |  Palette: Logo navy + sky blue + terracotta + warm sand
   Built by Kimmy Web Studio
   ========================================================================== */

:root {
  /* Brand tokens, matched to the logo (mirror data/content.json → brand.colors) */
  --navy: #0E0A3C;            /* primary panels */
  --navy-deep: #08012D;       /* logo shield navy: sticky header, footer band, overlays */
  --ink: #1E2140;             /* body text on light */
  --accent: #00ADEF;          /* logo sky blue: CTA fills, active nav tab, bullets, orbit node */
  --accent-text: #0077AD;     /* sky blue for text on white (contrast-safe) */
  --accent-hover: #3CC4F7;
  --accent-light: #90D8FC;    /* logo "Law Enforcement" blue: eyebrows + links on dark */
  --steel: #1A4A85;
  --steel-deep: #143A6A;
  --alt: #B9532B;             /* third color (terracotta, complements the logo blue): secondary panels, signature band, quote marks */
  --alt-deep: #9C4322;
  --sand: #ECE3D3;            /* warm neutral: light section backgrounds between the white, navy, and terracotta blocks */
  --sand-muted: #545B6E;      /* gray text on sand (contrast-safe) */
  --white: #FFFFFF;
  --gray-100: #F3F6FA;
  --gray-300: #D6DEE8;
  --gray-500: #646C80;
  --ink-ghost: rgba(8, 1, 45, 0.045);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 6vw, 80px);
  --section-y: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); text-transform: uppercase; line-height: 1.02; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; color: var(--navy); }
h3 { font-size: clamp(20px, 1.9vw, 25px); font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--navy); }
.eyebrow--accent { color: var(--accent-text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--navy); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* --------------------------------------------------------------------------
   Buttons: raised + lift. Filled, soft drop shadow, top highlight, bottom edge, arrow.
   Hover lifts 2px and the arrow slides; click presses down.
   .btn (default) = white, for dark/terracotta backgrounds
   .btn--dark     = navy, for light backgrounds
   .btn--solid    = sky blue, primary action
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  padding: 15px 22px 16px;
  border: 0; border-radius: 4px;
  color: var(--navy);
  background: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 0 rgba(8,1,45,.16), 0 10px 20px -8px rgba(8,1,45,.55);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  text-decoration: none;
}
.btn::after {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-5.6-5.6L12 4l8 8-8 8-1.4-1.4 5.6-5.6H4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-5.6-5.6L12 4l8 8-8 8-1.4-1.4 5.6-5.6H4z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .18s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 0 rgba(8,1,45,.16), 0 16px 28px -10px rgba(8,1,45,.6); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(8,1,45,.25), 0 3px 8px -4px rgba(8,1,45,.45); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn--dark { background: var(--navy); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -3px 0 rgba(0,0,0,.4), 0 10px 20px -8px rgba(8,1,45,.6); }
.btn--dark:hover { background: #1C1766; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -3px 0 rgba(0,0,0,.4), 0 16px 28px -10px rgba(8,1,45,.65); }
.btn--solid { background: var(--accent); color: var(--navy); }
.btn--solid:hover { background: var(--accent-hover); }
.link-more { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--accent); padding-bottom: 2px; font-size: 14px; }
.link-more:hover { color: var(--accent-text); text-decoration: none; }

/* --------------------------------------------------------------------------
   Header — absolute over the hero, transparent, active link = amber tab
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--white);
  transition: background-color .25s ease, padding .25s ease, box-shadow .25s ease;
}
/* Sticky: transparent over the hero, solid logo-navy once the page scrolls (js/main.js toggles .is-scrolled) */
.site-header.is-scrolled { background: rgba(8, 1, 45, .97); padding-top: 8px; padding-bottom: 8px; box-shadow: 0 6px 24px rgba(8, 1, 45, .35); }
[id] { scroll-margin-top: 84px; }
.brand { display: flex; flex-direction: row; align-items: center; gap: 14px; color: var(--white); line-height: 1; }
.brand__text { display: flex; flex-direction: column; }
.footer-logo { display: block; width: 190px; height: auto; }
.brand:hover { text-decoration: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; }
.brand__name span { color: var(--accent); }
.brand__tag { font-family: var(--font-display); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; margin-top: 6px; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  display: block; padding: 12px 16px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--white);
  border-top: 3px solid transparent;
}
.nav a:hover { text-decoration: none; color: var(--accent); }
.nav a.is-active { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.nav a.nav-cta { background: var(--accent); color: var(--navy); border-top: 0; border-radius: 4px; margin-left: 6px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 0 rgba(8,1,45,.2), 0 6px 14px -6px rgba(0,0,0,.6); transition: transform .18s ease, background-color .18s ease; }
.nav a.nav-cta:hover { background: var(--accent-hover); color: var(--navy); transform: translateY(-1px); }
/* Menu toggle (collapsed nav): "refined solid" — flat logo navy with a crisp sky-blue outline and
   sky-blue icon, no bevel. Fills sky blue on hover. --line is the icon color (blue, navy on hover). */
.nav-toggle {
  --line: var(--accent);
  display: none; align-items: center; gap: 10px; cursor: pointer;
  background: var(--navy-deep); color: var(--white); border: 1.5px solid var(--accent); border-radius: 6px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  padding: 9px 16px; min-height: 44px;   /* comfortable tap target */
  box-shadow: 0 1px 2px rgba(8, 1, 45, .08), 0 4px 10px -4px rgba(8, 1, 45, .16);
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.nav-toggle::before {
  content: ""; width: 18px; height: 12px; flex: 0 0 auto;
  background: linear-gradient(var(--line) 0 0) top / 100% 2px no-repeat,
              linear-gradient(var(--line) 0 0) center / 100% 2px no-repeat,
              linear-gradient(var(--line) 0 0) bottom / 100% 2px no-repeat;
}
.nav-toggle:hover { --line: var(--navy); background: var(--accent); color: var(--navy); }
.nav-toggle:active { transform: translateY(1px); }
.nav-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.nav-toggle[aria-expanded="true"]::before {
  background: linear-gradient(45deg, transparent calc(50% - 1px), var(--line) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
              linear-gradient(-45deg, transparent calc(50% - 1px), var(--line) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
  width: 14px; height: 14px; margin: 0 2px;
}

/* Vertical social rail: fixed to the left edge, follows the page like the sticky header */
.social-rail {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 35;
  width: 44px; background: var(--white); border-radius: 0 6px 6px 0;
  box-shadow: 4px 8px 24px rgba(8, 1, 45, .22);
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0;
}
.social-rail a { color: var(--navy); width: 34px; height: 34px; display: grid; place-items: center; }
.social-rail a:hover { color: var(--accent-text); }
.social-rail svg { width: 16px; height: 16px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Photo placeholders — replace with real assets (see assets/SHOT-LIST.md)
   -------------------------------------------------------------------------- */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2A2770 0%, var(--navy) 55%, var(--navy-deep) 100%);
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  color: rgba(255,255,255,.55); border: 1px dashed rgba(255,255,255,.35); padding: 8px 12px; white-space: nowrap;
}
.ph--light { background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.03) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #E9EDF1 0%, #D5DBE2 100%); }
.ph--light::after { color: var(--gray-500); border-color: var(--gray-300); }

.img { background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--navy); }
.cred-photo.img { background-position: center top; }

/* --------------------------------------------------------------------------
   HERO (home) — full-bleed photo, giant letter-spaced headline
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: var(--white); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,1,45,.35) 0%, rgba(8,1,45,.15) 45%, rgba(8,1,45,.7) 100%); z-index: 1; }
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) 56px; }
.hero__title {
  display: flex; justify-content: space-between;
  font-size: clamp(44px, 9.2vw, 132px); font-weight: 700; color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__title span { flex: 0 0 auto; }
.hero__sub { text-align: right; font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.8vw, 52px); text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }

/* Hero band — split: charcoal copy + video thumb */
.hero-band { display: grid; grid-template-columns: 3fr 2fr; background: var(--navy); color: var(--white); }
.hero-band__copy { padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(36px, 5vw, 64px) calc(var(--gutter) + 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.hero-band__copy p { font-size: 18px; max-width: 32ch; margin: 0; }
.hero-band__video { position: relative; min-height: 260px; }
.hero-band__video::after { top: 22%; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--white); background: rgba(8,1,45,.45);
  display: grid; place-items: center; color: var(--white); z-index: 2;
}
.play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.play:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); text-decoration: none; }
.hero-band__video .caption { position: absolute; left: 16px; bottom: 12px; z-index: 2; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--white); }

/* --------------------------------------------------------------------------
   CREDENTIAL CIRCLE — signature move (pinned scroll)
   -------------------------------------------------------------------------- */
.cred-pin { position: relative; height: 420vh; }
.cred-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--white); }
.cred-ghost {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  font-size: clamp(60px, 11.5vw, 170px); color: transparent; -webkit-text-stroke: 1px var(--gray-300);
  line-height: .95; pointer-events: none; user-select: none;
}
.cred-ghost span:first-child { align-self: flex-start; padding-left: var(--gutter); }
.cred-ghost span:last-child { align-self: flex-end; padding-right: var(--gutter); }
.cred-orbit {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(78vh, 78vw); height: min(78vh, 78vw); border-radius: 50%; border: 1px solid var(--gray-300);
}
.cred-node {
  position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--white); border: 1px solid var(--gray-300); cursor: pointer; padding: 0;
  transform: rotate(var(--a)) translate(calc(min(78vh, 78vw) / 2)) rotate(calc(-1 * var(--a)));
}
.cred-node:hover, .cred-node.is-active { background: var(--accent); border-color: var(--accent); }
.cred-dot {
  position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px rgba(0,173,239,.22);
  transform: rotate(var(--a, -90deg)) translate(calc(min(78vh, 78vw) / 2)); transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.cred-photo {
  /* lives inside .cred-orbit; anchored to the stage bottom on desktop (orbit centre is 50vh from the top) */
  position: absolute; left: 50%; bottom: calc(50% - 50vh); transform: translateX(-50%);
  width: min(52vh, 80vw); height: min(74vh, 60vw); border-radius: 260px 260px 0 0;
  opacity: 0; transition: opacity .4s; overflow: hidden; z-index: 1;
}
.cred-node, .cred-dot { z-index: 2; }
.cred-photo.is-active { opacity: 1; }
.cred-label {
  position: absolute; max-width: 240px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(16px, 1.7vw, 25px); line-height: 1.05; color: var(--accent-text);
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.cred-label { z-index: 3; }
.cred-label::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 10px; vertical-align: 2px; }
.cred-label.is-active { opacity: 1; transform: none; }
.cred-label[data-pos="l"] { left: 8%; top: 42%; }  /* JS repositions next to the node on desktop */
.cred-label[data-pos="r"] { right: 8%; top: 36%; text-align: right; }
.cred-label[data-pos="r"]::before { margin: 0 10px 0 0; }
.cred-label[data-pos="l"]::before { margin: 0 0 0 10px; float: right; margin-top: 8px; }
.cred-more { position: absolute; right: var(--gutter); bottom: 40px; }
.cred-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-500); display: flex; gap: 8px; align-items: center; }
.cred-scroll i { width: 14px; height: 22px; border: 1px solid var(--gray-500); border-radius: 8px; display: block; position: relative; }
.cred-scroll i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; margin-left: -1px; background: var(--gray-500); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 100% { transform: translateY(8px); opacity: 0 } }

/* --------------------------------------------------------------------------
   SERVICES + CTA split — Chris's "Appearances | Book" panel pattern
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.panel { padding: var(--section-y) var(--gutter); }
.panel--navy { background: var(--navy); color: var(--white); }
.panel--navy h2, .panel--navy h3 { color: var(--white); }
.panel--alt { background: var(--alt); color: var(--white); position: relative; overflow: hidden; }
.panel--alt h2 { color: var(--white); }
.panel--alt::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px); pointer-events: none; }
.panel--alt > * { position: relative; }
.panel--offset { margin-top: clamp(60px, 10vw, 140px); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin: 34px 0 40px; }
.services-grid h3 { font-family: var(--font-body); text-transform: none; font-weight: 600; font-size: 20px; color: var(--white); letter-spacing: 0; margin-bottom: 4px; }
.services-grid p { font-size: 14px; color: rgba(255,255,255,.72); margin: 0; }
.services-grid li { border-left: 2px solid var(--accent); padding-left: 14px; }
.recent { margin-top: 56px; }
.recent ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
.recent li strong { display: block; font-weight: 600; }
.recent li span { font-size: 14px; color: rgba(255,255,255,.7); }
.panel--alt p { font-size: 16px; max-width: 44ch; }

/* --------------------------------------------------------------------------
   TESTIMONIALS — 3-up, square quote mark, dot pager
   -------------------------------------------------------------------------- */
.testimonials { padding: var(--section-y) 0; }
.testimonials h2 { margin-bottom: 44px; }
.t-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.t-card { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.t-card[hidden] { display: none; }
.t-card .q { width: 44px; height: 44px; background: var(--alt); color: var(--white); display: grid; place-items: center; font-family: Georgia, serif; font-size: 44px; line-height: 0; padding-top: 22px; }
.t-card blockquote { margin: 0 0 14px; font-style: italic; font-size: 15px; }
.t-card cite { font-style: normal; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .05em; color: var(--navy); line-height: 1.25; display: block; }
.t-card cite span { color: var(--gray-500); font-weight: 500; }
.t-card .sample { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); border: 1px dashed var(--accent-text); padding: 2px 6px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: var(--gray-300); cursor: pointer; padding: 0; }
.dots button.is-active { background: var(--accent); }

/* Press strip */
.press { padding: 0 0 var(--section-y); }
.press ul { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; margin-top: 22px; }
.press li { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 20px; color: #9AA3AE; }
.press li small { display: block; font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12px; color: #B4BCC6; }

/* Full-bleed photo band */
.photo-band { height: clamp(320px, 46vw, 600px); }

/* --------------------------------------------------------------------------
   ABOUT split — "book" section analog
   -------------------------------------------------------------------------- */
.about { padding: var(--section-y) 0; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about .ph { aspect-ratio: 4 / 5; }
.about h2 { margin-bottom: 22px; }
.about p { max-width: 52ch; }
.stats { display: flex; gap: 34px; margin: 26px 0 30px; }
.stats b { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1; }
.stats span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); }

/* --------------------------------------------------------------------------
   MEDIA cards
   -------------------------------------------------------------------------- */
.media { padding: 0 0 var(--section-y); }
.media__head { max-width: 60ch; margin-bottom: 40px; }
.media__head h2 { margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card { background: var(--navy); color: var(--white); padding: 36px 30px 34px; min-height: 300px; display: flex; flex-direction: column; }
.card .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 40px; }
.card .icon svg { width: 100%; height: 100%; fill: currentColor; }
.card .eyebrow { color: var(--white); font-size: 12px; letter-spacing: .12em; margin-bottom: 12px; }
.card .eyebrow b { color: var(--accent-light); }
.card h3 { font-family: var(--font-body); text-transform: none; font-weight: 400; font-size: 20px; color: var(--white); letter-spacing: 0; margin-bottom: auto; }
.card a.link-more { color: var(--white); margin-top: 26px; align-self: flex-start; }
.card a.link-more:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--white); position: relative; }
.site-footer .container { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr 1.3fr; gap: 40px; padding: 56px 0 48px; align-items: start; }
.site-footer .brand { color: var(--white); }
.site-footer h4 { font-size: 15px; letter-spacing: .1em; margin-bottom: 12px; color: var(--white); }
.site-footer p { font-size: 14px; color: rgba(255,255,255,.8); }
.site-footer a { color: var(--accent-light); }
.newsletter__row { display: flex; }
.newsletter__row input { flex: 1; min-width: 0; padding: 12px 14px; border: 0; font: inherit; }
.newsletter__row button { background: var(--accent); border: 0; width: 46px; cursor: pointer; color: var(--navy); display: grid; place-items: center; }
.newsletter__row button svg { width: 18px; height: 18px; fill: currentColor; }
.newsletter__row button:disabled { opacity: .6; cursor: progress; }
.footer-bottom { background: var(--navy-deep); padding: 14px var(--gutter); font-size: 12px; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   CONTACT PAGE
   -------------------------------------------------------------------------- */
.page-hero { position: relative; height: clamp(340px, 52vh, 560px); }
.page-hero .ph { position: absolute; inset: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,1,45,.45), rgba(8,1,45,.05)); }
.page-intro { text-align: center; padding: clamp(48px, 7vw, 90px) var(--gutter); }
.page-intro h1 { font-size: clamp(30px, 4vw, 52px); font-weight: 500; color: var(--navy); max-width: 34ch; margin: 0 auto 30px; line-height: 1.08; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; }
.contact-form { padding: 0 var(--gutter) var(--section-y); }
.contact-form h2 { margin-bottom: 8px; }
.contact-form .lede { color: var(--gray-500); margin-bottom: 30px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; padding: 13px 14px; border: 1px solid #7A8194;   /* 3.9:1 field edge (WCAG 1.4.11) */
  border-radius: 0; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-text); outline-offset: 0; border-color: var(--accent-text); }
.field textarea { min-height: 140px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field select { width: 100%; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
fieldset.field legend { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks label { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.checks input { accent-color: var(--accent); margin-top: 3px; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 14px; }
.form-success { display: none; background: var(--gray-100); border-left: 4px solid var(--accent); padding: 20px 22px; margin-top: 20px; }
.form-success.is-visible { display: block; }
.contact-side { background: var(--navy); color: var(--white); padding: var(--section-y) var(--gutter); }
.contact-side h3 { color: var(--white); margin-bottom: 8px; }
.contact-side .block { margin-bottom: 34px; }
.contact-side p { color: rgba(255,255,255,.82); margin: 0; }
.contact-side a { color: var(--accent-light); }
.contact-side .socials { display: flex; gap: 10px; margin-top: 10px; }
.contact-side .socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: var(--white); }
.contact-side .socials a:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.contact-side .socials svg { width: 16px; height: 16px; fill: currentColor; }

/* --------------------------------------------------------------------------
   CONTENT-OUTLINE ADDITIONS (Oct 2026) — same tokens, type, and patterns as above
   -------------------------------------------------------------------------- */
/* Nav: "Services" dropdown */
.nav .has-sub { position: relative; }
.nav-sub-toggle {
  display: block; padding: 12px 16px; background: none; border: 0; border-top: 3px solid transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--white);
}
.nav-sub-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.nav-sub-toggle:hover, .has-sub.is-open > .nav-sub-toggle { color: var(--accent); }
.nav .nav-sub {
  display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; z-index: 30;
  min-width: 300px; background: var(--navy); border-top: 3px solid var(--accent); padding: 6px 0; box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.nav .nav-sub a { padding: 10px 18px; border-top: 0; font-weight: 600; white-space: nowrap; }
.has-sub.is-open > .nav-sub { display: flex; }
@media (hover: hover) and (min-width: 901px) {
  .has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub { display: flex; }
}

/* Intro + closing message */
.intro { padding: var(--section-y) 0; text-align: center; }
.intro .container { width: min(880px, 100% - 2 * var(--gutter)); }
.intro__lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--navy); }
.intro h2 { margin-bottom: 22px; }
.intro--closing { background: var(--sand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* Eyebrows + ledes inside sections */
.panel .eyebrow { display: block; color: var(--accent-light); margin-bottom: 14px; }
.panel h2 { margin-bottom: 18px; }
.panel--alt h3 { color: var(--white); }
.panel__lede { color: rgba(255,255,255,.82); max-width: 60ch; }
.about .eyebrow, .svc .eyebrow, .values .eyebrow { display: block; margin-bottom: 12px; }

/* Service title-only grid (amber rule, no blurb) + 3-up grid */
.services-grid--titles { gap: 14px 32px; margin: 28px 0 36px; }
.services-grid--titles h3 { font-size: 17px; margin: 0; }
.services-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Square-bullet lists */
.list-title { font-size: 20px; margin: 26px 0 4px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin: 14px 0 28px; }
.check-list--one { grid-template-columns: 1fr; }
.check-list--3 { grid-template-columns: repeat(3, 1fr); }
.check-list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.4; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; background: var(--accent); }
.check-list--light li { color: rgba(255,255,255,.9); }

/* About-style service sections */
.about__img { aspect-ratio: 4 / 5; }
.about .container { align-items: start; }
@media (min-width: 821px) { .about__img { position: sticky; top: 32px; } }
.about--svc + .about--svc { padding-top: 0; }
.about--reverse .about__img { order: 2; }

/* Specialty Training */
.svc { padding: var(--section-y) 0 calc(var(--section-y) * .6); }
.svc__head { max-width: 72ch; margin-bottom: 18px; }
.svc__head h2 { margin-bottom: 18px; }
.list-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.svc__cta { margin-top: 4px; }

/* Signature statement band */
.signature { background: var(--alt); color: var(--white); padding: clamp(48px, 6vw, 84px) 0; position: relative; overflow: hidden; }
.signature::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px); pointer-events: none; }
.signature blockquote {
  position: relative; margin: 0 auto; max-width: 940px; padding-left: 24px; border-left: 4px solid var(--accent);
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.18;
}

/* Training Values */
.values { background: var(--navy); color: var(--white); padding: var(--section-y) 0; }
.values h2 { color: var(--white); }
.values .eyebrow { color: var(--accent-light); }

/* Resources + ROC */
.resources__list { margin-bottom: 52px; }
.values + .resources { padding-top: var(--section-y); }   /* Resources follows Training Values; In the Media sits under the Featured In card */
.resources .resources__list:last-child { margin-bottom: 0; }
.resources__sub { margin: 0 0 24px; }
.roc__tagline { margin-bottom: 22px; }
.page-intro__copy { max-width: 70ch; margin: -10px auto 0; font-size: 17px; }
.page-intro .btn-row { margin-top: 28px; }

@media (max-width: 1100px) and (min-width: 821px) {
  .nav a, .nav-sub-toggle { padding: 12px 10px; }
  .brand__name { font-size: 26px; }
}
@media (max-width: 1024px) {
  .services-grid--3, .check-list--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .brand { gap: 10px; }
  .brand__name { font-size: 22px; }
  .brand__tag { font-size: 9px; letter-spacing: .14em; margin-top: 4px; }
  .site-header { padding-top: 12px; padding-bottom: 12px; }
  .site-header .nav { min-width: 270px; max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav-sub-toggle { width: 100%; text-align: left; }
  .nav .nav-sub { position: static; min-width: 0; box-shadow: none; border-top: 0; border-left: 2px solid var(--accent); margin: 0 0 6px 16px; padding: 0; background: transparent; }
  .nav .nav-sub a { white-space: normal; padding: 9px 14px; }
  .check-list, .check-list--3, .list-cols, .services-grid--3 { grid-template-columns: 1fr; }
  .list-cols { gap: 8px; }
  .about--reverse .about__img { order: 0; }
  .about--svc + .about--svc { padding-top: var(--section-y); }
  .btn-row .btn { white-space: normal; text-align: center; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cred-label { max-width: 190px; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; right: var(--gutter); top: 100%; background: var(--navy); display: none; padding: 8px; min-width: 200px; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .social-rail { display: none; }
  .hero { min-height: 72vh; }
  .hero__title { font-size: clamp(38px, 12vw, 80px); }
  .hero-band { grid-template-columns: 1.35fr 1fr; }
  .hero-band__copy { flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 28px var(--gutter); }
  .hero-band__copy p { font-size: 15px; max-width: none; }
  .hero-band__video { min-height: 240px; }
  .hero-band__video .caption { font-size: 10px; left: 10px; bottom: 8px; right: 10px; line-height: 1.3; }
  .cred-pin { height: auto; }
  .cred-stage { position: relative; height: auto; padding: 60px 0 40px; }
  .cred-ghost { font-size: 15vw; position: relative; margin-bottom: -10px; }
  .cred-orbit { position: relative; left: auto; top: auto; transform: none; margin: 20px auto 0; width: 80vw; height: 80vw; }
  .cred-node { transform: rotate(var(--a)) translate(40vw) rotate(calc(-1 * var(--a))); }
  .cred-dot { transform: rotate(var(--a, -90deg)) translate(40vw); }
  .cred-photo { bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 64%; height: 64%; border-radius: 50%; }
  .cred-label { position: static; max-width: none; text-align: center; display: none; margin: 26px auto 0; padding: 0 var(--gutter); }
  .cred-label.is-active { display: block; }
  .cred-label::before, .cred-label[data-pos="l"]::before { float: none; margin: 0 10px 0 0; }
  .cred-more { position: static; display: block; text-align: center; margin-top: 26px; }
  .cred-scroll { display: none; }
  .split { grid-template-columns: 1fr; }
  .panel--offset { margin-top: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .recent ul { grid-template-columns: 1fr; }
  .t-track { grid-template-columns: 1fr; gap: 28px; }
  .about .container { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .row-2, .checks { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .hero-band { grid-template-columns: 1.15fr 1fr; }
  .hero-band__copy { padding: 22px 16px 22px 18px; }
  .hero-band__copy p { font-size: 14px; line-height: 1.45; }
  .hero-band__copy .btn { font-size: 13px; padding: 12px 14px; }
  .hero-band__video { min-height: 250px; }
  .play { width: 56px; height: 56px; }
}
/* Terracotta panels: swap sky-blue details for white so the two mid-tones don't clash */
.panel--alt .btn--solid { background: var(--white); border-color: var(--white); color: var(--navy); }
.panel--alt .btn--solid:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.panel--alt .eyebrow { color: rgba(255,255,255,.88); }
.panel--alt .check-list li::before { background: var(--white); }
.signature blockquote { border-left-color: var(--white); }

/* Warm sand sections (.bg-sand): labels go terracotta, muted text darkens for contrast */
.bg-sand, .intro--closing { background: var(--sand); }
.bg-sand .eyebrow--accent, .intro--closing .eyebrow--accent { color: var(--alt-deep); }
.bg-sand .t-card cite span, .bg-sand .form-note, .bg-sand .lede { color: var(--sand-muted); }
.bg-sand .t-card .sample { color: var(--alt-deep); border-color: var(--alt-deep); }
.press.bg-sand li { color: #7A8291; }
.press.bg-sand li small { color: var(--sand-muted); }   /* 6.8:1 on the white card */
.awards.bg-sand + .press.bg-sand { margin-top: -1px; }
.bg-sand .dots button:not(.is-active) { background: #CDBFA6; }
.press.bg-sand + .media { padding-top: var(--section-y); }
.page-intro.bg-sand + .contact-grid .contact-form { padding-top: clamp(48px, 6vw, 80px); }

/* --------------------------------------------------------------------------
   AWARDS & RECOGNITION — scroll-snap carousel (3 / 2 / 1.2 cards) + compact list
   -------------------------------------------------------------------------- */
.awards { padding: var(--section-y) 0 calc(var(--section-y) * .55); }
.awards__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.awards__nav { display: flex; gap: 10px; }
.awards__btn { width: 48px; height: 48px; border: 1px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background .2s, color .2s, opacity .2s; }
.awards__btn svg { width: 20px; height: 20px; fill: currentColor; }
.awards__btn:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.awards__btn:disabled { opacity: .3; cursor: default; }
.awards__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px;
}
.awards__track::-webkit-scrollbar { display: none; }
.awards__track:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.award-card { scroll-snap-align: start; background: var(--white); display: flex; flex-direction: column; box-shadow: 0 10px 24px rgba(8, 1, 45, .08); }
.award-card__img { aspect-ratio: 4 / 3; background: #F7F2EA; display: grid; place-items: center; overflow: hidden; }
.award-card__img--contain { padding: 16px; }
.award-card__img--contain img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 4px 12px rgba(8, 1, 45, .18); }
.award-card__img--cover img { width: 100%; height: 100%; object-fit: cover; }
.award-card__body { padding: 20px 22px 24px; border-top: 3px solid var(--alt); flex: 1; }
.award-card__meta { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--alt-deep); }
.award-card h3 { font-size: 22px; margin: 6px 0 8px; line-height: 1.08; }
.award-card p { font-size: 14px; color: var(--sand-muted); margin: 0; }
.awards__progress { position: relative; height: 3px; background: #D8CCB6; margin: 24px 0 8px; }
.awards__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 33%; background: var(--navy); transition: left .2s, width .2s; }
.awards__more { margin-top: 10px; }
@media (max-width: 1024px) { .awards__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 820px) {
  .awards__track { grid-auto-columns: 82%; gap: 16px; }
  .awards__btn { width: 42px; height: 42px; }
}

/* --------------------------------------------------------------------------
   HEADER v2 — menu collapses below 900px (no wrapped nav labels; 901–1100px uses compact spacing)
   -------------------------------------------------------------------------- */
.nav a, .nav-sub-toggle { white-space: nowrap; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header .nav {
    position: absolute; right: var(--gutter); top: 100%; display: none; padding: 8px;
    background: var(--navy); min-width: 270px; max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .site-header .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a, .nav-sub-toggle { padding: 12px 16px; }
  .nav-sub-toggle { width: 100%; text-align: left; }
  .nav .nav-sub { position: static; min-width: 0; box-shadow: none; border-top: 0; border-left: 2px solid var(--accent); margin: 0 0 6px 16px; padding: 0; background: transparent; }
  .nav .nav-sub a { white-space: normal; padding: 9px 14px; }
}
@media (max-width: 380px) {
  .brand__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cred-dot, .cred-label, .cred-photo { transition: none; }
  .cred-scroll i::after { animation: none; }
}

/* --------------------------------------------------------------------------
   CONTACT LIGHTBOX: <dialog id="contact"> on every page, opened by any
   a[href="#contact"] or [data-contact]; [data-request-type] preselects the form
   -------------------------------------------------------------------------- */
html.modal-open { overflow: hidden; }
.contact-modal {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  width: min(1120px, 100% - 40px); max-width: none; max-height: calc(100dvh - 40px);
  margin: auto; overflow: visible;
}
.contact-modal::backdrop { background: rgba(8, 1, 45, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.contact-modal[open] { animation: modal-in .3s cubic-bezier(.2, .8, .2, 1); }
.contact-modal[open]::backdrop { animation: backdrop-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.contact-modal__box {
  position: relative; background: var(--white); border-radius: 8px; overflow: hidden auto;
  max-height: calc(100dvh - 40px); overscroll-behavior: contain;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.contact-modal__close {
  position: absolute; top: 14px; right: 22px; z-index: 3;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  display: grid; place-items: center; background: var(--navy); color: var(--white);
  box-shadow: 0 8px 18px -6px rgba(8, 1, 45, .6); transition: background-color .18s, transform .18s;
}
.contact-modal__close:hover { background: var(--alt); transform: rotate(90deg); }
.contact-modal__close:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.contact-modal__close svg { width: 18px; height: 18px; fill: currentColor; }
.contact-modal__intro { background: var(--sand); border-top: 5px solid var(--alt); padding: 40px 56px 32px; }
.contact-modal__intro .eyebrow { display: block; margin-bottom: 10px; }
.contact-modal__intro h2 { font-size: clamp(28px, 3vw, 42px); max-width: 30ch; margin-bottom: 14px; padding-right: 40px; }
.contact-modal__intro p { max-width: 76ch; margin: 0; color: var(--sand-muted); }
.contact-modal .contact-grid { grid-template-columns: 1.55fr 1fr; }
.contact-modal .contact-form { padding: 36px 56px 48px; }
.contact-modal .contact-form h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 8px; }
.contact-modal .contact-side { padding: 36px 40px 40px; }
.contact-modal .contact-side .block { margin-bottom: 26px; }
.contact-modal .form-success { margin-top: 0; }
@media (max-width: 820px) {
  .contact-modal { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .contact-modal__box { max-height: 100dvh; height: 100%; border-radius: 0; }
  .contact-modal__close { top: 10px; right: 12px; width: 40px; height: 40px; }
  .contact-modal__intro { padding: 60px 20px 24px; }
  .contact-modal__intro h2 { padding-right: 0; }
  .contact-modal .contact-grid { grid-template-columns: 1fr; }
  .contact-modal .contact-form { padding: 28px 20px 36px; }
  .contact-modal .contact-side { padding: 32px 20px 40px; }
}

/* --------------------------------------------------------------------------
   ROC PAGE (roc.html) + home-page teaser
   -------------------------------------------------------------------------- */
.roc-hero { position: relative; min-height: 80vh; display: flex; align-items: flex-end; color: var(--white); }
.roc-hero__bg { position: absolute; inset: 0; }
.roc-hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,1,45,.55) 0%, rgba(8,1,45,.35) 35%, rgba(8,1,45,.92) 100%); }
.roc-hero__inner { position: relative; z-index: 2; width: 100%; padding: 150px var(--gutter) clamp(48px, 7vw, 88px) calc(var(--gutter) + 20px); }
.roc-hero .eyebrow { display: block; color: var(--accent-light); margin-bottom: 14px; }
.roc-hero h1 { font-size: clamp(40px, 5.4vw, 78px); font-weight: 700; line-height: .95; max-width: 20ch; margin-bottom: 26px; color: var(--white); }
.roc-hero__tag { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .06em; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.25; max-width: 62ch; margin: 0; padding-left: 18px; border-left: 4px solid var(--alt); }
.roc-intro .intro__lede { margin-bottom: 28px; }
.roc-audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 6px; }
.roc-audience li { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .06em; font-size: 14px; color: var(--alt-deep); background: var(--white); border: 1px solid #DCCDB4; border-radius: 999px; padding: 7px 16px; }
.roc-areas { padding: var(--section-y) 0; }
.roc-areas__head { max-width: 760px; margin-bottom: 44px; }
.roc-areas__head .eyebrow { display: block; margin-bottom: 12px; }
.roc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.roc-card { background: var(--white); border: 1px solid #E8E1D4; border-top: 4px solid var(--alt); padding: 30px 28px 32px; box-shadow: 0 12px 28px -12px rgba(8, 1, 45, .18); transition: transform .2s ease, box-shadow .2s ease; }
.roc-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(8, 1, 45, .25); }
.roc-card__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1; color: var(--accent-text); margin-bottom: 18px; }
.roc-card h3 { margin-bottom: 10px; }
.roc-card p { font-size: 15px; color: var(--gray-500); margin: 0; }
.roc-concepts { list-style: none; padding: 0; counter-reset: concept; margin: 30px 0 0; display: grid; gap: 0; }
.roc-concepts li { counter-increment: concept; display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 19px; font-weight: 600; color: var(--white); }
.roc-concepts li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.roc-concepts li::before { content: counter(concept, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--accent-light); min-width: 1.8em; }
.roc-page .panel--alt p { max-width: 52ch; }

/* Home-page teaser: links out to roc.html */
.roc-teaser { background: var(--alt); color: var(--white); position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; }
.roc-teaser::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px); pointer-events: none; }
.roc-teaser__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; }
.roc-teaser .eyebrow { display: block; color: rgba(255,255,255,.88); margin-bottom: 12px; }
.roc-teaser h2 { color: var(--white); max-width: 32ch; margin-bottom: 16px; }
.roc-teaser__tag { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .06em; font-size: clamp(16px, 1.5vw, 20px); margin: 0; opacity: .92; }
.roc-teaser .btn { flex: 0 0 auto; }

@media (max-width: 1024px) {
  .roc-grid { grid-template-columns: 1fr 1fr; }
  .roc-teaser__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .roc-grid { grid-template-columns: 1fr; }
  .roc-hero { min-height: 72vh; }
  .roc-hero__inner { padding: 120px var(--gutter) 44px; }
  .roc-concepts li { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after, .roc-card, .contact-modal[open], .contact-modal[open]::backdrop { transition: none; animation: none; }
  .btn:hover, .roc-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   IN THE MEDIA: video carousel (reuses the awards__* track, arrows, progress)
   -------------------------------------------------------------------------- */
.videos .awards__head { margin-bottom: 24px; }
.videos .resources__sub { margin: 0; }
.videos__track .video-card { scroll-snap-align: start; }
.video-card a { display: flex; flex-direction: column; height: 100%; background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 12px 28px -12px rgba(8, 1, 45, .45); transition: transform .2s ease, box-shadow .2s ease; }
.video-card a:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(8, 1, 45, .55); text-decoration: none; }
.video-card a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.video-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-deep); }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.video-card a:hover .video-card__thumb img { transform: scale(1.04); }
.video-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,1,45,0) 45%, rgba(8,1,45,.45)); }
.video-card__play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--accent); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,.6); transition: transform .2s ease, background-color .2s ease; }
.video-card__play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.video-card a:hover .video-card__play { transform: scale(1.1); background: var(--accent-hover); }
.video-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; border-top: 3px solid var(--accent); }
.video-card__meta { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--accent-light); }
.video-card h4 { font-family: var(--font-body); text-transform: none; font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: 0; color: var(--white); margin: 8px 0 18px; }
.video-card__cta { margin-top: auto; align-self: flex-start; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* Articles & Features: compact link list under the videos */
.press-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 14px; }
.press-links a { display: block; padding: 14px 0; border-top: 1px solid var(--gray-300); color: var(--navy); font-weight: 600; font-size: 17px; line-height: 1.35; }
.press-links a::after { content: " \2197\FE0E"; content: " \2197\FE0E" / ""; color: var(--accent-text); }   /* FE0E: draw the arrow as text, not an iPhone emoji */   /* arrow is visual only; screen readers hear "(opens in a new tab)" instead */
.press-links a:hover { color: var(--accent-text); text-decoration: none; }
.press-links a:not([target])::after { content: " \2192"; content: " \2192" / ""; }   /* a page on this site: plain arrow, same tab */
.press-links li:has(> p) a { padding-bottom: 6px; }
.press-links p { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: var(--gray-500); }
.press-links span { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--alt-deep); margin-bottom: 3px; }
@media (max-width: 820px) { .press-links { grid-template-columns: 1fr; } }
.press-links li[hidden] { display: none; }
.press-more { display: flex; justify-content: center; margin-top: 30px; }
.press-more__btn::after { transform: rotate(90deg); }   /* arrow points down: more below */
.press-more__btn[aria-expanded="true"]::after { transform: rotate(-90deg); }
.press-more__btn:hover::after { transform: rotate(90deg) translateX(3px); }
.press-more__btn[aria-expanded="true"]:hover::after { transform: rotate(-90deg) translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .press-links li.is-revealed { animation: press-reveal .35s ease both; }
  @keyframes press-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}


/* --------------------------------------------------------------------------
   VIDEO LIGHTBOX (<dialog id="video-modal">): YouTube iframe or MP4 <video>
   -------------------------------------------------------------------------- */
.video-modal { padding: 0; border: 0; background: transparent; color: var(--white); width: min(1080px, 100% - 40px, (100dvh - 200px) * 16 / 9); max-width: none; max-height: none; margin: auto; overflow: visible; }
.video-modal::backdrop { background: rgba(8, 1, 45, .92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video-modal[open] { animation: modal-in .3s cubic-bezier(.2, .8, .2, 1); }
.video-modal[open]::backdrop { animation: backdrop-in .3s ease; }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }
.video-modal__frame iframe, .video-modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-modal__close { top: -58px; right: 0; background: var(--white); color: var(--navy); }
.video-modal__close:hover { background: var(--alt); color: var(--white); }
.video-modal__caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding-top: 18px; }
.video-modal__meta { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--accent-light); }
.video-modal__title { font-family: var(--font-body); text-transform: none; font-weight: 600; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.3; letter-spacing: 0; color: var(--white); margin-top: 6px; }
.video-modal__source { flex: 0 0 auto; color: var(--accent-light); font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.video-modal__source:hover { color: var(--white); text-decoration: none; }
@media (max-width: 820px) {
  .video-modal { width: calc(100% - 24px); }
  .video-modal__close { top: -54px; right: 0; }
  .video-modal__caption { flex-direction: column; align-items: flex-start; }
}
.video-modal__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; background: var(--navy); }
.video-modal__fallback p { max-width: 46ch; margin: 0; font-size: 18px; color: rgba(255,255,255,.9); }
/* ROC hero photo: Moses is on the right of the group, so narrow screens crop toward him */
.roc-hero__bg { background-position: center 70%; }
@media (max-width: 820px) { .roc-hero__bg { background-position: 80% 70%; } }

/* --------------------------------------------------------------------------
   HERO SLIDESHOW: stacked slides crossfade; the gradient (.hero__bg::before) stays on top
   -------------------------------------------------------------------------- */
.hero__bg.hero__slides { overflow: hidden; }   /* the slow zoom must not widen the page */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease, transform 6s ease-out; transform: scale(1.04); }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; transform: none; } }

/* --------------------------------------------------------------------------
   ROC PAGE: "In the Community" photo grid. Source photos are ~640px, so tiles are
   capped near that size: 3 portrait-ish tiles on top, 2 wide tiles below.
   -------------------------------------------------------------------------- */
.roc-gallery { padding: var(--section-y) 0; }
.roc-gallery .roc-areas__head p { color: var(--sand-muted); margin: 14px 0 0; max-width: 62ch; }
.roc-gallery__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 380px 300px; gap: 14px; }
.roc-gallery__item { position: relative; margin: 0; overflow: hidden; grid-column: span 2; background: var(--navy); box-shadow: 0 12px 28px -14px rgba(8, 1, 45, .4); }
.roc-gallery__item:nth-child(n+4) { grid-column: span 3; }
.roc-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.roc-gallery__item:hover img { transform: scale(1.03); }
.roc-gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(180deg, rgba(8,1,45,0), rgba(8,1,45,.85)); color: var(--white); font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .06em; font-size: 14px; }
@media (max-width: 820px) {
  .roc-gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; gap: 10px; }
  .roc-gallery__item, .roc-gallery__item:nth-child(n+4) { grid-column: span 1; }
  .roc-gallery__item:last-child { grid-column: span 2; }
  .roc-gallery__item figcaption { font-size: 12px; padding: 28px 10px 10px; }
}
@media (prefers-reduced-motion: reduce) { .roc-gallery__item img { transition: none; } }

/* ==========================================================================
   RESPONSIVE v2: keep the desktop side-by-side layout as long as it fits.
   Text sizes are not changed here; only how content is arranged.
   Tablet (601–820px): desktop layouts restored (panels, photo beside text, grids).
   Phone (≤600px): long paragraphs stack; photos sit beside headings; short items go two-up.
   ========================================================================== */
@media (min-width: 601px) and (max-width: 820px) {
  /* Navy | terracotta panels side by side */
  .split { grid-template-columns: 1fr 1fr; }
  .panel { padding-left: 32px; padding-right: 32px; }
  .panel--offset { margin-top: clamp(60px, 10vw, 140px); }
  .split .check-list, .split .services-grid, .split .services-grid--titles { grid-template-columns: 1fr; }
  /* Photo beside text */
  .about .container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about--reverse .about__img { order: 2; }
  .about__img { position: sticky; top: 84px; }
  .about--svc + .about--svc { padding-top: 0; }
  /* Grids keep their desktop column counts */
  .check-list, .check-list--3, .services-grid--3 { grid-template-columns: 1fr 1fr; }
  .check-list--one { grid-template-columns: 1fr; }   /* the three Specialty Training lists already sit side by side */
  .list-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .roc-grid, .press-links, .row-2, .checks { grid-template-columns: 1fr 1fr; }
  .site-footer .container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .awards__track { grid-auto-columns: calc((100% - 16px) / 2); }
  .roc-gallery__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 300px 240px; }
  .roc-gallery__item { grid-column: span 2; }
  .roc-gallery__item:nth-child(n+4), .roc-gallery__item:last-child { grid-column: span 3; }
  /* Contact lightbox stays a centered box with the form beside the contact details */
  .contact-modal { width: min(1120px, 100% - 32px); height: auto; max-height: calc(100dvh - 32px); margin: auto; }
  .contact-modal__box { height: auto; max-height: calc(100dvh - 32px); border-radius: 8px; }
  .contact-modal .contact-grid { grid-template-columns: 1.5fr 1fr; }
  .contact-modal .contact-form { padding: 28px 28px 36px; }
  .contact-modal .contact-side { padding: 28px 24px 36px; }
  .contact-modal__intro { padding: 36px 28px 26px; }
  .contact-modal__intro h2 { padding-right: 48px; }
}
/* Social rail returns once the side gutter is wide enough not to cover content */
@media (min-width: 768px) and (max-width: 820px) {
  .social-rail { display: flex; }
  .split > .panel:first-child { padding-left: 60px; }   /* clear the 44px social rail */
}

@media (max-width: 600px) {
  /* Photo beside the heading; the paragraphs and lists run full width below */
  .about .container { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 0 18px; align-items: start; }
  .about .container > div:not(.about__img) { display: contents; }
  .about .container > div:not(.about__img) > * { grid-column: 1 / -1; }
  .about__img { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin-bottom: 22px; }
  .about .container > div:not(.about__img) > .eyebrow { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 8px; }
  .about .container > div:not(.about__img) > h2 { grid-column: 2; grid-row: 2; align-self: start; hyphens: manual; overflow-wrap: normal; }   /* whole words only */
  .about--reverse .container { grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); }   /* photo on the right: the heading keeps the wider column */
  .about--reverse .about__img { grid-column: 2; order: 0; }
  .about--reverse .container > div:not(.about__img) > .eyebrow, .about--reverse .container > div:not(.about__img) > h2 { grid-column: 1; }
  /* Short list items two-up */
  .check-list, .check-list--3, .services-grid--titles { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .site-footer .container { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer .container > :nth-child(n+3) { grid-column: 1 / -1; }
}
/* ROC service categories two per row on phones: tighter card padding and a smaller decorative number
   make room; heading and paragraph sizes are unchanged */
@media (max-width: 600px) {
  .roc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .roc-card { padding: 18px 14px 20px; }
  .roc-card__num { font-size: 34px; margin-bottom: 12px; }
  .roc-card h3 { hyphens: manual; overflow-wrap: normal; }   /* whole words only (every title fits from 320px up) */
}
@media (max-width: 359px) {
  .check-list, .check-list--3, .services-grid--titles, .roc-grid { grid-template-columns: 1fr; }
}

/* ROC service categories: circular photo between the number and the title */
.roc-card__img { display: block; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin: 0 0 20px; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--alt), 0 10px 20px -8px rgba(8, 1, 45, .35); }
@media (max-width: 600px) { .roc-card__img { width: 76px; height: 76px; margin-bottom: 14px; } }

/* Credential circle on tablet / phone: caption follows the active dot as a small tag (js/main.js positions it) */
@media (max-width: 820px) {
  .cred-orbit { margin-bottom: 64px; }
  .cred-label {
    position: absolute; display: block; margin: 0; max-width: min(60vw, 320px); width: max-content;
    padding: 8px 12px; background: var(--white); border: 1px solid var(--gray-300); border-left: 3px solid var(--accent); border-radius: 6px;
    box-shadow: 0 10px 26px -6px rgba(8, 1, 45, .45); opacity: 0; transform: none; pointer-events: none;
  }
  .cred-label.is-active { opacity: 1; }
  .cred-label[data-pos] { top: auto; right: auto; bottom: auto; left: auto; }   /* drop the desktop anchors; js/main.js sets them inline */
  .cred-more { margin-top: 0; }
}

/* 2 x 2 photo grids inside the split panels: Faith & Blue (Community Partnerships) and Training in Action (Security Officers) */
.fb-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 32px; max-width: 560px; }
.fb-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5); }

/* --------------------------------------------------------------------------
   PHOTO LIGHTBOX: grid photos enlarge in place (capped near their real size so they stay sharp)
   -------------------------------------------------------------------------- */
.zoomable { display: block; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; width: 100%; height: 100%; position: relative; }
.zoomable:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.fb-strip .zoomable img, .roc-gallery__item .zoomable img { display: block; }
.zoomable::after { content: ""; position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(8, 1, 45, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.5 14h-.8l-.3-.3A6.5 6.5 0 1 0 14 15.5l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14zM10 7H9v2H7v1h2v2h1v-2h2V9h-2z'/%3E%3C/svg%3E") center / 18px no-repeat; opacity: 0; transition: opacity .2s; }
.zoomable:hover::after, .zoomable:focus-visible::after { opacity: 1; }
.photo-modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; margin: auto; color: var(--white); }
.photo-modal::backdrop { background: rgba(8, 1, 45, .92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.photo-modal[open] { animation: modal-in .25s cubic-bezier(.2, .8, .2, 1); }
.photo-modal[open]::backdrop { animation: backdrop-in .25s ease; }
.photo-modal__figure { margin: 0; }
.photo-modal__img { display: block; max-width: min(88vw, 1000px); max-height: 78vh; width: auto; height: auto; border: 4px solid var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: var(--navy); }
.photo-modal figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .9); max-width: min(88vw, 1000px); }
.photo-modal__count { flex: 0 0 auto; font-family: var(--font-display); letter-spacing: .08em; color: var(--accent-light); }
.photo-modal__close { top: -54px; right: 0; background: var(--white); color: var(--navy); }
.photo-modal__close:hover { background: var(--alt); color: var(--white); }
.photo-modal__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--white); color: var(--navy); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .6); }
.photo-modal__nav svg { width: 22px; height: 22px; fill: currentColor; }
.photo-modal__nav:hover { background: var(--accent); }
.photo-modal__nav:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.photo-modal__nav--prev { left: 20px; } .photo-modal__nav--next { right: 20px; }
.photo-modal__nav[hidden] { display: none; }
@media (max-width: 820px) {
  .photo-modal__img { max-width: 94vw; max-height: 70vh; }
  .photo-modal__nav { top: auto; bottom: 18px; transform: none; width: 44px; height: 44px; }
  .photo-modal__nav--prev { left: calc(50% - 56px); } .photo-modal__nav--next { right: calc(50% - 56px); }
  .zoomable::after { opacity: 1; width: 26px; height: 26px; background-size: 15px; }
}
.roc-gallery__item figcaption { pointer-events: none; z-index: 1; }   /* clicks pass through to the enlarge button */

/* --------------------------------------------------------------------------
   SERVICES MEGA MENU (desktop, >900px): wide panel under the header with a
   one-line description per service and a "Not sure where to start?" box.
   Below 900px the Menu panel keeps the simple title list (descriptions hidden).
   -------------------------------------------------------------------------- */
.nav-sub__title { display: block; }
.nav-sub__desc, .nav-sub__feature { display: none; }
@media (min-width: 901px) {
  .nav .has-sub { position: static; }
  .nav .nav-sub--mega {
    left: var(--gutter); right: var(--gutter); top: 100%; min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, .9fr); gap: 6px 10px;
    padding: 18px; border-radius: 0 0 8px 8px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  }
  .nav .nav-sub--mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px; }   /* hover bridge from the button */
  .nav .has-sub.is-open > .nav-sub--mega, .nav .has-sub:focus-within > .nav-sub--mega { display: grid; }
  .nav .nav-sub--mega > li:not(.nav-sub__feature) > a { white-space: normal; padding: 14px 16px; border-radius: 6px; height: 100%; }
  .nav .nav-sub--mega > li:not(.nav-sub__feature) > a:hover, .nav .nav-sub--mega > li:not(.nav-sub__feature) > a:focus-visible { background: rgba(255, 255, 255, .07); color: var(--white); }
  .nav-sub__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 17px; font-weight: 700; line-height: 1.15; color: var(--white); }
  .nav .nav-sub--mega a:hover .nav-sub__title { color: var(--accent); }
  .nav-sub__desc { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 1.4; color: rgba(255, 255, 255, .72); }
  .nav-sub__feature { display: block; grid-column: 4; grid-row: 1 / span 3; background: var(--alt); border-radius: 6px; padding: 20px; color: var(--white); }
  .nav-sub__feature p { margin: 0 0 16px; font-size: 14px; line-height: 1.45; color: var(--white); }   /* 4.8:1 on terracotta */
  .nav-sub__feature .nav-sub__feature-title { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; font-weight: 700; line-height: 1.1; color: var(--white); margin-bottom: 10px; }
  .nav .nav-sub__feature .btn { display: inline-flex; padding: 12px 16px; font-size: 14px; white-space: normal; background: var(--white); color: var(--navy); border-top: 0; }
  .nav .nav-sub__feature .btn:hover { background: var(--navy); color: var(--white); }
}
@media (hover: hover) and (min-width: 901px) {
  .nav .has-sub:hover > .nav-sub--mega { display: grid; }
}

/* Section tracker: the nav item for the section being read is highlighted like the active-page tab */
.nav a.is-current, .nav-sub-toggle.is-current { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
@media (max-width: 900px) { .nav a.is-current, .nav-sub-toggle.is-current { box-shadow: inset 3px 0 0 var(--accent); } }

/* Compact desktop nav (901–1100px): same 13px link text, tighter spacing so every link stays visible */
@media (min-width: 901px) and (max-width: 1100px) {
  .site-header { padding-left: 28px; padding-right: 28px; }
  .nav ul { gap: 0; }
  .nav a, .nav-sub-toggle { padding: 12px 9px; }
  .nav-sub-toggle::after { margin-left: 6px; }
  .nav a.nav-cta { margin-left: 6px; padding: 12px 14px; }
  .brand__name { font-size: 24px; }
  .brand__tag { font-size: 10px; letter-spacing: .16em; }
  .nav .nav-sub--mega { left: 28px; right: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(220px, .9fr); }
  .nav-sub__feature { grid-column: 3; grid-row: 1 / span 4; }
}

/* Mega menu thumbnails (desktop only): small rounded photo to the left of each service */
.nav-sub__thumb { display: none; }
@media (min-width: 901px) {
  .nav .nav-sub--mega > li:not(.nav-sub__feature) > a { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; }
  .nav-sub__thumb { display: block; grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 8px; object-fit: cover; border: 2px solid rgba(255, 255, 255, .85); }
  .nav .nav-sub--mega a:hover .nav-sub__thumb, .nav .nav-sub--mega a:focus-visible .nav-sub__thumb { border-color: var(--accent); }
}

/* --------------------------------------------------------------------------
   SLIDE-OUT DRAWER MENU (≤900px): full-height panel from the right, dimmed backdrop,
   larger tap targets, phone + email at the bottom. js/main.js handles focus and closing.
   -------------------------------------------------------------------------- */
.nav-drawer__head, .nav-drawer__foot, .nav-backdrop { display: none; }
@media (max-width: 900px) {
  html.drawer-open { overflow: hidden; }
  .site-header .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 3;
    display: flex; flex-direction: column; width: min(86vw, 360px); min-width: 0; height: 100dvh; max-height: none;
    padding: 0; background: var(--navy); box-shadow: -24px 0 60px rgba(0, 0, 0, .45);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
  }
  .site-header .nav.is-open { display: flex; transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
  .nav-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-drawer__title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; letter-spacing: .16em; font-size: 14px; color: var(--accent-light); }
  .nav-drawer__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; padding: 0; }
  .nav-drawer__close svg { width: 18px; height: 18px; fill: currentColor; }
  .nav-drawer__close:hover { background: var(--accent); }
  .nav-drawer__close:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
  .site-header .nav > ul { padding: 8px 12px 16px; }
  .site-header .nav > ul > li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
  .site-header .nav > ul > li > a, .site-header .nav-sub-toggle { font-size: 17px; padding: 15px 12px; border-radius: 6px; }
  .site-header .nav-sub-toggle::after { float: right; margin-top: 6px; }
  .site-header .nav .nav-sub { margin: 0 0 10px 12px; }
  .site-header .nav .nav-sub a { font-size: 15px; padding: 11px 14px; }
  .site-header .nav > ul > li:last-child { border-top: 0; }
  .site-header .nav a.nav-cta { display: block; text-align: center; margin: 14px 0 0; padding: 15px 12px; }
  .nav-drawer__foot { display: block; margin-top: auto; padding: 18px 24px 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .nav-drawer__foot a { display: block; padding: 8px 0; color: var(--white); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
  .nav-drawer__foot a span { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--accent-light); }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 2; background: rgba(8, 1, 45, .72); opacity: 0; visibility: hidden; transition: opacity .32s, visibility 0s linear .32s; }
  html.drawer-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .32s; }
}
@media (prefers-reduced-motion: reduce) { .site-header .nav, .nav-backdrop { transition: none !important; } }

/* Count-up stats: fixed-width digits so the numbers don't jitter while counting */
.stats b { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   FEATURED IN TICKER: js/main.js wraps the list in .ticker and adds a hidden duplicate so
   the names glide in a seamless loop. Pause button (WCAG 2.2.2), pauses on hover / focus.
   Reduced motion or no JS: the original static wrapped list.
   -------------------------------------------------------------------------- */
.press__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ticker__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #CDBFA6; border-radius: 999px; background: var(--white); color: var(--navy); font-family: var(--font-display); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: 13px; cursor: pointer; }
.ticker__toggle:hover { border-color: var(--navy); }
.ticker__toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ticker__icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }   /* pause bars */
.ticker__toggle[data-state="paused"] .ticker__icon { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }   /* play triangle */
.ticker { overflow: hidden; margin-top: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker-scroll var(--ticker-duration, 40s) linear infinite; }
.ticker .press__list { flex-wrap: nowrap; margin: 0; gap: 0; }
.ticker .press__list li { white-space: nowrap; display: flex; align-items: center; padding-right: 0; }
.ticker .press__list li::after { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin: 0 34px; background: var(--alt); transform: rotate(45deg); }
.ticker .press__list li small { display: inline; margin-left: 10px; }
.ticker.is-paused .ticker__track, .ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* --------------------------------------------------------------------------
   SCROLL REVEAL: js/main.js tags content blocks with .reveal (only when motion is OK),
   then adds .is-visible the first time each one enters the screen. --reveal-delay staggers grids.
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --------------------------------------------------------------------------
   DEPTH: offset color blocks behind the section photos. A solid offset shadow (no blur)
   reads as a colored panel behind the photo, lifting it off the page. The block always
   sits toward the text, never toward the page edge. Purely decorative.
   -------------------------------------------------------------------------- */
.about .about__img { --offset-x: 22px; --offset-y: 22px; --offset-color: var(--alt); box-shadow: var(--offset-x) var(--offset-y) 0 0 var(--offset-color); }
.about--svc .about__img { --offset-color: var(--navy); }                      /* School Safety */
.about--reverse .about__img { --offset-x: -22px; --offset-color: var(--alt); } /* Community Policing (photo on the right) */
@media (max-width: 600px) {
  .about .about__img { --offset-x: 10px; --offset-y: 10px; }
  .about--reverse .about__img { --offset-x: -10px; }
}

/* --------------------------------------------------------------------------
   DEPTH: angled section edges on the three bold bands (signature quote, Training Values,
   ROC teaser). Each band is clipped to a parallelogram and pulled over its neighbors by the
   angle height, so the diagonal reveals the section behind it rather than a gap. Extra padding
   keeps the content clear of the slanted edges. Static, decorative only.
   -------------------------------------------------------------------------- */
.signature, .values, .roc-teaser {
  --angle: clamp(28px, 4vw, 64px);
  position: relative; z-index: 1;
  clip-path: polygon(0 var(--angle), 100% 0, 100% calc(100% - var(--angle)), 0 100%);
  margin-top: calc(-1 * var(--angle)); margin-bottom: calc(-1 * var(--angle));
}
.signature { padding-top: calc(clamp(48px, 6vw, 84px) + var(--angle)); padding-bottom: calc(clamp(48px, 6vw, 84px) + var(--angle)); }
.values { padding-top: calc(var(--section-y) + var(--angle)); padding-bottom: calc(var(--section-y) + var(--angle)); }
.roc-teaser { padding-top: calc(clamp(56px, 7vw, 96px) + var(--angle)); padding-bottom: calc(clamp(56px, 7vw, 96px) + var(--angle)); }

/* --------------------------------------------------------------------------
   DEPTH: large, faint outlined words behind a few sections (same style as "39 Years of
   Service"). A back layer behind the content; hidden from screen readers, ignores clicks.
   -------------------------------------------------------------------------- */
.ghost-host { position: relative; overflow: hidden; }
.ghost-host > .container { position: relative; z-index: 1; }
.ghost-word {
  position: absolute; top: clamp(18px, 3vw, 40px); right: -.04em; z-index: 0;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: clamp(80px, 14vw, 220px); line-height: .8; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px #D3C5AC; pointer-events: none; user-select: none;
}
.ghost-word--dark { -webkit-text-stroke-color: rgba(255, 255, 255, .09); }
.values.ghost-host .ghost-word { top: calc(var(--angle, 0px) + clamp(18px, 3vw, 40px)); }   /* clear the angled top edge */
.roc-intro .ghost-word { top: auto; bottom: -.2em; right: 50%; transform: translateX(50%); }   /* rises from the bottom edge, below the buttons, so it never sits behind the paragraph */
@media (max-width: 600px) { .ghost-word { font-size: 22vw; -webkit-text-stroke-width: 1px; } }
.ghost-host .awards__btn { background: var(--sand); position: relative; z-index: 1; }   /* solid buttons over the faint word */
.ghost-host .awards__btn:disabled { opacity: 1; color: #B4A991; border-color: #D3C5AC; }   /* faded look without see-through */

/* --------------------------------------------------------------------------
   DEPTH: overlapping sections. A few blocks become white cards that break across a
   section edge (pulled with negative margins, raised with z-index + shadow), so the
   page reads as layers instead of stacked strips. --overlap is how far each card crosses.
   -------------------------------------------------------------------------- */
:root { --overlap: clamp(36px, 5vw, 72px); }
.overlap-card { position: relative; z-index: 2; background: var(--white); border-radius: 10px;
  box-shadow: 0 2px 4px rgba(8, 1, 45, .05), 0 24px 50px -18px rgba(8, 1, 45, .35); }

/* 1. Featured In: card straddles Awards (sand) → Resources (white) */
.press { padding-bottom: 0; }
.press .container.overlap-card { padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 36px); margin-bottom: calc(-1 * var(--overlap)); }
.press.bg-sand + .media { padding-top: calc(var(--section-y) + var(--overlap)); }

/* 2. Closing message: card rides up over the angled terracotta ROC teaser */
.roc-teaser + .intro--closing { padding-top: 0; }   /* only the home-page closing card overlaps; the ROC page keeps its normal spacing */
.intro--closing .container.overlap-card { margin-top: calc(-1 * var(--overlap)); padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 64px); z-index: 3; }
.roc-teaser + .intro--closing .container.overlap-card { margin-top: calc(-1 * var(--overlap)); }

/* 3. ROC page: intro card overlaps the bottom of the hero photo */
.roc-intro { padding-top: 0; }
.roc-intro .container.overlap-card { margin-top: calc(-1 * (var(--overlap) + 24px)); padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 56px); }
.roc-hero__inner { padding-bottom: calc(clamp(48px, 7vw, 88px) + var(--overlap) + 24px); }
/* ROC intro hosts the ROCHESTER word (needs clipping) AND a card that rises above it (must not be clipped):
   clip only the sides and bottom, and lift the section above the hero's gradient layers. */
.roc-intro.ghost-host { overflow: visible; clip-path: inset(calc(-1 * (var(--overlap) + 80px)) 0 0 0); z-index: 3; }
.press, .intro--closing, .roc-intro { display: flow-root; }   /* keep the cards' negative margins inside their own section (no margin collapsing) */

/* --------------------------------------------------------------------------
   DEPTH: lighting on the solid color blocks, as if lit from the upper left.
   Navy: a soft sky-blue glow upper-left, deepening to a darker corner lower-right.
   Terracotta: never lightened (white body text needs its 4.85:1 contrast); it keeps its
   true color upper-left and deepens toward the lower-right, which reads as light + shadow.
   Layered under the existing diagonal-stripe texture. Static, decorative only.
   -------------------------------------------------------------------------- */
.panel--navy, .values, .hero-band, .site-footer .container {
  background-image:
    radial-gradient(ellipse 70% 60% at 12% 0%, rgba(0, 173, 239, .16), transparent 70%),
    radial-gradient(ellipse 80% 70% at 100% 100%, rgba(3, 0, 20, .55), transparent 70%);
}
.site-footer { background-image: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(0, 173, 239, .10), transparent 70%); }
.site-footer .container { background-image: none; }
.panel--alt, .signature, .roc-teaser {
  background-image:
    radial-gradient(ellipse 90% 80% at 100% 100%, rgba(70, 18, 4, .42), transparent 72%),
    linear-gradient(135deg, transparent 40%, rgba(60, 14, 2, .18));
}

/* --------------------------------------------------------------------------
   DEPTH: one shadow system. Four elevation levels, two layers each (a tight contact
   shadow + a soft ambient one), all tinted with the logo navy so they read as one light
   source. Rule: only clickable things lift on hover. Buttons keep their own raised style.
   -------------------------------------------------------------------------- */
:root {
  --elev-1: 0 1px 2px rgba(8, 1, 45, .08), 0 4px 10px -4px rgba(8, 1, 45, .16);         /* resting   */
  --elev-2: 0 2px 4px rgba(8, 1, 45, .06), 0 14px 30px -14px rgba(8, 1, 45, .32);        /* raised    */
  --elev-2-hover: 0 4px 8px rgba(8, 1, 45, .08), 0 24px 44px -18px rgba(8, 1, 45, .42);  /* raised, hovered */
  --elev-3: 0 2px 4px rgba(8, 1, 45, .06), 0 24px 50px -18px rgba(8, 1, 45, .38);        /* floating  */
  --elev-4: 0 4px 12px rgba(0, 0, 0, .18), 0 40px 90px -20px rgba(0, 0, 0, .6);          /* overlay   */
}
/* Level 1: resting */
.award-card__img--contain img { box-shadow: var(--elev-1); }
.roc-card__img { box-shadow: 0 0 0 2px var(--alt), var(--elev-1); }
/* Level 2: raised cards and tiles */
.award-card, .roc-card, .video-card a, .roc-gallery__item, .fb-strip img { box-shadow: var(--elev-2); }
.video-card a:hover, .video-card a:focus-visible { box-shadow: var(--elev-2-hover); }
.roc-card:hover { transform: none; box-shadow: var(--elev-2); }   /* not clickable, so no lift */
/* Level 3: floating UI */
.overlap-card, .nav .nav-sub, .nav .nav-sub--mega, .site-header.is-scrolled, .social-rail { box-shadow: var(--elev-3); }
@media (max-width: 820px) { .cred-label { box-shadow: var(--elev-3); } }
@media (max-width: 900px) { .nav .nav-sub { box-shadow: none; } }   /* inside the drawer it's an accordion, not a panel */
/* Level 4: overlays above everything */
.contact-modal__box, .video-modal__frame, .photo-modal__img { box-shadow: var(--elev-4); }
/* (the slide-out drawer keeps its own sideways shadow, since it enters from the right edge) */

/* --------------------------------------------------------------------------
   DEPTH: frosted-glass header once scrolled. The frost lives on a ::before layer, not the
   header itself: backdrop-filter on the header would make it the containing block for the
   position:fixed slide-out drawer and its backdrop (they'd shrink to the header's height).
   82% navy keeps white text ≥ 11:1 and the sky-blue links ≥ 4.5:1 even over white sections.
   -------------------------------------------------------------------------- */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(8, 1, 45, .97); opacity: 0; transition: opacity .25s ease;
}
.site-header.is-scrolled { background: transparent; }
.site-header.is-scrolled::before { opacity: 1; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before { background: rgba(8, 1, 45, .82); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
}
@media (prefers-reduced-transparency: reduce) { .site-header::before { background: rgba(8, 1, 45, .97); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* --------------------------------------------------------------------------
   SOCIAL RAIL on tablet + phone (previously hidden below 768px).
   601–820px: same vertical rail as desktop (38px wide below 768px so it clears the text).
   ≤600px: the same vertical rail, slimmed to 24px (Kim chose this over a bottom-corner pill).
   The drawer backdrop (inside the header, z-index 40) still dims it while the menu is open.
   -------------------------------------------------------------------------- */
@media (max-width: 820px) { .social-rail { display: flex; } }
@media (min-width: 601px) and (max-width: 767px) {
  .social-rail { width: 38px; }
  .social-rail a { width: 32px; height: 32px; }
  .split > .panel:first-child { padding-left: 52px; }
}
@media (max-width: 600px) {
  /* phones: same vertical rail on the left edge as desktop, slimmed to 24px so it fits inside
     the ~23px text margin instead of covering first letters; each link is still a 24x38px target */
  .social-rail { width: 24px; padding: 6px 0; gap: 0; border-radius: 0 5px 5px 0; }
  .social-rail a { width: 24px; height: 38px; }
  .social-rail svg { width: 14px; height: 14px; }
}

/* ==========================================================================
   LEGAL PAGES (privacy-policy.html, terms.html, accessibility.html)
   Navy hero with the panel lighting, then a readable single column on white.
   ========================================================================== */
.legal-wrap { width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.legal-hero { position: relative; color: var(--white); padding: clamp(130px, 16vw, 170px) 0 clamp(44px, 6vw, 72px);
  background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(0, 173, 239, .16), transparent 65%), var(--navy-deep); }
.legal-hero .eyebrow { display: block; color: var(--accent-light); margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(42px, 5.6vw, 76px); font-weight: 700; line-height: .95; color: var(--white); margin-bottom: 18px; }
.legal-hero__meta { font-size: 14px; letter-spacing: .03em; color: rgba(255, 255, 255, .75); margin: 0 0 26px; }
.legal-hero__intro { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 62ch; margin: 0; padding-left: 18px; border-left: 4px solid var(--alt); color: rgba(255, 255, 255, .92); }

.legal-body { padding: clamp(44px, 6vw, 80px) 0 var(--section-y); }
.legal-toc { background: var(--sand); border-left: 4px solid var(--accent); padding: 22px 26px 20px; margin-bottom: clamp(40px, 5vw, 56px); box-shadow: var(--elev-1); }
.legal-toc h2 { font-size: 17px; font-weight: 700; letter-spacing: .1em; margin-bottom: 12px; }
.legal-toc ol, .legal-toc ul { margin: 0; padding-left: 1.5em; columns: 2; column-gap: 36px; font-size: 15.5px; }
.legal-toc ul { list-style: disc; }
.legal-toc li { break-inside: avoid; padding: 4px 0; }
.legal-toc li::marker { color: var(--alt-deep); font-weight: 700; }
.legal-toc a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(14, 10, 60, .3); text-underline-offset: 3px; }
.legal-toc a:hover { text-decoration-color: currentColor; }

.legal-sec { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid #E8E1D4; scroll-margin-top: 96px; }
.legal-sec h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(25px, 2.6vw, 32px); font-weight: 600; margin-bottom: 16px; }
.legal-sec h2 .num { flex: none; font-size: .72em; font-weight: 700; letter-spacing: .06em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.legal-sec p, .legal-sec li, .legal-address { font-size: 17px; line-height: 1.7; max-width: 70ch; }
.legal-sec ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal-sec li { margin-bottom: 8px; padding-left: 4px; }
.legal-sec li::marker { color: var(--alt); }
.legal-sec .lbl { font-weight: 700; color: var(--navy); }
.legal-sec a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-sec > :last-child { margin-bottom: 0; }
.legal-callout { background: var(--sand); border-left: 4px solid var(--alt); padding: 16px 22px; margin: 0 0 1.2em; }
.legal-callout, .legal-address { width: fit-content; max-width: 100%; }
.legal-callout p { margin: 0; }
.legal-callout p + p { margin-top: .6em; }
.legal-address { font-style: normal; background: var(--gray-100); padding: 18px 22px; border-left: 4px solid var(--accent); }

.legal-related { margin-top: 20px; }
.legal-related h2 { font-size: 17px; font-weight: 700; letter-spacing: .1em; margin-bottom: 14px; }
.legal-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legal-related__card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--white); border: 1px solid #E8E1D4; border-top: 4px solid var(--navy); box-shadow: var(--elev-1); color: var(--navy); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.legal-related__card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--elev-2); border-top-color: var(--accent); }
.legal-related__title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 22px; line-height: 1.05; }

/* Story page (community-liaison.html): Moses's own account, built on the legal-page layout */
.story-figure { float: right; width: min(300px, 38%); margin: 4px 0 24px 40px; }
.story-figure img { width: 100%; height: auto; display: block; box-shadow: 14px 14px 0 var(--alt); }
.story-page .legal-sec { overflow: visible; }
.story-press { list-style: none !important; padding: 0 !important; clear: both; }
.story-press li { padding: 0 !important; margin: 0 !important; max-width: none !important; }
.story-press li::marker { content: none; }
.story-press a { display: block; padding: 14px 0; border-top: 1px solid var(--gray-300); color: var(--navy); font-weight: 600; text-decoration: none; line-height: 1.35; }
.story-press a::after { content: " \2197\FE0E"; content: " \2197\FE0E" / ""; color: var(--accent-text); }
.story-press a:hover { color: var(--accent-text); }
.story-press span { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--alt-deep); margin-bottom: 3px; }
@media (max-width: 600px) { .story-figure { float: none; width: 62%; margin: 0 0 32px; } }

/* 404 page: buttons under the intro, six page cards (two rows of three) */
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Footer legal links + newsletter note (all pages) */
.footer-bottom { align-items: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-legal a { display: inline-block; font-size: 13px; padding: 5px 0; min-height: 24px; }
.newsletter-note { margin: 10px 0 0; font-size: 13px !important; line-height: 1.5; }

@media (max-width: 600px) {
  .legal-toc { padding: 18px 18px 16px; }
  .legal-toc ol, .legal-toc ul { columns: 1; }
  .legal-related__grid { grid-template-columns: 1fr; }
  .legal-sec h2 { gap: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (min-width: 601px) and (max-width: 820px) {
  .legal-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .legal-related__card, .legal-related__card:hover { transition: none; transform: none; }
}

/* ==========================================================================
   ACCESSIBILITY AUDIT FIXES (WCAG 2.2 AA, October 2026)
   ========================================================================== */
/* 1.4.3: sky-blue text is only 3.9:1 on sand, so the contact form label uses terracotta-deep */
.contact-modal__intro .eyebrow--accent { color: var(--alt-deep); }

/* 1.4.1: links inside sentences are underlined, not shown by color alone */
main p a:not(.btn):not(.link-more), .site-footer p a, .form-note a, .newsletter-note a, .contact-side p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 2.2.2: Pause / Play pill for auto-advancing content (hero slideshow, credential circle) */
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 14px; border-radius: 999px; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: 13px; line-height: 1; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle__icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }   /* pause bars */
.motion-toggle[data-state="paused"] .motion-toggle__icon { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }   /* play triangle */
.hero__toggle { position: absolute; z-index: 3; right: var(--gutter); bottom: 18px; background: rgba(8, 1, 45, .78); color: var(--white); border: 1px solid rgba(255, 255, 255, .6); }
.hero__toggle:hover { background: var(--navy-deep); border-color: var(--white); }
.hero__toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero__inner { padding-bottom: 72px; }   /* room for the pause pill under the title */
.cred-toggle { position: absolute; left: var(--gutter); bottom: 40px; z-index: 3; background: var(--white); color: var(--navy); border: 1px solid #7A8194; }
.cred-toggle:hover { border-color: var(--navy); }
.cred-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 820px) {
  .cred-toggle { position: static; display: flex; margin: 22px auto 16px; }
  .cred-toggle[hidden] { display: none; }
}

/* 1.4.11 / 2.4.7: focus rings use --focus, picked per background so the ring is at least 3:1
   against what surrounds it: deep sky blue on white and sand (4.9 / 3.9), light blue on navy
   (11.9), white on terracotta (4.8). */
:root { --focus: var(--accent-text); }
.site-header, .hero, .hero-band, .panel--navy, .card, .values, .site-footer, .contact-side, .nav,
.video-modal, .photo-modal, .roc-hero, .legal-hero { --focus: var(--accent-light); }
.panel--alt, .signature, .roc-teaser, .nav-sub__feature { --focus: var(--white); }

/* 1.4.3 text over photos and terracotta, measured against the actual pixels behind the words */
/* Solid white on terracotta (4.8:1); the 88-90% whites measured 3.9-4.4:1 */
.panel--alt .eyebrow, .roc-teaser .eyebrow, .check-list--light li { color: var(--white); }
/* At the top of a page the header sits on the hero photo: a navy scrim behind it keeps the name,
   tagline, and links readable over bright parts of any photo. Fades out once .is-scrolled frosts in. */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -48px; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 1, 45, .9) 0%, rgba(8, 1, 45, .78) 55%, rgba(8, 1, 45, 0) 100%);
  transition: opacity .25s ease;
}
.site-header.is-scrolled::after { opacity: 0; }
/* Deeper shading where the hero title and ROC hero label sit */
.hero__bg::before { background: linear-gradient(180deg, rgba(8,1,45,.35) 0%, rgba(8,1,45,.15) 35%, rgba(8,1,45,.6) 60%, rgba(8,1,45,.85) 100%); }
.roc-hero__bg::before { background: linear-gradient(180deg, rgba(8,1,45,.6) 0%, rgba(8,1,45,.62) 22%, rgba(8,1,45,.84) 42%, rgba(8,1,45,.94) 100%); }
/* Video tile caption gets its own navy chip so it reads over any frame */
.hero-band__video .caption { background: rgba(8, 1, 45, .85); padding: 5px 9px; border-radius: 3px; }
/* ROC gallery captions: the fade finishes above the words, so the text always sits on 82%+ navy
   (measured 2.2:1 over bright photo areas before; 12:1+ after) */
.roc-gallery__item figcaption { background: linear-gradient(180deg, rgba(8,1,45,0) 0, rgba(8,1,45,.84) 26px, rgba(8,1,45,.9) 100%); }

/* Contact form: required markers, inline errors (3.3.1-3.3.3), focusable confirmations */
.form-req-note { font-size: 14px; color: var(--gray-500); margin: 0 0 18px; }
.field label .req { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--gray-500); }
.field-error { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #A3283A; }   /* 7:1 on white */
.field-error::before { content: "! "; font-weight: 700; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border: 2px solid #A3283A; }
.form-success:focus { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.newsletter-thanks { margin: 0; color: var(--accent-light); font-weight: 600; }
.newsletter-thanks:focus { outline: 2px solid var(--accent-light); outline-offset: 4px; }

/* ==========================================================================
   WIX FORMS (js/wix-forms.js renders the contact form and newsletter from Wix)
   ========================================================================== */
.wf-loading { color: var(--gray-500); font-size: 15px; margin: 0 0 18px; }
.wf-load-error, .wf-closed { margin: 0 0 18px; }
.field-help { margin: 4px 0 0; font-size: 14px; color: var(--gray-500); }
.form-step { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--accent-text); margin: 0 0 14px; }
.wf-form-error { margin: 0 0 14px; }
.wf-actions { margin-top: 4px; }
.field select[aria-invalid="true"], .checks input[aria-invalid="true"] { outline: 2px solid #A3283A; outline-offset: 1px; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; color: var(--ink); }
.field--check input { accent-color: var(--accent); margin-top: 3px; width: 18px; height: 18px; flex: none; }
.form-success p { margin: 0 0 .5em; }
.form-success p:first-child { font-weight: 700; }
.form-success p:last-child { margin-bottom: 0; }

/* Footer newsletter on navy: light text, light error color (11:1), roomy tick box */
.newsletter .field { margin: 10px 0 0; }
.newsletter .field--check label { color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.45; }
.newsletter .field--check label .req { color: rgba(255, 255, 255, .7); }
.newsletter .field--check input { width: 20px; height: 20px; margin-top: 1px; }
.site-footer .field-error { color: #FFC9BF; margin: 8px 0 0; }
.newsletter .wf-loading { color: rgba(255, 255, 255, .7); }

/* Phones: keep everything inside the screen width (WCAG 1.4.10 Reflow)
   - The carousels scroll sideways inside themselves. Making the track the containing block keeps
     absolutely positioned descendants (like the hidden "(opens in a new tab)" text in an off-screen
     card) inside its clipping, instead of stretching the whole page sideways.
   - The ROC intro lets its overlap card rise above the section (overflow visible), so its large
     background word is clipped sideways only. */
.awards__track { position: relative; }
.roc-intro.ghost-host { overflow-x: clip; }

/* Phones: when a heading has a word wider than its column beside the photo (tiny phones, or future
   wording), js/main.js adds .about--wide-heading and the heading runs full width under the photo,
   so words are never split or hyphenated. */
@media (max-width: 600px) {
  .about.about--wide-heading .about__img { grid-row: 1; }
  .about.about--wide-heading .container > div:not(.about__img) > .eyebrow { align-self: center; margin-bottom: 22px; }
  .about.about--wide-heading .container > div:not(.about__img) > h2 { grid-column: 1 / -1; grid-row: 2; }
}
