html {
  overflow-x: hidden;
}

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

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

svg {
  height: auto;
}

:root {
  --primary-red: #a81e1e;
  --dark-red: #6b1414;
  --gold: #d8b375;
  --gold-soft: rgba(216, 179, 117, 0.45);
  --deep-black: #0b0b0b;
  --dark-bg: #1a0a0a;
  --darker-bg: #2a1010;
  --ink: #f0e6e6;
  --text-color: #1f2937;
  --light-bg: #ffffff;
  --light-border: #e5e7eb;
  --light-text: #1f2937;
}

body {
  background: linear-gradient(120deg, #0b0b0b 10%, #1f0a0a 55%, #3b1414 100%);
  overflow-x: hidden;
  font-family: 'Lora', serif;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease;
  margin: 0;
  padding: 0;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20% 0 0 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  opacity: 0.16;
  will-change: transform;
}

body::before {
  background-image:
    radial-gradient(2px 2px at 12% 92%, rgba(255, 72, 72, 0.52), transparent 70%),
    radial-gradient(1.5px 1.5px at 28% 96%, rgba(255, 58, 58, 0.44), transparent 72%),
    radial-gradient(2px 2px at 44% 90%, rgba(221, 30, 45, 0.5), transparent 70%),
    radial-gradient(1.6px 1.6px at 62% 95%, rgba(255, 86, 86, 0.42), transparent 70%),
    radial-gradient(2px 2px at 78% 93%, rgba(184, 20, 34, 0.52), transparent 72%),
    radial-gradient(1.4px 1.4px at 90% 97%, rgba(255, 98, 98, 0.4), transparent 72%);
  animation: ember-rise 15s linear infinite, particle-pulse 3.8s ease-in-out infinite alternate;
}

body::after {
  background-image:
    radial-gradient(1.4px 1.4px at 8% 98%, rgba(255, 78, 78, 0.34), transparent 72%),
    radial-gradient(2px 2px at 21% 94%, rgba(194, 24, 24, 0.42), transparent 72%),
    radial-gradient(1.5px 1.5px at 36% 99%, rgba(255, 96, 96, 0.3), transparent 72%),
    radial-gradient(2px 2px at 54% 93%, rgba(173, 12, 38, 0.38), transparent 72%),
    radial-gradient(1.4px 1.4px at 70% 97%, rgba(255, 105, 105, 0.32), transparent 72%),
    radial-gradient(1.8px 1.8px at 86% 95%, rgba(224, 32, 54, 0.4), transparent 72%),
    radial-gradient(1.2px 1.2px at 14% 22%, rgba(235, 242, 255, 0.48), transparent 72%),
    radial-gradient(1px 1px at 26% 12%, rgba(255, 255, 255, 0.42), transparent 72%),
    radial-gradient(1.2px 1.2px at 41% 18%, rgba(228, 238, 255, 0.45), transparent 72%),
    radial-gradient(1px 1px at 57% 9%, rgba(245, 248, 255, 0.38), transparent 72%),
    radial-gradient(1.2px 1.2px at 71% 16%, rgba(238, 244, 255, 0.45), transparent 72%),
    radial-gradient(1px 1px at 84% 11%, rgba(255, 255, 255, 0.4), transparent 72%),
    radial-gradient(1.2px 1.2px at 93% 21%, rgba(230, 240, 255, 0.44), transparent 72%);
  opacity: 0.12;
  animation: ember-rise-soft 21s linear infinite, star-twinkle 4.5s ease-in-out infinite alternate, particle-pulse 5.2s ease-in-out infinite alternate;
}

body > * {
  position: relative;
  z-index: 1;
}

@keyframes ember-rise {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-25vh);
  }
}

@keyframes ember-rise-soft {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-18vh);
  }
}

@keyframes star-twinkle {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 0.18;
  }
}

@keyframes particle-pulse {
  from {
    filter: blur(0px);
  }
  to {
    filter: blur(0.4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--gold), rgba(216, 179, 117, 0.7));
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(216, 179, 117, 0.4);
}

.theme-toggle .theme-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image svg {
  width: 300px;
  height: 300px;
  color: var(--secondary-color);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-text {
  font-size: 4rem;
  font-weight: bold;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(216, 179, 117, 0.5);
  letter-spacing: 8px;
  font-family: 'Cinzel', serif;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--ink);
  letter-spacing: 2px;
  font-family: 'Lora', serif;
  text-align: center;
}

.top {
  width: min(1600px, 96%);
  margin: 80px auto 30px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  border-radius: 30px;
  border: 1px solid rgba(216, 179, 117, 0.35);
  background: radial-gradient(circle at 10% 0%, rgba(216, 179, 117, 0.2), transparent 45%),
    linear-gradient(145deg, rgba(10, 5, 5, 0.88), rgba(35, 12, 12, 0.9));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  z-index: 1;
}

.hero-kicker {
  margin: 0;
  letter-spacing: 3.5px;
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 600;
  opacity: 0.45;
}

