/* ==========================================================================
   ORANGA STUDIOS - DESIGN SYSTEM & VISUAL LANGUAGE
   Monospace Minimalist Aesthetic • Whitish Canvas • Blue Pansy Accents
   ========================================================================== */

:root {
  --bg-primary: #FCFCFB;          /* Whitish gallery paper */
  --bg-secondary: #F6F4F0;        /* Subtle architectural wash */
  --bg-so-studios: #EEF4F9;       /* Bluish background for SO Studios */
  --bg-impact: #FAF7F2;           /* Warm earth background for Social Impact */
  
  --ink-primary: #181615;         /* Deep charcoal ink */
  --ink-secondary: #4A4643;       /* Charcoal wash */
  --ink-muted: #7D7873;           /* Monospace annotation */
  
  --oranga-brown: #823D2D;        /* Terracotta brown logo */
  --oranga-brown-dark: #5C281D;
  
  --blue-pansy: #1A65D8;          /* Cobalt accent */

  --border-light: rgba(24, 22, 21, 0.08);
  --border-medium: rgba(24, 22, 21, 0.16);

  /* Primary Monospace Typography as requested */
  --font-mono: 'Space Mono', 'SFMono-Regular', Menlo, Monaco, 'Courier New', monospace;
  --font-digital: 'Share Tech Mono', monospace;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--ink-primary);
}

body {
  font-family: var(--font-mono); /* Monospace globally */
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(30, 25, 20, 0.04) 1px, transparent 0);
  background-size: 26px 26px;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   SUBPAGE NAVIGATION
   ========================================================================== */

