/* Building Assessor NSW — rebalance layer, 2026-08-27.
 *
 * site.css holds the original dark-first design system and is unchanged.
 * This file sits on top of it and does four things:
 *   1. flips the page to a light-dominant palette, keeping the dark identity
 *      for the hero, the technology band, the request band and the footer;
 *   2. corrects every element that used to inherit a light colour on a dark
 *      backdrop and would otherwise be dark-on-dark;
 *   3. adds the header, mega-menu, catalogue, pricing, reviews, service-page
 *      and request-form components;
 *   4. makes the reveal animation movement-only, so text is never rendered at
 *      partial opacity and never left invisible when JavaScript does not run.
 *
 * Load order matters: site.css first, then this file, then site-c.css.
 * Worth consolidating into a single stylesheet at the next major change.
 */

/* =========================================================================
   v2 — 2026-08-27
   Rebalance to a light-dominant page, plus the header, mega-menu, catalogue,
   pricing, technology, reviews and request-form components.
   The dark identity is kept for the hero, the technology band, the request
   band and the footer; everything else moves to warm white and light grey.
   ========================================================================= */

:root {
  --nav-h: 84px;
  --paper-3: #e3e1da;
  --line: rgba(13, 26, 34, 0.13);
  --line-soft: rgba(13, 26, 34, 0.08);
  color-scheme: light;
}

/* --- Base flips to light ------------------------------------------------- */
body { background: var(--paper); color: var(--ink-800); }

/* Anchor landings must clear the sticky header. */
html { scroll-padding-top: calc(var(--nav-h) + 16px); }

.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;
}

/* --- Reveal animations are enhancement, never a precondition for content --
   Without the `js` class — no JavaScript, a script error, a blocked file —
   every .reveal element is simply visible. This is the fix for sections that
   could previously stay blank when entered through an anchor link.          */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- Bands --------------------------------------------------------------- */
