/* ==========================================================================
   a1roofinginc.com — theme styles

   A port of the approved prototype ("A1 Roofing Website.dc.html") from inline
   styles to classes. The prototype's numbers are kept: 1220px content column,
   84px section rhythm, Newsreader for reading copy and Space Grotesk for
   everything structural.

   Colour comes from the engine's six schemes (bc_theme_palette → the inline
   <style id="bc-scheme-overrides"> in layout.php), which set --sch-bg,
   --sch-text, --sch-muted and --sch-accent per section. Anything below that
   needs a colour reads those variables, so re-skinning the site is a palette
   change, not a stylesheet rewrite.
   ========================================================================== */

:root {
  --ink:        #1F2A37;
  --ink-deep:   #161D26;
  --ink-black:  #10151D;
  --paper:      #F6F4EF;
  --rust:       #B4552D;
  --rust-dark:  #8F3F1E;
  --rust-light: #D08C63;
  --line:       #E2DDD2;
  --line-dark:  #2A3442;
  --body:       #39424E;
  --muted:      #5C6672;
  --muted-2:    #7C8794;
  --on-dark:    #E7EBEF;
  --on-dark-2:  #B9C2CD;
  --on-dark-3:  #8A94A0;

  --sans:  'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  --wrap:     1220px;
  --gutter:   40px;
  --section:  84px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; }

a { color: var(--rust); text-decoration-color: rgba(180, 85, 45, .35); text-underline-offset: 3px; }
a:hover { color: var(--rust-dark); }
::selection { background: var(--rust); color: #fff; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

main > section,
main > .grey,
main > .light { padding: var(--section) var(--gutter); }

.wrap        { max-width: var(--wrap); margin: 0 auto; }
.wrap-narrow { max-width: 900px; margin: 0 auto; }

/* Sections carry a scheme class (light / grey / dark / …) whose background and
   text colour come from the engine's inline scheme CSS. The hairline between
   two adjacent light sections is the prototype's only section border. */
.light + .light,
.light + .grey,
.grey  + .light,
.grey  + .grey { border-top: 1px solid var(--line); }

.rule {
  display: block; width: 56px; height: 4px;
  background: var(--sch-accent, var(--rust)); margin-bottom: 24px;
}

/* Line icons (a1_icon). Stroked in currentColor, sized by whatever uses them. */
.a1-icon { display: block; width: 24px; height: 24px; }

.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--sch-accent, var(--rust));
  margin-bottom: 16px;
}

.label-caps {
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted-2);
}

.section-title { font-size: 36px; font-weight: 700; line-height: 1.12; }

.section-head {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px;
  margin-bottom: 48px;
}
.section-head--top { align-items: start; margin-bottom: 0; }

.lede {
  font-family: var(--serif); font-size: 17.5px; line-height: 1.65;
  color: var(--sch-muted, var(--body));
}

.display {
  font-family: var(--serif); font-weight: 500; font-size: 62px;
  line-height: 1.04; margin: 0 0 26px;
}

/* --------------------------------------------------------------------------
   Reading copy (rich text inside blocks)
   -------------------------------------------------------------------------- */

.prose {
  font-family: var(--serif); font-size: 17.5px; line-height: 1.68;
  color: var(--sch-muted, var(--body));
}
/* Flow spacing, not per-element margins: a element-specific `margin: 0` reset
   would out-specify the sibling rule below and collapse the whole column. */
.prose > *     { margin: 0; }
.prose > * + * { margin-top: 18px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 9px; }
.prose li { font-size: 17px; line-height: 1.55; }
.prose h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; }
.prose strong { color: var(--sch-text, var(--ink)); }
.prose--lg { font-size: 19px; line-height: 1.65; }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block; font-family: var(--sans); font-size: 15px;
  font-weight: 600; letter-spacing: .02em; text-decoration: none;
  padding: 16px 30px; border: 1px solid transparent; cursor: pointer;
}
/* The engine's per-scheme CSS styles a bare `.btn` (`.dark .btn { … }`) and is
   injected after this stylesheet, so these modifiers are written with enough
   specificity to survive it: the CTA is rust on every background, by design. */
