:root {
  --black: #1a1018;
  --black-soft: #261821;
  --black-panel: #301d25;
  --gold: #f0a64a;
  --gold-deep: #b96d2f;
  --gold-pale: #ffd28a;
  --gold-glow: rgba(240, 166, 74, 0.2);
  --blood: #b50812;
  --blood-bright: #ff2638;
  --blood-dark: #3a0206;
  --blood-glow: rgba(181, 8, 18, 0.36);
  --cream: #fff0da;
  --cream-muted: #d7bea0;
  --white: #ffffff;
  --text-primary: #f4f0e6;
  --text-muted: #a9967e;
  --text-dim: #6c5548;
  --border-gold: rgba(240, 166, 74, 0.3);
  --border-subtle: rgba(255, 240, 218, 0.1);
  --section-padding-x: clamp(20px, 6vw, 120px);
  --section-padding-y: clamp(80px, 10vw, 160px);
  --gap-sm: 12px;
  --gap-md: 24px;
  --gap-lg: 48px;
  --gap-xl: 80px;
  --text-hero: clamp(64px, 12vw, 162px);
  --text-chapter: clamp(44px, 7vw, 104px);
  --text-title: clamp(28px, 4vw, 54px);
  --text-body: clamp(15px, 1.7vw, 18px);
  --text-caption: clamp(11px, 1.2vw, 13px);
  --text-stat: clamp(48px, 8vw, 98px);
  --text-mono: clamp(11px, 1.1vw, 13px);
  --app-height: 100vh;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: #21151b;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: var(--app-height);
  overflow-x: hidden;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 183, 91, 0.18), transparent 34vw),
    radial-gradient(circle at 86% 16%, rgba(92, 129, 162, 0.12), transparent 30vw),
    linear-gradient(180deg, #2c1720 0%, #47231f 36%, #23151e 72%, #191119 100%);
  font-family: "Playfair Display", serif;
}

body::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 240, 218, 0.58) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 12%, rgba(255, 210, 138, 0.56) 0 1px, transparent 1.6px),
    radial-gradient(circle at 86% 32%, rgba(176, 214, 255, 0.44) 0 1px, transparent 1.7px),
    radial-gradient(circle at 32% 26%, rgba(255, 240, 218, 0.4) 0 1px, transparent 1.5px);
  content: "";
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

body::after {
  animation: grain 0.9s steps(1) infinite;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  position: fixed;
  z-index: 9999;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img,
video {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

.site-shell {
  opacity: 0;
  position: relative;
  z-index: 1;
}

.preloader {
  align-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(240, 166, 74, 0.16), transparent 38%),
    #1a1018;
  display: grid;
  inset: 0;
  justify-items: center;
  overflow: hidden;
  position: fixed;
  z-index: 10000;
}

.preloader-glow {
  animation: pulseGlow 2.4s ease-in-out infinite;
  background: radial-gradient(circle, rgba(240, 166, 74, 0.22), transparent 58%);
  height: min(70vw, 720px);
  position: absolute;
  width: min(70vw, 720px);
}

.preloader-name {
  display: flex;
  flex-wrap: wrap;
  font-family: "DM Mono", monospace;
  font-size: clamp(15px, 2vw, 24px);
  gap: 0.34em;
  letter-spacing: 0.22em;
  position: relative;
  text-transform: uppercase;
}

.preloader-name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
}

.preloader-track {
  background: rgba(255, 255, 255, 0.09);
  height: 1px;
  margin-top: 74px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  width: min(360px, 62vw);
}

.preloader-bar {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale));
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
}

.cursor {
  display: none;
}

.section {
  min-height: var(--app-height);
  overflow: hidden;
  padding: var(--section-padding-y) var(--section-padding-x);
  position: relative;
}

.hero-section {
  align-items: end;
  background: #24121a;
  display: grid;
  min-height: var(--app-height);
  padding-bottom: clamp(56px, 9vh, 94px);
}

.hero-media {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.hero-media picture,
.hero-media img,
.hero-media video {
  height: 112%;
  inset: -6% 0 0;
  position: absolute;
  width: 100%;
}

.hero-media img,
.hero-media video {
  filter: saturate(0.86) contrast(1.08) brightness(0.86);
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  width: 100%;
}

.hero-media::after {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 199, 122, 0.15), transparent 36%),
    linear-gradient(90deg, rgba(33, 15, 20, 0.78), rgba(116, 50, 30, 0.12) 56%, rgba(24, 14, 22, 0.64)),
    linear-gradient(0deg, #21131a 0%, rgba(55, 29, 24, 0.16) 54%, rgba(28, 16, 22, 0.5) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 1100px;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-year {
  color: var(--blood-bright);
  font-family: "DM Mono", monospace;
  font-size: clamp(96px, 22vw, 330px);
  inset: auto auto 8vh var(--section-padding-x);
  line-height: 0.75;
  opacity: 0.09;
  pointer-events: none;
  position: absolute;
  text-shadow: 0 0 48px var(--blood-glow);
}