.subpage-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  z-index: 100;
  background: rgba(252, 252, 251, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-back-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

.nav-back-link:hover {
  color: var(--oranga-brown);
}

/* ==========================================================================
   HERO SECTION - Butterfly Center Opening -> Wide Flat -> Morph
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 40px 20px;
}

#butterflyCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Morph Stage in Center */
.hero-morph-stage {
  position: relative;
  width: min(88vw, 1100px);
  height: min(80vh, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding-bottom: 70px; /* Generous breathing room for title cards */
}

/* Stage 1: Flat Photorealistic Butterfly (Raised upwards away from title) */
.flat-butterfly-actor {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(72vw, 680px);
  height: auto;
  object-fit: contain;
  opacity: 1;
  transform: translate(-50%, -55%) scale(0.95);
  transition: opacity 1.2s var(--ease-smooth), transform 1.2s var(--ease-smooth), filter 1s ease;
  z-index: 21;
  filter: drop-shadow(0 10px 30px rgba(26, 101, 216, 0.35));
}

.flat-butterfly-actor.morphing {
  opacity: 0;
  transform: translate(-50%, -55%) scale(1.15);
  filter: blur(6px) drop-shadow(0 0 50px rgba(0, 132, 255, 0.8));
}

/* Stage 2: Hand-Drawn Lineweight Logo (Raised upwards away from title) */
.lineweight-logo-actor {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(84vw, 1040px);
  height: auto;
  max-height: 64vh;
  object-fit: contain;
  opacity: 0;
  transform: translate(-50%, -55%) scale(0.85);
  z-index: 22;
  transition: opacity 1.3s var(--ease-smooth), transform 1.5s var(--ease-smooth);
}

.lineweight-logo-actor.visible {
  opacity: 1;
  transform: translate(-50%, -55%) scale(1);
}

.lineweight-logo-actor.expanded {
  opacity: 1;
  transform: translate(-50%, -55%) scale(1.05);
}

/* Terracotta Horizontal "Oranga Studios" (Oranga LEFT, Studios RIGHT) */
.oranga-cursive-branding {
  position: absolute;
  bottom: clamp(45px, 8vh, 75px); /* Raised up closer to the butterfly */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s var(--ease-smooth), transform 1.2s var(--ease-smooth);
}

.oranga-cursive-branding.visible {
  opacity: 1;
  transform: translateY(0);
}

.oranga-horizontal-img {
  height: clamp(52px, 8vw, 88px);
  width: auto;
  object-fit: contain;
}

/* Two distinct word images side by side */
.brand-words-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.brand-word-img {
  height: clamp(48px, 7.5vw, 82px); /* Enlarged a bit as requested */
  width: auto;
  object-fit: contain;
}

.vision-statement-text {
  font-family: var(--font-mono);
  font-size: 0.92rem; /* Slightly enlarged */
  letter-spacing: 0.26em;
  text-transform: lowercase;
  color: var(--ink-secondary);
  margin-top: 10px;
}

/* Floating Navigation Connectors with Smooth Scroll Docking & Proximity Enlarging */
.hero-connector-borderless {
  position: fixed;
  top: calc(100vh - clamp(100px, 16vh, 150px));
  transform: translateY(-50%);
  z-index: 500;
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  cursor: pointer;
  background: none;
  border: 1px solid transparent;
  padding: 8px 16px;
  transform-origin: center center;
  will-change: transform, top, font-size, padding, letter-spacing, color;
  transition: opacity 0.6s ease,
              top 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              font-size 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s var(--ease-smooth),
              letter-spacing 0.2s ease,
              color 0.2s ease,
              background-color 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.hero-connector-borderless.visible {
  opacity: 1;
}

/* Left Connector: BUY SMTHN — Signature Sky Blue Hue */
.hero-connector-left {
  left: clamp(24px, 4vw, 54px);
  transform-origin: left center;
  color: #1B72C7; /* Sky blue hue */
}

/* Right Connector: SOCIAL IMPACT — Signature Terracotta Hue */
.hero-connector-right {
  right: clamp(24px, 4vw, 54px);
  transform-origin: right center;
  color: #8C3E2D; /* Terracotta hue */
}

/* Docked State: Moves smoothly to middle left & right when scrolling, size reduced to about half */
.hero-connector-borderless.is-docked {
  top: 50%;
  font-size: clamp(0.58rem, 0.86vw, 0.72rem); /* Reduced to about half */
  padding: 5px 11px;                         /* Halved padding */
  letter-spacing: 0.11em;
  border-radius: 18px;
}

/* Docked Left (BUY SMTHN) Pill: Sky Blue Frosted Tint */
.hero-connector-left.is-docked {
  background: rgba(238, 246, 254, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(27, 114, 199, 0.28);
  box-shadow: 0 4px 16px rgba(27, 114, 199, 0.12);
  color: #1765B2;
}

/* Docked Right (SOCIAL IMPACT) Pill: Terracotta Frosted Tint */
.hero-connector-right.is-docked {
  background: rgba(254, 247, 244, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(140, 62, 45, 0.28);
  box-shadow: 0 4px 16px rgba(140, 62, 45, 0.12);
  color: #823626;
}

.hero-connector-left:hover {
  color: #0D4E91;
  letter-spacing: 0.18em;
}

.hero-connector-right:hover {
  color: #682518;
  letter-spacing: 0.18em;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 35;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-scroll-cue.visible {
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--ink-muted), transparent);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   SECTION 2: DESIGN PHILOSOPHIES (Camaraderie & Shared Living)
   ========================================================================== */

.philosophies-mindmap-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 100px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.mindmap-page-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.mindmap-header-block {
  text-align: center;
  margin-bottom: 40px;
}

.mindmap-main-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Camaraderie Principle: Centered & Borderless */
.chmarazedje-hero-node {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 10px 20px 30px;
  margin: 0 auto 30px;
  max-width: 840px;
  text-align: center;
}

.camaraderie-title {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-primary);
  margin-bottom: 8px;
  text-align: center;
}

.camaraderie-etymology {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue-pansy);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-align: center;
}

.camaraderie-definition {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.85;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================================================
   VENN DIAGRAM: CONVERGENCE ON SOCIAL IMPACT
   ========================================================================== */

.venn-diagram-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin-bottom: 50px;
  width: 100%;
}

.venn-diagram-canvas-box {
  width: 100%;
  max-width: 740px;
  display: flex;
  justify-content: center;
  position: relative;
}

.venn-diagram-svg {
  width: 100%;
  height: auto;
  max-height: 740px;
  overflow: visible;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.04));
}

/* Venn Node Groups & Interaction */
.venn-node-group {
  cursor: pointer;
  outline: none;
  transition: transform 0.3s var(--ease-smooth);
}

.venn-node-group:hover,
.venn-node-group:focus-visible {
  filter: drop-shadow(0 0 14px rgba(200, 90, 50, 0.35));
}

.venn-node-group.active {
  filter: drop-shadow(0 0 18px rgba(200, 90, 50, 0.45));
}

/* Outer Petal Circles */
.venn-circle {
  mix-blend-mode: multiply;
  stroke-width: 1.8px;
  transition: all 0.35s ease;
}

.venn-node-group:hover .venn-circle,
.venn-node-group.active .venn-circle {
  stroke-width: 3px;
}

/* Specific Petal Palettes */
.circle-ancestry {
  fill: rgba(200, 90, 50, 0.22);
  stroke: #C85A32;
}
.node-ancestry:hover .circle-ancestry,
.node-ancestry.active .circle-ancestry {
  fill: rgba(200, 90, 50, 0.38);
}

.circle-synthesis {
  fill: rgba(78, 122, 88, 0.22);
  stroke: #4E7A58;
}
.node-synthesis:hover .circle-synthesis,
.node-synthesis.active .circle-synthesis {
  fill: rgba(78, 122, 88, 0.38);
}

.circle-desire {
  fill: rgba(168, 68, 100, 0.22);
  stroke: #A84464;
}
.node-desire:hover .circle-desire,
.node-desire.active .circle-desire {
  fill: rgba(168, 68, 100, 0.38);
}

.circle-connection {
  fill: rgba(32, 92, 168, 0.22);
  stroke: #205CA8;
}
.node-connection:hover .circle-connection,
.node-connection.active .circle-connection {
  fill: rgba(32, 92, 168, 0.38);
}

.circle-expenditure {
  fill: rgba(217, 130, 43, 0.22);
  stroke: #D9822B;
}
.node-expenditure:hover .circle-expenditure,
.node-expenditure.active .circle-expenditure {
  fill: rgba(217, 130, 43, 0.38);
}

/* Center Core: Design for Social Impact */
.venn-center-outer-ring {
  fill: none;
  stroke: var(--oranga-brown);
  stroke-width: 1.5px;
  stroke-dasharray: 4 4;
  animation: rotateRing 40s linear infinite;
  transform-origin: 420px 420px;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.venn-center-circle {
  fill: #FFFFFF;
  stroke: #181615;
  stroke-width: 2.8px;
  transition: all 0.35s ease;
}

.node-impact:hover .venn-center-circle,
.node-impact.active .venn-center-circle {
  fill: #FFF8F5;
  stroke: var(--oranga-brown);
  stroke-width: 3.5px;
}

/* SVG Typography */
.venn-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  fill: var(--ink-secondary);
  text-anchor: middle;
  letter-spacing: 0.08em;
}

.venn-label-main {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  fill: #181615;
  text-anchor: middle;
  letter-spacing: 0.04em;
}

.venn-label-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  fill: var(--oranga-brown);
  text-anchor: middle;
  letter-spacing: 0.04em;
}

