/* ======================
   DESIGN TOKENS
   ====================== */
:root {
  --bg: #0A0A0A;
  --bg-card: #111111;
  --bg-card-hover: #181818;
  --text-primary: #F5F0E8;
  --text-muted: #9A9490;
  --gold: #D4A017;
  --gold-light: #E8BB40;
  --saffron: #C8601A;
  --saffron-light: #E27235;
  --border: rgba(212, 160, 23, 0.15);
  --border-hover: rgba(212, 160, 23, 0.4);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-overflow-scrolling: touch;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Smooth image loading ---- */
img[loading="lazy"] {
  background: linear-gradient(110deg, #111 8%, #1a1a1a 18%, #111 33%);
  background-size: 200% 100%;
  animation: imgShimmer 1.5s linear infinite;
  min-height: 4px;
}

@keyframes imgShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

img.loaded, img[src=""] { animation: none; background: none; }

/* ---- Smooth video loading ---- */
video {
  background: #000;
  opacity: 1;
}


.gold { color: var(--gold); font-style: italic; }
.saffron { color: var(--saffron); font-style: italic; }

/* Visually hidden but accessible for screen readers & SEO */
.hero-headline-seo-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ======================
   ENTRANCE ANIMATIONS
   ====================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-headline-wrap { animation: fadeInUp 0.9s cubic-bezier(0.25,0.46,0.45,0.94) both; }
.hero-headline-wrap-bottom { animation: fadeInUp 0.9s 0.15s cubic-bezier(0.25,0.46,0.45,0.94) both; }
.hero-center { animation: fadeIn 1.1s 0.25s ease both; }
.hero-info-left { animation: slideInLeft 0.8s 0.4s ease both; }
.hero-info-right { animation: slideInRight 0.8s 0.4s ease both; }
.hero-photo-frame { animation: fadeInUp 1s 0.2s ease both; }
.hero-subtext-bar { animation: fadeInUp 0.7s 0.6s ease both; }

/* ======================
   SCROLLBAR
   ====================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ======================
   BUTTONS
   ====================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 160, 23, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 2px;
  border: 1px solid var(--border-hover);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-secondary:hover {
  background: rgba(212, 160, 23, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ======================
   SECTION LABELS
   ====================== */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-count {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ======================
   NAV
   ====================== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.08);
  transition: var(--transition);
}

#main-nav.scrolled {
  padding: 14px 48px;
  background: rgba(10, 10, 10, 0.98);
}

.nav-brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  flex-shrink: 0;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ======================
   HERO
   ====================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(212, 160, 23, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(200, 96, 26, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-top-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 48px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-headline-wrap {
  padding: 0 48px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

.hero-headline-wrap-bottom {
  text-align: right;
}

.hero-center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  gap: 24px;
  padding: 0 48px;
  margin: 8px 0;
  flex: 1;
}

.hero-info-left,
.hero-info-right {
  padding-bottom: 24px;
}

.hero-info-left { text-align: left; }
.hero-info-right { text-align: right; }

.hero-info-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-info-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.hero-photo-frame {
  position: relative;
  width: clamp(220px, 28vw, 380px);
  flex-shrink: 0;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  /* mix-blend-mode removes the white PNG background on dark page */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 60px rgba(212, 160, 23, 0.25));
  transition: filter var(--transition);
}

.hero-photo:hover {
  filter: drop-shadow(0 0 80px rgba(212, 160, 23, 0.4));
}

.hero-author-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-subtext-bar {
  text-align: center;
  padding: 8px 48px 16px;
}

.hero-subtext {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 48px 32px;
  justify-content: flex-end;
}

.scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border-hover);
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ======================
   BLESSINGS VIDEO SECTION
   ====================== */
#blessings-video-section {
  padding: 80px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.blessings-video-container {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.blessings-video-player-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border-hover);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 160, 23, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.blessings-video-player-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
  outline: none;
}

/* Unmute overlay */
.blessings-unmute-overlay {
  position: absolute;
  bottom: 60px;
  right: 16px;
  z-index: 10;
  transition: opacity 0.4s ease;
}

.blessings-mute-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid rgba(212, 160, 23, 0.5);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.blessings-mute-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.blessings-video-caption {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 800px;
}

