/* ==========================================================================
   L Devine & Company Ltd — site styles
   Palette taken from the company's existing signage blue.
   ========================================================================== */

:root {
  --blue: #0350a8;          /* brand blue, sampled from the original logo */
  --blue-deep: #0a2c5e;     /* header bands and footer */
  --blue-ink: #13233f;      /* body text */
  --muted: #4f5d73;         /* secondary text */
  --paper: #f4f6f9;         /* page background */
  --white: #ffffff;
  --line: #d6dde8;          /* borders and dividers */
  --hivis: #ffc629;         /* call-to-action yellow, used sparingly */
  --hivis-dark: #e8ad00;

  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --radius-s: 4px;
  --radius-m: 10px;
  --shadow: 0 1px 2px rgba(10, 44, 94, .08), 0 8px 24px rgba(10, 44, 94, .08);

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--blue-ink);
  background: var(--paper);
  font-stretch: 100%;
}

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

a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--hivis); color: var(--blue-deep);
  padding: .6rem 1rem; font-weight: 700; z-index: 100; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-stretch: 112%; letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 68ch; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }

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

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 48px;
  padding: .7rem 1.25rem;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-stretch: 110%;
  text-decoration: none;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-call { background: var(--hivis); color: var(--blue-deep); }
.btn-call:hover { background: var(--hivis-dark); }
.btn-outline { border-color: currentColor; color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }

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

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.masthead {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 84px;
}
.brand {
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--blue);
  margin-right: auto;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: -.01em;
}
.brand-tag {
  font-weight: 600;
  font-stretch: 110%;
  font-size: .82rem;
  color: var(--blue-deep);
  margin-top: .25rem;
}

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: .25rem;
}
.main-nav a {
  display: block;
  padding: .55rem .8rem;
  color: var(--blue-ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-s);
}
.main-nav a:hover { background: var(--paper); color: var(--blue); }
.main-nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -3px 0 var(--blue);
  border-radius: 0;
}

.header-call { white-space: nowrap; }
.header-call .num { font-variant-numeric: tabular-nums; }

.menu-toggle {
  display: none;
  align-items: center; gap: .5rem;
  min-height: 44px; padding: .5rem .8rem;
  border: 2px solid var(--blue); border-radius: var(--radius-s);
  background: var(--white); color: var(--blue);
  font: inherit; font-weight: 700; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .masthead { flex-wrap: wrap; gap: .6rem; padding-block: .7rem; min-height: 0; }
  .header-call .label, .header-call .num { display: none; }
  .header-call { padding: 0; width: 48px; justify-content: center; }
  .header-call svg { width: 1.3em; height: 1.3em; }
  .menu-toggle { min-height: 48px; }
  .js .menu-toggle { display: inline-flex; }
  .main-nav { flex-basis: 100%; order: 3; }
  .main-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { padding: .85rem .25rem; border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--blue); padding-left: .9rem; }
  .js .main-nav:not(.open) { display: none; }
}
@media (max-width: 480px) {
  .brand-name { font-stretch: 106%; font-size: 1rem; }
  .masthead { gap: .5rem; }
  .menu-toggle { padding: .5rem .65rem; gap: .35rem; }
  .brand-tag { font-size: .72rem; font-stretch: 100%; }
}

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

.hero {
  background: var(--blue-deep);
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero .lead { color: #d9e4f5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2rem; }

.trust {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 34rem;
}
.trust img {
  width: 132px; flex: none;
  background: var(--white);
  border-radius: var(--radius-s);
  padding: .4rem;
}
.trust p { margin: 0; font-size: .95rem; color: #d9e4f5; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Slideshow ---------- */

.slideshow {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #173f7a;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  aspect-ratio: 645 / 400;
}
.slide {
  position: absolute; inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(6,22,48,.88), rgba(6,22,48,0));
  font-weight: 700; font-stretch: 112%;
  font-size: 1.1rem;
}
.slideshow-controls {
  position: absolute; z-index: 2; right: .75rem; bottom: .7rem;
  display: flex; gap: .4rem;
}
.slideshow-controls button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--blue-deep);
  cursor: pointer;
}
.slideshow-controls button:hover { background: var(--hivis); }
.slideshow-controls svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

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

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-white { background: var(--white); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: .5rem 2rem; margin-bottom: 2rem;
}
.section-head h2 { margin: 0; }
.section-head p { margin: .5rem 0 0; color: var(--muted); }

