/* =========================================================
   Mica Specialties — "Ink & Copper" theme
   Layered over the template's style.css (icons, animations,
   form validation). All new components are prefixed .m-
   ========================================================= */
/* Self-hosted variable fonts (SIL Open Font License): Fraunces (opsz + wght) and Manrope (wght) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope.woff2") format("woff2"); }
:root {
  --ink: #12161F;
  --ink-2: #171D29;
  --slate: #1C2A3F;
  --slate-2: #24364F;
  --blue: #1478BE;
  --blue-2: #0F5F98;
  --sky: #6CB7EC;
  --silver: #C5CCD6;      /* accent on dark surfaces, button fills */
  --silver-2: #5E6B7A;    /* silver text on light surfaces (AA contrast) */
  --silver-soft: #E6EAF0; /* highlights on dark */
  --header-bg: #F7F8FA;   /* light header & menus */
  --header-bar: #E8ECF1;  /* light top bar */
  --sand: #F4EDE4;
  --sand-2: #EADFD1;
  --sand-3: #DDCDB9;
  --text: #1E2430;
  --text-soft: #4B5566;
  --on-dark: #E9E4DC;
  --on-dark-soft: #A9B3C2;
  --line-dark: rgba(233, 228, 220, .12);
  --line-light: rgba(18, 22, 31, .12);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1240px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 20px 50px -24px rgba(10, 14, 22, .45);
}

/* ---------- base resets over template ---------- */
html, body { background: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}
.page { background: var(--sand); overflow: clip; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.015em;
  color: inherit;
  margin: 0;
  text-transform: none;
}
h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; }
h4 { font-size: 22px; line-height: 1.25; }
h5 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; }
em, .em { font-family: inherit; font-weight: inherit; font-style: italic; color: var(--silver-2); }
p { margin: 0; }
* + p { margin-top: 16px; }
a { color: var(--link); transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
a:hover, a:focus { color: var(--silver-2); text-decoration: none; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- section tones ---------- */
.m-sec { position: relative; padding: 110px 0; }
.m-sec--tight { padding: 72px 0; }
@media (max-width: 767px) { .m-sec { padding: 72px 0; } .m-sec--tight { padding: 52px 0; } }
.tone-ink   { background: var(--ink);   color: var(--on-dark); }
.tone-slate { background: var(--slate); color: var(--on-dark); }
.tone-blue  { background: var(--blue);  color: #fff; }
.tone-silver{ background: var(--silver); color: var(--ink); }
.tone-sand  { background: var(--sand);  color: var(--text); }
.tone-sand2 { background: var(--sand-2); color: var(--text); }
.tone-ink p, .tone-slate p { color: var(--on-dark-soft); }
.tone-blue p { color: rgba(255,255,255,.86); }
.tone-ink em, .tone-slate em { color: var(--silver-soft); }
.tone-blue em { color: var(--ink); }
.tone-silver em { color: var(--blue-2); }
.tone-ink a:not(.m-btn), .tone-slate a:not(.m-btn) { color: var(--sky); }
.tone-ink a:not(.m-btn):hover, .tone-slate a:not(.m-btn):hover { color: var(--silver-soft); }

/* subtle grain + glow on dark tones */
.has-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(20,120,190,.28), transparent 70%),
    radial-gradient(40% 40% at 5% 95%, rgba(197,204,214,.16), transparent 70%);
}
.has-glow > * { position: relative; }

/* ---------- type helpers ---------- */
.m-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--silver-2);
}
.m-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.tone-ink .m-eyebrow, .tone-slate .m-eyebrow { color: var(--silver); }
.tone-blue .m-eyebrow { color: var(--ink); }
.m-lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; max-width: 62ch; }
* + .m-lede { margin-top: 22px; }
.m-eyebrow + h1, .m-eyebrow + h2, .m-eyebrow + h3 { margin-top: 18px; }
.m-head { max-width: 780px; margin-bottom: 56px; }
.m-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.m-head--center .m-lede { margin-left: auto; margin-right: auto; }
.m-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
@media (max-width: 900px) { .m-head--split { grid-template-columns: 1fr; gap: 20px; } }
.m-muted { color: var(--text-soft); }
.m-small { font-size: 14px; }

/* ---------- buttons ---------- */
.m-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: .02em;
  line-height: 1; cursor: pointer; white-space: nowrap;
}
.m-btn .mdi, .m-btn .fa { font-size: 18px; transition: transform .2s; }
.m-btn:hover .mdi-arrow-right { transform: translateX(4px); }
.m-btn--silver { background: var(--silver); color: var(--ink); }
.m-btn--silver:hover, .m-btn--silver:focus { background: var(--silver-soft); color: var(--ink); }
.m-btn--blue { background: var(--blue); color: #fff; }
.m-btn--blue:hover, .m-btn--blue:focus { background: var(--blue-2); color: #fff; }
.m-btn--ink { background: var(--ink); color: var(--sand); }
.m-btn--ink:hover, .m-btn--ink:focus { background: var(--slate); color: #fff; }
.m-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.tone-ink .m-btn--ghost, .tone-slate .m-btn--ghost, .m-hero .m-btn--ghost { color: var(--on-dark); border-color: rgba(233,228,220,.4); }
.m-btn--ghost:hover { border-color: var(--silver); color: var(--silver) !important; }
.m-btns { display: flex; flex-wrap: wrap; gap: 14px; }
* + .m-btns { margin-top: 34px; }
.m-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px;
  color: var(--blue); border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.m-link::after { content: "\2192"; transition: transform .2s; }
.m-link:hover { border-color: currentColor; }
.m-link:hover::after { transform: translateX(4px); }
.tone-ink .m-link, .tone-slate .m-link { color: var(--silver); }

/* =========================================================
   HEADER
   ========================================================= */
.m-topbar {
  background: #0C0F16; color: var(--on-dark-soft); font-size: 13.5px;
  border-bottom: 1px solid var(--line-dark);
}
.m-topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.m-topbar a { color: var(--on-dark); }
.m-topbar a:hover { color: var(--silver); }
.m-topbar-local { display: flex; align-items: center; gap: 8px; }
.m-topbar-local .mdi { color: var(--silver); }
.m-topbar-right { display: flex; align-items: center; gap: 22px; }
.m-topbar-right .mdi, .m-topbar-right .fa { margin-right: 6px; color: var(--silver); }
.m-topbar-social { display: flex; gap: 14px; }
.m-topbar-social a { color: var(--on-dark-soft); }
.m-topbar-social .fa { color: inherit; margin: 0; }
@media (max-width: 900px) { .m-topbar-social, .m-topbar-hide-sm { display: none !important; } }
@media (max-width: 560px) {
  .m-topbar { font-size: 12.5px; }
  .m-topbar-local span.long, .m-topbar-local .city2 { display: none; }
  .m-topbar .wrap { white-space: nowrap; }
}

.m-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(18, 22, 31, .94);
  -webkit-backdrop-filter: saturate(150%) blur(10px); backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .25s;
}
.m-header.is-scrolled { box-shadow: 0 12px 30px -16px rgba(0,0,0,.7); }
.m-header .wrap { display: flex; align-items: center; gap: 28px; height: 96px; }
.m-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.m-brand img { height: 78px; width: auto; display: block; }
.m-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.m-nav-list { display: flex; align-items: center; list-style: none; gap: 2px; }
.m-nav-item { position: static; }
.m-nav-item.has-drop { position: relative; }
.m-nav-item.has-mega { position: static; }
.m-nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 14px; border-radius: 10px;
  color: var(--on-dark); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  background: none; border: 0; cursor: pointer; font-family: var(--sans);
}
.m-nav-link .mdi { font-size: 18px; color: var(--silver); transition: transform .2s; }
.m-nav-link:hover, .m-nav-item.is-open > .m-nav-link, .m-nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.m-nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--silver); border-radius: 10px 10px 4px 4px; }
.m-nav-item.is-open > .m-nav-link .mdi { transform: rotate(180deg); }
.m-nav-cta { margin-left: 14px; padding: 13px 22px; }

