:root {
  --font-logo: 'Inria Serif', Georgia, serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-serif-display: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Global Theme Colors */
  --bg-main: #F8F5F0;
  --bg-light: #F8F5F0;
  --bg-light-alt: #f1ede6;
  --bg-light-card: #ffffff;

  --bg-dark: #16100c;
  --bg-dark-card: #201813;
  --bg-dark-elevated: #291f19;

  --text-dark-primary: #ffffff;
  --text-dark-secondary: #bdaea6;
  --text-dark-muted: #807169;

  --text-light-primary: #16100c;
  --text-light-secondary: #46413E;
  --text-light-muted: #74716E;

  --accent-gold: #c89d66;
  --accent-gold-light: #dfba8c;
  --accent-cyan: #0284c7;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(255, 255, 255, 0.2);
  --border-light: #602E00;

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

/* Base Settings */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  color: var(--text-light-primary);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.text-secondary {
  color: #46413E !important;
}

::selection {
  background: var(--accent-gold);
  color: #000;
}

/* Utility Eyebrow */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.eyebrow-dark {
  color: var(--text-dark-muted);
}

.eyebrow-light {
  color: var(--text-light-muted);
}

.serif-heading {
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  line-height: 1.18;
}

/* ==========================================================================
   LINE-BY-LINE TEXT ANIMATION SYSTEM (ROLLUP & REVEAL)
   ========================================================================== */

.line-mask {
  display: block;
  overflow: hidden;
  position: relative;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.line-mask-inline {
  display: inline-block;
  overflow: hidden;
  position: relative;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

/* Base Line Inner Animation (Pure masked rollup with opacity 1 from start) */
.line-inner {
  display: block;
  transform: translateY(118%);
  opacity: 1;
  will-change: transform;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--line-index, 0) * 85ms + var(--base-delay, 0ms));
}

/* Paragraph softer line rise variant */
.line-fade-up {
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.75s ease;
  transition-delay: calc(var(--line-index, 0) * 65ms + var(--base-delay, 0ms));
}

/* Active / In-View State */
.is-revealed .line-inner,
.line-inner.revealed,
.revealed > .line-inner {
  transform: translateY(0) !important;
}

.is-revealed .line-fade-up,
.line-fade-up.revealed {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* Hero Section Specific Timing */
.hero-title .line-inner {
  transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Eyebrow Rollup */
.eyebrow-rollup {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  padding-bottom: 0.05em;
  margin-bottom: 0.85rem;
}

.eyebrow-rollup .eyebrow-inner {
  display: inline-block;
  transform: translateY(105%);
  opacity: 1;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--base-delay, 0ms);
}

.is-revealed .eyebrow-inner,
.eyebrow-inner.revealed,
.is-revealed.eyebrow-rollup .eyebrow-inner {
  transform: translateY(0) !important;
}

/* Stat Row Line-by-Line Rollup */
.stat-number-mask,
.stat-label-mask {
  display: block;
  overflow: hidden;
  position: relative;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.stat-number-inner {
  display: block;
  transform: translateY(120%);
  opacity: 1;
  will-change: transform;
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-label-inner {
  display: block;
  transform: translateY(120%);
  opacity: 1;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 100ms;
}

.stat-row.is-revealed .stat-number-inner,
.stat-row.is-revealed .stat-label-inner {
  transform: translateY(0) !important;
}

/* Stanza / 4 Layers list animations */
.stanza-line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
  margin-bottom: -0.05em;
}

.stanza-line-inner {
  display: block;
  transform: translateY(120%);
  opacity: 1;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--line-index, 0) * 110ms);
}

.methodology-stanza.is-revealed .stanza-line-inner {
  transform: translateY(0) !important;
}

.methodology-item-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
  margin-bottom: -0.05em;
}

.methodology-item-inner {
  display: flex;
  transform: translateY(120%);
  opacity: 1;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--line-index, 0) * 90ms);
}

.methodology-list.is-revealed .methodology-item-inner {
  transform: translateY(0) !important;
}

/* Bento & Frontiers Card Text Rollup */
.bento-card.is-revealed .line-inner,
.bento-content.is-revealed .line-inner,
.frontier-card.is-revealed .line-inner,
.frontier-bottom.is-revealed .line-inner,
.is-revealed .frontier-card .line-inner,
.swiper-slide.is-revealed .line-inner,
.swiper-slide-active .frontier-bottom .line-inner {
  transform: translateY(0) !important;
}

