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

:root {
  --transition-speed: 0.6s;
}

/* empire theme */
[data-theme="empire"] {
  --bg-primary: #0a0c14;
  --bg-secondary: #0f1220;
  --bg-tertiary: #141828;
  --text-primary: #e8e0d0;
  --text-secondary: #a0a8b4;
  --text-muted: #707880;
  --accent: #c0c6d0;
  --accent-bright: #dce0e8;
  --border-color: rgba(192, 198, 208, 0.19);
  --border-strong: rgba(192, 198, 208, 0.38);
  --card-bg: rgba(13, 16, 24, 0.88);
  --card-border: rgba(192, 198, 208, 0.15);
  --glow-color: rgba(192, 198, 208, 0.13);
  --glow-strong: rgba(192, 198, 208, 0.32);
  --nav-bg: rgba(10, 12, 20, 0.92);
  --hero-overlay: linear-gradient(180deg, rgba(10,12,20,0.3) 0%, rgba(10,12,20,0.6) 50%, rgba(10,12,20,0.95) 100%);
  --divider-line: rgba(192, 198, 208, 0.2);
}

/* wyld theme (aurora light) */
[data-theme="wyld"] {
  --bg-primary: #0D2830;
  --bg-secondary: #112e38;
  --bg-tertiary: #183a45;
  --text-primary: #F8F6EC;
  --text-secondary: #BFC7CB;
  --text-muted: #6a8890;
  --accent: #2bbfdc;
  --accent-bright: #8bc35c;
  --border-color: rgba(43, 191, 220, 0.15);
  --border-strong: rgba(43, 191, 220, 0.3);
  --card-bg: rgba(17, 46, 56, 0.8);
  --card-border: rgba(43, 191, 220, 0.12);
  --glow-color: rgba(43, 191, 220, 0.08);
  --glow-strong: rgba(43, 191, 220, 0.2);
  --nav-bg: rgba(248, 246, 236, 0.95);
  --hero-overlay: linear-gradient(180deg, rgba(13,40,48,0.15) 0%, rgba(13,40,48,0.5) 50%, rgba(13,40,48,0.97) 100%);
  --divider-line: rgba(43, 191, 220, 0.2);
}

/* wyld dark sections, shared texture bg */
[data-theme="wyld"] body {
  background: #0D2830 url('/images/Website-BG_V1_D_hernfe.webp') center top / cover fixed;
}

[data-theme="wyld"] .quote-block {
  background: transparent;
}

[data-theme="wyld"] footer {
  background: transparent;
}

[data-theme="wyld"] #world,
[data-theme="wyld"] #pillars,
[data-theme="wyld"] #book,
[data-theme="wyld"] #partners {
  background: transparent;
}

