:root {
  color-scheme: light dark;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  --page-gutter: 28px;
  --max-width: 1180px;
  --radius: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font, Arial, Helvetica, sans-serif);
  line-height: 1.5;
  overflow-x: hidden;
}

body.direction-01 {
  --bg: #080806;
  --surface: #12110d;
  --surface-strong: #1d1b15;
  --text: #f4efe3;
  --muted: #b9ad95;
  --line: rgba(244, 239, 227, .16);
  --accent: #c5a96e;
  --accent-strong: #f2d590;
  --shadow: rgba(0, 0, 0, .45);
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: Arial, Helvetica, sans-serif;
}

body.direction-01a {
  --bg: #050504;
  --surface: #0e0d0a;
  --surface-strong: #18160f;
  --text: #f7f0df;
  --muted: #b7ab91;
  --line: rgba(247, 240, 223, .15);
  --accent: #c6a968;
  --accent-strong: #f1d98f;
  --shadow: rgba(0, 0, 0, .52);
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: Arial, Helvetica, sans-serif;
}

body.direction-01b {
  --bg: #eee8dc;
  --surface: #faf6ed;
  --surface-strong: #ddd3c2;
  --text: #11100d;
  --muted: #6d6252;
  --line: rgba(17, 16, 13, .15);
  --accent: #8f6f35;
  --accent-strong: #11100d;
  --shadow: rgba(35, 26, 18, .16);
  --body-font: Georgia, 'Times New Roman', serif;
  --display-font: Georgia, 'Times New Roman', serif;
}

body.direction-01c {
  --bg: #07090a;
  --surface: #101315;
  --surface-strong: #171d20;
  --text: #f3f0e7;
  --muted: #aab2af;
  --line: rgba(243, 240, 231, .15);
  --accent: #a9b8b5;
  --accent-strong: #d8bd7a;
  --shadow: rgba(0, 0, 0, .46);
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: 'Trebuchet MS', Arial, sans-serif;
}

body.direction-02 {
  --bg: #f3eee4;
  --surface: #fffaf0;
  --surface-strong: #e8dfd0;
  --text: #14120f;
  --muted: #6d6252;
  --line: rgba(20, 18, 15, .15);
  --accent: #9d241d;
  --accent-strong: #15120f;
  --shadow: rgba(50, 37, 24, .16);
  --body-font: Georgia, 'Times New Roman', serif;
  --display-font: Georgia, 'Times New Roman', serif;
}

body.direction-03 {
  --bg: #f7f4ec;
  --surface: #ffffff;
  --surface-strong: #e8eadf;
  --text: #111512;
  --muted: #5f685f;
  --line: rgba(17, 21, 18, .14);
  --accent: #9a7b38;
  --accent-strong: #2e5a4b;
  --shadow: rgba(35, 44, 35, .13);
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: Arial, Helvetica, sans-serif;
}

body.direction-04 {
  --bg: #0a0d0e;
  --surface: #101617;
  --surface-strong: #172224;
  --text: #f2f0e9;
  --muted: #a8b7b5;
  --line: rgba(242, 240, 233, .15);
  --accent: #34d3c6;
  --accent-strong: #c48753;
  --shadow: rgba(0, 0, 0, .48);
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: 'Trebuchet MS', Arial, sans-serif;
}

body.direction-05 {
  --bg: #17130f;
  --surface: #241c15;
  --surface-strong: #33271d;
  --text: #fff7eb;
  --muted: #d8c0a3;
  --line: rgba(255, 247, 235, .14);
  --accent: #d79a60;
  --accent-strong: #8fb7a1;
  --shadow: rgba(0, 0, 0, .38);
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: Georgia, 'Times New Roman', serif;
}

body.comparison {
  --bg: #eeeeea;
  --surface: #fbfaf5;
  --surface-strong: #dfddd4;
  --text: #11110f;
  --muted: #67645d;
  --line: rgba(17, 17, 15, .14);
  --accent: #151515;
  --accent-strong: #9d241d;
  --shadow: rgba(25, 22, 17, .14);
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: Arial, Helvetica, sans-serif;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.comparison-header {
  width: min(100% - var(--page-gutter) * 2, var(--max-width));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--accent);
  flex: 0 0 auto;
}

.text-mark {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.brand-name {
  font-family: var(--display-font);
  font-size: 1.02rem;
  color: var(--text);
  overflow-wrap: break-word;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: .9rem;
}

.site-nav a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.shell {
  width: min(100% - var(--page-gutter) * 2, var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 98px);
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: 52px;
  padding: 34px 0 78px;
}

.hero-content {
  min-width: 0;
}

.eyebrow,
.section-label,
.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  line-height: .98;
  font-weight: 760;
}

h1 {
  max-width: 780px;
  font-size: 4.7rem;
}

h2 {
  max-width: 820px;
  font-size: 3rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy,
.section-copy,
.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 680px;
}

.hero-copy {
  margin: 26px 0 0;
}

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

.cta,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid var(--line);
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
  overflow-wrap: break-word;
}

.cta {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.secondary-link {
  color: var(--text);
}

.cta:hover,
.secondary-link:hover,
.direction-card:hover {
  transform: translateY(-2px);
}

.secondary-link:hover {
  border-color: var(--accent);
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 900px;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px var(--shadow);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .28s var(--ease);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 28%, transparent 72%, rgba(255, 255, 255, .06)),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .34));
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
}

