/**
 * Marketing / secondary page layout — not used on the cinematic index.
 * Keeps depth pages legible without pulling in journey.css.
 */

body:not(.landing-home) {
  background: var(--bg);
  color: var(--logo-white);
  font-family: var(--font-ui);
  line-height: 1.65;
}

body:not(.landing-home) .site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(2, 3, 4, 0.92);
  border-bottom: 1px solid rgba(232, 230, 223, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

body:not(.landing-home) .brand {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  color: var(--logo-white);
  text-shadow: none;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.header-nav a {
  color: rgba(232, 230, 223, 0.72);
  font-size: 0.92rem;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--logo-white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(232, 230, 223, 0.12);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin-inline: auto;
  background: var(--logo-white);
}

.section {
  padding: 72px 0;
  border-top: 1px solid rgba(232, 230, 223, 0.08);
}

.section:first-of-type {
  border-top: 0;
}

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

.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 230, 223, 0.48);
}

.section-tag .num {
  color: var(--calibration-cyan);
}

.section-tag .kicker.accent,
.kicker.accent {
  color: var(--calibration-cyan);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.lede {
  font-size: 1.08rem;
  color: rgba(232, 230, 223, 0.78);
}

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

.card {
  padding: 22px 24px;
  border: 1px solid rgba(232, 230, 223, 0.1);
  background: rgba(232, 230, 223, 0.03);
  border-radius: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.button-primary {
  background: rgba(232, 230, 223, 0.94);
  color: #020304;
}

.button-ghost {
  border-color: rgba(232, 230, 223, 0.18);
  color: var(--logo-white);
  background: transparent;
}

.button-link {
  color: var(--calibration-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 249, 255, 0.28);
}

.muted-line {
  display: block;
  color: rgba(232, 230, 223, 0.52);
}

.founder-headline {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin-bottom: 20px;
}

.founder-quote {
  margin: 28px 0;
  padding-left: 18px;
  border-left: 2px solid rgba(125, 249, 255, 0.35);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
}

.founder-photo img {
  width: 100%;
  display: block;
  border: 1px solid rgba(232, 230, 223, 0.1);
}

.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rule-list li {
  padding: 18px 0;
  border-top: 1px solid rgba(232, 230, 223, 0.08);
}

.rule-list li:first-child {
  border-top: 0;
}

.rule-list .n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--calibration-cyan);
  margin-bottom: 6px;
}

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

.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta .inner {
  position: relative;
  z-index: 1;
}

.cta-spiral {
  position: absolute;
  right: -40px;
  top: 50%;
  width: min(280px, 40vw);
  opacity: 0.06;
  transform: translateY(-50%);
  pointer-events: none;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(232, 230, 223, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  font-size: 0.88rem;
  color: rgba(232, 230, 223, 0.52);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: rgba(232, 230, 223, 0.62);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--logo-white);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 940px) {
  .grid-2,
  .feature-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 12px;
    border: 1px solid rgba(232, 230, 223, 0.1);
    background: rgba(7, 9, 12, 0.98);
  }

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

  body:not(.landing-home) .site-header {
    position: relative;
  }

  .header-inner {
    position: relative;
  }
}
