:root {
  --ink: #090907;
  --paper: #f1eee8;
  --soft: #c9c3b9;
  --steel: #8f9da5;
  --brass: #d8b576;
  --line: rgba(241, 238, 232, 0.14);
  --nav-height: 96px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.page-atmosphere {
  --parallax-y: 0px;
  position: fixed;
  z-index: 0;
  inset: -12vh -6vw;
  pointer-events: none;
  background:
    linear-gradient(rgba(9, 9, 7, .54), rgba(9, 9, 7, .70)),
    url("https://theexcelcoder.github.io/corporate-hunter-sprites/public/assets/Background.png") center 58% / cover no-repeat;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.06);
  transform-origin: center top;
  will-change: transform;
}

main,
.primer-footer {
  position: relative;
  z-index: 1;
}

main { padding-top: var(--nav-height); }

.primer-nav {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(22px, 5vw, 76px);
  background: rgba(7, 7, 6, .98);
  border-bottom: 1px solid rgba(216, 181, 118, .18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

.primer-brand {
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 2px 16px #000;
  white-space: nowrap;
}

.primer-nav nav,
.primer-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
}

.primer-nav nav a,
.primer-footer a {
  color: rgba(241, 238, 232, .7);
  font-size: 12px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.primer-footer-identity {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.primer-nav nav a:hover,
.primer-footer a:hover { color: var(--brass); }

.primer-nav .nav-sign-in {
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 12px 18px;
}

.primer-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 56px clamp(22px, 7vw, 108px) clamp(46px, 6vw, 78px);
  background: #070706;
}

.hero-art,
.hero-art img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art img {
  bottom: auto;
  height: auto;
  object-position: center top;
  opacity: .98;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7,7,6,.82) 0%, rgba(7,7,6,.26) 42%, rgba(7,7,6,.02) 72%),
    linear-gradient(0deg, rgba(7,7,6,.98) 0%, rgba(7,7,6,.38) 30%, transparent 58%, rgba(7,7,6,.18) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(600px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  color: var(--steel);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 600px;
  margin: 0 0 14px;
  color: rgba(241,238,232,.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}

.hero-deck {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(241,238,232,.68);
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  letter-spacing: .04em;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 54px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}

.primary-action {
  min-width: 226px;
  border: 1px solid rgba(216,181,118,.65);
  background: rgba(24,20,14,.72);
  color: #f3d59d;
  padding: 0 20px;
}

.primary-action:hover { background: rgba(216,181,118,.13); }

.secondary-action {
  color: rgba(241,238,232,.7);
  padding: 0 4px;
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(241,238,232,.48);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-note span { padding: 0 .5em; color: var(--brass); }

.primer-section {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(78px, 11vw, 150px) 0;
  border-top: 1px solid var(--line);
  position: relative;
  scroll-margin-top: var(--nav-height);
}

.story-section { display: block; }

.story-section .section-copy { width: 100%; }

.section-copy h2,
.access-section h2,
.section-heading h2 {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
}

.section-copy h2 {
  max-width: 1060px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  letter-spacing: -.035em;
  line-height: 1.02;
}

.section-copy h2 span { display: block; }

.story-body {
  width: min(760px, calc(100% - clamp(36px, 8vw, 112px)));
  margin: clamp(38px, 5vw, 62px) 0 0 clamp(36px, 8vw, 112px);
}

.story-body > p,
.access-card > p {
  max-width: 720px;
  color: var(--soft);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.system-note {
  display: grid;
  grid-template-columns: minmax(120px, .55fr) minmax(0, 1.45fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
  width: min(920px, calc(100% - clamp(36px, 8vw, 112px)));
  margin: clamp(72px, 9vw, 112px) 0 0 clamp(36px, 8vw, 112px);
  padding: 0;
}

.system-signal {
  position: relative;
  height: 1px;
  margin-top: 9px;
  background: rgba(216, 181, 118, .24);
}

.system-signal::before,
.system-signal i {
  content: "";
  position: absolute;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
}

.system-signal::before {
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--brass);
  background: var(--ink);
}

.system-signal i {
  left: 3px;
  width: 1px;
  height: 1px;
  background: var(--brass);
  opacity: 0;
}

.system-note.is-active .system-signal i {
  animation: system-trace 1.15s cubic-bezier(.2,.75,.25,1) forwards;
}

.system-copy > span {
  display: block;
  margin-bottom: 20px;
  color: var(--brass);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.system-note h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 400;
}

.system-note p {
  margin-bottom: 0;
  color: rgba(241, 238, 232, .68);
  line-height: 1.75;
}

.reading-stage {
  position: relative;
  min-height: clamp(650px, 66vw, 820px);
  overflow: hidden;
  border: 1px solid rgba(216,181,118,.2);
  background: #080806;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.stage-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.reading-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,5,4,.88) 0%, rgba(5,5,4,.68) 34%, rgba(5,5,4,.12) 60%, rgba(5,5,4,.03) 100%);
  pointer-events: none;
}

.stage-copy {
  position: relative;
  z-index: 1;
  width: min(48%, 570px);
  padding: clamp(42px, 6vw, 78px);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.preview-context {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
}

.preview-context span,
.stage-time,
.stage-dialogue span,
.stage-system span {
  color: var(--steel);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.preview-context strong {
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 500;
}

.stage-time { margin-bottom: 48px; text-align: center; }
.stage-time span { padding: 0 .55em; color: var(--brass); }

.stage-dialogue {
  display: block;
  width: min(68%, 330px);
  margin-left: auto;
  margin-bottom: 38px;
  padding-right: 18px;
  border-right: 1px solid rgba(212,196,160,.30);
  text-align: right;
}

.stage-dialogue span { display: block; color: rgba(145,168,218,.82); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.stage-dialogue p { margin: 6px 0 0; color: rgba(236,233,228,.90); font-size: 1.04rem; line-height: 1.65; }
.stage-narration p { margin: 0 0 1.55rem; color: rgba(226,222,215,.78); font-size: 1.13rem; line-height: 1.94; }
.stage-narration .stage-impact { margin: 0 0 1.9rem; color: rgba(244,241,236,.96); font-size: 1.13rem; font-weight: 650; line-height: 1.7; }
.stage-system { --stage-label-start: 16px; --stage-label-end: 148px; position: relative; margin-top: 4.8rem; border: 1px solid rgba(214,182,138,.15); border-top: 0; padding: 34px 24px 24px; background: linear-gradient(to bottom,rgba(16,19,24,.36),rgba(8,9,12,.30)); box-shadow: 0 24px 50px rgba(0,0,0,.30); opacity: .18; transform: translateY(10px); transition: opacity .9s ease .35s, transform .9s ease .35s; }
.stage-system::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right,rgba(214,182,138,.15) 0,rgba(214,182,138,.15) var(--stage-label-start),transparent var(--stage-label-start),transparent var(--stage-label-end),rgba(214,182,138,.15) var(--stage-label-end),rgba(214,182,138,.15) 100%); }
.stage-system span { color: var(--brass); }
.stage-system > span { position: absolute; top: 0; left: 24px; transform: translateY(-50%); font-family: Consolas,"Courier New",monospace; font-size: 1.13rem; font-weight: 700; letter-spacing: .11em; line-height: 1; white-space: nowrap; }
.stage-system p { margin: 0; color: rgba(232,220,198,.92); font-family: Consolas,"Courier New",monospace; font-size: 1.13rem; font-weight: 500; letter-spacing: .06em; line-height: 1.58; text-transform: uppercase; }
.reading-stage.is-active .stage-system { opacity: 1; transform: translateY(0); }

.stage-cta { position: absolute; z-index: 3; right: 28px; bottom: 28px; min-width: 260px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, .55fr) minmax(0, 1.45fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.access-section {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 9vw, 132px);
  align-items: end;
}

.access-card {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 5vw, 64px);
}

.price-line {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 26px;
}

.price-line > span {
  display: flex;
  flex-direction: column;
  min-height: 102px;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(241,238,232,.68);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.7;
  padding: 16px 18px;
  text-transform: uppercase;
}

@keyframes system-trace {
  0% { left: 3px; opacity: 0; box-shadow: 0 0 0 rgba(216,181,118,0); }
  15% { opacity: 1; box-shadow: 0 0 12px rgba(216,181,118,.8); }
  80% { left: calc(100% - 4px); opacity: 1; }
  100% { left: calc(100% - 4px); opacity: .35; box-shadow: 0 0 4px rgba(216,181,118,.35); }
}

.price-line strong {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0;
}

.price-line em {
  color: var(--brass);
  font-size: 9px;
  font-style: normal;
}

.primer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px clamp(22px, 5vw, 76px);
  border-top: 1px solid rgba(241,238,232,.08);
  color: rgba(241,238,232,.42);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  :root { --nav-height: 72px; }
  .primer-brand { font-size: 16px; letter-spacing: .1em; }
  .primer-nav nav > a:not(.nav-sign-in) { display: none; }
  .primer-hero { align-items: end; }
  .primer-nav { padding-top: 18px; padding-bottom: 18px; }
  .hero-art img {
    height: auto;
    object-position: center top;
  }
  .hero-shade {
    background:
      linear-gradient(0deg, var(--ink) 3%, rgba(9,9,7,.68) 31%, rgba(9,9,7,.08) 70%, rgba(9,9,7,.26) 100%);
  }
  .story-section,
  .access-section { grid-template-columns: 1fr; }
  .primer-section { width: min(100% - 36px, 1240px); }
  .section-copy h2 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .story-body { width: 100%; margin-left: 0; }
  .system-note { width: 100%; grid-template-columns: 1fr; gap: 24px; margin-left: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .reading-stage { min-height: 0; overflow: visible; }
  .reading-stage::after { display: none; }
  .stage-art { position: relative; display: block; height: min(72vw, 470px); object-position: 70% center; }
  .stage-copy { width: 100%; padding: 34px 24px 40px; background: rgba(7,7,6,.94); }
  .preview-context { margin-bottom: 14px; }
  .stage-time { margin-bottom: 38px; }
  .stage-dialogue { width: min(78%, 330px); }
  .stage-cta { position: relative; right: auto; bottom: auto; width: calc(100% - 48px); margin: 0 24px 24px; }
  .stage-narration p,
  .stage-narration .stage-impact,
  .stage-system > span,
  .stage-system p { font-size: 1rem; }
  .price-line { grid-template-columns: 1fr; }
  .primer-footer { align-items: flex-start; flex-direction: column; }
  .primer-footer nav { flex-wrap: wrap; }
  .page-atmosphere {
    inset: 0;
    background-position: center top;
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-atmosphere {
    transform: none;
    will-change: auto;
  }
  .system-note.is-active .system-signal i {
    left: calc(100% - 4px);
    opacity: .35;
    animation: none;
  }
  .stage-system { opacity: 1; transform: none; transition: none; }
}