/* dropdown + mega panels (desktop) */
.m-drop, .m-mega {
  position: absolute; top: calc(100% + 6px); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.65);
}
.m-drop { left: 0; min-width: 270px; padding: 12px; list-style: none; }
.m-drop a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--on-dark); font-weight: 600; font-size: 15px; }
.m-drop a small { display: block; color: var(--on-dark-soft); font-weight: 500; font-size: 13px; }
.m-drop a:hover { background: rgba(255,255,255,.06); color: #fff; }
.m-mega {
  left: 28px; right: 28px; top: calc(100% - 4px); padding: 30px;
  display: grid; grid-template-columns: repeat(5, 1fr) 1.15fr; gap: 10px;
}
.m-header .wrap { position: relative; }
.m-nav-item.is-open > .m-drop, .m-nav-item.is-open > .m-mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1181px) {
  .m-nav-item.has-drop:hover > .m-drop, .m-nav-item.has-mega:hover > .m-mega { opacity: 1; visibility: visible; transform: none; }
}
.m-mega-col { padding: 6px 10px 6px 0; }
.m-mega-col + .m-mega-col { border-left: 1px solid var(--line-dark); padding-left: 16px; }
.m-mega-title { display: block; color: #fff; font-family: var(--display); font-size: 21px; font-weight: 500; }
.m-mega-title:hover { color: var(--silver); }
.m-mega-kicker { display: block; color: var(--silver); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.m-mega-list { list-style: none; margin-top: 14px; }
.m-mega-list a { display: block; padding: 6px 0; color: var(--on-dark-soft); font-size: 14.5px; font-weight: 600; }
.m-mega-list a:hover { color: #fff; transform: translateX(3px); }
.m-mega-feature {
  border-radius: var(--radius); padding: 22px; margin-left: 10px;
  background: linear-gradient(150deg, var(--slate-2), var(--slate)); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.m-mega-feature h4 { font-size: 21px; color: #fff; }
.m-mega-feature p { color: var(--on-dark-soft); font-size: 14px; margin-top: 8px; }

.m-burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; position: relative; }
.m-burger span, .m-burger span::before, .m-burger span::after { position: absolute; left: 13px; width: 22px; height: 2px; background: var(--sand); transition: transform .25s, opacity .25s; content: ""; }
.m-burger span { top: 23px; }
.m-burger span::before { left: 0; top: -7px; }
.m-burger span::after { left: 0; top: 7px; }
.nav-open .m-burger span { background: transparent; }
.nav-open .m-burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .m-burger span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .m-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .m-header .wrap { height: 72px; }
  .m-brand img { height: 48px; }
  .m-burger { display: block; }
  .m-nav {
    position: fixed; top: var(--nav-top, 114px); left: 0; right: 0; bottom: 0; background: var(--ink); z-index: 999;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-open .m-nav { transform: none; visibility: visible; }
  .m-nav-list { flex-direction: column; align-items: stretch; }
  .m-nav-link { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line-dark); }
  .m-nav-link[aria-current="page"] { box-shadow: none; color: var(--silver); }
  .m-drop, .m-mega {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 6px 0 14px;
  }
  .m-nav-item.is-open > .m-drop { display: block; }
  .m-nav-item.is-open > .m-mega { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .m-mega-col + .m-mega-col { border: 0; padding-left: 0; }
  .m-mega-feature { display: none; }
  .m-mega-list { display: none; }
  .m-mega-col { padding: 8px 0; }
  .m-nav-cta { margin: 24px 0 0; justify-content: center; padding: 18px; }
}
@media (max-width: 520px) { .m-nav-item.is-open > .m-mega { grid-template-columns: 1fr; } }
body.nav-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.m-hero { position: relative; background: var(--ink); color: var(--on-dark); padding: 96px 0 0; overflow: hidden; }
.m-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(20,120,190,.35), transparent 70%),
    radial-gradient(35% 45% at 0% 100%, rgba(197,204,214,.18), transparent 70%);
}
.m-hero-orbit {
  position: absolute; right: -180px; top: -120px; width: 760px; height: 760px; pointer-events: none; opacity: .5;
  border-radius: 50%; border: 1px solid rgba(108,183,236,.18);
}
.m-hero-orbit::before, .m-hero-orbit::after {
  content: ""; position: absolute; inset: 70px -110px; border-radius: 50%;
  border: 1px solid rgba(197,204,214,.28); transform: rotate(-24deg);
}
.m-hero-orbit::after { transform: rotate(24deg); border-color: rgba(108,183,236,.22); }
.m-hero .wrap { position: relative; }
.m-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.m-hero h1 { color: #fff; }
.m-hero h1 em { color: var(--silver); }
.m-hero .m-lede { color: var(--on-dark-soft); }
.m-hero-local {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark);
}
.m-hero-local .dot { width: 10px; height: 10px; border-radius: 50%; background: #4AA8FF; box-shadow: 0 0 0 4px rgba(74,168,255,.22); animation: m-blink 3s ease-in-out infinite; }
@keyframes m-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(74,168,255,.22), 0 0 10px rgba(74,168,255,.7); } 50% { opacity: .25; box-shadow: 0 0 0 2px rgba(74,168,255,.08), 0 0 0 rgba(74,168,255,0); } }
@media (prefers-reduced-motion: reduce) { .m-hero-local .dot { animation: none; } }
.m-hero-media { position: relative; }
.m-hero-media .ph { border-radius: 28px 28px 28px 120px; }
.m-hero-badge {
  position: absolute; left: -34px; top: 48px; background: var(--silver); color: var(--ink);
  padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow); max-width: 230px;
}
.m-hero-badge strong { display: block; font-family: var(--display); font-size: 36px; line-height: 1; font-weight: 600; }
.m-hero-badge span { font-size: 13.5px; font-weight: 700; line-height: 1.35; display: block; margin-top: 6px; }
.m-trust {
  margin-top: 84px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.m-trust-item { padding: 26px 20px 30px; border-right: 1px solid var(--line-dark); }
.m-trust-item:first-child { padding-left: 0; }
.m-trust-item:last-child { border-right: 0; }
.m-trust-item strong { display: block; color: #fff; font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.1; }
.m-trust-item span { display: block; font-size: 14px; line-height: 1.55; color: var(--on-dark-soft); margin-top: 12px; }
@media (max-width: 1000px) {
  .m-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .m-hero-badge { left: 16px; top: 16px; }
  .m-trust { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .m-trust-item { border-right: 0; border-bottom: 1px solid var(--line-dark); padding-left: 0; }
}
@media (max-width: 480px) { .m-trust { grid-template-columns: 1fr; } }

/* inner page hero */
.m-phero { position: relative; background: var(--ink); color: var(--on-dark); padding: 84px 0 92px; overflow: hidden; }
.m-phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 92% 0%, rgba(20,120,190,.32), transparent 70%), radial-gradient(30% 50% at 0% 100%, rgba(197,204,214,.15), transparent 70%);
}
.m-phero .wrap { position: relative; }
.m-phero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.m-phero h1 { color: #fff; font-size: clamp(40px, 5.2vw, 64px); }
.m-phero .m-lede { color: var(--on-dark-soft); }
.m-phero .ph { border-radius: 24px 24px 24px 90px; }
.m-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 13.5px; color: var(--on-dark-soft); margin-bottom: 26px; }
.m-crumbs a { color: var(--on-dark-soft); }
.m-crumbs a:hover { color: var(--silver); }
.m-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.m-phero-stat { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 34px; }
.m-phero-stat div { border-left: 2px solid var(--silver); padding-left: 14px; }
.m-phero-stat strong { display: block; color: #fff; font-family: var(--display); font-size: 24px; font-weight: 500; }
.m-phero-stat span { font-size: 13.5px; color: var(--on-dark-soft); }
@media (max-width: 960px) { .m-phero-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PHOTO PLACEHOLDERS
   ========================================================= */
.ph {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, var(--slate-2), var(--slate) 55%, #142033);
  color: var(--on-dark); display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 160px; isolation: isolate;
}
.ph::after {
  content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(197,204,214,.35); border-radius: calc(var(--radius) - 6px); pointer-events: none;
}
.ph--43 { aspect-ratio: 4 / 3; }
.ph--169 { aspect-ratio: 16 / 9; }
.ph--sq { aspect-ratio: 1 / 1; }
.ph--port { aspect-ratio: 4 / 5; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--wide { aspect-ratio: 21 / 9; }
.ph--light {
  background:
    repeating-linear-gradient(135deg, rgba(18,22,31,.04) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, var(--sand-3), var(--sand-2));
  color: var(--text);
}
.ph--light::after { border-color: rgba(94,107,122,.45); }
.ph-inner { position: relative; z-index: 1; padding: 26px 28px; }
.ph-icon { position: absolute; top: 24px; left: 26px; z-index: 1; font-size: 26px; color: var(--silver); }
.ph-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: var(--silver); color: var(--ink); padding: 4px 9px; border-radius: 6px;
}
.ph-label { display: block; margin-top: 10px; font-weight: 700; font-size: 15px; line-height: 1.4; max-width: 34ch; }
.ph-size { display: block; margin-top: 4px; font-size: 12.5px; opacity: .65; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.ph:has(img)::after { display: none; }

/* =========================================================
   COMPONENTS
   ========================================================= */
.m-grid { display: grid; gap: 24px; }
.m-grid--2 { grid-template-columns: repeat(2, 1fr); }
.m-grid--3 { grid-template-columns: repeat(3, 1fr); }
.m-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .m-grid--3, .m-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .m-grid--2, .m-grid--3, .m-grid--4 { grid-template-columns: 1fr; } }

.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.m-split--wide-l { grid-template-columns: 1.15fr .85fr; }
.m-split--wide-r { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 960px) { .m-split, .m-split--wide-l, .m-split--wide-r { grid-template-columns: 1fr; gap: 40px; } .m-split .order-first-sm { order: -1; } }

/* discipline cards (home) */
.m-disc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.m-disc-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--slate); color: var(--on-dark);
  min-height: 520px; transition: transform .3s, box-shadow .3s;
}
.m-disc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--on-dark); }
.m-disc-card .ph { border-radius: 0; flex: 1 1 auto; min-height: 220px; }
.m-disc-card .ph::after { border-radius: 10px; }
.m-disc-body { padding: 28px 28px 30px; }
.m-disc-num { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; color: var(--silver); text-transform: uppercase; }
.m-disc-card h3 { color: #fff; margin-top: 8px; }
.m-disc-card p { color: var(--on-dark-soft); font-size: 15.5px; margin-top: 10px; }
.m-disc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; list-style: none; }
.m-disc-tags li { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--on-dark); }
.m-disc-card--brand { background: #2C3A4C; }
.m-disc-card--mkt { background: var(--slate); }
.m-disc-card--ads { background: #102E4A; }
.m-disc-card--web {
  grid-column: span 4; min-height: 0; flex-direction: row; background: var(--blue); color: #fff;
}
.m-disc-card--web .ph { flex: 0 0 46%; min-height: 300px; }
.m-disc-card--web .m-disc-body { align-self: center; padding: 40px; }
.m-disc-card--web .m-disc-num { color: #fff; }
.m-disc-card--web p { color: #fff; }
.m-disc-card--web .m-disc-tags li { background: rgba(18,22,31,.18); color: #fff; }
.m-disc-card--it { grid-column: span 2; min-height: 0; background: var(--ink-2); border: 1px solid var(--line-dark); }
.m-disc-card--it .m-disc-body { padding: 34px 30px; }
.m-disc-arrow {
  position: absolute; top: 22px; right: 22px; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  background: var(--silver); color: var(--ink); display: grid; place-items: center; font-size: 22px;
  transition: transform .3s;
}
.m-disc-card:hover .m-disc-arrow { transform: rotate(-45deg); }
@media (max-width: 1100px) {
  .m-disc { grid-template-columns: repeat(2, 1fr); }
  .m-disc-card, .m-disc-card--it { grid-column: span 1; min-height: 460px; }
  .m-disc-card--web { grid-column: span 2; }
}
@media (max-width: 700px) {
  .m-disc { grid-template-columns: 1fr; }
  .m-disc-card, .m-disc-card--web, .m-disc-card--it { grid-column: span 1; flex-direction: column; min-height: 0; }
  .m-disc-card--web .ph { flex-basis: auto; min-height: 220px; }
  .m-disc-card--web .m-disc-body { padding: 28px; }
}

/* challenge → solution */
.m-challenge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.m-challenge-item {
  display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg);
  background: var(--sand); border: 1px solid var(--line-light); color: var(--text);
  transition: background .25s, transform .25s, border-color .25s;
}
.tone-sand .m-challenge-item { background: #FBF7F1; }
.m-challenge-item:hover { transform: translateY(-4px); border-color: var(--silver); color: var(--text); }
.m-challenge-q { font-family: var(--display); font-size: 22px; line-height: 1.25; font-style: italic; color: var(--ink); }
.m-challenge-q::before { content: "\201C"; color: var(--silver); }
.m-challenge-q::after { content: "\201D"; color: var(--silver); }
.m-challenge-a { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-light); font-size: 14.5px; color: var(--text-soft); }
.m-challenge-a strong { display: block; color: var(--blue); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 1000px) { .m-challenge { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .m-challenge { grid-template-columns: 1fr; } }

/* service rows (discipline pages) */
.m-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line-light); scroll-margin-top: 110px; }
.m-svc:first-child { border-top: 0; padding-top: 0; }
.m-svc:last-child { padding-bottom: 0; }
.tone-slate .m-svc, .tone-ink .m-svc { border-color: var(--line-dark); }
.m-svc:nth-child(even) .m-svc-media { order: 2; }
.m-svc-num { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-2); }
.m-svc h3 { margin-top: 10px; }
.m-svc-problem { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--silver); background: rgba(197,204,214,.09); border-radius: 0 10px 10px 0; font-size: 15.5px; }
.m-svc-problem strong { color: var(--silver-2); }
.m-checks { list-style: none; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.m-checks li { position: relative; padding-left: 28px; font-size: 15.5px; font-weight: 600; }
.m-checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}
.m-checks--1 { grid-template-columns: 1fr; }
@media (max-width: 960px) { .m-svc { grid-template-columns: 1fr; gap: 32px; } .m-svc:nth-child(even) .m-svc-media { order: 0; } }
@media (max-width: 520px) { .m-checks { grid-template-columns: 1fr; } }

/* sub-nav chips for discipline pages */
.m-subnav { position: sticky; top: 96px; z-index: 50; background: var(--sand-2); border-bottom: 1px solid var(--line-light); }
.m-subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.m-subnav .wrap::-webkit-scrollbar { display: none; }
.m-subnav a { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text); background: rgba(255,255,255,.5); border: 1px solid var(--line-light); }
.m-subnav a:hover, .m-subnav a.is-active { background: var(--ink); color: var(--sand); border-color: var(--ink); }
@media (max-width: 1180px) { .m-subnav { top: 72px; } }