.band { padding: clamp(3.4rem, 7vw, 6.5rem) 0; }
.band-paper { background: var(--paper); color: var(--ink-800); }
.band-white { background: #fff; color: var(--ink-800); }
.band-ink { background: var(--ink-900); color: var(--paper); }
.band-paper + .band-paper { padding-top: 0; }

.band-paper h1, .band-paper h2, .band-paper h3, .band-paper h4,
.band-white h1, .band-white h2, .band-white h3, .band-white h4 { color: var(--ink-900); }
.band-paper .eyebrow, .band-white .eyebrow { color: var(--orange-ink); }
.band-paper .eyebrow::before, .band-white .eyebrow::before { background: var(--orange-ink); }
.band-paper .section-lead, .band-white .section-lead { color: var(--ink-600); }
.band-paper a, .band-white a { color: var(--orange-ink); }
.band-ink .eyebrow-light { color: var(--orange-2); }
.band-ink .eyebrow-light::before { background: var(--orange-2); }
.band-ink .eyebrow-light a { color: inherit; }
.section-lead-light { color: var(--steel-300); }

.h-lg { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.section-lead { max-width: var(--measure); margin-top: 1.1rem; font-size: var(--step-1); }
.shell-wide { width: min(1320px, 100% - 2.5rem); margin-inline: auto; }

/* Preserved sections that were dark now sit on light bands. */
#what-we-inspect, #why { background: var(--paper); color: var(--ink-800); }
#what-we-inspect h1, #what-we-inspect h2, #what-we-inspect h3, #what-we-inspect h4,
#why h1, #why h2, #why h3, #why h4 { color: var(--ink-900); }
#what-we-inspect .eyebrow, #why .eyebrow { color: var(--orange-ink); }
#what-we-inspect .eyebrow::before, #why .eyebrow::before { background: var(--orange-ink); }
#what-we-inspect .section-lead, #why .section-lead { color: var(--ink-600); }
#what-we-inspect .rule, #why .rule { background: var(--line); }
#what-we-inspect .checks > div, #why .risk-grid > div { background: #fff; }
#what-we-inspect .checks { background: var(--line); }
#what-we-inspect .checks p, #why p { color: var(--ink-600); }
#what-we-inspect .checks strong, #why strong { color: var(--ink-900); }
#what-we-inspect .honesty { background: #fff; border: 1px solid var(--line); }
#what-we-inspect .honesty li { color: var(--ink-600); }
#process { background: #fff; color: var(--ink-800); }
#process h2, #process h3 { color: var(--ink-900); }
#process .eyebrow { color: var(--orange-ink); }
#process .eyebrow::before { background: var(--orange-ink); }
#process p { color: var(--ink-600); }
#process .process-list > li { border-color: var(--line); }

/* =============================== HEADER ================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: rgba(8, 15, 20, 0.94);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.header-inner {
  width: min(1440px, 100% - 2rem); margin-inline: auto;
  min-height: var(--nav-h);
  display: flex; align-items: center; gap: 1.25rem;
}

/* The logo sits in a warm-white plate so it reads against the dark header. */
.brand { flex: none; display: block; text-decoration: none; }
.brand-plate {
  display: block; background: var(--paper);
  padding: 9px 14px; border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s var(--ease);
}
.brand:hover .brand-plate { transform: translateY(-1px); }
.brand-plate img { width: auto; height: 54px; }   /* was 40px — ~35% larger */

.nav { flex: 1 1 auto; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.nav-item { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.34rem;
  padding: 0.55rem 0.7rem; border-radius: 4px;
  font-size: 0.93rem; font-weight: 500; color: var(--steel-200);
  text-decoration: none; white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}
.nav-link:hover, .nav-link:focus-visible, .nav-mega-toggle[aria-expanded="true"] {
  color: #fff; background: rgba(255, 255, 255, 0.09);
}
.nav-mega-toggle .caret { transition: transform 0.2s var(--ease); }
.nav-mega-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

.header-actions { flex: none; display: flex; align-items: center; gap: 0.7rem; }
.header-tel {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--paper); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
}
.header-tel:hover { color: var(--orange-2); }
.btn-sm { padding: 0.6rem 1rem; font-size: 0.86rem; }

/* =============================== MEGA-MENU =============================== */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--ink-800);
  border-top: 3px solid var(--orange-cta);
  box-shadow: 0 26px 60px rgba(8, 15, 20, 0.3);
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mega[hidden] { display: none; }
.mega-inner { width: min(1440px, 100% - 2rem); margin-inline: auto; padding: 2rem 0 1.4rem; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2.2rem; }
@media (min-width: 1180px) { .mega-cols { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mega-head { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.7rem; }
.mega-head a { color: var(--orange-ink); text-decoration: none; }
.mega-head a:hover { text-decoration: underline; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega-list a {
  display: block; padding: 0.34rem 0.4rem; margin-left: -0.4rem;
  border-radius: 3px; font-size: 0.845rem; line-height: 1.35;
  color: var(--ink-700); text-decoration: none;
}
.mega-list a:hover, .mega-list a:focus-visible { background: var(--paper-2); color: var(--ink-900); }
.mega-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.1rem;
  margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.mega-note { font-size: 0.86rem; color: var(--ink-600); }
.btn-ghost-light { border: 1px solid var(--line); color: var(--ink-800); background: transparent; }
.btn-ghost-light:hover { background: var(--paper-2); }

/* ============================ MOBILE NAV ================================= */
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 4px; }
.nav-toggle:hover { background: rgba(255,255,255,0.09); }
.nav-toggle-bars { display: block; width: 21px; }
.nav-toggle-bars i { display: block; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: transform 0.22s var(--ease), opacity 0.18s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 89;
  background: var(--ink-950); color: var(--paper);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-scroll { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 1.2rem 1.25rem 6rem; }
.mnav-actions { display: grid; gap: 0.6rem; margin-bottom: 1.6rem; }
.mnav-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-400); margin: 1.6rem 0 0.6rem; font-weight: 700; }
.acc { border-bottom: 1px solid rgba(255,255,255,0.1); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0.1rem; text-align: left; color: var(--paper);
  font-size: 1.02rem; font-weight: 600;
}
.acc-count {
  flex: none; font-size: 0.75rem; font-weight: 600; color: var(--steel-300);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 0.1rem 0.55rem;
  transition: transform 0.2s var(--ease);
}
.acc-btn[aria-expanded="true"] { color: var(--orange-2); }
.acc-btn[aria-expanded="true"] .acc-count { border-color: var(--orange-2); color: var(--orange-2); }
.acc-panel[hidden] { display: none; }
.acc-panel ul { list-style: none; margin: 0; padding: 0 0 0.9rem; }
.acc-panel a {
  display: block; padding: 0.72rem 0.1rem; color: var(--steel-200);
  text-decoration: none; font-size: 0.95rem; line-height: 1.35;
  border-top: 1px solid rgba(255,255,255,0.06); min-height: 44px;
}
.acc-panel a:hover { color: #fff; }
.acc-all a { color: var(--orange-2); font-weight: 600; }
.mnav-links { list-style: none; margin: 0; padding: 0; }
.mnav-links a { display: block; padding: 0.8rem 0.1rem; color: var(--steel-200); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.07); min-height: 44px; }

@media (max-width: 1099px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
}
@media (max-width: 620px) {
  :root { --nav-h: 76px; }
  .brand-plate { padding: 7px 10px; }
  .brand-plate img { height: 42px; }
}

/* ============================ TRUST BAR ================================== */
.trustbar { padding: 1.6rem 0; background: var(--ink-950); border-block: 1px solid rgba(255,255,255,0.09); }
.trust-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 1px; background: rgba(255,255,255,0.09); list-style: none; margin: 0; padding: 0; }
.trust-list li { background: var(--ink-950); padding: 1rem 1.1rem; }
.trust-list strong { display: block; color: #fff; font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.trust-list span { display: block; color: var(--steel-300); font-size: 0.83rem; line-height: 1.4; margin-top: 0.2rem; }
.trust-line { margin-top: 1rem; color: var(--steel-300); font-size: 0.92rem; }

/* ============================ GOOGLE RATING ============================== */
.rating-strip { padding: 1.1rem 0; background: #fff; border-bottom: 1px solid var(--line-soft); }
.rating-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem; font-size: 0.95rem; }
.g-logo { font-family: 'ArchivoVar', system-ui, sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.g-logo-lg { font-size: 1.7rem; }
.g-b { color: #4285f4; } .g-r { color: #ea4335; } .g-y { color: #fbbc05; } .g-g { color: #34a853; }
.stars { display: inline-flex; gap: 1px; color: #f5a623; }
.rating-count { color: var(--ink-600); }
.rating-link { color: var(--orange-ink); font-weight: 600; }
.rev-summary { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: 1.6rem 0 2rem; }
.rev-meta { color: var(--ink-600); margin-top: 0.3rem; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.2rem; }
.rev-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid #f5a623; border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 0; }
.rev-card p { font-size: 1.05rem; line-height: 1.55; color: var(--ink-800); }
.rev-card cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.84rem; color: var(--ink-600); }

/* ============================ CATEGORY CARDS ============================= */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(268px, 100%), 1fr)); gap: 1.1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.cat-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.6rem 1.5rem;
  text-decoration: none; color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13,26,34,0.1); border-color: rgba(202,61,23,0.4); }
