/* ==========================================================================
   Briggs Air Conditioning - design system v3 "Proof of Work"
   Shared styles for all 8 pages: tokens, reset, type, utility bar, header/nav,
   footer, buttons, bands, proof tiles, coupons, cards, seal, photos, motion.

   Palette rule: white + navy + Briggs blue dominate; --heat is reserved for
   offers and urgency (coupon borders, seal, the header call button) and is
   never used for body text or whole-section backgrounds.
   ========================================================================== */

/* -- Tokens --------------------------------------------------------------- */
:root {
  --white: #FFFFFF;
  --paper: #F4F7FA;        /* alternating band fill, card surfaces on white */
  --ink: #1C2833;          /* body text, headings on light */
  --briggs-blue: #336699;  /* his declared hex - primary */
  --sky: #4D8CC8;          /* his button blue - large accents, hovers, icons */
  --frost: #B7D3EA;        /* tints, dividers, eyebrows on navy */
  --navy: #1B2F44;         /* utility bar, dark bands, footer, hero */
  --heat: #C0512B;         /* urgency/offer accent ONLY */
  --heat-deep: #A8431F;    /* heat for small text on light (AA below 18px) */
  --sun: #E89A3C;          /* sparing warm highlight, focus ring on dark */

  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;
  /* --s7 is kept because DESIGN-SYSTEM.md fixes the scale at 4..96px, but v3
     caps section padding at --s6 - v2's cathedral spacing is banned. */
  --s7: 96px;

  --radius-sm: 4px;
  --radius-pill: 999px;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Atkinson Hyperlegible', sans-serif;

  --shadow-soft: 0 6px 18px rgba(28, 40, 51, 0.12);

  --content-max: 1160px;
  --prose-max: 68ch;

  --header-h: 68px;
  --call-bar-h: 56px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: var(--call-bar-h);
}

@media (min-width: 900px) {
  body { font-size: 19px; padding-bottom: 0; }
}

img, svg { max-width: 100%; display: block; }

a { color: var(--briggs-blue); }
a:hover { color: var(--navy); }

ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 var(--s3); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 var(--s3);
}

h1 {
  font-size: clamp(2.4rem, 5vw + 1rem, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.005em;
}
h2 { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.5rem); }

.prose { max-width: var(--prose-max); }

/* -- Shared utilities ------------------------------------------------------ */
/* Flat card surface: credential cards, checker panel, offer card, contact
   block. Page CSS overrides the fill where it needs to. */
.surface {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: var(--radius-sm);
}

/* Hairline rule above a closing note inside a surface. */
.divider-top {
  border-top: 1px solid var(--frost);
  padding-top: var(--s4);
}

.text-lead { font-size: 1.12rem; }
.stack-top { margin-top: var(--s4); }
.stack-top-lg { margin-top: var(--s5); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s4);
}

.container--center { text-align: center; }
.container--center .prose { margin-inline: auto; }

/* Section eyebrow: ALL-CAPS display type above an h2. */
.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--briggs-blue);
  margin: 0 0 var(--s2);
}

/* Visible focus states. Navy reads AA on every light surface; the dark bands
   swap to --sun, which reads AA on navy. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.utility-bar a:focus-visible,
.hero a:focus-visible,
.page-hero a:focus-visible,
.band-navy a:focus-visible,
.offer-band a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--sun);
}

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

.skip-link {
  position: absolute;
  left: var(--s3);
  top: -100px;
  background: var(--navy);
  color: var(--white);
  padding: var(--s2) var(--s4);
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { top: var(--s3); }

.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--s4);
}

/* -- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s2) var(--s4);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

/* Urgency button - white on --heat is 4.7:1. Offers and "call now" only. */
.btn-heat {
  background: var(--heat);
  border-color: var(--heat);
  color: var(--white);
}
.btn-heat:hover { background: var(--heat-deep); border-color: var(--heat-deep); color: var(--white); }

.btn-primary {
  background: var(--briggs-blue);
  border-color: var(--briggs-blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--navy); }

/* Legacy class name from v2 (kept so subpage body markup stays untouched);
   in v3 the outline is Briggs blue, not ink. */
.btn-outline-ink {
  background: transparent;
  border-color: var(--briggs-blue);
  color: var(--briggs-blue);
}
.btn-outline-ink:hover { background: var(--briggs-blue); color: var(--white); }

/* -- Utility bar ----------------------------------------------------------- */
.utility-bar {
  background: var(--navy);
  color: var(--frost);
}
.utility-bar__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: var(--s1) var(--s4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}
.utility-bar__trust {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--frost);
}
.utility-bar__tel {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: var(--white);
  text-decoration: none;
}
.utility-bar__tel:hover { color: var(--sun); }

