/* Femme Lords of Outpost 9 — Modern static site */

:root {
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --bg: #f7f5fb;
  --bg-elevated: #ffffff;
  --bg-muted: #ede9f5;
  --text: #120f18;
  --text-muted: #5c5470;
  --text-subtle: #8b839c;
  --border: rgba(18, 15, 24, 0.08);
  --border-strong: rgba(18, 15, 24, 0.14);

  --accent: #6d28d9;
  --accent-hover: #5b21b6;
  --accent-soft: rgba(109, 40, 217, 0.1);
  --accent-glow: rgba(109, 40, 217, 0.35);
  --cyan: #0891b2;
  --cyan-soft: rgba(8, 145, 178, 0.12);
  --gradient-hero: linear-gradient(135deg, #f7f5fb 0%, #ebe4ff 45%, #e0f7fa 100%);
  --gradient-accent: linear-gradient(135deg, #6d28d9 0%, #0891b2 100%);
  --shadow-sm: 0 1px 2px rgba(18, 15, 24, 0.06);
  --shadow-md: 0 8px 30px rgba(18, 15, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 15, 24, 0.12);
  --header-bg: rgba(247, 245, 251, 0.82);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: min(1140px, calc(100% - 2.5rem));
  --header-h: 72px;
}

[data-theme="dark"] {
  --bg: #07050d;
  --bg-elevated: #110e1a;
  --bg-muted: #1a1528;
  --text: #f3f0fa;
  --text-muted: #b4adc4;
  --text-subtle: #7a7390;
  --border: rgba(243, 240, 250, 0.08);
  --border-strong: rgba(243, 240, 250, 0.16);
  --accent: #a78bfa;
  --accent-hover: #c4b5fd;
  --accent-soft: rgba(167, 139, 250, 0.12);
  --accent-glow: rgba(167, 139, 250, 0.25);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.1);
  --gradient-hero: linear-gradient(135deg, #07050d 0%, #150f28 50%, #0c1a24 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(7, 5, 13, 0.85);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.logo:hover { color: var(--text); }

.logo img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  padding: 0.5rem 0.875rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon { display: none; }

[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
}

.menu-toggle svg { width: 20px; height: 20px; }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 999;
  background: var(--bg);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav-mobile.open { transform: translateX(0); }

.nav-mobile a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a[aria-current="page"] { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.375rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding-inline: 0.75rem;
}

.btn-ghost:hover { color: var(--accent); }

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header-actions .btn-primary { display: none; }

@media (min-width: 640px) {
  .header-actions .btn-primary { display: inline-flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero--banner .hero-bg,
.hero--cinematic .hero-bg {
  background: url("../images/hero-banner.png") center center / cover no-repeat;
}

.hero--cinematic {
  min-height: clamp(520px, 85vh, 920px);
  align-items: flex-start;
}

.hero--cinematic .hero-grid {
  display: none;
}

.hero--cinematic .hero-bg::before {
  background:
    radial-gradient(
      ellipse 85% 55% at 50% 28%,
      rgba(7, 5, 13, 0.92) 0%,
      rgba(7, 5, 13, 0.72) 42%,
      rgba(7, 5, 13, 0.35) 68%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 5, 13, 0.82) 0%,
      rgba(7, 5, 13, 0.62) 28%,
      rgba(7, 5, 13, 0.48) 52%,
      rgba(7, 5, 13, 0.58) 78%,
      rgba(7, 5, 13, 0.85) 100%
    );
  opacity: 1;
}

[data-theme="light"] .hero--cinematic .hero-bg::before {
  background:
    radial-gradient(
      ellipse 85% 55% at 50% 28%,
      rgba(247, 245, 251, 0.94) 0%,
      rgba(247, 245, 251, 0.78) 42%,
      rgba(247, 245, 251, 0.45) 68%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(247, 245, 251, 0.88) 0%,
      rgba(247, 245, 251, 0.72) 28%,
      rgba(247, 245, 251, 0.55) 52%,
      rgba(247, 245, 251, 0.65) 78%,
      rgba(247, 245, 251, 0.9) 100%
    );
}

.hero-cinematic-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(2.5rem, 8vh, 5rem) clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
}

.hero-cinematic-inner::before {
  content: "";
  position: absolute;
  inset: -0.5rem -1.5rem;
  border-radius: 1.25rem;
  background: radial-gradient(
    ellipse 100% 100% at 50% 45%,
    rgba(7, 5, 13, 0.45) 0%,
    rgba(7, 5, 13, 0.2) 55%,
    transparent 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}

[data-theme="light"] .hero-cinematic-inner::before {
  background: radial-gradient(
    ellipse 100% 100% at 50% 45%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.25) 55%,
    transparent 100%
  );
}

.hero-title--display {
  font-size: clamp(2.5rem, 7.5vw, 4.25rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 1.75rem;
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 8px 28px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(255, 255, 255, 0.15);
}

.hero-title-accent {
  display: block;
  margin-top: 0.35rem;
  line-height: 1.05;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.hero-title-accent-word {
  display: inline-block;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.hero-title-accent-word--cyan {
  color: #00d2ff;
  margin-right: 0.2em;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.55),
    0 -1px 0 rgba(102, 230, 255, 0.85),
    1px 1px 0 #008fb3,
    2px 2px 0 #006d88,
    3px 3px 0 #004d60,
    0 4px 14px rgba(0, 0, 0, 0.85);
}

.hero-title-accent-word--violet {
  color: #d900ff;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.45),
    0 -1px 0 rgba(232, 102, 255, 0.85),
    1px 1px 0 #9a00bf,
    2px 2px 0 #72008f,
    3px 3px 0 #4a005c,
    0 4px 14px rgba(0, 0, 0, 0.85);
}

.hero--cinematic .hero-actions {
  justify-content: center;
}

.hero--cinematic .hero-desc {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.94);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 6px 20px rgba(0, 0, 0, 0.55);
}

.hero--cinematic .hero-badge {
  background: rgba(7, 5, 13, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e0e7ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .hero-title--display {
  color: var(--text);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .hero-title-accent-word--cyan {
  color: #00d2ff;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.9),
    0 -1px 0 rgba(102, 230, 255, 0.75),
    1px 1px 0 #008fb3,
    2px 2px 0 #006d88,
    0 3px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hero-title-accent-word--violet {
  color: #d900ff;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.85),
    0 -1px 0 rgba(232, 102, 255, 0.7),
    1px 1px 0 #9a00bf,
    2px 2px 0 #72008f,
    0 3px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hero--cinematic .hero-desc {
  color: var(--text);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .hero--cinematic .hero-badge {
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  text-shadow: none;
}

.hero--banner .hero-bg {
  background:
    linear-gradient(135deg, rgba(7, 5, 13, 0.88) 0%, rgba(7, 5, 13, 0.72) 45%, rgba(7, 5, 13, 0.55) 100%),
    url("../images/hero-banner.png") center / cover no-repeat;
}

[data-theme="light"] .hero--banner .hero-bg {
  background:
    linear-gradient(135deg, rgba(247, 245, 251, 0.92) 0%, rgba(247, 245, 251, 0.78) 50%, rgba(247, 245, 251, 0.65) 100%),
    url("../images/hero-banner.png") center / cover no-repeat;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(8, 145, 178, 0.15), transparent 50%);
  opacity: 0.8;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title span:not(.hero-title-accent):not(.hero-title-accent-word) {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-visual {
  position: relative;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.hero-visual-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--transition);
}

.hero-visual-grid img:hover { transform: scale(1.02); }

.hero-visual-grid img:first-child {
  transform: translateY(-12px);
}

.hero-visual-grid img:nth-child(2) {
  transform: translateY(12px);
}

.hero-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Stats */
.stats-bar {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .stat-item { border-bottom: none; border-right: 1px solid var(--border); }
  .stat-item:last-child { border-right: none; }
}

.stat-item:nth-child(odd) { border-right: 1px solid var(--border); }

@media (min-width: 768px) {
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.card-icon svg { width: 24px; height: 24px; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.625rem;
}

.card-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Collection cards */
.collection-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.collection-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.collection-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collection-card:hover .collection-card-image img {
  transform: scale(1.05);
}

.collection-card-body { padding: 1.75rem; }

.collection-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

/* Gallery / Lords */
.lords-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.lord-card {
  flex: 0 0 clamp(180px, 28vw, 240px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-grid .lord-card {
  flex: unset;
}

.lord-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.lord-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.lord-card figcaption {
  padding: 0.875rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.character-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .character-showcase {
    grid-template-columns: repeat(4, 1fr);
  }
}

.character-showcase img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.character-showcase img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.character-showcase--split {
  margin-bottom: 0;
  grid-template-columns: repeat(2, 1fr);
}

.lords-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .lords-showcase { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lords-showcase {
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 1fr;
  }

  .lords-showcase .lord-card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.lords-showcase .lord-card {
  flex: unset;
  height: 100%;
}

.lords-showcase .lord-card img {
  aspect-ratio: 1;
}

/* Split section */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split-section { grid-template-columns: 1fr 1fr; }
}

.split-section.reverse .split-content { order: 2; }
.split-section.reverse .split-visual { order: 1; }

@media (min-width: 900px) {
  .split-section.reverse .split-content { order: 1; }
  .split-section.reverse .split-visual { order: 2; }
}

.split-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.image-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.image-stack img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-mosaic img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-elevated);
}

.media-frame img,
.media-frame video {
  width: 100%;
  display: block;
}

@media (min-width: 768px) {
  .card-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 5px);
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-phase {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.375rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.625rem;
}

.timeline-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.timeline-item img {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  max-width: 200px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 1.5rem;
}

.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}

.team-card:hover img {
  border-color: var(--accent);
  transform: scale(1.03);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.875rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.team-social a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.team-social svg { width: 16px; height: 16px; }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-answer-inner p { margin: 0 0 0.75rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}
.faq-answer-inner li { margin-bottom: 0.375rem; }

/* CTA banner */
.cta-banner {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-inner .section-title { margin-bottom: 1rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 0%, var(--accent-glow), transparent);
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 720px;
}

.page-hero-desc {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* Contact */
.contact-centered {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.contact-centered .contact-links {
  margin-inline: auto;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-centered .contact-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
  }
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-link:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-link-icon svg { width: 22px; height: 22px; }

.contact-link-label {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-bottom: 0.125rem;
}

.contact-link-value {
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-textarea { min-height: 140px; resize: vertical; }

.form-note {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 5vw, 4rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand p {
  margin: 1rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer-logo img { height: 40px; width: auto; }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--text);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.625rem; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 0.625rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-subtle);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Utilities */
.bg-muted { background: var(--bg-muted); }
.bg-elevated { background: var(--bg-elevated); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mx-auto { margin-inline: auto; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 2rem; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
