/* ═══════════════════════════════════════════════════════════════════════════
   RED WARDEN STUDIOS — CSS
   v2: Cinematic / Game-Studio Aesthetic
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────────────────────── */
:root {
  --rws-crimson:      #C0392B;
  --rws-crimson-glow: rgba(192, 57, 43, 0.15);
  --rws-crimson-dim:  rgba(192, 57, 43, 0.08);
  --rws-void:         #050506;
  --rws-black:        #080809;
  --rws-dark:         #0D0D0F;
  --rws-dark-mid:     #111114;
  --rws-border:       rgba(255, 255, 255, 0.06);
  --rws-border-red:   rgba(192, 57, 43, 0.25);
  --rws-white:        #FFFFFF;
  --rws-white-80:     rgba(255, 255, 255, 0.80);
  --rws-white-50:     rgba(255, 255, 255, 0.50);
  --rws-white-30:     rgba(255, 255, 255, 0.30);
  --rws-white-10:     rgba(255, 255, 255, 0.10);

  --font-heading: 'Cinzel', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --nav-h: 72px;
  --container-max: 1200px;
  --container-px: clamp(1.5rem, 5vw, 4rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--rws-black);
  color: var(--rws-white-80);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ─── GOOGLE FONTS ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

/* ─── UTILITIES ─────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}
.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  margin-bottom: 1.25rem;
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rws-crimson);
  color: var(--rws-white);
  border-color: var(--rws-crimson);
}
.btn-primary:hover {
  background: #a8301f;
  border-color: #a8301f;
}
.btn-outline {
  background: transparent;
  color: var(--rws-white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--rws-crimson);
  color: var(--rws-crimson);
}
.btn-outline-red {
  background: transparent;
  color: var(--rws-crimson);
  border-color: var(--rws-border-red);
}
.btn-outline-red:hover {
  background: var(--rws-crimson);
  color: var(--rws-white);
}

/* ─── NAVIGATION ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s, border-bottom 0.35s;
}
.nav.scrolled {
  background: rgba(8, 8, 9, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rws-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-red {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--rws-white);
}
.nav-logo-sub {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--rws-white-30);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rws-white-50);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--rws-crimson);
  transition: width 0.25s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--rws-white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--rws-white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,8,9,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rws-border);
  padding: 2rem var(--container-px);
  flex-direction: column;
  gap: 1.75rem;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rws-white-80);
}

/* ─── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--rws-black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
/* Ambient crimson glow right side */
.hero::before {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse at 65% 45%,
    rgba(192,57,43,0.12) 0%,
    rgba(192,57,43,0.04) 40%,
    transparent 65%);
  pointer-events: none;
}
/* Subtle noise grain overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}
.hero-left {
  padding: 4rem var(--container-px);
  padding-left: var(--container-px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rws-white-30);
}
.hero-tagline-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-tagline-stack .line {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.5vw, 5.75rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.0;
  color: var(--rws-white);
}
.hero-tagline-stack .line-red {
  color: var(--rws-crimson);
}
.hero-rule {
  width: 52px;
  height: 1px;
  background: var(--rws-crimson);
  flex-shrink: 0;
}
.hero-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--rws-white-50);
  line-height: 1.8;
  max-width: 400px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: calc(100vh - var(--nav-h));
  position: relative;
  z-index: 1;
}
.hero-warden-img {
  width: 85%;
  max-width: 520px;
  filter: drop-shadow(0 0 80px rgba(192,57,43,0.18))
          drop-shadow(0 40px 40px rgba(0,0,0,0.4));
}

/* ─── BUILD LIST SECTION ────────────────────────────────────────────────── */
.section-build {
  background: var(--rws-dark);
  padding-block: clamp(5rem, 9vw, 8rem);
}
.section-build .section-label {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rws-white);
  margin-bottom: 3.5rem;
}
.build-list { border-top: 1px solid var(--rws-border); }
.build-list-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-block: 2.25rem;
  border-bottom: 1px solid var(--rws-border);
  transition: border-color 0.25s;
}
.build-list-item:hover { border-color: rgba(192,57,43,0.2); }
.build-num {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--rws-crimson);
  font-weight: 400;
}
.build-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--rws-white);
  letter-spacing: 0.08em;
}
.build-desc {
  font-size: 0.85rem;
  color: var(--rws-white-30);
  max-width: 280px;
  text-align: right;
  line-height: 1.6;
}

/* ─── DIVISIONS SPLIT ───────────────────────────────────────────────────── */
.divisions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.division-panel {
  background: var(--rws-black);
  border-right: 1px solid var(--rws-border);
  display: flex;
  align-items: flex-end;
  min-height: 60vh;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.division-panel:last-child { border-right: none; }
.division-panel-alt { background: var(--rws-dark); }
/* Top red reveal line */
.division-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rws-crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.division-panel:hover::before { transform: scaleX(1); }
/* Ambient glow on hover */
.division-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, var(--rws-crimson-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.division-panel:hover::after { opacity: 1; }
.division-panel-inner {
  position: relative;
  z-index: 1;
}
.division-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  margin-bottom: 1.25rem;
}
.division-panel h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--rws-white);
  line-height: 1.0;
  margin-bottom: 1.25rem;
}
.division-panel p {
  font-size: 0.9rem;
  color: var(--rws-white-50);
  max-width: 380px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.division-link {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rws-white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.division-link::after {
  content: '→';
  transition: transform 0.25s;
}
.division-link:hover { color: var(--rws-crimson); }
.division-link:hover::after { transform: translateX(4px); }

/* ─── LLYPSES FEATURE SECTION ───────────────────────────────────────────── */
.section-llypses {
  background: linear-gradient(145deg, #0F0202 0%, #0A0101 50%, #0D0D0F 100%);
  border-top: 1px solid var(--rws-border-red);
  border-bottom: 1px solid var(--rws-border-red);
  padding-block: clamp(5rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}
.section-llypses::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at 20% 50%, rgba(192,57,43,0.1), transparent 60%);
  pointer-events: none;
}
.llypses-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.llypses-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.llypses-glyph {
  font-family: Georgia, serif;
  font-size: clamp(5rem, 12vw, 10rem);
  color: var(--rws-crimson);
  line-height: 1;
  opacity: 0.85;
  text-shadow: 0 0 60px rgba(192,57,43,0.4);
  letter-spacing: -0.05em;
}
.llypses-text .badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--rws-border-red);
  color: var(--rws-crimson);
  margin-bottom: 1.5rem;
}
.llypses-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--rws-white);
  line-height: 1.0;
  margin-bottom: 0.75rem;
}
.llypses-pronunciation {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--rws-white-30);
  font-style: italic;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.llypses-text p {
  font-size: 0.95rem;
  color: var(--rws-white-50);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 2.25rem;
}

