:root {
  --ink: #151515;
  --muted: #5d6269;
  --paper: #f7f6f0;
  --white: #ffffff;
  --line: rgba(21, 21, 21, 0.14);
  --red: #e63f32;
  --blue: #1267ff;
  --green: #0f8a65;
  --gold: #f4b84a;
  --charcoal: #222222;
  --shadow: 0 20px 60px rgba(21, 21, 21, 0.16);
}

* {
  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;
  line-height: 1.5;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 246, 240, 0.86);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 34px rgba(21, 21, 21, 0.08);
}

.brand,
.main-nav,
.hero-actions,
.contact-actions {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 10px;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 0.75rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.main-nav {
  color: rgba(21, 21, 21, 0.74);
  font-size: 0.94rem;
  gap: clamp(14px, 3vw, 34px);
}

.main-nav a,
.nav-cta {
  transition: color 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--red);
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 18px;
  white-space: nowrap;
}

.hero {
  background: #1f1b18 url("assets/hero-blur.jpg") center / cover;
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: max(860px, 100svh);
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 38px;
  position: relative;
}

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

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 55% 34%;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.64) 42%, rgba(10, 10, 10, 0.22) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.66) 0%, rgba(10, 10, 10, 0) 45%);
}

.hero-content {
  max-width: 780px;
  padding-bottom: clamp(72px, 9vh, 112px);
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.1rem, 11vw, 9.5rem);
  letter-spacing: 0;
  line-height: 0.86;
  margin: 18px 0 24px;
  max-width: 820px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  max-width: 620px;
}

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

.button {
  align-items: center;
  appearance: none;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-width: max-content;
  min-height: 52px;
  padding: 0 24px;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white);
  box-shadow: 0 12px 34px rgba(230, 63, 50, 0.32);
}

.button-secondary {
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: var(--white);
}

.hero-metrics {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  max-width: 760px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-metrics div {
  background: var(--white);
  padding: 18px 20px;
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 8px;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.intro-grid,
.section-heading,
.contact-content {
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  margin: 0 auto;
  max-width: 1180px;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 5rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 12px 0 0;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 18px 0 12px;
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
}

.intro-copy p {
  margin: 0 0 20px;
}

.image-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.75fr;
  min-height: 520px;
}

.image-band img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-band img:nth-child(2) {
  border-left: 8px solid var(--paper);
  border-right: 8px solid var(--paper);
}

.section-heading {
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 70px);
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

.feature-grid,
.proof-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.feature-card,
.proof-grid blockquote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
}

.feature-number {
  color: var(--blue);
  font-weight: 900;
}

.feature-card p,
.proof-grid p {
  color: var(--muted);
  margin: 0;
}

.method {
  background: var(--charcoal);
  color: var(--white);
}

.method-panel {
  margin: 0 auto;
  max-width: 1180px;
}

.sequence {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(34px, 5vw, 62px);
  overflow: hidden;
}

.sequence div {
  background: rgba(255, 255, 255, 0.08);
  border-top: 4px solid var(--gold);
  min-height: 230px;
  padding: 28px;
}

.sequence div:nth-child(2) {
  border-color: var(--blue);
}

.sequence div:nth-child(3) {
  border-color: var(--green);
}

.sequence div:nth-child(4) {
  border-color: var(--red);
}

.sequence span {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.sequence p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.proof {
  background: var(--white);
}

.proof-grid blockquote {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  min-height: 260px;
}

.proof-grid p {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  font-weight: 750;
  line-height: 1.34;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.contact {
  background:
    linear-gradient(120deg, rgba(230, 63, 50, 0.12), rgba(18, 103, 255, 0.10)),
    var(--paper);
}

.contact-content {
  align-items: center;
}

.contact-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
}

.contact-actions p {
  color: var(--muted);
  margin: 0;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .main-nav {
    display: none;
  }

  .nav-cta {
    padding: 9px 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.86), rgba(10, 10, 10, 0.4)),
      linear-gradient(0deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.04) 55%);
  }

  .hero-metrics,
  .intro-grid,
  .section-heading,
  .contact-content,
  .feature-grid,
  .proof-grid,
  .sequence {
    grid-template-columns: 1fr;
  }

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

  .image-band img {
    height: min(72vw, 420px);
  }

  .image-band img:nth-child(2) {
    border: 0;
    border-bottom: 8px solid var(--paper);
    border-top: 8px solid var(--paper);
  }

  .proof-grid blockquote,
  .sequence div {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 136px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    font-size: 0.88rem;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-content {
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 20vw, 5.2rem);
  }

  .button {
    width: 100%;
  }

  .hero-metrics div {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
