/* ============================================================
   OUR WORK PAGE STYLES (Figma Mega Prompt Spec)
   ============================================================ */

:root {
  /* Color Palette */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-blue-banner: #4c66c5;
  --color-blue-accent: #4b68ff;
  --color-blue-activities: #3b54b2;
  --color-green-textile: #95dc6f;
  --color-green-arch: #62cb2c;
  --color-card-border-purple: #8a38f5;
  --color-dark-bg: #0c0e12;
  --color-card-dark: #14181f;
  --color-text-muted: #9da5b4;
  --color-text-slate: #64748b;

  /* Typography & Layout */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono-tag: 'Roboto', sans-serif;
  --max-width: 1440px;
  --page-margin: max(24px, calc((100vw - 1440px) / 2));
}

body.our-work-page {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ============================================================
   1. NARRATIVE INTRO SECTIONS (2-Column Grid)
   ============================================================ */
.work-intro-section {
  position: relative;
  width: 100%;
  background-color: var(--color-black);
  padding: 64px var(--page-margin);
  box-sizing: border-box;
  overflow: hidden;
}

.work-intro-grid {
  display: grid;
  grid-template-columns: 1fr clamp(200px, 22vw, 300px);
  gap: 48px;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 520px;
}

.work-intro-content {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  z-index: 2;
}

.work-section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 0;
  line-height: 1.1;
}

.work-section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 22px);
  font-style: italic;
  color: var(--color-blue-accent);
  margin: 0;
  line-height: 1.4;
}

.work-section-description {
  font-family: var(--font-body);
  font-size: clamp(13.5px, 1.05vw, 15px);
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
}

.work-section-description p {
  margin-bottom: 16px;
}

.work-section-description p:last-child {
  margin-bottom: 0;
}

.btn-join-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border-radius: 42px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 12px;
}

.btn-join-pill:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Standalone Unifying Section: Our Shared Goal */
.work-shared-goal-section {
  width: 100%;
  background-color: #07090d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px var(--page-margin) 56px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.work-shared-goal-content {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.shared-goal-kicker {
  font-family: 'Roboto', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green-arch);
}

.shared-goal-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--color-white);
  margin: 0;
  line-height: 1.2;
}