.venn-center-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  fill: var(--oranga-brown);
  text-anchor: middle;
  text-transform: uppercase;
}

.venn-center-title {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: #181615;
  text-anchor: middle;
  text-transform: uppercase;
}

.venn-center-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  fill: var(--ink-secondary);
  text-anchor: middle;
  text-transform: uppercase;
}

/* Philosophy Spotlight Section (Borderless & Free-Floating) */
.philosophy-spotlight-box {
  width: 100%;
  max-width: 820px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 0 20px 0;
  box-shadow: none;
  text-align: center;
  transition: opacity 0.25s ease;
}

.philosophy-deck {
  width: 100%;
  position: relative;
  min-height: 220px;
}

.philosophy-card {
  display: none;
}

.philosophy-card.active {
  display: block;
  animation: philoCardFade 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes philoCardFade {
  from {
    opacity: 0.15;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spotlight-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.spotlight-hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.spotlight-title {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  text-align: center;
}

.spotlight-tradition {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--oranga-brown-dark);
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.spotlight-quote {
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-primary);
  background: transparent;
  border-left: none;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 20px;
  border-radius: 0;
  margin: 14px auto 18px auto;
  line-height: 1.7;
  max-width: 740px;
  text-align: center;
}

.spotlight-body {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Nav Pills */
.philosophy-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-medium);
}

.philo-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--border-dark);
  padding: 7px 15px;
  border-radius: 20px;
  color: var(--ink-primary);
  cursor: pointer;
  transition: all 0.22s ease;
}

.philo-pill:hover {
  background: var(--bg-hover);
  border-color: var(--oranga-brown);
  color: var(--oranga-brown-dark);
  transform: translateY(-2px);
}

.philo-pill.active {
  background: var(--oranga-brown);
  color: #FFF;
  border-color: var(--oranga-brown);
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.25);
  transform: translateY(-2px);
}

/* Bottom Mindmap Link Line */
.mindmap-bottom-footer-link {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.mindmap-link-btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  background: none;
  border: 1px solid var(--border-medium);
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mindmap-link-btn:hover {
  color: var(--oranga-brown);
  border-color: var(--oranga-brown);
}

/* ==========================================================================
   SECTION 3: OUR ARTISTS & STUDIO DIRECTORY
   ========================================================================== */

.artists-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 90px 40px 60px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.artists-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.artists-header-row {
  text-align: center;
  margin-bottom: 50px;
}

.artists-diamond-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.artists-diamond-sketch {
  height: clamp(140px, 18vw, 210px);
  width: auto;
  object-fit: contain;
  display: inline-block;
  transition: transform 0.3s ease;
}

.artists-diamond-sketch:hover {
  transform: scale(1.05);
}

.artists-section-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.two-artists-grid,
.artists-constellation-grid {
  display: grid;
  grid-template-columns: 1fr minmax(290px, 360px) 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  gap: 20px 24px;
  max-width: 1040px;
  margin: 0 auto 50px;
}

.artist-pos-top {
  grid-column: 2;
  grid-row: 1;
}

.artist-pos-left {
  grid-column: 1;
  grid-row: 2;
}

.artist-pos-center {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
}

.artist-pos-right {
  grid-column: 3;
  grid-row: 2;
}

.artist-pos-bottom {
  grid-column: 2;
  grid-row: 3;
}

@media (max-width: 860px) {
  .two-artists-grid,
  .artists-constellation-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
    max-width: 420px;
  }
  .artist-pos-top,
  .artist-pos-left,
  .artist-pos-center,
  .artist-pos-right,
  .artist-pos-bottom {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Video Placeholder Tile in Middle of Artists */
.artist-video-tile {
  background: var(--bg-secondary);
  border: 1.5px dashed var(--border-medium);
  border-radius: 6px;
  padding: 34px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.artist-video-tile:hover {
  border-color: var(--oranga-brown);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(130, 61, 45, 0.12);
  background: #FFF;
  text-decoration: none;
  color: inherit;
}

.video-tile-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-play-button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--oranga-brown);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 3px 10px rgba(130, 61, 45, 0.3);
}

.artist-video-tile:hover .video-play-button {
  transform: scale(1.1);
  background: var(--ink-primary);
}

.video-play-button svg {
  margin-left: 2px;
}

.video-tile-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  margin-bottom: 6px;
}

.video-tile-title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.video-tile-status {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   NATIVE VIDEO TILES & THUMBNAILS (YouTube Facade + In-Place Player)
   ========================================================================== */

.video-native-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  border: 1.5px dashed var(--border-medium);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  padding: 0 !important;
  text-decoration: none;
  color: inherit;
}

.video-native-tile:hover {
  transform: translateY(-3px);
  border-color: var(--oranga-brown);
  border-style: solid;
  box-shadow: 0 10px 28px rgba(130, 61, 45, 0.18);
}

.video-native-tile.is-playing {
  cursor: default;
  transform: none;
  border-style: solid;
  border-color: var(--ink-primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.video-thumb-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  z-index: 2;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

.video-native-tile.is-playing .video-thumb-container {
  display: none;
}

.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.35s ease;
}

.video-native-tile:hover .video-thumb-img {
  transform: scale(1.035);
}

.video-thumb-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(15, 13, 12, 0.72) 0%,
    rgba(15, 13, 12, 0.15) 35%,
    rgba(15, 13, 12, 0.25) 60%,
    rgba(15, 13, 12, 0.88) 100%
  );
  pointer-events: none;
}

.video-top-meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.video-top-meta .video-tile-badge {
  background: rgba(24, 22, 21, 0.70);
  backdrop-filter: blur(4px);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.20);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  margin-bottom: 0;
  pointer-events: none;
}

