/* ============================================
   THE TURQUOISE TABLE — main.css
   ============================================ */

/* ---- SINNERS (dark, default) ---- */
:root, [data-theme="sinners"] {
  --bg: #1a0d06; --bg-surface: #281408; --bg-stone: #32180a;
  --text: #e8d5c0; --text-muted: rgba(232,213,192,0.82); --text-faint: rgba(232,213,192,0.48);
  --border: rgba(255,255,255,0.07); --border-accent: rgba(46,196,196,0.18);
  --cream: #f0e6d0; --turquoise: #2ec4c4; --turquoise-dark: #1a8a8a;
  --turquoise-glow: rgba(46,196,196,0.3); --turquoise-light: #7ee8e8;
  --sinners-color: #d4541a; --sinners-glow: rgba(212,84,26,0.3);
  --saints-color: #c9a227; --saints-glow: rgba(201,162,39,0.3);
  --card-bg: rgba(52, 24, 8, 0.92); --card-hover-border: rgba(46,196,196,0.35);
  --dark-bg: #1a0d06; --dark-stone: #32180a; --light-text: #f0e6d0;
}

/* ---- SAINTS (light) ---- */
[data-theme="saints"] {
  --bg: #f5f0e8; --bg-surface: #ede6d8; --bg-stone: #e5dcc8;
  --text: #1a1208; --text-muted: rgba(26,18,8,0.72); --text-faint: rgba(26,18,8,0.48);
  --border: rgba(26,18,8,0.08); --border-accent: rgba(201,162,39,0.35);
  --cream: #1a1208; --turquoise: #0e8080; --turquoise-dark: #0a5a5a;
  --turquoise-glow: rgba(14,128,128,0.25); --turquoise-light: #0a6060;
  --sinners-color: #8b2800; --sinners-glow: rgba(139,40,0,0.2);
  --saints-color: #8a6800; --saints-glow: rgba(138,104,0,0.2);
  --card-bg: rgba(237,230,216,0.95); --card-hover-border: rgba(14,128,128,0.35);
  --dark-bg: #f5f0e8; --dark-stone: #e5dcc8; --light-text: #1a1208;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body { font-family: 'Cormorant Garamond', serif; background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; transition: background 0.5s, color 0.5s; }
p { font-size: 18px; line-height: 1.75; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3 { font-family: 'Cinzel', serif; line-height: 1.15; }

.section-tag {
  display: inline-block; font-family: 'Cinzel', serif;
  font-size: 0.65rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--turquoise); margin-bottom: 1rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--turquoise-dark);
}

