/* =========================================================================
   Baaj Security — stylesheet
   Built from Website/DESIGN.md (authoritative). Light is the default;
   dark (#0A0A0A) appears only on the hero and the charity block.
   ========================================================================= */

/* ---------- Fonts (self-hosted Inter, latin subset) ---------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-semibold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-bold.woff2") format("woff2");
}

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Colour — the only five (+ meta grey) */
  --black: #0A0A0A;
  --brass: #D0A85C;
  --brass-hover: #B8924D;
  --stone: #F4F2EC;
  --charcoal: #1F1F1F;
  --white: #FFFFFF;
  --grey-meta: #888888;
  --border-dark: rgba(255, 255, 255, 0.2); /* 1px borders on dark surfaces */

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --lh-body: 1.7;
  --lh-heading: 1.4;
  --lh-sub: 1.5;

  /* Spacing */
  --space-section: 120px;
  --space-section-compact: 80px;
  --space-block: 40px;
  --space-stack: 24px;
  --max-content: 1200px;
  --max-text: 680px;
  --gutter: 24px;

  --radius: 2px;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: var(--lh-body);
  color: var(--charcoal);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Visible keyboard focus (AA) */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  padding: 10px 16px;
  border: 1px solid var(--brass);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }

/* ---------- Typography --------------------------------------------------- */
h1, h2, h3 { line-height: var(--lh-heading); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 48px; letter-spacing: -0.02em; }
h2 { font-size: 32px; }
h3 { font-size: 22px; letter-spacing: -0.005em; }
p { line-height: var(--lh-body); }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
}

.hairline {
  width: 40px;
  height: 1px;
  background: var(--brass);
  border: 0;
  margin: var(--space-stack) 0;
}
.hairline--center { margin-left: auto; margin-right: auto; }

.brass-line { color: var(--brass); font-weight: 600; }

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

/* ---------- Layout ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); }
.section--compact { padding-block: var(--space-section-compact); }
.section--stone { background: var(--stone); color: var(--charcoal); }
.section--white { background: var(--white); color: var(--charcoal); }
.section--dark  { background: var(--black); color: var(--white); }

.text-col { max-width: var(--max-text); }
.text-col--center { margin-inline: auto; text-align: center; }
.stack > * + * { margin-top: var(--space-stack); }

/* Section header (40px brass hairline + H2) */
.section-head { margin-bottom: var(--space-block); }
.section-head--center { text-align: center; }
.section-head--center .hairline { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .hairline { margin-top: 0; margin-bottom: 20px; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background: var(--brass);
  color: var(--charcoal);   /* charcoal on brass — WCAG AA compliant */
  border: 1px solid var(--brass);
  padding: 14px 28px;
}
.btn--primary:hover { background: var(--brass-hover); border-color: var(--brass-hover); }

.btn--secondary {
  background: none;
  border: 0;
  padding: 14px 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.btn--secondary:hover { color: var(--brass); }
.btn--secondary svg { width: 16px; height: 16px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

/* ---------- Header ------------------------------------------------------- */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 80px;
}
.site-logo { display: inline-flex; align-items: center; gap: 12px; }
.site-logo__mark { height: 46px; width: auto; }
.site-logo__word { display: flex; flex-direction: column; line-height: 1; color: var(--white); }
.site-logo__word .lw-1 { font-weight: 700; font-size: 21px; letter-spacing: 0.04em; }
.site-logo__word .lw-2 { font-weight: 700; font-size: 11px; letter-spacing: 0.30em; margin-top: 4px; }

.primary-nav { margin-left: auto; }
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  font-size: 16px;
  font-weight: 400;
  padding: 8px 0;
  display: inline-block;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--brass); }

