/* McDonagh Brothers — site styles
   Brand: black + brick red, taken from the ribbon logo. */

:root {
  --ink: #000000;          /* brand black */
  --brick: #8b2a1a;        /* brand red (sampled from logo) */
  --brick-deep: #6b1f12;   /* hover / pressed */
  --brick-on-dark: #e0735c;/* brick tuned for contrast on black */
  --paper: #ffffff;
  --stone: #f2f1ef;        /* alternate section background */
  --slate: #4a4e54;        /* secondary text, 8:1 on white */
  --line: #d9d6d1;
  --on-dark: #ffffff;
  --on-dark-muted: #c9c9c9;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 2rem;
  --step-4: clamp(2.25rem, 4.5vw, 3.25rem);
  --step-5: clamp(2.6rem, 6vw, 4.5rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --measure: 66ch;
  --wrap: 72rem;
  --radius: 6px;
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--brick);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brick); text-underline-offset: 0.18em; }
a:hover { color: var(--brick-deep); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 600; }
h4 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 var(--space-2); max-width: var(--measure); }
.lede { font-size: var(--step-1); color: var(--slate); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space-6); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .lede, .section--dark p { color: var(--on-dark-muted); }
.section--dark a:not(.btn) { color: var(--brick-on-dark); }
.section--dark :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--brick-on-dark); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem;
}
.skip:focus { top: 1rem; color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn--primary { background: var(--brick); color: var(--paper); }
.btn--primary:hover { background: var(--brick-deep); color: var(--paper); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--dark .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost { color: var(--paper); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--space-3); min-height: 76px; }
.brand { flex-shrink: 0; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; }
.nav a, .nav button.nav-trigger {
  display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; padding: 0 0.8rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav-trigger:hover { color: var(--brick); }
.nav a[aria-current="page"] { color: var(--brick); box-shadow: inset 0 -2px 0 var(--brick); }
.has-menu { position: relative; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform 180ms ease; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  list-style: none; margin: 0; padding: 0.5rem;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.25);
  display: none;
}
.submenu.open { display: block; }
.submenu a { display: flex; width: 100%; padding: 0.55rem 0.8rem; border-radius: 4px; }
.submenu a:hover { background: var(--stone); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-phone { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--brick); }
.header-actions .btn { min-height: 44px; padding: 0.55rem 1.1rem; white-space: nowrap; }
.menu-toggle {
  display: none; margin-left: auto; min-width: 44px; min-height: 44px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1140px) {
  .header-phone { display: none; }
}
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav, .header-actions { display: none; }
  .site-header.menu-open .nav,
  .site-header.menu-open .header-actions { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-header.menu-open .nav { flex-basis: 100%; margin: 0; padding-bottom: var(--space-1); }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.nav-trigger { width: 100%; padding: 0 0.25rem; justify-content: space-between; }
  .submenu { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--brick); border-radius: 0; margin-left: 0.25rem; }
  .site-header.menu-open .header-actions { flex-basis: 100%; padding-bottom: var(--space-3); }
  .site-header.menu-open .header-actions { display: flex; flex-wrap: wrap; }
  .site-header.menu-open .header-phone { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding-block: var(--space-6) var(--space-5);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero .lede { color: var(--on-dark-muted); max-width: 52ch; }
.hero-ribbon {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(58vw, 760px); height: auto; z-index: 0; pointer-events: none;
}
.hero-ribbon path { fill: none; stroke-linecap: butt; }
.hero-ribbon .strand-red { stroke: var(--brick); stroke-width: 26; }
.hero-ribbon .strand-white { stroke: #2b2b2b; stroke-width: 26; }
@media (prefers-reduced-motion: no-preference) {
  .hero-ribbon path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s cubic-bezier(.6,.1,.2,1) forwards; }
  .hero-ribbon .strand-red { animation-delay: 0.25s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3);
  margin: var(--space-5) 0 0; padding-top: var(--space-3); border-top: 1px solid #333;
  max-width: 44rem;
}
.facts div { margin: 0; }
.facts dt { font-family: var(--font-head); font-size: var(--step-2); font-weight: 700; white-space: nowrap; color: var(--paper); line-height: 1.1; }
.facts dd { margin: 0.25rem 0 0; color: var(--on-dark-muted); font-size: var(--step--1); }
@media (max-width: 720px) {
  .hero-ribbon { opacity: 0.35; width: 120vw; right: -50%; }
  .facts { grid-template-columns: 1fr; gap: var(--space-2); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: var(--space-5) var(--space-4); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-4); max-width: 22ch; }
.crumbs { font-size: var(--step--1); color: var(--slate); margin-bottom: var(--space-2); }
.crumbs a { color: var(--slate); }
.page-hero .rule { width: 64px; height: 6px; background: var(--brick); margin: 0 0 var(--space-3); border: 0; }

/* ---------- Section heads ---------- */
.section-head { max-width: 46rem; margin-bottom: var(--space-4); }

/* ---------- Service list (home) ---------- */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--space-2);
  padding: var(--space-4) var(--space-3); color: var(--ink); text-decoration: none; height: 100%;
  transition: background-color 180ms ease;
}
.service-list a:hover { background: var(--stone); color: var(--ink); }
.service-list a:hover h3 { color: var(--brick); }
.service-list svg { width: 32px; height: 32px; stroke: var(--brick); }
.service-list h3 { font-size: var(--step-1); margin-bottom: 0.4rem; transition: color 180ms ease; }
.service-list p { color: var(--slate); margin: 0; font-size: 1rem; }
@media (max-width: 720px) {
  .service-list { grid-template-columns: 1fr; }
  .service-list li:nth-child(odd) { border-right: 0; }
  .service-list a { padding: var(--space-3) var(--space-1); }
}