a.btn.btn--solid, button.btn.btn--solid {
  background: var(--rust); border-color: var(--rust); color: #fff;
}
a.btn.btn--solid:hover, button.btn.btn--solid:hover {
  background: var(--rust-dark); border-color: var(--rust-dark); color: #fff;
}
a.btn.btn--outline, button.btn.btn--outline {
  background: none; border-color: var(--rust); color: var(--rust);
  font-size: 14px; padding: 13px 24px; letter-spacing: .03em; margin-top: 22px;
}
a.btn.btn--outline:hover, button.btn.btn--outline:hover {
  background: var(--rust); color: #fff;
}
.btn--block { display: block; width: 100%; text-align: center; padding: 14px; font-size: 14px; }

.arrow-link {
  display: inline-block; font-size: 14px; font-weight: 600;
  letter-spacing: .04em; text-decoration: none; margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink-deep); color: var(--on-dark-3);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 9px var(--gutter);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.topbar__left  { display: flex; gap: 10px; align-items: center; }
.topbar__right { display: flex; gap: 24px; align-items: center; }
.topbar__strong { color: #C9CFD8; }
.topbar__sep { color: #3D4653; }
.topbar__alert { color: #E4B79F; text-decoration: none; font-weight: 600; }
.topbar__alert:hover { color: #fff; }
.topbar__phone { color: #C9CFD8; font-weight: 600; letter-spacing: .05em; }
.topbar__phone a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 42px; height: 42px; flex: none; background: var(--rust); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px; letter-spacing: .02em;
  clip-path: polygon(0 38%, 50% 0, 100% 38%, 100% 100%, 0 100%);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.brand__sub  { font-size: 10.5px; letter-spacing: .28em; color: #8A94A0; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  font-size: 14px; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 12px 13px; letter-spacing: .01em;
  white-space: nowrap;
}
button.nav__link { background: none; border: 0; font-family: var(--sans); cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--rust); }
.nav__caret { font-size: 9px; color: #8A94A0; margin-left: 5px; }
.nav__cta { margin-left: 16px; font-size: 13.5px; padding: 12px 22px; letter-spacing: .03em; }

.nav__group { position: relative; }
.nav__panel {
  position: absolute; top: 100%; left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(22, 29, 38, .14);
  padding: 10px 0; display: none; flex-direction: column;
}
.nav__group:hover .nav__panel,
.nav__group:focus-within .nav__panel { display: flex; }
.nav__panel-link {
  padding: 9px 22px; font-size: 14px; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.nav__panel-link:hover { background: var(--paper); color: var(--rust); }
.nav__panel-link--all {
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--rust);
  border-top: 1px solid #EEE9DF; margin-top: 8px; padding-top: 15px;
}

.nav-toggle {
  display: none; background: none; border: 1px solid #D8D2C6;
  padding: 9px 14px; font-size: 19px; line-height: 1; cursor: pointer;
  color: var(--ink); font-family: var(--sans);
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed; inset: 0; z-index: 120; overflow: auto;
  background: var(--paper); padding: 0 20px 48px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__bar {
  position: sticky; top: 0; background: var(--paper);
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.mobile-menu__bar .brand__mark { width: 34px; height: 34px; font-size: 14px; }
.mobile-menu__bar .brand__name { font-size: 16px; }
.mobile-menu__bar .nav-toggle { display: flex; align-items: center; }
.mobile-menu__phone { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0 26px; }
.mobile-menu__phone a, .mobile-menu__phone strong { color: var(--ink); font-weight: 600; text-decoration: none; }
.mobile-menu__head {
  font-size: 11.5px; letter-spacing: .22em; color: var(--rust);
  font-weight: 700; text-transform: uppercase; margin: 26px 0 10px;
}
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__list a {
  padding: 11px 0; font-size: 16px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid #EBE7DC;
}
.mobile-menu__list--top { margin-top: 26px; }
.mobile-menu__list--top a { font-weight: 700; }
.mobile-menu__alert { color: var(--rust) !important; border-bottom: 0 !important; }

/* --------------------------------------------------------------------------
   Photos (media-picker hosts)
   -------------------------------------------------------------------------- */

.a1-photo { position: relative; width: 100%; height: 100%; background: #E8E4DA; overflow: hidden; }
.a1-photo .page-head__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.a1-photo .page-head__bg[data-empty] { background: none; }
.a1-photo--hero { height: 460px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.a1-photo--side { height: 230px; }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.home-hero { padding: 84px var(--gutter) 92px; }
.home-hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center;
}
.home-hero .eyebrow { letter-spacing: .26em; margin-bottom: 22px; }
.home-hero .lede { font-size: 19px; line-height: 1.6; margin-bottom: 34px; max-width: 56ch; }
.home-hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.home-hero__phone { font-size: 14px; color: var(--sch-muted, var(--on-dark-3)); }
.home-hero__phone a, .home-hero__phone strong { color: var(--on-dark); font-weight: 600; text-decoration: none; }
.home-hero__pillars {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; gap: 36px; flex-wrap: wrap;
  font-size: 13px; color: var(--sch-muted, var(--on-dark-3)); letter-spacing: .02em;
}
.home-hero__pillars strong { color: var(--sch-accent, var(--rust-light)); font-weight: 600; }
.home-hero__pillar-sep { margin: 0 4px; }
.home-hero__visual { position: relative; }
.home-hero__badge {
  position: absolute; right: -14px; bottom: -14px;
  background: var(--rust); color: #fff; padding: 14px 20px;
  font-size: 12px; letter-spacing: .12em; font-weight: 600; pointer-events: none;
}

/* --------------------------------------------------------------------------
   Home sections
   -------------------------------------------------------------------------- */

.text-duo { padding: 64px var(--gutter); }
.text-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.services-grid__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  display: flex; flex-direction: column; gap: 34px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 28px 26px; text-decoration: none;
}
.service-card:hover { border-color: var(--rust); box-shadow: 0 14px 30px rgba(22, 29, 38, .08); color: var(--ink); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.service-card__num { font-size: 12px; color: var(--rust); font-weight: 600; letter-spacing: .14em; }
.service-card__icon {
  width: 40px; height: 40px; flex: none; margin-top: -6px;
  color: var(--rust); opacity: .55;
  transition: opacity .18s ease, transform .18s ease;
}
.service-card:hover .service-card__icon { opacity: 1; transform: translateY(-2px); }
.service-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.service-card__label { font-size: 19px; font-weight: 700; }
.service-card__arrow { color: var(--rust); }

.split-cards__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); padding: 44px 42px; }
.panel .eyebrow { font-size: 12px; letter-spacing: .2em; margin-bottom: 18px; }
.panel__title { font-size: 27px; font-weight: 700; line-height: 1.18; margin-bottom: 18px; }
.panel .prose { font-size: 16.5px; line-height: 1.65; }

.systems-grid__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.system-link {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1px solid var(--line-dark); padding: 20px 22px;
  font-size: 16px; font-weight: 600; color: var(--on-dark); text-decoration: none;
}
.system-link:hover { border-color: var(--rust); background: #1C2531; color: var(--on-dark); }
.system-link__arrow { color: var(--rust); }

.gallery__head {
  display: flex; justify-content: space-between; align-items: end; gap: 40px;
  margin-bottom: 36px;
}
.gallery__note {
  font-family: var(--serif); font-size: 15px; color: var(--muted);
  max-width: 52ch; text-align: right;
}
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px; gap: 14px;
}
.gallery__tile { position: relative; margin: 0; }
.gallery__tile--tall { grid-row: span 2; }
.gallery__tile--wide { grid-column: span 2; }
.gallery__tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(16, 21, 29, .82));
  color: #fff; font-size: 12.5px; letter-spacing: .06em; padding: 26px 16px 12px;
}

.column-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.column-duo__title { font-size: 27px; font-weight: 700; line-height: 1.18; margin-bottom: 18px; }
.column-duo .prose { font-size: 16.5px; line-height: 1.65; }

.cta-band { padding: 96px var(--gutter); }
.cta-band__inner { text-align: center; }
.cta-band .eyebrow { letter-spacing: .26em; margin-bottom: 20px; }
.cta-band__lede {
  font-family: var(--serif); font-size: 28px; line-height: 1.45;
  color: var(--sch-text, var(--on-dark)); margin-bottom: 36px;
}
.cta-band__note { margin-top: 18px; font-size: 14px; color: var(--sch-muted, var(--on-dark-3)); }
.cta-band__note a { color: var(--on-dark); text-decoration: none; font-weight: 600; }

/* --------------------------------------------------------------------------
   Interior page: hero, body grid, sidebar
   -------------------------------------------------------------------------- */

.page-hero { padding: 52px var(--gutter) 46px; border-bottom: 1px solid var(--line); }
.page-hero__title {
  font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1.08;
  max-width: 22ch;
}

.crumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted-2); margin-bottom: 26px;
}
.crumbs a { color: var(--muted-2); text-decoration: none; }
.crumbs a:hover { color: var(--rust); }
.crumbs__sep { color: #C4BDAE; }
.crumbs__current { color: var(--ink); font-weight: 600; }

.page-body { padding: 64px var(--gutter) 80px; }
.page-body__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px; align-items: start;
}
.page-body__article { max-width: 740px; }
.page-body__aside {
  position: sticky; top: calc(var(--header-h) + 30px);
  display: flex; flex-direction: column; gap: 16px;
}

.prose-intro__p {
  font-family: var(--serif); font-size: 21px; line-height: 1.6;
  color: var(--ink); margin-bottom: 22px;
}
.prose-intro__p p { margin: 0 0 22px; }
.prose-intro__p > *:last-child { margin-bottom: 0; }

.prose-section { margin-top: 40px; }
.prose-section:first-child { margin-top: 14px; }
.prose-section > h2 { font-size: 24px; font-weight: 700; line-height: 1.25; margin-bottom: 16px; }

.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 22px; }
.link-row__item {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 14px; font-weight: 500; text-decoration: none; padding: 10px 18px;
}
.link-row__item:hover { border-color: var(--rust); color: var(--rust); }

.note-panel {
  background: #FBF3E1; border: 1px solid #E8D8AF; padding: 16px 20px;
  margin: 24px 0; font-size: 13px; line-height: 1.6; color: #6B5A2E;
}
.note-panel__head {
  font-weight: 700; letter-spacing: .14em; font-size: 11px;
  display: block; margin-bottom: 6px; color: #9A7B2F; text-transform: uppercase;
}
.note-panel__body p { margin: 0 0 8px; }
.note-panel__body > *:last-child { margin-bottom: 0; }

.faq__item {
  background: var(--paper); border: 1px solid var(--line);
  padding: 26px 30px; margin-top: 16px;
}
.faq__item:first-child { margin-top: 8px; }
.faq__q { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.faq__a { font-size: 17px; }

.city-directory > h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }

.blog-index { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.blog-card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--line); background: var(--paper);
  padding: 26px 28px; text-decoration: none; color: var(--ink);
}
.blog-card:hover { border-color: var(--rust); color: var(--ink); }
.blog-card__tag {
  font-size: 11.5px; letter-spacing: .18em; color: var(--rust);
  font-weight: 600; text-transform: uppercase;
}
.blog-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.blog-card__teaser { font-family: var(--serif); font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.blog-card__more { font-size: 13.5px; font-weight: 600; color: var(--rust); margin-top: 4px; }

.related { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 30px; }
.related__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 13.5px; font-weight: 500; text-decoration: none;
  padding: 9px 18px; border-radius: 999px;
}
.pill:hover { border-color: var(--rust); color: var(--rust); }

