:root {
  --ink: #102338;
  --ink-soft: #4e6073;
  --blue: #0868d8;
  --blue-deep: #074a9c;
  --blue-pale: #edf5ff;
  --line: #d9e2ec;
  --surface: #f6f8fb;
  --white: #ffffff;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.4rem;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #f0ab00;
  outline-offset: 3px;
}

.skip-link {
  background: var(--ink);
  color: var(--white);
  left: 1rem;
  padding: 0.65rem 0.85rem;
  position: fixed;
  top: -5rem;
  z-index: 20;
}

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

.site-shell {
  margin: 0 auto;
  max-width: var(--shell);
  padding-left: 2rem;
  padding-right: 2rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

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

.brand img {
  display: block;
  height: 2rem;
  width: auto;
}

.brand-divider {
  background: var(--line);
  height: 1.75rem;
  width: 1px;
}

.service-name {
  color: var(--blue-deep);
  font-size: 1rem;
  font-weight: 750;
}

.header-nav {
  align-items: center;
  display: flex;
  gap: 1.6rem;
}

.header-nav a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--blue);
}

.hero {
  background-color: #173247;
  background-image: url("/bid-office/hero-documents.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background: rgba(5, 28, 48, 0.62);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 4.5rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  padding-bottom: 5.5rem;
  padding-top: 5.25rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  font-size: 3.2rem;
  font-weight: 760;
  line-height: 1.08;
  margin-bottom: 1.55rem;
  max-width: 45rem;
}

.hero-lead {
  color: #e4edf5;
  font-size: 1.15rem;
  margin-bottom: 1.9rem;
  max-width: 41rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-deep);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

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

.hero-note {
  color: #d7e4ef;
  font-size: 0.82rem;
  margin: 1rem 0 0;
}

.hero .eyebrow {
  color: #b6daff;
}

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

.hero-credit {
  bottom: 0.8rem;
  color: #d7e4ef;
  font-size: 0.68rem;
  margin: 0;
  position: absolute;
  right: max(2rem, calc((100vw - var(--shell)) / 2 + 2rem));
  z-index: 1;
}

.hero-credit a {
  text-decoration: none;
}

.hero-credit a:hover {
  text-decoration: underline;
}

.decision-board {
  background: var(--white);
  border: 1px solid #b8cce2;
  border-radius: 6px;
  border-top: 4px solid var(--blue);
  box-shadow: 0 14px 30px rgba(16, 35, 56, 0.09);
  color: var(--ink);
  padding: 1.6rem;
}

.decision-board-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.board-kicker {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.decision-board h2 {
  font-size: 1.17rem;
  line-height: 1.3;
  margin-bottom: 0;
}

.board-mark {
  flex: 0 0 auto;
  height: 2.6rem;
  width: 2.6rem;
}

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

.decision-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  padding: 0.75rem 0;
}

.decision-list li:last-child {
  border-bottom: 0;
}

.decision-list span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.decision-list strong {
  font-size: 0.86rem;
}

.decision-list em {
  color: var(--ink-soft);
  font-size: 0.77rem;
  font-style: normal;
  text-align: right;
}

.board-result {
  color: var(--ink-soft);
  font-size: 0.84rem;
  margin: 1rem 0 0;
}

.board-result strong {
  color: var(--ink);
}

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

.statement-grid {
  align-items: baseline;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1.5fr;
  padding-bottom: 1.75rem;
  padding-top: 1.75rem;
}

.statement-grid p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.statement-grid .statement-title {
  color: var(--blue-deep);
  font-size: 1.1rem;
  font-weight: 750;
}

.section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 5.25rem;
  padding-top: 5.25rem;
}

.section-heading {
  max-width: 47rem;
}

.section-heading h2,
.proof-section h2,
.contact-section h2 {
  font-size: 2rem;
  font-weight: 730;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-heading > p:last-child,
.proof-section p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 0;
}

.workflow-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.workflow-grid li {
  border-right: 1px solid var(--line);
  min-height: 13rem;
  padding: 1.5rem 1.3rem 1.3rem;
}

.workflow-grid li:last-child {
  border-right: 0;
}

.step-number {
  color: var(--blue);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
}

.workflow-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.workflow-grid p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.scope-section {
  background: var(--surface);
}

.scope-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
}

.scope-grid article {
  padding: 1.75rem 2rem 1.8rem 0;
}

