/* VCAT Reports — v2. Layout idea: an established technical consultancy. White page, deep navy ink, steel blue for structure, warm grey surfaces, a restrained brass hairline as the only accent. Serif display for authority, clean sans for reading. */
:root {
  --white: #ffffff;
  --navy: #0e1a2b;
  --charcoal: #27303b;
  --steel: #4a6a8a;
  --steel-soft: #e6ecf2;
  --stone: #f5f3f0;
  --line: #e2ddd6;
  --muted: #646a72;
  --brass: #a07d47;
  --critical: #a5372f;
  --major: #b4711f;
  --minor: #4a6a8a;
  --display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --measure: 64ch;
  --radius: 6px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--charcoal); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-decoration-color: color-mix(in srgb, var(--brass) 70%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
@media (max-width: 420px) { .wrap { width: calc(100% - 32px); } }

h1, h2, h3, h4 { color: var(--navy); margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 450; letter-spacing: -0.015em; line-height: 1.08; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; line-height: 1.35; letter-spacing: -0.005em; }
p { margin: 0; max-width: var(--measure); }
.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.rule { width: 40px; height: 1px; background: var(--brass); border: 0; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .98rem/1 var(--sans); letter-spacing: .01em; padding: 15px 22px; border-radius: var(--radius); border: 1px solid var(--navy); background: var(--navy); color: var(--white); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn.secondary { background: transparent; color: var(--navy); border-color: color-mix(in srgb, var(--navy) 30%, transparent); }
.btn.secondary:hover { border-color: var(--navy); background: var(--stone); }
.btn.light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn.light:hover { background: var(--stone); }
.btn.sm { padding: 11px 16px; font-size: .92rem; }
.btn svg { width: 16px; height: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 34px; height: 34px; border-radius: 5px; background: var(--navy); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }
.logo-text { display: grid; line-height: 1.05; }
.logo-text strong { font: 600 1.02rem/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.logo-text span { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button { font: 500 .95rem/1 var(--sans); color: var(--charcoal); text-decoration: none; padding: 10px 12px; border-radius: var(--radius); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"] { color: var(--navy); background: var(--stone); }
.nav .dd { position: relative; }
.nav .dd > button svg { width: 12px; height: 12px; transition: transform .15s; }
.dd-panel { position: absolute; top: calc(100% + 8px); left: -12px; width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 48px -20px rgba(14,26,43,.25); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd:hover > button svg, .dd.open > button svg { transform: rotate(180deg); }
.dd-panel a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 12px; border-radius: 8px; text-decoration: none; color: var(--charcoal); }
.dd-panel a:hover { background: var(--stone); }
.dd-panel .ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 8px; background: var(--steel-soft); display: grid; place-items: center; color: var(--steel); }
.dd-panel .ico svg { width: 18px; height: 18px; }
.dd-panel strong { font-weight: 600; font-size: .95rem; color: var(--navy); }
.dd-panel span.d { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; color: var(--navy); }
@media (max-width: 980px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: grid; }
}
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--white); max-height: calc(100dvh - 72px); overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu .wrap { display: grid; gap: 4px; padding-block: 16px 24px; height: auto; }
.mobile-menu .group { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); padding: 16px 4px 6px; }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 500; font-size: 1.05rem; }
.mobile-menu .btn { margin-top: 18px; width: 100%; border-bottom: 0; color: var(--white); }