/* wyldwolf gradient keyframes */
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* gradient text, section eyebrows only */
[data-theme="wyld"] .section-eyebrow {
  background-image: linear-gradient(90deg, #2bbfdc 0%, #66cf97 45%, #2bbfdc 90%);
  background-size: 200% auto;
  animation: reserveShimmer 3.2s linear infinite;
  text-shadow: none;
  filter: none;
}

/* gradient dividers */
[data-theme="wyld"] .section-divider {
  background: linear-gradient(90deg, transparent, #2bbfdc, #66cf97, #8bc35c, #66cf97, #2bbfdc, transparent);
  opacity: 0.4;
}

/* wyld hero logo: softer shadow on light bg */
[data-theme="wyld"] .hero-logo {
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
}

/* light titles for sections on bg image */
[data-theme="wyld"] .section-title {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #F8F6EC;
  color: #F8F6EC;
  text-shadow: none;
}

/* subpages keep dark titles */
[data-theme="wyld"] .page-title {
  background: linear-gradient(135deg, #0D2830 0%, #2A4953 50%, #0D2830 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* overrides for bg-image sections */
[data-theme="wyld"] #world .section-eyebrow,
[data-theme="wyld"] #book .section-eyebrow {
  filter: none;
}

[data-theme="wyld"] #world .world-scene {
  border-color: rgba(43, 191, 220, 0.15);
}

/* drop cap color cycle, wyld */
@keyframes dropCapCycle {
  0%   { color: #2bbfdc; }
  12%  { color: #44c7bf; }
  25%  { color: #66cf97; }
  37%  { color: #8bc35c; }
  50%  { color: #66cf97; }
  62%  { color: #44c7bf; }
  75%  { color: #2bbfdc; }
  87%  { color: #0A6E80; }
  100% { color: #2bbfdc; }
}

[data-theme="wyld"] .world-text p:first-of-type::first-letter {
  color: #2bbfdc;
  -webkit-text-fill-color: unset;
  background: none;
  animation: dropCapCycle 20s ease infinite;
}

/* partners on bg image */
[data-theme="wyld"] #partners .section-eyebrow {
  filter: none;
}

/* wyld buttons: gradient fill, teal/green border, shine */
@keyframes btnShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

[data-theme="wyld"] .btn-primary,
[data-theme="wyld"] .nav-btn-primary {
  position: relative;
  background: linear-gradient(135deg, #2F4F5A, #112830);
  border: 1px solid;
  border-image: linear-gradient(120deg, #2bbfdc, #8bc35c, #2bbfdc) 1;
  color: #F8F6EC;
  overflow: hidden;
}

[data-theme="wyld"] .btn-primary::before,
[data-theme="wyld"] .nav-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: none;
}

[data-theme="wyld"] .btn-primary:hover::before,
[data-theme="wyld"] .nav-btn-primary:hover::before {
  animation: btnShine 0.6s ease forwards;
}

[data-theme="wyld"] .btn-primary:hover,
[data-theme="wyld"] .nav-btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 24px rgba(43, 191, 220, 0.2);
}

/* kill the old button ::after */
[data-theme="wyld"] .btn-primary::after,
[data-theme="wyld"] .nav-btn-primary::after {
  display: none;
}

/* secondary button */
[data-theme="wyld"] .btn-secondary {
  border-color: rgba(43, 191, 220, 0.35);
  color: #BFC7CB;
}

[data-theme="wyld"] .btn-secondary:hover {
  background: var(--accent);
  color: #0D2830;
  border-color: var(--accent);
}

[data-theme="wyld"] .section-bg::after {
  background: rgba(13, 40, 48, 0.7);
}

/* pillar cards, gradient border on hover */
[data-theme="wyld"] .pillar-card:hover {
  border-color: transparent;
  border-image: linear-gradient(120deg, #2bbfdc, #8bc35c, #2bbfdc) 1;
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 20px rgba(43, 191, 220, 0.08);
}

/* pillar names, fluid gradient */
[data-theme="wyld"] .pillar-name {
  background: linear-gradient(
    120deg,
    #2bbfdc 0%, #44c7bf 8%, #66cf97 16%, #8bc35c 24%,
    #66cf97 32%, #44c7bf 40%, #2bbfdc 48%, #44c7bf 56%,
    #66cf97 64%, #8bc35c 72%, #66cf97 80%, #44c7bf 90%, #2bbfdc 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientFlow 20s linear infinite;
}

/* inside the sourcebook: feature title gradient */
[data-theme="wyld"] #book .feature-title {
  background: linear-gradient(
    120deg,
    #2bbfdc 0%, #44c7bf 8%, #66cf97 16%, #8bc35c 24%,
    #66cf97 32%, #44c7bf 40%, #2bbfdc 48%, #44c7bf 56%,
    #66cf97 64%, #8bc35c 72%, #66cf97 80%, #44c7bf 90%, #2bbfdc 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientFlow 20s linear infinite;
}

/* punchline, fluid gradient */
[data-theme="wyld"] .punchline-word {
  background: linear-gradient(
    120deg,
    #2bbfdc 0%, #44c7bf 8%, #66cf97 16%, #8bc35c 24%,
    #66cf97 32%, #44c7bf 40%, #2bbfdc 48%, #44c7bf 56%,
    #66cf97 64%, #8bc35c 72%, #66cf97 80%, #44c7bf 90%, #2bbfdc 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientFlow 20s linear infinite;
}

/* quote block */
[data-theme="wyld"] .quote-text::before {
  color: #2bbfdc;
  -webkit-text-fill-color: #2bbfdc;
  opacity: 0.2;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background var(--transition-speed), color var(--transition-speed);
  line-height: 1.7;
  font-size: 18px;
}

/* the silence fog effect */
.fog-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30vh;
  height: 30dvh;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  contain: strict;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.2) 75%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.2) 75%, rgba(0,0,0,0) 100%);
}

.fog-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300vw;
  height: 100%;
  background: url('/images/fog1.png') repeat-x;
  background-size: 33.33% 100%;
  background-position: left bottom;
  will-change: transform;
}

/* empire: screen blend so white fog glows on dark bg */
[data-theme="empire"] .fog-layer {
  mix-blend-mode: screen;
}

[data-theme="empire"] .fog-layer-1 {
  opacity: 1;
}

[data-theme="empire"] .fog-layer-2 {
  opacity: 0.7;
}

/* wyld: fog on dark teal bg */
[data-theme="wyld"] .fog-container {
  background: linear-gradient(to top, rgba(13, 40, 48, 0.8) 0%, rgba(13, 40, 48, 0.4) 40%, transparent 100%);
}

[data-theme="wyld"] .fog-layer {
  mix-blend-mode: screen;
}

[data-theme="wyld"] .fog-layer-1 {
  opacity: 1;
}

[data-theme="wyld"] .fog-layer-2 {
  opacity: 0.8;
}

.fog-layer-1 {
  animation: fog-drift 80s linear infinite;
}

.fog-layer-2 {
  animation: fog-drift 55s linear infinite;
  margin-left: -200px;
}

@keyframes fog-drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.33%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fog-layer-1, .fog-layer-2 { animation: none; }
  .hero-bg { will-change: auto; }
  [data-theme="wyld"] .section-eyebrow,
  [data-theme="wyld"] .section-divider,
  [data-theme="wyld"] .btn-primary:hover::before,
  [data-theme="wyld"] .nav-btn-primary:hover::before { animation: none; }
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-speed), border-color var(--transition-speed);
}

.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: opacity var(--transition-speed);
}

.nav-logo .nav-logo-wyld { display: none; }
[data-theme="wyld"] .nav-logo .nav-logo-empire { display: none; }
[data-theme="wyld"] .nav-logo .nav-logo-wyld { display: block; height: 44px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* theme switcher, single circle morph */
.theme-switch {
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-switch:hover {
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--glow-color), inset 0 0 12px var(--glow-color);
}

.theme-switch-icon {
  position: absolute;
  width: 22px;
  height: 22px;
  transition: transform 0.5s cubic-bezier(0.68, -0.3, 0.32, 1.3),
              opacity 0.35s ease;
}

.theme-switch-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--accent);
  stroke: none;
  transition: fill 0.4s;
  filter: drop-shadow(0 0 3px var(--glow-strong));
}

.icon-crown {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.icon-tree {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

[data-theme="wyld"] .icon-crown {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

[data-theme="wyld"] .icon-tree {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

[data-theme="wyld"] .icon-tree svg {
  fill: #F8F6EC;
  filter: drop-shadow(0 0 3px rgba(248, 246, 236, 0.3));
}

.theme-switch::after {
  content: 'The Wyld';
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

[data-theme="wyld"] .theme-switch::after {
  content: 'The Empire';
}

.theme-switch:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.theme-switch::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s, transform 0.3s;
}

.theme-switch:hover::before {
  opacity: 0.3;
  transform: scale(1.05);
}

/* nav action buttons */
.nav-btn {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
}

[data-theme="wyld"] .nav-btn-primary {
  color: #F8F6EC;
}

.nav-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--glow-color);
}

.nav-btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-strong);
}

.nav-btn-ghost:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

/* wyld light nav, dark link text */

[data-theme="wyld"] .nav-links a {
  color: #3a5560;
}

[data-theme="wyld"] .nav-links a:hover {
  color: var(--accent);
}

[data-theme="wyld"] .nav-btn-ghost {
  color: #0D2830;
  border-color: #0D2830;
}

[data-theme="wyld"] .nav-btn-ghost:hover {
  background: #0D2830;
  color: #F8F6EC;
  border-color: #0D2830;
}

[data-theme="wyld"] nav {
  border-bottom-color: rgba(43, 191, 220, 0.12);
}

[data-theme="wyld"] .mobile-menu-btn span {
  background: #0D2830;
}

/* hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg-empire, .hero-bg-wyld {
  position: absolute;
  inset: 0;
  transition: opacity 1s;
}

[data-theme="empire"] .hero-bg-empire { opacity: 1; }
[data-theme="empire"] .hero-bg-wyld { opacity: 0; }
[data-theme="wyld"] .hero-bg-empire { opacity: 0; }
[data-theme="wyld"] .hero-bg-wyld { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  transition: background 1s;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 6px;
  line-height: 1;
}

.hero-logo {
  max-width: clamp(300px, 50vw, 650px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.4));
}

.hero-logo-wyld { display: none; }

[data-theme="wyld"] .hero-logo-empire { display: none; }
[data-theme="wyld"] .hero-logo-wyld { display: block; }

/* wyld hero: light bg, mirrored empire image */
[data-theme="wyld"] .hero {
  background: #F8F6EC;
}

[data-theme="wyld"] .hero-bg-wyld img {
  transform: scaleX(-1);
}

[data-theme="wyld"] .hero-overlay {
  background: linear-gradient(180deg, rgba(248,246,236,0.18) 0%, rgba(248,246,236,0.42) 55%, rgba(248,246,236,0.96) 100%);
}

[data-theme="wyld"] .hero-eyebrow {
  -webkit-text-fill-color: #0D2830;
  background: none;
  color: #0D2830;
  text-shadow: none;
}

[data-theme="wyld"] .hero-subtitle {
  color: #0D2830;
}

[data-theme="wyld"] .hero-content .btn-secondary {
  color: #0D2830;
  border-color: rgba(13, 40, 48, 0.35);
}

[data-theme="wyld"] .hero-content .btn-secondary:hover {
  background: #0D2830;
  color: #ffffff;
  border-color: #0D2830;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}

[data-theme="empire"] .btn-primary { color: var(--bg-primary); }
[data-theme="wyld"] .btn-primary { color: #F8F6EC; }

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow-color); }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

[data-theme="empire"] .btn-secondary:hover { color: var(--bg-primary); }

/* sections */
section {
  position: relative;
  padding: 120px 40px;
  transition: background var(--transition-speed);
  overflow: hidden;
}

/* section background images */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity var(--transition-speed);
}

.section-bg-empire, .section-bg-wyld {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity var(--transition-speed);
}

[data-theme="empire"] .section-bg-empire { opacity: 1; }
[data-theme="empire"] .section-bg-wyld { opacity: 0; }
[data-theme="wyld"] .section-bg-empire { opacity: 0; }
[data-theme="wyld"] .section-bg-wyld { opacity: 1; }

/* overlay over the bg image */
.section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  transition: background var(--transition-speed);
}

[data-theme="empire"] .section-bg::after {
  background: rgba(10, 12, 20, 0.82);
}

[data-theme="wyld"] .section-bg::after {
  background: rgba(13, 40, 48, 0.7);
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  background: linear-gradient(90deg, #d9b96a 0%, #fff3d0 45%, #d9b96a 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: reserveShimmer 3.2s linear infinite;
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 700px;
  margin-bottom: 60px;
}

/* section dividers */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--divider-line), transparent);
  transition: background var(--transition-speed);
}

