@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --brand: #315f9f;
  --brand-deep: #1f416f;
  --brand-ink: #15304f;
  --accent: #c52b3f;
  --ink: #202832;
  --muted: #5f6b78;
  --silver: #eef1f5;
  --line: #d7dde5;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(24, 44, 70, 0.14);
  --radius: 1.25rem;
  --container: 74rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #f8f9fb;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--brand-deep);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(49, 95, 159, 0.35);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  color: var(--brand-ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 5.5vw, 5rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow--light {
  color: #d8e5f6;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(197, 43, 63, 0.25);
}

.button--primary:hover {
  color: var(--white);
  background: #a91f32;
}

.button--secondary {
  color: var(--brand-deep);
  background: var(--white);
  border-color: var(--line);
}

.button--secondary:hover {
  color: var(--brand-deep);
  box-shadow: 0 10px 28px rgba(24, 44, 70, 0.1);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.button--ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(215, 221, 229, 0.9);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(24, 44, 70, 0.08);
}

.header-inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.brand {
  flex: 0 0 17.5rem;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  margin-inline: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.15rem, 0.85vw, 0.85rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0.8rem;
  color: #364252;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
  background: var(--silver);
}

.header-call {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.6rem 1rem;
  color: var(--white);
  background: var(--brand);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-call:hover {
  color: var(--white);
  background: var(--brand-deep);
}

.nav-toggle {
  display: none;
  flex: none;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.25rem auto;
  content: "";
  background: var(--brand-ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(36rem, 72vh, 44rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-deep);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform-origin: left center;
  transform: scale(1.015);
  animation: hero-settle 1.4s ease-out both;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(
      ellipse 77% 90% at 101% 52%,
      rgba(11, 29, 50, 0.9) 13%,
      rgba(11, 29, 50, 0.83) 32%,
      rgba(11, 29, 50, 0.72) 48%,
      rgba(11, 29, 50, 0.54) 64%,
      rgba(11, 29, 50, 0.32) 77%,
      rgba(11, 29, 50, 0.12) 90%,
      rgba(11, 29, 50, 0) 100%
    ),
    linear-gradient(0deg, rgba(10, 24, 41, 0.22), transparent 52%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.hero__copy {
  width: 47%;
  margin-left: auto;
}

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

.hero h1 {
  font-size: clamp(2.65rem, 5.35vw, 4.65rem);
}

.hero .lead {
  color: #e4eaf2;
}

@keyframes hero-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1.015); }
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-deep);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(102, 150, 211, 0.33), transparent 35%),
    linear-gradient(120deg, transparent 55%, rgba(255, 255, 255, 0.06));
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 28rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

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

.page-hero .lead {
  color: #dce6f3;
}

.page-hero__media {
  position: relative;
}

.page-hero__media::before {
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.page-hero__media img {
  position: relative;
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(6, 20, 35, 0.35);
}

.page-hero__inner--plant {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.page-hero__inner--plant h1 {
  font-size: clamp(2.65rem, 5vw, 4.1rem);
  text-wrap: balance;
}

.plant-hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(6, 20, 35, 0.35);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

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

.section--silver {
  background: var(--silver);
}

.section--dark {
  color: #dce6f3;
  background: var(--brand-ink);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: inherit;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.split--top {
  align-items: start;
}

.media-frame {
  position: relative;
}

.media-frame::after {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  z-index: -1;
  width: 70%;
  height: 70%;
  content: "";
  background: var(--brand);
  border-radius: var(--radius);
  opacity: 0.12;
}

.media-frame img {
  width: 100%;
  min-height: 23rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-strip {
  position: relative;
  z-index: 3;
  margin-top: -2rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.stat {
  min-height: 8rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brand-deep);
  font-size: 1.75rem;
  font-weight: 700;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--brand);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 220ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #bdc8d8;
  box-shadow: var(--shadow);
}

.card:hover::before {
  transform: scaleX(1);
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.check-list {
  padding-left: 1.15rem;
}

.card--blue {
  color: #e8eff8;
  background: var(--brand-deep);
  border-color: transparent;
}

.card--blue h3,
.card--blue p,
.card--blue li,
.card--blue a {
  color: inherit;
}

.card--blue::before {
  background: #9fbde4;
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 800;
}

.quote-panel {
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-panel blockquote {
  margin: 0;
  font-size: clamp(1.55rem, 3.3vw, 2.65rem);
  font-weight: 600;
  line-height: 1.35;
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, 16rem);
  gap: 1rem;
  margin-top: 2.5rem;
}

.gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery figure:first-child {
  grid-row: 1 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.photo-crop {
  position: relative;
  overflow: hidden;
}

.media-frame .photo-crop {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-crop img {
  position: absolute;
  inset: 0;
  /* Keep the white logo strip below the crop at every image width. */
  height: 114%;
  min-height: 0;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.gallery figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--white);
  background: rgba(17, 40, 65, 0.82);
  border-radius: 0.65rem;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
}

.equipment-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.equipment-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

.equipment-list summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 1.4rem;
  color: var(--brand-deep);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  list-style: none;
}

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

.equipment-list summary::after {
  position: absolute;
  top: 50%;
  right: 1.3rem;
  width: 0.65rem;
  height: 0.65rem;
  content: "";
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.equipment-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.equipment-content {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
}

.equipment-content ul {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: 1.25rem;
  align-items: stretch;
}

.contact-card,
.map-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: clamp(2rem, 5vw, 3.5rem);
}

.contact-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-details div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-details small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details address {
  display: block;
  margin-top: 0.25rem;
  color: var(--brand-deep);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 800;
}

.ftp-host {
  display: inline-block;
  padding: 0.15em 0.45em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  font-size: 0.85em;
  overflow-wrap: anywhere;
}

.cta-band {
  padding-block: 4rem;
  color: var(--white);
  background: var(--brand);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 20ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.site-footer {
  padding-block: 4rem 2rem;
  color: #c8d3e1;
  background: #101f31;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 0.7fr) 0.6fr;
  gap: 2.5rem;
}

.footer-logo {
  width: min(100%, 14rem);
  height: auto;
  margin-bottom: 1.25rem;
  padding: 0.7rem;
  background: var(--white);
  border-radius: 0.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #dce6f3;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-note {
  max-width: 34rem;
  color: #aab9ca;
}

.footer-accreditation {
  align-self: start;
  justify-self: end;
  padding: 0.6rem;
  background: var(--white);
  border-radius: 0.45rem;
}

.footer-accreditation img {
  width: 5.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: #899bae;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.footer-bottom a {
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 66rem) {
  .header-call {
    display: none;
  }

  .site-nav a {
    padding-inline: 0.65rem;
  }
}

@media (max-width: 54rem) {
  .header-inner {
    min-height: 4.25rem;
  }

  .brand {
    flex: 0 1 15rem;
    min-width: 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0 0 1rem 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    padding: 0.8rem;
  }

  .hero {
    min-height: 0;
    display: block;
  }

  .hero__image {
    position: relative;
    height: auto;
    max-height: 22rem;
    aspect-ratio: 2 / 1;
    transform: none;
    animation: none;
  }

  .hero::after {
    display: none;
  }

  .hero__content {
    padding-block: 2rem 4.5rem;
  }

  .hero__copy {
    width: 100%;
  }

  .page-hero__inner,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__media {
    max-width: 34rem;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 21rem 14rem;
  }

  .gallery figure:first-child {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-accreditation {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 38rem) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stat {
    min-height: 6rem;
    padding: 0.85rem;
  }

  .gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 17rem);
  }

  .gallery figure:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-band__inner,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
