/* ==========================================================================
   THE LAST WICK — Atmospheric Noir Landing Page
   Palette: Abyssal Ink Navy, Living Ember Gold, Drowned Cyan Mist
   ========================================================================== */

:root {
  --bg-abyss: #06090f;
  --bg-deep: #0b101a;
  --bg-card: rgba(13, 19, 31, 0.78);
  --bg-card-solid: #0d131f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 184, 51, 0.35);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Dynamic Ember Theme Variables (updated live by Flame Skin switcher) */
  --ember-primary: #ffb833;
  --ember-secondary: #ff6b1a;
  --ember-core: #fff4cc;
  --mist-cyan: #1f6f78;

  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-abyss);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: var(--bg-abyss);
  position: relative;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Full-Viewport Atmospheric Canvas */
#noir-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: auto;
  cursor: crosshair;
}

main,
header,
footer {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

a,
button,
input,
form,
.theater-frame,
.skin-bar,
.ability-card,
.superpower-banner,
.gallery-card,
.signup-card,
.navbar,
.footer,
.lightbox {
  pointer-events: auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(6, 9, 15, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255, 184, 51, 0.4);
  box-shadow: 0 0 16px rgba(255, 184, 51, 0.25);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--ember-core);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.nav-links .nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ember-primary), var(--ember-secondary));
  color: #080b12;
  font-weight: 700;
  box-shadow: 0 0 20px color-mix(in srgb, var(--ember-primary) 40%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links .nav-cta:hover {
  color: #080b12;
  transform: translateY(-1px);
  box-shadow: 0 0 28px color-mix(in srgb, var(--ember-primary) 65%, transparent);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.25s ease;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 28px;
  background: rgba(6, 9, 15, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer.open {
  display: flex;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  padding: 15px 24px;
  font-size: 1rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ember-primary), var(--ember-secondary));
  color: #080b12;
  box-shadow: 0 0 28px color-mix(in srgb, var(--ember-primary) 42%, transparent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 36px color-mix(in srgb, var(--ember-primary) 65%, transparent);
}

.btn-ghost {
  background: rgba(13, 19, 31, 0.65);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--ember-primary);
  background: rgba(19, 28, 46, 0.85);
  transform: translateY(-2px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(13, 19, 31, 0.78);
  border: 1px solid color-mix(in srgb, var(--ember-primary) 40%, transparent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ember-core);
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember-primary);
  box-shadow: 0 0 10px var(--ember-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.35); }
}

.mono-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ember-primary);
  text-transform: uppercase;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 72px;
  position: relative;
  text-align: center;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, transparent 25%, rgba(6, 9, 15, 0.72) 85%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-title {
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.96;
  margin-top: 6px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.85);
}

.title-small {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.45em;
  color: var(--ember-core);
  opacity: 0.9;
  margin-bottom: 6px;
}

.title-main {
  font-size: clamp(3.1rem, 8.5vw, 6.2rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  background: linear-gradient(180deg, var(--ember-core) 0%, var(--ember-primary) 55%, var(--ember-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--ember-primary) 35%, transparent));
}

.hero-tagline {
  max-width: 600px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
}

.hero-tagline strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  padding: 18px 28px;
  border-radius: var(--radius-md);
  background: rgba(11, 16, 26, 0.68);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ember-primary);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 30px;
  background: var(--border-subtle);
}

.canvas-hint {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(6, 9, 15, 0.55);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hint-spark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember-primary);
  box-shadow: 0 0 8px var(--ember-primary);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.72) 0%, rgba(11, 16, 26, 0.88) 50%, rgba(6, 9, 15, 0.72) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ember-primary);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ==========================================================================
   Video Theater
   ========================================================================== */
.theater-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 40px color-mix(in srgb, var(--ember-primary) 12%, transparent);
  backdrop-filter: blur(12px);
}

.theater-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #04060a;
}

.theater-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.theater-stage:hover .theater-poster {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.theater-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.15) 0%, rgba(6, 9, 15, 0.82) 100%);
  cursor: pointer;
}

.play-btn {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid var(--ember-core);
  background: linear-gradient(135deg, var(--ember-primary), var(--ember-secondary));
  color: #080b12;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 40px color-mix(in srgb, var(--ember-primary) 65%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 3px;
}