/* ─── CTA STRIP ─────────────────────────────────────────────────────────── */
.section-cta {
  background: var(--rws-void);
  padding-block: clamp(4rem, 7vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(192,57,43,0.06), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rws-white);
  margin-bottom: 1rem;
}
.cta-inner p {
  font-size: 0.9rem;
  color: var(--rws-white-50);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ─── PAGE HERO (inner pages) ───────────────────────────────────────────── */
.page-hero {
  background: var(--rws-black);
  padding-top: calc(var(--nav-h) + clamp(4rem, 8vw, 7rem));
  padding-bottom: clamp(4rem, 7vw, 6rem);
  padding-inline: var(--container-px);
  max-width: var(--container-max);
  margin-inline: auto;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(192,57,43,0.06), transparent 60%);
  pointer-events: none;
}
.page-hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  margin-bottom: 1.25rem;
  display: block;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--rws-white);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.page-hero-rule {
  width: 52px;
  height: 1px;
  background: var(--rws-crimson);
  margin-bottom: 1.75rem;
}
.page-hero p {
  font-size: 1rem;
  color: var(--rws-white-50);
  max-width: 540px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ─── SECTION BASE ──────────────────────────────────────────────────────── */
.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}
.section-dark { background: var(--rws-dark); }
.section-black { background: var(--rws-black); }
.section-void  { background: var(--rws-void); }

/* ─── ABOUT PAGE ────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.about-sidebar {
  border-top: 1px solid var(--rws-border);
}
.fact-item {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rws-border);
}
.fact-label {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  margin-bottom: 0.35rem;
}
.fact-value {
  font-size: 0.92rem;
  color: var(--rws-white-80);
  font-weight: 500;
}
.about-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rws-white);
  margin-bottom: 1.25rem;
}
.about-body p {
  font-size: 0.97rem;
  color: var(--rws-white-50);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.values-list {
  border-top: 1px solid var(--rws-border);
}
.value-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 2rem;
  padding-block: 2.25rem;
  border-bottom: 1px solid var(--rws-border);
}
.value-num {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--rws-crimson);
}
.value-content h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rws-white);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.value-content p {
  font-size: 0.9rem;
  color: var(--rws-white-50);
  line-height: 1.75;
}
.vision-block {
  max-width: 680px;
}
.vision-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rws-white);
  line-height: 1.4;
  border-left: 2px solid var(--rws-crimson);
  padding-left: 1.75rem;
  margin-bottom: 1.75rem;
}
.vision-block p {
  font-size: 0.95rem;
  color: var(--rws-white-50);
  line-height: 1.85;
}

/* ─── DIVISIONS PAGE ────────────────────────────────────────────────────── */
.division-detail {
  padding-block: clamp(5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--rws-border);
}
.division-detail-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 3rem;
  gap: 2rem;
}
.division-detail-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--rws-white);
  line-height: 1.0;
}
.division-detail-desc {
  font-size: 0.97rem;
  color: var(--rws-white-50);
  max-width: 620px;
  line-height: 1.85;
  margin-bottom: 3rem;
}
.product-list {
  border-top: 1px solid var(--rws-border);
}
.product-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--rws-border);
  transition: border-color 0.2s;
}
.product-list-item:hover { border-color: rgba(192,57,43,0.2); }
.product-list-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--rws-white);
}
.product-list-sub {
  font-size: 0.85rem;
  color: var(--rws-white-30);
  margin-top: 0.25rem;
}
.status-badge {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid;
  white-space: nowrap;
}
.status-live { border-color: rgba(192,57,43,0.4); color: var(--rws-crimson); }
.status-beta { border-color: rgba(192,57,43,0.3); color: rgba(192,57,43,0.8); }
.status-dev  { border-color: rgba(255,255,255,0.15); color: var(--rws-white-30); }
.status-soon { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.2); }

/* ─── PRODUCTS PAGE ─────────────────────────────────────────────────────── */
.product-featured-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(5rem, 9vw, 8rem);
}
.product-featured-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0F0202, #0A0101);
  border: 1px solid var(--rws-border-red);
  min-height: 360px;
}
.product-featured-glyph {
  font-family: Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--rws-crimson);
  text-shadow: 0 0 50px rgba(192,57,43,0.4);
  line-height: 1;
}
.product-featured-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--rws-white);
  line-height: 1.0;
  margin-bottom: 0.6rem;
}
.product-featured-text .pronunciation {
  font-size: 0.8rem;
  color: var(--rws-white-30);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.product-featured-text p {
  font-size: 0.95rem;
  color: var(--rws-white-50);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 2rem;
}

/* ─── CONTACT PAGE ──────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rws-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.contact-info p {
  font-size: 0.92rem;
  color: var(--rws-white-50);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-info-items { border-top: 1px solid var(--rws-border); }
.contact-info-item {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--rws-border);
}
.contact-info-label {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  margin-bottom: 0.3rem;
}
.contact-info-value {
  font-size: 0.9rem;
  color: var(--rws-white-80);
}
/* Contact form */
.contact-form-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rws-white-30);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--rws-dark);
  border: 1px solid var(--rws-border);
  color: var(--rws-white-80);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group select { background-image: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(192,57,43,0.4);
}
.form-group textarea { min-height: 130px; }
.form-status {
  font-size: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  display: none;
}
.form-status.success { border-color: rgba(192,57,43,0.4); color: var(--rws-crimson); }
.form-status.error   { border-color: rgba(255,80,80,0.4); color: rgba(255,100,100,0.9); }

/* ─── HERO LOCKUP (SVG banner image + CTAs) ────────────────────────────── */
.hero-lockup {
  background: var(--rws-black);
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-lockup-img {
  width: 100%;
  max-width: 100%;
  display: block;
}
.hero-lockup-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2.5rem var(--container-px) 3.5rem;
}
/* Pronunciation inline */
.pronunciation-inline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--rws-white-30);
  margin-left: 1.25rem;
  vertical-align: middle;
  font-style: normal;
}

/* ─── DIVISION BANDS (home page — expandable) ──────────────────────────── */
.divisions-bands {
  background: var(--rws-black);
  border-top: 1px solid var(--rws-border);
  border-bottom: 1px solid var(--rws-border);
}
.division-band {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 1.85rem var(--container-px);
  border-bottom: 1px solid var(--rws-border);
  text-decoration: none;
  position: relative;
  transition: background 0.25s;
  max-width: 100%;
}
.division-band:last-child { border-bottom: none; }
.division-band::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--rws-crimson);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out);
}
.division-band:hover { background: rgba(255,255,255,0.015); }
.division-band:hover::before { transform: scaleY(1); }
.band-num {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--rws-crimson);
}
.band-body { display: flex; flex-direction: column; gap: 0.2rem; }
.band-name {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rws-white);
}
.band-type {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--rws-white-30);
  text-transform: uppercase;
}
.band-arrow {
  font-size: 1rem;
  color: var(--rws-white-30);
  transition: color 0.2s, transform 0.25s;
}
.division-band:hover .band-arrow {
  color: var(--rws-crimson);
  transform: translateX(5px);
}
@media (max-width: 640px) {
  .division-band { grid-template-columns: 2.5rem 1fr; gap: 1.25rem; }
  .band-arrow { display: none; }
}

