/* ============================================================
   About Us Page — Sungai Lembing Heritage Site
   Palette: #1A241E (dark) | #2D5A3D (green) | #C6A867 (gold)
            #FAFAF8 (off-white) | #FFFFFF
   Fonts:   Playfair Display (headings) | DM Sans (body)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --sl-dark:      #1A241E;
  --sl-green:     #2D5A3D;
  --sl-gold:      #C6A867;
  --sl-off-white: #FAFAF8;
  --sl-white:     #FFFFFF;
  --sl-gold-light: rgba(198, 168, 103, 0.15);
  --sl-dark-glass: rgba(26, 36, 30, 0.72);
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --connector-color: rgba(198, 168, 103, 0.5);
  --connector-width: 2px;
  --card-h-gap: 40px;
  --stub-h: 36px;
}

/* ── Reset / Base ───────────────────────────────────────────── */
#about-us * {
  box-sizing: border-box;
}

#about-us {
  background: var(--sl-off-white);
  color: var(--sl-dark);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ── Container ──────────────────────────────────────────────── */
.about-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--sl-dark);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(45, 90, 61, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% -10%, rgba(198, 168, 103, 0.18) 0%, transparent 60%),
    linear-gradient(160deg, #0e1812 0%, #1A241E 50%, #0e1812 100%);
  z-index: 0;
}

.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
}

.about-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.eyebrow-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--sl-gold);
  opacity: 0.7;
}

.eyebrow-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sl-gold);
}

.about-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--sl-white);
  line-height: 1.08;
  margin: 0 0 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}

.about-hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250, 250, 248, 0.65);
  letter-spacing: 0.05em;
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.about-hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s 1s forwards;
}

.about-hero-scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(198, 168, 103, 0.6);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(198,168,103,0.7), transparent);
  animation: scrollPulse 2s infinite;
}

/* ============================================================
   DESCRIPTION SECTION
   ============================================================ */
.about-description-section {
  padding: 100px 0 80px;
  background: var(--sl-off-white);
}

.about-desc-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  align-items: start;
}

.about-desc-deco {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding-top: 8px;
}

.deco-number {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--sl-gold);
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -0.02em;
}

.deco-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, var(--sl-gold), transparent);
  opacity: 0.4;
}

.about-desc-text {
  padding-top: 12px;
}

.about-desc-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(26, 36, 30, 0.8);
  margin: 0 0 1.2em;
}

.about-desc-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   ORG CHART SECTION
   ============================================================ */
.org-chart-section {
  padding: 80px 0 120px;
  background: var(--sl-off-white);
}

.org-section-header {
  text-align: center;
  margin-bottom: 72px;
}

.org-main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--sl-dark);
  margin: 0 0 14px;
  line-height: 1.15;
}

.org-main-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(26, 36, 30, 0.55);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Org Tree wrap ──────────────────────────────────────────── */
.org-tree-wrap {
  overflow-x: auto;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: fit-content;
  padding: 0 24px;
}

/* ============================================================
   ORG CHART — TREE LAYOUT
   ============================================================ */

.org-root-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ── Shared vertical connector ──────────────────────────────── */
.org-connector-down {
  width: var(--connector-width);
  height: var(--stub-h);
  background: linear-gradient(to bottom, var(--connector-color), rgba(198, 168, 103, 0.25));
  flex-shrink: 0;
}

/* org-connector-down--slim is hidden at all breakpoints.
   The JS SVG bridge extends upward from org-children-wrap to cover
   this gap, so the DOM stub is never needed. */
.org-connector-down--slim {
  display: none;
}

/* ============================================================
   LEVEL-1 ROW
   ============================================================ */
.org-level1-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  width: 100%;
}

/* Horizontal bar between column centres */
.org-level1-row::before {
  content: '';
  position: absolute;
  top: 0;
  left:  var(--bar-left,  25%);
  right: var(--bar-right, 25%);
  height: var(--connector-width);
  background: var(--connector-color);
}

.org-level1-row[data-cols="1"]::before {
  display: none;
}

/* ── Each researcher column ─────────────────────────────────── */
.org-researcher-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 260px;
  max-width: 400px;
  padding: 0 var(--card-h-gap);
  position: relative;
}

.org-researcher-col--single {
  flex: 0 0 auto;
}

/* Vertical stub from the horizontal bar down to the researcher card */
.org-col-stub-top {
  width: var(--connector-width);
  height: var(--stub-h);
  background: var(--connector-color);
  flex-shrink: 0;
}

/* ============================================================
   ORG CARD
   ============================================================ */
.org-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.org-card {
  background: var(--sl-white);
  border: 1px solid rgba(198, 168, 103, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
  width: 100%;
  max-width: 320px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(26, 36, 30, 0.06);
  cursor: default;
}

.org-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sl-gold), var(--sl-green));
  border-radius: 10px 10px 0 0;
  opacity: 0;
  transition: var(--transition);
}

.org-card:hover {
  border-color: rgba(198, 168, 103, 0.5);
  box-shadow: 0 8px 40px rgba(26, 36, 30, 0.12);
  transform: translateY(-3px);
}

