/* ==========================================================================
   BROWN ROOFING, LLC  ·  site stylesheet
   Hand-written, no framework. One file for every page of the site.

   DESIGN SYSTEM
   -------------
   Job of the site: persuade a homeowner or building owner to ask for an
   estimate. Dark theme taken from the client-approved screenshots:
   charcoal surfaces, navy bands, copper accents.

   Colour rule: copper #a75a2c is a FILL (buttons, the call-to-action band,
   rules). Copper as TEXT on a dark surface always uses the lighter shade of
   the same hue, --copper-text #d09060, because #a75a2c on charcoal is only
   3.23:1. Measured contrast (python3 _inc/tools/build.py contrast):

     body text   #e3e2e3 on #1b1b1d  13.31   on #201f24  12.67   on #29241e  11.90
     headings    #f0efed on #1b1b1d  14.97   on #201f24  14.24   on #29241e  13.38
     muted text  #afb1b7 on #1b1b1d   8.02   on #201f24   7.64   on #29241e   7.17
     copper text #d09060 on #1b1b1d   6.42   on #201f24   6.11   on #29241e   5.74   on #0f2233  6.05
     on navy     #d2dfee on #0f2233  11.97   links #cddbea 11.50   muted #9eb1c2  7.34
     on copper   #ffffff on #a75a2c   5.07   (hover fill #8c4921: 6.80)
     hero text   over the overlay on a pure white photo pixel (#5f5f61): body 4.93, heading 5.54
     not text    field borders 4.24 or better, focus ring 9.35 or better, copper fill on charcoal 3.23

   Type: Montserrat 700-900 for headings, labels and buttons. Inter 400-700
   for everything else. Both self-hosted (assets/css/fonts.css).
   Scale: 12 · 14 · 16 · 17 (body) · 20 · 24 · 28 · h2 28-40 fluid · h1 34-56 fluid.
   Spacing scale: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96.
   Breakpoints: 960 (full header), 860 (3 columns become 2), 520 (1 column).

   Rules this file keeps
   - Nothing sits above a heading. Labels go under the heading (.card__label).
   - Variants are scoped one level deeper than the base (.band-cta .btn--outline).
   - No grid-template-columns in page markup: every grid lives here.
   - Colours come from the tokens below. The only literals are plain white
     (#fff, on navy and copper), the photo viewer backdrop and the print rules.
   ========================================================================== */