/* ─── FOOTER ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--rws-void);
  border-top: 1px solid var(--rws-border);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rws-border);
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--rws-white-30);
  line-height: 1.7;
  max-width: 280px;
  margin-top: 1rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rws-white-30);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a {
  font-size: 0.87rem;
  color: var(--rws-white-50);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--rws-white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
}

/* ─── ANIMATIONS ────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: var(--nav-h);
    min-height: auto;
  }
  .hero-right {
    order: -1;
    min-height: 50vw;
    padding-top: 2rem;
  }
  .hero-warden-img { max-width: 280px; }
  .hero-left {
    padding-top: 2rem;
    padding-bottom: 5rem;
  }
  .hero-tagline-stack .line {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
  .divisions-split { grid-template-columns: 1fr; }
  .division-panel { min-height: 45vh; }
  .llypses-inner { grid-template-columns: 1fr; }
  .llypses-visual { min-height: 180px; }
  .product-featured-block { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .build-list-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }
  .build-desc { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .division-detail-header { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; gap: 0.75rem; }
  .hero-cta .btn { text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   V2 STYLES — Aldervaatch Experience
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── FORTRESS HERO ─────────────────────────────────────────────────────── */
.fortress-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  padding-inline: var(--container-px);
  overflow: hidden;
  background: var(--rws-void);
  text-align: center;
  gap: 0;
}
.fortress-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.fortress-glow--center {
  width: 80vw; height: 60vh;
  background: radial-gradient(ellipse, rgba(192,57,43,0.10) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.fortress-glow--top {
  width: 50vw; height: 40vh;
  background: radial-gradient(ellipse, rgba(192,57,43,0.06) 0%, transparent 65%);
  top: 0; left: 50%;
  transform: translateX(-50%);
}
.fortress-emblem {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.fortress-emblem img {
  width: 72px; height: 72px;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(192,57,43,0.5));
}
.fortress-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.fortress-dispatch {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--rws-white-30);
}
.fortress-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--rws-white);
  line-height: 1.0;
  text-shadow: 0 0 100px rgba(192,57,43,0.12);
  margin: 0;
}
.fortress-rule {
  width: 60px; height: 1px;
  background: var(--rws-crimson);
}
.fortress-sub {
  font-size: 0.95rem;
  color: var(--rws-white-50);
  line-height: 1.85;
  max-width: 440px;
}
.fortress-cta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.fortress-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}
.scroll-label {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rws-white-30);
}
.scroll-thread {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--rws-crimson), transparent);
  animation: thread-pulse 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes thread-pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); }
  55% { opacity: 1; transform: scaleY(1); }
}

/* ─── STAIRCASE ──────────────────────────────────────────────────────────── */
.staircase {
  background: var(--rws-black);
  padding-block: clamp(5rem, 10vw, 9rem);
}
.staircase-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  padding-inline: var(--container-px);
}
.staircase-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rws-white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.staircase-sub {
  font-size: 0.9rem;
  color: var(--rws-white-30);
  line-height: 1.8;
}
.staircase-window {
  max-width: 1060px;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  padding-inline: var(--container-px);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.staircase-window.visible {
  opacity: 1;
  transform: translateY(0);
}
.window-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--rws-border);
  transition: border-color 0.4s;
}
.window-frame:hover { border-color: var(--rws-border-red); }
/* Corner accent — top-left */
.window-frame::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 2px solid var(--rws-crimson);
  border-left: 2px solid var(--rws-crimson);
  pointer-events: none;
}
/* Corner accent — bottom-right */
.window-frame::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24px; height: 24px;
  border-bottom: 2px solid var(--rws-crimson);
  border-right: 2px solid var(--rws-crimson);
  pointer-events: none;
}
.window-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.window-portrait {
  width: 100%;
  max-width: 380px;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7));
  transition: filter 0.4s;
}
.window-frame:hover .window-portrait {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7))
          drop-shadow(0 0 50px rgba(192,57,43,0.18));
}
.window-glow {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 50px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.window-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.window-num {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: var(--rws-crimson);
}
.window-division {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rws-white-30);
}
.window-name {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--rws-white);
  line-height: 1.1;
  margin: 0.25rem 0;
}
.window-type {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rws-crimson);
}
.window-desc {
  font-size: 0.92rem;
  color: var(--rws-white-50);
  line-height: 1.8;
  max-width: 380px;
  margin-top: 0.35rem;
}
.window-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rws-white-30);
  margin-top: 0.75rem;
  transition: color 0.2s;
}
.window-link span { transition: transform 0.25s; }
.window-link:hover { color: var(--rws-crimson); }
.window-link:hover span { transform: translateX(5px); }

@media (max-width: 800px) {
  .window-frame { grid-template-columns: 1fr; }
  .window-frame--right .window-portrait-wrap { order: -1; }
  .window-portrait { max-width: 280px; }
  .window-desc { max-width: 100%; }
}

