:root {
  color-scheme: light;
  --ink: #172922;
  --forest: #112a23;
  --forest-deep: #0c211b;
  --forest-light: #193a2f;
  --gold: #edc583;
  --gold-bright: #ffe0a6;
  --paper: #f7f6f1;
  --white: #fffefa;
  --muted: #4e5c53;
  --line: #d4dbd1;
  --line-dark: #355148;
  --measure: 76rem;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.56; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .26em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.11; }
h2 { font-size: clamp(2rem, 1.3rem + 2.5vw, 3.75rem); letter-spacing: -.064em; }
h3 { font-size: clamp(1.55rem, 1rem + 1.7vw, 2.5rem); letter-spacing: -.045em; }
:focus-visible { outline: 3px solid #9a5e15; outline-offset: 4px; }
.hero :focus-visible, .masthead :focus-visible, .foot :focus-visible { outline-color: var(--gold-bright); }
.wrap { width: min(var(--measure), calc(100% - clamp(2rem, 9vw, 8rem))); margin-inline: auto; }
.section-space { padding-block: clamp(3.65rem, 7.6vw, 7.25rem); }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 5;
  padding: .6rem 1rem;
  color: var(--ink);
  background: var(--gold);
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  color: #435f50;
  font-size: .82rem;
  font-weight: 790;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.55rem; height: 2px; margin-right: .22rem; background: currentColor; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .68rem 1.08rem;
  border: 1px solid transparent;
  border-radius: .18rem;
  font-weight: 740;
  font-size: .925rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.button-small { min-height: 2.6rem; }
.button-gold { color: var(--forest-deep); background: var(--gold); }
.button-gold:hover { background: var(--gold-bright); }
.button-dark { color: var(--white); background: var(--forest); }
.button-dark:hover { background: #245042; }
.button-outline { border-color: #668275; background: transparent; color: var(--forest); }
.button-outline:hover { background: #e2eae2; }
.button-outline-light { border-color: #91a196; color: var(--white); }
.button-outline-light:hover { border-color: var(--gold); color: var(--gold); }

.masthead { background: var(--forest-deep); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.masthead-inner { min-height: 5.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1.1rem 2rem; }
.brand { display: flex; align-items: center; gap: 1rem; flex: none; text-decoration: none; font-size: .95rem; letter-spacing: .11em; font-weight: 820; }
.brand img { width: 5rem; height: auto; }
.brand span { border-left: 1px solid var(--line-dark); padding-left: 1rem; }
.masthead nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.85rem, 2.6vw, 2.3rem); }
.masthead nav > a:not(.button) { color: #e3eae3; font-size: .94rem; font-weight: 630; text-decoration: none; }
.masthead nav > a:not(.button):hover { color: var(--gold); text-decoration: underline; }

.hero {
  background: radial-gradient(ellipse at 80% 50%, var(--forest-light), var(--forest-deep) 74%);
  color: var(--white);
  border-bottom: 4px solid #bd9153;
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}
.hero-copy { align-self: center; padding: clamp(3.25rem, 6.6vw, 6.5rem) clamp(2rem, 4vw, 4.5rem) clamp(3.25rem, 6.6vw, 6.5rem) 0; }
.hero .eyebrow { color: var(--gold); font-size: clamp(.72rem, .85vw, .82rem); }
.hero .eyebrow span { opacity: .66; }
.hero h1 { margin-top: .82rem; font-size: clamp(3.5rem, 6.15vw, 6.45rem); letter-spacing: -.079em; line-height: .94; font-weight: 790; }
.hero-market { display: block; color: var(--gold); margin-top: 1.06rem; font-size: clamp(1.3rem, 2.45vw, 2.43rem); line-height: 1.08; letter-spacing: -.042em; font-weight: 610; }
.hero-summary { max-width: 31rem; color: #e0e9e2; margin-top: 1.45rem; font-size: clamp(1rem, 1.3vw, 1.19rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.4rem; margin-top: 1.55rem; }
.hero-link { display: inline-flex; min-height: 3rem; align-items: center; font-weight: 680; font-size: .95rem; }
.hero-link:hover { color: var(--gold); }

.section-intro { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: .9rem 3.5rem; margin-bottom: 1.7rem; }
.section-intro h2, .process-intro h2 { margin-top: .5rem; }
.section-intro > p { color: var(--muted); max-width: 35rem; }
.scope-workspace { display: grid; grid-template-columns: minmax(15rem, .4fr) minmax(0, 1fr); border: 1px solid var(--line); background: var(--white); }
.scope-menu { display: flex; flex-direction: column; background: #e9eee7; border-right: 1px solid var(--line); }
.scope-menu button { min-height: 3.65rem; padding: .7rem 1.15rem; border: 0; border-bottom: 1px solid #d5ddd3; border-left: 3px solid transparent; background: transparent; color: var(--ink); text-align: left; font-weight: 680; }
.scope-menu button:hover { background: #d9e4db; }
.scope-menu button[aria-pressed="true"] { border-left-color: #a7793b; color: var(--white); background: var(--forest-light); }
.scope-menu button:focus-visible { outline-offset: -4px; }
.scope-detail { padding: clamp(1.2rem, 3.25vw, 3rem); }
.scope-detail > p { margin-top: .65rem; max-width: 55ch; color: var(--muted); }
.scope-inputs { margin-block: 1.12rem 1.32rem; }
.scope-inputs h4 { font-size: 1rem; letter-spacing: -.015em; }
.scope-inputs ul { margin: .4rem 0 0; padding-left: 1.27rem; }
.scope-inputs li { margin-top: .18rem; }
.scope-inputs li::marker { color: #916528; }
.scope-tray { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem 1.25rem; padding: .75rem 1.15rem; border-top: 1px solid var(--line); background: #f0f1ea; font-size: .93rem; }
.scope-tray p { color: var(--muted); }
.scope-tray a { font-weight: 740; white-space: nowrap; }
.scope-tray a:hover, .foot a:hover { text-decoration-thickness: 2px; }

.process { padding-block: clamp(3.4rem, 7vw, 6.5rem); border-block: 1px solid var(--line); background: #e8eee7; }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 2.5rem clamp(2.5rem, 7.5vw, 7.4rem); align-items: start; }
.process-intro p:not(.eyebrow) { margin-top: .9rem; color: var(--muted); max-width: 45ch; }
.process-steps { border-top: 2px solid #7d9386; }
.process-steps div { border-bottom: 1px solid #bac8bd; padding-block: 1.1rem; }
.process-steps dt { font-size: 1.25rem; font-weight: 780; letter-spacing: -.028em; }
.process-steps dd { margin-top: .25rem; color: var(--muted); max-width: 50ch; }

.inquiry-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(19rem, 1fr); gap: 1.2rem; align-items: start; }
form, .draft { padding: clamp(1rem, 2.9vw, 2.1rem); border: 1px solid var(--line); }
form { background: var(--white); }
.form-note, .feedback { font-size: .91rem; color: var(--muted); }
form > .form-note { margin-bottom: 1.25rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field-grid label, .field-notes, .scope-options legend { display: block; font-weight: 730; font-size: .925rem; }
.field-grid label span, .scope-options legend span { font-weight: 500; color: var(--muted); }
.field-grid input, .field-grid select, .field-notes textarea, .draft textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid #a1aea4;
  border-radius: .17rem;
  padding: .58rem .65rem;
  margin-top: .3rem;
  font-size: 1rem;
  font-weight: 430;
}
.field-grid select {
  appearance: none;
  padding-right: 1.7rem;
  background-image: linear-gradient(45deg, transparent 50%, #496355 50%), linear-gradient(135deg, #496355 50%, transparent 50%);
  background-position: calc(100% - 15px) 51%, calc(100% - 10px) 51%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
}
::placeholder { color: #5b675f; }
.field-notes { margin-block: 1rem; }
textarea { resize: vertical; }
.scope-options { min-width: 0; margin: 1.3rem 0 1rem; padding: .7rem 0 0; border: 0; border-top: 1px solid var(--line); }
.scope-options legend { padding-right: .6rem; }
.scope-choices { display: flex; flex-wrap: wrap; gap: .375rem; }
.scope-choices label { display: inline-flex; align-items: center; gap: .42rem; min-height: 2.6rem; padding: .35rem .58rem; border: 1px solid var(--line); border-radius: .17rem; background: #f2f4ef; font-size: .9rem; cursor: pointer; }
.scope-choices label:has(:checked) { background: #e4ece4; border-color: #6b8777; }
.scope-choices input { accent-color: var(--forest-light); margin: 0; width: 1rem; height: 1rem; }
.form-error { color: #8c2b16; font-size: .92rem; margin-top: .4rem; }
.draft { background: #e9eee7; }
.draft h3 { font-size: 1.65rem; }
.draft > p { margin-top: .65rem; }
.draft textarea { margin-top: .95rem; font: .9rem/1.55 ui-monospace, "Courier New", monospace; }
.draft-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.draft-actions .button { min-height: 2.65rem; padding-inline: .65rem; font-size: .875rem; }
.draft .form-note { margin-top: .55rem; }
.feedback:empty { margin: 0; }

.foot { background: var(--forest-deep); color: #d8e2da; }
.foot-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.7rem; }
.foot strong { color: var(--gold); font-size: .95rem; letter-spacing: .105em; }
.foot p { font-size: .91rem; }
.foot a { font-size: .94rem; }

@media (max-width: 58rem) {
  .hero h1 { font-size: clamp(3.25rem, 7.25vw, 5.7rem); }
  .section-intro { grid-template-columns: 1.35fr 1fr; gap: .7rem 1.3rem; }
  .inquiry-layout { grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 1fr); }
}

@media (max-width: 45rem) {
  .masthead-inner { flex-wrap: wrap; padding-block: .87rem; gap: .55rem 1.2rem; }
  .masthead nav { gap: .65rem 1rem; }
  .masthead nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 2.5rem; font-size: .87rem; }
  .button-small { padding-inline: .65rem; font-size: .85rem; }
  .hero-content { grid-template-columns: minmax(0, 1fr); width: 100%; min-height: 0; }
  .hero-copy { width: calc(100% - clamp(2rem, 9vw, 8rem)); margin-inline: auto; padding: 2.65rem 0 2rem; }
  .hero h1 { font-size: clamp(3rem, 12vw, 6rem); }
  .hero-break { display: none; }
  .hero-market { margin-top: .8rem; }
  .section-intro, .process-grid, .inquiry-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
  .scope-workspace { grid-template-columns: minmax(0, 1fr); }
  .scope-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; }
  .scope-menu button { padding: .54rem .55rem; min-height: 3.1rem; font-size: .94rem; }
  .scope-menu button:nth-child(odd) { border-right: 1px solid var(--line); }
}

@media (max-width: 29rem) {
  .field-grid { grid-template-columns: minmax(0, 1fr); gap: .73rem; }
  .draft-actions .button { flex-grow: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.scope-examples{margin-top:1.15rem;border-left:3px solid #bd9153;padding-left:.9rem}
.hero-break { display: none; }
.hero-copy { padding-block: clamp(1.5rem, 3.1vw, 2.75rem); }
.hero h1 { font-size: clamp(2.15rem, 5vw, 4.15rem); letter-spacing: -.055em; line-height: 1.03; }
.hero-market { margin-top: .56rem; font-size: clamp(1.1rem, 2.1vw, 1.8rem); }
.hero-summary { margin-top: .65rem; max-width: 42rem; }
.hero-actions { margin-top: .7rem; }
.inquiry.section-space { padding-top: clamp(1.25rem, 3vw, 2.4rem); }
.inquiry .section-intro { margin-bottom: .95rem; align-items: start; }
.inquiry .section-intro h2 { font-size: clamp(1.8rem, 3.6vw, 3.1rem); }
@media (max-width:45rem) {
  .masthead-inner { padding-block: .52rem; }
  .hero-copy { padding-block: 1.02rem 1.15rem; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.7rem); margin-top: .44rem; }
  .hero-market { margin-top: .42rem; }
  .hero-actions { display: none; }
  .inquiry .section-intro { gap: .4rem; }
}
.supplier-lane { background:#e7eae1; border-top:1px solid var(--line); }
.supplier-lane .process-intro p:last-child { margin-top:1.1rem; }
@media (max-width:45rem) {
  .masthead nav { gap:.22rem .8rem; }
  .masthead nav > a:not(.button) { min-height:2rem; }
}

.pdf-scanner {
  margin-bottom: 1.2rem;
  padding: clamp(1rem, 2.9vw, 2.1rem);
  border: 1px solid var(--line);
  background: #e9eee7;
}
.pdf-scanner h3 { font-size: 1.65rem; }
.pdf-scanner h3 + p, .pdf-scanner > .form-note { margin-top: .42rem; }
.pdf-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 10rem) auto;
  align-items: end;
  gap: .3rem 1rem;
  margin-top: 1rem;
}
.pdf-controls label { grid-row: 1; font-size: .925rem; font-weight: 730; }
.pdf-controls input, .pdf-controls button { grid-row: 2; min-height: 3rem; min-width: 0; }
.pdf-controls input {
  padding: .5rem .6rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #a1aea4;
  border-radius: .17rem;
}
.pdf-controls input::file-selector-button {
  margin-right: .55rem;
  padding: .15rem .5rem;
  color: var(--ink);
  border: 1px solid #a1aea4;
  border-radius: .17rem;
  background: #e9eee7;
  font: inherit;
}
.pdf-scanner .feedback:not(:empty) { margin-top: .75rem; font-weight: 630; }
.pdf-scan-notes { padding-left: 1.2rem; margin-block: .45rem 0; color: var(--muted); font-size: .91rem; }
.pdf-review { margin-top: .95rem; padding-top: .95rem; border-top: 1px solid #a1aea4; }
.pdf-review h4 { margin-bottom: .4rem; }
.pdf-candidate-group { border: 0; margin: .85rem 0 0; padding: 0; min-width: 0; }
.pdf-candidate-group legend { padding: 0; font-weight: 730; }
.pdf-candidate {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: start;
  gap: .5rem;
  min-height: 2.8rem;
  padding: .4rem .55rem;
  margin-top: .22rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.pdf-candidate input { width: 1rem; height: 1rem; margin: .3rem 0 0; accent-color: var(--forest); }
.pdf-candidate small { display: block; color: var(--muted); font-size: .85rem; }
.pdf-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.pdf-scanner button:disabled { opacity: .56; cursor: default; }
@media (max-width: 36rem) {
  .pdf-controls { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .pdf-controls label, .pdf-controls input, .pdf-controls button { grid-row: auto; }
  .pdf-controls label:not(:first-child), .pdf-controls button { margin-top: .3rem; }
}
#pdf-review-summary { margin-top: .45rem; }
.field-notes > input, .field-notes > textarea { max-width: 100%; }
.clarification-controls button { width: 100%; }
.clarification-controls { grid-template-columns: minmax(0, 1fr) auto auto; }
@media (max-width: 36rem) {
  .clarification-controls { grid-template-columns: minmax(0, 1fr); }
}

.review-export {
  margin-top: 1.2rem;
  padding: clamp(1rem, 2.9vw, 2.1rem);
  border: 1px solid var(--line);
  background: #e9eee7;
}
.review-export summary { font-size: 1.25rem; font-weight: 760; cursor: pointer; }
.review-export > .form-note { margin: .55rem 0 1rem; }
.review-export .feedback:not(:empty) { margin-top: .75rem; }

#bid-review-sheet {
  position: fixed;
  inset: 0 auto auto -200vw;
  visibility: hidden;
  width: 7.25in;
  height: 9.65in;
  padding: 0;
  font: 10pt/1.3 Arial, sans-serif;
  color: #172922;
  background: white;
}
#bid-review-sheet header { padding-bottom: .12in; border-bottom: 2px solid #476959; }
#bid-review-sheet .sheet-brand { font-weight: bold; font-size: 9pt; letter-spacing: .12em; }
#bid-review-sheet h1 { font-size: 24pt; margin: .07in 0 .05in; }
#bid-review-sheet .sheet-project { font-size: 13pt; font-weight: bold; overflow-wrap: anywhere; }
#bid-review-sheet section { margin: .17in 0 0; }
#bid-review-sheet h2 { font: bold 12pt/1.2 Arial, sans-serif; margin-bottom: .05in; }
#bid-review-sheet dl {
  display: grid;
  grid-template-columns: 1.53in minmax(0, 1fr);
  gap: .035in .09in;
  border-top: 1px solid #c4d1c8;
  padding-top: .04in;
}
#bid-review-sheet dt { font-weight: bold; }
#bid-review-sheet dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#bid-review-sheet footer {
  margin-top: .18in;
  border-top: 1px solid #c4d1c8;
  padding-top: .075in;
  font-size: 9pt;
  color: #3c5147;
}

@page { size: letter; margin: .6in; }
@media print {
  html, body { background: white; margin: 0; padding: 0; }
  body.print-bid-review > :not(#bid-review-sheet) { display: none !important; }
  body.print-bid-review #bid-review-sheet { position: static; visibility: visible; height: auto; max-width: 100%; }
}
