/* ==========================================================================
   Abhishek Ranjan — Official Website
   High-Performance Modular Architecture & Pure White Footer
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0a0a0d;
  --bg-dark-surface: #111116;
  --bg-dark-card: #16161d;
  
  --bg-light: #ffffff;
  --bg-light-surface: #f4f4f6;
  --bg-light-card: #f9f9fb;

  --text-dark-theme: #ffffff;
  --text-dark-muted: #a1a1aa;
  
  --text-light-theme: #000000;
  --text-light-muted: #475569;

  --accent-gold: #d4af37;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: #ffffff;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--text-light-theme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* --- STICKY PAGE FOLDING ENGINE (GPU HARDWARE ACCELERATED) --- */
.fold-card-section {
  position: sticky;
  top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.45);
  will-change: transform, filter, border-radius, opacity;
  transform-origin: center top;
  overflow: hidden;
  background-clip: padding-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.site-hero-section { z-index: 10; }
.section-editorial-narrative { z-index: 20; }
.section-handling-dark { z-index: 30; }
.section-quotes-white { z-index: 40; }
.section-dark-cards { z-index: 50; }
.section-delivered-dark { position: relative; z-index: 60; }
.pure-white-footer { position: relative; z-index: 60; }

/* --- FRAMER MOTION-STYLE HARDWARE ACCELERATED ENTRY ANIMATIONS --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale3d(0.97, 0.97, 1);
  transition: opacity 0.85s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.85s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }

/* ==========================================================================
   SCROLL-DRIVEN WORD HIGHLIGHT ANIMATION
   ========================================================================== */
.scroll-word {
  display: inline;
  transition: color 0.18s ease-out, opacity 0.18s ease-out;
  will-change: color, opacity;
}

/* On Light Backgrounds */
.section-editorial-narrative .scroll-word {
  color: rgba(0, 0, 0, 0.2);
}

.section-editorial-narrative .scroll-word.active {
  color: #000000;
}

/* On Dark Backgrounds */
.section-about-story .scroll-word,
.section-dark-cards .scroll-word {
  color: rgba(255, 255, 255, 0.25);
}

.section-about-story .scroll-word.active,
.section-dark-cards .scroll-word.active {
  color: #ffffff;
}

/* --- HEADER NAVBAR --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.site-header-dark {
  background: rgba(10, 10, 13, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.site-header-dark .logo-stacked {
  color: #ffffff;
}

.site-header-dark .header-menu-nav a {
  color: #ffffff;
}

.site-header-dark .social-icon-dark {
  color: #ffffff;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-stacked {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}

.logo-stacked span:first-child {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 0.85;
  display: block;
}

.logo-stacked span:last-child {
  font-size: 1.81rem;
  letter-spacing: 0.005em;
  line-height: 0.85;
  display: block;
}

.header-right-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-menu-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.header-menu-nav a {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000000;
}

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

.header-actions-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon-dark {
  color: #000000;
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon-dark:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-black-pill {
  background: #000000;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-black-pill:hover {
  background: var(--accent-gold);
  color: #000000;
}

.mobile-hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #000000;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px;
  z-index: 1900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  gap: 18px;
}

.mobile-menu-overlay.is-active {
  display: flex;
}

.mobile-menu-overlay a {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
}

/* --- HERO SECTION --- */
.site-hero-section {
  background: #ffffff;
  color: #000000;
  height: 100vh;
  min-height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-inner-container {
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 16px) 24px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-top-subtitle {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #000000;
  margin-top: 4px;
  margin-bottom: 24px;
  z-index: 10;
  position: relative;
}

.hero-giant-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 13.5vw, 13.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: center;
  color: #000000;
  width: 100%;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
  position: absolute;
  top: calc(var(--nav-height) + 68px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-giant-title.reveal-on-scroll {
  opacity: 0;
  transform: translate(-50%, 30px);
}

.hero-giant-title.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-centered-portrait-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  height: 65vh;
  max-height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.hero-centered-portrait-container.reveal-on-scroll {
  opacity: 0;
  transform: translate(-50%, 30px);
}

.hero-centered-portrait-container.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.portrait-backing-shape {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 86%;
  background: #ffffff;
  border-radius: 50% 50% 0 0;
  filter: blur(10px);
  z-index: 1;
  opacity: 0.95;
}

.hero-centered-portrait-container img {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  vertical-align: bottom;
  margin-bottom: 0;
  filter: grayscale(100%) contrast(1.08);
}

.hero-floating-right-cta {
  position: absolute;
  right: 56px;
  bottom: 28px;
  z-index: 10;
  max-width: 220px;
  text-align: left;
}

.hero-floating-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: #222222;
  margin-bottom: 12px;
  line-height: 1.45;
}

/* ==========================================================================
   ABOUT ABHISHEK RANJAN PAGE STYLES
   ========================================================================== */
.about-hero-section {
  position: relative;
  min-height: 100vh;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.about-hero-bg-portrait {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.65) contrast(1.15);
  z-index: 1;
}

.about-hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.95) 100%);
  z-index: 2;
}

