@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/BodoniModa.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/BodoniModa-Italic.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #000;
  --fg: #ece4d6;
  --fg-2: #9c968d;
  --fg-3: #5e5b56;
  --line: #1c1b1a;
  --brasa: #ff4419;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gap: 16px;
  --nav-h: 72px;
  --container: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brasa); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--fg);
  color: #000;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
  padding: 0 max(20px, calc((100% - var(--container)) / 2));
  background: rgb(0 0 0 / .72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand img { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 999px;
}
.nav-links a:hover { color: var(--fg); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 72px 24px 88px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -2;
  pointer-events: none;
  filter: blur(48px);
  background:
    radial-gradient(26% 28% at 50% 42%, rgb(0 0 0 / .84), transparent 72%),
    radial-gradient(28% 24% at 48% 88%, rgb(255 154 61 / .78), transparent 70%),
    radial-gradient(22% 18% at 34% 94%, rgb(47 135 149 / .85), transparent 68%),
    radial-gradient(18% 14% at 70% 94%, rgb(47 135 149 / .55), transparent 70%),
    radial-gradient(30% 38% at 12% 62%, rgb(255 68 25 / .78), transparent 68%),
    radial-gradient(28% 36% at 88% 46%, rgb(255 68 25 / .66), transparent 68%),
    radial-gradient(40% 24% at 50% 92%, rgb(110 22 6 / .75), transparent 72%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.hero-in > * {
  animation: rise 1s var(--ease) both;
}
.hero-in > :nth-child(2) { animation-delay: .1s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.who {
  margin: 0;
  font-family: "Bodoni Moda", Didot, serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  letter-spacing: -0.035em;
  line-height: .88;
  font-variation-settings: "opsz" 96, "wght" 500;
  text-wrap: balance;
}
.role {
  margin: 18px 0 0;
  color: var(--fg);
  font-family: "Bodoni Moda", Didot, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  font-variation-settings: "opsz" 24, "wght" 500;
}

.materials { padding: 8px 0 80px; }
.loading, .empty {
  color: var(--fg-2);
  text-align: center;
  padding: 48px 20px;
}
.offer {
  padding: 56px 0 24px;
  content-visibility: auto;
}
.offer-head, .strip-bar, .group-label {
  width: min(var(--container), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
.offer-kicker {
  margin: 0 0 8px;
  color: var(--fg-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.offer h2 {
  margin: 0;
  font-family: "Bodoni Moda", Didot, serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: .92;
  font-variation-settings: "opsz" 48, "wght" 500;
  text-wrap: balance;
}
.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--fg-2);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #393733;
  border-radius: 999px;
  color: var(--fg);
  font-size: 12px;
  font-weight: 650;
}
.mark { color: var(--fg); font-weight: 700; }

.group-label {
  margin: 28px auto 12px;
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.strip-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}
.arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #393733;
  background: #000;
  color: var(--fg);
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.arrow:hover { border-color: var(--fg-2); }
.arrow:active { transform: scale(.96); }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow svg { display: block; margin: 0 auto; }

.viewport {
  position: relative;
}
.viewport::before, .viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 18px;
  width: 36px;
  z-index: 2;
  pointer-events: none;
}
.viewport::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
.viewport::after { right: 0; background: linear-gradient(270deg, #000, transparent); }
.track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(20px, calc((100% - var(--container)) / 2));
  padding: 4px max(20px, calc((100% - var(--container)) / 2)) 18px;
  scrollbar-width: none;
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-drag { cursor: grabbing; scroll-snap-type: none; }

.card {
  flex: 0 0 min(340px, calc((100% - 32px) / 3));
  scroll-snap-align: start;
  min-width: 0;
}
.player {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  outline: 1px solid oklch(1 0 0 / .1);
  outline-offset: -1px;
  container-type: size;
}
.player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  pointer-events: none;
}
.shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.wm {
  position: absolute;
  inset: -20%;
  z-index: 3;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8cqh 0;
  align-content: center;
  transform: rotate(-18deg);
  user-select: none;
}
.wm span {
  color: rgb(255 255 255 / .72);
  font-size: clamp(12px, 4.6cqw, 20px);
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-shadow: 0 1px 2px #000, 1px 1px 0 #000, -1px -1px 0 #000;
  white-space: nowrap;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 0;
  border-radius: 999px;
  background: rgb(0 0 0 / .55);
  color: var(--fg);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.play:active { transform: scale(.96); }
.player.is-playing .play { opacity: 0; pointer-events: none; }
.player.is-playing .shield { cursor: default; }
.controls {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: rgb(0 0 0 / .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.player.is-playing .controls,
.player:focus-within .controls,
.player:hover .controls { opacity: 1; pointer-events: auto; }
.controls button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.controls button:active { transform: scale(.96); }
.seek {
  flex: 1;
  accent-color: var(--brasa);
  min-width: 0;
}
.time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  min-width: 72px;
  text-align: right;
}
.cap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 2px 0;
  color: var(--fg-2);
  font-size: 12.5px;
}
.cap b {
  font-weight: 650;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cap span { font-variant-numeric: tabular-nums; flex: none; }
.miss {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: var(--fg-2);
  font-size: 13px;
  background: rgb(0 0 0 / .45);
}
.player.is-missing .miss { display: grid; }
.player.is-missing .play { display: none; }

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px 40px;
  color: var(--fg-3);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .card { flex-basis: min(300px, calc((100% - 16px) / 2)); }
}
@media (max-width: 680px) {
  .card { flex-basis: 78%; }
  .hero { min-height: 0; padding-top: 48px; }
  .viewport::before, .viewport::after { width: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in > *, .play, .arrow, .controls { animation: none; transition: none; }
}
