/* ==========================================================================
   RESET / BASE
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050505;
  --panel: rgba(7, 7, 7, 0.86);
  --panel-heavy: rgba(4, 4, 4, 0.94);

  --text: #d8d8d8;
  --text-soft: #b8b8b8;
  --text-dim: #858585;

  --red: #a32000;
  --red-bright: #e34646;
  --red-soft: #ff6a6a;
  --red-deep: #2a0400;

  --line: rgba(227, 70, 70, 0.18);
  --line-strong: rgba(227, 70, 70, 0.34);

  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Roboto Mono", monospace;
  --font-display: "Rajdhani", system-ui, sans-serif;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #050505;
  color: var(--text);
  font-family: var(--font-body);
}

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

::selection {
  background: rgba(227, 70, 70, 0.35);
}

/* ==========================================================================
   ATMOSPHERE
   ========================================================================== */

.grain,
.scanlines,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 60;
  opacity: 0.036;
  background-image: radial-gradient(rgba(255,255,255,0.22) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

.scanlines {
  z-index: 59;
  opacity: 0.032;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.045) 0,
    rgba(255,255,255,0.045) 1px,
    transparent 2px,
    transparent 5px
  );
}

.vignette {
  z-index: 58;
  background:
    radial-gradient(circle at center, transparent 34%, rgba(0,0,0,0.72) 100%),
    radial-gradient(circle at 50% 8%, rgba(163,32,0,0.14), transparent 34rem),
    radial-gradient(circle at 86% 70%, rgba(163,32,0,0.08), transparent 22rem);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;

  min-height: 68px;
  padding: 0 1.35rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;

  background:
    linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.56));
  border-bottom: 1px solid rgba(227,70,70,0.14);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  min-width: 0;
}

.brand-sigil {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;

  object-fit: contain;
  display: block;

  border: 1px solid rgba(227,70,70,0.28);
  background: rgba(0,0,0,0.42);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.025),
    inset 0 0 16px rgba(163,32,0,0.16),
    0 0 18px rgba(163,32,0,0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-copy strong {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 2vw, 1.45rem);
}

.site-nav a {
  position: relative;
  color: #c5c5c5;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  transition: color 0.22s ease, text-shadow 0.22s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.38rem;
  height: 1px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.site-nav a:hover {
  color: var(--red-bright);
  text-shadow: 0 0 10px rgba(227,70,70,0.32);
}

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

/* ==========================================================================
   MOBILE NAV BUTTON
   ========================================================================== */

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(227,70,70,0.25);
  background: rgba(255,255,255,0.025);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #cfcfcf;
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

.nav-toggle:hover span {
  background: var(--red-bright);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   LANDING HERO
   ========================================================================== */

.landing {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 1rem 5rem;

  display: grid;
  place-items: center;

  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #050505;
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.42) 24%,
      rgba(0,0,0,0.78) 50%,
      rgba(0,0,0,0.42) 76%,
      rgba(0,0,0,0.72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.18) 42%,
      rgba(0,0,0,0.86) 100%
    ),
    url("assets/images/home-bg.png") center / cover no-repeat;

  opacity: 1;
  filter: grayscale(18%) contrast(1.12) brightness(0.82);
  transform: scale(1.018);
}

.hero-red-wash {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.62) 22%,
      rgba(0,0,0,0.22) 46%,
      transparent 72%
    ),
    radial-gradient(circle at 50% 12%, rgba(163,32,0,0.18), transparent 34rem),
    radial-gradient(circle at 22% 44%, rgba(227,70,70,0.07), transparent 28rem),
    radial-gradient(circle at 78% 44%, rgba(227,70,70,0.07), transparent 28rem);
}

.hero-grid {
  position: absolute;
  inset: -20%;
  z-index: 2;
  opacity: 0.075;

  background-image:
    linear-gradient(rgba(227,70,70,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,70,70,0.18) 1px, transparent 1px);
  background-size: 72px 72px;

  transform: perspective(760px) rotateX(63deg) translateY(9%);
  transform-origin: bottom;
}

.hero-fog {
  position: absolute;
  z-index: 2;
  inset: auto -10% -12% -10%;
  height: 44%;

  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 65%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
  filter: blur(18px);
}

/* ==========================================================================
   MAIN STUDIO PANEL
   ========================================================================== */

.hero-panel {
  position: relative;
  z-index: 3;

  width: min(1060px, 100%);
  padding: clamp(1.35rem, 3.2vw, 2.7rem);

  text-align: center;

  border: 1px solid rgba(227,70,70,0.23);
  background:
    linear-gradient(180deg, rgba(9,9,9,0.8), rgba(4,4,4,0.94)),
    radial-gradient(circle at 50% 0%, rgba(163,32,0,0.13), transparent 70%);
  backdrop-filter: blur(8px);

  box-shadow:
    0 34px 84px rgba(0,0,0,0.62),
    inset 0 0 34px rgba(0,0,0,0.5),
    0 0 38px rgba(163,32,0,0.1);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.035);
}