.hero-icon {
  position: absolute;
  top: 16px;
  width: clamp(44px, 4.2vw, 68px);
  height: auto;
  opacity: 0.22;
  filter: drop-shadow(0 0 8px rgba(216, 179, 117, 0.35));
  pointer-events: none;
  z-index: 0;
}

.hero-icon-left {
  left: clamp(10px, 2.2vw, 24px);
  transform: rotate(-12deg);
}

.hero-icon-right {
  right: clamp(10px, 2.2vw, 24px);
  transform: rotate(12deg);
}

/* Hero crown icon — single centered glowing icon inside .top */
.hero-crown-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 14px rgba(216, 179, 117, 0.65)) drop-shadow(0 0 28px rgba(216, 179, 117, 0.3));
  animation: icon-glow-pulse 2.5s ease-in-out infinite alternate;
}

@keyframes icon-glow-pulse {
  from {
    filter: drop-shadow(0 0 10px rgba(216, 179, 117, 0.55)) drop-shadow(0 0 22px rgba(216, 179, 117, 0.25));
  }
  to {
    filter: drop-shadow(0 0 22px rgba(216, 179, 117, 0.85)) drop-shadow(0 0 44px rgba(216, 179, 117, 0.45));
  }
}

.hero-copy .hero-text {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  text-align: center;
}

.hero-copy .hero-subtitle {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
  color: rgba(240, 230, 230, 0.9);
  text-align: center;
  max-width: 800px;
}

