/* BTN Group: ivory, forest green and navy, as the work package 10 homepage. */
:root {
  --bg: #faf8f3;
  --ink: #0d1b29;
  --muted: #44514f;
  --line: #e6e0d1;
  --accent: #215536;
  --accent-strong: #19432a;
  --masthead-bg: #ffffff;
  --masthead-ink: #132538;
  --footer-bg: #08131d;
}

.masthead {
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  width: auto;
  height: 2.75rem;
}

@media (min-width: 48rem) {
  .brand-logo {
    height: 3.5rem;
  }
}

.masthead-action {
  min-height: 2.5rem;
}

.hero {
  background: #f3efe5;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  padding-block: 3rem;
}

.hero h1 {
  margin-top: 1.25rem;
  max-width: 42rem;
  line-height: 1.06;
}

.hero .lead {
  margin-top: 1.5rem;
}

.hero .actions {
  margin-top: 2.25rem;
}

.button-quiet {
  background: #ffffff;
  color: var(--ink);
  border-color: rgba(19, 37, 56, 0.25);
}

.button-quiet:hover {
  border-color: rgba(19, 37, 56, 0.5);
}

.hero-photo {
  position: relative;
}

.hero-photo .photo {
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(13, 27, 41, 0.18);
}

/* A quiet green plane behind the photograph; it stays inside the page gutter. */
.hero-plane {
  position: absolute;
  left: -0.75rem;
  bottom: -0.75rem;
  width: 66%;
  height: 66%;
  background: var(--accent);
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 3.5rem;
    padding-block: 6rem;
  }

  .hero-photo .photo {
    aspect-ratio: 3 / 4;
  }

  .hero-plane {
    left: -1.25rem;
    bottom: -1.25rem;
  }
}

.band-white {
  background: #ffffff;
}

.band-ivory {
  background: var(--bg);
}

.split {
  display: grid;
  gap: 2.5rem;
}

.split-intro p {
  color: var(--muted);
}

.split-intro h2 {
  margin-top: 1rem;
}

@media (min-width: 64rem) {
  .split {
    grid-template-columns: 4fr 8fr;
    gap: 3.5rem;
  }
}

.company-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.company-list li {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .company-list li {
    grid-template-columns: 4rem 1fr;
    gap: 1.5rem;
  }
}

.company-number {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.company-list h3 {
  font-size: 1.5rem;
}

.company-sector {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sector-list {
  display: grid;
  gap: 2rem;
  align-content: start;
  padding-top: 2rem;
  border-top: 2px solid var(--accent);
}

@media (min-width: 40rem) {
  .sector-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 64rem) {
  .sector-list {
    margin-top: 3rem;
  }
}

.sector-list dt {
  font-size: 1.15rem;
  font-weight: 650;
}

.sector-list dd {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.photo-band {
  margin-top: 3.5rem;
  aspect-ratio: 4 / 3;
}

@media (min-width: 40rem) {
  .photo-band {
    aspect-ratio: 21 / 9;
  }
}

.band-navy {
  background: #0d1b29;
  color: #e0e7e4;
}

.band-navy h2 {
  color: #ffffff;
}

.eyebrow-light {
  color: #7fc0ac;
}

.staff-panel p {
  max-width: 36rem;
}

.staff-note {
  font-size: 0.92rem;
  color: #c8d3cf;
}

.button-light {
  background: #ffffff;
  color: #0d1b29;
}

.button-light:hover {
  background: #f3efe5;
}

.contact-card {
  font-style: normal;
}

.contact-card dl {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--accent);
}

@media (min-width: 40rem) {
  .contact-card dl {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card dd {
  margin: 0.75rem 0 0;
  font-size: 1.15rem;
}

.contact-card a {
  color: var(--accent);
  word-break: break-all;
}
