/* =====================================================================
   picks-r2/_shared.css
   Self-contained baseline for the 5 home variants + the readiness page.
   Recipe: D3 colour logic + D3 typographic voice + cinematic hero primitives
   + horizontal mega-menu (fjdynamics-inspired) + wf-3 oversized type primitives.
   No PHP, no @imports of /designs/ — preview-ready as static HTML.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Anton&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@500;600&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { text-decoration: none; color: inherit; }

/* ===== TOKENS (D3 colour logic, locked palette) ===== */
:root {
  /* Brand palette */
  --navy: #072956;
  --navy-deep: #051A39;
  --navy-bar: #0A2440;        /* slightly cooler navy for chrome bars (D3) */
  --yellow: #F4C430;
  --yellow-warm: #E0B520;
  --yellow-deep: #C99100;
  --slate: #6E7C8A;
  --slate-soft: #B7BFC8;
  --paper: #FFFFFF;
  --paper-2: #F6F8FA;
  --paper-3: #EEF1F5;
  --line: rgba(7,41,86,.12);
  --line-strong: rgba(7,41,86,.28);
  --line-dark: rgba(255,255,255,.14);
  --line-dark-strong: rgba(255,255,255,.28);

  /* Score colours (readiness only) */
  --score-low: #D9534F;
  --score-mid: #F4C430;
  --score-high: #0C8B66;

  /* Type families */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-billboard: 'Anton', 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-italic: 'Instrument Serif', Georgia, serif;

  /* Containers */
  --w-narrow: 760px;
  --w-default: 1200px;
  --w-wide: 1440px;

  /* Spacing scale */
  --gap-2: 8px;  --gap-3: 12px; --gap-4: 16px; --gap-5: 24px;
  --gap-6: 32px; --gap-7: 48px; --gap-8: 64px;  --gap-9: 96px;

  /* Header heights */
  --h-utility: 36px;
  --h-header: 76px;
  --h-runbar: 30px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--navy);
  font-size: 16px;
}

/* ===== A11Y ===== */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--navy); color: var(--paper);
  padding: 12px 16px; z-index: 999;
  font: 600 13px/1 system-ui;
}
.skip-link:focus { top: 16px; }

/* ===== CONTAINERS ===== */
.wrap        { width: min(var(--w-default), 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(var(--w-narrow),  100% - 32px); margin-inline: auto; }
.wrap-wide   { width: min(var(--w-wide),    100% - 32px); margin-inline: auto; }

/* ===== GRIDS ===== */
.g-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-6); }
.g-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-5); }
.g-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-5); }
.g-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap-4); }
.g-asym-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: var(--gap-7); }
.g-asym-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: var(--gap-7); }

/* ===== TYPE — D3 voice (Manrope ExtraBold) ===== */
.eyebrow {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--yellow);
}
.eyebrow-light { color: rgba(255,255,255,.78); }
.eyebrow-light::before { background: var(--yellow); }

h1.display, h2.display {
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.02; color: var(--navy);
}
h1.display { font-size: clamp(44px, 6.6vw, 88px); }
h2.display { font-size: clamp(30px, 4.4vw, 56px); margin-bottom: 14px; }
h3.display { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.2; color: var(--navy); }

.body-text { font-size: 16px; line-height: 1.65; color: var(--navy-deep); max-width: 60ch; }
.body-text.lede { font-size: 18px; }

/* ===== BUTTONS — D3: square, Manrope bold, yellow primary ===== */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; min-height: 48px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .02em;
  border-radius: 4px; border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.btn:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--paper); transform: translateY(-1px); }