/* Sections */
section { padding-block: clamp(64px, 9vw, 112px); }
section.tint { background: var(--stone); }
section.navy { background: var(--navy); color: #d7dee7; }
section.navy h2, section.navy h3 { color: var(--white); }
section.navy .muted, section.navy .lead { color: #aab6c4; }
section.navy .kicker { color: #9fb6cc; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--white) 0%, var(--white) 60%, var(--stone) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero-copy { display: grid; gap: 22px; }
.hero-tag { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--steel); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero .scoped { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); max-width: 520px; }
.hero .scoped svg { width: 18px; height: 18px; flex: none; color: var(--brass); margin-top: 3px; }

/* Report document card */
.doc { position: relative; }
.doc-sheet { background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(14,26,43,.35); overflow: hidden; }
.doc-sheet.back { position: absolute; inset: 18px -14px -18px 14px; z-index: -1; box-shadow: none; background: var(--stone); }
.doc-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.doc-top .t { font: 600 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.doc-top .s { font-size: .78rem; color: var(--muted); }
.doc-band { background: var(--navy); color: var(--white); font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 10px 22px; }
.doc-row { display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); position: relative; }
.doc-row::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 2px 2px 0; }
.doc-row.c::before { background: var(--critical); } .doc-row.m::before { background: var(--major); } .doc-row.n::before { background: var(--minor); }
.doc-row .id { font: 600 .82rem/1.5 var(--sans); color: var(--muted); grid-row: span 3; font-variant-numeric: tabular-nums; }
.doc-row .tt { font-weight: 600; color: var(--navy); font-size: .96rem; line-height: 1.35; }
.doc-row .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .78rem; color: var(--muted); }
.sev { font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; }
.c .sev { color: var(--critical); background: color-mix(in srgb, var(--critical) 10%, white); }
.m .sev { color: var(--major); background: color-mix(in srgb, var(--major) 12%, white); }
.n .sev { color: var(--minor); background: var(--steel-soft); }
.doc-row .fx { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.doc-foot { padding: 12px 22px; font-size: .76rem; color: var(--muted); background: var(--stone); }

/* Path cards */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.path { display: grid; gap: 14px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; color: var(--charcoal); transition: border-color .15s, box-shadow .15s, transform .15s; }
.path:hover { border-color: color-mix(in srgb, var(--steel) 60%, transparent); box-shadow: 0 18px 36px -24px rgba(14,26,43,.35); transform: translateY(-2px); }
.path .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--steel-soft); color: var(--steel); display: grid; place-items: center; }
.path .ico svg { width: 22px; height: 22px; }
.path h3 { font-size: 1.2rem; }
.path p { color: var(--muted); font-size: .98rem; }
.path .go { font-weight: 600; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; font-size: .95rem; }
.path .go svg { width: 16px; height: 16px; transition: transform .15s; }
.path:hover .go svg { transform: translateX(3px); }

/* Services grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }
.svc { display: grid; gap: 12px; align-content: start; padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--charcoal); transition: background .15s; }
.svc:hover { background: var(--stone); }
.svc .ico { color: var(--steel); width: 28px; height: 28px; }
.svc .ico svg { width: 28px; height: 28px; }
.svc p { color: var(--muted); font-size: .96rem; }
.svc .go { font-weight: 600; font-size: .92rem; color: var(--navy); margin-top: 4px; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare article { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 32px; display: grid; gap: 16px; align-content: start; }
.compare article.feature { border-color: var(--navy); box-shadow: inset 0 3px 0 var(--navy); }
.compare .tagline { font-size: .9rem; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .98rem; }
.ticks li svg { width: 18px; height: 18px; color: var(--steel); margin-top: 4px; }
section.navy .ticks li svg { color: #9fb6cc; }

/* Assessment offer */
.offer { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 880px) { .offer { grid-template-columns: 1fr; } }
.price-card { background: var(--white); color: var(--charcoal); border-radius: 12px; padding: 32px; display: grid; gap: 18px; }
.price-card .from { font-size: .9rem; color: var(--muted); }
.price-card .amt { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.price-card .amt small { font-family: var(--sans); font-size: .95rem; color: var(--muted); margin-left: 6px; }
.price-card .credit { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--stone); border-radius: 8px; font-size: .94rem; }
.price-card .credit svg { width: 18px; height: 18px; color: var(--brass); flex: none; margin-top: 3px; }
.price-card .fine { font-size: .8rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 2rem; color: var(--brass); line-height: 1; }
.steps p { font-size: .96rem; color: var(--muted); }