/* quote block */
.quote-block {
  text-align: center;
  padding: 100px 40px;
  position: relative;
  z-index: 5;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
}

.quote-text::before {
  content: '\201C';
  font-family: 'Cinzel Decorative', serif;
  font-size: 120px;
  color: var(--accent);
  opacity: 0.2;
  display: block;
  line-height: 0.5;
  margin-bottom: 20px;
  transition: color var(--transition-speed);
}

/* world section */
#world { background: var(--bg-primary); }

.world-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  margin-top: 60px;
}

.world-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 19px;
}

.world-text p:first-of-type::first-letter {
  font-family: 'Cinzel Decorative', serif;
  font-size: 56px;
  float: left;
  color: var(--accent);
  line-height: 1;
  margin-right: 12px;
  margin-top: 4px;
  transition: color var(--transition-speed);
}

.world-showcase {
  position: relative;
}

.world-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid var(--card-border);
  transition: filter 0.6s;
}

[data-theme="wyld"] .world-scene { border-radius: 6px; }

/* weapon overlay, bottom-right */
.world-showcase-weapon {
  position: absolute;
  bottom: -20px;
  right: -16px;
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.6));
  transform: rotate(12deg);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s;
  z-index: 2;
  pointer-events: auto;
}

.world-showcase-weapon:hover {
  transform: rotate(6deg) scale(1.12);
  filter: drop-shadow(0 0 30px var(--glow-color));
}