@media (min-width: 760px) {
  .utility-bar__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding-block: 0;
  }
  .utility-bar__tel { min-height: 48px; font-size: 1.15rem; }
}

/* -- Header / Nav ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--briggs-blue);
}

.site-header__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-inline: var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
  line-height: 1;
}
.wordmark__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: .03em;
  color: var(--navy);
}
.wordmark__tagline {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--briggs-blue);
}

/* Desktop-only header call button; mobile keeps the sticky bottom call bar
   plus the phone number in the utility bar. */
.header-call { display: none; }

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--briggs-blue);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.hamburger__box { position: relative; width: 22px; height: 16px; }
.hamburger__line,
.hamburger__line::before,
.hamburger__line::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.hamburger__line { top: 7px; }
.hamburger__line::before { content: ""; top: -7px; }
.hamburger__line::after { content: ""; top: 7px; }

.site-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--frost);
}
.site-nav.is-open { display: block; }
.site-nav__list {
  display: flex;
  flex-direction: column;
  padding: 0 var(--s4) var(--s3);
}
.site-nav__list li + li { border-top: 1px solid var(--frost); }
.site-nav__list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: var(--navy);
}
.site-nav__list a[aria-current="page"] { color: var(--briggs-blue); }
.site-nav__list a:hover { color: var(--briggs-blue); }

@media (min-width: 980px) {
  .header-call { display: inline-flex; }
  .hamburger { display: none; }
  .site-nav {
    display: block !important;
    border-top: 1px solid var(--frost);
    background: var(--paper);
  }
  .site-nav__list {
    flex-direction: row;
    align-items: center;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 0 var(--s4);
    gap: var(--s4);
  }
  .site-nav__list li + li { border-top: none; }
  .site-nav__list a {
    min-height: 48px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .05em;
  }
}

/* -- Sticky mobile call bar ------------------------------------------------ */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--heat);
  border-top: 3px solid var(--navy);
}
.call-bar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--call-bar-h);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .03em;
  text-decoration: none;
  color: var(--white);
}

@media (min-width: 900px) {
  .call-bar { display: none; }
}

/* -- Section bands --------------------------------------------------------- */
/* Straight horizontal edges only - v2's diagonal clip-paths are gone. */
.band { padding-block: var(--s5); }
@media (min-width: 900px) {
  .band { padding-block: var(--s6); }
}
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }
.band-navy {
  background-color: var(--navy);
  background-image: url("../images/frost-pattern.svg");
  color: var(--paper);
}
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy a:not(.btn) { color: var(--sun); }
.band-navy .section-eyebrow { color: var(--frost); }

/* Hairline between two same-colour bands so density never turns to mush. */
.band-white + .band-white,
.band-paper + .band-paper { border-top: 1px solid var(--frost); }

/* -- Cards ----------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  background: var(--white);
  border: 1px solid var(--frost);
  border-left: 4px solid var(--briggs-blue);
  border-radius: var(--radius-sm);
  padding: var(--s4);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--sky);
  border-left-color: var(--navy);
}
.card__icon { width: 40px; height: 40px; }
.card__title { margin: 0; font-size: 1.35rem; }
.card__text { margin: 0; font-size: .95rem; color: var(--ink); }
.card__link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--briggs-blue);
}

/* -- Seal / pills / badges -------------------------------------------------- */
.seal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 176px;
  height: 176px;
  border-radius: var(--radius-pill);
  border: 3px solid var(--sun);
  outline: 1px solid var(--sun);
  outline-offset: -8px;
  color: var(--white);
  background: var(--heat);
  transform: rotate(-5deg);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  padding: var(--s3);
  margin: 0;
}
/* Sized so the longest line, PROCRASTINATE!, stays inside the circle. */
.seal__line { font-size: .95rem; letter-spacing: .02em; }
.seal__line + .seal__line { margin-top: var(--s1); }
@media (min-width: 700px) {
  .seal { width: 210px; height: 210px; padding: var(--s4); }
  .seal__line { font-size: 1.1rem; }
}

.pill {
  display: inline-block;
  padding: var(--s1) var(--s3);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--briggs-blue);
  color: var(--white);
  margin: 0 0 var(--s3);
}
.band-navy .pill { background: var(--sky); color: var(--navy); }

/* Above-the-fold trust badges (hero). */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--frost);
  border-radius: var(--radius-sm);
  padding: 6px var(--s3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
}

/* -- Offer band (dark, full width) ------------------------------------------ */
.offer-band {
  background-color: var(--navy);
  background-image: url("../images/frost-pattern.svg");
  color: var(--white);
  text-align: center;
}
.offer-band__figure {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 4.4rem);
  color: var(--sun);
  line-height: 1;
  margin-bottom: var(--s2);
}
.offer-band__text { font-size: 1.12rem; max-width: 46ch; margin-inline: auto; }