.scope-grid article + article {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.scope-label {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.scope-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.scope-grid ul {
  color: var(--ink-soft);
  margin: 0;
  padding-left: 1.1rem;
}

.scope-grid li {
  margin: 0.55rem 0;
  padding-left: 0.2rem;
}

.guardrail-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.guardrail-grid p {
  color: var(--ink-soft);
  font-size: 0.87rem;
  margin: 0;
}

.guardrail-grid strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.3rem;
}

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

.proof-grid {
  align-items: center;
  display: grid;
  gap: 5rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(23rem, 1.1fr);
}

.inline-link {
  color: var(--blue-deep);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 750;
  margin-top: 1.35rem;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.matrix-preview {
  background: var(--white);
  border: 1px solid #b8cce2;
  border-radius: 6px;
  overflow: hidden;
}

.matrix-preview-head {
  align-items: center;
  background: var(--blue-deep);
  color: var(--white);
  display: flex;
  font-size: 0.78rem;
  font-weight: 750;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}

.matrix-preview-head span:last-child {
  color: #cfe4ff;
  font-size: 0.7rem;
  font-weight: 650;
  text-transform: uppercase;
}

.matrix-preview-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  font-size: 0.86rem;
  grid-template-columns: minmax(0, 1fr) 5.25rem 7.4rem;
  min-height: 3rem;
  padding: 0 1rem;
}

.matrix-preview-labels {
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 800;
  min-height: 2.35rem;
  text-transform: uppercase;
}

.matrix-preview-row em {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-style: normal;
  text-align: right;
}

.matrix-preview-row > span {
  text-align: center;
}

.matrix-preview-total {
  align-items: center;
  background: #f8fbff;
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 0.9rem 1rem;
}

.matrix-preview-total strong {
  color: var(--blue-deep);
}

.contact-section {
  background: var(--ink);
  color: var(--white);
  padding-bottom: 4.5rem;
  padding-top: 4.5rem;
}

.contact-grid {
  align-items: center;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.eyebrow-light {
  color: #96c8ff;
}

.contact-section h2 {
  max-width: 40rem;
}

.contact-section p {
  color: #d2deeb;
  margin-bottom: 0;
  max-width: 43rem;
}

.contact-action {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.button-light {
  background: var(--white);
  color: var(--blue-deep);
}

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

.contact-mail {
  color: #d2deeb;
  font-size: 0.9rem;
}

.site-footer {
  background: #081a2a;
  color: #a9bbcc;
}

.footer-inner {
  align-items: center;
  display: flex;
  font-size: 0.8rem;
  justify-content: space-between;
  min-height: 7rem;
}

.footer-inner p {
  line-height: 1.55;
  margin: 0;
}

.footer-inner p:first-line {
  color: var(--white);
  font-weight: 700;
}

.footer-inner nav {
  display: flex;
  gap: 1.25rem;
}

.footer-inner a {
  text-decoration: none;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .proof-grid,
  .contact-grid {
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .decision-board,
  .matrix-preview {
    max-width: 44rem;
  }

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

  .workflow-grid li:nth-child(2) {
    border-right: 0;
  }

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

@media (max-width: 680px) {
  html {
    scroll-padding-top: 7.25rem;
  }

  .site-shell {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    justify-content: center;
    min-height: 6.6rem;
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
  }

  .brand img {
    height: 1.8rem;
  }

  .header-nav {
    gap: 1.25rem;
  }

  .header-nav a {
    font-size: 0.78rem;
  }

  .hero-grid {
    padding-bottom: 3.6rem;
    padding-top: 3.6rem;
  }

  .hero-credit {
    bottom: 0.65rem;
    right: 1.2rem;
  }

  h1 {
    font-size: 2.3rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .decision-board {
    padding: 1.2rem;
  }

  .decision-list li {
    align-items: start;
    grid-template-columns: 1.8rem minmax(0, 1fr);
  }

  .decision-list em {
    grid-column: 2;
    text-align: left;
  }

  .statement-grid,
  .scope-grid,
  .guardrail-grid {
    gap: 1.4rem;
    grid-template-columns: 1fr;
  }

  .statement-grid {
    padding-bottom: 1.35rem;
    padding-top: 1.35rem;
  }

  .section {
    padding-bottom: 3.6rem;
    padding-top: 3.6rem;
  }

  .section-heading h2,
  .proof-section h2,
  .contact-section h2 {
    font-size: 1.65rem;
  }

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

  .workflow-grid li,
  .workflow-grid li:nth-child(2) {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 0;
  }

  .workflow-grid li:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 1rem;
  }

  .scope-grid article,
  .scope-grid article + article {
    border-left: 0;
    padding: 1.4rem 0;
  }

  .scope-grid article + article {
    border-top: 1px solid var(--line);
  }

  .matrix-preview-row {
    grid-template-columns: minmax(0, 1fr) 3.9rem 6.3rem;
    padding: 0 0.75rem;
  }

  .matrix-preview-row,
  .matrix-preview-total {
    font-size: 0.8rem;
  }

  .contact-section {
    padding-bottom: 3.5rem;
    padding-top: 3.5rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    padding-bottom: 1.3rem;
    padding-top: 1.3rem;
  }
}