.cat-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 4px; background: var(--orange-soft); color: var(--orange-ink); margin-bottom: 1rem; }
.cat-card h3 { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.015em; }
.cat-card p { color: var(--ink-600); font-size: 0.96rem; margin-top: 0.6rem; }
.cat-meta { display: block; margin-top: 1.1rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); }
.cat-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(2rem, 4vw, 2.8rem); }

/* ============================ SERVICE CARDS ============================== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr)); gap: 1px; background: var(--line); margin-top: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-card { background: #fff; padding: 1.6rem 1.5rem; display: flex; flex-direction: column; transition: background-color 0.2s; }
.svc-card:hover { background: var(--paper); }
.svc-card h3 { font-size: 1.06rem; line-height: 1.3; letter-spacing: -0.01em; }
.svc-card h3 a { color: var(--ink-900); text-decoration: none; }
.svc-card h3 a:hover { color: var(--orange-ink); }
.svc-card p { color: var(--ink-600); font-size: 0.92rem; margin-top: 0.55rem; flex: 1 1 auto; }
.svc-price { font-size: 0.82rem !important; font-weight: 700; color: var(--ink-700) !important; letter-spacing: 0.02em; margin-top: 0.9rem !important; flex: none !important; }
.svc-cta { margin-top: 0.8rem; font-size: 0.85rem; font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.svc-cta:hover { text-decoration: underline; }

/* ============================== PRICING ================================== */
.price-lead { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-2); margin-top: 1.2rem; color: var(--ink-900); letter-spacing: -0.015em; }
.price-lead strong { color: var(--orange-ink); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(262px, 100%), 1fr)); gap: 1.1rem; margin-top: clamp(2rem, 4vw, 2.8rem); }
.price-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange-cta); border-radius: var(--radius); padding: 1.7rem 1.6rem; }
.price-card h3 { font-size: 1.06rem; }
.price-band { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-3); font-weight: 700; color: var(--orange-ink); letter-spacing: -0.02em; margin: 0.5rem 0 0.7rem; }
.price-card p:last-child { color: var(--ink-600); font-size: 0.95rem; }

