/* =========================================================
   Virtus Consulting & Management DMCC — single-page site
   Order: tokens → base → layout → components → sections → utilities → media queries
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #8d0000;
  --brand-2: #e8e8e8;
  --accent: #8d0000; /* no accent supplied; #e8e8e8 is below 3:1 on white, so brand is used */
  --brand-deep: color-mix(in srgb, var(--brand) 78%, black);
  --brand-hover: color-mix(in srgb, var(--brand) 85%, black);
  --rule: #757575; /* the grey of the logo's rules */
  --ink: #000000;
  --muted: color-mix(in srgb, var(--ink) 65%, white);
  --line: color-mix(in srgb, var(--brand) 14%, white);
  --tint: color-mix(in srgb, var(--brand) 5%, white);
  --on-brand: #fff;

  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head-stretch: 72%;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .06);
  --shadow: 0 8px 24px -12px rgb(0 0 0 / .18);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(56px, 8vw, 104px);
  --header-h: 96px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-stretch: var(--head-stretch);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h3, h4, h5 { font-stretch: 100%; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: 1rem; }
p, ul, ol, dl { margin: 0 0 var(--s4); }
p:last-child, ul:last-child, dl:last-child { margin-bottom: 0; }
p, li { max-width: 68ch; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hero :focus-visible, .cta-block :focus-visible, .footer :focus-visible { outline-color: #fff; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); scroll-margin-top: calc(var(--header-h) + 16px); }
.section-tint { background: var(--tint); }
.section > .sub-part { padding-block: var(--section-pad) 0; }
.section > .sub-part.section-tint { margin-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section:has(> .sub-part.section-tint:last-child) { padding-bottom: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s8); align-items: start; }
.prose p { color: var(--ink); }

.section-heading { margin-bottom: var(--s7); max-width: 68ch; }
.section-heading::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--brand);
  margin-bottom: var(--s4);
}
.kicker { color: var(--brand); font-weight: 600; font-size: .95rem; margin-bottom: var(--s2); }
.lead { font-size: 1.15rem; }
.section-heading .block-intro { font-size: 1.15rem; color: var(--muted); }
.section-heading .block-intro + p { margin-top: var(--s4); }
.block-intro { color: var(--muted); }
.sub-group + .sub-group { margin-top: var(--s7); }
.two-columns > .sub-group + .sub-group { margin-top: 0; }
.group-intro { margin-bottom: var(--s5); color: var(--muted); }

/* ---------- 4. Components ---------- */

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: var(--s3) var(--s4);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: var(--s3); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 44px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms, color 200ms, border-color 200ms, transform 200ms;
}
.button:hover { transform: translateY(-1px); text-decoration: none; }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-hover); }
.button-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.button-outline:hover { background: var(--brand); color: #fff; }
.button-light { background: #fff; color: var(--brand); }
.button-light:hover { background: var(--brand-2); }
.button-outline-light { border-color: #fff; color: #fff; background: transparent; }
.button-outline-light:hover { background: rgb(255 255 255 / .12); }

/* Cards */
.card-grid { display: grid; gap: var(--s5); list-style: none; padding: 0; margin: 0; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  max-width: none;
}
.card h4, .card h5 { margin-bottom: var(--s2); }
a.card, button.card { display: block; color: inherit; text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: transform 200ms, box-shadow 200ms; }
a.card:hover, button.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-link { color: var(--brand); font-weight: 600; }
.card-link::after { content: " →"; display: inline-block; transition: transform 200ms; }
.card:hover .card-link::after { transform: translateX(4px); }
.card-meta { font-size: .875rem; color: var(--muted); margin-bottom: var(--s2); }

/* Statement cards (philosophy) */
.statement { border-top: 3px solid var(--brand); }
.statement .statement-lead { font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 1.35rem; font-weight: 600; line-height: 1.25; color: var(--brand); margin-bottom: var(--s3); }

/* Items */
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); list-style: none; padding: 0; margin: 0; }
.items.wide { grid-template-columns: repeat(2, 1fr); }
.item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); max-width: none; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-pill); padding: 6px 16px; font-size: .95rem; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 600; }

/* Tables and fact lists */
.table-wrap { overflow-x: auto; }
.fact-list { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s5); margin: 0; }
.fact-list dt { font-weight: 600; }
.fact-list dd { margin: 0; }