.about-hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.about-hero-giant-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.about-tag-label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 0.9;
  margin-bottom: 4px;
}

.about-name-giant {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.about-name-giant span:first-child {
  font-size: clamp(5.5rem, 14vw, 11rem);
  letter-spacing: 0.01em;
  line-height: 0.82;
  display: block;
}

.about-name-giant span:last-child {
  font-size: clamp(7.37rem, 18.76vw, 14.74rem);
  letter-spacing: 0.005em;
  line-height: 0.82;
  display: block;
}

/* About Narrative Text Block (1:1 Screenshot 3 Match) */
.section-about-story {
  background: #000000;
  color: #ffffff;
  padding: 120px 0;
}

/* --- EDUCATION & ACADEMIC FOUNDATIONS --- */
.section-education-dark {
  background: var(--bg-dark-card);
  color: #ffffff;
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.education-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s ease;
}

.education-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.education-year {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.education-degree {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 8px;
}

.education-institution {
  font-size: 1rem;
  font-weight: 600;
  color: #e4e4e7;
  margin-bottom: 16px;
}

.education-desc {
  font-size: 0.92rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.tech-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tech-tag-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about-story-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-story-p1 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.5;
  margin-bottom: 48px;
}

.about-story-p2 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.5;
}

.about-story-combined {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.55;
}

/* --- WHITE SECTION: EDITORIAL NARRATIVE BIO --- */
.section-editorial-narrative {
  background: #ffffff;
  color: #000000;
  padding: 110px 0;
}

.narrative-editorial-content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.editorial-statement-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  line-height: 1.45;
  margin-bottom: 28px;
}

.editorial-learn-link {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 4px;
}

.editorial-learn-link:hover {
  color: var(--accent-gold);
}

/* --- DARK SECTION: WEBSITES CURRENTLY HANDLING (OFCOURSE VENTURES THEME MATCH) --- */
.section-handling-dark {
  background: #060606;
  color: #f0ede6;
  padding: 100px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label-ocv {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
}

.handled-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.pillars-3col-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
}

@media (max-width: 900px) {
  .pillars-3col-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

.handled-site-card-ocv {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(240, 237, 230, 0.1);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.handled-site-card-ocv:hover {
  border-color: #c8ff00;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(200, 255, 0, 0.08);
}

.ocv-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8ff00;
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.25);
  padding: 4px 12px;
  border-radius: 4px;
}

.ocv-card-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: #f0ede6;
  margin-top: 14px;
  margin-bottom: 8px;
}

.ocv-card-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #c8ff00;
  margin-bottom: 18px;
}

.ocv-card-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(240, 237, 230, 0.65);
  margin-bottom: 24px;
}

.ocv-card-metrics-box {
  background: rgba(200, 255, 0, 0.03);
  border: 1px solid rgba(200, 255, 0, 0.15);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #c8ff00;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ocv-electric-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #c8ff00;
  color: #000000;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
}

