:root {
  --ink: #111715;
  --ink-2: #1d2724;
  --ink-3: #31413b;
  --paper: #f6f1e7;
  --paper-2: #ebe2d3;
  --panel: #fffaf1;
  --line: rgba(17, 23, 21, 0.14);
  --line-dark: rgba(255, 250, 241, 0.18);
  --muted: #68756e;
  --muted-dark: #b7c2bc;
  --gold: #c49a57;
  --gold-2: #e0c18b;
  --teal: #0e685e;
  --wine: #7a4054;
  --blue: #2f6478;
  --shadow: 0 26px 70px rgba(17, 23, 21, 0.16);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(196, 154, 87, 0.3);
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  width: min(var(--container), calc(100% - 28px));
  min-height: 58px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(17, 23, 21, 0.72);
  color: #fffaf1;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 850;
}

.brand span {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #17120a;
}

.brand strong {
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.site-header nav a,
.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(255, 250, 241, 0.76);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 780;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: rgba(255, 250, 241, 0.09);
  color: #fffaf1;
}

.header-cta {
  background: #fffaf1;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  z-index: -2;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 23, 21, 0.92) 0%, rgba(17, 23, 21, 0.72) 36%, rgba(17, 23, 21, 0.14) 76%),
    linear-gradient(0deg, rgba(17, 23, 21, 0.82) 0%, rgba(17, 23, 21, 0.14) 48%, rgba(17, 23, 21, 0.12) 100%);
}

.hero-content {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 148px 0 52px;
  color: #fffaf1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

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

h1,
h2 {
  margin-bottom: 0;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  max-width: 840px;
  font-size: 5.1rem;
}

h2 {
  max-width: 850px;
  font-size: 3.35rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.18;
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.8);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 880;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #17120a;
  box-shadow: 0 18px 42px rgba(196, 154, 87, 0.26);
}

.button.ghost {
  border-color: rgba(255, 250, 241, 0.3);
  background: rgba(255, 250, 241, 0.08);
  color: #fffaf1;
}

.hero-metrics {
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 52px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.14);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  min-height: 116px;
  padding: 20px;
  background: rgba(17, 23, 21, 0.5);
}

.hero-metrics dt {
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.78);
  line-height: 1.45;
}

.market-strip {
  width: min(var(--container), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  margin: -1px auto 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.market-strip p {
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: 1.12rem;
  font-weight: 780;
}

.market-strip ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.market-strip li {
  min-height: 76px;
  display: flex;
  align-items: center;
  border-left: 3px solid var(--gold);
  padding: 10px 12px;
  background: rgba(255, 250, 241, 0.48);
  color: var(--ink-3);
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.35;
}

.section,
.band-inner,
.contact-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 890px;
  margin-bottom: 34px;
}

.section-head > p:not(.eyebrow),
.contact-copy p,
.proof-copy + .proof-list p,
.audit-grid p,
.timeline p,
.system-lead p {
  color: var(--muted);
}

.section-head > p:not(.eyebrow),
.contact-copy p {
  max-width: 690px;
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 46px;
  align-items: end;
}

.section-head.light {
  color: #fffaf1;
}

.section-head.light > p:not(.eyebrow) {
  color: var(--muted-dark);
}

.audit-grid,
.timeline,
.proof-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.audit-grid article,
.timeline article,
.proof-list article {
  min-height: 226px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 14px 42px rgba(17, 23, 21, 0.08);
}

.audit-grid span,
.timeline span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.audit-grid span {
  background: rgba(196, 154, 87, 0.16);
  color: #8a6429;
}

.audit-grid article:nth-child(2) span {
  background: rgba(14, 104, 94, 0.12);
  color: var(--teal);
}

.audit-grid article:nth-child(3) span {
  background: rgba(122, 64, 84, 0.12);
  color: var(--wine);
}

.audit-grid article:nth-child(4) span {
  background: rgba(47, 100, 120, 0.12);
  color: var(--blue);
}

.audit-grid p,
.timeline p,
.proof-list p {
  margin-bottom: 0;
}

.full-band {
  width: 100%;
  padding: 104px 0;
}

.system {
  background:
    linear-gradient(135deg, rgba(196, 154, 87, 0.18), rgba(196, 154, 87, 0) 34%),
    linear-gradient(180deg, var(--ink), #1a2421);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.system-lead,
.system-points article {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
  color: #fffaf1;
}

.system-lead {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.system-lead p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

.system-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.system-points article {
  min-height: 148px;
  padding: 22px;
}

.system-points span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-points strong {
  display: block;
  max-width: 260px;
  font-size: 1.08rem;
  line-height: 1.28;
}

.timeline span {
  background: rgba(14, 104, 94, 0.1);
  color: var(--teal);
}

.timeline article:nth-child(2) span {
  background: rgba(196, 154, 87, 0.14);
  color: #8a6429;
}

.timeline article:nth-child(3) span {
  background: rgba(47, 100, 120, 0.12);
  color: var(--blue);
}

.timeline article:nth-child(4) span {
  background: rgba(122, 64, 84, 0.12);
  color: var(--wine);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 18px;
}

.proof-copy {
  position: sticky;
  top: 100px;
}

.proof-list {
  grid-template-columns: 1fr;
}

.proof-list article {
  min-height: 138px;
}

.proof-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.contact-band {
  padding: 86px 0 98px;
  background: var(--paper-2);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.62fr);
  gap: 48px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 660px;
}

form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink-2);
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(17, 23, 21, 0.18);
  border-radius: 8px;
  padding: 0 13px;
  background: #fffdf8;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 104, 94, 0.14);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(122, 64, 84, 0.12);
}

.submit-button {
  width: 100%;
  margin-top: 2px;
}

.form-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status.is-success {
  color: var(--teal);
  font-weight: 760;
}

.form-status.is-error {
  color: var(--wine);
  font-weight: 760;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .market-strip,
  .section-head.split,
  .system-layout,
  .proof,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .market-strip ul,
  .audit-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-image {
    object-position: 64% 50%;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(17, 23, 21, 0.94) 0%, rgba(17, 23, 21, 0.68) 72%, rgba(17, 23, 21, 0.4) 100%),
      linear-gradient(0deg, rgba(17, 23, 21, 0.86) 0%, rgba(17, 23, 21, 0.22) 62%);
  }

  .hero-content {
    width: min(var(--container), calc(100% - 24px));
    padding: 112px 0 30px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.18rem;
  }

  .hero-copy,
  .section-head > p:not(.eyebrow),
  .contact-copy p {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics,
  .market-strip ul,
  .audit-grid,
  .timeline,
  .system-points,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 34px;
  }

  .hero-metrics div {
    min-height: 96px;
  }

  .market-strip {
    width: calc(100% - 24px);
    gap: 18px;
    padding: 22px 0;
  }

  .section,
  .full-band,
  .contact-band {
    padding: 68px 0;
  }

  .section,
  .band-inner,
  .contact-inner {
    width: calc(100% - 24px);
  }

  .audit-grid article,
  .timeline article,
  .proof-list article {
    min-height: auto;
  }

  .system-lead {
    min-height: 240px;
    padding: 22px;
  }

  form {
    padding: 18px;
  }
}

@media (max-width: 430px) {
  .brand strong {
    display: none;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .button {
    min-height: 48px;
    padding: 0 14px;
  }
}
