/*
Theme Name: GLC HR Consultancy
Theme URI: https://glc-hr.co.uk
Author: Xpose (bespoke build)
Author URI: https://xpose.online
Description: A fully bespoke, people-first HR consultancy theme for GLC HR (Norwich). Hand-coded from the GLC design system — no page builder. Two-tier hierarchical Services that auto-sync into the mega menu, footer and on-page listings; editable blog (Insights); a Reviews custom post type; and clean output ready for Simply Static export to Bunny CDN. ACF-aware with graceful fallbacks.
Version: 1.1.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glc-hr
Tags: bespoke, hr, consultancy, business, custom-post-types, static-export
*/

/* =========================================================================
   GLC HR — Design tokens
   Mirrors glc-tokens.jsx exactly so editors and developers share one palette.
   ========================================================================= */
:root {
  --navy: #1E3A8A;
  --navy-deep: #152C6B;
  --teal: #26C499;            /* bright accent: icons, fills, underlines */
  --teal-deep: #0D6E4C;       /* AA-contrast teal for TEXT on light papers (≥4.5:1) */
  --teal-bright: #1FA37E;     /* original mid-teal, kept for non-text accents if needed */
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --paper: #FBFBF8;
  --paper-2: #F4F1EA;
  --paper-3: #EBE6DA;

  --maxw: 1280px;
  --gutter: 56px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 40px -20px rgba(15,23,42,0.18);
  --shadow-float: 0 10px 30px rgba(15,23,42,0.12);
  --shadow-hero: 0 30px 60px -20px rgba(15,23,42,0.35);

  --font: 'Google Sans','Google Sans Text','DM Sans',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
}

/* =========================================================================
   Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3, h4, h5 { font-family: inherit; }
button, input, textarea, select { font-family: inherit; }
::selection { background: var(--teal); color: var(--navy); }
.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;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================================
   Layout primitives
   ========================================================================= */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.section--flush > .container { padding-top: 120px; padding-bottom: 120px; }
.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.bg-paper-3 { background: var(--paper-3); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy-deep { background: var(--navy-deep); color: #fff; }
.divider-line { border-bottom: 1px solid var(--line); }

/* Brand-mark watermark behind a section */
.section__watermark {
  position: absolute; pointer-events: none; z-index: 0; opacity: 0.04; line-height: 0;
}
.section__watermark--right { right: -120px; top: 60px; }
.section__watermark--left  { left: -120px; top: 60px; }
.person-mark { display: block; }

/* =========================================================================
   Typography helpers
   ========================================================================= */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal-deep); display: inline-flex; align-items: center; gap: 10px; margin: 0;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; display: inline-block; }
.eyebrow--teal { color: var(--teal); }
.eyebrow--light { color: var(--teal); }

.h-display { font-size: 68px; line-height: 1.05; font-weight: 700; letter-spacing: -1.8px; margin: 0; color: var(--ink); }
.h1 { font-size: 60px; line-height: 1.05; font-weight: 700; letter-spacing: -1.6px; margin: 0; color: var(--ink); }
.h2 { font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -1.2px; margin: 0; color: var(--ink); }
.h2--sm { font-size: 40px; letter-spacing: -1px; line-height: 1.15; }
.h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; margin: 0; color: var(--ink); }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.on-navy { color: #fff; }
.on-navy .muted, .on-navy-soft { color: rgba(255,255,255,0.78); }

.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-intro p { max-width: 380px; margin: 0; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill);
  font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  padding: 13px 22px; font-size: 14px; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15,23,42,0.12); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--teal { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.on-navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }

