:root {
  --bg: #07111f;
  --bg-deep: #050b15;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f4f1ea;
  --muted: #aab4c8;
  --muted-strong: #7f8aa2;
  --accent: #ddb15a;
  --accent-strong: #ffd36f;
  --accent-dark: #b98519;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content-width: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(221, 177, 90, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(83, 139, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #0a1324 0%, var(--bg) 48%, var(--bg-deep) 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #10131a;
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 18px 0 36px;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  background: rgba(5, 9, 18, 0.36);
  border-radius: 0 0 24px 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-dark));
  box-shadow: 0 0 22px rgba(221, 177, 90, 0.45);
  transform: rotate(45deg);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  background: rgba(7, 17, 31, 0.95);
}

.brand-name {
  font-size: 1.06rem;
}

.brand-name em {
  font-style: normal;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 12px 18px;
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.92);
  font-size: 0.98rem;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  background: var(--accent);
  color: #0d1220;
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 40px;
  align-items: center;
  padding: 72px 12px 48px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.9rem);
  max-width: 10ch;
}

.hero h1 span {
  display: block;
  color: var(--accent);
  margin-top: 8px;
}

.hero-text,
.section-heading p,
.about-copy p,
.featured-body p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.03rem;
}

.hero-text {
  max-width: 56ch;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #f0ca73);
  color: #111624;
  box-shadow: 0 16px 30px rgba(221, 177, 90, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats li {
  min-width: 130px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  color: #fff;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.featured-card {
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 430px;
  justify-self: end;
}

.featured-art {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 35%, rgba(255, 211, 111, 0.22), transparent 22%),
    linear-gradient(160deg, rgba(17, 25, 40, 0.96) 0%, rgba(27, 37, 61, 0.96) 100%);
}

.featured-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #0f1526;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-glow {
  position: absolute;
  inset: auto 0 -12% 0;
  height: 60%;
  background:
    radial-gradient(circle at 50% 30%, rgba(221, 177, 90, 0.22), transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(221, 177, 90, 0.18) 100%);
  filter: blur(14px);
}

.featured-body {
  padding: 22px 24px 24px;
}

.featured-kicker {
  margin: 0 0 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 900;
}

.featured-body h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.05em;
}

.featured-body p {
  margin: 14px 0 0;
}

.featured-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.featured-meta span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f2e8ca;
  font-size: 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.section {
  padding: 42px 12px 12px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.65rem);
}

.section-heading p:last-child,
.about-copy p:last-of-type {
  margin-bottom: 0;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.series-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.series-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 211, 111, 0.25);
  background: rgba(255, 255, 255, 0.065);
}

.series-poster {
  position: relative;
  height: 260px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.18) 100%);
}

.series-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.series-poster::before,
.series-poster::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
}

.series-poster::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.series-poster::after {
  inset: auto 18px 18px 18px;
  height: 88px;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.56));
}

.series-copy {
  position: relative;
  padding: 16px 16px 18px;
}

.series-copy h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.series-copy p {
  margin: 10px 0 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.series-copy span {
  position: absolute;
  right: 16px;
  bottom: 18px;
  color: #f2e8ca;
  font-size: 0.8rem;
  font-weight: 800;
}

.tone-sunrise .series-poster {
  background: linear-gradient(135deg, #172238, #6c4a2f);
}

.tone-ember .series-poster {
  background: linear-gradient(135deg, #281821, #8a4238);
}

.tone-reef .series-poster {
  background: linear-gradient(135deg, #183548, #274c61);
}

.tone-ink .series-poster {
  background: linear-gradient(135deg, #111724, #2a3550);
}

.tone-citrine .series-poster {
  background: linear-gradient(135deg, #352b17, #805e2a);
}

.tone-tide .series-poster {
  background: linear-gradient(135deg, #13263b, #294b63);
}

.tone-dune .series-poster {
  background: linear-gradient(135deg, #2d2417, #725c36);
}

.tone-orchid .series-poster {
  background: linear-gradient(135deg, #291b31, #533c73);
}

.tone-mist .series-poster {
  background: linear-gradient(135deg, #223045, #4b607c);
}

.tone-fog .series-poster {
  background: linear-gradient(135deg, #182232, #374663);
}

.tone-cedar .series-poster {
  background: linear-gradient(135deg, #2e1d1a, #6f4833);
}

.tone-evening .series-poster {
  background: linear-gradient(135deg, #11192a, #31485e);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 34px;
  align-items: center;
  margin-top: 40px;
  padding: 30px 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-copy p {
  max-width: 62ch;
}

.about-metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.about-metrics div {
  min-width: 170px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-metrics strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: var(--accent-strong);
}

.about-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.about-art {
  position: relative;
  min-height: 320px;
}

.floating-panel {
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 211, 111, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.panel-one {
  left: 9%;
  top: 12%;
  width: 38%;
  height: 56%;
}

.panel-two {
  right: 15%;
  top: 4%;
  width: 27%;
  height: 64%;
}

.panel-three {
  right: 0;
  bottom: 6%;
  width: 42%;
  height: 38%;
  background:
    radial-gradient(circle at 50% 20%, rgba(123, 188, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: 28px;
  margin: 42px 12px 0;
  padding: 28px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-links h3 {
  margin: 4px 0 14px;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

.footer-links a,
.footer-links span {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 1080px) {
  .hero,
  .about {
    grid-template-columns: 1fr;
  }

  .featured-card {
    justify-self: start;
    max-width: 520px;
  }

  .series-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 24px, 1180px);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .nav-link {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

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

  .about,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100vw - 16px, 1180px);
  }

  .site-header,
  .about,
  .site-footer {
    border-radius: 24px;
  }

  .hero-actions,
  .hero-stats,
  .about-metrics {
    gap: 12px;
  }

  .series-grid {
    grid-template-columns: 1fr;
  }

  .series-poster {
    height: 240px;
  }

  .about-art {
    min-height: 240px;
  }
}
