/* Daniel's Plumbing Services
   Tokens taken from the logo: navy lettering (#182545) and copper hardware.
   Button copper is darker than the logo highlight so white text stays readable. */

:root {
  --navy: #182545;
  --navy-deep: #10182e;
  --copper: #8e6245;
  --copper-deep: #7a4e36;
  --copper-deep-hover: #6b4330;
  --copper-bright: #c4896a;
  --white: #ffffff;
  --ink: #182545;
  --muted: #5c6573;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  --header-max: 1200px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --nav-break: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: var(--space-4);
  top: 0;
  transform: translateY(-120%);
  background: var(--white);
  color: var(--navy);
  padding: var(--space-3) var(--space-4);
  z-index: 30;
  font-weight: 700;
}

.skip:focus {
  transform: none;
}

/* Header ------------------------------------------------ */

.site-header {
  position: relative;
  z-index: 2;
  background: var(--white);
}

.utility-inner {
  width: min(var(--header-max), calc(100% - 32px));
  margin-inline: auto;
}

.utility-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  flex: none;
}

.header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.phone:hover,
.phone:focus-visible {
  color: var(--copper-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--copper-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.btn:hover,
.btn:focus-visible {
  background: var(--copper-deep-hover);
}

/* Nav --------------------------------------------------- */

.nav {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 52px;
  background: var(--navy);
  color: var(--white);
}

.nav-inner {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
  width: auto;
  margin: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline-color: var(--copper-bright);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  content: "";
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 6px 0 10px;
  list-style: none;
}

.has-js .nav-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 19;
  background: var(--navy-deep);
}

.has-js.is-open .nav-list {
  display: flex;
}

.nav-list a {
  display: block;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--copper-bright);
}

.nav-list a:focus-visible {
  outline-color: var(--copper-bright);
}

.nav-facebook svg {
  display: none;
  width: 22px;
  height: 22px;
}

.nav-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
  padding: 0 18px;
  background: var(--copper-deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--copper-deep-hover);
}

.nav-cta:hover::after,
.nav-cta:focus-visible::after {
  background: var(--copper-deep-hover);
}

.nav-cta:focus-visible {
  outline-color: var(--copper-bright);
}

/* Hero -------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 560px;
  padding: 28px 0 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(16, 24, 46, 0.38);
  content: "";
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 32px));
  margin-top: auto;
  margin-bottom: auto;
  padding: 32px 22px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.55rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-lead {
  margin: 18px auto 0;
  max-width: 20em;
  font-size: 1.25rem;
  line-height: 1.4;
  text-wrap: balance;
}

.trust-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-bar li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 76px;
  padding: 14px 16px;
  background: var(--copper-deep);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

.trust-bar span {
  min-width: 0;
}

.trust-bar li:nth-child(odd) {
  background: var(--navy-deep);
}

.trust-bar li:nth-child(odd) svg {
  color: var(--copper-bright);
}

.trust-bar svg {
  flex: none;
  width: 28px;
  height: 28px;
}

/* Services ------------------------------------------------ */

.services {
  padding: 56px 0 64px;
  background: var(--white);
}

.services-inner {
  width: min(var(--header-max), calc(100% - 32px));
  margin-inline: auto;
}

.services h2,
.work h2,
.reviews h2,
.contact h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 650;
  line-height: 1.1;
  color: var(--ink);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 16px;
  border: 1px solid rgba(24, 37, 69, 0.14);
  border-radius: 14px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.service-card-title {
  display: block;
  margin: 12px 6px 0;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.3;
}

.service-card p {
  margin: 6px 6px 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--copper);
}

.service-card:hover .service-card-title,
.service-card:focus-visible .service-card-title {
  color: var(--copper-deep);
}

/* About ------------------------------------------------- */

.about {
  padding: 24px 0 80px;
  background: var(--white);
}

.about-inner {
  width: min(var(--header-max), calc(100% - 32px));
  margin-inline: auto;
}

.about-frame {
  display: grid;
  gap: 36px;
}

