:root {
  --brand: #ef681e;
  --brand-hover: #d45a16;
  --ink: #111111;
  --ink-muted: #3f3f3f;
  --paper: #ffffff;
  --paper-soft: #f4f3f1;
  --line: rgba(17, 17, 17, 0.16);
  --shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
  --header-bg: rgba(255, 255, 255, 0.92);
  --hero-fg: #ffffff;
  --radius: 4px;
  --radius-lg: 10px;
  --max: 1120px;
  --header-h: 76px;
}

html[data-theme="dark"] {
  --ink: #f5f4f2;
  --ink-muted: #d8d4ce;
  --paper: #121110;
  --paper-soft: #1c1b19;
  --line: rgba(255, 255, 255, 0.22);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(18, 17, 16, 0.92);
  --hero-fg: #ffffff;
}

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

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
  scrollbar-gutter: stable;
}

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

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

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.skip:focus,
.skip:focus-visible {
  transform: none;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-center {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.nav-center a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.nav-center a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.theme-toggle:hover {
  border-color: var(--brand);
}

.icon-sun,
html[data-theme="dark"] .icon-moon {
  display: none;
}

html[data-theme="dark"] .icon-sun,
.icon-moon {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 22px;
  min-height: 44px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  color: inherit;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn-ghost.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.88);
}

.btn-ghost.light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-on-brand {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.12;
  margin: 0;
}

.lede {
  color: var(--ink-muted);
  max-width: 42rem;
}

.hero {
  position: relative;
  padding: 88px 0 96px;
}

.hero-copy {
  width: min(720px, 100%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}

.hero .lede {
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-traditional .hero {
  background:
    radial-gradient(ellipse at 78% 12%, rgba(239, 104, 30, 0.42), transparent 46%),
    radial-gradient(ellipse at 18% 88%, rgba(60, 32, 16, 0.55), transparent 42%),
    linear-gradient(165deg, #1b1613 0%, #0d0d0d 55%, #16110e 100%);
  color: var(--hero-fg);
}

.page-traditional .hero .lede {
  color: rgba(255, 255, 255, 0.92);
}

.page-light .hero {
  padding: 96px 0 80px;
  background: var(--paper);
}

.page-light .hero h1 {
  color: var(--ink);
}

section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  margin-bottom: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px 32px;
}

.page-light .card {
  background: var(--paper-soft);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

html[data-theme="dark"] .card {
  background: var(--paper-soft);
}

html[data-theme="dark"] .page-light .card {
  box-shadow: var(--shadow);
}

.card-icon {
  width: 36px;
  height: 36px;
  color: var(--brand);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.split h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 18px;
}

.panel {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.panel h3 {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stats strong {
  display: block;
  color: var(--brand);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
}

.stats span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.cta {
  background: #171615;
  color: #fff;
  text-align: center;
  padding: 88px 0 72px;
}

.page-light .cta {
  background: var(--brand);
  color: #fff;
}

.page-light .cta h2,
.page-light .cta p,
.page-light .cta .fineprint {
  color: #fff;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}

.cta p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fineprint {
  margin: 18px 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background: #111110;
  color: #eceae7;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  color: #c8c4be;
  font-size: 0.78rem;
  margin: 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

.who {
  display: grid;
  gap: 28px;
}

.who h3 {
  margin-bottom: 10px;
}

html[data-theme="dark"] .page-traditional .hero {
  background:
    radial-gradient(ellipse at 82% 8%, rgba(239, 104, 30, 0.28), transparent 42%),
    #0e0d0c;
}

.hub-hero {
  padding: 72px 0 40px;
}

.hub-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 16ch;
  margin-bottom: 16px;
}

.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 80px;
}

.option {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.option h2 {
  font-size: 1.15rem;
  margin: 12px 0;
}

.option p {
  color: var(--ink-muted);
  flex: 1;
}

.option .btn {
  align-self: flex-start;
  margin-top: 12px;
}

.cinematic-page {
  background: #0e0d0c;
  color: #fff;
}

.cinematic-page .site-header {
  background: rgba(14, 13, 12, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.cinematic-page .nav-toggle,
.cinematic-page .theme-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.proxy-banner {
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
}

.cinematic-scroll {
  height: 620vh;
  position: relative;
}

.cinematic-sticky {
  position: sticky;
  top: calc(var(--header-h) + 36px);
  height: calc(100vh - var(--header-h) - 48px);
  display: grid;
  place-items: center;
  padding: 0 20px 24px;
}

.stage {
  position: relative;
  width: min(1280px, 100%);
  aspect-ratio: 1280 / 720;
  background: #161514;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.tour-bar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(12, 11, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 10px 14px;
  width: min(720px, calc(100% - 24px));
}

.progress {
  flex: 1;
  height: 6px;
  background: #2a2927;
  border-radius: 99px;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--brand);
}

.frame-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  min-width: 7.5rem;
}

.cinematic-page.is-reduced-motion .cinematic-scroll {
  height: auto;
}

.cinematic-page.is-reduced-motion .cinematic-sticky {
  position: relative;
  top: auto;
  height: auto;
  padding: 28px 16px 48px;
}

@media (max-width: 900px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner,
  .cards,
  .split,
  .approach-grid,
  .options {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    padding-block: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-center {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    order: 3;
    padding: 4px 0 12px;
    border-top: 1px solid var(--line);
  }

  .nav-center.is-open {
    display: flex;
  }

  .nav-center a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 4px;
  }

  .hero,
  .page-light .hero {
    padding: 56px 0 64px;
  }

  .hub-hero {
    padding: 48px 0 28px;
  }

  section {
    padding: 56px 0;
  }

  .cta {
    padding: 56px 0 48px;
  }

  .options {
    padding-bottom: 56px;
  }

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

  .cinematic-sticky {
    top: calc(var(--header-h) + 12px);
    height: calc(100vh - var(--header-h) - 24px);
    padding: 0 12px 16px;
  }
}

@media (max-width: 640px) {
  .header-actions .btn {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tour-bar {
    flex-wrap: wrap;
    bottom: 10px;
    gap: 10px;
    padding: 10px;
    width: calc(100% - 16px);
  }

  .tour-bar .btn {
    flex: 1 1 100%;
  }

  .progress {
    flex: 1 1 100%;
    order: 3;
  }

  .frame-label {
    min-width: 0;
    white-space: normal;
  }
}

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

  .cinematic-scroll {
    height: auto;
  }

  .cinematic-sticky {
    position: relative;
    top: auto;
    height: auto;
    padding: 28px 16px 48px;
  }
}