/* COMPONENT INVENTORY:START
   Rewritten by `python3 _inc/tools/build.py all`: do not edit by hand.
   component          pages  where it is used
   .hero                 33  /, /404/, /about/, /blog/ and 29 more   (page hero: photo under the dark overlay, h1, one line)
   .section              33  /, /404/, /about/, /blog/ and 29 more   (standard page section)
   .section-head         15  /, /404/, /about/, /blog/ and 11 more   (h2 plus one intro paragraph)
   .card-grid             7  /, /blog/, /commercial-roofing/, /insurance-claims/ and 3 more   (3 / 2 / 1 column grid for cards)
   .card                  4  /, /commercial-roofing/, /residential-roofing/, /siding-windows/   (card (photo optional))
   .tiers                 1  /siding-windows/   (good / better / best / platinum rows)
   .split                10  /, /about/, /commercial-roofing/, /contact-us/ and 6 more   (text beside a photo)
   .prose                32  /, /2025/01/dealing-with-and-preventing-ice-dams/, /2025/03/common-roofing-issues-in-raymore-mo-and-how-to-prevent-them/, /2025/03/has-there-been-an-upgrade-in-the-availability-or-technology-of-class-3-impact-resistant-shingles/ and 28 more   (plain text section)
   .steps                 6  /, /insurance-claims/, /refer-a-neighbor/, /residential-roofing/ and 2 more   (numbered steps)
   .check-list            6  /commercial-roofing/, /residential-roofing/, /residential-roofing/repair/, /residential-roofing/replacement/ and 2 more   (short list with copper marks)
   .cols-list             1  /   (multi-column plain list)
   .band-way              8  /, /about/, /commercial-roofing/, /insurance-claims/ and 4 more   (The Brown Way band)
   .band-cta             32  /, /2025/01/dealing-with-and-preventing-ice-dams/, /2025/03/common-roofing-issues-in-raymore-mo-and-how-to-prevent-them/, /2025/03/has-there-been-an-upgrade-in-the-availability-or-technology-of-class-3-impact-resistant-shingles/ and 28 more   (copper call-to-action band)
   .gallery               1  /recent-projects/   (photo gallery with viewer)
   .review-grid           1  /reviews/   (review block)
   .faq                   5  /commercial-roofing/, /insurance-claims/, /residential-roofing/, /residential-roofing/repair/ and 1 more   (questions and answers)
   .form-layout           2  /contact-us/, /refer-a-neighbor/   (form beside contact details)
   .form                  2  /contact-us/, /refer-a-neighbor/   (form fields)
   .contact-list          2  /contact-us/, /thank-you/   (contact details list)
   .hours                 2  /contact-us/, /thank-you/   (business hours list)
   .notice                3  /refer-a-neighbor/, /residential-roofing/repair/, /thank-you/   (message panel)
   .link-list             8  /2025/01/dealing-with-and-preventing-ice-dams/, /2025/03/has-there-been-an-upgrade-in-the-availability-or-technology-of-class-3-impact-resistant-shingles/, /2025/04/choosing-the-right-roofing-material-for-your-raymore-mo-home/, /2025/04/what-are-the-advantages-of-a-metal-roof/ and 4 more   (list of page links)
   .btn                  38  /, /2025/01/dealing-with-and-preventing-ice-dams/, /2025/03/common-roofing-issues-in-raymore-mo-and-how-to-prevent-them/, /2025/03/has-there-been-an-upgrade-in-the-availability-or-technology-of-class-3-impact-resistant-shingles/ and 34 more   (button)
   .link-arrow           18  /, /2025/01/dealing-with-and-preventing-ice-dams/, /2025/03/common-roofing-issues-in-raymore-mo-and-how-to-prevent-them/, /2025/03/has-there-been-an-upgrade-in-the-availability-or-technology-of-class-3-impact-resistant-shingles/ and 14 more   (text link with an arrow)
   .wj-bc                37  /2025/01/dealing-with-and-preventing-ice-dams/, /2025/03/common-roofing-issues-in-raymore-mo-and-how-to-prevent-them/, /2025/03/has-there-been-an-upgrade-in-the-availability-or-technology-of-class-3-impact-resistant-shingles/, /2025/04/choosing-the-right-roofing-material-for-your-raymore-mo-home/ and 33 more   (breadcrumb)
   .wj-card               1  /blog/   (blog card (written by the blog engine))
   .wj-author-box         6  /2025/01/dealing-with-and-preventing-ice-dams/, /2025/03/common-roofing-issues-in-raymore-mo-and-how-to-prevent-them/, /2025/03/has-there-been-an-upgrade-in-the-availability-or-technology-of-class-3-impact-resistant-shingles/, /2025/04/choosing-the-right-roofing-material-for-your-raymore-mo-home/ and 2 more   (author card (written by the blog engine))
   .post-head             5  /2025/01/dealing-with-and-preventing-ice-dams/, /2025/03/common-roofing-issues-in-raymore-mo-and-how-to-prevent-them/, /2025/03/has-there-been-an-upgrade-in-the-availability-or-technology-of-class-3-impact-resistant-shingles/, /2025/04/choosing-the-right-roofing-material-for-your-raymore-mo-home/ and 1 more   (blog post heading)
   COMPONENT INVENTORY:END */

:root {
  color-scheme: dark;

  /* surfaces */
  --bg: #1b1b1d;             /* page background, breadcrumb bar */
  --surface: #201f24;        /* header, cards, panels */
  --surface-warm: #29241e;   /* alternate band (.section--warm) */
  --navy: #0f2233;           /* Brown Way band, footer, navy buttons */
  --navy-hover: #173452;
  --navy-line: #2b3e4f;      /* rules on navy */
  --navy-box: #405060;       /* box borders on navy */
  --line: #3a393e;           /* rules and card borders on charcoal */
  --field-line: #85868d;     /* form field borders: 3:1 or better on every surface */

  /* accents */
  --copper: #a75a2c;         /* fills only */
  --copper-dark: #8c4921;    /* hover fill */
  --copper-text: #d09060;    /* copper as text on dark */
  --copper-text-hi: #e6b48f; /* hover for copper text */

  /* text */
  --heading: #f0efed;
  --text: #e3e2e3;
  --muted: #afb1b7;
  --on-navy: #d2dfee;
  --on-navy-link: #cddbea;
  --on-navy-muted: #9eb1c2;
  --on-copper: #ffffff;
  --focus: #9fc9f3;
  --error: #ff9d8a;
  --ok: #8fd19e;
  --scrim: 27 27 29;         /* hero overlay colour, used with an alpha */

  /* type */
  --font-head: 'Montserrat', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-17: 1.0625rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.15rem + 4vw, 3.5rem);

  /* space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.4rem + 3.6vw, 5rem);
  --container: 75rem;        /* 1200px including the gutters */
  --gutter: 1.5rem;
  --radius: 6px;
  --radius-btn: 4px;

  /* arrows are drawn, not typed: the fonts carry no arrow glyphs */
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 11.5l7-7M6 4.5h5.5V10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* names the blog engine's card styles fall back to */
  --paper: #201f24;
  --ink: #f0efed;
  --ink-mute: #afb1b7;
  --wj-card-bg: #201f24;
  --wj-card-line: #3a393e;
  --wj-card-accent: #d09060;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { max-width: 100%; }
