@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #142024;
  --dark: #122125;
  --paper: #f7f5ef;
  --white: #fcfbf7;
  --body: #455155;
  --gold: #f4b85f;
  --bronze: #845416;
  --line: #d8d9d1;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body-font: Manrope, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.65 var(--body-font); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font: 700 clamp(3.25rem, 6vw, 5.5rem)/.94 var(--display); }
h3 { font-weight: 800; letter-spacing: -.03em; }
:focus-visible { outline: 3px solid #b3620b; outline-offset: 4px; }
.wrap { width: min(100% - 112px, 1240px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.skip-link { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.header { background: var(--white); border-top: 4px solid var(--gold); position: relative; z-index: 1; }
.header-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; font-weight: 800; font-size: 1.5rem; letter-spacing: -.065em; line-height: 1; }
.brand-accent { color: var(--bronze); }
.brand-mark { width: 31px; height: 31px; flex: 0 0 31px; background: var(--gold); position: relative; border-radius: 3px; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; background: var(--dark); clip-path: polygon(0 0, 100% 0, 78% 24%, 26% 24%, 26% 74%, 100% 74%, 100% 100%, 0 100%); }
.nav { display: flex; gap: clamp(1.25rem, 3vw, 2.7rem); align-items: center; font-size: .86rem; font-weight: 800; }
.nav > a:not(.button):hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.menu-toggle { border: 1px solid var(--line); color: var(--ink); background: transparent; border-radius: 4px; padding: .55rem .8rem; font-size: .82rem; font-weight: 800; align-items: center; gap: .6rem; }
.menu-toggle span { width: .95rem; height: .6rem; border-block: 2px solid currentColor; }
.button { min-height: 3.35rem; display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: .9rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 4px; font-size: .875rem; font-weight: 800; transition: background-color 160ms ease, color 160ms ease; }
.button span { line-height: 1; font-size: 1.15em; }
.button-small { min-height: 2.65rem; padding: .5rem .85rem; }
.button-dark { color: var(--white); background: var(--dark); }
.button-dark:hover { background: #304247; }
.button-gold { color: #192024; background: var(--gold); }
.button-gold:hover { background: #ffd390; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(540px, 47vw, 705px); color: var(--white); background: #283437; overflow: hidden; }
.hero-visual, .hero::before { position: absolute; inset: 0; z-index: -2; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero::before { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(12, 20, 23, .96) 0%, rgba(12, 20, 23, .86) 26%, rgba(12, 20, 23, .51) 51%, rgba(12, 20, 23, .06) 82%), linear-gradient(0deg, rgba(12, 20, 23, .55), transparent 38%); }
.hero-inner { padding-block: 5rem 6rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--bronze); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; line-height: 1.5; margin-bottom: 1.05rem; }
.eyebrow::before { content: ""; width: 1.55rem; height: 2px; background: currentColor; }
.hero .eyebrow, .deliverables .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(4rem, 7.6vw, 8rem); letter-spacing: -.018em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { margin-top: 1.6rem; max-width: 29rem; font-size: clamp(1rem, 1.5vw, 1.25rem); color: #f1efe7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.4rem; margin-top: 2rem; }
.hero-link, .text-link { display: inline-flex; width: fit-content; align-items: center; gap: .75rem; font-weight: 800; font-size: .87rem; }
.hero-link { padding-block: .5rem; }
.hero-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero-link span { color: var(--gold); }
.hero-credit { position: absolute; right: max(24px, calc((100% - 1240px) / 2)); bottom: 1.2rem; color: #f4f3eb; font-size: .68rem; letter-spacing: .035em; }

.scope-grid, .request-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(3rem, 8vw, 8rem); }
.section-intro h2 span { color: var(--bronze); }
.section-lead { margin-top: 1.4rem; max-width: 35ch; color: var(--body); font-size: 1.05rem; }
.text-link { color: var(--bronze); border-bottom: 1px solid #c8a87c; padding-bottom: .35rem; margin-top: 1.55rem; }
.scope-list { list-style: none; margin: .4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.scope-list li { display: grid; grid-template-columns: 3.1rem minmax(0, 1fr); align-items: center; gap: 1.2rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.scope-list h3 { font-size: 1.3rem; }
.scope-list p { color: var(--body); margin-top: .2rem; font-size: .93rem; }
.scope-mark { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid #dccba9; border-radius: 4px; color: var(--bronze); background: #eee8d9; }
.scope-mark::before { content: ""; display: block; width: 1.15rem; height: 1.15rem; border: 2px solid currentColor; }
.scope-water::before { border-radius: 64% 12% 64% 64%; transform: rotate(-45deg); }
.scope-sewer::before { border-radius: 50%; box-shadow: inset 0 0 0 2px #eee8d9, inset 0 0 0 4px currentColor; }
.scope-storm::before { border-radius: 2px; background: repeating-linear-gradient(90deg, transparent 0 3px, currentColor 3px 5px); }

.deliverables { background: var(--dark); color: var(--white); }
.deliverables-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 2.75rem; }
.deliverables .section-lead { color: #c4cfcc; margin: 0; }
.deliverable-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.deliverable-grid article { padding: clamp(1.35rem, 3vw, 2.2rem); border: 1px solid #3a4a4b; border-top: 2px solid #bf904e; background: #1b2b2e; }
.deliverable-grid h3 { font: 700 clamp(2.15rem, 4vw, 2.9rem)/1 var(--display); }
.deliverable-grid ul { margin: 1.35rem 0 0; padding: 0; list-style: none; color: #dce4e0; }
.deliverable-grid li { display: grid; grid-template-columns: .65rem minmax(0, 1fr); gap: .55rem; }
.deliverable-grid li + li { margin-top: .6rem; }
.deliverable-grid li::before { content: ""; width: .4rem; height: .4rem; margin-top: .64em; background: var(--gold); }

.process { background: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; gap: 1.5rem; margin: 2.75rem 0 0; }
.process-steps li { border-top: 2px solid var(--line); padding: 1.1rem 1rem 0 0; }
.step-number { display: block; color: var(--bronze); font: 700 2.2rem/1 var(--display); margin-bottom: .85rem; }
.process-steps h3 { font-size: 1.18rem; }
.process-steps p { margin-top: .35rem; color: var(--body); }

.request { background: #eeebe2; }
.request-grid { gap: clamp(2rem, 6vw, 5rem); }
.request-note { max-width: 35ch; margin-top: 1.35rem; padding-left: 1rem; border-left: 2px solid #b98641; color: var(--body); font-size: .9rem; }
.request-form { min-width: 0; display: grid; gap: 1rem; border: 1px solid #d7d5cb; border-radius: 6px; background: var(--white); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.request-form label { display: block; min-width: 0; font-size: .83rem; font-weight: 800; }
.required { color: var(--bronze); }
.request-form :is(input, select, textarea) { display: block; width: 100%; min-width: 0; margin-top: .3rem; min-height: 2.85rem; border: 1px solid #adafaa; border-radius: 4px; background: #fff; color: var(--ink); font-size: .93rem; font-weight: 500; padding: .55rem .65rem; }
.request-form :is(input, select, textarea):focus { border-color: #9a560b; }
.request-form :is(input, textarea)::placeholder { color: #5d6869; }
.request-form textarea { resize: vertical; }
.website-field { position: absolute; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
.form-end { display: flex; align-items: center; gap: .8rem 1rem; flex-wrap: wrap; }
.form-end p { font-size: .75rem; color: var(--body); flex: 1 1 10rem; }
.form-end button:disabled { opacity: .7; cursor: progress; }
.form-status { border-left: 3px solid #477d5b; background: #e7f2e9; padding: .65rem .75rem; font-size: .88rem; }
.form-status[data-status="error"] { border-color: #a93127; background: #fae9e5; color: #732419; }

.footer { padding-block: 2.1rem; background: #0c171a; color: #f6f4ee; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer .brand-accent { color: var(--gold); }
.footer p { margin-top: .75rem; font-size: .84rem; color: #c0cdca; }
.footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .82rem; font-weight: 700; }

@media (max-width: 960px) {
  .wrap { width: min(100% - 64px, 1240px); }
  .hero h1 { font-size: clamp(4rem, 9vw, 6.2rem); }
  .scope-grid, .request-grid { gap: 2rem; }
  .nav { gap: 1.2rem; }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; flex-wrap: wrap; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .nav { width: 100%; padding-bottom: .85rem; flex-wrap: wrap; gap: .6rem 1.15rem; }
  .nav[data-mobile] { display: none; }
  .nav[data-mobile][data-open] { display: flex; }
  .scope-grid, .request-grid { grid-template-columns: 1fr; }
  .deliverables-heading { flex-direction: column; align-items: start; gap: 1.05rem; margin-bottom: 1.65rem; }
  .process-steps { gap: 1rem; }
}

@media (max-width: 535px) {
  .section { padding-block: 3.65rem; }
  .hero { min-height: 570px; }
  .hero-inner { padding-block: 5.75rem 5.25rem; }
  .hero h1 { font-size: clamp(3.4rem, 10.6vw, 4.65rem); }
  .hero h1 br { display: none; }
  .hero::before { background: linear-gradient(90deg, #0c1417e8, #0c141766 100%), linear-gradient(0deg, #0c1417af, transparent 75%); }
  .hero-visual img { object-position: 64% center; }
  .hero-credit { right: 1.25rem; }
  .deliverable-grid, .process-steps { grid-template-columns: 1fr; }
  .process-steps li { padding-top: .85rem; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .header-inner { gap: .5rem; }
  .brand { font-size: 1.3rem; gap: .45rem; }
  .brand-mark { width: 27px; height: 27px; flex-basis: 27px; }
  .menu-toggle { padding-inline: .55rem; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
