/* ============================================================
   DESIGN SYSTEM & CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette - Harmonized Rich Burgundy & Sunset Amber Palette */
  --bg-primary: #FAF7F5;
  --bg-card: #FFFFFF;
  --bg-dark: #1F050A;
  --bg-dark-card: #2D080F;
  --bg-dark-card-hover: #3D0C15;
  
  --text-main: #1C0A0E;
  --text-muted: #5C4348;
  --text-light: #8E7378;
  --text-inverted: #FAF7F5;
  --text-dark-muted: #C4ABB0;

  /* Brand Accents */
  --accent-burgundy: #6B1724;
  --accent-wine: #8B1E2F;
  --accent-crimson: #A82035;
  --accent-orange: #FF8A65;
  --accent-terracotta: #8B1E2F; /* Primary rich wine accent */
  --accent-coral: #FF8A65;
  --accent-gold: #F5CE85;
  --accent-peach: #FFA07A;
  --accent-cyan: #30EEE2;
  --accent-purple: #8B1E2F;
  --accent-lavender: #A82035;
  --accent-green: #10B981;
  --accent-red: #8B1E2F;

  /* Glassmorphism & Borders */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(139, 30, 47, 0.12);
  --dark-glass-border: rgba(255, 138, 101, 0.18);
  --glass-shadow: 0 16px 36px -12px rgba(42, 5, 11, 0.06), 0 0 1px 1px rgba(139, 30, 47, 0.04);
  --glass-shadow-hover: 0 20px 45px -10px rgba(107, 23, 36, 0.18), 0 0 1px 1px rgba(255, 138, 101, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   GLOBAL RESETS, SCROLLBAR & BASE STYLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* GPU Hardware Acceleration & Silky Rendering */
.floating-capsule-nav-container,
.vertical-scroll-tracker-container,
.project-showcase-card,
.editorial-stat-item,
.story-cinema-card,
.modal-card,
.reference-dropdown,
.hero-portrait-frame {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

img {
  image-rendering: -webkit-optimize-contrast;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: #E8D5C4;
  border-radius: 5px;
  border: 2px solid #FAF7F2;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

body.site-body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--accent-orange);
  color: #FFFFFF;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

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

main.main-content {
  flex: 1;
}

html.intro-active,
body.intro-active {
  overflow: hidden !important;
  height: 100vh !important;
  scroll-behavior: auto !important;
}

/* ============================================================
   INTRO 3D LIQUID ANIMATION OVERLAY
   ============================================================ */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at 50% 50%, #3B0910 0%, #1A0307 70%, #0D0104 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.6s ease;
}

.intro-overlay.fade-out {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.intro-wave-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  filter: blur(45px);
  opacity: 0.7;
}

.intro-wave {
  position: absolute;
  border-radius: 42%;
  animation: liquidRotate 14s infinite linear;
}

.intro-wave-1 {
  width: 75vw;
  height: 75vw;
  top: -25vw;
  left: -15vw;
  background: linear-gradient(135deg, rgba(255, 138, 101, 0.45), rgba(139, 30, 47, 0.4));
}

.intro-wave-2 {
  width: 85vw;
  height: 85vw;
  bottom: -35vw;
  right: -20vw;
  background: linear-gradient(135deg, rgba(107, 23, 36, 0.55), rgba(255, 138, 101, 0.35));
  animation-duration: 18s;
  animation-direction: reverse;
}

.intro-wave-3 {
  width: 65vw;
  height: 65vw;
  top: 25%;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 160, 122, 0.35), transparent 70%);
  animation-duration: 22s;
}

@keyframes liquidRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

.intro-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.5rem;
  max-width: 1100px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-badge-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #FF8A65;
  background: rgba(255, 138, 101, 0.15);
  border: 1px solid rgba(255, 138, 101, 0.35);
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  animation: introTextReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.intro-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.9rem);
}

.intro-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.6vw, 1.25rem);
  flex-wrap: wrap;
}

.intro-row-top .intro-word {
  font-size: clamp(2rem, 6.8vw, 5.8rem);
  letter-spacing: -0.02em;
}

.intro-row-bottom .intro-word {
  font-size: clamp(2.4rem, 8.2vw, 7rem);
}

.intro-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 8.2vw, 7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  user-select: none;
  animation: introTextReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, #FFE0B2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.name-gradient {
  color: #FF8A65;
  background: linear-gradient(135deg, #FFF0EB 0%, #FF8A65 48%, #FF5E3A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(255, 110, 74, 0.45));
}

.intro-sub-title {
  color: rgba(255, 224, 178, 0.85);
  font-family: var(--font-mono);
  font-size: 0.96rem;
  margin-top: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: introTextReveal 1s cubic-bezier(0.22, 1, 0.36, 1) backwards 0.2s;
}

@keyframes introTextReveal {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.intro-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
  animation: fadeIn 1.2s ease backwards 0.4s;
}

.intro-skip-btn {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.intro-skip-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #1A1817;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 133, 79, 0.4);
}

/* ============================================================
   HEADER & FLOATING CAPSULE NAVBAR (Shows on scroll past hero)
   ============================================================ */
/* ============================================================
   HEADER & CORNER NAVIGATION (Stable Fixed Position on Scroll)
   ============================================================ */
.main-header.header-reference-style {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 1.5rem 2.5rem;
  opacity: 1;
  transform: none;
  pointer-events: none;
  transition: padding 0.3s ease;
}

.main-header.header-reference-style .nav-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.brand-two-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  pointer-events: auto;
}

.header-avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #000000;
  border: 2px solid #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.header-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.brand-initials {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: #000000 !important;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

.brand-two-line:hover .brand-initials {
  color: #222222 !important;
  transform: scale(1.05);
}

.header-actions {
  pointer-events: auto;
}

/* Circular Theme-Harmonized Menu Button (Deep Wine Frosted Glass with Coral Accents) */
.header-circle-menu-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(30, 7, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 138, 101, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 138, 101, 0.12);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1001;
}

.header-circle-menu-btn:hover {
  transform: scale(1.08);
  background: rgba(56, 11, 22, 0.95);
  border-color: rgba(255, 160, 122, 0.65);
  box-shadow: 0 12px 28px -4px rgba(107, 23, 36, 0.55), 0 0 22px rgba(255, 138, 101, 0.3);
}

.circle-bar {
  width: 22px;
  height: 2.2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, opacity 0.25s ease;
}

/* When Menu is Open: Hamburger transforms into an elegant "X" close icon */
.header-circle-menu-btn[aria-expanded="true"] {
  background: rgba(75, 14, 28, 0.96);
  border-color: #FF8A65;
  box-shadow: 0 8px 28px rgba(255, 94, 58, 0.35), 0 0 15px rgba(255, 138, 101, 0.4);
}

.header-circle-menu-btn[aria-expanded="true"] .bar-top {
  transform: translateY(4.1px) rotate(45deg);
  background: #FFFFFF;
}

.header-circle-menu-btn[aria-expanded="true"] .bar-bot {
  transform: translateY(-4.1px) rotate(-45deg);
  background: #FF8A65;
}