.shared-goal-desc {
  font-family: var(--font-body);
  font-size: clamp(14.5px, 1.25vw, 17px);
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

/* Repeating Pattern Columns */
.story-pattern-col,
.arch-pattern-col,
.work-intro-grid .story-pattern-col,
.work-intro-grid .arch-pattern-col {
  grid-column: 2 !important;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background-image: url('/assets/repeating-our-story.png');
  background-repeat: repeat-y;
  background-position: right top;
  background-size: clamp(180px, 18vw, 250px) auto;
  pointer-events: none;
  user-select: none;
  display: block;
}

.arch-pattern-col.white-semicircle-pattern {
  background-image: url('/assets/White-Semi-circle.png');
  background-repeat: repeat-y;
  background-position: right top;
  background-size: clamp(150px, 15vw, 220px) auto;
  filter: none;
}

.arch-pattern-col.black-semicircle-pattern {
  background-image: url('/assets/Black-Semi-circle.png');
  background-repeat: repeat-y;
  background-position: right top;
  background-size: clamp(150px, 15vw, 220px) auto;
  filter: none;
}

/* Expanded Fossil Fuel Phaseout Section Variant (White BG & Black Semi-Circles) */
.work-intro-section.fossil-white-section {
  background-color: #FFFFFF;
  color: var(--color-black);
  padding: 64px var(--page-margin);
}

.work-intro-section.fossil-white-section .work-section-title {
  color: var(--color-black);
  font-family: var(--font-heading);
}

.work-intro-section.fossil-white-section .work-section-subtitle {
  color: #4f46e5;
  font-style: italic;
}

.work-intro-section.fossil-white-section .work-section-description {
  color: #334155;
}

.work-intro-section.fossil-white-section .btn-join-pill {
  background-color: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.work-intro-section.fossil-white-section .btn-join-pill:hover {
  background-color: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

/* Textile Narrative Section Variant (Light Green BG) */
.work-intro-section.textile-section {
  background-color: var(--color-green-textile);
  color: var(--color-black);
}

.work-intro-section.textile-section .work-section-title {
  color: var(--color-black);
}

.work-intro-section.textile-section .work-section-subtitle {
  color: #1d4ed8;
}

.work-intro-section.textile-section .work-section-description {
  color: #1e293b;
}

.work-intro-section.textile-section .btn-join-pill {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.work-intro-section.textile-section .btn-join-pill:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-black);
}

/* ============================================================
   2. EXPANDABLE ACCORDION BANNERS
   ============================================================ */
.expandable-bar-banner {
  width: 100%;
  padding: 36px var(--page-margin);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.expandable-bar-banner.royal-blue-banner {
  background-color: var(--color-blue-banner);
  color: var(--color-white);
}

.expandable-bar-banner.royal-blue-banner:hover {
  background-color: #3f57b3;
}

.expandable-bar-banner.green-banner {
  background-color: var(--color-green-textile);
  color: var(--color-black);
}

.expandable-bar-banner.green-banner:hover {
  background-color: #84cb5e;
}

.expandable-bar-banner.dark-banner {
  background-color: #11141c;
  color: var(--color-white);
}

.expandable-bar-banner.dark-banner:hover {
  background-color: #181d28;
}

.expandable-bar-banner.blue-activities-banner {
  background-color: var(--color-blue-activities);
  color: var(--color-white);
}

.expandable-bar-banner.blue-activities-banner:hover {
  background-color: #32479e;
}

.bar-icon-wrap {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar-icon-wrap.double-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: auto;
  width: auto;
}

.tab-scroll-icon {
  width: 32px;
  height: auto;
  display: block;
}

.tab-scroll-icon.rotated-180 {
  transform: rotate(180deg);
}

.bar-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}

.bar-subtitle {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-style: italic;
  opacity: 0.9;
  margin: 0;
}

.btn-bar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 36px;
  border-radius: 42px;
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.btn-bar-action.white-btn {
  background-color: var(--color-white);
  color: var(--color-black);
}

.expandable-bar-banner:hover .btn-bar-action {
  transform: scale(1.05);
}

.bar-toggle-indicator {
  position: absolute;
  right: var(--page-margin);
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.expandable-bar-banner.is-expanded .bar-toggle-indicator {
  transform: translateY(-50%) rotate(180deg);
}

/* ============================================================
   3. EXPANDABLE DRAWER CONTENT CONTAINER
   ============================================================ */
.expandable-drawer-content {
  width: 100%;
  display: none;
  overflow: hidden;
}

.expandable-drawer-content:not(.is-open) {
  display: none !important;
}

.expandable-drawer-content.is-open {
  display: block !important;
  animation: drawerFadeIn 0.35s ease forwards;
}

@keyframes drawerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   FOSSIL FUEL PHASEOUT ARTICLE LINKS & PUBLICATIONS
   ============================================================ */
.fossil-resources-section {
  width: 100%;
  background-color: #0b0d12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px var(--page-margin) 72px;
  box-sizing: border-box;
}

.fossil-resources-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.fossil-resources-header {
  margin-bottom: 36px;
  max-width: 820px;
}

.fossil-resources-kicker {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 8px;
}

.fossil-resources-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.fossil-resources-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 15px);
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.fossil-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.fossil-link-card {
  display: flex;
  flex-direction: column;
  background: rgba(20, 24, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: hidden;
}

.fossil-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(28, 33, 44, 0.95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(96, 165, 250, 0.15);
}

.fossil-link-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.fossil-link-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.fossil-link-arrow {
  font-size: 16px;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.fossil-link-card:hover .fossil-link-arrow {
  transform: translate(2px, -2px);
  color: #60a5fa;
}

.fossil-link-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: #f1f5f9;
  margin: 0 0 8px 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.fossil-link-card:hover .fossil-link-title {
  color: #ffffff;
}

.fossil-link-publisher {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fossil-link-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 20px 0;
  flex: 1;
}

.fossil-link-action {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.35);
  transition: all 0.22s ease;
  width: fit-content;
  margin-top: auto;
}

.fossil-link-card:hover .fossil-link-action {
  background: #60a5fa;
  color: #0b0f19;
  border-color: #60a5fa;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(96, 165, 250, 0.35);
}

/* Climate Justice Link Card Variants & Article Buttons */
.climate-resources-kicker {
  color: #fbbf24;
}

.climate-link-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.climate-link-card:hover {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(28, 30, 36, 0.95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(251, 191, 36, 0.15);
}

.climate-link-card:hover .fossil-link-arrow {
  color: #fbbf24;
}

.climate-link-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.climate-link-action {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.climate-link-card:hover .climate-link-action {
  background: #fbbf24;
  color: #0f172a;
  border-color: #fbbf24;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* ============================================================
   4. ARTICLES & FIELD REPORTS READER SECTION (Climate Justice)
   ============================================================ */
.articles-section {
  width: 100%;
  background-color: #0d0f14;
  padding: 56px var(--page-margin) 72px;
  box-sizing: border-box;
}

.articles-section-header {
  max-width: var(--max-width);
  margin: 0 auto 40px auto;
}

.articles-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 400;
  color: var(--color-white);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.articles-intro-sub {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 860px;
  margin: 0 0 28px 0;
}

.articles-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.filter-pills-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-text-muted);
  font-family: 'Roboto', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.filter-pill.active {
  background-color: var(--color-blue-banner);
  color: var(--color-white);
  border-color: var(--color-blue-banner);
  box-shadow: 0 2px 10px rgba(76, 102, 197, 0.35);
}

#fossil-filters .filter-pill {
  border-color: rgba(255, 255, 255, 0.22);
  color: #94a3b8;
}

#fossil-filters .filter-pill:hover {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.6);
}

#fossil-filters .filter-pill.active {
  background-color: #60a5fa;
  color: #0c0f14;
  border-color: #60a5fa;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(96, 165, 250, 0.35);
}

#climate-filters .filter-pill {
  border-color: rgba(255, 255, 255, 0.22);
  color: #94a3b8;
}

#climate-filters .filter-pill:hover {
  color: #95dc6f;
  border-color: rgba(149, 220, 111, 0.6);
}