/* ─── CHAMBER ARRIVAL ────────────────────────────────────────────────────── */
.chamber-arrival {
  background: var(--rws-void);
  padding-block: clamp(5rem, 9vw, 8rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.chamber-arrival-inner {
  max-width: 640px;
  margin: 0 auto;
  padding-inline: var(--container-px);
  position: relative;
  z-index: 1;
}
.chamber-glow {
  position: absolute;
  width: 70vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.07) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.chamber-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  color: var(--rws-white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.chamber-sub {
  font-size: 0.92rem;
  color: var(--rws-white-50);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.chamber-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 260px;
  margin: 0 auto;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--rws-border);
}
.divider-emblem {
  opacity: 0.25;
  filter: invert(1);
  flex-shrink: 0;
}

/* ─── ROUND TABLE ────────────────────────────────────────────────────────── */
.round-table {
  background: var(--rws-black);
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}
.table-surface {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 150%;
  pointer-events: none;
  z-index: 0;
}
.table-edge {
  width: 100%;
  height: 280px;
  border-top: 1px solid rgba(192,57,43,0.12);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(to bottom,
    rgba(192,57,43,0.04) 0%,
    transparent 55%);
}
.table-stage {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding-inline: var(--container-px);
}
.table-cards {
  min-height: 480px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.table-card {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.table-card.active {
  display: flex;
  animation: card-enter 0.45s var(--ease-out);
}
@keyframes card-enter {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.table-kicker {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}
.table-kicker h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--rws-white);
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.table-kicker p:last-child {
  color: var(--rws-white-50);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* Standard warden portrait */
.table-card-portrait-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-bottom: 2rem;
  isolation: isolate;
}
.table-card-portrait {
  width: 100%;
  max-width: 320px;
  display: block;
  margin-bottom: 2rem;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8))
          drop-shadow(0 0 50px rgba(192,57,43,0.10));
}

/* CDR — framed sigil treatment (white background image) */
.table-card--head .table-card-portrait-wrap {
  max-width: 260px;
}
.table-card--head .table-card-portrait {
  max-width: 260px;
  filter: none;
  box-shadow:
    0 0 0 1px rgba(192,57,43,0.2),
    0 20px 60px rgba(0,0,0,0.9),
    0 0 80px rgba(192,57,43,0.15);
  background: #fff;
  padding: 1.5rem;
}

/* Warden hover sigils */
.warden-fx,
.warden-fx span {
  position: absolute;
  pointer-events: none;
}
.warden-fx {
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.warden-fx span {
  display: block;
  animation-play-state: paused;
}
.table-card.active .warden-fx {
  opacity: 0.22;
  filter: drop-shadow(0 0 12px rgba(192,57,43,0.18));
}
.table-card:hover .warden-fx,
.table-card:focus-within .warden-fx,
.table-card.fx-active .warden-fx,
.table-card.fx-preview .warden-fx {
  opacity: 1;
  filter: drop-shadow(0 0 24px rgba(192,57,43,0.42));
}
.table-card:hover .warden-fx span,
.table-card:focus-within .warden-fx span,
.table-card.fx-active .warden-fx span,
.table-card.fx-preview .warden-fx span {
  animation-play-state: running;
}
.table-card:hover .table-card-portrait,
.table-card:focus-within .table-card-portrait,
.table-card.fx-active .table-card-portrait,
.table-card.fx-preview .table-card-portrait {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.82))
          drop-shadow(0 0 74px rgba(192,57,43,0.26));
}

.leader-gleam {
  left: 30%;
  top: 29%;
  width: 42%;
  height: 34%;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,0.72) 48%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-85%) skewX(-14deg);
  animation: leader-shield-gleam 2.3s ease-in-out infinite;
}
.leader-eye {
  width: 9%;
  height: 3%;
  top: 20%;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 12px rgba(255,255,255,0.85), 0 0 22px rgba(192,57,43,0.28);
  animation: warden-eye-pulse 1.65s ease-in-out infinite;
}
.leader-eye--left { left: 43%; transform: rotate(14deg); }
.leader-eye--right { right: 35%; transform: rotate(-14deg); }
.leader-circlet {
  left: 43%;
  top: 15%;
  width: 16%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), rgba(192,57,43,0.8), rgba(255,255,255,0.85), transparent);
  animation: circlet-glint 2.8s ease-in-out infinite;
}

.bastion-book-glow,
.athenaeum-page-glow {
  left: 29%;
  top: 60%;
  width: 42%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,245,220,0.58), rgba(192,57,43,0.18) 55%, transparent 72%);
  animation: book-breathe 1.9s ease-in-out infinite;
}
.bastion-ward {
  left: 34%;
  top: 34%;
  width: 32%;
  aspect-ratio: 1;
  border: 2px solid rgba(192,57,43,0.72);
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(192,57,43,0.18), 0 0 22px rgba(192,57,43,0.28);
  animation: ward-rise 2.4s ease-in-out infinite;
}
.bastion-ward--inner {
  left: 40%;
  top: 40%;
  width: 20%;
  border-radius: 12%;
  transform: rotate(45deg);
  animation: ward-spin 3.2s linear infinite;
}
.bastion-rune {
  left: 47%;
  top: 44%;
  width: 6%;
  height: 18%;
  border-left: 2px solid rgba(255,255,255,0.75);
  border-right: 2px solid rgba(255,255,255,0.45);
  animation: rune-flicker 1.6s ease-in-out infinite;
}

.foundry-core {
  left: 44%;
  top: 62%;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc 0%, #e75a36 32%, rgba(192,57,43,0.2) 62%, transparent 72%);
  animation: forge-pulse 1.45s ease-in-out infinite;
}
.foundry-spark {
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(192,57,43,0), #fff2c7, rgba(192,57,43,0.75));
  opacity: 0;
  animation: ember-rise 1.8s ease-out infinite;
}
.foundry-spark--one { left: 36%; top: 58%; animation-delay: 0.1s; }
.foundry-spark--two { left: 52%; top: 55%; animation-delay: 0.55s; }
.foundry-spark--three { left: 62%; top: 61%; animation-delay: 0.95s; }
.foundry-hammer-glow {
  left: 28%;
  top: 45%;
  width: 28%;
  height: 9%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,240,190,0.45), transparent);
  transform: rotate(-22deg);
  animation: hammer-warmth 2.2s ease-in-out infinite;
}

.mythril-lens {
  left: 44%;
  top: 21%;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(205,242,255,0.9);
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.9), rgba(92,200,255,0.26) 42%, transparent 70%);
  box-shadow: 0 0 18px rgba(92,200,255,0.45);
  transform-origin: 50% -30%;
  animation: lens-tick 2.6s ease-in-out infinite;
}
.mythril-ring {
  left: 35%;
  top: 54%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(140,222,255,0.68);
  animation: mythril-spin 3.4s linear infinite;
}
.mythril-ring--two {
  left: 40%;
  top: 59%;
  width: 20%;
  border-color: rgba(255,255,255,0.62);
  animation-duration: 2.7s;
  animation-direction: reverse;
}
.mythril-core {
  left: 47%;
  top: 61%;
  width: 7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dff8ff;
  box-shadow: 0 0 18px rgba(92,200,255,0.85), 0 0 34px rgba(92,200,255,0.35);
  animation: mythril-core-pulse 1.6s ease-in-out infinite;
}

.athenaeum-page {
  left: 37%;
  top: 58%;
  width: 14%;
  height: 20%;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,248,220,0.08));
  transform-origin: bottom left;
  clip-path: polygon(0 0, 100% 12%, 92% 100%, 0 88%);
  animation: page-turn 2.8s ease-in-out infinite;
}
.athenaeum-page--two {
  left: 51%;
  transform-origin: bottom right;
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 8% 100%);
  animation-delay: 0.2s;
}
.athenaeum-quill {
  left: 58%;
  top: 42%;
  width: 22%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.82), rgba(192,57,43,0.55));
  transform: rotate(-34deg);
  animation: quill-stroke 2.35s ease-in-out infinite;
}

.trading-token {
  left: 58%;
  top: 35%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(221,178,88,0.85);
  background: radial-gradient(circle at 35% 30%, #fff0b8, #b97a2f 46%, rgba(128,71,24,0.35) 70%);
  animation: token-flip 2.25s ease-in-out infinite;
}
.trading-route {
  left: 29%;
  top: 57%;
  width: 38%;
  height: 20%;
  border-top: 1px solid rgba(221,178,88,0.45);
  border-radius: 50%;
  transform: rotate(-12deg);
  animation: route-shimmer 2.8s ease-in-out infinite;
}
.trading-route--two {
  top: 63%;
  left: 36%;
  width: 27%;
  transform: rotate(18deg);
  animation-delay: 0.45s;
}
.trading-charm {
  left: 39%;
  top: 40%;
  width: 3px;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(221,178,88,0.2), rgba(221,178,88,0.85), transparent);
  transform-origin: top;
  animation: charm-sway 2.4s ease-in-out infinite;
}