.side-photo .a1-photo { height: 230px; }

.side-cta { padding: 32px 30px; }
.side-cta .eyebrow { font-size: 12px; letter-spacing: .22em; margin-bottom: 14px; }
.side-cta__lede { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin-bottom: 22px; }
.side-cta__phone { margin-top: 14px; font-size: 13px; color: var(--on-dark-3); text-align: center; }
.side-cta__phone a, .side-cta__phone strong { color: var(--on-dark); font-weight: 600; text-decoration: none; }

.side-note {
  border: 1px solid var(--line); background: var(--paper);
  padding: 22px 24px; font-size: 13px; line-height: 1.6; color: var(--muted);
}
.side-note strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.side-form {
  background: #fff; border: 1px solid var(--line);
  padding: 30px 28px; box-shadow: 0 20px 44px rgba(22, 29, 38, .08);
}
.side-form__head { font-size: 17px; font-weight: 700; margin-bottom: 16px; }

.bc-form { display: flex; flex-direction: column; gap: 10px; }
.bc-form__field { display: block; }
.bc-form input, .bc-form select, .bc-form textarea {
  width: 100%; border: 1px solid #D8D2C6; background: #FBFAF7;
  padding: 11px 13px; font-family: var(--sans); font-size: 14px; color: var(--ink);
}
.bc-form textarea { resize: vertical; }
.bc-form input:focus, .bc-form select:focus, .bc-form textarea:focus {
  outline: none; border-color: var(--rust);
}
.bc-form button { margin-top: 4px; }

