/* Plumsteadville HVAC Pros
   ---------------------------------------------------------------------------
   Palette is a furnace room rather than a contractor-blue template: cast-iron
   slate, sheet-metal primer, burner-flame ember, and a steel blue for the
   cooling side. Ember and steel are load-bearing - they mark heating versus
   cooling consistently across the site, so colour carries information.

   Type pairs Archivo (industrial signage, equipment nameplates) with Source
   Serif 4 for body. The serif is deliberate: twelve long service and blog
   pages need comfortable reading, and it reads owner-run rather than startup.
   --------------------------------------------------------------------------- */

:root {
  color-scheme: light;

  --slate:       #1f2730;
  --slate-deep:  #161d24;
  --slate-soft:  #2b3641;
  --primer:      #edeff1;
  --paper:       #f7f8f9;
  --white:       #ffffff;

  --ember:       #e2521b;
  --ember-deep:  #b83d10;   /* white text passes AA on this */
  --ember-wash:  #fdf0ea;

  --steel:       #3e7c8c;
  --steel-deep:  #2f616e;   /* white text passes AA on this */
  --steel-wash:  #ecf3f5;

  --copper:      #a9743f;
  --copper-deep: #845525;
  --copper-wash: #f8f2ea;

  --ink:         #121a21;
  --ink-soft:    #46525c;
  --rule:        #d3d8dc;
  --rule-soft:   #e4e8eb;

  --font-display: Archivo, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* major-third scale, fluid where it earns it */
  --t--1: 0.8125rem;
  --t-0:  1.0625rem;
  --t-1:  1.33rem;
  --t-2:  clamp(1.45rem, 1.2rem + 1.1vw, 1.66rem);
  --t-3:  clamp(1.7rem, 1.35rem + 1.7vw, 2.07rem);
  --t-4:  clamp(2rem, 1.5rem + 2.6vw, 2.59rem);
  --t-5:  clamp(2.3rem, 1.5rem + 4vw, 3.4rem);

  --measure: 68ch;
  --gutter: 1.25rem;
  --shell: 72rem;

  --radius: 3px;      /* restrained; this is sheet metal, not a SaaS card */
}

/* ---------------------------------------------------------------- reset */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-0);
  line-height: 1.68;
  font-synthesis-weight: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--t-5); }
h2 { font-size: var(--t-3); }
h3 { font-size: var(--t-1); font-weight: 700; letter-spacing: -0.005em; }
h4 { font-size: var(--t-0); font-weight: 700; }

p, ul, ol, dl { margin: 0 0 1.1em; }
p { max-width: var(--measure); }
li { margin-bottom: 0.4em; }

a { color: var(--ember-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ember); }

img { max-width: 100%; height: auto; display: block; }

strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--steel-deep);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------- layout */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.band--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.band--slate { background: var(--slate); color: var(--primer); }
.band--primer { background: var(--primer); }
.band--rule { border-top: 1px solid var(--rule); }

.band--slate h1,
.band--slate h2,
.band--slate h3 { color: var(--white); }
.band--slate a { color: #f0a884; }
.band--slate a:hover { color: #ffc4a8; }

.skip {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* --------------------------------------------------------------- header */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--slate);
  color: var(--primer);
  border-bottom: 3px solid var(--ember);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.wordmark:hover { color: var(--white); }
.wordmark span { display: block; }
.wordmark small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: #9fb0bd;
}

/* the mark reads as a dial at temperature - the site's organising idea */
.dial {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 2px solid var(--primer);
  background:
    conic-gradient(from 220deg, var(--steel) 0deg, var(--copper) 95deg, var(--ember) 170deg, transparent 170deg);
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
}
.nav a { color: var(--primer); text-decoration: none; }
.nav a:hover { color: var(--white); text-decoration: underline; }
.nav a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--ember);
}

.callbtn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.97rem;
  background: var(--ember-deep);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.callbtn:hover { background: var(--ember); color: var(--white); }

/* ------------------------------------------------------------- the burger

   Hidden entirely on desktop, where the nav sits inline. */

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem 0.35rem;
  cursor: pointer;
  flex: none;
}

.burger__bars,
.burger__bars::before,
.burger__bars::after {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--primer);
  border-radius: 2px;
}
.burger__bars { position: relative; transition: background-color 0.15s; }
.burger__bars::before { content: ""; position: absolute; top: -7px; transition: transform 0.18s; }
.burger__bars::after  { content: ""; position: absolute; top:  7px; transition: transform 0.18s; }

.masthead.is-open .burger__bars { background: transparent; }
.masthead.is-open .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.masthead.is-open .burger__bars::after  { transform: translateY(-7px) rotate(-45deg); }

.nav__call { display: none; }