/* Standards strip */
.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
@media (max-width: 860px) { .standards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .standards { grid-template-columns: 1fr; } }
.standards div { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.standards strong { color: var(--navy); font-weight: 600; }
.standards span { font-size: .9rem; color: var(--muted); }

/* Expert */
.expert { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 880px) { .expert { grid-template-columns: 1fr; } }
.profile { border: 1px dashed color-mix(in srgb, var(--steel) 55%, transparent); border-radius: 10px; padding: 26px; display: grid; gap: 14px; background: var(--white); }
.profile .ph { display: flex; gap: 16px; align-items: center; }
.profile .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--steel-soft); display: grid; place-items: center; color: var(--steel); font-weight: 600; }
.profile dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .92rem; }
.profile dt { color: var(--muted); }
.profile dd { margin: 0; color: var(--charcoal); }
.draft { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; color: var(--navy); font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(44px, 6vw, 80px); background: var(--stone); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 18px; }
.crumbs { font-size: .86rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; } }
.detail-main { display: grid; gap: 48px; }
.block { display: grid; gap: 16px; }
.block h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
@media (max-width: 920px) { .aside { position: static; } }
.aside .btn { width: 100%; }
.aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside li a { display: block; padding: 8px 0; text-decoration: none; font-size: .94rem; color: var(--charcoal); border-bottom: 1px solid var(--line); }
.aside li a:hover { color: var(--navy); }
.aside li a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: m; }
.mini-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; counter-increment: m; }
.mini-steps li::before { content: counter(m); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .85rem; font-weight: 600; color: var(--steel); }
.callout { padding: 20px 22px; background: var(--steel-soft); border-radius: 8px; display: grid; gap: 8px; }
.callout p { font-size: .96rem; }

