/* I'M GAME — cinematic movie site */
:root {
  --bg: #070608;
  --bg-elevated: #121016;
  --bg-soft: #1a151c;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4efe8;
  --text-muted: #b7aea3;
  --accent: #c9a227;
  --accent-soft: rgba(201, 162, 39, 0.16);
  --crimson: #9e1b2e;
  --crimson-hot: #d42a42;
  --velvet: #5c0f1c;
  --gold: #e8d5a3;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --radius: 0.35rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(7, 6, 8, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  letter-spacing: 0.08em;
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--text);
}

.brand-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  cursor: pointer;
  place-items: center;
  gap: 0.35rem;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-list a {
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
  outline: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson-hot), var(--velvet));
  color: #fff;
  box-shadow: 0 10px 30px rgba(158, 27, 46, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ea3450, var(--crimson));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--gold);
}

.btn-play {
  width: 4.5rem;
  height: 4.5rem;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  box-shadow: var(--shadow);
}

.btn-play svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.15rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.02);
  filter: contrast(1.08) saturate(1.08) brightness(1.05);
  image-rendering: -webkit-optimize-contrast;
  animation: hero-zoom 18s var(--ease) infinite alternate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(7, 6, 8, 0.18) 0%, rgba(7, 6, 8, 0.05) 32%, rgba(7, 6, 8, 0.55) 72%, rgba(7, 6, 8, 0.92) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(158, 27, 46, 0.18), transparent 50%);
}

.hero::after {
  background: linear-gradient(90deg, rgba(7, 6, 8, 0.45), transparent 58%);
}

.hero-content {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  max-width: 10ch;
}

.hero-title span {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.hero-tagline {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
}

.meta-chip {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 40rem;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.section-lead {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.detail-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.detail-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}

.detail-item:last-child {
  border-bottom: 1px solid var(--border);
}

.detail-item dt {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-item dd {
  margin: 0;
}

.about-visual {
  position: relative;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.06) brightness(1.05);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 6, 8, 0.7));
}

/* Media / Trailer */
.media-panel {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.media-panel video,
.media-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
  transition: opacity 0.3s;
}

.media-panel.is-playing .media-overlay {
  opacity: 0;
  pointer-events: none;
}

.media-caption {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.media-caption strong {
  color: var(--text);
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.person-card,
.crew-card,
.song-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.person-card:hover,
.crew-card:hover,
.song-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.person-photo,
.crew-photo {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 50% 20%, rgba(158, 27, 46, 0.35), transparent 55%),
    var(--bg-soft);
  overflow: hidden;
}

.person-photo img,
.crew-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.08) saturate(1.05) brightness(1.04);
  transition: transform 0.6s var(--ease), filter 0.35s;
}

.person-card:hover img,
.crew-card:hover img {
  transform: scale(1.05);
}

.person-photo.no-image,
.crew-photo.no-image {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.person-body,
.crew-body {
  padding: 1rem 1.05rem 1.2rem;
}

.person-body h3,
.crew-body h3,
.song-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.person-body p,
.crew-body p,
.song-body p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.song-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.song-card {
  display: grid;
  grid-template-columns: 1fr;
}

.song-card--video .song-body {
  padding: 0 0 1rem;
}

.song-art {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.song-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-body {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 0.55rem;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 3 / 4;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(6) {
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* CTA band */
.cta-band {
  margin: 0;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(158, 27, 46, 0.28), transparent 45%),
    linear-gradient(180deg, #100c12, #070608);
  border-block: 1px solid var(--border);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.05em;
}

.cta-band p {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  color: var(--text-muted);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(158, 27, 46, 0.22), transparent 45%),
    linear-gradient(180deg, #141018, var(--bg));
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.05em;
  line-height: 1;
}

.page-hero p {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--text-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-card,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.contact-card h2,
.form-card h2 {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.info-list {
  display: grid;
  gap: 1.15rem;
}

.info-list li {
  display: grid;
  gap: 0.25rem;
}

.info-list span {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-list a:hover {
  color: var(--gold);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.7);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-field .error {
  color: #ff8b9a;
  font-size: 0.8rem;
  min-height: 1.1rem;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid .checkbox-row {
  border-color: #d42a42;
}

.checkbox-field .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
}

.checkbox-field input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--crimson-hot);
  flex-shrink: 0;
}

.checkbox-field .checkbox-row label {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  background: rgba(46, 160, 90, 0.15);
  border: 1px solid rgba(46, 160, 90, 0.4);
  color: #b8f0c8;
}

.form-success.is-visible {
  display: block;
}

/* Legal pages */
.legal-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.legal-content h2 {
  margin: 2.4rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.05em;
}

.legal-content h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.05rem;
  color: var(--gold);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.toc {
  display: grid;
  gap: 0.35rem;
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--surface);
}

.toc a {
  color: var(--text-muted);
}

.toc a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #050406;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .brand-title {
  font-size: 2.2rem;
}

.footer-brand p {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  max-width: 28rem;
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-col a,
.footer-col p {
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.55rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(92vw, 980px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 0.4rem;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .crew-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(7, 6, 8, 0.96);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.9rem 1rem;
  }

  .card-grid,
  .crew-grid,
  .gallery-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 560px) {
  .card-grid,
  .crew-grid,
  .gallery-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .song-art {
    aspect-ratio: 16 / 11;
  }

  .hero-actions,
  .hero-meta {
    gap: 0.65rem;
  }

  .btn {
    width: 100%;
  }
}