.org-card:hover::before {
  opacity: 1;
}

.org-card-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

/* ── Photo ──────────────────────────────────────────────────── */
.org-photo-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(198, 168, 103, 0.35);
  flex-shrink: 0;
  background: rgba(45, 90, 61, 0.06);
}

.org-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.org-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(45, 90, 61, 0.3);
}

.org-photo-placeholder svg {
  width: 32px;
  height: 32px;
}

/* ── Info ───────────────────────────────────────────────────── */
.org-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.org-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sl-dark);
  margin: 0;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
}

.org-designation {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sl-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.org-role {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-style: italic;
  color: rgba(26, 36, 30, 0.5);
}

/* ── Depth overrides ────────────────────────────────────────── */
.depth-0 .org-card {
  max-width: 340px;
  padding: 18px 22px;
  background: var(--sl-dark);
  border-color: var(--sl-gold);
  box-shadow: 0 4px 32px rgba(26, 36, 30, 0.2);
}

.depth-0 .org-card::before { opacity: 1; }
.depth-0 .org-card .org-name        { color: var(--sl-white); }
.depth-0 .org-card .org-designation { color: var(--sl-gold); }
.depth-0 .org-card .org-role        { color: rgba(250, 250, 248, 0.55); }
.depth-0 .org-card .org-photo-placeholder { color: rgba(198, 168, 103, 0.4); }

.depth-0 .org-photo-wrap {
  width: 72px;
  height: 72px;
  border-color: var(--sl-gold);
}

.depth-1 .org-card {
  border-color: rgba(45, 90, 61, 0.3);
}

.depth-1 .org-photo-wrap {
  width: 58px;
  height: 58px;
}

.depth-2 .org-photo-wrap {
  width: 52px;
  height: 52px;
}

.depth-3 .org-card {
  border-style: dashed;
  border-color: rgba(198, 168, 103, 0.3);
  box-shadow: 0 2px 10px rgba(26, 36, 30, 0.04);
  padding: 10px 14px;
}

.depth-3 .org-photo-wrap {
  width: 46px;
  height: 46px;
}

.depth-3 .org-name        { font-size: 0.82rem; }
.depth-3 .org-designation { font-size: 0.6rem; }
.depth-3 .org-role        { font-size: 0.62rem; }

.org-description {
  display: none;
}

/* ============================================================
   VERTICAL CHILDREN — SVG-DRAWN CONNECTOR SYSTEM
   ============================================================
   
   Connectors are drawn by about-us.js as an SVG overlay injected
   into each .org-children-wrap. JS measures exact card midpoints
   so lines NEVER overshoot.
   
   CSS here only handles layout spacing; no pseudo-element rails.
   ============================================================ */

:root {
  --item-gap: 16px;
}

/* ── Combined children wrapper — position:relative for SVG overlay ── */
.org-children-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative; /* SVG overlay is positioned inside here */
}

/* ── Children groups ──────────────────────────────────────────── */
.org-vertical-children {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

/* ── Each item row ──────────────────────────────────────────── */
.org-vertical-item {
  display: flex;
  flex-direction: row;
  align-items: center; /* centre-align for correct card midpoint */
  position: relative;
  margin-top: var(--item-gap);
}

/* Card node fills the rest of the row */
.org-vertical-item > .org-node {
  flex: 1;
  align-items: flex-start;
  min-width: 0;
}

.org-vertical-item > .org-node .org-card {
  width: 100%;
  max-width: none;
}

/*
  Spacer on the left that reserves room for the SVG connector.
  Width matches JS constants: RAIL_X(20) + TICK_W(28) = 48px
*/
.org-l-connector {
  flex-shrink: 0;
  width: 48px; /* RAIL_X + TICK_W from JS */
  align-self: stretch;
}

/* Hide old DOM children — SVG draws everything now */
.org-l-connector::before,
.org-l-connector::after,
.org-l-horiz,
.org-l-vert {
  display: none !important;
}

/* The injected SVG overlay */
.org-connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

/* ============================================================
   COLLABORATORS SECTION
   ============================================================ */
.collab-section {
  padding: 100px 0 120px;
  background: #F0EDE6;
  position: relative;
  overflow: hidden;
}

.collab-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 168, 103, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.collab-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.collab-header {
  text-align: center;
  margin-bottom: 64px;
}

.collab-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--sl-dark);
  margin: 0 0 14px;
  line-height: 1.15;
}

.collab-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(26, 36, 30, 0.55);
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.7;
}

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

.collab-card {
  display: flex;
  flex-direction: column;
  background: var(--sl-white);
  border: 1px solid rgba(198, 168, 103, 0.18);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease;
  box-shadow: 0 2px 12px rgba(26, 36, 30, 0.05);
  opacity: 0;
  transform: translateY(28px);
}

.collab-card.collab-visible {
  opacity: 1;
  transform: translateY(0);
}

a.collab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26, 36, 30, 0.12);
  border-color: rgba(198, 168, 103, 0.45);
}

