:root {
  --paper: #0b0a09;
  --paper-2: #171613;
  --ink: #ece9e2;
  --muted: #97938a;
  --line: #262521;
  --dark: #171613;
  --dark-line: #2a2925;
  --dark-txt: #e8e5de;
  --dark-dim: #8f8c84;
  --blue: #2b2fe0;
  --yellow: #f2d900;
  --red: #e42313;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --disp: "Space Grotesk", "Helvetica Neue", sans-serif;
  --serif: "Lora", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--disp);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: #141310; }

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  font-family: var(--disp);
  font-weight: 700; font-size: 18px;
  color: var(--ink); text-decoration: none;
  letter-spacing: -.5px;
}
.nav-logo sup { font-size: 9px; font-weight: 400; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink); text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--paper); background: var(--ink);
  text-decoration: none;
  padding: 10px 20px; border-radius: 24px;
  transition: background .3s ease, color .3s ease;
  display: inline-block;
}
.nav-cta:hover { background: var(--yellow); color: var(--ink); }

/* ================= SHARED ================= */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 40px 30px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
}
.eyebrow-light { color: var(--dark-dim); }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 217, 0, .55); }
  50% { box-shadow: 0 0 0 8px rgba(242, 217, 0, 0); }
}
.statement {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 48px;
}
.statement em {
  font-family: var(--serif);
  font-style: italic; font-weight: 500;
  letter-spacing: 0;
}
.statement-light { color: var(--dark-txt); }

/* scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* ================= HERO ================= */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 40px 20px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
#asciiName {
  font-family: var(--mono);
  line-height: 1;
  color: var(--ink);
  white-space: pre;
  user-select: none;
  cursor: crosshair;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 1s var(--ease) .15s;
}
body.loaded #asciiName { opacity: 1; }
#asciiName span { display: inline-block; }
#asciiName .y { color: var(--yellow); }
#asciiName .m { color: var(--muted); }
.hero-hint {
  font-family: var(--mono);
  font-size: 11px; color: var(--muted);
  margin-top: 20px;
  opacity: 0;
  transition: opacity 1s var(--ease) .8s;
}
body.loaded .hero-hint { opacity: 1; }