[data-theme="wyld"] .world-showcase-weapon {
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}

[data-theme="wyld"] .world-showcase-weapon:hover {
  filter: drop-shadow(0 0 20px rgba(43, 191, 220, 0.2));
}

/* three pillars */
#pillars { background: var(--bg-secondary); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.pillar-card {
  position: relative;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  overflow: hidden;
  transition: all 0.5s;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

[data-theme="empire"] .pillar-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pillar-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s;
  flex-shrink: 0;
}

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

.pillar-image-silence {
  background: linear-gradient(145deg, #1a0505 0%, #0d0000 30%, #100008 60%, #050005 100%);
  object-fit: contain;
  object-position: center center;
}

.pillar-image-empire {
  background: linear-gradient(145deg, #0f1220 0%, #0a0c14 30%, #111528 60%, #080a12 100%);
  object-fit: contain;
  object-position: center center;
}

.pillar-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.pillar-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  transition: color var(--transition-speed);
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.pillar-desc:last-of-type { margin-bottom: 0; }

/* clamp to ~4 lines when collapsed */
.pillar-text-wrap {
  max-height: 116px;
  overflow: hidden;
  position: relative;
}

.pillar-card.expanded .pillar-text-wrap {
  max-height: none;
  overflow: visible;
}

.pillar-read-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: none;
  padding-bottom: 0;
  transition: opacity 0.3s;
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.pillar-read-more:hover { opacity: 0.7; }

/* wyld: rounded corners + top accent line */
[data-theme="wyld"] .pillar-card { border-radius: 4px; }
[data-theme="wyld"] .pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2bbfdc, #8bc35c, #2bbfdc);
  background-size: 200% 100%;
  animation: gradientFlow 6s linear infinite;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.5s;
}

[data-theme="wyld"] .pillar-card:hover::before { opacity: 1; }

/* punch-in tagline */
.pillars-punchline {
  text-align: center;
  margin-top: 80px;
  padding: 40px 0;
}

.punchline-word {
  display: inline-block;
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--accent);
  opacity: 0;
  transform: scale(0.3);
  transition: color var(--transition-speed);
  margin: 0 8px;
}

