:root {
  --bg: #08080b;
  --panel: #111116;
  --panel-2: #181821;
  --ink: #f7f4ef;
  --muted: #b8adbf;
  --line: rgba(247, 244, 239, 0.16);
  --accent: #b8a4d4;
  --accent-strong: #d5c2ef;
  --accent-ink: #120f18;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 164, 212, 0.24), transparent 34vw),
    radial-gradient(circle at 82% 4%, rgba(104, 88, 135, 0.22), transparent 30vw),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(8, 8, 11, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: stretch;
  padding: 88px clamp(18px, 4vw, 54px) 34px;
}

.hero-media {
  position: relative;
  height: clamp(520px, calc(100svh - 122px), 760px);
  min-height: 520px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 28px 80px var(--shadow);
}

#hero-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
}

.hero-thumbs {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-thumb {
  width: 74px;
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
  opacity: 0.66;
}

.hero-thumb.is-active {
  border-color: var(--accent-strong);
  opacity: 1;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 4vw, 52px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.95;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(68px, 10vw, 152px);
}

h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(40px, 6vw, 92px);
}

.hero-line {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}

.statement {
  padding: clamp(46px, 7vw, 96px) clamp(18px, 7vw, 120px);
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 164, 212, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.statement p {
  max-width: 1180px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.8vw, 72px);
  line-height: 1.03;
  color: var(--accent);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip article {
  min-height: 220px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--bg);
  border: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.series-proof {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-strip h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.proof-strip p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.proof-strip article:hover {
  border-color: rgba(213, 194, 239, 0.72);
  background: rgba(184, 164, 212, 0.055);
  box-shadow: 0 0 34px rgba(184, 164, 212, 0.16);
  transform: translateY(-2px);
}

.work-shell,
.curator-cut,
.motion,
.contact {
  padding: clamp(54px, 8vw, 116px) clamp(18px, 4vw, 54px);
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-kicker.compact {
  margin-bottom: 24px;
}

.featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 31vw);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.1);
}

.featured-rail .work-item {
  min-height: 420px;
  scroll-snap-align: start;
}

.featured-rail .work-item:nth-child(n) {
  grid-column: auto;
}

.featured-rail .work-item img {
  height: 100%;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -10px 0 16px;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.carousel-button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}

.note {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.motion .section-kicker {
  align-items: start;
}

.motion .note {
  grid-column: 2;
}

.world-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.world-menu {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 10px;
}

.world-tab {
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.world-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
}

.series-panel {
  min-height: 0;
}

.series-intro {
  display: grid;
  grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.series-intro h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.98;
}

.series-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
}

.series-copy {
  display: grid;
  gap: 16px;
}

.series-intro .series-proof {
  max-width: 720px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.image-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-height: clamp(640px, 72vw, 900px);
  overflow: hidden;
}

.work-item {
  position: relative;
  min-height: clamp(300px, 38vw, 480px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: zoom-in;
}

.work-item:nth-child(n) {
  grid-column: auto;
}

.image-wall .work-item:nth-child(n + 7) {
  display: none;
}

.image-wall.is-expanded {
  max-height: none;
}

.image-wall.is-expanded .work-item:nth-child(n + 7) {
  display: block;
}

.work-item img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.work-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reveal-button {
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.reveal-button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
  box-shadow: 0 0 24px rgba(184, 164, 212, 0.22);
}

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border: 1px solid var(--line);
}

.contact {
  min-height: 72svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(184, 164, 212, 0.16), transparent 44%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 1060px;
  margin-inline: auto;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 36px;
  color: var(--ink);
  font-size: 18px;
}

.contact-links a {
  border-bottom: 1px solid currentColor;
  transition: color 180ms ease, text-shadow 180ms ease, border-color 180ms ease;
}

.contact-links a:hover {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
  text-shadow: 0 0 18px rgba(184, 164, 212, 0.48);
}

dialog {
  width: min(96vw, 1180px);
  max-height: 92svh;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

dialog img {
  width: auto;
  max-height: 82svh;
  margin: 0 auto;
  object-fit: contain;
}

dialog p {
  display: none;
}

.close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: white;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
  }

  .hero,
  .section-kicker,
  .world-layout,
  .series-intro {
    grid-template-columns: 1fr;
  }

  .motion .note {
    grid-column: auto;
  }

  .world-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .proof-strip,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-media,
  #hero-main {
    height: 420px;
    min-height: 420px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 38px;
  }

  .world-menu,
  .proof-strip,
  .video-grid {
    grid-template-columns: 1fr;
  }

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