/* Image banners (decorative) */
.image-banner {
  height: clamp(180px, 26vw, 360px);
  background-color: var(--brand);
  background-image: var(--banner, none), linear-gradient(100deg, var(--brand-deep), var(--brand) 60%, #3c0e0e);
  background-size: cover;
  background-position: center right;
}

/* Pop-ups */
.modal { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(860px, calc(100% - 32px)); max-height: calc(100dvh - 48px); box-shadow: var(--shadow); color: var(--ink); }
.modal::backdrop { background: rgb(20 0 0 / .55); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: var(--s4); padding: var(--s5) 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.modal-head h2 { margin: 0; }
.modal-body { padding: 28px; }
.modal-close { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.modal-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* FAQ */
.faq-list details { border-bottom: 1px solid var(--line); padding-block: var(--s4); }
.faq-list summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }

/* ---------- 5. Sections ---------- */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms;
}
.site-header.is-scrolled { box-shadow: 0 6px 18px -12px rgb(0 0 0 / .35); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 72px; width: auto; }
.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  font: 600 1rem var(--font-body);
  cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 200ms; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav > ul { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.main-nav a, .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: 0;
  font: 500 1rem var(--font-body);
  cursor: pointer;
  transition: color 150ms, background-color 150ms;
}
.main-nav a:hover, .dropdown-toggle:hover { color: var(--brand); background: var(--tint); }
.main-nav a[aria-current="true"], .dropdown-toggle.is-current { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.main-nav .nav-contact a { background: var(--brand); color: #fff; padding-inline: 22px; margin-left: var(--s2); font-weight: 600; }
.main-nav .nav-contact a:hover { background: var(--brand-hover); color: #fff; }
.main-nav .nav-contact a[aria-current="true"] { box-shadow: 0 0 0 3px var(--line); border-radius: var(--radius-pill); color: #fff; }
.nav-dropdown { position: relative; }
.dropdown-panel { position: absolute; top: 100%; left: 0; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s2); list-style: none; margin: 0; }
.dropdown-panel[hidden] { display: none; }
.caret { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 150ms; }
.dropdown-toggle[aria-expanded="true"] .caret { transform: translateY(1px) rotate(-135deg); }
.dropdown-fallback { display: none !important; }
.no-js .dropdown-fallback { display: inline-flex !important; }
.no-js .dropdown-toggle, .no-js .dropdown-panel { display: none; }
.dropdown-panel a { display: flex; width: 100%; border-radius: var(--radius-sm); }

/* Hero */
.hero {
  --hero-image: url("../images/hero/home.webp");
  position: relative;
  color: var(--on-brand);
  background-color: var(--brand);
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 92%, transparent), color-mix(in srgb, var(--brand) 55%, transparent)),
    var(--hero-image),
    linear-gradient(100deg, var(--brand-deep), var(--brand));
  background-size: cover;
  background-position: center right;
}
.home-hero { padding-block: clamp(88px, 13vw, 176px); }
.hero h1 { max-width: 20ch; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.04; margin-bottom: var(--s5); }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 56ch; margin-bottom: var(--s6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-strap { font-weight: 500; margin-bottom: var(--s4); color: rgb(255 255 255 / .92); }
.hero-strap span { margin-inline: .4em; opacity: .7; }
.hero-tagline { margin: var(--s7) 0 0; padding-top: var(--s4); border-top: 2px solid rgb(255 255 255 / .5); display: inline-block; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; font-size: 1.35rem; letter-spacing: .01em; }

/* Proof strip — echoes the two grey rules of the logo */
.proof { padding-block: var(--s7); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
}
.proof-grid > div { padding: var(--s5) var(--s5) var(--s5) 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.proof-grid > div + div { padding-left: var(--s5); border-left: 1px solid var(--brand-2); }
.proof-grid dt { color: var(--muted); font-size: .95rem; }
.proof-grid dd { margin: 0 0 var(--s1); font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.15; color: var(--brand); }

/* Intro */
.closing-line {
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 2px solid var(--rule);
  font-family: var(--font-head);
  font-stretch: var(--head-stretch);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  color: var(--brand);
  max-width: 40ch;
}

/* About */
.problem-solvers { margin-top: var(--s8); padding-top: var(--s7); border-top: 2px solid var(--rule); }
.problem-solvers h3 { font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.problem-solvers .closing-line { margin: 0; padding: 0; border: 0; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

/* Capabilities */
.capability { display: flex; flex-direction: column; border-top: 3px solid var(--brand); }
.capability h3 { margin-bottom: var(--s3); }
.capability > p { color: var(--muted); }
.dash-list { list-style: none; padding: var(--s4) 0 0; margin: var(--s4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s2); font-size: .97rem; }
.dash-list li { position: relative; padding-left: 20px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--brand); }

/* Approach: a genuine sequence, so it is numbered */
.approach-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6) var(--s5); }
.approach-steps li { counter-increment: step; border-top: 2px solid var(--rule); padding-top: var(--s4); max-width: none; }
.approach-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--brand); margin-bottom: var(--s3); }
.approach-steps h3 { margin-bottom: var(--s1); }
.step-lead { font-weight: 600; color: var(--brand); margin-bottom: var(--s2); }

/* Why VCM */
.item h3 { margin-bottom: var(--s2); }
.item-group { display: flex; flex-direction: column; }
.item-logo { width: 96px; margin-top: auto; padding-top: var(--s4); }

/* Outcomes */
.outcome-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s8); }
.outcome-list li { position: relative; padding: var(--s5) 0 var(--s5) 44px; border-bottom: 1px solid var(--line); max-width: none; }
.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--s5) + 2px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.outcome-list h3 { margin-bottom: var(--s1); }
.outcome-list p { color: var(--muted); }

/* Values: P · A · C · T */
.value-letter { display: block; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 700; font-size: 3.5rem; line-height: 1; color: var(--brand); margin-bottom: var(--s3); }