#climate-filters .filter-pill.active {
  background-color: #95dc6f;
  color: #0c0f14;
  border-color: #95dc6f;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(149, 220, 111, 0.35);
}

#textile-filters .filter-pill {
  border-color: #cbd5e1;
  color: #475569;
}

#textile-filters .filter-pill:hover {
  border-color: #0f172a;
  color: #0f172a;
}

#textile-filters .filter-pill.active {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.25);
}

.article-search-wrap {
  display: flex;
  align-items: center;
  background: rgba(217, 217, 217, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 6px 16px;
  width: 240px;
}

.article-search-icon {
  margin-right: 8px;
  opacity: 0.7;
}

.article-search-input {
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 13px;
  width: 100%;
  outline: none;
}

.article-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* 2-Column Article Reader Layout */
.articles-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

/* Left Column: Stacked Article List */
.articles-list-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-list-card {
  padding: 24px 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
  margin-bottom: 4px;
}

.article-list-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.article-list-card.active {
  background: rgba(138, 56, 245, 0.08);
  border: 1px solid var(--color-card-border-purple);
  box-shadow: 0 4px 16px rgba(138, 56, 245, 0.2);
}

.article-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.article-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 12px;
  background: rgba(98, 203, 44, 0.12);
  color: var(--color-green-arch);
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-date-str {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: var(--color-text-muted);
}

.article-card-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.article-card-sublabel {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-blue-accent);
  margin: 0 0 8px 0;
}

.article-card-excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.btn-more-work {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue-accent);
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 24px;
  transition: all 0.2s ease;
}

.btn-more-work:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

/* Right Column: Featured White Reader Panel */
.article-reader-column {
  background-color: var(--color-white);
  color: #111111;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.reader-header {
  margin-bottom: 20px;
}

.reader-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  color: #111111;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.reader-subtitle {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-style: italic;
  color: var(--color-blue-accent);
  margin: 0 0 12px 0;
}