.punchline-word.visible {
  opacity: 1;
  transform: scale(1);
  animation: punchIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes punchIn {
  0% { opacity: 0; transform: scale(2.5); filter: blur(8px); }
  60% { opacity: 1; transform: scale(0.95); filter: blur(0); }
  80% { transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* inside the book */
#book { background: var(--bg-primary); }

.book-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
  margin-top: 60px;
}

.book-feature {
  padding: 0;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: stretch;
  min-height: 140px;
}

.book-feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

[data-theme="empire"] .book-feature:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

[data-theme="wyld"] .book-feature { border-radius: 6px; }

/* icon showcase */
.feature-icon-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-secondary);
  border-right: 1px solid var(--card-border);
  transition: background 0.5s;
  overflow: hidden;
  min-height: 120px;
}

/* radial glow behind icon */
.feature-icon-stage::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.book-feature:hover .feature-icon-stage::before {
  opacity: 1;
}


.feature-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
  transform: scale(1.3);
  transition: transform 0.5s ease;
}

.book-feature:hover .feature-icon-img {
  transform: scale(1.5);
}

/* per-card image tweaks */
.book-feature:nth-child(1) .feature-icon-img { transform-origin: 65% center; transform: scale(1.55); }
.book-feature:nth-child(1):hover .feature-icon-img { transform-origin: 65% center; transform: scale(1.75); }
.book-feature:nth-child(2) .feature-icon-img { transform: scale(1.15); }
.book-feature:nth-child(2):hover .feature-icon-img { transform: scale(1.35); }
.book-feature:nth-child(3) .feature-icon-img { transform-origin: center 25%; transform: scale(1.45); }
.book-feature:nth-child(3):hover .feature-icon-img { transform-origin: center 25%; transform: scale(1.65); }
.book-feature:nth-child(4) .feature-icon-img { transform-origin: center 15%; transform: scale(1.6); }
.book-feature:nth-child(4):hover .feature-icon-img { transform-origin: center 15%; transform: scale(1.8); }
.book-feature:nth-child(5) .feature-icon-img { transform: scale(1.0); }
.book-feature:nth-child(5):hover .feature-icon-img { transform: scale(1.15); }
.book-feature:nth-child(6) .feature-icon-img { transform-origin: center top; transform: scale(1.6); }
.book-feature:nth-child(6):hover .feature-icon-img { transform-origin: center top; transform: scale(1.8); }

/* text content area */
.feature-text {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: color var(--transition-speed);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* partners */
#partners { background: var(--bg-primary); }

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(33.333% - 14px);
  justify-content: center;
  padding: 32px 20px 28px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  text-decoration: none;
  transition: all 0.4s;
  text-align: center;
  gap: 16px;
}

