/* =========================================================
   HERO / STORY / INTERLUDE
   ========================================================= */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 130px clamp(20px, 5vw, 80px) 90px;
  overflow: hidden;
  background: var(--ink);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.hero__copy { position: relative; z-index: 3; }
.hero__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7.7vw, 9.2rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero__title-line { display: block; }
.hero__title-line--serif {
  margin-top: .035em;
  margin-left: .055em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  line-height: .72;
  letter-spacing: -.025em;
  text-transform: none;
  color: var(--lime);
  text-shadow: 0 0 70px rgba(198, 255, 61, .18);
}
.hero__title-line--name {
  margin-top: .055em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 241, 232, .88);
  font-size: .94em;
  letter-spacing: -.06em;
}
.hero__title-dot {
  color: var(--lime);
  -webkit-text-stroke: 0;
}
.hero__lead {
  max-width: 560px;
  margin-top: 28px;
  color: rgba(244, 241, 232, .64);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.7;
}
.hero__lead strong { color: var(--cream); font-weight: 600; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 42px);
  max-width: 560px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero__meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.hero__meta-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* hero background */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: orbDrift 16s ease-in-out infinite alternate;
}
.orb--lime {
  top: 10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  min-width: 340px;
  min-height: 340px;
  background: radial-gradient(circle, rgba(198, 255, 61, .2), transparent 68%);
}
.orb--violet {
  top: 4%;
  right: -8%;
  width: 48vw;
  height: 48vw;
  min-width: 420px;
  min-height: 420px;
  background: radial-gradient(circle, rgba(123, 92, 255, .26), transparent 68%);
  animation-delay: -5s;
}
.orb--blue {
  bottom: -22%;
  left: 28%;
  width: 44vw;
  height: 44vw;
  min-width: 380px;
  min-height: 380px;
  background: radial-gradient(circle, rgba(46, 107, 255, .18), transparent 68%);
  animation-delay: -9s;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 241, 232, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 232, .045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 74%);
}
.hero__stars { position: absolute; inset: 0; }
.hero__stars .star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--cream);
  opacity: .35;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.hero__ghost {
  position: absolute;
  top: 8%;
  right: -4%;
  color: transparent;
  font-family: var(--font-display);
  font-size: 29vw;
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.09em;
  -webkit-text-stroke: 1px rgba(244, 241, 232, .055);
  pointer-events: none;
  user-select: none;
}
.hero__ghost--small {
  top: auto;
  right: auto;
  bottom: 2%;
  left: -3%;
  font-size: 14vw;
  -webkit-text-stroke-color: rgba(198, 255, 61, .06);
}