@media (max-width: 768px) {
  #blessings-video-section {
    padding: 60px 20px;
  }
  .blessings-video-container {
    gap: 20px;
  }
  .blessings-unmute-overlay {
    bottom: 52px;
    right: 10px;
  }
}



/* ======================
   ABOUT
   ====================== */
#about {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
}

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.about-subtext {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  font-style: italic;
}

.about-services-box {
  border: 1px solid var(--border);
  padding: 36px 40px;
  transition: border-color var(--transition), background var(--transition);
  align-self: start;
}

.about-services-box:hover {
  border-color: var(--border-hover);
  background: rgba(212, 160, 23, 0.04);
}

.about-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-services-list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ======================
   TALKS / FEATURED WORK
   ====================== */
#talks {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.section-title-marquee {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  -webkit-text-stroke: none;
  line-height: 0.95;
  white-space: normal;
  overflow-wrap: break-word;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
  text-align: center;
}

.talks-list {
  border-top: 1px solid var(--border);
}

.talk-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.talk-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(212, 160, 23, 0.04);
  transition: width var(--transition);
}

.talk-row:hover::before { width: 100%; }

.talk-row:hover {
  border-bottom-color: rgba(212, 160, 23, 0.4);
}

.talk-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 500;
}

.talk-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.talk-title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.25s;
}

.talk-row:hover .talk-title { color: var(--gold); }

.talk-platform {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.talk-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.talk-row:hover .talk-btn {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.talks-cta {
  text-align: center;
  margin-top: 56px;
}

/* ======================
   JOURNEY / PROCESS
   ====================== */
#journey {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.journey-headline-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  margin: 48px 0 80px;
  align-items: start;
}

.journey-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.journey-subtext {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-top: 8px;
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.journey-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--spring), background var(--transition), border-color var(--transition), box-shadow var(--smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  backface-visibility: hidden;
}

.journey-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--smooth);
}

.journey-card:hover::after { transform: scaleX(1); }

.journey-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 160, 23, 0.15);
}

.journey-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.journey-card-num {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.journey-card-icon {
  font-size: 1.6rem;
  color: var(--gold);
}

.journey-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.journey-card-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================
   IMPRESSIONS HOME
   ========================================= */
#impressions-home {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.impressions-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.1;
  margin-bottom: 72px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.testimonials-grid .testimonial-card:last-child {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  transition: transform var(--spring), background var(--transition), border-color var(--transition), box-shadow var(--smooth);
  will-change: transform;
  backface-visibility: hidden;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.impressions-cta-card .testimonial-cta-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ======================
   FOOTER
   ====================== */
#main-footer {
  border-top: 1px solid var(--border);
  padding: 80px 48px 40px;
  overflow: hidden;
}

.footer-brand-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 8px;
}

.footer-brand-row span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-marquee-wrap {
  overflow: hidden;
  margin-bottom: 64px;
}

.footer-marquee {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  -webkit-text-stroke: none;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  letter-spacing: -0.01em;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-nav-col,
.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

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

.footer-contact-col span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-copy {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(154, 148, 144, 0.5);
  text-transform: uppercase;
}

/* ---- Footer Social Links ---- */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  letter-spacing: 0.04em;
}

.footer-social-link:hover {
  transform: translateY(-2px);
}

.footer-social-link.yt:hover { color: #FF0000; }
.footer-social-link.ig:hover { color: #E1306C; }
.footer-social-link.fb:hover { color: #1877F2; }

.footer-social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.footer-social-link:hover svg {
  transform: scale(1.15);
}

/* ======================
   PAGE HERO (inner pages)
   ====================== */
.page-hero {
  padding: 140px 48px 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(212, 160, 23, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.page-hero-title span { color: var(--gold); }

.page-hero-sub {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 600px;
  line-height: 1.7;
}

/* ======================
   PROFILE PAGE
   ====================== */
.profile-section {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: center;
}

.profile-photo-col img,
.profile-plaque-col img,
.profile-cover-col img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-photo-col img:hover,
.profile-plaque-col img:hover,
.profile-cover-col img:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-hover);
}

.profile-photo-col .profile-caption,
.profile-plaque-col .profile-caption,
.profile-cover-col .profile-caption {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

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

.profile-highlight-item {
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-highlight-item .ph-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.profile-highlight-item .ph-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-primary);
}

/* ======================
   GALLERY PAGE
   ====================== */
.gallery-section {
  padding: 60px 48px;
}

.gallery-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.06);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-card);
  transition: opacity 0.5s ease, transform var(--spring), box-shadow var(--smooth);
  will-change: transform;
  backface-visibility: hidden;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: grayscale(20%) brightness(0.85);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

/* Lightbox — butter smooth fade + scale */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-inner {
  transform: scale(1);
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.25s, transform 0.3s;
}

.lightbox-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.lightbox-caption {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ======================
   AWARDS PAGE
   ====================== */
.awards-timeline {
  padding: 60px 48px;
  position: relative;
}

.awards-timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 60px;
  bottom: 60px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--saffron), transparent);
}