.reader-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Roboto', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.reader-hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  margin: 18px 0;
  background: #f1f5f9;
}

.reader-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reader-body-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}

.reader-body-text p {
  margin-bottom: 14px;
}

/* ============================================================
   5. TEXTILE INVESTIGATIONS GRID (Drawer 2)
   ============================================================ */
.instagram-updates-section {
  width: 100%;
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 56px var(--page-margin) 68px;
  box-sizing: border-box;
}

.textile-investigations-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.instagram-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.insta-card {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 28px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.insta-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-blue-accent);
  box-shadow: 0 8px 24px rgba(75, 104, 255, 0.12);
}

.insta-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-black);
  margin: 0 0 10px 0;
}

.insta-card-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.btn-watch-now {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.2s ease;
}

.btn-watch-now:hover {
  background-color: var(--color-blue-accent);
}

/* ============================================================
   6. ACTIVITIES & GATHERINGS (Drawer 4)
   ============================================================ */
.activities-hero-section {
  width: 100%;
  background-color: var(--color-white);
  color: #111111;
  padding: 48px var(--page-margin) 44px;
  box-sizing: border-box;
}

.activities-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.activities-hero-left {
  display: flex;
  flex-direction: column;
}

.hero-quote-box {
  margin: 0 0 24px 0;
  padding: 0;
  border: none;
}

.hero-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 400;
  line-height: 1.35;
  color: #111111;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.hero-quote-author {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #777777;
  letter-spacing: 0.04em;
  font-style: normal;
  margin: 0;
}

.hero-story-content {
  margin-top: 8px;
}

.hero-story-heading {
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111111;
  margin: 0 0 12px 0;
}

.hero-story-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: #444444;
  margin: 0;
}

.activities-hero-right {
  display: flex;
  flex-direction: column;
}

.activities-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.gallery-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.gallery-arrow-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.08);
}

.gallery-arrow-btn.prev-arrow {
  left: 12px;
}

.gallery-arrow-btn.next-arrow {
  right: 12px;
}

.activities-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.thumb-item {
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: all 0.2s ease;
  background: #f0f0f0;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-item:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.thumb-item.active {
  border-color: var(--color-blue-banner);
  opacity: 1;
  box-shadow: 0 2px 10px rgba(76, 102, 197, 0.35);
}

/* Upcoming Gathering Banner */
.activities-upcoming-banner {
  width: 100%;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 0 20px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.leaf-pattern-top {
  width: 100%;
  height: 24px;
  background-repeat: repeat-x;
  background-size: 32px 24px;
  background-position: top center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24' fill='%2362CB2C'%3E%3Cpath d='M0 0 C0 13.25 7.16 24 16 24 C24.84 24 32 13.25 32 0 Z'/%3E%3C/svg%3E");
  margin-bottom: 36px;
}

.activities-upcoming-body {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.activities-upcoming-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--color-white);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.activities-upcoming-subtitle {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.btn-see-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-blue-banner);
  color: var(--color-white);
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 32px;
  border-radius: 42px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(76, 102, 197, 0.35);
}

.btn-see-more:hover {
  background-color: #3b52aa;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(76, 102, 197, 0.5);
}

/* Activities Feed Section */
.activities-feed-section {
  width: 100%;
  background-color: var(--color-white);
  color: #1e1e1e;
  padding: 56px var(--page-margin) 64px;
  box-sizing: border-box;
}

.activities-feed-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.activities-feed-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

.activities-feed-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  color: #111111;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.activities-feed-intro {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  max-width: 920px;
  margin: 0;
}

/* Stacked Activity Items */
.activities-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  padding: 36px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
  align-items: center;
}

.activity-card:last-child {
  border-bottom: none;
}

.activity-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f4f4f4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.activity-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.act-card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  opacity: 0.85;
}

.act-card-arrow:hover {
  background: rgba(0, 0, 0, 0.85);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.act-card-arrow.prev-act-img {
  left: 10px;
}

.act-card-arrow.next-act-img {
  right: 10px;
}

.activity-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  gap: 14px;
}