/* ================= QUOTE ================= */
.quote-sec { padding-top: 70px; }
.quote-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  align-items: center;
}
.quote-img {
  width: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .5));
}
.quote-block p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 20px;
}
.quote-block > p:first-of-type::before { content: "“ "; color: var(--muted); }
.quote-attr {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ================= ARCHIVE (dark panel + collage) ================= */
.archive-panel {
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 56px 56px 40px;
}
.archive-head {
  display: flex; justify-content: space-between; align-items: center;
}
.archive-hint {
  font-family: var(--mono); font-size: 11px; color: var(--dark-dim);
  margin-bottom: 26px;
}
.collage {
  position: relative;
  height: 560px;
  margin-top: 10px;
}
.item {
  position: absolute;
  cursor: pointer;
  transition: transform .55s var(--ease), filter .4s ease, opacity .4s ease;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
  outline: none;
}
.collage.focused .item:not(.active) { opacity: .45; }
.item.active {
  z-index: 30 !important;
  transform: var(--pop) !important;
}

.envelope {
  left: 1%; top: 110px;
  width: 235px; height: 370px;
  z-index: 2;
  transform: rotate(-4deg);
  --pop: rotate(-2deg) translate(280px, -35px) scale(1.35);
}
.env-body {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #e3d1a4, #cdb987 70%, #c2ad79);
  border-radius: 3px;
  position: relative;
  padding: 18px;
}
.env-text {
  font-family: var(--mono);
  font-size: 10px; line-height: 1.6;
  color: #4c4433; letter-spacing: .5px;
}
.env-seal {
  position: absolute;
  width: 135px; height: 135px;
  bottom: 34px; left: 42px;
  opacity: .8;
}

.libcard {
  left: 5%; top: 50px;
  width: 250px; height: 310px;
  z-index: 3;
  transform: rotate(-9deg);
  background: linear-gradient(170deg, #cfe6e2, #b9d9d3);
  border-radius: 2px;
  padding: 18px 20px;
  font-family: var(--mono);
  --pop: rotate(-3deg) translate(290px, 50px) scale(1.35);
}
.lib-head {
  text-align: center;
  font-size: 21px; font-weight: 600;
  color: #1f3d55; letter-spacing: 1px;
}
.lib-sub {
  text-align: center;
  font-size: 8px; line-height: 1.7;
  color: #35526b; margin-top: 8px; letter-spacing: .5px;
}
.lib-rows { margin-top: 14px; }
.lib-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #7fa3ad;
  height: 32px; align-items: center;
}
.lib-row span:first-child { border-right: 1px solid #7fa3ad; height: 100%; display: flex; align-items: center; }
.stamp {
  font-size: 11px; color: #3f5f9e; font-weight: 600;
  letter-spacing: 1px; padding-left: 10px;
  transform: rotate(-2deg);
}
.stamp.s2 { transform: rotate(3deg); padding-left: 22px; }

.chart {
  left: 21%; top: 160px;
  width: 300px; height: 375px;
  z-index: 4;
  transform: rotate(3deg);
  font-family: var(--mono);
  --pop: rotate(0deg) translate(150px, -50px) scale(1.3);
}
.pink-card {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #e9b9bd, #d9a3a9);
  border-radius: 2px;
  transform: rotate(-5deg) translate(-14px, -12px);
}
.chart-paper {
  position: absolute; inset: 12px -8px -10px 18px;
  background: linear-gradient(170deg, #f4eed6, #e9e1c2);
  border-radius: 2px;
  padding: 15px 18px;
  display: flex; flex-direction: column;
}
.chart-head {
  font-size: 10.5px; font-weight: 600; letter-spacing: 1px;
  color: #3a3a3a; text-align: center;
  border: 1px solid #8d8871;
  padding: 4px 0;
}
.chart-plots {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 12px;
}
.chart-plots svg { width: 100%; height: 100%; }
.chart-foot {
  display: flex; justify-content: space-between;
  font-size: 9px; color: #6a6450; letter-spacing: 1px;
}

.photo {
  right: 4%; top: 190px;
  width: 450px;
  z-index: 5;
  transform: rotate(-2deg);
  --pop: rotate(0deg) translate(-200px, -75px) scale(1.45);
}
.photo img { width: 100%; display: block; border-radius: 2px; }

.device {
  right: 12%; top: 75px;
  width: 425px;
  z-index: 6;
  transform: rotate(1.5deg);
  --pop: rotate(0deg) translate(-110px, 15px) scale(1.4);
}
.device img { width: 100%; display: block; border-radius: 4px; }

.info-panel {
  position: absolute;
  right: 0; top: 10px;
  width: 250px;
  z-index: 40;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transition: opacity .35s ease, transform .45s var(--ease);
  pointer-events: none;
  font-family: var(--mono);
}
.info-panel.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.info-card {
  background: var(--blue);
  border-radius: 16px;
  padding: 20px 20px 18px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 30, .5);
}
.info-card h3 {
  font-size: 15px; font-weight: 600;
  margin-bottom: 10px; letter-spacing: .3px;
}
.info-card p {
  font-size: 11px; line-height: 1.7; letter-spacing: .3px;
  color: #e4e6ff;
}
.info-year { font-size: 11px; margin-top: 16px; color: #cdd1ff; }
.info-actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px;
}
.btn-download {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--yellow);
  border: none; border-radius: 24px;
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  color: #111;
  transition: transform .2s ease;
}
.btn-download:hover { transform: scale(1.04); }
.btn-download svg { width: 15px; height: 15px; }
.btn-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .2s ease;
}
.btn-close:hover { transform: scale(1.1); }
.btn-close svg { width: 14px; height: 14px; }

/* ================= STORY ================= */
.story-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.story-cols p {
  font-size: 14px; line-height: 1.8; color: var(--muted);
}
.story-cols p::first-letter { color: var(--ink); }

/* ================= VENTAL ================= */
.vental-desc {
  max-width: 560px;
  font-size: 15px; line-height: 1.75; color: var(--muted);
  margin-bottom: 50px;
}
.services { border-top: 1px solid var(--line); }
.service-row {
  display: flex; align-items: center; gap: 34px;
  padding: 30px 10px;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  position: relative;
  transition: padding-left .4s var(--ease);
}
.service-row:hover { padding-left: 34px; }
.service-row::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--paper-2);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s var(--ease);
  z-index: -1;
}
.service-row:hover::before { transform: scaleY(1); }
.service-num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.service-name {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 600; letter-spacing: -1px;
  flex: 1;
}
.service-arrow {
  font-size: 26px;
  transform: translate(-10px, 10px); opacity: 0;
  transition: transform .35s var(--ease), opacity .3s ease;
}
.service-row:hover .service-arrow { transform: none; opacity: 1; }

/* ================= GALLERY ================= */
.photo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 16px;
}
.polaroid {
  background: #f4f1ea;
  border: 1px solid var(--line);
  padding: 12px 12px 14px;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.polaroid:nth-child(1) { rotate: -2deg; }
.polaroid:nth-child(2) { rotate: 1.4deg; }
.polaroid:nth-child(3) { rotate: -1deg; }
.polaroid:nth-child(4) { rotate: 2deg; }
.polaroid:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.02);
  box-shadow: 0 26px 48px rgba(20, 19, 16, .16);
  z-index: 2; position: relative;
}
.polaroid img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  display: block; border-radius: 2px;
}
.polaroid figcaption {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: #6d6a61;
  margin-top: 12px; text-align: center;
}