/* Services dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  color: inherit;
  padding: 8px 0;
}
.dropdown-toggle:hover { color: var(--brass); }
.dropdown-toggle .caret { transition: transform 0.15s ease; width: 10px; height: 10px; }
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: var(--black);
  border: 1px solid var(--border-dark);
  padding: 8px 0;
  display: none;
}
.dropdown-menu li a { display: block; padding: 10px 20px; font-size: 15px; }
.dropdown-menu li a:hover { color: var(--brass); background: rgba(255,255,255,0.04); }
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.dropdown-menu.is-open { display: block; }

/* Header phone + CTA */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; }
.header-phone:hover { color: var(--brass); }
.header-cta { font-size: 15px; padding: 12px 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  color: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Trust micro-bar --------------------------------------------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-size: 13px;
  color: var(--grey-meta);
}
.trust-bar li { display: inline-flex; align-items: center; gap: 10px; }
.trust-bar li + li::before {
  content: "·";
  color: var(--brass);
  margin-right: 10px;
}
.trust-bar--center { justify-content: center; }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--black);
  color: var(--white);
  overflow: hidden;
  /* When a hero photo exists, set it as the full background here:
       background-image: url('/assets/img/hero.jpg');
       background-size: cover; background-position: center;
     The ::before scrim keeps the headline legible; remove the ::after watermark. */
}
.hero::before {                 /* legibility scrim (only seen once a photo is set) */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  pointer-events: none;
}
.hero::after {                  /* faint brand watermark — placeholder until the photo lands */
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  width: min(46%, 540px);
  aspect-ratio: 381 / 400;
  background: url('/assets/img/logo-mark-reverse.png') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
/* Homepage hero: real photo background (WebP with JPEG fallback) */
.hero--home {
  background-image: url('/assets/img/hero.jpg');
  background-image: -webkit-image-set(url('/assets/img/hero.webp') type('image/webp'), url('/assets/img/hero.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/hero.webp') type('image/webp'), url('/assets/img/hero.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
}
.hero--home::after { display: none; } /* real photo present — no placeholder watermark */
.hero--area::after { display: none; } /* area pages have no hero image by design */
/* Service-page heroes show the hero photo as a placeholder until per-page photos exist */
.hero--service {
  background-image: url('/assets/img/hero.jpg');
  background-image: -webkit-image-set(url('/assets/img/hero.webp') type('image/webp'), url('/assets/img/hero.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/hero.webp') type('image/webp'), url('/assets/img/hero.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
}
.hero--service::after { display: none; }
/* Per-service hero photos (override the shared placeholder; cover/center inherited from .hero--service) */
.hero--property {
  background-image: url('/assets/img/svc-property.jpg');
  background-image: -webkit-image-set(url('/assets/img/svc-property.webp') type('image/webp'), url('/assets/img/svc-property.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/svc-property.webp') type('image/webp'), url('/assets/img/svc-property.jpg') type('image/jpeg'));
}
.hero--event {
  background-image: url('/assets/img/svc-event.jpg');
  background-image: -webkit-image-set(url('/assets/img/svc-event.webp') type('image/webp'), url('/assets/img/svc-event.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/svc-event.webp') type('image/webp'), url('/assets/img/svc-event.jpg') type('image/jpeg'));
}
.hero--foh {
  background-image: url('/assets/img/svc-foh.jpg');
  background-image: -webkit-image-set(url('/assets/img/svc-foh.webp') type('image/webp'), url('/assets/img/svc-foh.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/svc-foh.webp') type('image/webp'), url('/assets/img/svc-foh.jpg') type('image/jpeg'));
}
.hero--retail {
  background-image: url('/assets/img/svc-retail.jpg');
  background-image: -webkit-image-set(url('/assets/img/svc-retail.webp') type('image/webp'), url('/assets/img/svc-retail.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/svc-retail.webp') type('image/webp'), url('/assets/img/svc-retail.jpg') type('image/jpeg'));
}
.hero--nightwatch {
  background-image: url('/assets/img/svc-nightwatch.jpg');
  background-image: -webkit-image-set(url('/assets/img/svc-nightwatch.webp') type('image/webp'), url('/assets/img/svc-nightwatch.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/svc-nightwatch.webp') type('image/webp'), url('/assets/img/svc-nightwatch.jpg') type('image/jpeg'));
}
.hero--area { background-image: none; } /* fallback if an area page has no per-area photo */
/* Per-area hero photos (recognisable local scene; override .hero--area's none.
   cover/center inherited from .hero--service; the base .hero::before scrim keeps
   the white headline legible). */
.hero--london {
  background-image: url('/assets/img/area-london.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-london.webp') type('image/webp'), url('/assets/img/area-london.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-london.webp') type('image/webp'), url('/assets/img/area-london.jpg') type('image/jpeg'));
}
.hero--surrey {
  background-image: url('/assets/img/area-surrey.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-surrey.webp') type('image/webp'), url('/assets/img/area-surrey.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-surrey.webp') type('image/webp'), url('/assets/img/area-surrey.jpg') type('image/jpeg'));
}
.hero--buckinghamshire {
  background-image: url('/assets/img/area-buckinghamshire.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-buckinghamshire.webp') type('image/webp'), url('/assets/img/area-buckinghamshire.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-buckinghamshire.webp') type('image/webp'), url('/assets/img/area-buckinghamshire.jpg') type('image/jpeg'));
}
.hero--berkshire {
  background-image: url('/assets/img/area-berkshire.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-berkshire.webp') type('image/webp'), url('/assets/img/area-berkshire.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-berkshire.webp') type('image/webp'), url('/assets/img/area-berkshire.jpg') type('image/jpeg'));
}
.hero--hertfordshire {
  background-image: url('/assets/img/area-hertfordshire.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-hertfordshire.webp') type('image/webp'), url('/assets/img/area-hertfordshire.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-hertfordshire.webp') type('image/webp'), url('/assets/img/area-hertfordshire.jpg') type('image/jpeg'));
}
.hero--essex {
  background-image: url('/assets/img/area-essex.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-essex.webp') type('image/webp'), url('/assets/img/area-essex.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-essex.webp') type('image/webp'), url('/assets/img/area-essex.jpg') type('image/jpeg'));
}
.hero--kent {
  background-image: url('/assets/img/area-kent.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-kent.webp') type('image/webp'), url('/assets/img/area-kent.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-kent.webp') type('image/webp'), url('/assets/img/area-kent.jpg') type('image/jpeg'));
}
.hero--middlesex-heathrow {
  background-image: url('/assets/img/area-middlesex-heathrow.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-middlesex-heathrow.webp') type('image/webp'), url('/assets/img/area-middlesex-heathrow.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-middlesex-heathrow.webp') type('image/webp'), url('/assets/img/area-middlesex-heathrow.jpg') type('image/jpeg'));
}
.hero--nationwide {
  background-image: url('/assets/img/area-nationwide.jpg');
  background-image: -webkit-image-set(url('/assets/img/area-nationwide.webp') type('image/webp'), url('/assets/img/area-nationwide.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/img/area-nationwide.webp') type('image/webp'), url('/assets/img/area-nationwide.jpg') type('image/jpeg'));
}
.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-block: var(--space-section);
  min-height: min(86vh, 760px);
}
.hero__content { max-width: 720px; }
.hero h1 { color: var(--white); line-height: 1.15; }
.hero__subhead {
  font-size: 20px;
  line-height: var(--lh-sub);
  color: var(--white);
  max-width: 620px;
}
.hero .tagline {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}
.hero .hairline { margin-bottom: 20px; }
.hero .btn-row { margin-top: 32px; }
.hero .btn--secondary { color: var(--white); }
.hero .btn--secondary:hover { color: var(--brass); }
.hero .trust-bar { margin-top: 40px; }
/* Homepage hero: drop the trust credentials to the bottom band of the photo
   (darker there = more legible) while the headline group stays centred above. */
