:root {
  color-scheme: dark;
  --ink: #f7f2e8;
  --muted: #b7c2cf;
  --navy: #07111f;
  --deep: #020711;
  --line: rgba(247, 242, 232, 0.18);
  --emerald: #10b981;
  --sky: #3b82f6;
  --gold: #d4af37;
  --panel: rgba(7, 17, 31, 0.82);
  --panel-solid: #0b1728;
  --max-width: 1180px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
  background: rgba(2, 7, 17, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--deep);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header nav a:hover,
.header-cta:hover,
.section-link:hover,
.system-card a:hover,
.contact-section a:hover {
  color: var(--gold);
}

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 118px clamp(20px, 5vw, 70px) 58px;
}

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

.hero-image {
  background-image: url("images/carlos-teaching-stage.jpg");
  background-position: 38% center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.18) 0%, rgba(2, 7, 17, 0.2) 36%, rgba(2, 7, 17, 0.88) 100%),
    linear-gradient(0deg, rgba(2, 7, 17, 0.92) 0%, rgba(2, 7, 17, 0.2) 42%, rgba(2, 7, 17, 0.54) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

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

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

h1 {
  margin-bottom: 6px;
  font-size: clamp(4.4rem, 13vw, 13rem);
  line-height: 0.78;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-subtitle {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  font-weight: 800;
}

.hero-line {
  display: inline-block;
  max-width: 580px;
  margin-bottom: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 0.98;
}

.endorsement {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: 62px;
  z-index: 3;
  width: min(330px, calc(100% - 40px));
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.endorsement strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--deep);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.ticker span {
  padding: 18px 24px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.intro-section,
.proof-section,
.systems-section,
.speaking-section,
.contact-section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 7vw, 90px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 6vw, 6.2rem);
  line-height: 0.88;
  font-weight: 900;
  text-transform: uppercase;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.intro-copy p:last-child,
.speaking-section p:last-of-type,
.contact-section p:last-of-type {
  margin-bottom: 0;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 82px);
  align-items: center;
}

.portrait-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-solid);
}

.portrait-card img,
.speaking-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.proof-grid article {
  min-height: 170px;
  padding: 24px;
  background: var(--panel-solid);
}

.proof-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 2.7rem;
  font-weight: 900;
}

.proof-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.systems-section h2 {
  max-width: 980px;
  margin-bottom: 42px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.system-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--panel-solid);
}

.featured-card {
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.22), rgba(11, 23, 40, 0) 42%),
    var(--panel-solid);
}

.system-card p {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.system-card ul {
  display: grid;
  gap: 14px;
  margin: 34px 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.system-card li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  line-height: 1.4;
}

.system-card a,
.section-link,
.contact-section a {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mantra-section {
  padding: clamp(70px, 11vw, 150px) 20px;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--deep);
  text-align: center;
}

.mantra-section p {
  margin-bottom: 18px;
  color: #6b5a23;
  font-weight: 900;
}

.mantra-section h2 {
  width: min(980px, 100%);
  margin: 0 auto;
}

.speaking-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

.speaking-media {
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line);
}

.speaking-section p:not(.section-kicker),
.contact-section p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
}

.contact-section {
  text-align: center;
}

.contact-section h2 {
  margin-inline: auto;
  max-width: 1060px;
}

.contact-section p {
  max-width: 680px;
  margin-inline: auto;
}

.contact-section a {
  display: inline-flex;
  margin-top: 30px;
  padding: 18px 24px;
  border: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 70px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

  .site-header nav {
    display: none;
  }

  .intro-section,
  .proof-section,
  .speaking-section {
    grid-template-columns: 1fr;
  }

  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .endorsement {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand strong {
    display: none;
  }

  .header-cta {
    padding: 11px 13px;
  }

  .hero-section {
    min-height: 94svh;
    padding: 96px 18px 34px;
  }

  .hero-image {
    background-position: 32% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(2, 7, 17, 0.08) 0%, rgba(2, 7, 17, 0.64) 100%),
      linear-gradient(0deg, rgba(2, 7, 17, 0.94) 0%, rgba(2, 7, 17, 0.08) 55%, rgba(2, 7, 17, 0.56) 100%);
  }

  h1 {
    font-size: clamp(4rem, 24vw, 7.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 14vw, 4.8rem);
  }

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

  .system-card {
    min-height: 430px;
  }

  .speaking-media {
    min-height: 390px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .ticker-track {
    animation: none;
  }
}
