:root {
  --navy: #1b2a4a;
  --gold: #b8956a;
  --ink: #1d2430;
  --muted: #616a78;
  --line: #dde1e7;
  --soft: #f7f8fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", "Century Gothic", "Montserrat", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(100% - 2.5rem, 1120px);
  margin: 0 auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.brand img {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand.has-logo img {
  display: block;
}

.brand.has-logo .brand-fallback {
  display: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.project-link:hover h3,
.project-link:focus-visible h3,
.service-card a:hover,
.service-card a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--gold);
}

.hero {
  display: flex;
  min-height: calc(100svh - 88px);
  max-width: 790px;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 0 7rem;
}

.eyebrow,
.section-label,
.project-status {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
}

h1 {
  margin: 0.4rem 0 1.25rem;
  font-size: clamp(3.3rem, 9vw, 6.5rem);
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
}

.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--navy);
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
}

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

.about {
  display: grid;
  gap: 1.25rem;
}

.large-copy {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.7;
}

.guidance {
  display: grid;
  gap: 1.25rem;
}

.guidance > div:last-child > p:last-child {
  max-width: 700px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.section-heading .section-label {
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.service-grid,
.project-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card,
.project-card {
  padding: 1.75rem;
  background: var(--white);
}

.service-card {
  min-height: 265px;
}

.card-number {
  display: block;
  margin-bottom: 2.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-card p,
.project-card p,
.contact-intro > p {
  color: var(--muted);
  font-size: 1rem;
}

.service-card--accent {
  background: var(--soft);
}

.service-card a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.service-card a span {
  margin-left: 0.3rem;
}

.project-card {
  min-height: 230px;
}

.project-link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.project-status {
  margin-bottom: 3rem;
}

.project-card h3 {
  margin-bottom: 0.75rem;
}

.project-card h3 span {
  color: var(--gold);
}

.project-card--pending {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--soft);
}

.project-card--pending .project-status {
  margin-bottom: 0.75rem;
}

.project-card--pending h3 {
  margin: 0;
  color: #8c929c;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

summary {
  padding: 1.25rem 2rem 1.25rem 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

details p {
  max-width: 780px;
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact {
  display: grid;
  gap: 3rem;
}

.contact-intro h2 {
  margin-top: 0.75rem;
}

.contact-intro > p {
  max-width: 450px;
}

dl {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

dt {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

dd {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 600;
}

form {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

label {
  margin-top: 0.8rem;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.75rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(184, 149, 106, 0.22);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
}

form .button {
  margin-top: 1.25rem;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.5;
}

.consent input {
  width: 1rem;
  min-width: 1rem;
  margin: 0.15rem 0 0;
}

.consent a {
  color: var(--navy);
  font-weight: 600;
}

.form-note,
.legal-update {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.legal-grid article {
  padding: 1.5rem;
  background: var(--white);
}

.legal-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.legal-grid h2 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.legal-grid p {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-grid p:last-child {
  margin-bottom: 0;
}

.legal-update {
  margin-top: 1.25rem;
}

.legal-page {
  min-height: calc(100svh - 88px);
}

.legal-page .legal {
  padding-top: 3rem;
}

footer {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

footer strong {
  color: var(--navy);
}

footer a {
  width: fit-content;
  color: var(--navy);
  font-weight: 600;
}

@media (min-width: 700px) {
  .site-header,
  main,
  footer {
    width: min(100% - 5rem, 1120px);
  }

  nav {
    gap: 2rem;
  }

  .about {
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
  }

  .guidance {
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
  }

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

  .project-grid {
    grid-template-columns: 3fr 2fr;
  }

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

  .contact {
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
  }

  footer {
    grid-template-columns: 1fr auto auto auto 1fr;
    align-items: end;
  }

  footer small {
    text-align: right;
  }
}

@media (max-width: 410px) {
  nav {
    gap: 0.75rem;
  }

  nav a {
    font-size: 0.72rem;
  }
}