.btn-ghost-light { color: var(--paper); border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn .arrow, .btn-ghost .arrow { transition: transform .2s ease; }
.btn:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(3px); }
.btn:focus-visible, .btn-ghost:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ===== UTILITY STRIP + RUN BAR ===== */
.runbar {
  position: sticky; top: 0; z-index: 90;
  background: var(--navy-deep); color: var(--paper);
  padding: 8px 20px;
  font: 11px/1 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .12em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.runbar a { color: var(--yellow); text-decoration: underline; margin-left: 12px; }

.utility-strip {
  background: var(--navy-bar); color: rgba(255,255,255,.85);
  font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 24px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.utility-strip a { color: var(--yellow); }

/* ===== HEADER ===== */
.hdr {
  background: var(--paper); border-bottom: 2px solid var(--navy-bar);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: sticky; top: 0; z-index: 50;
}
.hdr .brand { display: flex; align-items: center; gap: 12px; }
.hdr .brand img { height: 36px; width: auto; }
.hdr .primary-nav { display: flex; gap: 28px; align-items: center; }
.hdr .primary-nav > a {
  font: 600 14px/1 var(--font-display); color: var(--navy);
  padding: 22px 0; border-bottom: 2px solid transparent;
}
.hdr .primary-nav > a:hover { border-bottom-color: var(--yellow); }
.hdr .primary-nav > a.active { border-bottom-color: var(--navy); }
.hdr .right { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1100px) { .hdr .primary-nav { display: none; } }

/* ===== MEGA-MENU (horizontal, fjdynamics-inspired) ===== */
.has-mega { position: relative; }
.mega-trigger {
  font: 600 14px/1 var(--font-display); color: var(--navy);
  padding: 22px 0; border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
}
.mega-trigger:hover { border-bottom-color: var(--yellow); }
.mega-trigger .caret { font-size: 11px; transition: transform .2s ease; }
.has-mega.is-open .mega-trigger { border-bottom-color: var(--yellow); }
.has-mega.is-open .mega-trigger .caret { transform: rotate(180deg); }

.mega-panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  width: min(96vw, 1100px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  box-shadow: 0 28px 60px rgba(7, 41, 86, .14);
  border-radius: 0 0 8px 8px;
  padding: 28px 28px 20px;
  z-index: 60;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.has-mega.is-open .mega-panel {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 0);
}
.mega-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px;
}
.mega-head .more {
  font: 600 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
}
.mega-head .more:hover { color: var(--yellow-deep); }
.mega-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.mega-item {
  display: grid; grid-template-rows: auto auto auto auto; gap: 6px;
  padding: 10px; border: 1px solid transparent;
  background: var(--paper); border-radius: 6px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.mega-item:hover {
  background: var(--paper-2); border-color: var(--line); transform: translateY(-2px);
}
.mega-item .thumb {
  display: block; aspect-ratio: 4/3; border-radius: 4px;
  background-size: cover; background-position: center;
  background-color: var(--paper-3);
  border: 1px solid var(--line);
}
.mega-item .num {
  font: 600 10px/1 var(--font-mono); letter-spacing: .14em;
  color: var(--yellow-deep); text-transform: uppercase;
}
.mega-item .name {
  font: 700 14px/1.2 var(--font-display); color: var(--navy); letter-spacing: -.005em;
}
.mega-item .hint {
  font: 400 12px/1.4 var(--font-body); color: var(--slate);
}
@media (max-width: 1100px) {
  .mega-panel { display: none !important; }
}

/* ===== SECTION BASE ===== */
.section { position: relative; padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--navy); color: var(--paper); }
.section.dark .body-text { color: rgba(255,255,255,.78); }
.section.dark h1.display, .section.dark h2.display { color: var(--paper); }
.section[data-sheet]::before {
  content: attr(data-sheet);
  position: absolute; top: 16px; left: 24px;
  font: 600 10px/1 var(--font-mono); letter-spacing: .14em;
  color: var(--slate); text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--line-strong);
  background: var(--paper);
}
.section.dark[data-sheet]::before {
  background: var(--navy); color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2);
}

/* ===== CINEMATIC HERO PRIMITIVES (D4 flavoured, video-ready) ===== */
.hero-cinematic {
  position: relative; overflow: hidden;
  min-height: 720px;
  background: var(--navy-deep);
  color: var(--paper);
}
.hero-cinematic .hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.06);
  z-index: 0;
}
.hero-cinematic .hero-media img,
.hero-cinematic .hero-media video,
.hero-cinematic .hero-media source {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-cinematic .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,41,86,.45) 0%, rgba(5,26,57,.85) 100%);
}
.hero-cinematic .hero-frame {
  position: relative; z-index: 2;
  width: min(var(--w-default), 100% - 48px);
  margin-inline: auto;
  padding: 120px 0 88px;
  display: flex; flex-direction: column;
}
.hero-cinematic .sheet-meta {
  display: flex; gap: 12px; margin-bottom: 22px;
  font: 600 10px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--yellow);
  border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 14px;
  max-width: 360px;
}
.hero-cinematic .hero-title {
  color: var(--paper);
  font-size: clamp(48px, 7.2vw, 104px);
  letter-spacing: -.035em;
  margin-bottom: 18px;
}
.hero-cinematic .hero-lede {
  color: rgba(255,255,255,.85);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 56ch;
}
.hero-cinematic .ctas {
  display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap;
}
.hero-cinematic .hero-rail {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  font: 600 13px/1 var(--font-display); color: rgba(255,255,255,.78);
}
.hero-cinematic .hero-rail strong {
  color: var(--yellow); font-weight: 800;
  font-family: var(--font-display); font-size: 18px;
}
/* (was: green checkmark prefix on each rail item — removed; the items
    are positioning statements, not a feature checklist) */