/* ============================ TECHNOLOGY ================================= */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(292px, 100%), 1fr)); gap: 1px; background: rgba(255,255,255,0.1); margin-top: clamp(2rem, 4vw, 3rem); }
.tech-card { background: var(--ink-900); padding: 1.8rem 1.7rem; }
.tech-card h3 { font-size: 1.1rem; color: #fff; letter-spacing: -0.01em; }
.tech-card p { color: var(--steel-300); font-size: 0.95rem; margin-top: 0.7rem; }
.tech-caveat { color: var(--steel-400) !important; font-size: 0.86rem !important; border-left: 2px solid rgba(255,255,255,0.14); padding-left: 0.8rem; }
.tech-list { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.tech-list li { position: relative; padding-left: 1.5rem; color: var(--ink-700); }
.tech-list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--orange-cta); border-radius: 50%; }

/* ============================ CREDENTIALS ================================ */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(224px, 100%), 1fr)); gap: 1px; background: var(--line); margin-top: clamp(2rem, 4vw, 2.8rem); border: 1px solid var(--line); }
.cred-card { background: #fff; padding: 1.6rem 1.5rem; }
.cred-card h3 { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-600); font-weight: 700; }
.cred-big { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-3); font-weight: 700; color: var(--orange-ink); letter-spacing: -0.02em; margin: 0.35rem 0 0.6rem; line-height: 1; }
.cred-card p:last-child { color: var(--ink-600); font-size: 0.92rem; }
.cred-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.cred-feature { background: var(--ink-900); color: var(--paper); border-radius: var(--radius); padding: 1.9rem 1.8rem; }
.cred-feature h3 { color: #fff; font-size: 1.14rem; letter-spacing: -0.01em; }
.cred-feature p { color: var(--steel-300); margin-top: 0.7rem; font-size: 0.96rem; }

/* ============================== AREAS ==================================== */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(238px, 100%), 1fr)); gap: 1px; background: var(--line); margin-top: clamp(2rem, 4vw, 2.8rem); border: 1px solid var(--line); }
.area-card { background: #fff; padding: 1.35rem 1.4rem; }
.area-card h3 { font-size: 1rem; color: var(--ink-900); }
.area-card p { color: var(--ink-600); font-size: 0.89rem; margin-top: 0.4rem; line-height: 1.5; }
.areas-note { margin-top: 1.4rem; color: var(--ink-600); }

/* =============================== FAQ ===================================== */
.faq-list { margin-top: clamp(1.8rem, 3vw, 2.4rem); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.4rem 1.2rem 0; position: relative;
  font-family: 'ArchivoVar', system-ui, sans-serif; font-size: 1.08rem; font-weight: 600;
  color: var(--ink-900); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 0.4rem; top: 1.55rem;
  width: 11px; height: 11px; border-right: 2px solid var(--orange-ink); border-bottom: 2px solid var(--orange-ink);
  transform: rotate(45deg); transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq-item summary:hover { color: var(--orange-ink); }
.faq-a { padding: 0 2.4rem 1.4rem 0; }
.faq-a p { color: var(--ink-600); max-width: var(--measure); }

/* ============================ BREADCRUMBS ================================ */
.crumbs { background: var(--ink-950); padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; font-size: 0.82rem; }
.crumbs li + li::before { content: '/'; color: var(--steel-400); margin-right: 0.35rem; }
.crumbs a { color: var(--steel-300); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li[aria-current] span { color: var(--orange-2); }

/* ============================= PAGE HERO ================================= */
.page-hero { padding-top: calc(var(--nav-h) + clamp(2.2rem, 4vw, 3.4rem)); padding-bottom: clamp(2.4rem, 5vw, 4rem); }
.crumbs + .page-hero { padding-top: clamp(2.4rem, 5vw, 4rem); }
.page-hero h1 { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-4); line-height: 1.06; letter-spacing: -0.025em; color: #fff; margin-top: 0.8rem; max-width: 20ch; }
.page-hero-sub { color: var(--steel-300); font-size: var(--step-1); max-width: 62ch; margin-top: 1.1rem; }
.page-hero-sub a { color: var(--orange-2); }
.page-hero-meta { margin-top: 1.2rem; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-2); }
.page-hero .hero-cta { margin-top: 1.6rem; }

/* ============================== HUB ====================================== */
.hub-cat { padding: clamp(1.8rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--line); }
.hub-cat:last-child { border-bottom: 0; }
.hub-cat-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: start; justify-content: space-between; }
.hub-cat-head h2 { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-3); letter-spacing: -0.02em; }
.hub-cat-head h2 a { color: var(--ink-900); text-decoration: none; }
.hub-cat-head h2 a:hover { color: var(--orange-ink); }
.hub-cat-head p { color: var(--ink-600); margin-top: 0.4rem; max-width: 60ch; }
.hub-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(292px, 100%), 1fr)); gap: 0 1.6rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.hub-list li { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
.hub-list a { color: var(--ink-800); text-decoration: none; font-size: 0.94rem; }
.hub-list a:hover { color: var(--orange-ink); text-decoration: underline; }
.hub-price { flex: none; font-size: 0.76rem; color: var(--ink-600); white-space: nowrap; }

/* ============================ JUMP NAV =================================== */
.jump { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.jump-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-600); font-weight: 700; margin-bottom: 0.8rem; }
.jump ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.jump a { display: inline-block; padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.83rem; color: var(--ink-700); text-decoration: none; }
.jump a:hover { border-color: var(--orange-cta); color: var(--orange-ink); background: var(--orange-soft); }