@media (max-width: 53rem) {
  /* One row: mark on the left, burger on the right. The links move into a
     panel beneath, and the header's phone button goes - the pinned call bar
     at the bottom of the viewport already carries the number. */
  .masthead .callbtn { display: none; }
  .burger { display: block; }

  .masthead__inner {
    min-height: 0;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-block: 0.55rem;
  }
  .wordmark { font-size: 0.98rem; margin-right: auto; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--slate-deep);
    border-bottom: 3px solid var(--ember);
    padding: 0 0 0.5rem;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
  }
  .masthead.is-open .nav { display: flex; }

  .nav a {
    padding: 0.9rem var(--gutter);
    border-top: 1px solid #2b3641;
    font-size: 1rem;
  }
  .nav a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--ember);
    background: #1b232c;
  }
  .nav__call {
    display: block;
    margin: 0.65rem var(--gutter) 0;
    padding: 0.8rem 1rem !important;
    background: var(--ember-deep);
    color: var(--white) !important;
    border-top: 0 !important;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
  }
  .nav__call:hover { background: var(--ember); text-decoration: none !important; }
}

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

.hero { background: var(--slate); color: var(--primer); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.hero h1 { color: var(--white); max-width: 22ch; }

.hero__lede {
  font-size: var(--t-1);
  line-height: 1.5;
  color: #c9d5de;
  margin-top: 1.1rem;
  max-width: 44ch;
}

.hero__meta {
  margin-top: 1.5rem;
  font-size: var(--t--1);
  color: #9fb0bd;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.75rem;
}

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-0);
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  display: inline-block;
}
.btn--ember { background: var(--ember-deep); color: var(--white); }
.btn--ember:hover { background: var(--ember); color: var(--white); }
.btn--ghost { border-color: #5d6e7b; color: var(--primer); }
.btn--ghost:hover { border-color: var(--primer); color: var(--white); }

.btn--wide { font-size: var(--t-1); padding: 1rem 1.65rem; }

@media (max-width: 53rem) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- the temperature scale

   The one bold element. Services sit on a hot-to-cold rail so a homeowner can
   find the right page by what their system is doing, and the ember/steel
   colour coding stays consistent everywhere else on the site.             */

.scale {
  border: 1px solid #3b4753;
  border-radius: var(--radius);
  background: var(--slate-deep);
  padding: 1.1rem 1.15rem 1.25rem;
}

.scale__head {
  font-family: var(--font-display);
  font-size: var(--t--1);
  font-weight: 700;
  color: var(--primer);
  margin-bottom: 0.85rem;
}

.scale__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
  position: relative;
}

/* the rail itself */
.scale__list::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    var(--ember) 0%,
    var(--ember) 34%,
    var(--copper) 52%,
    var(--steel) 78%,
    var(--steel) 100%
  );
}

.scale__item { margin: 0; }

.scale__item a {
  display: block;
  padding: 0.42rem 0.4rem 0.46rem 0;
  color: var(--primer);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 2px;
  position: relative;
}
.scale__item a::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 1rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  border: 2px solid var(--slate-deep);
  transform: translateY(-50%);
}
.scale__item--hot  a::before { background: var(--ember); }
.scale__item--air  a::before { background: var(--copper); }
.scale__item--cold a::before { background: var(--steel); }

.scale__item a:hover { color: var(--white); background: #202a34; }
.scale__item a:hover .scale__note { color: #c9d5de; }

.scale__note {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.83rem;
  color: #8fa1af;
  line-height: 1.4;
  margin-top: 0.1rem;
}

.scale__ends {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #8fa1af;
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid #333f4a;
}

/* --------------------------------------------------------- service cards

   Deliberately not a uniform card kit: a left rule in the band colour, no
   shadow, no identical rounded boxes.                                    */

.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.1rem;
}

.svc {
  background: var(--white);
  padding: 1.35rem 1.4rem 1.5rem;
  margin: 0;
  border: 1px solid var(--rule-soft);
  border-left: 4px solid var(--rule);
}
.svc--hot  { border-left-color: var(--ember); }
.svc--air  { border-left-color: var(--copper); }
.svc--cold { border-left-color: var(--steel); }

.svc h3 { margin-bottom: 0.35rem; }
.svc h3 a { color: var(--ink); text-decoration: none; }
.svc h3 a:hover { color: var(--ember-deep); text-decoration: underline; }

.svc__tag {
  font-family: var(--font-display);
  font-size: var(--t--1);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.svc p { font-size: 0.97rem; margin-bottom: 0; color: var(--ink-soft); }

/* ------------------------------------------------------------- symptoms */

.symptoms {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2.25rem;
}
.symptoms li {
  break-inside: avoid;
  margin-bottom: 0.55rem;
  padding-left: 1.15rem;
  position: relative;
}
.symptoms a { color: var(--ink); text-decoration-color: var(--ember); }
.symptoms a:hover { color: var(--ember-deep); }

.symptoms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.5rem;
  height: 2px;
  background: var(--ember);
}
@media (max-width: 40rem) { .symptoms { columns: 1; } }

/* ----------------------------------------------------------- call steps */

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps > li {
  counter-increment: s;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.4rem;
  max-width: var(--measure);
}
.steps > li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  background: var(--ember-deep);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
}
.steps h3 { margin-bottom: 0.2rem; }
.steps p { margin-bottom: 0; }