.activity-item-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 600;
  color: #111111;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.activity-item-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

.activity-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.activity-date {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #777777;
  letter-spacing: 0.03em;
}

.activity-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #333333;
  background: var(--color-white);
}

/* Blue "More than a retreat" Documentary Section */
.activities-blue-section {
  width: 100%;
  background-color: #405ee9;
  color: var(--color-white);
  padding: 56px var(--page-margin);
  box-sizing: border-box;
}

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

.activities-blue-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  margin: 0 0 16px 0;
  color: var(--color-white);
}

.activities-blue-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 36px auto;
  opacity: 0.9;
  max-width: 740px;
}

.activities-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 780px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.video-thumbnail-wrap {
  width: 100%;
  height: 100%;
}

.video-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: #ff0033;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.activities-video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #cc0029;
}

/* ============================================================
   7. RESPONSIVE LAYOUT ADJUSTMENTS
   ============================================================ */
@media (max-width: 1024px) {
  .work-intro-grid {
    grid-template-columns: 1fr;
  }

  .arch-pattern-col,
  .story-pattern-col {
    display: none !important;
  }

  .articles-layout-grid {
    grid-template-columns: 1fr;
  }

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

  .activities-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .activity-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }
}

@media (max-width: 768px) {
  .work-intro-section {
    padding: 36px var(--page-margin);
  }

  .work-intro-grid {
    min-height: auto;
    gap: 24px;
  }

  .work-section-title {
    font-size: clamp(28px, 6.5vw, 42px);
  }

  .work-section-subtitle {
    font-size: clamp(15px, 3.8vw, 18px);
  }

  .expandable-bar-banner {
    padding: 16px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .bar-title {
    font-size: clamp(18px, 5vw, 24px);
  }

  .bar-subtitle {
    font-size: 13px;
    width: 100%;
  }

  .btn-bar-action {
    min-height: 44px;
    padding: 8px 18px;
    font-size: 12px;
  }

  .bar-icon-wrap.double-icon {
    width: 26px;
    gap: 4px;
  }

  .bar-icon-wrap.double-icon .tab-scroll-icon {
    width: 26px;
  }

  .filter-pills-group {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    max-width: 100%;
  }

  .filter-pill {
    min-height: 44px;
    padding: 8px 16px;
  }

  .articles-section {
    padding: 28px var(--page-margin) 36px;
  }

  .reader-hero-img {
    max-height: 240px;
    width: 100%;
    object-fit: cover;
  }

  .insta-card {
    padding: 22px 18px;
  }

  .btn-watch-now {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    box-sizing: border-box;
  }

  .activities-gallery-thumbs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .activities-upcoming-banner {
    padding: 32px var(--page-margin);
  }

  .btn-see-more {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .btn-join-pill {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
  }

  .expandable-drawer-content {
    padding: 0;
  }

  .activity-media-wrap {
    height: 180px;
  }
}

/* ============================================================
   Floating Reader Auto-Scroll Indicator & Controls
   ============================================================ */
.reading-autoscroll-badge {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  padding: 8px 14px 8px 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reading-autoscroll-badge.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.autoscroll-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: autoscrollPulse 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

.reading-autoscroll-badge.is-paused .autoscroll-pulse-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  animation: none;
}

@keyframes autoscrollPulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.autoscroll-text {
  white-space: nowrap;
  color: #f1f5f9;
  font-size: 13px;
}

.autoscroll-ctrl-btn,
.autoscroll-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 9999px;
  cursor: pointer;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}

.autoscroll-ctrl-btn:hover {
  background: #4b68ff;
  border-color: #4b68ff;
  color: #ffffff;
  transform: scale(1.05);
}

.autoscroll-close-btn {
  padding: 4px 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 14px;
}

.autoscroll-close-btn:hover {
  color: #ffffff;
}

@media (max-width: 600px) {
  .reading-autoscroll-badge {
    bottom: 18px;
    width: calc(100% - 32px);
    max-width: 360px;
    justify-content: space-between;
    font-size: 12px;
    padding: 7px 12px;
  }
  .autoscroll-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