/* Variant overrides plug into these classes:
   .hero-cinematic[data-variant="billboard"]    — wf-3 giant centred poster
   .hero-cinematic[data-variant="sticky"]       — 100vh, sticky title
   .hero-cinematic[data-variant="split"]        — left media, right mega-menu billboard
*/

/* ===== TRUSTED-BY (D3: navy bar) ===== */
.trusted {
  background: var(--navy-bar); padding: 40px 0;
  border-block: none;
}
.trusted .head {
  font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.62); text-align: center; margin-bottom: 22px;
}
.trusted .row {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; align-items: center;
}
.trusted .logo {
  height: 48px; display: flex; align-items: center; justify-content: center;
  font: 700 13px/1.2 var(--font-display); color: rgba(255,255,255,.85);
  letter-spacing: .005em; text-align: center; padding: 0 6px;
}
@media (max-width: 1000px) { .trusted .row { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

/* ===== SERVICE CARDS (D3: hover yellow border) ===== */
.svc-card {
  background: var(--paper); padding: 28px 28px 32px;
  border: 1px solid var(--line); border-radius: 8px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover {
  border-color: var(--yellow); transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10,36,64,.08);
}
.svc-card .icn {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--navy);
  font: 800 18px/1 var(--font-display); border-radius: 8px;
}
.svc-card h3 { color: var(--navy); font-weight: 800; }
.svc-card .more {
  margin-top: auto;
  font: 700 12px/1 var(--font-display); letter-spacing: .04em;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-card .more::after { content: "→"; transition: transform .2s ease; }
.svc-card:hover .more::after { transform: translateX(3px); }

/* ===== STATS — D3: navy block, yellow numerals ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--navy-bar); color: var(--paper); border-radius: 8px;
  margin-top: 32px;
}
.stats > div {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,.16);
  display: flex; flex-direction: column; gap: 4px;
}
.stats > div:last-child { border-right: 0; }
.stats .num {
  font: 800 52px/1 var(--font-display); letter-spacing: -.03em; color: var(--yellow);
}
.stats .lbl {
  font: 500 11px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-top: 6px;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
}

/* ===== PROJECT CARDS ===== */
.proj-card { display: flex; flex-direction: column; gap: 14px; }
.proj-card .img {
  aspect-ratio: 16/10; border-radius: 8px;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
}
.proj-card .meta {
  font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate);
}
.proj-card h3 { font-weight: 800; }

/* ===== READINESS CTA BAND (D3: split with yellow accent) ===== */
.ready-band {
  background: var(--navy-bar);
  background-image: linear-gradient(135deg, rgba(7,41,86,.85), rgba(5,26,57,.95)), url('../assets/handshake-hardhat-drawings.jpg');
  background-size: cover; background-position: center;
  color: var(--paper);
  padding: 120px 0; position: relative;
}
.ready-band .card {
  background: var(--paper); color: var(--navy);
  border-left: 6px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  max-width: 560px; padding: 40px;
}
.ready-band .card .step-pill {
  display: inline-block;
  background: var(--yellow); color: var(--navy);
  font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px; margin-bottom: 16px;
}

/* ===== PULL QUOTE (D3: bold, yellow underline accent) ===== */
.pull-quote { text-align: center; max-width: 820px; margin: 0 auto; }
.pull-quote .q {
  font: 800 clamp(28px, 3.4vw, 40px)/1.3 var(--font-display);
  letter-spacing: -.02em; color: var(--navy);
}
.pull-quote .q em {
  font-style: normal; color: var(--yellow-deep); font-weight: 800;
  border-bottom: 4px solid var(--yellow); padding-bottom: 2px;
}
.section.dark .pull-quote .q { color: var(--paper); }
.section.dark .pull-quote .q em { color: var(--yellow); border-bottom-color: var(--yellow); }

/* ===== GLOSSARY ===== */
.gloss-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 24px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gloss-card:hover {
  border-color: var(--yellow); transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10,36,64,.08);
}
.gloss-card h3 { font-size: 18px; }
.gloss-card a {
  font: 700 12px/1 var(--font-display); letter-spacing: .04em;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
}
.gloss-card a::after { content: "→"; }

/* ===== FINAL CTA (D3: dark) ===== */
.final-cta { text-align: center; }
.final-cta .ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px;
}