.partner-card:hover {
  border-color: var(--accent);
  background: var(--bg-tertiary);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

[data-theme="empire"] .partner-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

[data-theme="wyld"] .partner-card { border-radius: 6px; }

.partner-logo {
  width: 120px;
  height: 70px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.partner-card:hover .partner-logo {
  opacity: 1;
}

.partner-name {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.partner-card:hover .partner-name { color: var(--accent); }

.partner-tag {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  font-style: italic;
}

/* footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  transition: background var(--transition-speed);
  position: relative;
  z-index: 5;
}

/* newsletter strip at top of footer */
.footer-newsletter {
  padding: 60px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.footer-newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.footer-newsletter-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  transition: color var(--transition-speed);
}

.footer-newsletter-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
}

.footer-newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-right: none;
  background: var(--card-bg);
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.footer-newsletter-input::placeholder {
  color: var(--text-muted);
}

.footer-newsletter-input:focus {
  border-color: var(--accent);
}

[data-theme="wyld"] .footer-newsletter-input {
  border-radius: 6px 0 0 6px;
}

.footer-newsletter-btn {
  padding: 14px 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg-primary);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.footer-newsletter-btn:hover {
  background: transparent;
  color: var(--accent);
}

[data-theme="wyld"] .footer-newsletter-btn {
  border-radius: 0 6px 6px 0;
  background: linear-gradient(120deg, #2bbfdc 0%, #44c7bf 25%, #66cf97 50%, #8bc35c 75%, #66cf97 100%);
  background-size: 200% 200%;
  animation: gradientFlow 20s linear infinite;
  border-color: transparent;
  color: #0D2830;
}

[data-theme="wyld"] .footer-newsletter-btn:hover {
  background: transparent;
  border-color: #2bbfdc;
  color: #2bbfdc;
}

[data-theme="wyld"] .footer-newsletter-title {
  background: linear-gradient(
    120deg,
    #2bbfdc 0%, #44c7bf 8%, #66cf97 16%, #8bc35c 24%,
    #66cf97 32%, #44c7bf 40%, #2bbfdc 48%, #44c7bf 56%,
    #66cf97 64%, #8bc35c 72%, #66cf97 80%, #44c7bf 90%, #2bbfdc 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientFlow 20s linear infinite;
}

/* main footer grid */
.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding: 60px 40px;
}

/* brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: opacity var(--transition-speed);
}

.footer-logo .footer-logo-wyld { display: none; }
[data-theme="wyld"] .footer-logo .footer-logo-empire { display: none; }
[data-theme="wyld"] .footer-logo .footer-logo-wyld { display: block; height: 44px; }

.footer-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

/* nav columns */
.footer-nav-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  transition: color var(--transition-speed);
}

.footer-nav-col a {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s;
}

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

/* social column */
.footer-social-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  transition: color var(--transition-speed);
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s;
}

.footer-social-link:hover { color: var(--accent); }

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* wyldwolf publisher bar */
.footer-publisher {
  position: relative;
  overflow: hidden;
}

.footer-publisher-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  animation: publisherBgDrift 30s ease-in-out infinite alternate;
}

@keyframes publisherBgDrift {
  0% { transform: scale(1.05) translateX(-10px); }
  50% { transform: scale(1.1) translateX(10px); }
  100% { transform: scale(1.05) translateX(-10px); }
}

.footer-publisher-inner {
  position: relative;
  z-index: 1;
  padding: 24px 40px;
  text-align: center;
}

.footer-publisher-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-publisher-link:hover {
  opacity: 0.8;
}

.footer-publisher-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-publisher-text {
  font-family: 'Cinzel', serif;
  font-size: clamp(10px, 1.3vw, 13px);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0;
  transition: color var(--transition-speed);
}

/* bottom bar */
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* footer responsive */
@media (max-width: 480px) {
  .footer-newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .footer-newsletter-input {
    border-right: 1px solid var(--border-color);
  }
  [data-theme="wyld"] .footer-newsletter-input {
    border-radius: 6px;
  }
  [data-theme="wyld"] .footer-newsletter-btn {
    border-radius: 6px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 40px;
    justify-items: center;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
  .footer-tagline { max-width: none; }
  .footer-logo { justify-content: center; }
  .footer-nav-col, .footer-social-col { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .footer-nav-col h4, .footer-social-col h4 { text-align: center; width: 100%; }
  .footer-nav-col a { display: block; text-align: center; width: 100%; }
  .footer-social-link { justify-content: center; width: 100%; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-publisher-link {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 24px;
    justify-items: center;
  }
  .footer-newsletter { padding: 40px 24px; }
  .footer-bottom { padding: 20px 24px; }
}

/* mobile nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  position: absolute;
  left: 9px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn span:nth-child(1) { top: 12px; }
.mobile-menu-btn span:nth-child(2) { top: 19px; }
.mobile-menu-btn span:nth-child(3) { top: 26px; }

.mobile-menu-btn.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* fullscreen mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  transition: background var(--transition-speed);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 40px 60px;
}

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

.mobile-overlay-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mobile-overlay-links a {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 18px 0;
  transition: color 0.3s;
}

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

.mobile-overlay-links li + li {
  border-top: 1px solid var(--border-color);
}

/* mobile cta buttons */
.mobile-overlay-cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.mobile-cta-btn {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 16px 24px;
  transition: all 0.3s;
}

.mobile-cta-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
}

[data-theme="empire"] .mobile-cta-primary {
  color: #0a0c14;
}
[data-theme="empire"] .mobile-cta-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #0a0c14;
  box-shadow: 0 4px 20px rgba(192, 198, 208, 0.35);
}

[data-theme="wyld"] .mobile-cta-primary {
  color: #F8F6EC;
  background: transparent;
  border: 1px solid rgba(43, 191, 220, 0.3);
}
[data-theme="wyld"] .mobile-cta-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0D2830;
  box-shadow: 0 4px 20px rgba(43, 191, 220, 0.25);
}

