:root {
  --ink: #14202a;
  --muted: #65717d;
  --paper: #f5f7f9;
  --white: #ffffff;
  --line: #dde5ec;
  --navy: #10345a;
  --navy-dark: #071b30;
  --red: #c5352c;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(7, 27, 48, 0.1);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--navy-dark);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(221, 229, 236, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav > a,
.nav-trigger {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.72rem 0.95rem;
  line-height: 1.2;
}

.site-nav > a:hover,
.nav-trigger:hover {
  background: rgba(16, 52, 90, 0.07);
  color: var(--navy);
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-trigger::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  opacity: 0.7;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 240px;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(7, 27, 48, 0.14);
  z-index: 60;
}

.nav-dropdown a {
  display: block;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.7rem 0.85rem;
}

.nav-dropdown a:hover {
  background: rgba(16, 52, 90, 0.07);
  color: var(--navy);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  display: grid;
  gap: 0.1rem;
}

.menu-toggle {
  display: none;
}

/* Offset sticky header when jumping to in-page anchors */
#about,
#services,
#fire-alarms,
#access-control,
#cctv,
#intruder-alarms,
#fire-extinguishers,
#emergency-lighting,
#fire-doors,
#fire-risk-assessments,
#life-safety-maintenance,
#building-maintenance,
#process,
#contact {
  scroll-margin-top: 5.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(1.75rem, 3vw, 3rem) clamp(1rem, 5vw, 5.5rem);
  background: linear-gradient(135deg, #fff 0%, #fff 54%, #edf2f6 100%);
}

.hero-copy {
  max-width: 780px;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}

.hero-pillars > div {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-pillars .pillar-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.35rem;
  color: var(--ink);
  font-size: clamp(3rem, 5.4vw, 5.7rem);
  font-weight: 800;
}

.hero-title {
  display: grid;
  gap: 0.55rem;
  max-width: 700px;
  border-left: 5px solid var(--red);
  margin-bottom: 1.6rem;
  padding: 0.15rem 0 0.25rem clamp(1.25rem, 2vw, 2rem);
}

.hero-title-intro {
  color: var(--red);
  font-size: clamp(1.35rem, 2.35vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}

.hero-title-main {
  display: grid;
  color: var(--ink);
  font-size: clamp(3.2rem, 6.1vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.hero-title-main span,
.hero-title-promise {
  display: block;
}

.hero-title-promise {
  margin-top: 0.35rem;
  color: var(--navy);
  font-size: clamp(1.55rem, 3.25vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h2 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 4.1vw, 4.5rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 800;
}

p {
  color: var(--muted);
}

.hero-summary {
  max-width: 680px;
  color: #3e4a55;
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 900;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover {
  background: #a72f28;
}

.button-secondary {
  border-color: #aeb9c3;
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.button-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(197, 53, 44, 0.32);
  outline-offset: 3px;
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  /* Shared row height so both photos align flush (no step) */
  height: clamp(300px, 46vh, 520px);
  align-items: stretch;
}

.hero-photo-main,
.hero-photo-small {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.service-card > span,
.process-steps span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.route-strip a {
  display: grid;
  gap: 0.3rem;
  min-height: 142px;
  align-content: center;
  border-right: 1px solid var(--line);
  padding: 1.2rem clamp(1rem, 3vw, 2rem);
}

.route-strip a:last-child {
  border-right: 0;
}

.route-strip-label {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  justify-self: start;
}

.route-strip-label img {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
}

.route-strip-label span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-strip strong {
  max-width: 360px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

.section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5.5rem);
}

.section-kicker {
  max-width: 1040px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-kicker p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.08rem;
}

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-intro p,
.about-panel p:not(.eyebrow) {
  font-size: 1.05rem;
}

.about-intro p:last-child,
.about-panel p:last-child {
  margin-bottom: 0;
}

.about-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.about-points {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.about-points h3 {
  margin-bottom: 1rem;
  color: var(--navy);
}

.about-points ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.about-points li::marker {
  color: var(--red);
}

.services-section {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  min-height: 330px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(1.35rem, 3vw, 2.2rem);
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  bottom: -3.5rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(16, 52, 90, 0.1);
  border-radius: 50%;
}

.service-card h3 {
  color: var(--navy);
}

.service-card p {
  max-width: 640px;
}

.service-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.service-card li::marker {
  color: var(--red);
}

.information-promo {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(7, 27, 48, 0.92), rgba(7, 27, 48, 0.92)),
    url("assets/photos/fire-systems.webp") center / cover;
}

.information-promo > div {
  width: min(100%, 900px);
  text-align: center;
}

.information-promo h2,
.information-promo p:not(.eyebrow) {
  color: var(--white);
}

.information-promo p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.08rem;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  background: #eef3f7;
}

.process-copy {
  max-width: 620px;
}

.process-copy > p:not(.eyebrow) {
  font-size: 1.06rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-self: start;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-steps article {
  background: var(--white);
  padding: clamp(1.2rem, 2.8vw, 2rem);
}

.process-steps p {
  margin-bottom: 0;
}

.membership-section {
  display: grid;
  place-items: center;
  background: var(--white);
}

.membership-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  width: min(100%, 720px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.membership-card img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.membership-card h2 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.15;
}

.membership-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.brief-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5.5rem);
  background: var(--white);
}

.brief-copy {
  max-width: 620px;
}

.brief-copy p:not(.eyebrow) {
  font-size: 1.06rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form span {
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5df;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 0.9rem;
}

.contact-form textarea {
  resize: vertical;
}

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

.form-note {
  min-height: 1.4em;
  margin: 0;
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: min(720px, calc(92svh - 78px));
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 8vw, 8rem);
}

.page-hero > div {
  max-width: 950px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.fire-safety-hero {
  background:
    linear-gradient(
      90deg,
      rgba(7, 27, 48, 0.96) 0%,
      rgba(7, 27, 48, 0.82) 56%,
      rgba(7, 27, 48, 0.34) 100%
    ),
    url("assets/photos/fire-systems.webp") center / cover;
}

.safety-overview,
.connected-systems,
.guidance-section {
  background: var(--white);
}

.safety-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.safety-summary-grid article {
  min-height: 310px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.3rem, 3vw, 2.2rem);
}

.safety-summary-grid span,
.topic-grid span,
.guidance-links span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assessment-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  background: var(--paper);
}

.assessment-copy p:not(.eyebrow) {
  font-size: 1.06rem;
}

.assessment-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: assessment;
  border-top: 1px solid var(--line);
}

.assessment-steps li {
  position: relative;
  counter-increment: assessment;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding: 1.3rem 1rem 1.3rem 4.2rem;
}

.assessment-steps li::before {
  content: "0" counter(assessment);
  position: absolute;
  left: 0;
  top: 1.28rem;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.assessment-steps strong {
  color: var(--navy);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.topic-grid a {
  min-height: 240px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(1.25rem, 2.8vw, 2rem);
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.topic-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 52, 90, 0.45);
}

.topic-grid p {
  margin-bottom: 0;
}

.review-section {
  background: #eef3f7;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 1rem 0 1rem 2rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.18rem;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.legal-note {
  border-left: 4px solid var(--red);
  background: var(--white);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

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

.guidance-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.guidance-links a {
  display: grid;
  align-content: start;
  min-height: 220px;
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 2.8vw, 2rem);
}

.guidance-links a:hover {
  border-color: var(--navy);
}

.guidance-links strong {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.3;
}

.guidance-links small {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.safety-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 8vw, 8rem);
  background: var(--navy);
}

.safety-cta h2,
.safety-cta p:not(.eyebrow) {
  color: var(--white);
}

.safety-cta h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.safety-cta p:not(.eyebrow) {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

  .hero-copy {
    max-width: 960px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid #cbd5df;
    border-radius: 999px;
    background: #fff;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px;
    background: var(--navy-dark);
    transition: transform 0.2s var(--ease);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-self: stretch;
    padding: 0.4rem 0 0.3rem;
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav > a,
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    padding: 0.72rem 0.85rem;
  }

  .nav-item {
    display: grid;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 0 0 0.35rem;
    border-radius: 12px;
    box-shadow: none;
    background: var(--paper);
  }

  .nav-item:hover .nav-dropdown {
    display: none;
  }

  .nav-item.open .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: grid;
  }

  h1 {
    font-size: clamp(2.55rem, 10vw, 4.4rem);
  }

  .route-strip,
  .process-section,
  .brief-section,
  .about-layout,
  .about-points ul,
  .assessment-section,
  .review-layout {
    grid-template-columns: 1fr;
  }

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

  .safety-summary-grid {
    grid-template-columns: 1fr;
  }

  .safety-summary-grid article {
    min-height: auto;
  }

  .membership-card {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .route-strip a {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-strip a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.65rem 0.8rem;
  }

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

  .hero,
  .section,
  .brief-section {
    padding-inline: 1rem;
  }

  .hero {
    min-height: auto;
    padding-block: 2rem;
  }

  .hero-title {
    gap: 0.45rem;
    border-left-width: 4px;
    padding-left: 1rem;
  }

  .hero-title-main {
    font-size: clamp(2.65rem, 13vw, 3.6rem);
    line-height: 0.96;
  }

  .hero-title-promise {
    font-size: clamp(1.35rem, 6.5vw, 1.8rem);
  }

  .hero-media {
    grid-template-columns: 1fr;
    height: auto;
    gap: 0.85rem;
  }

  .hero-photo-main,
  .hero-photo-small {
    height: 260px;
  }

  .services-grid,
  .process-steps,
  .topic-grid,
  .guidance-links,
  .safety-cta {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 620px;
    padding-inline: 1rem;
  }

  .safety-cta {
    align-items: start;
  }

  .safety-cta .button {
    justify-self: start;
  }

  .service-card {
    min-height: auto;
  }

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

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.7fr;
  gap: 1.5rem 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.site-footer strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer a:hover {
  color: #f0c9c6;
}

.brief-copy a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
}

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