/* ===== FOOTER ===== */
footer.site {
  background: var(--navy-deep); color: var(--paper);
  padding: 80px 0 24px;
}
footer.site .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.6fr;
  gap: var(--gap-7);
}
footer.site h4 {
  font: 700 13px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 14px;
}
footer.site a {
  color: rgba(255,255,255,.78);
  display: block; padding: 4px 0; font-size: 14px;
}
footer.site a:hover { color: var(--yellow); }
footer.site .brand-block img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
footer.site .legal {
  margin-top: 56px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font: 500 11px/1 var(--font-mono); letter-spacing: .12em; color: rgba(255,255,255,.55);
}
footer.site .nl-form { display: flex; gap: 0; margin-top: 10px; }
footer.site .nl-form input {
  flex: 1; padding: 12px 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: var(--paper); border-radius: 4px 0 0 4px;
  font: 14px/1.4 inherit;
}
footer.site .nl-form input::placeholder { color: rgba(255,255,255,.45); }
footer.site .nl-form input:focus { outline: 2px solid var(--yellow); outline-offset: 0; }
footer.site .nl-form button {
  background: var(--yellow); color: var(--navy);
  padding: 0 18px; font: 700 13px var(--font-display); letter-spacing: .02em;
  border-radius: 0 4px 4px 0;
}
@media (max-width: 1000px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* ===== MODAL ===== */
.booking-modal {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7, 41, 86, .85);
  align-items: center; justify-content: center; padding: 24px;
}
.booking-modal[open] { display: flex; }
.booking-modal .modal-card {
  background: var(--paper); color: var(--navy);
  border-radius: 8px; padding: 32px;
  max-width: 520px; width: 100%; position: relative;
}
.booking-modal .close {
  position: absolute; top: 12px; right: 14px;
  font-size: 22px; line-height: 1;
}
.booking-modal label { display: block; font: 600 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }

/* ===== FORMS ===== */
input, textarea, select {
  width: 100%; padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--paper); color: var(--navy);
  font: 15px/1.4 inherit;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--yellow); outline-offset: 1px; border-color: var(--navy);
}

/* ===== FAB / COOKIE / CHATBOT ===== */
.fab-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.fab-whatsapp:hover { transform: scale(1.05); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

.cookie-bar {
  position: fixed; left: 16px; bottom: 16px; right: 96px; z-index: 70;
  max-width: 460px;
  background: var(--navy); color: var(--paper);
  padding: 14px 16px; border-radius: 8px;
  font-size: 13px; line-height: 1.5;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.cookie-bar button {
  background: var(--yellow); color: var(--navy);
  padding: 8px 14px; border-radius: 4px;
  font: 700 12px var(--font-display); letter-spacing: .02em;
}
.cookie-bar a { color: var(--yellow); }

.chatbot-slot {
  position: fixed; right: 22px; bottom: 96px; z-index: 75;
  display: none;
}
.chatbot-slot[data-active="1"] { display: block; }

/* ===== REVEAL-ON-SCROLL ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== MOBILE COLLAPSE ===== */
@media (max-width: 768px) {
  .g-2, .g-3, .g-4, .g-5, .g-asym-3-2, .g-asym-2-3 { grid-template-columns: 1fr; }
  .cookie-bar { right: 16px; bottom: 90px; }
  .fab-whatsapp { right: 16px; bottom: 16px; }
  .hero-cinematic { min-height: 560px; }
  .hero-cinematic .hero-frame { padding: 80px 0 64px; }
  .section { padding: 64px 0; }
  .footer.site .cols { grid-template-columns: 1fr; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ===== INNER-PAGE COMPACT HERO ===== */
/* Used by /about, /services, /projects, /glossary, /contact, /readiness and
   the [slug] dynamic routes. Not 100vh; just a comfortable header band. */
.page-hero {
  padding: calc(var(--h-header, 76px) + 56px) 0 56px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .display { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.015em; margin-top: 12px; }
.page-hero .eyebrow { color: var(--yellow-deep, #b8860b); }
.page-hero-lede { max-width: 64ch; margin-top: 18px; color: var(--slate); }

/* ===== 50/50 ASYMMETRIC GRID (used on /contact) ===== */
.g-asym-1-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) {
  .g-asym-1-1 { grid-template-columns: 1fr; }
}

/* ===== WP CONTENT (prose) ===== */
/* When a single Service / Project / Glossary entry has body content from
   the WP editor, it renders inside .prose with sane defaults. */
.prose { font: 400 17px/1.7 var(--font-body); color: var(--navy); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font: 700 28px/1.2 var(--font-display); margin: 1.6em 0 0.6em; letter-spacing: -.01em; }
.prose h3 { font: 700 21px/1.3 var(--font-display); margin: 1.4em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--yellow-deep, #b8860b); }
.prose strong { color: var(--navy); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 14px 22px;
  border-left: 3px solid var(--yellow);
  background: var(--paper-2);
  font-style: italic;
}
.prose img { max-width: 100%; height: auto; border-radius: 4px; }
.prose code {
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 3px;
  font: 500 .9em/1 var(--font-mono);
}
