:root {
  --bg: #F3F3EF;
  --green: #009B63;
  --text: #111111;
  --muted: #777777;
  --line: rgba(17, 17, 17, 0.16);
  --light: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: var(--green);
  color: white;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  color: white;
  mix-blend-mode: difference;
  pointer-events: none;
}

.topbar a {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 14px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .08em;
}

.top-actions > a:not(.top-button) {
  padding: 12px 8px;
}

.top-button {
  border: 1px solid currentColor;
  padding: 10px 18px;
}

.hero {
  position: relative;
  min-height: 100svh;
  background: #111;
  color: white;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  animation: heroSettle 1.6s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.04) 42%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.3) 0%, transparent 42%, transparent 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 5vw 7vh;
  width: min(760px, 85vw);
}

.eyebrow,
.section-number,
.image-tag {
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .13em;
}

.eyebrow {
  margin: 0 0 18px;
  opacity: .82;
}

.hero h1 {
  margin: 0;
  font-size: clamp(82px, 13vw, 220px);
  line-height: .72;
  letter-spacing: -.085em;
  font-weight: 900;
}

.hero-line {
  margin: 28px 0 0;
  font-size: clamp(18px, 2.2vw, 34px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
}

.hero-bottom {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.hero-links {
  display: flex;
  background: var(--bg);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.4);
}

.hero-links a {
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .08em;
  padding: 15px 17px;
  border-right: 1px solid var(--line);
  transition: .2s ease;
}

.hero-links a:last-child {
  border-right: 0;
}

.hero-links a:hover {
  background: var(--green);
  color: white;
}

.ca-copy {
  appearance: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.82);
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(10px);
  padding: 8px 10px;
  cursor: pointer;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .05em;
}

.ca-copy .ca-label {
  opacity: .55;
}

.ca-copy .ca-status {
  margin-left: 8px;
  color: white;
}

.statement {
  min-height: 250px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
}

.statement-index,
.statement-arrow {
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--muted);
}

.statement p {
  margin: 0;
  font-size: clamp(42px, 8vw, 122px);
  letter-spacing: -.07em;
  line-height: .9;
  font-weight: 800;
}

.statement-arrow {
  font-size: clamp(52px, 7vw, 96px);
  color: var(--green);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  min-height: 900px;
  border-bottom: 1px solid var(--line);
}

.story-visual {
  min-height: 900px;
  position: relative;
  overflow: hidden;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--bg);
  padding: 10px 12px;
}

.story-copy {
  padding: 11vh 5vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--green);
  color: white;
}

.story-copy .section-number,
.interlude-copy .section-number,
.character-copy .section-number,
.buy-inner .section-number {
  opacity: .7;
}

.story-copy h2,
.interlude-copy h2,
.character-copy h2,
.buy-inner h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 86px);
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 800;
}

.story-copy p {
  margin: 30px 0 0;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  max-width: 430px;
}

.interlude {
  padding: 12vh 5vw;
  border-bottom: 1px solid var(--line);
}

.interlude-grid {
  display: grid;
  grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr);
  gap: 7vw;
  align-items: center;
}

.interlude-copy h2 {
  margin-top: 26px;
}

.interlude-copy p {
  max-width: 390px;
  margin-top: 30px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.interlude-visual {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.interlude-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.interlude-visual:hover img {
  transform: scale(1.025);
}

.character-zone {
  min-height: 920px;
  display: grid;
  grid-template-columns: minmax(320px, .55fr) minmax(0, 1.45fr);
  border-bottom: 1px solid var(--line);
}

.character-copy {
  padding: 11vh 5vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.character-copy h2 {
  font-size: clamp(44px, 5vw, 82px);
}

.character-stage {
  min-height: 920px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 60px 40px 0;
}

.exit-panel {
  position: absolute;
  left: 8%;
  top: 12%;
  width: min(470px, 54%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  background: var(--green);
  box-shadow: 0 30px 80px rgba(0, 155, 99, .12);
}

.door-shape {
  width: 70px;
  height: 126px;
  background: white;
}

.exit-arrow {
  color: white;
  font-size: 120px;
  font-family: Arial, sans-serif;
  line-height: 1;
  transform: translateY(-6px);
}

.character {
  position: relative;
  z-index: 2;
  width: min(720px, 82%);
  max-height: 850px;
  object-fit: contain;
  filter: drop-shadow(0 30px 25px rgba(0,0,0,.13));
  transform: translateY(5%);
}

.buy-section {
  min-height: 84vh;
  display: grid;
  place-items: center;
  background: var(--text);
  color: white;
  padding: 10vh 5vw;
}

.buy-inner {
  width: min(1100px, 100%);
}

.buy-inner h2 {
  margin-top: 32px;
  font-size: clamp(80px, 14vw, 205px);
  line-height: .77;
  letter-spacing: -.08em;
}

.buy-actions {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,.2);
}

.buy-main,
.buy-ca {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: transparent;
  color: white;
  border: 0;
  font-size: 14px;
  letter-spacing: .06em;
  cursor: pointer;
}

.buy-main {
  border-right: 1px solid rgba(255,255,255,.2);
  background: var(--green);
  font-weight: 700;
}

.buy-main span {
  font-size: 28px;
}

.buy-ca {
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
}

.buy-ca strong {
  font-weight: 500;
}

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .07em;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cursor-dot {
  position: fixed;
  z-index: 100;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .2s ease;
}

@keyframes heroSettle {
  from { transform: scale(1.08); }
  to { transform: scale(1.015); }
}

@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-dot { opacity: 1; }
}

@media (max-width: 980px) {
  .story,
  .character-zone {
    grid-template-columns: 1fr;
  }

  .story-visual {
    min-height: 72vh;
  }

  .story-copy {
    min-height: 580px;
  }

  .interlude-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .character-copy {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .character-stage {
    min-height: 760px;
  }
}

@media (max-width: 700px) {
  .topbar {
    height: 66px;
    padding: 0 16px;
  }

  .top-actions > a:not(.top-button) {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    object-position: 61% center;
  }

  .hero-copy {
    padding: 0 18px 150px;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(90px, 28vw, 150px);
  }

  .hero-line {
    font-size: 20px;
  }

  .hero-bottom {
    left: 18px;
    right: 18px;
    bottom: 20px;
    align-items: stretch;
  }

  .hero-links {
    width: 100%;
  }

  .hero-links a {
    flex: 1;
    text-align: center;
    padding: 15px 8px;
  }

  .ca-copy {
    justify-content: center;
    width: 100%;
  }

  .statement {
    min-height: 190px;
    grid-template-columns: 28px 1fr auto;
    padding: 0 18px;
    gap: 10px;
  }

  .statement p {
    font-size: 12vw;
  }

  .story-copy,
  .interlude,
  .character-copy,
  .buy-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-visual {
    min-height: 64vh;
  }

  .story-copy {
    min-height: 520px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .interlude {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .character-copy {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .character-stage {
    min-height: 610px;
    padding: 30px 0 0;
  }

  .exit-panel {
    top: 8%;
    left: 8%;
    width: 84%;
    height: 150px;
    gap: 40px;
  }

  .door-shape {
    width: 46px;
    height: 82px;
  }

  .exit-arrow {
    font-size: 82px;
  }

  .character {
    width: 94%;
  }

  .buy-inner h2 {
    font-size: 24vw;
  }

  .buy-actions {
    grid-template-columns: 1fr;
  }

  .buy-main {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  footer {
    min-height: 140px;
    grid-template-columns: 1fr auto;
    padding: 28px 18px;
  }

  footer > div:nth-child(2) {
    display: none;
  }

  .cursor-dot {
    display: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
