:root {
  color-scheme: light;
  --ink: #263544;
  --muted: #5d6670;
  --accent: #35495e;
  --line: #dce1e5;
  --paper: #f6f4ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  color: #142332;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #547493;
  outline-offset: 4px;
}

button, input, select, textarea {
  font: inherit;
}

button, summary {
  cursor: pointer;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(36px, 4.5vw, 54px);
  letter-spacing: -1.8px;
}

h2 {
  font-size: 28px;
  letter-spacing: -.7px;
}

h3 {
  font-size: 21px;
}

p + p {
  margin-top: 15px;
}

.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  background: #fff;
  padding: 10px 18px;
  z-index: 10;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  position: relative;
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 60px;
  height: auto;
}

.brand > span {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 2px;
}

.brand small {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.9px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  text-decoration: none;
}

.desktop-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 12px 0 20px;
}

.mobile-menu a {
  display: block;
  padding: 9px 4px;
  min-height: 44px;
  text-decoration: none;
}

.mobile-menu a[aria-current="page"] {
  font-weight: 700;
}

.contact-bar {
  background: #35495e;
  color: #fff;
  font-size: 13px;
}
.contact-bar > .wrap {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.contact-bar a {
  color: #fff;
  text-decoration: none;
}
.header-shell {
  background: #fff;
}
.project-hero {
  height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #35495e;
}
.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: center 12%;
}
.hero-shade {
  background: rgba(13, 27, 37, 0.55);
}
.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding-bottom: 4px;
}
.hero-content h1 {
  font-size: 46px;
  letter-spacing: -0.9px;
  font-weight: 600;
}
.hero-services {
  margin-top: 18px;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.35;
}
.hero-location {
  margin-top: 17px;
  font-size: 17px;
}
.hero-content .button {
  margin-top: 28px;
  background: #fff;
  color: #263b4d;
  border-color: #fff;
  font-weight: 600;
  min-width: 190px;
}
.hero-content .button:hover {
  background: #e9edf0;
}
.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 12px;
  color: #fff;
  font-size: 12px;
}
.credentials-band {
  background: #f1f3f3;
  border-bottom: 1px solid #dce1e2;
  color: #35495e;
  font-size: 14px;
}
.credentials-band > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 21px;
}
.credentials-band p {
  font-weight: 600;
}
.lead {
  max-width: 770px;
  margin-top: 20px;
  font-size: 23px;
  line-height: 1.45;
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 26px 0;
}

.contact-links a {
  min-height: 44px;
  overflow-wrap: anywhere;
}

.phone-link {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
}

.credentials-line {
  color: var(--muted);
  font-size: 14px;
}

.home-overview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding-block: 64px;
}
.home-overview h2 {
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 20px;
}
.builder-intro p {
  color: var(--muted);
  margin-bottom: 20px;
}
.home-overview a {
  color: #35495e;
}
.overview-services ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.overview-services li {
  padding: 8px 0;
  border-bottom: 1px solid #dce1e2;
}
.overview-services li:first-child {
  padding-top: 0;
}
.overview-services li a {
  text-decoration: none;
}
.overview-services li a:hover {
  text-decoration: underline;
}
.recent-project {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 70px;
  padding-block: 48px 64px;
  border-top: 1px solid #dce1e2;
  scroll-margin-top: 24px;
}
.project-copy h2 {
  margin-bottom: 24px;
}
.project-copy h3 {
  font-size: 24px;
  margin-bottom: 13px;
}
.project-copy p {
  color: var(--muted);
  margin-bottom: 20px;
}
.recent-project figure {
  margin: 0;
  min-width: 0;
}
.recent-project img {
  display: block;
  width: 100%;
  height: auto;
}
.recent-project figcaption {
  color: var(--muted);
  font-size: 12px;
  padding-top: 9px;
}
.page-intro {
  padding: 65px 0 45px;
  max-width: 850px;
}

.page-intro > p:not(.lead) {
  margin-top: 17px;
  color: var(--muted);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 60px;
  border-top: 1px solid var(--line);
  padding: 28px 0 31px;
  scroll-margin-top: 30px;
}

.service-detail h2 {
  max-width: 275px;
}

.service-detail p {
  margin-bottom: 13px;
}

.service-detail a {
  font-size: 15px;
}

.scope-note {
  color: var(--muted);
  font-size: 14px;
  margin: 9px 0 50px;
  max-width: 730px;
}

.business-details {
  border-top: 1px solid var(--line);
  padding: 29px 0 50px;
}

.business-details dl {
  margin: 19px 0 0;
}