.classification {
  position: relative;
  z-index: 1;

  display: inline-flex;
  width: fit-content;

  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;

  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.75px;
  text-transform: uppercase;

  border: 1px solid rgba(227,70,70,0.24);
  background: rgba(163,32,0,0.08);
}

.studio-title {
  position: relative;
  z-index: 1;

  display: grid;
  gap: 0.08em;

  color: #eee4e4;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.9vw, 7.3rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: clamp(5px, 1.1vw, 15px);
  text-transform: uppercase;

  text-shadow:
    0 0 18px rgba(163,32,0,0.22),
    0 8px 28px rgba(0,0,0,0.72);
}

.studio-title span:first-child {
  color: #fff1f1;
  letter-spacing: clamp(7px, 1.35vw, 20px);
}

.studio-title span:last-child {
  color: #d8d2d2;
  font-size: 0.82em;
  letter-spacing: clamp(10px, 1.8vw, 26px);
  opacity: 0.95;
}

.hero-lead {
  position: relative;
  z-index: 1;

  margin: 1.15rem auto 0;
  max-width: 830px;

  color: #fff;
  font-family: var(--font-mono);
  font-size: clamp(0.98rem, 1.8vw, 1.18rem);
  font-weight: 700;
  line-height: 1.58;
  letter-spacing: 0.35px;
}

.studio-rule {
  position: relative;
  z-index: 1;

  width: min(620px, 100%);
  height: 1px;
  margin: 1.35rem auto;

  background:
    linear-gradient(90deg, transparent, rgba(227,70,70,0.45), transparent);
}

/* ==========================================================================
   THE SLIP FEATURE
   ========================================================================== */

.slip-feature {
  position: relative;
  z-index: 1;

  width: min(840px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;

  text-align: left;

  border: 1px solid rgba(227,70,70,0.18);
  background:
    linear-gradient(180deg, rgba(16,16,16,0.66), rgba(5,5,5,0.82)),
    radial-gradient(circle at top left, rgba(163,32,0,0.12), transparent 18rem);

  box-shadow:
    inset 0 0 24px rgba(0,0,0,0.42),
    0 18px 48px rgba(0,0,0,0.28);
}

.slip-image {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  display: block;
  border-right: 1px solid rgba(227,70,70,0.14);
  background: #050505;
}

.slip-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.62)),
    radial-gradient(circle at center, transparent 42%, rgba(0,0,0,0.42) 100%);
}

.slip-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  filter: grayscale(28%) contrast(1.08) brightness(0.78);
  transform: scale(1.02);
  transition: transform 0.32s ease, filter 0.32s ease;
}

.slip-feature:hover .slip-image img {
  transform: scale(1.055);
  filter: grayscale(10%) contrast(1.1) brightness(0.9);
}

.slip-copy {
  padding: 1.1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-label {
  margin-bottom: 0.35rem;

  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

.slip-copy h2 {
  color: #f2eeee;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.9;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.slip-copy p:not(.feature-label) {
  color: #cfcfcf;
  font-size: 0.94rem;
  line-height: 1.62;
}

.slip-tags {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.slip-tags span {
  display: inline-flex;
  align-items: center;

  padding: 0.35rem 0.52rem;

  color: #aaa;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.78px;
  text-transform: uppercase;

  border: 1px solid rgba(227,70,70,0.14);
  background: rgba(255,255,255,0.035);
}

.slip-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  padding: 0.8rem 1.15rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 3px;

  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  border: 1px solid rgba(227,70,70,0.44);
  background: linear-gradient(180deg, rgba(184,40,0,0.96), rgba(102,14,0,0.98));
  box-shadow: 0 0 20px rgba(163,32,0,0.2);
}

.button.primary:hover {
  background: linear-gradient(180deg, rgba(211,50,12,1), rgba(117,18,0,1));
  box-shadow: 0 0 28px rgba(227,70,70,0.24);
}

.button.secondary {
  color: #e2e2e2;
  border: 1px solid rgba(227,70,70,0.22);
  background: rgba(255,255,255,0.035);
}

.button.secondary:hover {
  color: var(--red-bright);
  border-color: rgba(227,70,70,0.42);
  box-shadow: 0 0 20px rgba(163,32,0,0.09);
}

/* ==========================================================================
   OUTWORLD ARCHIVE CARD
   ========================================================================== */

.archive-card {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 3vw, 2.2rem);
  bottom: clamp(4.8rem, 6vw, 5.8rem);

  width: min(370px, calc(100vw - 2rem));
  padding: 1rem;

  border: 1px solid rgba(227,70,70,0.2);
  background:
    linear-gradient(180deg, rgba(12,12,12,0.86), rgba(4,4,4,0.95)),
    radial-gradient(circle at top right, rgba(163,32,0,0.12), transparent 18rem);
  backdrop-filter: blur(8px);

  box-shadow:
    0 18px 46px rgba(0,0,0,0.5),
    inset 0 0 24px rgba(0,0,0,0.42);
}

.archive-thumb {
  position: relative;
  display: block;

  height: 92px;
  margin-bottom: 0.8rem;

  overflow: hidden;
  border: 1px solid rgba(227,70,70,0.14);
  background: #050505;
}

.archive-thumb::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.58)),
    radial-gradient(circle at center, transparent 45%, rgba(0,0,0,0.4) 100%);
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  filter: grayscale(44%) contrast(1.08) brightness(0.78);
  transform: scale(1.02);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.archive-card:hover .archive-thumb img {
  transform: scale(1.06);
  filter: grayscale(22%) contrast(1.1) brightness(0.9);
}

