/* Erickson Search: shared styles */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  src: url('../fonts/sofia-sans-condensed-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Dark scale built around the logo black. Accents sampled from the logo. */
  --bg-black: #000000;
  --bg-deep: #07090A;
  --bg-panel: #0E1113;
  --bg-card: #14181B;
  --bg-card-hover: #1A1F23;
  --line: rgba(170, 171, 163, 0.14);
  --line-strong: rgba(170, 171, 163, 0.28);
  --gold: #E9CA6C;
  --gold-hover: #F5DA8A;
  --silver: #AAABA3;
  --text-light: #F4F5F2;
  --text-mid: #A9AFA9;
  --text-dim: #7E857F;
  /* functional only: field-level validation errors (AA on card) */
  --error: #F2A39B;

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 100px;

  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'Sofia Sans Condensed', 'DM Sans', ui-sans-serif, sans-serif;

  /* no heavy drop shadows on dark: hairlines and faint silver glows */
  --shadow-sm: 0 0 0 1px var(--line);
  --shadow-md: 0 0 0 1px var(--line), 0 0 32px -16px rgba(170, 171, 163, 0.14);
  --shadow-lg: 0 0 0 1px var(--line), 0 0 60px -28px rgba(170, 171, 163, 0.18);
  --glow-hover: 0 0 0 1px var(--line-strong), 0 0 24px -8px rgba(170, 171, 163, 0.22);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(56px, 9vw, 120px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  caret-color: var(--gold);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hover); }
::selection { background: rgba(233, 202, 108, 0.3); color: var(--text-light); }
:root { --focus-ring: #E9CA6C; --focus-inner: #07090A; }
/* Focus: 2px gold outline at 2px offset, plus a #07090A inner ring filling the offset gap so
   the indicator stays visible against gold buttons. Outline carries it; box-shadow only adds the inner ring. */
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-inner); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring) !important; outline-offset: 2px !important; box-shadow: 0 0 0 2px var(--focus-inner) !important;
}
html { scrollbar-color: rgba(170, 171, 163, 0.32) var(--bg-deep); }

h1, h2, h3, h4 { color: var(--text-light); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: #000; padding: 12px 20px; border-radius: var(--radius-pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #000; }

/* Labels (Fivenson rhythm: eyebrow + micro label) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.95rem; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow .num {
  display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px;
  border-radius: var(--radius-pill); background: rgba(233, 202, 108, 0.1); border: 1px solid rgba(233, 202, 108, 0.32); color: var(--gold); font-size: 0.85rem;
}
.micro {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.82rem; color: var(--silver);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--radius-pill);
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out), border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: #000; transform: translateY(-1px); box-shadow: 0 0 22px -6px rgba(233, 202, 108, 0.45); }
.btn-secondary { background: transparent; color: var(--silver); border-color: var(--silver); }
.btn-secondary:hover { background: rgba(170, 171, 163, 0.08); border-color: var(--silver); color: var(--text-light); transform: translateY(-1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-block: 14px;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out), padding .3s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(7, 9, 10, 0.86);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--line);
  padding-block: 8px;
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: none; border-radius: 6px; overflow: hidden; background: var(--bg-black); box-shadow: 0 0 0 1px var(--line-strong); }
.brand img { width: 136px; height: auto; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill);
  color: var(--text-light); font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.primary-nav a:hover { background: rgba(170, 171, 163, 0.1); color: var(--text-light); }
.primary-nav a[aria-current="page"] { color: var(--gold); background: rgba(233, 202, 108, 0.08); box-shadow: inset 0 0 0 1px rgba(233, 202, 108, 0.3); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text-light); font-weight: 700;
  text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.header-phone svg { width: 18px; height: 18px; color: var(--silver); }
.header-phone:hover { color: var(--gold); }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-card); color: var(--silver); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 6px);
    background: var(--bg-panel); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
    padding: 12px; display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; }
  .primary-nav a { width: 100%; min-height: 52px; font-size: 1.1rem; padding: 0 18px; }
  .primary-nav .nav-extra { display: flex; flex-direction: column; gap: 10px; padding: 12px 6px 6px; border-top: 1px solid var(--line); margin-top: 8px; }
  .primary-nav .nav-extra .btn { width: 100%; }
  .site-header .header-inner { position: relative; }
}
@media (min-width: 901px) { .nav-extra { display: none; } }
/* Without JS the menu is simply shown inline */
.no-js .nav-toggle { display: none; }
@media (max-width: 900px) {
  .no-js .primary-nav { display: block; position: static; box-shadow: none; background: transparent; padding: 0; }
  .no-js .header-inner { flex-wrap: wrap; }
}

/* Sections */
.section { padding-block: var(--section-y); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p.lede { margin-top: 20px; color: var(--text-mid); font-size: 1.15rem; max-width: 62ch; }
.section-head.split { max-width: none; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.2fr 1fr; } .section-head.split p.lede { margin-top: 0; } }
.panel {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 72px);
}
.panel-wrap { padding-inline: clamp(8px, 2vw, 24px); }

