:root {
  --bg: #f3efe8;
  --bg-alt: #eae4da;
  --surface: #fcfaf6;
  --ink: #14191d;
  --ink-soft: #2e373f;
  --muted: #55606b;
  --line: #d4cdc1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --charcoal: #14191d;
  --steel: #1d252c;
  --copper: #c86b2a;
  --copper-deep: #a95219;
  --copper-bright: #df7d38;
  --copper-soft: #f7e9dc;
  --amber: #e2a428;
  --gov-bg: #e2ece8;
  --gov-ink: #1b5241;
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(20, 25, 29, 0.06);
  padding: 0.12em 0.42em;
  border-radius: 4px;
}

/* TOP DISPATCH RIBBON */
.spec-ribbon {
  background: var(--charcoal);
  color: #b7c0c7;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-ribbon-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ribbon-items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ribbon-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f4ece2;
  font-weight: 500;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(226, 164, 40, 0.22);
}

.ribbon-link {
  color: #f0b180;
  text-decoration: none;
  font-weight: 500;
}

.ribbon-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ARCHITECTURAL STICKY HEADER */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 246, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.78rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(20, 25, 29, 0.2);
  border: 1px solid rgba(200, 107, 42, 0.35);
  flex-shrink: 0;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-top: 0.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a {
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--copper-deep);
}

.portal-cta {
  background: var(--copper);
  color: #fff !important;
  padding: 0.56rem 1.12rem;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 600 !important;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  box-shadow: 0 2px 10px rgba(200, 107, 42, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.portal-cta:hover {
  background: var(--copper-deep);
  transform: translateY(-1px);
}

.portal-cta-lg {
  padding: 0.78rem 1.45rem;
  font-size: 0.96rem;
}

/* FULL-BLEED DOCUMENTARY PHOTO HERO */
.hero {
  position: relative;
  background: var(--charcoal);
  color: #f7f4ee;
  overflow: hidden;
  border-bottom: 3px solid var(--copper);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(16, 21, 25, 0.93) 0%, rgba(16, 21, 25, 0.78) 48%, rgba(16, 21, 25, 0.26) 100%),
    linear-gradient(180deg, rgba(16, 21, 25, 0.25) 0%, rgba(16, 21, 25, 0.12) 55%, rgba(16, 21, 25, 0.84) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 5.2rem 1.5rem 4.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 2.5rem;
  align-items: end;
  min-height: 540px;
}

.hero-plate {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #f3c299;
  background: rgba(20, 25, 29, 0.68);
  border: 1px solid rgba(243, 194, 153, 0.32);
  padding: 0.34rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(6px);
}

.plate-sep {
  color: var(--copper-bright);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 1.2rem;
  max-width: 14ch;
  color: #fbf8f2;
}

.hero p.lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #d8dfe4;
  margin: 0 0 2rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-outline-light {
  border: 1px solid rgba(251, 248, 242, 0.38);
  background: rgba(20, 25, 29, 0.45);
  color: #fbf8f2;
  padding: 0.74rem 1.25rem;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-outline-light:hover {
  background: rgba(251, 248, 242, 0.14);
  border-color: rgba(251, 248, 242, 0.75);
}

.hero-caption {
  margin: 0;
  background: rgba(16, 21, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--copper);
  border-radius: 6px;
  padding: 0.9rem 1.05rem;
  backdrop-filter: blur(8px);
  justify-self: end;
  max-width: 340px;
}

.caption-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  color: #f3c299;
  margin-bottom: 0.3rem;
}

.hero-caption figcaption {
  font-size: 0.81rem;
  line-height: 1.48;
  color: #dce3e8;
}

/* TELEMETRY BAR AT BASE OF HERO */
.hero-telemetry {
  position: relative;
  z-index: 1;
  background: rgba(16, 21, 25, 0.84);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
}

.telemetry-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.t-cell {
  padding: 1.2rem 1.25rem 1.25rem 0;
  border-right: 1px solid var(--line-dark);
}

.t-cell + .t-cell {
  padding-left: 1.35rem;
}

.t-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.t-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: #9ba7b0;
  margin-bottom: 0.2rem;
}

.t-cell strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.t-sub {
  display: block;
  font-size: 0.78rem;
  color: #c1cbd2;
  margin-top: 0.15rem;
}

/* SECTIONS */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-alt {
  max-width: none;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-alt > * {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.section-grid-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.3rem;
}

.section-index {
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--copper-deep);
  margin-bottom: 0.45rem;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--charcoal);
}