/* hero hud */
.hero__hud {
  position: absolute;
  z-index: 3;
  color: rgba(244, 241, 232, .42);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero__hud span { color: rgba(244, 241, 232, .75); }
.hero__hud--tl { top: 105px; left: clamp(20px, 5vw, 60px); }
.hero__hud--tr { top: 105px; right: clamp(20px, 5vw, 60px); text-align: right; }
.hero__hud--bl { bottom: 26px; left: clamp(20px, 5vw, 60px); }
.hero__hud--br { bottom: 26px; right: clamp(20px, 5vw, 60px); text-align: right; }
.hero__frame {
  position: absolute;
  inset: 20px;
  z-index: 1;
  pointer-events: none;
}
.hero__frame i {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(198, 255, 61, .4);
  border-style: solid;
}
.hero__frame i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hero__frame i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hero__frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hero__frame i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* hero visual */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  perspective: 1200px;
}
.hero__card-wrap {
  position: relative;
  z-index: 1;
  width: min(380px, 74%);
  aspect-ratio: .82;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .22s ease-out;
  will-change: transform;
}
.hero__card {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid rgba(244, 241, 232, .17);
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 10%, rgba(123, 92, 255, .22), transparent 45%),
    linear-gradient(160deg, #151621 0%, #0a0b10 70%);
  box-shadow: 0 50px 100px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(244, 241, 232, .08);
  transform: translateZ(24px);
}
.hero__card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(244, 241, 232, .1);
  border-radius: 18px;
  pointer-events: none;
}
.hero__card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 12px;
  color: rgba(244, 241, 232, .42);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .16em;
}
.hero__photo {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #1a1a22;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(.86) contrast(1.06);
  transform: scale(1.035);
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.hero__card:hover .hero__photo img { transform: scale(1.08); filter: saturate(1) contrast(1.02); }
.hero__photo-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 7, 10, .7) 100%);
  pointer-events: none;
}
.hero__photo-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--lime);
  border-style: solid;
  opacity: .8;
}
.hero__photo-corner--tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.hero__photo-corner--br { right: 10px; bottom: 10px; border-width: 0 1px 1px 0; }
.hero__card-bottom { padding: 14px 4px 2px; }
.hero__card-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -.04em;
}
.hero__card-role {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .14em;
}
.hero__card-sticker {
  position: absolute;
  top: 44%;
  right: -30px;
  z-index: 4;
  padding: 10px 15px;
  border-radius: 7px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
  box-shadow: 5px 5px 0 rgba(6, 7, 10, .6);
  transform: translateZ(80px) rotate(-8deg);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.hero__card-sticker:hover { transform: translateZ(80px) rotate(3deg) scale(1.04); background: var(--cream); }
.hero__card-code {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(244, 241, 232, .25);
  font-size: 6px;
  letter-spacing: .16em;
}
.hero__ring {
  position: absolute;
  inset: -58px;
  z-index: 0;
  animation: spin 30s linear infinite;
  pointer-events: none;
}
.hero__ring svg { width: 100%; height: 100%; overflow: visible; }
.hero__ring text {
  fill: rgba(244, 241, 232, .38);
  font-family: var(--font-body);
  font-size: 8.4px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.hero__badge {
  position: absolute;
  z-index: 5;
  padding: 7px 11px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
  box-shadow: 4px 4px 0 rgba(6, 7, 10, .45);
}
.hero__badge--1 {
  top: -20px;
  left: -26px;
  background: var(--lime);
  color: var(--ink);
  transform: translateZ(64px) rotate(-7deg);
}
.hero__badge--2 {
  right: -38px;
  bottom: 82px;
  background: var(--cream);
  color: var(--ink);
  transform: translateZ(64px) rotate(5deg);
}
.hero__badge--3 {
  bottom: -17px;
  left: -30px;
  background: var(--violet);
  color: var(--cream);
  transform: translateZ(64px) rotate(-4deg);
}

/* balloons */
.balloons { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.balloon {
  position: absolute;
  width: 58px;
  height: 74px;
  border-radius: 50% 50% 46% 46%;
  pointer-events: auto;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .5), transparent 26%),
    linear-gradient(155deg, #a68dff, #4a28b8 70%);
  box-shadow: inset -8px -10px 18px rgba(0, 0, 0, .25), 0 18px 40px rgba(0, 0, 0, .28);
  transform-origin: 50% 100%;
  animation: balloonFloat 5.4s ease-in-out infinite;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.balloon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.balloon span {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 78px;
  background: linear-gradient(rgba(244, 241, 232, .6), transparent);
  transform: translateX(-50%) rotate(4deg);
  transform-origin: top;
}
.balloon--1 { top: 8%; left: 1%; }
.balloon--2 {
  top: -1%;
  right: 3%;
  width: 48px;
  height: 62px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .6), transparent 26%),
    linear-gradient(155deg, #e2ff9a, #8fbf1e 70%);
  animation-delay: -1.8s;
}
.balloon--3 {
  bottom: 19%;
  left: -2%;
  width: 42px;
  height: 56px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55), transparent 26%),
    linear-gradient(155deg, #ffa8cf, #c42f78 70%);
  animation-delay: -3.2s;
}
.balloon.is-popped { opacity: 0; transform: scale(1.5); pointer-events: none; }
.hero__scroll-cue {
  position: absolute;
  right: 0;
  bottom: -8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 241, 232, .4);
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__scroll-cue i {
  position: relative;
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(244, 241, 232, .2);
  overflow: hidden;
}
.hero__scroll-cue i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateX(-100%);
  animation: scrollLine 2s var(--ease) infinite;
}

/* hero reveal */
.hero-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
body.is-ready .hero-reveal { opacity: 1; transform: none; }

