/* =========================================================
   SHAAGIRD OUR HISTORY — ALTERNATING HORIZONTAL TIMELINE
   Branded with Shaagird Teal (#299D8E), Gold (#FBBF24), Navy (#102F36)
   Matches Official Shaagird Design Language & Verified Annual Records
   ========================================================= */

:root {
  --sh-teal: #299D8E;
  --sh-teal-dark: #075B5B;
  --sh-teal-deep: #054848;
  --sh-teal-soft: #EBF7F5;
  --sh-teal-light: #F4FAF8;
  --sh-teal-watermark: #D6EDE7;
  --sh-yellow: #F9B500;
  --sh-yellow-hover: #E0A200;
  --sh-navy: #102F36;
  --sh-slate: #264653;
  --sh-text: #3D5A56;
  --sh-muted: #6B8784;
  --sh-border: rgba(41, 157, 142, 0.18);
  --sh-card-bg: #FFFFFF;
  --sh-bg: #FCFDFD;
  --sh-white: #FFFFFF;
  --sh-shadow-sm: 0 4px 14px rgba(16, 47, 54, 0.05);
  --sh-shadow-md: 0 10px 28px rgba(16, 47, 54, 0.08);
  --sh-shadow-lg: 0 20px 48px rgba(16, 47, 54, 0.12);
  --sh-radius: 16px;
  --sh-radius-sm: 8px;
}

/* Page Scope */
.history-page {
  background: var(--sh-bg);
  color: var(--sh-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

/* =========================================================
   1. HERO SECTION ("Our Journey, Our Impact")
   ========================================================= */
.hist-hero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FBF9 100%);
  padding: 44px 0 36px 0;
  border-bottom: 1px solid rgba(41, 157, 142, 0.12);
  overflow: hidden;
}

.hist-hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hist-hero-text {
  max-width: 560px;
}

.hist-kicker-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hist-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sh-teal);
}

.hist-kicker-line {
  width: 52px;
  height: 2px;
  background: var(--sh-teal);
  border-radius: 2px;
}

.hist-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--sh-navy);
  margin: 0 0 18px 0;
  letter-spacing: -0.02em;
}

.hist-hero-title .impact-accent {
  color: var(--sh-teal);
  font-style: italic;
}

.hist-hero-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--sh-text);
  margin: 0 0 28px 0;
  font-weight: 400;
}

.hist-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sh-yellow);
  color: #102F36;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hist-cta-btn:hover {
  background: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hist-cta-btn i {
  transition: transform 0.25s ease;
  font-size: 13px;
}

.hist-cta-btn:hover i {
  transform: translateX(4px);
}

/* Hero Right Visual Collage */
.hist-hero-visual {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sun-disc {
  position: absolute;
  top: 10px;
  left: 20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #FBBF24 0%, #F59E0B 100%);
  border-radius: 50%;
  opacity: 0.92;
  filter: drop-shadow(0 10px 30px rgba(245, 158, 11, 0.3));
  z-index: 1;
}

.hero-mint-shape {
  position: absolute;
  top: 15%;
  left: 5%;
  right: 5%;
  bottom: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(41, 157, 142, 0.22) 0%, rgba(235, 247, 245, 0.6) 70%, transparent 100%);
  border-radius: 60% 40% 50% 50% / 50% 50% 40% 60%;
  z-index: 1;
  pointer-events: none;
}

.hero-main-card {
  position: relative;
  z-index: 3;
  width: 290px;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(16, 47, 54, 0.18);
  border: 4px solid #FFFFFF;
  transform: translateY(-5px);
  background: #E8F4F1;
}

.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-backpack-overlay {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 47, 54, 0.88);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.hero-backpack-overlay i {
  color: var(--sh-teal);
  font-size: 11px;
}

.hero-floating-badge {
  position: absolute;
  top: 25px;
  right: 25%;
  z-index: 4;
  background: #FFFFFF;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(16, 47, 54, 0.14);
  border: 1px solid rgba(41, 157, 142, 0.2);
  transform: rotate(-6deg);
  text-align: center;
  max-width: 155px;
}

.badge-brush-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #102F36;
  margin: 0;
}