/* ------------------------------------------------------- service area */

.area-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.area-stats div { margin: 0; }
.area-stats dt {
  font-family: var(--font-display);
  font-size: var(--t-4);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.area-stats dd {
  margin: 0.3rem 0 0;
  font-size: var(--t--1);
  color: var(--ink-soft);
  max-width: 18ch;
}

.county {
  border-top: 1px solid var(--rule);
  padding: 0;
}
.county:last-of-type { border-bottom: 1px solid var(--rule); }

.county > summary {
  cursor: pointer;
  padding: 0.8rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-0);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  list-style: none;
}
.county > summary::-webkit-details-marker { display: none; }
.county > summary::before {
  content: "+";
  font-weight: 700;
  color: var(--ember-deep);
  width: 1rem;
  flex: none;
}
.county[open] > summary::before { content: "\2212"; }
.county > summary:hover { color: var(--ember-deep); }

.county__count {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--t--1);
  color: var(--ink-soft);
  margin-left: auto;
}

.towns {
  list-style: none;
  padding: 0.25rem 0 1.1rem 1.6rem;
  margin: 0;
  columns: 4;
  column-gap: 1.75rem;
  font-size: 0.93rem;
}
.towns li { break-inside: avoid; margin-bottom: 0.3rem; color: var(--ink-soft); }
.towns a { color: var(--ink-soft); text-decoration: none; }
.towns a:hover { color: var(--ember-deep); text-decoration: underline; }

@media (max-width: 62rem) { .towns { columns: 3; } }
@media (max-width: 44rem) { .towns { columns: 2; } }
@media (max-width: 30rem) { .towns { columns: 1; } }

/* ----------------------------------------------------------- prose body */

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.4rem; margin-bottom: 0.7rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.45rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { max-width: var(--measure); }

.lede {
  font-size: var(--t-1);
  line-height: 1.55;
  color: var(--slate-soft);
}

.pullout {
  border-left: 4px solid var(--steel);
  background: var(--steel-wash);
  padding: 1.1rem 1.25rem;
  margin: 1.8rem 0;
  max-width: var(--measure);
}
.pullout p:last-child { margin-bottom: 0; }
.pullout h3 { margin-top: 0; }

.warn {
  border-left: 4px solid var(--ember);
  background: var(--ember-wash);
  padding: 1.1rem 1.25rem;
  margin: 1.8rem 0;
  max-width: var(--measure);
}
.warn p:last-child { margin-bottom: 0; }
.warn h3 { margin-top: 0; }

/* -------------------------------------------------------------- page top */

.pagehead { background: var(--primer); border-bottom: 1px solid var(--rule); }
.pagehead__inner { padding-block: clamp(1.9rem, 4vw, 3rem); }
.pagehead h1 { max-width: 26ch; }
.pagehead .lede { margin-top: 0.9rem; max-width: 52ch; }

.crumbs {
  font-family: var(--font-display);
  font-size: var(--t--1);
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: var(--rule); }
.crumbs a { color: var(--ink-soft); }

/* ------------------------------------------------------------------ faq */

