/* ==========================================================================
   Blackridge Exteriors — Toledo, OH
   Design tokens first, then components.
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-surface: #f4f2ee;
  --color-text: #14181c;
  --color-muted: #55606d;
  --color-primary: #142d57;
  --color-on-primary: #ffffff;
  --color-accent: #b4531b;
  --color-border: #e3dfd7;

  --brand-deep: #0d1f3d;
  --brand-ink: #0a1524;
  --brand-sky: #7babfb;
  --brand-copper: #e0813f;
  --on-dark-text: #ccd6e6;
  --on-dark-line: rgba(255, 255, 255, 0.14);

  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.94rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4: clamp(2.5rem, 1.9rem + 3.2vw, 4.2rem);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgb(20 24 31 / 0.06), 0 8px 24px rgb(20 24 31 / 0.08);
  --shadow-lift: 0 2px 6px rgb(20 24 31 / 0.08), 0 18px 40px rgb(20 24 31 / 0.14);
  --container: 1180px;
}

/* ------------------------------- reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h3 { letter-spacing: -0.014em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }

.icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--xs { width: 16px; height: 16px; stroke-width: 2; }
.icon--lg { width: 28px; height: 28px; stroke-width: 1.6; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--color-primary); color: #fff; padding: 0.85rem 1.25rem;
  border-radius: 0 0 var(--radius) 0; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .footer :focus-visible { outline-color: var(--brand-sky); }

/* ----------------------------- primitives -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}
.section { padding-block: var(--space-xl); }
@media (max-width: 720px) { .section { padding-block: var(--space-lg); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 0.9rem;
}
.eyebrow--sky { color: var(--brand-sky); }
.eyebrow--copper { color: var(--brand-copper); }

.section__head { max-width: 46rem; margin-bottom: var(--space-lg); }
.section__head h2 { font-size: var(--step-3); }
.lede { color: var(--color-muted); font-size: var(--step-1); line-height: 1.5; max-width: 42ch; margin-top: 1rem; }
.lede--tight { font-size: var(--step-0); line-height: 1.6; max-width: 46ch; }
.on-dark .lede { color: var(--on-dark-text); }

.section__head--split { max-width: none; display: grid; gap: var(--space-sm); }
@media (min-width: 900px) {
  .section__head--split { grid-template-columns: 1fr auto; align-items: end; gap: var(--space-lg); }
  .section__head--split .lede { margin-top: 0; text-align: right; max-width: 34ch; }
}

/* -------------------------------- buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.5rem; min-height: 48px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 650; font-size: var(--step-0);
  line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 32%, transparent); }
.btn--outline:hover { background: color-mix(in srgb, var(--color-primary) 6%, transparent); }
.btn--quiet { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--sm { padding: 0.6rem 1.05rem; min-height: 44px; font-size: var(--step--1); }
.btn--lg { padding: 1.05rem 1.9rem; min-height: 56px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.on-dark .btn--primary { background: var(--color-accent); color: #fff; }
.on-dark .btn--primary:hover { background: #c25c1f; }
.on-dark .btn--quiet {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.on-dark .btn--quiet:hover { background: rgba(255, 255, 255, 0.13); }

/* --------------------------------- brand --------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; }
.brand__mark { width: 42px; height: 26px; flex: none; }
.mark-peak { fill: #4d7bbd; }
.mark-roof { fill: var(--color-primary); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.06rem;
  letter-spacing: -0.01em; text-transform: uppercase;
}
.brand__sub {
  font-size: 0.6rem; font-weight: 650; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--color-muted); margin-top: 3px;
}

/* -------------------------------- header --------------------------------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: 0 1px 20px rgb(13 31 61 / 0.1); }
.header__inner { display: flex; align-items: center; gap: var(--space-sm); min-height: 76px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav > a {
  text-decoration: none; font-size: 0.95rem; font-weight: 600; color: var(--color-text);
  padding: 0.35rem 0; position: relative;
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--color-accent); transition: right .22s cubic-bezier(.16,1,.3,1);
}
.nav > a:hover::after { right: 0; }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 0.85rem; margin-left: 1.6rem; }
.header__phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  text-decoration: none; font-family: var(--font-display); font-weight: 700;
  font-size: 0.98rem; color: var(--color-primary);
  padding: 0.5rem 0.25rem; min-height: 44px;
}
.header__phone .icon { color: var(--color-accent); width: 19px; height: 19px; }
.header__phone:hover .header__phone-text { text-decoration: underline; text-underline-offset: 3px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1.5px solid var(--color-border);
  border-radius: var(--radius); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; color: var(--color-primary);
}
.nav-toggle__bars { display: block; width: 20px; }
.nav-toggle__bars span {
  display: block; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav { gap: 1.1rem; }
  .header__actions { margin-left: 1.1rem; }
}
@media (max-width: 960px) {
  .header__inner { min-height: 68px; gap: 0.6rem; }
  .header__cta { display: none; }
  .nav-toggle { display: inline-flex; order: 3; margin-left: 0; }
  .header__actions { margin-left: auto; order: 2; gap: 0.5rem; }
  .header__phone {
    background: color-mix(in srgb, var(--color-primary) 7%, transparent);
    border-radius: 999px; padding: 0.55rem 0.9rem; font-size: 0.94rem;
  }
  .nav {
    order: 4; margin-left: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 40px rgb(13 31 61 / 0.12);
    padding: 0.5rem clamp(1rem, 5vw, 2rem) 1.25rem;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .28s cubic-bezier(.16,1,.3,1), visibility .28s;
  }
  .nav.is-open { max-height: 560px; visibility: visible; }
  .nav > a { padding: 0.95rem 0; border-bottom: 1px solid var(--color-border); font-size: 1.05rem; }
  .nav > a::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 1rem; border-bottom: 0; }
}
@media (max-width: 420px) {
  .brand__mark { width: 34px; height: 21px; }
  .brand__name { font-size: 0.92rem; }
  .brand__sub { font-size: 0.52rem; letter-spacing: 0.28em; }
  .header__phone { font-size: 0.86rem; padding: 0.5rem 0.7rem; gap: 0.3rem; }
}

/* -------------------------------- on-dark -------------------------------- */
.on-dark { background: var(--brand-deep); color: var(--on-dark-text); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark strong { color: #fff; }

/* --------------------------------- hero ---------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(120% 90% at 88% 8%, #1c3e73 0%, transparent 58%),
    radial-gradient(90% 70% at 0% 100%, #14294c 0%, transparent 60%),
    var(--brand-deep);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 100% 9px;
  opacity: .55; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.04fr 0.96fr; } }

.hero h1 { font-size: var(--step-4); max-width: 15ch; }
.hero__lede {
  margin-top: 1.4rem; font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.6; color: var(--on-dark-text); max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: var(--space-md); }
.hero__pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.35rem;
  margin-top: var(--space-md); padding-top: var(--space-md);
  border-top: 1px solid var(--on-dark-line);
}
.hero__pills li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--1); font-weight: 650; letter-spacing: 0.03em;
  text-transform: uppercase; color: #dbe4f2;
}
.hero__pills li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-copper); flex: none;
}

.hero__media { position: relative; }
.hero__frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 3 / 2;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

.hero__flag {
  display: flex; align-items: center; gap: 0.85rem;
  margin-top: -2.1rem; margin-left: clamp(0rem, 2vw, 1.5rem); margin-right: clamp(0rem, 6vw, 4rem);
  position: relative; z-index: 2;
  background: #fff; color: var(--color-text);
  border-radius: var(--radius); padding: 0.95rem 1.1rem;
  border-left: 5px solid var(--color-accent);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.32);
  text-decoration: none;
  transition: transform .18s ease;
}
.hero__flag:hover { transform: translateY(-3px); }
.hero__flag-icon { color: var(--color-accent); }
.hero__flag-icon .icon { width: 26px; height: 26px; }
.hero__flag-text { display: flex; flex-direction: column; line-height: 1.35; }
.hero__flag-text strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--color-text); }
.hero__flag-text span { font-size: 0.85rem; color: var(--color-muted); }
.hero__flag-arrow { margin-left: auto; color: var(--color-accent); }
@media (max-width: 560px) { .hero__flag-arrow { display: none; } }

/* ---------------------------- credibility band ---------------------------- */
.band { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding-block: var(--space-lg); }
.band__list { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.band__item { padding-top: 1.1rem; border-top: 3px solid var(--color-primary); }
.band__item:nth-child(2) { border-top-color: var(--color-accent); }
.band__item .icon { color: var(--color-primary); margin-bottom: 0.8rem; }
.band__item:nth-child(2) .icon { color: var(--color-accent); }
.band__title { font-size: 1.06rem; margin-bottom: 0.35rem; }
.band__item p { font-size: 0.93rem; color: var(--color-muted); line-height: 1.55; }

/* ------------------------------ storm band -------------------------------- */
.storm {
  background:
    radial-gradient(80% 120% at 78% 0%, #16304f 0%, transparent 62%),
    var(--brand-ink);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.storm__inner { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 940px) { .storm__inner { grid-template-columns: 1.08fr 0.92fr; } }
.storm__title { font-size: var(--step-3); max-width: 12ch; }
.storm__lede { margin-top: 1.2rem; color: var(--on-dark-text); max-width: 48ch; font-size: clamp(1rem, 0.96rem + 0.25vw, 1.12rem); }
.storm__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--space-md); }

.storm__list { display: grid; gap: 0.75rem; }
.storm__row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--brand-copper);
  border-radius: var(--radius);
}
.storm__row .icon { color: var(--brand-copper); margin-top: 2px; }
.storm__row h3 { font-size: 1.08rem; }
.storm__row p { font-size: 0.92rem; color: var(--on-dark-text); margin-top: 0.25rem; line-height: 1.5; }

/* ------------------------------- services --------------------------------- */
.svc-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
  .svc { grid-column: span 2; }
  .svc--wide { grid-column: span 3; }
  .svc--strip { grid-column: span 6; }
}

