@font-face {
  font-family: "Open Sans";
  src: url("assets/open-sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans Condensed";
  src: url("assets/open-sans-condensed.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #100f10;
  --panel: #191719;
  --text: #f6f1ee;
  --muted: #b9afb0;
  --border: #393134;
  --accent: #fc4649;
  --accent-hover: #ff6c6e;
  --accent-ink: #1b0d0e;
  --tint: #34191d;
  --heading: "Open Sans Condensed", "Arial Narrow", sans-serif;
  --gutter: clamp(18px, 5vw, 78px);
  font: 400 15px/1.55 "Open Sans", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; font: inherit; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }
.shell { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: #141214; border-bottom: 1px solid var(--border); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: 73px; }
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font: 700 32px/.9 var(--heading);
  letter-spacing: .025em;
  white-space: nowrap;
}
.brand > span, .brand-mark { color: var(--accent); }
.brand-mark {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}
.brand-mark::after { content: ""; position: absolute; inset: 3px; background: currentColor; }
nav { display: flex; gap: clamp(18px, 3.2vw, 45px); color: var(--muted); font-size: 13px; white-space: nowrap; }
nav a:hover, .footer > a:last-child:hover { color: var(--accent-hover); }
.sign-in {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  min-height: 38px;
  padding: 5px 13px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
}
.sign-in:hover { background: var(--tint); border-color: var(--accent); }
.icon-lock { position: relative; display: inline-block; width: 12px; height: 9px; margin-top: 4px; border: 1.5px solid currentColor; border-radius: 2px; }
.icon-lock::before { position: absolute; content: ""; left: 2px; right: 2px; top: -6px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.icon-play { display: inline-block; width: 0; height: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  width: 100%;
  min-height: clamp(500px, 43vw, 620px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: max(var(--gutter), (100% - 1320px) / 2);
  width: 78px;
  height: 3px;
  background: var(--accent);
  pointer-events: none;
}
.hero-art { position: absolute; z-index: -1; inset: 0; background: url("assets/hero.webp") 62% 55% / cover no-repeat; }
.hero-art::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, #100d11e8 0%, #1d111b85 40%, #1d111b17 75%), linear-gradient(0deg, #100d11a8, transparent 59%);
}
.hero-copy { padding-block: 55px; max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: #f0c8cb; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: var(--accent); }
.hero h1 {
  margin: 12px 0 17px;
  font: 700 clamp(68px, 8.5vw, 122px)/.86 var(--heading);
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero-description { max-width: 390px; color: #e0d6d7; font-size: clamp(14px, 1.4vw, 16px); }
.hero-action, .access-action {
  border: 1px solid var(--accent);
  color: var(--accent-ink);
  background: var(--accent);
  font-weight: 700;
}
.hero-action { display: inline-flex; align-items: center; gap: 11px; min-height: 47px; padding-inline: 19px; margin-top: 23px; }
.hero-action:hover, .access-action:hover:enabled { background: var(--accent-hover); border-color: var(--accent-hover); }
.hero-action:focus-visible { outline-color: var(--text); }

.collection { padding-block: 48px 69px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px 20px; padding-bottom: 17px; margin-bottom: 19px; border-bottom: 1px solid var(--border); }
.section-heading h2, .about h2, .access-dialog h2 { font: 700 clamp(46px, 5.6vw, 75px)/.98 var(--heading); letter-spacing: -.015em; text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 2px; }
.filters button { min-height: 34px; background: transparent; padding: 4px 12px; border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.filters button:hover, .filters button[aria-pressed="true"] { border-color: var(--accent); color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--tint); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: grid; border: 1px solid var(--border); background: var(--panel); }
.card:is(:hover, :focus-within) { border-color: #a55259; }
.card-link { display: block; padding-bottom: 17px; }
.card-image { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16/9; background: var(--tint); }
.card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #190e1966, transparent 72%); pointer-events: none; }
.card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease-out; }
.play-circle {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #f6f1eeb3;
  border-radius: 50%;
  padding-left: 2px;
  background: #130e14b3;
  color: var(--text);
  transition: background .2s, color .2s, border-color .2s;
}
.card-link:is(:hover, :focus-visible) .play-circle { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.card-link:hover img { transform: scale(1.04); }
.card-meta { margin: 13px 16px 4px; color: #efa5ab; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.card h3 { margin-inline: 16px; font: 700 clamp(25px, 2.7vw, 35px)/1.04 var(--heading); }

.about { border-block: 1px solid var(--border); background: var(--panel); }
.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 25px; padding-block: 42px; }
.about h2 { font-size: clamp(39px, 4.6vw, 60px); }
.about p { max-width: 590px; color: var(--muted); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 85px; }
.footer .brand { font-size: 25px; }
.footer .brand-mark { width: 14px; height: 14px; }
.footer .brand-mark::after { inset: 2px; }
.footer > a:last-child { color: var(--muted); font-size: 13px; }
.fallback { padding-block: 15px 30px; }

.access-dialog {
  width: min(460px, 100% - 28px);
  max-height: calc(100% - 28px);
  padding: 0;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 22px 100px #000b;
}
.access-dialog::backdrop { background: #0e0c10cf; }
body:has(.access-dialog[open]) { overflow: hidden; }
.dialog-content { padding: 29px 30px 31px; }
.dialog-x { position: absolute; right: 10px; top: 9px; width: 40px; height: 40px; border: 0; background: transparent; font: 400 26px/1 Arial, sans-serif; color: var(--muted); }
.dialog-x:hover, .dialog-back:hover { background: var(--tint); color: var(--text); }
.dialog-symbol { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #64383e; color: var(--accent-hover); background: var(--tint); margin-bottom: 15px; }
.selected-title { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; color: #efa5ab; margin-bottom: 6px; }
.access-dialog h2 { margin-bottom: 8px; font-size: clamp(29px, 7vw, 38px); }
#access-description { color: var(--muted); }
.access-form { display: grid; gap: 6px; margin-top: 15px; }
.access-form label { font-size: 13px; color: var(--muted); }
.access-form label:not(:first-child) { margin-top: 5px; }
.access-form input {
  width: 100%;
  min-height: 43px;
  padding: 7px 10px;
  border: 1px solid #52464a;
  background: var(--background);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.access-form input[aria-invalid="true"] { border-color: var(--accent); }
.access-status:not(:empty) {
  margin-top: 4px;
  padding: 8px 11px;
  border-left: 3px solid var(--accent);
  color: #ffc8cc;
  background: var(--tint);
  font-size: 13px;
}
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; }
.dialog-actions button { min-height: 42px; padding: 7px 14px; }
.access-action { position: relative; min-width: 76px; }
.access-action:disabled { cursor: wait; }
.access-action:disabled span { opacity: 0; }
.access-action:disabled::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 17px;
  height: 17px;
  border: 2px solid #1b0d0e66;
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.dialog-back { border: 1px solid #52464a; background: transparent; }

@media (max-width: 850px) {
  .hero { min-height: 470px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 10px; min-height: 0; }
  .site-header .brand { margin-block: 15px; font-size: 28px; }
  nav { grid-row: 2; grid-column: 1 / -1; padding-bottom: 11px; }
  .hero { min-height: 421px; }
  .hero-copy { padding-block: 31px; }
  .hero-art { background-position: 66% center; }
  .hero-art::after { background: linear-gradient(0deg, #130e15f0 4%, #1d111b94 52%, #1d111b26 100%); }
  .hero h1 { font-size: clamp(46px, 11.5vw, 64px); }
  .hero-action { margin-top: 18px; min-height: 44px; }
  .collection { padding-block: 34px 46px; }
  .card-grid { grid-template-columns: 1fr; gap: 15px; }
  .card h3 { font-size: 30px; }
  .about-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 29px 34px; }
  .dialog-content { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .access-action:disabled::after { animation: none; }
}