.archive-label {
  margin-bottom: 0.45rem;

  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.archive-card h2 {
  margin-bottom: 0.45rem;

  color: #f1eeee;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 0.95;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.archive-card p {
  color: #c8c8c8;
  font-size: 0.84rem;
  line-height: 1.55;
}

.archive-disclaimer {
  margin-top: 0.55rem;
  color: #8e8e8e !important;
  font-family: var(--font-mono);
  font-size: 0.64rem !important;
  line-height: 1.55 !important;
}

.archive-link {
  display: inline-flex;
  margin-top: 0.75rem;

  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.archive-link:hover {
  color: var(--red-soft);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;

  min-height: 44px;
  padding: 0 1.35rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  background: linear-gradient(0deg, rgba(0,0,0,0.88), rgba(0,0,0,0.42));
  border-top: 1px solid rgba(227,70,70,0.12);
  backdrop-filter: blur(8px);
}

.site-footer span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .site-header {
    min-height: 64px;
    padding: 0.75rem 1rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-sigil {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
  }

  .brand-copy strong {
    font-size: 0.78rem;
    letter-spacing: 1.3px;
  }

  .brand-copy small {
    font-size: 0.58rem;
    letter-spacing: 0.9px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;

    width: min(320px, calc(100vw - 1rem));

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 0.45rem;

    background: rgba(0,0,0,0.96);
    border: 1px solid rgba(227,70,70,0.2);
    border-right: none;
    box-shadow: 0 18px 42px rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);

    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;

    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.045);
    font-size: 0.78rem;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

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

  .hero {
    min-height: auto;
    padding: 7rem 1rem 7rem;
    align-content: start;
  }

  .hero-panel {
    margin-top: 1.5rem;
  }

  .slip-feature {
    grid-template-columns: 1fr;
  }

  .slip-image {
    min-height: 230px;
    border-right: none;
    border-bottom: 1px solid rgba(227,70,70,0.14);
  }

  .archive-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.2rem;
  }

  .site-footer {
    position: relative;
    min-height: 52px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.65rem 0.75rem;
  }

  .brand-copy strong {
    font-size: 0.72rem;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding: 6.5rem 0.75rem 3rem;
  }

  .hero-image-layer {
    background-position: center;
    opacity: 0.68;
  }

  .hero-panel {
    padding: 1.1rem;
  }

  .classification {
    font-size: 0.58rem;
    letter-spacing: 1.1px;
  }

  .studio-title {
    font-size: clamp(2.45rem, 15vw, 4rem);
    letter-spacing: 5px;
  }

  .studio-title span:first-child,
  .studio-title span:last-child {
    letter-spacing: 5px;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .studio-rule {
    margin: 1.05rem auto;
  }

  .slip-image {
    min-height: 180px;
  }

  .slip-copy {
    padding: 1rem;
  }

  .slip-copy h2 {
    font-size: 2rem;
    letter-spacing: 3px;
  }

  .slip-copy p:not(.feature-label) {
    font-size: 0.88rem;
  }

  .slip-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .slip-tags span {
    font-size: 0.56rem;
    letter-spacing: 0.62px;
  }

  .archive-card {
    padding: 0.95rem;
  }

  .archive-thumb {
    height: 82px;
  }

  .archive-card h2 {
    font-size: 1.55rem;
  }
}

@media (max-width: 390px) {
  .brand-sigil {
    display: none;
  }

  .studio-title {
    font-size: clamp(2.25rem, 16vw, 3.3rem);
    letter-spacing: 3px;
  }

  .studio-title span:first-child,
  .studio-title span:last-child {
    letter-spacing: 4px;
  }

  .hero-panel {
    padding: 1rem;
  }

  .site-nav {
    width: calc(100vw - 0.5rem);
  }
}