.award-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  margin-bottom: 56px;
  position: relative;
}

.award-item::before {
  content: '';
  position: absolute;
  left: 96px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(212, 160, 23, 0.6);
}

.award-year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  padding-top: 2px;
}

.award-content {
  padding-left: 40px;
}

.award-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.award-org {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.award-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ======================
   VIDEOS PAGE
   ====================== */
.videos-section {
  padding: 60px 48px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}

.video-thumb iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #111 0%, #1a1a0a 100%);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Decorative OM watermark */
.video-thumb-placeholder::before {
  content: 'ॐ';
  position: absolute;
  font-size: 8rem;
  color: rgba(212, 160, 23, 0.04);
  pointer-events: none;
  user-select: none;
  font-family: var(--font-serif);
  line-height: 1;
}

.video-thumb-placeholder .play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  transition: var(--transition);
}

.video-card:hover .play-icon {
  background: var(--gold);
  color: var(--bg);
}

.video-card-body {
  padding: 24px;
}

.video-num {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.video-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.video-platform {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.video-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.25s;
}

.video-watch-btn:hover { gap: 10px; }

/* ======================
   ARTICLES PAGE
   ====================== */
.articles-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
}

.articles-tab {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 16px 24px;
  cursor: pointer;
  transition: color 0.25s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.articles-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.articles-content {
  padding: 0 48px 80px;
}

.article-panel { display: none; }
.article-panel.active { display: block; }

.articles-list { display: flex; flex-direction: column; gap: 2px; }

.article-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.article-row:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.article-row-info { display: flex; flex-direction: column; gap: 6px; }

.article-source {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.article-title-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.article-date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-link-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  white-space: nowrap;
  transition: var(--transition);
}

.article-link-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.article-link-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ======================
   ASSOCIATIONS PAGE
   ====================== */
.associations-section {
  padding: 60px 48px;
}

.associations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  margin-top: 48px;
}

.association-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.association-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.association-card:hover::before { transform: scaleX(1); }

.association-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.assoc-type {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
}

.assoc-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.assoc-detail {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Associations Table */
.assoc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
}

.assoc-table thead th {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 16px 20px;
  border-bottom: 2px solid var(--gold);
  background: rgba(212, 160, 23, 0.06);
}

.assoc-table tbody td {
  font-size: 0.88rem;
  color: var(--text-primary);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.assoc-table tbody td:first-child {
  color: var(--gold);
  font-weight: 600;
  width: 60px;
  text-align: center;
}

.assoc-table tbody td:last-child {
  color: var(--text-muted);
  font-style: italic;
  white-space: nowrap;
}

.assoc-table tbody tr {
  transition: background 0.25s;
}

.assoc-table tbody tr:hover {
  background: rgba(212, 160, 23, 0.04);
}

/* ======================
   IMPRESSIONS PAGE
   ====================== */
.impressions-section {
  padding: 60px 48px;
}

.impressions-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.impression-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px 40px;
  transition: var(--transition);
  position: relative;
}

.impression-full-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(212, 160, 23, 0.1);
  line-height: 1;
}

.impression-full-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.impression-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.impression-name {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.impression-role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.impression-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.impression-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  filter: grayscale(10%) contrast(1.05);
}

.impression-meta {
  display: flex;
  flex-direction: column;
}

/* ======================
   CERTIFICATES GRID
   ====================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px;
  padding: 60px 48px;
}

.cert-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--border-hover);
}

.cert-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.cert-item:hover img { opacity: 1; }

.cert-item-name {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* ======================
   DECORATIVE DIVIDER
   ====================== */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 48px 64px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-om {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.6;
}