.kicker,
.meta-line,
.filter-button,
.stat-label,
.timeline-label,
.scroll-indicator {
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: var(--text-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  background: none;
  color: #d90019;
  font-family: Impact, "Arial Black", "Helvetica Neue", sans-serif;
  font-size: var(--text-hero);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  margin: 0 0 18px;
  position: relative;
  text-shadow:
    4px 5px 0 #050000,
    8px 10px 0 rgba(0, 0, 0, 0.9),
    0 0 18px rgba(213, 0, 25, 0.34);
  text-transform: uppercase;
  -webkit-text-fill-color: #d90019;
}

.hero-title::after {
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.55);
  color: transparent;
  content: attr(data-text);
  inset: 0;
  position: absolute;
  text-shadow: none;
  transform: translate(0, 0);
  z-index: -1;
}

.hero-kicker,
.hero-content .meta-line {
  color: var(--blood-bright);
  text-shadow: 0 0 18px var(--blood-glow);
}

.hero-name {
  color: #fff1e7;
  font-family: DM Mono, monospace;
  text-shadow:
    0 0 24px rgba(181, 8, 18, 0.38),
    3px 5px 0 rgba(20, 0, 0, 0.86);
}

.hero-name,
.chapter-title {
  font-size: var(--text-chapter);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.hero-tagline,
.chapter-quote,
.dialogue-line,
.closing-body {
  color: var(--cream-muted);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
}

.hero-tagline {
  color: #f1c4bd;
  font-size: clamp(22px, 3vw, 38px);
  margin: 18px 0 30px;
  max-width: 680px;
  text-shadow: 0 0 22px rgba(181, 8, 18, 0.32);
}

.hairline {
  background: linear-gradient(90deg, var(--blood-bright), var(--blood-dark), transparent);
  box-shadow: 0 0 22px var(--blood-glow);
  display: block;
  height: 2px;
  margin-bottom: 20px;
  transform-origin: left;
  width: 132px;
}

.scroll-indicator {
  align-items: center;
  bottom: 42px;
  display: flex;
  gap: 14px;
  position: absolute;
  right: var(--section-padding-x);
  writing-mode: vertical-rl;
  z-index: 3;
}

.scroll-indicator::after {
  animation: scrollLine 1.5s ease-in-out infinite;
  background: var(--blood-bright);
  box-shadow: 0 0 16px var(--blood-glow);
  content: "";
  height: 58px;
  opacity: 0.8;
  width: 1px;
}

.chapter-section {
  align-items: center;
  display: grid;
  min-height: 72vh;
}

.chapter-inner {
  border-left: 2px solid var(--gold);
  max-width: 980px;
  padding-left: clamp(22px, 4vw, 58px);
}

.chapter-title span {
  display: block;
  overflow: hidden;
}

.chapter-title b {
  display: block;
  font-weight: 400;
}

.chapter-quote {
  font-size: clamp(22px, 3vw, 42px);
  margin: 30px 0 0;
  max-width: 760px;
}

.hex-chapter-section {
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 193, 112, 0.14), transparent 34vw),
    radial-gradient(circle at 82% 18%, rgba(92, 129, 162, 0.12), transparent 28vw),
    linear-gradient(180deg, #2b1720, #3d1f21 50%, #20131b);
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
  grid-template-rows: auto minmax(0, 1fr);
  min-height: var(--app-height);
  padding-bottom: clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 4vw, 56px);
}

