/* Muhammed Suhail Portfolio - Pure Vanilla CSS */
/* Day & Dark Mode Themes, 265Hz Ultra-High Refresh Rate GPU Engine & Aesthetic Pro Design */

:root {
  --navy: #09152f;
  --navy-2: #132449;
  --ivory: #f4f0e7;
  --paper: #fbfaf6;
  --paper-card: #ffffff;
  --cobalt: #3157d8;
  --cobalt-hover: #2243b8;
  --gold: #d3a94c;
  --ink-muted: #60708e;
  --line: rgba(9, 21, 47, 0.14);
  --line-strong: rgba(9, 21, 47, 0.25);
  --dark-sec-bg: #09152f;
  --dark-sec-text: #fbfaf6;
  --dialog-bg: rgba(251, 250, 246, 0.98);
  --dialog-card-bg: #ffffff;
  --shadow-subtle: 0 4px 14px rgba(9, 21, 47, 0.06);
  --shadow-medium: 0 16px 36px rgba(9, 21, 47, 0.09);
  --shadow-heavy: 0 38px 100px rgba(9, 21, 47, 0.22);
  --bg-gradient: radial-gradient(circle at 83% 12%, rgba(49, 87, 216, 0.08), transparent 28rem), #fbfaf6;
  --header-bg: rgba(251, 250, 246, 0.92);
  
  /* 265Hz Ultra-High Refresh Rate Pipeline */
  --ease-265hz: cubic-bezier(0.16, 1, 0.3, 1);
  --render-hz: 265Hz;
}

[data-theme="dark"] {
  --navy: #f8fafc;
  --navy-2: #1a2744;
  --ivory: #131e36;
  --paper: #080e1c;
  --paper-card: #0e182e;
  --cobalt: #5780ff;
  --cobalt-hover: #7597ff;
  --gold: #e2be6c;
  --ink-muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --dark-sec-bg: #040812;
  --dark-sec-text: #f8fafc;
  --dialog-bg: rgba(14, 24, 46, 0.98);
  --dialog-card-bg: #14213d;
  --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 16px 36px rgba(0, 0, 0, 0.45);
  --shadow-heavy: 0 38px 100px rgba(0, 0, 0, 0.65);
  --bg-gradient: radial-gradient(circle at 83% 12%, rgba(87, 128, 255, 0.12), transparent 28rem), #080e1c;
  --header-bg: rgba(8, 14, 28, 0.92);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--paper);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  margin: 0;
  overflow-x: clip;
  background: transparent;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: color 0.3s ease;
  position: relative;
}

/* ==========================================================================
   SLOW BACKGROUND IMAGE SLIDER (Enhanced Visibility with Perfect Contrast)
   ========================================================================== */
.bg-slider-container {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper);
  transition: background-color 0.3s ease;
}

.bg-slide {
  position: absolute;
  inset: -15px;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.bg-slide.active {
  opacity: 0.72;
  transform: scale(1.06);
}

[data-theme="dark"] .bg-slide.active {
  opacity: 0.65;
}

/* 6th Background Image Special Highlighting: Reached Imperial · Started Commonwealth Journey */
.bg-slide.highlight-slide.active {
  opacity: 0.85;
  transform: scale(1.08);
  filter: contrast(1.05) saturate(1.12);
}

[data-theme="dark"] .bg-slide.highlight-slide.active {
  opacity: 0.78;
  filter: contrast(1.08) saturate(1.18);
}

.bg-slide.highlight-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 45%, rgba(226, 190, 108, 0.28) 0%, rgba(87, 128, 255, 0.22) 38%, transparent 75%);
  pointer-events: none;
  animation: imperialGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes imperialGlowPulse {
  0% { opacity: 0.35; transform: scale(0.98); }
  100% { opacity: 0.9; transform: scale(1.02); }
}

/* Floating Milestone Highlight Badge */
.bg-milestone-highlight {
  position: fixed;
  bottom: 24px;
  right: 80px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: rgba(9, 21, 47, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(226, 190, 108, 0.55);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(226, 190, 108, 0.28);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-theme="dark"] .bg-milestone-highlight {
  background: rgba(8, 14, 28, 0.94);
  border-color: rgba(226, 190, 108, 0.68);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 28px rgba(87, 128, 255, 0.4);
}

.bg-milestone-highlight.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.bg-milestone-highlight .milestone-sparkle {
  font-size: 15px;
  display: inline-block;
  animation: sparkleTwinkle 2s infinite ease-in-out;
}

@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.3) rotate(14deg); }
}

.bg-milestone-highlight .milestone-title {
  color: #f7d488;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bg-milestone-highlight .milestone-sep {
  color: rgba(255, 255, 255, 0.45);
}

.bg-milestone-highlight .milestone-sub {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

@media (max-width: 768px) {
  .bg-milestone-highlight {
    right: 16px;
    bottom: 84px;
    font-size: 11px;
    padding: 7px 14px;
    max-width: calc(100vw - 32px);
  }
}

/* Card & Milestone Ribbon Highlights */
.milestone-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #d3a94c 0%, #f7d488 100%);
  color: #09152f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(211, 169, 76, 0.35);
}

.milestone-highlight-card {
  border-color: rgba(211, 169, 76, 0.45) !important;
  box-shadow: 0 12px 36px rgba(49, 87, 216, 0.12), 0 0 20px rgba(211, 169, 76, 0.15) !important;
}

.milestone-featured {
  border-top: 2px solid var(--gold) !important;
}

.bg-slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 83% 12%, rgba(49, 87, 216, 0.06), transparent 32rem),
              linear-gradient(to bottom, rgba(251, 250, 246, 0.35) 0%, rgba(251, 250, 246, 0.68) 60%, rgba(251, 250, 246, 0.88) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  pointer-events: none;
  transition: background 0.3s ease;
}

[data-theme="dark"] .bg-slider-overlay {
  background: radial-gradient(circle at 83% 12%, rgba(87, 128, 255, 0.08), transparent 32rem),
              linear-gradient(to bottom, rgba(8, 14, 28, 0.40) 0%, rgba(8, 14, 28, 0.72) 60%, rgba(8, 14, 28, 0.90) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

a {
  color: inherit;
  text-decoration: inherit;
  cursor: pointer;
}

a, button, summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
}

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

/* Skip link */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Header & Navigation */
.site-header {
  width: min(100% - 48px, 1400px);
  height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
  transition: border-color 0.3s ease;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wordmark:hover {
  opacity: 0.85;
}

.monogram {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--paper);
  letter-spacing: -0.05em;
  font-family: Georgia, serif;
  box-shadow: 0 4px 12px var(--shadow-subtle);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .monogram {
  background: #ffffff;
  color: #080e1c;
}

.wordmark:hover .monogram {
  transform: scale(1.06);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.desktop-nav a:not(.nav-cta) {
  position: relative;
  padding: 6px 0;
  color: var(--navy);
  transition: color 0.2s ease;
}

.desktop-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--cobalt);
}

.desktop-nav a:focus-visible::after,
.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Day/Dark Mode Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-card);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px var(--shadow-subtle);
  user-select: none;
}

.theme-toggle:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-subtle);
}

.theme-toggle-icon {
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.nav-cta {
  padding: 11px 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, background-color, color;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-subtle);
}

[data-theme="dark"] .nav-cta:hover {
  background: #ffffff;
  color: #080e1c;
}

