/* ════════════════════════════════════════════════════════════════════════════════
   JOSÉ DANIEL LÓPEZ — Portfolio
   Design: Cinematic · Dark · Editorial · Photography-forward
   Reference: Max Richter × Ólafur Arnalds
   ════════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────── DESIGN TOKENS ─────────────────────────── */
:root {
  /* ── Color System ── */
  --c-void:          #070605;
  --c-dark:          #0F0D0B;
  --c-surface:       #161310;
  --c-surface-2:     #1E1B14;
  --c-border:        rgba(240, 232, 216, 0.07);
  --c-white:         #F0EBE0;
  --c-dim:           #8C8478;
  --c-muted:         #4A4640;
  --c-accent:        #9B7D2A;
  --c-accent-bright: #C4A44A;

  /* ── Typography ── */
  --f-display: 'Cormorant Garant', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  /* ── Fluid Type Scale ── */
  --fs-xs:   clamp(0.7rem,   1.1vw,  0.8rem);
  --fs-sm:   clamp(0.85rem,  1.4vw,  0.95rem);
  --fs-base: clamp(1rem,     1.6vw,  1.1rem);
  --fs-md:   clamp(1.2rem,   2.2vw,  1.5rem);
  --fs-lg:   clamp(1.7rem,   3.5vw,  2.25rem);
  --fs-xl:   clamp(2.2rem,   5vw,    4rem);
  --fs-xxl:  clamp(3rem,     7.5vw,  6.5rem);
  --fs-hero: clamp(4.5rem,   12vw,   10rem);

  /* ── Spacing ── */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-xxl: 11rem;

  /* ── Layout ── */
  --max-w:  1300px;
  --gutter: clamp(1.25rem, 5vw, 5rem);

  /* ── Motion ── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:    0.25s;
  --dur-mid:     0.55s;
  --dur-slow:    0.9s;

  /* ── Animation delays ── */
  --delay-1: 0.1s;
  --delay-2: 0.2s;
  --delay-3: 0.35s;
}

/* ─────────────────────────────────── RESET ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background-color: var(--c-void);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
}

/* ─────────────────────────────────── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--c-void);
}

::-webkit-scrollbar-thumb {
  background: var(--c-muted);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--c-dim);
}

/* ─────────────────────────────────── SELECTION ─────────────────────────────── */
::selection {
  background: var(--c-accent);
  color: var(--c-white);
}

/* ─────────────────────────────────── UTILITIES ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hidden {
  display: none !important;
}

/* Section label — small uppercase accent */
.section-label {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-accent-bright);
  margin-bottom: var(--space-md);
}

.section-label--dim {
  color: var(--c-dim);
}

/* ─────────────────────────────────── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9em 2.2em;
  border: 1px solid currentColor;
  transition:
    background-color var(--dur-fast) var(--ease-inout),
    color var(--dur-fast) var(--ease-inout),
    border-color var(--dur-fast) var(--ease-inout);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  pointer-events: none;
}

.btn:hover::after {
  opacity: 0.1;
}

/* Ghost button — light border on dark bg */
.btn--ghost {
  color: var(--c-white);
  border-color: rgba(240, 232, 216, 0.35);
}

.btn--ghost:hover {
  border-color: rgba(240, 232, 216, 0.7);
}

/* Outline-light — for use on dark backgrounds */
.btn--outline-light {
  color: var(--c-white);
  border-color: rgba(240, 232, 216, 0.3);
  background: transparent;
}

.btn--outline-light:hover {
  border-color: rgba(240, 232, 216, 0.65);
}

/* Text button — no border */
.btn--text {
  border: none;
  padding: 0;
  color: var(--c-dim);
  letter-spacing: 0.1em;
  gap: 0.4em;
}

.btn--text:hover {
  color: var(--c-white);
}

.btn--text::after {
  display: none;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn--text:hover .btn__arrow {
  transform: translateX(5px);
}

/* ─────────────────────────────────── NAVIGATION ────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition:
    background-color var(--dur-mid) var(--ease-inout),
    backdrop-filter var(--dur-mid) var(--ease-inout),
    border-color var(--dur-mid) var(--ease-inout);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background-color: rgba(7, 6, 5, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--c-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--dur-fast);
  flex-shrink: 0;
}

.nav__logo:hover {
  opacity: 0.65;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* Desktop links */
.nav__links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav__link {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-dim);
  transition: color var(--dur-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-white);
  transition: width var(--dur-mid) var(--ease-out);
}