/* -- Proof wall ------------------------------------------------------------- */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
}
@media (min-width: 560px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
}

.proof-tile {
  background: var(--white);
  border: 1px solid var(--frost);
  border-top: 4px solid var(--briggs-blue);
  border-radius: var(--radius-sm);
  padding: var(--s4);
}
.proof-tile__figure {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: var(--briggs-blue);
  margin: 0 0 var(--s2);
}
.proof-tile__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--s1);
}
.proof-tile__text { margin: 0; font-size: .92rem; }

/* -- Coupon cards (offers) --------------------------------------------------- */
/* The vernacular done cleanly: 2px dashed --heat, no invented prices. */
.coupon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
@media (min-width: 700px) {
  .coupon-grid { grid-template-columns: repeat(3, 1fr); }
}

.coupon {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  background: var(--white);
  border: 2px dashed var(--heat);
  border-radius: var(--radius-sm);
  padding: var(--s4);
}
.coupon__figure {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  line-height: 1;
  color: var(--heat-deep);
  margin: 0;
}
.coupon__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}
.coupon__text { margin: 0; font-size: .95rem; }
.coupon__cta { margin-top: auto; padding-top: var(--s3); }
.coupon__cta .btn { width: 100%; }

/* -- Our Work photo grid ------------------------------------------------------ */
/* 4 columns at the 1160px cap gives ~272px cells; the narrowest source photo is
   224px native, so nothing is displayed above 1.25x its native width. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s2);
}
@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); }
}
.work-grid figure {
  margin: 0;
  border: 2px solid var(--frost);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.work-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* -- A Word from Chauncey ------------------------------------------------------ */
.owner-word {
  margin: 0;
  border-left: 4px solid var(--briggs-blue);
  padding-left: var(--s4);
  max-width: var(--prose-max);
}
.owner-word__sig {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--navy);
  margin: var(--s4) 0 0;
}
.owner-word__sig span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--briggs-blue);
}

/* -- What Neighbors Say --------------------------------------------------------- */
/* Verbatim quotes, initials only. No ratings, no dates - never add either. */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
@media (min-width: 800px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--frost);
  border-left: 4px solid var(--briggs-blue);
  border-radius: var(--radius-sm);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
}
.review blockquote { margin: 0; }
.review blockquote p {
  margin: 0;
  font-size: 1.08rem;
}
.review figcaption {
  margin-top: var(--s3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .06em;
  color: var(--navy);
}

/* -- Guarantee band layout ------------------------------------------------------ */
.guarantee-layout {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.guarantee-copy { flex: 1 1 auto; min-width: 0; }
.guarantee-seal-wrap { align-self: center; }
@media (min-width: 900px) {
  .guarantee-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s5);
  }
  .guarantee-seal-wrap { align-self: auto; flex-shrink: 0; }
}

/* -- Brands strip ---------------------------------------------------------------- */
.brands-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.brands-strip__list li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .04em;
  padding: var(--s1) var(--s4);
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
}

/* -- Service area ---------------------------------------------------------------- */
.area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: var(--s4) 0 0;
}
.area-cities li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .03em;
  padding: 6px var(--s3);
  border: 1px solid var(--frost);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
}
/* Decorative White Tank Mountains motif: full-bleed, flush with the band's
   bottom edge, so the band closes on the skyline instead of on dead space. */
.band-area { padding-bottom: 0; }
.area-silhouette {
  width: 100%;
  height: auto;
  margin-top: var(--s5);
}

/* -- Contact strip ----------------------------------------------------------------- */
.contact-strip__grid {
  display: grid;
  gap: var(--s4);
}
@media (min-width: 700px) {
  .contact-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-strip__grid dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--briggs-blue);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.contact-strip__grid dd { margin: 0 0 var(--s3); }
.contact-strip__grid dd a { font-weight: 700; }

/* -- Accordion (styled <details>) ---------------------------------------------------- */
.accordion { border-top: 1px solid var(--frost); }
.accordion-item { border-bottom: 1px solid var(--frost); }
.accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 48px;
  padding: var(--s3) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.6rem;
  color: var(--briggs-blue);
}
.accordion-item[open] summary::after { content: "\2212"; }
.accordion-item p { padding-bottom: var(--s3); color: var(--ink); }

/* -- Hero (index) --------------------------------------------------------------------- */
.hero {
  background-color: var(--navy);
  background-image: url("../images/frost-pattern.svg");
  color: var(--white);
  padding-block: var(--s5);
  border-bottom: 4px solid var(--heat);
}
@media (min-width: 900px) {
  .hero { padding-block: var(--s6); }
}
.hero__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--s4);
  display: grid;
  gap: var(--s5);
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: var(--s5);
  }
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 1rem;
  color: var(--frost);
  margin: 0 0 var(--s2);
}
.hero__headline { color: var(--white); margin-bottom: var(--s3); }
.hero__sub { max-width: 52ch; font-size: 1.12rem; color: var(--paper); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s4);
}