.hero--home .container { flex-direction: column; align-items: flex-start; padding-bottom: 44px; }
.hero--home .hero__content { width: 100%; margin-top: auto; }
.hero--home .trust-bar { margin-top: auto; margin-bottom: 0; color: rgba(255, 255, 255, 0.82); }

/* ---------- Cards: service grid ----------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.card--service {
  background: var(--stone);
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}
.card--service:hover { border-color: var(--brass); }
.card--service .card-icon { width: 24px; height: 24px; color: var(--charcoal); margin-bottom: 20px; }
.card--service h3 { margin-bottom: 12px; }
.card--service p { font-size: 15px; line-height: 1.6; }
.card--service .card-audience { font-size: 14px; color: var(--grey-meta); font-style: italic; margin-top: 8px; }
.card--service .hairline { width: 40px; margin: 20px 0 16px; }
.card--service .card-link {
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}
.card--service .card-link:hover { color: var(--brass); }

/* When the bottom 2 of a 3+2 grid should center, the markup uses a 6-col span trick */
@media (min-width: 769px) {
  .card-grid--3plus2 { grid-template-columns: repeat(6, 1fr); }
  .card-grid--3plus2 > .card--service { grid-column: span 2; }
  .card-grid--3plus2 > .card--service:nth-child(4) { grid-column: 2 / span 2; }
  .card-grid--3plus2 > .card--service:nth-child(5) { grid-column: 4 / span 2; }
}