/* ======================
   ANIMATIONS
   ====================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* Scroll reveal — butter smooth with cinematic blur */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ======================
   SECTION DIVIDER
   ====================== */
.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 48px;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  display: block;
}
.divider-om {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
}

/* Certificates grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.cert-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cert-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.9);
  transition: filter 0.4s;
}

.cert-item:hover img {
  filter: grayscale(0%) brightness(1);
}

.cert-item-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

/* Impressions full page */
.impressions-section {
  padding: 60px 48px 80px;
}

.impressions-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 2px;
}

.impression-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px 40px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.impression-full-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(212,160,23,0.07);
  line-height: 1;
  pointer-events: none;
}

.impression-full-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.impression-quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
}

.impression-name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.impression-role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Impressions letter grid */
.impressions-letter-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 4px;
  margin-bottom: 48px;
}

.letter-thumb {
  aspect-ratio: 3/4;
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1024px) {
  .journey-cards { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .profile-grid { grid-template-columns: 1fr; }
  .impressions-full-grid { grid-template-columns: 1fr; }
  .impressions-letter-scroll { grid-template-columns: repeat(3, 1fr); }
}

/* ======================
/* ======================
   MOBILE NAV — 768px
   ====================== */
@media (max-width: 768px) {
  /* Nav bar — fixed, full-width, proper height */
  #main-nav {
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
  }

  #main-nav.scrolled { padding: 0 20px; }

  /* Brand name — no overflow */
  .nav-brand {
    flex: 1;
    min-width: 0;
  }
  .nav-brand-name {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 180px;
  }

  /* Show hamburger button, properly centered */
  .nav-menu-btn {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  /* Nav links — hidden by default, full-width dropdown */
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(8, 8, 8, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 160, 23, 0.25);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    z-index: 999;
    padding: 8px 0;
    margin: 0;
    gap: 0;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    list-style: none;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  /* Slide-in animation when opened */
  .nav-links.open {
    display: flex;
    animation: mobileNavSlide 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }

  @keyframes mobileNavSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Each nav item */
  .nav-links li {
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(212, 160, 23, 0.07);
  }

  .nav-links li:last-child { border-bottom: none; }

  /* Each nav link — large touch target */
  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, border-left-color 0.2s;
    box-sizing: border-box;
    border-left: 3px solid transparent;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(212, 160, 23, 0.07);
    color: var(--gold);
    border-left-color: var(--gold);
  }

  /* Remove underline pseudo-element on mobile */
  .nav-links a::after { display: none; }

  /* Hero — center everything on mobile */
  .hero-center {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }
  .hero-info-left, .hero-info-right { display: none; }
  .hero-photo-frame {
    width: clamp(200px, 55vw, 300px);
    margin: 0 auto;
  }
  .hero-author-name { text-align: center; }
  .hero-headline { font-size: clamp(2.5rem, 12vw, 4.5rem); text-align: center; }
  .hero-headline-wrap { text-align: center; }
  .hero-top-bar, .hero-headline-wrap, .hero-center,
  .hero-subtext-bar, .hero-scroll-hint { padding-left: 20px; padding-right: 20px; }

  /* Sections */
  #about, #talks, #journey, #impressions-home { padding: 72px 20px; }
  .gallery-section, .awards-timeline, .associations-section,
  .videos-section, .articles-tabs, .articles-content,
  .impressions-section { padding-left: 20px; padding-right: 20px; }
  .page-hero { padding: 100px 20px 56px; }

  /* Footer */
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  #main-footer { padding: 60px 20px 32px; }

  /* Journey */
  .journey-cards { grid-template-columns: 1fr 1fr; }
  .journey-headline-wrap { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 1; grid-template-columns: 1fr; }

  /* Awards */
  .awards-timeline::before { display: none; }
  .award-item { grid-template-columns: 60px 1fr; gap: 16px; }
  .award-item::before { left: 56px; }
  .talk-row { grid-template-columns: 80px 1fr; }
  .talk-btn { display: none; }

  /* Grids */
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .impressions-full-grid { grid-template-columns: 1fr; }
  .impressions-letter-scroll { grid-template-columns: repeat(2, 1fr); }
  .profile-photo-col img, .profile-plaque-col img, .profile-cover-col img { height: 280px; }
  .profile-grid { grid-template-columns: 1fr; }
  .section-divider { padding-left: 20px; padding-right: 20px; }

  /* Gallery — better mobile layout */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-filters { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .filter-btn { font-size: 0.7rem; padding: 8px 14px; }

  /* Page hero — center text */
  .page-hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .page-hero-sub { font-size: 0.85rem; padding: 0 8px; }

  /* Section labels — centered */
  .section-label { text-align: center; }
  .section-subtitle { text-align: center; }

  /* Video bytes — mobile layout */
  #video-bytes { padding: 60px 20px; }
  .vb-headline { font-size: clamp(1.6rem, 8vw, 2.8rem); text-align: center; }
  .vb-subtext { text-align: center; margin-left: auto; margin-right: auto; }
  .vb-lang-selector { grid-template-columns: 1fr 1fr 1fr; gap: 2px; }
  .vb-lang-btn { padding: 20px 8px; }
  .vb-lang-btn .vb-lang-name { font-size: 1rem; }
  .vb-flag { font-size: 1.6rem; }

  /* Tables — mobile scroll */
  .assoc-table { font-size: 0.8rem; }
  .assoc-table th, .assoc-table td { padding: 12px 10px; }

  /* Intro splash — mobile optimization */
  .intro-slide h2 { font-size: clamp(1.5rem, 8vw, 2.8rem) !important; }
  .intro-slide p { font-size: 0.85rem !important; }
  .intro-btn { padding: 14px 32px; font-size: 0.85rem; }

  /* Touch targets — min 44px */
  .filter-btn, .articles-tab, .vb-lang-btn, .talk-btn,
  .nav-links a { min-height: 44px; }
}

/* ======================
   MOBILE — 480px
   ====================== */
@media (max-width: 480px) {
  #main-nav { padding: 0 16px; }
  .nav-brand-name { font-size: 0.95rem; max-width: 150px; }
  .hero-headline { font-size: clamp(2rem, 11vw, 3.5rem); }
  .hero-photo-frame { width: clamp(180px, 60vw, 260px); }
  .talk-row { grid-template-columns: 60px 1fr; }
  .talk-btn { display: none; }
  .section-title-marquee { font-size: clamp(2rem, 12vw, 4rem); }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .certs-grid { grid-template-columns: 1fr; }
  .articles-tabs { padding: 0 16px; gap: 0; flex-wrap: wrap; }
  .articles-tab { font-size: 0.7rem; padding: 10px 12px; }
  .articles-content { padding: 0 16px 60px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-copy { flex-direction: column; gap: 8px; text-align: center; }
  .footer-marquee { font-size: clamp(3rem, 18vw, 6rem); }
  .videos-grid { grid-template-columns: 1fr; }
  .journey-cards { grid-template-columns: 1fr; }
  .journey-card { padding: 24px 20px; }
  .impressions-letter-scroll { grid-template-columns: 1fr; }
  .nav-links a { padding: 15px 20px; font-size: 0.8rem; }
  .testimonial-card { padding: 24px 20px; }
  .about-body { font-size: 0.88rem; }

  /* Lightbox mobile */
  .lightbox { padding: 16px; }
  .lightbox-close { top: -32px; font-size: 1.2rem; }

  /* Profile page mobile */
  .profile-bio { font-size: 0.88rem; line-height: 1.75; }
  .profile-section-title { font-size: 1.4rem; }
}







#video-bytes {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.vb-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 20px 0 18px;
}

.vb-subtext {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 52px;
  max-width: 560px;
}

.vb-lang-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

/* ======================
   NEW LANGUAGE BYTE BUTTONS
   ====================== */
.vb-lang-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 20px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.vb-lang-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.vb-lang-btn:hover,
.vb-lang-btn.active {
  border-color: var(--border-hover);
  background: rgba(212,160,23,0.06);
  transform: translateY(-4px);
}

.vb-lang-btn:hover::after,
.vb-lang-btn.active::after {
  transform: scaleX(1);
}

.vb-flag {
  font-size: 2.2rem;
  line-height: 1;
}

.vb-lang-btn .vb-lang-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.25s;
}