.business-details dl > div {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  padding: 10px 0;
}

.business-details dt {
  color: var(--muted);
}

.business-details dd {
  margin: 0;
}

.contact-intro {
  padding-bottom: 33px;
}

.contact-intro .contact-links {
  margin-top: 25px;
}

.brief-tool {
  max-width: 730px;
  margin-bottom: 58px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.brief-tool > summary {
  font-size: 19px;
  font-weight: 600;
  min-height: 44px;
}

.brief-tool > p {
  margin-top: 14px;
}

.project-builder {
  margin-top: 30px;
}

.builder-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.builder-title > span {
  font-size: 14px;
  color: var(--muted);
}

.step-indicator {
  display: flex;
  padding: 0;
  margin: 20px 0 28px;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.step-indicator li {
  flex: 1;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.step-indicator li.active {
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
  color: var(--ink);
}

.step-indicator li.complete {
  color: var(--ink);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

legend {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 0;
}

label {
  display: block;
  margin: 18px 0 7px;
  font-weight: 600;
  font-size: 15px;
}

label span {
  font-weight: 400;
}

input, select, textarea {
  display: block;
  width: 100%;
  color: var(--ink);
  background: #fff;
  padding: 11px 12px;
  border: 1px solid #aeb7bf;
  border-radius: 0;
  min-height: 46px;
}

textarea {
  resize: vertical;
}

[aria-invalid="true"] {
  border-color: #a12c2c;
}

.field-help {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  padding-block: 7px;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
}

.form-controls {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  color: #fff;
  background: #263b50;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: #aeb7bf;
}

.button.secondary:hover {
  background: #f3f5f6;
}

.text-button {
  min-height: 44px;
  border: 0;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-error {
  margin-bottom: 18px;
  padding: 12px 15px;
  color: #822323;
  border-left: 3px solid #a12c2c;
  background: #fff4f4;
}

#brief-result h3 {
  margin-bottom: 15px;
}

#brief-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
  background: #f5f6f7;
  padding: 20px;
  margin: 20px 0;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.edit-brief {
  margin-top: 14px;
}

.legal-page {
  max-width: 760px;
  padding: 64px 0 55px;
}

.legal-page h2 {
  font-size: 21px;
  margin: 30px 0 13px;
}

.legal-page > .field-help {
  margin-top: 20px;
}

.site-footer {
  background: #263b4d;
  color: #eff2f4;
  font-size: 13px;
  line-height: 1.6;
}

.footer-callout {
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-callout h2 {
  font-size: 30px;
}
.footer-callout p {
  color: #cbd4db;
  margin-top: 9px;
  font-size: 15px;
}
.footer-callout .button {
  background: #fff;
  border-color: #fff;
  color: #263b4d;
  flex-shrink: 0;
}
.footer-inner {
  padding: 35px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer p + p {
  margin-top: 5px;
}

.site-footer a {
  overflow-wrap: anywhere;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.footer-contact span {
  margin-top: 7px;
  font-size: 12px;
}

@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .contact-bar {
    font-size: 12px;
  }
  .site-header {
    min-height: 98px;
    gap: 12px;
  }
  .brand > span {
    font-size: 18px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 2.4px;
  }
  .brand img {
    width: 45px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .project-hero {
    height: 475px;
  }
  .hero-image {
    object-position: 62% center;
  }
  .hero-content h1 {
    font-size: 35px;
    letter-spacing: -0.8px;
  }
  .hero-services {
    font-size: 24px;
    margin-top: 18px;
  }
  .hero-caption {
    font-size: 10px;
    right: 15px;
  }
  .credentials-band > .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 18px;
    font-size: 13px;
  }
  .home-overview, .recent-project {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 38px;
  }
  .home-overview h2 {
    font-size: 26px;
  }
  .page-intro, .legal-page {
    padding-top: 40px;
  }
  .lead {
    font-size: 20px;
    margin-top: 17px;
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 24px;
  }
  .service-detail h2 {
    max-width: none;
    font-size: 21px;
  }
  .business-details dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding-block: 9px;
  }
  .footer-callout, .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  .footer-callout h2 {
    font-size: 26px;
  }
  .footer-contact {
    align-items: flex-start;
  }
  .footer-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .phone-link {
    font-size: 24px;
  }
  .contact-links > a:not(.phone-link) {
    font-size: 15px;
  }
  .form-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .brief-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header, .site-footer, .form-controls, .step-indicator, .brief-actions, .edit-brief {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  body {
    color: #000;
  }
  #brief-text {
    padding: 0;
    background: #fff;
  }
}