/* ---------- Cards: testimonial ------------------------------------------ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.card--testimonial {
  background: var(--stone);   /* DESIGN.md default; on a white section this reads as a card */
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.section--stone .card--testimonial { background: var(--white); } /* keep contrast on stone sections */
.card--testimonial .quote-mark {
  font-size: 40px;
  line-height: 1;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 8px;
}
.card--testimonial blockquote {
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
}
.card--testimonial .hairline { margin: 24px 0; }
.card--testimonial .attribution { font-size: 14px; font-weight: 600; }
.card--testimonial .attribution span { display: block; font-weight: 400; font-size: 13px; color: var(--grey-meta); }

/* ---------- Charity block ------------------------------------------------ */
.charity { text-align: center; }
.charity .container { max-width: 720px; }
.charity .eyebrow { margin-bottom: 20px; }
.charity h2 { color: var(--white); margin-bottom: 16px; }
.charity p { color: var(--white); }
.charity .charity-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.charity .charity-link:hover { color: var(--brass-hover); }

/* ---------- Page hero (light, centred — About / FAQ / Contact / legal) -- */
.page-hero { text-align: center; }
.page-hero__inner { max-width: 800px; margin-inline: auto; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero__sub { font-size: 20px; line-height: var(--lh-sub); color: var(--charcoal); max-width: 680px; margin-inline: auto; }
.page-hero .hairline { margin: 24px auto 0; }
.page-hero .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Story image placeholder (About) — swap for a real photo ----- */
.story-photo {
  position: relative;
  width: 100%;
  border: 1px solid var(--charcoal);
  background: var(--stone);
  overflow: hidden;
  margin-bottom: var(--space-block);
}
.story-photo img { display: block; width: 100%; height: auto; }

/* ---------- Prose block (stacked standalone paragraphs) ----------------- */
.prose { max-width: var(--max-text); margin-inline: auto; }
.prose > * + * { margin-top: var(--space-stack); }
.prose .brass-line { margin-top: var(--space-block); }

/* ---------- Service-page hero (dark, compact, photo-ready) -------------- */
.hero--service .container { min-height: 0; }
.hero .eyebrow { margin-bottom: 16px; }

/* ---------- "What we cover" lists --------------------------------------- */
.cover-list-label { font-weight: 600; max-width: var(--max-text); margin: var(--space-block) auto 16px; }
.subtype-list {
  columns: 4;
  column-gap: var(--gutter);
  max-width: 920px;
  margin: 0 auto;
  list-style: none;
}
.subtype-list li {
  break-inside: avoid;
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 2;
}
.subtype-list li::before { content: "·"; color: var(--brass); position: absolute; left: 2px; font-weight: 700; }

.checklist { list-style: none; margin: 0; }
.checklist li { position: relative; padding-left: 18px; line-height: 1.7; }
.checklist li::before { content: "·"; color: var(--brass); position: absolute; left: 2px; font-weight: 700; }
.checklist li + li { margin-top: 8px; }

/* deep-dive sub-section inside "what we cover" */
.deepdive { max-width: var(--max-text); margin: var(--space-block) auto 0; }
.deepdive .hairline { margin: 0 0 16px; }
.deepdive h3 { font-size: 24px; margin-bottom: 14px; }
.deepdive p { margin-bottom: 16px; }
.deepdive .checklist { margin-top: 8px; }

/* ---------- Why work with Baaj — trust stack ---------------------------- */
.trust-stack { max-width: var(--max-text); margin-inline: auto; list-style: none; }
.trust-stack li { font-size: 16px; line-height: 1.6; }
.trust-stack li + li { margin-top: 20px; }
.trust-stack strong { display: block; font-size: 18px; margin-bottom: 4px; }

/* ---------- Urgent path block (dark, Event & Night Watch) --------------- */
.urgent { background: var(--black); color: var(--white); text-align: center; border-block: 1px solid var(--brass); }
.urgent .container { max-width: 600px; padding-block: 80px; }
.urgent .eyebrow { margin-bottom: 16px; }
.urgent h2 { color: var(--white); font-size: 28px; margin-bottom: 14px; }
.urgent p { color: var(--white); margin-bottom: 24px; }

/* ---------- Testimonial grid counts ------------------------------------- */
.testimonials--2 { grid-template-columns: repeat(2, 1fr); }
.testimonials--4 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Services hub: larger cards + two-link row -------------------- */
.card--hub h3 { font-size: 26px; }
.card--hub p { font-size: 16px; line-height: 1.65; }
.card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }
.card-links a { font-size: 14px; font-weight: 600; }
.card-links a:hover { color: var(--brass); }
.card-links .dot { color: var(--brass); }