@keyframes leader-shield-gleam {
  0%, 62%, 100% { opacity: 0; transform: translateX(-85%) skewX(-14deg); }
  18% { opacity: 0.65; }
  42% { opacity: 0; transform: translateX(95%) skewX(-14deg); }
}
@keyframes warden-eye-pulse {
  0%, 100% { opacity: 0.62; transform: scaleX(0.85); }
  52% { opacity: 1; transform: scaleX(1.08); }
}
@keyframes circlet-glint {
  0%, 68%, 100% { opacity: 0.15; filter: brightness(0.7); }
  22% { opacity: 0.9; filter: brightness(1.45); }
}
@keyframes book-breathe {
  0%, 100% { opacity: 0.35; transform: scale(0.88); }
  55% { opacity: 0.82; transform: scale(1.05); }
}
@keyframes ward-rise {
  0%, 100% { opacity: 0.18; transform: translateY(16px) scale(0.82); }
  45% { opacity: 0.92; transform: translateY(-10px) scale(1); }
}
@keyframes ward-spin {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}
@keyframes rune-flicker {
  0%, 100% { opacity: 0.25; filter: blur(0.5px); }
  50% { opacity: 0.95; filter: blur(0); }
}
@keyframes forge-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.58; }
  48% { transform: scale(1.12); opacity: 1; }
}
@keyframes ember-rise {
  0% { opacity: 0; transform: translateY(18px) scale(0.6) rotate(0deg); }
  24% { opacity: 0.95; }
  100% { opacity: 0; transform: translateY(-46px) scale(0.95) rotate(18deg); }
}
@keyframes hammer-warmth {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.62; }
}
@keyframes lens-tick {
  0%, 100% { transform: rotate(-5deg); opacity: 0.72; }
  36% { transform: rotate(7deg); opacity: 1; }
}
@keyframes mythril-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes mythril-core-pulse {
  0%, 100% { opacity: 0.58; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1.14); }
}
@keyframes page-turn {
  0%, 100% { opacity: 0.28; transform: rotateY(0deg) skewY(-2deg); }
  45% { opacity: 0.82; transform: rotateY(34deg) skewY(-2deg); }
}
@keyframes quill-stroke {
  0%, 100% { opacity: 0; transform: translate(-10px, 12px) rotate(-34deg) scaleX(0.55); }
  38% { opacity: 0.9; transform: translate(8px, -4px) rotate(-34deg) scaleX(1); }
  62% { opacity: 0.18; }
}
@keyframes token-flip {
  0%, 100% { transform: rotateY(0deg) translateY(0); opacity: 0.72; }
  50% { transform: rotateY(180deg) translateY(-6px); opacity: 1; }
}
@keyframes route-shimmer {
  0%, 100% { opacity: 0.16; filter: brightness(0.8); }
  46% { opacity: 0.74; filter: brightness(1.35); }
}
@keyframes charm-sway {
  0%, 100% { transform: rotate(-5deg); opacity: 0.42; }
  50% { transform: rotate(8deg); opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .table-card.active,
  .warden-fx span {
    animation: none !important;
  }
  .table-card:hover .warden-fx,
  .table-card:focus-within .warden-fx,
  .table-card.fx-active .warden-fx,
  .table-card.fx-preview .warden-fx {
    opacity: 0.55;
  }
}

.table-card-badge {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  margin-bottom: 0.6rem;
  display: block;
}
.table-card-name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rws-white);
  margin-bottom: 0.25rem;
}
.table-card-role {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rws-white-30);
  margin-bottom: 1.25rem;
}
.table-card-desc {
  font-size: 0.92rem;
  color: var(--rws-white-50);
  line-height: 1.82;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}
.table-card-link {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  border-bottom: 1px solid rgba(192,57,43,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.table-card-link:hover { border-color: var(--rws-crimson); }

.table-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 2rem;
}
.table-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--rws-border);
  color: var(--rws-white-50);
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.table-btn:hover:not(:disabled) {
  border-color: var(--rws-crimson);
  color: var(--rws-white);
  background: rgba(192,57,43,0.08);
}
.table-btn:disabled { opacity: 0.2; cursor: default; }
.table-dots {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.table-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rws-white-30);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.table-dot.active {
  background: var(--rws-crimson);
  transform: scale(1.4);
}
.table-dot--head {
  width: 8px; height: 8px;
}
.table-hint {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rws-white-30);
  margin-top: 1.25rem;
  opacity: 0.6;
}

/* ─── V2 MOBILE ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Fortress hero — tighten title on narrow screens */
  .fortress-title {
    font-size: clamp(2.2rem, 13vw, 3.5rem);
    letter-spacing: 0.1em;
  }
  .fortress-sub { font-size: 0.88rem; }
  .fortress-emblem img { width: 56px; height: 56px; }
  .fortress-cta { flex-direction: column; align-items: center; }
  .fortress-cta .btn { width: 100%; max-width: 260px; text-align: center; }

  /* Staircase windows */
  .staircase-window { margin-bottom: 3rem; }
  .window-frame { padding: 1.25rem; }
  .window-name { font-size: 1.4rem; }

  /* Round table */
  .table-cards { min-height: 420px; }
  .table-card-portrait { max-width: 260px; }
  .table-card--head .table-card-portrait { max-width: 200px; }
  .table-card-desc { font-size: 0.87rem; }
  .table-controls { gap: 1.25rem; }

  /* Chamber arrival */
  .chamber-heading { font-size: 1.8rem; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   V3 STYLES — Chamber Hero & Parallax Division Windows
   redwardenstudios.com
═══════════════════════════════════════════════════════════════════════════ */

/* ─── Chamber Hero ──────────────────────────────────────────────────────── */
.chamber-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Background: chamber image fills the section */
.chamber-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/roundtable/chamber.png');
  background-size: cover;
  background-position: center 8%;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Animated chamber loop — overlays .chamber-bg, matches its cover framing exactly
   (object-position mirrors .chamber-bg's `center 8%`) so emblem hotspots stay aligned.
   z-index:1 = above the bg image (0), below the ember canvas (2). */
.chamber-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  z-index: 1;
  pointer-events: none;
}
/* Portrait-phone loop uses the portrait plate's framing (center center, like .chamber-bg on mobile) */
.chamber-video--portrait { display: none; object-position: center center; }
/* On portrait phones: hide the landscape loop, show the portrait loop */
@media (max-width: 600px) and (orientation: portrait) {
  .chamber-video { display: none; }
  .chamber-video--portrait { display: block; }
}

/* Ember canvas: sits above bg, below all UI */
.chamber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Vignette: edges darken, center stays clear */
.chamber-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 90% 65% at 50% 55%, transparent 25%, rgba(5,5,6,0.55) 100%),
    linear-gradient(to bottom,
      rgba(5,5,6,0.72) 0%,
      rgba(5,5,6,0.18) 14%,
      transparent 30%,
      transparent 68%,
      rgba(5,5,6,0.85) 100%);
  pointer-events: none;
}