/* steps */
.m-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; list-style: none; }
.m-steps li { position: relative; padding: 30px 26px 10px 0; border-top: 2px solid var(--line-dark); counter-increment: step; }
.tone-sand .m-steps li, .tone-sand2 .m-steps li { border-color: var(--line-light); }
.m-steps li::before {
  content: "0" counter(step); position: absolute; top: -16px; left: 0; background: var(--silver); color: var(--ink);
  font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 8px;
}
.m-steps h4 { margin-top: 18px; color: inherit; }
.m-steps p { font-size: 15px; margin-top: 8px; }
@media (max-width: 1000px) { .m-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .m-steps { grid-template-columns: 1fr; } }

/* stat band */
.m-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.m-stat strong { display: block; font-family: var(--display); font-size: clamp(40px, 4.5vw, 60px); line-height: 1; font-weight: 500; }
.m-stat span { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; }
@media (max-width: 800px) { .m-stats { grid-template-columns: repeat(2, 1fr); } }

/* credential cards */
.m-cred { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.m-cred .mdi { font-size: 30px; color: var(--silver); }
.m-cred h4 { color: #fff; margin-top: 12px; font-size: 20px; }
.m-cred p { font-size: 14.5px; margin-top: 8px; }
.tone-sand .m-cred, .tone-sand2 .m-cred { background: #FBF7F1; border-color: var(--line-light); }
.tone-sand .m-cred h4, .tone-sand2 .m-cred h4 { color: var(--ink); }

/* generic card */
.m-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #FBF7F1; border: 1px solid var(--line-light); color: var(--text); transition: transform .25s, box-shadow .25s; height: 100%; }
a.m-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.m-card .ph { border-radius: 0; }
.m-card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.m-card-body p { margin: 0; font-size: 15.5px; color: var(--text-soft); }
.m-card-meta { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-2); }
.m-card h4 { color: var(--ink); }
.m-card .m-link { margin-top: auto; padding-top: 8px; }
.tone-slate .m-card, .tone-ink .m-card { background: var(--slate-2); border-color: var(--line-dark); color: var(--on-dark); }
.tone-slate .m-card h4, .tone-ink .m-card h4 { color: #fff; }
.tone-slate .m-card-body p, .tone-ink .m-card-body p { color: var(--on-dark-soft); }
.tone-slate .m-card-meta, .tone-ink .m-card-meta { color: var(--silver); }

/* icon tile */
.m-tile { padding: 30px; border-radius: var(--radius-lg); background: #FBF7F1; border: 1px solid var(--line-light); height: 100%; }
.m-tile .mdi { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--silver); font-size: 26px; }
.m-tile h4 { margin-top: 20px; color: var(--ink); }
.m-tile p { font-size: 15.5px; color: var(--text-soft); margin-top: 10px; }
.tone-slate .m-tile, .tone-ink .m-tile { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.tone-slate .m-tile h4, .tone-ink .m-tile h4 { color: #fff; }
.tone-slate .m-tile .mdi, .tone-ink .m-tile .mdi { background: var(--silver); color: var(--ink); }
.tone-slate .m-tile p, .tone-ink .m-tile p { color: var(--on-dark-soft); }

/* quote / testimonial placeholder */
.m-quote { padding: 34px; border-radius: var(--radius-lg); background: var(--slate-2); color: var(--on-dark); height: 100%; display: flex; flex-direction: column; gap: 22px; }
.m-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--display); font-size: 21px; line-height: 1.45; font-style: italic; color: #fff; }
.m-quote blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--silver); font-style: normal; margin-bottom: 8px; }
.m-quote footer { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: 14px; color: var(--on-dark-soft); }
.m-quote footer strong { display: block; color: #fff; font-size: 15px; }
.m-quote .ph { width: 54px; height: 54px; min-height: 0; border-radius: 50%; flex: none; }
.m-quote .ph::after { inset: 4px; border-radius: 50%; }
.m-placeholder-note { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }

/* local band */
.m-areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 28px; }
.m-areas li { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); font-size: 14.5px; font-weight: 700; color: var(--on-dark); }
.m-areas li.is-hq { background: var(--silver); color: var(--ink); border-color: var(--silver); }
.tone-sand .m-areas li, .tone-sand2 .m-areas li { background: #FBF7F1; border-color: var(--line-light); color: var(--text); }
.tone-sand .m-areas li.is-hq, .tone-sand2 .m-areas li.is-hq { background: var(--ink); color: var(--sand); }
.m-office { padding: 28px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--on-dark); }
.m-office-label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.m-office h4 { color: #fff; margin-top: 8px; }
.m-office address { font-style: normal; color: var(--on-dark-soft); margin-top: 10px; font-size: 15.5px; line-height: 1.6; }
.m-office .m-link { margin-top: 14px; }

/* speaker topics */
.m-topic { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.m-topic-n { font-family: var(--display); font-size: 34px; color: var(--silver); line-height: 1; }
.m-topic h4 { color: #fff; }
.m-topic p { margin-top: 8px; font-size: 15.5px; }
.m-topic-fmt { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 12px; }
.m-topic-fmt li { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: rgba(108,183,236,.14); color: var(--sky); }

/* timeline */
.m-timeline { list-style: none; position: relative; }
.m-timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: var(--sand-3); }
.m-timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 34px; padding-bottom: 34px; position: relative; }
.m-timeline li::after { content: ""; position: absolute; left: 86px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--silver); box-shadow: 0 0 0 5px var(--sand); }
.m-timeline-y { font-family: var(--display); font-size: 26px; font-weight: 500; color: var(--blue); line-height: 1.1; }
.m-timeline h4 { color: var(--ink); }
.m-timeline p { margin-top: 6px; color: var(--text-soft); font-size: 15.5px; }

/* guide (learning center) */
.m-guide { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius-lg); background: #FBF7F1; border: 1px solid var(--line-light); color: var(--text); height: 100%; scroll-margin-top: 120px; }
.m-guide:hover { border-color: var(--blue); }
.m-guide-top { display: flex; align-items: center; justify-content: space-between; }
.m-guide-top .mdi { font-size: 30px; color: var(--blue); }
.m-guide-type { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--sand-2); color: var(--silver-2); }
.m-guide h4 { color: var(--ink); }
.m-guide p { margin: 0; font-size: 15px; color: var(--text-soft); }
.m-guide ul { list-style: none; margin-top: 4px; }
.m-guide ul li { font-size: 14.5px; padding: 7px 0; border-top: 1px dashed var(--line-light); font-weight: 600; }
.m-guide ul li::before { content: "\2192  "; color: var(--silver-2); }