/* Hero */
.hero { padding-top: clamp(8px, 2vw, 20px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: clamp(560px, 78vh, 760px);
  display: grid; align-items: center; isolation: isolate;
  border: 1px solid var(--line);
  background: var(--bg-black);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media { background-color: rgba(233, 202, 108, 0.06); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; filter: grayscale(0.55) brightness(0.72) contrast(1.06); }
/* warm multiply overlay: photo reads black/amber, not teal */
.hero-media::after { content: ""; position: absolute; inset: 0; background-color: rgba(233, 202, 108, 0.06); mix-blend-mode: multiply; pointer-events: none; }
/* The 6% multiply alone leaves the sky teal; a low-alpha gold 'color' blend pulls the residual hue to amber. */
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background-color: rgba(233, 202, 108, 0.38); mix-blend-mode: color; pointer-events: none; }
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, #07090A 0%, rgba(7, 9, 10, 0.94) 34%, rgba(7, 9, 10, 0.6) 52%, rgba(7, 9, 10, 0) 68%);
}
.hero-copy { padding: clamp(32px, 6vw, 80px); max-width: 720px; }
.hero h1 .line-2 { display: block; font-weight: 500; color: var(--text-mid); letter-spacing: -0.03em; }
.hero h1 .underline {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-size: 100% 0.11em; background-position: 0 92%;
  padding-bottom: 0.04em;
}
.hero-sub { margin-top: 26px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-light); max-width: 56ch; }
.hero-sub + .hero-sub { margin-top: 12px; color: var(--text-mid); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-strip {
  list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.trust-strip li {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  font-size: .88rem; color: var(--silver);
}
.star { width: 14px; height: 14px; color: var(--gold); flex: none; }
/* Where copy overlays the photo (desktop), the scrim thins toward the right edge of the
   copy column; measured, mid-gray and silver drop below AA there, so use light text. */
@media (min-width: 761px) {
  .hero-sub + .hero-sub, .trust-strip li { color: var(--text-light); }
}

/* Mid widths: the copy column covers more of the photo, so the scrim reaches further. */
@media (min-width: 761px) and (max-width: 1279px) {
  .hero-frame::before { background: linear-gradient(90deg, #07090A 0%, rgba(7, 9, 10, 0.95) 48%, rgba(7, 9, 10, 0.78) 66%, rgba(7, 9, 10, 0.2) 88%, rgba(7, 9, 10, 0) 100%); }
}
@media (max-width: 760px) {
  .hero-frame { min-height: 0; display: flex; flex-direction: column; background: var(--bg-black); }
  .hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3; order: -1; }
  .hero-media img { object-position: 78% 40%; }
  .hero-frame::before { display: none; }
  .hero-copy { padding: 28px 22px 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: hero-settle 1.6s var(--ease-out) both; }
  @keyframes hero-settle { from { transform: scale(1.06); filter: grayscale(0.55) brightness(0.72) contrast(1.06) blur(2px); } to { transform: none; filter: grayscale(0.55) brightness(0.72) contrast(1.06); } }
}

/* Snapshot band */
.snapshot { display: grid; gap: 0; }
.snapshot-item { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.snapshot-item:first-child { border-top: 0; }
.snapshot-item p { color: var(--text-mid); }
@media (min-width: 760px) {
  .snapshot { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .snapshot-item:nth-child(2) { border-top: 0; }
}
@media (min-width: 1100px) {
  .snapshot { grid-template-columns: repeat(5, 1fr); column-gap: 0; }
  .snapshot-item { border-top: 0; border-left: 1px solid var(--line); padding: 4px 28px; }
  .snapshot-item:first-child { border-left: 0; padding-left: 0; }
}

/* Services */
.services { display: grid; gap: 20px; }
@media (min-width: 960px) { .services { grid-template-columns: 1.25fr 1fr 1fr; } }
.service {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out), background-color .3s, border-color .3s;
}
.service:hover { background: var(--bg-card-hover); box-shadow: var(--glow-hover); transform: translateY(-2px); }
.service.is-lead { background: var(--bg-black); border-color: rgba(233, 202, 108, 0.3); }
.service.is-lead h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.service p { color: var(--text-mid); }
.chips { list-style: none; margin: auto 0 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: var(--radius-pill);
  background: transparent; border: 1px solid var(--line-strong); color: var(--silver); font-size: .88rem; font-weight: 600;
}
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold);
  text-decoration: none; min-height: 44px;
}
.text-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; color: var(--gold-hover); }

/* Why Erickson */
.why { display: grid; gap: 20px; }
@media (min-width: 900px) { .why { grid-template-columns: repeat(12, 1fr); } }
.why-item {
  border-radius: var(--radius-md); padding: clamp(26px, 3vw, 40px); background: var(--bg-card); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.why-item p { color: var(--text-mid); }
.why-item blockquote { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line-strong); color: var(--text-light); font-style: italic; }
@media (min-width: 900px) {
  .why-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .why-item:nth-child(2) { grid-column: span 5; }
  .why-item:nth-child(3) { grid-column: span 5; }

}
.why-item.is-feature { background: var(--bg-black); border-color: rgba(233, 202, 108, 0.3); justify-content: space-between; position: relative; overflow: hidden; }
.why-item.is-feature h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; }
.cpc-mark {
  display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid var(--line-strong); font-family: var(--font-label); font-weight: 600;
  letter-spacing: .08em; font-size: 1.3rem; color: var(--text-light); position: relative;
}
.cpc-mark .star { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; }