/* Dropdown Overlay: Theme-Harmonized Dark Wine & Sunset Coral Frosted Glass */
.reference-dropdown {
  position: fixed;
  top: 82px;
  right: 2.2rem;
  background: rgba(24, 5, 10, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 24px 65px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 138, 101, 0.15), 0 0 1px 1px rgba(255, 138, 101, 0.2);
  border: 1.5px solid rgba(255, 138, 101, 0.28);
  z-index: 1000;
  display: none;
  flex-direction: column;
  min-width: 240px;
  gap: 0.35rem;
  pointer-events: auto;
}

.reference-dropdown.open {
  display: flex;
  pointer-events: auto;
  animation: dropdownFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reference-dropdown .mobile-nav-link {
  padding: 0.75rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.05em;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  cursor: pointer;
}

.reference-dropdown .mobile-nav-link:last-child {
  border-bottom: none;
}

.reference-dropdown .mobile-nav-link .nav-arrow {
  font-size: 0.88rem;
  opacity: 0.45;
  color: #FF8A65;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.reference-dropdown .mobile-nav-link:hover {
  color: #FF8A65;
  background: linear-gradient(90deg, rgba(255, 138, 101, 0.20) 0%, rgba(255, 94, 58, 0.08) 100%);
  transform: translateX(5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.reference-dropdown .mobile-nav-link:hover .nav-arrow {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .reference-dropdown {
    right: 1.25rem;
    top: 74px;
    min-width: 220px;
    padding: 0.95rem 1rem;
  }
}

/* ============================================================
   HERO SECTION (Rich Burgundy / Deep Wine Velvet Backdrop - Compact Height)
   ============================================================ */
.hero-fullscreen-section.hero-crimson-red-theme {
  position: relative;
  min-height: 75vh;
  max-height: 700px;
  width: 100%;
  background: #3B0910; /* Rich Burgundy / Deep Wine */
  background: radial-gradient(circle at 75% 45%, #6B1724 0%, #3B0910 55%, #220409 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 4.5rem 2rem 0;
  overflow: hidden;
}

/* Hero Content Grid (Portrait on Left, Bold Name on Right) */
.hero-fullbleed-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-grid-left-portrait {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: flex-end;
  gap: 2rem;
  width: 100%;
}

.hero-photo-left {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
  z-index: 15;
}

.hero-photo-left .hero-photo-container {
  width: 100%;
  max-width: 680px;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.hero-animated .hero-photo-left .hero-photo-container {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.05s;
}

.hero-photo-left .hero-portrait-img {
  width: 100%;
  height: auto;
  max-height: clamp(480px, 78vh, 740px);
  object-fit: contain;
  object-position: bottom left;
  display: block;
  transform: scale(1.16);
  transform-origin: bottom left;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.45));
}

/* Right Side: Large 3-Line Editorial Name */
.hero-text-right {
  position: relative;
  z-index: 20;
  padding-bottom: clamp(6rem, 14vh, 12rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-28px);
}

.hero-name-editorial {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 6.8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: none;
}

.name-line {
  display: block;
  opacity: 0;
  transform: translateY(35px);
  filter: blur(4px);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease, filter 0.75s ease;
  white-space: nowrap;
}

.name-line.line-accent {
  color: #FF8A65;
  background: linear-gradient(135deg, #FFF0EB 0%, #FF8A65 48%, #FF5E3A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255, 110, 74, 0.35));
}

.name-line.line-white {
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-animated .name-line.line-1 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.55s;
}

.hero-animated .name-line.line-2 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.70s;
}

.hero-animated .name-line.line-3 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.85s;
}

.hero-tagline-dash {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #FFE0B2;
  margin-top: 1.15rem;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease, filter 0.75s ease;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-animated .hero-tagline-dash {
  opacity: 0.95;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 1.0s;
}

/* ============================================================
   RIGHT EDGE INTERACTIVE VERTICAL SCROLL TRACKER
   ============================================================ */
.vertical-scroll-tracker {
  position: fixed;
  right: 2.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.vertical-scroll-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: transform 0.25s ease;
}

.vertical-scroll-btn:hover {
  transform: scale(1.08);
}

.vertical-scroll-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  opacity: 1;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.3s ease;
}

.vertical-scroll-track {
  width: 3px;
  height: 68px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  border-radius: 999px;
  transition: background 0.3s ease;
  overflow: visible;
}

.vertical-scroll-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #FFFFFF;
  border-radius: 999px;
  transition: background 0.3s ease;
}

.vertical-scroll-dot {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 4px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  pointer-events: none;
}

/* Dynamic Dark Theme when scrolling over Light Sections (About, Projects, Story, Contact) */
.vertical-scroll-tracker.theme-dark .vertical-scroll-text {
  color: #000000 !important;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.9);
}

.vertical-scroll-tracker.theme-dark .vertical-scroll-track {
  background: rgba(0, 0, 0, 0.22);
}

.vertical-scroll-tracker.theme-dark .vertical-scroll-fill {
  background: #000000;
}

.vertical-scroll-tracker.theme-dark .vertical-scroll-dot {
  background: #000000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.9);
}

/* Light Theme when scrolling over Dark Wine sections (Hero, Vision) */
.vertical-scroll-tracker.theme-light .vertical-scroll-text {
  color: #FFFFFF !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.vertical-scroll-tracker.theme-light .vertical-scroll-track {
  background: rgba(255, 255, 255, 0.4);
}

.vertical-scroll-tracker.theme-light .vertical-scroll-fill {
  background: #FFFFFF;
}

.vertical-scroll-tracker.theme-light .vertical-scroll-dot {
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 0 0 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .vertical-scroll-tracker {
    right: 0.75rem;
    transform: translateY(-50%) scale(0.85);
  }
}

/* ============================================================
   FLOATING CAPSULE NAVBAR (Appears Smoothly on Scroll Down)
   ============================================================ */
.floating-capsule-nav-container {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-25px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  padding: 0 1rem;
}

.floating-capsule-nav-container.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.capsule-nav-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 0.35rem 0.55rem;
  box-shadow: 0 14px 36px -6px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
  pointer-events: auto;
}

.capsule-nav-item {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: #4B5563;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.capsule-nav-item:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.04);
}

.capsule-nav-item.active {
  background: #000000;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .floating-capsule-nav-container {
    top: 10px;
    padding: 0 0.5rem;
  }
  .capsule-nav-pill {
    padding: 0.25rem 0.35rem;
    gap: 0.15rem;
    max-width: 96vw;
  }
  .capsule-nav-item {
    font-size: 0.74rem;
    padding: 0.35rem 0.65rem;
  }
}

@media (max-width: 420px) {
  .capsule-nav-item {
    font-size: 0.68rem;
    padding: 0.3rem 0.48rem;
  }
}

.red-accent-title {
  color: #000000 !important;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
}

@media (max-width: 900px) {
  .hero-grid-left-portrait {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-photo-left {
    justify-content: center;
  }
  .hero-text-right {
    padding-bottom: 3rem;
    text-align: center;
  }
  .hero-vertical-scroll {
    display: none;
  }
  .hero-notebook-backdrop {
    left: 5%;
    top: 5%;
    width: 320px;
    height: 320px;
  }
  .hero-name-editorial {
    font-size: clamp(2.6rem, 10vw, 4.4rem);
  }
  .name-line {
    white-space: normal;
  }
  .hero-portrait-img {
    max-height: 50vh;
    margin: 0 auto;
  }
}

.about-linkedin-row {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.about-linkedin-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0A66C2;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.35);
  transition: all 0.25s ease;
}