.nav__link:hover {
  color: var(--c-white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link.active {
  color: var(--c-white);
}

/* Nav right actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-dim);
  transition: color var(--dur-fast);
  padding: 0.2em 0;
}

.lang-toggle:hover {
  color: var(--c-white);
}

.lang-toggle__sep {
  opacity: 0.3;
}

/* Active language highlight */
[data-lang="es"] .lang-toggle__es,
[data-lang="en"] .lang-toggle__en {
  color: var(--c-white);
  font-weight: 500;
}

/* Burger button */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px 2px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-white);
  transition:
    transform var(--dur-mid) var(--ease-out),
    opacity var(--dur-fast);
}

.nav__burger.open span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav__burger.open span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu panel */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(7, 6, 5, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-lg) var(--gutter) var(--space-xl);
  border-top: 1px solid var(--c-border);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    transform var(--dur-mid) var(--ease-out),
    opacity var(--dur-mid) var(--ease-out);
  pointer-events: none;
}

.nav__mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.nav__mobile-link {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--c-white);
  transition: color var(--dur-fast);
}

.nav__mobile-link:hover {
  color: var(--c-accent-bright);
}

/* ─────────────────────────────────── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Full-cover background image layer */
.hero__media {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.04);
  transition: transform 9s var(--ease-out);
  will-change: transform;
}

.hero.loaded .hero__img {
  transform: scale(1);
}

/* Dark gradient overlay — heavier at bottom-left where text lives */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(7, 6, 5, 0.65) 0%,
      rgba(7, 6, 5, 0.25) 55%,
      rgba(7, 6, 5, 0.05) 100%
    ),
    linear-gradient(
      to top,
      rgba(7, 6, 5, 0.98) 0%,
      rgba(7, 6, 5, 0.72) 30%,
      rgba(7, 6, 5, 0.2)  65%,
      rgba(7, 6, 5, 0.05) 100%
    );
}

/* Hero text content — pinned bottom-left */
.hero__content {
  position: relative;
  z-index: 3;
  padding: var(--space-xl) var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-dim);
  margin-bottom: 0.9rem;
}

.hero__name {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.hero__name-line {
  display: block;
}

.hero__name-line:nth-child(2) {
  padding-left: 0.18em;
}

.hero__name-line--italic {
  font-style: italic;
  font-weight: 300;
  padding-left: 0.05em;
}

.hero__tagline {
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 300;
  font-style: italic;
  color: rgba(240, 232, 216, 0.65);
  margin-bottom: var(--space-lg);
  max-width: 40ch;
  line-height: 1.45;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Scroll indicator — vertical pulsing line */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(
    to bottom,
    rgba(240, 232, 216, 0),
    rgba(240, 232, 216, 0.45)
  );
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1);   opacity: 1; }
  50%       { transform: scaleY(0.4); opacity: 0.35; }
}

/* ─────────────────────────────────── STATEMENT BAR ─────────────────────────── */
.statement {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.statement__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.statement__item {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-dim);
  opacity: 0.7;
  white-space: nowrap;
  padding: 1.1rem 0;
}

.statement__sep {
  padding: 1.1rem 1.75rem;
  color: var(--c-muted);
  opacity: 0.3;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .statement__track { animation: none; }
}

/* ─────────────────────────────────── ABOUT ─────────────────────────────────── */
.about {
  background: var(--c-surface);
  padding: var(--space-xxl) 0;
  color: var(--c-white);
}

/* Two columns: 45% image / 55% text */
.about__grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 9s var(--ease-out);
}

.about__image-frame:hover .about__img {
  transform: scale(1.03);
}

/* Decorative border accent behind image */
.about__image-deco {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  width: 55%;
  height: 55%;
  border: 1px solid var(--c-border);
  pointer-events: none;
  z-index: -1;
}

.about__content {
  padding: var(--space-sm) 0;
}

.about__title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-white);
  margin-bottom: var(--space-lg);
}

.about__bio {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.about__bio p {
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-dim);
}

/* Stats row */
.about__facts {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fact__number {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 300;
  color: var(--c-white);
  line-height: 1;
}

.fact__label {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ─────────────────────────────────── ACTING ────────────────────────────────── */
.acting {
  background: var(--c-void);
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.acting__header {
  margin-bottom: var(--space-xl);
}

.acting__title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 300;
  line-height: 1.15;
  color: var(--c-white);
  max-width: 22ch;
}

.acting__title em {
  font-style: italic;
  font-weight: 300;
}

/* ── Gallery grid ── */
/* 3-column CSS grid with specific placements */
.acting__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 3px;
  margin-bottom: var(--space-xl);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--c-surface-2);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--dur-slow) var(--ease-out);
  display: block;
}

