:root {
  --ink: #0a0a0a;
  --panel: #11110f;
  --panel-soft: #171612;
  --paper: #f5f0e8;
  --paper-dim: #c9c1b5;
  --gold: #c8a96e;
  --gold-strong: #e0c489;
  --line: rgba(200, 169, 110, 0.3);
  --line-soft: rgba(245, 240, 232, 0.14);
  --error: #ff9a80;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1rem;
}

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

.site-header {
  position: relative;
  z-index: 20;
  min-height: 72px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 10, 10, 0.96);
}

.nav-shell {
  width: min(1240px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2.3rem);
  white-space: nowrap;
}

.primary-nav a,
.mobile-nav a,
.mobile-nav summary {
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--gold-strong);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.65rem);
  width: 190px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.4rem 1rem;
}

.mobile-nav__panel a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav__panel a:last-child {
  border-bottom: 0;
}

main {
  display: block;
}

.hero {
  min-height: calc(100dvh - 72px);
  border-bottom: 1px solid var(--line-soft);
}

.hero-shell {
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding: 3.5rem 0;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section-heading,
.intake h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.7rem, 6.2vw, 6.7rem);
  line-height: 0.91;
}

.hero-copy {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  color: var(--paper-dim);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}

.hero-target {
  margin: 1rem 0 0;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.65;
  text-transform: uppercase;
}

.primary-action,
.submit-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1;
  padding: 1rem 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-action {
  margin-top: 1.7rem;
}

.primary-action:hover,
.primary-action:focus-visible,
.submit-action:hover,
.submit-action:focus-visible {
  border-color: var(--gold-strong);
  background: var(--gold-strong);
}

.primary-action:active,
.submit-action:active {
  transform: translateY(1px);
}

.primary-action:focus-visible,
.submit-action:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.hero-visual {
  position: relative;
  min-height: min(65dvh, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.06);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.08), rgba(10, 10, 10, 0.58));
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  z-index: 1;
  right: auto;
  bottom: 0.75rem;
  left: 0.75rem;
  max-width: calc(100% - 1.5rem);
  margin: 0;
  background: rgba(10, 10, 10, 0.92);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  padding: 0.5rem 0.65rem;
  text-transform: uppercase;
}

.evidence {
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
}

.evidence-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.6fr));
  gap: 1px;
  background: var(--line-soft);
}

.evidence-copy,
.evidence-stat {
  background: var(--panel);
  padding: 1.5rem;
}

.evidence-copy p {
  max-width: 44ch;
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

.evidence-copy a {
  color: var(--gold-strong);
}

.evidence-stat strong {
  display: block;
  color: var(--gold-strong);
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
}

.evidence-stat span {
  display: block;
  margin-top: 0.55rem;
  color: var(--paper-dim);
  font-size: 0.8rem;
  line-height: 1.4;
}

.section {
  border-bottom: 1px solid var(--line-soft);
}

.section-shell {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-heading {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.section-intro {
  max-width: 64ch;
  margin: 1.25rem 0 0;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.ledger {
  margin-top: 3.25rem;
  border-top: 1px solid var(--line);
}

.ledger-row {
  display: grid;
  grid-template-columns: 56px minmax(180px, 0.6fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  border-bottom: 1px solid var(--line-soft);
  padding: 1.5rem 0;
}

.ledger-row .marker {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.ledger-row h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.05;
}

.ledger-row p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}

.deliverables {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 3.5rem;
}

.deliverables li {
  break-inside: avoid;
  border-top: 1px solid var(--line-soft);
  padding: 1.05rem 0 1.25rem;
  color: var(--paper-dim);
  line-height: 1.55;
}

.deliverables b {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}

.engagement-shell {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.engagement-terms {
  border-top: 1px solid var(--gold);
}

.term {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  padding: 1rem 0;
}

.term span {
  color: var(--paper-dim);
  font-size: 0.86rem;
}

.term strong {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-align: right;
}

.caveat {
  margin: 1.6rem 0 0;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  color: var(--paper-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

.proof-link {
  display: inline-block;
  margin-top: 1.35rem;
  color: var(--gold-strong);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intake {
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
  color: var(--paper);
}

.intake-shell {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.intake .eyebrow {
  color: var(--gold);
}

.intake h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.intake-copy {
  margin: 1.2rem 0 0;
  color: var(--paper-dim);
  line-height: 1.65;
}

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

.field {
  min-width: 0;
}

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

label,
legend {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  color-scheme: dark;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.8rem 0.9rem;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #a9a198;
  opacity: 1;
}

.consent-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.consent-field input {
  width: 20px;
  min-height: 20px;
  margin: 0.1rem 0 0;
  accent-color: var(--gold);
}

.consent-field label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.submit-action {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

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

.submit-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.promise,
[data-lead-status] {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--ink);
  color: var(--paper-dim);
}

.footer-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 112px;
  font-size: 0.82rem;
}

.footer-shell a {
  color: var(--gold-strong);
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-shell,
  .engagement-shell,
  .intake-shell {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.25rem, 12vw, 5.5rem);
  }

  .hero-visual {
    min-height: 420px;
  }

  .evidence-shell {
    grid-template-columns: repeat(3, 1fr);
  }

  .evidence-copy {
    grid-column: 1 / -1;
  }

  .intake h2 {
    max-width: 13ch;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .hero-shell,
  .evidence-shell,
  .section-shell,
  .engagement-shell,
  .intake-shell,
  .footer-shell {
    width: min(100% - 32px, 1240px);
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
    line-height: 0.92;
  }

  .hero-visual {
    min-height: 330px;
  }

  .evidence-shell {
    grid-template-columns: 1fr;
  }

  .evidence-copy {
    grid-column: auto;
  }

  .ledger-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 1rem;
  }

  .ledger-row p {
    grid-column: 2;
  }

  .deliverables {
    columns: 1;
  }

  .audit-form {
    grid-template-columns: 1fr;
  }

  .field-full,
  .consent-field,
  .form-actions {
    grid-column: auto;
  }

  .footer-shell {
    min-height: 136px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
