/* ============================================================
   MINDGLE — Culture / Mindgleian Framework Page (culture.css)
   ============================================================ */

/* ── TOI / TOK color tokens ── */
:root {
  --toi:        #2d86c7;
  --toi-lt:     #e8f4fc;
  --tok:        #2e7d4f;
  --tok-lt:     #edf7f2;
  --gold:       #f5a623;
  --gold-lt:    #fef8ec;
}

/* ── Sidebar navigation ── */
.culture-layout {
  /*display: grid;*/
  grid-template-columns: 260px 1fr;
  gap: 0;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
  padding: 0 0% 80px;
}

.culture-sidebar {
  position: sticky;
  top: 90px;
  padding: 28px 0 28px 0;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.culture-sidebar::-webkit-scrollbar { width: 4px; }
.culture-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.sidebar-inner {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  box-shadow: var(--sh-sm);
  padding: 20px 0;
  overflow: hidden;
}

.sidebar-monogram {
  text-align: center;
  padding: 12px 20px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.sidebar-monogram .mono-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sidebar-monogram .mono-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.sb-section-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 14px 20px 6px;
}

.sb-section-title.toi-title { color: var(--toi); }
.sb-section-title.tok-title { color: var(--tok); }

.sb-link {
  display: block;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.18s ease;
  border-left: 3px solid transparent;
  line-height: 1.4;
}

.sb-link:hover {
  background: var(--bg);
  color: var(--blue);
  border-left-color: var(--blue);
  padding-left: 24px;
}

.sb-link.toi-link:hover { color: var(--toi); border-left-color: var(--toi); }
.sb-link.tok-link:hover { color: var(--tok); border-left-color: var(--tok); }

/* ── Main content area ── */
.culture-content {
  padding: 48px 0 0 0px;
  min-width: 0;
}

/* ── Progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--toi), var(--gold), var(--tok));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Hero block inside content ── */
.culture-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 60%, #1a2f55 100%);
  border-radius: var(--r-xl);
  padding: 48px 48px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.culture-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(245,166,35,0.1);
  pointer-events: none;
}

.culture-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 5%;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(45,134,199,0.1);
  pointer-events: none;
}

.culture-hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.culture-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.culture-hero h1 em { font-style: italic; color: var(--gold); }

.culture-hero .hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
}

.hero-badge.toi { border-color: var(--toi); color: #a5d4f0; background: rgba(45,134,199,0.12); }
.hero-badge.tok { border-color: var(--tok); color: #a7f3d0; background: rgba(46,125,79,0.12); }
.hero-badge.dur { border-color: var(--gold); color: var(--gold); background: rgba(245,166,35,0.1); }

/* ── Section styling ── */
.c-section {
  margin-bottom: 48px;
  /*opacity: 0;*/
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.c-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.c-section-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 10px;
}

.c-section-label.toi-label { color: var(--toi); }
.c-section-label.tok-label { color: var(--tok); }

.c-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.c-section h2 em { font-style: italic; color: var(--blue); }
.c-section p { line-height: 1.75; color: var(--text); margin-bottom: 14px; }

/* ── Content cards ── */
.c-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  border: 1.5px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--sh-sm);
}

.c-card.toi-card { border-left: 4px solid var(--toi); }
.c-card.tok-card { border-left: 4px solid var(--tok); }
.c-card.gold-card { border-left: 4px solid var(--gold); }

/* ── Step cards ── */
.step-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  border: 1.5px solid var(--border);
  margin-bottom: 16px;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.step-card:hover { box-shadow: var(--sh-md); transform: translateX(4px); }

.step-card.toi-step { border-left: 4px solid var(--toi); }
.step-card.tok-step { border-left: 4px solid var(--tok); }

.step-number {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.toi-step .step-number { background: var(--toi-lt); color: var(--toi); }
.tok-step .step-number { background: var(--tok-lt); color: var(--tok); }

.step-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.ask-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ask-list li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.ask-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 11px;
  top: 2px;
}

.toi-step .ask-list li::before { color: var(--toi); }
.tok-step .ask-list li::before { color: var(--tok); }

.why-box {
  background: var(--bg);
  border-radius: var(--r);
  padding: 14px 18px;
  margin-top: 12px;
  border-left: 3px solid var(--border);
}

.why-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
}

.why-box p { font-size: 0.875rem; color: var(--text); margin: 0; line-height: 1.6; }

/* ── Two column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.col-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--sh-sm);
}

.col-card.toi-col { border-top: 3px solid var(--toi); }
.col-card.tok-col { border-top: 3px solid var(--tok); }

.col-card h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.col-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }

/* ── Cycle flow ── */
.cycle-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  margin: 20px 0;
  box-shadow: var(--sh-sm);
}