.gallery__item:hover img {
  transform: scale(1.055);
}

/* Item 1: spans 2 cols, row 1 */
.gallery__item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
  aspect-ratio: 3 / 2;
}

/* Item 2: 1 col, row 1 */
.gallery__item:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1;
  aspect-ratio: 3 / 4;
}

/* Item 3: spans 2 cols, row 2 */
.gallery__item:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2;
  aspect-ratio: 16 / 7;
}

/* Item 4: 1 col, row 2 */
.gallery__item:nth-child(4) {
  grid-column: 3 / 4;
  grid-row: 2;
  aspect-ratio: 3 / 4;
}

/* gallery__item--span2 is equivalent to items spanning 2 cols */
.gallery__item--span2 {
  /* handled by nth-child placement above */
}

/* Caption overlay on hover */
.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(7, 6, 5, 0.85), transparent);
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-style: italic;
  font-weight: 300;
  color: var(--c-white);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--dur-mid) var(--ease-out),
    transform var(--dur-mid) var(--ease-out);
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

/* ── Credits table ── */
.acting__credits {
  border-top: 1px solid var(--c-border);
  padding-top: var(--space-xl);
}

.credits__title {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--space-lg);
}

.credits__list {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-xl);
}

.credit {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--c-border);
  transition: background-color var(--dur-fast);
}

.credit:last-child {
  border-bottom: none;
}

.credit--upcoming {
  opacity: 0.6;
}

.credit__year {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}

.credit__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.credit__title-text {
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--c-white);
  font-weight: normal;
}

.credit__detail {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

/* Award badges */
.award-badge {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-dim);
  border: 1px solid rgba(140, 132, 120, 0.25);
  padding: 0.35em 0.85em;
  white-space: nowrap;
}

/* Gold variant for major awards */
.award-badge--gold {
  color: #C4A44A;
  border-color: rgba(196, 164, 74, 0.3);
}

/* Upcoming/in-production variant */
.award-badge--upcoming {
  color: var(--c-dim);
  border-color: var(--c-border);
  font-style: italic;
}

.acting__cta {
  margin-top: var(--space-lg);
}

/* ─────────────────────────────────── MUSIC ─────────────────────────────────── */
.music {
  background: var(--c-surface);
  color: var(--c-white);
  padding: var(--space-xxl) 0;
}

/* 50/50 columns */
.music__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.music__title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 300;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: var(--space-lg);
}

.music__title em {
  font-style: italic;
}

.music__desc {
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.85;
  color: var(--c-dim);
  margin-bottom: var(--space-lg);
  max-width: 48ch;
}

.music__desc em {
  font-style: italic;
  color: rgba(240, 232, 216, 0.8);
}

/* Works list */
.music__works {
  margin-bottom: var(--space-lg);
}

.music__works-title {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--space-md);
}

.music__list {
  display: flex;
  flex-direction: column;
}

.music__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
  gap: var(--space-sm);
}

.music__item:last-child {
  border-bottom: none;
}

.music__item-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.music__item-name {
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--c-white);
}

.music__item-type {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: 0.06em;
}

.music__item-year {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

/* Music visual column */
.music__visual {
  position: relative;
}

.music__image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.music__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 9s var(--ease-out);
}

.music__image-frame:hover .music__img {
  transform: scale(1.03);
}

/* Dark quote card overlaid on image bottom-left */
.music__quote {
  position: absolute;
  bottom: -1.5rem;
  left: -1.75rem;
  background: var(--c-void);
  border: 1px solid var(--c-border);
  color: var(--c-white);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  max-width: 28ch;
  z-index: 2;
}

/* ─────────────────────────────────── RECOGNITION STRIP ─────────────────────── */
.recognition {
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.recognition__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-lg) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.recognition__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.recognition__award {
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: 0.02em;
}

.recognition__desc {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Vertical divider between items */
.recognition__divider {
  width: 1px;
  height: 2.5rem;
  background: var(--c-border);
  flex-shrink: 0;
}

/* ─────────────────────────────────── CONTACT ───────────────────────────────── */
.contact {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: var(--space-xxl) 0;
  overflow: hidden;
}

/* Background image */
.contact__bg {
  position: absolute;
  inset: 0;
}

.contact__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay — lets the background breathe */
.contact__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(7, 6, 5, 0.92) 0%, rgba(7, 6, 5, 0.7) 60%, rgba(7, 6, 5, 0.4) 100%),
    linear-gradient(to top, rgba(7, 6, 5, 0.6) 0%, rgba(7, 6, 5, 0.2) 100%);
}