/* ================= MUSIC ================= */
.tracklist {
  list-style: none;
  columns: 2; column-gap: 60px;
}
.tracklist li {
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 13px 6px;
  break-inside: avoid;
  transition: background .25s ease, padding-left .3s var(--ease);
}
.tracklist li:hover { background: var(--paper-2); padding-left: 14px; }
.eq {
  display: inline-flex; align-items: flex-end; gap: 2px;
  width: 14px; height: 12px;
  flex: none;
  align-self: center;
}
.eq i {
  width: 3px; background: var(--ink);
  height: 30%;
  transition: height .2s ease;
}
.tracklist li:hover .eq i:nth-child(1) { animation: eq1 .7s ease infinite alternate; }
.tracklist li:hover .eq i:nth-child(2) { animation: eq2 .5s ease infinite alternate; }
.tracklist li:hover .eq i:nth-child(3) { animation: eq3 .6s ease infinite alternate; }
@keyframes eq1 { from { height: 25%; } to { height: 95%; } }
@keyframes eq2 { from { height: 90%; } to { height: 30%; } }
@keyframes eq3 { from { height: 45%; } to { height: 100%; } }
.tr-title { font-size: 14px; flex: 1; }
.tr-meta {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  white-space: nowrap;
}

/* ================= CONTACT ================= */
.contact { padding-top: 40px; padding-bottom: 20px; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px;
  color: var(--ink); text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  padding: 13px 24px;
  transition: background .3s ease, color .3s ease, transform .3s var(--ease);
}
.socials a:hover { background: var(--ink); color: var(--paper); transform: translateY(-4px); }
.socials a em { font-style: normal; opacity: .55; font-size: 11px; }
.socials a svg { width: 17px; height: 17px; flex: none; }

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-name {
  display: flex; justify-content: center;
  font-weight: 700;
  font-size: clamp(90px, 22vw, 330px);
  line-height: .82;
  letter-spacing: -8px;
  padding: 40px 0 0;
  user-select: none;
}
.footer-name span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .8s var(--ease);
}
.footer-name.in span { transform: none; }
.footer-name span:nth-child(1) { transition-delay: 0s; }
.footer-name span:nth-child(2) { transition-delay: .06s; }
.footer-name span:nth-child(3) { transition-delay: .12s; }
.footer-name span:nth-child(4) { transition-delay: .18s; }
.footer-name span:nth-child(5) { transition-delay: .24s; }
.footer-bar {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  padding: 22px 40px 26px;
  border-top: 1px solid var(--line);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .quote-grid { grid-template-columns: 1fr; gap: 28px; }
  .quote-img { max-width: 220px; margin: 0 auto; }
  .story-cols { grid-template-columns: 1fr; gap: 20px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .tracklist { columns: 1; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-meta { align-items: flex-start; }
  .archive-panel { padding: 36px 28px 28px; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .nav-links { display: none; }
  .section { padding: 70px 20px 20px; }
  .hero { padding: 140px 20px 50px; min-height: auto; }
  .hero-title { letter-spacing: -2px; }
  .statement { letter-spacing: -1px; }

  .collage { height: 540px; }
  .envelope {
    left: 2%; top: 80px;
    transform: rotate(-4deg) scale(.6);
    --pop: rotate(-2deg) translate(70px, 20px) scale(.85);
  }
  .libcard {
    left: 12%; top: 10px;
    transform: rotate(-9deg) scale(.6);
    --pop: rotate(-3deg) translate(50px, 60px) scale(.85);
  }
  .chart {
    left: 4%; top: 250px;
    transform: rotate(3deg) scale(.6);
    --pop: rotate(0deg) translate(60px, -50px) scale(.82);
  }
  .photo {
    right: 0; top: 290px;
    transform: rotate(-2deg) scale(.6);
    --pop: rotate(0deg) translate(-30px, -70px) scale(.85);
  }
  .device {
    right: 2%; top: 120px;
    transform: rotate(1.5deg) scale(.6);
    --pop: rotate(0deg) translate(-40px, 30px) scale(.85);
  }
  .info-panel { width: min(230px, 66vw); right: 2%; top: 0; }

  .service-row { gap: 18px; padding: 22px 6px; }
  .footer-name { letter-spacing: -4px; }
  .footer-bar { flex-direction: column; align-items: center; text-align: center; }
}