.hero-media {
  width: min(100%, 1500px);
  max-height: 82vh;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(216, 179, 117, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  background: #000;
  z-index: 1;
  position: relative;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.rotate-overlay {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(92%, 420px);
  background: rgba(11, 11, 11, 0.78);
  border: 1px solid rgba(216, 179, 117, 0.4);
  border-radius: 14px;
  padding: 10px 12px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  backdrop-filter: blur(4px);
}

.rotate-overlay-text {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
}

.rotate-overlay-btn {
  border: 1px solid rgba(216, 179, 117, 0.5);
  background: rgba(216, 179, 117, 0.12);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  cursor: pointer;
}

.rotate-overlay-btn:hover {
  background: rgba(216, 179, 117, 0.22);
}

.rotate-overlay.is-hidden {
  display: none !important;
}

.floating-creed-icon {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(216, 179, 117, 0.45);
  background: rgba(14, 7, 7, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.floating-creed-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.9;
}

.floating-creed-icon button {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(216, 179, 117, 0.6);
  background: #120909;
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.floating-creed-icon.is-hidden {
  display: none;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #1e3a8a;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #0284c7;
}

.join {
  background-color: #371919;
  border: none;
  border-radius: 17px;
  border: 1px solid var(--gold);
  padding: 18px 55px;
  font-family: Lora, serif;
  font-size: 1.4rem;
  color: var(--gold);
  cursor: pointer;
  transition: 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: pulse-border 2s infinite ease-in-out;
  text-decoration: none;
}

.join:hover {
  background-color: #2c0a0a;
  transform: translateY(-2px);
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 179, 117, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(216, 179, 117, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 179, 117, 0.7);
  }
}

.ghost-btn {
  border: 1px solid rgba(216, 179, 117, 0.5);
  padding: 16px 38px;
  border-radius: 17px;
  color: var(--ink);
  text-decoration: none;
  font-family: Lora, serif;
  font-size: 1.1rem;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost-btn:hover {
  background-color: rgba(216, 179, 117, 0.1);
  color: #fff;
}

/* Principles Section */
.principles {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.principles h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.principle-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  border-left: 4px solid var(--secondary-color);
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.principle-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.principle-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.principle-card p {
  color: #6b7280;
  line-height: 1.7;
}

/* Services Section */
.services {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 2rem;
  margin: 4rem 0;
}

.services h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.service-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.service-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-item p {
  opacity: 0.9;
}

/* Values Section */
.values {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.values h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.values-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.values-list li {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-color);
  font-size: 1.1rem;
}

.values-list strong {
  color: var(--primary-color);
}

/* Contact Section */
.contact {
  background: white;
  padding: 4rem 2rem;
  margin: 4rem 0;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact > p {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h5 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-section p {
  color: #d1d5db;
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Invite Section */
.invite-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
  width: 92%;
  max-width: 1400px;
  margin: 30px auto 80px;
  padding: 32px;
  background: radial-gradient(circle at top left, rgba(216, 179, 117, 0.1), transparent 60%),
    rgba(12, 6, 6, 0.7);
  border: 1px solid rgba(216, 179, 117, 0.3);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.invite-section > * {
  min-width: 0;
}

.invite-left,
.email-card {
  width: 100%;
}

.invite-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
}

.invite-eyebrow {
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.invite-left h2 {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--ink);
}

.invite-subtext {
  font-size: 1.04rem;
  color: rgba(240, 230, 230, 0.8);
  max-width: 640px;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.invite-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.95rem;
  color: rgba(240, 230, 230, 0.75);
}

.invite-points span {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(216, 179, 117, 0.08);
  border: 1px solid rgba(216, 179, 117, 0.2);
}

.invite-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.invite-stats--card {
  margin-top: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.invite-stats--card .stat-card {
  padding: 9px 10px;
  border-radius: 12px;
}

.invite-stats--card .stat-number {
  font-size: 1.1rem;
}

.invite-stats--card .stat-label {
  font-size: 0.76rem;
}

.stat-card {
  background: rgba(17, 8, 8, 0.7);
  border: 1px solid rgba(216, 179, 117, 0.25);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(240, 230, 230, 0.75);
}

.pgp-card {
  margin-top: 14px;
  background: rgba(17, 8, 8, 0.68);
  border: 1px solid rgba(216, 179, 117, 0.24);
  border-radius: 16px;
  padding: 14px;
}

.pgp-card-title {
  margin: 0 0 4px;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.pgp-card-subtitle {
  margin: 0 0 8px;
  color: rgba(240, 230, 230, 0.78);
  font-size: 0.86rem;
}

.pgp-key-block {
  margin: 0;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(216, 179, 117, 0.25);
  background: rgba(8, 4, 4, 0.8);
  color: rgba(240, 230, 230, 0.9);
  font-size: 0.66rem;
  line-height: 1.4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  overflow: auto;
  max-height: 180px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pgp-meta {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(240, 230, 230, 0.86);
  font-size: 0.82rem;
}

.verification-box {
  margin-top: 4px;
  border: 1px solid rgba(216, 179, 117, 0.28);
  border-radius: 12px;
  background: rgba(8, 4, 4, 0.72);
  padding: 10px;
}

.verification-title {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--gold);
}

.verification-pgp {
  margin: 0;
  color: rgba(240, 230, 230, 0.9);
  font-size: 0.66rem;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  max-height: 180px;
  overflow: auto;
}

/* Email Card */
.email-card {
  background: linear-gradient(160deg, rgba(216, 179, 117, 0.12), rgba(27, 12, 12, 0.9));
  border: 1px solid rgba(216, 179, 117, 0.3);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  max-width: 520px;
  justify-self: end;
}

@media (max-width: 620px) {
  .invite-stats--card {
    grid-template-columns: 1fr;
  }
}

.email-card-header {
  font-size: 1.6rem;
  font-family: "Cinzel", serif;
  color: var(--gold);
}

.email-card-subtext {
  color: rgba(240, 230, 230, 0.8);
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(216, 179, 117, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: Lora, serif;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.input-row input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 179, 117, 0.2);
}

.input-row button {
  background-color: var(--gold);
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  color: #1a0b0b;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.input-row button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(216, 179, 117, 0.3);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(240, 230, 230, 0.7);
}

.form-status {
  min-height: 20px;
  color: var(--gold);
  font-size: 0.95rem;
}

/* Main Container */
.main-container {
  background: rgba(12, 6, 6, 0.6);
}

.page-header {
  text-align: center;
  margin-bottom: 30px;
  color: var(--ink);
}

.page-header h1 {
  font-family: "Cinzel", serif;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.title-white {
  color: var(--ink);
}

.title-red {
  color: var(--primary-red);
}

/* Creed Cards */
.creed-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.creed-card {
  background: rgba(18, 8, 8, 0.8);
  border: 1px solid rgba(216, 179, 117, 0.2);
  border-left: 4px solid var(--primary-red);
  border-radius: 20px;
  padding: 17px;
  color: var(--ink);
  transition: all 0.3s ease;
  text-align: center;
}

.creed-card:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 179, 117, 0.4);
  box-shadow: 0 10px 30px rgba(168, 30, 30, 0.2);
}

.creed-card h2 {
  color: var(--gold);
  margin-bottom: 12px;
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
}

.card-icon {
  font-size: 2.5rem;
  margin: 10px 0;
}

.quote {
  color: rgba(240, 230, 230, 0.7);
  font-style: italic;
  margin: 12px 0;
  font-size: 1rem;
}

.creed-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.creed-card li::before {
  content: "•";
  color: var(--gold);
  margin-right: 8px;
}

/* Feature Band */
.feature-band {
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(120deg, rgba(13, 6, 6, 0.85) 0%, rgba(30, 10, 10, 0.95) 100%);
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-band-inner {
  max-width: 1100px;
  width: 100%;
  display: grid;
  gap: 24px;
  color: var(--ink);
  text-align: center;
}

.band-eyebrow {
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
}

.feature-band h2 {
  font-size: 2.4rem;
  font-family: "Cinzel", serif;
  color: var(--ink);
}

.feature-band p {
  color: rgba(240, 230, 230, 0.8);
}

.band-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.band-points h3 {
  color: var(--gold);
  margin-bottom: 8px;
}

.band-desc {
  font-size: 1.1rem;
  color: rgba(240, 230, 230, 0.85);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
}

.band-point-card {
  background: rgba(16, 7, 7, 0.75);
  border: 1px solid rgba(216, 179, 117, 0.2);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.band-point-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 12px 28px rgba(168, 30, 30, 0.2);
}

.band-point-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

/* PNG icon inside band-point cards */
.band-point-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.band-point-icon--white {
  filter: brightness(0) invert(1);
}

.band-point-icon--mauve {
  filter: brightness(0) saturate(100%) invert(44%) sepia(13%) saturate(600%) hue-rotate(308deg) brightness(87%) contrast(88%);
}

.band-point-icon-pair {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 12px;
}

/* Smaller size for paired icons */
.band-point-icon-pair .band-point-icon-img {
  width: 44px;
  height: 44px;
  margin: 0;
}

.band-point-icon--flip {
  transform: scaleX(-1);
}

.band-point-card h3 {
  color: var(--gold);
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
}

/* Choose Your Path Section */
.path-choice {
  width: 92%;
  max-width: 1200px;
  margin: 90px auto;
  text-align: center;
}

.path-choice-header {
  margin-bottom: 42px;
}

.path-choice-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  margin: 10px 0 6px;
  letter-spacing: 4px;
}

.path-choice-sub {
  font-size: 1.15rem;
  color: rgba(240, 230, 230, 0.7);
  font-style: italic;
}

.path-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.path-card {
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  transition: all 0.3s ease;
}

.path-card--lone {
  background: rgba(14, 7, 7, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.path-card--lone:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 40, 40, 0.4);
}

.path-card--creed {
  background: radial-gradient(circle at top left, rgba(216, 179, 117, 0.18), transparent 60%),
    rgba(20, 8, 8, 0.85);
  border: 1px solid rgba(216, 179, 117, 0.45);
  box-shadow: 0 20px 50px rgba(168, 30, 30, 0.2);
}

.path-card--creed:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(168, 30, 30, 0.3);
}

.path-card-icon {
  font-size: 2.2rem;
}

/* PNG icon inside path-choice cards */
.path-card-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.path-card-icon--mauve {
  filter: brightness(0) saturate(100%) invert(44%) sepia(13%) saturate(600%) hue-rotate(308deg) brightness(87%) contrast(88%);
}

/* Expect-item icons (How It Works page) */
.expect-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 0 10px;
}

.expect-icon--white {
  filter: brightness(0) invert(1);
}

.expect-icon--always-white {
  filter: brightness(0) invert(1);
}

.expect-icon--transparent {
  opacity: 0.68;
}

.path-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 0;
}

.path-card--lone h3 {
  color: rgba(240, 230, 230, 0.5);
}

.path-card p {
  color: rgba(240, 230, 230, 0.78);
  line-height: 1.7;
  font-size: 1rem;
}

.path-card--lone p {
  color: rgba(240, 230, 230, 0.45);
}

.path-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.path-card li {
  color: rgba(240, 230, 230, 0.65);
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}

.path-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--primary-red);
}

.path-card--creed li {
  color: rgba(240, 230, 230, 0.85);
}

.path-card--creed li::before {
  content: "✦";
  color: var(--gold);
  font-size: 0.7rem;
  top: 2px;
}

.path-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  align-self: flex-start;
}

.path-label--red {
  background: rgba(168, 30, 30, 0.15);
  color: rgba(200, 80, 80, 0.8);
  border: 1px solid rgba(168, 30, 30, 0.3);
}

/* Steps CTA */
.steps-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Chapters Section */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.chapter-card {
  background: rgba(14, 6, 6, 0.75);
  border: 1px solid rgba(216, 179, 117, 0.2);
  border-radius: 18px;
  padding: 24px;
  color: var(--ink);
  transition: all 0.3s ease;
}

.chapter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 179, 117, 0.4);
}