.contact__inner {
  position: relative;
  z-index: 2;
}

.contact__title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: var(--space-lg);
  max-width: 20ch;
}

.contact__desc {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  font-weight: 300;
  color: var(--c-dim);
  max-width: 48ch;
  margin-bottom: var(--space-xl);
  line-height: 1.75;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Large email link */
.contact__email {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--c-white);
  transition: color var(--dur-fast);
  position: relative;
  display: inline-block;
}

.contact__email::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-white);
  transition: width var(--dur-mid) var(--ease-out);
}

.contact__email:hover::after {
  width: 100%;
}

/* Social row */
.contact__social {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color var(--dur-fast);
}

.social-link:hover {
  color: var(--c-white);
}

.social-link svg {
  flex-shrink: 0;
  transition: opacity var(--dur-fast);
}

/* ─────────────────────────────────── FOOTER ────────────────────────────────── */
.footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-lg) var(--gutter);
  gap: var(--space-md);
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 56px;
  width: auto;
  opacity: 0.85;
}

.footer__copy {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  text-align: center;
  letter-spacing: 0.06em;
}

.footer__loc {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  text-align: right;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

/* ─────────────────────────────────── REVEAL ANIMATIONS ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Delay variants */
.reveal--delay-1  { transition-delay: var(--delay-1); }
.reveal--delay-2  { transition-delay: var(--delay-2); }
.reveal--delay-3  { transition-delay: var(--delay-3); }
.reveal-fade--delay-1 { transition-delay: var(--delay-1); }
.reveal-fade--delay-2 { transition-delay: var(--delay-2); }

/* Revealed state — applied by IntersectionObserver in JS */
.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ─────────────────────────────────── RESPONSIVE: 1024px ────────────────────── */
@media (max-width: 1024px) {
  /* About: single column */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about__image-wrap {
    order: -1;
  }

  .about__image-frame {
    aspect-ratio: 3 / 2;
  }

  /* Music: single column */
  .music__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .music__image-frame {
    aspect-ratio: 3 / 2;
  }

  /* Music quote: detach from absolute positioning */
  .music__quote {
    position: static;
    margin-top: var(--space-md);
    bottom: auto;
    left: auto;
    max-width: 100%;
  }

  /* Recognition: hide dividers, wrap */
  .recognition__divider {
    display: none;
  }

  .recognition__inner {
    gap: var(--space-lg);
  }
}

/* ─────────────────────────────────── RESPONSIVE: 768px ─────────────────────── */
@media (max-width: 768px) {
  /* Tighten section padding on mobile */
  .about, .music, .contact {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .acting {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-lg);
  }

  /* Nav: hide desktop links, show burger */
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

  /* Hero name: responsive fluid size */
  .hero__name {
    font-size: clamp(3rem, 16vw, 4rem);
  }

  .hero__content {
    padding: var(--space-lg) var(--gutter);
  }

  .hero__tagline {
    font-size: var(--fs-base);
    margin-bottom: var(--space-md);
  }

  /* Gallery: 2-column layout for mobile */
  .acting__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 2px;
  }

  /* Reset all nth-child placements */
  .gallery__item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 4 / 3;
  }

  .gallery__item:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2;
    aspect-ratio: 1 / 1;
  }

  .gallery__item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2;
    aspect-ratio: 1 / 1;
  }

  .gallery__item:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 3;
    aspect-ratio: 4 / 3;
  }

  /* Credits: stack year above title */
  .credit {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: var(--space-xs) var(--space-md);
  }

  .credit__year {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    font-size: 0.65rem;
  }

  .credit__info {
    grid-column: 1;
    grid-row: 2;
  }

  .credit__award {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  /* Smaller award badges on mobile */
  .award-badge {
    font-size: 0.6rem;
    padding: 0.3em 0.6em;
  }

  /* About facts */
  .about__facts {
    gap: var(--space-md);
  }

  /* Recognition: 2x2 or vertical stack */
  .recognition__inner {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }

  /* Footer: single column */
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-sm);
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__loc {
    text-align: center;
  }

  /* Contact social: reduce gap */
  .contact__social {
    gap: var(--space-md);
  }
}