.section-intro {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 52ch;
}

/* 01 · PHOTO-FIRST DIVISIONS */
.division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.division-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.division-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 25, 29, 0.09);
}

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.division-card:hover .photo-frame img {
  transform: scale(1.03);
}

.photo-stamp {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fbf8f2;
  background: rgba(20, 25, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.28rem 0.58rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.division-body {
  padding: 1.35rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.div-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--copper-deep);
  margin-bottom: 0.3rem;
}

.division-body h3 {
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6rem;
  color: var(--charcoal);
}

.division-body p {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.spec-pills {
  list-style: none;
  padding: 0.85rem 0 0;
  margin: 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.spec-pills li {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* 02 · YARD & HUBS */
.yard-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: center;
}

.yard-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 25, 29, 0.14);
  background: var(--charcoal);
}

.yard-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.yard-overlay-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.62rem 1rem;
  background: var(--charcoal);
  color: #d6dde2;
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}

.yard-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.yard-lead {
  margin: 0.85rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.hub-ledger {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.hub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.hub-row:last-child {
  border-bottom: none;
}

.hub-row strong {
  display: block;
  font-family: var(--display);
  font-size: 0.96rem;
  color: var(--charcoal);
}

.hub-row span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.hub-meta {
  text-align: right;
  flex-shrink: 0;
}

.hub-tag {
  font-family: var(--mono);
  font-size: 0.71rem !important;
  font-weight: 600;
  color: var(--copper-deep) !important;
}

.hub-hours {
  font-family: var(--mono);
  font-size: 0.69rem !important;
  color: var(--muted);
}

/* 03 · ACTIVE BUILDS DOSSIER TABLE */
.dossier-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dossier-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dossier-table thead th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  background: var(--bg);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.dossier-table tbody td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.dossier-table tbody tr:last-child td {
  border-bottom: none;
}

.dossier-table tbody tr:hover {
  background: #f7f4ee;
}

.row-loc {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.badge-term, .badge-gov {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.58rem;
  border-radius: 4px;
  white-space: nowrap;
}

.badge-term {
  background: var(--copper-soft);
  color: var(--copper-deep);
}

.badge-gov {
  background: var(--gov-bg);
  color: var(--gov-ink);
}

/* 04 · TRADE CREDIT LEDGER & CALCULATOR */
.credit-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.policy-ledger {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.policy-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.p-tab {
  appearance: none;
  border: none;
  border-right: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 0.9rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.p-tab:last-child {
  border-right: none;
}

.p-tab:hover {
  background: rgba(20, 25, 29, 0.03);
  color: var(--charcoal);
}

.p-tab.is-active {
  background: var(--surface);
  color: var(--charcoal);
  border-bottom-color: var(--copper);
}

.policy-panels {
  padding: 1.5rem;
}

.p-panel {
  display: none;
}

.p-panel.is-active {
  display: block;
}

.p-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.p-clause {
  padding-right: 0.5rem;
}

.clause-ref {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--copper-deep);
  margin-bottom: 0.35rem;
}

.p-clause h3 {
  font-family: var(--display);
  font-size: 1.08rem;
  margin: 0 0 0.5rem;
  color: var(--charcoal);
}

.p-clause p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* 2/10 NET 30 CALCULATOR */
.calc-card {
  background: var(--charcoal);
  color: #f4efe6;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(20, 25, 29, 0.16);
}

.calc-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  color: #f0b180;
  margin-bottom: 0.2rem;
}

.calc-head h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 1.05rem;
  color: #fff;
}

.calc-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #aeb8c0;
  margin-bottom: 0.35rem;
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  background: var(--steel);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 0 0.75rem;
}

.calc-input-wrap:focus-within {
  border-color: var(--copper-bright);
}

.calc-dollar {
  font-family: var(--mono);
  color: #f0b180;
  font-weight: 600;
  margin-right: 0.35rem;
}

.calc-input-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.62rem 0;
  outline: none;
}