.frontier-card-title .line-inner {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--line-index, 0) * 85ms + 120ms);
}

.frontier-card-desc .line-inner {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--line-index, 0) * 70ms + 240ms);
}

/* Career Row Item Reveal */
.career-row-item .line-inner {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--line-index, 0) * 75ms);
}

.career-row-item.is-revealed .line-inner {
  transform: translateY(0) !important;
}

/* General Split Reveal */
.split-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.75s ease;
}

.split-reveal.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .line-inner,
  .line-fade-up,
  .eyebrow-inner,
  .stat-number-inner,
  .stat-label-inner,
  .stanza-line-inner,
  .methodology-item-inner,
  .split-reveal {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* NAVIGATION */
.purus-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
  background: rgba(22, 16, 12, 0);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.purus-navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(22, 16, 12, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-brand-col {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-action-col {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.navbar-brand {
  font-family: var(--font-logo);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  white-space: nowrap;
}

.navbar-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
  padding: 0.5rem 1.15rem !important;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
}

.btn-apply-nav {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0.35rem 0;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-apply-nav:hover {
  color: var(--accent-gold);
}

.border-white-10 {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

@media (min-width: 992px) {
  .purus-navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .purus-navbar .navbar-collapse {
    display: flex !important;
    justify-content: center;
    flex: 1 1 auto;
  }

  .purus-navbar .navbar-nav {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 991px) {
  .nav-brand-col {
    width: auto;
    min-width: unset;
    max-width: unset;
  }

  .purus-navbar .navbar-collapse {
    background: rgba(22, 16, 12, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* HERO SECTION (STICKY CURTAIN EFFECT) */
.hero-section {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(107deg, rgba(27, 23, 23, 0.71) 0%, rgba(44, 4, 4, 0.71) 100%),
              url('../images/hero-img.webp?v=6.0') lightgray 50% / cover no-repeat;
  padding: 8rem 1.5rem 4rem;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.hero-title {
  font-family: var(--font-serif-display);
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  white-space: nowrap;
}

.scroll-indicator.split-reveal {
  transform: translate(-50%, 20px) !important;
  opacity: 0;
}

.scroll-indicator.split-reveal.is-revealed {
  transform: translate(-50%, 0) !important;
  opacity: 1 !important;
}

.scroll-indicator:hover {
  color: #ffffff;
}

.scroll-shape {
  height: 12px;
  width: auto;
  opacity: 0.85;
  display: inline-block;
}

.scroll-shape-right {
  transform: scaleX(-1);
}

/* STRATEGIC SHIFT & ALL SUBSEQUENT SECTIONS (#F8F5F0 BACKGROUND) */
.section-light {
  background-color: var(--bg-main);
  color: var(--text-light-primary);
  padding: 6.5rem 0;
  position: relative;
  z-index: 2;
  overflow-x: clip;
}

section#macro-stats {
  padding: 9.5rem 0 13rem 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.4);
  transform-origin: center top;
  will-change: transform;
}

@media (max-width: 991px) {
  section#macro-stats {
    padding: 6rem 0 8rem 0;
    transform: none !important;
  }
}

#thesis {
  position: relative;
  z-index: 2;
  background-color: var(--bg-main);
}

#research {
  position: relative;
  z-index: 2;
  background-color: var(--bg-main);
}

.statement-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.25;
  color: #16100C;
  margin-bottom: 6.5rem;
}

.stats-grid {
  border-top: 1px solid var(--border-light);
}

.stat-row {
  display: flex;
  width: 100%;
  padding: 4.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.stat-row.stat-row-left {
  justify-content: flex-start;
}

.stat-row.stat-row-right {
  justify-content: flex-end;
}

/* Smooth 80px slide-in distance for macro-stats */
#macro-stats .stat-row[data-aos="fade-right"],
[data-aos="fade-right"].stat-row {
  transform: translate3d(-80px, 0, 0) !important;
  opacity: 0 !important;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.95s ease-out !important;
}

#macro-stats .stat-row[data-aos="fade-left"],
[data-aos="fade-left"].stat-row {
  transform: translate3d(80px, 0, 0) !important;
  opacity: 0 !important;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.95s ease-out !important;
}

#macro-stats .stat-row[data-aos="fade-right"].aos-animate,
[data-aos="fade-right"].stat-row.aos-animate,
#macro-stats .stat-row[data-aos="fade-left"].aos-animate,
[data-aos="fade-left"].stat-row.aos-animate {
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 10rem);
  font-weight: 400;
  line-height: 0.95;
  color: #16100c;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1.25rem;
  color: #211B18;
  font-weight: 400;
  margin-top: 0.45rem;
}

/* INDIA DEEP TECH CONTEXT */
.thesis-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: #16100c;
  margin-bottom: 0.75rem;
}

.thesis-subheadline {
  font-size: 0.95rem;
  color: #46413E;
  margin-bottom: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.thesis-body {
  color: #16100C;
  font-size: 0.75rem;
  line-height: 1.75;
}

/* About section buffer: keeps baked line splits away from the flush edge
   so late font/scrollbar shifts can't orphan words like "first-of-kind". */
.sticky-left-inner .thesis-body {
  padding-right: 1.5rem;
}

@media (max-width: 991.98px) {
  .sticky-left-inner .thesis-body {
    padding-right: 0;
  }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1.25rem;
}

.bento-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-dark-card);
  border: none;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  grid-column: span 2;
  transition: var(--transition-smooth);
}

.bento-card-wide {
  grid-column: span 3;
  aspect-ratio: 24 / 10;
}

.bento-card-wider {
  grid-column: span 5;
  aspect-ratio: 40 / 10;
}


.bento-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 34.66%, rgba(0, 0, 0, 0.80) 100%);
  pointer-events: none;
}