/* Service tiles (home page) */
.service-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-tile a {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  text-decoration: none; color: var(--blue-ink);
}
.service-tile .img { aspect-ratio: 4 / 3; overflow: hidden; background: #dfe5ee; }
.service-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-tile span {
  padding: .85rem 1rem;
  font-weight: 700; font-stretch: 110%;
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
}
.service-tile span::after {
  content: ""; flex: none;
  width: .55rem; height: .55rem;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}
.service-tile a:hover { border-color: var(--blue); }
@media (max-width: 480px) {
  .service-tile span { padding: .7rem .75rem; font-size: .95rem; line-height: 1.25; }
}
/* The extra tile that rounds out the grid with a call to action */
.service-tile.cta-tile a {
  background: var(--blue); border-color: var(--blue); color: var(--white);
  justify-content: space-between; padding: 1.25rem;
}
.cta-tile h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .4rem; }
.cta-tile p { margin: 0 0 1rem; color: #d9e4f5; font-size: .95rem; line-height: 1.45; }
.cta-tile .tile-call {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  background: var(--hivis); color: var(--blue-deep);
  padding: .6rem .9rem; border-radius: var(--radius-s);
  font-weight: 700; font-variant-numeric: tabular-nums;
}
.cta-tile .tile-call svg { width: 1.1em; height: 1.1em; }
.service-tile.cta-tile a:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.service-tile.cta-tile span::after { content: none; }
@media (max-width: 480px) {
  .cta-tile h3 { font-size: 1.05rem; }
  .cta-tile p { font-size: .88rem; }
  .cta-tile .tile-call { padding: .5rem .55rem; font-size: .8rem; gap: .35rem; }
}
.service-tile a:hover img { transform: scale(1.04); }
.service-tile a:hover span { color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .service-tile img { transition: none; } }

/* How we work (home) */
.approach {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
.approach-points { display: grid; gap: 1.75rem; }
.approach-points h3 {
  padding-left: 1rem;
  border-left: 4px solid var(--hivis);
  margin-bottom: .4em;
}
.approach-points p { margin: 0; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; } }

/* Call band */
.call-band {
  background: var(--blue);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.call-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.call-band h2 { margin: 0 0 .3em; }
.call-band p { margin: 0; color: #d9e4f5; }
.call-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Interior pages ---------- */

.page-head {
  background: var(--blue-deep);
  color: var(--white);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.page-head h1 { margin: 0; color: var(--white); }
.page-head p { margin: .8rem 0 0; color: #d9e4f5; }
.crumbs { font-size: .9rem; margin-bottom: .9rem; }
.crumbs a { color: #bcd0ee; }
.crumbs span { color: #8fa7cc; margin-inline: .35rem; }

.page-body { padding-block: clamp(2.5rem, 5vw, 4rem); }

.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } }

.prose { min-width: 0; }
.prose h2 { font-size: 1.5rem; font-stretch: 115%; margin-top: 2rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.25em; max-width: 68ch; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--blue); }
.prose .note { font-size: .92rem; color: var(--muted); }

/* Intro row: text + list beside the main photo, as on the original pages */
.intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.intro-row .feature-img {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #dfe5ee;
  box-shadow: var(--shadow);
}
.intro-row .feature-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 640px) {
  .intro-row { grid-template-columns: 1fr; }
  .intro-row .feature-img { max-width: 360px; }
}

.ticks { list-style: none; padding: 0 !important; display: grid; gap: .45rem; }
.ticks li {
  position: relative; padding-left: 1.75rem; margin: 0 !important;
}
.ticks li::before {
  content: ""; position: absolute; left: .15rem; top: .42em;
  width: .45rem; height: .8rem;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: rotate(40deg);
}

.photo-row {
  list-style: none; margin: 2.25rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem;
}
@media (max-width: 520px) { .photo-row { grid-template-columns: 1fr 1fr; } }

/* Aside */
.aside { display: grid; gap: 1.25rem; position: sticky; top: 110px; }
@media (max-width: 960px) { .aside { position: static; } }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.35rem;
}
.quote-card { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.quote-card h2 { font-size: 1.3rem; margin-bottom: .5rem; color: var(--white); }
.quote-card p { color: #d9e4f5; font-size: .95rem; }
.quote-card .btn { width: 100%; justify-content: center; margin-top: .5rem; }
.quote-card .btn-outline { font-variant-numeric: tabular-nums; }

.service-nav h2 { font-size: 1.1rem; font-stretch: 112%; margin-bottom: .6rem; }
.service-nav ul { list-style: none; margin: 0; padding: 0; }
.service-nav li + li { border-top: 1px solid var(--line); }
.service-nav a {
  display: block; padding: .55rem 0;
  color: var(--blue-ink); text-decoration: none; font-weight: 500;
}
.service-nav a:hover { color: var(--blue); }
.service-nav a[aria-current="page"] {
  color: var(--blue); font-weight: 700;
  box-shadow: inset 3px 0 0 var(--blue); padding-left: .75rem;
}
.badge-card { text-align: center; }
.badge-card img { width: 180px; margin: 0 auto .75rem; }
.badge-card p { font-size: .9rem; color: var(--muted); margin: 0 auto; }

/* ---------- Services overview page ---------- */
.svc-grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem;
}
.svc-grid li { flex: 0 1 calc((100% - 3 * 1.1rem) / 4); min-width: 240px; }
@media (max-width: 560px) { .svc-grid li { flex-basis: 100%; min-width: 0; } }
.svc-grid a {
  display: block; border-radius: var(--radius-m); overflow: hidden;
  background: #dfe5ee; box-shadow: var(--shadow);
  outline-offset: 4px;
}
.svc-grid img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.svc-grid a:hover img { transform: scale(1.03); filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) { .svc-grid img { transition: none; } }

/* ---------- Gallery ---------- */
.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem;
}
.thumb {
  display: block; position: relative;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: #dfe5ee;
  aspect-ratio: 4 / 3;
}
.photo-row .thumb { border-radius: var(--radius-m); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.thumb:hover img { transform: scale(1.05); }
.thumb::after {
  content: ""; position: absolute; inset: 0;
  border: 3px solid transparent; border-radius: inherit;
  transition: border-color .15s ease;
}
.thumb:hover::after { border-color: var(--hivis); }
@media (prefers-reduced-motion: reduce) { .thumb img { transition: none; } }

.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--hivis);
  border-radius: var(--radius-m);
  padding: 1.1rem 1.35rem;
  margin-bottom: 2rem;
}
.callout p { margin: 0; }

/* Image placeholders if a photo can't be loaded */
img.missing { visibility: hidden; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(5, 16, 36, .94);
  color: var(--white);
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(5, 16, 36, .94); }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; }
.lb-count { font-variant-numeric: tabular-nums; color: #c5d3ea; }
.lb-stage {
  position: relative; min-height: 0;
  display: grid; place-items: center;
  padding: 0 4.5rem;
}
.lb-stage img {
  max-width: 100%; max-height: calc(100vh - 140px);
  width: auto; height: auto;
  border-radius: var(--radius-s);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lb-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white);
  cursor: pointer;
}
.lb-btn:hover { background: var(--hivis); color: var(--blue-deep); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }
.lb-caption { text-align: center; padding: .75rem 1rem 1rem; color: #c5d3ea; min-height: 1.5em; }
@media (max-width: 600px) {
  .lb-stage { padding: 0 .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: -3.75rem; transform: none; }
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.25rem;
}
.quote {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 2.75rem 1.6rem 1.6rem;
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute; top: .35rem; left: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem; line-height: 1;
  color: var(--hivis);
}
.quote p { font-size: 1.12rem; line-height: 1.6; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-methods { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .75rem; }
.contact-methods a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  text-decoration: none; color: var(--blue-ink);
}
.contact-methods a:hover { border-color: var(--blue); }
.contact-methods .icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--blue);
}
.contact-methods svg { width: 20px; height: 20px; }
.contact-methods small { display: block; color: var(--muted); font-size: .85rem; }
.contact-methods strong { font-size: 1.15rem; font-stretch: 110%; overflow-wrap: anywhere; }
address { font-style: normal; line-height: 1.7; }
.office-photo { border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow); background: #dfe5ee; }
.office-photo img { width: 100%; }
.office-photo figcaption { background: var(--white); padding: .75rem 1rem; font-size: .92rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-deep);
  color: #c9d6ea;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: .95rem;
}
.site-footer a { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem 3rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 {
  font-size: 1.05rem; font-stretch: 112%;
  color: var(--white); margin-bottom: .8rem;
}
.footer-brand .brand-name { color: var(--white); display: block; margin-bottom: .6rem; }
.footer-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.footer-list li { margin-bottom: .35rem; break-inside: avoid; }
.footer-list a, .footer-contact a { text-decoration: none; }
.footer-list a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact p { margin: 0 0 .5rem; }
.footer-badge { margin-top: 1.25rem; }
.footer-badge img { width: 150px; background: var(--white); border-radius: var(--radius-s); padding: .4rem; }
.legal {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.25rem;
  font-size: .85rem; color: #9fb3d3;
}
.legal p { margin: 0 0 .25rem; max-width: none; }

/* Keep the photo strip full width inside article text */
.prose .photo-row { padding: 0; max-width: none; margin-top: 2.25rem; }
.prose .photo-row li { margin: 0; }

.prose .contact-methods { padding: 0; max-width: 32rem; }
.prose .contact-methods li { margin: 0; }

/* If none of the slideshow photos can be found, hide the frame entirely */
.slideshow.no-photos { display: none; }
.hero-grid:has(.no-photos) { grid-template-columns: minmax(0, 46rem); }

/* Plain (unlinked) photos along the bottom of service pages */
.photo-row .photo {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #dfe5ee;
  aspect-ratio: 4 / 3;
}
.photo-row .photo img { width: 100%; height: 100%; object-fit: cover; }