.video-ext-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(24, 22, 21, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  z-index: 4;
  pointer-events: auto;
}

.video-ext-link:hover {
  background: var(--oranga-brown);
  color: #FFF;
  border-color: var(--oranga-brown);
}

.video-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

.video-play-center .video-play-button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(130, 61, 45, 0.92);
  color: #FFF;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 0;
}

.video-native-tile:hover .video-play-center .video-play-button {
  transform: scale(1.15);
  background: #E50914;
  border-color: #FFF;
  box-shadow: 0 6px 26px rgba(229, 9, 20, 0.55);
}

.video-play-center .video-play-button svg {
  margin-left: 3px;
}

.video-bottom-meta {
  position: relative;
  z-index: 3;
  text-align: left;
  width: 100%;
  pointer-events: none;
}

.video-bottom-meta .video-tile-title {
  color: #FFF;
  font-size: clamp(0.92rem, 1.8vw, 1.15rem);
  font-weight: 700;
  margin-bottom: 2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.02em;
}

.video-bottom-meta .video-tile-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.74rem;
  margin: 2px 0 4px;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-bottom-meta .video-tile-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-bottom-meta .video-tile-status::before {
  content: '▶';
  color: #FF4444;
  font-size: 0.62rem;
}

.video-iframe-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.video-native-tile.is-playing .video-iframe-slot {
  pointer-events: auto;
}

.video-native-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.artist-sketch-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease;
}

.artist-sketch-card:hover {
  transform: translateY(-3px);
}

.artist-sketch-logo-frame {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.artist-sketch-logo-img {
  max-height: 85px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.08);
}

.logo-sk-oranga {
  max-height: 85px;
}

.logo-ken-kenya {
  max-height: 88px;
}

.logo-jamile-swan {
  max-height: 88px;
}

.logo-jenna-elephant {
  max-height: 88px;
}

.artist-card-name {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink-primary);
}

.artist-card-ethos {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  margin-bottom: 12px;
}

.artist-card-desc {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--oranga-brown);
  margin-top: 6px;
  line-height: 1.5;
}

/* WE ONE Banner */
.we-one-sketch-banner {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-medium);
  border-radius: 4px;
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 30px;
}

.we-one-title {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--oranga-brown-dark);
  margin-bottom: 4px;
}

.we-one-sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

/* Hire the Studio Banner */
.hire-studio-banner {
  margin: 0 0 60px;
  display: flex;
  justify-content: center;
}

.hire-studio-card {
  width: 100%;
  max-width: 820px;
  background: #FFF;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  padding: 34px 38px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: border-color 0.25s ease;
}

.hire-studio-card:hover {
  border-color: var(--oranga-brown);
}

.hire-studio-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--oranga-brown);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.hire-studio-title {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.hire-studio-desc {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.75;
  max-width: 660px;
  margin: 0 auto 20px;
}

.hire-studio-btn {
  padding: 12px 28px;
  font-size: 0.85rem;
}

/* 502 DIRECTORY */
.directory-section-502 {
  border-top: 2px solid var(--border-dark);
  padding-top: 45px;
}

.badge-502-display {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
}

.badge-boxy-emblem {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.badge-boxy-emblem:hover {
  transform: scale(1.06);
}

.directory-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 50px;
}

.dir-col h4 {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-primary);
}

.dir-col p {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* Support Column: Aligned Right as Requested */
.dir-col-support {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.dir-col-support h4 {
  width: 100%;
  text-align: right;
  border-bottom: 1px solid var(--ink-primary);
}

.dir-links-right {
  align-items: flex-end;
  text-align: right;
  width: 100%;
}

.dir-links-right a {
  text-align: right;
  display: block;
}

.dir-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dir-links a {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  text-decoration: none;
}

.dir-links a:hover {
  color: var(--oranga-brown);
}

.form-field {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-medium);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: #FFF;
  margin-bottom: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-primary);
  color: #FFF;
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid var(--ink-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--oranga-brown);
  border-color: var(--oranga-brown);
}

/* ==========================================================================
   SO STUDIOS PAGE (Bluish Background as requested)
   ========================================================================== */

.page-so-studios {
  min-height: 100vh;
  padding-top: 60px;
  background-color: var(--bg-so-studios); /* Bluish #EEF4F9 */
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(30, 55, 90, 0.10) 1.2px, transparent 0);
  background-size: 26px 26px;
}

.so-studios-container {
  max-width: 1100px;
  margin: 30px auto 70px;
  padding: 0 32px;
  text-align: center;
}

.so-brand-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.so-palm-logo-img {
  height: clamp(110px, 16vw, 165px);
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.so-palm-logo-img:hover {
  transform: scale(1.05);
}

.ceb-wireframe-section {
  max-width: 480px;
  margin: 0 auto 60px;
}

.ceb-machine-sketch {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 16px;
}

.ceb-wireframe-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  font-weight: 700;
}

.ceb-action-row {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.btn-clean-link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: none;
  border: none;
  color: var(--ink-primary);
  border-bottom: 1.5px solid var(--ink-primary);
  padding-bottom: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-clean-link:hover {
  color: var(--oranga-brown);
  border-color: var(--oranga-brown);
}

.custom-designs-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
  color: var(--ink-secondary);
}

.floating-products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.floating-product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.floating-product-item:hover {
  transform: translateY(-4px);
}

.floating-product-img-box {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.floating-product-img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
}

.floating-product-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.floating-product-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SOCIAL IMPACT PAGE (Nyumba Ya Nyasi Project)
   Collapsible Initial View -> Rich Story Expansion
   ========================================================================== */