.bento-content {
  position: relative;
  z-index: 2;
}

.bento-icon {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
  color: var(--accent-gold);
}

.bento-svg-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.85rem;
  /* filter: brightness(0) invert(1); */
  display: block;
}

.bento-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFE5CE;
  margin-bottom: 0.25rem;
}

.bento-desc {
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: 0;
}

.bento-card:hover {
  transform: translateY(-3px);
  background-color: var(--bg-dark-elevated);
}

.bento-card:hover .bento-img {
  transform: scale(1.06);
  opacity: 0.9;
}

/* ==========================================================================
   INDIA DEEP TECH CONTEXT - FULL-BLEED STICKY IMAGE STACK (PURE CSS)
   ========================================================================== */

.deep-tech-stack-section {
  position: relative;
  background-color: var(--bg-main);
  z-index: 2;
  overflow: visible !important;
  /* padding-bottom: 7rem; */
}

@media (min-width: 992px) {
  .deep-tech-stack-section .sticky-left-col {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2.5rem 4rem 0;
    z-index: 5;
  }

  .sticky-left-inner {
    width: 100%;
  }

  .sticky-images-col {
    position: relative;
    z-index: 4;
    padding-top: 4rem;
    padding-bottom: 0;
  }

  .sticky-img-slide {
    position: sticky;
    top: 10rem;
    height: calc(100vh - 15rem);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3.5rem 3.5rem 4.5rem 3.5rem;
    border-radius: 20px !important;
    /* border: 1px solid rgba(255, 255, 255, 0.08) !important; */
    /* box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16) !important; */
    background-color: #16100c;
    margin-bottom: 200px;
  }

  /* .sticky-img-slide:last-child {
    margin-bottom: 25vh !important;
  } */

    .sticky-img-slide:first-child {
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16) !important;

  }

  .sticky-img-slide:nth-child(1) { z-index: 1; }
  .sticky-img-slide:nth-child(2) { z-index: 2; }
  .sticky-img-slide:nth-child(3) { z-index: 3; }
  .sticky-img-slide:nth-child(4) { z-index: 4; }
  .sticky-img-slide:nth-child(5) { z-index: 5; }
}