img { height: auto; display: block; }
picture { display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-24); font-weight: 800; line-height: 1.2; }
h4 { font-size: var(--fs-20); font-weight: 800; line-height: 1.25; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
a { color: var(--copper-text); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-text-hi); }
:where(a[href^="tel:"]) { display: inline-block; padding-block: 0.1em; }  /* phone links are always a full tap target */
strong, b { font-weight: 700; color: var(--heading); }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--copper); color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 54rem; }

/* skip link: first focusable element on every page */
.skip-link {
  position: absolute; left: var(--s-4); top: -4rem; z-index: 100;
  background: var(--copper); color: #fff;
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-btn);
  font: 800 var(--fs-14)/1.2 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  min-height: 48px; padding: 0.75rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--radius-btn);
  font: 800 var(--fs-14)/1.2 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--copper { background: var(--copper); border-color: var(--copper); color: var(--on-copper); }
.btn--copper:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: var(--on-copper); }
.btn--navy { background: var(--navy); border-color: var(--navy-box); color: #fff; }
.btn--navy:hover { background: var(--navy-hover); color: #fff; }
.btn--outline { background: transparent; border-color: var(--text); color: var(--heading); }
.btn--outline:hover { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn[data-loading] { cursor: progress; opacity: 0.8; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; }

/* text link with an arrow, for "see more" lines */
.link-arrow {
  display: inline-block; padding-block: 2px; text-wrap: balance;   /* a wrapped link keeps its arrow with its last words */
  font: 700 var(--fs-16)/1.3 var(--font-head); color: var(--copper-text); text-decoration: none;
}
.link-arrow::after, .btn--arrow::after, .ext::after, .link-list a::after {
  content: ""; display: inline-block; flex: none; width: 0.95em; height: 0.95em; margin-left: 0.45em; vertical-align: -0.12em;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat; mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform 0.15s ease;
}
.btn--arrow::after { margin-left: 0; }
.link-arrow:hover { color: var(--copper-text-hi); text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }
/* a link that opens another site in a new tab (maker pages) gets the up-and-out arrow */
.ext::after { -webkit-mask-image: var(--icon-out); mask-image: var(--icon-out); }
.link-arrow.ext:hover::after { transform: translate(2px, -2px); }

/* ==========================================================================
   SHARED HEADER  (source: _inc/header.php)
   ========================================================================== */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.hdr-top { display: flex; align-items: center; gap: var(--s-3); padding-block: var(--s-3); min-height: 4.5rem; }
.hdr-logo { flex: none; display: block; border-radius: 4px; }
.hdr-logo img { width: clamp(7.25rem, 15.5vw, 11.9375rem); height: auto; }
.hdr-tag {
  margin: 0; color: var(--muted);
  font: 700 var(--fs-12)/1.5 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase;
}
.hdr-tag__lead { color: var(--copper-text); font-weight: 900; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
.hdr-phone {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding-inline: var(--s-2);
  font: 800 var(--fs-20)/1 var(--font-head); color: var(--heading); text-decoration: none; white-space: nowrap; border-radius: var(--radius-btn);
}
.hdr-phone:hover { color: var(--copper-text); }
.hdr-phone svg { width: 1.125rem; height: 1.125rem; flex: none; fill: var(--copper-text); }
.hdr-cta { white-space: nowrap; }
.hdr-toggle {
  display: none; align-items: center; justify-content: center; gap: var(--s-2);
  min-width: 44px; min-height: 44px; padding: 0 var(--s-3);
  background: transparent; border: 1px solid var(--field-line); border-radius: var(--radius-btn);
  color: var(--heading); font: 800 var(--fs-14)/1 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
}
.hdr-toggle:hover { border-color: var(--heading); }
.hdr-toggle__bars { position: relative; display: block; width: 18px; height: 2px; background: currentColor; }
.hdr-toggle__bars::before, .hdr-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.hdr-toggle__bars::before { top: -6px; }
.hdr-toggle__bars::after { top: 6px; }
.hdr-toggle[aria-expanded="true"] .hdr-toggle__bars { background: transparent; }
.hdr-toggle[aria-expanded="true"] .hdr-toggle__bars::before { top: 0; transform: rotate(45deg); }
.hdr-toggle[aria-expanded="true"] .hdr-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { border-top: 1px solid var(--line); }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav__link {
  display: flex; align-items: center; min-height: 48px; padding-block: var(--s-2);
  font: 600 var(--fs-16)/1.2 var(--font-body); color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav__link:hover { color: var(--copper-text); }
.site-nav__link[aria-current="page"], .site-nav__link[data-parent] { color: var(--copper-text); }
.site-nav__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.25rem; margin-block: var(--s-3);
  background: var(--navy); border: 1px solid var(--navy-box); border-radius: var(--radius-btn);
  font: 800 var(--fs-16)/1 var(--font-head); color: #fff; text-decoration: none;
}
.site-nav__btn:hover { background: var(--navy-hover); color: #fff; }
.site-nav__btn[aria-current="page"] { border-color: var(--copper-text); }
.site-nav__cta { padding-bottom: var(--s-4); }
.site-nav__cta .btn { width: 100%; }

/* phone layout: one row, a slim tag line under it, the menu behind a button */
@media (max-width: 959.98px) {
  .hdr-top { flex-wrap: wrap; row-gap: var(--s-2); }
  .hdr-tag { order: 5; flex: 0 0 100%; display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0.6em; padding-top: var(--s-2); border-top: 1px solid var(--line); letter-spacing: 0.08em; }
  .hdr-tag__line::before { content: "\00B7" / ""; margin-right: 0.6em; color: var(--muted); }
  .hdr-cta { display: none; }
  .site-header.js .hdr-toggle { display: inline-flex; }
  .site-header.js .site-nav { display: none; }
  .site-header.js.is-open .site-nav { display: block; }
}
@media (max-width: 479.98px) {
  :root { --gutter: 1rem; }
  .hdr-top, .hdr-actions { gap: 0.625rem; }
  .hdr-logo img { width: 6.25rem; }
  .hdr-tag__line--extra { display: none; }
  .hdr-phone { font-size: var(--fs-16); padding-inline: 0; }
  .hdr-toggle { padding: 0; }
  .hdr-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359.98px) {
  .hdr-phone { min-width: 44px; justify-content: center; border: 1px solid var(--field-line); }
  .hdr-phone__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 720px) and (max-width: 959.98px) {
  .hdr-cta { display: inline-flex; }
  .site-nav__list > .site-nav__cta { display: none; }
}

/* full header from 960px: logo, tag line, phone and button on one row, menu row under it */
@media (min-width: 960px) {
  .hdr-top { gap: var(--s-5); padding-block: var(--s-4); min-height: 8rem; }
  .hdr-tag { padding-left: var(--s-5); border-left: 1px solid var(--line); }
  .hdr-tag__lead, .hdr-tag__line { display: block; }
  .hdr-tag__lead { font-size: var(--fs-20); line-height: 1.2; letter-spacing: 0.04em; }
  .hdr-actions { gap: var(--s-5); }
  .site-nav__list { flex-direction: row; align-items: stretch; justify-content: space-between; min-height: 3.5rem; }
  .site-nav__list > li { display: flex; align-items: stretch; }
  .site-nav__link { min-height: 0; padding: 0 var(--s-1); border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
  .site-nav__link:hover, .site-nav__link[aria-current="page"], .site-nav__link[data-parent] { border-bottom-color: var(--copper); }
  .site-nav__list > .site-nav__end { align-items: center; }
  .site-nav__btn { margin-block: 0; min-height: 40px; }
  .site-nav__list > .site-nav__cta { display: none; }
}

/* ==========================================================================
   BREADCRUMB  (page-owned, sits between the header and <main>)
   ========================================================================== */
.wj-bc { background: var(--bg); border-bottom: 1px solid var(--line); }
.wj-bc ol {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--container);
  display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s-2); min-height: 3rem;
  font-size: var(--fs-14); color: var(--muted);
}
.wj-bc li { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 24px; }
.wj-bc li + li::before { content: "/" / ""; color: var(--muted); }
.wj-bc a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.wj-bc a:hover { color: var(--copper-text); text-decoration: underline; }
.wj-bc [aria-current="page"] { color: var(--text); }
/* fallback, should the publishing engine write a breadcrumb with other markup */
nav[aria-label="Breadcrumb"]:not(.wj-bc) { background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--s-3) max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); font-size: var(--fs-14); color: var(--muted); }
nav[aria-label="Breadcrumb"]:not(.wj-bc) :is(ol, ul) { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
nav[aria-label="Breadcrumb"]:not(.wj-bc) a { color: var(--muted); }

/* ==========================================================================
   PAGE SECTIONS
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--warm { background: var(--surface-warm); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: var(--s-7); }
.section--rule { border-top: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: var(--s-6); }
.section-head > p { margin-top: var(--s-3); color: var(--text); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem); line-height: 1.55; }
.note { font-size: var(--fs-14); color: var(--muted); }
.card-grid + .note, .review-grid + .note, .gallery + .note, .steps + .note, .link-list + .note { margin-top: var(--s-5); }
.stack > * + * { margin-top: var(--s-4); }   /* on a wrapper: 1rem between its children */
:where(h2, h3, h4) + :where(p, ul, ol, dl, div, form) { margin-top: var(--s-3); }   /* default gap under any heading */

/* ---------- page hero: photo under a dark overlay, heading, one line ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(var(--scrim) / 0.80) 0%, rgb(var(--scrim) / 0.70) 100%);
}
.hero__inner { padding-block: clamp(3.25rem, 1.6rem + 6.4vw, 5.75rem); }
.hero__title { max-width: 22ch; }
.hero__lead { margin: var(--s-4) 0 0; max-width: 50rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem); line-height: 1.5; color: var(--text); }
/* the main button sits alone on its row; phone links get their own row under it */
.hero__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); }
.hero__phones { margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-16); color: var(--text); }
.hero__phones a { color: var(--heading); font-weight: 700; }
.hero--plain::after { background: none; }
.hero--plain { background: var(--surface); }
.hero--home .hero__inner { padding-block: clamp(4rem, 2rem + 9vw, 8.5rem); }
.hero--home .hero__title { max-width: 18ch; }