.page-social-impact {
  min-height: 100vh;
  padding-top: 60px;
  background-color: var(--bg-impact);
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(40, 30, 20, 0.09) 1.2px, transparent 0);
  background-size: 26px 26px;
}

.impact-minimal-container {
  max-width: 800px;
  margin: 30px auto 70px;
  padding: 0 24px;
  text-align: center;
  transition: max-width 0.6s var(--ease-smooth);
}

.impact-minimal-container.is-expanded {
  max-width: 1100px;
  margin-top: 20px;
}

.impact-brand-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.impact-curvy-emblem {
  height: 84px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s ease, opacity 0.4s ease, transform 0.3s ease;
}

.impact-curvy-emblem:hover {
  transform: scale(1.06);
}

.impact-minimal-container.is-expanded .impact-brand-badge {
  margin-bottom: 12px;
}

.impact-minimal-container.is-expanded .impact-curvy-emblem {
  height: 56px;
  opacity: 0.92;
}

.impact-project-card {
  cursor: pointer;
  display: block;
  max-width: 580px;
  margin: 0 auto 16px;
  border-radius: 6px;
  outline: none;
  transition: transform 0.25s ease;
}

.impact-project-card:hover .impact-wireframe-sketch {
  transform: scale(1.025);
}

.impact-project-card:hover .impact-minimal-title {
  color: var(--oranga-brown);
}

.impact-minimal-container.is-expanded .impact-project-card {
  max-width: none;
  margin-bottom: 0;
}

.impact-sketch-frame {
  max-width: 560px;
  margin: 0 auto 24px;
  cursor: pointer;
  transition: all 0.6s var(--ease-smooth);
}

.impact-wireframe-sketch {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Expansion Animation: image moves up to the middle top and shrinks to be logo */
.impact-minimal-container.is-expanded .impact-sketch-frame {
  max-width: 120px;
  margin: 0 auto 14px;
}

.impact-minimal-container.is-expanded .impact-wireframe-sketch {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.impact-minimal-title {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.25s ease, font-size 0.4s ease;
}

.impact-minimal-title:hover {
  color: var(--oranga-brown);
}

.impact-minimal-container.is-expanded .impact-minimal-title {
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: var(--oranga-brown-dark);
}

.impact-sub-motto {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.impact-minimal-container.is-expanded .impact-sub-motto {
  display: block;
}

.impact-cta-wrapper {
  margin-bottom: 30px;
}

.impact-minimal-container.is-expanded .impact-cta-wrapper {
  display: none;
}

.impact-donate-link {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--ink-primary);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 1.5px solid var(--ink-primary);
  padding-bottom: 3px;
  transition: all 0.25s ease;
}

.impact-donate-link:hover {
  color: var(--oranga-brown);
  border-color: var(--oranga-brown);
}

.toggle-collapse-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-secondary);
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 auto 30px;
  transition: all 0.2s ease;
}

.impact-minimal-container.is-expanded .toggle-collapse-btn {
  display: inline-block;
}

.toggle-collapse-btn:hover {
  border-color: var(--oranga-brown);
  color: var(--oranga-brown);
}

/* ==========================================================================
   EXPANDED STORY CONTENT
   ========================================================================== */

.expanded-story-wrapper {
  display: none;
  opacity: 0;
  text-align: left;
  transition: opacity 0.5s ease;
}

.impact-minimal-container.is-expanded .expanded-story-wrapper {
  display: block;
  opacity: 1;
}

/* Section Dividers & Headers */
.story-block-header {
  text-align: center;
  margin: 48px 0 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 36px;
}

.story-block-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  display: block;
  margin-bottom: 6px;
}

.story-block-title {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.story-block-desc {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* Featured Project Videos (Message from CTO & Construction Technology) */
.impact-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 840px;
  margin: 18px auto 36px;
  width: 100%;
}

.impact-video-tile {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  padding: 32px 24px;
  border: 1.5px dashed var(--border-medium);
  border-radius: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.impact-video-tile:hover {
  background: #FFF;
  border-color: var(--oranga-brown);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(130, 61, 45, 0.10);
  text-decoration: none;
  color: inherit;
}

.video-tile-desc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 4px 0 10px;
  max-width: 440px;
}

@media (max-width: 768px) {
  .impact-videos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 440px;
  }
}

/* 1. Partners Logo Grid (Balanced 3x3 Layout for 9 Coalition Partners) */
.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .partner-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .partner-logos-grid {
    grid-template-columns: 1fr;
  }
}

.partner-logo-tile {
  background: transparent;
  border: none;
  border-radius: 0;
  height: auto;
  min-height: 96px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.partner-logo-tile:hover {
  transform: translateY(-4px) scale(1.05);
  border: none;
  box-shadow: none;
}

.partner-logo-img {
  max-height: 52px;
  max-width: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.05));
  transition: transform 0.25s ease;
}

.partner-logo-tile:hover .partner-logo-img {
  transform: scale(1.04);
}

.partner-role-subcaption {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-secondary);
  margin-top: 10px;
  letter-spacing: 0.04em;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.partner-logo-tile:hover .partner-role-subcaption {
  color: var(--oranga-brown);
}

/* Tile Status Pill in Coalition Grid */
.tile-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 2.5px 9px;
  border-radius: 12px;
  margin-top: 7px;
  font-weight: 700;
  line-height: 1.25;
  transition: transform 0.2s ease;
}

.partner-logo-tile:hover .tile-status-pill {
  transform: scale(1.04);
}

.tile-status-pill.status-signed {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
  border: 1px solid rgba(46, 125, 50, 0.30);
}

.tile-status-pill.status-review {
  background: rgba(230, 81, 0, 0.12);
  color: #b73800;
  border: 1px solid rgba(230, 81, 0, 0.30);
}