.btn-ocv-electric-cta:hover {
  background: #f0ede6;
  color: #000000;
  box-shadow: 0 6px 20px rgba(200, 255, 0, 0.3);
}

/* --- GLOBALITPOOL CUSTOM BRAND CARD THEME --- */
.handled-site-card-gip {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(7, 11, 21, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.handled-site-card-gip::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.handled-site-card-gip:hover {
  border-color: #38bdf8;
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.18), 0 0 20px rgba(0, 210, 255, 0.08);
}

.gip-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
}

.gip-card-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-top: 14px;
  margin-bottom: 8px;
}

.gip-card-tagline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 18px;
}

.gip-card-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.75);
  margin-bottom: 24px;
}

.gip-scope-pill {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 4px;
  color: #93c5fd;
  font-weight: 600;
}

.gip-card-metrics-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #34d399;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.btn-gip-cyan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #0b1329;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
}

.btn-gip-cyan-cta:hover {
  background: #38bdf8;
  color: #090d16;
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.4);
}

/* --- WHITE SECTION: QUOTES SECTION WITH SLOW SLIDING ANIMATION --- */
.section-quotes-white {
  background: #ffffff;
  color: #000000;
  padding: 100px 0;
  overflow: hidden;
}

.quotes-section-header {
  margin-bottom: 48px;
}

.quotes-stacked-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 10vw, 8.5rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  user-select: none;
}

.quotes-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0 20px;
}

.quotes-slider-container::before,
.quotes-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 5;
  pointer-events: none;
}

.quotes-slider-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.quotes-slider-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.quotes-slider-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: slowQuotesSlide 65s linear infinite;
  padding-left: calc((100vw - 1200px) / 2 + 24px);
}

@media (max-width: 1280px) {
  .quotes-slider-track {
    padding-left: 32px;
  }
}

.quotes-slider-track:hover {
  animation-play-state: paused;
}

@keyframes slowQuotesSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-33.333% - 13.33px));
  }
}

.quote-card-white-item {
  width: 420px;
  min-width: 420px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  padding: 8px 0 8px 28px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-left-color 0.2s ease, transform 0.2s ease;
  user-select: none;
}

@media (max-width: 768px) {
  .quote-card-white-item {
    width: 320px;
    min-width: 320px;
  }
}

.quote-card-white-item:hover {
  border-left-color: #000000;
  transform: translateX(4px);
}

.quote-card-quote-mark {
  font-family: var(--font-sans);
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.quote-card-body-text {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.55;
  color: #111111;
  margin-bottom: 24px;
}

.quote-card-author-line {
  font-size: 0.88rem;
  font-weight: 600;
  color: #555555;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.quote-card-white-item:hover .quote-card-author-line {
  color: #000000;
}

.quote-card-author-line i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.quote-card-white-item:hover .quote-card-author-line i {
  transform: translateX(4px);
}

.quote-card-white-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: #000000;
  line-height: 1.45;
  margin-bottom: 20px;
}

.quote-card-white-author {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
}

.quote-card-white-context {
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   CONNECT BLACK SECTION & PURE WHITE FOOTER
   ========================================================================== */
.section-delivered-dark {
  background: #000000;
  color: #ffffff;
  padding: 120px 0 100px;
  text-align: center;
}

.delivered-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.delivered-subname {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 0.9;
}

.delivered-main-heading {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 16vw, 13rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 0.85;
}

.delivered-subtitle {
  font-size: 1rem;
  color: #a1a1aa;
  margin-bottom: 32px;
}

/* Pill Subscription Bar / Connect Links */
.connect-social-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 960px;
  margin: 36px auto 0;
}

.connect-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.connect-link-pill:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.connect-link-pill i {
  font-size: 1.15rem;
}

/* --- PURE WHITE FOOTER --- */
.pure-white-footer {
  margin-top: auto;
  background: #ffffff;
  color: #000000;
  position: relative;
  z-index: 60;
  padding: 70px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.white-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.white-footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 20px;
}