/* ---------- card grid: 3 columns, then 2, then 1 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: minmax(0, 1fr); } }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: var(--s-3); flex: 1; padding: var(--s-5); }
.card__title { font-size: var(--fs-24); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--copper-text); }
.card__label { margin: 0; font: 800 var(--fs-14)/1.3 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper-text); }
.card__text { margin: 0; }
.card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.card__list .link-arrow, .tiers .link-arrow { padding-block: 4px; }
.card__foot { margin-top: auto; padding-top: var(--s-2); }
/* a card with no photo gets a copper rule so it still reads as finished */
.card--rule { border-top: 3px solid var(--copper); }

/* good / better / best / platinum rows */
.tiers { margin: 0; display: grid; gap: var(--s-2); }
.tiers__row { display: grid; grid-template-columns: 5.75rem minmax(0, 1fr); align-items: baseline; gap: var(--s-3); }
.tiers dt { font: 800 var(--fs-12)/1.3 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tiers dd { margin: 0; }

/* ---------- text beside a photo ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 0.5rem + 4vw, 4rem); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.split__body > h2 + *, .split__body > h3 + * { margin-top: var(--s-4); }
.split__body > * + .btn-row, .split__body > * + .link-arrow { margin-top: var(--s-5); }
.split--flip .split__media { order: 2; }
.split--top { align-items: start; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media { order: 0; }
}

/* ---------- plain text section, legal pages and blog posts ---------- */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: var(--s-4); }
.prose > h2 { margin-top: var(--s-7); font-size: var(--fs-28); }
.prose > h3 { margin-top: var(--s-6); font-size: var(--fs-20); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: 0; }
.prose li + li { margin-top: var(--s-2); }
.prose .link-list li + li { margin-top: 0; }   /* the link list is a grid: no stacked-list spacing between its cells */
.prose blockquote { margin-inline: 0; padding-left: var(--s-4); border-left: 3px solid var(--copper); color: var(--text); }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-16); }
.prose th, .prose td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--heading); font-family: var(--font-head); font-weight: 800; }