.calc-presets {
  display: flex;
  gap: 0.45rem;
  margin: 0.65rem 0 1.15rem;
}

.calc-chip {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d6dde2;
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 0.34rem 0.4rem;
  border-radius: 4px;
  cursor: pointer;
}

.calc-chip.is-selected, .calc-chip:hover {
  background: rgba(200, 107, 42, 0.25);
  border-color: var(--copper-bright);
  color: #fff;
}

.calc-results {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.calc-row dt {
  color: #b7c0c7;
}

.calc-row dd {
  margin: 0;
  font-family: var(--mono);
  font-weight: 600;
  color: #fff;
}

.calc-row-em {
  padding: 0.75rem 0;
}

.calc-row-em dt {
  color: #fff;
  font-weight: 600;
}

.calc-row-em dd {
  font-size: 1.12rem;
  color: #9be2bc;
}

.val-copper {
  color: #f3b27e !important;
}

.calc-foot {
  margin: 0.8rem 0 0;
  font-size: 0.74rem;
  color: #97a3ac;
  line-height: 1.45;
}

/* 05 · CLIENT PORTAL BANNER */
.portal-banner {
  background: linear-gradient(125deg, #14191d 0%, #202a32 100%);
  color: #f6f2eb;
  border-radius: 12px;
  padding: 2.25rem 2.4rem;
  border-left: 5px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 18px 40px rgba(20, 25, 29, 0.14);
}

.portal-banner-left {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  max-width: 68ch;
}

.portal-logo {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  border: 1px solid rgba(200, 107, 42, 0.45);
  flex-shrink: 0;
}

.portal-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  color: #f3b27e;
  margin-bottom: 0.3rem;
}

.portal-banner h2 {
  color: #fff;
  margin: 0 0 0.45rem;
  font-size: 1.65rem;
}

.portal-banner p {
  margin: 0;
  color: #cad3da;
  font-size: 0.94rem;
}

.portal-banner code {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.portal-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.portal-meta-note {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: #9ba7b0;
}

/* FOOTER */
.site-footer {
  background: var(--charcoal);
  color: #a8b2ba;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.5rem;
  font-size: 0.84rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  border-radius: 6px;
  border: 1px solid rgba(200, 107, 42, 0.35);
}

.footer-brand strong {
  display: block;
  color: #f4efe6;
  font-family: var(--display);
}

.footer-brand span {
  display: block;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #f0b180;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links code {
  background: rgba(255, 255, 255, 0.1);
  color: #f4efe6;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner,
  .section-grid-head,
  .yard-layout,
  .credit-layout {
    grid-template-columns: 1fr;
  }
  .hero-caption {
    justify-self: start;
  }
  .telemetry-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .t-cell:nth-child(2) {
    border-right: none;
  }
  .t-cell:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
  }
  .t-cell:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }
  .division-grid {
    grid-template-columns: 1fr;
  }
  .policy-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-panel-grid {
    grid-template-columns: 1fr;
  }
  .portal-banner-actions {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .spec-ribbon {
    display: none;
  }
  .brand-sub {
    display: none;
  }
  .nav-inner {
    padding: 0.65rem 1rem;
    gap: 0.65rem;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.65rem;
    font-size: 0.82rem;
  }
  .telemetry-inner {
    grid-template-columns: 1fr;
  }
  .t-cell {
    border-right: none;
    padding-left: 0 !important;
    border-top: 1px solid var(--line-dark);
  }
  .t-cell:first-child {
    border-top: none;
  }
  .portal-banner {
    padding: 1.5rem;
  }
  .portal-banner-left {
    flex-direction: column;
  }
}