/* ---- BUTTONS ---- */
.btn { display: inline-block; font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; padding: 0.9rem 2.4rem; border: 1px solid currentColor; cursor: pointer; transition: all 0.3s; }
.btn-primary { background: var(--turquoise); border-color: var(--turquoise); color: #060e0e; font-weight: 700; }
.btn-primary:hover { background: var(--turquoise-light); border-color: var(--turquoise-light); }
.btn-ghost { background: transparent; border-color: var(--text-muted); color: var(--text); }
.btn-ghost:hover { border-color: var(--turquoise); color: var(--turquoise); }
.btn-outline { background: transparent; border-color: var(--turquoise); color: var(--turquoise); }
.btn-outline:hover { background: var(--turquoise); color: #060e0e; }
.btn-lg { padding: 1.1rem 3rem; font-size: 0.82rem; }

/* ---- NAV ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 9998; height: 72px; transition: background 0.4s, border-color 0.4s; }
.nav.scrolled { background: rgba(7,5,8,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-accent); box-shadow: 0 4px 40px rgba(0,0,0,0.5); }
[data-theme="saints"] .nav.scrolled { background: rgba(245,240,232,0.96); box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; }
[data-theme="sinners"] .nav-logo-dark  { display: block; }
[data-theme="sinners"] .nav-logo-light { display: none; }
[data-theme="saints"]  .nav-logo-dark  { display: none; }
[data-theme="saints"]  .nav-logo-light { display: block; }
.nav-logo-dark  { display: none; }
.nav-logo-light { display: block; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-family: 'Cinzel', serif; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); transition: color 0.3s; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--turquoise); border-bottom-color: var(--turquoise); }
/* Hide mobile-only toggle on desktop */
.mobile-theme-toggle { display: none; }

.theme-toggle { display: flex; align-items: center; border: 1px solid var(--border-accent); overflow: hidden; flex-shrink: 0; }
.theme-btn { display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.9rem; background: transparent; border: none; cursor: pointer; font-family: 'Cinzel', serif; font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); transition: all 0.3s; }
.theme-btn .theme-icon svg { width: 20px; height: 20px; }
.sinners-btn.active, .sinners-btn:hover { background: rgba(212,84,26,0.15); color: #d4541a; }
.saints-btn.active,  .saints-btn:hover  { background: rgba(201,162,39,0.15); color: var(--saints-color); }
.sinners-btn .theme-icon svg { color: #d4541a; }
.saints-btn  .theme-icon svg { color: var(--saints-color); }
.theme-divider { width: 1px; height: 28px; background: var(--border-accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---- NAV CONTRASTING BACKGROUND (always visible) ---- */
[data-theme="sinners"] .nav {
  background: rgba(245, 240, 232, 0.93); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 18, 8, 0.08);
}
[data-theme="sinners"] .nav.scrolled {
  background: rgba(245, 240, 232, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
[data-theme="saints"] .nav {
  background: rgba(26, 13, 6, 0.93); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}
[data-theme="saints"] .nav.scrolled {
  background: rgba(26, 13, 6, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
[data-theme="sinners"] .nav .nav-logo-dark { display: none; }
[data-theme="sinners"] .nav .nav-logo-light { display: block; }
[data-theme="saints"] .nav .nav-logo-dark { display: block; }
[data-theme="saints"] .nav .nav-logo-light { display: none; }
[data-theme="sinners"] .nav-links a { color: rgba(26, 18, 8, 0.65); }
[data-theme="sinners"] .nav-links a:hover,
[data-theme="sinners"] .nav-links a.active { color: #0e8080; border-bottom-color: #0e8080; }
[data-theme="saints"] .nav-links a { color: rgba(232, 213, 192, 0.78); }
[data-theme="saints"] .nav-links a:hover,
[data-theme="saints"] .nav-links a.active { color: #2ec4c4; border-bottom-color: #2ec4c4; }
[data-theme="sinners"] .nav-toggle span { background: #1a1208; }
[data-theme="saints"] .nav-toggle span { background: #e8d5c0; }
[data-theme="sinners"] .theme-btn { color: rgba(26, 18, 8, 0.55); }
[data-theme="saints"] .theme-btn { color: rgba(232, 213, 192, 0.6); }
[data-theme="sinners"] .theme-toggle { border-color: rgba(26, 18, 8, 0.12); }
[data-theme="saints"] .theme-toggle { border-color: rgba(232, 213, 192, 0.15); }
[data-theme="sinners"] .theme-divider { background: rgba(26, 18, 8, 0.12); }
[data-theme="saints"] .theme-divider { background: rgba(232, 213, 192, 0.15); }

/* ---- HERO ---- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(7,5,8,0.45) 0%, rgba(7,5,8,0.3) 35%, rgba(7,5,8,0.55) 60%, rgba(7,5,8,0.92) 100%); }
[data-theme="saints"] .hero-overlay { background: linear-gradient(to bottom, rgba(245,240,232,0.4) 0%, rgba(245,240,232,0.3) 35%, rgba(245,240,232,0.55) 60%, rgba(245,240,232,0.92) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 2rem 5rem; max-width: 860px; width: 100%; }
.hero-eyebrow { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 2.8vw, 2rem); font-style: italic; color: rgba(232,213,192,0.92); letter-spacing: 0.08em; margin-bottom: 0.6rem; text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 16px rgba(0,0,0,0.6); }
[data-theme="saints"] .hero-eyebrow { color: rgba(26,18,8,0.95); text-shadow: 0 1px 3px rgba(255,255,255,0.6), 0 2px 16px rgba(255,255,255,0.3); }
.hero-title { font-family: 'Cinzel Decorative', serif; font-size: clamp(2.2rem, 6vw, 5.5rem); color: var(--cream); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 1.2rem; line-height: 1.1; text-shadow: 0 2px 4px rgba(0,0,0,0.7), 0 4px 40px rgba(0,0,0,0.4); }
[data-theme="saints"] .hero-title { text-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 4px 40px rgba(0,0,0,0.1); }
.hero-subtitle { font-size: clamp(1rem, 1.5vw, 1.2rem); font-style: italic; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.8; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-nations { display: flex; flex-wrap: wrap; justify-content: center; font-family: 'Cinzel', serif; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); gap: 0.2rem; }
.hero-nations .dot { color: var(--turquoise); opacity: 0.5; margin: 0 0.3rem; }
.hero-nation-link { color: inherit; text-decoration: none; transition: color 0.2s; }
.hero-nation-link:hover { color: var(--turquoise-light); }

/* Global tiny flag icon styling */
.hero-nation-link .fi,
.nation-chip .fi,
.nation-nav-chip .fi {
  display: inline-block;
  width: 16px;
  height: 12px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1.5px;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15);
  vertical-align: middle;
  position: relative;
  top: -1px;
  font-size: 0;
  margin-right: 2px;
}

@keyframes eyePulse { 0%,100% { opacity: 0.9; } 50% { opacity: 1; } }
.hero-single-eye { display: block; width: min(200px, 42vw); height: auto; margin: 0 auto 2rem; filter: drop-shadow(0 0 18px rgba(46,196,196,0.7)) drop-shadow(0 0 40px rgba(46,196,196,0.35)); animation: eyePulse 3.5s ease-in-out infinite; }
[data-theme="saints"] .hero-single-eye { filter: drop-shadow(0 0 12px rgba(14,128,128,0.5)); }

/* ---- EYE DIVIDER ---- */
.eye-divider { display: flex; align-items: center; justify-content: center; padding: 1.5rem 0; background: var(--bg); }
.divider-line { width: min(600px, 90vw); height: 1px; background: linear-gradient(90deg, transparent, var(--turquoise), transparent); opacity: 0.35; }

/* ---- DUALITY ---- */
.duality { padding: 6rem 2rem; background: var(--bg); }
[data-theme="sinners"] .duality {
  background: linear-gradient(180deg, #1a0d06 0%, #3a1a08 50%, #1a0d06 100%);
}
.duality-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 3rem; align-items: start; }
.duality-side { padding: 2.5rem; border: 1px solid var(--border); background: var(--card-bg); }

/* Sinners side — bright candlelit amber-orange */
[data-theme="sinners"] .duality-dark {
  background: linear-gradient(135deg, rgba(200, 75, 20, 0.38) 0%, rgba(160, 50, 12, 0.48) 100%);
  border: 1px solid rgba(212, 84, 26, 0.55);
  border-left: 3px solid var(--sinners-color);
  box-shadow: inset 0 0 100px rgba(220, 90, 20, 0.22);
}
/* Saints side — warm candlelit gold */
[data-theme="sinners"] .duality-light {
  background: linear-gradient(135deg, rgba(180, 140, 30, 0.25) 0%, rgba(140, 105, 15, 0.35) 100%);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-left: 3px solid var(--saints-color);
  box-shadow: inset 0 0 80px rgba(180, 130, 10, 0.14);
}
.duality-dark { border-left: 3px solid var(--sinners-color); }
.duality-light { border-left: 3px solid var(--saints-color); }
.duality-label { font-family: 'Cinzel', serif; font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.sinners-label { color: var(--sinners-color); }
.saints-label  { color: var(--saints-color); }
.duality-side h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--cream); font-weight: 400; margin-bottom: 1rem; }
.duality-side p  { font-size: 18px; color: var(--text-muted); font-style: italic; line-height: 1.8; margin-bottom: 1.5rem; }
.duality-list li { font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.12em; color: var(--text-muted); padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
[data-theme="sinners"] .duality-dark .duality-list li { border-bottom-color: rgba(212, 84, 26, 0.15); color: rgba(240, 200, 170, 0.82); }
[data-theme="sinners"] .duality-dark h2 { color: #f5d0b0; }
[data-theme="sinners"] .duality-dark p  { color: rgba(240, 195, 160, 0.78); }
[data-theme="sinners"] .duality-dark .duality-label { color: #e87040; }
.duality-list li:last-child { border-bottom: none; }
.duality-center { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 2rem 1rem; min-width: 140px; }
.center-eye-img { width: 220px; height: 77px; object-fit: contain; filter: drop-shadow(0 0 16px var(--turquoise-glow)); animation: eyePulse 4s ease-in-out infinite; }
.duality-tagline { font-family: 'Cinzel Decorative', serif; font-size: 0.9rem; color: var(--turquoise); text-align: center; line-height: 1.8; }

/* ---- CONCEPT VISUAL ---- */
.concept-visual { background: var(--bg-stone); }
[data-theme="sinners"] .concept-visual { background: linear-gradient(180deg, #281408 0%, #32180a 100%); }
.concept-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.concept-img-wrap { overflow: hidden; }
.concept-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.concept-img-wrap:hover img { transform: scale(1.04); }
.concept-text { padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.concept-text .section-tag { display: block; }
.concept-text h2 { font-size: clamp(1.8rem, 2.5vw, 2.5rem); color: var(--cream); font-weight: 400; margin-bottom: 1.5rem; line-height: 1.2; }
.concept-text p  { font-size: 18px; color: var(--text-muted); font-style: italic; line-height: 1.85; margin-bottom: 2rem; }


/* ---- SIGNATURE ---- */
.signature { padding: 6rem 2rem; background: var(--bg-stone); }
.signature-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.signature-inner.signature-text-only { grid-template-columns: 1fr; max-width: 780px; }
.signature-inner.signature-text-only h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.signature-inner.signature-text-only .nations-grid { max-width: 600px; }
.signature-text .section-tag { display: block; }
.signature-text h2 { font-size: clamp(1.8rem, 2.5vw, 3rem); color: var(--cream); font-weight: 400; margin-bottom: 1.5rem; line-height: 1.2; }
.signature-text p  { font-size: 18px; color: var(--text-muted); font-style: italic; line-height: 1.85; margin-bottom: 2rem; }
.nations-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.nation-chip { font-family: 'Cinzel', serif; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.5rem 1.1rem; border: 1px solid var(--border-accent); color: var(--turquoise); transition: all 0.3s; cursor: pointer; text-decoration: none; display: inline-block; }
a.nation-chip:hover { background: rgba(46,196,196,0.15); border-color: var(--turquoise); color: var(--turquoise-light); transform: translateY(-2px); }

/* ---- GALLERY STRIP ---- */
.gallery-strip { padding: 5rem 0; background: var(--bg); overflow: hidden; }
.strip-header { text-align: center; padding: 0 2rem; margin-bottom: 2.5rem; }
.strip-header h2 { font-size: clamp(1.8rem,3vw,2.5rem); color: var(--cream); font-weight: 400; margin-top: 0.5rem; }
.strip-scroll { position: relative; overflow: hidden; }
.strip-scroll::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 100px; z-index: 2; pointer-events: none; background: linear-gradient(to right, var(--bg), transparent); }
.strip-scroll::after  { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 100px; z-index: 2; pointer-events: none; background: linear-gradient(to left, var(--bg), transparent); }
.strip-track { display: flex; gap: 1rem; padding: 0 2rem; animation: stripScroll 40s linear infinite; width: max-content; }
.strip-track:hover { animation-play-state: paused; }
@keyframes stripScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.strip-item { flex: 0 0 220px; cursor: pointer; }
.strip-item img { width: 100%; height: 260px; object-fit: cover; filter: brightness(0.8); transition: filter 0.4s, transform 0.4s; }
.strip-item:hover img { filter: brightness(1); transform: scale(1.03); }
.strip-item span { display: block; font-family: 'Cinzel', serif; font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); padding: 0.6rem 0; transition: color 0.3s; }
.strip-item:hover span { color: var(--turquoise); }
.strip-footer { text-align: center; padding: 2.5rem 2rem 0; }

/* ---- CTA ---- */
.cta-section { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.5) brightness(0.45); }
[data-theme="saints"] .cta-bg img { filter: saturate(0.4) brightness(0.6); }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,5,8,0.88) 0%, rgba(46,196,196,0.04) 50%, rgba(7,5,8,0.88) 100%); }
[data-theme="saints"] .cta-overlay { background: linear-gradient(135deg, rgba(60,10,5,0.82) 0%, rgba(90,20,10,0.55) 40%, rgba(60,10,5,0.82) 100%); }
.cta-content { position: relative; z-index: 2; text-align: center; padding: 4rem 2rem; max-width: 680px; }
.cta-eye { width: 180px; height: 63px; object-fit: contain; margin: 0 auto 1.5rem; filter: drop-shadow(0 0 12px var(--turquoise-glow)); }
.cta-content h2 { font-size: clamp(1.8rem,3.5vw,3rem); color: #fff; margin: 0.5rem 0 1.5rem; font-weight: 400; }
.cta-content p  { font-size: 18px; font-style: italic; color: rgba(232,213,192,0.9); line-height: 1.85; margin-bottom: 2.5rem; }
[data-theme="saints"] .cta-content h2 { color: #fff; text-shadow: 0 0 20px rgba(200,60,30,0.8), 0 2px 8px rgba(0,0,0,0.9); }
[data-theme="saints"] .cta-content p  { color: rgba(255,235,220,0.95); text-shadow: 0 0 12px rgba(180,50,20,0.7); }
[data-theme="saints"] .cta-content .section-tag { color: #ffb49a; border-bottom-color: rgba(255,140,100,0.5); }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; padding: calc(72px + 2rem) 2rem 4rem; }
.page-header-bg { position: absolute; inset: 0; }
.page-header-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-header-content { position: relative; z-index: 2; max-width: 1280px; width: 100%; margin: 0 auto; }
.page-header-content h1 { font-family: 'Cinzel Decorative', serif; font-size: clamp(2rem,5vw,4rem); color: #fff; font-weight: 700; margin: 0.5rem 0; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.page-header-content p { font-size: 18px; font-style: italic; color: rgba(232,213,192,0.85); margin-top: 0.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.page-eye { width: 160px; height: 56px; object-fit: contain; margin-bottom: 1rem; filter: drop-shadow(0 0 10px var(--turquoise-glow)); }

/* ---- FOOTER ---- */
.footer { background: var(--bg-stone); border-top: 1px solid var(--border-accent); padding: 4rem 2rem 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; padding-bottom: 3rem; }
.footer-brand .footer-logo-text { font-family: 'Cinzel Decorative', serif; font-size: 1rem; color: var(--turquoise-light); letter-spacing: 0.05em; margin-bottom: 0.8rem; display: block; }
[data-theme="saints"] .footer-brand .footer-logo-text { color: var(--turquoise-dark); }
.footer-brand > p { font-size: 18px; font-style: italic; color: var(--text-muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-col h4 { font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 1.2rem; }
.footer-col ul li { font-size: 18px; color: var(--text-muted); padding: 0.3rem 0; }
.footer-col ul li a { color: var(--text-muted); transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--turquoise); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; text-align: center; }
.footer-bottom p { font-size: 18px; color: var(--text-faint); font-family: 'Cinzel', serif; letter-spacing: 0.1em; }

/* ---- REVEAL ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-2 { transition-delay: 0.15s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- MOBILE NAV ---- */
@media (max-width: 900px) {
  .nav { backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-accent); }
  [data-theme="sinners"] .nav { background: rgba(245, 240, 232, 0.97); }
  [data-theme="saints"] .nav { background: rgba(26, 13, 6, 0.97); }
  .nav-logo-img { height: 34px; }
  .theme-toggle { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    z-index: 9999;
    flex-direction: column; padding: 1rem 1.5rem 2rem; gap: 0;
    border-bottom: 2px solid var(--turquoise); overflow-y: auto;
    max-height: calc(100vh - 72px); box-shadow: 0 8px 40px rgba(0,0,0,0.9);
  }
  [data-theme="sinners"] .nav-links { background: rgba(245, 240, 232, 0.99); }
  [data-theme="saints"] .nav-links { background: rgba(26, 13, 6, 0.99); }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; width: 100%; }
  .nav-links li a { font-size: 1.1rem; letter-spacing: 0.1em; padding: 1rem 0; border-bottom: 1px solid var(--border); width: 100%; display: block; }
  [data-theme="sinners"] .nav-links li a { color: rgba(26, 18, 8, 0.85); }
  [data-theme="saints"] .nav-links li a { color: rgba(232, 213, 192, 0.9); }
  .nav-links li a:hover, .nav-links li a.active { color: var(--turquoise); }
  .nav-links .mobile-theme-toggle { display: flex; gap: 0.75rem; margin-top: 1.25rem; width: 100%; list-style: none; }
  .nav-links .mobile-theme-btn { flex: 1; padding: 0.9rem 0.5rem; font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 3px; cursor: pointer; transition: all 0.2s; }
  .nav-links .mobile-sinners-btn { background: rgba(212,84,26,0.15); color: #e06030; border: 2px solid #d4541a; }
  .nav-links .mobile-sinners-btn.active, .nav-links .mobile-sinners-btn:hover { background: #d4541a; color: #fff; }
  .nav-links .mobile-saints-btn { background: rgba(201,162,39,0.15); color: #c9a227; border: 2px solid #c9a227; }
  .nav-links .mobile-saints-btn.active, .nav-links .mobile-saints-btn:hover { background: #c9a227; color: #1a1208; }
  .duality-inner { grid-template-columns: 1fr; max-width: 600px; }
  .duality-center { flex-direction: row; justify-content: center; padding: 1.5rem 0; }
  .concept-split { grid-template-columns: 1fr; }
  .concept-img-wrap { height: 420px; }
  .concept-text { padding: 3rem 2rem; }
  .signature-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 1024px) {
  .hero-img { display: none; }
  .hero-bg { background: url('../images/hero-mobile.png') center/cover no-repeat; }
}

@media (max-width: 768px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-nations { display: none; }
  .concept-text { padding: 2.5rem 1.5rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .strip-item { flex: 0 0 175px; }
  .strip-item img { height: 210px; }
}

@media (max-width: 480px) {
}

/* ============================================
   CONTENT Z-INDEX — sits above floating eyes (z:10)
   nav drawer is fixed at 9999 so it always wins
   ============================================ */
.hero-content,
.duality-inner,
.concept-split,
.signature-inner,
.strip-header, .strip-scroll, .strip-footer,
.cta-content,
.page-header-content,
.menu-container,
.footer-inner, .footer-bottom,
.story-main, .nation-main,
.symbols-main { position: relative; z-index: 20; }

/* ============================================
   SAINTS THEME — TEXT CONTRAST IMPROVEMENTS
   ============================================ */

/* Duality section */
[data-theme="saints"] .duality-side h2 { color: var(--text); }
[data-theme="saints"] .duality-side p { color: var(--text-muted); }
[data-theme="saints"] .duality-list li { color: var(--text-muted); }

/* Concept section */
[data-theme="saints"] .concept-text h2 { color: var(--text); }
[data-theme="saints"] .concept-text p { color: var(--text-muted); }

/* Signature section */
[data-theme="saints"] .signature-text h2 { color: var(--text); }
[data-theme="saints"] .signature-text p { color: var(--text-muted); }

/* Gallery strip */
[data-theme="saints"] .strip-header h2 { color: var(--text); }
[data-theme="saints"] .strip-item span { color: var(--text-faint); }

/* Footer */
[data-theme="saints"] .footer-bottom p { color: var(--text-faint); }

/* Page header — ensure contrast over image on saints */
[data-theme="saints"] .page-header-content h1 { color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
[data-theme="saints"] .page-header-content p { color: rgba(255,255,255,0.85); text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* Nation pages — headings and text */
[data-theme="saints"] .nation-hero h1 { -webkit-text-fill-color: var(--text); }
[data-theme="saints"] .nation-dishes-header h2 { color: var(--text); }
[data-theme="saints"] .nation-dishes-header p { color: var(--text-muted); }
[data-theme="saints"] .nation-dish-top h3 { color: var(--text); }
[data-theme="saints"] .nation-dish-card > p { color: var(--text-muted); }
[data-theme="saints"] .nation-facts-inner h2 { color: var(--text); }
[data-theme="saints"] .nation-facts-list li { color: var(--text-muted); }
[data-theme="saints"] .nation-nav-section h2 { color: var(--text); }

/* Menu — section headings */
[data-theme="saints"] .menu-section-header h2 { color: var(--text); }