/* ---------- STORY ---------- */
.story {
  position: relative;
  z-index: 3;
  margin-top: -2px;
  padding-top: clamp(80px, 10vw, 150px);
  border-radius: 42px 42px 0 0;
  background: var(--paper);
  color: var(--ink);
}
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  gap: clamp(40px, 7vw, 110px);
  margin-top: clamp(40px, 5vw, 64px);
}
.story .display {
  max-width: 950px;
  margin-top: 38px;
  color: var(--ink);
}
.story .display em { color: var(--electric); }
.story__text {
  max-width: 720px;
  margin-top: 28px;
  color: #77736a;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
}
.story__text + .story__text { margin-top: 16px; }
.story__text .word {
  color: #aaa59a;
  transition: color .35s var(--ease);
}
.story__text .word.is-lit { color: #1b1b17; }
.story__text strong { color: var(--ink); font-weight: 600; }
.story__text strong .word { color: var(--ink); }
.story__quote {
  max-width: 700px;
  margin-top: 44px;
  padding-left: 22px;
  border-left: 3px solid var(--electric);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 3.05rem);
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
}
.story__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.fact span {
  display: block;
  color: var(--electric);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
}
.fact strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 600;
  letter-spacing: -.03em;
}
.fact em {
  display: block;
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 11px;
  font-style: normal;
}
.story__side {
  position: sticky;
  top: 100px;
  align-self: start;
  min-height: 560px;
  padding-top: 28px;
}
.polaroid {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 13px 13px 64px;
  border-radius: 3px;
  background: #fbf8ef;
  box-shadow: 0 30px 70px rgba(6, 7, 10, .18);
  transform: perspective(900px) rotate(3deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .32s var(--ease);
}
.polaroid:hover {
  transform: perspective(900px) rotate(0deg) translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 1px;
}
.polaroid figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #47443c;
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.2;
}
.polaroid__tape {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 2;
  width: 112px;
  height: 28px;
  background: rgba(198, 255, 61, .72);
  border: 1px solid rgba(6, 7, 10, .08);
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 3px 6px rgba(6, 7, 10, .08);
}
.chat-card {
  width: min(100%, 405px);
  margin: 38px auto 0;
  padding: 17px 18px 16px;
  border-radius: 17px;
  background: #0c0d13;
  color: var(--cream);
  box-shadow: 0 24px 60px rgba(6, 7, 10, .25);
  transform: rotate(-1.4deg);
  transition: transform .5s var(--ease);
}
.chat-card:hover { transform: rotate(0deg); }
.chat-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 241, 232, .1);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em;
}
.chat-card__state {
  margin-left: auto;
  color: var(--lime);
  font-size: 7px;
  letter-spacing: .12em;
}
.chat-card__list li {
  display: flex;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(244, 241, 232, .06);
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  animation: messageIn .5s var(--ease) forwards;
}
.chat-card__list li:nth-child(1) { animation-delay: .2s; }
.chat-card__list li:nth-child(2) { animation-delay: .35s; }
.chat-card__list li:nth-child(3) { animation-delay: .5s; }
.chat-card__list li:nth-child(4) { animation-delay: .65s; }
.chat-card__list li:nth-child(5) { animation-delay: .8s; }
.chat-card__list li:nth-child(6) { animation-delay: .95s; }
.chat-card__list b { flex: 0 0 auto; font-weight: 600; }
.chat-card__list span { color: rgba(244, 241, 232, .72); }
.u1 { color: #ff8dbe; }
.u2 { color: #9c8dff; }
.u3 { color: #7ce8b0; }
.u4 { color: #ffd36e; }
.u5 { color: var(--lime); }
.u6 { color: #7cc7ff; }
.chat-card__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding: 9px 12px;
  border: 1px solid rgba(244, 241, 232, .1);
  border-radius: 999px;
  color: rgba(244, 241, 232, .38);
  font-size: 10px;
}
.chat-card__input span { color: var(--lime); }
.sticker {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.sticker--star {
  top: 0;
  right: -2px;
  color: var(--electric);
  font-size: 46px;
  line-height: 1;
  animation: spin 14s linear infinite;
}
.sticker--note {
  bottom: 8px;
  left: -12px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.1;
  transform: rotate(-6deg);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- INTERLUDE ---------- */
.interlude {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  height: 90vh;
  max-height: 900px;
  padding: 80px 8vw;
  overflow: hidden;
  background: #0a0b12;
}
.interlude__media { position: absolute; inset: -8%; z-index: 0; }
.interlude__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.52) saturate(1.08);
}
.interlude__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 7, 10, .96) 0%, rgba(6, 7, 10, .7) 42%, rgba(6, 7, 10, .08) 100%),
    linear-gradient(0deg, rgba(6, 7, 10, .9) 0%, transparent 45%);
}
.interlude__content { position: relative; z-index: 2; max-width: 920px; }
.interlude__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
}
.interlude__kicker i {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--lime);
}
.interlude h2 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.4vw, 8.6rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.07em;
  text-transform: uppercase;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .4);
}
.interlude h2 em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: .96em;
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--lime);
}
.interlude p {
  max-width: 430px;
  margin-top: 26px;
  color: rgba(244, 241, 232, .62);
  font-size: 13px;
  line-height: 1.65;
}
.interlude__corner {
  position: absolute;
  right: 8vw;
  bottom: 28px;
  z-index: 2;
  color: rgba(244, 241, 232, .38);
  font-size: 8px;
  letter-spacing: .18em;
}

/* ---------- HERO KEYFRAMES ---------- */
@keyframes orbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3vw, -3vh, 0) scale(1.08); }
}
@keyframes twinkle {
  0%, 100% { opacity: .14; transform: scale(.7); }
  50% { opacity: .7; transform: scale(1.2); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes balloonFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}
@keyframes messageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