/* Hero media: real job photo under a navy scrim, mascot standing at its edge.
   Capped at 520px against a 1000px-native source - no upscaling. */
.hero__media { position: relative; }
.hero__photo {
  position: relative;
  max-width: 520px;
  border: 3px solid var(--sky);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0;
}
.hero__photo img { width: 100%; height: auto; }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(27, 47, 68, .04) 0%, rgba(27, 47, 68, .42) 100%);
}
.hero__mascot {
  width: 150px;
  height: auto;
  margin: calc(-1 * var(--s4)) auto 0;
}
@media (min-width: 900px) {
  .hero__photo { margin-left: auto; }
  .hero__mascot {
    position: absolute;
    left: 0;
    bottom: calc(-1 * var(--s4));
    width: 158px;
    margin: 0;
    z-index: 2;
  }
}

/* -- Client-photo frames (subpages) --------------------------------------------------- */
/* Real evidence photos, never displayed beyond 1.5x their native pixel width;
   page CSS sets the per-image cap against each photo's native dimensions. */
.photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  margin-top: var(--s4);
}
.photo-frame {
  margin: 0;
  background: var(--white);
  border: 3px solid var(--briggs-blue);
  border-radius: var(--radius-sm);
  padding: var(--s2);
  display: inline-flex;
  flex-direction: column;
  gap: var(--s2);
  max-width: 100%;
}
.photo-frame img {
  border-radius: 2px;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* -- Interior page hero (all non-home pages) ------------------------------------------- */
.page-hero {
  background-color: var(--navy);
  background-image: url("../images/frost-pattern.svg");
  color: var(--paper);
  padding-block: var(--s5);
  border-bottom: 4px solid var(--heat);
}
@media (min-width: 900px) {
  .page-hero { padding-block: var(--s6); }
}
.page-hero__eyebrow {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--frost);
  margin-bottom: var(--s2);
}
.eyebrow-flake {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 8px;
  width: 16px;
  height: 16px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0 0 var(--s4);
  color: var(--white);
}
.page-hero__lede {
  max-width: 62ch;
  font-size: 1.12rem;
  margin: 0;
}

/* -- Footer ------------------------------------------------------------------------------ */
.site-footer {
  background-color: var(--navy);
  background-image: url("../images/frost-pattern.svg");
  color: var(--paper);
}
.site-footer__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: var(--s5) var(--s4) var(--s4);
  display: grid;
  gap: var(--s5);
}
@media (min-width: 700px) {
  .site-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; }
}
/* The footer repeats the wordmark outside the <a class="wordmark"> flex column,
   so the mark needs its own block context here. */
.site-footer .wordmark__mark { display: block; color: var(--white); }
.site-footer .wordmark__tagline { display: block; color: var(--frost); margin: 0; }
.footer-motto {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--sun);
  margin: var(--s2) 0 var(--s3);
}
.footer-mascot { width: 108px; height: auto; }
.footer-nav ul { display: flex; flex-direction: column; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .03em;
}
.footer-nav a:hover { color: var(--sun); }
.footer-contact a { color: var(--paper); }
.footer-contact a:hover { color: var(--sun); }
.footer-contact p { margin: 0 0 var(--s2); font-size: .95rem; }
/* Element+class selector so this beats `.footer-contact p` above. */
.footer-contact p.footer-contact__tel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: var(--s2);
}
.footer-contact__tel a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--white);
  text-decoration: none;
}

.site-footer__legal {
  border-top: 1px solid rgba(244, 247, 250, 0.25);
  padding: var(--s4);
  text-align: center;
  font-size: .82rem;
  color: rgba(244, 247, 250, 0.82);
}
.site-footer__legal p { margin: 0 0 var(--s1); }

/* -- Motion ---------------------------------------------------------------------------- */
/* Minimal and functional: hover states above, plus one short hero fade on load.
   Nothing moves while a senior is reading - no ambient loops, no scroll-driven
   reveals. v2.1's heat-shimmer and cooling bar are deleted, not disabled. */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow,
  .hero__headline,
  .hero__sub,
  .hero__actions,
  .badge-row,
  .hero__media {
    animation: hero-in .35s ease-out both;
  }
  .hero__headline { animation-delay: 60ms; }
  .hero__sub { animation-delay: 100ms; }
  .hero__actions { animation-delay: 140ms; }
  .badge-row { animation-delay: 180ms; }
  .hero__media { animation-delay: 180ms; }

  @keyframes hero-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}