@media (max-width: 991px) {
  .deep-tech-stack-section {
    padding-bottom: 3rem;
    overflow-x: clip !important;
  }

  .deep-tech-stack-section .sticky-left-col {
    padding: 4rem 1.5rem 2rem 1.5rem;
    height: auto;
    position: relative;
  }

  .sticky-images-col {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1.5rem !important;
    scroll-padding-left: 1.5rem !important;
    scroll-padding-right: 1.5rem !important;
    -webkit-overflow-scrolling: touch;
    gap: 1.15rem;
    padding: 0 1.5rem 1.5rem 1.5rem !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
  }

  .sticky-images-col::-webkit-scrollbar {
    display: none;
  }

  .sticky-img-slide {
    position: relative !important;
    top: auto !important;
    flex: 0 0 85% !important;
    max-width: 85% !important;
    width: 85% !important;
    height: auto !important;
    min-height: 220px !important;
    aspect-ratio: 16 / 10 !important;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem !important;
    border-radius: 14px !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    margin-bottom: 0 !important;
    background-color: var(--bg-dark-card);
  }

  .sticky-slide-content {
    padding-bottom: 0 !important;
  }

  .sticky-slide-icon {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 0.5rem !important;
  }

  .sticky-slide-title {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #FFE5CE !important;
    margin-bottom: 0.25rem !important;
  }

  .sticky-slide-desc {
    font-size: 0.78rem !important;
    color: #ffffff !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
  }
}

.sticky-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 20px;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.sticky-img-slide:hover .sticky-slide-img {
  transform: scale(1.04);
}

.sticky-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 16, 12, 0.0) 0%, rgba(22, 16, 12, 0.4) 40%, rgba(22, 16, 12, 0.95) 90%);
  z-index: 2;
  pointer-events: none;
}

.sticky-slide-content {
  position: relative;
  z-index: 3;
  padding-bottom: 0.5rem;
}

.sticky-slide-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  display: block;
}

.sticky-slide-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: #FFE5CE;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.sticky-slide-desc {
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 0;
  opacity: 0.92;
  line-height: 1.5;
}

/* INDUSTRIAL FRONTIERS */
.frontier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-counter {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-light-muted);
  letter-spacing: 0.1em;
}

.slider-btn {
  width: 44px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: #16100c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  font-size: 0.85rem;
}

.slider-btn:hover {
  background: #16100c;
  color: #ffffff;
  border-color: #16100c;
}

.frontier-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-dark-card);
  border: none;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transform: translateY(45px);
  will-change: transform, opacity;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

/* Stagger card reveals across Swiper slides */
.swiper-slide:nth-child(1) .frontier-card { transition-delay: 60ms; }
.swiper-slide:nth-child(2) .frontier-card { transition-delay: 140ms; }
.swiper-slide:nth-child(3) .frontier-card { transition-delay: 220ms; }
.swiper-slide:nth-child(4) .frontier-card { transition-delay: 300ms; }
.swiper-slide:nth-child(5) .frontier-card { transition-delay: 380ms; }
.swiper-slide:nth-child(6) .frontier-card { transition-delay: 460ms; }

.frontier-card.is-revealed,
.is-revealed .frontier-card,
.swiper-slide.is-revealed .frontier-card,
.swiper-slide-active .frontier-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.frontier-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.frontier-card.is-revealed .frontier-img,
.is-revealed .frontier-img {
  transform: scale(1);
}

.frontier-card:hover .frontier-img {
  transform: scale(1.06) !important;
}

.frontier-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 30%) 34.66%, rgba(0, 0, 0, 0.80) 100%);
  pointer-events: none;
}

.frontier-top {
  position: relative;
  z-index: 2;
}

.frontier-bottom {
  position: relative;
  z-index: 2;
}

.frontier-card:hover {
  transform: translateY(-4px) !important;
  background: var(--bg-dark-elevated);
}

.frontier-icon {
  font-size: 1.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.frontier-svg-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.85rem;
  display: block;
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease;
  transition-delay: 100ms;
}

.frontier-card.is-revealed .frontier-svg-icon,
.is-revealed .frontier-svg-icon {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.frontier-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: #FFE5CE;
  margin-bottom: 0.65rem;
}