a.collab-card:hover .collab-link-hint {
  color: var(--sl-green);
  letter-spacing: 0.04em;
}

a.collab-card:hover .collab-card-logo-wrap::after {
  opacity: 1;
}

.collab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sl-gold), var(--sl-green));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 6px 6px 0 0;
}

a.collab-card:hover::before {
  opacity: 1;
}

.collab-card-logo-wrap {
  position: relative;
  background: var(--sl-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px 24px;
  border-bottom: 1px solid rgba(198, 168, 103, 0.1);
  min-height: 130px;
  overflow: hidden;
}

.collab-card-logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(198, 168, 103, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.collab-logo {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.35s ease, transform 0.35s ease;
  position: relative;
  z-index: 1;
}

a.collab-card:hover .collab-logo {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.collab-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sl-green), var(--sl-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.collab-logo-placeholder span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sl-gold);
  text-transform: uppercase;
}

.collab-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  text-align: center;
}

.collab-short-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sl-gold);
}

.collab-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sl-dark);
  margin: 0;
  line-height: 1.4;
}

.collab-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(26, 36, 30, 0.6);
  margin: 4px 0 0;
}

.collab-link-hint {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(26, 36, 30, 0.4);
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

/* ── Empty state ────────────────────────────────────────────── */
.org-empty {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  color: rgba(26, 36, 30, 0.4);
  font-style: italic;
  padding: 60px 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50%       { transform: scaleY(1.3); opacity: 0.3; }
}

.sl-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.sl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sl-reveal-delay-1 { transition-delay: 0.1s; }
.sl-reveal-delay-2 { transition-delay: 0.2s; }
.sl-reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — TABLET (≤1100px)
   ============================================================ */
@media (max-width: 1100px) {
  :root {
    --card-h-gap: 24px;
  }

  .org-researcher-col {
    min-width: 220px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET PORTRAIT (≤900px)
   Stack researcher columns vertically
   ============================================================ */
@media (max-width: 900px) {
  .about-desc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-desc-deco {
    flex-direction: row;
    align-items: center;
  }

  .deco-line {
    height: 2px;
    width: 60px;
  }

  /* Stack researcher columns vertically on tablet */
  .org-level1-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  /* Hide the horizontal bar */
  .org-level1-row::before {
    display: none !important;
  }

  .org-researcher-col {
    min-width: 0;
    width: 100%;
    max-width: 480px;
    padding: 0;
    /* Clip the SVG overlay so it cannot bleed into the next stacked column */
    overflow: hidden;
  }

  .org-col-stub-top {
    height: 28px;
  }

  /* Clip the children-wrap SVG to this column's bounds */
  .org-children-wrap {
    overflow: hidden;
  }

  .collab-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤600px)
   Full single-column, compact cards
   ============================================================ */
@media (max-width: 600px) {
  .about-container {
    padding: 0 16px;
  }

  .about-hero {
    min-height: 50vh;
  }

  /* ── Org chart mobile: everything single-column, compact ── */
  .org-tree-wrap {
    padding: 0;
  }

  .org-tree {
    padding: 0;
    min-width: 0;
    width: 100%;
  }

  .org-root-wrap {
    width: 100%;
  }

  /* Depth-0 card — full width, centred */
  .depth-0 .org-card {
    max-width: 100%;
    padding: 14px 16px;
  }

  .depth-0 .org-photo-wrap {
    width: 56px;
    height: 56px;
  }

  /* Level-1 row already stacked at 900px; reinforce full-width */
  .org-researcher-col {
    max-width: 100%;
    padding: 0;
  }

  /* Compact all cards */
  .org-card {
    padding: 10px 12px;
    max-width: 100%;
  }

  .org-card-inner {
    gap: 10px;
  }

  .org-photo-wrap {
    width: 44px;
    height: 44px;
  }

  .org-name {
    font-size: 0.82rem;
  }

  .org-designation {
    font-size: 0.6rem;
  }

  .org-role {
    font-size: 0.6rem;
  }

  /* Depth-1 researcher card on mobile */
  .depth-1 .org-card {
    max-width: 100%;
  }

  .depth-1 .org-photo-wrap {
    width: 48px;
    height: 48px;
  }

  /* Tighten item gap on mobile */
  :root {
    --item-gap: 12px;
    --stub-h: 24px;
  }

  /* Collaborators: 2 columns on mobile */
  .collab-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .collab-card-logo-wrap {
    padding: 24px 16px 18px;
    min-height: 100px;
  }

  .collab-logo {
    max-width: 120px;
    max-height: 60px;
  }

  .collab-card-body {
    padding: 14px 16px 18px;
  }

  .collab-name {
    font-size: 0.85rem;
  }

  /* Section spacing tighter on mobile */
  .org-chart-section {
    padding: 48px 0 72px;
  }

  .org-section-header {
    margin-bottom: 40px;
  }

  .about-description-section {
    padding: 60px 0 48px;
  }

  .collab-section {
    padding: 64px 0 80px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤380px)
   ============================================================ */
@media (max-width: 380px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }
}