.badge-brush-text span {
  color: var(--sh-teal-dark);
}

.badge-heart {
  color: var(--sh-teal);
  font-size: 14px;
  display: inline-block;
  margin-top: 2px;
}

.hero-polaroid-top {
  position: absolute;
  top: 20px;
  right: 15px;
  z-index: 3;
  width: 170px;
  background: #FFFFFF;
  padding: 8px 8px 14px 8px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(16, 47, 54, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform: rotate(7deg);
  transition: transform 0.3s ease;
}

.hero-polaroid-top:hover {
  transform: rotate(3deg) scale(1.04);
}

.hero-polaroid-top img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.hero-polaroid-bottom {
  position: absolute;
  bottom: 15px;
  right: 45px;
  z-index: 4;
  width: 155px;
  background: #FFFFFF;
  padding: 8px 8px 14px 8px;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(16, 47, 54, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.hero-polaroid-bottom:hover {
  transform: rotate(-1deg) scale(1.04);
}

.hero-polaroid-bottom img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.hero-leaves-accent {
  position: absolute;
  top: 8px;
  right: 0;
  width: 72px;
  height: 72px;
  color: var(--sh-teal);
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}

/* =========================================================
   2. OUR JOURNEY — ALTERNATING HORIZONTAL TIMELINE CAROUSEL
   ========================================================= */
.journey-section {
  position: relative;
  background: linear-gradient(180deg, #F0FAF7 0%, #E8F6F2 50%, #F5FBF9 100%);
  padding: 60px 0 70px 0;
  border-bottom: 1px solid rgba(41, 157, 142, 0.15);
  overflow: hidden;
}

/* Header with Kicker & Dot Grid */
.journey-header-wrap {
  text-align: center;
  position: relative;
  max-width: 780px;
  margin: 0 auto 46px auto;
  padding: 0 20px;
}

.journey-kicker-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.kicker-dash {
  width: 32px;
  height: 2.5px;
  background: var(--sh-yellow);
  border-radius: 2px;
}

.journey-kicker-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sh-teal-dark);
}

.journey-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--sh-navy);
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.journey-main-title .journey-teal-word {
  color: var(--sh-teal);
}

.journey-subtitle {
  font-size: 16px;
  color: #4A6E67;
  margin: 0;
  font-weight: 500;
}

/* Decorative Dot Grid Ornament in Top-Right */
.journey-dot-grid {
  position: absolute;
  top: -4px;
  right: 40px;
  display: grid;
  grid-template-columns: repeat(6, 6px);
  grid-gap: 8px;
  opacity: 0.35;
  pointer-events: none;
}

.journey-dot-grid span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sh-teal);
}

/* Main 2-Column Layout */
.journey-content-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* Left Feature Card: Our Story */
.our-story-feature-card {
  background: linear-gradient(165deg, #075B5B 0%, #054848 100%);
  border-radius: 22px;
  padding: 38px 28px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(7, 91, 91, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 520px;
}

.story-badge-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--sh-yellow);
  color: #102F36;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  box-shadow: 0 8px 22px rgba(249, 181, 0, 0.38);
}

.our-story-feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

.our-story-feature-card p {
  font-size: 14.5px;
  line-height: 1.68;
  color: #E2F2EE;
  margin: 0 0 26px 0;
  position: relative;
  z-index: 2;
}

.story-impact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  align-self: flex-start;
  transition: transform 0.2s ease;
  z-index: 2;
}

.story-impact-link span {
  border-bottom: 2px solid var(--sh-yellow);
  padding-bottom: 2px;
}

.story-impact-link i {
  color: var(--sh-yellow);
  font-size: 13px;
  transition: transform 0.2s ease;
}

.story-impact-link:hover i {
  transform: translateX(5px);
}

