:root {
  --paper: #f9f8f6;
  --ink: #1a1a1a;
  --muted: #6c6863;
  --line: rgba(26, 26, 26, 0.14);
  --gold: #d4af37;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.grid-lines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.grid-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(26, 26, 26, 0.1);
}

.grid-lines span:nth-child(1) {
  left: 6vw;
}

.grid-lines span:nth-child(2) {
  left: 34vw;
}

.grid-lines span:nth-child(3) {
  left: 66vw;
}

.grid-lines span:nth-child(4) {
  right: 6vw;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(28px, 6vw, 96px);
  color: var(--paper);
  mix-blend-mode: difference;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav a {
  transition: color 500ms var(--ease);
}

.nav a:hover {
  color: var(--gold);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: clamp(28px, 6vw, 92px);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(108px, 10vw, 160px) clamp(28px, 6vw, 96px) clamp(60px, 7vw, 112px);
}

.hero-poster {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 28px;
}

.hero-copy {
  padding-bottom: clamp(10px, 4vw, 72px);
}

.hero-copy p,
.section-label p,
.profile-meta p,
.video-card p,
figcaption {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-copy p,
.section-label p,
.profile-meta p,
.video-card p {
  color: var(--muted);
}

h1 {
  max-width: 880px;
  margin: 18px 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(5.4rem, 11.5vw, 13rem);
  font-weight: 400;
  line-height: 0.84;
}

h1 em {
  color: var(--gold);
  font-style: italic;
}

.profile-section,
.showcase-section,
.video-section {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 112px) clamp(22px, 4vw, 64px);
}

.profile-section,
.video-section {
  border-top: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 48px);
}

.section-label span {
  width: clamp(34px, 4vw, 58px);
  height: 1px;
  background: var(--ink);
}

.showcase-grid {
  display: block;
  column-count: 3;
  column-gap: clamp(14px, 1.6vw, 24px);
  width: 100%;
}

.poster-card {
  position: relative;
  display: block;
  break-inside: avoid;
  width: 100%;
  min-width: 0;
  margin: 0 0 clamp(14px, 1.6vw, 24px);
  overflow: hidden;
  border-radius: 28px;
  background: #ebe5de;
  cursor: zoom-in;
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 700ms var(--ease);
}

.poster-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.poster-card:hover {
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.showcase-grid .poster-card.full {
  column-span: all;
}

.showcase-grid .poster-card.landscape {
  aspect-ratio: 16 / 9;
}

.showcase-grid .poster-card.portrait {
  aspect-ratio: 4 / 5;
}

.showcase-grid .poster-card.square {
  aspect-ratio: 1 / 1;
}

.showcase-grid .poster-card.feature.portrait {
  aspect-ratio: 4 / 5;
}

.showcase-grid .poster-card.feature.square {
  aspect-ratio: 1 / 1;
}

.poster-card img {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  filter: none;
  transform: scale(1);
  transition:
    filter 700ms var(--ease),
    transform 900ms var(--ease);
}

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 34%);
  opacity: 0.82;
  transition: opacity 700ms var(--ease);
}

.poster-card:hover img {
  filter: none;
  transform: scale(1.1);
}

.poster-card:hover::after {
  opacity: 0.28;
}

figcaption {
  position: absolute;
  left: clamp(18px, 2vw, 30px);
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--paper);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

figcaption span {
  color: var(--gold);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(36px, 7vw, 108px);
  align-items: end;
}

.profile-title h2 {
  max-width: 980px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.4rem, 7.2vw, 8.6rem);
  font-weight: 400;
  line-height: 0.92;
}

.profile-title em {
  color: var(--gold);
  font-style: italic;
}

.profile-copy {
  max-width: 620px;
}

.profile-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.8;
}

.profile-meta {
  display: grid;
  gap: 14px;
  margin: 34px 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.profile-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}

.video-card {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.video-card video {
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #ebe5de;
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  padding: 0 34px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.button span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 500ms var(--ease);
}

.button strong {
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.button:hover span {
  transform: translateX(0);
}

.lightbox {
  width: min(94vw, 1600px);
  max-width: none;
  height: min(92vh, 1000px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: var(--paper);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(12px);
}

.lightbox img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: contain;
  background: rgba(249, 248, 246, 0.04);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.lightbox p {
  position: absolute;
  left: 0;
  bottom: -34px;
  margin: 0;
  color: rgba(249, 248, 246, 0.76);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(249, 248, 246, 0.28);
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.72);
  color: var(--paper);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .poster-card:hover img {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    column-count: 2;
  }

  .showcase-grid .poster-card.feature.portrait {
    aspect-ratio: 4 / 5;
  }

  .showcase-grid .poster-card.feature.square {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 820px) {
  .grid-lines {
    display: none;
  }

  .site-header {
    padding: 24px 28px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 96px;
  }

  .hero-poster {
    max-width: none;
    aspect-ratio: 16 / 10;
  }

  h1 {
    font-size: clamp(4.6rem, 20vw, 7.2rem);
  }

  .showcase-grid {
    column-count: 2;
    column-gap: 16px;
  }

  figcaption {
    left: 13px;
    right: 13px;
    bottom: 12px;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 14px;
    font-size: 0.6rem;
  }

  .showcase-grid {
    column-count: 1;
  }

  .showcase-grid .poster-card.landscape,
  .showcase-grid .poster-card.portrait,
  .showcase-grid .poster-card.square,
  .showcase-grid .poster-card.feature.square,
  .showcase-grid .poster-card.feature.portrait {
    aspect-ratio: 16 / 11;
  }

  .button {
    width: 100%;
  }

  .lightbox {
    width: 94vw;
    height: 82vh;
    border-radius: 18px;
  }

  .lightbox img {
    border-radius: 18px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox p {
    bottom: -28px;
    max-width: 94vw;
    font-size: 0.58rem;
  }
}
