:root {
  --gold: #C4A24E;
  --gold-soft: rgba(196, 162, 78, 0.16);
  --bg: #0a0a0a;
  --surface: #141312;
  --text: #d6d6d6;
  --text-secondary: #958f87;
  --text-faint: #908a82;
  --border: rgba(196, 162, 78, 0.12);
  --heading: 'DM Sans', -apple-system, sans-serif;
  --body: 'DM Sans', -apple-system, sans-serif;
}

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

html, body { height: 100%; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* Scroll reveals */
.reveal {
  opacity: 1;
  transform: none;
}
.homepage-enhanced .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}
.homepage-enhanced .reveal.visible { opacity: 1; transform: none; }

a { color: inherit; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 148px 40px 88px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 54px 40px 0;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(212, 168, 67, 0.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 40%),
    linear-gradient(180deg, rgba(22, 21, 20, 0.94), rgba(12, 11, 10, 0.98));
  border: 1px solid rgba(212, 168, 67, 0.14);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 92px;
  right: 48px;
  width: min(24vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.28);
  filter: blur(26px);
  opacity: 0.75;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-main,
.hero-trust,
.hero-secondary {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-main {
  padding: 42px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%),
    rgba(14, 13, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 0;
  text-align: left;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #ebe3cf;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(212, 168, 67, 0.18), 0 0 14px rgba(212, 168, 67, 0.55);
}

.hero h1 {
  font-family: var(--heading);
  font-weight: 500;
  font-size: clamp(3rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 10ch;
  margin-bottom: 22px;
  opacity: 1;
}

.hero-lede {
  max-width: 35rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #c8c3bb;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-actions .btn,
.cta-end-btns .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.hero-anchor {
  position: relative;
  display: flex;
  min-height: 100%;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #11100f;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

.hero-anchor::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.08) 0%, rgba(10, 9, 8, 0.82) 62%, rgba(10, 9, 8, 0.96) 100%),
    radial-gradient(circle at top right, rgba(196, 162, 78, 0.12), transparent 34%);
  z-index: 1;
  pointer-events: none;
}

.hero-anchor-media {
  position: absolute;
  inset: 0;
}

.hero-anchor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.42) contrast(0.94) brightness(0.52) sepia(0.14);
  transform: scale(1.06);
}

.hero-anchor-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px;
}

.hero-anchor-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(196, 162, 78, 0.28);
  background: rgba(196, 162, 78, 0.12);
  color: #f0e7d3;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-anchor-card h2 {
  max-width: 14ch;
  margin: 18px 0 14px;
  font-family: var(--heading);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  color: #fff;
}

.hero-anchor-card p {
  max-width: 30ch;
  color: rgba(216, 211, 203, 0.88);
  font-size: 0.97rem;
  line-height: 1.7;
}

.hero-anchor-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-anchor-link:hover,
.hero-anchor-link:focus-visible {
  color: var(--gold);
}

.btn:focus-visible,
.hero-anchor-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-anchor-link::after {
  content: '→';
  margin-left: 10px;
  transition: transform 0.2s ease;
}

.hero-anchor-link:hover::after,
.hero-anchor-link:focus-visible::after {
  transform: translateX(3px);
}

.hero-anchor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-anchor-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(216, 211, 203, 0.88);
  font-size: 0.78rem;
  font-weight: 500;
}

/* ===== TIER SPLIT ===== */
.tier-split {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 0 42px;
}

.tier-split-heading {
  font-family: var(--heading);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.tier-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tier-item {
  padding: 28px 28px 32px;
  border-radius: 22px;
  border: 1px solid rgba(212, 168, 67, 0.20);
  background:
    linear-gradient(180deg, rgba(212, 168, 67, 0.07), transparent 44%),
    rgba(18, 17, 16, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.tier-item h3 {
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}

.tier-item p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

@keyframes enter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
  box-shadow: 0 12px 32px rgba(212, 168, 67, 0.30);
}
.btn-primary:hover {
  background: #e0b84e;
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(212, 168, 67, 0.42);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 140px 40px;
}
.section-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-heading {
  font-family: var(--heading);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  line-height: 1.25;
  margin-bottom: 56px;
}

/* ===== SECTORS ===== */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(212, 168, 67, 0.14);
  border: 1px solid rgba(212, 168, 67, 0.14);
  border-radius: 20px;
  overflow: hidden;
}
.sector-card {
  background: var(--surface);
  padding: 56px 32px;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.sector-card:hover {
  background: #1c1b19;
}
.sector-card:hover h3 {
  color: var(--gold);
}
.sector-card h3 {
  font-family: var(--heading);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 400;
  transition: color 0.3s ease;
}
.sector-card p {
  font-size: 0.78rem;
  color: var(--text-faint);
  line-height: 1.5;
}

/* ===== FINAL CTA ===== */
.cta-end {
  text-align: center;
  padding: 160px 40px;
}
.cta-end h2 {
  font-family: var(--heading);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
}
.cta-end p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 44px;
}
.cta-end-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Proof section === */
.proof {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}

.proof-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.proof-founder {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.proof-founder__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.proof-founder__quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
}

.proof-founder__byline {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.proof-briefs {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.proof-briefs.is-hidden {
  display: none;
}

.proof-briefs__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.proof-briefs__list {
  list-style: none;
  columns: 2;
  column-gap: 48px;
}

.proof-briefs__list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  break-inside: avoid;
  margin-bottom: 8px;
}

.proof-briefs__list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

@media (max-width: 640px) {
  .proof {
    padding: 60px 24px;
  }
  .proof-inner {
    gap: 40px;
  }
  .proof-founder {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .proof-founder__photo {
    width: 100px;
    height: 100px;
  }
  .proof-briefs__list {
    columns: 1;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .sectors { grid-template-columns: 1fr; }
  .section { padding: 100px 24px; }
  .hero {
    padding: 124px 24px 72px;
  }
  .hero::before {
    inset: 34px 16px 0;
    border-radius: 28px;
  }
  .hero-main {
    padding: 28px;
    border-radius: 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
  }
  .hero h1,
  .hero-lede {
    max-width: none;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-anchor {
    min-height: 460px;
  }
  .tier-split-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .hero-main {
    padding: 24px 20px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }
  .hero-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }
  .hero-actions .btn,
  .cta-end-btns .btn {
    width: 100%;
  }
  .hero-anchor {
    min-height: 420px;
  }
  .hero-anchor-card {
    padding: 22px;
  }
  .cta-end { padding: 100px 24px; }
}