/* Title overlay — minimal, stays out of the way */
.chamber-title {
  position: relative;
  z-index: 4;
  text-align: center;
  /* Always clear the fixed 72px nav — clamp alone can fall below nav-h at mid viewports */
  padding-top: calc(var(--nav-h) + clamp(0.5rem, 1.5vw, 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.chamber-logo {
  opacity: 0.8;
  filter: drop-shadow(0 0 14px rgba(192,57,43,0.55));
  margin-bottom: 0.25rem;
}

.chamber-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(192, 57, 43, 1),
    0 0 32px rgba(192, 57, 43, 0.6),
    0 0 70px rgba(192, 57, 43, 0.25);
  margin: 0;
}

.chamber-hint {
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 0.95vw, 0.72rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rws-white-50);
  text-shadow: 0 2px 12px rgba(0,0,0,0.95), 0 0 3px rgba(0,0,0,0.9);
  margin: 0;
  pointer-events: none;
}

.chamber-name {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--rws-white);
  text-transform: uppercase;
  text-shadow: 0 0 50px rgba(192,57,43,0.35), 0 2px 20px rgba(0,0,0,0.8);
  line-height: 1;
  margin: 0;
}

.chamber-sub {
  font-size: 0.8rem;
  color: var(--rws-white-50);
  letter-spacing: 0.06em;
  margin: 0;
}

/* ─── Throne Hotspots ───────────────────────────────────────────────────── */
/* The container spans the full hero — hotspots are absolutely positioned */
.chamber-thrones {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;  /* container transparent; buttons re-enable events */
}

.throne-hotspot {
  position: absolute;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.28);
  cursor: pointer;
  pointer-events: all;
  transition: background 0.22s ease, border-color 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.throne-hotspot:hover,
.throne-hotspot:focus-visible {
  background: rgba(192,57,43,0.20);
  border-color: rgba(192,57,43,0.9);
  outline: none;
}

/* Pulsing ring orbits each hotspot */
.throne-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(192,57,43,0.42);
  animation: throne-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
.throne-hotspot:hover .throne-ring,
.throne-hotspot:focus-visible .throne-ring {
  border-color: rgba(192,57,43,0.95);
  animation: throne-pulse-active 0.9s ease-in-out infinite;
}
@keyframes throne-pulse {
  0%,100% { transform: scale(1);   opacity: 0.48; }
  50%      { transform: scale(1.38); opacity: 0.12; }
}
@keyframes throne-pulse-active {
  0%,100% { transform: scale(1);   opacity: 0.95; }
  50%      { transform: scale(1.45); opacity: 0.35; }
}

/* Label appears below hotspot on hover */
.throne-label {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  background: rgba(5,5,6,0.78);
  padding: 3px 9px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(192,57,43,0.7);
}
.throne-hotspot:hover .throne-label,
.throne-hotspot:focus-visible .throne-label {
  opacity: 1;
}

/* CDR throne — slightly larger, gold-edged treatment */
.throne-hotspot--cdr {
  width: 58px;
  height: 58px;
  background: rgba(192,57,43,0.10);
  border-color: rgba(192,57,43,0.45);
}

/* ─── Throne positions — adjust % to match chair positions in the image ─── */
/*  Image: assets/roundtable/chamber.png — overhead angled perspective
    Chair positions go clockwise from the head throne at top center.
    Tweak left/top values to align with chair seat positions on screen. */
.throne-hotspot--cdr          { left: 49.5%; top: 11.5%; }
.throne-hotspot--bastion      { left: 32%;   top: 20%; }
.throne-hotspot--foundry      { left: 14%;   top: 40%; }
.throne-hotspot--mythrilworks { left: 67%;   top: 20%; }
.throne-hotspot--athenaeum    { left: 84%;   top: 40%; }
.throne-hotspot--trading      { left: 50%;   top: 61%; }

/* ─── Symbol Hotspots — table emblem interactive targets ────────────────── */
/* Invisible at rest. On hover: white glow border + label above.
   Positions are set per-element below — tune left/top % to align with emblems. */
.symbol-hotspot {
  position: absolute;
  width: 150px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  pointer-events: all;
  padding: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.symbol-hotspot--lg {
  width: 132px;
  height: 132px;
}

.symbol-hotspot:hover,
.symbol-hotspot:focus-visible {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  outline: none;
}

/* Label appears ABOVE the symbol on hover */
.symbol-label {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rws-white);
  background: rgba(5, 5, 6, 0.82);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}
.symbol-hotspot:hover .symbol-label,
.symbol-hotspot:focus-visible .symbol-label {
  opacity: 1;
}

/* ─── Symbol positions — fine-tune after browser preview ─────────────────── */
/* Emblems on the table surface (image: assets/roundtable/chamber.png):
   CDR       = large RWS shield at front of table (camera-facing)
   Bastion   = red book/arcane shield, upper-left of table
   Foundry   = anvil, upper-right of table
   Mythril   = blue astrolabe/compass, left-center of table
   Athenaeum = quill + open book, lower-right of table
   Trading   = gold compass rose, right-center of table               */
.symbol-hotspot--cdr          { left: 49.7%;   top: 48%; }
.symbol-hotspot--bastion      { left: 36.5%;   top: 52%; }
.symbol-hotspot--foundry      { left: 63%;   top: 51.5%; }
.symbol-hotspot--mythrilworks { left: 28%;   top: 63%; }
.symbol-hotspot--athenaeum    { left: 68%;   top: 79.5%; }
.symbol-hotspot--trading      { left: 71.5%;   top: 64%; }

/* Mobile: shrink symbols on narrow viewports */
@media (max-width: 768px) {
  .symbol-hotspot        { width: 48px; height: 48px; }
  .symbol-hotspot--lg    { width: 62px; height: 62px; }
  .symbol-label          { font-size: 0.52rem; padding: 3px 7px; }
}
@media (max-width: 480px) {
  .symbol-hotspot        { width: 36px; height: 36px; }
  .symbol-hotspot--lg    { width: 46px; height: 46px; }
  .symbol-label          { display: none; }
}

/* Portrait-only tap hint — hidden everywhere except the portrait media query below */
.chamber-tap-hint { display: none; }

/* ─── Chamber Scroll Indicator ──────────────────────────────────────────── */
.chamber-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.45;
  animation: scroll-breathe 2.8s ease-in-out infinite;
}
@keyframes scroll-breathe {
  0%,100% { opacity: 0.35; }
  50%      { opacity: 0.6; }
}

/* ─── Division Windows — Parallax Layout ────────────────────────────────── */
.division-window {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--rws-void);
}

/* Parallax portrait container — overflow hidden clips the taller image */
.division-parallax-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Portrait image — taller than its container so parallax has room to move */
.division-parallax-img {
  position: absolute;
  width: auto;
  height: 125%;
  top: -12%;
  object-fit: contain;
  will-change: transform;
  filter: drop-shadow(0 0 70px rgba(192,57,43,0.18)) drop-shadow(0 40px 80px rgba(0,0,0,0.85));
  opacity: 0.88;
}

