/* ==========================================================================
   ABOUT PAGE STYLESHEET — TOWARDS MY BHARAT (TMB)
   Cinematic Stacking Cards & Master Theme Harmonization
   ==========================================================================
   
   ARCHITECTURAL ROLE:
   - Houses specialized layout physics and visual presentation for `about.html`.
   - Strictly inherits and aligns with the Towards My Bharat Master Design System:
     * Color Tokens: Deep Forest Green (#2E5D3A), Herbal Sage (#A7C957), 
       Organic Light Canvas (#F6FAF4), Obsidian Forest (#111A14).
     * Typography: 'Cormorant Garamond' (Civilizational Serif), 
       'Instrument Serif' (Editorial Italic Accent), 'Inter' (Modern UI / Badges / Numbers),
       'Manrope' (High-Legibility Editorial Body).
     * Theme States: Seamlessly synchronizes with `theme.js` across Light Mode
       and Dark Mode (`html[data-theme="dark"]`).
   - Powers the Apple-inspired narrative card-stacking experience where story
     chapters overlap sequentially as the user scrolls down the page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PAGE ROOT & THEME BACKGROUND BASES
   -------------------------------------------------------------------------- */
.about-page {
  background-color: var(--color-background);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. HERO SHOWCASE: THEMED SPLIT NARRATIVE & CONCEPT ARTWORK
   -------------------------------------------------------------------------- */
/* ── FULL-BLEED BANNER HERO ─────────────────────────────────────────────── */
.main-about-herosection {
  position: relative;
  width: 100%;
  aspect-ratio: 653 / 238;
  min-height: 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  box-sizing: border-box;
}

/* Full-bleed background image */
.main-about-herosection > .about-hero-artwork-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 0;
}

.about-video-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  width: 100%;
  aspect-ratio: 653 / 238;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  border-bottom: 1px solid var(--color-border);
  background: #000;
}

.about-video-hero-media-container {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #000 url("assets/images/about-yagya-poster.jpg") center / 100% 100% no-repeat;
}

.about-video-hero-media-container::after {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 25%;
  background: linear-gradient(
    90deg,
    #000 0%,
    rgba(0, 0, 0, 0.88) 20%,
    rgba(0, 0, 0, 0.58) 52%,
    rgba(0, 0, 0, 0.2) 80%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
}

.about-video-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.about-video-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  min-width: 0;
  padding: clamp(1rem, 3vw, 3rem);
  background: #000;
  color: #f6faf4;
}

.about-video-hero-kicker {
  color: #c8df8a;
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.45;
  text-transform: uppercase;
}

.about-video-hero-content h1 {
  max-width: 10ch;
  margin: 0;
  color: #f6faf4;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-wrap: balance;
}

.about-video-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  margin-top: 0.25rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid rgba(200, 223, 138, 0.7);
  border-radius: 9999px;
  background: #07552c;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.about-video-hero-link:hover {
  transform: translateY(-2px);
  background: #064522;
}

.about-video-hero-link:focus-visible {
  outline: 3px solid #c8df8a;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .about-video-hero-media {
    visibility: hidden;
  }

}

.about-hero-image-cta {
  position: absolute;
  z-index: 2;
  left: 10.4%;
  top: 60.5%;
  width: 25.4%;
  height: 12.2%;
  border-radius: 9999px;
}

.about-hero-image-cta:focus-visible {
  outline: 3px solid #07552c;
  outline-offset: 3px;
}

.about-hero-message {
  position: absolute;
  top: 50%;
  left: clamp(1.25rem, 8vw, 7.5rem);
  z-index: 2;
  width: min(36rem, 48%);
  transform: translateY(-50%);
  color: #173c26;
}

.about-hero-message h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.about-hero-message p {
  max-width: 39ch;
  margin: 0;
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  line-height: 1.55;
}

.main-about-herosection > .about-hero-header {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.65rem, 1.5vw, 1.25rem);
  padding: clamp(1.5rem, 8vw, 7.5rem);
  pointer-events: none;
}

.about-top-kicker,
.about-top-title {
  position: static;
  opacity: 1;
}

/* Editorial Subbrand Kicker */
.about-top-kicker {
  font-family: 'Inter', var(--font-sans);
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #245b35;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: color 0.3s ease;
}

.about-top-kicker::before,
.about-top-kicker::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: background 0.3s ease;
}