.frontier-card-desc {
  font-size: 0.82rem;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.frontier-explore {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #FFE5CE;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s ease,
              color 0.25s ease;
  transition-delay: 320ms;
}

.frontier-card.is-revealed .frontier-explore,
.is-revealed .frontier-explore {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.frontier-explore:hover {
  color: var(--accent-gold);
  transform: translateX(4px) translateY(0) !important;
}

/* ==========================================================================
   STACKED EDITORIAL SECTIONS (IN-PLACE DISSOLVE STAGE)
   ========================================================================== */

.stacked-editorial-container {
  position: relative;
  background-color: var(--bg-main);
  z-index: 3;
}

@media (min-width: 992px) {
  .stacked-editorial-container {
    height: 380vh; /* Generous runway for sequential out-then-in dissolve */
    position: relative;
  }

  .editorial-sticky-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-main);
  }

  .stacked-editorial-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
  }

  .stacked-editorial-panel.panel-philosophy {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
  }

  .stacked-editorial-panel.panel-methodology {
    opacity: 0;
    z-index: 2;
  }

  .stacked-editorial-panel.panel-inflection {
    opacity: 0;
    z-index: 3;
  }

  .editorial-panel-inner {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .editorial-sticky-stage {
    position: relative;
    height: auto;
  }

  .stacked-editorial-panel {
    position: relative;
    padding: 4.5rem 0;
    border-top: 1px solid rgba(22, 16, 12, 0.08);
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .editorial-panel-inner {
    width: 100%;
  }
}

.editorial-img-wrap {
  border-radius: 20px !important;
  overflow: hidden;
  position: relative;
  box-shadow: none !important;
  border: none !important;
  opacity: 1;
  transform: none;
}

.stacked-editorial-panel.is-revealed .editorial-img-wrap,
.editorial-img-wrap.is-revealed,
.editorial-img-wrap.revealed,
.is-revealed > .editorial-img-wrap {
  opacity: 1 !important;
  transform: none !important;
}

.editorial-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 20px !important;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.editorial-img-wrap:hover .editorial-img {
  transform: scale(1.05) !important;
}

.methodology-stanza {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-light-secondary);
  font-style: italic;
}

.methodology-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.methodology-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-light-secondary);
  margin-bottom: 0.5rem;
}

.methodology-item:last-child {
  margin-bottom: 0;
}

.methodology-dash {
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
  min-width: 30px;
  text-align: center;
}

.methodology-item-text {
  flex: 1;
}

/* UPDATES & INSIGHTS */
section#updates {
  /* border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -25px 60px rgba(22, 16, 12, 0.08); */
  position: relative;
  z-index: 4;
  background-color: var(--bg-main);
}

.featured-article-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 1rem;
  background: #FCFAF6;
  border: 1px solid #E4DED4;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.featured-article-img-wrap {
  position: relative;
  aspect-ratio: 21 / 9;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.featured-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.article-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: #D9A066;
  /* backdrop-filter: blur(8px); */
  color: #1E1712;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: bold;
  padding: 0.35rem 0.85rem;
  border-radius: 40px;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  z-index: 2;
}

.featured-article-content {
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FCFAF6;
  /* border-top: 1px solid var(--border-light); */
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: #121316;
  margin-bottom: 0.4rem;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.article-link {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #D9A066;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.article-link:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.featured-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.btn-view-news {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #121316;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: 1px solid #211B1820;
  border-radius: 999px;
  /* background: #ffffff; */
  transition: var(--transition-smooth);
}

.btn-view-news:hover {
  background: #121316;
  color: #ffffff;
  border-color: #121316;
}

/* UPDATES AUTO SLIDER (side arrows, no pagination) */
.updates-slider-wrap {
  position: relative;
}

.updates-slider-wrap .updates-swiper {
  overflow: hidden;
  border-radius: 14px;
}

.updates-slider-wrap .swiper-slide {
  height: auto;
}

.updates-slider-wrap .featured-article-card {
  height: 100%;
  margin-bottom: 0;
}

.updates-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FCFAF6;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.updates-prev {
  left: -1rem;
}

.updates-next {
  right: -1rem;
}

@media (max-width: 576px) {
  .updates-slider-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .updates-slider-wrap .updates-swiper {
    flex: 0 0 100%;
  }

  .updates-nav-btn {
    position: static;
    transform: none;
  }

  .updates-prev {
    left: auto;
  }

  .updates-next {
    right: auto;
  }

  .updates-card-foot {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .updates-card-foot .article-meta {
    flex: 0 0 100%;
  }

  .updates-card-foot .article-link {
    margin-left: auto;
  }
}

/* CAREERS & FELLOWSHIP LISTING */
.career-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.85rem 0;
  border-bottom: 1px solid #E4DED4;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.career-row-item:hover {
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  background: rgba(0, 0, 0, 0.02);
}

.careers-empty {
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px dashed #D8D0C0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.015);
}

.careers-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #121316;
  background: #fff;
  border: 1px solid #E4DED4;
  border-radius: 50%;
}