.faq { max-width: var(--measure); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item:first-child { border-top: 1px solid var(--rule); }
.faq__item > summary {
  cursor: pointer;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-0);
  list-style: none;
  display: flex;
  gap: 0.7rem;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::before {
  content: "+";
  color: var(--ember-deep);
  flex: none;
  width: 0.9rem;
}
.faq__item[open] > summary::before { content: "\2212"; }
.faq__item > summary:hover { color: var(--ember-deep); }
.faq__body { padding: 0 0 1.1rem 1.6rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------- blog cards */

.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.post {
  background: var(--white);
  margin: 0;
  padding: 1.5rem 1.6rem 1.6rem;
  border: 1px solid var(--rule-soft);
  border-left: 4px solid var(--copper);
}
.post h3 { font-size: var(--t-2); font-weight: 800; margin-bottom: 0.4rem; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a:hover { color: var(--ember-deep); text-decoration: underline; }
.post__meta { font-size: var(--t--1); color: var(--ink-soft); margin-bottom: 0.6rem; }
.post p { margin-bottom: 0; color: var(--ink-soft); }

.postbody { max-width: var(--measure); }
.postbody h2 { margin-top: 2.3rem; margin-bottom: 0.6rem; }
.postbody h3 { margin-top: 1.7rem; margin-bottom: 0.4rem; }

/* -------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2rem;
}
.contact-block h3 { margin-bottom: 0.5rem; }
.contact-block p { margin-bottom: 0.4rem; }
.contact-big {
  font-family: var(--font-display);
  font-size: var(--t-2);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.contact-big a { text-decoration: none; }

address { font-style: normal; }

/* --------------------------------------------------------------- footer */

.foot {
  background: var(--slate-deep);
  color: #9fb0bd;
  padding-block: 2.75rem 7rem;
  font-size: 0.93rem;
}
.foot h3 {
  color: var(--white);
  font-size: var(--t--1);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2b3641;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 0.4rem; }
.foot a { color: #c9d5de; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot__base { padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.foot__base p { margin: 0; max-width: 60ch; font-size: 0.86rem; }

/* ------------------------------------------------- mobile call-now bar

   HVAC converts on phone calls, so on a phone the number is pinned to the
   bottom of the viewport where a thumb already is.                      */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  background: var(--ember-deep);
  border-top: 1px solid #8f2f08;
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-0);
}
.callbar small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  opacity: 0.85;
}

@media (max-width: 53rem) {
  .callbar { display: block; }
  .foot { padding-bottom: 5.5rem; }
}

/* ---------------------------------------------------------------- utils */

.stack-sm > * + * { margin-top: 0.75rem; }
.mt-0 { margin-top: 0; }
.wide { max-width: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* ========================================================== photography ===

   Images carry their own width and height so the browser reserves the space
   before they load and nothing shifts underneath the reader. */

.shot {
  margin: 2.1rem 0;
  max-width: var(--measure);
}
.shot picture { display: block; }
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  background: var(--primer);
}
.shot figcaption {
  font-size: var(--t--1);
  color: var(--ink-soft);
  margin-top: 0.6rem;
  max-width: var(--measure);
}

/* Portraits are constrained so a 3:4 frame does not dominate a text column. */
.shot--portrait { max-width: 21rem; }
.shot--portrait img { aspect-ratio: 3 / 4; object-fit: cover; }

/* A lead image runs wider than the text column it introduces. */
.shot--lead { max-width: none; margin: 0 0 0.5rem; }
.shot--lead img { aspect-ratio: 16 / 8; object-fit: cover; }

.shot--inset { max-width: none; margin-block: 0; }
.shot--inset img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Image beside text. Used for the owner portrait and the team shot. */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.media-split .shot { margin: 0; max-width: none; }
.media-split--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.media-split__body > :last-child { margin-bottom: 0; }

@media (max-width: 48rem) {
  .media-split,
  .media-split--wide { grid-template-columns: 1fr; }
}

/* ---------------------------------------- photographic section backgrounds

   The overlay is angled so the image stays readable behind the panel on the
   right while the headline on the left keeps full contrast. On a phone the
   content stacks over the whole frame, so the wash goes flat and darker. */

.hero--photo,
.band--photo {
  background-color: var(--slate);
  background-image:
    linear-gradient(100deg,
      rgba(27, 34, 42, 0.975) 0%,
      rgba(27, 34, 42, 0.935) 40%,
      rgba(27, 34, 42, 0.70) 100%),
    var(--shot);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 53rem) {
  .hero--photo,
  .band--photo {
    background-image:
      linear-gradient(rgba(27, 34, 42, 0.95), rgba(27, 34, 42, 0.95)),
      var(--shot);
  }
}

/* ========================================================== city pages ===

   The fact strip under the heading is the page's most differentiating
   content, so it sits above the fold rather than buried in prose. */

.factbar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.2rem;
  padding: 0;
  margin: 1.6rem 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
}
.factbar li {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-0);
  color: var(--ink);
  line-height: 1.25;
}
.factbar span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--t--1);
  color: var(--ink-soft);
  margin-bottom: 0.1rem;
}

/* Named local landmarks. Real, verifiable, and different on every page. */
.marks {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.marks li {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 0.45rem 0.8rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* Proximity links to neighbouring towns: the lateral mesh between city
   pages, and more useful to a reader than an alphabetical list. */
.neighbours {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.6rem;
}
.neighbours li { margin: 0; }
.neighbours a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--steel);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.neighbours a:hover { border-left-color: var(--ember); color: var(--ember-deep); }
.neighbours span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--t--1);
  color: var(--ink-soft);
  white-space: nowrap;
}
