@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=DM+Sans:wght@400;500;600&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --bg-base: #0a0d12;
  --bg-surface: #0f1319;
  --bg-card: #141920;
  --bg-card-hover: #1a2230;
  --bg-elevated: #1e2738;

  --accent-primary: #0ea5e9;
  --accent-secondary: #38bdf8;
  --accent-glow: rgba(14, 165, 233, 0.25);
  --accent-teal: #14b8a6;
  --accent-gold: #f59e0b;

  --text-primary: #e8edf5;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #0ea5e9;

  --border-subtle: rgba(148, 163, 184, 0.08);
  --border-medium: rgba(148, 163, 184, 0.15);
  --border-accent: rgba(14, 165, 233, 0.3);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4), 0 0 1px rgba(255,255,255,0.05);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.7), 0 8px 20px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3), 0 0 40px rgba(14, 165, 233, 0.1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --nav-height: 80px;
  --nav-height-compact: 60px;

  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.canvas {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul { list-style: none; }

address { font-style: normal; }

/* ============================================
   NAVIGATION
   ============================================ */
.stage-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: padding var(--transition-base), background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.stage-nav.nav-compact {
  padding: 10px 0;
  background: rgba(10, 13, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle), var(--shadow-md);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.logo-img {
  height: 42px;
  width: auto;
  transition: height var(--transition-base);
}

.stage-nav.nav-compact .logo-img {
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

.nav-cta {
  margin-left: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.35), var(--shadow-sm);
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
}

.nav-cta:hover {
  background: var(--accent-secondary);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-1px);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ============================================
   MOBILE MENU (SPLIT SCREEN)
   ============================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.drawer.drawer--open {
  transform: translateY(0);
  pointer-events: all;
}

.drawer-left {
  width: 55%;
  background: var(--bg-surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-right: 1px solid var(--border-medium);
}

.drawer-right {
  width: 45%;
  position: relative;
  overflow: hidden;
}

.drawer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.drawer-overlay-text {
  position: absolute;
  bottom: 3rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-overlay-text span {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  font-family: 'DM Sans', sans-serif;
}

.drawer-overlay-text strong {
  color: var(--accent-secondary);
  font-family: 'Libre Baskerville', serif;
  font-size: 1.8rem;
}

.drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), color var(--transition-base);
}

.drawer-close:hover {
  background: var(--accent-primary);
  color: #fff;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 3rem;
}

.drawer-link {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-base), padding-left var(--transition-base);
}

.drawer-link:hover {
  color: var(--accent-secondary);
  padding-left: 0.75rem;
}

.drawer-cta {
  margin-top: 2rem;
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--accent-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-align: center;
  box-shadow: var(--shadow-glow);
  transition: background var(--transition-base), transform var(--transition-fast);
  align-self: flex-start;
}

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

/* ============================================
   HERO / STAGE
   ============================================ */
.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.stage-curtain {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 13, 18, 0.92) 0%,
    rgba(10, 13, 18, 0.75) 50%,
    rgba(10, 13, 18, 0.6) 100%
  );
}

.stage-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  max-width: 680px;
  margin-left: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.stage-heading {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.spotlight-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stage-subheading {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.stage-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--accent-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.4), var(--shadow-md);
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
}

.btn-primary:hover {
  background: var(--accent-secondary);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  transform: translateY(-2px);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--border-accent);
  color: var(--accent-secondary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-md);
}

.stage-indicators {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stage-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stage-indicator i {
  color: var(--accent-primary);
  font-size: 0.9rem;
}

.stage-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   GRADIENT FADE TRANSITION
   ============================================ */
.gradient-fade-transition {
  height: 120px;
  background: linear-gradient(
    to bottom,
    var(--bg-base) 0%,
    var(--bg-surface) 100%
  );
  margin-top: -1px;
}

/* ============================================
   GALLERY (SECTION WRAPPER)
   ============================================ */
.gallery {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.gallery--alt {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

.gallery--dark-alt {
  background: var(--bg-base);
}

.gallery-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   SECTION LABELS & HEADINGS
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.section-heading {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 3.5rem;
}

/* ============================================
   SPOTLIGHT GRID (FEATURE GRID)
   ============================================ */
.shelf.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.spotlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.spotlight-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(14, 165, 233, 0.08);
  transform: translateY(-3px);
}

.spotlight-card--large {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.spotlight-card-img {
  height: 240px;
  overflow: hidden;
}

.spotlight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.spotlight-card-content {
  padding: 2rem;
  flex: 1;
}

.spotlight-card-content h3,
.spotlight-card--small h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.spotlight-card-content p,
.spotlight-card--small p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-primary);
  font-size: 1.1rem;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.spotlight-card:hover .card-icon-wrap {
  background: rgba(14, 165, 233, 0.2);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.3);
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.spotlight-card--small {
  padding: 1.75rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  transition: gap var(--transition-fast), color var(--transition-base);
}

.card-link:hover {
  gap: 0.65rem;
  color: var(--accent-secondary);
}

/* ============================================
   METHODOLOGY SECTION
   ============================================ */
.methodology-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.methodology-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.methodology-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.methodology-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 600;
}

.methodology-badge-float i {
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.methodology-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.method-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-primary);
  line-height: 1;
  min-width: 48px;
  opacity: 0.6;
}