.about-linkedin-row a:hover {
  background: #004182;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 102, 194, 0.45);
}

/* ============================================================
   ABOUT SECTION (01 / ABOUT ME)
   ============================================================ */
.about-warm-section {
  background-color: #FAF7F2;
  padding: 5.5rem 1.5rem 6.5rem;
  width: 100%;
  scroll-margin-top: 80px;
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
}

.about-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: flex-start;
  margin-bottom: 3.5rem;
}

.about-top-grid.single-column {
  display: block;
  max-width: 960px;
  margin-bottom: 3.5rem;
}

.about-photo-preview-col {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo-card-wrap {
  width: 100%;
  max-width: 380px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 4px solid #FFFFFF;
  background: #1C1917;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-photo-card-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 55px -10px rgba(0, 0, 0, 0.22);
}

.about-main-photo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 900px) {
  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-main-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #1A1817;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.about-intro-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
}

.about-intro-text {
  font-family: var(--font-sans);
  font-size: clamp(1.06rem, 1.45vw, 1.18rem);
  color: #3D3834;
  line-height: 1.78;
  font-weight: 450;
}

/* ============================================================
   ABOUT DUAL-VIEW IN-PLACE SWITCHER (Summary View vs Detailed Story)
   ============================================================ */
.about-view-switcher-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}

.about-view-panel {
  width: 100%;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-view-panel[hidden] {
  display: none !important;
}

.about-view-panel.sliding-out-left {
  opacity: 0;
  transform: translateX(-35px);
}

.about-view-panel.sliding-out-right {
  opacity: 0;
  transform: translateX(35px);
}

.about-view-panel.sliding-in-right {
  animation: slideInFromRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-view-panel.sliding-in-left {
  animation: slideInFromLeft 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Summary View Badge & Inline Read More */
.about-section-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-terracotta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.about-inline-readmore-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  color: #0F172A;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  margin-left: 0.35rem;
  padding: 0;
  transition: color 0.2s ease;
}

.about-inline-readmore-btn:hover {
  color: var(--accent-terracotta);
}

.about-summary-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.about-signoff-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--accent-terracotta);
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  text-align: right;
}

/* ============================================================
   DETAILED EDITORIAL VIEW (Exact Reference Card Layout)
   ============================================================ */
.editorial-about-container {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 3.5rem 3.5rem 3rem;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.editorial-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  gap: 2rem;
  flex-wrap: wrap;
}

.editorial-top-category {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.03em;
  margin-bottom: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Top Right More Option: Personal Philosophy Quote Card (Adjusted at the Top) */
.editorial-top-quote-box {
  max-width: 620px;
  width: auto;
  background: #FAF7F2;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #8B1E2F;
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.editorial-top-quote-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.editorial-grid-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 3.75rem;
  align-items: flex-start;
}

.editorial-photo-column {
  width: 100%;
}

.editorial-photo-card {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #181514;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.editorial-single-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.editorial-content-column {
  display: flex;
  flex-direction: column;
}

.editorial-title-wrap {
  margin-bottom: 1.5rem;
}

.editorial-heading {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.heading-word-about {
  display: block;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 900;
  color: #111111;
}

.heading-word-name {
  display: block;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 900;
  color: #111111;
}

.editorial-accent-bar {
  width: 100%;
  max-width: 440px;
  height: 3px;
  background: linear-gradient(90deg, #0A66C2 0%, #3B82F6 100%);
  border-radius: 2px;
  margin-top: 1rem;
}

.quote-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8B1E2F;
  background: rgba(139, 30, 47, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.55rem;
}

.quote-tag-icon {
  font-size: 0.75rem;
}

.quote-card-text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #2D3748;
  font-weight: 500;
  margin: 0;
  font-style: italic;
}

.editorial-body-paragraphs {
  margin-bottom: 2rem;
}

.editorial-body-paragraphs p {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.68;
  color: #334155;
  margin-bottom: 1.15rem;
  font-weight: 400;
}

.editorial-body-paragraphs p:last-child {
  margin-bottom: 0;
}

.editorial-connect-row {
  margin: 1.75rem 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* 3 Stats Highlight Columns in a Row */
.editorial-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.editorial-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.editorial-stat-item:hover {
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.02);
}

.stat-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.editorial-stat-item:hover .stat-icon-circle {
  transform: scale(1.08);
}

.custom-stat-img-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.star-icon-img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.3));
}

.circuit-icon-img {
  width: 32px;
  height: 32px;
}

/* Resume Stat Card (Maintains clean neutral styling without any color change on hover, click, or focus) */
#open-resume-btn,
#open-resume-btn:hover,
#open-resume-btn:active,
#open-resume-btn:focus {
  color: inherit !important;
  text-decoration: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

#open-resume-btn .stat-main-number,
#open-resume-btn:hover .stat-main-number {
  color: #111111 !important;
}

#open-resume-btn .stat-sub-label,
#open-resume-btn:hover .stat-sub-label {
  color: #334155 !important;
}

#open-resume-btn .stat-sub-detail,
#open-resume-btn:hover .stat-sub-detail {
  color: #64748B !important;
}

.icon-resume {
  background: #F1F5F9 !important;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease;
}

#open-resume-btn:hover .icon-resume {
  background: #F1F5F9 !important;
  border-color: rgba(15, 23, 42, 0.25) !important;
  transform: scale(1.08);
}

.resume-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: none !important;
}

#open-resume-btn:hover .resume-icon-img {
  filter: none !important;
}

.icon-codechef {
  background: #FFFBEB;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.icon-hackathons {
  background: #FFF3EB;
  color: #E26D37;
  border: 1px solid rgba(226, 109, 55, 0.25);
  box-shadow: 0 4px 12px rgba(226, 109, 55, 0.12);
}

.stat-main-number {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.stat-sub-label {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.15rem;
}

.stat-sub-detail {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.35;
}

/* Bottom Bar */
.editorial-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.editorial-progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.editorial-step-num {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: #64748B;
}

.editorial-step-track {
  width: 140px;
  height: 3px;
  background: #E2E8F0;
  border-radius: 2px;
  overflow: hidden;
}

.editorial-step-fill {
  width: 35%;
  height: 100%;
  background: #0A66C2;
  border-radius: 2px;
}

.editorial-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #111111;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.editorial-back-pill:hover {
  background: #0A66C2;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
}

@media (max-width: 900px) {
  .editorial-about-container {
    padding: 2.25rem 1.5rem;
    border-radius: 24px;
  }
  .editorial-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .editorial-stats-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .editorial-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
  }
  .editorial-top-quote-box {
    max-width: 100%;
    width: 100%;
  }
}

.about-signoff-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--accent-terracotta);
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  text-align: right;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-highlight-card {
  background: #FFFFFF;
  border: 1px solid rgba(139, 30, 47, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 12px 30px -10px rgba(42, 5, 11, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.about-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(107, 23, 36, 0.18);
  border-color: rgba(139, 30, 47, 0.45);
}

.highlight-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #8B1E2F 0%, #FF8A65 100%);
  opacity: 0.9;
}

.highlight-icon-badge {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.highlight-val-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.highlight-main-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  color: #1C0A0E;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.highlight-denom {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #8B1E2F;
}

.highlight-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #8B1E2F;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  line-height: 1.45;
  display: block;
}