/* ========================== REPORT SECTIONS ============================== */
.rep { padding: clamp(2.4rem, 5vw, 3.6rem) 0; scroll-margin-top: calc(var(--nav-h) + 16px); }
.rep-head { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; align-items: baseline; justify-content: space-between; }
.rep-head h2 { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-2); letter-spacing: -0.02em; max-width: 26ch; }
.rep-lede { color: var(--ink-600); margin-top: 0.5rem; max-width: 66ch; }
.rep-price { flex: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-ink); border: 1px solid rgba(202,61,23,0.3); border-radius: 999px; padding: 0.32rem 0.8rem; }
.rep-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(288px, 100%), 1fr)); gap: 1.4rem 2.2rem; margin-top: 1.6rem; }
.rep-two h3, .rep-sub { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-600); font-weight: 700; margin-bottom: 0.5rem; }
.rep-sub { margin-top: 1.6rem; }
.rep-two p { color: var(--ink-700); }
.rep-covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(292px, 100%), 1fr)); gap: 0.5rem 2rem; }
.rep-covers li { position: relative; padding-left: 1.4rem; color: var(--ink-700); font-size: 0.95rem; line-height: 1.5; }
.rep-covers li::before { content: ''; position: absolute; left: 0.2rem; top: 0.62em; width: 6px; height: 6px; background: var(--orange-cta); border-radius: 50%; }
.rep-covers-tick li::before { background: #2f7d52; }
.rep-covers-limit li::before { background: var(--steel-400); }
.rep-note { margin-top: 1.4rem; padding: 0.9rem 1.1rem; background: var(--paper-2); border-left: 3px solid var(--steel-400); font-size: 0.92rem; color: var(--ink-700); border-radius: 0 var(--radius) var(--radius) 0; }
.rep-note-reg { border-left-color: var(--orange-cta); background: var(--orange-soft); }
.rep-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* ========================== SERVICE PAGE ================================= */
.svc-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
@media (min-width: 980px) { .svc-page { grid-template-columns: minmax(0, 1fr) 330px; gap: 3.4rem; align-items: start; } }
.svc-body h2 { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-2); letter-spacing: -0.02em; margin-top: 2.4rem; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body p { color: var(--ink-700); margin-top: 0.8rem; max-width: var(--measure); }
.svc-body .lead-p { font-size: 1.06rem; }
.svc-body ul { margin-top: 1rem; }
.small-note { font-size: 0.87rem !important; color: var(--ink-600) !important; }
.svc-side { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 1rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem; }
.side-price { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: 1.12rem; font-weight: 700; color: var(--ink-900); margin-bottom: 1rem; letter-spacing: -0.015em; }
.side-card .btn { margin-bottom: 0.6rem; }
.side-creds { list-style: none; margin: 1.2rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.42rem; }
.side-creds li { font-size: 0.84rem; color: var(--ink-600); padding-left: 1.2rem; position: relative; }
.side-creds li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-cta); }
.side-related h2 { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-600); font-weight: 700; margin-bottom: 0.8rem; }
.side-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.side-related a { color: var(--ink-800); text-decoration: none; font-size: 0.9rem; }
.side-related a:hover { color: var(--orange-ink); text-decoration: underline; }