.vb-lang-btn:hover .vb-lang-name,
.vb-lang-btn.active .vb-lang-name {
  color: var(--gold);
}

.vb-lang-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.vb-player-wrap {
  margin-top: 2px;
  position: relative;
  background: #000;
  border: 1px solid var(--border-hover);
}

.vb-video {
  width: 100%;
  max-height: 70vh;
  display: block;
  outline: none;
  background: #000;
}

.vb-now-playing {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.vb-np-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212,160,23,0.6);
  animation: npPulse 1.5s ease infinite;
  flex-shrink: 0;
}

@keyframes npPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

#vb-now-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.vb-marquee {
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  #video-bytes { padding: 72px 24px; }
  .vb-lang-selector { grid-template-columns: 1fr; }
  .vb-player-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .vb-lang-btn { padding: 24px 20px; }
}

/* ======================
   INTRO SLIDESHOW SPLASH
   ====================== */
@keyframes introFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes splashExit {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.04); pointer-events: none; }
}

#intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #000;
}

#intro-splash.exiting {
  animation: splashExit 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

#intro-splash.hidden {
  display: none;
}

.intro-slideshow {
  position: absolute;
  inset: 0;
}

.intro-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 1s ease;
  image-rendering: high-quality;
  -webkit-image-rendering: -webkit-optimize-contrast;
}