/* =========================================================================
   Site header + navigation + mega menu
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,248,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { height: 40px; width: auto; }
.site-header__meta { display: flex; align-items: center; gap: 10px; }
.site-header__locale { font-size: 13px; color: var(--muted); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 8px 4px; display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .is-active > a { color: var(--navy); }
.primary-nav .menu-item-has-children > a::after,
.primary-nav .has-mega > a::after { content: "▾"; font-size: 10px; opacity: .6; }

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(15,23,42,0.25);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner { max-width: var(--maxw); margin: 0 auto; padding: 36px var(--gutter) 40px; display: grid; grid-template-columns: repeat(3, 1fr) 1fr; gap: 28px; }
.mega__col h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }
.mega__parent { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
.mega__parent:hover { color: var(--navy); }
.mega__children { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mega__children a { font-size: 13px; color: var(--muted); text-decoration: none; }
.mega__children a:hover { color: var(--navy); }
.mega__promo { background: var(--navy); color: #fff; border-radius: 14px; padding: 24px; position: relative; overflow: hidden; }
.mega__promo h4 { color: var(--teal); }
.mega__promo p { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.55; margin: 8px 0 16px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg .wm-1 { position: absolute; right: -160px; top: -80px; opacity: 0.05; }
.hero__bg .wm-2 { position: absolute; left: -140px; bottom: -200px; opacity: 0.04; }
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 120px var(--gutter) 100px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.hero h1 { margin: 20px 0 0; }
.hero .lead { margin-top: 24px; max-width: 540px; }
.hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats { margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap; }
.stat__n { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat__sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hl { position: relative; display: inline-block; color: var(--navy); }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px; background: var(--teal); opacity: .35; z-index: -1; border-radius: 4px; }

.hero__visual { position: relative; }
.hero__card { position: relative; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-hero); }
.hero__card-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero__tag { position: absolute; color: #fff; }
.hero__tag--tl { left: 24px; top: 24px; }
.hero__tag--br { right: 24px; bottom: 24px; text-align: right; }
.hero__tag .k { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .7; }
.hero__tag .v { font-size: 16px; font-weight: 600; margin-top: 4px; }
.hero__float { position: absolute; left: -32px; bottom: -24px; background: #fff; padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow-float); display: flex; align-items: center; gap: 14px; max-width: 280px; }

/* =========================================================================
   Trust bar (marquee)
   ========================================================================= */