.page-audience-proof .hero-frame {
  isolation: isolate;
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
  box-shadow: 0 28px 80px var(--shadow), 0 0 0 1px rgba(242, 213, 144, .08), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.page-audience-proof .hero-frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  background: linear-gradient(105deg, transparent 28%, rgba(242, 213, 144, .22) 48%, transparent 66%);
  transform: translateX(-130%) skewX(-18deg);
  animation: proofSweep 7.5s var(--ease) infinite;
  pointer-events: none;
}

.asset-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .86);
  font-size: .78rem;
  z-index: 2;
}

.proof-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(242, 213, 144, .24);
  border-radius: 6px;
  background: rgba(8, 8, 6, .62);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

.proof-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 239, 227, .9);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-overlay span:not(:last-child)::after {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 76px;
}

.proof-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.metric {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
}

.metric-copy {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: .92rem;
}

.section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section-copy {
  margin: 22px 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.equity-flow {
  position: relative;
}

.equity-flow::before {
  content: "";
  position: absolute;
  left: calc(16.666% + 18px);
  right: calc(16.666% + 18px);
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 169, 110, .82), transparent);
  box-shadow: 0 0 20px rgba(197, 169, 110, .24);
  pointer-events: none;
}

.equity-flow .card {
  position: relative;
  z-index: 1;
}

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

.card,
.model-panel,
.thesis-panel {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}

.card p,
.model-panel p,
.thesis-panel p {
  color: var(--muted);
  margin: 12px 0 0;
}

.number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 20px;
}

.quote-panel {
  font-family: var(--display-font);
  font-size: 2.15rem;
  line-height: 1.1;
  color: var(--text);
}

.model-list {
  display: grid;
  gap: 12px;
}

.capability-process {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
}

.process-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.process-inputs span,
.process-outcome {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 999px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  font-size: .78rem;
  font-weight: 800;
}

.process-arrow {
  position: relative;
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(197, 169, 110, .15), rgba(197, 169, 110, .92));
  box-shadow: 0 0 16px rgba(197, 169, 110, .24);
}

.process-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(197, 169, 110, .92);
  border-right: 1px solid rgba(197, 169, 110, .92);
  transform: translateX(-50%) rotate(135deg);
}

.process-outcome {
  border-color: color-mix(in srgb, var(--accent-strong) 66%, var(--line));
  color: var(--bg);
  background: linear-gradient(135deg, var(--text), var(--accent-strong));
  box-shadow: 0 10px 28px rgba(197, 169, 110, .16);
  white-space: nowrap;
}

.model-panel {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
}

.model-label {
  color: var(--accent);
  font-weight: 800;
}

.final-cta {
  padding: 96px 0 110px;
}

.final-cta-inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
}

.page-audience-proof .cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-audience-proof .cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(197, 169, 110, .28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .55s var(--ease);
}

.page-audience-proof .cta:hover::after {
  transform: translateX(120%);
}

@keyframes proofSweep {
  0% {
    opacity: 0;
    transform: translateX(-130%) skewX(-18deg);
  }

  24%,
  54% {
    opacity: 1;
  }

  78%,
  100% {
    opacity: 0;
    transform: translateX(130%) skewX(-18deg);
  }
}

.comparison-hero {
  padding: 62px 0 42px;
}

.comparison-hero h1 {
  max-width: 900px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 14px;
  align-items: stretch;
  overflow-x: auto;
  padding: 24px 0 10px;
}

.direction-card {
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}

.direction-card:hover {
  border-color: var(--accent);
}

.direction-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.direction-card-content {
  padding: 18px;
}

.direction-card h2 {
  font-size: 1.25rem;
  line-height: 1.1;
}

.direction-card p {
  color: var(--muted);
  margin: 10px 0 16px;
  font-size: .94rem;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 80px;
}

.refinement-set {
  padding-top: 58px;
}

.refinement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.refinement-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}

.refinement-card h3 {
  margin-top: 12px;
}

.refinement-card p {
  color: var(--muted);
  margin: 12px 0 18px;
}

.rank-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.rank-number {
  color: var(--accent-strong);
  font-size: 1.3rem;
  font-weight: 800;
}

.rank-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 20px;
  padding: var(--page-gutter);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.is-visible,
.is-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .split,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 780px) {
  :root {
    --page-gutter: 18px;
  }

  .site-header,
  .comparison-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    gap: 32px;
    padding-bottom: 56px;
  }

  .page-audience-proof .hero-frame img {
    aspect-ratio: 4 / 3;
    object-position: 47% 58%;
  }

  .page-audience-proof .proof-overlay {
    left: 12px;
    right: 12px;
    top: 12px;
    justify-content: space-between;
    padding: 9px 10px;
    gap: 0;
  }

  .page-audience-proof .proof-overlay span {
    gap: 5px;
    font-size: clamp(.52rem, 2.25vw, .62rem);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .page-audience-proof .proof-overlay span:not(:last-child)::after {
    width: clamp(6px, 2vw, 11px);
    flex: 0 0 auto;
  }

  h1 {
    font-size: 2.58rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2rem;
    line-height: 1.04;
  }

  .hero-copy,
  .section-copy,
  .lead {
    font-size: 1rem;
  }

  .proof-strip,
  .grid,
  .two-grid,
  .model-panel,
  .rank-item,
  .refinement-grid {
    grid-template-columns: 1fr;
  }

  .equity-flow::before {
    display: none;
  }

  .capability-process {
    gap: 10px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .direction-card {
    min-width: 0;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 58px 0;
  }

  .quote-panel {
    font-size: 1.55rem;
  }

  .final-cta {
    padding: 72px 0 84px;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 2.24rem;
  }

  .cta,
  .secondary-link {
    width: 100%;
  }

  .asset-caption {
    flex-direction: column;
  }
}

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