.mobile-cta-ghost {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-secondary);
}

.mobile-cta-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* responsive */
@media (max-width: 1255px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .punchline-word { margin: 0 4px; }
  .book-features { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; margin-top: 60px; }
  .partners-grid .partner-card { width: calc(33.333% - 14px); }
  .world-grid { grid-template-columns: 1fr; gap: 40px; }
  .world-showcase { min-height: 350px; }
  .world-scene { min-height: 350px; }
}

@media (max-width: 768px) {
  .nav-btn { display: none; }
  .book-features { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; margin-top: 60px; }
  .book-feature { grid-template-columns: 120px 1fr; }
  .feature-icon-stage { min-height: 0; }
  .feature-icon-img { transform: scale(1.15) !important; transform-origin: center center !important; }
  .book-feature:hover .feature-icon-img { transform: scale(1.25) !important; }
  .book-feature:nth-child(1) .feature-icon-img,
  .book-feature:nth-child(3) .feature-icon-img,
  .book-feature:nth-child(4) .feature-icon-img,
  .book-feature:nth-child(6) .feature-icon-img { object-position: center bottom; }
  .partners-grid .partner-card { width: calc(50% - 10px); }

  section { padding: 80px 20px; }
}

@media (max-width: 480px) {
  .partners-grid .partner-card { width: 100%; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; text-align: center; }
  .book-feature { grid-template-columns: 120px 1fr; }
  .feature-icon-stage { padding: 0; border-right: 1px solid var(--card-border); border-bottom: none; min-height: 0; overflow: hidden; }
  .book-feature:nth-child(1) .feature-icon-img,
  .book-feature:nth-child(3) .feature-icon-img,
  .book-feature:nth-child(4) .feature-icon-img,
  .book-feature:nth-child(6) .feature-icon-img { object-position: center bottom; }
  .feature-text { text-align: left; }
  .world-showcase-weapon { width: 100px; bottom: -14px; right: -10px; }
}

/* large screens */
@media (min-width: 1600px) {
  .section-inner { max-width: 1500px; }
  .nav-inner { max-width: 1700px; }
  .footer-main { max-width: 1500px; }
  .footer-bottom { max-width: 1500px; }
  .world-grid { gap: 100px; }
  .pillars-grid { gap: 40px; }
  .pillar-image { height: 340px; }
  .pillar-name { font-size: 28px; }
}

@media (min-width: 1920px) {
  .section-inner { max-width: 1700px; }
  .nav-inner { max-width: 1900px; }
  .footer-main { max-width: 1700px; }
  .footer-bottom { max-width: 1700px; }
  .world-grid { gap: 120px; }
  .pillar-image { height: 380px; }
  .book-features { gap: 32px; }
  section { padding: 140px 60px; }
}
/* footer mobile centering */
@media (max-width: 768px) {
  footer .footer-nav-col,
  footer .footer-social-col {
    text-align: center !important;
  }
  footer .footer-nav-col h4,
  footer .footer-social-col h4 {
    text-align: center !important;
  }
  footer .footer-nav-col a {
    text-align: center !important;
  }
  footer .footer-social-link {
    justify-content: center !important;
  }
}

/* ===== GenCon content update: hero headline, gift section, gallery, final CTA ===== */
.hero-headline {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

[data-theme="wyld"] .hero-headline {
  color: #0D2830;
  text-shadow: none;
}

.hero-reserve-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 18px auto 0;
}

[data-theme="wyld"] .hero-reserve-note {
  color: #0D2830;
}

.gift-sub {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin: -12px 0 24px;
  background: linear-gradient(90deg, #d9b96a 0%, #fff3d0 45%, #d9b96a 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: reserveShimmer 3.2s linear infinite;
}

[data-theme="wyld"] .gift-sub {
  background-image: linear-gradient(90deg, #2bbfdc 0%, #66cf97 45%, #2bbfdc 90%);
  background-size: 200% auto;
}

.grid-flip .world-text {
  order: 2;
}

.section-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.secret-motto {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 36px;
  background: linear-gradient(90deg, #d9b96a 0%, #fff3d0 45%, #d9b96a 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: reserveShimmer 3.2s linear infinite;
}

[data-theme="wyld"] .secret-motto {
  background-image: linear-gradient(90deg, #2bbfdc 0%, #66cf97 45%, #2bbfdc 90%);
  background-size: 200% auto;
}

#secret .section-narrow {
  max-width: 960px;
}

#secret .section-subtitle {
  max-width: 920px;
  text-wrap: pretty;
}

#gallery .section-subtitle {
  max-width: 920px;
  text-wrap: pretty;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--card-border);
}