.svc {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--color-primary) 22%, var(--color-border)); }
.svc__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  color: var(--color-primary);
}
.svc h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.svc p { color: var(--color-muted); font-size: 0.95rem; line-height: 1.6; }
.svc--wide { background: var(--color-surface); border-color: transparent; }
.svc--wide h3 { font-size: var(--step-2); letter-spacing: -0.025em; }
.svc--wide p { max-width: 40ch; font-size: 1rem; }
.svc--wide .svc__icon { background: #fff; color: var(--color-accent); box-shadow: var(--shadow); }
.svc__link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--color-primary); text-decoration: none; min-height: 44px;
}
.svc__link:hover { color: var(--color-accent); }
.svc__link .icon { transition: transform .18s ease; }
.svc__link:hover .icon { transform: translateX(4px); }

.svc--strip {
  display: grid; gap: 1rem 1.5rem; align-items: center;
  background: var(--color-primary); border-color: transparent; color: #fff;
}
.svc--strip h3, .svc--strip p { color: #fff; }
.svc--strip p { color: #ccd8ec; max-width: 62ch; }
.svc--strip .svc__icon { background: rgba(255, 255, 255, 0.1); color: #fff; margin-bottom: 0; }
.svc--strip:hover { transform: none; box-shadow: none; }
.svc--strip .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.svc--strip .btn--outline:hover { background: rgba(255, 255, 255, 0.12); }
@media (min-width: 760px) {
  .svc--strip { grid-template-columns: auto 1fr auto; }
}

/* ---------------------------------- pools ---------------------------------
   New service launch. No photography exists (none have been built yet), so the
   media column is an inline-SVG concept plan rather than a stock image.
   -------------------------------------------------------------------------- */
.pool {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-xl);
}
@media (max-width: 720px) { .pool { padding-block: var(--space-lg); } }

.pool__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 940px) { .pool__inner { grid-template-columns: 1.05fr 0.95fr; } }

.pool__flag {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--color-accent);
}
.pool__flag-new {
  background: var(--color-accent); color: #fff;
  border-radius: 999px; padding: 0.32rem 0.66rem;
  font-size: 0.68rem; letter-spacing: 0.12em;
}