.white-footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.white-footer-link-list a {
  color: #475569;
  transition: color 0.2s ease;
}

.white-footer-link-list a:hover {
  color: #000000;
  font-weight: 600;
}

.white-footer-bottom-row {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

.white-footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.white-footer-socials a {
  color: #000000;
  font-size: 1.15rem;
  transition: color 0.2s ease;
}

.white-footer-socials a:hover {
  color: var(--accent-gold);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1200px) {
  .hero-giant-title {
    font-size: clamp(3rem, 12vw, 9.5rem);
    top: calc(var(--nav-height) + 60px);
  }
  .hero-centered-portrait-container {
    height: 60vh;
    max-height: 500px;
  }
}

@media (max-width: 992px) {
  .fold-card-section {
    position: relative;
    top: 0;
    min-height: auto;
    border-radius: 0 !important;
    box-shadow: none;
  }

  .header-menu-nav {
    display: none;
  }

  .mobile-hamburger-btn {
    display: block;
  }

  .hero-giant-title {
    font-size: clamp(2.5rem, 11vw, 7.5rem);
    top: calc(var(--nav-height) + 52px);
  }

  .hero-centered-portrait-container {
    height: 58vh;
    max-height: 460px;
  }

  .white-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .davidsenra-header {
    height: 68px;
  }

  .logo-stacked {
    font-size: 1.25rem;
  }

  .davidsenra-hero-section {
    min-height: calc(100vh - 68px);
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .hero-inner-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    min-height: calc(100vh - 84px) !important;
    padding: calc(var(--nav-height) + 12px) 16px 0 !important;
    position: relative !important;
  }

  .hero-top-subtitle,
  .hero-top-subtitle.reveal-on-scroll,
  .hero-top-subtitle.reveal-on-scroll.is-visible {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.12em !important;
    line-height: 1.4 !important;
    padding: 0 8px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
    width: 100% !important;
    z-index: 10 !important;
    opacity: 1 !important;
  }

  .hero-giant-title,
  .hero-giant-title.reveal-on-scroll,
  .hero-giant-title.reveal-on-scroll.is-visible {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    font-size: clamp(2rem, 9.6vw, 4.8rem) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    z-index: 5 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .hero-centered-portrait-container,
  .hero-centered-portrait-container.reveal-on-scroll,
  .hero-centered-portrait-container.reveal-on-scroll.is-visible {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    flex: 1 !important;
    height: auto !important;
    min-height: 380px !important;
    max-height: 520px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    margin-top: auto !important;
    z-index: 2 !important;
    opacity: 1 !important;
  }

  .editorial-statement-quote {
    font-size: clamp(1.3rem, 5vw, 2.2rem) !important;
  }

  .section-editorial-narrative,
  .section-handling-dark,
  .section-quotes-white,
  .section-delivered-dark,
  .section-about-story {
    padding: 50px 0;
  }

  .handled-grid-container {
    grid-template-columns: 1fr;
  }

  .quote-cards-white-grid {
    grid-template-columns: 1fr;
  }

  .header-actions-right .social-icon-dark {
    display: none;
  }
}

@media (max-width: 576px) {
  .logo-stacked {
    font-size: 1.12rem;
  }

  .btn-black-pill {
    padding: 8px 16px;
    font-size: 0.72rem;
  }

  .davidsenra-hero-section {
    min-height: calc(100vh - 68px);
    height: auto;
    position: relative;
    overflow: hidden;
  }

  .hero-inner-container {
    padding: calc(var(--nav-height) + 8px) 12px 0 !important;
    min-height: calc(100vh - 68px) !important;
  }

  .hero-top-subtitle,
  .hero-top-subtitle.reveal-on-scroll,
  .hero-top-subtitle.reveal-on-scroll.is-visible {
    font-size: 0.65rem !important;
    letter-spacing: 0.08em !important;
    line-height: 1.35 !important;
    padding: 0 4px !important;
    margin-bottom: 8px !important;
  }

  .hero-giant-title,
  .hero-giant-title.reveal-on-scroll,
  .hero-giant-title.reveal-on-scroll.is-visible {
    font-size: clamp(1.75rem, 8.8vw, 3.5rem) !important;
    margin-bottom: 12px !important;
  }

  .hero-centered-portrait-container,
  .hero-centered-portrait-container.reveal-on-scroll,
  .hero-centered-portrait-container.reveal-on-scroll.is-visible {
    min-height: 340px !important;
    max-height: 440px !important;
  }

  .about-hero-container {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 24px;
    gap: 16px;
  }

  .about-name-giant span:first-child {
    font-size: clamp(3rem, 12vw, 6rem);
  }

  .about-name-giant span:last-child {
    font-size: clamp(4rem, 15vw, 8rem);
  }

  .white-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   INTERACTIVE GRAVITY FALL TEXT ANIMATION & CORNER PRESS ME BUTTON
   ========================================================================== */

/* --- MYSTERIOUS ORB TRIGGER --- */
@keyframes orbPulse {
  0%, 100% {
    box-shadow:
      0 0 8px rgba(200, 255, 0, 0.4),
      0 0 20px rgba(200, 255, 0, 0.15),
      inset 0 0 6px rgba(200, 255, 0, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 14px rgba(200, 255, 0, 0.6),
      0 0 35px rgba(200, 255, 0, 0.25),
      inset 0 0 10px rgba(200, 255, 0, 0.35);
    transform: scale(1.12);
  }
}

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

.gravity-corner-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 40% 35%, rgba(200, 255, 0, 0.15), rgba(0, 0, 0, 0.95) 70%);
  border: 1.5px solid rgba(200, 255, 0, 0.3);
  border-radius: 50%;
  cursor: pointer;
  animation: orbPulse 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  color: transparent;
  user-select: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible;
}

/* Inner glyph — appears on hover */
.gravity-corner-btn::before {
  content: '✦';
  font-size: 0;
  color: #c8ff00;
  transition: font-size 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  text-shadow: 0 0 8px rgba(200, 255, 0, 0.8);
}

/* Rotating orbital ring */
.gravity-corner-btn::after {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(200, 255, 0, 0.25);
  border-right-color: rgba(200, 255, 0, 0.08);
  animation: orbRingRotate 4s linear infinite;
  pointer-events: none;
}

.gravity-corner-btn:hover {
  transform: scale(1.3);
  background: radial-gradient(circle at 40% 35%, rgba(200, 255, 0, 0.3), rgba(0, 0, 0, 0.9) 70%);
  border-color: rgba(200, 255, 0, 0.6);
  box-shadow:
    0 0 20px rgba(200, 255, 0, 0.5),
    0 0 50px rgba(200, 255, 0, 0.2),
    inset 0 0 15px rgba(200, 255, 0, 0.3);
  animation: none;
}

.gravity-corner-btn:hover::before {
  font-size: 1.1rem;
  opacity: 1;
}

.gravity-corner-btn:hover::after {
  border-top-color: rgba(200, 255, 0, 0.5);
  border-right-color: rgba(200, 255, 0, 0.2);
  animation: orbRingRotate 1.5s linear infinite;
}

/* Tooltip on Hover / Touch */
.gravity-tooltip {
  position: absolute;
  bottom: 56px;
  right: -8px;
  white-space: nowrap;
  background: rgba(15, 15, 15, 0.95);
  color: #ff3366;
  border: 1px solid #ff3366;
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gravity-corner-btn:hover .gravity-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* BIG RED "WARNED YOU ⚠️" FLASH OVERLAY */
.warned-you-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 0, 4, 0.85);
  backdrop-filter: blur(8px);
  pointer-events: none;
  animation: screenShake 0.7s ease-in-out forwards;
}

.warned-you-text {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 900;
  color: #ff0033;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 
    0 0 30px rgba(255, 0, 51, 0.9),
    0 0 70px rgba(255, 0, 51, 0.6),
    0 0 120px rgba(255, 0, 51, 0.3);
  animation: warnedYouPulse 1.2s ease-out forwards;
}

@keyframes warnedYouPulse {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  30% {
    transform: scale(1.15);
    opacity: 1;
  }
  60% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes screenShake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  10% { transform: translate(-12px, 8px) rotate(-1deg); }
  20% { transform: translate(14px, -10px) rotate(1.5deg); }
  30% { transform: translate(-10px, 12px) rotate(-1deg); }
  40% { transform: translate(12px, -8px) rotate(1deg); }
  50% { transform: translate(-8px, 6px) rotate(-0.5deg); }
  60% { transform: translate(6px, -4px) rotate(0.5deg); }
  70% { transform: translate(-4px, 2px) rotate(0deg); }
}

.gravity-corner-btn.gravity-hidden {
  pointer-events: none;
  opacity: 0;
  transform: scale(0) rotate(180deg);
}

/* --- RAINDROP FALLING WORD KEYFRAMES --- */
@keyframes raindropFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  15% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(var(--fall-distance, 2200px)) rotate(var(--fall-rot, 35deg));
    opacity: 0;
  }
}

