:root {
  --navy: #102433;
  --navy-2: #17374a;
  --concrete: #eef1ef;
  --concrete-2: #d8dedb;
  --ink: #172126;
  --muted: #5a6870;
  --sand: #c7ad7a;
  --sand-soft: #f3ead7;
  --teal: #2d7776;
  --teal-soft: #d9eeee;
  --gum: #3f704c;
  --gum-soft: #dfeade;
  --warning: #8d5d21;
  --white: #ffffff;
  --border: #ccd5d2;
  --shadow: 0 16px 40px rgba(16, 36, 51, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--teal);
}

a:hover,
a:focus {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  background: var(--white);
  color: var(--navy);
  padding: 0.7rem 1rem;
  border: 2px solid var(--teal);
}

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

.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.2rem;
  border-bottom: 5px solid var(--teal);
}

.brand-row,
.site-nav,
.page-shell,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #c9d9dc;
  font-size: 0.8rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--sand);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.header-status {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #dbe7e6;
  padding: 0.45rem 0.7rem;
  font-size: 0.84rem;
}

.site-nav {
  margin-top: 1rem;
  position: relative;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: flex-start;
}

.nav-desktop > a,
.nav-group > summary,
.nav-mobile > summary {
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 0.6rem;
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
}

.nav-desktop > a[aria-current="page"],
.nav-group.has-current > summary,
.nav-mobile-section a[aria-current="page"],
.nav-mobile-direct a[aria-current="page"] {
  background: var(--sand);
  color: var(--navy);
  border-color: var(--sand);
  font-weight: 700;
}

.nav-group {
  position: relative;
}

.nav-group > summary,
.nav-mobile > summary {
  cursor: pointer;
  list-style: none;
}

.nav-group > summary::-webkit-details-marker,
.nav-mobile > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary::after,
.nav-mobile > summary::after {
  content: "+";
  margin-left: 0.5rem;
  color: #b8ced0;
  font-weight: 900;
}

.nav-group[open] > summary::after,
.nav-mobile[open] > summary::after {
  content: "-";
}

.nav-group-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 8;
  display: grid;
  gap: 0.35rem;
  width: 18rem;
  padding: 0.55rem;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
}

.nav-group:nth-last-of-type(-n + 2) .nav-group-panel {
  right: 0;
  left: auto;
}

.nav-group-panel a,
.nav-mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid transparent;
  color: #e5eeee;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nav-group-panel a:hover,
.nav-group-panel a:focus-visible,
.nav-mobile-panel a:hover,
.nav-mobile-panel a:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-mobile {
  display: none;
}

.caution-banner {
  background: var(--sand-soft);
  color: #3d2d13;
  border-bottom: 1px solid #dfca9d;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
}

.caution-banner strong {
  color: #211707;
}

.page-shell {
  padding: clamp(1.2rem, 4vw, 2.6rem);
}

.page-intro {
  max-width: 860px;
  margin-bottom: 1.6rem;
}

.page-intro h1 {
  margin: 0.15rem 0 0.6rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.04;
}

.page-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.kicker {
  margin: 0;
  color: var(--warning);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.hero-panel {
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 25rem;
}

.hero-panel h2 {
  font-size: clamp(2.1rem, 5vw, 5rem);
  line-height: 0.98;
  margin: 0 0 1rem;
}

.hero-panel p {
  color: #d6e2e2;
  max-width: 45rem;
}

.hero-image {
  margin: 0;
  background: #c7d1cf;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 25rem;
  box-shadow: var(--shadow);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
}

.hero-image figcaption {
  background: rgba(16, 36, 51, 0.92);
  color: #d9e7e7;
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
}

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

.photo-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--concrete-2);
}

.photo-card figcaption {
  padding: 0.75rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.photo-card figcaption strong,
.photo-card figcaption span {
  display: block;
}

.photo-card figcaption strong {
  color: var(--navy);
  margin-bottom: 0.22rem;
}

.image-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.image-rail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sbt-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  background: #121c27;
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.sbt-logo-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 21rem;
}

.sbt-logo-panel img {
  width: min(14rem, 70vw);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.sbt-intro h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 1rem;
}

.sbt-intro p,
.sbt-intro li {
  color: #dce8ea;
}

.sbt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

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

.project-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 13rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.project-link-card span {
  width: fit-content;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--teal-soft);
  color: #124948;
  font-size: 0.74rem;
  font-weight: 800;
}

.project-link-card strong {
  color: var(--navy);
  font-size: 1.03rem;
}

.project-link-card p {
  margin: 0;
  color: var(--muted);
}

.project-link-card:hover,
.project-link-card:focus {
  border-color: var(--teal);
  box-shadow: 0 10px 28px rgba(16, 36, 51, 0.12);
}

.quick-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.section {
  margin: clamp(1.2rem, 4vw, 2.6rem) 0;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 0.7rem;
}

.section > p {
  max-width: 860px;
  color: var(--muted);
}

.band {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.6rem);
  box-shadow: 0 1px 0 rgba(16, 36, 51, 0.04);
}

.band.tint {
  background: #f7f8f4;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  color: var(--navy);
  margin: 0.35rem 0 0.45rem;
  font-size: 1.12rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.card-link,
.button-link,
.download-link,
.pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  width: fit-content;
  margin-top: 0.9rem;
  padding: 0.45rem 0.75rem;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
}

.card-link:hover,
.button-link:hover,
.download-link:hover,
.pager-link:hover,
.card-link:focus,
.button-link:focus,
.download-link:focus,
.pager-link:focus {
  background: var(--navy);
  color: var(--white);
}

.button-link.secondary {
  background: var(--navy);
}