/* plain lists */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.75rem; }
.check-list li + li { margin-top: var(--s-3); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.75rem; height: 3px; background: var(--copper); }
.cols-list { list-style: none; margin: 0; padding: 0; columns: 3 11rem; column-gap: var(--s-6); }
.cols-list li { break-inside: avoid; padding-block: var(--s-1); }
.cols-list a { display: inline-flex; align-items: center; min-height: 28px; }

/* ---------- numbered steps: the number sits beside the heading, never above it ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--s-5) var(--s-6); }
.steps__item { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.steps__item::before { content: counter(step); grid-row: 1 / span 2; font: 900 var(--fs-28)/1.1 var(--font-head); color: var(--copper-text); }
.steps__title { font-size: var(--fs-20); align-self: center; }
.steps__text { grid-column: 2; margin: var(--s-2) 0 0; }

/* ---------- The Brown Way band ---------- */
.band-way { background: var(--navy); color: var(--on-navy); padding-block: var(--s-8); border-block: 1px solid var(--navy-line); }
.band-way__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-6) var(--s-8); align-items: center; }
.band-way__title { font-size: var(--fs-28); color: #fff; }
.band-way__text p { margin-top: var(--s-3); max-width: 30rem; }
.band-way__points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.band-way__points li { padding-left: var(--s-3); border-left: 3px solid var(--copper); font: 800 var(--fs-16)/1.3 var(--font-head); color: #fff; }
@media (max-width: 860px) { .band-way__inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .band-way__points { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } }

/* ---------- copper call-to-action band ---------- */
.band-cta { background: var(--copper); color: var(--on-copper); padding-block: var(--s-8); text-align: center; }
.band-cta__title { color: #fff; }
.band-cta__text { margin: var(--s-4) auto 0; max-width: 43rem; color: var(--on-copper); }
.band-cta__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-4); }
.band-cta a:not(.btn) { color: #fff; }
.band-cta .btn--navy { border-color: var(--navy); }
.band-cta .btn--outline { border-color: #fff; color: #fff; }
.band-cta .btn--outline:hover { background: #fff; border-color: #fff; color: var(--navy); }
.band-cta :focus-visible { outline-color: #fff; }

/* financing callout: Service Finance application, opened by the form below and by the finance buttons */
.finance-cta { background: var(--navy); color: #fff; padding-block: var(--s-8); }
.finance-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.finance-cta__title { color: #fff; }
.finance-cta__text { margin: var(--s-4) 0 0; max-width: 46rem; color: var(--on-navy); }
.finance-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.finance-cta__actions .btn--outline { border-color: #fff; color: #fff; }
.finance-cta__actions .btn--outline:hover { background: #fff; border-color: #fff; color: var(--navy); }
.finance-cta .btn--copper { border-color: var(--copper); }
.finance-cta :focus-visible { outline-color: #fff; }
.finance-cta__note { margin: var(--s-5) 0 0; max-width: 46rem; font-size: var(--fs-14); color: var(--on-navy-muted); }
.finance-cta__note a { color: var(--copper-text); }

/* ---------- photo gallery: 3 columns, then 2, then 1; opens in a viewer ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.gallery__item { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.25s ease; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__cap { display: block; padding: var(--s-3) var(--s-4); font-size: var(--fs-14); color: var(--text); border-top: 1px solid var(--line); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgb(12 12 14 / 0.96); }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--s-4); color: var(--muted); font-size: var(--fs-14); }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding-inline: var(--s-4); }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__cap { margin: 0; padding: var(--s-3) var(--s-4) var(--s-5); text-align: center; color: var(--text); font-size: var(--fs-16); }
.lightbox__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 var(--s-3); background: var(--surface); border: 1px solid var(--field-line); border-radius: var(--radius-btn); color: var(--heading); font: 800 var(--fs-20)/1 var(--font-head); cursor: pointer; }
.lightbox__btn:hover { border-color: var(--heading); }
.lightbox__nav { display: flex; gap: var(--s-2); }
body.has-lightbox { overflow: hidden; }

/* ---------- review block ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 860px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .review-grid { grid-template-columns: minmax(0, 1fr); } }
.review { margin: 0; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: var(--radius); }
.review__stars { color: var(--copper-text); font-size: var(--fs-16); letter-spacing: 0.2em; line-height: 1; }
.review__text { margin: 0; }
.review__text p { margin: 0; }
.review__by { margin-top: auto; font-size: var(--fs-14); color: var(--muted); }
.review__name { display: block; color: var(--heading); font-weight: 700; font-size: var(--fs-16); }

/* ---------- questions and answers ---------- */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding-block: var(--s-3); cursor: pointer; list-style: none; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: "+" / ""; flex: none; font: 800 var(--fs-24)/1 var(--font-head); color: var(--copper-text); }
.faq__item[open] > summary::after { content: "\2212" / ""; }
.faq__item > summary:hover .faq__q { color: var(--copper-text); }
.faq__q { font-size: var(--fs-20); }
.faq__a { padding-bottom: var(--s-5); max-width: 46rem; }

/* ---------- forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 0.5rem + 4vw, 4rem); align-items: start; }
@media (max-width: 860px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 0.75rem + 2vw, 2rem); }
.form { display: grid; gap: var(--s-5); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 640px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: var(--s-2); align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > label, .field__label { font-weight: 600; font-size: var(--fs-16); color: var(--heading); }
.field__req { color: var(--copper-text); }
.field__hint { font-size: var(--fs-14); color: var(--muted); }
.field__error { font-size: var(--fs-14); color: var(--error); }
.field :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%; min-height: 48px; padding: 0.75rem 0.875rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--field-line); border-radius: var(--radius-btn);
  font: inherit; font-size: var(--fs-16); line-height: 1.4;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--heading); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"], .field [aria-invalid="true"]:hover { border-color: var(--error); }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field--check { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-3); align-items: start; }
.field--check input { width: 24px; height: 24px; margin: 0.15em 0 0; accent-color: var(--copper); }
.field--check label { font-weight: 400; color: var(--text); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.form__status { margin: 0; padding: var(--s-3) var(--s-4); border-left: 3px solid var(--field-line); background: var(--bg); border-radius: 0 var(--radius-btn) var(--radius-btn) 0; }
.form__status:empty { display: none; }
.form__status[data-state="error"] { border-left-color: var(--error); color: var(--error); }
.form__status[data-state="ok"] { border-left-color: var(--ok); color: var(--ok); }
/* message box the form-keep script adds after a failed send: it is pale with dark text, so its phone link
   takes the box's own text colour (copper on that pale background is only 2.46 to 1) and a dark focus ring */
.wj-form-alert a, .wj-form-alert a:hover { color: inherit; }
.wj-form-alert a:focus-visible { outline-color: currentColor; }
/* reCAPTCHA v3 badge: hidden, which Google allows when its notice is shown in the form (it is, under each form).
   The badge frame was a keyboard stop with no visible focus ring, and it sat over the lower right corner on phones. */
.grecaptcha-badge { visibility: hidden; }

/* contact details list (Contact page, thank-you page) */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.contact-list__label { display: block; font: 800 var(--fs-12)/1.4 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--heading); font-weight: 700; }
.hours { margin: 0; display: grid; gap: var(--s-1); }
.hours > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-1) var(--s-4); max-width: 22rem; }
.hours dt { color: var(--text); }
.hours dd { margin: 0; color: var(--heading); font-weight: 600; }

/* message panel: thank-you and not-found pages */
.notice { max-width: 46rem; padding: clamp(1.25rem, 0.75rem + 2vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: var(--radius); }
.notice > * + * { margin-top: var(--s-4); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 var(--s-6); max-width: 46rem; }
.link-list a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.link-list a::after { color: var(--copper-text); }
.link-list a:hover { color: var(--copper-text); }
* + .link-list { margin-top: var(--s-5); }
.section-head + .link-list { margin-top: 0; }

/* ==========================================================================
   BLOG  (templates: _inc/templates/post.html and archive.html)
   ========================================================================== */
.wj-card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); color: var(--text); text-decoration: none; background: var(--wj-card-bg); border: 1px solid var(--wj-card-line); border-top: 3px solid var(--copper); border-radius: var(--radius); }
.wj-card__title { margin: 0; font: 800 var(--fs-20)/1.25 var(--font-head); color: var(--heading); }
.wj-card__title a { color: inherit; text-decoration: none; }
.wj-card__title a:hover { color: var(--copper-text); }
.wj-card__cat { order: 2; margin: 0; font: 800 var(--fs-12)/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-text); text-decoration: none; }
.wj-card__title { order: 1; }
.wj-card__excerpt { order: 3; margin: 0; color: var(--text); }
.wj-card__date { order: 4; font-size: var(--fs-14); color: var(--ink-mute); }
.wj-card__more { order: 5; margin-top: auto; font: 700 var(--fs-16)/1.3 var(--font-head); color: var(--copper-text); text-decoration: none; }
.wj-card__more:hover { color: var(--copper-text-hi); text-decoration: underline; }
.wj-card__cat, .wj-card__more { padding-block: 5px; }
.blog-empty { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.wj-pager, .pager, main nav[aria-label="Pagination"] { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-2); margin-top: var(--s-6); font-family: var(--font-head); font-weight: 800; }
.wj-pager a, .wj-pager span, .pager a, .pager span, main nav[aria-label="Pagination"] a, main nav[aria-label="Pagination"] span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-btn); color: var(--text); text-decoration: none; }
.wj-pager a:hover, .pager a:hover, main nav[aria-label="Pagination"] a:hover { border-color: var(--copper-text); color: var(--copper-text); }
.wj-pager [aria-current], .pager [aria-current], main nav[aria-label="Pagination"] [aria-current] { background: var(--copper); border-color: var(--copper); color: #fff; }

.post-head { padding-block: var(--s-7) var(--s-5); border-bottom: 1px solid var(--line); background: var(--surface); }
.post-head__title { max-width: 24ch; font-size: clamp(2rem, 1.3rem + 3vw, 3rem); }
.post-meta { margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); font-size: var(--fs-14); color: var(--muted); }
.post-meta a { display: inline-flex; align-items: center; min-height: 24px; color: var(--copper-text); font: 800 var(--fs-12)/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }
.post-body { padding-block: var(--s-7); }
.post-foot { margin-top: var(--s-7); }

/* author card: markup comes from the shared generator, colours are this site's */
.wj-author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-4); align-items: start; max-width: 46rem; margin-top: var(--s-7); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: var(--radius); }
.wj-author-avatar { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.wj-author-text > * { margin: 0; }
.wj-author-text > * + * { margin-top: var(--s-1); }
.wj-author-name { font: 800 var(--fs-20)/1.25 var(--font-head); color: var(--heading); }
.wj-author-name a { color: inherit; text-decoration: none; }
.wj-author-name a:hover { color: var(--copper-text); }
.wj-author-role { font-size: var(--fs-14); color: var(--muted); }
.wj-author-bio { margin-top: var(--s-3) !important; color: var(--text); }
.wj-author-highlights { list-style: none; margin: var(--s-3) 0 0 !important; padding: 0; font-size: var(--fs-14); color: var(--muted); }
@media (max-width: 420px) { .wj-author-box { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   SHARED FOOTER  (source: _inc/footer.php)
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--on-navy); padding-top: var(--s-7); font-size: var(--fs-16); }
.ftr-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: var(--s-6) var(--s-6); }
@media (max-width: 960px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); } }
.ftr-logo { display: inline-block; padding: var(--s-2); background: var(--surface); border-radius: var(--radius); }
.ftr-logo img { width: 10.25rem; height: auto; }
.ftr-line { margin: var(--s-4) 0 0; max-width: 20rem; color: var(--on-navy); }
.ftr-muted { margin: var(--s-3) 0 0; max-width: 20rem; font-size: var(--fs-14); color: var(--on-navy-muted); }
.ftr-title { margin: 0 0 var(--s-3); font: 800 var(--fs-14)/1.3 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.ftr-title--sub { margin-top: var(--s-5); }
.ftr-list { list-style: none; margin: 0; padding: 0; }
.ftr-list a { display: inline-flex; align-items: center; min-height: 28px; color: var(--on-navy-link); text-decoration: none; }
.ftr-list a:hover, .site-footer address a:hover, .ftr-phones a:hover, .ftr-legal a:hover, .ftr-note a:hover, .ftr-bar a:hover { color: #fff; text-decoration: underline; }
.site-footer address { color: var(--on-navy); }
.ftr-phones { list-style: none; margin: var(--s-3) 0 0; padding: 0; }
.ftr-phones li { display: flex; gap: var(--s-2); align-items: center; min-height: 28px; }
.ftr-phones li > span { min-width: 1.75rem; font: 800 var(--fs-12)/1 var(--font-head); letter-spacing: 0.1em; color: var(--on-navy-muted); }
.ftr-phones a { color: #fff; font-weight: 700; text-decoration: none; }
.ftr-hours { margin: 0; }
.ftr-hours > div + div { margin-top: var(--s-2); }
.ftr-hours dt { font-size: var(--fs-14); color: var(--on-navy-muted); }
.ftr-hours dd { margin: 0; color: #fff; font-weight: 600; }
.ftr-note { margin: var(--s-7) auto 0; max-width: 52rem; padding: var(--s-4) var(--s-5); border: 1px solid var(--navy-box); border-radius: var(--radius); text-align: center; color: var(--on-navy); }
.ftr-note a { color: #fff; font-weight: 700; }
/* bottom bar: copyright, the three legal links (Privacy Policy · Terms · Sitemap), the credit. Never hours. */
.ftr-bar { margin-top: var(--s-6); padding-block: var(--s-4); border-top: 1px solid var(--navy-line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-2) var(--s-5); font-size: var(--fs-14); color: var(--on-navy-muted); }
.ftr-bar p { margin: 0; }
.ftr-bar > p:last-child { justify-self: end; }
.ftr-bar a { display: inline-block; padding-block: 4px; color: var(--on-navy-link); }
.ftr-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.ftr-legal li + li::before { content: "\00B7"; content: "\00B7" / ""; margin-inline: var(--s-2); color: var(--on-navy-muted); }
.ftr-legal a { text-decoration: none; }
@media (max-width: 860px) {
  .ftr-bar { grid-template-columns: minmax(0, 1fr); }
  .ftr-bar > p:last-child { justify-self: start; }
}

/* ---------- motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .gallery__item:hover img, .link-arrow:hover::after { transform: none; }
}
@media print {
  .site-nav, .hdr-toggle, .hdr-cta, .band-cta, .skip-link, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}

.city-directory { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: var(--s-3) var(--s-5); }
.city-directory a { display: inline-flex; align-items: center; min-height: 44px; }