.highlight-sub {
  font-size: 0.92rem;
  color: #5C4348;
  line-height: 1.6;
}

.highlight-sub strong {
  color: #1C0A0E;
  font-weight: 600;
}

/* Interactive Card Styles */
.interactive-academic-card {
  cursor: pointer;
  border: 1.5px solid rgba(139, 30, 47, 0.22);
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF5F6 100%);
}

.interactive-academic-card:hover {
  border-color: #8B1E2F;
  transform: translateY(-5px);
  box-shadow: 0 20px 45px -10px rgba(107, 23, 36, 0.22), 0 0 0 1px rgba(255, 138, 101, 0.3);
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #8B1E2F;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(139, 30, 47, 0.12);
  transition: var(--transition-fast);
}

.card-action-link svg {
  transition: transform 0.25s ease;
}

.interactive-academic-card:hover .card-action-link {
  color: #FF8A65;
}

.interactive-academic-card:hover .card-action-link svg {
  transform: translate(3px, -3px);
}

/* ============================================================
   MY STORY SECTION (3D Auto-Rotating Orbital Film Canvas)
   ============================================================ */
/* ============================================================
   MY STORY SECTION (3D Auto-Rotating Orbital Film Canvas - Deep Wine Velvet)
   ============================================================ */
.story-cinematic-canvas-section {
  background-color: #1A0307;
  background: radial-gradient(circle at 50% 40%, #3D0910 0%, #1A0307 65%, #0D0104 100%);
  color: #FFFFFF;
  padding: 0;
  width: 100%;
  min-height: 840px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 80px;
  border-top: 1px solid rgba(255, 138, 101, 0.18);
  border-bottom: 1px solid rgba(255, 138, 101, 0.18);
  user-select: none;
}

.cinematic-canvas-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 840px;
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
}

.cinematic-canvas-container:active {
  cursor: grabbing;
}

/* Ambient Grain & Vignette */
.canvas-vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(13, 1, 4, 0.85) 90%);
  pointer-events: none;
  z-index: 12;
}

.canvas-grain-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 138, 101, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}

/* Top Canvas Header: My Story Aside */
.canvas-top-header {
  position: absolute;
  top: 2rem;
  left: 2.75rem;
  right: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
  pointer-events: auto;
}

.canvas-story-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95);
}

/* Central Editorial Headline in the Middle of Rotating Photos */
.story-cinematic-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 580px;
  width: 85%;
  z-index: 15;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-cinematic-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  font-weight: 750;
  color: #FFFFFF;
  line-height: 1.28;
  letter-spacing: -0.025em;
  text-transform: none;
  max-width: 540px;
  margin: 0 auto;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.8);
}

/* ============================================================
   AUTO-ROTATING ORBITING FILM CARDS
   ============================================================ */
.scattered-frames-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cinema-frame-item {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  width: 280px;
  will-change: transform, left, top, opacity;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  user-select: none;
}

/* Hover State on Orbiting Card */
.cinema-frame-item:hover {
  transform: translate(-50%, -50%) scale(1.18) !important;
  z-index: 50 !important;
  opacity: 1 !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 138, 101, 0.55);
}

/* Authentic Film Border Stylings */
.film-border-wrapper {
  background: #180509;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  transition: border-color 0.3s ease;
}

.cinema-frame-item:hover .film-border-wrapper {
  border-color: rgba(255, 138, 101, 0.75);
}

/* 35mm Sprocket Holes Style */
.border-sprocket {
  display: flex;
  align-items: center;
  padding: 0 6px;
  background: #0E0B09;
}

.sprocket-holes-left,
.sprocket-holes-right {
  width: 10px;
  height: 100%;
  min-height: 130px;
  background-image: radial-gradient(circle at center, #000000 3px, transparent 4px);
  background-size: 10px 18px;
  opacity: 0.7;
}

.film-photo-inner {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 6px;
  background: #000000;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.border-widescreen .film-photo-inner,
.border-polaroid .film-photo-inner,
.border-sprocket .film-photo-inner {
  aspect-ratio: 1 / 1;
}

.cinema-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: contrast(1.05) brightness(0.95);
}

.cinema-frame-item:hover .cinema-photo-img {
  transform: scale(1.06);
  filter: contrast(1.1) brightness(1.02);
}

/* Timestamp overlay in corner */
.film-timestamp {
  position: absolute;
  top: 6px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

/* Caption Overlay on Orbiting Film Card */
.film-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 0.85rem 0.65rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0.95;
  transition: all 0.3s ease;
}

.cinema-frame-item:hover .film-caption-overlay {
  opacity: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
}

.film-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  transition: color 0.25s ease;
}

.cinema-frame-item:hover .film-title {
  color: var(--accent-orange);
}

/* ============================================================
   RESPONSIVE DESIGN FOR ORBITAL CANVAS
   ============================================================ */
@media (max-width: 1024px) {
  .cinematic-canvas-container {
    height: 780px;
  }
  .story-cinematic-canvas-section {
    min-height: 780px;
  }
  .cinema-frame-item {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .cinematic-canvas-container {
    height: 700px;
  }
  .story-cinematic-canvas-section {
    min-height: 700px;
  }
  .cinema-frame-item {
    width: 190px;
  }
  .story-cinematic-headline {
    font-size: 1.5rem;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .cinema-frame-item {
    width: 160px;
  }
}

/* ============================================================
   PROJECTS SECTION (03 / SELECTED PROJECTS)
   ============================================================ */
.projects-warm-section {
  padding: 4.5rem 1.5rem 5.5rem;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  scroll-margin-top: 80px;
  background-color: #FAF7F2;
}

.projects-header-centered {
  margin-bottom: 2.25rem;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.projects-main-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #1A1817;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0;
}

.projects-tagline-text {
  font-family: var(--font-editorial);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--accent-terracotta);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.projects-grid-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.project-showcase-card {
  border-radius: 20px;
  padding: 1.35rem 1.35rem 1.45rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 0;
  transform: translateY(45px) scale(0.96);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

/* Staggered One-By-One Reveal Animation */
.projects-warm-section.revealed .project-showcase-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.12s;
}

.projects-warm-section.revealed .project-showcase-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.32s;
}

.projects-warm-section.revealed .project-showcase-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.52s;
}

.projects-warm-section.revealed .project-showcase-card:hover {
  transform: translateY(-6px) scale(1.015);
  transition-delay: 0s;
}

/* Top Background Header Box for Project Card */
.project-card-top-bg-header {
  width: calc(100% + 2.7rem);
  margin: -1.35rem -1.35rem 1rem -1.35rem;
  height: 125px;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.75rem 1rem;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.project-card-top-bg-header .top-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(255, 247, 242, 0.75) 100%);
  pointer-events: none;
}