.falling-word {
  display: inline-block !important;
  position: relative;
  will-change: transform, opacity;
  animation: raindropFall var(--fall-duration, 4s) var(--fall-delay, 0s) linear infinite;
  pointer-events: none;
  cursor: default;
}

/* --- PASSWORD DIGIT FLOATERS --- */
.gravity-password-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  pointer-events: none;
  overflow: hidden;
}

@keyframes digitFloat {
  0% {
    transform: translateY(-60px) rotate(0deg) scale(1);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  50% {
    transform: translateY(calc(50vh - 30px)) rotate(var(--digit-rot, 15deg)) scale(1.05);
    opacity: 0.95;
  }
  92% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(110vh) rotate(var(--digit-rot2, -25deg)) scale(0.9);
    opacity: 0;
  }
}

.gravity-digit {
  position: absolute;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: #c8ff00;
  text-shadow: 0 0 20px rgba(200, 255, 0, 0.6), 0 0 50px rgba(200, 255, 0, 0.25);
  pointer-events: all;
  cursor: pointer;
  user-select: none;
  animation: digitFloat var(--digit-duration, 7s) var(--digit-delay, 0s) linear infinite;
  z-index: 10001;
  transition: transform 0.15s ease, color 0.15s ease;
}

.gravity-digit:hover {
  transform: scale(1.4) !important;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(200, 255, 0, 0.5);
}