/* Hero Title */
.about-top-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: #173c26;
  text-wrap: balance;
}

/* Action row */
.about-hero-actions {
  position: static;
  width: auto;
  height: auto;
  margin-top: clamp(0.35rem, 1vw, 0.75rem);
  pointer-events: auto;
}

.about-hero-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  gap: 0.75rem;
  border-radius: 9999px;
  font-family: 'Inter', var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #07552c;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 20px rgba(7, 85, 44, 0.25);
  cursor: pointer;
  appearance: none;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.about-hero-pill:hover {
  background: #064522;
  box-shadow: 0 10px 24px rgba(7, 85, 44, 0.32);
  transform: translateY(-2px);
}

.about-hero-pill .material-symbols-outlined {
  display: inline;
  font-size: 1.1rem;
}

.about-hero-pill:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Old two-column classes — hidden, kept to avoid JS errors */
.main-about-herosection01,
.main-about-herosection02,
.about-hero-artwork-frame,
.about-artwork-glow {
  display: none;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. EXPERIENCE SECTION GRID (Sticky Left Rail + Stacking Cards Stream)
   -------------------------------------------------------------------------- */
.about-experience-section {
  position: relative;
  padding: clamp(3rem, 5vw, 4.75rem) 0 6rem;
  background-color: var(--color-background);
  transition: background-color 0.3s ease;
}

/* Two-column layout on desktop: 280px sticky rail + fluid cards stream */
.about-experience-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
  position: relative;
}

/* ==========================================================================
   STICKY LEFT SIDEBAR RAIL
   ========================================================================== */
.about-rail {
  position: sticky;
  top: 130px;
  align-self: start;
  z-index: 40;
  padding: 1.5rem 0;
}

.rail-category-tag {
  font-family: 'Inter', var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 2.25rem;
  display: block;
  transition: color 0.3s ease;
}

html[data-theme="dark"] .rail-category-tag {
  color: var(--color-accent);
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.rail-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.rail-item-num {
  font-family: 'Inter', var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  opacity: 0.75;
  margin-bottom: 0.35rem;
  letter-spacing: 0.06em;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.rail-item-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-muted);
  opacity: 0.85;
  position: relative;
  padding-bottom: 0.5rem;
  transition: color 0.3s ease, opacity 0.3s ease;
  line-height: 1.3;
}

.rail-item:hover .rail-item-num,
.rail-item:hover .rail-item-text {
  color: var(--color-text);
  opacity: 1;
}

/* Active Highlight State */
.rail-item.active .rail-item-num {
  color: var(--color-primary);
  opacity: 1;
  font-weight: 800;
}

html[data-theme="dark"] .rail-item.active .rail-item-num {
  color: var(--color-accent);
}

.rail-item.active .rail-item-text {
  color: var(--color-primary);
  opacity: 1;
  font-weight: 700;
}

html[data-theme="dark"] .rail-item.active .rail-item-text {
  color: var(--color-text);
}

/* The Active Indicator Underline Bar */
.rail-item-underline {
  display: block;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  margin-top: 0.25rem;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

html[data-theme="dark"] .rail-item-underline {
  background-color: var(--color-accent);
}

.rail-item.active .rail-item-underline {
  width: 100%;
}

/* ==========================================================================
   4. RIGHT STACKING CARDS STREAM (CINEMATIC OVERLAPPING PHYSICS)
   ========================================================================== */
.about-cards-stream {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 8vh;
}

/* Base Chapter Card */
.story-card {
  position: sticky;
  top: 110px;
  min-height: calc(100vh - 140px);
  margin-bottom: 45vh;
  border-radius: 24px;
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 45px rgba(46, 93, 58, 0.10), 0 2px 10px rgba(46, 93, 58, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2.5rem, 4vw, 4rem) clamp(2.5rem, 4.5vw, 4.5rem);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    filter 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
  will-change: transform, opacity;
}

html[data-theme="dark"] .story-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(167, 201, 87, 0.08);
}

/* Story-card surfaces progress from light sage to mid sage to forest green. */
.story-card:nth-child(1) {
  --story-surface: #1B3823;
  --story-overlay: rgba(27, 56, 35, 0.95);
  --story-heading: #F6FAF4;
  --story-body: #D6E4D2;
  --story-accent: #A7C957;
  --story-border: rgba(167, 201, 87, 0.3);
  --story-pill: rgba(167, 201, 87, 0.15);
  --story-mini-surface: rgba(17, 26, 20, 0.42);
  --story-mini-hover: rgba(17, 26, 20, 0.68);
}