.step-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   SWIPER / TOPICS
   ============================================ */
.topics-swiper {
  padding-bottom: 3.5rem !important;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
  height: 100%;
}

.topic-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.topic-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.topic-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.topic-card:hover .topic-card-header img {
  transform: scale(1.05);
}

.topic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,13,18,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.topic-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid var(--border-accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.topic-card-body {
  padding: 1.5rem;
}

.topic-card-body h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.topic-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.topic-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.topic-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-teal);
}

.swiper-pagination-bullet {
  background: var(--text-muted) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent-primary) !important;
  box-shadow: 0 0 8px var(--accent-primary) !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-primary) !important;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--bg-elevated);
  border-color: var(--border-accent);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about-feature i {
  color: var(--accent-teal);
  font-size: 1rem;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-card-float {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.about-card-float i {
  color: var(--accent-gold);
  font-size: 1.4rem;
}

.about-card-float div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-card-float strong {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 600;
}

.about-card-float span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.contact-map iframe {
  height: 320px;
  display: block;
  filter: invert(0.9) hue-rotate(200deg) brightness(0.7) contrast(1.1);
}

.map-info {
  background: var(--bg-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.map-info-item i {
  color: var(--accent-primary);
  margin-top: 0.15rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.map-info-item a {
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.map-info-item a:hover {
  color: var(--accent-secondary);
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-medium);
  border-radius: 3px;
  background: var(--bg-surface);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent-primary);
}

.form-check label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-check label a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-check label a:hover {
  color: var(--accent-secondary);
}

/* intl-tel-input overrides */
.iti {
  width: 100%;
}

.iti__flag-container {
  background: var(--bg-elevated);
  border-right: 1px solid var(--border-medium);
}

.iti__selected-flag {
  background: transparent !important;
}

.iti--separate-dial-code .iti__selected-flag {
  background: var(--bg-elevated) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.stage-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  min-height: 300px;
}

.footer-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-primary), var(--accent-secondary));
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-brand address {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--accent-secondary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

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

.footer-contact i {
  color: var(--accent-primary);
  font-size: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   COOKIE CONSENT MODAL
   ============================================ */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.cookie-backdrop.visible {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 9001;
  width: min(560px, calc(100vw - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.cookie-modal-header i {
  color: var(--accent-gold);
  font-size: 1.5rem;
}

.cookie-modal-header h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 700;
}

.cookie-modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.cookie-cat-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cookie-cat-info strong {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

.cookie-cat-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cookie-toggle--locked span {
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--transition-base), background var(--transition-base);
}

.toggle-switch input:checked + .toggle-slider {
  background: rgba(14, 165, 233, 0.2);
  border-color: var(--accent-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateY(-50%) translateX(20px);
  background: var(--accent-primary);
}

.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  flex: 1;
  min-width: 100px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
}

.cookie-btn--ghost:hover {
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.cookie-btn--secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.cookie-btn--secondary:hover {
  background: var(--bg-card-hover);
}

.cookie-btn--primary {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.3);
}

.cookie-btn--primary:hover {
  background: var(--accent-secondary);
  box-shadow: var(--shadow-glow);
}

.cookie-legal {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.cookie-legal a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   LEGAL PAGES (shared structure)
   ============================================ */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-hero {
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-surface) 100%);
  padding: calc(var(--nav-height) + 3rem) 2rem 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.legal-hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.legal-hero .legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-body {
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.legal-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-sidebar a {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.legal-sidebar a:hover {
  color: var(--accent-secondary);
  border-left-color: var(--accent-primary);
  background: rgba(14, 165, 233, 0.05);
}

.legal-content {
  min-width: 0;
}

.legal-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

.legal-section h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 700;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.875rem;
}

.legal-section ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

/* ============================================
   THANKS PAGE
   ============================================ */
.thanks-stage {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
}

.thanks-inner {
  text-align: center;
  max-width: 560px;
}

.thanks-icon {
  font-size: 3rem;
  color: var(--accent-teal);
  margin-bottom: 2rem;
}

.thanks-inner h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.thanks-inner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .methodology-split,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .methodology-visual {
    max-width: 480px;
  }

  .methodology-badge-float {
    bottom: -1rem;
    right: 0;
  }

  .about-card-float {
    top: auto;
    bottom: -1rem;
    left: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .shelf.spotlight-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-card--large {
    grid-row: auto;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-sidebar {
    position: static;
  }

  .drawer-right {
    display: none;
  }

  .drawer-left {
    width: 100%;
  }

  .stage-content {
    margin-left: 0;
    max-width: 100%;
  }

  .stage-indicators {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery {
    padding: 4rem 0;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-btn {
    flex: none;
    width: 100%;
  }

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

  .btn-primary, .btn-ghost {
    text-align: center;
    justify-content: center;
  }
}