.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 56px color-mix(in srgb, var(--ember-primary) 85%, transparent);
}

.theater-caption {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
}

.video-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--ember-primary) 20%, rgba(6, 9, 15, 0.8));
  border: 1px solid color-mix(in srgb, var(--ember-primary) 50%, transparent);
  color: var(--ember-core);
  margin-bottom: 8px;
}

.theater-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--text-primary);
}

.theater-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.theater-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-playlist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.playlist-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  text-align: left;
  border-radius: var(--radius-sm);
  background: rgba(6, 9, 15, 0.65);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.playlist-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.playlist-card.active {
  background: color-mix(in srgb, var(--ember-primary) 12%, rgba(13, 19, 31, 0.9));
  border-color: var(--ember-primary);
  color: var(--text-primary);
}

.playlist-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ember-primary);
  font-weight: 500;
}

.playlist-info {
  display: flex;
  flex-direction: column;
}

.playlist-info strong {
  font-size: 0.88rem;
  color: var(--text-primary);
}

.playlist-info span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Flame Skin Bar & Abilities Grid
   ========================================================================== */
.skin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 36px;
}

.skin-bar-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.skin-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skin-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 9, 15, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.skin-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.24);
}

.skin-chip.active {
  color: var(--text-primary);
  border-color: var(--ember-primary);
  box-shadow: 0 0 16px color-mix(in srgb, var(--ember-primary) 30%, transparent);
}

.swatch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

.abilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ability-card {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ability-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ember-primary) 45%, transparent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.ability-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ember-primary) 12%, rgba(6, 9, 15, 0.9));
  border: 1px solid color-mix(in srgb, var(--ember-primary) 30%, transparent);
  color: var(--ember-primary);
  margin-bottom: 16px;
}

.ability-icon svg {
  width: 28px;
  height: 28px;
}

.ability-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.ability-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.superpower-banner {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(19, 28, 46, 0.88), rgba(11, 16, 26, 0.92));
  border: 1px solid var(--border-glow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.superpower-copy {
  max-width: 640px;
}

.superpower-copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 6px 0 8px;
}

.superpower-copy p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.superpower-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 340px;
}

.sp-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--ember-primary) 14%, rgba(6, 9, 15, 0.85));
  border: 1px solid color-mix(in srgb, var(--ember-primary) 35%, transparent);
  color: var(--ember-core);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-solid);
  cursor: zoom-in;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--ember-primary);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 15, 0.92) 80%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* ==========================================================================
   Closed Testing Signup Card
   ========================================================================== */
.section-cta {
  padding-bottom: 112px;
}

.signup-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 22, 36, 0.92), rgba(8, 12, 20, 0.95));
  border: 1px solid var(--border-glow);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7), 0 0 60px color-mix(in srgb, var(--ember-primary) 12%, transparent);
  backdrop-filter: blur(14px);
}

.signup-info .section-title {
  margin-top: 16px;
}

.signup-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.tester-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tester-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.perk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember-primary);
  box-shadow: 0 0 10px var(--ember-primary);
  margin-top: 8px;
  flex-shrink: 0;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.req { color: var(--ember-primary); }
.opt { color: var(--text-muted); font-weight: 400; }

.form-group input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(6, 9, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--ember-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ember-primary) 22%, transparent);
}

.form-group small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(8, 11, 18, 0.3);
  border-top-color: #080b12;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-feedback {
  font-size: 0.9rem;
  min-height: 22px;
}

.form-feedback.success {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.form-feedback.error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Footer & Lightbox
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 9, 15, 0.92);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.footer-brand span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-brand a {
  color: var(--ember-primary);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 10, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 80vh;
  max-width: 92vw;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glow);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85);
}

.lightbox p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .abilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-playlist {
    grid-template-columns: repeat(2, 1fr);
  }
  .signup-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .gallery-grid,
  .abilities-grid,
  .video-playlist,
  .form-row {
    grid-template-columns: 1fr;
  }
  .trust-divider {
    display: none;
  }
  .trust-strip {
    gap: 16px 24px;
  }
}