.intro-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Full photo — fill the screen, HD crisp */
.intro-cover {
  background-size: cover;
  background-position: center;
}

/* PNG cutouts — crop into subject, cinematic dark backdrop */
.intro-contain {
  background-size: cover;
  background-position: center 15%;
  background-color: #0a0a0a;
}

/* fp3 – saffron shawl – zoom into face & upper body */
.intro-slide-fp3 {
  background-size: 85%;
  background-position: center 20%;
}

/* fp7 – navy shirt, gesturing with mic */
.intro-slide-fp7 {
  background-position: center 10%;
}


/* ---- Phase 0: Promo Video ---- */
#intro-phase-promo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 10;
}

.intro-promo-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#intro-promo-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.intro-promo-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 16px;
  z-index: 25;
}

#intro-promo-skip {
  margin-top: 0;
}

.intro-btn {
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.5);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.intro-btn:hover {
  background: rgba(212, 160, 23, 0.25);
  border-color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .intro-promo-controls {
    bottom: 24px;
    right: 24px;
    gap: 10px;
  }
  .intro-btn, #intro-promo-skip {
    padding: 10px 20px;
    font-size: 0.72rem;
  }
}


/* ---- Phase containers ---- */
#intro-phase-photos {
  position: absolute;
  inset: 0;
}

#intro-phase-videos {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 0;
}

.intro-phase-hidden { display: none !important; }

.intro-phase-visible {
  display: flex !important;
  animation: introFadeUp 0.6s ease both;
}

/* ========================
   PHASE 2 — VIDEO PANEL
   ======================== */
.ivp-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.97) 0%, rgba(20,15,5,0.98) 100%);
  z-index: 0;
}

.ivp-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.ivp-header {
  text-align: center;
}

.ivp-logo-mark {
  font-size: 6rem;
  color: var(--gold);
  text-shadow:
    0 0 20px rgba(212,160,23,0.6),
    0 0 50px rgba(212,160,23,0.3);
  margin-bottom: 16px;
  line-height: 1;
}

.ivp-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.ivp-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Language tabs */
.ivp-lang-tabs {
  display: flex;
  gap: 4px;
  width: 100%;
  max-width: 640px;
}

.ivp-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ivp-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.ivp-tab:hover,
.ivp-tab.active {
  background: rgba(212,160,23,0.07);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.ivp-tab:hover::after,
.ivp-tab.active::after { transform: scaleX(1); }

.ivp-tab-flag {
  font-size: 1.8rem;
  line-height: 1;
}

.ivp-tab-name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  transition: color 0.25s;
}

.ivp-tab.active .ivp-tab-name { color: var(--gold); }

/* Video player */
.ivp-player-wrap {
  width: 100%;
  max-width: 820px;
  background: #000;
  border: 1px solid var(--border-hover);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,160,23,0.1);
}

.ivp-video {
  width: 100%;
  display: block;
  max-height: 52vh;
  background: #000;
  outline: none;
}