/* Portrait on the RIGHT — text on the left */
.division-window--right .division-parallax-img {
  right: 3%;
  left: auto;
}

/* Portrait on the LEFT — text on the right */
.division-window--left .division-parallax-img {
  left: 3%;
  right: auto;
}

/* Gradient overlay fades portrait into the dark background toward the text */
.division-window--right::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--rws-void) 18%,
    rgba(5,5,6,0.80) 34%,
    rgba(5,5,6,0.35) 52%,
    rgba(5,5,6,0.06) 68%,
    transparent 84%
  );
}

.division-window--left::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to left,
    var(--rws-void) 18%,
    rgba(5,5,6,0.80) 34%,
    rgba(5,5,6,0.35) 52%,
    rgba(5,5,6,0.06) 68%,
    transparent 84%
  );
}

/* Text content block */
.division-content {
  position: relative;
  z-index: 2;
  max-width: 460px;
  padding: clamp(2.5rem, 5vw, 4rem);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.division-window.visible .division-content {
  opacity: 1;
  transform: translateY(0);
}

/* Portrait right → text left */
.division-window--right .division-content {
  margin-left: clamp(1.5rem, 5vw, 5rem);
  margin-right: auto;
}
/* Portrait left → text right */
.division-window--left .division-content {
  margin-right: clamp(1.5rem, 5vw, 5rem);
  margin-left: auto;
}

/* Division content type elements */
.window-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--rws-crimson);
  margin-bottom: 0.45rem;
  opacity: 0.75;
}

.window-division-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rws-white-30);
  margin-bottom: 0.85rem;
}

.window-name {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--rws-white);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.35rem;
}

.window-type {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rws-crimson);
  margin: 0 0 1.25rem;
  opacity: 0.88;
}

.window-desc {
  font-size: 0.91rem;
  line-height: 1.82;
  color: var(--rws-white-50);
  margin: 0 0 2rem;
  max-width: 380px;
}

.window-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rws-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(192,57,43,0.38);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.window-link:hover {
  color: var(--rws-crimson);
  border-color: var(--rws-crimson);
}

/* ─── V3 Mobile ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Hotspots — smaller on mobile */
  .throne-hotspot        { width: 36px; height: 36px; }
  .throne-hotspot--cdr   { width: 44px; height: 44px; }
  .throne-label          { font-size: 0.52rem; padding: 2px 7px; }

  /* Stack portrait above text on narrow screens */
  .division-window {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-end;
  }
  .division-parallax-wrap {
    position: relative;
    width: 100%;
    height: 52vh;
    flex-shrink: 0;
  }
  .division-parallax-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0 !important;
    right: 0 !important;
    object-fit: contain;
    object-position: center bottom;
  }
  .division-window--right::before,
  .division-window--left::before {
    background: linear-gradient(to top, var(--rws-void) 0%, rgba(5,5,6,0.5) 50%, transparent 100%);
  }
  .division-content {
    margin: 0 !important;
    padding: 1.75rem var(--container-px) 2.5rem;
    max-width: 100%;
  }
  .window-desc { max-width: 100%; }
}