.story-botanical-art {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 175px;
  height: 175px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Carousel Stage Wrapper */
.journey-carousel-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

/* Floating Side Nav Arrows */
.journey-nav-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(41, 157, 142, 0.24);
  color: var(--sh-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(7, 91, 91, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.journey-nav-arrow.prev-btn {
  left: -18px;
}

.journey-nav-arrow.next-btn {
  right: -18px;
}

.journey-nav-arrow:hover:not(:disabled) {
  background: var(--sh-teal);
  color: #FFFFFF;
  border-color: var(--sh-teal);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 28px rgba(41, 157, 142, 0.25);
}

.journey-nav-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Viewport */
.journey-carousel-viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 16px 0;
  cursor: grab;
  border-radius: 16px;
}

.journey-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.journey-carousel-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}

/* 6-Column Alternating Grid */
.journey-staggered-grid {
  display: grid;
  grid-template-columns: repeat(6, 260px);
  grid-template-rows: minmax(185px, auto) 54px minmax(185px, auto);
  row-gap: 0;
  column-gap: 16px;
  position: relative;
  width: max-content;
  padding: 0 12px;
  align-items: stretch;
}

/* Middle Spine Bar (Row 2) */
.timeline-stagger-spine {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  height: 54px;
  display: grid;
  grid-template-columns: repeat(6, 260px);
  column-gap: 16px;
  align-items: center;
  margin: 0;
}

.timeline-spine-bar {
  position: absolute;
  left: 130px;
  right: 130px;
  height: 3px;
  background: linear-gradient(90deg, #299D8E 0%, #299D8E 75%, #F9B500 100%);
  border-radius: 3px;
  z-index: 1;
}

.timeline-spine-node {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 54px;
  cursor: pointer;
}

.node-circle-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--sh-teal);
  box-shadow: 0 2px 8px rgba(16, 47, 54, 0.16);
  transition: all 0.28s ease;
}

.timeline-spine-node:last-child .node-circle-ring {
  border-color: var(--sh-yellow);
}

.timeline-spine-node:hover .node-circle-ring,
.timeline-spine-node.is-active .node-circle-ring {
  transform: scale(1.35);
  border-color: var(--sh-yellow);
  box-shadow: 0 0 0 6px rgba(41, 157, 142, 0.22);
}

/* Cards */
.stagger-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 22px 20px 20px 20px;
  box-shadow: 0 6px 22px rgba(7, 91, 91, 0.06);
  border: 1px solid rgba(41, 157, 142, 0.15);
  position: relative;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 3;
  width: 260px;
}

.stagger-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(41, 157, 142, 0.16);
  border-color: var(--sh-teal);
}

.stagger-card.is-active-card {
  border-color: var(--sh-teal);
  box-shadow: 0 12px 30px rgba(41, 157, 142, 0.14);
}

/* Card Positioning */
.stagger-card.pos-1 { grid-column: 1; grid-row: 1; }
.stagger-card.pos-2 { grid-column: 2; grid-row: 3; }
.stagger-card.pos-3 { grid-column: 3; grid-row: 1; }
.stagger-card.pos-4 { grid-column: 4; grid-row: 3; }
.stagger-card.pos-5 { grid-column: 5; grid-row: 1; }
.stagger-card.pos-6 { grid-column: 6; grid-row: 3; }

/* Top Card Stem */
.stagger-card.is-top {
  align-self: end;
  margin-bottom: 0;
}

.stagger-card.is-top::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 16px;
  border-left: 2px dashed #299D8E;
  pointer-events: none;
}

/* Bottom Card Stem */
.stagger-card.is-bottom {
  align-self: start;
  margin-top: 0;
}

.stagger-card.is-bottom::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 16px;
  border-left: 2px dashed #299D8E;
  pointer-events: none;
}

/* Card Internals */
.stagger-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stagger-year-box {
  display: flex;
  flex-direction: column;
}

.stagger-year-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sh-teal);
  margin-bottom: 3px;
}

.stagger-year-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--sh-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stagger-year-dash {
  width: 28px;
  height: 3.5px;
  background: var(--sh-yellow);
  border-radius: 3px;
  margin-top: 6px;
}

.stagger-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EBF7F5;
  color: #075B5B;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(41, 157, 142, 0.16);
  transition: all 0.25s ease;
}

.stagger-card:hover .stagger-icon-badge {
  background: var(--sh-teal);
  color: #FFFFFF;
  transform: scale(1.08) rotate(6deg);
}