/* =========================== REQUEST FORM ================================ */
.req-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
@media (min-width: 1000px) { .req-wrap { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3.4rem; align-items: start; } }
.req-lead { color: var(--steel-300); font-size: var(--step-1); margin-top: 1.1rem; max-width: 48ch; }
.req-call { margin-top: 2rem; padding: 1.4rem 1.5rem; background: rgba(255,255,255,0.05); border-left: 3px solid var(--orange-2); border-radius: 0 var(--radius) var(--radius) 0; }
.req-call-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-400); font-weight: 700; }
.req-phone { display: inline-block; margin: 0.4rem 0 0.6rem; font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-3); font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.req-phone:hover { color: var(--orange-2); }
.req-call-note { color: var(--steel-300); font-size: 0.92rem; }
.req-creds { list-style: none; margin: 1.8rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(255,255,255,0.12); display: grid; gap: 0.5rem; }
.req-creds li { position: relative; padding-left: 1.4rem; color: var(--steel-200); font-size: 0.9rem; }
.req-creds li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-2); }

.form-card { background: #fff; color: var(--ink-800); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 20px 50px rgba(0,0,0,0.26); }
.form-card h3 { color: var(--ink-900); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1rem 1.2rem; }
.field { display: block; margin: 0 0 1rem; }
.field label, .consent span { font-size: 0.86rem; font-weight: 600; color: var(--ink-800); display: block; margin-bottom: 0.34rem; }
.field .req { color: var(--orange-ink); }
.field .opt { font-weight: 400; color: var(--ink-600); text-transform: none; letter-spacing: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea, .field input[type="file"] {
  width: 100%; padding: 0.72rem 0.85rem; border: 1px solid rgba(13,26,34,0.24);
  border-radius: var(--radius); background: #fff; color: var(--ink-900);
  font-size: 1rem; line-height: 1.4; min-height: 46px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-cta); box-shadow: 0 0 0 3px rgba(202,61,23,0.16); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field .hint { display: block; font-size: 0.8rem; color: var(--ink-600); margin-top: 0.34rem; font-weight: 400; }
.err { display: none; font-size: 0.82rem; color: #b3261e; margin-top: 0.3rem; font-weight: 600; }
.err.is-shown { display: block; }
.field-file input[type="file"] { padding: 0.55rem; background: var(--paper); }

.sel-explain { background: var(--paper); border-left: 3px solid var(--orange-cta); border-radius: 0 var(--radius) var(--radius) 0; padding: 0.9rem 1.1rem; margin: 0 0 1.2rem; }
.sel-explain[hidden] { display: none; }
.sel-lede { font-size: 0.93rem; color: var(--ink-700); }
.sel-price { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--orange-ink); margin-top: 0.45rem; }

.consent { display: block; margin: 0.6rem 0 0.4rem; }
.consent label { display: flex; gap: 0.7rem; align-items: start; cursor: pointer; margin: 0; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange-cta); }
.consent span { font-weight: 400; font-size: 0.9rem; line-height: 1.45; margin: 0; }
.consent-note { font-size: 0.82rem; color: var(--ink-600); margin-top: 0.5rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 1.4rem; }
.form-status { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-err { color: #b3261e; }
.form-footnote { font-size: 0.82rem; color: var(--ink-600); margin-top: 0.7rem; text-align: center; }
.form-success[hidden] { display: none; }
.form-success h3 { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-2); letter-spacing: -0.02em; }
.form-success p { color: var(--ink-700); margin-top: 0.8rem; }
.linklike { color: var(--orange-ink); font-weight: 600; text-decoration: underline; padding: 0; }
.band-ink .linklike { color: var(--orange-2); }

/* ============================== FOOTER =================================== */
.site-footer { background: var(--ink-950); color: var(--steel-300); padding: clamp(3rem, 6vw, 5rem) 0 6.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.6rem; }
@media (min-width: 940px) { .footer-top { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 3rem; } }
.footer-brand img { height: 46px; width: auto; }
.footer-blurb { margin-top: 1.1rem; font-size: 0.93rem; max-width: 42ch; }
.footer-creds { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-creds li { font-size: 0.84rem; color: var(--steel-200); position: relative; padding-left: 1.2rem; }
.footer-creds li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-2); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); gap: 1.8rem 1.4rem; }
.footer-col h3 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.8rem; }
.footer-col h3 a { color: var(--orange-2); text-decoration: none; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.42rem; }
.footer-col a { color: var(--steel-300); text-decoration: none; font-size: 0.84rem; line-height: 1.35; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-more { color: var(--orange-2) !important; font-weight: 600; }
.footer-mid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(238px, 100%), 1fr)); gap: 2rem; margin-top: 3rem; padding-top: 2.2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-mid h3 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-400); font-weight: 700; margin-bottom: 0.9rem; }
.footer-phone { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-2); font-weight: 700; color: #fff !important; text-decoration: none; letter-spacing: -0.02em; }
.footer-phone:hover { color: var(--orange-2) !important; }
.footer-areas { margin-top: 0.9rem; font-size: 0.86rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-list a { color: var(--steel-300); text-decoration: none; font-size: 0.88rem; }
.footer-list a:hover { color: #fff; }
.footer-cta-note { font-size: 0.88rem; margin-bottom: 1rem; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1); display: grid; gap: 0.7rem; font-size: 0.8rem; color: var(--steel-400); }
.footer-fineprint { max-width: 92ch; line-height: 1.55; }
.footer-bottom a { color: var(--steel-300); }

/* ============================ CLOSING ==================================== */
.closing { text-align: center; padding: clamp(3rem, 6vw, 5rem) 0; background: var(--paper-2); }
.closing-line { font-family: 'ArchivoVar', system-ui, sans-serif; font-size: var(--step-3); font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em; line-height: 1.15; }
.closing-sub { color: var(--ink-600); margin-top: 1rem; }

/* ============================ FOCUS ====================================== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, details:focus-visible {
  outline: 3px solid var(--orange-2); outline-offset: 2px; border-radius: 2px;
}
.band-paper a:focus-visible, .band-white a:focus-visible, .mega a:focus-visible,
.form-card :focus-visible { outline-color: var(--orange-cta); }

/* ============================ ACTION BAR ================================= */
.action-bar { z-index: 88; }

/* ============================ REDUCED MOTION ============================= */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .brand:hover .brand-plate,
  .cat-card:hover { transform: none !important; }
}