.tile-status-pill.status-mentorship {
  background: rgba(26, 101, 216, 0.12);
  color: #0d47a1;
  border: 1px solid rgba(26, 101, 216, 0.30);
}

.tile-status-pill.status-liaison {
  background: rgba(74, 70, 67, 0.10);
  color: #3e3a37;
  border: 1px solid rgba(74, 70, 67, 0.22);
}

.partner-logo-img.logo-mit-climate {
  max-height: 40px;
  max-width: 90%;
}

.partner-logo-img.logo-mit-sandbox {
  max-height: 48px;
  max-width: 86%;
}

.partner-logo-img.logo-dada-radio {
  max-height: 56px;
  max-width: 80%;
}

.partner-logo-img.logo-ingvartsen {
  max-height: 46px;
  max-width: 82%;
}

.partner-logo-img.logo-permoafrica {
  max-height: 56px;
  max-width: 80%;
}

.partner-logo-img.logo-nca {
  max-height: 52px;
  max-width: 84%;
}

.partner-logo-img.logo-ymca {
  max-height: 52px;
  max-width: 82%;
}

.partner-logo-img.logo-jua-kali {
  max-height: 54px;
  max-width: 84%;
}

@media (max-width: 900px) {
  .partner-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
}

@media (max-width: 500px) {
  .partner-logos-grid {
    grid-template-columns: 1fr;
  }
}

/* 2. Progress Roadmap (Faithful to Sketch media_1791375422662.jpg) */
.sketch-ref-link-wrap {
  margin-top: 10px;
  text-align: center;
}

.sketch-ref-btn {
  background: transparent;
  border: 1px dashed var(--oranga-brown);
  color: var(--oranga-brown);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 5px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sketch-ref-btn:hover {
  background: #FDF3F0;
  border-style: solid;
}

.roadmap-diagram-canvas {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 30px 10px 40px;
  margin-top: 20px;
  position: relative;
  overflow-x: auto;
  box-shadow: none;
}

.roadmap-diagram-canvas::-webkit-scrollbar {
  height: 6px;
}

.roadmap-diagram-canvas::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}

.roadmap-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-width: 840px;
  position: relative;
}

/* Horizontal terracotta connecting axis */
.roadmap-back-axis {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #A34828;
  transform: translateY(-50%);
  z-index: 1;
}

.roadmap-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.roadmap-slot {
  width: 100%;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.roadmap-slot.bottom-slot {
  justify-content: flex-start;
  padding-top: 16px;
}

.roadmap-slot.top-slot {
  padding-bottom: 16px;
}

/* The hand-drawn circular rings */
.roadmap-ring-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.roadmap-ring {
  border: 2px solid #A34828;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roadmap-ring:hover {
  transform: scale(1.06);
}

.ring-inception {
  width: 52px;
  height: 54px;
  border-radius: 48% 52% 51% 49% / 52% 48% 52% 48%;
}

.ring-phase1 {
  width: 56px;
  height: 58px;
  border-radius: 52% 48% 49% 51% / 49% 51% 48% 52%;
}

.ring-phase2 {
  width: 62px;
  height: 68px;
  border-radius: 47% 53% 52% 48% / 53% 47% 51% 49%;
}

.ring-phase3 {
  width: 70px;
  height: 78px;
  border-radius: 51% 49% 48% 52% / 48% 52% 49% 51%;
}

/* Green checkmark */
.roadmap-green-check {
  color: #1E824C;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-mono);
  transform: translate(2px, -3px) rotate(-6deg);
  display: inline-block;
  user-select: none;
}

/* Node content texts */
.roadmap-node-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.roadmap-node-content.upward {
  justify-content: flex-end;
}

.roadmap-blue-phase {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C6CA1; /* Blue ink color from sketch */
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.roadmap-node-content.upward .roadmap-blue-phase {
  margin-top: 8px;
  margin-bottom: 0;
}

.roadmap-expansion-text {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.roadmap-bullet-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.83rem;
  color: var(--ink-primary);
  line-height: 1.45;
}

.roadmap-bullet-points li {
  position: relative;
  padding-left: 14px;
}

.roadmap-bullet-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1C6CA1;
  font-size: 1.1em;
  line-height: 1;
}

.ring-phase1.active-ring {
  border-width: 2.5px;
  box-shadow: 0 0 0 4px rgba(196, 85, 37, 0.12);
}

/* Roadmap Phase 1 Working In-Progress 3-Dot Animation */
.roadmap-loading-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  user-select: none;
}

.roadmap-loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #A34828;
  display: inline-block;
  animation: roadmapDotPulse 1.35s ease-in-out infinite both;
}

.roadmap-loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.roadmap-loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.roadmap-loading-dots span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes roadmapDotPulse {
  0%, 80%, 100% {
    transform: scale(0.45);
    opacity: 0.35;
    background-color: #A34828;
  }
  40% {
    transform: scale(1.15);
    opacity: 1;
    background-color: #1C6CA1;
  }
}

/* 3. Narrative Story Chapters */
.story-narrative-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.story-chapter-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 0 36px;
  box-shadow: none;
  border-bottom: 1px dashed var(--border-medium);
}

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

.chapter-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  display: block;
  margin-bottom: 6px;
}