.pool__copy h2 { font-size: var(--step-3); max-width: 16ch; }

.pool__note {
  margin-top: var(--space-md); padding: 1.05rem 1.25rem;
  background: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem; line-height: 1.6; color: var(--color-muted); max-width: 54ch;
}
.pool__note strong { color: var(--color-text); font-weight: 700; }

.pool__list { margin-top: var(--space-md); display: grid; gap: 1.15rem; }
.pool__list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.pool__list .icon { color: var(--color-accent); margin-top: 2px; }
.pool__list h3 { font-size: 1.04rem; margin-bottom: 0.28rem; }
.pool__list p { font-size: 0.93rem; color: var(--color-muted); line-height: 1.55; max-width: 46ch; }

.pool__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--space-md); }

.pool__plan-frame { margin: 0; }
.pool__plan {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(13 31 61 / 0.18);
  box-shadow: var(--shadow-lift);
  background: var(--brand-deep);
}
.pool__plan-frame figcaption {
  margin-top: 0.85rem; font-size: 0.83rem; line-height: 1.5;
  color: var(--color-muted); max-width: 48ch;
}

.tag-new {
  display: inline-block; margin-left: 0.35rem;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-copper);
}

/* -------------------------------- our work -------------------------------- */
.work { padding-block: clamp(3.5rem, 7vw, 6rem); }
.work-grid { display: grid; gap: 0.85rem; }
.work-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg);
  background: #101f36;
  aspect-ratio: 4 / 3;
}
.work-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.work-item:hover img { transform: scale(1.035); }
.work-item figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: 3.5rem 1.25rem 1.15rem;
  font-size: 0.92rem; line-height: 1.45; color: #eef2f9;
  background: linear-gradient(to top, rgba(6, 14, 26, 0.92) 22%, rgba(6, 14, 26, 0.6) 55%, transparent 100%);
}
.work-tag {
  display: block; width: fit-content; margin-bottom: 0.5rem;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #0a1524; background: var(--brand-copper);
  padding: 0.22rem 0.55rem; border-radius: 4px;
}
.work-item--b { aspect-ratio: 3 / 4; }
@media (min-width: 860px) {
  .work-grid { grid-template-columns: 7fr 5fr; }
  .work-item--a { aspect-ratio: 4 / 3; }
  .work-item--b { aspect-ratio: auto; height: 100%; }
  .work-item--c { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .work-item--c img { object-position: center 26%; }
}
.work__note {
  margin-top: var(--space-md); color: var(--on-dark-text);
  font-size: 0.98rem; max-width: 52ch;
}

/* --------------------------------- about ---------------------------------- */
.about { background: var(--color-surface); }
.about__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .about__inner { grid-template-columns: 0.85fr 1.15fr; } }
.about__media {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift);
  background: var(--color-primary);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 22%; }