.button-link.secondary:hover,
.button-link.secondary:focus {
  background: var(--teal);
}

.download-link {
  margin-top: 0;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  width: fit-content;
  padding: 0.22rem 0.5rem;
  border-radius: 4px;
  background: var(--teal-soft);
  color: #124948;
  font-size: 0.76rem;
  font-weight: 800;
}

.badge.warning {
  background: var(--sand-soft);
  color: var(--warning);
}

.badge.gum {
  background: var(--gum-soft);
  color: #24512f;
}

.badge.dark {
  background: var(--navy);
  color: var(--white);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.check-list,
.plain-list {
  padding-left: 1.1rem;
}

.check-list li,
.plain-list li {
  margin: 0.35rem 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.note-box {
  border-left: 5px solid var(--teal);
  background: var(--teal-soft);
  padding: 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.warning-box {
  border-left: 5px solid var(--warning);
  background: var(--sand-soft);
  padding: 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.docs-table-wrap {
  overflow-x: visible;
}

.docs-table {
  table-layout: fixed;
  min-width: 0;
}

.docs-table th,
.docs-table td {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.docs-table th:nth-child(1),
.docs-table td:nth-child(1) {
  width: 24%;
}

.docs-table th:nth-child(2),
.docs-table td:nth-child(2) {
  width: 14%;
}

.docs-table th:nth-child(3),
.docs-table td:nth-child(3) {
  width: 22%;
}

.docs-table th:nth-child(4),
.docs-table td:nth-child(4) {
  width: 15%;
}

.docs-table th:nth-child(5),
.docs-table td:nth-child(5) {
  width: 15%;
}

.docs-table th:nth-child(6),
.docs-table td:nth-child(6) {
  width: 10%;
}

.docs-table .download-cell {
  text-align: center;
}

.docs-table .download-link {
  display: inline-flex;
  width: min(100%, 7rem);
  justify-content: center;
  white-space: nowrap;
  overflow-wrap: normal;
  line-height: 1.15;
  padding: 0.45rem 0.5rem;
  font-size: 0.84rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  padding: 0.72rem 0.8rem;
}

th {
  color: var(--navy);
  background: #e8eeec;
  font-size: 0.84rem;
}

td {
  font-size: 0.92rem;
}

tbody tr:hover {
  background: #f8faf9;
}

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1rem;
}

.board-column {
  border: 1px solid var(--border);
  background: #f8faf9;
  border-radius: var(--radius);
  min-height: 10rem;
  padding: 0.8rem;
}

.board-column h3 {
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-size: 1rem;
}

.task-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.8rem;
  margin-bottom: 0.7rem;
}

.task-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.task-card small {
  display: block;
  color: var(--muted);
}

.timeline {
  border-left: 4px solid var(--teal);
  padding-left: 1rem;
}

.timeline article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0 0 1rem;
}

.label-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.site-footer {
  color: #d9e6e5;
  background: var(--navy);
  padding: 1.2rem clamp(1rem, 4vw, 2.5rem);
}

.site-footer p {
  margin: 0 auto;
  max-width: var(--max);
}

.page-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.back-to-top:hover,
.back-to-top:focus {
  background: var(--teal);
  color: var(--white);
}

@media (max-width: 900px) {
  .hero-grid,
  .sbt-intro,
  .split,
  .grid.two {
    grid-template-columns: 1fr;
  }

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

  .project-link-grid,
  .photo-grid,
  .image-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 760px) {
  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: block;
    width: 100%;
  }

  .nav-mobile > summary {
    width: 100%;
    justify-content: space-between;
  }

  .nav-mobile-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.5rem;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--navy-2);
  }

  .nav-mobile-direct {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .nav-mobile-section {
    min-width: 0;
    padding: 0.45rem;
    border-top: 3px solid var(--teal);
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-mobile-section strong {
    display: block;
    margin: 0.15rem 0.2rem 0.4rem;
    color: #c8dddd;
    font-size: 0.78rem;
    text-transform: uppercase;
  }

  .nav-mobile-section div {
    display: grid;
    gap: 0.25rem;
  }
}

@media (max-width: 820px) {
  .docs-table-wrap {
    overflow-x: visible;
  }

  .docs-table,
  .docs-table thead,
  .docs-table tbody,
  .docs-table tr,
  .docs-table th,
  .docs-table td {
    display: block;
    width: 100%;
  }

  .docs-table thead {
    display: none;
  }

  .docs-table tr {
    border-bottom: 1px solid var(--border);
    padding: 0.8rem;
  }

  .docs-table td {
    border-bottom: 0;
    padding: 0.4rem 0;
  }

  .docs-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.15rem;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 900;
  }

  .docs-table .download-cell {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 1rem;
  }

  .grid,
  .board,
  .project-link-grid,
  .photo-grid,
  .image-rail {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .hero-image,
  .hero-image img {
    min-height: 18rem;
  }

  .hero-panel h2 {
    font-size: 2.4rem;
  }

  .site-nav {
    width: 100%;
  }

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

  .nav-mobile-direct {
    grid-template-columns: 1fr;
  }

  .page-pager {
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .caution-banner,
  .site-footer,
  .page-pager,
  .back-to-top,
  .skip-link,
  .card-link,
  .button-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .page-shell {
    max-width: none;
    padding: 0;
  }

  .page-intro h1 {
    font-size: 24pt;
  }

  .band,
  .card,
  .table-wrap,
  .note-box,
  .warning-box {
    border: 1px solid #999;
    box-shadow: none;
    break-inside: avoid;
  }

  table {
    min-width: 0;
    font-size: 9pt;
  }

  th,
  td {
    padding: 5pt;
  }
}
