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

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-950: #1f3431;
  --green-900: #1f3431;
  --green-800: #435452;
  --gold: #ffd700;
  --gold-light: #ffe246;
  --cream: #fff5bb;
  --paper: #ffffff;
  --muted: #f3f5f4;
  --ink: #1f3431;
  --ink-soft: #5c6b69;
  --white: #ffffff;
  --border: rgba(31, 52, 49, 0.14);
  --radius: 6px;
  --shadow: 0 20px 50px rgba(18, 33, 31, 0.10);
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--white);
}

/* The supplied logo has transparent padding; frame it without altering the asset. */
.brand {
  position: relative;
  width: 250px;
  height: 52px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo {
  position: absolute;
  width: 275px;
  max-width: none;
  height: 125px;
  left: -12.5px;
  top: -36.5px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.nav-cta {
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 215, 0, 0.8);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font: inherit;
}

section {
  padding: 6.5rem 0;
}

.section-dark {
  background: var(--green-950);
  color: var(--white);
}

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

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

.hero {
  padding-top: 7.5rem;
  padding-bottom: 7rem;
  background-color: var(--green-900);
  background-image:
    linear-gradient(90deg, rgba(31, 52, 49, 0.94) 0%, rgba(31, 52, 49, 0.85) 42%, rgba(31, 52, 49, 0.4) 100%),
    url("images/train-bridge.jpg");
  background-size: cover;
  background-position: center 60%;
}

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

.hero .button-outline {
  background: rgba(31, 52, 49, 0.65);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-900);
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

.section-dark h1,
.section-dark h2 {
  color: var(--gold);
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

section[id],
main[id] {
  scroll-margin-top: 96px;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  letter-spacing: -0.035em;
}

h2 {
  max-width: 880px;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 0.85rem;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--white);
}

.hero-support {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.04rem;
}

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

.actions.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-gold {
  background: var(--gold);
  color: var(--green-950);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-light);
}

.button-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
}

.card-number,
.engagement-grid span {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-intro {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-intro.light {
  color: rgba(255, 255, 255, 0.72);
}

blockquote {
  margin: 2rem 0 0;
  padding: 0 0 0 1.5rem;
  border-left: 3px solid var(--gold);
  color: var(--green-900);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.4;
}

.cards,
.sector-grid,
.capability-grid,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.7rem;
}

.showcase-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.showcase-featured {
  grid-column: 1 / -1;
}

.showcase-image {
  position: relative;
}

.image-enlarge {
  display: block;
  cursor: zoom-in;
}

.image-enlarge img {
  width: 100%;
  height: auto;
}

.showcase-card:not(.showcase-featured) .image-enlarge img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.video-preview {
  display: block;
}

.video-preview img {
  width: 100%;
  height: auto;
}

.project-credit {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
}

.enlarge-label,
.image-site-link {
  position: absolute;
  bottom: 1.25rem;
}

.enlarge-label {
  left: 1.25rem;
  padding: 0.7rem 1rem;
  background: var(--green-900);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
}

.image-site-link {
  right: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.image-dialog {
  width: min(1500px, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 1rem;
  border: 1px solid var(--green-800);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-900);
}

.image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.image-dialog img {
  width: 100%;
  height: auto;
}

.dialog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dialog-toolbar a[hidden] {
  display: none;
}

.dialog-close {
  margin-left: auto;
}

.dialog-close {
  padding: 0.7rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
}

html:has(.image-dialog[open]) {
  overflow: hidden;
}

.image-placeholder {
  min-height: 300px;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem;
  background: var(--green-800);
  border: 1px dashed rgba(255, 215, 0, 0.5);
}

.placeholder-label,
.placeholder-format {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
}

.image-placeholder strong {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
}

.image-placeholder p,
.showcase-copy > p:last-child {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.showcase-copy {
  padding: 2rem;
}

.showcase-copy .eyebrow {
  font-size: 0.72rem;
}

.engagement-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.7rem;
}

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

.card,
.sector-card,
.capability-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  padding: 1.65rem;
}

.card p,
.sector-card p,
.capability-grid p,
.engagement-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.sector-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.sector-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.sector-card-featured {
  background: var(--green-900);
  color: var(--white);
  border-color: transparent;
}

.sector-card-featured p {
  color: rgba(255, 255, 255, 0.68);
}

.sector-label {
  color: var(--green-900) !important;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sector-card-featured .sector-label {
  color: var(--gold-light) !important;
}

.text-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.35rem;
  font-weight: 700;
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.engagement-grid article {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-top: 2px solid var(--green-900);
}

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

.capability-grid article {
  min-height: 205px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
}

.about-visual {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-900);
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.cta-section {
  text-align: center;
}

.site-footer {
  padding: 2.5rem 0;
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: end;
}

.footer-grid > div:first-child {
  display: grid;
}

.footer-grid strong {
  color: var(--white);
}

.footer-grid span {
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.4);
}

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

  .three-up,
  .sector-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sector-card-featured {
    grid-column: 1 / -1;
  }

  .about-visual {
    max-width: 560px;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--green-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.75rem;
  }

  .nav-cta {
    margin-top: 0.35rem;
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 4rem;
    background-image:
      linear-gradient(rgba(31, 52, 49, 0.84), rgba(31, 52, 49, 0.84)),
      url("images/train-bridge.jpg");
  }

  .header-inner {
    gap: 0.75rem;
  }

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

  .brand-logo {
    width: 220px;
    height: 100px;
    left: -10px;
    top: -29px;
  }

  .three-up,
  .sector-grid,
  .capability-grid,
  .showcase-grid,
  .engagement-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .image-placeholder {
    aspect-ratio: auto;
    min-height: 280px;
    padding: 1.5rem;
  }

  .showcase-copy {
    padding: 1.5rem;
  }

  .enlarge-label,
  .image-site-link {
    bottom: 0.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .enlarge-label {
    left: 0.5rem;
  }

  .image-site-link {
    right: 0.5rem;
  }

  .sector-card-featured {
    grid-column: auto;
  }

  .sector-card {
    min-height: 0;
  }

  .capability-grid article {
    min-height: 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
