:root {
  --paper: #fff;
  --ink: #090909;
  --line: #090909;
  --soft-line: #cfcfcf;
  --muted: #4c4c4c;
  --page-pad: clamp(1rem, 3vw, 3.5rem);
  --section-space: clamp(4.5rem, 10vw, 9rem);
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 84px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-grid;
  gap: 0.05rem;
  justify-self: start;
  padding: 0.65rem 0.75rem;
  color: #fff;
  background: #050505;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.wordmark span:last-child {
  font-size: 1.04rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: flex-end;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 0.55rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--ink);
}

.local-preview {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem var(--page-pad);
  color: #fff;
  background: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumb span::before {
  margin-right: 0.45rem;
  content: "/";
}

.page-hero,
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  min-height: 72svh;
  padding: clamp(4rem, 8vw, 8rem) var(--page-pad) var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.detail-hero h1 {
  max-width: 13ch;
  margin: 1.5rem 0 0;
  font-size: clamp(3.4rem, 8vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero-side {
  display: grid;
  gap: 1.5rem;
}

.hero-side p {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.eyebrow,
.meta-line,
.section-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
button.button {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
}

.button--dark,
button.button--dark {
  color: #fff;
  background: #000;
}

.button:hover,
.button:focus-visible,
button.button:hover,
button.button:focus-visible {
  color: #fff;
  background: #000;
}

.button--dark:hover,
.button--dark:focus-visible,
button.button--dark:hover,
button.button--dark:focus-visible {
  color: #000;
  background: #fff;
}

.concept-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  padding: var(--section-space) var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.concept-figure {
  margin: 0;
}

.concept-figure img {
  border: 1px solid var(--line);
}

.concept-figure figcaption {
  padding: 0.75rem 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.concept-copy {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 2rem;
}

.concept-copy h2,
.content-section h2,
.related h2,
.form-shell h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.5vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.concept-copy p,
.content-section > p {
  max-width: 50rem;
  margin: 0;
}

.disclaimer {
  padding: 1rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}

.content-section,
.related,
.form-shell {
  padding: var(--section-space) var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.4fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-head p {
  max-width: 38rem;
  margin: 0;
}

.decision-grid,
.service-grid,
.hub-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.decision-card,
.service-card,
.hub-card,
.related-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-height: 15rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decision-card h3,
.service-card h2,
.hub-card h2,
.related-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.decision-card p,
.service-card p,
.hub-card p,
.related-card p {
  margin: 0;
}

.related-card {
  min-height: 0;
  padding: 0;
}

.related-card img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.related-card__copy {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.related-card__copy .eyebrow {
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: var(--section-space) var(--page-pad);
  color: #fff;
  background: #000;
}

.cta-band h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.cta-band .button {
  color: #fff;
  border-color: #fff;
  background: #000;
}

.cta-band .button:hover,
.cta-band .button:focus-visible {
  color: #000;
  background: #fff;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(20rem, 1.25fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.form-intro {
  display: grid;
  gap: 1.5rem;
}

.form-intro p {
  max-width: 35rem;
  margin: 0;
}

.form-panel,
.state-panel {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
}

.form-panel[hidden],
.state-panel[hidden] {
  display: none !important;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label,
.consent {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 11rem;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border-width: 2px;
}

.field-error {
  min-height: 1.1rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  text-transform: none;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.1rem 0 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.brief-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inquiry-brief {
  width: 100%;
  min-height: 18rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.55;
  resize: vertical;
}

.state-panel {
  min-height: 24rem;
  align-content: center;
}

.state-panel:focus {
  outline: none;
}

.state-panel h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.state-panel p {
  max-width: 38rem;
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 86px;
  padding: 1rem var(--page-pad);
  color: #fff;
  background: #000;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  justify-self: end;
  border-bottom: 1px solid #fff;
}

.site-footer span:nth-child(2) {
  justify-self: center;
}

@media (max-width: 960px) {
  .page-hero,
  .detail-hero,
  .concept-layout,
  .section-head,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .detail-hero {
    min-height: auto;
  }

  .concept-copy {
    position: static;
  }

  .decision-grid,
  .service-grid,
  .hub-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .site-nav {
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    gap: 1.25rem;
    width: 100%;
    justify-content: start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .local-preview {
    align-items: flex-start;
  }

  .page-hero h1,
  .detail-hero h1 {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

  .decision-grid,
  .service-grid,
  .hub-grid,
  .related-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--wide {
    grid-column: auto;
  }

  .button-row,
  .button,
  button.button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }

  .site-footer a,
  .site-footer span:nth-child(3) {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