.about__copy h2 { font-size: var(--step-2); max-width: 20ch; }

.checklist { margin: var(--space-md) 0; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.97rem; line-height: 1.55; color: var(--color-muted); }
.checklist .icon { color: var(--color-accent); margin-top: 3px; width: 20px; height: 20px; stroke-width: 2.4; }
.checklist strong { color: var(--color-text); font-weight: 700; }

/* -------------------------------- process --------------------------------- */
.steps { display: grid; gap: var(--space-md); counter-reset: step; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-md) var(--space-lg); } }
@media (min-width: 1060px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-md); } }
.step { padding-top: 1.15rem; border-top: 2px solid var(--color-border); position: relative; }
.step::after {
  content: ""; position: absolute; top: -2px; left: 0; width: 38%; height: 2px;
  background: var(--color-accent);
}
.step__num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 2.4rem; line-height: 1; letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--color-primary) 24%, transparent);
  margin-bottom: 0.65rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { color: var(--color-muted); font-size: 0.94rem; line-height: 1.58; }

/* ------------------------------- reviews ---------------------------------- */
.proof { background: var(--color-surface); }
.section__head--center { text-align: center; }
.section__head--center .lede { margin-inline: auto; }

.reviews {
  list-style: none; margin: var(--space-lg) 0 0; padding: 0;
  display: grid; align-items: start; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.review {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  box-shadow: var(--shadow);
}
.review__head { display: flex; align-items: center; gap: 0.8rem; }
.review__avatar {
  flex: none; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em;
}
.review__who { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.review__name {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.012em; color: var(--color-text);
}
.review__meta {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--color-muted);
}
.review__body {
  margin: 1.1rem 0 0; padding: 1.1rem 0 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted); font-size: 0.97rem; line-height: 1.65;
}
.review__body p + p { margin-top: 0.85rem; }

.reviews__foot {
  margin: var(--space-md) auto 0; max-width: 54ch;
  text-align: center; font-size: 0.88rem; color: var(--color-muted);
}

/* ---------------------------------- faq ----------------------------------- */
.faq__inner { display: grid; gap: var(--space-lg); }
@media (min-width: 900px) { .faq__inner { grid-template-columns: 0.75fr 1.25fr; gap: var(--space-xl); align-items: start; } }
.faq__aside h2 { font-size: var(--step-2); }
.faq__aside .btn { margin-top: var(--space-md); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item:first-child { border-top: 1px solid var(--color-border); }
.faq__item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  gap: 1.25rem; align-items: center;
  padding: 1.15rem 0; min-height: 56px;
  font-family: var(--font-display); font-weight: 650; font-size: 1.06rem;
  letter-spacing: -0.012em; color: var(--color-text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) center / 100% 2px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) center / 2px 100% no-repeat;
  transition: background-size .22s cubic-bezier(.16,1,.3,1);
}
.faq__item[open] summary::after { background-size: 100% 2px, 2px 0; }
.faq__item summary:hover { color: var(--color-primary); }
.faq__answer { padding: 0 0 1.25rem; }
.faq__answer p { color: var(--color-muted); max-width: 62ch; font-size: 0.97rem; }