.about-kicker {
  margin: 0 0 12px;
  color: var(--copper-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about h2 {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.4rem);
  font-weight: 560;
  line-height: 1.05;
  color: var(--ink);
}

.about-sub {
  margin: 16px 0 0;
  max-width: 28em;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.5;
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
}

.about-reasons {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.about-reasons li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.about-reasons li + li {
  margin-top: 28px;
}

.about-reasons li::before {
  content: counter(reason, decimal-leading-zero);
  counter-increment: reason;
  padding-top: 0.4rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

.about-reasons strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 560;
  line-height: 1.15;
  color: var(--ink);
}

.about-reasons p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.about-side a {
  display: inline-block;
  margin-top: 32px;
  color: var(--copper-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.about-side a:hover,
.about-side a:focus-visible {
  color: var(--navy);
}

/* Our work ---------------------------------------------- */

.work {
  padding: 8px 0 72px;
  background: var(--white);
}

.work-inner {
  width: min(var(--header-max), calc(100% - 32px));
  margin-inline: auto;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-grid li {
  min-width: 0;
}

.work-grid figure {
  min-width: 0;
  margin: 0;
}

.work-grid img {
  display: block;
  width: 0;
  min-width: 100%;
  max-width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.work-grid figcaption {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.work-more {
  display: inline-block;
  margin-top: 28px;
  color: var(--copper-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.work-more:hover,
.work-more:focus-visible {
  color: var(--navy);
}

/* Our reviews ------------------------------------------- */

.reviews {
  padding: 8px 0 80px;
  background: var(--white);
}

.reviews-inner {
  width: min(var(--header-max), calc(100% - 32px));
  margin-inline: auto;
}

.reviews-note {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 1.02rem;
}

.review-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-list li {
  min-width: 0;
}

.review-list li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 37, 69, 0.14);
}

.review-list figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.review-list blockquote {
  margin: 0;
}

.review-list blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.review-list blockquote p + p {
  margin-top: 0.65em;
}

.review-list figcaption {
  margin-top: auto;
  padding-top: 8px;
  color: var(--ink);
  font-weight: 700;
}

.review-list figcaption span {
  margin-left: 10px;
  color: var(--muted);
  font-weight: 400;
}

.reviews-more {
  display: inline-block;
  margin-top: 28px;
  color: var(--copper-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.reviews-more:hover,
.reviews-more:focus-visible {
  color: var(--navy);
}

/* Contact ------------------------------------------------ */

.contact {
  padding: 16px 0 80px;
  background: var(--white);
}

.contact-inner {
  width: min(var(--header-max), calc(100% - 32px));
  margin-inline: auto;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--copper-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--navy);
}

.areas {
  margin-top: 32px;
}

.contact h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
  line-height: 1.15;
  color: var(--ink);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 700;
}

.request-form {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.request-form h3 {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 37, 69, 0.28);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.file-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.file-btn:hover,
.field input[type="file"]:focus-visible + .file-btn {
  background: var(--navy-deep);
}

.file-name {
  color: var(--muted);
}

.request-form .btn {
  width: 100%;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

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

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  display: grid;
  gap: 28px;
  width: min(var(--header-max), calc(100% - 32px));
  margin-inline: auto;
  padding: 36px 0 28px;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.footer-brand img {
  width: 104px;
  height: 104px;
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.15;
}

.footer-tag {
  margin: 8px 0 0;
  color: var(--copper-bright);
  font-weight: 700;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.footer-contact a {
  color: var(--copper-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--white);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--copper-bright);
}

.footer-copy {
  margin: 0;
  padding: 14px 16px;
  background: var(--navy-deep);
  text-align: center;
}

.footer-sep {
  margin: 0 4px;
  opacity: 0.5;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.footer-credit a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--copper-bright);
  text-underline-offset: 3px;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--copper-bright);
}

@media (max-width: 479px) {
  .footer-sep {
    display: none;
  }

  .footer-credit {
    display: block;
    margin-top: 4px;
  }
}

@media (min-width: 720px) {
  .brand img {
    width: 84px;
    height: 84px;
  }

  .phone {
    font-size: 1.45rem;
  }

  .hero {
    min-height: 640px;
    padding: 56px 0 0;
  }

  .hero-card {
    padding: 44px 40px;
  }

  .hero-lead {
    font-size: 1.4rem;
  }

  .trust-bar li {
    min-height: 88px;
    padding: 18px 22px;
    font-size: 1.12rem;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-form {
    grid-template-columns: 1fr 1fr;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .request-form .btn {
    justify-self: start;
    width: auto;
    min-width: 200px;
  }
}

@media (min-width: 560px) {
  .review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
  }

  .review-list li + li {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .review-list .review-long {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(24, 37, 69, 0.14);
  }
}

@media (min-width: 1080px) {
  .utility-inner {
    align-items: center;
    width: min(var(--header-max), calc(100% - 48px));
    margin-inline: auto;
    padding: 22px 0 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 124px;
    height: 124px;
  }

  .phone {
    font-size: 2.35rem;
    letter-spacing: -0.02em;
  }

  .site-header {
    background-color: transparent;
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% calc(100% - 58px);
  }

  .nav {
    z-index: 3;
    width: min(var(--header-max), calc(100% - 48px));
    min-height: 58px;
    margin-inline: auto;
    margin-bottom: -58px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-inner {
    align-items: stretch;
    padding-left: 0;
  }

  .nav-cta {
    padding: 0 32px 0 48px;
    background: transparent;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .nav-cta::before,
  .nav-cta::after {
    position: absolute;
    inset: 0;
    content: "";
  }

  .nav-cta::before {
    z-index: -2;
    background: var(--white);
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-cta::after {
    z-index: -1;
    left: 3px;
    background: var(--copper-deep);
    clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-cta:hover,
  .nav-cta:focus-visible {
    background: transparent;
  }

  .nav-list,
  .has-js .nav-list,
  .has-js.is-open .nav-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: stretch;
    position: static;
    justify-content: space-between;
    width: 100%;
    padding: 0 8px 0 18px;
    background: transparent;
  }

  .nav-list li {
    display: flex;
  }

  .nav-list a {
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
  }

  .nav-list .nav-facebook {
    display: flex;
  }

  .nav-facebook a {
    gap: 0;
    padding: 0 4px 0 12px;
  }

  .nav-facebook svg {
    display: block;
  }

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

  .hero {
    min-height: 740px;
    padding: 120px 0 0;
  }

  .services {
    padding: 72px 0 80px;
  }

  .services-inner,
  .about-inner,
  .work-inner,
  .reviews-inner,
  .contact-inner {
    width: min(var(--header-max), calc(100% - 48px));
  }

  .contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: 72px;
    align-items: start;
  }

  .request-form {
    margin-top: 0;
  }

  .about-frame {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas:
      "intro ."
      "photo side";
    column-gap: 72px;
    row-gap: 28px;
    align-items: stretch;
  }

  .about-intro {
    grid-area: intro;
  }

  .about-photo {
    grid-area: photo;
  }

  .about-side {
    grid-area: side;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-top: 0;
  }

  .about-reasons {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .about-reasons li + li {
    margin-top: 0;
  }

  .about-side a {
    margin-top: 28px;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .review-long blockquote {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 32px;
  }

  .review-long blockquote p + p {
    margin-top: 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: 48px;
    align-items: start;
    width: min(var(--header-max), calc(100% - 48px));
  }

  .footer-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }
}

/* ======================================================
   Inner pages (service, area, about...). Added Oct 2026.
   Same tokens as the homepage. Nothing above this line changed.
   ====================================================== */

/* Keep the open menu above the hero card (the mobile menu was
   sliding under .hero-card, so some links couldn't be tapped). */
.site-header {
  z-index: 10;
}

/* Services dropdown ------------------------------------- */

.nav-has-sub {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-has-sub > a {
  flex: 1 1 auto;
}

.sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.sub-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.sub-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.sub-toggle:hover,
.sub-toggle:focus-visible {
  color: var(--copper-bright);
}

.sub-toggle:focus-visible {
  outline-color: var(--copper-bright);
}

.sub-list {
  display: none;
  flex: 1 1 100%;
  margin: 0;
  padding: 0 0 8px 16px;
  list-style: none;
}

.nav-has-sub.sub-open .sub-list {
  display: block;
}

.nav-list .sub-list a {
  padding: 9px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nav-list a[aria-current="page"] {
  color: var(--copper-bright);
}

/* Buttons ------------------------------------------------ */

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #eef0f4;
  color: var(--navy);
}

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

.hero-page {
  min-height: 460px;
}

.hero-page .hero-photo {
  object-position: center;
}

.hero-page .hero-card {
  width: min(720px, calc(100% - 32px));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .btn {
  min-width: 190px;
  font-size: 1rem;
}

/* Sections ----------------------------------------------- */

.page-inner {
  width: min(var(--header-max), calc(100% - 32px));
  margin-inline: auto;
}

.page-section {
  padding: 56px 0;
}

.page-section-tint {
  background: #eef2f8;
}

.kicker {
  margin: 0 0 12px;
  color: var(--copper-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-section h2,
.emergency h2,
.cta-band h2 {
  margin: 0 0 20px;
  max-width: 22em;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 650;
  line-height: 1.1;
}

.section-lead {
  margin: -6px 0 28px;
  max-width: 40em;
  color: var(--muted);
  font-size: 1.125rem;
}

.prose p {
  margin: 0 0 1em;
  max-width: 40em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose a,
.faq a,
.link-list a {
  color: var(--copper-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose a:hover,
.faq a:hover,
.link-list a:hover {
  color: var(--navy);
}

/* Intro (text + photo) */

.intro-grid {
  display: grid;
  gap: 32px;
}

.intro-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Reasons (icon cards) */

.reason-grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-grid li {
  padding: 22px 20px;
  border: 1px solid rgba(24, 37, 69, 0.14);
  border-radius: 14px;
  background: var(--white);
}

.reason-grid svg {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}

.reason-grid strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.3;
}

.reason-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Checklist */

.check-list {
  display: grid;
  gap: 18px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.check-list li::before {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--copper-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 16px no-repeat;
  content: "";
}

.check-list strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.3;
}

.check-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Mid-page call strip */

.call-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 40px;
  padding: 22px 24px;
  border-left: 4px solid var(--copper-deep);
  background: #eef2f8;
}

.call-strip p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Who we work with */

.client-grid {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-grid li {
  padding-top: 16px;
  border-top: 3px solid var(--copper-deep);
}

.client-grid h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
  line-height: 1.15;
}

.client-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Emergency band */

.emergency {
  padding: 56px 0;
  background: var(--navy-deep);
  color: var(--white);
}

.emergency-grid {
  display: grid;
  gap: 28px;
}

.emergency p {
  margin: 0 0 24px;
  max-width: 34em;
  font-size: 1.125rem;
}

.emergency ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.emergency li {
  position: relative;
  padding-left: 22px;
  font-weight: 700;
}

.emergency li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--copper-bright);
  content: "";
}

/* Gallery reuses .work-grid */

.page-section .work-grid {
  margin-top: 8px;
}

/* FAQ */

.faq {
  max-width: 52em;
  border-bottom: 1px solid rgba(24, 37, 69, 0.18);
}

.faq details {
  border-top: 1px solid rgba(24, 37, 69, 0.18);
}

.faq summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  line-height: 22px;
  text-align: center;
  content: "+";
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq summary:hover {
  color: var(--copper-deep);
}

.faq details p {
  margin: 0;
  padding: 0 0 20px;
  max-width: 44em;
  color: var(--ink);
}

/* Related services + areas */

.link-columns {
  display: grid;
  gap: 36px;
}

.link-columns h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-columns .area-list {
  font-size: 1.05rem;
}

/* Closing call to action */

.cta-band {
  padding: 56px 0;
  background: var(--copper-deep);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  margin-inline: auto;
}

.cta-band p {
  margin: 0 auto;
  max-width: 34em;
  font-size: 1.125rem;
}

.cta-band .hero-actions {
  margin-top: 26px;
}

.cta-band .btn {
  background: var(--navy);
}

.cta-band .btn:hover,
.cta-band .btn:focus-visible {
  background: var(--navy-deep);
}

.cta-band .btn-light {
  background: var(--white);
  color: var(--navy);
}

.cta-band .btn-light:hover,
.cta-band .btn-light:focus-visible {
  background: #eef0f4;
}

/* Footer services column */

.footer-services h2 {
  margin: 0 0 12px;
  color: var(--copper-bright);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-services ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-services a {
  color: var(--white);
  text-decoration: none;
}

.footer-services a:hover,
.footer-services a:focus-visible {
  color: var(--copper-bright);
}

@media (min-width: 720px) {
  .hero-page {
    min-height: 540px;
  }

  .page-section,
  .emergency,
  .cta-band {
    padding: 72px 0;
  }

  .reason-grid,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 72px;
  }
}

@media (min-width: 1080px) {
  .page-inner {
    width: min(var(--header-max), calc(100% - 48px));
  }

  .hero-page {
    min-height: 620px;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 72px;
    align-items: center;
  }

  .reason-grid,
  .client-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .emergency-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: 72px;
    align-items: center;
  }

  /* Dropdown on desktop */
  .nav-has-sub {
    flex-wrap: nowrap;
  }

  .nav-list .nav-has-sub > a {
    padding-right: 0;
  }

  .sub-toggle {
    width: 26px;
    height: 100%;
  }

  .sub-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    min-width: 300px;
    padding: 8px 0;
    white-space: nowrap;
    background: var(--navy-deep);
    box-shadow: 0 12px 28px rgba(16, 24, 46, 0.28);
  }

  .nav-has-sub:hover .sub-list,
  .nav-has-sub:focus-within .sub-list {
    display: block;
  }

  .nav-list .sub-list li {
    display: block;
  }

  .nav-list .sub-list a {
    display: block;
    padding: 10px 20px;
    font-size: 1rem;
  }

  .footer-inner-4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Intro side panels: quote and callout */

.side-quote {
  margin: 0;
  padding: 28px 26px;
  border-left: 4px solid var(--copper-deep);
  background: #eef2f8;
}

.side-quote blockquote {
  margin: 0;
}

.side-quote blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 560;
  line-height: 1.3;
}

.side-quote figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

.callout {
  padding: 28px 26px;
  background: var(--navy);
  color: var(--white);
}

.callout h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 560;
  line-height: 1.15;
}

.callout ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.callout li {
  position: relative;
  padding-left: 22px;
}

.callout li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--copper-bright);
  content: "";
}

.callout-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.callout-note a {
  color: var(--copper-bright);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Numbered steps */

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 22px 20px;
  border: 1px solid rgba(24, 37, 69, 0.14);
  border-radius: 14px;
  background: var(--white);
  counter-increment: step;
}

.steps li::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  content: counter(step);
}

.steps strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.3;
}

.steps p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.steps + .call-strip {
  background: var(--white);
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* ======================================================
   Homepage rhythm + reviews cards + areas (Oct 2026).
   Light blue / white alternating sections.
   ====================================================== */

.about,
.reviews {
  background: #eef2f8;
}

.about,
.work,
.reviews,
.contact {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* Reviews as cards */

.reviews-note::before {
  margin-right: 8px;
  color: var(--copper-deep);
  letter-spacing: 0.08em;
  content: "\2605\2605\2605\2605\2605";
}

.review-list {
  gap: 16px;
}

.review-list li,
.review-list li + li,
.review-list .review-long {
  margin-top: 0;
  padding: 24px 22px;
  border: 1px solid rgba(24, 37, 69, 0.12);
  border-radius: 14px;
  background: var(--white);
}

.review-list figure::before {
  display: block;
  margin-bottom: 12px;
  color: var(--copper-deep);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  content: "\2605\2605\2605\2605\2605";
}

.review-list figcaption {
  padding-top: 16px;
}

.review-list figcaption span {
  display: block;
  margin: 2px 0 0;
  font-size: 0.92rem;
}

/* Linked area lists */

.area-list a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(142, 98, 69, 0.5);
  text-underline-offset: 5px;
}

.area-list a:hover,
.area-list a:focus-visible {
  color: var(--copper-deep);
  text-decoration-color: currentColor;
}

.areas-all {
  display: inline-block;
  margin-top: 14px;
  color: var(--copper-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.areas-all:hover,
.areas-all:focus-visible {
  color: var(--navy);
}

/* Footer: company links + contact stacked in one column */

.footer-company {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-content: start;
  min-width: 0;
}

.footer-company .footer-contact a {
  overflow-wrap: anywhere;
}

.footer-company .footer-nav ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Areas hub */

.region-grid {
  display: grid;
  gap: 32px;
}

.region h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.region > p {
  margin: 0 0 16px;
  color: var(--muted);
}

.region ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(24, 37, 69, 0.16);
}

.region li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(24, 37, 69, 0.16);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.region li a::after {
  color: var(--copper-deep);
  content: "\2192";
}

.region li a:hover,
.region li a:focus-visible {
  color: var(--copper-deep);
}

/* City pages: real local jobs list */

.local-jobs {
  padding: 28px 26px;
  background: var(--navy);
  color: var(--white);
}

.local-jobs h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 560;
  line-height: 1.15;
}

.local-jobs ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-jobs li {
  padding-left: 14px;
  border-left: 3px solid var(--copper-bright);
}

.local-jobs strong {
  display: block;
}

.local-jobs span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.service-grid-4 {
  grid-template-columns: 1fr;
}

.hood-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hood-list li {
  padding: 8px 14px;
  border: 1px solid rgba(24, 37, 69, 0.18);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
}

@media (min-width: 720px) {
  .service-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}

@media (min-width: 1080px) {
  .about,
  .work,
  .reviews,
  .contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .review-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .review-list .review-long {
    grid-column: span 2;
  }

  .review-long blockquote {
    display: block;
  }

  .review-long blockquote p + p {
    margin-top: 0.65em;
  }

  .service-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .region-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 560px) and (max-width: 1079px) {
  .review-list .review-long {
    grid-column: 1 / -1;
  }
}

/* ======================================================
   Areas dropdown + Red Seal badge (Oct 2026).
   ====================================================== */

.nav-has-sub:has(a[aria-current="page"]) > a {
  color: var(--copper-bright);
}

.sub-mega {
  padding: 0 0 12px 16px;
}

.mega-cols {
  display: grid;
  gap: 6px;
}

.mega-head {
  margin: 10px 16px 2px;
  color: var(--copper-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sub-mega ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list .sub-mega .mega-all {
  display: block;
  padding: 10px 16px;
  color: var(--copper-bright);
}

.trust-bar .trust-badge {
  flex: none;
  width: 46px;
  height: 46px;
}

.reason-grid .reason-badge {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
}

@media (min-width: 720px) {
  .trust-bar .trust-badge {
    width: 54px;
    height: 54px;
  }
}

@media (min-width: 1080px) {
  .sub-mega {
    min-width: 0;
    width: max-content;
    padding: 20px 10px 12px;
  }

  .mega-cols {
    grid-template-columns: repeat(4, auto);
    gap: 8px 12px;
  }

  .mega-head {
    margin: 0 12px 6px;
  }

  .nav-list .sub-mega a {
    padding: 7px 12px;
  }

  .nav-list .sub-mega .mega-all {
    margin-top: 10px;
    padding: 14px 12px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .region-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ======================================================
   Logo (transparent + light footer version) and footer
   areas in two columns (Oct 2026).
   ====================================================== */

.brand img {
  width: 64px;
  height: 64px;
}

.footer-brand img {
  width: 150px;
  height: 150px;
}

.footer-services[aria-label="Service areas"] ul {
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  column-gap: 28px;
}

@media (min-width: 720px) {
  .brand img {
    width: 92px;
    height: 92px;
  }
}

@media (min-width: 1080px) {
  .brand img {
    width: 134px;
    height: 134px;
  }

  .footer-brand img {
    width: 170px;
    height: 170px;
  }
}

.footer-brand img {
  border-radius: 10px;
}

/* ======================================================
   Contact form states, contact page, our work page (Oct 2026).
   ====================================================== */

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--copper-deep);
  background: #eef2f8;
  font-weight: 700;
}

.form-error {
  border-left-color: #b3261e;
  background: #fbeceb;
  color: #7a1712;
}

.request-form .btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.contact-phone {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.contact-phone:hover,
.contact-phone:focus-visible {
  color: var(--copper-deep);
}

.contact-hours {
  margin-top: 28px;
}

.contact-hours p {
  margin: 0 0 4px;
}

.gallery-head {
  margin: 36px 0 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 560;
  line-height: 1.15;
}

.page-section .gallery-head:first-of-type {
  margin-top: 8px;
}

/* Region blurbs stay on one line so the city lists line up */
@media (min-width: 1080px) {
  .region > p {
    white-space: nowrap;
  }
}

/* ======================================================
   Launch QA (Oct 29): bigger tap areas on phones without
   changing the layout.
   ====================================================== */

.phone,
.areas-all,
.work-more,
.reviews-more,
.about-side a {
  position: relative;
}

.phone::after,
.areas-all::after,
.work-more::after,
.reviews-more::after,
.about-side a::after {
  position: absolute;
  inset: -12px -4px;
  content: "";
}

/* 3-photo galleries: 3 across on tablets instead of 2 + 1 */
@media (min-width: 720px) and (max-width: 1079px) {
  .work-grid:has(> li:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-grid:has(> li:nth-child(3):last-child) img {
    height: 200px;
  }
}

/* Start with the mobile menu closed when JS is on, so the page
   doesn't jump when nav.js runs (layout shift fix, Oct 29). */
@media (max-width: 1079px) {
  .js .site-header:not(.is-open) .nav-list {
    display: none;
  }
}
