:root {
  --bg: #050706;
  --bg-2: #0b1110;
  --forest: #12352b;
  --forest-2: #1f5a46;
  --gold: #c89b45;
  --gold-2: #f1d487;
  --steel: #8f9a9a;
  --muted: #b8c1bd;
  --text: #f7f5ed;
  --soft: #ebe4d5;
  --line: rgba(241, 212, 135, 0.22);
  --card: rgba(13, 22, 19, 0.78);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--gold);
  color: #10110d;
  padding: 12px 16px;
  border-radius: 4px;
}

.skip-link:focus { top: 16px; }

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 6, 0.82);
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark, .logo-block {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(241, 212, 135, 0.5);
  background: linear-gradient(135deg, rgba(200, 155, 69, 0.22), rgba(31, 90, 70, 0.32));
  color: var(--gold-2);
  border-radius: 6px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.93rem;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }

.nav-cta {
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(200, 155, 69, 0.12);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: 100dvh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96) 0%, rgba(5, 7, 6, 0.84) 38%, rgba(5, 7, 6, 0.44) 74%, rgba(5, 7, 6, 0.9) 100%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.08), var(--bg)),
    url("assets/tradeproof-hero.png") center / cover no-repeat;
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  gap: 58px;
  align-items: center;
}

.eyebrow, .section-kicker, .map-label {
  margin: 0 0 14px;
  color: var(--gold-2);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1, h2, h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(3.8rem, 8vw, 8.2rem); max-width: 790px; }
h2 { font-size: clamp(2.35rem, 5vw, 5.1rem); }
h3 { font-size: 1.45rem; line-height: 1.15; }

.hero-subtitle {
  max-width: 730px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-note {
  margin: 24px 0 0;
  color: var(--muted);
  max-width: 620px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 13px 20px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #11130f; box-shadow: 0 16px 42px rgba(200, 155, 69, 0.2); }
.btn-secondary { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: var(--text); }
.btn-primary:hover { background: var(--gold-2); }
.btn-secondary:hover { border-color: var(--gold); background: rgba(200, 155, 69, 0.12); }

.hero-visual {
  min-height: 560px;
  position: relative;
}

.map-panel, .floating-card, .origin-card, .profile-preview, .directory-tool, .audience-panel, .contractor-card, .standard-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 53, 43, 0.72), rgba(8, 13, 12, 0.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

.map-panel {
  position: absolute;
  inset: 40px 18px auto 40px;
  min-height: 340px;
  padding: 26px;
}

.us-map {
  height: 250px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49%, rgba(241, 212, 135, 0.1) 50%, transparent 51%),
    radial-gradient(circle at 28% 42%, rgba(241, 212, 135, 0.25) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 36%, rgba(241, 212, 135, 0.25) 0 5px, transparent 6px),
    radial-gradient(circle at 77% 64%, rgba(241, 212, 135, 0.25) 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(143, 154, 154, 0.1), rgba(31, 90, 70, 0.28));
  clip-path: polygon(7% 45%, 18% 24%, 35% 19%, 50% 28%, 64% 20%, 83% 30%, 91% 48%, 84% 70%, 64% 76%, 49% 69%, 34% 78%, 17% 68%);
  position: relative;
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 10px rgba(241, 212, 135, 0.12), 0 0 30px rgba(241, 212, 135, 0.55);
  animation: pulse 2.4s ease-in-out infinite;
}

.pin-a { left: 70%; top: 38%; }
.pin-b { left: 55%; top: 47%; animation-delay: 0.4s; }
.pin-c { left: 76%; top: 67%; animation-delay: 0.8s; }
.pin-d { left: 30%; top: 56%; animation-delay: 1.2s; }

.floating-card {
  position: absolute;
  width: min(330px, 78%);
  padding: 20px;
  transition: transform 260ms ease, border-color 260ms ease;
}

.floating-card span, .card-topline, .audience-panel span {
  color: var(--gold-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
}

.floating-card strong { display: block; margin-top: 8px; font-size: 1.1rem; }
.floating-card small { display: block; color: var(--muted); margin-top: 6px; }
.card-a { right: 0; top: 80px; animation: drift 7s ease-in-out infinite; }
.card-b { left: 0; bottom: 44px; animation: drift 8s ease-in-out infinite reverse; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section {
  padding: clamp(82px, 10vw, 148px) 0;
  position: relative;
}

.section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.split-grid, .solution-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: start;
}

.problem-section, .directory-section, .portfolio-preview {
  background: radial-gradient(circle at top left, rgba(31, 90, 70, 0.34), transparent 42%), var(--bg-2);
}

.proof-stack {
  display: grid;
  gap: 14px;
}

.proof-stack div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.proof-stack strong { color: var(--gold-2); font-size: 1.6rem; }
.proof-stack span { color: var(--soft); }

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.directory-tool {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 470px;
  overflow: hidden;
}

.state-rail {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.state-button, .metro-buttons button {
  min-height: 48px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  border-radius: 4px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.state-button:hover, .state-button.active, .metro-buttons button:hover, .metro-buttons button.active {
  background: rgba(200, 155, 69, 0.16);
  border-color: var(--gold);
}

.metro-board {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) 1fr;
  gap: 28px;
}

.metro-buttons {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contractor-results {
  display: grid;
  gap: 16px;
}

.result-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.24);
  border-radius: var(--radius);
}

.result-card strong { display: block; font-size: 1.2rem; }
.result-card span { color: var(--gold-2); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; }
.result-card p { margin: 8px 0 14px; }

.contractor-grid, .audience-grid, .counter-grid, .standard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contractor-card {
  padding: 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.contractor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(241, 212, 135, 0.52);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58), 0 0 34px rgba(200, 155, 69, 0.12);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.contractor-card p { margin: 10px 0 0; color: var(--gold-2); }
.contractor-card ul { margin: 22px 0 28px; padding-left: 18px; color: var(--muted); }
.contractor-card a { margin-top: auto; color: var(--gold-2); font-weight: 800; }

.exclusivity {
  background: linear-gradient(135deg, rgba(18, 53, 43, 0.9), rgba(5, 7, 6, 0.98));
}

.counter-grid div {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
}

.counter-grid strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1;
}

.counter-grid span { color: var(--soft); }

.audience-panel {
  padding: 28px;
  min-height: 360px;
}

.audience-panel h2 { font-size: clamp(2rem, 3vw, 3rem); margin-top: 28px; }

.origin-card {
  padding: clamp(28px, 5vw, 58px);
  max-width: 980px;
}

.profile-preview {
  display: grid;
  grid-template-columns: 330px 1fr;
  overflow: hidden;
}

.profile-sidebar {
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.logo-block {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.profile-sidebar .btn {
  width: 100%;
  margin-top: 12px;
}

.profile-main { padding: 28px; }

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.profile-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--soft);
  border-radius: 999px;
  font-size: 0.85rem;
}

.before-after {
  position: relative;
  margin: 24px 0;
  aspect-ratio: 16 / 8;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.42) contrast(1.08);
}

