@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #d62828;
  --red-bright: #d62828;
  --navy: #003049;
  --ink: #2b3133;
  --heading: #343842;
  --pale: #ebebeb;
  --white: #fff;
  --max: 1140px;
  --shadow: 0 16px 45px rgba(0, 48, 73, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Jost", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--red);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #a51f1f;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  color: var(--heading);
  font-family: "Space Grotesk", Arial, sans-serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

p {
  margin: 0 0 1.15em;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

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

.container {
  width: min(calc(100% - 30px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  min-height: 94px;
  background: var(--white);
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  flex: 0 0 215px;
  max-width: 215px;
}

.brand img {
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 1.8vw, 1.55rem);
}

.main-nav a {
  color: var(--heading);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--red);
}

.main-nav .nav-cta {
  padding: 0.85rem 1.1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 2px;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
  color: var(--white);
  background: #06486a;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-link::before {
  content: "";
  width: 1.15rem;
  height: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(90deg, #c8102e 0 24%, #fff 24% 76%, #c8102e 76%);
}

html[lang^="en"] .lang-link::before {
  background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 670px;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76) 8%, rgba(0, 48, 73, 0.59) 100%),
    url("/assets/images/hero-firefighters.png") center / cover no-repeat;
}

.hero-content {
  padding-block: 10rem;
}

.hero h1,
.hero h2 {
  max-width: 1060px;
  color: var(--white);
  text-shadow: 0 0 9px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  margin-bottom: 0.3em;
  font-size: clamp(3rem, 6vw, 4rem);
}

.hero .hero-subtitle {
  max-width: 941px;
  margin-bottom: 1.3rem;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.button {
  display: inline-block;
  padding: 0.82rem 1.65rem;
  color: var(--white);
  background: var(--red-bright);
  border: 2px solid var(--red-bright);
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.button:hover {
  color: var(--white);
  background: #a51f1f;
  border-color: #a51f1f;
  transform: scale(1.03);
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
}

.section.brand-watermark::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -15px;
  width: 300px;
  height: 300px;
  opacity: 0.05;
  background: url("/assets/images/brand-mark.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.section-muted {
  background: var(--pale);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.intro-image {
  width: min(100%, 550px);
  margin-inline: auto;
}

.text-justify {
  text-align: justify;
}

.section-kicker,
.section-title-uppercase {
  color: var(--red);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  text-transform: uppercase;
}

.benefit-list,
.feature-list,
.service-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

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

.benefit-list li,
.feature-list li,
.service-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--navy);
}

.benefit-list li::before,
.feature-list li::before,
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.mission {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

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

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border: 0;
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.video-poster::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 48, 73, 0.55), rgba(0, 48, 73, 0.05));
}

.video-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 12px;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.video-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
}

.video-label {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 0.8rem;
  left: 1rem;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.video-poster:hover img {
  opacity: 0.88;
  transform: scale(1.025);
}

.video-poster:focus-visible {
  outline: 4px solid var(--red);
  outline-offset: -4px;
}

.page-hero {
  padding-block: 5rem;
  color: var(--white);
  background: linear-gradient(125deg, var(--navy), #0a577c);
}

.page-hero h1,
.page-hero h2,
.page-hero p {
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  font-size: 1.25rem;
}

.content-narrow {
  max-width: 850px;
  margin-inline: auto;
}

.team-list {
  display: grid;
  gap: 5rem;
}

.profile {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.7fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.profile:nth-child(even) {
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.7fr);
}

.profile:nth-child(even) .profile-photo {
  order: 2;
}

.profile-photo {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--pale);
  box-shadow: var(--shadow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile h2 {
  margin-bottom: 0.15rem;
  color: var(--red);
}

.profile-role {
  margin-bottom: 1.4rem;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-copy {
  font-size: 1.02rem;
}

.sag-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.sag-logo {
  width: min(100%, 520px);
  margin-inline: auto;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 520px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-photo {
  min-height: 420px;
  background: url("/assets/images/hazardous-materials.jpg") center / cover no-repeat;
}

.feature-copy {
  padding: clamp(2rem, 5vw, 4rem);
}

.feature-copy .section-kicker {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.feature-list li {
  margin-bottom: 0.8rem;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.services-image {
  width: min(100%, 560px);
  margin-inline: auto;
}

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

.service-card {
  position: relative;
  padding: 2.15rem;
  background: var(--white);
  border-top: 5px solid var(--red);
  box-shadow: var(--shadow);
  counter-increment: services;
}

.service-card::before {
  content: "0" counter(services);
  display: block;
  margin-bottom: 1.1rem;
  color: var(--red);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.service-card h2 {
  font-size: 1.6rem;
}

.service-list li {
  margin-bottom: 0.65rem;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  padding: 1.4rem;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 6rem);
}

.contact-details {
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-details li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d9dfe2;
}

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

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9c2c6;
  border-radius: 2px;
}

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

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(214, 40, 40, 0.17);
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
}

.form-note {
  grid-column: 1 / -1;
  color: #555f63;
  font-size: 0.95rem;
}

.policy h2 {
  margin-top: 2.25rem;
  font-size: 1.75rem;
}

.policy ul {
  padding-left: 1.35rem;
}

.policy li {
  margin-bottom: 0.35rem;
}

.updated {
  margin-top: 2.5rem;
  color: #566064;
  font-style: italic;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found .error-code {
  margin: 0;
  color: var(--red);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 700;
  line-height: 0.85;
}

.site-footer {
  padding: 5rem 0 1.7rem;
  color: var(--white);
  background: var(--navy);
}

.footer-logo {
  width: min(400px, 100%);
  margin: 0 auto 2.25rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

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

.footer-contact a:hover,
.footer-meta a:hover {
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
}

@media (max-width: 1040px) {
  .brand {
    flex-basis: 190px;
  }

  .main-nav {
    gap: 0.8rem;
  }

  .main-nav a {
    font-size: 0.84rem;
  }
}

@media (max-width: 860px) {
  .site-header,
  .header-inner {
    min-height: 82px;
  }

  .brand {
    flex-basis: 175px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    display: block;
    background: var(--white);
    box-shadow: 0 18px 30px rgba(0, 48, 73, 0.13);
    transition: max-height 0.25s ease;
  }

  .nav-open .main-nav {
    max-height: 560px;
  }

  .main-nav a {
    display: block;
    padding: 0.95rem 1.25rem;
    border-top: 1px solid #eceff0;
    font-size: 0.95rem;
  }

  .main-nav .nav-cta {
    border-radius: 0;
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 580px;
  }

  .hero-content {
    padding-block: 7rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-image {
    max-width: 500px;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .why-list {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  body {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 530px;
    background-position: 58% center;
  }

  .hero-content {
    padding-block: 5.5rem;
  }

  .section {
    padding-block: 3.8rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .profile,
  .profile:nth-child(even),
  .sag-intro,
  .services-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .profile:nth-child(even) .profile-photo {
    order: initial;
  }

  .profile-photo {
    width: min(100%, 340px);
  }

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

  .form-field.full,
  .form-note {
    grid-column: auto;
  }

  .footer-meta {
    justify-content: center;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