/* Responsive iframe wrapper — 16:9 aspect ratio via padding trick */
.ivp-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
}

/* Both iframe AND video inside wrapper must be absolutely positioned to fill it */
.ivp-iframe-wrap iframe,
.ivp-iframe-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.ivp-now-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.ivp-np-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212,160,23,0.7);
  animation: npPulse 1.4s ease infinite;
  flex-shrink: 0;
}

#ivp-now-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Enter button */
.ivp-enter-btn {
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 48px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(212,160,23,0.3);
}

.ivp-enter-btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(212,160,23,0.45);
}

@media (max-width: 768px) {
  .ivp-inner { padding: 32px 20px; gap: 20px; }
  .ivp-video { max-height: 40vh; }
  .ivp-lang-tabs { gap: 2px; }
  .ivp-tab { padding: 14px 8px; }
}

@media (max-width: 480px) {
  .ivp-tab-flag { font-size: 1.4rem; }
  .ivp-enter-btn { padding: 14px 32px; width: 100%; }
}


.intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.45) 0%,
    rgba(10,10,10,0.3) 40%,
    rgba(10,10,10,0.7) 80%,
    rgba(10,10,10,0.95) 100%
  );
  z-index: 1;
}

.intro-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 40px;
  width: 100%;
  box-sizing: border-box;
}

.intro-logo-mark {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 40px rgba(212,160,23,0.5);
  animation: introFadeUp 0.9s 0.2s ease both;
}

.intro-name {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
  animation: introFadeUp 0.9s 0.35s ease both;
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.intro-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.8vw, 0.9rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  animation: introFadeUp 0.8s 0.55s ease both;
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.intro-bar {
  width: clamp(180px, 30vw, 320px);
  height: 2px;
  background: rgba(212,160,23,0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  animation: introFadeUp 0.7s 0.7s ease both;
}

.intro-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s linear;
}

.intro-skip {
  margin-top: 16px;
  background: transparent;
  border: 1px solid rgba(212,160,23,0.5);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  animation: introFadeUp 0.7s 0.9s ease both;
}

.intro-skip:hover {
  background: rgba(212,160,23,0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.intro-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}

.intro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(212,160,23,0.35);
  transition: background 0.3s, transform 0.3s;
}

.intro-dot.active {
  background: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(212,160,23,0.5);
}

@media (max-width: 768px) {
  .intro-content { padding: 24px; gap: 12px; }
  .intro-tagline { letter-spacing: 0.1em; }
}

/* ===== QUICK MEDIA PORTAL ===== */
.media-portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.media-portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
}

.media-portal-card:hover {
  border-color: var(--gold);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.media-portal-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.media-portal-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.media-portal-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .media-portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .media-portal-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FEATURED WORK TABLE ===== */
.featured-work-table th, 
.featured-work-table td {
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .featured-work-table th:nth-child(1),
  .featured-work-table td:nth-child(1) {
    display: none; /* Hide Code column on mobile for more space */
  }
}

/* ======================
   PAGE TRANSITION OVERLAY
   ====================== */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Page load fade-in */
@keyframes pageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  animation: pageEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* GPU hints for common animated elements */
.hero-photo-frame,
.intro-slide,
.association-card,
.video-card,
.article-row {
  will-change: transform;
  backface-visibility: hidden;
}

/* Smoother association card hover */
.association-card {
  transition: transform var(--spring), background var(--transition), border-color var(--transition), box-shadow var(--smooth) !important;
}

.association-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
}

/* Smoother video card hover */
.video-card {
  transition: transform var(--spring), border-color var(--transition), box-shadow var(--smooth) !important;
}

.video-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

/* Smoother article row hover */
.article-row {
  transition: background var(--transition), border-color var(--transition), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.article-row:hover {
  transform: translateX(4px) !important;
}

/* Smooth focus outlines for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  transition: outline-offset 0.2s ease;
}

/* ======================
   CONTENT VISIBILITY — LIGHTNING FAST RENDERING
   Skip rendering off-screen sections until needed
   ====================== */
#about,
#talks,
#journey,
#impressions-home,
.gallery-section,
.awards-timeline,
.associations-section,
.videos-section,
.impressions-section,
#main-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  body {
    animation: none;
  }
}