.after-layer {
  position: absolute;
  inset: 0 46% 0 0;
  background: linear-gradient(90deg, rgba(200, 155, 69, 0.2), rgba(31, 90, 70, 0.1)), url("assets/tradeproof-hero.png") center / cover;
  filter: saturate(1.18) contrast(1.08);
  border-right: 2px solid var(--gold-2);
}

.before-after input {
  position: absolute;
  inset: auto 18px 18px;
  width: calc(100% - 36px);
  accent-color: var(--gold);
}

.review-strip {
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

.review-strip blockquote { margin: 0; color: var(--soft); }

.disclaimer {
  margin-top: 26px;
  font-size: 0.88rem !important;
  color: var(--steel) !important;
}

.final-cta {
  padding: clamp(90px, 14vw, 170px) 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96), rgba(5, 7, 6, 0.75)),
    url("assets/tradeproof-hero.png") center / cover fixed;
}

.final-cta h2 { max-width: 900px; }
.final-cta p { max-width: 690px; color: var(--soft); font-size: 1.12rem; }

.site-footer {
  padding: 48px 0;
  background: #030504;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 28px;
}

.site-footer p { color: var(--muted); max-width: 520px; }
.site-footer h3 { font-size: 0.9rem; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.site-footer a:not(.brand) { display: block; color: var(--muted); margin: 8px 0; }

.standard-hero {
  padding: 150px 0 70px;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96), rgba(5, 7, 6, 0.76)),
    url("assets/tradeproof-hero.png") center / cover;
}

.standard-hero .page-shell { max-width: 930px; }
.standard-hero h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
.standard-hero p { color: var(--soft); font-size: 1.15rem; }

.standard-card {
  padding: 26px;
}

.standard-card ul { padding-left: 20px; color: var(--muted); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--soft); font-weight: 700; }
.field input, .field textarea, .field select {
  min-height: 50px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 12px;
}

.field textarea { min-height: 132px; resize: vertical; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  50% { transform: scale(1.18); box-shadow: 0 0 0 16px rgba(241, 212, 135, 0.05), 0 0 36px rgba(241, 212, 135, 0.7); }
}

@keyframes drift {
  50% { transform: translate3d(0, -14px, 0); }
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    inset: 78px 16px auto;
    display: none;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 7, 6, 0.96);
  }
  .nav-links.is-open { display: grid; }
  .hero-grid, .split-grid, .solution-grid, .metro-board, .profile-preview, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 430px; }
  .contractor-grid, .audience-grid, .counter-grid, .standard-grid {
    grid-template-columns: 1fr;
  }
  .directory-tool { grid-template-columns: 1fr; }
  .state-rail {
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .profile-sidebar { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 112px; }
  h1 { font-size: clamp(3rem, 17vw, 4.8rem); }
  h2 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .button-row, .form-grid { display: grid; grid-template-columns: 1fr; }
  .state-rail { grid-template-columns: 1fr; }
  .map-panel { inset: 18px 0 auto 18px; }
  .floating-card { width: 86%; }
  .card-a { right: 0; }
  .before-after { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .final-cta { background-attachment: scroll; }
}