.chapter-heading {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.chapter-prose {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.chapter-highlight-quote {
  border-left: 3px solid var(--oranga-brown);
  padding: 12px 20px;
  margin: 18px 0;
  background: transparent;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.community-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.insight-point-box {
  background: transparent;
  padding: 8px 0 8px 16px;
  border-radius: 0;
  border: none;
  border-left: 2px solid var(--oranga-brown);
}

.insight-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--oranga-brown);
  margin-bottom: 6px;
}

.insight-desc {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* System Analysis Diagrams & Chapter Visual Grids */
.system-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 28px 0 12px;
}

@media (max-width: 768px) {
  .system-analysis-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.system-diagram-figure {
  margin: 0;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
}

.system-diagram-img-wrap {
  position: relative;
  cursor: pointer;
  background: transparent;
  padding: 4px;
  transition: transform 0.25s ease;
}

.system-diagram-img-wrap:hover {
  transform: scale(1.02);
}

.system-diagram-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
}

.diagram-zoom-hint {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--oranga-brown);
  margin-top: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-diagram-caption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-top: 10px;
}

.diagram-fig-num {
  display: block;
  color: var(--oranga-brown);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

/* Radical Transparency & Open Knowledge Repository */
.transparency-section-header {
  margin-top: 56px;
}

.transparency-repository-container {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.transparency-category-block {
  border-bottom: 1px dashed var(--border-medium);
  padding-bottom: 28px;
}

.transparency-category-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.transparency-cat-heading {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.transparency-cat-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.transparency-docs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.transparency-doc-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-left: 2px solid transparent;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.transparency-doc-item:hover,
.transparency-doc-item:focus-within {
  background: rgba(180, 90, 60, 0.045);
  border-left-color: var(--oranga-brown);
  padding-left: 14px;
}

.transparency-doc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.transparency-doc-meta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-bottom: 0;
  flex-shrink: 0;
}

.transparency-doc-badge {
  color: var(--oranga-brown);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(180, 90, 60, 0.08);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.transparency-doc-title {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.transparency-doc-title:hover {
  color: var(--oranga-brown);
}

.transparency-doc-summary {
  width: 100%;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, margin 0.2s ease;
}

.transparency-doc-item:hover .transparency-doc-summary,
.transparency-doc-item:focus-within .transparency-doc-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 6px;
  margin-bottom: 2px;
}

.transparency-doc-action-btn {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--oranga-brown);
  background: transparent;
  border: 1px solid var(--oranga-brown);
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.transparency-doc-action-btn:hover {
  background: var(--oranga-brown);
  color: #FFF;
}

/* 4. Action Dual-Tracks: Donate Capital + Join as Partner */
.movement-action-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.action-track-card {
  background: #FFF;
  border: 1.5px solid var(--border-medium);
  border-radius: 4px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.action-track-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  margin-bottom: 8px;
}

.action-track-title {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink-primary);
}

.action-track-intro {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Donation Tiers in Track 1 */
.tier-item-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding: 13px 16px;
  background: var(--bg-impact);
  border-radius: 4px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tier-item-row:hover, .tier-item-row.selected {
  background: #FDF3F0;
  border-left: 3px solid var(--oranga-brown);
}

.tier-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--oranga-brown);
  min-width: 90px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.tier-impact-label {
  font-size: 0.85rem;
  color: var(--ink-primary);
  text-align: right;
  flex: 1;
  line-height: 1.45;
}

/* Floating Mid-Left Return Arrow to Homepage */
.mid-left-back-arrow {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  color: var(--ink-primary);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.28s var(--ease-smooth);
}

.mid-left-back-arrow:hover {
  background: var(--oranga-brown);
  border-color: var(--oranga-brown);
  color: #FFF;
  transform: translateY(-50%) translateX(-4px) scale(1.06);
  box-shadow: 0 6px 22px rgba(200, 90, 50, 0.32);
}

.mid-left-back-arrow .back-arrow-tooltip {
  position: absolute;
  left: 58px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink-primary);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mid-left-back-arrow:hover .back-arrow-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(4px);
}

@media (max-width: 768px) {
  .mid-left-back-arrow {
    left: 12px;
    top: 36px;
    transform: none;
    width: 40px;
    height: 40px;
  }
  .mid-left-back-arrow:hover {
    transform: scale(1.05);
  }
}

/* Partner Form in Track 2 */
.partner-join-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.partner-join-form textarea {
  min-height: 155px;
  flex: 1;
  resize: vertical;
}

.action-track-card #directDonateBtn {
  margin-top: auto;
}

.partner-join-form button[type="submit"] {
  margin-top: auto;
}

.partner-role-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-medium);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: #FFF;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .stepper-nodes-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .movement-action-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-chapter-card {
    padding: 24px 20px;
  }
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 22, 21, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #FFF;
  border-radius: 4px;
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(16px);
  transition: transform 0.3s var(--ease-smooth);
}

.modal-window.modal-wide {
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px 24px;
}

/* Philosophy Gallery Tabs */
.philo-gallery-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}

.philo-gallery-tab {
  background: var(--bg-impact, #FAF7F2);
  border: 1px solid var(--border-medium, #DDD);
  padding: 5px 12px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  border-radius: 16px;
  cursor: pointer;
  color: var(--ink-secondary);
  transition: all 0.2s ease;
}

.philo-gallery-tab:hover {
  border-color: var(--oranga-brown);
  color: var(--oranga-brown);
}

.philo-gallery-tab.active {
  background: var(--oranga-brown);
  color: #FFF;
  border-color: var(--oranga-brown);
}

.modal-backdrop.active .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink-muted);
}

/* Partner Details Modal */
.partner-modal-window {
  max-width: 680px;
  padding: 34px 30px;
}

.partner-modal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border-medium);
}

.partner-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.partner-pill:hover {
  background: var(--bg-hover);
  color: var(--ink-primary);
  border-color: var(--oranga-brown);
}

.partner-pill.active {
  background: var(--oranga-brown);
  color: #fff;
  border-color: var(--oranga-brown);
  font-weight: 700;
}