.cycle-node {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cycle-node.rls { background: var(--gold-lt); color: var(--gold-dk, #d4891a); border: 1.5px solid var(--gold); }
.cycle-node.toi { background: var(--toi-lt); color: var(--toi); border: 1.5px solid var(--toi); }
.cycle-node.tok { background: var(--tok-lt); color: var(--tok); border: 1.5px solid var(--tok); }
.cycle-node.neutral { background: var(--bg); color: var(--navy); border: 1.5px solid var(--border); }

.cycle-arrow { color: var(--muted); font-size: 16px; font-weight: 700; }

/* ── Claim blocks ── */
.claim-block {
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin: 16px 0;
}

.claim-block.initial {
  background: var(--toi-lt);
  border-left: 5px solid var(--toi);
}

.claim-block.robust {
  background: var(--tok-lt);
  border-left: 5px solid var(--tok);
}

.claim-type {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.initial .claim-type { color: var(--toi); }
.robust .claim-type { color: var(--tok); }
.claim-block p { font-size: 0.95rem; line-height: 1.7; margin: 0; color: var(--text); }

/* ── Quote block ── */
.c-quote {
  border-left: 5px solid var(--gold);
  background: var(--gold-lt);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 22px 28px;
  margin: 24px 0;
}

.c-quote p { font-style: italic; font-size: 1rem; color: var(--navy); line-height: 1.65; margin: 0; }

/* ── Tags ── */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag-item {
  display: inline-block;
  padding: 5px 14px;
  background: var(--blue-lt);
  color: var(--blue-dk);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* ── Bullet list ── */
.c-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-bullet-list li {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px 12px 40px;
  position: relative;
  font-size: 0.93rem;
  line-height: 1.55;
  box-shadow: var(--sh-sm);
}

.c-bullet-list li::before {
  content: '→';
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--blue);
  font-weight: 700;
}

/* ── Scenario block ── */
.scenario-block {
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1.5px dashed rgba(45,134,199,0.3);
  padding: 24px;
  margin: 16px 0;
}

.scenario-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 10px;
}

.scenario-block p { font-size: 0.93rem; line-height: 1.7; color: var(--text); margin-bottom: 10px; }
.scenario-block p:last-child { margin-bottom: 0; }

/* ── Divider ── */
.c-divider {
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin: 40px 0;
  letter-spacing: 12px;
  opacity: 0.6;
}

/* ── Assets hub ── */
.assets-hub-section {
  background: var(--blue-lt);
  border: 2px dashed rgba(45,134,199,0.3);
  border-radius: var(--r-xl);
  padding: 32px;
  margin-bottom: 40px;
}

.assets-hub-section h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}

.assets-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.asset-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 700;
  width: 100%;
  text-align: center;
  transition: all 0.22s ease;
  cursor: pointer;
}

.asset-action-btn.primary { background: var(--blue); color: #fff; }
.asset-action-btn.primary:hover { background: var(--navy); color: #fff; }
.asset-action-btn.outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.asset-action-btn.outline:hover { background: var(--blue); color: #fff; }

.video-embed-wrap {
  position: relative;
  padding-bottom: 40%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  /*background: #000;*/
  margin-bottom: 16px;
  grid-column: 1 / -1;
    width: 70%;
    margin: 0 auto;
    display: table;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Highlight spans ── */
.hl-toi { background: var(--toi-lt); color: var(--toi); padding: 2px 8px; border-radius: 4px; font-weight: 700; font-size: 0.9em; }
.hl-tok { background: var(--tok-lt); color: var(--tok); padding: 2px 8px; border-radius: 4px; font-weight: 700; font-size: 0.9em; }
.hl { background: var(--gold-lt); color: var(--navy); padding: 2px 8px; border-radius: 4px; font-weight: 700; font-size: 0.9em; }

/* ── Summary grid ── */
.summary-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  box-shadow: var(--sh-sm);
  font-size: 0.9rem;
  line-height: 1.6;
}

.summary-row .sr-label { font-weight: 700; white-space: nowrap; color: var(--navy); }
.summary-row .sr-text { color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .culture-layout { grid-template-columns: 220px 1fr; }
  .culture-content { padding-left: 32px; }
}

@media (max-width: 860px) {
  .culture-layout { grid-template-columns: 1fr; padding: 0 4% 60px; }
  .culture-sidebar { display: none; }
  .culture-content { padding: 32px 0 0; }
  .two-col { grid-template-columns: 1fr; }
  .cycle-flow { flex-direction: column; align-items: flex-start; }
  .assets-hub-grid { grid-template-columns: 1fr; }
}