/* Who we place */
.ladder { display: grid; gap: 28px; }
@media (min-width: 900px) { .ladder { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ladder-group { background: var(--bg-card); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.ladder-group h3 { margin-bottom: 18px; }
.ladder-list { list-style: none; margin: 0; padding: 0; }
.ladder-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--text-light); font-size: 1.08rem;
}
.ladder-list li:first-child { border-top: 0; }
.ladder-list .micro { font-size: .78rem; }

/* Industries */
.industries { display: grid; gap: 20px; }
@media (min-width: 700px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .industries { grid-template-columns: repeat(3, 1fr); } }
.industry {
  position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-black);
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  border: 1px solid var(--line); transition: box-shadow .3s var(--ease-out);
}
.industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.industry img { filter: grayscale(0.7) brightness(0.68); }
.industry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(233, 202, 108, 0); mix-blend-mode: multiply; transition: background-color .4s var(--ease-out); pointer-events: none; }
.industry:hover::before { background: rgba(233, 202, 108, 0.16); }
.industry:hover { box-shadow: var(--glow-hover); }
.industry:hover img { transform: scale(1.04); }
.industry::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.1) 0%, rgba(7, 9, 10, 0.62) 42%, rgba(7, 9, 10, 0.94) 76%);
}
.industry-body { padding: clamp(22px, 3vw, 32px); display: grid; gap: 8px; }
.industry-body p { color: var(--text-light); max-width: 46ch; }
/* Title-only cards: the grayscale/brightness filter already darkens the photo, so keep the scrim to the bottom third. */
.industry:not(:has(.industry-body p:not(.micro)))::after { background: linear-gradient(180deg, rgba(7, 9, 10, 0) 0%, rgba(7, 9, 10, 0.15) 45%, rgba(7, 9, 10, 0.88) 88%); }
/* Cards that carry body copy get a deeper scrim so the sentence clears AA over bright photos. */
.industry:has(.industry-body p:not(.micro))::after { background: linear-gradient(180deg, rgba(7, 9, 10, 0.35) 0%, rgba(7, 9, 10, 0.82) 30%, rgba(7, 9, 10, 0.95) 60%); }
.flag-note { font-size: .82rem; color: var(--text-mid); font-style: italic; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .process { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--bg-card); border-radius: var(--radius-md); padding: 28px; display: grid; gap: 10px;
  align-content: start; border: 1px solid var(--line); transition: box-shadow .3s var(--ease-out), background-color .3s;
}
.step:hover { background: var(--bg-card-hover); box-shadow: var(--glow-hover); }
.step-num {
  font-family: var(--font-label); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.step p { color: var(--text-mid); }

/* Roles */
.role-card {
  background: var(--bg-card); border-radius: var(--radius-md); padding: clamp(24px, 3.5vw, 40px);
  display: grid; gap: 18px; border: 1px solid var(--line);
}
@media (min-width: 860px) { .role-card { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } }
.role-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.role-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 12px; }
.role-card p { color: var(--text-mid); }
.role-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(233, 202, 108, 0.16); }
.empty-state {
  border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: 40px; text-align: center; color: var(--text-mid);
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq-item { background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; }
.faq-item h3 { font-size: 1.1rem; }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 1.1rem/1.35 var(--font-body); color: var(--text-light); min-height: 64px;
}
.faq-trigger:hover { background: var(--bg-card-hover); }
/* FAQ items clip overflow, so draw the ring inside the button: gold at -4px, dark ring outside it. */
.faq-item .faq-trigger:focus-visible { outline-offset: -4px !important; box-shadow: inset 0 0 0 2px var(--focus-inner) !important; }
.faq-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-deep); border: 1px solid var(--line-strong); color: var(--silver); display: grid; place-items: center;
  transition: transform .3s var(--ease-out), background-color .3s;
}
.faq-icon svg { width: 16px; height: 16px; }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: #000; }
.faq-panel { padding: 0 24px 22px; color: var(--text-mid); max-width: 70ch; }
.faq-panel[hidden] { display: none; }