/* ---------- Dark trust strip (services hub) ----------------------------- */
.trust-strip { background: var(--black); }
.trust-strip .container { padding-block: 36px; }
.trust-strip .trust-bar { justify-content: center; font-size: 14px; }

/* ---------- Contact cards ----------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.contact-card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card__icon { width: 28px; height: 28px; color: var(--brass); margin-bottom: 20px; }
.contact-card h3 { font-size: 22px; margin-bottom: 14px; }
.contact-card .contact-detail { font-weight: 700; color: var(--charcoal); margin-bottom: 14px; word-break: break-word; }
.contact-card .contact-detail--phone { font-size: 26px; }
.contact-card .contact-detail--email { font-size: 20px; }
a.contact-detail:hover { color: var(--brass); }
.contact-card p { font-size: 14px; color: var(--grey-meta); line-height: 1.6; }
.contact-card .btn { margin-top: 8px; }
.nap-line { font-weight: 600; text-align: center; }

/* ---------- FAQ category nav (sticky) ----------------------------------- */
.faq-nav { position: sticky; top: 80px; z-index: 50; background: var(--white); border-bottom: 1px solid rgba(31, 31, 31, 0.12); }
.faq-nav .container { display: flex; gap: 28px; overflow-x: auto; padding-block: 16px; -webkit-overflow-scrolling: touch; }
.faq-nav a { font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--charcoal); padding: 4px 0; border-bottom: 2px solid transparent; }
.faq-nav a:hover, .faq-nav a.is-active { color: var(--brass); border-bottom-color: var(--brass); }
.faq-cat { scroll-margin-top: 150px; }
.faq-cat .section-head .eyebrow { margin-bottom: 12px; }

/* ---------- Legal / long-form reading pages ----------------------------- */
.legal { max-width: var(--max-text); margin-inline: auto; }
.legal__lead p { line-height: 1.8; margin-bottom: var(--space-stack); }
.legal-section { margin-top: var(--space-block); }
.legal-section .num { display: block; color: var(--brass); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; margin-bottom: 6px; }
.legal-section h2 { font-size: 24px; margin-bottom: 16px; }
.legal-section h3 { font-size: 18px; margin: 20px 0 8px; }
.legal-section p { line-height: 1.8; margin-bottom: 16px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul.checklist { margin: 0 0 16px; }
.legal-links { margin-top: var(--space-section-compact); padding-top: 24px; border-top: 1px solid rgba(31, 31, 31, 0.12); font-size: 15px; }
.legal-links a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover { color: var(--brass); }

/* ---------- Accordion (FAQ) — native <details>, no JS required ---------- */
.faq { max-width: var(--max-text); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--charcoal); }
.faq__q {                          /* <summary> */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-size: 19px; font-weight: 600; line-height: var(--lh-sub); letter-spacing: 0; }
.faq__icon {                       /* brass "+" that rotates to "×" when open */
  flex: none;
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 0.18s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--brass);
  left: 50%; top: 50%;
}
.faq__icon::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a-inner { padding-top: 16px; padding-bottom: 32px; }
.faq__a-inner .hairline { margin: 0 0 16px; }
.faq__a-inner p { font-size: 16px; }

/* ---------- Form --------------------------------------------------------- */
.form { max-width: 720px; margin-inline: auto; }
.form .field { margin-bottom: 20px; }
.form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form label .req { color: var(--brass); }
.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--charcoal);
  border-radius: 0;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--charcoal);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input::placeholder,
.form textarea::placeholder { color: var(--grey-meta); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 2px rgba(208, 168, 92, 0.2);
}
.form .field--check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form .field--check input { width: auto; margin-top: 3px; }
.form .field--check label { margin-bottom: 0; }
.form .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .form-submit { margin-top: 8px; }
.form-sub { color: var(--grey-meta); margin-bottom: var(--space-block); }
.form-status { margin-top: 20px; font-weight: 600; color: var(--charcoal); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); }
.form-grid .field--full { grid-column: 1 / -1; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: 80px;
  padding-bottom: 40px;
}
.footer-cols {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-brand { display: inline-block; padding: 0; }
.footer-brand img { height: 160px; width: auto; }
.footer-cols h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.footer-cols a { font-size: 14px; display: inline-block; padding: 6px 0; }
.footer-cols a:hover { color: var(--brass); }
.footer-divider { height: 1px; background: var(--brass); border: 0; margin-bottom: 24px; }
.footer-meta {
  font-size: 12px;
  color: var(--grey-meta);
  line-height: 1.8;
}
.footer-meta a { color: var(--grey-meta); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--brass); }