.partner-cards-deck {
  width: 100%;
}

.partner-card {
  display: none;
  animation: partnerCardFade 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.partner-card.active {
  display: block;
}

@keyframes partnerCardFade {
  from {
    opacity: 0.15;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partner-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border-medium);
}

.partner-modal-logo-wrap {
  width: 90px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-modal-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-modal-titles {
  flex: 1;
}

.partner-modal-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  display: block;
  margin-bottom: 4px;
}

.partner-modal-name {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}

.partner-modal-location {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  display: block;
}

.partner-modal-body {
  margin-bottom: 22px;
}

.partner-modal-desc {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.partner-modal-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--bg-impact);
  padding: 16px;
  border-radius: 4px;
}

.partner-modal-key-point {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.key-point-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  font-weight: 700;
}

.key-point-value {
  font-size: 0.86rem;
  color: var(--ink-primary);
  line-height: 1.5;
}

/* Partner Agreement Badges & External Website Links */
.partner-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.partner-agreement-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
}

.partner-agreement-badge.status-signed {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
  border: 1px solid rgba(46, 125, 50, 0.35);
}

.partner-agreement-badge.status-review {
  background: rgba(230, 81, 0, 0.12);
  color: #b73800;
  border: 1px solid rgba(230, 81, 0, 0.35);
}

.partner-agreement-badge.status-mentorship {
  background: rgba(26, 101, 216, 0.12);
  color: #0d47a1;
  border: 1px solid rgba(26, 101, 216, 0.35);
}

.partner-agreement-badge.status-liaison {
  background: rgba(74, 70, 67, 0.12);
  color: #3e3a37;
  border: 1px solid rgba(74, 70, 67, 0.3);
}

.partner-website-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 3px;
  background: var(--ink-primary);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--ink-primary);
}

.partner-website-btn:hover {
  background: var(--oranga-brown);
  border-color: var(--oranga-brown);
  color: #fff;
}

.partner-inline-link {
  color: var(--blue-pansy);
  text-decoration: underline;
  word-break: break-all;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  display: inline-block;
  margin-top: 2px;
  transition: color 0.2s ease;
}

.partner-inline-link:hover {
  color: var(--oranga-brown);
}

.partner-modal-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-tier {
  background: #FAF8F5;
  border: 1px solid var(--border-medium);
  padding: 8px 14px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-tier.selected, .btn-tier:hover {
  background: var(--oranga-brown);
  color: #FFF;
  border-color: var(--oranga-brown);
}

@media (max-width: 992px) {
  .floating-products-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .two-artists-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .directory-3col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .hero-connector-left {
    left: 12px;
  }
  .hero-connector-right {
    right: 12px;
  }
  .hero-connector-borderless {
    font-size: 0.78rem;
    padding: 6px 11px;
    top: calc(100vh - 65px);
  }
  .hero-connector-borderless.is-docked {
    top: 50%;
    font-size: 0.52rem;
    padding: 4px 8px;
    letter-spacing: 0.08em;
  }
  .floating-products-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SO STUDIOS: WEBSITE IN DEVELOPMENT WATERMARK
   ========================================================================== */
.dev-watermark-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-watermark-banner {
  transform: rotate(-22deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
  width: 180vw;
  background: rgba(180, 50, 30, 0.07);
  border-top: 2px dashed rgba(200, 45, 35, 0.55);
  border-bottom: 2px dashed rgba(180, 90, 60, 0.55);
  box-shadow: 0 0 50px rgba(180, 50, 30, 0.05);
  backdrop-filter: blur(0.5px);
}

.dev-watermark-text {
  font-family: var(--font-mono, monospace);
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c53030;
  opacity: 0.42;
  text-shadow: 0 0 2px rgba(180, 50, 30, 0.25);
  white-space: nowrap;
}

.dev-watermark-sub {
  font-family: var(--font-mono, monospace);
  font-size: clamp(0.72rem, 1.3vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oranga-brown-dark, #5C2216);
  opacity: 0.55;
  white-space: nowrap;
}

@keyframes orangaSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   CONTRIBUTION & WIRE / VENMO PAYMENT DETAILS
   ========================================================================== */
.contribution-methods-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 20px;
  text-align: left;
}

.payment-method-card {
  background: var(--bg-impact, #FAF7F2);
  border: 1px solid var(--border-medium, #E4DDD3);
  border-radius: 4px;
  padding: 16px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-method-card:hover {
  border-color: var(--oranga-brown);
  box-shadow: 0 2px 10px rgba(140, 62, 45, 0.06);
}

.payment-method-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-medium, #E4DDD3);
}

.payment-method-title {
  font-family: var(--font-mono, monospace);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-method-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oranga-brown);
  background: rgba(140, 62, 45, 0.08);
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 600;
}

.payment-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.payment-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.payment-detail-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  color: var(--ink-secondary);
  font-weight: 600;
}

.payment-detail-value-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-detail-value {
  font-family: var(--font-mono, monospace);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: 0.05em;
  user-select: all;
}

.btn-copy-mini {
  background: #FFF;
  border: 1px solid var(--border-medium, #DDD);
  border-radius: 3px;
  padding: 3px 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: var(--oranga-brown);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn-copy-mini:hover {
  background: var(--oranga-brown);
  color: #FFF;
  border-color: var(--oranga-brown);
}

.btn-copy-mini.copied {
  background: #2E7D32 !important;
  color: #FFF !important;
  border-color: #2E7D32 !important;
}

@media (max-width: 580px) {
  .payment-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .payment-detail-value-group {
    width: 100%;
    justify-content: space-between;
  }
}