.chapter-card h3 {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  margin-bottom: 14px;
}

.chapter-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chapter-card li {
  color: rgba(240, 230, 230, 0.78);
  font-size: 0.95rem;
  padding-left: 14px;
  position: relative;
}

.chapter-card li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--primary-red);
}

/* Creed Card Images */
.creed-card .card-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 10px auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(168, 30, 30, 0.25));
}

.laurel-icon {
  width: 60px;
  height: auto;
  opacity: 0.55;
  margin: 6px auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(216, 179, 117, 0.25));
}

/* Soldier images in FAQ */
.soldier {
  height: 100px;
  width: auto;
  opacity: 0.38;
  filter: drop-shadow(0 0 10px rgba(168, 30, 30, 0.3));
}

/* Footer header logo */
.footer-header-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.88;
}

/* Newsletter description */
.newsletter-desc {
  color: rgba(240, 230, 230, 0.65);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 8px auto;
}

/* FAQ enhanced */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.faq-req {
  background: rgba(216, 179, 117, 0.05);
  border-left: 3px solid var(--primary-red);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: rgba(240, 230, 230, 0.9);
  line-height: 1.5;
}

.req-label {
  font-weight: 700;
  color: var(--gold);
  margin-right: 4px;
}

.faq-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.faq-link:hover {
  color: var(--ink);
}

/* Footer logo image */
.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.9;
}