.form-notice { padding: 12px 16px; font-size: 14px; margin-bottom: 14px; }
.form-notice--ok  { background: rgba(46, 160, 67, .12);  border: 1px solid rgba(46, 160, 67, .5);  color: #1a7f37; }
.form-notice--err { background: rgba(200, 60, 60, .12); border: 1px solid rgba(200, 60, 60, .5); color: #b91c1c; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink-black); color: var(--on-dark-3);
  padding: 72px var(--gutter) 0;
}
.site-footer__grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 56px;
  padding-bottom: 56px; border-bottom: 1px solid #232C38;
}
.site-footer .brand { color: var(--on-dark); margin-bottom: 18px; }
.site-footer .brand__mark { width: 34px; height: 34px; font-size: 14px; }
.site-footer .brand__name { font-size: 16px; color: var(--on-dark); }
.site-footer__blurb { font-family: var(--serif); font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
.site-footer__facts { margin: 0; font-size: 13px; line-height: 2; }
.site-footer__facts div { display: block; }
.site-footer__facts dt, .site-footer__facts dd { display: inline; margin: 0; }
.site-footer__facts dd, .site-footer__facts a { color: #C9CFD8; text-decoration: none; }
.site-footer__head {
  font-size: 12px; letter-spacing: .2em; color: var(--muted); font-weight: 600;
  text-transform: uppercase; margin-bottom: 18px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.site-footer__col a { color: var(--on-dark-2); text-decoration: none; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bar {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 40px;
  padding: 26px 0 34px; font-size: 12.5px; color: var(--muted);
}
.site-footer__bar a { color: inherit; text-decoration: none; }
.site-footer__bar a:hover { color: var(--on-dark-2); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .page-body__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .services-grid__cards,
  .systems-grid__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --gutter: 20px; --section: 56px; --header-h: 62px; }

  .nav { display: none; }
  .nav-toggle { display: flex; align-items: center; }
  .topbar__left { display: none; }
  .topbar { padding: 8px 16px; }
  .site-header__inner { padding: 0 16px; }

  .home-hero { padding: 56px var(--gutter); }
  .home-hero__grid,
  .text-duo__grid,
  .section-head,
  .split-cards__grid,
  .column-duo__grid,
  .page-body__grid,
  .gallery__grid,
  .services-grid__cards,
  .systems-grid__list { grid-template-columns: 1fr; gap: 32px; }

  .gallery__grid { grid-auto-rows: 220px; }
  .gallery__tile--tall,
  .gallery__tile--wide { grid-row: auto; grid-column: auto; }
  .gallery__head { flex-direction: column; align-items: start; gap: 14px; }
  .gallery__note { text-align: left; }

  .page-body__aside { position: static; }
  .page-body__article { max-width: none; }

  .a1-photo--hero { height: 300px; box-shadow: 0 16px 32px rgba(0, 0, 0, .25); }

  .display { font-size: 34px; line-height: 1.14; }
  .section-title, .page-hero__title { font-size: 28px; line-height: 1.16; }
  .panel__title, .column-duo__title { font-size: 23px; line-height: 1.28; }
  .cta-band__lede { font-size: 22px; }
  .prose, .lede { font-size: 16.5px; }
  .prose-intro__p { font-size: 19px; }
  .panel { padding: 30px 24px; }

  .site-footer { padding: 56px var(--gutter) 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__bar { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