/* =========================================================================
   Responsive — mobile-first overrides below the 768px breakpoint
   ========================================================================= */
@media (max-width: 768px) {
  :root {
    --space-section: 80px;
    --space-section-compact: 60px;
    --gutter: 16px;
  }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  body { font-size: 16px; }

  .site-header .container { height: 64px; gap: 10px; }
  .site-logo { gap: 9px; }
  .site-logo__mark { height: 34px; }
  .site-logo__word .lw-1 { font-size: 16px; }
  .site-logo__word .lw-2 { font-size: 9px; letter-spacing: 0.26em; margin-top: 3px; }

  /* Collapse inline nav into a slide-down panel */
  .nav-toggle { display: inline-flex; order: 5; margin-left: 4px; }
  .header-phone .phone-text { display: none; }      /* icon-only tap target on mobile */
  .header-phone { padding: 10px; margin-left: auto; }
  .header-cta { padding: 10px 14px; }

  .primary-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    border-top: 1px solid var(--border-dark);
    margin: 0;
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
  }
  .primary-nav > ul > li { border-bottom: 1px solid var(--border-dark); }
  .primary-nav a, .dropdown-toggle { padding: 16px 0; width: 100%; font-size: 17px; }
  .dropdown-toggle { justify-content: space-between; }
  .dropdown-menu {
    position: static;
    border: 0;
    min-width: 0;
    padding: 0 0 12px;
    background: none;
  }
  .dropdown-menu li a { padding: 12px 16px; }
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu { display: none; } /* mobile uses click only */
  .dropdown-menu.is-open { display: block; }

  .hero .container { min-height: auto; }
  .hero::after { width: 70%; opacity: 0.045; }
  .hero__subhead { font-size: 18px; }

  .card-grid, .card-grid--3plus2 { grid-template-columns: 1fr; }
  .testimonials, .testimonials--2, .testimonials--4 { grid-template-columns: 1fr; }
  .subtype-list { columns: 2; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand img { height: 120px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .faq-nav { top: 64px; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .card-grid, .card-grid--3plus2 { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   Motion — restrained, premium, GPU-cheap (opacity + transform only).
   Everything is a progressive enhancement: with no motion preference,
   no scroll-timeline support, or no JS, all content is fully visible.
   ========================================================================= */
@keyframes baaj-fade-up   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes baaj-fade-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance — soft fade-up of the hero content, every browser */
  .hero__content,
  .page-hero__inner { animation: baaj-fade-up 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

  /* Menu + dropdown ease-in */
  .primary-nav.is-open { animation: baaj-fade-down 0.22s ease both; }
  .dropdown-menu.is-open,
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu { animation: baaj-fade-down 0.16s ease both; }

  /* Scroll reveals — JS-driven (IntersectionObserver in app.js) so they run in
     EVERY browser, not only those with scroll-timeline support. The hidden start
     state applies only when JS is on (html.has-js is set by an inline <head>
     script before first paint, so there's no flash). No JS ⇒ class never added ⇒
     content is fully visible. Reduced-motion users skip this whole @media block. */
  html.has-js :is(.section-head, .card-grid > *, .testimonials > *, .contact-cards > *,
                  .deepdive, .trust-stack > li, .subtype-list, .story-photo,
                  .legal-section, .prose, .faq__item) {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  html.has-js :is(.section-head, .card-grid > *, .testimonials > *, .contact-cards > *,
                  .deepdive, .trust-stack > li, .subtype-list, .story-photo,
                  .legal-section, .prose, .faq__item).is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Sticky header gains a subtle separation once the page is scrolled */
.site-header { transition: box-shadow 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); }

/* Service / hub card hover — the barely-there lift-free shadow DESIGN.md allows */
.card--service { transition: border-color 0.15s ease, box-shadow 0.25s ease; }
.card--service:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
