:root {
  --bg: #0b0b0c;
  --panel: #111113;
  --text: #f6f2ee;
  --muted: rgba(246, 242, 238, 0.72);
  --muted-2: rgba(246, 242, 238, 0.56);
  --burgundy: #5a0b20;
  --burgundy-2: #7a1030;
  --line: rgba(246, 242, 238, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);

  --serif: "Playfair Display", ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";

  --radius: 16px;
  --radius-sm: 12px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1100px 600px at 12% 10%, rgba(90, 11, 32, 0.32), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(122, 16, 48, 0.2), transparent 62%), var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  letter-spacing: 0.2px;
}

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

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

.container {
  max-width: var(--container);
  padding: 0 20px;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 50;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 12, 0.64);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.brand-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(17, 17, 19, 0.6);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a {
  padding: 10px 10px;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(90, 11, 32, 0.16);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(90, 11, 32, 0.24);
  border: 1px solid rgba(90, 11, 32, 0.4);
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 840px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

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

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92) brightness(0.84);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px 700px at 30% 25%, rgba(0, 0, 0, 0.2), transparent 62%),
    linear-gradient(to top, rgba(11, 11, 12, 0.92), rgba(11, 11, 12, 0.28) 55%, rgba(11, 11, 12, 0.9));
}

.hero-content {
  position: relative;
  padding: 82px 0 56px;
  max-width: 860px;
}

.kicker {
  margin: 0 0 12px;
  color: rgba(246, 242, 238, 0.9);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 12px;
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.2px;
  font-size: clamp(40px, 5vw, 64px);
}

.hero-lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-quote {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(246, 242, 238, 0.14);
  background: rgba(11, 11, 12, 0.35);
  max-width: 70ch;
}

.hero-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.2px;
  line-height: 1.3;
  color: rgba(246, 242, 238, 0.92);
}

.hero-quote figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(90, 11, 32, 0.92), rgba(122, 16, 48, 0.92));
  border-color: rgba(122, 16, 48, 0.7);
  box-shadow: 0 10px 30px rgba(90, 11, 32, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: rgba(17, 17, 19, 0.35);
}

.btn-ghost:hover {
  background: rgba(90, 11, 32, 0.16);
}

.section {
  padding: 74px 0;
}

.section-head {
  margin-bottom: 26px;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.2px;
  font-size: clamp(28px, 3vw, 40px);
}

.section-subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 78ch;
}

.section-foot {
  margin-top: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 4;
  background: rgba(17, 17, 19, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 16, 48, 0.62);
  background: rgba(17, 17, 19, 0.72);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(90, 11, 32, 0.16);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
  transform: scale(1.02);
}

.card-media--contain img {
  object-fit: contain;
  transform: none;
  padding: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.card-media--poster .poster {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: radial-gradient(900px 460px at 20% 20%, rgba(122, 16, 48, 0.38), transparent 64%),
    radial-gradient(700px 420px at 80% 50%, rgba(90, 11, 32, 0.22), transparent 62%), rgba(17, 17, 19, 0.55);
}

.poster-label {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.4px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 238, 0.18);
  background: rgba(11, 11, 12, 0.35);
}

.card-body {
  padding: 16px 16px 18px;
}

.card-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 20px;
}

.card-text {
  margin: 10px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 242, 238, 0.9);
  border-bottom: 1px solid rgba(246, 242, 238, 0.28);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--text);
  border-color: rgba(122, 16, 48, 0.72);
}

.section--split {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 17, 19, 0.4), rgba(11, 11, 12, 0.2));
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.prose {
  margin: 14px 0 0;
  color: var(--muted);
}

.portrait {
  border-radius: var(--radius);
  border: 1px solid rgba(246, 242, 238, 0.14);
  box-shadow: var(--shadow);
  filter: contrast(1.03) saturate(0.95);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: rgba(11, 11, 12, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-text {
  margin: 0;
  color: var(--muted-2);
}

.page-hero {
  padding: 56px 0 26px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(1000px 500px at 18% 25%, rgba(90, 11, 32, 0.32), transparent 64%),
    linear-gradient(to bottom, rgba(17, 17, 19, 0.5), transparent);
}

.page-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.page-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 86ch;
}

.subnav {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subnav a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 19, 0.35);
  color: var(--muted);
}

.subnav a:hover {
  color: var(--text);
  background: rgba(90, 11, 32, 0.16);
  border-color: rgba(122, 16, 48, 0.6);
}

.subnav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(122, 16, 48, 0.72);
  background: rgba(90, 11, 32, 0.22);
}

.content {
  padding: 44px 0 74px;
}

.stack {
  display: grid;
  gap: 18px;
}

.panel {
  background: rgba(17, 17, 19, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.credits {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.credits-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 16px;
}

.credits-line {
  margin: 10px 0 0;
  color: var(--muted);
}

.credits-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.credits-list li {
  margin: 6px 0;
}

.embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 242, 238, 0.14);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.project-video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 242, 238, 0.14);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.42);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery button {
  grid-column: span 4;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(246, 242, 238, 0.12);
  background: rgba(90, 11, 32, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, border-color 160ms ease;
}

.gallery button:hover .thumb {
  transform: translateY(-2px);
  border-color: rgba(122, 16, 48, 0.6);
}

.thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.96);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.lightbox[data-open="true"] {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  margin: auto;
  width: min(1100px, calc(100vw - 28px));
  height: min(760px, calc(100vh - 28px));
  background: rgba(11, 11, 12, 0.9);
  border: 1px solid rgba(246, 242, 238, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 340px;
}

.lightbox-stage {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 420px at 20% 15%, rgba(90, 11, 32, 0.18), transparent 60%),
    rgba(0, 0, 0, 0.45);
}

.lightbox-canvas {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.lightbox-canvas:active {
  cursor: grabbing;
}

.lightbox-image {
  max-width: 92%;
  max-height: 92%;
  transform-origin: 50% 50%;
  will-change: transform;
  border-radius: 14px;
  border: 1px solid rgba(246, 242, 238, 0.12);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55);
}

.lightbox-side {
  border-left: 1px solid rgba(246, 242, 238, 0.14);
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  background: linear-gradient(180deg, rgba(17, 17, 19, 0.75), rgba(11, 11, 12, 0.5));
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lightbox-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
}

.lightbox-tagline {
  margin: 10px 0 0;
  color: var(--muted);
}

.icon-btn {
  appearance: none;
  border: 1px solid rgba(246, 242, 238, 0.16);
  background: rgba(17, 17, 19, 0.55);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.icon-btn:hover {
  background: rgba(90, 11, 32, 0.16);
  border-color: rgba(122, 16, 48, 0.6);
}

.lightbox-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kbd {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .cards {
    gap: 14px;
  }

  .card {
    grid-column: span 6;
  }

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

  .lightbox-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: min(860px, calc(100vh - 28px));
  }

  .lightbox-side {
    border-left: 0;
    border-top: 1px solid rgba(246, 242, 238, 0.14);
  }
}

@media (max-width: 620px) {
  .header-inner {
    justify-content: center;
    position: relative;
  }

  .brand {
    text-align: center;
  }

  .nav-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 20px;
    top: 64px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(11, 11, 12, 0.92);
    flex-direction: column;
    align-items: stretch;
    min-width: 180px;
  }

  .hero-content {
    text-align: center;
    padding: 72px 0 46px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-quote {
    margin-left: auto;
    margin-right: auto;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 12px 12px;
  }

  .card {
    grid-column: span 12;
  }

  .gallery button {
    grid-column: span 6;
  }
}
