:root {
  --black: #030304;
  --ink: #09090b;
  --ink-soft: #111114;
  --paper: #f2eee6;
  --muted: #bbb4aa;
  --crimson: #d93048;
  --crimson-deep: #740a17;
  --cyan: #8ff6ff;
  --slop: #ff27b9;
  --line: rgba(242, 238, 230, 0.22);
  --shadow: rgba(0, 0, 0, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(217, 48, 72, 0.22), transparent 34rem),
    linear-gradient(180deg, #050506, #0b0b0d 44%, #030304);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(3, 3, 4, 0.34), rgba(3, 3, 4, 0.8)),
    url("../../assets/environment/whispering-clearing-v2-4096.webp") center / cover;
  filter: grayscale(1) contrast(1.18) brightness(0.5);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px),
    radial-gradient(circle at 14% 18%, rgba(143, 246, 255, 0.12), transparent 18rem),
    radial-gradient(circle at 84% 16%, rgba(217, 48, 72, 0.18), transparent 20rem);
  mix-blend-mode: screen;
  opacity: 0.65;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(3, 3, 4, 0.82);
  backdrop-filter: blur(14px);
}

.brand-link {
  width: clamp(128px, 15vw, 210px);
}

.brand-link img {
  width: 100%;
  filter: drop-shadow(0 10px 18px #000);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
  color: #d9d3ca;
  font: 900 12px/1 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-play {
  padding: 10px 15px;
  border: 1px solid rgba(242, 238, 230, 0.38);
  background: rgba(217, 48, 72, 0.18);
  box-shadow: inset 0 -2px 0 rgba(217, 48, 72, 0.7);
}

.site-nav .nav-play::after {
  display: none;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: clamp(14px, 2.2vw, 28px);
  padding: clamp(84px, 9vh, 118px) clamp(18px, 4vw, 68px) 46px;
  overflow: hidden;
  isolation: isolate;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #050506);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.24), rgba(3, 3, 4, 0.62) 29%, rgba(3, 3, 4, 0.65) 71%, rgba(3, 3, 4, 0.2)),
    radial-gradient(circle at 50% 38%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78) 78%);
}

.hero-backdrop img {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 54%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.08) brightness(0.74);
}

.hero-left {
  left: 0;
  object-position: 18% center;
  mask-image: linear-gradient(90deg, #000 0 62%, transparent 100%);
}

.hero-right {
  right: 0;
  object-position: 78% center;
  mask-image: linear-gradient(270deg, #000 0 56%, transparent 100%);
}

.hero-copy {
  justify-self: center;
  width: min(960px, 100%);
  text-align: center;
  text-shadow: 0 5px 18px #000;
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(38px, 6.4vw, 98px);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 780px;
  margin: 0 auto;
  color: #eee7dd;
  font-size: clamp(18px, 2.9vw, 36px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-copy .hero-alpha {
  width: fit-content;
  margin-bottom: 10px;
  color: var(--slop);
  font: 900 clamp(20px, 3.8vw, 50px)/0.94 Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(255, 39, 185, 0.8), 0 4px 0 #000;
  transform: rotate(-1.5deg);
}

.trailer-frame {
  position: relative;
  justify-self: center;
  width: min(920px, 100%);
  border: 2px solid rgba(242, 238, 230, 0.9);
  background: #000;
  box-shadow: 0 24px 55px var(--shadow), 0 0 0 9px rgba(0, 0, 0, 0.36);
  transform: rotate(-0.35deg);
}

.trailer-frame::before,
.trailer-frame::after {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border: 1px solid rgba(242, 238, 230, 0.24);
}

.trailer-frame::after {
  inset: -19px -16px;
  border-color: rgba(217, 48, 72, 0.45);
  transform: rotate(0.65deg);
}

.trailer-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.trailer-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.44));
  color: var(--paper);
  cursor: pointer;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.trailer-play.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.trailer-play span {
  display: inline-grid;
  place-items: center;
  min-height: 78px;
  padding: 20px 36px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, rgba(217, 48, 72, 0.92), rgba(116, 10, 23, 0.95));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.72), inset 0 -5px 0 rgba(0, 0, 0, 0.34);
  font: 900 clamp(16px, 2vw, 26px)/1 Arial, sans-serif;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-cta,
.secondary-cta,
.slop-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 24px;
  font: 900 13px/1.1 Arial, sans-serif;
  text-transform: uppercase;
}

.primary-cta {
  min-width: min(100%, 360px);
  background: var(--crimson);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.48), inset 0 -4px 0 var(--crimson-deep);
}

.secondary-cta {
  min-width: min(100%, 280px);
  border: 1px solid rgba(242, 238, 230, 0.34);
  background: rgba(5, 5, 6, 0.72);
  color: #d8d1c8;
}