/* -------------------------------- contact --------------------------------- */
.contact {
  background:
    radial-gradient(90% 110% at 10% 0%, #17325c 0%, transparent 58%),
    var(--brand-deep);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.contact__inner { display: grid; gap: clamp(2.25rem, 4vw, 4rem); align-items: start; }
@media (min-width: 940px) { .contact__inner { grid-template-columns: 0.95fr 1.05fr; } }
.contact h2 { font-size: var(--step-3); max-width: 14ch; }
.contact__lede { margin-top: 1.1rem; color: var(--on-dark-text); max-width: 44ch; }

.contact__phone {
  display: inline-flex; align-items: center; gap: 0.9rem;
  margin-top: var(--space-md); padding: 1rem 1.3rem;
  border: 1px solid var(--on-dark-line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); text-decoration: none;
  transition: background-color .18s ease;
}
.contact__phone:hover { background: rgba(255, 255, 255, 0.11); }
.contact__phone .icon { color: var(--brand-copper); }
.contact__phone span { display: flex; flex-direction: column; line-height: 1.25; }
.contact__phone-label { font-size: 0.8rem; color: var(--on-dark-text); }
.contact__phone strong { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; }

.contact__meta { margin-top: var(--space-md); display: grid; gap: 0.7rem; }
.contact__meta li {
  font-size: 0.9rem; color: var(--on-dark-text); line-height: 1.5;
  padding-top: 0.7rem; border-top: 1px solid var(--on-dark-line);
}
.contact__meta strong {
  display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-sky); margin-bottom: 0.2rem; font-weight: 700;
}

/* ---------------------------------- form ---------------------------------- */
.form {
  background: var(--color-bg); color: var(--color-text);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.1rem);
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.35);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 650; font-size: 0.92rem; color: var(--color-text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border); border-radius: var(--radius);
  padding: 0.8rem 0.95rem; min-height: 50px;
  transition: border-color .16s ease, background-color .16s ease;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--color-primary); outline-offset: 1px;
}
.form .btn--primary { background: var(--color-accent); color: #fff; }
.form .btn--primary:hover { background: #c25c1f; }
.form__note { font-size: 0.85rem; color: var(--color-muted); text-align: center; }

/* Honeypot — hidden from people, still reachable by bots. */
.hp {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.form__status {
  margin: 0; padding: 0.8rem 1rem; border-radius: var(--radius);
  font-size: 0.92rem; line-height: 1.5; border: 1.5px solid transparent;
}
.form__status.is-pending {
  color: var(--color-muted); background: var(--color-surface);
  border-color: var(--color-border);
}
.form__status.is-success {
  color: #14532d; background: #eaf6ee; border-color: #b7dfc4;
}
.form__status.is-error {
  color: #7a2411; background: #fdf0ea; border-color: #f0c4b0;
}
.form .btn--primary:disabled { opacity: 0.72; cursor: progress; }
/* :user-invalid only matches after interaction or a submit attempt, so a
   fresh, untouched form never renders as an error. */
.field input:user-invalid, .field textarea:user-invalid { border-color: #d08b6f; }

/* --------------------------------- footer --------------------------------- */
.footer { background: var(--brand-ink); color: var(--on-dark-text); padding-block: var(--space-xl) var(--space-md); }
.footer__top { display: grid; gap: var(--space-lg); }
@media (min-width: 760px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__top { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: var(--space-md); } }

.brand--footer { color: #fff; }
.brand--footer .mark-roof { fill: #fff; }
.brand--footer .mark-peak { fill: var(--brand-sky); }
.brand--footer .brand__sub { color: var(--brand-sky); }
.footer__blurb { margin: 1.1rem 0 var(--space-md); font-size: 0.93rem; max-width: 38ch; line-height: 1.6; }
.footer .btn--primary { background: var(--color-accent); color: #fff; }
.footer .btn--primary:hover { background: #c25c1f; }

.footer__heading {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}
.footer__heading--gap { margin-top: var(--space-md); }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { font-size: 0.93rem; text-decoration: none; color: var(--on-dark-text); }
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__area { font-size: 0.93rem; line-height: 1.6; }
.footer__contact { margin-top: 0.2rem; }
.footer__contact a {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: #fff; text-decoration: none; letter-spacing: -0.02em;
}
.footer__contact a:hover { color: var(--brand-copper); }
.footer__small { margin-top: 0.4rem; font-size: 0.84rem; color: #93a2b8; }

.footer__base {
  margin-top: var(--space-lg); padding-top: var(--space-md);
  border-top: 1px solid var(--on-dark-line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.84rem; color: #93a2b8;
}

/* ------------------------------ mobile callbar ---------------------------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 1px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 95;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 -6px 24px rgb(10 21 36 / 0.28);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    min-height: 58px; padding: 0.9rem 0.5rem;
    font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
    text-decoration: none;
  }
  .callbar__call { background: var(--color-accent); color: #fff; }
  .callbar__quote { background: var(--color-primary); color: #fff; }
  body { padding-bottom: 58px; }
}

/* --------------------------------- motion --------------------------------- */
/* Reveals are opt-in via the .js class so content stays visible without JS. */
.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Multi-page additions
   ========================================================================== */

.nav > a.is-current { color: var(--color-primary); }
.nav > a.is-current::after { right: 0; }
.band__title { font-family: var(--font-display); font-weight: 700; color: var(--color-text); }
.section__more { margin-top: var(--space-md); }
.work__note a { color: #fff; display: inline-flex; align-items: center; gap: 0.4rem; text-underline-offset: 3px; }
.contact__meta a { color: #fff; }
.process--surface { background: var(--color-surface); }

/* ------------------------------ breadcrumbs ------------------------------ */
.crumbs { margin-bottom: var(--space-md); font-size: 0.86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark-text); }
.crumbs li + li::before { content: "/"; opacity: 0.45; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------- page hero ------------------------------- */
.phero {
  position: relative; overflow: hidden;
  padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(2.75rem, 6vw, 4.5rem);
  background: radial-gradient(120% 90% at 88% 8%, #1c3e73 0%, transparent 58%), var(--brand-deep);
}
.phero__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 980px) { .phero__inner--split { grid-template-columns: 1.05fr 0.95fr; } }
.phero h1 { font-size: clamp(2.1rem, 1.55rem + 2.4vw, 3.5rem); max-width: 22ch; }
.phero__lede { margin-top: 1.2rem; font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.2rem); line-height: 1.6; color: var(--on-dark-text); max-width: 58ch; }
.phero__lede a { color: #fff; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: var(--space-md); }
.phero__frame {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2;
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 70px rgb(0 0 0 / 0.42);
}
.phero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------- article layout ---------------------------- */
.article__inner { display: grid; gap: var(--space-lg); }
@media (min-width: 1000px) {
  .article__inner { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-xl); align-items: start; }
}
.article__body { max-width: 72ch; min-width: 0; }
.prose-section + .prose-section, .prose-section + .prose-figure + .prose-section, .pullquote + .prose-section { margin-top: var(--space-lg); }
.prose-section h2 { font-size: var(--step-2); margin-bottom: 1rem; scroll-margin-top: 96px; }
.prose-section p { color: #333b45; line-height: 1.72; }
.prose-section p + p { margin-top: 1rem; }
.prose-section a:not(.btn) { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose-section a:not(.btn):hover { color: var(--color-accent); }
.prose-section .checklist, .prose-section .bullets, .prose-section .numbered, .prose-section .cards, .prose-section .area-links { margin-top: 1.25rem; }
.prose-section .checklist { margin-bottom: 0; }

.bullets { display: grid; gap: 0.55rem; }
.bullets li { position: relative; padding-left: 1.25rem; color: #333b45; line-height: 1.6; }
.bullets li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.66em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent);
}
.numbered { counter-reset: n; display: grid; gap: 0.85rem; }
.numbered li { counter-increment: n; position: relative; padding-left: 2.7rem; color: #333b45; line-height: 1.6; min-height: 1.9rem; }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: -0.1rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-primary) 9%, transparent); color: var(--color-primary);
  font-family: var(--font-display); font-weight: 800; font-size: 0.88rem;
}
.cards { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card h3 a { color: var(--color-primary); }
.card p { font-size: 0.95rem; line-height: 1.6; }

.toc { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.1rem 1.35rem; margin-bottom: var(--space-lg); }
.toc__title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.6rem; }
.toc ol { display: grid; gap: 0.4rem; counter-reset: t; }
.toc li { counter-increment: t; font-size: 0.95rem; line-height: 1.45; }
.toc li::before { content: counter(t) "."; color: var(--color-accent); font-weight: 700; margin-right: 0.45rem; }
.toc a { color: var(--color-text); text-decoration: none; }
.toc a:hover { color: var(--color-primary); text-decoration: underline; }

.prose-figure { margin: var(--space-lg) 0 0; }
.prose-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 45%; border-radius: var(--radius-lg); }
.prose-figure figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--color-muted); }

.pullquote { margin: var(--space-lg) 0 0; padding: 1.5rem 1.6rem; background: var(--color-surface); border-left: 4px solid var(--color-accent); border-radius: 0 var(--radius) var(--radius) 0; }
.pullquote blockquote { margin: 0; }
.pullquote p { font-size: 1.02rem; line-height: 1.65; color: var(--color-text); }
.pullquote p + p { margin-top: 0.75rem; }
.pullquote figcaption { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; }
.pullquote figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.pullquote figcaption strong { font-family: var(--font-display); }
.pullquote figcaption span span { font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; }

.disclaimer {
  display: flex; gap: 0.65rem; margin-top: var(--space-lg); padding: 1rem 1.15rem;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--color-muted); line-height: 1.55;
}
.disclaimer .icon { color: var(--color-accent); margin-top: 2px; }

.sources { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-border); }
.sources h2 { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.8rem; }
.sources li { font-size: 0.86rem; color: var(--color-muted); line-height: 1.5; }
.sources li + li { margin-top: 0.5rem; }
.sources a { color: var(--color-primary); overflow-wrap: anywhere; }

.article__aside { display: grid; gap: 1rem; }
@media (min-width: 1000px) { .article__aside { position: sticky; top: 100px; } }
.aside-card { background: var(--brand-deep); color: var(--on-dark-text); border-radius: var(--radius-lg); padding: 1.4rem; }
.aside-card__eyebrow { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-copper); }
.aside-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin: 0.3rem 0 0.5rem; }
.aside-card p { font-size: 0.92rem; line-height: 1.55; }
.aside-card .btn { margin-top: 1rem; background: var(--color-accent); color: #fff; }
.aside-card .btn:hover { background: #c25c1f; }
.aside-card__phone {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin-top: 0.6rem;
  min-height: 44px; color: #fff; font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.aside-card__phone .icon { color: var(--brand-copper); }
.aside-links { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1rem 1.25rem; }
.aside-links__title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.4rem; }
.aside-links li + li { border-top: 1px solid var(--color-border); }
.aside-links a { display: block; padding: 0.62rem 0; font-size: 0.93rem; line-height: 1.35; text-decoration: none; color: var(--color-text); }
.aside-links a:hover { color: var(--color-primary); }
.aside-links [aria-current] { color: var(--color-accent); font-weight: 650; }

/* ------------------------------ placeholders ----------------------------- */
.placeholder {
  border: 2px dashed color-mix(in srgb, var(--color-accent) 55%, var(--color-border));
  border-radius: var(--radius-lg); padding: 1.35rem 1.5rem;
  background: repeating-linear-gradient(-45deg, #fff 0 12px, var(--color-surface) 12px 24px);
}
.placeholder__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent); background: #fff; border-radius: 999px; padding: 0.35rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
}
.placeholder__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--color-text); margin: 0.8rem 0 0.4rem; }
.placeholder p:not(.placeholder__badge):not(.placeholder__title), .placeholder li { font-size: 0.93rem; color: var(--color-muted); line-height: 1.6; }
.placeholder ul { margin-top: 0.6rem; display: grid; gap: 0.35rem; padding-left: 1.1rem; list-style: disc; }
.certs { max-width: 62rem; margin: var(--space-lg) auto 0; }

/* ----------------------------- photo sections ---------------------------- */
.showcase { background: var(--color-surface); }
.ba-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.ba { margin: 0; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.ba__media { position: relative; }
.ba__media img { width: 100%; height: auto; }
.ba__media::before, .ba__media::after {
  content: "Before"; position: absolute; top: 0.7rem; left: 0.7rem;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.25rem 0.55rem; border-radius: 4px; background: rgba(10, 21, 36, 0.82); color: #fff;
}
.ba__media::after { content: "After"; left: calc(50% + 0.7rem); background: var(--brand-copper); color: #0a1524; }
.ba figcaption { padding: 0.85rem 1rem; font-size: 0.9rem; color: var(--color-muted); }

.gallery { display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #101f36; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 0.85rem;
  font-size: 0.88rem; color: #eef2f9;
  background: linear-gradient(to top, rgba(6, 14, 26, 0.9), transparent);
}

/* ---------------------------------- team --------------------------------- */
.team { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.team__card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.team__card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 20%; }
.team__body { padding: 1.3rem 1.4rem 1.5rem; }
.team__body h3 { font-size: 1.25rem; }
.team__role { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); margin: 0.3rem 0 0.75rem; }
.team__body p:last-child { color: var(--color-muted); font-size: 0.95rem; line-height: 1.62; }
.about__inner--text { align-items: start; }
@media (min-width: 900px) { .about__inner--text { grid-template-columns: 1fr 1fr; } }
.about__list-title { font-family: var(--font-display); font-weight: 700; color: var(--color-text); }
.about__inner--text .checklist { margin: 1rem 0 0; }

/* ------------------------------- link grids ------------------------------ */
.svc-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.svc-card a {
  display: flex; flex-direction: column; height: 100%;
  padding: var(--space-md); background: var(--color-bg);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--color-primary) 22%, var(--color-border)); }
.svc-card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--color-primary) 8%, transparent); color: var(--color-primary);
}
.svc-card h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.svc-card p { color: var(--color-muted); font-size: 0.95rem; line-height: 1.6; }
.svc-card__more {
  margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.93rem; color: var(--color-primary);
}
.svc-card--featured a { background: var(--brand-ink); border-color: transparent; }
.svc-card--featured h3 { color: #fff; }
.svc-card--featured p { color: var(--on-dark-text); }
.svc-card--featured .svc-card__icon { background: rgba(255, 255, 255, 0.08); color: var(--brand-copper); }
.svc-card--featured .svc-card__more { color: var(--brand-copper); }

.storm__guides-title { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-sky); margin-bottom: 0.8rem; }
.guide-cards { display: grid; gap: 0.65rem; }
.guide-cards a {
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.1rem; min-height: 56px;
  border-radius: var(--radius); text-decoration: none; line-height: 1.3;
  background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text);
  font-family: var(--font-display); font-weight: 650;
  transition: border-color .18s ease, background-color .18s ease;
}
.guide-cards a:hover { border-color: var(--color-primary); }
.guide-cards .icon { color: var(--color-accent); }
.guide-cards .icon:last-child { margin-left: auto; }
.on-dark .guide-cards a { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); border-left: 4px solid var(--brand-copper); color: #fff; }
.on-dark .guide-cards a:hover { background: rgba(255, 255, 255, 0.1); }
.on-dark .guide-cards .icon { color: var(--brand-copper); }