.stagger-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--sh-navy);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.stagger-card-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #4A6562;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stagger-card-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sh-teal);
  transition: transform 0.2s ease;
}

.stagger-card:hover .stagger-card-hint {
  transform: translateX(3px);
  color: var(--sh-teal-dark);
}

/* Bottom Controls: Progress Bar & Dots */
.journey-footer-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding: 0 10px;
}

.journey-progress-track {
  width: 100%;
  height: 8px;
  background: #DDF0EB;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.journey-progress-bar {
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, #299D8E 0%, #299D8E 75%, #F9B500 100%);
  border-radius: 10px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.journey-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #C2E2DA;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.journey-dot:hover {
  background: #299D8E;
  opacity: 0.8;
}

.journey-dot.is-active {
  width: 32px;
  border-radius: 12px;
  background: #299D8E;
  box-shadow: 0 2px 10px rgba(41, 157, 142, 0.4);
}

/* =========================================================
   3. COMPACT HISTORICAL ARCHIVE ACCORDION
   ========================================================= */
.hist-archive-section {
  background: #F8FBFA;
  padding: 50px 0 58px 0;
  border-bottom: 1px solid rgba(41, 157, 142, 0.12);
}

.hist-archive-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
}

.archive-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 34px auto;
}

.archive-badge {
  display: inline-block;
  background: rgba(41, 157, 142, 0.12);
  color: var(--sh-teal);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.archive-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--sh-navy);
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.archive-intro {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sh-text);
  margin: 0;
}

.archive-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.archive-row-item {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid rgba(41, 157, 142, 0.18);
  box-shadow: 0 4px 14px rgba(16, 47, 54, 0.04);
  overflow: hidden;
  transition: all 0.28s ease;
}

.archive-row-item:hover {
  border-color: rgba(41, 157, 142, 0.35);
  box-shadow: 0 6px 18px rgba(41, 157, 142, 0.08);
}

.archive-row-item.is-open {
  border-color: var(--sh-teal);
  box-shadow: 0 8px 24px rgba(41, 157, 142, 0.12);
}

.archive-row-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  outline: none;
  transition: background 0.2s ease;
}

.archive-row-trigger:hover {
  background: rgba(41, 157, 142, 0.03);
}

.archive-trigger-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.archive-year-pill {
  background: var(--sh-teal-soft);
  color: var(--sh-teal-dark);
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  white-space: nowrap;
  border: 1px solid rgba(41, 157, 142, 0.2);
}

.archive-row-item.is-open .archive-year-pill {
  background: var(--sh-teal);
  color: #FFFFFF;
}

.archive-row-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--sh-navy);
  margin: 0;
}

.archive-trigger-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.archive-order-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--sh-muted);
}

.archive-chevron-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F0F7F5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sh-teal);
  font-size: 11px;
  transition: transform 0.3s ease, background 0.2s ease;
}

.archive-row-item.is-open .archive-chevron-icon {
  transform: rotate(180deg);
  background: var(--sh-teal);
  color: #FFFFFF;
}

.archive-drawer-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  padding: 0 22px;
}

.archive-row-item.is-open .archive-drawer-panel {
  max-height: 900px;
  opacity: 1;
  padding: 4px 22px 22px 22px;
  border-top: 1px solid rgba(41, 157, 142, 0.1);
}

.archive-full-body {
  font-size: 14px;
  line-height: 1.7;
  color: #385552;
  margin: 14px 0;
}

.archive-full-body p {
  margin: 0 0 12px 0;
}

.archive-full-body p:last-child {
  margin-bottom: 0;
}

.archive-footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(41, 157, 142, 0.2);
}

