:root {
  color-scheme: dark;
  --black: #050403;
  --matte: #0a0806;
  --charcoal: #14110d;
  --espresso: #1b120c;
  --champagne: #e0c88f;
  --gold: #a98249;
  --bronze: #6f4d27;
  --soft: #ead8aa;
  --muted: rgba(224, 200, 143, 0.62);
  --dim: rgba(224, 200, 143, 0.4);
  --line: rgba(224, 200, 143, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 74% 8%, rgba(169, 130, 73, 0.16), transparent 32%),
    radial-gradient(circle at 10% 24%, rgba(111, 77, 39, 0.16), transparent 28%),
    linear-gradient(160deg, #040302 0%, #0b0806 48%, #050403 100%);
  color: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(234, 217, 173, 0.08);
  background: rgba(7, 7, 6, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  gap: 2px;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--champagne);
}

.brand strong {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 0.9;
}

.brand span {
  color: rgba(234, 217, 173, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
}

nav a,
.nav-cta,
.eyebrow,
.button,
.ticker-meta,
.chart-category,
.chart-rank,
.chart-movement,
.status-pill {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
}

nav a {
  color: var(--dim);
}

.nav-cta {
  color: var(--gold);
}

.hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(180px, 0.28fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  min-height: calc(100svh - 74px);
  overflow: hidden;
  padding: clamp(90px, 12vw, 156px) clamp(20px, 5vw, 72px) clamp(44px, 6vw, 84px);
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-section::before {
  z-index: -2;
  background-image: url("./assets/lof-vision-legacy.png");
  background-position: 62% 46%;
  background-size: cover;
  filter: saturate(0.9) contrast(1.08) brightness(0.72);
  transform: scale(1.01);
}

.hero-section::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.94) 0%, rgba(5, 4, 3, 0.78) 34%, rgba(5, 4, 3, 0.34) 66%, rgba(5, 4, 3, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.7) 0%, rgba(5, 4, 3, 0.22) 42%, rgba(5, 4, 3, 0.92) 100%);
}

.hero-section > * {
  min-width: 0;
}

.hero-copy {
  max-width: 760px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.74);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
}

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

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-line {
  margin-bottom: 14px;
  color: var(--champagne);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1;
}

.hero-body {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 18px;
  border: 1px solid rgba(234, 217, 173, 0.22);
}

.button-primary {
  background: var(--champagne);
  color: #080706;
}

.button-secondary {
  color: var(--champagne);
}

.hero-signature {
  align-self: end;
  justify-self: end;
  max-width: 220px;
  margin: 0;
  color: rgba(224, 200, 143, 0.68);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-align: right;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.82);
  text-transform: uppercase;
}

.compact-market {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(44px, 7vw, 92px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.92);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.3);
}

.ticker-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 13px clamp(18px, 3vw, 38px);
  border-bottom: 1px solid rgba(234, 217, 173, 0.1);
  color: var(--dim);
}

.ticker-meta > span:nth-child(even) {
  text-align: right;
}

.live-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-read i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(191, 166, 111, 0.42);
  animation: live-pulse 2.8s ease-in-out infinite;
}

.live-read span {
  display: grid;
  gap: 2px;
}

.live-read b,
.live-read small {
  font: inherit;
}

.live-read small {
  color: rgba(234, 217, 173, 0.38);
  font-size: 0.55rem;
}

.ticker-viewport {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.market-source-note {
  margin: 0;
  padding: 0 clamp(18px, 3vw, 38px) 14px;
  color: rgba(234, 217, 173, 0.36);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 110s linear infinite;
  will-change: transform;
}

.ticker-sequence {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding-right: 36px;
}

.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-inline: clamp(20px, 3vw, 44px);
  white-space: nowrap;
}

.chart-category {
  color: rgba(241, 229, 197, 0.84);
}

.chart-rank,
.chart-divider,
.chart-movement {
  color: rgba(234, 217, 173, 0.58);
}

.chart-title {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  font-weight: 600;
}

.status-pill {
  padding: 4px 8px;
  border: 1px solid rgba(234, 217, 173, 0.14);
  color: var(--muted);
}

.status-pill[data-status="Dominant"] {
  color: var(--champagne);
  border-color: rgba(234, 217, 173, 0.3);
}

.status-pill[data-status="Accelerating"],
.status-pill[data-status="Breakout"] {
  color: var(--gold);
  border-color: rgba(191, 166, 111, 0.3);
}

.status-pill[data-status="Stable"] {
  color: rgba(191, 166, 111, 0.72);
  border-color: rgba(139, 100, 55, 0.3);
}