/* Social icons row */
.footer-social-area {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-social-area a {
  color: var(--gold);
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-social-area a:hover {
  transform: scale(1.2);
  color: var(--ink);
}

.footer-social-area .social-icon {
  color: inherit;
  fill: currentColor;
}

.footer-social-area a.inactive-social {
  opacity: 0.38;
  pointer-events: none;
  filter: grayscale(1);
}

.footer-social-area a.inactive-social:hover {
  transform: none;
  color: inherit;
}

.site-emergency-strip,
.site-announcement {
  width: 100%;
  padding: 9px 14px;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.site-emergency-strip {
  background: #7f1d1d;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-announcement {
  background: rgba(216, 179, 117, 0.12);
  color: var(--ink);
  border-bottom: 1px solid rgba(216, 179, 117, 0.35);
}

.site-announcement--info {
  background: rgba(216, 179, 117, 0.12);
}

.site-announcement--warning {
  background: rgba(245, 158, 11, 0.14);
}

.site-announcement--emergency {
  background: rgba(220, 38, 38, 0.2);
}

/* ── Email Verification Banner ─────────────────────────────────── */
.verify-banner {
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.verify-banner--success {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
  border-bottom: 1px solid rgba(52, 211, 153, 0.35);
}

.verify-banner--error {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
  border-bottom: 1px solid rgba(248, 113, 113, 0.35);
}

.verify-banner__dismiss {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 2px;
  position: absolute;
  right: 14px;
}

.verify-banner__dismiss:hover { opacity: 1; }

body.light-theme .verify-banner--success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border-bottom-color: rgba(16, 185, 129, 0.3);
}

body.light-theme .verify-banner--error {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
  border-bottom-color: rgba(220, 38, 38, 0.25);
}

.site-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.site-popup-modal {
  width: min(560px, 96vw);
  background: rgba(12, 6, 6, 0.95);
  border: 1px solid rgba(216, 179, 117, 0.35);
  border-radius: 16px;
  padding: 22px;
  color: var(--ink);
  text-align: center;
}

.site-popup-modal h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: 'Cinzel', serif;
}

.site-popup-modal p {
  margin: 0;
  color: rgba(240, 230, 230, 0.88);
  line-height: 1.6;
}

.site-popup-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-popup-actions .ghost-btn {
  background: #0b0b0b;
  color: #f9fafb;
  border-color: rgba(216, 179, 117, 0.45);
}

.site-popup-actions .ghost-btn:hover {
  background: #161616;
  color: #ffffff;
}

/* Stats Grid */
.stats-grid {
  width: 92%;
  max-width: 1200px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-block {
  padding: 20px;
  background: rgba(16, 8, 8, 0.75);
  border: 1px solid rgba(216, 179, 117, 0.25);
  border-radius: 18px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-block:hover {
  transform: translateY(-4px);
  border-color: var(--primary-red);
}

.stat-block .stat-number {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}

.stat-block .stat-label {
  color: rgba(240, 230, 230, 0.7);
}

/* Path Steps */
.path-steps,
.chapters-section {
  width: 92%;
  max-width: 1200px;
  margin: 80px auto;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
  color: var(--ink);
}

.section-header h2 {
  font-family: "Cinzel", serif;
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.section-header p {
  color: rgba(240, 230, 230, 0.75);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-card {
  background: rgba(18, 8, 8, 0.8);
  border: 1px solid rgba(216, 179, 117, 0.2);
  border-radius: 20px;
  padding: 22px;
  color: var(--ink);
  min-height: 220px;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-red);
}

.step-number {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
}

.step-card h3 {
  color: var(--gold);
  margin: 10px 0;
}

/* CTA Banner */
.cta-banner {
  width: 92%;
  max-width: 1200px;
  margin: 90px auto;
  padding: 40px;
  border-radius: 26px;
  background: linear-gradient(120deg, rgba(216, 179, 117, 0.15) 0%, rgba(22, 9, 9, 0.9) 70%);
  border: 1px solid rgba(216, 179, 117, 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.3s ease;
}

.cta-content h2 {
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  color: var(--ink);
}

.cta-content p {
  color: rgba(240, 230, 230, 0.75);
  margin-top: 8px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Footer Sections */
.main-container-footer {
  background: rgba(10, 5, 5, 0.8);
  padding: 40px 25px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.site-header span {
  font-size: 2rem;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  letter-spacing: 2px;
}

/* Newsletter Section */
.newsletter-signup {
  text-align: center;
  margin-bottom: 60px;
}

.newsletter-signup h1 {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.8rem;
  color: var(--ink);
}

.subtitle span {
  color: var(--primary-red);
}

.signup-form {
  max-width: 600px;
  margin: 30px auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-form input {
  flex: 1;
  min-width: 250px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(216, 179, 117, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: Lora, serif;
  font-size: 1rem;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-text {
  background-color: var(--gold);
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  color: #1a0b0b;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: Lora, serif;
}

.btn-text:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(216, 179, 117, 0.3);
}

/* FAQ Section */
.faq-section {
  margin: 60px 0;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.faq-title {
  text-align: center;
}

.faq-title h3 {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  color: var(--ink);
  margin: 0;
}

.faq-title p {
  font-size: 1.8rem;
  color: var(--ink);
  margin: 0;
}

.faq-title p span {
  color: var(--primary-red);
}

/* Accordion */
.accordion {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.accordion-item {
  background: rgba(18, 8, 8, 0.6);
  border: 1px solid rgba(216, 179, 117, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  background: rgba(168, 30, 30, 0.1);
  transition: all 0.2s ease;
}

.accordion-header:hover {
  background: rgba(168, 30, 30, 0.15);
}

.plus-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
  background: rgba(168, 30, 30, 0.2);
}

.accordion-item.active .plus-icon {
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  padding: 16px 20px;
  color: rgba(240, 230, 230, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* Footer Final */
.site-footer-final {
  background-color: #0a0505;
  padding: 30px 20px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo-text {
  font-size: 1.4rem;
  font-family: "Cinzel", serif;
  color: var(--gold);
  letter-spacing: 2px;
}

.footer-center-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 0;
  margin: 0;
}

.footer-nav a {
  color: rgba(240, 230, 230, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-quote {
  color: rgba(240, 230, 230, 0.6);
  font-style: italic;
  font-size: 0.95rem;
}

.footer-social-area {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.social-icon {
  color: var(--gold);
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}


@media (max-width: 980px) {
  .top {
    padding: 28px;
    margin-top: 70px;
  }

  .hero-media {
    max-height: 74vh;
  }

  .invite-section {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .email-card {
    max-width: 100%;
    justify-self: stretch;
  }
  .invite-left h2 {
    font-size: 2.2rem;
  }
  .input-row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .theme-toggle {
    left: 12px;
    bottom: 12px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .hero-text {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .top {
    padding: 22px;
  }

  .hero-media {
    max-height: 66vh;
  }

  .hero-copy .hero-text,
  .hero-copy .hero-subtitle,
  .hero-kicker {
    text-align: center;
  }

  .hero-icon-left {
    left: 2%;
  }

  .hero-icon-right {
    right: 2%;
  }

  .feature-band {
    padding: 60px 20px;
  }

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

  .cta-banner {
    padding: 30px;
  }

  .cta-actions .join,
  .cta-actions .ghost-btn {
    width: 100%;
    justify-content: center;
  }

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

  .join,
  .ghost-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .top {
    width: 94%;
    padding: 18px;
    margin-top: 65px;
  }

  .hero-media {
    max-height: 58vh;
  }

  .hero-icon {
    width: 28px;
    opacity: 0.2;
  }

  .invite-section {
    width: 92%;
    padding: 24px;
  }

  .hero-text {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .creed-cards-container {
    grid-template-columns: 1fr;
  }

  .invite-left h2 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .feature-band h2 {
    font-size: 1.8rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

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

  .signup-form {
    flex-direction: column;
  }

  .signup-form input,
  .btn-text {
    width: 100%;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .faq-header {
    flex-direction: column;
    gap: 15px;
  }
}

/* Responsive hardening: desktop → tablet → mobile */
@media (max-width: 1200px) {
  .top,
  .invite-section,
  .path-choice,
  .stats-grid,
  .path-steps,
  .chapters-section,
  .cta-banner {
    width: 95%;
  }

  .hero-copy .hero-subtitle {
    font-size: 1.1rem;
    max-width: 680px;
  }

  .join {
    padding: 14px 28px;
    font-size: 1.05rem;
  }

  .ghost-btn {
    padding: 13px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .invite-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 24px;
  }

  .path-choice-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }

  .cta-banner {
    padding: 30px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-social-area {
    justify-content: center;
  }

  .soldier {
    height: 84px;
  }
}

@media (max-width: 820px) {
  .hero-media {
    max-height: 58vh;
  }

  .invite-left h2 {
    font-size: clamp(1.8rem, 5.4vw, 2.3rem);
  }

  .email-card {
    padding: 22px;
  }

  .section-header h2,
  .path-choice-title,
  .cta-content h2 {
    letter-spacing: 1px;
  }

  .accordion-header {
    font-size: 1rem;
    padding: 14px 16px;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    left: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .top {
    margin-top: 72px;
    padding: 14px;
    border-radius: 18px;
    gap: 16px;
  }

  .hero-kicker {
    letter-spacing: 1.2px;
    font-size: 0.74rem;
  }

  .hero-copy .hero-text {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }

  .hero-copy .hero-subtitle {
    font-size: 0.95rem;
  }

  .rotate-overlay {
    width: calc(100% - 14px);
    left: 7px;
    right: 7px;
    transform: none;
    bottom: 7px;
    padding: 8px;
    gap: 8px;
  }

  .rotate-overlay-text {
    font-size: 0.76rem;
  }

  .rotate-overlay-btn {
    padding: 7px 8px;
    font-size: 0.74rem;
  }

  .invite-section,
  .feature-band,
  .path-choice,
  .stats-grid,
  .path-steps,
  .chapters-section,
  .cta-banner {
    width: 94%;
  }

  .invite-stats {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .path-choice-title,
  .cta-content h2,
  .newsletter-signup h1,
  .faq-title h3,
  .faq-title p {
    font-size: 1.5rem;
  }

  .join,
  .ghost-btn,
  .btn-text {
    border-radius: 12px;
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  .site-header span,
  .footer-logo-text {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .soldier {
    display: none;
  }

}

@media (max-width: 920px) and (orientation: portrait) {
  .rotate-overlay {
    display: flex;
  }
}

/* ================================================
   LIGHT THEME — White / Orange Accent (Final)
   ================================================ */

body.light-theme {
  /* Override colour variables to orange */
  --primary-red: #e8700e;
  --dark-red: #c25408;
  --gold: #e8700e;
  --gold-soft: rgba(232, 112, 14, 0.28);
  --ink: #111827;
  background: linear-gradient(120deg, #fffcf7 0%, #fef7ef 55%, #fdf2e4 100%);
  color: #111827;
}

body.light-theme::before,
body.light-theme::after {
  opacity: 0.03;
}

/* Hero card */
body.light-theme .top {
  background: radial-gradient(circle at 10% 0%, rgba(232, 112, 14, 0.1), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 250, 244, 0.98));
  border-color: rgba(232, 112, 14, 0.28);
  box-shadow: none;
}

/* Invite */
body.light-theme .invite-section {
  background: radial-gradient(circle at top left, rgba(232, 112, 14, 0.07), transparent 60%),
    rgba(255, 252, 248, 0.94);
  border-color: rgba(232, 112, 14, 0.2);
  box-shadow: none;
}

/* Feature band */
body.light-theme .feature-band {
  background: linear-gradient(120deg, rgba(255, 253, 249, 0.98), rgba(255, 248, 238, 1));
  color: #111827;
}

body.light-theme .band-point-card {
  background: #ffffff;
  border-color: rgba(232, 112, 14, 0.18);
  box-shadow: none;
}

/* Path cards */
body.light-theme .path-card {
  background: #ffffff;
  border-color: rgba(232, 112, 14, 0.18);
  box-shadow: none;
}

body.light-theme .path-card--creed {
  background: radial-gradient(circle at top left, rgba(232, 112, 14, 0.1), transparent 55%),
    rgba(255, 252, 248, 0.98);
  border-color: rgba(232, 112, 14, 0.45);
  box-shadow: 0 20px 50px rgba(232, 112, 14, 0.07);
}

body.light-theme .path-card--lone {
  background: rgba(250, 248, 245, 0.9);
  border-color: rgba(107, 114, 128, 0.2);
}

body.light-theme .path-card--lone h3 {
  color: #111827;
}

/* Step / stat / chapter / cta */
body.light-theme .step-card,
body.light-theme .chapter-card,
body.light-theme .stat-block {
  background: #ffffff;
  border-color: rgba(232, 112, 14, 0.18);
  box-shadow: none;
}

body.light-theme .cta-banner {
  background: linear-gradient(120deg, rgba(232, 112, 14, 0.09), rgba(255, 252, 248, 0.97));
  border-color: rgba(232, 112, 14, 0.28);
  box-shadow: none;
}

/* Accordion */
body.light-theme .accordion-item {
  background: #ffffff;
  border-color: rgba(232, 112, 14, 0.15);
  box-shadow: none;
}

body.light-theme .accordion-header {
  background: rgba(232, 112, 14, 0.07);
  color: #111827;
}

body.light-theme .accordion-header:hover,
body.light-theme .accordion-item.active .accordion-header {
  background: rgba(232, 112, 14, 0.13);
}

body.light-theme .accordion-content {
  color: #111827;
}

body.light-theme .faq-section {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 14px;
}

body.light-theme .faq-title h3,
body.light-theme .faq-title p,
body.light-theme .plus-icon,
body.light-theme .faq-req,
body.light-theme .req-label,
body.light-theme .faq-link,
body.light-theme .faq-link:hover {
  color: #111827;
}

body.light-theme .faq-link {
  text-decoration-color: rgba(17, 24, 39, 0.45);
}

/* Email / forms */
body.light-theme .email-card {
  background: linear-gradient(160deg, rgba(232, 112, 14, 0.06), rgba(255, 255, 255, 0.98));
  border-color: rgba(232, 112, 14, 0.28);
  box-shadow: none;
}

body.light-theme .email-card-header {
  color: #e8700e;
}

body.light-theme .input-row input,
body.light-theme .signup-form input {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(232, 112, 14, 0.32);
  color: #111827;
}

body.light-theme .input-row input:focus,
body.light-theme .signup-form input:focus {
  border-color: #e8700e;
  box-shadow: 0 0 0 3px rgba(232, 112, 14, 0.15);
}

body.light-theme .input-row button,
body.light-theme .btn-text {
  background-color: #e8700e;
  color: #ffffff;
}

/* Creed cards */
body.light-theme .creed-card {
  background: #ffffff;
  border-color: rgba(232, 112, 14, 0.18);
  border-left-color: #e8700e;
  color: #111827;
}

body.light-theme .creed-card h2 {
  color: #e8700e;
}

body.light-theme .creed-card .quote {
  color: #6b7280;
}

body.light-theme .creed-card ul {
  color: #111827;
}

/* FAQ */
body.light-theme .faq-req {
  background: rgba(232, 112, 14, 0.04);
  border-left-color: #e8700e;
}

body.light-theme .req-label {
  color: #e8700e;
}

/* Secondary text */
body.light-theme .hero-copy .hero-subtitle,
body.light-theme .invite-subtext,
body.light-theme .invite-points,
body.light-theme .invite-points span,
body.light-theme .email-card-subtext,
body.light-theme .section-header p,
body.light-theme .band-eyebrow,
body.light-theme .band-desc,
body.light-theme .band-point-card p,
body.light-theme .cta-content p,
body.light-theme .path-card p,
body.light-theme .path-card--lone p,
body.light-theme .path-card li,
body.light-theme .chapter-card li,
body.light-theme .step-card p,
body.light-theme .newsletter-desc,
body.light-theme .stat-label,
body.light-theme .consent {
  color: #111827;
}

body.light-theme .sub-nav-home,
body.light-theme .sub-nav-logo,
body.light-theme .doc-wrap p,
body.light-theme .doc-wrap li,
body.light-theme .doc-date,
body.light-theme .hiw-hero p,
body.light-theme .step-desc,
body.light-theme .step-points li,
body.light-theme .expect-item p,
body.light-theme .privacy-wrap p,
body.light-theme .privacy-wrap li,
body.light-theme .privacy-date,
body.light-theme .privacy-table td,
body.light-theme .privacy-table th {
  color: #111827 !important;
}

body.light-theme .pgp-card {
  background: #ffffff;
  border-color: rgba(232, 112, 14, 0.25);
}

body.light-theme .pgp-card-subtitle,
body.light-theme .pgp-key-block {
  color: #111827;
}

body.light-theme .pgp-meta {
  color: #111827;
}

body.light-theme .pgp-key-block {
  background: rgba(232, 112, 14, 0.05);
  border-color: rgba(232, 112, 14, 0.28);
}

body.light-theme .verification-box {
  background: rgba(232, 112, 14, 0.04);
  border-color: rgba(232, 112, 14, 0.28);
}

body.light-theme .verification-title {
  color: #e8700e;
}

body.light-theme .verification-pgp {
  color: #111827;
}

/* Hero title — orange glow */
body.light-theme .hero-copy .hero-text {
  color: #e8700e;
  text-shadow: 0 0 24px rgba(232, 112, 14, 0.2);
}

/* Footer + newsletter/FAQ area */
body.light-theme .main-container-footer {
  background: #ffffff;
  color: #111827;
}

body.light-theme .site-announcement {
  color: #111827;
}

body.light-theme .site-popup-modal {
  background: #ffffff;
  border-color: rgba(232, 112, 14, 0.35);
  color: #111827;
}

body.light-theme .site-popup-modal h3 {
  color: #e8700e;
}

body.light-theme .site-popup-modal p {
  color: #111827;
}

body.light-theme .site-popup-actions .ghost-btn {
  background: #ffffff;
  color: #111827;
  border-color: rgba(17, 24, 39, 0.24);
}

body.light-theme .site-popup-actions .ghost-btn:hover {
  background: #f8fafc;
  color: #111827;
}

body.light-theme .main-container-footer .site-header span,
body.light-theme .main-container-footer .newsletter-signup h1,
body.light-theme .main-container-footer .subtitle,
body.light-theme .main-container-footer .newsletter-desc {
  color: #111827;
}

body.light-theme .main-container-footer .subtitle span,
body.light-theme .main-container-footer .faq-title p span {
  color: #e8700e;
}

body.light-theme .site-footer-final {
  background: #111827;
  color: #e5e7eb;
}

body.light-theme .footer-nav a,
body.light-theme .footer-quote {
  color: rgba(229, 231, 235, 0.78);
}

body.light-theme .footer-nav a:hover,
body.light-theme .footer-social-area a:hover {
  color: #ffffff;
}

/* Floating icon */
body.light-theme .floating-creed-icon {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(232, 112, 14, 0.4);
}

body.light-theme .floating-creed-icon button {
  background: #ffffff;
  color: #1c1917;
  border-color: rgba(232, 112, 14, 0.5);
}

/* Logo / icon filter adjustments for light mode */
body.light-theme .band-point-icon--white,
body.light-theme .expect-icon--white {
  /* white logos → orange in light mode */
  filter: brightness(0) saturate(100%) invert(47%) sepia(90%) saturate(480%) hue-rotate(12deg) brightness(102%) contrast(90%);
}

body.light-theme .expect-icon--always-white {
  filter: brightness(0) invert(1);
}

body.light-theme .hero-crown-icon {
  filter: drop-shadow(0 0 12px rgba(232, 112, 14, 0.5)) drop-shadow(0 0 24px rgba(232, 112, 14, 0.25));
  animation: icon-glow-pulse 2.5s ease-in-out infinite alternate;
}

body.light-theme .creed-card .card-icon {
  filter: drop-shadow(0 4px 12px rgba(232, 112, 14, 0.18));
}

body.light-theme .laurel-icon {
  opacity: 0.35;
  filter: drop-shadow(0 0 6px rgba(232, 112, 14, 0.12));
}

body.light-theme .path-card--creed .path-card-icon-img {
  filter: drop-shadow(0 4px 10px rgba(232, 112, 14, 0.3));
}