.project-card-badge-row.in-header {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.project-showcase-card:hover .project-card-top-bg-header {
  filter: brightness(1.04);
}

.project-card-main-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-cta-row {
  margin-top: auto;
  padding-top: 0.75rem;
}

.project-showcase-card:hover {
  transform: translateY(-5px);
}

/* Soft Orange Card Styling */
.card-soft-orange {
  background: linear-gradient(145deg, #FFF7F2 0%, #FFF0E8 100%);
  border: 1.5px solid #F6D6C6;
  box-shadow: 0 12px 28px -10px rgba(226, 109, 55, 0.12);
}

.card-soft-orange:hover {
  border-color: #FFA07A;
  box-shadow: 0 18px 38px -10px rgba(226, 109, 55, 0.22);
}

/* Warm Sand Card Styling */
.card-warm-sand {
  background: linear-gradient(145deg, #FAF7F2 0%, #F5EFE6 100%);
  border: 1.5px solid #EADCCF;
  box-shadow: 0 12px 28px -10px rgba(26, 24, 23, 0.08);
}

.card-warm-sand:hover {
  border-color: #FFA07A;
  box-shadow: 0 18px 38px -10px rgba(255, 133, 79, 0.18);
}

/* Warm Amber Card Styling */
.card-warm-amber {
  background: linear-gradient(145deg, #FFFDF8 0%, #FFF4E5 100%);
  border: 1.5px solid #F5DCBC;
  box-shadow: 0 12px 28px -10px rgba(226, 140, 55, 0.14);
}

.card-warm-amber:hover {
  border-color: #FFA07A;
  box-shadow: 0 18px 38px -10px rgba(226, 140, 55, 0.24);
}

.project-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.project-pill-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.project-pill-label.orange-pill {
  background: #FFE2D4;
  color: #C84E1A;
}

.project-pill-label.warm-accent-pill {
  background: #F3E7DC;
  color: #8A4620;
}

.project-pill-label.amber-pill {
  background: #FFE8CC;
  color: #B45309;
}

.project-number-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: rgba(26, 24, 23, 0.25);
}

.project-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.35vw, 1.38rem);
  line-height: 1.25;
  color: #1A1817;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.project-card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  margin-bottom: 0.65rem;
}

.project-card-description {
  font-size: 0.88rem;
  color: #4A443F;
  line-height: 1.55;
  margin-bottom: 0.95rem;
  max-width: 980px;
}

.project-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.project-tag-item {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid rgba(26, 24, 23, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  color: #2D2926;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.project-cta-row {
  display: flex;
  align-items: center;
}

.project-cta-row.dual-action-btns {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.project-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent-wine, #8B1E2F);
  color: #FFFFFF !important;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(139, 30, 47, 0.25);
  transition: var(--transition-smooth);
}

.project-live-btn:hover {
  background: #B2283E;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 30, 47, 0.4);
}

.project-github-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #1A1817;
  color: #FFFFFF !important;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.project-github-btn:hover {
  background: var(--accent-orange);
  color: #1A1817 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 133, 79, 0.35);
}

/* ============================================================
   EDUCATION SECTION (04 / EDUCATION)
   ============================================================ */
.edu-achieve-section {
  background-color: #FAF7F2;
  padding: 6.5rem 1.5rem 7.5rem;
  width: 100%;
  scroll-margin-top: 80px;
  border-top: 1px solid var(--glass-border);
}

.edu-achieve-header {
  margin-bottom: 3.5rem;
  max-width: 760px;
}

.edu-orange-label {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.edu-editorial-heading {
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #1A1817;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.edu-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.education-single-wrapper {
  max-width: 960px;
  margin: 0;
}

.editorial-timeline {
  position: relative;
  padding-left: 2rem;
}

.editorial-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 6px;
  width: 2px;
  background: rgba(26, 24, 23, 0.15);
  border-radius: 2px;
}

.timeline-entry {
  position: relative;
}

.timeline-node-dot {
  position: absolute;
  left: -2rem;
  top: 1.75rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(255, 133, 79, 0.25);
  z-index: 2;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-entry:hover .timeline-node-dot {
  transform: scale(1.25);
  background: var(--accent-orange);
}

.timeline-entry-card {
  background: #FFFFFF;
  border: 1px solid rgba(234, 218, 201, 0.95);
  border-radius: var(--radius-xl);
  padding: 2.75rem 3rem;
  box-shadow: 0 12px 32px -10px rgba(26, 24, 23, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.timeline-entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 133, 79, 0.45);
  box-shadow: 0 20px 45px -10px rgba(255, 133, 79, 0.18);
}

.timeline-entry-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.timeline-period-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: rgba(255, 133, 79, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-gpa-badge {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: #C84E1A;
  background: #FFE8DD;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

.timeline-entry-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: #1A1817;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.timeline-institution {
  font-size: 1.1rem;
  font-weight: 700;
  color: #383431;
  margin-bottom: 0.2rem;
}

.timeline-location {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.timeline-note-box {
  background: #FAF7F2;
  border-left: 3.5px solid var(--accent-orange);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline-note-box strong {
  color: var(--text-main);
}

/* ============================================================
   CONTACT SECTION (LET'S CONNECT - RICH BURGUNDY & CORAL)
   ============================================================ */
.contact-linkedin-section {
  padding: 6.5rem 1.5rem 7.5rem;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  scroll-margin-top: 80px;
  display: flex;
  justify-content: center;
}

.contact-linkedin-container {
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-connect-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 800;
  color: #6B1724;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 2.8rem;
  text-align: center;
}

.contact-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.contact-avatar-wrapper {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #E8DCCF;
  border: 4.5px solid #FFFFFF;
  box-shadow: 0 14px 32px -8px rgba(107, 23, 36, 0.25), 0 0 0 1px rgba(107, 23, 36, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.contact-avatar-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 40px -8px rgba(107, 23, 36, 0.35);
}

.contact-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.contact-profile-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  color: #1C0A0E;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact-profile-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: #5C4348;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 2rem;
  font-weight: 500;
}

.linkedin-connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #0A66C2;
  background: linear-gradient(145deg, #0A66C2 0%, #004182 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 24px -6px rgba(10, 102, 194, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.linkedin-connect-btn:hover {
  background: linear-gradient(145deg, #0077B5 0%, #004182 100%);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px -6px rgba(10, 102, 194, 0.65);
}

.linkedin-btn-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-message {
  background: rgba(26, 24, 23, 0.95);
  color: #FFFFFF;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 133, 79, 0.5);
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.35s ease 2.7s forwards;
}

@keyframes toastIn {
  0% { transform: translateY(20px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes toastOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ============================================================
   MINIMAL FOOTER
   ============================================================ */
.main-footer {
  background: #FAF7F2;
  border-top: 1px solid var(--glass-border);
  padding: 2.25rem 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-minimal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-meta-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-copy {
  font-weight: 700;
  color: var(--text-main);
}

.footer-mail-copy {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-mail-copy:hover {
  color: #8B1E2F;
  text-decoration: underline;
  opacity: 0.85;
}

.footer-divider {
  color: var(--accent-orange);
  font-weight: 800;
}

.footer-roles {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

/* ============================================================
   LIGHTHOUSE 100 SEO & A11Y TAP TARGET OPTIMIZATIONS
   ============================================================ */
a, button, [role="button"], input, select, textarea {
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .header-circle-menu-btn,
  .mobile-nav-link,
  .capsule-nav-item,
  .project-live-btn,
  .project-github-btn,
  .editorial-contact-btn,
  .editorial-ghost-btn,
  .drawer-close-btn,
  .modal-close-btn,
  .photo-lightbox-back-btn,
  .photo-lightbox-close-btn,
  .back-to-top,
  .footer-mail-copy,
  .btn-outline-sm {
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MODALS SYSTEM
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(18, 17, 16, 0.65);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-card {
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes modalPop {
  0% { transform: scale(0.94) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--glass-border);
  background: #FAF7F2;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--accent-red);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition-fast);
}

.btn-outline-sm:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
}

/* ============================================================
   STORY PHOTO LIGHTBOX MODAL (Wine Theme & Original Ratio)
   ============================================================ */
.photo-lightbox-backdrop {
  background: rgba(22, 4, 10, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 10000;
}

.photo-lightbox-content {
  width: 100%;
  max-width: 480px;
  margin: auto;
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-lightbox-media-wrap {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background-color: #380B16;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(74, 14, 28, 0.45);
  display: flex;
  flex-direction: column;
}

.photo-lightbox-back-btn,
.photo-lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 25;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(45, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.photo-lightbox-back-btn:hover,
.photo-lightbox-close-btn:hover {
  background: #5C1224;
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}

.photo-lightbox-img-wrap {
  width: 100%;
  background: #24060E;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-lightbox-image {
  width: 100%;
  height: auto;
  max-height: 52vh;
  object-fit: contain;
  display: block;
  background: #24060E;
}

.photo-lightbox-bottom-bar,
.photo-lightbox-info-bar {
  width: 100%;
  background-color: #380B16;
  background-image: linear-gradient(180deg, #300913 0%, #380B16 100%);
  padding: 1.25rem 1.4rem 1.4rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.photo-lightbox-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0;
  letter-spacing: -0.01em;
}

.photo-lightbox-caption {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 235, 240, 0.92) !important;
  margin: 0;
  font-weight: 400;
}

/* Story & Journey Modal */
.story-modal-card {
  max-width: 680px;
}

.story-modal-content {
  padding: 2.25rem 2.25rem 2.5rem;
  overflow-y: auto;
  max-height: calc(88vh - 90px);
}

.story-paragraphs-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.story-paragraph {
  font-family: var(--font-sans);
  font-size: 1.06rem;
  line-height: 1.8;
  color: #3D3834;
}

.story-paragraph.highlight-lead {
  font-size: 1.15rem;
  color: #1A1817;
  font-weight: 500;
  border-left: 3.5px solid var(--accent-orange);
  padding-left: 1.15rem;
  background: #FFF9F5;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  border-radius: 0 8px 8px 0;
}

.story-quote-card {
  background: #FFF7F2;
  border: 1.5px solid #F6D6C6;
  border-radius: 12px;
  padding: 1.35rem 1.65rem;
  margin: 0.4rem 0;
  box-shadow: 0 4px 14px rgba(226, 109, 55, 0.08);
}

.story-quote-text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.65;
  color: #8A4620;
  font-weight: 600;
}

/* Academic Details Modal Popup */
.academic-modal-card {
  max-width: 580px;
}

.academic-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.academic-modal-badge {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 133, 79, 0.15);
  border: 1px solid rgba(255, 133, 79, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.academic-modal-content {
  padding: 2.25rem 2.25rem 2.5rem;
  background: #FFFFFF;
  overflow-y: auto;
  max-height: calc(88vh - 85px);
  -webkit-overflow-scrolling: touch;
}

.academic-modal-content::-webkit-scrollbar {
  width: 8px;
}

.academic-modal-content::-webkit-scrollbar-track {
  background: #FAF7F2;
}

.academic-modal-content::-webkit-scrollbar-thumb {
  background: #EADCCF;
  border-radius: 4px;
}

.academic-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

.academic-meta-pill-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.academic-timeline-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: rgba(255, 133, 79, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.academic-gpa-pill {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: #C84E1A;
  background: #FFE8DD;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

.academic-degree-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #1A1817;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

.academic-college-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3D3834;
  margin-bottom: 0.2rem;
}

.academic-college-location {
  font-size: 0.92rem;
  color: var(--text-light);
}

.academic-modal-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 1.5rem 0;
}

.academic-focus-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1A1817;
  margin-bottom: 0.85rem;
}

.academic-focus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.focus-pill {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #3D3834;
  background: #FAF7F2;
  border: 1px solid #EADCCF;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

.modal-footer-cta-row {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-4 {
  margin-top: 1rem;
}

/* Hackathons Modal Styles */
.hackathons-modal-card {
  max-width: 680px;
}

.hackathon-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hackathon-timeline-item {
  background: #FAF7F2;
  border: 1px solid #EADCCF;
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hackathon-timeline-item:hover {
  border-color: rgba(255, 133, 79, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(255, 133, 79, 0.12);
}

.hackathon-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.hackathon-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hackathon-year-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: rgba(255, 133, 79, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.hackathon-cert-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #10B981;
  background: #ECFDF5;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.hackathon-national-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #C84E1A;
  background: #FFE8DD;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.hackathon-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #1A1817;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  letter-spacing: -0.015em;
}

.hackathon-organizer {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.hackathon-organizer strong {
  color: var(--text-main);
}

.hackathon-desc {
  font-size: 0.9rem;
  color: #4A443F;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.hackathon-btn-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.view-cert-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1A1817;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.view-cert-trigger-btn:hover {
  background: var(--accent-orange);
  color: #1A1817;
  transform: translateY(-1.5px);
}

.cert-pdf-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #FFFFFF;
  border: 1px solid #EADCCF;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.cert-pdf-link-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-1.5px);
}

.hackathon-status-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #8A4620;
  background: #F3E7DC;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
/* ============================================================
   ABOUT STORY SIDE DRAWER (Option 3: Slide-Over Right Panel)
   ============================================================ */
.modal-backdrop.drawer-backdrop {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  background: rgba(15, 12, 10, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-backdrop.drawer-backdrop[hidden] {
  display: none !important;
}

.modal-backdrop.drawer-backdrop .drawer-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid rgba(234, 218, 201, 0.95);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: #FAF7F2;
}

.drawer-category-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-terracotta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.2rem;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #111111;
  margin: 0;
  letter-spacing: -0.02em;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #FFFFFF;
  color: #555555;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.drawer-body {
  padding: 1.75rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-profile-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #FAF7F2;
  border: 1px solid rgba(234, 218, 201, 0.95);
  border-radius: var(--radius-md);
}

.drawer-avatar-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.drawer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.drawer-author-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 0.2rem;
}

.drawer-author-role {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--accent-terracotta);
  font-weight: 600;
  line-height: 1.35;
  display: block;
}

.drawer-quote-card {
  border-left: 3px solid var(--accent-terracotta);
  background: #FFF5EE;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.drawer-quote-text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.96rem;
  color: #38332E;
  line-height: 1.55;
  margin: 0;
}

.drawer-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-pillar-item {
  display: flex;
  gap: 1.15rem;
  padding: 1.25rem;
  background: #FFFFFF;
  border: 1px solid rgba(234, 218, 201, 0.85);
  border-radius: var(--radius-md);
  box-shadow: 0 3px 12px -2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.drawer-pillar-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 133, 79, 0.4);
  box-shadow: 0 8px 20px -4px rgba(255, 133, 79, 0.15);
}

.drawer-pillar-badge {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.drawer-pillar-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 0.4rem;
}

.drawer-pillar-text {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: #554D46;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.drawer-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.drawer-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  background: rgba(255, 133, 79, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.drawer-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: #FAF7F2;
}

.drawer-linkedin-btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

/* Certificate Viewer Modal */
#certificate-modal {
  z-index: 10005;
}

.cert-viewer-modal-card {
  max-width: 920px;
  width: 95%;
  margin: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.5);
}

.cert-image-preview-container {
  padding: 1.75rem;
  background: #0E0D0C;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  max-height: 78vh;
  overflow: auto;
}

.cert-display-image {
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  display: block;
}

.cert-display-iframe {
  width: 100%;
  height: 560px;
  border: none;
  border-radius: 8px;
  background: #FFFFFF;
}

/* Resume Modal */
.resume-modal-card {
  max-width: 860px;
}

.resume-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.resume-download-header-btn {
  background: #1A1817;
  color: #FFFFFF !important;
  border-color: #1A1817;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
}

.resume-download-header-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #1A1817 !important;
}

.resume-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.5rem 2.5rem;
  background: #FAF7F2;
  color: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resume-image-viewer-container {
  width: 100%;
  max-width: 740px;
  background: #FFFFFF;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-embed-frame {
  width: 100%;
  min-height: 780px;
  height: 75vh;
  border: none;
  border-radius: 4px;
  background: #FFFFFF;
}

.resume-document-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.resume-footer-download-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #EADCCF;
  width: 100%;
  flex-wrap: wrap;
}

.resume-main-download-btn {
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
}

.w-full {
  width: 100%;
}

.mt-2 { margin-top: 0.5rem; }

/* Clean Photo Lightbox (Enlarged Photo Preview with 1-Line Caption) */
.photo-lightbox-backdrop {
  background: rgba(8, 6, 5, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 9999;
  cursor: zoom-out;
}

.photo-lightbox-content {
  position: relative;
  max-width: 760px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
  animation: photoZoomIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes photoZoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.photo-lightbox-media-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 82vh;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1.5px solid rgba(255, 133, 79, 0.35);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 133, 79, 0.2);
}

.photo-lightbox-image {
  max-width: min(840px, 90vw);
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.photo-lightbox-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(10, 8, 7, 0.98) 0%, rgba(10, 8, 7, 0.85) 65%, transparent 100%);
  padding: 1.6rem 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}

.photo-lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.photo-lightbox-caption {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.3vw, 0.96rem);
  font-weight: 500;
  color: #FAF7F2;
  text-align: center;
  line-height: 1.4;
  margin: 0;
  max-width: 640px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.photo-lightbox-back-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 15, 14, 0.85);
  border: 1.5px solid rgba(255, 133, 79, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  z-index: 20;
}

.photo-lightbox-back-btn:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
  transform: scale(1.08) translateX(-2px);
  border-color: var(--accent-orange);
  box-shadow: 0 6px 20px rgba(255, 133, 79, 0.5);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (Mobile, Tablet, Desktop)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-terracotta-card {
    padding: 2.5rem 2rem 2rem;
  }
  .hero-card-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-name-editorial {
    font-size: clamp(2.8rem, 9vw, 5.2rem);
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btn-row {
    justify-content: center;
  }
  .hero-photo-column {
    justify-content: center;
    margin-top: 1.5rem;
  }
  .hero-portrait-img {
    height: 400px;
  }

  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-intro-col {
    padding-top: 0;
  }
  .about-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .skills-two-column-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .projects-grid-three-col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-showcase-card {
    padding: 1.35rem 1.35rem 1.45rem;
  }

  .timeline-entry-card {
    padding: 2rem 2rem;
  }

  .contact-buttons-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-actions .resume-pill-btn {
    display: none;
  }
  .hero-terracotta-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  .hero-name-editorial {
    font-size: clamp(2.4rem, 8.5vw, 3.8rem);
  }
  .hero-portrait-img {
    height: 340px;
  }
  .about-warm-section {
    padding: 3.5rem 1.25rem 4.5rem;
  }
  .skills-dark-section {
    padding: 4rem 1.25rem 5rem;
  }
  .skill-dark-group-card {
    padding: 1.75rem 1.5rem 2rem;
  }
  .projects-warm-section {
    padding: 3.5rem 1.25rem 4.5rem;
  }
  .project-showcase-card {
    padding: 1.25rem 1.15rem 1.35rem;
  }
  .edu-achieve-section {
    padding: 4.5rem 1.25rem 5.5rem;
  }
  .timeline-entry-card {
    padding: 1.75rem 1.35rem;
  }
  .editorial-timeline {
    padding-left: 1.75rem;
  }
  .timeline-node-dot {
    left: -1.75rem;
  }
  .contact-terracotta-card {
    padding: 3rem 1.5rem;
  }
  .contact-editorial-heading {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
  .contact-action-btn {
    padding: 1.25rem 1.25rem;
    gap: 1rem;
  }
  .footer-minimal-row {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer-meta-block {
    justify-content: center;
  }
  .resume-scroll-content {
    padding: 1.5rem;
  }
  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    align-items: center;
  }
}

/* ============================================================
   VISION & MISSION SECTION (Single Unified Wine Theme Background)
   ============================================================ */
.vision-mission-cinematic-section {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #380B16 !important;
  overflow: hidden;
  scroll-margin-top: 70px;
}

/* TOP BLOCK: MY VISION (Wine Background) */
.vm-vision-block {
  width: 100%;
  min-height: 420px;
  position: relative;
  background-color: #380B16 !important;
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6rem 3.5rem 6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.vm-vision-content-wrap {
  max-width: 820px;
  width: 100%;
  margin-left: auto;
  margin-right: clamp(1rem, 5vw, 6.5rem);
  text-align: right;
  position: relative;
  z-index: 2;
}

.vm-cinematic-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(3.2rem, 6vw, 4.8rem) !important;
  font-weight: 900 !important;
  font-style: italic !important;
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.vm-vision-text {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.2rem, 1.65vw, 1.45rem) !important;
  line-height: 1.85 !important;
  color: #F8FAFC !important;
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  text-align: right;
}

/* BOTTOM BLOCK: MY MISSION (Wine Background) */
.vm-mission-block {
  width: 100%;
  min-height: 420px;
  position: relative;
  background-color: #380B16 !important;
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 3.5rem 6rem;
}

.vm-mission-content-wrap {
  max-width: 820px;
  width: 100%;
  margin-right: auto;
  margin-left: clamp(1rem, 5vw, 6.5rem);
  text-align: left;
  position: relative;
  z-index: 2;
}

.vm-mission-quote-box {
  border-left: none !important;
  padding-left: 0;
  margin-top: 0.5rem;
}

.vm-mission-text {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.15rem, 1.55vw, 1.35rem) !important;
  line-height: 1.85 !important;
  color: #F8FAFC !important;
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  .vm-vision-block,
  .vm-mission-block {
    padding: 4.5rem 1.5rem;
    min-height: auto;
  }
  .vm-vision-content-wrap {
    margin-right: 0;
    text-align: left;
  }
  .vm-vision-text {
    text-align: left;
  }
  .vm-mission-content-wrap {
    margin-left: 0;
  }
}


/* ============================================================
   PRINT STYLES FOR RESUME
   ============================================================ */
@media print {
  body * {
    visibility: hidden;
  }
  #resume-modal, #resume-modal * {
    visibility: visible;
  }
  #resume-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 0;
  }
  .modal-card {
    box-shadow: none;
    border: none;
  }
  .modal-header {
    display: none;
  }
}

/* ============================================================
   CENTERED LARGE BLACK SOCIAL BUTTONS & PHONE AT BOTTOM
   ============================================================ */
.footer-center-social-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.75rem;
}

.footer-large-social-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid rgba(0, 0, 0, 0.14);
  color: #000000 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.footer-large-social-btn svg {
  width: 33px;
  height: 33px;
  fill: #000000;
  stroke: #000000;
  color: #000000 !important;
  transition: transform 0.25s ease, fill 0.25s ease, stroke 0.25s ease;
}

.footer-large-social-btn:hover {
  background: #000000;
  transform: translateY(-5px) scale(1.12);
  border-color: #000000;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  color: #FFFFFF !important;
}

.footer-large-social-btn:hover svg {
  fill: #FFFFFF;
  stroke: #FFFFFF;
  color: #FFFFFF !important;
}

/* Large Prominent Phone Number */
.footer-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 2.25rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 2px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #000000 !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-phone-icon {
  width: 26px;
  height: 26px;
  stroke: #000000;
  flex-shrink: 0;
  transition: stroke 0.25s ease, transform 0.25s ease;
}

.footer-phone-number {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #000000;
  transition: color 0.25s ease;
}

.footer-phone-link:hover {
  background: #000000;
  border-color: #000000;
  color: #FFFFFF !important;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.footer-phone-link:hover .footer-phone-icon {
  stroke: #FFFFFF;
  transform: scale(1.12);
}

.footer-phone-link:hover .footer-phone-number {
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .footer-center-social-wrap {
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .footer-large-social-btn {
    width: 54px;
    height: 54px;
  }
  .footer-large-social-btn svg {
    width: 25px;
    height: 25px;
  }
  .footer-phone-wrap {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
  }
  .footer-phone-link {
    padding: 0.55rem 1.4rem;
    gap: 0.65rem;
  }
  .footer-phone-number {
    font-size: 1.15rem;
  }
  .footer-phone-icon {
    width: 20px;
    height: 20px;
  }
}

/* ============================================================
   COMPREHENSIVE MOBILE INTERFACE & ULTRA-RESPONSIVE SYSTEM
   ============================================================ */
@media (max-width: 768px) {
  /* Global Resets for Mobile */
  body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* Intro Screen on Mobile */
  .intro-content {
    padding: 1.25rem 0.75rem;
    max-width: 100%;
  }
  .intro-word {
    font-size: clamp(1.9rem, 7.5vw, 3.2rem);
  }
  .intro-row-top .intro-word {
    font-size: clamp(1.7rem, 6.8vw, 2.8rem);
  }
  .intro-row-bottom .intro-word {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }
  .intro-badge-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.85rem;
    margin-bottom: 0.85rem;
  }
  .intro-skip-btn {
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
    min-height: 48px;
  }

  /* Mobile Header & Dropdown */
  .main-header.header-reference-style {
    padding: 1rem 1.25rem;
  }
  .mobile-dropdown.reference-dropdown {
    top: 68px;
    right: 1rem;
    left: 1rem;
    width: auto;
    border-radius: 20px;
    padding: 1rem 0.75rem;
  }
  .mobile-nav-link {
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  /* Mobile Hero Section */
  .hero-fullscreen-section.hero-crimson-red-theme {
    min-height: auto;
    max-height: none;
    padding: 4.8rem 1.25rem 2rem;
  }
  .hero-grid-left-portrait {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
  }
  .hero-text-right {
    padding-bottom: 0.5rem;
    transform: none;
    text-align: center;
    align-items: center;
    width: 100%;
  }
  .hero-name-editorial {
    font-size: clamp(2.3rem, 10.5vw, 3.4rem);
    line-height: 1.05;
    text-align: center;
  }
  .name-line {
    display: inline-block;
    margin-right: 0.35rem;
    white-space: nowrap;
  }
  .hero-photo-left {
    justify-content: center;
    width: 100%;
  }
  .hero-photo-left .hero-photo-container {
    max-width: 320px;
  }
  .hero-photo-left .hero-portrait-img {
    max-height: 44vh;
    transform: none;
    margin: 0 auto;
  }
  .hero-tagline-dash {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.75rem;
  }
  .vertical-scroll-tracker {
    display: none;
  }

  /* Mobile Floating Capsule Navigation Pill */
  .floating-capsule-nav-container {
    top: 8px;
    padding: 0 0.5rem;
  }
  .capsule-nav-pill {
    max-width: 96vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 0.3rem 0.45rem;
    gap: 0.25rem;
  }
  .capsule-nav-pill::-webkit-scrollbar {
    display: none;
  }
  .capsule-nav-item {
    font-size: 0.78rem;
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* Mobile About Me Section */
  .editorial-about-container {
    padding: 0 0.5rem;
  }
  .editorial-top-quote-box {
    padding: 1.25rem;
    border-radius: 16px;
  }
  .quote-card-text {
    font-size: 0.92rem;
  }
  .editorial-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }
  .editorial-photo-column {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .editorial-photo-card {
    max-width: 320px;
    border-radius: 20px;
  }
  .editorial-heading {
    font-size: 2rem;
  }
  .editorial-body-paragraphs p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .editorial-connect-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .editorial-stats-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .editorial-stat-item {
    padding: 1.25rem;
    border-radius: 18px;
  }

  /* Mobile Selected Projects Section */
  .projects-warm-section {
    padding: 3rem 1rem 4rem;
  }
  .projects-main-title {
    font-size: 1.85rem;
  }
  .projects-tagline-text {
    font-size: 0.95rem;
  }
  .projects-grid-three-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-showcase-card {
    padding: 1.25rem;
    border-radius: 18px;
  }
  .project-actions-row {
    flex-direction: column;
    gap: 0.65rem;
  }
  .project-live-btn, .project-github-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Mobile Vision & Mission Section */
  .vision-mission-cinematic-section {
    padding: 4rem 1.25rem;
  }
  .vision-cinematic-sub-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.95rem;
  }
  .vision-cinematic-display-title {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }
  .vision-mission-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .vision-mission-glass-card {
    padding: 1.75rem 1.35rem;
    border-radius: 20px;
  }

  /* Mobile My Story 3D Orbit Gallery */
  .story-cinematic-canvas-section {
    min-height: 560px;
  }
  .cinematic-canvas-container {
    height: 560px;
  }
  .cinema-frame-item {
    width: 145px;
  }
  .story-cinematic-headline {
    font-size: 1.25rem;
    max-width: 260px;
    line-height: 1.35;
  }

  /* Mobile Modals & Drawers (Native App Bottom Sheet Experience) */
  .modal-backdrop {
    padding: 0.75rem;
    align-items: flex-end;
  }
  .modal-card {
    width: 100%;
    max-height: 88vh;
    border-radius: 24px 24px 16px 16px;
    padding: 1.25rem;
  }
  .drawer-panel {
    width: 100vw;
    max-width: 100vw;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
  }
  .photo-lightbox-content {
    width: 96vw;
    padding: 0.5rem;
  }
  .resume-modal-card {
    width: 100%;
    max-height: 90vh;
  }
}