.story-card:nth-child(2) {
  --story-surface: #B7CBB0;
  --story-overlay: rgba(183, 203, 176, 0.94);
  --story-heading: #23472C;
  --story-body: #344D38;
  --story-accent: #2E5D3A;
  --story-border: #9EB598;
  --story-pill: rgba(238, 244, 235, 0.72);
  --story-mini-surface: rgba(238, 244, 235, 0.58);
  --story-mini-hover: rgba(238, 244, 235, 0.82);
}

.story-card:nth-child(3) {
  --story-surface: #EEF4EB;
  --story-overlay: rgba(238, 244, 235, 0.94);
  --story-heading: #2E5D3A;
  --story-body: #526B55;
  --story-accent: #2E5D3A;
  --story-border: #D5E2D0;
  --story-pill: #DCE9D7;
  --story-mini-surface: rgba(255, 255, 255, 0.62);
  --story-mini-hover: #E3EDE0;
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) {
  background-color: var(--story-surface);
  border-color: var(--story-border);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .card-bg-overlay {
  background:
    radial-gradient(circle at 85% 20%, rgba(167, 201, 87, 0.14) 0%, transparent 60%),
    linear-gradient(var(--story-overlay), var(--story-overlay));
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .card-pill {
  background: var(--story-pill);
  border-color: var(--story-border);
  color: var(--story-accent);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .pill-dot {
  background-color: var(--story-accent);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .card-headline,
.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .metric-big-num {
  color: var(--story-heading);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .card-story-block {
  border-left-color: var(--story-accent);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .card-story-paragraph,
.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .metric-caption,
.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .pillar-mini-desc {
  color: var(--story-body);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .card-metric-row {
  border-top-color: var(--story-border);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .pillar-mini-card {
  background: var(--story-mini-surface);
  border-color: var(--story-border);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .pillar-mini-card:hover {
  background: var(--story-mini-hover);
  border-color: var(--story-accent);
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .pillar-mini-num,
.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .pillar-mini-header .material-symbols-outlined {
  color: var(--story-accent) !important;
}

.story-card:is(:nth-child(1), :nth-child(2), :nth-child(3)) .pillar-mini-title {
  color: var(--story-heading);
}

/* Layering hierarchy: subsequent cards overlap previous ones */
.story-card:nth-child(1) {
  z-index: 10;
}

.story-card:nth-child(2) {
  z-index: 20;
}

.story-card:nth-child(3) {
  z-index: 30;
  margin-bottom: 0;
}

/* Depth-of-Field Dimming Effect (Controlled by about.js) */
.story-card.is-covered {
  transform: scale(0.975) translateY(-10px);
  opacity: 0.45;
  filter: blur(1.5px) brightness(0.7);
}

html[data-theme="light"] .story-card.is-covered {
  filter: blur(1.5px) opacity(0.5);
}

/* Card Atmospheric Background Layers */
.card-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  mix-blend-mode: luminosity;
  pointer-events: none;
  transition: transform 0.8s ease;
}

.card-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(167, 201, 87, 0.14) 0%, transparent 60%),
    linear-gradient(to right, #FFFFFF 42%, rgba(255, 255, 255, 0.88) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, #FFFFFF 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

html[data-theme="dark"] .card-bg-overlay {
  background: radial-gradient(circle at 85% 20%, rgba(167, 201, 87, 0.15) 0%, transparent 60%),
    linear-gradient(to right, var(--color-card) 40%, rgba(34, 54, 41, 0.92) 100%),
    linear-gradient(to bottom, rgba(34, 54, 41, 0.3) 0%, var(--color-card) 100%);
}

.card-content-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Top Pill Badge (Harmonized with Home Page section badges) */
.card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.05rem;
  border-radius: 999px;
  background: var(--color-background-soft);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-family: 'Inter', var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  width: fit-content;
  transition: all 0.3s ease;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  transition: background-color 0.3s ease;
}

html[data-theme="dark"] .card-pill {
  background: rgba(167, 201, 87, 0.12);
  border-color: rgba(167, 201, 87, 0.32);
  color: var(--color-accent);
}

html[data-theme="dark"] .pill-dot {
  background-color: var(--color-accent);
}

/* Card Main Headline: Cormorant Garamond Civilizational Serif */
.card-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--color-primary);
  letter-spacing: -0.015em;
  margin-bottom: 2.2rem;
  max-width: 840px;
  transition: color 0.3s ease;
}

html[data-theme="dark"] .card-headline {
  color: var(--color-text);
}

/* Vertical Accent Story Block */
.card-story-block {
  border-left: 3px solid var(--color-primary);
  padding-left: 1.75rem;
  margin-bottom: 2.5rem;
  max-width: 780px;
  transition: border-color 0.3s ease;
}

html[data-theme="dark"] .card-story-block {
  border-left-color: var(--color-accent);
}

.card-story-paragraph {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

html[data-theme="dark"] .card-story-paragraph {
  color: var(--color-text-muted);
}

/* Huge Metric & Stat Row */
.card-metric-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.metric-big-num {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

html[data-theme="dark"] .metric-big-num {
  color: var(--color-accent);
}

.metric-caption {
  font-family: 'Inter', var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

/* Additional Pillar Breakdown Grid for Section 3 */
.pillars-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  max-width: 820px;
}

.pillar-mini-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-mini-card:hover {
  background: var(--color-background-soft);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

html[data-theme="dark"] .pillar-mini-card {
  background: rgba(24, 39, 29, 0.7);
  border-color: var(--color-border);
}

html[data-theme="dark"] .pillar-mini-card:hover {
  background: rgba(34, 54, 41, 0.85);
  border-color: var(--color-accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 15px rgba(167, 201, 87, 0.1);
}

.pillar-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pillar-mini-num {
  font-family: 'Inter', var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.pillar-mini-header .material-symbols-outlined {
  color: var(--color-primary) !important;
  transition: color 0.3s ease;
}

html[data-theme="dark"] .pillar-mini-num {
  color: var(--color-accent);
}

html[data-theme="dark"] .pillar-mini-header .material-symbols-outlined {
  color: var(--color-accent) !important;
}

.pillar-mini-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  transition: color 0.3s ease;
}

.pillar-mini-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 400;
  transition: color 0.3s ease;
}

/* Call to action & button styles */
.about-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

html[data-theme="dark"] .about-cta-title {
  color: var(--color-text);
}

.about-cta-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.about-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-gold-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-family: 'Inter', var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-gold-primary:hover {
  background: #23472c;
  transform: translateY(-2px);
}

html[data-theme="dark"] .btn-gold-primary {
  background: var(--color-accent);
  color: var(--color-text-on-accent);
}

html[data-theme="dark"] .btn-gold-primary:hover {
  background: #bde06a;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-family: 'Inter', var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  border-color: var(--color-primary);
  background: var(--color-background-soft);
  color: var(--color-primary);
}

html[data-theme="dark"] .btn-outline-light {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

html[data-theme="dark"] .btn-outline-light:hover {
  border-color: var(--color-accent);
  background: rgba(167, 201, 87, 0.12);
  color: var(--color-accent);
}

/* ==========================================================================
   5. RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .about-experience-grid {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
  }

  .story-card {
    padding: 3rem 2.5rem;
    min-height: calc(100vh - 160px);
  }

  .pillars-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .main-about-herosection {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .about-experience-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Make sidebar rail into a sleek sticky top horizontal bar on mobile */
  .about-rail {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: rgba(246, 250, 244, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 1rem;
    margin: 0 -1rem 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  html[data-theme="dark"] .about-rail {
    background: rgba(17, 26, 20, 0.96);
    border-bottom-color: var(--color-border);
  }

  .rail-category-tag {
    display: none;
  }

  .rail-nav {
    flex-direction: row;
    justify-content: space-around;
    gap: 0.5rem;
  }

  .rail-item {
    align-items: center;
  }

  .rail-item-num {
    display: none;
  }

  .rail-item-text {
    font-size: 0.88rem;
    padding-bottom: 0.25rem;
  }

  .story-card {
    top: 130px;
    min-height: auto;
    padding: 2.25rem 1.5rem;
    margin-bottom: 30vh;
  }

  .card-headline {
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
  }

  .card-story-block {
    padding-left: 1rem;
    margin-bottom: 1.75rem;
  }

  .card-story-paragraph {
    font-size: 1rem;
  }

  .card-metric-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .metric-big-num {
    font-size: 2.8rem;
  }
}
@media (max-width: 600px) {
  .main-about-herosection {
    aspect-ratio: auto;
    min-height: clamp(300px, 88vw, 430px);
  }

  .about-video-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    aspect-ratio: auto;
    min-height: clamp(480px, 130vw, 620px);
  }

  .about-video-hero-media-container {
    min-height: 0;
  }

  .about-video-hero-content {
    gap: 0.75rem;
    padding: 1.5rem;
  }

  .about-video-hero-content h1 {
    max-width: 14ch;
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .main-about-herosection > .about-hero-artwork-img {
    object-position: 58% center;
  }

}

.blog-editable-about-hero .about-hero-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.65rem, 1.5vw, 1.25rem);
  padding: clamp(1.5rem, 6vw, 5rem);
  pointer-events: none;
}

.blog-page-image-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.blog-page-image-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(17, 16, 15, 0.94) 0%, rgba(17, 16, 15, 0.94) 38%, rgba(17, 16, 15, 0.68) 48%, transparent 60%);
  content: "";
  pointer-events: none;
}

.blog-page-hero-content {
  position: absolute;
  top: 50%;
  left: clamp(1.25rem, 6vw, 7rem);
  z-index: 2;
  display: flex;
  width: min(48%, 54rem);
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  transform: translateY(-50%);
}

.blog-page-hero-title {
  margin: 0;
  color: #f8faf4;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.blog-editable-about-hero.blog-page-image-hero .about-hero-header {
  position: absolute;
  top: 50%;
  left: clamp(1.25rem, 5vw, 5rem);
  z-index: 1;
  width: min(44%, 42rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  transform: translateY(-50%);
  pointer-events: none;
}

.blog-page-hero-artwork {
  display: block;
  width: 100%;
  height: auto;
}

.blog-page-hero-cta-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: #07552c;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-page-hero-cta-link:hover {
  background: #064522;
  transform: translateY(-2px);
}

.blog-page-hero-cta-link .material-symbols-outlined {
  font-size: 1.25rem;
}

.blog-page-hero-cta-link:focus-visible {
  outline: 3px solid #07552c;
  outline-offset: 3px;
}

.blog-editable-about-hero .about-top-kicker,
.blog-editable-about-hero .about-top-title {
  position: static;
  opacity: 1;
}

.blog-editable-about-hero .about-top-kicker {
  color: #173c26;
}

.blog-editable-about-hero .about-top-kicker::before,
.blog-editable-about-hero .about-top-kicker::after {
  background: currentColor;
}

.blog-editable-about-hero .about-top-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  background: none;
  color: #173c26;
  -webkit-text-fill-color: currentColor;
}

.blog-editable-about-hero.blog-page-image-hero .about-top-title {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.blog-editable-about-hero .about-hero-actions {
  position: static;
  width: auto;
  height: auto;
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
}

.blog-editable-about-hero .about-hero-pill {
  width: auto;
  height: auto;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #fff;
  background: #07552c;
  box-shadow: 0 8px 20px rgba(7, 85, 44, 0.25);
  text-decoration: none;
  transform: none;
}

.blog-editable-about-hero .about-hero-pill::before {
  display: none;
}

.blog-editable-about-hero .about-hero-pill:hover {
  background: #064522;
  transform: translateY(-2px);
}

.blog-editable-about-hero .about-hero-pill .material-symbols-outlined {
  display: inline;
  font-size: 1.1rem;
}

.blog-editable-about-hero .about-hero-pill:focus-visible {
  outline-color: #07552c;
}

@media (max-width: 600px) {
  .blog-page-image-hero::after {
    background: linear-gradient(to right, rgba(17, 16, 15, 0.94) 0%, rgba(17, 16, 15, 0.94) 56%, rgba(17, 16, 15, 0.68) 68%, transparent 82%);
  }

  .blog-page-hero-content {
    left: 1rem;
    width: calc(100% - 2rem);
    gap: 0.5rem;
  }

  .blog-page-hero-title {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
  }

  .blog-page-hero-cta-link {
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
  }

  .blog-editable-about-hero .about-hero-header {
    gap: 0.7rem;
    padding: 1.5rem;
  }

  .blog-editable-about-hero .about-top-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .blog-editable-about-hero.blog-page-image-hero .about-hero-header {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 2rem 1.5rem;
    background: #f8faf5;
    transform: none;
  }

  .blog-page-image-hero .about-hero-header {
    order: 2;
  }

}