@media (max-width: 480px) {
  /* Further reduce hotspot size on very small screens */
  .throne-hotspot        { width: 28px; height: 28px; }
  .throne-hotspot--cdr   { width: 34px; height: 34px; }
  .throne-label          { display: none; } /* too crowded on tiny screens */
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATION
   Comprehensive touch/portrait fixes — supplements existing responsive rules
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Touch target baseline (any touch device) ──────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .btn            { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .window-link    { min-height: 44px; padding-block: 0.85rem; }
  .nav-mobile a   { min-height: 44px; display: flex; align-items: center; }
}

/* ─── Viewport height: account for mobile browser chrome ────────────────── */
/* svh = small viewport height — stays fixed when the address bar appears,
   so the hero never gets clipped by browser UI */
@supports (height: 100svh) {
  .chamber-hero { height: 100svh; }
}

/* ─── Mobile layout (≤768px) ─────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Navigation ────────────────────────────────────────────────────────── */

  /* Nav starts transparent on desktop (fade in on scroll).
     On mobile there's no mouse — the first scroll never happens,
     so links are invisible against the chamber hero image.
     Force the background from the start. */
  .nav {
    background: rgba(8, 8, 9, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rws-border);
  }

  /* Hamburger → X: animate the three spans into a cross when the menu opens */
  .nav-toggle span {
    transition: transform 0.28s var(--ease-out), opacity 0.18s, width 0.18s;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* ── Chamber Hero ──────────────────────────────────────────────────────── */

  /* On a portrait phone, background-size:cover scales the chamber image so it
     fills the tall viewport. At background-position: center 8% only the very
     top of the image shows — the table surface (where the action is) gets cut.
     Shift to 30% to reveal the table area in the center of the frame. */
  .chamber-bg {
    background-position: center 30%;
  }

  /* Clear the fixed 72px nav bar — the chamber-title had only ~32–56px of
     padding-top (via clamp), which puts it behind the nav on mobile. */
  .chamber-title {
    padding-top: calc(var(--nav-h) + 1rem);
  }

  /* Hotspots: hide on mobile.
     Problem: hotspot % positions are calibrated for the desktop image crop.
     On portrait phones the image crops to a narrow vertical slice, so the
     hotspots end up pointing at nothing. Also, hover is how you discover
     them on desktop — there's no hover on touch. Solution: hide them and
     show an explicit division nav at the bottom of the hero instead. */
  .chamber-thrones {
    display: none;
  }

  /* Scroll indicator: hidden on mobile — the mobile division nav replaces
     the visual cue that there's something to interact with */
  .chamber-scroll {
    display: none;
  }

  /* ── Mobile Division Navigation ────────────────────────────────────────── */
  /* Visible tap targets replacing the hidden hotspots.
     Sits at the bottom of the chamber hero via margin-top: auto. */
  .chamber-mobile-nav {
    position: relative;
    z-index: 6;
    width: 100%;
    padding: 0 var(--container-px) 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
  }
  .chamber-mobile-nav a {
    font-family: var(--font-heading);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rws-white-80);
    padding: 0.6rem 1rem;
    border: 1px solid rgba(192, 57, 43, 0.4);
    background: rgba(5, 5, 6, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
  .chamber-mobile-nav a:active {
    border-color: var(--rws-crimson);
    color: var(--rws-crimson);
    background: rgba(192, 57, 43, 0.1);
  }

  /* ── Division Windows ──────────────────────────────────────────────────── */

  /* Parallax JS is disabled on mobile (see chamber.js), but if it runs before
     the media query check, this !important override ensures images aren't
     displaced by a stale inline transform. */
  .division-parallax-img {
    transform: none !important;
    top: 0;
  }

  /* Slightly reduce portrait height on very small screens to leave more
     room for the text content below */
  .division-parallax-wrap {
    height: 44vh;
  }
}

/* ─── Desktop: hide mobile-only elements ─────────────────────────────────── */
@media (min-width: 1025px) {
  .chamber-mobile-nav { display: none; }
}

/* ─── Landscape phone / small tablet (769–1024px) ───────────────────────── */
/* These devices sit between the ≤768px portrait block and real desktop.     */
/* Desktop hotspot positions are calibrated for 4K — they misalign here.     */
/* The nav never receives a scroll event on touch, so keep it solid.         */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Solid nav — touch users won't scroll-trigger the background */
  .nav {
    background: rgba(8, 8, 9, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rws-border);
  }

  /* Hide desktop hotspots — 4K-calibrated positions are wrong at this scale */
  .chamber-thrones { display: none; }
  .chamber-scroll   { display: none; }

  /* Show mobile division nav (normally hidden above 768px) */
  .chamber-mobile-nav {
    display: flex;
    position: relative;
    z-index: 6;
    width: 100%;
    padding: 0 var(--container-px) 2.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
  }
  .chamber-mobile-nav a {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rws-white-80);
    padding: 0.65rem 1.1rem;
    border: 1px solid rgba(192, 57, 43, 0.4);
    background: rgba(5, 5, 6, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
  }
  .chamber-mobile-nav a:hover,
  .chamber-mobile-nav a:active {
    border-color: var(--rws-crimson);
    color: var(--rws-crimson);
    background: rgba(192, 57, 43, 0.1);
  }
}

/* ─── Portrait phone: reduce background zoom ─────────────────────────────── */
/* background-size:cover on a portrait viewport crops heavily to the center  */
/* strip — only ~26% of the image width is visible, cutting off all chairs.  */
/* auto 60% scales the image to 60% of the hero height, showing ~42% of the */
/* image width. The void background fills the rest, faded by the vignette.   */
@media (max-width: 600px) and (orientation: portrait) {
  .chamber-bg {
    /* chamber-mobile.png first; chamber.png as fallback if mobile image fails */
    background-image: url("../assets/roundtable/chamber-mobile.png"),
                      url("../assets/roundtable/chamber.png");
    background-size: cover;
    background-position: center center;
  }

  /* "The Halls of Aldervaatch" was sitting down among the throne spires and
     getting lost in the dark-crimson chairs. Lift it up toward the nav and lay
     a soft dark scrim behind it so the crimson text reads cleanly. */
  .chamber-title {
    padding-top: calc(var(--nav-h) + 0.25rem);
  }
  .chamber-title::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -0.75rem;
    transform: translateX(-50%);
    width: 150vw;
    height: 6.5rem;
    background: radial-gradient(ellipse 58% 100% at 50% 32%,
                rgba(5,5,6,0.92), rgba(5,5,6,0.55) 48%, transparent 78%);
    z-index: -1;
    pointer-events: none;
  }

  /* Show emblem hotspots over the portrait image; replace the text nav */
  .chamber-thrones    { display: flex; }
  .chamber-mobile-nav { display: none; }

  /* Touch-friendly hotspot sizing */
  .symbol-hotspot     { width: 52px; height: 52px; }
  .symbol-hotspot--lg { width: 66px; height: 66px; }

  /* Labels hidden on portrait — single fading hint replaces per-emblem labels */
  .symbol-hotspot .symbol-label { display: none; }

  /* ── "Tap an emblem" one-time hint ──────────────────────────────────────── */
  .chamber-tap-hint {
    display: block;
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rws-crimson);
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.95),
      0 0 10px rgba(192, 57, 43, 0.9),
      0 0 28px rgba(192, 57, 43, 0.4);
    white-space: normal;
    max-width: 80vw;
    text-align: center;
    line-height: 1.7;
    pointer-events: none;
    /* Start invisible, rise, gently pulse to catch the eye, hold, then fade to nothing.
       Longer + later than before so it's catchable once the animated chamber has settled. */
    opacity: 0;
    animation: chamber-tap-hint-fade 7s ease-out 1.2s forwards;
  }

  @keyframes chamber-tap-hint-fade {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    18%  { opacity: 0.5; }
    28%  { opacity: 1; }
    75%  { opacity: 1; }
    100% { opacity: 0; }
  }
}


/* ─── LEGAL DOCUMENT PAGES ──────────────────────────────────────────────── */
.legal-doc{max-width:820px;margin:0 auto;color:rgba(255,255,255,.78);font-size:0.98rem;line-height:1.85;}
.legal-doc > *:first-child{margin-top:0;}
.legal-doc h2{font-family:var(--font-heading);font-size:clamp(1.15rem,2.4vw,1.55rem);font-weight:700;letter-spacing:0.02em;color:var(--rws-white);margin:2.8rem 0 1rem;padding-top:1.6rem;border-top:1px solid var(--rws-border);}
.legal-doc h3{font-family:var(--font-heading);font-size:1.02rem;font-weight:600;color:var(--rws-white);margin:1.8rem 0 .7rem;}
.legal-doc p{margin-bottom:1.1rem;}
.legal-doc ul,.legal-doc ol{margin:0 0 1.2rem 1.35rem;display:flex;flex-direction:column;gap:.55rem;}
.legal-doc li{line-height:1.7;}
.legal-doc strong{color:var(--rws-white);font-weight:600;}
.legal-doc a{color:var(--rws-crimson);text-decoration:underline;text-underline-offset:2px;}
.legal-doc a:hover{color:var(--rws-white);}
.legal-doc em{color:var(--rws-white-50);font-style:italic;}
.legal-doc hr{display:none;}
.legal-doc table{width:100%;border-collapse:collapse;margin:0 0 1.4rem;font-size:.9rem;}
.legal-doc th,.legal-doc td{border:1px solid var(--rws-border);padding:.6rem .8rem;text-align:left;vertical-align:top;}
.legal-doc th{color:var(--rws-white);font-family:var(--font-heading);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;}

@media (max-width: 1024px){ .chamber-hint { display: none; } }

/* ─── Desktop: anchor the chamber intro text to the top-left corner ──────────
   Andrew's note: the centered "Halls of Aldervaatch" title sat right on top of
   the central emblem. On real desktop viewports, tuck it into the top-left
   negative space under the nav instead. Mobile/tablet keep the centered layout
   (which already has its own portrait scrim handling). */
@media (min-width: 1025px) {
  /* Shrunk + dropped into the dark wall band between the anvil banner and the
     centre throne, off every glowing emblem. Absolute so it holds that gap. */
  .chamber-title {
    position: absolute;
    left: 23.5%;
    top: calc(var(--nav-h) + 1rem);
    align-items: flex-start;
    text-align: left;
    max-width: 42%;
    padding: 0;
    gap: 0.4rem;
    z-index: 6;
  }
  .chamber-eyebrow { font-size: 0.9rem;  letter-spacing: 0.24em; }
  .chamber-hint    { font-size: 0.68rem; letter-spacing: 0.2em; }
}