.nav-cta:active {
  transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  min-width: 62px;
  min-height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  list-style: none;
  padding: 10px 16px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu[open] summary {
  background: var(--navy);
  color: var(--paper);
}

.mobile-menu nav {
  position: absolute;
  z-index: 50;
  top: 53px;
  right: 0;
  width: min(84vw, 320px);
  display: grid;
  gap: 0;
  padding: 12px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-heavy);
  border-radius: 12px;
  animation: menu-slide 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: top right;
}

@keyframes menu-slide {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.mobile-menu nav a,
.mobile-booking-link,
.mobile-theme-btn {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  background: transparent;
  font: 13px Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.mobile-menu nav a:hover,
.mobile-booking-link:hover,
.mobile-theme-btn:hover {
  color: var(--cobalt);
  background: rgba(49, 87, 216, 0.06);
}

.mobile-booking-link {
  justify-content: space-between;
  font-weight: 700;
  border-bottom: 0;
}

.mobile-theme-btn {
  justify-content: space-between;
  font-weight: 600;
}

/* Typography & Headings */
h1, h2, h3 {
  font-family: Georgia, Times New Roman, serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: 0.91;
}

h2 {
  font-size: clamp(43px, 5.2vw, 78px);
  line-height: 1;
}

h2 em, .accent-line {
  color: var(--cobalt);
  font-style: italic;
}

.accent-line {
  display: block;
}

p {
  line-height: 1.65;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.micro-label, .section-index {
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin-bottom: 75px;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 0.72);
}

/* Global Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.22s ease;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

.button:hover {
  transform: translate3d(0, -2px, 0);
}

.button:active {
  transform: translate3d(0, 0, 0);
}

.button-primary {
  gap: 22px;
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 4px 14px var(--shadow-subtle);
}

[data-theme="dark"] .button-primary {
  background: #ffffff;
  color: #080e1c;
}

.button-primary:hover {
  background: var(--navy-2);
  box-shadow: 0 8px 22px var(--shadow-medium);
}

[data-theme="dark"] .button-primary:hover {
  background: #e2e8f0;
}

.button-quiet {
  border: 1px solid var(--line);
  background: var(--paper-card);
  color: var(--navy);
}

.button-quiet:hover {
  background: rgba(49, 87, 216, 0.06);
  border-color: var(--navy);
}

.button-inverse {
  gap: 20px;
  color: #09152f;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.button-inverse:hover {
  background: #f1f5f9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.text-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), gap 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  gap: 24px;
  color: var(--cobalt);
}

/* Hero Section (Home) */
.hero {
  width: min(100% - 48px, 1400px);
  min-height: 690px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(40px, 7vw, 110px);
  padding: 70px 0 84px;
  align-items: center;
}

.hero-summary {
  max-width: 670px;
  margin: 35px 0 0;
  color: var(--ink-muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.portrait-wrap {
  position: relative;
  width: min(100%, 470px);
  justify-self: end;
  will-change: transform;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 0.72;
  overflow: hidden;
  border-radius: 230px 230px 16px 16px;
  background: var(--navy-2);
  box-shadow: var(--shadow-heavy);
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.portrait-wrap:hover .portrait-frame {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 45px 85px rgba(9, 21, 47, 0.28);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-wrap:hover .portrait-frame img {
  transform: scale(1.02);
}

.portrait-orbit {
  position: absolute;
  inset: -18px 4px 58px 28px;
  border: 1px solid rgba(49, 87, 216, 0.35);
  border-radius: 50%;
  transform: rotate(-6deg);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-wrap:hover .portrait-orbit {
  transform: rotate(-2deg) scale(1.01);
}

.portrait-note {
  position: absolute;
  z-index: 2;
  right: -22px;
  bottom: 30px;
  width: 178px;
  margin: 0;
  padding: 17px 18px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  font: 600 12px/1.4 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-medium);
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-wrap:hover .portrait-note {
  transform: translate3d(0, -3px, 0);
}

.portrait-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--cobalt);
  font: italic 24px Georgia, serif;
}

/* Proof Grid */
.proof-grid {
  width: min(100% - 48px, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid article {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  transition: background-color 0.25s ease;
}

.proof-grid article:hover {
  background: rgba(49, 87, 216, 0.03);
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid strong {
  color: var(--cobalt);
  font: italic 42px Georgia, serif;
  letter-spacing: -0.02em;
}

.proof-grid span {
  max-width: 190px;
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Layout Utilities & Sections */
.content-wide, .dark-section, .page-hero, .section-pad, .site-footer {
  width: min(100% - 48px, 1400px);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(92px, 11vw, 170px);
}

.page-hero {
  min-height: 585px;
  padding: clamp(90px, 11vw, 160px) 0 105px;
  display: grid;
  grid-template-columns: 0.32fr 1.2fr;
  column-gap: 55px;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  align-self: start;
  margin-top: 16px;
}

.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(60px, 8vw, 122px);
}

.page-hero > p:last-child {
  grid-column: 2;
  max-width: 710px;
  margin: 38px 0 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

/* Dark Section Component */
.dark-section {
  width: min(100% - 24px, 1480px);
  background: var(--dark-sec-bg);
  border-radius: 6px;
  padding: clamp(80px, 9vw, 140px) clamp(28px, 7vw, 105px);
  color: var(--dark-sec-text);
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--line);
}

.dark-section h2, .section-heading.light h2 {
  color: var(--dark-sec-text);
}

.dark-section .section-index {
  color: #8fa5ff;
}

.dark-section .text-link {
  border-color: var(--dark-sec-text);
  color: var(--dark-sec-text);
}

.dark-section .text-link:hover {
  color: #8fa5ff;
}

/* Home Story Section */
.home-story {
  display: grid;
  grid-template-columns: 0.38fr 1fr 0.55fr;
  gap: clamp(40px, 6vw, 95px);
  align-items: end;
}

.home-story .section-index {
  align-self: start;
}

.home-story-copy > p {
  max-width: 680px;
  margin: 30px 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.home-story blockquote {
  margin: 0;
  padding: 35px 0 0 30px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--cobalt);
  font: italic clamp(24px, 2.4vw, 38px)/1.28 Georgia, serif;
}

/* Journey Preview (Home) */
.journey-preview {
  margin-bottom: 0;
}

.milestone-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.milestone-row article {
  min-height: 280px;
  padding: 28px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.25s ease;
}

.milestone-row article:hover {
  background: rgba(255, 255, 255, 0.04);
}

.milestone-row article:last-child {
  border-right: 0;
}

.milestone-number {
  display: block;
  color: #8fa5ff;
  font: italic 26px Georgia, serif;
}

.milestone-row article > p {
  margin: 70px 0 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.milestone-row h3 {
  max-width: 230px;
  font: 28px/1.05 Georgia, serif;
}

.milestone-row article > span:last-child {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ==========================================================================
   LUXURY SPECULAR PICTURE GLARE & 3D HOLOGRAPHIC SHEEN EFFECT
   ========================================================================== */
.portrait-frame,
.image-card,
.about-portrait,
.award-image,
.journey-map-card,
.service-artwork {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Linear Sheen Glare Sweep */
.portrait-frame::before,
.image-card::before,
.about-portrait::before,
.award-image::before,
.journey-map-card::before,
.service-artwork::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.25) 47%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.25) 53%,
    transparent 65%
  );
  transform: translateX(-120%) translateY(-120%) rotate(25deg);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0.85;
}

[data-theme="dark"] .portrait-frame::before,
[data-theme="dark"] .image-card::before,
[data-theme="dark"] .about-portrait::before,
[data-theme="dark"] .award-image::before,
[data-theme="dark"] .journey-map-card::before,
[data-theme="dark"] .service-artwork::before {
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(87, 128, 255, 0.28) 46%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(56, 217, 169, 0.28) 54%,
    transparent 65%
  );
}

.portrait-wrap:hover .portrait-frame::before,
.portrait-frame:hover::before,
.portrait-frame:active::before,
.image-card:hover::before,
.image-card:active::before,
.about-portrait:hover::before,
.about-portrait:active::before,
.award-image:hover::before,
.award-image:active::before,
.journey-map-card:hover::before,
.journey-map-card:active::before,
.service-artwork:hover::before,
.service-artwork:active::before,
.image-glare-active::before {
  transform: translateX(120%) translateY(120%) rotate(25deg);
}

/* 3D Interactive Glare Spotlight Layer */
.picture-glare-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.18) 28%,
    transparent 65%
  );
  mix-blend-mode: overlay;
  transition: opacity 0.25s ease;
  will-change: background, opacity;
}

[data-theme="dark"] .picture-glare-spotlight {
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.65) 0%,
    rgba(87, 128, 255, 0.35) 30%,
    rgba(56, 217, 169, 0.18) 55%,
    transparent 70%
  );
}

.picture-glare-spotlight.active {
  opacity: 1;
}

@keyframes mobile-glare-shimmer {
  0% {
    transform: translateX(-120%) translateY(-120%) rotate(25deg);
    opacity: 0;
  }
  30% {
    opacity: 0.85;
  }
  60% {
    transform: translateX(120%) translateY(120%) rotate(25deg);
    opacity: 0;
  }
  100% {
    transform: translateX(120%) translateY(120%) rotate(25deg);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .portrait-frame::before {
    animation: mobile-glare-shimmer 6s ease-in-out infinite 1s;
  }
  .image-card::before {
    animation: mobile-glare-shimmer 7s ease-in-out infinite 2s;
  }
  .about-portrait::before {
    animation: mobile-glare-shimmer 6s ease-in-out infinite 1.5s;
  }
}

/* Image Card & Interactive Lightbox triggers */
.image-card {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
  cursor: pointer;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-card:hover img {
  transform: scale(1.03);
}

.image-card figcaption,
.image-card > span {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 12px 14px;
  margin: 0;
  color: var(--navy);
  background: rgba(251, 250, 246, 0.94);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
  z-index: 6;
}

[data-theme="dark"] .image-card figcaption,
[data-theme="dark"] .image-card > span {
  color: #f8fafc;
  background: rgba(14, 24, 46, 0.94);
}

/* Award Feature (Home) */
.award-feature {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.award-image {
  aspect-ratio: 1.25;
  border-radius: 4px;
}

.award-copy > p:not(.section-index) {
  max-width: 620px;
  margin: 28px 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.mini-awards {
  margin: 35px 0 40px;
  border-top: 1px solid var(--line);
}

.mini-awards > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background-color 0.2s ease;
}

.mini-awards > div:hover {
  background: rgba(49, 87, 216, 0.03);
}

.mini-awards span {
  color: var(--cobalt);
  font-size: 12px;
}

.mini-awards strong {
  font: 22px Georgia, serif;
}

/* Mentorship Banner (Home) */
.mentorship-banner {
  width: min(100% - 24px, 1480px);
  margin: 0 auto 12px;
  padding: clamp(70px, 9vw, 130px) clamp(28px, 7vw, 105px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  color: #ffffff;
  background: var(--cobalt);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(49, 87, 216, 0.25);
}

.mentorship-banner h2 {
  color: #ffffff;
}

.mentorship-banner h2 em {
  color: #dbe3ff;
}

.mentorship-banner > div:last-child > p {
  max-width: 520px;
  margin: 0 0 35px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

/* About Page */
.about-intro {
  padding: 120px 0;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 9vw, 150px);
  align-items: start;
}

.about-portrait {
  aspect-ratio: 0.78;
  border-radius: 260px 260px 12px 12px;
  box-shadow: var(--shadow-medium);
}

.about-copy {
  max-width: 780px;
}

.about-copy .lead-copy {
  margin-top: 0;
  color: var(--navy);
  font: clamp(27px, 3.2vw, 46px)/1.23 Georgia, serif;
}

.about-copy > p:not(.lead-copy) {
  color: var(--ink-muted);
  font-size: 17px;
  margin-top: 24px;
}

.education-band {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  row-gap: 0;
}

.education-band .section-index {
  grid-row: 1/3;
}

.education-item {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 30px;
  padding: 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.education-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.education-item > span {
  color: #8fa5ff;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.education-item h2 {
  font-size: clamp(28px, 3.2vw, 48px);
}

.education-item p {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.competency-grid article {
  min-height: 260px;
  padding: 35px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-card);
  transition: background-color 0.25s ease;
}

.competency-grid article:hover {
  background: rgba(49, 87, 216, 0.03);
}

.competency-grid article > span {
  color: var(--cobalt);
  font: italic 24px Georgia, serif;
}

.competency-grid h3 {
  margin: 45px 0 13px;
  font: 30px Georgia, serif;
}

.competency-grid p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-muted);
}

.values-strip {
  width: min(100% - 48px, 1400px);
  margin: 0 auto 110px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.values-strip span {
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cobalt);
  background: var(--paper-card);
  font: italic 19px Georgia, serif;
  transition: all 0.25s ease;
  cursor: default;
}

.values-strip span:hover {
  background: var(--paper-card);
  border-color: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-subtle);
}

/* Journey Page */
.journey-lead {
  padding: 120px 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(55px, 9vw, 140px);
  align-items: center;
}

.journey-image {
  aspect-ratio: 1;
  border-radius: 4px;
}

.journey-lead h2 {
  margin: 16px 0 28px;
}

.journey-lead > div:last-child > p:last-child {
  color: var(--ink-muted);
  font-size: 17px;
}

.journey-story {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(55px, 8vw, 125px);
  align-items: start;
  padding-bottom: 135px;
}

.story-index {
  position: sticky;
  top: 30px;
  align-self: start;
}

.story-index h2 {
  margin: 16px 0 35px;
  font-size: clamp(38px, 4.4vw, 64px);
}

.story-index nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.story-index nav a {
  min-height: 47px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
  transition: color 0.18s ease, padding-left 0.18s ease, background 0.18s ease;
}

.story-index nav a span {
  color: var(--cobalt);
  font: italic 15px Georgia, serif;
}

.story-index nav a:focus-visible,
.story-index nav a:hover,
.story-index nav a.active {
  padding-left: 6px;
  color: var(--navy);
  font-weight: 700;
}

.story-chapters {
  min-width: 0;
}

.story-chapter {
  scroll-margin-top: 90px;
  padding: 0 0 95px;
  margin-bottom: 95px;
  border-bottom: 1px solid var(--line);
}

.story-chapter:last-child {
  margin-bottom: 0;
}

.story-chapter header {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 24px;
  align-items: start;
}

.story-chapter header > span {
  color: var(--cobalt);
  font: italic 25px Georgia, serif;
}

.story-chapter header p {
  margin: 4px 0 13px;
  color: var(--cobalt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-chapter h2 {
  max-width: 900px;
  font-size: clamp(38px, 4.3vw, 65px);
}

.story-copy {
  max-width: 790px;
  margin: 42px 0 0 89px;
}

.story-copy p {
  margin: 0 0 24px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.82;
}

.story-chapter blockquote {
  max-width: 820px;
  margin: 42px 0 0 89px;
  padding: 30px 0 30px 30px;
  border-left: 2px solid var(--gold);
  color: var(--cobalt);
  font: italic clamp(25px, 2.8vw, 40px)/1.3 Georgia, serif;
}

.story-callout {
  max-width: 790px;
  margin: 40px 0 0 89px;
  padding: 27px 30px;
  color: var(--dark-sec-text);
  background: var(--dark-sec-bg);
  border-radius: 6px;
  border: 1px solid var(--line);
}

.story-callout strong {
  color: #9fb0ff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-callout p {
  margin: 12px 0 0;
  font: 24px/1.35 Georgia, serif;
}

.journey-maps {
  padding-bottom: 140px;
}

.journey-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.journey-map-card {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper-card);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.journey-map-card > a {
  display: block;
  overflow: hidden;
  background: var(--navy-2);
}

.journey-map-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-map-card > a:hover img {
  transform: scale(1.02);
}

.journey-map-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-map-card figcaption a {
  color: var(--cobalt);
  white-space: nowrap;
}

.story-continuation {
  padding-bottom: 140px;
}

.story-continuation .story-chapters {
  max-width: 1000px;
  margin-left: auto;
}

.application-ledger {
  scroll-margin-top: 30px;
  margin-bottom: 140px;
}

.application-ledger ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.application-ledger li {
  min-height: 210px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px 20px;
  align-content: start;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.25s ease;
}

.application-ledger li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.application-ledger li:nth-child(2n) {
  border-right: 0;
}

.application-ledger li > span {
  grid-row: 1/3;
  color: #8fa5ff;
  font: italic 20px Georgia, serif;
}

.application-ledger li strong {
  font: 25px Georgia, serif;
}

.application-ledger li p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.blueprint-section {
  scroll-margin-top: 30px;
  padding-bottom: 140px;
}

.blueprint-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.blueprint-grid li {
  min-height: 300px;
  padding: 32px;
  background: var(--paper-card);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease;
}

.blueprint-grid li:hover {
  background: rgba(49, 87, 216, 0.03);
}

.blueprint-grid li:last-child {
  grid-column: 1/-1;
  min-height: 250px;
}

.blueprint-grid span {
  color: var(--cobalt);
  font: italic 22px Georgia, serif;
}

.blueprint-grid h3 {
  max-width: 470px;
  margin: 55px 0 18px;
  font: 31px/1.1 Georgia, serif;
}

.blueprint-grid p {
  max-width: 610px;
  margin: 0;
  color: var(--ink-muted);
}

.timeline-section {
  width: min(100% - 48px, 1200px);
  margin: 0 auto 140px;
}

.timeline-heading {
  padding-top: 15px;
}

.timeline-list {
  position: relative;
}

.timeline-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 49px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 190px 1fr;
  gap: 40px;
  min-height: 255px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.25s ease;
}

.timeline-item:hover {
  background: rgba(49, 87, 216, 0.02);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.timeline-marker span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--cobalt);
  font: italic 17px Georgia, serif;
  box-shadow: 0 4px 12px rgba(49, 87, 216, 0.28);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-marker span {
  transform: scale(1.1);
}

.timeline-date span {
  display: block;
  color: var(--cobalt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-date strong {
  display: block;
  margin-top: 11px;
  font: 22px Georgia, serif;
}

.timeline-copy h2 {
  font-size: clamp(30px, 3.5vw, 52px);
}

.timeline-copy p {
  max-width: 670px;
  margin: 18px 0 0;
  color: var(--ink-muted);
}

.next-chapter {
  margin-bottom: 12px;
}

.next-chapter h2 {
  max-width: 1000px;
  margin-top: 22px;
}

.next-chapter h2 em {
  color: #9fb0ff;
}

.next-chapter > p:last-child {
  max-width: 700px;
  margin: 34px 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

/* Achievements Page */
.award-gallery {
  padding: 110px 0 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.award-gallery figure {
  margin: 0;
  border-radius: 8px;
  aspect-ratio: 1.38;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.award-gallery figure:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-heavy), 0 0 25px rgba(49, 87, 216, 0.25);
  border-color: var(--cobalt);
}

[data-theme="dark"] .award-gallery figure:hover {
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7), 0 0 30px rgba(87, 128, 255, 0.35);
  border-color: #5780ff;
}

/* 5-Second Luxury Optical Glaring / Light-Sweep Sheen Effect */
.award-photo-card::after,
.award-gallery figure::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -140%;
  width: 70%;
  height: 260%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(247, 212, 136, 0.55) 52%,
    rgba(87, 128, 255, 0.35) 65%,
    transparent 85%
  );
  transform: rotate(22deg);
  pointer-events: none;
  z-index: 4;
  animation: photo-glare-sweep 5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  will-change: transform, left, opacity;
}

/* Stagger the glare across all cards for a rhythmic 5-second cascading wave */
.award-gallery figure:nth-child(1)::after { animation-delay: 0s; }
.award-gallery figure:nth-child(2)::after { animation-delay: 1.0s; }
.award-gallery figure:nth-child(3)::after { animation-delay: 2.0s; }
.award-gallery figure:nth-child(4)::after { animation-delay: 3.0s; }
.award-gallery figure:nth-child(5)::after { animation-delay: 4.0s; }

@keyframes photo-glare-sweep {
  0% {
    left: -140%;
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  42% {
    left: 190%;
    opacity: 0.9;
  }
  45%, 100% {
    left: 190%;
    opacity: 0;
  }
}

.award-photo-card {
  aspect-ratio: 1.38;
}

.award-photo-large {
  aspect-ratio: 1.38;
}

.award-photo-small {
  aspect-ratio: 1.38;
}

.award-rows {
  border-top: 1px solid var(--line);
}

.award-rows article {
  display: grid;
  grid-template-columns: 58px 80px 1.05fr 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background-color 0.2s ease;
}

.award-rows article:hover {
  background: rgba(49, 87, 216, 0.03);
}

.row-index {
  color: var(--cobalt);
  font: italic 18px Georgia, serif;
}

.row-year {
  color: var(--ink-muted);
  font-size: 12px;
}

.award-rows h3 {
  font: 28px/1.08 Georgia, serif;
}

.award-rows div p {
  margin: 8px 0 0;
  color: var(--cobalt);
  font-size: 12px;
}

.award-rows > article > p {
  margin: 0;
  color: var(--ink-muted);
}

.research-section {
  margin-bottom: 0;
}

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

.publication-grid article {
  min-height: 300px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.publication-grid article:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.publication-grid span {
  color: #8fa5ff;
  font: italic 22px Georgia, serif;
}

.publication-grid h3 {
  margin: 45px 0 16px;
  font: 27px/1.22 Georgia, serif;
}

.publication-title-link {
  color: #ffffff;
  display: inline;
  transition: color 0.2s ease;
}

.publication-title-link:hover {
  color: #a8bcff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.publication-title-link .ext-icon,
.journal-link .ext-icon {
  display: inline-block;
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.publication-title-link:hover .ext-icon,
.journal-link:hover .ext-icon {
  transform: translate(2px, -2px);
}

.publication-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.journal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8fa5ff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.journal-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.presentation-list {
  margin-top: 70px;
}

.presentation-list .micro-label {
  margin-bottom: 18px;
  color: #8fa5ff;
}

.presentation-list > div {
  display: grid;
  grid-template-columns: 65px 1fr;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s ease;
}

.presentation-list > div:hover {
  background: rgba(255, 255, 255, 0.03);
}

.presentation-list > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.presentation-list span {
  color: #8fa5ff;
}

.presentation-list p {
  margin: 0;
}

.impact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

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

.impact-list article {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.impact-list article:hover {
  background: rgba(49, 87, 216, 0.03);
}

.impact-list strong {
  color: var(--cobalt);
  font: italic 27px Georgia, serif;
}

.impact-list p {
  margin: 0;
  color: var(--ink-muted);
}

.impact-list .text-link {
  margin-top: 34px;
}

/* Updates Page - The Hindu Press Card */
.press-card {
  margin-top: 105px;
  margin-bottom: 80px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #091a42 0%, #152f75 55%, #1f45b2 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(9, 26, 66, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

[data-theme="dark"] .press-card {
  background: linear-gradient(135deg, #071026 0%, #0e1e47 55%, #18337a 100%);
  border-color: rgba(87, 128, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.press-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(9, 26, 66, 0.45);
}

.press-card-content {
  flex: 1 1 auto;
  max-width: 920px;
}

.press-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  margin-bottom: 20px;
}

.the-hindu-masthead {
  height: 22px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.press-badge-divider {
  width: 1px;
  height: 16px;
  background: rgba(9, 21, 47, 0.3);
}

.press-badge-date {
  font-size: 13px;
  font-weight: 700;
  color: #09152f;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.press-card h2.press-headline {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
}

.press-subhead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 820px;
}

.press-card-actions {
  flex: 0 0 auto;
}

.button-press {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #ffffff;
  color: #09152f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.button-press:hover {
  background: #fbfaf6;
  color: #17327e;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.button-press .btn-arrow {
  transition: transform 0.2s ease;
  font-size: 1.1em;
}

.button-press:hover .btn-arrow {
  transform: translate(3px, -3px);
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-bottom: 130px;
}

.update-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-card);
  border-radius: 6px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.update-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.linkedin-embed {
  height: 470px;
  background: #eef0f4;
}

[data-theme="dark"] .linkedin-embed {
  background: #121c2e;
}

.linkedin-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.update-copy {
  padding: 30px;
}

.update-copy h2 {
  margin: 15px 0;
  font-size: clamp(28px, 3vw, 42px);
}

.update-copy > p:not(.micro-label) {
  min-height: 80px;
  color: var(--ink-muted);
}

.follow-banner {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 0.3fr 1fr auto;
  align-items: end;
  gap: 50px;
}

.follow-banner h2 {
  font-size: clamp(42px, 5vw, 72px);
}

/* Mentorship Page & Filter Tabs */
.mentorship-intro {
  padding: 110px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 85px;
}

.mentorship-intro h2 {
  margin-top: 15px;
  font-size: clamp(40px, 5vw, 68px);
}

.mentorship-intro > p {
  margin: 32px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.service-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px auto 45px;
}

.filter-pill {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--paper-card);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px var(--shadow-subtle);
}

.filter-pill:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
  box-shadow: 0 4px 14px var(--shadow-medium);
}

[data-theme="dark"] .filter-pill.active {
  background: #ffffff;
  color: #080e1c;
  border-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 125px;
}

.service-card {
  min-height: 790px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-card);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-subtle);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(49, 87, 216, 0.4);
}

.service-card.featured {
  color: #ffffff;
  background: var(--cobalt);
  border-color: var(--cobalt);
  transform: translateY(-12px);
  box-shadow: 0 25px 55px rgba(49, 87, 216, 0.25);
}

.service-card.featured:hover {
  transform: translateY(-16px);
  box-shadow: 0 30px 65px rgba(49, 87, 216, 0.32);
}

.service-art {
  aspect-ratio: 1.38;
  overflow: hidden;
  background: var(--navy-2);
}

.service-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate3d(0, 0, 0) scale(1.001);
}

.service-card:hover .service-art img {
  transform: translate3d(0, 0, 0) scale(1.04);
}

.service-card-body {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 30px;
}

.service-top {
  display: flex;
  justify-content: space-between;
  color: var(--cobalt);
  font: italic 20px Georgia, serif;
}

.service-label, .service-top strong {
  padding: 6px 10px;
  color: #1e3a8a;
  background: #dbeafe;
  font: 700 9px Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}

[data-theme="dark"] .service-label, 
[data-theme="dark"] .service-top strong {
  color: #dbeafe;
  background: #1e3a8a;
}

.service-card h2 {
  margin: 38px 0 10px;
  font-size: 34px;
}

.service-format {
  min-height: 44px;
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card-body > p:not(.service-format) {
  color: var(--ink-muted);
}

.service-card ul {
  padding: 20px 0 0;
  margin: auto 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-card li {
  padding: 7px 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.service-card li::before {
  content: "↳";
  margin-right: 9px;
  color: var(--cobalt);
}

.service-price {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 26px 0;
}

.service-price strong {
  font: 39px Georgia, serif;
}

.service-price span {
  color: var(--ink-muted);
  font-size: 11px;
}

.service-card .button {
  width: 100%;
}

.service-card.featured .service-format,
.service-card.featured .service-top,
.service-card.featured h2,
.service-card.featured li::before {
  color: #ffffff;
}

.service-card.featured .service-card-body > p,
.service-card.featured .service-price span,
.service-card.featured li {
  color: rgba(255, 255, 255, 0.78) !important;
}

.service-card.featured ul {
  border-color: rgba(255, 255, 255, 0.25);
}

.service-card.featured .button {
  color: #09152f;
  background: #ffffff;
}

.service-card.featured .button:hover {
  background: #f1f5f9;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-grid article {
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.25s ease;
}

.process-grid article:hover {
  background: rgba(255, 255, 255, 0.04);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  color: #8fa5ff;
  font: italic 22px Georgia, serif;
}

.process-grid h3 {
  margin: 62px 0 12px;
  font: 31px Georgia, serif;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.65);
}

.availability {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.availability-details {
  border-top: 1px solid var(--line);
}

.availability-details p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.availability-details p:hover {
  background: rgba(49, 87, 216, 0.03);
}

.availability-details span {
  color: var(--cobalt);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.availability-details strong {
  font: 20px Georgia, serif;
}

.ethics-note {
  margin-bottom: 110px;
  padding: 34px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.ethics-note > p:last-child {
  max-width: 1050px;
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Contact Page */
.contact-panel {
  margin-top: 105px;
  margin-bottom: 75px;
  display: grid;
  grid-template-columns: 1fr 0.38fr;
  gap: 70px;
  align-items: end;
}

.contact-panel .micro-label {
  color: #8fa5ff;
}

.email-display {
  display: block;
  margin: 26px 0;
  color: var(--dark-sec-text);
  font: clamp(24px, 3.8vw, 54px)/1.1 Georgia, serif;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.email-display:hover {
  color: #8fa5ff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

.copy-button:active {
  transform: translateY(0);
}

.contact-availability {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-availability p,
.contact-availability span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-availability strong {
  display: block;
  margin: 14px 0;
  font: 25px/1.35 Georgia, serif;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}

.connect-grid > a {
  min-height: 240px;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-subtle);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform, box-shadow, border-color;
  text-decoration: none;
}

.connect-grid > a:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: var(--shadow-heavy), 0 0 25px rgba(49, 87, 216, 0.15);
  border-color: var(--cobalt);
}

[data-theme="dark"] .connect-grid > a:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(87, 128, 255, 0.25);
  border-color: #5780ff;
}

.connect-grid > a > span {
  align-self: start;
  color: var(--cobalt);
  font: italic 22px Georgia, serif;
}

.connect-grid > a > strong {
  color: var(--cobalt);
  font-size: 22px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.connect-grid > a:hover > strong {
  transform: translate3d(3px, -3px, 0);
  color: var(--gold);
}

.connect-grid p {
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.connect-grid h2 {
  font-size: 38px;
  letter-spacing: -0.03em;
  transition: color 0.2s ease;
}

.connect-grid > a:hover h2 {
  color: var(--cobalt);
}

.contact-note {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 55px;
}

.contact-note h2 {
  max-width: 900px;
  font-size: clamp(37px, 4.7vw, 68px);
}

/* 404 Not Found Page */
.not-found {
  width: min(100% - 48px, 1400px);
  min-height: 68vh;
  margin: auto;
  padding: clamp(90px, 12vw, 170px) 0;
}

.not-found h1 {
  max-width: 900px;
}

.not-found h1 em {
  color: var(--cobalt);
  font-weight: inherit;
}

.not-found > p:not(.eyebrow) {
  margin: 28px 0;
  color: var(--ink-muted);
  font-size: 17px;
}

/* ==========================================================================
   RANDOM SESSION ENTRY POPUP NOTIFICATION (Floating Pill Card)
   ========================================================================== */

.session-entry-notification {
  position: fixed;
  z-index: 1500;
  bottom: 24px;
  left: 24px;
  width: min(390px, calc(100vw - 32px));
  background: var(--dialog-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-heavy);
  padding: 16px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  animation: session-toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: transform, opacity;
}

.session-entry-notification.hiding {
  transform: translate3d(0, 30px, 0);
  opacity: 0;
  pointer-events: none;
}

.session-entry-notification img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--navy-2);
}

.session-entry-copy {
  min-width: 0;
}

.session-entry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 4px;
}

.session-entry-badge .live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.session-entry-title {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 4px;
}

.session-entry-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-muted);
}

.session-entry-meta strong {
  color: var(--navy);
}

.session-entry-btn {
  margin-top: 8px;
  padding: 5px 12px;
  background: var(--navy);
  color: var(--paper);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

[data-theme="dark"] .session-entry-btn {
  background: #ffffff;
  color: #080e1c;
}

.session-entry-btn:hover {
  background: var(--cobalt);
  color: #ffffff;
  transform: translateY(-1px);
}

.session-entry-close {
  align-self: start;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s ease;
}

.session-entry-close:hover {
  background: rgba(49, 87, 216, 0.1);
  color: var(--navy);
}

@keyframes session-toast-in {
  from {
    opacity: 0;
    transform: translate3d(-20px, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ==========================================================================
   INTERACTIVE MODAL DIALOGS & OVERLAYS (170% Refresh Rate GPU Accelerated)
   ========================================================================== */

.booking-overlay,
.lightbox-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 11, 27, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: booking-fade 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: opacity;
}

.booking-overlay[hidden],
.lightbox-overlay[hidden] {
  display: none !important;
}

.booking-dialog,
.session-detail-dialog,
.lightbox-dialog {
  width: min(1180px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--dialog-bg);
  box-shadow: var(--shadow-heavy);
  animation: booking-rise 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.session-detail-dialog {
  width: min(880px, 100%);
}

.booking-dialog-header,
.session-detail-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 38px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--dialog-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.booking-dialog-header h2,
.session-detail-header h2 {
  margin: 8px 0 6px;
  font-size: clamp(34px, 4vw, 56px);
}

.booking-dialog-header > div > p:last-child,
.session-detail-header > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.booking-close,
.lightbox-close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--paper-card);
  cursor: pointer;
  font: 30px/1 Georgia, serif;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px var(--shadow-subtle);
}

.booking-close:hover,
.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: var(--ivory);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

/* Booking Options Grid */
.booking-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px 38px 18px;
}

.booking-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--dialog-card-bg);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.booking-option:hover {
  border-color: rgba(49, 87, 216, 0.45);
  box-shadow: var(--shadow-medium);
  transform: translate3d(0, -3px, 0);
}

.booking-option > img {
  grid-row: 1/3;
  width: 112px;
  height: 112px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  background: var(--navy-2);
}

.booking-option-copy {
  min-width: 0;
}

.booking-option-copy .service-label {
  display: inline-flex;
}

.booking-option h3 {
  margin: 12px 0 8px;
  font: 26px/1.08 Georgia, serif;
  letter-spacing: -0.03em;
}

.booking-option-copy > p {
  min-height: 48px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}

.booking-option-copy > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 13px;
}

.booking-option-copy strong {
  font: 24px Georgia, serif;
}

.booking-option-copy > div:last-child span {
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.booking-option-actions {
  grid-column: 2;
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.booking-option-actions > a {
  flex: 1 1;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--navy);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .booking-option-actions > a {
  background: #ffffff;
  color: #080e1c;
}

.booking-option-actions > a:hover {
  background: var(--cobalt);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Dedicated Session Detail Dialog */
.session-detail-body {
  padding: 32px 38px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
}

.session-detail-art {
  position: relative;
}

.session-detail-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
}

.session-detail-price-box {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--dialog-card-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.session-detail-price-box strong {
  display: block;
  color: var(--navy);
  font: 36px Georgia, serif;
}

.session-detail-price-box span {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 12px;
}

.session-detail-content h4 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  margin: 22px 0 12px;
  color: var(--navy);
}

.session-detail-content h4:first-child {
  margin-top: 0;
}

.session-detail-content p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.session-detail-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.session-detail-bullets li {
  padding: 12px 16px;
  background: var(--dialog-card-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.5;
}

/* Modal Bottom Action Footers (Under Sessions) */
.booking-dialog-footer,
.session-detail-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 38px 30px;
  border-top: 1px solid var(--line);
  background: var(--dialog-bg);
}

.booking-footer-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  max-width: 450px;
}

.booking-footer-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-footer-close,
.modal-close-btn {
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--paper-card);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px var(--shadow-subtle);
}

.booking-footer-close:hover,
.modal-close-btn:hover {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

[data-theme="dark"] .booking-footer-close:hover,
[data-theme="dark"] .modal-close-btn:hover {
  background: #ffffff;
  color: #080e1c;
  border-color: #ffffff;
}

.booking-footer-close:active,
.modal-close-btn:active {
  transform: translateY(0);
}

/* Lightbox Dialog & Magnifier */
.lightbox-dialog {
  width: min(1080px, 96vw);
  background: #040812;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(9, 21, 47, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  gap: 16px;
}

.lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lightbox-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-zoom-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(87, 128, 255, 0.2);
  border: 1px solid rgba(87, 128, 255, 0.4);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8fa5ff;
  white-space: nowrap;
}

.lightbox-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lightbox-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-zoom-btn:hover {
  background: #3157d8;
  border-color: #5780ff;
  color: #ffffff;
  transform: translateY(-1px);
}

.lightbox-body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020409;
  overflow: hidden;
  max-height: 76vh;
  position: relative;
}

.lightbox-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.lightbox-img-wrapper.is-magnified {
  cursor: zoom-out;
  overflow: auto;
}

.lightbox-body img,
.lightbox-img {
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  user-select: none;
}

.lightbox-img-wrapper.is-magnified .lightbox-img {
  transform: scale(1.75);
  max-width: none;
  max-height: none;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(9, 21, 47, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 16px;
}

.lightbox-hint {
  margin: 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  z-index: 3000;
  bottom: 28px;
  left: 50%;
  transform: translate3d(-50%, 60px, 0);
  opacity: 0;
  padding: 14px 28px;
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-heavy);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

[data-theme="dark"] .toast-notification {
  background: #ffffff;
  color: #080e1c;
}

.toast-notification.active {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
}

/* Animations */
@keyframes booking-fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes booking-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Site Footer */
.site-footer {
  padding: 85px 0 35px;
  display: grid;
  grid-template-columns: 1.5fr 0.55fr 0.55fr;
  gap: 50px;
  border-top: 1px solid var(--line);
}

.footer-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--navy);
  font: 28px Georgia, serif;
  box-shadow: 0 6px 18px var(--shadow-subtle);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .footer-mark {
  background: #ffffff;
  color: #080e1c;
}

.footer-mark:hover {
  transform: scale(1.08);
}

.site-footer > div:first-child p {
  margin: 28px 0 0;
  font: italic clamp(26px, 3vw, 42px)/1.1 Georgia, serif;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links .micro-label {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--ink-muted);
  font-size: 13px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-links a:hover {
  color: var(--cobalt);
  transform: translateX(2px);
}

.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* 170% Refresh Rate & High-FPS GPU Performance Engine */
.page-enter {
  animation: page-enter 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: opacity, transform;
}

@keyframes page-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: view-out 0.16s cubic-bezier(0.4, 0, 1, 1) both;
}

::view-transition-new(root) {
  animation: view-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes view-out {
  to {
    opacity: 0;
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes view-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .home-story {
    grid-template-columns: 0.35fr 1fr;
  }
  .home-story blockquote {
    grid-column: 2;
  }
  .milestone-row,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .milestone-row article:nth-child(2),
  .process-grid article:nth-child(2) {
    border-right: 0;
  }
  .milestone-row article:nth-child(-n+2),
  .process-grid article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .award-rows article {
    grid-template-columns: 45px 65px 1fr;
  }
  .award-rows > article > p {
    grid-column: 3;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }
  .portrait-wrap {
    justify-self: start;
    width: min(88%, 470px);
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-grid article:nth-child(2) {
    border-right: 0;
  }
  .proof-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .story-preview {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .text-link {
    justify-self: start;
  }
  .session-detail-body {
    grid-template-columns: 1fr;
  }
  .session-detail-art {
    max-width: 280px;
  }
}

@media (max-width: 760px) {
  .content-wide, .page-hero, .section-pad, .site-footer {
    width: min(100% - 32px, 1400px);
  }
  .dark-section, .mentorship-banner {
    width: min(100% - 16px, 1480px);
  }
  .about-intro, .availability, .award-feature, .contact-note,
  .contact-panel, .education-band, .home-story, .impact-section,
  .journey-lead, .mentorship-banner, .mentorship-intro,
  .page-hero, .section-heading {
    grid-template-columns: 1fr;
  }
  .page-hero {
    min-height: 510px;
    padding-block: 90px 70px;
  }
  .page-hero .eyebrow {
    margin-top: 0;
  }
  .page-hero > p:last-child {
    grid-column: 1;
  }
  .section-heading {
    margin-bottom: 50px;
  }
  .home-story blockquote {
    grid-column: 1;
  }
  .competency-grid, .connect-grid, .milestone-row,
  .publication-grid, .services-grid, .updates-grid {
    grid-template-columns: 1fr;
  }
  .milestone-row article, .process-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .milestone-row article:last-child, .process-grid article:last-child {
    border-bottom: 0;
  }
  .award-feature {
    gap: 65px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer > div:first-child {
    grid-column: 1/-1;
  }
  .about-intro, .journey-lead {
    padding-block: 90px;
  }
  .journey-story {
    grid-template-columns: 1fr;
    gap: 75px;
    padding-bottom: 100px;
  }
  .story-index {
    position: static;
  }
  .story-chapter {
    padding-bottom: 70px;
    margin-bottom: 70px;
  }
  .story-chapter header {
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }
  .story-callout, .story-chapter blockquote, .story-copy {
    margin-left: 62px;
  }
  .journey-maps {
    padding-bottom: 100px;
  }
  .journey-map-grid {
    grid-template-columns: 1fr;
  }
  .story-continuation {
    padding-bottom: 100px;
  }
  .application-ledger {
    margin-bottom: 100px;
  }
  .application-ledger ol, .blueprint-grid {
    grid-template-columns: 1fr;
  }
  .application-ledger li {
    border-right: 0;
  }
  .blueprint-grid li:last-child {
    grid-column: 1;
  }
  .blueprint-section {
    padding-bottom: 100px;
  }
  .about-portrait {
    max-width: 520px;
  }
  .education-band .section-index {
    grid-row: auto;
  }
  .education-item {
    grid-template-columns: 90px 1fr;
  }
  .timeline-item {
    grid-template-columns: 70px 1fr;
    gap: 24px;
  }
  .timeline-copy, .timeline-date {
    grid-column: 2;
  }
  .timeline-rail {
    left: 34px;
  }
  .award-gallery {
    grid-template-columns: 1fr;
    padding-block: 85px;
  }
  .award-rows article {
    grid-template-columns: 40px 1fr;
  }
  .award-rows .row-year {
    grid-column: 1;
  }
  .award-rows div, .award-rows > article > p {
    grid-column: 2;
  }
  .availability, .impact-section, .mentorship-intro {
    gap: 55px;
  }
  .press-card {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 75px;
  }
  .follow-banner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .service-card.featured {
    transform: none;
  }
  .booking-overlay, .lightbox-overlay {
    padding: 0;
    place-items: stretch;
  }
  .booking-dialog, .session-detail-dialog {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .booking-dialog-header, .session-detail-header {
    padding: 25px 20px 22px;
  }
  .booking-dialog-header h2, .session-detail-header h2 {
    font-size: clamp(32px, 10vw, 48px);
  }
  .booking-options {
    grid-template-columns: 1fr;
    padding: 18px 16px 10px;
  }
  .booking-dialog-footer, .session-detail-footer {
    padding: 20px 20px 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .booking-footer-buttons {
    flex-direction: column;
    width: 100%;
  }
  .booking-footer-buttons .button,
  .booking-footer-buttons .booking-footer-close,
  .booking-footer-buttons .modal-close-btn {
    width: 100%;
    justify-content: center;
  }
  .contact-panel {
    margin-top: 75px;
  }
  .contact-availability {
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 560px) {
  .hero, .proof-grid, .site-header, .story-preview {
    width: min(100% - 32px, 1400px);
  }
  .site-header {
    height: 78px;
  }
  .wordmark > span:last-child {
    display: none;
  }
  .nav-cta {
    padding: 10px 14px;
  }
  .hero {
    min-height: auto;
    gap: 70px;
    padding: 60px 0 85px;
  }
  h1 {
    font-size: clamp(51px, 15vw, 74px);
  }
  .portrait-note {
    right: -8px;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof-grid article:last-child {
    border-bottom: 0;
  }
  .story-preview {
    padding: 90px 0 110px;
    gap: 34px;
  }
  .session-entry-notification {
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 520px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .award-rows article, .education-item, .milestone-row, .process-grid {
    grid-template-columns: 1fr;
  }
  .award-rows .row-index, .award-rows .row-year, .award-rows div, .award-rows > article > p {
    grid-column: 1;
  }
  .publication-grid article {
    min-height: 250px;
  }
  .services-grid {
    gap: 12px;
  }
  .journey-map-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .story-chapter header {
    grid-template-columns: 1fr;
  }
  .story-callout, .story-chapter blockquote, .story-copy {
    margin-left: 0;
  }
  .story-chapter blockquote {
    padding-left: 22px;
  }
  .application-ledger li {
    grid-template-columns: 38px 1fr;
    padding: 24px 20px;
  }
  .blueprint-grid li {
    min-height: auto;
  }
  .service-card {
    min-height: 720px;
  }
  .service-card-body {
    padding: 24px;
  }
  .booking-option {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .booking-option > img {
    width: 86px;
    height: 86px;
  }
  .booking-option h3 {
    font-size: 22px;
  }
  .booking-option-actions {
    grid-column: 1/-1;
  }
  .availability-details p {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .session-detail-body {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .booking-dialog, .booking-overlay, .session-detail-dialog, .lightbox-overlay, .page-enter, .session-entry-notification {
    animation: none !important;
    transition: none !important;
  }
  ::view-transition-new(root), ::view-transition-old(root) {
    animation: none;
  }
}

/* ==========================================================================
   CINEMATIC VIDEO WEBSITE LOADER (website-loader-video-6-seconds.mp4)
   ========================================================================== */
.vfx-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040813;
  color: #ffffff;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s ease;
  will-change: opacity, transform, filter;
}

.vfx-preloader.fade-out {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(12px);
  pointer-events: none;
}

.loader-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #0a1738 0%, #030712 75%, #000000 100%);
}

.loader-ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(49, 87, 216, 0.22) 0%, rgba(56, 217, 169, 0.08) 40%, transparent 70%);
  pointer-events: none;
  animation: ambient-pulse 3s ease-in-out infinite alternate;
}

@keyframes ambient-pulse {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

.loader-spinner {
  position: absolute;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.loader-spinner.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(87, 128, 255, 0.18);
  border-top-color: #38d9a9;
  border-right-color: #5780ff;
  animation: spin 0.85s linear infinite;
}

.spinner-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #38d9a9;
  box-shadow: 0 0 14px #38d9a9;
  animation: pulse-dot 1.2s ease-in-out infinite alternate;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-dot {
  0% { transform: scale(0.7); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

.loader-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease-in;
  will-change: opacity;
}

.loader-video.playing {
  opacity: 1;
}

/* Subtle Cinematic Framing & Skip Controls */
.loader-ui-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.loader-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.loader-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(9, 21, 47, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.loader-brand-tag .tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38d9a9;
  box-shadow: 0 0 8px #38d9a9;
  animation: tag-pulse 1.4s ease-in-out infinite alternate;
}

@keyframes tag-pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 1; }
}

.loader-skip-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.loader-skip-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.loader-bottom-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loader-progress-track {
  width: 100%;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3157d8 0%, #5780ff 50%, #38d9a9 100%);
  border-radius: 999px;
  box-shadow: 0 0 10px #5780ff;
  transition: width 0.08s linear;
}

/* Corner HUD accents */
.hud-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 5;
}

.hud-corner.top-left {
  top: 14px;
  left: 14px;
  border-right: 0;
  border-bottom: 0;
}

.hud-corner.top-right {
  top: 14px;
  right: 14px;
  border-left: 0;
  border-bottom: 0;
}

.hud-corner.bottom-left {
  bottom: 14px;
  left: 14px;
  border-right: 0;
  border-top: 0;
}

.hud-corner.bottom-right {
  bottom: 14px;
  right: 14px;
  border-left: 0;
  border-top: 0;
}

/* ==========================================================================
   INTERACTIVE REFINEMENTS & GENERATIVE UI WIDGETS
   ========================================================================== */

/* 1. Live Status & IST Time Clock Pill */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(49, 87, 216, 0.08);
  border: 1px solid rgba(49, 87, 216, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  user-select: none;
  transition: all 0.2s var(--ease-265hz);
}

[data-theme="dark"] .live-status-pill {
  background: rgba(87, 128, 255, 0.12);
  border-color: rgba(87, 128, 255, 0.28);
  color: #f1f5f9;
}

.live-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: liveDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* 2. Floating Back-to-Top Action */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(9, 21, 47, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.25s var(--ease-265hz), transform 0.25s var(--ease-265hz), visibility 0.25s, background-color 0.2s;
}

[data-theme="dark"] .back-to-top-btn {
  background: var(--cobalt);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: var(--cobalt);
  transform: translateY(-3px) scale(1.06);
}

/* 3. Interactive Achievements Filter Bar */
.achievements-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 28px;
}

.achievement-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-card);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease-265hz);
}

.achievement-tab:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  transform: translateY(-1px);
}

.achievement-tab.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

[data-theme="dark"] .achievement-tab.active {
  background: #ffffff;
  color: #080e1c;
  border-color: #ffffff;
}

.award-row-hidden {
  display: none !important;
}

/* 4. Interactive Scholarship Readiness Quiz / Service Finder */
.readiness-quiz-container {
  margin: 40px auto 60px;
  max-width: 960px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.readiness-quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.readiness-quiz-header h3 {
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}

.readiness-quiz-header p {
  font-size: 13px;
  color: var(--ink-muted);
}

.quiz-steps-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.quiz-question-box {
  margin-bottom: 8px;
}

.quiz-question-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: block;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.quiz-option-btn {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--ease-265hz);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option-btn:hover {
  border-color: var(--cobalt);
  background: rgba(49, 87, 216, 0.04);
}

.quiz-option-btn.selected {
  border-color: var(--cobalt);
  background: rgba(49, 87, 216, 0.09);
  color: var(--cobalt);
  font-weight: 700;
}

[data-theme="dark"] .quiz-option-btn.selected {
  background: rgba(87, 128, 255, 0.16);
  color: #7597ff;
}

.quiz-result-card {
  margin-top: 24px;
  padding: 20px;
  background: rgba(49, 87, 216, 0.06);
  border: 1px solid rgba(49, 87, 216, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

[data-theme="dark"] .quiz-result-card {
  background: rgba(87, 128, 255, 0.09);
  border-color: rgba(87, 128, 255, 0.25);
}

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

.quiz-result-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cobalt);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(49, 87, 216, 0.25);
}

[data-theme="dark"] .quiz-result-badge {
  background: #09152f;
}

.quiz-result-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.quiz-result-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* 5. Contact Interactive Inquiry Selector */
.inquiry-selector-box {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.inquiry-selector-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  display: block;
}

.inquiry-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inquiry-pill {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-265hz);
}

.inquiry-pill:hover, .inquiry-pill.active {
  background: #ffffff;
  color: #09152f;
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* 6. Interactive Journey Chapter Progress Tracker */
.journey-progress-indicator {
  position: sticky;
  top: 92px;
  z-index: 30;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin-bottom: 24px;
}

.journey-progress-bar {
  width: min(100% - 48px, 1400px);
  margin: 0 auto;
  height: 3px;
  background: rgba(9, 21, 47, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

[data-theme="dark"] .journey-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

.journey-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cobalt);
  transition: width 0.1s ease-out;
}