[data-theme="wyld"] .gallery-item {
  border-radius: 6px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 16px 14px;
  background: linear-gradient(transparent, rgba(5, 8, 15, 0.82));
  color: #f2ecdd;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.final-cta-img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto 36px;
  border-radius: 6px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s;
}

.final-cta-img:hover {
  transform: scale(1.05) rotate(-1.5deg);
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.45));
}

@media (prefers-reduced-motion: reduce) {
  .final-cta-img, .final-cta-img:hover { transition: none; transform: none; }
}

@media (max-width: 900px) {
  #secret .section-narrow {
  max-width: 960px;
}

#secret .section-subtitle {
  max-width: 920px;
  text-wrap: pretty;
}

#gallery .section-subtitle {
  max-width: 920px;
  text-wrap: pretty;
}

.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 560px) {
  #secret .section-narrow {
  max-width: 960px;
}

#secret .section-subtitle {
  max-width: 920px;
  text-wrap: pretty;
}

#gallery .section-subtitle {
  max-width: 920px;
  text-wrap: pretty;
}

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

/* ===== hero: compact single-block layout ===== */
.hero-content {
  max-width: 1100px;
}

.hero {
  height: auto;
  min-height: 0;
  padding: 150px 0 96px;
}

/* soft radial darkening behind the copy so text reads over busy art */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 70% at 50% 46%,
    rgba(5, 8, 16, 0.5) 0%, rgba(5, 8, 16, 0.24) 55%, transparent 78%);
  transition: background 1s;
}

[data-theme="wyld"] .hero-vignette {
  background: radial-gradient(ellipse 54% 64% at 50% 48%,
    rgba(248, 246, 236, 0.62) 0%, rgba(248, 246, 236, 0.34) 48%, transparent 72%);
}

/* light halo behind the dark text lifts it off the busy art */
[data-theme="wyld"] .hero-headline {
  text-shadow: 0 0 18px rgba(248, 246, 236, 0.9), 0 0 42px rgba(248, 246, 236, 0.6);
}

[data-theme="wyld"] .hero-kicker,
[data-theme="wyld"] .hero-subtitle,
[data-theme="wyld"] .hero-reserve-note {
  text-shadow: 0 0 10px rgba(248, 246, 236, 0.95), 0 0 24px rgba(248, 246, 236, 0.7);
}

.hero-logo {
  max-width: clamp(240px, 32vw, 440px);
}

.hero-title {
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.hero-kicker {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  background: linear-gradient(90deg, #d9b96a 0%, #fff3d0 45%, #d9b96a 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: reserveShimmer 3.2s linear infinite;
}

[data-theme="wyld"] .hero-kicker {
  background: none;
  -webkit-text-fill-color: #0D2830;
  color: #0D2830;
  animation: none;
}

.hero-subtitle {
  max-width: 1020px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  margin-bottom: 30px;
  text-wrap: pretty;
}

/* show the top of the cover art; crop from the bottom instead */
.hero-bg picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-bg img {
  object-position: center top;
}

.hero-reserve-note {
  font-size: 17px;
  margin-top: 18px;
  color: var(--text-primary);
}

.reserve-highlight {
  font-weight: 700;
  background: linear-gradient(90deg, #d9b96a 0%, #fff3d0 45%, #d9b96a 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: reserveShimmer 3.2s linear infinite;
}

[data-theme="wyld"] .reserve-highlight {
  background-image: linear-gradient(90deg, #0D2830 0%, #1b8fa8 45%, #0D2830 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes reserveShimmer {
  to { background-position: -200% center; }
}

[data-theme="wyld"] #reserve .hero-reserve-note {
  color: var(--text-secondary);
}

[data-theme="wyld"] #reserve .reserve-highlight {
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
  font-weight: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .reserve-highlight, .section-eyebrow, .hero-kicker, .gift-sub, .secret-motto { animation: none; }
}

/* single calm entrance */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero-content {
  animation: heroFadeUp 0.8s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
}

@media (max-width: 768px) {
  .hero { padding: 118px 0 64px; }
  .hero-kicker { font-size: 10.5px; letter-spacing: 2.5px; }
  .hero-subtitle { font-size: 16px; }
}