.hex-chapter-copy {
  align-items: end;
  display: grid;
  gap: clamp(12px, 2vw, 22px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  position: relative;
  z-index: 2;
}

.hex-chapter-copy .kicker,
.hex-chapter-title {
  grid-column: 1 / -1;
}

.hex-chapter-title {
  color: var(--blood-bright);
  font-family: "Playfair Display", serif;
  font-size: clamp(56px, 7vw, 122px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  margin: 0;
  max-width: 100%;
  text-transform: uppercase;
  text-shadow:
    5px 5px 0 #21131a,
    0 0 30px rgba(228, 91, 68, 0.28);
}

.hex-chapter-copy p {
  color: rgba(244, 240, 230, 0.76);
  font-size: clamp(18px, 1.9vw, 28px);
  grid-column: 1 / 2;
  line-height: 1.22;
  margin: 0;
  max-width: 620px;
}

.hex-chapter-stage {
  border: 1px solid rgba(240, 166, 74, 0.28);
  box-shadow:
    0 0 80px rgba(240, 166, 74, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.hex-chapter-stage::before {
  background:
    linear-gradient(90deg, rgba(255, 38, 56, 0.45), transparent 22%, transparent 78%, rgba(255, 38, 56, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 86%, rgba(255, 38, 56, 0.2));
  content: "";
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hex-chapter-stage iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.roadmap-section {
  background: #24151d;
  min-height: calc(var(--app-height) * 9.6);
  padding: 0;
  position: relative;
}

.roadmap-sticky {
  height: var(--app-height);
  overflow: hidden;
  position: sticky;
  top: 0;
}

.roadmap-chapter-copy {
  left: var(--section-padding-x);
  max-width: min(760px, calc(100vw - var(--section-padding-x) * 2));
  pointer-events: none;
  position: absolute;
  top: clamp(28px, 5vw, 64px);
  z-index: 3;
}

.roadmap-chapter-copy h4 {
  color: var(--blood-bright);
  font-size: clamp(50px, 6vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  margin: 8px 0 16px;
  text-shadow:
    5px 5px 0 #21131a,
    0 0 34px rgba(228, 91, 68, 0.28);
  text-transform: uppercase;
}

.roadmap-chapter-copy p {
  color: rgba(244, 240, 230, 0.76);
  font-size: 10px;
  line-height: 1.2;
  margin: 0;
  max-width: 680px;
}

.roadmap-sticky iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.awards-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 203, 126, 0.2), transparent 28vw),
    radial-gradient(circle at 18% 52%, rgba(228, 91, 68, 0.14), transparent 32vw),
    radial-gradient(circle at 72% 8%, rgba(176, 214, 255, 0.1), transparent 24vw),
    linear-gradient(180deg, #2c1720, #4a241f 58%, #21151b);
  display: grid;
  gap: clamp(16px, 2.4vw, 30px);
  min-height: var(--app-height);
}

.awards-heading h2,
.gallery-heading h2,
.birthday-content h2,
.developer-frame h2 {
  color: var(--blood-bright);
  font-size: clamp(56px, 8vw, 130px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  margin: 8px 0 0;
  text-shadow:
    5px 5px 0 #21131a,
    0 0 34px rgba(228, 91, 68, 0.28);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.awards-heading h2 {
  max-width: min(1120px, 100%);
}

.awards-heading p {
  max-width: 760px;
}

.awards-hero-strip {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.awards-hero-strip article {
  background: linear-gradient(135deg, rgba(240, 166, 74, 0.14), rgba(255, 240, 218, 0.035));
  border: 1px solid rgba(240, 166, 74, 0.28);
  min-height: clamp(84px, 10vw, 126px);
  padding: clamp(14px, 2vw, 24px);
}

.awards-hero-strip span {
  color: var(--cream);
  display: block;
  font-family: "DM Mono", monospace;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 0.9;
}

.awards-hero-strip p,
.grosser-row span,
.upcoming-card p,
.developer-role {
  color: rgba(244, 240, 230, 0.64);
  font-family: "DM Mono", monospace;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.1em;
  line-height: 1.55;
  margin: 12px 0 0;
  text-transform: uppercase;
}

.awards-layout {
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  min-height: 0;
}

.award-holo {
  background:
    radial-gradient(circle at 50% 40%, rgba(43, 255, 196, 0.13), transparent 24%),
    radial-gradient(circle at 50% 42%, rgba(255, 38, 56, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(43, 255, 196, 0.2);
  box-shadow:
    0 0 70px rgba(43, 255, 196, 0.08),
    inset 0 0 0 1px rgba(255, 38, 56, 0.18);
  min-width: 0;
  overflow: hidden;
  padding: clamp(14px, 2.4vw, 30px);
  position: relative;
  touch-action: pan-y;
}

.award-holo::before {
  animation: holoSweep 3.6s linear infinite;
  background:
    linear-gradient(90deg, transparent, rgba(43, 255, 196, 0.16), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 7px);
  content: "";
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.award-scanner {
  align-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(43, 255, 196, 0.32);
  border-radius: 50%;
  display: grid;
  justify-items: center;
  left: 50%;
  max-width: 420px;
  opacity: 0.72;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(58vw, 420px);
}

.award-scanner::before,
.award-scanner::after {
  border: 1px solid rgba(255, 38, 56, 0.32);
  border-radius: 50%;
  content: "";
  inset: 8%;
  position: absolute;
}

.award-scanner::after {
  animation: orbitGlow 8s linear infinite;
  border-color: rgba(43, 255, 196, 0.28);
  inset: 20%;
}

.award-scanner span {
  color: rgba(43, 255, 196, 0.44);
  font-family: "DM Mono", monospace;
  font-size: clamp(70px, 12vw, 180px);
  line-height: 0.8;
  text-shadow: 0 0 28px rgba(43, 255, 196, 0.28);
}

.award-scanner b {
  color: rgba(244, 240, 230, 0.38);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  margin-top: -22px;
  text-transform: uppercase;
}

.award-carousel-window {
  min-height: clamp(280px, 34vw, 410px);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.award-carousel-track {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  height: 100%;
  padding: clamp(26px, 4vw, 48px) 0;
  transition: transform 520ms cubic-bezier(0.2, 0.85, 0.2, 1);
  will-change: transform;
}

.award-carousel-track.is-dragging {
  transition: none;
}

.award-holo-card {
  --distance: 2;
  background:
    linear-gradient(135deg, rgba(43, 255, 196, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(255, 38, 56, 0.22), rgba(5, 0, 3, 0.82));
  border: 1px solid rgba(43, 255, 196, 0.25);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(244, 240, 230, 0.04);
  flex: 0 0 clamp(210px, 28vw, 310px);
  min-height: clamp(210px, 25vw, 286px);
  opacity: calc(1 - (var(--distance) * 0.18));
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  transform: scale(calc(1 - (var(--distance) * 0.08))) translateY(calc(var(--distance) * 13px));
  transition: transform 520ms cubic-bezier(0.2, 0.85, 0.2, 1), opacity 320ms ease, border-color 320ms ease;
}

.award-holo-card.is-active {
  border-color: rgba(43, 255, 196, 0.68);
  box-shadow:
    0 0 44px rgba(43, 255, 196, 0.18),
    0 32px 90px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 38, 56, 0.26);
  opacity: 1;
  transform: scale(1.12) translateY(0);
  z-index: 3;
}

.award-card-glow {
  background: radial-gradient(circle, rgba(43, 255, 196, 0.22), transparent 62%);
  height: 180px;
  pointer-events: none;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
}

.award-year {
  color: rgba(43, 255, 196, 0.9);
  display: block;
  font-family: "DM Mono", monospace;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.85;
  text-shadow: 0 0 18px rgba(43, 255, 196, 0.32);
}

.award-holo-card strong {
  color: var(--cream);
  display: block;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.9;
  margin: 28px 0 14px;
}

.award-holo-card p {
  color: rgba(244, 240, 230, 0.78);
  font-family: "DM Mono", monospace;
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 0.08em;
  line-height: 1.45;
  margin: 0;
  text-transform: uppercase;
}

.award-holo-card em {
  bottom: 22px;
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-style: normal;
  left: clamp(20px, 3vw, 32px);
  letter-spacing: 0.14em;
  position: absolute;
  right: clamp(20px, 3vw, 32px);
  text-transform: uppercase;
}

.award-controls {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.award-readout {
  color: rgba(244, 240, 230, 0.68);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  min-width: 100px;
  text-align: center;
}

.award-swipe-hint {
  color: rgba(43, 255, 196, 0.72);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.upcoming-card h3 {
  color: var(--cream);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 0.95;
  margin: 0 0 22px;
}

.grosser-row strong {
  color: var(--cream);
  display: block;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1;
}

.grossers-panel {
  align-self: start;
  border-left: 1px solid rgba(255, 38, 56, 0.38);
  padding-left: clamp(20px, 3vw, 36px);
  position: sticky;
  top: 36px;
}

.grossers-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.grosser-row {
  align-items: center;
  border-bottom: 1px solid rgba(255, 38, 56, 0.18);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 14px;
}

.grosser-row b {
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: clamp(13px, 1.4vw, 16px);
  white-space: nowrap;
}

.upcoming-card {
  background: linear-gradient(135deg, rgba(255, 38, 56, 0.18), rgba(239, 159, 39, 0.08));
  border: 1px solid rgba(239, 159, 39, 0.3);
  margin-top: 28px;
  padding: 24px;
}

.gallery-section {
  display: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 120px),
    radial-gradient(circle at 18% 20%, rgba(255, 38, 56, 0.14), transparent 28vw),
    #050505;
}

.gallery-wall {
  display: grid;
  gap: clamp(12px, 2vw, 22px);
  grid-template-columns: repeat(12, 1fr);
  margin-top: clamp(34px, 5vw, 72px);
}

.gallery-tile {
  border: 1px solid rgba(255, 38, 56, 0.26);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.gallery-tile-1,
.gallery-tile-6 {
  grid-column: span 7;
}

.gallery-tile-2,
.gallery-tile-5 {
  grid-column: span 5;
}

.gallery-tile img {
  aspect-ratio: 4 / 3;
  filter: saturate(0.82) contrast(1.08) brightness(0.78);
  height: 100%;
  object-fit: cover;
  transition: filter 400ms ease, transform 700ms ease;
  width: 100%;
}

.gallery-tile:hover img {
  filter: saturate(1.05) contrast(1.12) brightness(0.92);
  transform: scale(1.045);
}

.gallery-tile figcaption {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent);
  inset: auto 0 0;
  padding: 64px 18px 18px;
  position: absolute;
}

.gallery-tile figcaption span {
  color: var(--gold);
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.gallery-tile figcaption strong {
  color: var(--cream);
  display: block;
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 0.95;
}

.birthday-section {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 199, 122, 0.24), transparent 32vw),
    radial-gradient(circle at 78% 18%, rgba(176, 214, 255, 0.1), transparent 28vw),
    linear-gradient(180deg, #24151d, #5a2b20 52%, #21151b);
  display: grid;
  justify-items: center;
  text-align: center;
}

.birthday-orbit {
  animation: orbitGlow 10s linear infinite;
  border: 1px solid rgba(255, 38, 56, 0.3);
  border-radius: 50%;
  height: min(68vw, 680px);
  position: absolute;
  width: min(68vw, 680px);
}

.birthday-orbit::before,
.birthday-orbit::after {
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(239, 159, 39, 0.72);
  content: "";
  height: 7px;
  position: absolute;
  width: 7px;
}

.birthday-orbit::before {
  left: 12%;
  top: 18%;
}

.birthday-orbit::after {
  bottom: 16%;
  right: 14%;
}

.birthday-content {
  max-width: 1020px;
  position: relative;
  z-index: 1;
}

.birthday-subtitle {
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 0.18em;
  margin: 28px 0;
  text-transform: uppercase;
}

.birthday-body {
  color: rgba(244, 240, 230, 0.82);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(25px, 4vw, 54px);
  font-style: italic;
  line-height: 1.12;
  margin: 0 auto;
  max-width: 920px;
}

.birthday-signature {
  color: var(--blood-bright);
  font-family: "DM Mono", monospace;
  letter-spacing: 0.18em;
  margin-top: 42px;
  text-transform: uppercase;
}

.developer-section {
  align-items: center;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 210, 138, 0.16), transparent 28vw),
    linear-gradient(90deg, rgba(228, 91, 68, 0.12), transparent 28%, transparent 72%, rgba(240, 166, 74, 0.16)),
    #21151b;
  display: grid;
}

.developer-frame {
  align-items: center;
  border: 1px solid rgba(255, 38, 56, 0.36);
  box-shadow:
    0 0 90px rgba(181, 8, 18, 0.16),
    inset 0 0 0 1px rgba(244, 240, 230, 0.045);
  display: grid;
  gap: clamp(24px, 5vw, 66px);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  max-width: 1080px;
  padding: clamp(26px, 6vw, 76px);
  position: relative;
}

.developer-frame::before {
  background: var(--blood-bright);
  box-shadow: 0 0 24px var(--blood-glow);
  content: "";
  height: 2px;
  left: clamp(26px, 6vw, 76px);
  position: absolute;
  right: clamp(26px, 6vw, 76px);
  top: clamp(18px, 3vw, 32px);
}

.developer-name {
  color: var(--cream);
  font-size: clamp(32px, 5vw, 74px);
  line-height: 0.9;
  margin-top: 34px;
}

.developer-frame p:not(.developer-role) {
  color: rgba(244, 240, 230, 0.78);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3.2vw, 44px);
  font-style: italic;
  line-height: 1.14;
  margin: 26px 0;
  max-width: 900px;
}

.developer-rsvp {
  border-left: 2px solid rgba(255, 38, 56, 0.7);
  color: rgba(255, 240, 218, 0.78);
  font-family: "DM Mono", monospace;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.12em;
  line-height: 1.6;
  margin: 28px 0 22px;
  max-width: 620px;
  padding-left: 16px;
  text-transform: uppercase;
}

.developer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.developer-links a {
  border: 1px solid rgba(255, 38, 56, 0.42);
  color: var(--cream);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  min-height: 38px;
  overflow: hidden;
  padding: 11px 14px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.developer-links a:hover {
  background: rgba(255, 38, 56, 0.12);
  border-color: rgba(255, 38, 56, 0.82);
}

.developer-frame span {
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.developer-portrait {
  align-self: stretch;
  border: 1px solid rgba(240, 166, 74, 0.34);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.28),
    0 0 42px rgba(255, 38, 56, 0.12);
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.developer-portrait::after {
  background:
    linear-gradient(180deg, transparent 55%, rgba(33, 19, 26, 0.46)),
    linear-gradient(90deg, rgba(255, 38, 56, 0.18), transparent 34%, rgba(240, 166, 74, 0.14));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.developer-portrait img {
  filter: saturate(0.9) contrast(1.05) brightness(0.92);
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.timeline-section {
  background: var(--black-soft);
  padding-bottom: 0;
}

.timeline-header {
  align-items: start;
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--gap-lg);
  position: relative;
  z-index: 2;
}

.timeline-year-live {
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: clamp(48px, 10vw, 142px);
  line-height: 0.8;
  opacity: 0.28;
}

.timeline-track {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  min-height: 62vh;
  width: max-content;
}

.timeline-card {
  border-right: 1px solid var(--border-gold);
  display: grid;
  grid-template-rows: minmax(190px, 38vh) auto;
  padding-right: clamp(18px, 3vw, 34px);
  width: clamp(270px, 36vw, 440px);
}

.timeline-card img {
  aspect-ratio: 4 / 3;
  filter: grayscale(0.7) sepia(0.16) brightness(0.72);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.timeline-card h3 {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1;
  margin: 24px 0 12px;
}

.timeline-card p,
.film-card p,
.philanthropy-card p,
.personality-card p,
.modal-panel p {
  color: var(--cream-muted);
  font-size: var(--text-body);
  line-height: 1.55;
}

.timeline-progress {
  background: rgba(255, 255, 255, 0.08);
  bottom: 0;
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.timeline-progress span {
  background: var(--gold);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
}

.personality-section {
  background:
    linear-gradient(135deg, rgba(239, 159, 39, 0.08), transparent 36%),
    var(--black);
}

.personality-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: var(--gap-lg);
}

.personality-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  min-height: 280px;
  padding: clamp(24px, 4vw, 44px);
}

.personality-card h3 {
  color: var(--gold);
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 400;
  line-height: 0.96;
  margin: 0 0 26px;
}

.films-section {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 14px),
    var(--black);
}

.section-heading {
  max-width: 940px;
}

.section-heading h2 {
  color: var(--cream);
  font-size: var(--text-chapter);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
}

.section-heading p {
  color: var(--cream-muted);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(21px, 3vw, 36px);
  font-style: italic;
  margin: 22px 0 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--gap-lg) 0;
}

.filter-button {
  background: transparent;
  border: 1px solid var(--border-gold);
  min-height: 44px;
  overflow: hidden;
  padding: 0 18px;
  position: relative;
}

.filter-button.is-active {
  background: var(--gold);
  color: var(--black);
}

.film-grid {
  columns: 1;
  column-gap: 18px;
}

.film-card {
  background: var(--black-panel);
  border: 1px solid var(--border-subtle);
  break-inside: avoid;
  display: inline-block;
  margin: 0 0 18px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.film-card img {
  aspect-ratio: 2 / 3;
  filter: saturate(0.84) brightness(0.78);
  object-fit: cover;
  transition: filter 350ms ease, transform 500ms ease;
  width: 100%;
}

.film-card:hover img {
  filter: saturate(1) brightness(0.58);
  transform: scale(1.06);
}

.film-overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.32), transparent);
  inset: auto 0 0;
  padding: 80px 18px 18px;
  position: absolute;
}

.film-overlay h3 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 8px;
}

.film-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 350ms ease, opacity 350ms ease;
}

.film-card:hover .film-details,
.film-card.is-revealed .film-details {
  max-height: 220px;
  opacity: 1;
}

.badge {
  background: var(--gold);
  color: var(--black);
  display: inline-flex;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  margin: 4px 4px 0 0;
  padding: 4px 7px;
  text-transform: uppercase;
}

.stats-section {
  background: var(--black-panel);
}

.stats-ghost {
  color: var(--gold);
  font-size: clamp(82px, 18vw, 250px);
  left: var(--section-padding-x);
  line-height: 0.8;
  opacity: 0.055;
  position: absolute;
  top: 12vh;
}

.stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: var(--gap-lg);
  position: relative;
}

.stat-card {
  border: 1px solid var(--border-gold);
  min-height: 230px;
  padding: clamp(22px, 4vw, 38px);
}

.stat-value {
  color: var(--cream);
  font-size: var(--text-stat);
  line-height: 0.95;
  margin: 28px 0 12px;
}

.dialogue-section {
  background: radial-gradient(circle at 50% 30%, rgba(239, 159, 39, 0.11), transparent 42%), #070707;
  display: grid;
  place-items: center;
  text-align: center;
}

.dialogue-stage {
  max-width: 1040px;
}

.dialogue-line {
  color: var(--cream);
  font-size: clamp(42px, 7vw, 104px);
  line-height: 0.96;
  margin: 26px 0;
}

.dialogue-meta {
  color: var(--gold-pale);
  font-family: "DM Mono", monospace;
  font-size: var(--text-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dialogue-controls {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.icon-button,
.modal-close,
.wish-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  overflow: hidden;
  position: relative;
}

.icon-button:hover,
.wish-button:hover,
.modal-close:hover {
  background: var(--gold);
  color: var(--black);
}

.philanthropy-section {
  background: linear-gradient(180deg, var(--cream), #e8dec9);
  color: var(--black);
}

.philanthropy-section .kicker,
.philanthropy-section .section-heading p {
  color: var(--gold-deep);
}

.philanthropy-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: var(--gap-lg);
}

.philanthropy-card {
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.12);
  overflow: hidden;
}

.philanthropy-card img {
  aspect-ratio: 16 / 11;
  filter: saturate(0.85);
  object-fit: cover;
  width: 100%;
}

.philanthropy-card div {
  padding: 24px;
}

.philanthropy-card h3 {
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 12px;
}

.philanthropy-card p {
  color: #443c2e;
}

.closing-section {
  align-items: center;
  display: grid;
  min-height: 100dvh;
  text-align: center;
}

.closing-section::before {
  background:
    radial-gradient(circle at 50% 30%, rgba(239, 159, 39, 0.18), transparent 42%),
    linear-gradient(180deg, transparent, #070707);
  content: "";
  inset: 0;
  position: absolute;
}

.closing-content {
  margin: 0 auto;
  max-width: 980px;
  position: relative;
}

.closing-title {
  color: var(--gold);
  font-size: var(--text-chapter);
  font-weight: 400;
  line-height: 0.98;
  margin: 0;
}

.closing-body {
  font-size: clamp(24px, 3.2vw, 42px);
  margin: 30px auto;
  max-width: 820px;
}

.wish-button {
  font-family: "DM Mono", monospace;
  letter-spacing: 0.14em;
  padding: 0 24px;
  text-transform: uppercase;
}

.film-modal {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 280ms ease;
  z-index: 9000;
}

.film-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  backdrop-filter: blur(18px) brightness(0.35);
  background: rgba(0, 0, 0, 0.54);
  inset: 0;
  position: absolute;
}

.modal-panel {
  background: var(--black-panel);
  border: 1px solid var(--border-gold);
  bottom: 24px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(180px, 0.8fr) 1.2fr;
  left: 50%;
  max-height: calc(100dvh - 48px);
  max-width: 980px;
  overflow: auto;
  padding: clamp(18px, 4vw, 34px);
  position: absolute;
  transform: translate(-50%, 110%);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  width: min(calc(100vw - 32px), 980px);
}

.film-modal.is-open .modal-panel {
  transform: translate(-50%, 0);
}

.modal-panel img {
  aspect-ratio: 2 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.modal-panel h2 {
  color: var(--gold);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0 0 14px;
}

.modal-close {
  font-size: 28px;
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 2;
}

.interactive {
  -webkit-tap-highlight-color: transparent;
}

.ripple-effect {
  animation: ripple 0.6s ease-out forwards;
  background: rgba(239, 159, 39, 0.25);
  border-radius: 50%;
  pointer-events: none;
  position: absolute;
  transform: scale(0);
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: scale(2.5);
  }
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(2%, -1%);
  }

  40% {
    transform: translate(-2%, 2%);
  }

  60% {
    transform: translate(1%, 2%);
  }

  80% {
    transform: translate(-1%, -2%);
  }
}

@keyframes pulseGlow {
  50% {
    opacity: 0.55;
    transform: scale(1.08);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  46% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes orbitGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes holoSweep {
  from {
    background-position: -140% 0, 0 0;
  }

  to {
    background-position: 140% 0, 0 18px;
  }
}

@media (min-width: 700px) {
  .film-grid {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .cursor {
    border-radius: 999px;
    display: block;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    z-index: 10001;
  }

  .cursor-dot {
    background: var(--gold);
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    width: 7px;
  }

  .cursor-ring {
    border: 1px solid rgba(239, 159, 39, 0.68);
    height: 34px;
    margin: -17px 0 0 -17px;
    transition: height 180ms ease, margin 180ms ease, width 180ms ease, background 180ms ease;
    width: 34px;
  }

  body.is-hovering .cursor-ring {
    background: rgba(239, 159, 39, 0.12);
    height: 58px;
    margin: -29px 0 0 -29px;
    width: 58px;
  }

  .film-grid {
    columns: 4;
  }
}

@media (max-width: 767px) {
  .section.awards-section {
    gap: 12px;
    min-height: var(--app-height);
    padding: clamp(28px, 7vw, 44px) var(--section-padding-x) clamp(20px, 5vw, 30px);
  }

  .hero-section {
    text-align: center;
  }

  .hero-title {
    font-size: clamp(58px, 17vw, 72px);
    letter-spacing: 0;
    line-height: 0.8;
  }

  .hero-name {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-content {
    margin: 0 auto;
    max-width: 100%;
  }

  .hairline {
    margin-left: auto;
    margin-right: auto;
  }

  .scroll-indicator {
    display: none;
  }

  .hex-chapter-section {
    gap: 24px;
    grid-template-rows: none;
    min-height: var(--app-height);
    padding-left: 0;
    padding-right: 0;
  }

  .hex-chapter-copy {
    display: block;
    padding: 0 var(--section-padding-x);
  }

  .hex-chapter-title {
    font-size: clamp(56px, 17vw, 86px);
    margin-top: 12px;
  }

  .hex-chapter-copy p {
    font-size: clamp(17px, 5vw, 24px);
    margin-top: 18px;
  }

  .hex-chapter-stage {
    border-left: 0;
    border-right: 0;
    height: calc(var(--app-height) * 0.74);
    min-height: 560px;
  }

  .roadmap-chapter-copy {
    top: 28px;
  }

  .roadmap-chapter-copy h2 {
    font-size: clamp(54px, 17vw, 84px);
    margin-bottom: 12px;
  }

  .roadmap-chapter-copy p {
    font-size: clamp(10px, 2.8vw, 12px);
    max-width: 330px;
  }

  .gallery-heading h2,
  .birthday-content h2,
  .developer-frame h2 {
    font-size: clamp(42px, 13vw, 68px);
    line-height: 0.84;
  }

  .awards-heading h2 {
    font-size: clamp(36px, 12vw, 54px);
    line-height: 0.84;
  }

  .awards-heading p {
    font-size: clamp(17px, 4.8vw, 22px);
    line-height: 1.1;
    margin-top: 12px;
  }

  .awards-hero-strip {
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .awards-hero-strip article {
    min-height: 74px;
    padding: 10px;
  }

  .awards-hero-strip span {
    font-size: clamp(22px, 8vw, 34px);
  }

  .awards-hero-strip p {
    font-size: 8px;
    letter-spacing: 0.09em;
    line-height: 1.25;
    margin-top: 6px;
  }

  .awards-layout {
    grid-template-columns: 1fr;
  }

  .grossers-panel {
    display: none;
  }

  .award-holo {
    margin-left: calc(var(--section-padding-x) * -0.45);
    margin-right: calc(var(--section-padding-x) * -0.45);
    padding: 12px;
  }

  .award-scanner {
    width: min(86vw, 310px);
  }

  .award-carousel-window {
    min-height: clamp(270px, 38vh, 330px);
  }

  .award-holo-card {
    flex-basis: min(68vw, 260px);
    min-height: clamp(220px, 31vh, 260px);
    padding: 18px;
    transform: scale(calc(1 - (var(--distance) * 0.055))) translateY(calc(var(--distance) * 9px));
  }

  .award-holo-card.is-active {
    transform: scale(1.04) translateY(0);
  }

  .award-holo-card strong {
    font-size: clamp(26px, 8.8vw, 38px);
    margin: 20px 0 10px;
  }

  .award-holo-card p {
    font-size: 10px;
  }

  .award-holo-card em {
    bottom: 16px;
    font-size: 8px;
    left: 18px;
    right: 18px;
  }

  .award-controls {
    gap: 10px;
    margin-top: -4px;
  }

  .award-readout {
    font-size: 10px;
    min-width: 86px;
  }

  .award-swipe-hint {
    font-size: 9px;
  }

  .gallery-wall {
    grid-template-columns: 1fr;
  }

  .gallery-tile,
  .gallery-tile-1,
  .gallery-tile-2,
  .gallery-tile-5,
  .gallery-tile-6 {
    grid-column: auto;
  }

  .gallery-tile img {
    aspect-ratio: 3 / 4;
  }

  .birthday-orbit {
    height: 88vw;
    width: 88vw;
  }

  .developer-frame {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .developer-portrait {
    grid-row: 1;
    min-height: 260px;
  }

  .developer-copy {
    grid-row: 2;
  }

  .developer-rsvp {
    font-size: 10px;
    margin: 22px 0 18px;
  }

  .timeline-section {
    min-height: auto;
  }

  .timeline-header {
    display: block;
  }

  .timeline-track {
    display: grid;
    min-height: 0;
    width: auto;
  }

  .timeline-card {
    border-bottom: 1px solid var(--border-gold);
    border-right: 0;
    width: 100%;
  }

  .modal-panel {
    display: block;
  }

  .modal-panel img {
    max-height: 48vh;
    margin-bottom: 24px;
  }
}