/* ---------- Steps (real sequence) ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: var(--space-2); }
.steps li::before { content: counter(step); font-family: var(--font-head); font-weight: 700; font-size: var(--step-3); color: var(--brick); display: block; line-height: 1; margin-bottom: var(--space-1); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--slate); font-size: 1rem; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
.split--wide-left { grid-template-columns: 3fr 2fr; }
@media (max-width: 880px) { .split, .split--wide-left { grid-template-columns: 1fr; gap: var(--space-4); } }
.year {
  font-family: var(--font-head); font-weight: 800; line-height: 0.85;
  font-size: clamp(6rem, 18vw, 13rem); color: var(--brick); letter-spacing: -0.04em; margin: 0;
}
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 var(--space-3) var(--space-3); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--brick); }
.timeline strong { font-family: var(--font-head); display: block; }
.timeline span { color: var(--slate); }

/* ---------- Assessment (dark) ---------- */
.section--dark .checklist strong { color: var(--paper); }
.section--dark .checklist span { color: var(--on-dark-muted); }
.section--dark .checklist svg { stroke: var(--brick-on-dark); }

/* ---------- Service area ---------- */
.service-area { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.service-area h2 { font-size: var(--step-3); }
.areas { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.areas li { padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; }

/* ---------- Proof ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.quote { margin: 0; border-left: 3px solid var(--brick); padding-left: var(--space-3); }
.quote blockquote { margin: 0 0 var(--space-2); font-size: var(--step-1); line-height: 1.45; }
.quote figcaption { color: var(--slate); font-size: var(--step--1); }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }
.placeholder-note {
  display: inline-block; font-size: var(--step--1); background: #fff4d6; color: #5c4400;
  border: 1px dashed #b38a00; padding: 0.15rem 0.5rem; border-radius: 4px; margin-bottom: var(--space-1);
}
.badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); align-items: center; }
.badges p { margin: 0 var(--space-2) 0 0; font-weight: 600; font-family: var(--font-head); }
.badge-slot {
  display: grid; place-items: center; min-width: 150px; min-height: 64px; padding: 0.5rem 1rem;
  border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--slate); font-size: var(--step--1); text-align: center;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--brick); color: var(--paper); padding-block: var(--space-5); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.cta-band h2 { font-size: var(--step-3); margin: 0 0 0.4rem; }
.cta-band p { margin: 0; color: #f6dcd6; }
.cta-band .btn--primary { background: var(--paper); color: var(--brick); }
.cta-band .btn--primary:hover { background: var(--ink); color: var(--paper); }
.cta-band :focus-visible { box-shadow: 0 0 0 3px var(--brick), 0 0 0 6px var(--paper); }

/* ---------- Service page content ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 0.75rem; align-items: start; }
.checklist svg { width: 22px; height: 22px; stroke: var(--brick); margin-top: 0.2rem; }
.checklist strong { font-family: var(--font-head); display: block; }
.checklist span { color: var(--slate); }
.two-col-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4); }
@media (max-width: 720px) { .two-col-list { grid-template-columns: 1fr; } }
.aside-box { background: var(--stone); border-radius: var(--radius); padding: var(--space-4) var(--space-3); }
.aside-box h3 { font-size: var(--step-1); }
.aside-box ul { margin: 0 0 var(--space-2); padding-left: 1.2rem; color: var(--slate); }
.aside-box li { margin-bottom: 0.4rem; }

.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--space-3) 2.5rem var(--space-3) 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.5rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--brick); border-bottom: 2px solid var(--brick);
  transform: translateY(-75%) rotate(45deg); transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { color: var(--slate); padding-bottom: var(--space-3); margin: 0; }

.related { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-1); }
.related a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.related a:hover { border-color: var(--brick); color: var(--brick); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.person h3 { margin-bottom: 0.2rem; }
.person .role { color: var(--brick); font-family: var(--font-head); font-weight: 500; margin-bottom: var(--space-2); }
.person p { color: var(--slate); }
@media (max-width: 880px) { .team { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-3); max-width: 40rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-family: var(--font-head); font-weight: 600; }
.field .hint { font-size: var(--step--1); color: var(--slate); margin: 0; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid #8f8a84; border-radius: var(--radius); padding: 0.7rem 0.85rem; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brick); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-status { font-weight: 600; }
.form-status[data-state="error"] { color: #a1260f; }

/* ---------- Contact ---------- */
.contact-paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-bottom: var(--space-5); }
.path { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.path h2 { font-size: var(--step-2); }
.path p { color: var(--slate); }
.path--support { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.path--support p { color: var(--on-dark-muted); }
.path--support .btn--ghost { color: var(--paper); }
.path--support .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.path--support :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--brick-on-dark); }
@media (max-width: 720px) { .contact-paths { grid-template-columns: 1fr; } }
.contact-details { font-style: normal; display: grid; gap: var(--space-2); }
.contact-details strong { font-family: var(--font-head); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: var(--space-5) var(--space-3); font-size: 1rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--brick-on-dark); text-decoration: underline; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--brick-on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-4); }
.footer-grid h2 { font-size: var(--step-0); color: var(--paper); margin-bottom: var(--space-2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-brand img { width: 190px; margin-bottom: var(--space-2); }
.footer-brand address { font-style: normal; }
.footer-base { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid #2a2a2a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); font-size: var(--step--1); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* odd number of services: last item spans both columns */
.service-list li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }

/* ---------- Resources ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.res-toc ul { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1); }
.res-toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-2);
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500;
  transition: border-color 180ms ease, color 180ms ease;
}
.res-toc a:hover { border-color: var(--brick); color: var(--brick); }
.res-group { scroll-margin-top: 96px; }
.res-group + .res-group { margin-top: var(--space-5); }
.res-group > p { color: var(--slate); }
.res-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.res-list a {
  display: flex; flex-direction: column; gap: 0.35rem; height: 100%;
  padding: var(--space-3); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color 180ms ease;
}
.res-list a:hover { border-color: var(--brick); }
.res-list a:hover .res-name { color: var(--brick); }
.res-name { font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); display: flex; gap: 0.5rem; align-items: baseline; justify-content: space-between; transition: color 180ms ease; }
.res-name svg { width: 16px; height: 16px; flex: none; stroke: var(--brick); }
.res-desc { color: var(--slate); font-size: 1rem; flex: 1; }
.res-host { color: var(--slate); font-size: 0.875rem; }
.res-note { margin-top: var(--space-5); color: var(--slate); font-size: 0.875rem; }
@media (max-width: 960px) { .res-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .res-list { grid-template-columns: 1fr; gap: var(--space-1); } .res-list a { padding: var(--space-2); } }


/* ---------- Service area + footer hours ---------- */
.footer-hours { margin: var(--space-2) 0 0; color: var(--on-dark-muted); font-size: 0.9375rem; }
.area-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-2); }
.area-group h3 { font-size: var(--step-1); margin-bottom: var(--space-1); }
.area-group .areas { margin: 0; }
.checklist--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
@media (max-width: 880px) { .area-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .area-groups, .checklist--cols { grid-template-columns: 1fr; } }

/* ---------- OpenStack page ---------- */
.area-groups--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.section--dark .areas li { border-color: #444; color: var(--on-dark); }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1040px) { .area-groups--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 880px) { .area-groups--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .area-groups--5, .steps--2 { grid-template-columns: 1fr; } }