/* ========================= SMALL-SCREEN TUNING =========================== */
@media (max-width: 700px) {
  .rep-covers, .hub-list, .field-grid { grid-template-columns: minmax(0, 1fr); }
  .rep-head { flex-direction: column; align-items: flex-start; }
  .svc-side { position: static; }
  .page-hero h1 { max-width: none; }
  .cat-actions .btn, .rep-actions .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
  .site-footer { padding-bottom: 7rem; }
}

.site-header.is-scrolled { background: rgba(8, 15, 20, 0.985); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }

/* =========================================================================
   Contrast corrections after the light rebalance.
   The base text colour flipped from light to dark, so anything that used to
   inherit a light colour on a dark backdrop had to be made explicit.
   ========================================================================= */

/* --- Hero: the backdrop is a dark photograph, so its text is always light --- */
.hero { color: var(--paper); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--orange-2); }
.hero .eyebrow { color: var(--orange-2); }
.hero .eyebrow::before { background: var(--orange-2); }
.hero-sub { color: #dfe4e7; }
.hero-areas { color: #fff; }
.hero-areas span { color: var(--orange-2); }
.hero .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.34); }
.hero .btn-ghost:hover { color: #fff; border-color: #fff; }

/* --- Buttons must keep their own colours on light bands ------------------
   `.band-paper a` sets the link colour; a button is an anchor, so it was
   inheriting orange text onto an orange fill. These win it back.          */
.band-paper .btn-primary, .band-white .btn-primary,
.band-ink .btn-primary, .btn-primary { color: #fff; }
.band-paper .btn-on-light, .band-white .btn-on-light { color: var(--ink-800); }
.band-paper .btn-ghost, .band-white .btn-ghost { color: var(--ink-800); border-color: rgba(13,26,34,0.28); }
.band-paper .btn-ghost:hover, .band-white .btn-ghost:hover { background: rgba(13,26,34,0.05); border-color: var(--ink-800); }
.btn-on-light { border: 1px solid rgba(13,26,34,0.28); color: var(--ink-800); background: transparent; }
.btn-on-light:hover { background: rgba(13,26,34,0.06); border-color: var(--ink-800); transform: translateY(-2px); }

/* --- Eyebrow: the light-band orange, not the dark-band orange ------------- */
.eyebrow { color: var(--orange-ink); }
.eyebrow::before { background: var(--orange-ink); }
.band-ink .eyebrow, .hero .eyebrow, .site-footer .eyebrow { color: var(--orange-2); }
.band-ink .eyebrow::before, .hero .eyebrow::before { background: var(--orange-2); }

/* --- Preserved sections: correct the element types actually used --------- */
#what-we-inspect .checks { background: var(--line); }
#what-we-inspect .checks > li { background: #fff; }
#what-we-inspect .checks strong { color: var(--ink-900); }
#what-we-inspect .checks p { color: var(--ink-600); }
#what-we-inspect .honesty { background: #fff; border: 1px solid var(--line); }
#what-we-inspect .honesty p, #what-we-inspect .honesty li { color: var(--ink-600); }
#what-we-inspect .honesty h3, #what-we-inspect .honesty strong { color: var(--ink-900); }
#process { background: #fff; color: var(--ink-800); }
#process h2, #process h3 { color: var(--ink-900); }
#process p { color: var(--ink-600); }
#process .process-list > li::before { color: var(--orange-ink); }
#why .risk-grid > div { background: #fff; }
#why .risk-num { color: var(--orange-ink); }

/* The dark backgrounds in these two preserved blocks sit on the list items,
   not on the section, so they have to be corrected at that level. */
#what-we-inspect .checks { background: var(--line); }
#what-we-inspect .checks > li { background: #fff; }
#what-we-inspect .checks strong { color: var(--ink-900); }
#what-we-inspect .checks span { color: var(--ink-600); }
#what-we-inspect .checks svg { color: var(--orange-ink); }
#what-we-inspect .honesty { background: #fff; border-color: var(--line); border-left-color: var(--orange-cta); }
#what-we-inspect .honesty p { color: var(--ink-600); }
#what-we-inspect .honesty li { border-color: var(--line); color: var(--ink-700); }

#process .process-list { background: var(--line); border-color: var(--line); }
#process .process-list > li { background: #fff; }
#process .process-list h3 { color: var(--ink-900); }
#process .process-list p { color: var(--ink-600); }

/* Two elements missed by the light rebalance, caught by an accessibility audit. */
/* The layers caption inherited a light-on-dark grey and now sits on paper. */
.layers-note { color: var(--ink-600); }
/* The footer's email button used the light-band orange against the dark footer. */
.site-footer .linklike { color: var(--orange-2); }

/* The "01/02/03" markers in the presentation-versus-condition section sit on a
   slightly warmer paper than the page, which took the orange just under AA. */
#hidden .risk-num, .risk-num { color: #b0330f; }

/* -------------------------------------------------------------------------
   Reveal: movement without fading.

   Fading text in means that for the length of the transition the text is
   rendered at a partial opacity, which is genuinely harder to read and which
   an accessibility audit correctly measures as a contrast failure against
   whatever is behind it. Sliding gives the same sense of arrival with the
   text at full contrast the entire time. Decorative, non-text elements may
   still fade — nothing has to be read off them.
   ------------------------------------------------------------------------- */
.js .reveal { opacity: 1; transform: translateY(20px); transition: transform 0.6s var(--ease); }
.js .reveal.is-in { transform: none; }
.js .reveal-d1 { transition-delay: 0.07s; }
.js .reveal-d2 { transition-delay: 0.14s; }
.js .reveal-d3 { transition-delay: 0.21s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none !important; transition: none !important; }
}