.gravity-digit.is-caught {
  animation: none !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Decoy falling words in the overlay (clickable distractors) */
.gravity-decoy {
  position: absolute;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: all;
  cursor: pointer;
  user-select: none;
  animation: digitFloat var(--digit-duration, 9s) var(--digit-delay, 0s) linear infinite;
  z-index: 10001;
}

.gravity-decoy:hover {
  color: #ff3366;
}

/* --- HUD: CAUGHT SEQUENCE DISPLAY --- */
.gravity-hud {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10002;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(200, 255, 0, 0.25);
  border-radius: 16px;
  padding: 14px 28px;
  font-family: var(--font-display, 'Inter', sans-serif);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gravity-hud.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.gravity-hud-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.gravity-hud-slots {
  display: flex;
  gap: 8px;
}

.gravity-hud-slot {
  width: 38px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.gravity-hud-slot.is-filled {
  border-color: #c8ff00;
  color: #c8ff00;
  text-shadow: 0 0 12px rgba(200, 255, 0, 0.5);
  background: rgba(200, 255, 0, 0.08);
}

.gravity-hud-slot.is-wrong {
  border-color: #ff3366;
  color: #ff3366;
  animation: headShake 0.5s ease;
}

@keyframes headShake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(5px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-1px); }
}

/* --- RESTORATION FLASH --- */
@keyframes restoreFlash {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 0; }
}

.gravity-restore-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #c8ff00;
  z-index: 99999;
  animation: restoreFlash 0.6s ease-out forwards;
  pointer-events: none;
}