.ticker-item::after {
  content: "";
  width: 3px;
  height: 3px;
  margin-left: 28px;
  border-radius: 999px;
  background: rgba(234, 217, 173, 0.42);
}

.manifesto-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.manifesto-band p {
  min-height: 170px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: clamp(26px, 5vw, 64px);
  background: rgba(7, 7, 6, 0.92);
  color: var(--champagne);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 4.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.section-shell {
  padding: clamp(56px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading h2,
.about-section h2,
.authority-section h2,
.final-cta h2 {
  margin-bottom: 0;
  color: var(--champagne);
  font-size: clamp(2.4rem, 5.8vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.service-grid article {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.42);
}

.service-grid article:last-child {
  border-right: 0;
}

.service-grid span {
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-grid h3 {
  margin: 18px 0 22px;
  color: var(--champagne);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.service-price {
  margin-bottom: 20px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 700;
}

.addon-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 2fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.28);
}

.addon-panel h3 {
  margin: 0;
  max-width: 420px;
  color: var(--champagne);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

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

.addon-grid article {
  min-width: 0;
  padding: 20px;
  background: rgba(7, 7, 6, 0.78);
}

.addon-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--bronze);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.addon-grid strong {
  display: block;
  min-height: 44px;
  color: var(--champagne);
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.addon-grid p {
  margin: 18px 0 0;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  color: var(--muted);
  line-height: 1.45;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  border-block: 1px solid rgba(234, 217, 173, 0.09);
  background: rgba(33, 24, 18, 0.18);
}

.about-copy p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-list span {
  border: 1px solid rgba(234, 217, 173, 0.16);
  padding: 12px 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--line);
}

.audience-grid article {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(7, 7, 6, 0.52);
}

.audience-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--champagne);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 0.98;
  text-transform: uppercase;
}

.audience-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.authority-section,
.final-cta {
  padding: clamp(56px, 8vw, 116px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.authority-section {
  min-height: 74svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: end;
  background:
    linear-gradient(180deg, rgba(33, 24, 18, 0.12), rgba(7, 7, 6, 0.72)),
    rgba(7, 7, 6, 0.5);
}

.authority-heading h2 {
  max-width: 760px;
}

.authority-heading p:last-child,
.final-cta p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.55;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.authority-grid article {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.34);
}

.authority-grid article:nth-child(even) {
  border-right: 0;
}

.authority-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.authority-grid span {
  color: var(--bronze);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.authority-grid strong {
  color: var(--champagne);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}

.final-cta {
  min-height: 58svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, transparent, rgba(139, 100, 55, 0.08)),
    #060605;
}

.cta-logo {
  width: min(320px, 72vw);
  margin: 0 0 clamp(18px, 3vw, 34px) -18px;
  opacity: 0.58;
  filter: saturate(0.72) brightness(0.78) contrast(1.06);
  mix-blend-mode: screen;
}

@keyframes ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 0.44;
    transform: scale(0.84);
  }

  45% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .live-read i {
    animation: none;
  }
}

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

  nav {
    display: none;
  }

  .hero-section,
  .about-section,
  .authority-section {
    grid-template-columns: 1fr;
  }

  .hero-section > *,
  .about-section > *,
  .authority-section > * {
    min-width: 0;
  }

  .hero-section {
    min-height: 760px;
    padding-top: 118px;
  }

  .hero-section::before {
    background-position: 58% 42%;
  }

  .hero-section::after {
    background:
      linear-gradient(180deg, rgba(5, 4, 3, 0.78) 0%, rgba(5, 4, 3, 0.54) 44%, rgba(5, 4, 3, 0.95) 100%),
      linear-gradient(90deg, rgba(5, 4, 3, 0.88), rgba(5, 4, 3, 0.34) 58%, rgba(5, 4, 3, 0.72));
  }

  .hero-signature {
    justify-self: start;
    text-align: left;
  }

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

  .service-grid {
    grid-template-columns: 1fr;
  }

  .addon-panel,
  .addon-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .authority-section {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 18px;
  }

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

  .brand span {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .compact-market {
    width: calc(100% - 28px);
  }

  .ticker-item {
    gap: 8px;
    padding-inline: 18px;
  }

  .chart-movement,
  .status-pill {
    font-size: 0.62rem;
  }

  .authority-grid {
    grid-template-columns: 1fr;
  }

  .authority-grid article,
  .authority-grid article:nth-child(even),
  .authority-grid article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .authority-grid article:last-child {
    border-bottom: 0;
  }
}
