/*
Theme Name: H G M & Co LLP
Theme URI: https://hgmllp.com
Author: H G M & Co LLP
Description: Custom theme for H G M & Co LLP, Chartered Accountants. Includes service pages, articles (Insights), document checklists with PDFs, an enquiry form (Contact Form 7), an ICAI-style disclaimer and editable firm details under Appearance → Customize → Firm details.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: hgm
*/

/* ==========================================================
   H G M & Co LLP — Chartered Accountants
   Shared stylesheet (prototype → WordPress theme style.css)
   ========================================================== */

:root {
  --royal: #2c5cd0;        /* primary: royal blue */
  --royal-dark: #2249a8;
  --royal-tint: #f1f5fd;
  --royal-soft: #dfe8fa;
  --sky: #2ba3de;          /* from the logo */
  --slate: #5f7f91;        /* from the logo */
  --ink: #0f1b2d;
  --text: #3a4657;
  --muted: #6b7788;
  --line: #e3e8ef;
  --soft: #f5f7fb;
  --white: #ffffff;
  --whatsapp: #25d366;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px rgba(15, 27, 45, .06);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, .04), 0 20px 48px rgba(15, 27, 45, .10);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--royal-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 128px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 14px;
}
.lead { font-size: 1.22rem; color: var(--muted); max-width: 700px; }
.section-head { max-width: 760px; margin-bottom: 68px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  font-family: inherit;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--royal); color: #fff; box-shadow: 0 4px 14px rgba(44, 92, 208, .16); }
.btn--primary:hover { background: var(--royal-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn--white { background: #fff; color: var(--royal); }
.btn--white:hover { background: var(--royal-tint); color: var(--royal-dark); }
.btn--outline-white { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-white:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar {
  background: var(--ink);
  color: #c4cdd9;
  font-size: .84rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #c4cdd9; }
.topbar a:hover { color: #fff; }
.topbar__items { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__items span, .topbar__items a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15,27,45,.05); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--ink); font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover { background: var(--soft); color: var(--royal); }
.nav a.is-active { color: var(--royal); background: transparent; box-shadow: inset 0 -2px 0 var(--royal-soft); border-radius: 0; }
.nav .btn { margin-left: 10px; padding: 11px 20px; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 128px 0 136px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 92% -10%, rgba(43,163,222,.14), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(31,79,196,.08), transparent 60%),
    #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 10%, transparent 70%);
  opacity: .5;
  pointer-events: none;
}
.hero .container { position: relative; max-width: 960px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.08; }
.hero h1 span { color: var(--royal); }
.hero .lead { margin: 28px auto 44px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .hero__ctas { justify-content: center; }
.hero .btn { padding: 16px 30px; font-size: 1rem; }
.hero__trust { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; justify-content: center; }
.hero__trust div { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.hero__trust svg { width: 20px; height: 20px; color: var(--royal); flex: none; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 6px 14px 6px 8px; border-radius: 999px;
  font-size: .84rem; font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.badge i {
  font-style: normal; font-size: .72rem; font-weight: 700;
  background: var(--royal-tint); color: var(--royal); padding: 3px 9px; border-radius: 999px;
}

/* Compliance card in hero */
.deadline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.deadline-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.deadline-card__head h3 { margin: 0; font-size: 1.05rem; }
.deadline-card__head span { font-size: .78rem; color: var(--muted); }
.deadline-list { list-style: none; margin: 0; padding: 0; }
.deadline-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--line);
}
.deadline-list li:first-child { border-top: 0; }
.deadline-date {
  flex: none; width: 52px; text-align: center;
  background: var(--royal-tint); color: var(--royal);
  border-radius: 10px; padding: 6px 0; line-height: 1.1;
}
.deadline-date b { display: block; font-size: 1.15rem; font-family: var(--font-head); }
.deadline-date small { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.deadline-info { flex: 1; min-width: 0; }
.deadline-info strong { display: block; color: var(--ink); font-size: .93rem; font-weight: 600; }
.deadline-info span { font-size: .8rem; color: var(--muted); }
.tag {
  flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  padding: 4px 9px; border-radius: 999px; background: var(--soft); color: var(--slate);
}
.tag--gst { background: #e8f6fd; color: #1a7fb3; }
.tag--it { background: var(--royal-tint); color: var(--royal); }
.tag--tds { background: #eef2f5; color: var(--slate); }
.tag--roc { background: #f0ecfb; color: #5b45b0; }
.deadline-card__foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .85rem; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--royal-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: 1rem; }
.card .link-arrow { font-size: .92rem; }

.icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--royal-tint); color: var(--royal);
  margin-bottom: 22px;
}
.icon svg { width: 26px; height: 26px; }

/* ---------- Why us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.feature-list { display: grid; gap: 34px; }
.feature { display: flex; gap: 18px; }
.feature .icon { margin: 0; flex: none; width: 46px; height: 46px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 4px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.panel {
  position: relative;
  background: linear-gradient(160deg, var(--royal-tint) 0%, #eaf4fb 100%);
  border: 1px solid var(--royal-soft);
  color: var(--text);
  border-radius: 22px;
  padding: 48px;
  overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; right: -80px; bottom: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 44px solid rgba(44,92,208,.05);
}
.panel h3 { font-size: 1.5rem; }
.panel blockquote { margin: 0 0 28px; font-size: 1.15rem; line-height: 1.6; color: var(--ink); position: relative; z-index: 1; }
.panel ul { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; display: grid; gap: 12px; }
.panel li { display: flex; gap: 10px; align-items: flex-start; }
.panel li svg { width: 20px; height: 20px; color: var(--royal); flex: none; margin-top: 3px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--royal);
  display: block; margin-bottom: 10px; line-height: 1;
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--royal), var(--sky));
  opacity: .25;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 500; color: var(--ink); font-size: .93rem;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--royal-tint) 0%, #eaf5fc 100%);
  border: 1px solid var(--royal-soft);
  border-radius: 24px;
  padding: 72px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 100% 0%, rgba(44,92,208,.08), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band > div:first-child { flex: 1 1 420px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin: 0; max-width: 520px; }
.cta-band .hero__ctas { flex: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 104px 0 96px;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(43,163,222,.12), transparent 60%),
    var(--soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--royal); }

/* ---------- Services detail ---------- */
.svc-nav {
  position: sticky; top: 78px; z-index: 10;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.svc-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.svc-nav .container::-webkit-scrollbar { display: none; }
.svc-nav a {
  flex: none; padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  color: var(--text); border: 1px solid var(--line); background: #fff;
}
.svc-nav a:hover, .svc-nav a.is-active { color: var(--royal); border-color: var(--royal); background: var(--royal-tint); }

.svc {
  display: grid; grid-template-columns: 340px 1fr; gap: 56px;
  padding: 96px 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: 150px;
}
.svc:last-child { border-bottom: 0; }
.svc__intro .icon { width: 60px; height: 60px; }
.svc__intro p { color: var(--muted); }
.svc__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc__item {
  padding: 26px; border-radius: var(--radius-sm);
  background: var(--soft); border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.svc__item:hover { background: #fff; border-color: var(--line); }
.svc__item h4 { font-size: 1rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.svc__item h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--royal); flex: none; }
.svc__item p { margin: 0; font-size: .97rem; color: var(--muted); }

.svc__intro { position: sticky; top: 150px; align-self: start; }
.svc__group {
  grid-column: 1 / -1;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate); margin: 18px 0 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.svc__group:first-child { margin-top: 0; }
.svc__fit {
  font-size: .92rem; color: var(--text); margin: 4px 0 26px;
  padding: 14px 16px; border-left: 3px solid var(--royal-soft); background: var(--soft); border-radius: 0 8px 8px 0;
}
.svc__fit span {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--royal); margin-bottom: 2px;
}

/* Audit approach strip */
.approach {
  margin: 8px 0 0; padding: 40px; border-radius: 20px;
  background: linear-gradient(120deg, var(--royal-tint) 0%, #eaf5fc 100%);
  border: 1px solid var(--royal-soft);
}
.approach__head { margin-bottom: 28px; }
.approach__head h3 { font-size: 1.4rem; margin: 0; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: phase; }
.phases li { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid var(--royal-soft); }
.phases li::before {
  counter-increment: phase; content: "0" counter(phase);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--royal); margin-bottom: 8px;
}
.phases b { display: block; color: var(--ink); font-family: var(--font-head); margin-bottom: 4px; }
.phases span { font-size: .9rem; color: var(--muted); line-height: 1.55; display: block; }

/* Home service cards with bullet points */
.card--svc { display: flex; flex-direction: column; padding: 32px 28px; color: inherit; }
.card--svc:hover { color: inherit; }
.card--svc h3 { font-size: 1.12rem; margin-bottom: 14px; }
.card--svc ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.card--svc li { position: relative; padding-left: 18px; font-size: .94rem; color: var(--muted); line-height: 1.5; }
.card--svc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.card--svc .link-arrow { margin-top: auto; font-size: .92rem; color: var(--royal); }

/* ---------- About & team ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.stat span { font-size: .9rem; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 920px; margin: 0 auto; }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 36px; display: flex; gap: 24px; align-items: flex-start;
  transition: box-shadow .25s, border-color .25s;
}
.member:hover { box-shadow: var(--shadow); border-color: var(--royal-soft); }
.avatar {
  flex: none; width: 88px; height: 88px; border-radius: 18px;
  background: var(--royal-tint); border: 1px solid var(--royal-soft);
  color: var(--royal); font-family: var(--font-head); font-weight: 800; font-size: 1.7rem;
  display: grid; place-items: center; letter-spacing: .02em;
}
.member h3 { margin-bottom: 2px; font-size: 1.2rem; }
.member .role { font-size: .88rem; font-weight: 600; color: var(--royal); margin-bottom: 12px; display: block; }
.member p { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }
.member .chips { gap: 8px; }
.member .chip { padding: 5px 12px; font-size: .8rem; }

/* Vision / mission / values */
.vmv {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff;
}
.vmv__item { padding: 44px 40px; }
.vmv__item + .vmv__item { border-left: 1px solid var(--line); }
.vmv__item p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* Practice areas list (About) */
.practice-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.practice-list a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.practice-list a:hover { border-color: var(--royal-soft); box-shadow: var(--shadow); }
.practice-list b { color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
.practice-list b::after { content: " →"; color: var(--royal); }
.practice-list span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 1024px) { .practice-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .practice-list { grid-template-columns: 1fr; } }

/* Team roles & review flow */
.role { padding: 32px 28px; }
.role h3 { font-size: 1.12rem; }
.role p { font-size: .95rem; margin: 0; }
.review-flow {
  margin-top: 40px; padding: 28px 32px; border-radius: 16px;
  background: var(--soft); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.review-flow .eyebrow { margin: 0; }
.review-flow ol { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; gap: 12px; flex-wrap: wrap; }
.review-flow li {
  flex: 1 1 180px; display: flex; flex-direction: column;
  padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; position: relative;
}
.review-flow b { color: var(--ink); font-family: var(--font-head); }
.review-flow span { font-size: .9rem; color: var(--muted); }

/* ---------- Resources ---------- */
.tabs { display: inline-flex; gap: 6px; background: var(--soft); padding: 6px; border-radius: 999px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs button {
  border: 0; background: transparent; font: inherit; font-size: .9rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; color: var(--text); cursor: pointer;
}
.tabs button.is-active { background: #fff; color: var(--royal); box-shadow: var(--shadow); }

.calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calendar table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.calendar th {
  text-align: left; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--soft); padding: 14px 20px; font-weight: 700;
}
.calendar td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.calendar td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.calendar tr.is-hidden { display: none; }
.note { font-size: .84rem; color: var(--muted); margin-top: 16px; }

.post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post__thumb {
  height: 170px; position: relative;
  background: linear-gradient(135deg, var(--royal-tint), #dff1fb);
  display: grid; place-items: center; color: var(--royal);
}
.post__thumb svg { width: 54px; height: 54px; opacity: .8; }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.post__meta .tag { font-size: .68rem; }
.post h3 { font-size: 1.1rem; }
.post .link-arrow { margin-top: auto; }

.downloads { display: grid; gap: 14px; }
.download {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: border-color .2s;
}
.download:hover { border-color: var(--royal); }
.download .icon { margin: 0; width: 44px; height: 44px; flex: none; }
.download .icon svg { width: 22px; height: 22px; }
.download div { flex: 1; }
.download strong { display: block; color: var(--ink); font-size: .96rem; }
.download span { font-size: .84rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card .icon { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h4 { margin: 0 0 4px; font-size: .98rem; }
.contact-card p, .contact-card a { margin: 0; font-size: .94rem; color: var(--text); }
.contact-card a:hover { color: var(--royal); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(44,92,208,.10);
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: .82rem; max-width: 320px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #e9f8ef; color: #17663a; font-size: .92rem; display: none; }
.form-status.is-visible { display: block; }

.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9b4c4; padding: 96px 0 0; margin-top: 96px; font-size: .93rem; }
.footer--flush { margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer__brand {
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em;
  color: #fff; line-height: 1.2; margin-bottom: 18px;
}
.footer__brand span {
  display: block; margin-top: 6px;
  font-family: var(--font); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sky);
}
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #a9b4c4; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--sky); }
.footer__bottom {
  margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #7d8a9c;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 0;
  min-width: 56px; height: 56px; box-sizing: border-box;
  background: var(--whatsapp); color: #fff;
  padding: 14px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(37,211,102,.4);
  font-weight: 600; font-size: .92rem;
  transition: transform .2s, padding .25s;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s; }
.wa-float:hover span { max-width: 160px; padding: 0 6px 0 10px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .svc__intro { position: static; }
  .phases { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    box-shadow: 0 20px 30px rgba(15,27,45,.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; border-radius: 10px; }
  .nav .btn { margin: 8px 0 0; }
}

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid--3, .values { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr; }
  .topbar__hide { display: none !important; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section--tight { padding: 64px 0; }
  .hero { padding: 72px 0 88px; }
  body { font-size: 16px; }
  .grid--3, .grid--2, .grid--4, .values, .stat-row, .steps, .svc__list, .form-grid, .footer__grid { grid-template-columns: 1fr; }
  .card, .form-card { padding: 28px; }
  .vmv { grid-template-columns: 1fr; }
  .vmv__item { padding: 30px 26px; }
  .vmv__item + .vmv__item { border-left: 0; border-top: 1px solid var(--line); }
  .review-flow { padding: 24px 20px; gap: 16px; flex-direction: column; align-items: stretch; }
  .review-flow ol { flex-direction: column; }
  .review-flow li { flex: none; }
  .phases { grid-template-columns: 1fr; gap: 10px; }
  .phases li { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; padding: 14px 16px; }
  .phases li::before { grid-row: span 2; margin: 2px 0 0; }
  .phases b { margin-bottom: 0; }
  .approach { padding: 28px 18px; }
  .panel { padding: 32px; }
  .cta-band { padding: 44px 28px; }
  .member { flex-direction: column; padding: 28px; }
  .brand img { height: 30px; }
  .topbar .container { justify-content: center; }
  .topbar__items { gap: 16px; justify-content: center; }
  .calendar { overflow-x: auto; }
  .calendar table { min-width: 520px; }
  .hero__ctas .btn { flex: 1; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* ==========================================================
   Articles, insights & checklists
   ========================================================== */
.is-hidden { display: none !important; }

/* Article cards */
.post h3 a { color: var(--ink); }
.post h3 a:hover { color: var(--royal); }
a.post__thumb:hover { color: var(--royal); }

/* Resources: checklist rows (title opens page, PDF button downloads) */
.download { position: relative; }
.download__title { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; }
.download__title::after { content: ""; position: absolute; inset: 0; }
.download__pdf {
  position: relative; z-index: 1; flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .8rem; font-weight: 700; color: var(--royal); background: #fff;
}
.download__pdf svg { width: 14px; height: 14px; }
.download__pdf:hover { border-color: var(--royal); }

/* Article page */
.back-link { display: inline-block; font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.article-wrap { max-width: 800px; }
.article-head {
  padding: 88px 0 56px;
  background: radial-gradient(800px 400px at 100% 0%, rgba(43,163,222,.12), transparent 60%), var(--soft);
  border-bottom: 1px solid var(--line);
}
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 14px 0 18px; }
.article-head .lead { margin-bottom: 28px; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .88rem; }
.share > span { color: var(--muted); font-weight: 600; margin-right: 4px; }
.share a, .share button {
  font: inherit; font-weight: 600; color: var(--text); background: #fff; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.share a:hover, .share button:hover { border-color: var(--royal); color: var(--royal); }

.prose { padding-top: 56px; padding-bottom: 88px; font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--royal); font-weight: 700; }
.prose strong { color: var(--ink); }
.callout {
  margin: 32px 0; padding: 20px 24px; border-radius: 12px;
  background: var(--royal-tint); border-left: 4px solid var(--royal); color: var(--text);
}
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th { text-align: left; background: var(--soft); padding: 12px 16px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prose td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.article-cta {
  margin: 56px 0 28px; padding: 28px 32px; border-radius: 16px;
  background: linear-gradient(120deg, var(--royal-tint), #eaf5fc); border: 1px solid var(--royal-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.article-cta h3 { margin: 0 0 4px; font-size: 1.2rem; }
.article-cta p { margin: 0; color: var(--muted); font-size: .98rem; }
.disclaimer { font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }

/* Checklist page */
.checklist-hero .back-link { margin-bottom: 18px; }
.checklist-actions { margin-top: 28px; }
.checklist-wrap { max-width: 860px; }
.checklist-group { margin-bottom: 40px; break-inside: avoid; }
.checklist-group h2 { font-size: 1.25rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; line-height: 1.6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 18px; height: 18px; border: 2px solid var(--royal-soft); border-radius: 5px; background: #fff;
}
.checklist-cta {
  margin-top: 48px; padding: 28px 32px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.checklist-cta h3 { margin: 0 0 4px; font-size: 1.15rem; }
.checklist-cta p { margin: 0; color: var(--muted); }
.print-brand { display: none; }

@media (max-width: 640px) {
  .article-head { padding: 56px 0 40px; }
  .prose { padding-top: 40px; padding-bottom: 64px; font-size: 1rem; }
  .article-cta, .checklist-cta { padding: 22px; }
  .download { flex-wrap: wrap; }
}

/* ---------- Print (checklists & articles) ---------- */
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  body { font-size: 11pt; line-height: 1.5; background: #fff; }
  .header, .footer, .wa-float, .back-link, .checklist-actions, .checklist-cta, .share, .article-cta, .svc-nav { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .print-brand {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
    padding-bottom: 10px; margin-bottom: 18px; border-bottom: 2px solid var(--royal);
  }
  .print-brand b { font-family: var(--font-head); font-size: 15pt; color: var(--ink); }
  .print-brand span { font-size: 9pt; color: var(--muted); }
  .print-brand span:nth-of-type(1) { color: var(--royal); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .print-brand span:last-child { margin-left: auto; }
  .page-hero, .article-head { padding: 0 0 12px; background: none; border: 0; }
  .page-hero h1, .article-head h1 { font-size: 20pt; margin: 4px 0 6px; }
  .page-hero .lead { font-size: 10.5pt; margin: 0; }
  .section { padding: 8px 0 0; }
  .container { padding: 0; max-width: none; }
  .checklist-group { margin-bottom: 14px; }
  .checklist-group h2 { font-size: 12pt; margin-bottom: 6px; padding-bottom: 4px; }
  .checklist { gap: 4px; }
  .checklist li { padding-left: 24px; font-size: 10.5pt; }
  .checklist li::before { width: 11px; height: 11px; border: 1.5px solid #8aa0bf; border-radius: 3px; top: .3em; }
  .note { font-size: 9pt; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.tag { white-space: nowrap; }
@media (max-width: 640px) {
  .cta-band .hero__ctas, .checklist-cta .hero__ctas, .checklist-actions { flex-direction: column; width: 100%; }
}

.map-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 640px) { .map-actions .btn { flex: 1; } .map { height: 300px; } }

/* ==========================================================
   Mobile refinements (phones only, ≤ 640px). Desktop and tablet untouched.
   ========================================================== */
.svc__toggle { display: none; }

@media (max-width: 640px) {
  /* Rhythm & type */
  body { font-size: 15.5px; line-height: 1.65; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.08rem; }
  .lead { font-size: 1.02rem; }
  .eyebrow { font-size: .7rem; margin-bottom: 8px; }
  .section { padding: 52px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 26px; }
  .split { gap: 24px; }
  .grid { gap: 12px; }
  .page-hero { padding: 44px 0 36px; }
  .page-hero h1 { font-size: 1.85rem; }

  /* Header */
  .header .container { height: 64px; }
  .nav { top: 64px; }
  .svc-nav { top: 64px; }
  .brand img { height: 28px; }

  /* Home hero */
  .hero { padding: 52px 0 56px; }
  .hero h1 { font-size: 2.15rem; line-height: 1.12; }
  .hero .lead { margin: 16px auto 26px; font-size: 1rem; }
  .hero .btn { padding: 14px 22px; }
  .hero__trust { margin-top: 28px; gap: 8px 18px; }
  .hero__trust div { font-size: .82rem; }
  .hero__trust svg { width: 16px; height: 16px; }

  /* Cards & icons */
  .card { padding: 22px 20px; }
  .card p { font-size: .94rem; margin-bottom: 0; }
  .icon { width: 42px; height: 42px; margin-bottom: 14px; border-radius: 10px; }
  .icon svg { width: 21px; height: 21px; }

  /* Home: service cards become compact 2-column tiles */
  .svc-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-cards > :last-child { grid-column: 1 / -1; }
  .card--svc { padding: 16px 14px; }
  .card--svc .icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .card--svc .icon svg { width: 18px; height: 18px; }
  .card--svc h3 { font-size: .92rem; line-height: 1.3; margin-bottom: 8px; }
  .card--svc ul { display: none; }
  .card--svc .link-arrow { font-size: .78rem; }

  /* Swipeable rows: principles, process steps, article cards */
  .values, .steps,
  .grid:has(> .post):not(#article-grid) {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none;
  }
  .values::-webkit-scrollbar, .steps::-webkit-scrollbar, .grid:has(> .post)::-webkit-scrollbar { display: none; }
  .values > *, .steps > *, .grid:has(> .post) > * { scroll-snap-align: start; }
  .steps { row-gap: 0; }
  .step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 20px; }
  .step::after { left: 20px; right: 20px; top: 0; }
  .post__thumb { height: 104px; }
  .post__thumb svg { width: 40px; height: 40px; }
  .post__body { padding: 18px; }
  .post h3 { font-size: 1rem; }

  /* Feature lists, panels, chips */
  .feature-list { gap: 18px; }
  .feature { gap: 14px; }
  .feature .icon { width: 38px; height: 38px; }
  .feature .icon svg { width: 19px; height: 19px; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: .92rem; }
  .panel { padding: 24px 20px; border-radius: 16px; }
  .panel blockquote { font-size: 1.02rem; margin-bottom: 18px; }
  .chips { gap: 8px; }
  .chip { padding: 7px 12px; font-size: .82rem; }
  .deadline-card { padding: 18px 16px; border-radius: 16px; }
  .deadline-list li { padding: 10px 0; gap: 10px; }
  .deadline-date { width: 46px; }
  .deadline-info strong { font-size: .88rem; }
  .deadline-info span { font-size: .76rem; }
  .cta-band { padding: 28px 20px; border-radius: 16px; gap: 18px; }
  .cta-band h2 { font-size: 1.3rem; }
  .cta-band p { font-size: .94rem; }

  /* About */
  .vmv__item { padding: 22px 20px; }
  .vmv__item .icon { margin-bottom: 10px; }
  .practice-list { gap: 8px; }
  .practice-list a { padding: 14px 16px; }
  .practice-list span { font-size: .84rem; }

  /* Services page: lists fold away behind a button */
  .svc { padding: 36px 0; gap: 0; }
  .svc__intro .icon { width: 44px; height: 44px; }
  .svc__intro h2 { font-size: 1.4rem; }
  .svc__intro p { font-size: .95rem; }
  .svc__fit { margin: 0 0 16px; padding: 10px 14px; font-size: .86rem; }
  .svc__intro .btn { width: 100%; padding: 12px 18px; }
  .svc__toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    margin-top: 10px; padding: 12px 18px; border-radius: 999px; cursor: pointer;
    font: inherit; font-weight: 600; font-size: .92rem;
    background: var(--royal-tint); color: var(--royal); border: 1px solid var(--royal-soft);
  }
  .svc__toggle::after { content: "▾"; transition: transform .2s; }
  .svc.is-open .svc__toggle::after { transform: rotate(180deg); }
  .svc .svc__list { display: none; }
  .svc.is-open .svc__list { display: grid; gap: 8px; margin-top: 20px; }
  .svc__item { padding: 14px 16px; }
  .svc__item h4 { font-size: .94rem; margin-bottom: 2px; }
  .svc__item p { font-size: .86rem; }
  .svc__group { margin-top: 12px; font-size: .7rem; }
  .approach { margin-top: 0; }
  .approach__head h3 { font-size: 1.15rem; }

  /* Resources: calendar rows as cards */
  .calendar { overflow: visible; }
  .calendar table { min-width: 0; }
  .calendar thead { display: none; }
  .calendar table, .calendar tbody, .calendar tr, .calendar td { display: block; }
  .calendar tr { position: relative; padding: 14px 16px; border-top: 1px solid var(--line); }
  .calendar tr:first-child { border-top: 0; }
  .calendar tr.is-hidden { display: none; }
  .calendar td { padding: 0; border: 0; }
  .calendar td:first-child { font-size: .9rem; color: var(--royal); padding-right: 90px; white-space: normal; }
  .calendar td:nth-child(2) { color: var(--ink); font-size: .92rem; margin-top: 2px; }
  .calendar td:nth-child(3) { color: var(--muted); font-size: .8rem; margin-top: 2px; }
  .calendar td:nth-child(4) { position: absolute; top: 14px; right: 16px; }
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .tabs button { flex: none; padding: 8px 14px; font-size: .84rem; }
  .downloads { gap: 10px; }
  .download { padding: 14px 16px; gap: 12px; flex-wrap: nowrap; }
  .download .icon { width: 38px; height: 38px; }
  .download span { font-size: .8rem; }

  /* Contact */
  .contact-cards { gap: 10px; }
  .contact-card { padding: 16px; gap: 12px; }
  .contact-card .icon { width: 40px; height: 40px; }
  .form-card { padding: 22px 18px; border-radius: 16px; }
  .form-grid { gap: 14px; }

  /* Articles & checklists */
  .article-head { padding: 40px 0 32px; }
  .article-head h1 { font-size: 1.7rem; }
  .prose { padding-top: 32px; padding-bottom: 48px; }
  .prose h2 { font-size: 1.3rem; margin: 32px 0 10px; }
  .checklist-group { margin-bottom: 28px; }
  .checklist-group h2 { font-size: 1.1rem; }

  /* Footer: link lists side by side */
  .footer { padding: 44px 0 0; font-size: .88rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer ul { gap: 8px; }
  .footer h4 { margin-bottom: 12px; }
  .footer__brand { font-size: 1.2rem; margin-bottom: 10px; }
  .footer__bottom { margin-top: 32px; flex-direction: column; gap: 6px; font-size: .76rem; }
}
@media (max-width: 640px) {
  .values, .steps, .grid:has(> .post):not(#article-grid) { scroll-padding-inline: 16px; }
  .calendar td:first-child { padding-right: 104px; }
}

/* Phones: roomier, easier-to-read pass (overrides the compact values above) */
@media (max-width: 640px) {
  :root { --text: #2f3a4b; --muted: #576375; }
  body { font-size: 16.5px; line-height: 1.75; }
  p { margin-bottom: 1.15em; }
  .container { padding: 0 20px; }

  h1 { font-size: 2rem; line-height: 1.2; }
  h2 { font-size: 1.62rem; line-height: 1.25; margin-bottom: .6em; }
  h3 { font-size: 1.12rem; line-height: 1.35; }
  .lead { font-size: 1.07rem; line-height: 1.7; }
  .eyebrow { font-size: .72rem; margin-bottom: 12px; }

  .section { padding: 68px 0; }
  .section--tight { padding: 52px 0; }
  .section-head { margin-bottom: 34px; }
  .split { gap: 34px; }
  .grid { gap: 16px; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 2rem; }

  .hero { padding: 64px 0 68px; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lead { margin: 20px auto 30px; font-size: 1.05rem; }
  .hero__trust { margin-top: 34px; gap: 10px 20px; }
  .hero__trust div { font-size: .86rem; }

  .card { padding: 26px 22px; }
  .card p { font-size: .98rem; line-height: 1.7; }
  .icon { margin-bottom: 16px; }

  .svc-cards { gap: 12px; }
  .card--svc { padding: 20px 16px; }
  .card--svc .icon { margin-bottom: 14px; }
  .card--svc h3 { font-size: .98rem; margin-bottom: 10px; }
  .card--svc .link-arrow { font-size: .82rem; }

  .values, .steps,
  .grid:has(> .post):not(#article-grid) { gap: 14px; margin: 0 -20px; padding: 6px 20px 16px; scroll-padding-inline: 20px; grid-auto-columns: 84%; }
  .step { padding: 26px 22px 24px; }
  .post__body { padding: 22px 20px; }
  .post h3 { font-size: 1.05rem; }

  .feature-list { gap: 26px; }
  .feature { gap: 16px; }
  .feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .feature p { font-size: .97rem; line-height: 1.65; }
  .panel { padding: 28px 22px; }
  .panel li { margin-bottom: 4px; }
  .chips { gap: 10px; }
  .chip { padding: 9px 14px; font-size: .86rem; }
  .deadline-card { padding: 20px 18px; }
  .deadline-list li { padding: 13px 0; gap: 12px; }
  .deadline-info strong { font-size: .93rem; }
  .deadline-info span { font-size: .8rem; }
  .cta-band { padding: 32px 22px; gap: 22px; }
  .cta-band h2 { font-size: 1.4rem; }
  .cta-band p { font-size: .98rem; }

  .vmv__item { padding: 26px 22px; }
  .practice-list { gap: 10px; }
  .practice-list a { padding: 16px 18px; }
  .practice-list span { font-size: .88rem; }

  .svc { padding: 44px 0; }
  .svc__intro h2 { font-size: 1.5rem; }
  .svc__intro p { font-size: .99rem; }
  .svc__fit { margin: 2px 0 20px; padding: 12px 16px; font-size: .9rem; }
  .svc__toggle { margin-top: 12px; }
  .svc.is-open .svc__list { gap: 10px; margin-top: 24px; }
  .svc__item { padding: 16px 18px; }
  .svc__item h4 { font-size: .98rem; margin-bottom: 4px; }
  .svc__item p { font-size: .92rem; line-height: 1.6; }
  .svc__group { margin-top: 16px; }

  .calendar tr { padding: 16px 18px; }
  .calendar td:nth-child(2) { font-size: .96rem; margin-top: 4px; }
  .calendar td:nth-child(3) { font-size: .84rem; margin-top: 4px; }
  .calendar td:nth-child(4) { top: 16px; right: 18px; }
  .downloads { gap: 12px; }
  .download { padding: 16px 18px; gap: 14px; }

  .contact-cards { gap: 12px; }
  .contact-card { padding: 18px; gap: 14px; }
  .form-card { padding: 26px 20px; }
  .form-grid { gap: 16px; }

  .article-head { padding: 48px 0 38px; }
  .article-head h1 { font-size: 1.8rem; }
  .prose { padding-top: 40px; padding-bottom: 56px; font-size: 1.04rem; line-height: 1.8; }
  .prose h2 { font-size: 1.38rem; margin: 40px 0 12px; }
  .prose li { margin-bottom: .7em; }
  .checklist { gap: 12px; }
  .checklist li { font-size: 1rem; }
  .checklist-group { margin-bottom: 34px; }

  .footer { padding: 52px 0 0; font-size: .93rem; }
  .footer__grid { gap: 32px 20px; }
  .footer ul { gap: 11px; }
  .footer__bottom { margin-top: 36px; }
}

/* Phones: cards inside swipe rows must not run the fade-up animation
   (off-screen cards would otherwise slide up as they are swiped into view) */
@media (max-width: 640px) {
  .values > .reveal, .steps > .reveal,
  .grid:has(> .post) > .reveal { opacity: 1; transform: none; transition: none; }
  .values, .steps, .grid:has(> .post):not(#article-grid) { touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
}

/* ==========================================================
   Design refresh: richer blue + subtle motion (desktop & phone)
   ========================================================== */
:root {
  --navy: #0b1f45;
  --grad-primary: linear-gradient(135deg, #2c5cd0 0%, #2d7bd6 100%);
  --grad-primary-hover: linear-gradient(135deg, #2249a8 0%, #2667bd 100%);
  --grad-icon: linear-gradient(135deg, #edf2fe 0%, #e2f1fb 100%);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Colour: depth without changing the clean feel */
.section--soft { background: linear-gradient(180deg, #f4f7fe 0%, #f0f6fc 100%); }
.hero {
  background:
    radial-gradient(760px 420px at 88% -8%, rgba(43,163,222,.20), transparent 62%),
    radial-gradient(640px 420px at 8% 108%, rgba(44,92,208,.12), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
.hero h1 span {
  background: linear-gradient(90deg, #2c5cd0 0%, #2ba3de 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero, .article-head {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(43,163,222,.16), transparent 62%),
    radial-gradient(520px 300px at 0% 120%, rgba(44,92,208,.08), transparent 62%),
    linear-gradient(180deg, #f6f9ff 0%, #f1f6fd 100%);
}
.btn--primary { background: var(--grad-primary); border-color: transparent; }
.btn--primary:hover { background: var(--grad-primary-hover); box-shadow: 0 10px 24px rgba(44,92,208,.24); }
.icon { background: var(--grad-icon); transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.card:hover .icon, .contact-card:hover .icon, .feature:hover .icon, .download:hover .icon { background: var(--grad-primary); color: #fff; }
.eyebrow { color: var(--royal); }
.chip::before { background: linear-gradient(135deg, var(--royal), var(--sky)); }
.cta-band, .approach, .article-cta {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(43,163,222,.16), transparent 70%),
    linear-gradient(120deg, #edf3fe 0%, #e6f4fc 100%);
}
.footer { background: linear-gradient(180deg, #0e1e3a 0%, #0a1630 100%); }
.footer__bottom { border-top-color: rgba(255,255,255,.07); }

/* Motion: calm, quick and consistent */
.reveal { transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.card, .member, .practice-list a, .download, .contact-card, .svc__item, .phases li, .step {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.contact-card:hover, .practice-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--royal-soft); }
.svc__item:hover { transform: translateY(-1px); }
.btn { transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn:active { transform: translateY(0) scale(.98); }
.link-arrow::after { transition: transform .3s var(--ease); }

/* Nav: animated underline instead of pill on hover (desktop menu only) */
@media (min-width: 1081px) {
  .nav a:not(.btn) { position: relative; background: transparent !important; }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--royal), var(--sky));
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .nav a.is-active { box-shadow: none; }
}

/* Gentle page entrance */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
main { animation: page-in .45s var(--ease) both; }

/* Keyboard focus that matches the brand */
:focus-visible { outline: 3px solid rgba(44,92,208,.35); outline-offset: 2px; border-radius: 6px; }

/* Phones: shorter, smaller movements */
@media (max-width: 640px) {
  .reveal { transform: translateY(8px); transition-duration: .5s; }
  .card:hover, .contact-card:hover, .practice-list a:hover { transform: none; }
}

/* Visitors who ask for reduced motion: no movement at all */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Home: service finder ---------- */
.finder { max-width: 1040px; margin: 0 auto; }
.finder__options { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.finder__options button {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: .94rem; font-weight: 600; color: var(--text); cursor: pointer;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.finder__options button svg { width: 18px; height: 18px; color: var(--royal); transition: color .3s var(--ease); }
.finder__options button:hover { border-color: var(--royal-soft); transform: translateY(-1px); box-shadow: var(--shadow); }
.finder__options button[aria-pressed="true"] { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(44,92,208,.22); }
.finder__options button[aria-pressed="true"] svg { color: #fff; }
.finder__result {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center;
  padding: 36px; border-radius: 22px; border: 1px solid var(--royal-soft);
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(43,163,222,.14), transparent 70%),
    linear-gradient(120deg, #f2f6fe 0%, #edf6fc 100%);
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.finder__result.is-shown { opacity: 1; transform: none; }
.finder__intro h3 { font-size: 1.45rem; margin-bottom: 8px; }
.finder__intro p { color: var(--muted); margin-bottom: 22px; }
.finder__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.finder__list a {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.finder__list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--royal-soft); }
.finder__list b { color: var(--ink); font-family: var(--font-head); font-size: .98rem; }
.finder__list b::after { content: " →"; color: var(--royal); }
.finder__list span { color: var(--muted); font-size: .88rem; line-height: 1.5; }

@media (max-width: 900px) {
  .finder__result { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .finder__options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
  .finder__options button { justify-content: flex-start; padding: 11px 12px; font-size: .84rem; border-radius: 12px; line-height: 1.3; text-align: left; }
  .finder__options button svg { width: 16px; height: 16px; flex: none; }
  .finder__result { padding: 24px 18px; border-radius: 18px; }
  .finder__intro h3 { font-size: 1.2rem; }
  .finder__intro .btn { width: 100%; }
  .finder__list { grid-template-columns: 1fr; gap: 8px; }
  .finder__list a { padding: 14px 16px; }
}


.finder { max-width: 1120px; }
.finder__result { max-width: 1040px; margin: 0 auto; }
@media (min-width: 641px) {
  .finder__options { gap: 8px; }
  .finder__options button { padding: 10px 15px; font-size: .9rem; }
}

/* ---------- ICAI-style disclaimer pop-up ---------- */
html.has-modal, html.has-modal body { overflow: hidden; }
.disclaimer-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(11, 31, 69, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.disclaimer-modal.is-open { display: flex; animation: dm-fade .35s var(--ease) both; }
.disclaimer-modal.is-closing { animation: dm-fade-out .25s var(--ease) both; }
.disclaimer-modal__card {
  width: 100%; max-width: 640px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(11,31,69,.35);
  animation: dm-rise .45s var(--ease) both;
}
.disclaimer-modal__head {
  padding: 26px 30px 18px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(360px 160px at 100% 0%, rgba(43,163,222,.14), transparent 70%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}
.disclaimer-modal__brand { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.disclaimer-modal__brand span {
  display: block; margin-top: 2px; font-family: var(--font); font-size: .66rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sky);
}
.disclaimer-modal__head h2 { font-size: 1.45rem; margin: 14px 0 0; }
.disclaimer-modal__body { padding: 20px 30px; overflow-y: auto; font-size: .95rem; line-height: 1.7; color: var(--text); }
.disclaimer-modal__body:focus { outline: none; }
.disclaimer-modal__body ol { padding-left: 1.2em; margin: 0; display: grid; gap: 10px; }
.disclaimer-modal__body li::marker { color: var(--royal); font-weight: 700; }
.disclaimer-modal__actions {
  display: flex; justify-content: flex-end; gap: 10px; padding: 18px 30px 24px;
  border-top: 1px solid var(--line); background: #fff;
}
@keyframes dm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dm-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes dm-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .disclaimer-modal { padding: 12px; align-items: flex-end; }
  .disclaimer-modal__card { border-radius: 18px; max-height: calc(100dvh - 24px); }
  .disclaimer-modal__head { padding: 20px 20px 14px; }
  .disclaimer-modal__head h2 { font-size: 1.25rem; margin-top: 10px; }
  .disclaimer-modal__body { padding: 16px 20px; font-size: .92rem; }
  .disclaimer-modal__actions { padding: 14px 20px 18px; }
  .disclaimer-modal__actions .btn { flex: 1; }
}
@media print { .disclaimer-modal { display: none !important; } html.has-modal, html.has-modal body { overflow: visible; } }

.footer__bottom a[data-disclaimer] { color: #a9b4c4; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a[data-disclaimer]:hover { color: #fff; }

/* ---------- Privacy policy & consent ---------- */
.policy-date { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.policy-toc {
  margin: 0 0 44px; padding: 22px 26px; border-radius: 14px;
  background: var(--soft); border: 1px solid var(--line);
}
.policy-toc b { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 10px; }
.policy-toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.3em; font-size: .95rem; }
.policy-toc li { margin-bottom: .35em; break-inside: avoid; }
.policy h2 { scroll-margin-top: 96px; }
.policy-contact {
  padding: 20px 24px; border-radius: 14px; margin: 0 0 1.2em;
  background: linear-gradient(120deg, #edf3fe 0%, #e6f4fc 100%); border: 1px solid var(--royal-soft);
}
.policy-contact p { margin: 0; line-height: 1.8; }

.consent {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px;
  font-size: .88rem; line-height: 1.6; color: var(--text); cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--royal); cursor: pointer; }

.footer__bottom a { color: #a9b4c4; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: #fff; }

@media (max-width: 640px) {
  .policy-toc { padding: 18px 20px; margin-bottom: 32px; }
  .policy-toc ol { columns: 1; }
  .policy h2 { scroll-margin-top: 80px; }
}

/* ==========================================================
   WordPress-specific additions
   ========================================================== */

/* Admin bar (logged-in users) should not cover the sticky header */
.admin-bar .header { top: 32px; }
.admin-bar .svc-nav { top: 110px; }
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
  .admin-bar .svc-nav { top: 124px; }
}
@media (max-width: 640px) { .admin-bar .svc-nav { top: 110px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* Insights filter: links styled like the prototype's tab buttons */
.tabs a {
  font-size: .9rem; font-weight: 600; padding: 9px 18px; border-radius: 999px;
  color: var(--text); white-space: nowrap;
}
.tabs a.is-active { background: #fff; color: var(--royal); box-shadow: var(--shadow); }
@media (max-width: 640px) { .tabs a { flex: none; padding: 8px 14px; font-size: .84rem; } }

/* Pagination */
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--text); background: #fff;
}
.pagination .page-numbers.current { background: var(--grad-primary); color: #fff; border-color: transparent; }
.pagination a.page-numbers:hover { border-color: var(--royal); color: var(--royal); }

/* Article images */
.post__img { width: 100%; height: 100%; object-fit: cover; }
.article-cover { width: 100%; height: auto; border-radius: 16px; margin-bottom: 32px; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .wp-block-table table, .prose > table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--royal); background: var(--royal-tint); border-radius: 0 12px 12px 0; }

/* Checklist pages: plain headings + bullet lists from the editor become tick lists */
.checklist-content > h2 {
  font-size: 1.25rem; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.checklist-content > h2 ~ h2 { margin-top: 40px; }
.checklist-content > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist-content > ul li { position: relative; padding-left: 34px; line-height: 1.6; }
.checklist-content > ul li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 18px; height: 18px; border: 2px solid var(--royal-soft); border-radius: 5px; background: #fff;
}
.checklist-content > .note { margin-top: 36px; }
@media (max-width: 640px) {
  .checklist-content > h2 { font-size: 1.1rem; }
  .checklist-content > h2 ~ h2 { margin-top: 32px; }
  .checklist-content > ul { gap: 12px; }
}
@media print {
  .checklist-content > h2 { font-size: 12pt; margin: 12px 0 6px; padding-bottom: 4px; break-after: avoid; }
  .checklist-content > ul { gap: 4px; }
  .checklist-content > ul li { padding-left: 24px; font-size: 10.5pt; break-inside: avoid; }
  .checklist-content > ul li::before { width: 11px; height: 11px; border: 1.5px solid #8aa0bf; border-radius: 3px; top: .3em; }
}

/* Contact Form 7 */
.wpcf7-form-control-wrap { display: block; }
.consent--cf7 { display: block; margin-top: 20px; }
.consent--cf7 .wpcf7-list-item { margin: 0; }
.consent--cf7 label { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.6; cursor: pointer; }
.consent--cf7 input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--royal); }
.wpcf7-not-valid-tip { font-size: .8rem; color: #b42318; margin-top: 6px; }
.wpcf7 input.wpcf7-not-valid, .wpcf7 textarea.wpcf7-not-valid { border-color: #e5484d; }
.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0; padding: 14px 16px; border-radius: 10px; font-size: .92rem; border: 1px solid var(--line);
}
.wpcf7 form.sent .wpcf7-response-output { background: #e9f8ef; border-color: #b7e4c7; color: #17663a; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { background: #fff4f4; border-color: #f5c2c2; color: #a8261f; }
.wpcf7-spinner { margin: 0 0 0 12px; }
.form-foot .wpcf7-submit { border: 0; }