.area-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-links a {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1rem; min-height: 44px;
  border-radius: 999px; background: var(--color-bg); border: 1px solid var(--color-border);
  text-decoration: none; font-weight: 650; color: var(--color-primary);
}
.prose-section .area-links a { text-decoration: none; }
.area-links a:hover { border-color: var(--color-primary); }
.area-links .icon { color: var(--color-accent); }

.areas { background: var(--color-surface); border-block: 1px solid var(--color-border); padding-block: var(--space-lg); }
.areas__inner { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 900px) { .areas__inner { grid-template-columns: 0.85fr 1.15fr; } }
.areas h2 { font-size: var(--step-2); }
.areas p:not(.eyebrow) { color: var(--color-muted); margin-top: 0.5rem; }

.related { padding-block: var(--space-lg); border-top: 1px solid var(--color-border); }
.related__title { font-size: var(--step-1); margin-bottom: 1rem; }
.related__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related__list a {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.65rem 1.05rem; min-height: 44px;
  border-radius: var(--radius); border: 1px solid var(--color-border);
  text-decoration: none; font-weight: 650; color: var(--color-primary);
}
.related__list a:hover { background: var(--color-surface); }

/* --------------------------------- footer -------------------------------- */
@media (min-width: 1000px) { .footer__top { grid-template-columns: 1.45fr 0.9fr 1.3fr 0.85fr 0.85fr; gap: var(--space-md); } }
.footer__heading a { color: inherit; text-decoration: none; }
.footer__heading a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__email { margin-top: 0.35rem; }
.footer__email a { color: var(--on-dark-text); font-size: 0.93rem; }
.footer__cta { margin-top: 1.1rem; }

/* ------------------------------- credentials ----------------------------- */
.creds { background: var(--color-surface); }
.creds__list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.creds__item {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 1.4rem 1.5rem;
}
.creds__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  margin-bottom: 0.9rem; background: color-mix(in srgb, var(--color-primary) 8%, transparent); color: var(--color-primary);
}
.creds__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--color-text); margin-bottom: 0.35rem; }
.creds__item p:last-child { font-size: 0.93rem; line-height: 1.6; color: var(--color-muted); }