/* CTA band */
.cta-band {
  background: var(--bg-black); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 88px);
  display: grid; gap: 28px; position: relative; overflow: hidden; isolation: isolate;
}
.cta-band::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(233, 202, 108, 0.12), rgba(233, 202, 108, 0));
}
.cta-band h2 { max-width: 18ch; }
.cta-band p { font-size: 1.15rem; max-width: 52ch; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: end; } .cta-band .hero-actions { justify-content: flex-end; margin-top: 0; } }

/* Contact */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.form-card { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.info-card {
  background: var(--bg-black); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  display: grid; gap: 26px;
}
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--line); display: grid; place-items: center; }
.info-icon svg { width: 20px; height: 20px; color: var(--silver); }
.info-list a, .info-list address { color: var(--text-light); font-style: normal; font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--gold); }
.prefer-call { padding-top: 22px; border-top: 1px solid var(--line); }
.prefer-call p { margin-bottom: 14px; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; color: var(--text-light); font-size: .98rem; }
.field .req { color: var(--text-mid); font-weight: 500; font-size: .88rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(170, 171, 163, 0.4);
  background: var(--bg-card); font: 400 1rem/1.4 var(--font-body); color: var(--text-light);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); opacity: 1; }
.field select option { background: var(--bg-card); color: var(--text-light); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--silver); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-inner); border-color: var(--gold); background: var(--bg-card-hover); }
.field [aria-invalid="true"], .field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; font-weight: 600; }
.field-error:empty { display: none; }
.field .hint { color: var(--text-mid); font-size: .9rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.segmented { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.segmented label {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px;
  border: 1px solid rgba(170, 171, 163, 0.4); border-radius: var(--radius-pill); cursor: pointer; font-weight: 600; color: var(--text-light);
  background: var(--bg-card);
}
.segmented input { color: var(--text-light); accent-color: var(--gold); width: 18px; height: 18px; margin: 0; }
.segmented label:has(input:checked) { border-color: var(--gold); background: rgba(233, 202, 108, 0.08); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-inner); }
.segmented input:focus-visible { outline: 0 !important; box-shadow: none !important; }

.dropzone {
  position: relative; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 28px 20px;
  text-align: center; background: var(--bg-card); border-color: rgba(170, 171, 163, 0.4); transition: border-color .2s, background-color .2s;
}
.dropzone.is-over { border-color: var(--gold); background: rgba(233, 202, 108, 0.06); }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-inner); }
.dropzone input[type="file"]:focus-visible { outline: 0 !important; box-shadow: none !important; }
.dropzone svg { width: 32px; height: 32px; color: var(--silver); margin: 0 auto 10px; }
.dropzone strong { color: var(--text-light); display: block; }
.dropzone .hint { display: block; margin-top: 6px; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; text-align: left; }
.file-list li { font-size: .92rem; color: var(--text-light); font-weight: 600; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; overflow-wrap: anywhere; }