.careers-empty-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #121316;
  margin-bottom: 0.5rem;
}

.careers-empty-desc {
  max-width: 460px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light-secondary);
}

.career-role-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #121316;
  margin-bottom: 0.3rem;
}

.career-role-desc {
  font-size: 0.85rem;
  color: var(--text-light-secondary);
  margin-bottom: 0;
}

.career-tags {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: 1.5rem;
}

.career-badge {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-light-muted);
}

.career-apply-btn {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-light-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    border: 1px solid #E4DED4;
    border-radius: 50px;
    padding: 10px 20px;
}

.career-row-item:hover .career-apply-btn {
  color: #121316;
  transform: translateX(4px);
}

/* FOOTER (OBSIDIAN DARK) */
.purus-footer {
  background: radial-gradient(circle at center, rgb(35 26 20) 0%, rgba(22, 16, 12, 0.92) 100%), url(../images/footer-img.webp?v=6.0) center center / cover no-repeat, #16100c;
  color: var(--text-dark-secondary);
  padding: 5.5rem 0 1.5rem;
  border-top: 1px solid var(--border-dark);
  z-index: 2;
  position: relative;
}

.footer-brand {
  font-family: var(--font-logo);
  font-size: 1.45rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 1.75rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: #ffffff10;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 4px 5px 4px 14px;
  max-width: 360px;
  margin-bottom: 1.75rem;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-grow: 1;
}

.newsletter-mail-icon {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
}

.newsletter-input {
  background: transparent;
  border: none;
  padding: 0.55rem 0.25rem;
  font-size: 0.82rem;
  color: #ffffff;
  width: 100%;
  outline: none;
}


.back-to-top {
    color: #D9A066 !important;
    border: 1px solid #D9A06650;
    border-radius: 50px;
    padding: 6px 20px;
}

.newsletter-input::placeholder {
  color: var(--text-dark-muted);
}

.newsletter-btn {
  background: var(--accent-gold);
  border: none;
  color: #16100c;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--accent-gold-light);
  transform: scale(1.02);
}

.social-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-muted);
  text-decoration: none;
  font-size: 1.05rem;
  border: none;
  background: transparent;
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-email-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--text-dark-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
}

.footer-email-link:hover {
  color: #ffffff;
}

.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dark-muted);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-dark-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-bottom {
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-dark-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom a {
  color: var(--text-dark-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.back-to-top {
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(22, 16, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
  }
  .btn-apply-nav {
    display: inline-block;
    margin-top: 0.5rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card,
  .bento-card-wide,
  .bento-card-wider {
    grid-column: span 1;
    aspect-ratio: 16 / 9;
  }
  .editorial-row {
    margin-bottom: 2rem;
  }
  .career-row-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .career-tags {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 7rem 1rem 3.5rem;
  }
  .hero-title {
    font-size: clamp(2.4rem, 8.5vw, 3.8rem);
  }
  .scroll-indicator {
    bottom: 1.5rem;
    font-size: 0.68rem;
    gap: 0.5rem;
  }
  .statement-headline {
    font-size: clamp(1.65rem, 5.5vw, 2.5rem);
    margin-bottom: 2.5rem;
  }
  .stat-row {
    padding: 1.75rem 0;
  }
  .stat-number {
    font-size: clamp(2.5rem, 8.5vw, 3.5rem);
  }
  .stat-label {
    font-size: 1rem;
  }
  .thesis-headline {
    font-size: clamp(1.85rem, 5.5vw, 2.5rem);
  }
  .frontier-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .featured-article-img-wrap {
    aspect-ratio: 16 / 10;
  }
  .featured-article-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0.5rem 0.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
  }
  .section-light {
    padding: 2rem 0;
  }

  .purus-footer {
    padding: 2.5rem 0 1.5rem;
  }
}