/* ─────────────────────────────────── RESPONSIVE: 480px ─────────────────────── */
@media (max-width: 480px) {
  /* Hero: compact layout */
  .hero__content {
    padding: var(--space-md) var(--gutter) var(--space-lg);
  }

  .hero__eyebrow {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .hero__name {
    font-size: clamp(2.8rem, 16vw, 3.5rem);
    margin-bottom: 0.75rem;
    line-height: 0.9;
  }

  .hero__tagline {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
  }

  /* CTA: stack vertically */
  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  /* Hide scroll indicator on very small screens */
  .hero__scroll {
    display: none;
  }

  /* Statement: tighten for small screens */
  .statement__inner {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  /* Contact email: smaller on tiny screens */
  .contact__email {
    font-size: var(--fs-md);
  }

  /* Music quote: smaller text */
  .music__quote {
    font-size: var(--fs-xs);
    padding: var(--space-sm) var(--space-md);
  }

  /* Reduce section spacing */
  .about,
  .acting,
  .music,
  .contact {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  /* Credits: simplify further */
  .credit {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .credit__year {
    grid-column: 1;
    grid-row: 1;
  }

  .credit__info {
    grid-column: 1;
    grid-row: 2;
  }

  .credit__award {
    grid-column: 1;
    grid-row: 3;
    margin-top: var(--space-xs);
  }

  /* About facts: wrap if needed */
  .about__facts {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  /* Contact social: stack */
  .contact__social {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }
}

/* ─────────────────────────────────── REDUCED MOTION ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__scroll-line {
    animation: none;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─────────────────────────────────── FOCUS STYLES ──────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-accent-bright);
  outline-offset: 3px;
}

/* ─────────────────────────────────── PRINT ─────────────────────────────────── */
@media print {
  .nav,
  .hero__scroll,
  .hero__overlay {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* ─────────────────────────────────── REEL / SHOWREEL ───────────────────────── */
.reel {
  background: var(--c-void);
  padding: 0 0 var(--space-xxl);
}

.reel__label {
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.reel__poster {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  cursor: pointer;
}

.reel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 9s var(--ease-out);
  display: block;
}

.reel__poster:hover .reel__img {
  transform: scale(1.03);
}

.reel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 5, 0.52);
  transition: background var(--dur-mid) var(--ease-inout);
}

.reel__poster:hover .reel__overlay {
  background: rgba(7, 6, 5, 0.38);
}

.reel__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.reel__play-btn {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(240, 232, 216, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color var(--dur-mid) var(--ease-out),
    background var(--dur-mid) var(--ease-out),
    transform var(--dur-mid) var(--ease-out);
}

.reel__play-btn svg {
  margin-left: 4px;
  color: var(--c-white);
}

.reel__poster:hover .reel__play-btn {
  border-color: rgba(240, 232, 216, 0.8);
  background: rgba(240, 232, 216, 0.08);
  transform: scale(1.06);
}

.reel__meta {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
}

.reel__caption {
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-style: italic;
  font-weight: 300;
  color: rgba(240, 232, 216, 0.75);
}

.reel__link {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.5);
  transition: color var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-shrink: 0;
}

.reel__link:hover {
  color: var(--c-white);
}

@media (max-width: 768px) {
  .reel__poster { aspect-ratio: 4 / 3; }
  .reel__play-btn { width: 56px; height: 56px; }
  .reel__meta { flex-direction: column; gap: var(--space-xs); }
}

/* ─────────────────────────────────── MUSIC WORKS LIST ──────────────────────── */
.music__works {
  margin-bottom: var(--space-lg);
}

.music__works-title {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--space-md);
}

.music__list {
  display: flex;
  flex-direction: column;
}

.music__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
  gap: var(--space-sm);
  transition: border-color var(--dur-fast);
}

.music__item:first-child {
  border-top: 1px solid var(--c-border);
}

.music__item:hover {
  border-bottom-color: rgba(196, 164, 74, 0.2);
}

.music__item-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.music__item-name {
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--c-white);
}

.music__item-type {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: 0.06em;
}

.music__item-year {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

/* ─────────────────────────────────── EDITORIAL STRIP ───────────────────────── */
.editorial {
  background: var(--c-void);
  padding-bottom: 0;
}

.editorial__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.editorial__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--c-surface-2);
}

.editorial__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform var(--dur-slow) var(--ease-out);
  display: block;
  filter: grayscale(15%);
}

.editorial__item:hover img {
  transform: scale(1.055);
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .editorial__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
}