.slide-tag {
  background: var(--sh-teal-soft);
  color: var(--sh-teal-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.slide-tag i {
  color: var(--sh-teal);
  font-size: 10px;
}

/* =========================================================
   4. MODAL DIALOG (Interactive Full Record)
   ========================================================= */
.hist-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 38, 34, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hist-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.hist-modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 740px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(41, 157, 142, 0.2);
}

.hist-modal-overlay.is-active .hist-modal-box {
  transform: translateY(0) scale(1);
}

.hist-modal-header {
  background: linear-gradient(115deg, #11574E 0%, #1A7B6F 40%, #299D8E 100%);
  color: #FFFFFF;
  padding: 24px 28px;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.hist-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hist-modal-close-btn:hover {
  background: #000000;
  transform: rotate(90deg);
}

.modal-year-badge {
  display: inline-block;
  background: var(--sh-yellow);
  color: #102F36;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.modal-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #FFFFFF;
}

.hist-modal-content {
  padding: 28px;
  color: #385552;
  font-size: 15px;
  line-height: 1.75;
}

.hist-modal-content p {
  margin: 0 0 16px 0;
}

.modal-milestone-footer {
  padding: 16px 28px 24px 28px;
  border-top: 1px solid rgba(41, 157, 142, 0.15);
  display: flex;
  justify-content: flex-end;
}

.modal-dismiss-btn {
  background: var(--sh-teal);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-dismiss-btn:hover {
  background: #000000;
}

/* =========================================================
   5. CLOSING CTA BANNER ("Education Creates Brighter Tomorrows")
   Styled with "Our Approach" Signature Light Mint Palette
   ========================================================= */
.hist-closing-cta {
  background: linear-gradient(135deg, #f0fbf8 0%, #e5f6f2 50%, #fbfdfc 100%);
  color: #103347;
  padding: 30px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(41, 157, 142, 0.22);
  border-bottom: 1px solid rgba(41, 157, 142, 0.22);
  box-shadow: 0 4px 20px rgba(41, 157, 142, 0.05);
}

.hist-closing-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  right: 15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(41, 157, 142, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hist-closing-cta::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 6%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(41, 157, 142, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hist-cta-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.hist-cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.hist-cta-leaf {
  width: 32px;
  height: 32px;
  color: var(--sh-teal);
  filter: drop-shadow(0 2px 6px rgba(41, 157, 142, 0.25));
  flex-shrink: 0;
}

.hist-cta-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: #103347;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hist-cta-headline .cta-gold-accent {
  color: var(--sh-teal);
  font-style: italic;
  font-weight: 800;
}

.hist-cta-divider {
  width: 1.5px;
  height: 38px;
  background: rgba(41, 157, 142, 0.3);
  margin-left: 10px;
}

.hist-cta-center {
  flex: 1;
  max-width: 580px;
}

.hist-cta-msg {
  font-size: 14.5px;
  line-height: 1.6;
  color: #2D454A;
  margin: 0;
  font-weight: 500;
}

.hist-cta-right {
  flex-shrink: 0;
}

.hist-cta-yellow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sh-yellow);
  color: #102F36;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.hist-cta-yellow-btn:hover {
  background: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hist-cta-yellow-btn i {
  transition: transform 0.25s ease;
  font-size: 12px;
}

.hist-cta-yellow-btn:hover i {
  transform: translateX(4px);
}

/* =========================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================= */

/* =========================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================= */

@media (max-width: 1280px) {
  .journey-content-layout {
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 0 20px;
  }
}

@media (max-width: 1099px) {
  .journey-content-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }
  .our-story-feature-card {
    min-height: 280px;
  }
  .journey-dot-grid {
    display: none;
  }
  .journey-nav-arrow.prev-btn {
    left: 4px;
  }
  .journey-nav-arrow.next-btn {
    right: 4px;
  }
}

@media (max-width: 768px) {
  /* 0. Compact Mobile Hero Section */
  .hist-hero {
    padding: 24px 0 20px 0 !important;
  }

  .hist-hero-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 18px !important;
    text-align: center;
  }

  .hist-hero-text {
    max-width: 100% !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hist-kicker-wrapper {
    margin-bottom: 8px !important;
  }

  .hist-kicker {
    font-size: 11.5px !important;
  }

  .hist-hero-title {
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 1.15 !important;
    margin: 0 0 10px 0 !important;
  }

  .hist-hero-desc {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin: 0 0 16px 0 !important;
    max-width: 460px;
  }

  .hist-cta-btn {
    padding: 10px 22px !important;
    font-size: 13.5px !important;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.28) !important;
  }

  .hist-hero-visual {
    height: auto !important;
    max-width: 290px;
    margin: 0 auto !important;
    padding: 6px 0 0 !important;
    position: relative;
  }

  .hero-sun-disc,
  .hero-mint-shape,
  .hero-leaves-accent {
    display: none !important;
  }

  .hero-main-card {
    width: 100% !important;
    max-width: 270px !important;
    height: 185px !important;
    border-radius: 16px !important;
    border: 3px solid #FFFFFF !important;
    margin: 0 auto !important;
    box-shadow: 0 10px 26px rgba(16, 47, 54, 0.12) !important;
    transform: none !important;
  }

  .hero-backpack-overlay {
    bottom: 12px !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
  }

  .hero-floating-badge {
    position: absolute !important;
    top: -6px !important;
    right: -8px !important;
    padding: 8px 12px !important;
    max-width: 130px !important;
    transform: rotate(-3deg) !important;
    box-shadow: 0 8px 20px rgba(16, 47, 54, 0.12) !important;
  }

  .badge-brush-text {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  /* 1. Journey Header & Section Spacing */
  .journey-section {
    padding: 36px 0 48px 0;
    overflow: hidden;
    background: #FCFDFD;
  }

  .journey-header-wrap {
    text-align: center;
    margin-bottom: 22px;
    padding: 0 16px;
    position: relative;
  }

  .journey-kicker-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .kicker-dash {
    width: 24px;
    height: 3px;
    background: var(--sh-yellow);
    border-radius: 2px;
  }

  .journey-kicker-text {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--sh-teal);
    text-transform: uppercase;
  }

  .journey-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 7vw, 36px);
    font-weight: 800;
    color: var(--sh-navy);
    margin: 0 0 6px 0;
    line-height: 1.15;
  }

  .journey-main-title .journey-teal-word {
    color: var(--sh-teal);
  }

  .journey-subtitle {
    font-size: 13.5px;
    color: var(--sh-muted);
    margin: 0 auto;
    max-width: 320px;
    line-height: 1.5;
  }

  .journey-dot-grid {
    display: none;
  }

  /* 2. Content Layout: Vertical Single Column */
  .journey-content-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 3. Dark Teal "Our Story" Feature Card */
  .our-story-feature-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(145deg, #075B5B 0%, #054848 100%);
    border-radius: 20px;
    padding: 24px 20px 22px 20px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(7, 91, 91, 0.16);
    border: 1px solid rgba(41, 157, 142, 0.25);
    min-height: auto;
  }

  .our-story-feature-card .story-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sh-yellow);
    color: #102F36;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(249, 181, 0, 0.3);
  }

  .our-story-feature-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
  }

  .our-story-feature-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px 0;
    max-width: 90%;
  }

  .our-story-feature-card .story-impact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 2px solid var(--sh-yellow);
    padding-bottom: 2px;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .our-story-feature-card .story-impact-link:hover {
    color: var(--sh-yellow);
    transform: translateX(2px);
  }

  .story-botanical-art {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 140px;
    height: 140px;
    opacity: 0.16;
    pointer-events: none;
  }

  /* 4. Vertical Timeline Container */
  .journey-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
  }

  .journey-carousel-viewport {
    overflow: visible !important;
    width: 100% !important;
    padding: 0 !important;
    cursor: default !important;
  }

  .journey-nav-arrow,
  .journey-footer-controls,
  .timeline-stagger-spine {
    display: none !important;
  }

  /* 5. Vertical Timeline List & Left Connector Line */
  .journey-staggered-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    padding: 6px 0 6px 28px !important;
    gap: 16px !important;
  }

  /* Continuous Vertical Teal Connector Line */
  .journey-staggered-grid::before {
    content: "";
    position: absolute;
    top: 26px;
    bottom: 30px;
    left: 8px;
    width: 2.5px;
    background: #299D8E;
    border-radius: 2px;
    z-index: 1;
  }

  /* 6. Milestone Cards */
  .stagger-card {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: auto !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    padding: 18px 46px 18px 18px !important; /* right padding leaves room for chevron */
    border: 1.5px solid rgba(41, 157, 142, 0.16) !important;
    box-shadow: 0 4px 18px rgba(16, 47, 54, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    z-index: 3 !important;
  }

  .stagger-card:hover,
  .stagger-card.is-active-card {
    border-color: var(--sh-teal) !important;
    box-shadow: 0 8px 26px rgba(41, 157, 142, 0.14) !important;
    transform: translateY(-2px) !important;
  }

  /* Remove desktop stems */
  .stagger-card.is-top::after,
  .stagger-card.is-bottom::before {
    display: none !important;
  }

  /* Circular Timeline Node on the Left Line */
  .stagger-card::before {
    content: "";
    position: absolute;
    left: -28px; /* Centers directly on left: 8px of parent container */
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3.5px solid var(--sh-teal);
    box-shadow: 0 0 0 3px rgba(41, 157, 142, 0.18);
    z-index: 3;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }

  /* Branch Line from Node into Card */
  .stagger-card::after {
    content: "";
    position: absolute;
    left: -20px;
    top: 30px;
    width: 20px;
    height: 2px;
    background: rgba(41, 157, 142, 0.35);
    z-index: 2;
  }

  /* Highlight Latest Milestone Node (2025-2026) */
  .stagger-card:first-child::before,
  .stagger-card.is-active-card::before {
    background: var(--sh-teal);
    border-color: #FFFFFF;
    box-shadow: 0 0 0 3.5px var(--sh-teal), 0 2px 8px rgba(41, 157, 142, 0.35);
    transform: scale(1.1);
  }

  /* Card Header */
  .stagger-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 12px;
  }

  .stagger-year-box {
    display: flex;
    flex-direction: column;
  }

  .stagger-year-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sh-teal);
    margin-bottom: 2px;
  }

  .stagger-year-text {
    font-size: 21px;
    font-weight: 800;
    color: var(--sh-navy);
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .stagger-year-dash {
    display: none;
  }

  /* Circular Icon with Light Mint Background */
  .stagger-icon-badge {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #EAF7F4;
    color: #075B5B;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(41, 157, 142, 0.2);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  }

  .stagger-card:hover .stagger-icon-badge {
    background: var(--sh-teal);
    color: #FFFFFF;
    transform: scale(1.05);
  }

  /* Milestone Title */
  .stagger-card-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--sh-teal-dark);
    margin: 2px 0 6px 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
  }

  /* Milestone Description */
  .stagger-card-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #4A6562;
    margin: 0;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }

  /* Right Arrow / Chevron Indicator (matching mockup) */
  .stagger-card-hint {
    position: absolute;
    right: 18px;
    top: 55%;
    transform: translateY(-50%);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sh-teal);
    font-size: 15px;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .stagger-card-hint span {
    display: none;
  }

  .stagger-card-hint i {
    font-size: 15px;
  }

  .stagger-card:hover .stagger-card-hint {
    transform: translateY(-50%) translateX(3px);
    color: var(--sh-teal-dark);
  }

  /* 7. Extra compact adjustments for small mobile viewports (320px - 360px) */
  @media (max-width: 360px) {
    .journey-content-layout {
      padding: 0 10px;
    }
    .journey-staggered-grid {
      padding-left: 24px !important;
    }
    .journey-staggered-grid::before {
      left: 6px;
    }
    .stagger-card::before {
      left: -24px;
      width: 12px;
      height: 12px;
    }
    .stagger-card::after {
      left: -16px;
      width: 16px;
    }
    .stagger-card {
      padding: 16px 36px 16px 14px !important;
    }
    .stagger-year-text {
      font-size: 18px;
    }
    .stagger-icon-badge {
      width: 36px;
      height: 36px;
      min-width: 36px;
      font-size: 14px;
    }
    .stagger-card-title {
      font-size: 14.5px;
    }
    .stagger-card-desc {
      font-size: 12.5px;
    }
  }

  /* Closing CTA mobile styles preservation */
  .hist-cta-container {
    padding: 0 20px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .hist-cta-left {
    justify-content: center;
  }
  .hist-cta-divider {
    display: none;
  }
  .hist-cta-headline {
    font-size: 20px;
    white-space: normal;
  }
  .hist-cta-yellow-btn {
    width: 100%;
    justify-content: center;
  }
}