/* events list */
.m-event { display: grid; grid-template-columns: 96px 1fr auto; gap: 26px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line-dark); }
.m-event-date { text-align: center; padding: 12px 8px; border-radius: 14px; background: var(--silver); color: var(--ink); }
.m-event-date strong { display: block; font-family: var(--display); font-size: 32px; line-height: 1; font-weight: 600; }
.m-event-date span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.m-event h4 { color: #fff; font-size: 21px; }
.m-event p { margin-top: 6px; font-size: 14.5px; }
@media (max-width: 700px) { .m-event { grid-template-columns: 76px 1fr; } .m-event .m-btn { grid-column: 1 / -1; justify-self: start; } }

/* FAQ */
.m-faq details { border-top: 1px solid var(--line-light); }
.m-faq details:last-child { border-bottom: 1px solid var(--line-light); }
.m-faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--display); font-size: 21px; color: var(--ink); }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--sans); font-size: 28px; color: var(--silver-2); transition: transform .2s; }
.m-faq details[open] summary::after { transform: rotate(45deg); }
.m-faq details > div { padding: 0 0 24px; color: var(--text-soft); max-width: 70ch; }
.tone-slate .m-faq summary, .tone-ink .m-faq summary { color: #fff; }
.tone-slate .m-faq details, .tone-ink .m-faq details { border-color: var(--line-dark); }

/* related */
.m-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m-related a { display: block; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: var(--on-dark); }
.m-related a:hover { border-color: var(--silver); background: rgba(197,204,214,.08); color: #fff; }
.m-related strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; color: #fff; }
.m-related span { display: block; margin-top: 4px; font-size: 14px; color: var(--on-dark-soft); }
@media (max-width: 900px) { .m-related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .m-related { grid-template-columns: 1fr; } }

/* filter chips (work page) */
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.m-chips button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-light); background: #FBF7F1; font: 700 14px var(--sans); color: var(--text); cursor: pointer; }
.m-chips button.is-active, .m-chips button:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.m-work-item.is-hidden { display: none; }

/* CTA band */
.m-cta { position: relative; overflow: hidden; background: var(--silver); color: var(--ink); padding: 92px 0; }
.m-cta::before { content: ""; position: absolute; right: -140px; top: -200px; width: 560px; height: 560px; border-radius: 50%; border: 2px solid rgba(18,22,31,.12); }
.m-cta::after { content: ""; position: absolute; right: -60px; top: -120px; width: 400px; height: 400px; border-radius: 50%; border: 2px solid rgba(18,22,31,.1); }
.m-cta .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.m-cta h2 em { color: var(--blue-2); }
.m-cta p { color: rgba(18,22,31,.8); }
.m-cta-contact { justify-self: end; text-align: right; }
.m-cta-phone { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); color: var(--ink); line-height: 1.1; }
.m-cta-phone:hover { color: var(--blue-2); }
.m-cta-contact small { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
@media (max-width: 900px) { .m-cta .wrap { grid-template-columns: 1fr; } .m-cta-contact { justify-self: start; text-align: left; } }

/* forms */
.m-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.m-form .full { grid-column: 1 / -1; }
.m-form .form-group { margin: 0; position: relative; }
.m-form label.m-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; color: inherit; }
.m-form .form-control {
  width: 100%; height: auto; min-height: 54px; padding: 14px 18px; border-radius: 12px;
  border: 1.5px solid var(--sand-3); background: #FBF7F1; color: var(--text); font: 500 16px var(--sans);
  box-shadow: none; transition: border-color .2s, background .2s;
}
.m-form textarea.form-control { min-height: 150px; resize: vertical; }
.m-form .form-control:focus { border-color: var(--blue); background: #fff; outline: none; }
.tone-slate .m-form .form-control, .tone-ink .m-form .form-control { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: #fff; }
.tone-slate .m-form .form-control:focus, .tone-ink .m-form .form-control:focus { border-color: var(--silver); background: rgba(255,255,255,.08); }
.m-form .form-validation { position: absolute; right: 12px; top: auto; bottom: -20px; font-size: 12px; color: #E0643C; }
.m-form .m-btn { justify-self: start; }
.m-form-card { padding: 40px; border-radius: var(--radius-lg); background: var(--sand-2); }
.tone-slate .m-form-card, .tone-ink .m-form-card { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
@media (max-width: 640px) { .m-form { grid-template-columns: 1fr; } .m-form-card { padding: 26px; } }
.m-interest { display: flex; flex-wrap: wrap; gap: 8px; }
.m-interest label { cursor: pointer; }
.m-interest .chip { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--sand-3); background: #FBF7F1; font-size: 14px; font-weight: 700; user-select: none; }
.m-interest .chip.is-on { background: var(--ink); color: var(--sand); border-color: var(--ink); }

/* team */
.m-person .ph { border-radius: var(--radius-lg); }
.m-person h4 { margin-top: 18px; color: var(--ink); }
.m-person span { display: block; font-size: 14px; color: var(--silver-2); font-weight: 700; margin-top: 4px; }

/* logos row */
.m-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.m-logos .ph { min-height: 0; aspect-ratio: 3 / 2; }
.m-logos .ph-inner { padding: 14px; }
.m-logos .ph-label { font-size: 12px; margin-top: 6px; }
@media (max-width: 900px) { .m-logos { grid-template-columns: repeat(3, 1fr); } }

/* prose */
.m-prose { max-width: 760px; }
.m-prose h2 { font-size: 32px; margin-top: 48px; }
.m-prose h3 { font-size: 24px; margin-top: 32px; }
.m-prose p, .m-prose ul { margin-top: 14px; color: var(--text-soft); }
.m-prose ul { padding-left: 20px; }

/* =========================================================
   FOOTER
   ========================================================= */
.m-footer { background: #0C0F16; color: var(--on-dark-soft); padding: 90px 0 0; font-size: 15px; }
.m-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.m-footer-brand img { width: 170px; height: auto; }
.m-footer-brand p { margin-top: 18px; max-width: 34ch; }
.m-footer h5 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.m-footer ul { list-style: none; }
.m-footer li + li { margin-top: 9px; }
.m-footer a { color: var(--on-dark-soft); }
.m-footer a:hover { color: var(--silver); }
.m-footer address { font-style: normal; line-height: 1.6; }
.m-footer address + address { margin-top: 16px; }
.m-footer address strong { color: var(--on-dark); display: block; }
.m-footer-phone { display: inline-block; margin-top: 16px; font-family: var(--display); font-size: 26px; color: #fff !important; }
.m-footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.m-footer-badges span, .m-footer-badges a { font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line-dark); color: var(--on-dark); }
.m-footer-social { display: flex; gap: 10px; margin-top: 22px; }
.m-footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--on-dark); }
.m-footer-social a:hover { background: var(--silver); color: var(--ink); }
.m-footer-bottom { margin-top: 70px; border-top: 1px solid var(--line-dark); padding: 24px 0 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 1100px) { .m-footer-grid { grid-template-columns: 1fr 1fr 1fr; } .m-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .m-footer-grid { grid-template-columns: 1fr 1fr; } .m-footer-contact { grid-column: 1 / -1; } }

/* utilities */
.mt-0 { margin-top: 0 !important; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.center { text-align: center; }
.stack > * + * { margin-top: 18px; }
.maxw-60 { max-width: 60ch; }
.m-divider { height: 1px; background: var(--line-light); margin: 56px 0; border: 0; }
.tone-slate .m-divider, .tone-ink .m-divider { background: var(--line-dark); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .wow { visibility: visible !important; }
}

/* template scroll-to-top */
.ui-to-top { background: var(--silver) !important; color: var(--ink) !important; border-radius: 50% !important; box-shadow: var(--shadow); }
.ui-to-top:hover { background: var(--silver-soft) !important; }

/* =========================================================
   LIGHT HEADER (top bar, logo bar, menus)
   Overrides the dark header rules above so the full-color logo reads correctly.
   ========================================================= */
.m-topbar { background: var(--header-bar); color: #3D4757; border-bottom: 1px solid var(--line-light); }
.m-topbar a { color: var(--ink); }
.m-topbar a:hover { color: var(--blue); }
.m-topbar-local .mdi, .m-topbar-right .mdi, .m-topbar-right .fa { color: var(--blue); }
.m-topbar-social a { color: var(--silver-2); }
.m-topbar-social a:hover { color: var(--blue); }

.m-header { background: rgba(247, 248, 250, .96); border-bottom: 1px solid var(--line-light); }
.m-header.is-scrolled { box-shadow: 0 10px 28px -18px rgba(18, 22, 31, .35); }
.m-nav-link { color: var(--ink); }
.m-nav-link .mdi { color: var(--blue); }
.m-nav-link:hover, .m-nav-item.is-open > .m-nav-link, .m-nav-link[aria-current="page"] { color: var(--ink); background: rgba(18, 22, 31, .05); }
.m-nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }

.m-drop, .m-mega { background: var(--header-bg); border-color: var(--line-light); box-shadow: 0 30px 60px -24px rgba(18, 22, 31, .35); }
.m-drop a { color: var(--ink); }
.m-drop a small { color: var(--silver-2); }
.m-drop a:hover { background: rgba(20, 120, 190, .08); color: var(--blue-2); }
.m-mega-col + .m-mega-col { border-left-color: var(--line-light); }
.m-mega-title { color: var(--ink); }
.m-mega-title:hover { color: var(--blue); }
.m-mega-kicker { color: var(--silver-2); }
.m-mega-list a { color: var(--text-soft); }
.m-mega-list a:hover { color: var(--blue-2); }

.m-burger { border-color: var(--line-light); }
.m-burger span::before, .m-burger span::after, .m-burger span { background: var(--ink); }
.nav-open .m-burger span { background: transparent; }

@media (max-width: 1180px) {
  .m-header { background: var(--header-bg); }
  .m-nav { background: var(--header-bg); }
  .m-nav-link { border-bottom-color: var(--line-light); }
  .m-nav-link[aria-current="page"] { box-shadow: none; color: var(--blue); }
  .m-drop, .m-mega { background: transparent; box-shadow: none; }
}
/* silver eyebrows on dark heroes & panels */
.m-hero .m-eyebrow, .m-phero .m-eyebrow, .m-mega-feature .m-eyebrow { color: var(--silver); }

/* BBB Torch Award band + real photos */
.m-photo { margin: 0; }
.m-photo img { display: block; width: 100%; height: auto; border-radius: 24px 24px 24px 90px; box-shadow: var(--shadow); }
.m-photo figcaption { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--silver-2); }
.tone-ink .m-photo figcaption, .tone-slate .m-photo figcaption { color: var(--on-dark-soft); }
.m-award-badge { display: inline-block; background: #fff; border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: 0 14px 34px -22px rgba(18,22,31,.45); }
.m-award-badge img { display: block; width: 260px; max-width: 100%; height: auto; }
.m-award .m-eyebrow { display: flex; }
.m-award-quote { margin: 26px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue); font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.55; color: var(--text); }
.m-logos .m-logo-real { background: #fff; display: grid; place-items: center; }
.m-logos .m-logo-real img { position: static; width: 82%; height: auto; object-fit: contain; }
/* silver contrast fixes */
.m-phero em, .m-hero em { color: var(--silver); }
.m-challenge-q::before, .m-challenge-q::after { color: var(--silver-2); }
.ph--real { background: var(--slate); }
.ph--real::after { display: none; }

/* network sites (Learning Center) */
.m-guide-ext { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--blue); }
.m-guide-ext::after { content: "\2197"; }
.m-guide-ext:hover { color: var(--blue-2); text-decoration: underline; }
.m-sites { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.m-site { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: transparent; border: 1px solid var(--line-light); color: var(--text); }
.m-site:hover { background: #FBF7F1; border-color: var(--blue); color: var(--text); }
.m-site-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-2); }
.m-site h4 { font-size: 20px; color: var(--ink); }
.m-site p { margin: 0; font-size: 14.5px; color: var(--text-soft); }
.m-site p em { color: var(--ink); }
.m-site-url { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 800; color: var(--blue); white-space: nowrap; }
@media (max-width: 1100px) { .m-sites { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .m-sites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .m-sites { grid-template-columns: 1fr; } }

/* awards & accolades */
.m-awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.m-awards-col { padding: 28px; border-radius: var(--radius-lg); background: #FBF7F1; border: 1px solid var(--line-light); }
.m-awards-col h4 { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line-light); }
.m-awards-col h4 .mdi { font-size: 24px; color: var(--blue); }
.m-awards-col ul { list-style: none; }
.m-awards-col li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px dashed var(--line-light); }
.m-awards-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.m-awards-col li > .mdi { color: var(--silver-2); font-size: 20px; line-height: 1.3; }
.m-awards-col strong { display: block; font-size: 16px; color: var(--ink); line-height: 1.35; }
.m-awards-col li span:not(.mdi) { display: block; font-size: 14.5px; color: var(--text-soft); }
.m-awards-col li em { display: inline-block; margin-top: 4px; font-style: normal; font-family: var(--sans); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-2); }
.tone-sand2 .m-awards-col { background: var(--sand); }
@media (max-width: 960px) { .m-awards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .m-awards { grid-template-columns: 1fr; } }
.m-quote-initials { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--silver); color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: .04em; }
.tone-sand .m-placeholder-note, .tone-sand2 .m-placeholder-note { color: var(--silver-2); }
.m-sites--dark .m-site { border-color: var(--line-dark); color: var(--on-dark); }
.m-sites--dark .m-site:hover { background: rgba(255,255,255,.05); border-color: var(--silver); color: var(--on-dark); }
.m-sites--dark .m-site h4 { color: #fff; }
.m-sites--dark .m-site p { color: var(--on-dark-soft); }
.m-sites--dark .m-site-tag { color: var(--silver); }
.m-sites--dark .m-site-url { color: var(--sky); }
.m-guide .m-guide-ext + .m-guide-ext { margin-top: 2px; }
/* articles */
.m-article { margin: 0 auto; font-size: 18px; }
.m-article p, .m-article li { color: var(--text); line-height: 1.75; }
.m-article h2 { font-size: 30px; margin-top: 44px; color: var(--ink); }
.m-article a { text-decoration: underline; text-underline-offset: 3px; }
.m-byline { display: flex; align-items: center; gap: 12px; font-size: 15px !important; color: var(--text-soft) !important; padding-bottom: 22px; border-bottom: 1px solid var(--line-light); margin: 0 0 8px !important; }
.m-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
/* members-only journal */
.m-locked .m-card { position: relative; }
.m-locked .m-card::before { content: "\F0341  Members only"; font-family: "Material Design Icons", var(--sans); position: absolute; top: 14px; left: 14px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(18,22,31,.85); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.m-locked .m-link::after { content: "\F0341"; font-family: "Material Design Icons"; margin-left: 2px; }
.m-eyebrow .mdi { font-size: 15px; margin-right: -4px; }
.m-article-fig { margin: 32px -12% 8px; }
.m-article-fig img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 960px) { .m-article-fig { margin: 28px 0 8px; } }
.m-sites--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 760px) { .m-sites--3 { grid-template-columns: 1fr; } }
.m-footer-badges a:hover { border-color: var(--silver); color: #fff; }
/* discipline cards: text-only */
.m-disc-card, .m-disc-card--it { min-height: 0; padding: 0; }
.m-disc-card--web { flex-direction: column; }
.m-disc-card .m-disc-body, .m-disc-card--web .m-disc-body, .m-disc-card--it .m-disc-body { padding: 34px 32px 34px; align-self: stretch; }
.m-disc-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin: 34px 0 0 32px; border-radius: 16px; background: rgba(255,255,255,.08); color: var(--silver); font-size: 28px; }
.m-disc-card--web .m-disc-icon { background: rgba(18,22,31,.2); color: #fff; }
.m-disc-card .m-disc-body { padding-top: 22px; }
@media (max-width: 1100px) { .m-disc-card, .m-disc-card--it { min-height: 0; } }
/* big quote */
.m-bigquote { margin: 0 auto; padding: 0; border: 0; max-width: 980px; text-align: center; }
.m-bigquote p { font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; color: #fff !important; }
.m-bigquote footer { margin-top: 18px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
a.m-tile { color: inherit; transition: transform .2s, border-color .2s; }
a.m-tile:hover { transform: translateY(-4px); border-color: var(--blue); }
.m-locked .m-guide .m-guide-type { display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: #fff; }
.m-locked .m-guide .m-guide-type::before { content: "\F0341"; font-family: "Material Design Icons"; font-size: 13px; }
.m-article ul { padding-left: 20px; } .m-article li + li { margin-top: 10px; }
/* timeline: room for year ranges */
.m-timeline::before { left: 124px; }
.m-timeline li { grid-template-columns: 124px 1fr; }
.m-timeline li::after { left: 118px; }
.m-timeline-y { white-space: nowrap; font-size: 24px; }
@media (max-width: 520px) { .m-timeline::before { left: 98px; } .m-timeline li { grid-template-columns: 98px 1fr; gap: 26px; } .m-timeline li::after { left: 92px; } .m-timeline-y { font-size: 19px; color: var(--link); } }
.m-sticky-col { position: sticky; top: 140px; } @media (max-width: 960px) { .m-sticky-col { position: static; } }

/* ---------- text-only service blocks ---------- */
.m-svx { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 48px; border-radius: var(--radius-lg); background: #FBF7F1; border: 1px solid var(--line-light); scroll-margin-top: 150px; }
.m-svx + .m-svx { margin-top: 28px; }
.m-svx:nth-child(even) { background: var(--sand-2); }
.m-svx-head { position: relative; }
.m-svx-n { display: block; font-family: var(--display); font-size: 64px; line-height: 1; color: var(--blue); opacity: .9; }
.m-svx-short { display: block; margin-top: 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-2); }
.m-svx-head h3 { margin-top: 8px; color: var(--ink); }
.m-svx-problem { margin: 22px 0; padding: 18px 20px; border-radius: 14px; background: var(--ink); color: var(--on-dark); font-size: 15.5px; line-height: 1.55; }
.m-svx-problem span { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.m-svx-lede { margin: 0; font-size: 18px; line-height: 1.65; color: var(--text); }
.m-svx h5 { margin-top: 26px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-2); }
.m-svx-how p { margin-top: 8px; color: var(--text-soft); }
.m-svx .m-checks { margin-top: 12px; }
.m-svx-outcome { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: rgba(20,120,190,.08); border-left: 3px solid var(--blue); }
.m-svx-outcome .mdi { font-size: 22px; color: var(--blue); line-height: 1.2; }
.m-svx-outcome strong { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.m-svx-outcome p { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
@media (max-width: 960px) { .m-svx { grid-template-columns: 1fr; gap: 8px; padding: 30px 24px; } .m-svx-n { font-size: 48px; } }

/* solutions info panel */
.m-solx { padding: 38px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
.m-solx-n { display: block; font-family: var(--display); font-size: 72px; line-height: 1; color: var(--silver); }
.m-solx h5 { margin-top: 24px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.m-solx p { margin-top: 8px; color: var(--on-dark-soft); }
.m-solx-list { list-style: none; margin-top: 10px; }
.m-solx-list li { padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-weight: 600; color: #fff; }
.m-solx-list li::before { content: "\2715"; margin-right: 10px; color: var(--silver); font-size: 12px; }
.m-solx .m-svx-outcome { background: rgba(255,255,255,.06); border-left-color: var(--sky); }
.m-solx .m-svx-outcome .mdi, .m-solx .m-svx-outcome strong { color: var(--sky); }
.m-solx .m-svx-outcome p { color: #fff; }
/* embedded map */
.m-map { margin: 0; aspect-ratio: 1 / 1; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand-2); border: 1px solid var(--line-light); box-shadow: var(--shadow); }
.m-map iframe { display: block; width: 100%; height: 100%; border: 0; }
/* bill pay */
.m-pay { padding: 40px; border-radius: var(--radius-lg); background: #FBF7F1; border: 1px solid var(--line-light); }
.m-pay-head { display: flex; gap: 16px; align-items: flex-start; }
.m-pay-head .mdi { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--silver); font-size: 26px; flex: none; }
.m-pay-head h3 { color: var(--ink); }
.m-pay-head p { margin-top: 4px; }
.m-pay-steps { margin: 26px 0 0 20px; color: var(--text-soft); }
.m-pay-steps li + li { margin-top: 8px; }
.m-pay-box { margin-top: 28px; padding: 26px; border-radius: 14px; background: #fff; border: 1px solid var(--line-light); min-height: 140px; }
@media (max-width: 640px) { .m-pay { padding: 24px; } .m-pay-box { padding: 16px; } }
.m-pay-steps { list-style: decimal; padding-left: 4px; } .m-pay-steps li::marker { color: var(--blue); font-weight: 800; }

/* cookie banner */
.m-cookie { position: fixed; left: 24px; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 2000; max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; padding: 20px 24px; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--on-dark); border: 1px solid var(--line-dark); box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); animation: m-cookie-in .35s ease; }
.m-cookie[hidden] { display: none; }
.m-cookie-text { display: flex; gap: 14px; align-items: flex-start; flex: 1; min-width: 0; }
.m-cookie-text .mdi { font-size: 26px; color: var(--silver); line-height: 1; }
.m-cookie p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--on-dark-soft); }
.m-cookie p a { color: var(--sky); text-decoration: underline; }
.m-cookie-btns { display: flex; gap: 10px; flex: none; }
.m-cookie .m-btn { padding: 12px 18px; font-size: 14px; }
@keyframes m-cookie-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 720px) { .m-cookie { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 18px; gap: 14px; } .m-cookie-btns .m-btn { flex: 1; justify-content: center; } }
body.has-cookie .ui-to-top { bottom: 120px !important; }
@media (max-width: 560px) { .m-topbar-pay { display: none; } }

/* ---------- Forms: spam trap + status messages ---------- */
.m-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.snackbars p { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.snackbars .mdi { font-size: 20px; line-height: 1.2; flex: none; }
.snackbars .mdi-check-circle-outline { color: #7FD1A4; }
.snackbars .mdi-alert-circle-outline { color: #F2B36B; }
.m-map--wide { aspect-ratio: 4 / 3; }
.stack > .m-map + *, .stack > * + .m-map { margin-top: 18px; }
.m-pic { margin: 0; }
@media (max-width: 700px) { .m-grid .m-pic .ph--port { aspect-ratio: 1 / 1; } }
.m-quote-src { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); text-decoration: none; }
.m-quote-src:hover { color: #fff; }
.m-quote-src .mdi { font-size: 16px; }
.m-quote-stars { color: #F4C150; letter-spacing: 2px; font-size: 13px; }
.m-quotes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.m-quotes > .m-quote { grid-column: span 2; }
.m-quotes > .m-quote:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 960px) { .m-quotes { grid-template-columns: 1fr; } .m-quotes > .m-quote, .m-quotes > .m-quote:nth-child(-n+2) { grid-column: auto; } }
/* Hero headlines: always three deliberate lines */
h1 .l, h2 .l, h4 .l { display: block; }
/* Fuller three-line headlines: scale with screen width on phones so each line stays one line */
@media (max-width: 600px) { .m-phero h1, .m-hero h1, .m-404 h1 { font-size: clamp(26px, 7.6vw, 44px); } }

@media (min-width: 601px) and (max-width: 960px) { .m-phero h1, .m-hero h1 { font-size: 7vw; } }
/* Pages without a header photo: center the header so it doesn't sit hard left */
.m-phero-solo { max-width: 900px; margin: 0 auto; text-align: center; }
.m-phero-solo .m-crumbs, .m-phero-solo .m-phero-stat, .m-phero-solo .m-btns { justify-content: center; }
.m-phero-solo .m-lede { margin-left: auto; margin-right: auto; }

/* ---------- Accessibility: WCAG AA contrast & target sizes ---------- */
:root { --silver-2: #4F5B69; --link: #0E62A0; --link-dark: #5CB2F5; }
.m-link, .m-guide-ext, .m-site-url, .m-challenge-a strong { color: var(--link); }
[class*="tone-ink"] .m-link, [class*="tone-slate"] .m-link, .m-disc-card--it .m-link, .m-office .m-link,
.m-phero .m-lede a, .m-hero .m-lede a, [class*="tone-ink"] .m-lede a, [class*="tone-slate"] .m-lede a, .m-cookie p a { color: var(--link-dark); }
.tone-blue .m-eyebrow, .tone-blue p, .tone-blue .m-lede { color: #fff; }
.tone-blue a:not(.m-btn) { color: #fff; text-decoration: underline; }
.m-topbar-social a { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; }
:focus-visible { outline: 3px solid var(--link-dark); outline-offset: 2px; }
.m-tile h3.h4 { margin-top: 20px; color: var(--ink); font-size: 22px; }
.tone-slate .m-tile h3.h4, .tone-ink .m-tile h3.h4 { color: #fff; }
.tone-ink .m-prose p, .tone-slate .m-prose p { color: var(--on-dark-soft); }
/* Office cards: keep "Panama City Beach" and the city line on one line */
.m-office { padding: 26px 24px; }
.m-office h4, .m-office address { white-space: normal; }
@media (min-width: 961px) and (max-width: 1240px) { .m-grid--2:has(> .m-office) { grid-template-columns: 1fr; } }
/* Even out section headings so a single word never hangs on its own line */
h2, h3 { text-wrap: balance; }
/* Credential descriptions: keep to two lines on narrow cards */
@media (max-width: 380px) { #credentials .m-cred p { font-size: 13.5px; } }
@media (min-width: 961px) and (max-width: 1199px) { #credentials .m-grid--3 { gap: 18px; } #credentials .m-cred { padding-left: 22px; padding-right: 22px; } #credentials .m-cred p { font-size: 13.5px; } }
@media (min-width: 700px) and (max-width: 960px) { #credentials .m-cred p { font-size: 14px; } }
.nw { white-space: nowrap; }
.m-map--full { aspect-ratio: 21 / 8; width: 100%; }
@media (max-width: 760px) { .m-map--full { aspect-ratio: 4 / 3; } }
.m-prose ul li + li { margin-top: 6px; } .m-prose .m-toc { columns: 2; column-gap: 32px; padding-left: 20px; } @media (max-width:640px){ .m-prose .m-toc { columns: 1; } } .m-prose h2 { scroll-margin-top: 130px; }
.m-prose code { color: var(--ink); background: rgba(18,22,31,.07); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.m-prose ul:not(.m-toc) { list-style: disc; } .m-prose ul:not(.m-toc) li::marker { color: var(--silver-2); } .m-prose .m-toc { list-style: none; padding-left: 0; }
/* Alignable social icon: inline SVG that inherits link color like the other icons */
svg.m-ico-alignable { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; }
.m-footer-social svg.m-ico-alignable { width: 17px; height: 17px; }
.m-topbar-social svg.m-ico-alignable { width: 14px; height: 14px; }
.m-topbar-right svg.m-ico-alignable { color: var(--blue); }
/* Pay Invoice button: shown in the mobile menu only (desktop uses the top bar link) */
.m-nav-pay { display: none; }
@media (max-width: 1180px) {
  .m-nav-pay { display: flex; justify-content: center; margin: 12px 0 0; padding: 16px; color: var(--ink); border-color: var(--ink); }
  .m-nav-pay .mdi { color: var(--ink); }
}
/* Official Google Partner badge (Google's own artwork, shown unaltered) */
.m-gpbadge { display: inline-block; line-height: 0; flex: none; border-radius: 12px; transition: transform .2s; }
.m-gpbadge:hover { transform: translateY(-2px); }
.m-gpbadge img { display: block; height: auto; }
.m-gpbadge--footer { margin-top: 22px; }
.m-gp-row { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.m-gp-row .m-eyebrow { margin: 0; }
.m-gp-side { display: flex; align-items: center; gap: 24px; }
@media (max-width: 640px) { .m-gp-row, .m-gp-side { flex-direction: column; align-items: flex-start; gap: 14px; } }
.m-gpbadge--footer img { width: 112px; } .m-gp-row .m-gpbadge img { width: 120px; } .m-gp-side .m-gpbadge img { width: 132px; }
p, li { text-wrap: pretty; }
/* Cookie banner: a touch lighter than the page so it stands apart on dark sections */
.m-cookie { background: #263244; border-color: rgba(255,255,255,.16); box-shadow: 0 24px 60px -18px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04); }
.m-cookie p { color: #C9D1DC; }
h1 > em, h2 > em, h3 > em, h4 > em, h5 > em, h6 > em, h1 .l > em, h2 .l > em { margin-right: 0; }