.form-status {
  border-radius: var(--radius-sm); padding: 16px 18px; background: var(--bg-card); border: 1px solid var(--gold); color: var(--text-light); font-weight: 600;
}
.form-status[hidden] { display: none; }
.form-status a { color: var(--gold); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form-foot small { color: var(--text-mid); max-width: 44ch; }

/* Page hero (interior) */
.page-hero { padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero .lede { margin-top: 20px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--text-mid); max-width: 60ch; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); max-width: 16ch; }

/* Prose */
.prose { max-width: 70ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--silver); }

.about-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-block { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 52px); display: grid; gap: 16px; align-content: start; }
.about-block p { color: var(--text-mid); }
.about-block.is-wide { grid-column: 1 / -1; }
.about-block.is-navy { background: var(--bg-black); border-color: rgba(233, 202, 108, 0.3); }
.about-block h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.media-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.media-card img { filter: grayscale(0.7) brightness(0.68); }
.role-media { margin-bottom: 20px; }
.media-card.role-media img { aspect-ratio: 21 / 8; }
@media (max-width: 700px) { .media-card.role-media img { aspect-ratio: 16 / 9; } }
.media-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.naps-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.naps-row img { width: 180px; height: auto; background: var(--text-light); border-radius: 12px; padding: 10px; }
.verbatim-note { font-size: .88rem; color: var(--text-dim); }

.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts-list li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; color: var(--text-light); font-size: 1.08rem; }
.facts-list .star { transform: translateY(1px); }

/* Footer */
.site-footer { background: var(--bg-black); color: var(--text-mid); border-top: 1px solid var(--line); margin-top: var(--section-y); padding-block: clamp(48px, 7vw, 88px) 32px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.site-footer h2 { color: var(--silver); font-size: 1rem; margin-bottom: 16px; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--text-light); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-brand img { width: 150px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line-strong); }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.naps-attr { display: grid; gap: 14px; }
.naps-attr img { width: 150px; background: var(--text-light); border-radius: 10px; padding: 8px; }
.naps-attr p { font-size: .92rem; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .92rem; }

/* Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stack-lg > * + * { margin-top: clamp(20px, 3vw, 32px); }
.mt-lg { margin-top: clamp(28px, 4vw, 48px); }

/* Review fixes */
.snapshot-item { align-content: start; }
.info-list a, .info-list address { font-size: clamp(0.98rem, 4.2vw, 1.08rem); overflow-wrap: normal; word-break: normal; }
.info-list a[href^="mailto"] { overflow-wrap: anywhere; }
.site-footer { margin-top: clamp(16px, 3vw, 40px); }
@media (max-width: 400px) { .info-card { padding-inline: 22px; } .info-list li { grid-template-columns: 40px 1fr; gap: 12px; } .info-icon { width: 40px; height: 40px; } }
/* mobile nav buttons keep the global button treatment (no pill hover from nav links) */
.primary-nav .nav-extra .btn-primary, .primary-nav .nav-extra .btn-primary:hover { color: #000; }
.primary-nav .nav-extra .btn-primary:hover { background: var(--gold-hover); }
.primary-nav .nav-extra .btn-secondary { color: var(--silver); }
.primary-nav .nav-extra .btn-secondary:hover { background: rgba(170, 171, 163, 0.08); color: var(--text-light); }

/* Label colors must win over container rules like `.about-block p` / `.service p` (same specificity, later wins) */
p.eyebrow { color: var(--gold); }
p.micro, dt.micro { color: var(--silver); }

/* Round 4 layout repair */
/* Careers "Where we focus": one panel, three columns side by side */
.focus-cols { display: grid; gap: 28px; }
.focus-col { display: grid; gap: 14px; align-content: start; }
.focus-col + .focus-col { padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .focus-cols { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .focus-col { padding-inline: clamp(24px, 3vw, 40px); }
  .focus-col:first-child { padding-left: 0; }
  .focus-col + .focus-col { padding-top: 0; border-top: 0; border-left: 1px solid var(--line); }
}

/* Who we place: both cards share one grid; rows (label, title, list, note) align across cards */
.ladder-group { display: grid; gap: 6px; align-content: start; }
.ladder-group h3 { margin-bottom: 12px; }
.ladder-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-mid); }
@media (min-width: 900px) {
  .ladder { grid-template-rows: auto auto auto 1fr; row-gap: 0; }
  .ladder-group { grid-row: span 4; grid-template-rows: subgrid; gap: 0; }
  .ladder-group > .micro { margin-bottom: 6px; }
}

/* Careers H1: long sourced form on wide screens (two lines), short form on phones */
.page-hero h1.h1-long { max-width: none; font-size: clamp(2.4rem, 3.4vw, 3.1rem); line-height: 1.08; }
.h1-long .h1-line { display: block; }
.h1-long .h1-mobile { display: none; }
@media (max-width: 1099px) {
  .h1-long .h1-line { display: inline; }
}
@media (max-width: 699px) {
  .page-hero h1.h1-long { font-size: clamp(2.4rem, 9vw, 3rem); }
  .h1-long .h1-desktop { display: none; }
  .h1-long .h1-mobile { display: inline; }
}

/* Trust strip on phones: two-column grid, no orphaned glyphs */
@media (max-width: 760px) {
  .trust-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .trust-strip li { white-space: nowrap; }
}

/* Open Roles: visible singular heading */
.list-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 20px; }

/* Home snapshot: weight the five columns by content length so line counts stay balanced */
@media (min-width: 1100px) {
  .snapshot { grid-template-columns: 1fr 1.45fr 0.9fr 2.05fr 0.9fr; }
  .snapshot-item { padding-inline: 22px; }
}

/* Contact: info card matches the form's height; the call block anchors to the bottom edge */
@media (min-width: 960px) {
  .contact-grid > .info-card { align-self: stretch; grid-template-rows: auto auto 1fr; }
  .contact-grid > .info-card .prefer-call { align-self: end; }
}