/* Enquiry */
.enquiry { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 920px) { .enquiry { grid-template-columns: 1fr; } }
.enquiry-intro { display: grid; gap: 18px; }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list svg { width: 18px; height: 18px; color: #9fb6cc; }
.form-card { background: var(--white); color: var(--charcoal); border-radius: 12px; padding: clamp(22px, 4vw, 36px); }
form.enq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 600px) { form.enq { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; }
.f.full { grid-column: 1 / -1; }
.f label, .f legend { font-weight: 600; font-size: .9rem; color: var(--navy); padding: 0; }
.f label .opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { font: inherit; font-size: 1rem; color: var(--charcoal); padding: 13px 14px; border: 1px solid #d6d1c9; border-radius: var(--radius); background: var(--white); width: 100%; transition: border-color .15s, box-shadow .15s; }
.f textarea { min-height: 110px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px color-mix(in srgb, var(--steel) 20%, transparent); }
.f .hint { font-size: .8rem; color: var(--muted); }
fieldset.f { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 480px) { .seg { grid-template-columns: 1fr 1fr; } }
.seg label { display: grid; place-items: center; padding: 12px 8px; border: 1px solid #d6d1c9; border-radius: var(--radius); cursor: pointer; font-weight: 500; font-size: .94rem; color: var(--charcoal); text-align: center; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--steel); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .86rem; color: var(--muted); grid-column: 1 / -1; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-actions .btn { min-width: 220px; }
.form-error { grid-column: 1 / -1; color: var(--critical); font-size: .9rem; min-height: 0; }
.form-done { display: none; gap: 14px; }
.form-done.show { display: grid; }
.form-done .ref { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); background: var(--stone); padding: 10px 14px; border-radius: 6px; justify-self: start; }
.form-done pre { white-space: pre-wrap; font: .82rem/1.5 ui-monospace, Menlo, Consolas, monospace; background: var(--stone); padding: 14px; border-radius: 6px; margin: 0; color: var(--charcoal); }

/* Prose (privacy) */
.prose { display: grid; gap: 16px; max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Footer */
.site-footer { background: #0a1320; color: #9aa7b6; padding-block: 64px 32px; font-size: .92rem; }
.site-footer a { color: #d7dee7; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; } }
.f-grid h4 { color: var(--white); font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-brand { display: grid; gap: 14px; }
.f-brand .logo { color: var(--white); }
.f-brand .logo-mark { background: var(--white); }
.f-brand .logo-mark svg path { stroke: var(--navy); }
.f-brand .logo-text span { color: #8796a8; }
.f-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1f2b3b; display: grid; gap: 8px; font-size: .84rem; color: #7f8c9c; }
.f-legal p { max-width: none; }

.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; }
  .mobile-cta .btn { width: 100%; box-shadow: 0 14px 30px -12px rgba(14,26,43,.55); }
  .site-footer { padding-bottom: 104px; }
}
[hidden] { display: none !important; }

/* Schedule of defects */
.tally { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 16px 4px; }
.tl { font-weight: 600; font-size: .74rem; padding: 7px 8px; white-space: nowrap; border: 1px solid var(--line); border-radius: 3px; }
.tl.maj { background: #fdf3e2; color: #c06a00; border-color: #f1d9b0; }
.tl.min { background: #eaf6ee; color: #23784a; border-color: #c9e6d3; }
.tl.wk { background: #f1f2f4; color: #4b5563; }
.tl.lg { background: #f1f2f4; color: #4b5563; }
.sched { width: calc(100% - 32px); margin: 12px 16px 14px; border-collapse: collapse; font-size: .8rem; line-height: 1.4; border: 1px solid #c9a96a; }
.sched th { background: var(--navy); color: #fff; text-align: left; font-weight: 600; padding: 9px 8px; font-size: .78rem; }
.sched td { padding: 9px 8px; border-top: 1px solid #e4d6b8; vertical-align: top; color: var(--charcoal); }
.sched td + td, .sched th + th { border-left: 1px solid #e4d6b8; }
.sched td:nth-child(1), .sched td:nth-child(2), .sched td:nth-child(3) { background: #fffaf0; }
.sched td:nth-child(1) { font-weight: 600; text-align: center; }
.sv { font-weight: 600; }
.sv.maj { color: #c06a00; } .sv.min { color: #23784a; }
@media (max-width: 1100px) and (min-width: 921px) { .sched th:nth-child(6), .sched td:nth-child(6) { display: none; } }
@media (max-width: 600px) {
  .tally { grid-template-columns: 1fr 1fr; }
  .sched, .sched tbody, .sched tr, .sched td { display: block; }
  .sched thead { display: none; }
  .sched tr { border-top: 1px solid #e4d6b8; padding: 8px 0; }
  .sched tr:first-child { border-top: 0; }
  .sched td { border: 0 !important; background: none !important; display: grid; grid-template-columns: 78px 1fr; gap: 8px; padding: 3px 10px; text-align: left !important; }
  .sched td::before { content: attr(data-l); color: var(--muted); font-weight: 500; font-size: .74rem; }
}

.legal-band { margin: 0 16px; border-radius: 2px; }
.sched.legal td:nth-child(3), .sched.legal td:nth-child(4) { background: #fff; }
.sched.legal td:nth-child(1), .sched.legal td:nth-child(2) { background: #fffaf0; }
.sched.legal td:nth-child(3) { color: var(--muted); }
@media (max-width: 600px) { .legal-band { margin: 0 16px; } }

.hdr-phone { font-weight: 600; color: var(--navy); text-decoration: none; padding: 10px 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hdr-phone:hover { color: var(--steel); }
@media (max-width: 1180px) and (min-width: 981px) { .hdr-phone { display: none; } }
@media (max-width: 980px) { .hdr-phone { display: none !important; } }
.nav > a, .nav .dd > button, .btn, .logo-text strong, .logo-text span { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 981px) { .hdr-phone { display: none; } }
@media (max-width: 1100px) and (min-width: 981px) { .nav > a, .nav .dd > button { padding: 10px 8px; font-size: .9rem; } }
.site-header .wrap { width: min(1320px, 100% - 40px); }