/* Parent company */
.parent-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s6) var(--s8); align-items: start; }
.parent-brand { display: grid; gap: var(--s5); justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.parent-logo { width: min(260px, 100%); }
.parent .section-heading { margin-bottom: var(--s5); }

/* Proof strip: group logo */
.proof-logo { display: inline-block; }
.proof-logo img { height: 64px; width: auto; }

/* Services */
.services .sub-group h3 { margin-bottom: var(--s5); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7) var(--s8); align-items: start; }
.big-phone { display: inline-block; font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; text-decoration: none; margin-block: var(--s3) var(--s4); }
.big-phone:hover { text-decoration: underline; }
.contact-panel { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.contact-panel h3 { margin-bottom: var(--s5); }
.contact-panel .fact-list { gap: var(--s3) var(--s5); }
.contact-panel .fact-list dt { color: var(--muted); font-weight: 500; }
.contact-panel address { font-style: normal; margin-bottom: var(--s5); }
.contact-panel .big-phone { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: var(--s2); }
.form-note { color: var(--muted); font-size: .95rem; margin-bottom: var(--s5); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: var(--s1); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #8a8a8a;
  border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--brand); }
.field [aria-invalid="true"] { border-color: var(--brand); border-width: 2px; }
.field-error { color: var(--brand); font-size: .9rem; font-weight: 600; margin: var(--s1) 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: var(--s4) 0 0; font-weight: 600; }
.form-status:empty { display: none; }

/* CTA block */
.cta-block { background: var(--brand); color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5) var(--s7); }
.cta-inner h2 { margin-bottom: var(--s2); max-width: 26ch; }
.cta-inner p { color: rgb(255 255 255 / .92); max-width: 70ch; }
.cta-inner h2 { max-width: 30ch; }
.cta-inner .cta-strap { margin-top: var(--s4); font-weight: 600; color: #fff; }

/* Footer */
.footer { background: var(--brand-deep); color: #fff; padding-top: var(--s8); }
.footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: var(--s6); padding-bottom: var(--s7); }
.footer h2 { font-size: 1.05rem; font-stretch: 100%; margin-bottom: var(--s4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s1); }
.footer ul a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer ul a:hover { text-decoration: underline; }
.footer-brand img { width: 150px; height: auto; margin-bottom: var(--s4); }
.footer-brand p { color: rgb(255 255 255 / .9); }
.footer address { font-style: normal; color: rgb(255 255 255 / .9); }
.footer-contact li { color: rgb(255 255 255 / .9); }
.footer-strap { font-size: .95rem; }
.footer-strap span { margin-inline: .3em; opacity: .7; }
.footer-tagline { font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; font-size: 1.2rem; color: #fff; }
.footer-group { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid rgb(255 255 255 / .25); }
.footer-group p { margin-bottom: var(--s2); color: rgb(255 255 255 / .9); font-size: .95rem; }
.footer-group img { width: 96px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .25); padding-block: var(--s5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: .9rem; }
.footer-bottom p { margin: 0; color: rgb(255 255 255 / .9); }

/* ---------- 6. Utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mt-6 { margin-top: var(--s6); }

/* ---------- 7. Media queries ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .brand img { height: 56px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: var(--s4) var(--gutter) var(--s5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms, transform 200ms, visibility 0s 200ms;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 200ms, transform 200ms; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .dropdown-toggle { width: 100%; border-radius: var(--radius-sm); padding-block: 12px; }
  .main-nav a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--brand); border-radius: 0; }
  .main-nav .nav-contact a { margin: var(--s3) 0 0; justify-content: center; border-radius: var(--radius-pill); }
  .dropdown-panel { position: static; box-shadow: none; border: 0; padding: 0 0 0 var(--s4); }
}

@media (max-width: 1180px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .proof-grid > div:nth-child(n + 4) { border-top: 1px solid var(--brand-2); }
}

@media (max-width: 960px) {
  .card-grid.three, .card-grid.four, .items, .approach-steps { grid-template-columns: repeat(2, 1fr); }
  .two-columns, .contact-grid, .parent-grid, .outcome-list { grid-template-columns: 1fr; }
  .parent-brand { position: static; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(n) { padding-left: var(--s5); border-left: 1px solid var(--brand-2); border-top: 0; }
  .proof-grid > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof-grid > div:nth-child(n + 3) { border-top: 1px solid var(--brand-2); }
  .proof-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .card-grid.two, .card-grid.three, .card-grid.four, .items, .items.wide, .approach-steps, .form-row.two { grid-template-columns: 1fr; }
  .home-hero { padding-block: 64px 72px; }
  .hero-actions .button { flex: 1 1 100%; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div:nth-child(n) { padding-left: 0; border-left: 0; }
  .proof-grid > div + div { border-top: 1px solid var(--brand-2); }
  .footer-grid { grid-template-columns: 1fr; }
  .fact-list { grid-template-columns: 1fr; gap: 2px; }
  .fact-list dd + dt { margin-top: var(--s3); }
  .card, .item { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  .button:hover, a.card:hover, button.card:hover { transform: none; }
  .card:hover .card-link::after { transform: none; }
}