.trustbar { background: var(--navy); color: #fff; padding: 20px 0; overflow: hidden; border-bottom: 1px solid var(--navy-deep); }
.trustbar__track { display: inline-flex; gap: 48px; align-items: center; white-space: nowrap; padding-left: var(--gutter); font-size: 14px; font-weight: 500; letter-spacing: .5px; animation: marquee 40s linear infinite; }
.trustbar__item { display: inline-flex; align-items: center; gap: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trustbar__track { animation: none; } }

/* =========================================================================
   Card grids (services, sectors, reviews, posts)
   ========================================================================= */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mt-56 { margin-top: 56px; }
.mt-48 { margin-top: 48px; }
.mt-40 { margin-top: 40px; }

.card {
  background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.card--link { text-decoration: none; color: var(--ink); display: block; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card__wm { position: absolute; right: -30px; top: -20px; opacity: 0.05; line-height: 0; }
.card__wm--br { right: -20px; top: auto; bottom: -30px; }
.card__sub { font-size: 13px; color: var(--teal-deep); font-weight: 600; }
.card h3 { margin: 20px 0 6px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 16px 0 18px; }
.card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.card__list li { font-size: 13px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.card__list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.card__more { margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; gap: 6px; position: relative; z-index: 1; }

/* Sector card variant */
.sector-card { padding: 24px; border-radius: 14px; min-height: 220px; }
.sector-card h3 { font-size: 16px; margin: 16px 0 8px; }
.sector-card p { font-size: 13px; line-height: 1.55; margin: 0; position: relative; z-index: 1; }
.sector-card .count { margin-top: 16px; font-size: 11px; color: var(--teal-deep); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }

/* =========================================================================
   Process steps
   ========================================================================= */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process__step { position: relative; }
.process__step:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: -16px; width: 32px; height: 1px; background: var(--line); }
.process__num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.process__head { display: flex; align-items: center; gap: 12px; }
.process__time { font-size: 12px; color: var(--teal-deep); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.process__step h3 { margin: 20px 0 10px; }
.process__step p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }

/* Process rows (service page) */
.process-rows { margin-top: 48px; }
.process-row { display: grid; grid-template-columns: 80px 1fr 200px; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.process-row__num { font-size: 28px; font-weight: 700; color: var(--teal); }
.process-row h3 { margin: 0; }
.process-row p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 8px 0 0; max-width: 640px; }
.process-row__time { font-size: 12px; color: var(--teal-deep); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }

/* =========================================================================
   About
   ========================================================================= */
.about__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 120px var(--gutter); display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.portrait { aspect-ratio: 4/5; border-radius: 20px; position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, var(--paper-3) 0%, var(--paper-2) 100%); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; font-family: 'Courier New', monospace; color: var(--muted); font-size: 12px; }
.portrait__badge { position: absolute; left: 20px; top: 20px; background: #fff; padding: 8px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; color: var(--navy); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.cred-card { position: absolute; right: -32px; bottom: -28px; background: var(--navy); color: #fff; padding: 20px 24px; border-radius: 14px; max-width: 240px; box-shadow: 0 12px 30px rgba(15,23,42,0.2); }
.cred-card .k { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: .7; font-weight: 600; }
.cred-card .v { font-size: 16px; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.cred-grid .h { font-size: 14px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.cred-grid .sub { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.about__body p { font-size: 17px; color: var(--muted); line-height: 1.65; margin: 20px 0 0; max-width: 560px; }

/* =========================================================================
   Why GLC (navy)
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.why-item { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); }
.why-item__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.why-item__num { font-size: 14px; font-weight: 700; color: var(--teal); }
.why-item h3 { color: #fff; font-size: 20px; margin: 0 0 10px; letter-spacing: -0.3px; }
.why-item p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.65; margin: 0; }

/* =========================================================================
   Case study
   ========================================================================= */
.case-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-stats .n { font-size: 36px; font-weight: 700; color: var(--navy); letter-spacing: -1px; }
.case-stats .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.quote-card { background: var(--navy); border-radius: 20px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
.quote-card__mark { font-size: 56px; color: var(--teal); line-height: .8; font-weight: 700; margin-bottom: 8px; }
.quote-card p { font-size: 22px; line-height: 1.4; font-weight: 500; margin: 0; position: relative; z-index: 1; }
.quote-card__author { display: flex; align-items: center; gap: 14px; margin-top: 32px; position: relative; z-index: 1; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }

/* =========================================================================
   Reviews / testimonials
   ========================================================================= */
.review-card { background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--teal); font-size: 16px; }
.review-card .quote { font-size: 16px; color: var(--ink); line-height: 1.55; margin: 0; font-weight: 500; position: relative; z-index: 1; }
.review-card .by { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.review-card .by .n { font-size: 14px; font-weight: 600; color: var(--ink); }
.review-card .by .c { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* =========================================================================
   Insights / blog cards
   ========================================================================= */
.post-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; color: inherit; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.post-card__media { aspect-ratio: 16/9; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--paper-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media--navy { background: var(--navy); }
.post-card__media--teal { background: var(--teal); }
.post-card__tag { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,0.95); padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; color: var(--navy); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.post-card__body h3 { font-size: 19px; margin: 10px 0; line-height: 1.25; letter-spacing: -0.3px; }
.post-card__body p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.post-card__more { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; }

/* Featured post */
.featured-post { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; text-decoration: none; color: var(--ink); align-items: center; }
.featured-post__media { position: relative; aspect-ratio: 4/3; background: var(--navy); border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-post h2 { font-size: 36px; margin: 14px 0 16px; letter-spacing: -1px; line-height: 1.15; }

/* Filter tags */
.filter-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tags a, .filter-tags button { padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; }
.filter-tags .is-active { border-color: var(--navy); background: var(--navy); color: #fff; }

/* =========================================================================
   FAQ accordion
   ========================================================================= */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item > summary, .faq-item__btn { width: 100%; border: 0; background: transparent; text-align: left; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: all .2s ease; }
.faq-item[open] .faq-item__icon { background: var(--navy); color: #fff; transform: rotate(45deg); }
.faq-item__body { padding: 0 24px 22px; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* FAQ page layout */
.faq-page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; }
.faq-toc { position: sticky; top: 100px; }
.faq-toc__label { font-size: 12px; font-weight: 600; color: var(--teal-deep); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.faq-toc nav { display: flex; flex-direction: column; gap: 10px; }
.faq-toc a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 0 8px 12px; border-left: 2px solid var(--line); }
.faq-toc a:hover { border-color: var(--teal); }
.faq-help { margin-top: 32px; padding: 20px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.faq-groups { display: flex; flex-direction: column; gap: 48px; }
.faq-group h2 { font-size: 28px; margin: 0 0 16px; letter-spacing: -0.6px; display: flex; align-items: center; gap: 12px; }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.price-card { background: #fff; color: var(--ink); padding: 32px; border-radius: 18px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.price-card--featured { background: var(--navy); color: #fff; border: none; box-shadow: 0 20px 40px -20px rgba(15,23,42,0.3); }
.price-card__badge { position: absolute; top: 16px; right: 16px; background: var(--teal); color: var(--navy); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; }
.price-card__name { font-size: 13px; font-weight: 600; color: var(--teal-deep); text-transform: uppercase; letter-spacing: 1px; }
.price-card--featured .price-card__name { color: var(--teal); }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.price-card__price .amt { font-size: 40px; font-weight: 700; letter-spacing: -1px; }
.price-card__price .unit { font-size: 14px; color: var(--muted); }
.price-card--featured .price-card__price .unit { color: rgba(255,255,255,0.7); }
.price-card p { font-size: 14px; line-height: 1.6; margin: 16px 0 20px; color: var(--muted); position: relative; z-index: 1; }
.price-card--featured p { color: rgba(255,255,255,0.85); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.price-card li { font-size: 13px; display: flex; align-items: center; gap: 8px; }
.price-card li::before { content: "✓"; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }

/* =========================================================================
   Locations
   ========================================================================= */
.locations-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.town-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.town-pill { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
.office-card { margin-top: 24px; padding: 20px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.office-card .k { font-size: 12px; color: var(--teal-deep); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================================================
   CTA / contact form
   ========================================================================= */
.cta { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.cta__wm-1 { position: absolute; right: -120px; top: -120px; opacity: 0.08; line-height: 0; }
.cta__wm-2 { position: absolute; left: -160px; bottom: -200px; opacity: 0.06; line-height: 0; }
.cta__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 100px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { font-size: 56px; margin: 16px 0 0; font-weight: 700; letter-spacing: -1.5px; line-height: 1.05; }
.cta .lead { color: rgba(255,255,255,0.78); margin-top: 24px; max-width: 480px; }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-list__row { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.contact-list__row .k { width: 80px; font-size: 12px; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.contact-list__row a, .contact-list__row .v { color: #fff; font-size: 16px; text-decoration: none; font-weight: 500; }

.form-card { background: #fff; padding: 36px; border-radius: 20px; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4); }
.form-card h3 { font-size: 22px; margin: 0; letter-spacing: -0.3px; }
.form-card .hint { font-size: 13px; color: var(--muted); margin: 6px 0 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-top: 12px; }
.field:first-child { margin-top: 0; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; background: var(--paper); }
.field textarea { resize: vertical; }
.consent { margin-top: 16px; display: flex; gap: 10px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.btn-submit { margin-top: 20px; width: 100%; padding: 14px 22px; border-radius: var(--radius-pill); background: var(--navy); color: #fff; border: 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.form-success { background: rgba(38,196,153,0.12); border: 1px solid var(--teal); color: var(--ink); border-radius: 12px; padding: 16px 18px; font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.form-success strong { display: block; color: var(--teal-deep); margin-bottom: 2px; }
.form-success.on-navy { background: rgba(255,255,255,0.1); border-color: var(--teal); color: #fff; }
.form-success.on-navy strong { color: var(--teal); }

/* Contact page extras */
.contact-detail-card { background: #fff; padding: 22px; border-radius: 14px; border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; position: relative; overflow: hidden; }
.contact-detail-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-card .k { font-size: 11px; font-weight: 600; color: var(--teal-deep); text-transform: uppercase; letter-spacing: 1px; }
.contact-detail-card .v { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 4px; text-decoration: none; display: block; }
.contact-detail-card .s { font-size: 13px; color: var(--muted); margin-top: 4px; }
.hours-card { background: var(--navy); color: #fff; padding: 22px; border-radius: 14px; position: relative; overflow: hidden; }
.hours-grid { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 14px; }
.map-embed { margin-top: 32px; aspect-ratio: 16/6; background: linear-gradient(135deg, var(--paper-3) 0%, var(--paper-2) 100%); border-radius: 20px; border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; cursor: pointer; background: #fff; }
.urgency-group { display: flex; gap: 8px; }
.urgency-group label { flex: 1; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: var(--radius-pill); border: 0; font-size: 15px; background: #fff; }
.newsletter button { padding: 14px 24px; border-radius: var(--radius-pill); background: var(--teal); color: var(--navy); border: 0; font-size: 14px; font-weight: 700; cursor: pointer; }

/* =========================================================================
   Page hero (inner pages) + breadcrumbs
   ========================================================================= */
.page-hero { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero__wm-1 { position: absolute; right: -100px; top: -80px; opacity: 0.05; line-height: 0; }
.page-hero__wm-2 { position: absolute; left: -120px; bottom: -180px; opacity: 0.04; line-height: 0; }
.page-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gutter) 56px; }
.page-hero h1 { margin: 20px 0 0; max-width: 920px; }
.page-hero .lead { margin: 20px 0 0; max-width: 720px; }
.breadcrumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs .current { color: var(--navy); font-weight: 600; }
.page-hero__stats { margin-top: 36px; display: flex; gap: 32px; flex-wrap: wrap; }
.page-hero__stats .n { font-size: 18px; font-weight: 700; color: var(--navy); }

/* =========================================================================
   Prose (single post / page content)
   ========================================================================= */
.prose { font-size: 17px; line-height: 1.75; color: #24344d; max-width: 760px; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 30px; letter-spacing: -0.6px; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 22px; margin-top: 1.6em; color: var(--ink); }
.prose a { color: var(--navy); font-weight: 600; }
.prose img { border-radius: 14px; }
.prose blockquote { border-left: 3px solid var(--teal); padding: 4px 0 4px 24px; margin-left: 0; color: var(--ink); font-size: 20px; font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: .4em; }
.prose code { background: var(--paper-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--ink); color: #fff; padding: 20px; border-radius: 12px; overflow: auto; }
.prose .callout { background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 20px 24px; font-size: 15px; }
.prose .callout strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.prose .callout ul { margin: 8px 0 0; }
.prose h2 + p { margin-top: .6em; }

.post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.post-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.post-aside .box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.post-hero-media { aspect-ratio: 16/7; border-radius: 20px; overflow: hidden; margin-top: 32px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.tag-pill { display: inline-block; background: var(--paper-2); color: var(--navy); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); text-decoration: none; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.site-footer__wm { position: absolute; right: -180px; bottom: -120px; opacity: 0.06; pointer-events: none; line-height: 0; }
.site-footer__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 80px var(--gutter) 32px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand__logo { background: #fff; padding: 10px 14px; border-radius: 10px; display: inline-block; }
.footer-brand__logo img { height: 44px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 1.65; margin-top: 18px; color: rgba(255,255,255,0.78); max-width: 320px; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { color: var(--teal); text-decoration: none; }
.footer-contact span { color: rgba(255,255,255,0.6); }
.footer-col h2 { margin: 0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.78); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 12px; color: rgba(255,255,255,0.55); }
.footer-bottom .links { display: flex; gap: 18px; font-size: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }

/* =========================================================================
   Utilities
   ========================================================================= */
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-32 { gap: 32px; }
.flex-wrap { flex-wrap: wrap; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.text-right { text-align: right; }
.maxw-720 { max-width: 720px; }
.maxw-760 { max-width: 760px; }

/* =========================================================================
   Motion & interaction (progressive enhancement — content shows without JS)
   ========================================================================= */
html { scroll-behavior: smooth; }
.site-header { transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(15,23,42,0.22); }

/* Scroll-reveal: only arms when <html class="js"> is present (set before paint). */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .07s; }
.js .reveal[data-d="2"] { transition-delay: .14s; }
.js .reveal[data-d="3"] { transition-delay: .21s; }
.js .reveal[data-d="4"] { transition-delay: .28s; }
.js .reveal[data-d="5"] { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Card lift refinement (smoother than the inline default) */
.card, .post-card, .review-card, .price-card, .town-pill { transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .25s ease; }
.town-pill:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 8px 18px -10px rgba(15,23,42,0.15); }
.btn { will-change: transform; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; }
  .mega__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --gutter: 28px; }
  .h-display { font-size: 48px; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 36px; }
  .cta h2 { font-size: 40px; }
  .hero__inner,
  .about__inner,
  .case-grid,
  .locations-grid,
  .cta__inner,
  .newsletter,
  .faq-layout,
  .featured-post,
  .post-layout,
  .faq-page-layout { grid-template-columns: 1fr; gap: 40px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cred-card, .hero__float { position: static; margin-top: 20px; max-width: none; }
  .post-aside { position: static; }
  .faq-toc { position: static; }
  .process-row { grid-template-columns: 48px 1fr; }
  .process-row__time { grid-column: 2; }
}
@media (max-width: 700px) {
  .section > .container { padding-top: 64px; padding-bottom: 64px; }
  .section--flush > .container,
  .hero__inner, .about__inner, .cta__inner { padding-top: 64px; padding-bottom: 64px; }
  .hero__inner { padding-top: 72px; }
  .grid--3, .grid--4, .why-grid, .pricing-grid, .process { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .h-display { font-size: 38px; letter-spacing: -1px; }
  .h1 { font-size: 34px; }
  .h2, .h2--sm { font-size: 28px; }
}

/* Collapse the header to a hamburger for tablets & below (the full horizontal
   nav + locale + CTA only fits comfortably on true desktop). */
@media (max-width: 1024px) {
  .primary-nav, .site-header__locale { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .primary-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 24px;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .site-header.nav-open .primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .site-header.nav-open .primary-nav a { padding: 12px 4px; font-size: 16px; }
  .has-mega { position: relative; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; }
  .mega__inner { grid-template-columns: 1fr 1fr; padding: 8px 0 12px; gap: 16px; }
  .mega__promo { display: none; }
}
@media (max-width: 560px) {
  .mega__inner { grid-template-columns: 1fr; }
}