.tease-section,
.asset-section,
.alpha-section {
  position: relative;
  padding: clamp(64px, 9vw, 126px) clamp(18px, 5vw, 80px);
}

.tease-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: end;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.9), rgba(3, 3, 4, 0.54)),
    url("../../assets/trailer/alpha-announcement/scene-01-last.png") center / cover;
}

.tease-section h2,
.section-head h2,
.alpha-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(36px, 6vw, 82px);
  line-height: 0.92;
  text-transform: uppercase;
}

.tease-section p,
.section-head p,
.alpha-copy p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.36;
}

.tease-card {
  padding: 26px;
  border: 1px solid rgba(242, 238, 230, 0.24);
  border-left: 6px solid var(--crimson);
  background: rgba(8, 8, 10, 0.82);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.44);
}

.tease-card span,
.tease-card small {
  display: block;
  color: var(--muted);
  font: 900 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tease-card strong {
  display: block;
  margin: 10px 0;
  color: var(--paper);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.9;
  text-transform: uppercase;
}

.asset-section {
  background: #050506;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.38fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(26px, 5vw, 54px);
}

.asset-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.asset-strip article {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    #0c0c0f;
}

.asset-strip img,
.asset-strip video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #050506;
  filter: contrast(1.08) saturate(1.08);
}

.asset-strip article:nth-child(3) img,
.asset-strip article:nth-child(4) img {
  object-fit: contain;
  padding: 24px;
}

.asset-strip div {
  padding: 20px;
}

.asset-strip h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 0.95;
  text-transform: uppercase;
}

.asset-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.alpha-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  min-height: 82svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 32%, rgba(255, 39, 185, 0.22), transparent 26rem),
    linear-gradient(180deg, #09090b, #030304);
}

.alpha-bg {
  position: absolute;
  inset: 0;
  background: url("../../assets/trailer/alpha-announcement/alpha-test-starting-soon-end-card.png") center / cover;
  filter: blur(2px) grayscale(0.25) brightness(0.32);
  transform: scale(1.04);
}

.alpha-section > img,
.alpha-copy {
  position: relative;
  z-index: 1;
}

.alpha-section > img {
  width: 100%;
  border: 2px solid rgba(242, 238, 230, 0.6);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.66);
  transform: rotate(-1.2deg);
}

.alpha-copy {
  padding: clamp(18px, 3vw, 34px);
  background: rgba(3, 3, 4, 0.74);
  border-left: 6px solid var(--slop);
  box-shadow: 15px 15px 0 rgba(0, 0, 0, 0.4);
}

.slop-cta {
  position: relative;
  margin-top: 28px;
  min-width: min(100%, 330px);
  overflow: hidden;
  background: var(--slop);
  color: white;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 28px rgba(255, 39, 185, 0.48), inset 0 -5px 0 rgba(112, 0, 78, 0.5);
}

.slop-cta::before,
.slop-cta::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.slop-cta::before {
  left: 15px;
  bottom: -17px;
}

.slop-cta::after {
  right: 28px;
  top: -19px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px clamp(18px, 5vw, 80px);
  border-top: 1px solid var(--line);
  background: #030304;
  color: #a9a29b;
  font: 900 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--paper);
}

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

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .hero-section {
    padding-top: 122px;
  }

  .hero-backdrop img {
    width: 100%;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    object-position: center;
    mask-image: none;
  }

  .tease-section,
  .section-head,
  .alpha-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    padding: 12px 14px;
  }

  .brand-link {
    width: 112px;
  }

  .site-nav {
    max-width: 210px;
    font-size: 10px;
  }

  .site-nav .nav-play {
    padding: 8px 10px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 100px;
  }

  h1 {
    font-size: clamp(36px, 15vw, 62px);
  }

  .hero-copy p {
    font-size: clamp(18px, 6.2vw, 26px);
  }

  .trailer-frame {
    transform: none;
  }

  .trailer-play span {
    min-height: 58px;
    padding: 15px 20px;
  }

  .primary-cta,
  .secondary-cta,
  .slop-cta {
    width: 100%;
  }

  .asset-strip {
    grid-template-columns: 1fr;
  }

  .tease-card,
  .alpha-copy {
    box-shadow: none;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-height: 740px) and (min-width: 641px) {
  .hero-section {
    gap: 12px;
    padding-top: 78px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(34px, 5.2vw, 70px);
    margin-bottom: 6px;
  }

  .hero-copy p {
    font-size: clamp(16px, 2.2vw, 25px);
  }

  .trailer-frame {
    width: min(690px, 86vw);
  }

  .primary-cta,
  .secondary-cta {
    min-height: 44px;
    padding: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
