:root {
  --bg: #020202;
  --fg: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.58);
  --red: #ff1919;
  --line: rgba(244, 241, 234, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

body:not(.verified) .page {
  opacity: 0;
  pointer-events: none;
}

body.verified .page {
  opacity: 1;
  pointer-events: auto;
}

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

.page {
  min-height: 100vh;
  background: var(--bg);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  pointer-events: none;
}

.logo {
  pointer-events: auto;
  color: var(--red);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  pointer-events: auto;
  display: flex;
  gap: 18px;
  color: rgba(244, 241, 234, 0.55);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.frame-stage {
  position: relative;
  min-height: 1540px;
  padding-top: 118px;
  overflow: hidden;
}

.frame-card {
  position: absolute;
  display: block;
  overflow: hidden;
  background: #111;
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.74);
  opacity: 0.72;
  transform: translateZ(0);
  transition:
    opacity 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.frame-card:hover {
  opacity: 1;
  filter: brightness(1.08);
  transform: scale(1.018);
  z-index: 10;
}

.frame-card.one {
  left: 7.6vw;
  top: 118px;
  width: 33.5vw;
  aspect-ratio: 16 / 9;
}

.frame-card.two {
  right: 14.8vw;
  top: 154px;
  width: 33.5vw;
  aspect-ratio: 16 / 9;
}

.frame-card.three {
  left: 18.7vw;
  top: 600px;
  width: 33.5vw;
  aspect-ratio: 16 / 9;
}

.frame-card.four {
  right: 4.7vw;
  top: 570px;
  width: 33.5vw;
  aspect-ratio: 16 / 9;
}

.frame-card.five {
  left: 8.5vw;
  top: 1038px;
  width: 34.5vw;
  aspect-ratio: 16 / 9;
}

.frame-card.six {
  right: 16vw;
  top: 1112px;
  width: 29vw;
  aspect-ratio: 16 / 9;
}

.frame-visual {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 420ms ease;
}

.frame-card:hover .frame-visual {
  transform: scale(1.07);
}

.look-1 {
  background:
    linear-gradient(rgba(80, 0, 18, 0.05), rgba(80, 0, 18, 0.05)),
    radial-gradient(circle at 48% 42%, rgba(255, 220, 190, 0.18), transparent 12%),
    linear-gradient(115deg, #5b0614, #170206 54%, #901527);
}

.look-2 {
  background:
    radial-gradient(circle at 53% 43%, rgba(255, 245, 210, 0.18), transparent 14%),
    linear-gradient(115deg, #3c2417, #0b0705 52%, #8d5b31);
}

.look-3 {
  filter: grayscale(1);
  background:
    radial-gradient(circle at 45% 45%, rgba(255, 255, 255, 0.18), transparent 15%),
    linear-gradient(115deg, #2d2d2d, #090909 58%, #5a5a5a);
}

.look-4 {
  background:
    radial-gradient(circle at 52% 46%, rgba(255, 255, 255, 0.18), transparent 13%),
    linear-gradient(115deg, #092523, #030807 58%, #597266);
}

.look-5 {
  background:
    radial-gradient(circle at 38% 48%, rgba(255, 255, 255, 0.17), transparent 13%),
    linear-gradient(115deg, #201530, #060408 58%, #684a74);
}

.look-6 {
  background:
    radial-gradient(circle at 58% 42%, rgba(255, 255, 255, 0.17), transparent 13%),
    linear-gradient(115deg, #22170f, #070604 58%, #7d3c22);
}

.play-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(68px, 7vw, 112px);
  height: clamp(68px, 7vw, 112px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-left-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  transition: transform 220ms ease, opacity 220ms ease;
}

.frame-card:hover .play-ring {
  transform: translate(-50%, -50%) rotate(28deg) scale(1.04);
}

.frame-title {
  position: absolute;
  left: 14px;
  bottom: 12px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.frame-card:hover .frame-title {
  opacity: 1;
}

.red-marker {
  position: absolute;
  left: 46.8vw;
  top: 430px;
  width: 17px;
  height: 17px;
  background: var(--red);
}

.home-footer {
  position: relative;
  z-index: 2;
  padding: 0 18px 56px;
  margin-top: -90px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(244, 241, 234, 0.5);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-footer a {
  color: var(--fg);
}

.works-page,
.project-page {
  padding: 104px 24px 56px;
}

.works-title,
.project-title {
  margin: 0 0 46px;
  max-width: 1100px;
  color: var(--fg);
  font-size: clamp(56px, 11vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.075em;
  font-weight: 500;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.55fr 0.35fr;
  gap: 20px;
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.work-title {
  color: var(--fg);
  font-size: clamp(30px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.work-row:hover .work-title {
  color: var(--red);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 22px 0 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.project-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--fg);
  font-weight: 500;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  padding-top: 46px;
}

.project-frame {
  min-height: 360px;
  background: #111;
  overflow: hidden;
  position: relative;
}

.project-frame.large {
  grid-column: span 8;
  min-height: 520px;
}

.project-frame.small {
  grid-column: span 4;
}

.project-frame.wide {
  grid-column: span 12;
  min-height: 520px;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 2, 2, 0.965);
  backdrop-filter: blur(18px);
}

.age-box {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  padding: 32px;
  background: rgba(255, 255, 255, 0.035);
}

.age-box h2 {
  margin: 0 0 16px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.86;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.age-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.age-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.age-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  color: var(--bg);
  background: var(--fg);
  cursor: pointer;
}

.age-actions button.secondary {
  color: var(--fg);
  background: transparent;
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    height: auto;
    padding: 18px;
    background: rgba(2, 2, 2, 0.88);
    backdrop-filter: blur(12px);
  }

  .nav {
    gap: 12px;
  }

  .frame-stage {
    min-height: auto;
    padding: 78px 18px 64px;
  }

  .frame-card,
  .frame-card.one,
  .frame-card.two,
  .frame-card.three,
  .frame-card.four,
  .frame-card.five,
  .frame-card.six {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 72px;
  }

  .red-marker {
    display: none;
  }

  .home-footer {
    margin-top: 0;
    display: block;
  }

  .home-footer div {
    margin-bottom: 12px;
  }

  .works-page,
  .project-page {
    padding: 64px 18px 42px;
  }

  .work-row,
  .project-meta {
    display: block;
    padding: 22px 0;
  }

  .work-row span,
  .project-meta div {
    display: block;
    margin-top: 8px;
  }

  .project-grid {
    display: block;
  }

  .project-frame,
  .project-frame.large,
  .project-frame.small,
  .project-frame.wide {
    min-height: 320px;
    margin-bottom: 18px;
  }
}
