/* ============================================================
   THRIVE STEAM   sections.css   v5.1
   Mobile-first. All grids collapse cleanly.
   Section headings use DM Sans SemiBold
   ============================================================ */

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* SECTION BASE */
.section { padding: 72px 5vw; position: relative; }
.section--white  { background: var(--c-white); }
.section--paper  { background: var(--c-paper); }
.section--sky    { background: var(--c-sky-light); }
.section--dark   { background: var(--c-navy); color: var(--c-paper); }

/* SECTION HEADER */
.section__header {
  display: block;
  margin-bottom: var(--s-8);
}
.section__label {
  font-family: var(--f-ui);
  font-size: .68rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-sky); margin-bottom: var(--s-2);
}
.section--dark .section__label { color: var(--c-yellow); }

/* Section titles: DM Sans SemiBold */
.section__title {
  font-family: var(--f-heading);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 600; line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--c-ink);
}
.section--dark .section__title { color: var(--c-paper); }
.section__title em { font-style: italic; color: var(--c-sky); }
.section--dark .section__title em { color: var(--c-yellow); }

.section__sub {
  font-family: var(--f-body);
  font-size: 1rem; line-height: 1.75;
  color: var(--c-ink-60); max-width: 680px;
  margin-top: var(--s-4);
}
.section--dark .section__sub { color: rgba(253,250,245,.6); }

@media (max-width: 768px) {
  .section { padding: 56px 5vw; }
  .section__header { grid-template-columns: 1fr; gap: var(--s-5); margin-bottom: var(--s-6); }
  .section__title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .section__sub { max-width: 100%; margin-top: var(--s-2); }
}

/* STEAM STRIP */
.steam-strip {
  display: flex; gap: 16px; margin-top: var(--s-8);
}
.steam-pillar {
  flex: 1; padding: 32px 20px; text-align: center;
  background: var(--c-white);
  border: 1px solid var(--c-ink-10);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease; cursor: default;
}
.steam-pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.sp-s { background: var(--c-white); }
.sp-t { background: var(--c-white); }
.sp-e { background: var(--c-white); }
.sp-a { background: var(--c-white); }
.sp-m { background: var(--c-white); }
.sp-letter {
  font-family: var(--f-heading);
  font-size: 2.2rem; font-weight: 700;
  margin-bottom: 10px;
}
.sp-s .sp-letter { color: var(--c-orange); }
.sp-t .sp-letter { color: var(--c-blue); }
.sp-e .sp-letter { color: var(--c-yellow); }
.sp-a .sp-letter { color: var(--c-violet); }
.sp-m .sp-letter { color: var(--c-green); }
.sp-word {
  display: block; font-family: var(--f-ui);
  font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--c-ink);
  margin-bottom: 10px;
}
.sp-desc { font-size: .85rem; color: var(--c-ink-60); line-height: 1.6; }

@media (max-width: 768px) {
  .steam-strip { flex-direction: column; gap: 10px; }
  .steam-pillar { flex: none; padding: 20px; text-align: left; display: flex; gap: 16px; align-items: center; }
  .steam-pillar:hover { transform: none; }
  .sp-letter { font-size: 1.6rem; margin-bottom: 0; flex-shrink: 0; }
  .sp-desc { display: none; }
  .sp-word { margin-bottom: 0; }
}

/* WHY THRIVE - two-col prose + facts */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  margin-top: var(--s-7);
}
.why__prose p {
  margin-bottom: var(--s-5); font-size: 1rem; line-height: 1.8;
  color: var(--c-ink-80);
}
.why__prose p:last-child { margin-bottom: 0; }

@media (max-width: 768px) { .why__grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ABOUT / FACTS ASIDE */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-7); margin-top: var(--s-7);
}
.about__prose p { margin-bottom: var(--s-5); font-size: 1rem; line-height: 1.8; color: var(--c-ink-80); }
.about__aside { display: flex; flex-direction: column; gap: var(--s-4); }
.about__fact {
  border-radius: var(--r-lg); padding: var(--s-5);
  flex: 1;
}
.about__fact--a { background: var(--c-sky-light); }
.about__fact--b { background: #F0FAF2; }
.about__fact--c { background: #FFF8EC; }
.about__fact-num {
  font-family: var(--f-display);
  font-size: 2.2rem; font-weight: 700;
  color: var(--c-ink); margin-bottom: 4px; line-height: 1;
}
.about__fact h4 {
  font-family: var(--f-card);
  font-size: .92rem; font-weight: 700; margin-bottom: 4px; color: var(--c-ink);
}
.about__fact p { font-size: .84rem; color: var(--c-ink-60); line-height: 1.55; }

@media (max-width: 768px) { .about__grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* HOW WE TEACH - rhythm grid */
.rhythm__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5); margin-bottom: var(--s-7);
}
.rhythm__step {
  background: var(--c-white); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--shadow-soft);
}
.rhythm__step-num {
  font-family: var(--f-display);
  font-size: 2.6rem; font-weight: 700;
  color: var(--c-sky); opacity: .2; line-height: 1; margin-bottom: var(--s-3);
}
.rhythm__step-title {
  font-family: var(--f-card);
  font-size: 1.2rem; font-weight: 700; margin-bottom: var(--s-3); color: var(--c-ink);
}
.rhythm__step p { font-size: .93rem; color: var(--c-ink-60); line-height: 1.7; }

@media (max-width: 768px) { .rhythm__grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* HOW ITEMS LIST */
.how__list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--c-ink-10);
}
.how__item {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--c-ink-10);
  border-bottom: 1px solid var(--c-ink-10);
}
.how__item:nth-child(3n) { border-right: none; }
.how__item-num {
  font-family: var(--f-display);
  font-size: 1.1rem; font-weight: 700; opacity: .12;
  margin-bottom: var(--s-2); color: var(--c-ink);
}
.how__item h3 {
  font-family: var(--f-card);
  font-size: .97rem; font-weight: 700; margin-bottom: var(--s-2); color: var(--c-ink);
}
.how__item p { font-size: .88rem; color: var(--c-ink-60); line-height: 1.65; }

@media (max-width: 900px) {
  .how__list { grid-template-columns: repeat(2, 1fr); }
  .how__item:nth-child(3n) { border-right: 1px solid var(--c-ink-10); }
  .how__item:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .how__list { grid-template-columns: 1fr; }
  .how__item { border-right: none; }
  .how__item:nth-child(2n) { border-right: none; }
}

/* MATERIALS GRID */
.materials__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5); margin-bottom: var(--s-7);
}
.mat-card {
  background: var(--c-white); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--c-sky);
}
.mat-card--science    { border-color: var(--c-orange); }
.mat-card--everyday   { border-color: var(--c-yellow); }
.mat-card--engineering{ border-color: var(--c-blue); }
.mat-card--art        { border-color: var(--c-violet); }
.mat-card__icon { font-size: 1.8rem; margin-bottom: var(--s-3); }
.mat-card h3 {
  font-family: var(--f-card);
  font-size: 1.05rem; font-weight: 700; margin-bottom: var(--s-3); color: var(--c-ink);
}
.mat-card p { font-size: .9rem; color: var(--c-ink-60); line-height: 1.65; margin-bottom: var(--s-3); }
.mat-card__note { font-size: .82rem !important; color: var(--c-ink-40) !important; font-style: italic; margin-bottom: 0 !important; }

@media (max-width: 640px) { .materials__grid { grid-template-columns: 1fr; } }

/* T-WORKS BANNER */
.tworks__banner {
  background: var(--c-navy); color: var(--c-yellow);
  text-align: center; padding: 14px 5vw; border-radius: var(--r-md);
  font-family: var(--f-ui); font-size: .76rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: var(--s-6);
}
.tworks__split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7);
}
.tworks__prose p {
  font-size: .98rem; color: var(--c-ink-60); line-height: 1.78;
  margin-bottom: var(--s-4);
}
.tworks__features { display: flex; flex-direction: column; gap: var(--s-4); }
.tw-feat {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-4); background: var(--c-white);
  border-radius: var(--r-md); box-shadow: var(--shadow-soft);
}
.tw-feat__n {
  font-family: var(--f-display); font-size: .9rem; font-weight: 600;
  opacity: .3; flex-shrink: 0; padding-top: 2px; color: var(--c-ink);
}
.tw-feat h4 {
  font-family: var(--f-card); font-size: .92rem; font-weight: 700;
  margin-bottom: 4px; color: var(--c-ink);
}
.tw-feat p { font-size: .85rem; color: var(--c-ink-60); line-height: 1.6; }

@media (max-width: 768px) { .tworks__split { grid-template-columns: 1fr; gap: var(--s-6); } }

/* LIBRARY */
.library__split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7);
}
.library__prose p {
  font-size: .98rem; color: var(--c-ink-60); line-height: 1.78;
  margin-bottom: var(--s-4);
}
.library__visual {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.book-cover {
  width: 100%; aspect-ratio: 2/3; object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,.18), 0 1px 4px rgba(0,0,0,.1);
  transition: transform .25s ease, box-shadow .25s ease;
  background: var(--c-cream);
}
.book-cover:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.library__count {
  grid-column: span 3; background: var(--c-navy);
  border-radius: var(--r-md); padding: var(--s-5); text-align: center; color: var(--c-paper);
}
.library__count .num {
  font-family: var(--f-display); font-size: 2.4rem; font-weight: 700;
  color: var(--c-yellow); line-height: 1;
}
.library__count small { font-size: .78rem; color: rgba(253,250,245,.5); display: block; margin-top: 4px; }

@media (max-width: 768px) {
  .library__split { grid-template-columns: 1fr; gap: var(--s-6); }
  .library__visual { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
  .library__visual { grid-template-columns: repeat(2, 1fr); }
  .library__count { grid-column: span 2; }
}

/* BOOK THEMES */
.book-themes { margin-top: var(--s-7); }
.book-themes__heading {
  font-family: var(--f-heading); font-size: 1.4rem; font-weight: 600;
  margin-bottom: var(--s-5); color: var(--c-ink);
}
.book-themes__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
.book-theme-card {
  background: var(--c-white); border-radius: var(--r-md);
  padding: var(--s-5); box-shadow: var(--shadow-soft);
}
.book-theme-card__tag {
  display: block; font-family: var(--f-ui); font-size: .65rem; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-sky); margin-bottom: var(--s-2);
}
.book-theme-card__title {
  font-family: var(--f-card); font-size: .95rem; font-weight: 700;
  color: var(--c-ink); margin-bottom: 2px;
}
.book-theme-card__author { font-size: .78rem; color: var(--c-ink-40); margin-bottom: var(--s-3); }
.book-theme-card p:last-child { font-size: .86rem; color: var(--c-ink-60); line-height: 1.6; }

@media (max-width: 900px) { .book-themes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .book-themes__grid { grid-template-columns: 1fr; } }

/* THEMES GRID */
.themes__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
.theme-card {
  background: var(--c-white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-soft);
  display: block; cursor: pointer; color: inherit; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.theme-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.theme-card__image {
  width: 100%; aspect-ratio: 16/10; object-fit: contain; display: block;
  background: var(--c-cream);
}
.theme-card__body { padding: var(--s-4) var(--s-5); }
.theme-card__name {
  font-family: var(--f-card); font-size: 1rem; font-weight: 700;
  color: var(--c-ink); margin-bottom: 4px;
}
.theme-card__sub { font-size: .78rem; color: var(--c-ink-40); font-family: var(--f-ui); }

@media (max-width: 900px) { .themes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .themes__grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* FOR PARENTS */
.parents {
  background: #0a0c18;   /* solid black, no animation */
  color: var(--c-paper);
  padding: 100px 5vw;
  position: relative;
  overflow: hidden;
}
/* iframe kept in HTML but background is just black now */
.parents__bg-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; z-index: 0; pointer-events: none;
}
.parents__inner {
  position: relative; z-index: 2;
  max-width: 760px; margin: 0 auto; text-align: center;
}
.parents__eyebrow {
  font-family: var(--f-ui); font-size: .68rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--c-yellow);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: var(--s-5);
}
.parents__eyebrow::before, .parents__eyebrow::after {
  content: ''; display: block; flex: 1; max-width: 40px;
  height: 1px; background: var(--c-yellow); opacity: .4;
}
.parents__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 600;
  line-height: 1.1; letter-spacing: -0.5px; margin-bottom: var(--s-5); color: var(--c-paper);
}
.parents__lead {
  font-size: 1.05rem; color: rgba(253,250,245,.6); margin-bottom: var(--s-6);
  line-height: 1.7;
}
.parents__points { display: flex; flex-direction: column; gap: var(--s-4); margin-bottom: var(--s-7); text-align: left; }
.parents__point {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-4) var(--s-5);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
}
.parents__point-mark {
  flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--c-yellow); margin-top: 8px;
}
.parents__point-text { font-size: .97rem; color: rgba(253,250,245,.78); line-height: 1.65; }
.parents__conclusion {
  font-size: 1rem; color: rgba(253,250,245,.65); line-height: 1.7;
  margin-bottom: var(--s-6);
}
.parents__conclusion strong { color: var(--c-paper); }
.parents__actions { display: flex; justify-content: center; gap: var(--s-4); flex-wrap: wrap; }
.parents .btn--primary { background: var(--c-yellow); color: var(--c-navy); }
.parents .btn--primary:hover { background: var(--c-paper); }
.parents .btn--ghost { color: var(--c-paper); border-color: rgba(255,255,255,.25); }
.parents .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

@media (max-width: 600px) {
  .parents { padding: 72px 5vw; }
  .parents__title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
}

/* TEAM */
.team__list { display: flex; flex-direction: column; gap: 0; }
.team__row {
  display: grid; grid-template-columns: 180px 1fr;
  gap: var(--s-6); padding: var(--s-7) 0;
  border-bottom: 1px solid var(--c-ink-10);
  border-radius: 24px;
  align-items: start;
  cursor: pointer;
}
.team__row:hover {
  background: #f5f5f5;
  transition: 0.2s;
}
/* alternating layout removed - all photos on left for consistency */
.team__photo-placeholder {
  width: 100%; aspect-ratio: 1;
  background: var(--c-cream); border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--c-ink-20);
}
.team__photo-placeholder svg { width: 40px; height: 40px; }
.team__photo-placeholder span { font-size: .72rem; font-family: var(--f-ui); color: var(--c-ink-40); }
.team__photo-img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 20%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  display: block;
  margin-left: 14px;
}
.team__role {
  font-family: var(--f-ui); font-size: .68rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-sky);
  display: block; margin-bottom: var(--s-2);
}
.team__name {
  font-family: var(--f-card); font-size: 1.4rem; font-weight: 700;
  color: var(--c-ink); margin-bottom: var(--s-3);
}
.team__desc { font-size: .95rem; color: var(--c-ink-60); line-height: 1.75; margin-bottom: var(--s-4); margin-right: var(--s-2); }
.team__credentials { display: flex; flex-wrap: wrap; gap: 8px; }
.team__credential {
  font-family: var(--f-ui); font-size: .72rem; font-weight: 500;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--c-sky-light); color: var(--c-sky);
  border: 1px solid rgba(56,189,248,.2);
}

@media (max-width: 768px) {
  .team__row {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .team__photo-placeholder { max-width: 120px; aspect-ratio: 1; }
  .team__photo-img { max-width: 120px; }
}

/* GALLERY */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}
.gallery__cell { position: relative; border-radius: var(--r-md); overflow: hidden; }
.gallery__cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.gallery__cell:hover img { transform: scale(1.04); }
.gc--wide { grid-column: span 2; }
.gc--tall { grid-row: span 2; }
.gallery__cell-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 14px 14px;
  background: linear-gradient(transparent, rgba(26,26,46,.75));
  font-family: var(--f-ui); font-size: .72rem; font-weight: 500;
  color: rgba(253,250,245,.85); letter-spacing: .3px;
  opacity: 0; transition: opacity .3s ease;
}
.gallery__cell:hover .gallery__cell-caption { opacity: 1; }
.gallery__footer { margin-top: var(--s-5); text-align: center; }
.gallery__footer-note {
  font-family: var(--f-ui); font-size: .74rem; color: rgba(253,250,245,.35);
}

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gc--wide { grid-column: span 2; }
  .gc--tall { grid-row: span 1; }
}
@media (max-width: 540px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
  .gc--wide { grid-column: span 2; }
  .gc--tall { grid-row: span 1; }
}

/* FAQ */
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--c-ink-10); }
.faq__item:first-child { border-top: 1px solid var(--c-ink-10); }
.faq__q {
  font-family: var(--f-card); font-size: .97rem; font-weight: 700;
  color: var(--c-ink); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+'; font-family: var(--f-ui); font-size: 1.4rem; font-weight: 300;
  color: var(--c-sky); flex-shrink: 0;
  transition: transform .3s ease;
}
details[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 var(--s-7) var(--s-5) 0;
  font-size: .96rem; color: var(--c-ink-60); line-height: 1.78;
}

/* CONTACT */
.contact {
  padding: 88px 5vw 48px;
  background: var(--c-navy); color: var(--c-paper);
}
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-8); margin-bottom: var(--s-8);
  align-items: start;
}
.contact__left h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600;
  line-height: 1.1; letter-spacing: -0.5px; margin-bottom: var(--s-4); color: var(--c-paper);
}
.contact__left h2 em { font-style: italic; color: var(--c-yellow); }
.contact__left p { font-size: .96rem; color: rgba(253,250,245,.6); line-height: 1.7; }
.contact__items { display: flex; flex-direction: column; gap: var(--s-4); }
.contact__item {
  padding: var(--s-4) var(--s-5);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  font-size: .93rem; color: rgba(253,250,245,.75); line-height: 1.6;
}
.contact__item-label {
  display: block; font-family: var(--f-ui);
  font-size: .64rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--c-yellow);
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .contact { padding: 64px 5vw 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--s-5); margin-top: var(--s-6);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s-4);
}
.footer__logo {
  font-family: var(--f-ui);
  font-size: 1rem; font-weight: 700; color: rgba(253,250,245,.4); letter-spacing: -0.3px;
}
.footer__logo .accent { color: rgba(56,189,248,.5); }
.footer__links { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer__links a {
  font-family: var(--f-ui); font-size: .76rem; color: rgba(253,250,245,.35);
  transition: color .2s;
}
.footer__links a:hover { color: rgba(253,250,245,.7); }
.footer__copy {
  font-family: var(--f-ui); font-size: .72rem;
  color: rgba(253,250,245,.25); width: 100%;
}

@media (max-width: 600px) {
  .footer { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .footer__links { gap: var(--s-4); }
}

/* BUTTONS in dark sections */
.btn--primary { background: var(--c-ink); color: var(--c-paper); }
.btn--primary:hover { background: var(--c-sky); }
.btn--ghost { color: var(--c-ink); border: 1.5px solid var(--c-ink-20); }
.btn--ghost:hover { border-color: var(--c-ink); background: var(--c-white); }

/* Drawer hidden on desktop */
.nav__drawer { display: none; }
@media (max-width: 768px) {
  .nav__drawer { display: flex; }
}

/* ── EXPERT CARD (after STEAM strip) ── */
.expert-card {
  margin-top: var(--s-6);
  background: var(--c-navy);
  border-radius: var(--r-lg);
  padding: var(--s-7);
}
.expert-card__inner .section__label { color: var(--c-yellow); margin-bottom: var(--s-3); }
.expert-card__inner p {
  font-size: 1.02rem; color: rgba(253,250,245,.8); line-height: 1.78; max-width: 700px;
}

/* ── BEHIND EVERY SESSION ── */
.behind__prose {
  max-width: 720px; margin-bottom: var(--s-7);
}
.behind__prose p {
  font-size: 1rem; color: var(--c-ink-60); line-height: 1.78; margin-bottom: var(--s-4);
}
.behind__cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s-5);
}
.behind-card {
  background: var(--c-paper); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--c-sky);
}
.behind-card__tag {
  display: block; font-family: var(--f-ui); font-size: .65rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--c-sky); margin-bottom: var(--s-3);
}
.behind-card h3 {
  font-family: var(--f-card); font-size: 1.05rem; font-weight: 700;
  color: var(--c-ink); margin-bottom: var(--s-3);
}
.behind-card p { font-size: .92rem; color: var(--c-ink-60); line-height: 1.65; }
@media (max-width: 768px) { .behind__cards { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ── PHILOSOPHY PILLARS ── */
.pillars__grid {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: var(--s-7);
  max-width: 680px;
}
.pillar {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--s-4);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--c-ink-10);
}
.pillar:last-child { border-bottom: none; }
.pillar::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  grid-column: 1; grid-row: 1;
}
.pillar:nth-child(1)::before { background: var(--c-violet); }
.pillar:nth-child(2)::before { background: var(--c-orange); }
.pillar:nth-child(3)::before { background: var(--c-blue); }
.pillar:nth-child(4)::before { background: var(--c-green); }
.pillar:nth-child(5)::before { background: var(--c-yellow); }
.pillar__title {
  font-family: var(--f-card); font-size: 1rem; font-weight: 700;
  color: var(--c-ink); margin-bottom: var(--s-2);
  grid-column: 2; grid-row: 1;
}
.pillar p {
  font-size: .93rem; color: var(--c-ink-60); line-height: 1.72;
  grid-column: 2; grid-row: 2;
}
.founder-quote {
  background: var(--c-cream); border-left: 4px solid var(--c-orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s-6) var(--s-7); margin-top: var(--s-6);
}
.founder-quote p {
  font-family: var(--f-body); font-size: 1.08rem; font-style: italic;
  color: var(--c-ink-80); line-height: 1.75; margin-bottom: var(--s-3);
}
.founder-quote cite {
  font-family: var(--f-ui); font-size: .78rem; font-weight: 500;
  color: var(--c-ink-40); letter-spacing: .5px; font-style: normal;
}

@media (max-width: 768px) {
  .pillars__grid { gap: var(--s-5); }
  .founder-quote { padding: var(--s-5); }
}

/* ── THEME CARD discipline tag ── */
.theme-card__discipline {
  display: block; font-family: var(--f-ui); font-size: .65rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--c-sky); margin-bottom: 4px;
}

/* ── FOUNDER SECTION ── */
.founder__body {
  max-width: 720px;
}
.founder__body p {
  font-size: 1rem; color: var(--c-ink-60); line-height: 1.8; margin-bottom: var(--s-5);
}
.founder__body p:last-child { margin-bottom: 0; }

/* ── LIBRARY BUTTONS ── */
.library__buttons {
  display: flex; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-6);
}

/* ── REAL TOOLS closing copy ── */
.real-tools {
  background: var(--c-navy); color: var(--c-paper);
  border-radius: var(--r-lg); padding: var(--s-6) var(--s-7);
  margin-bottom: var(--s-6); margin-top: var(--s-6);
}
.real-tools h3 {
  font-family: var(--f-card); font-size: 1.2rem; font-weight: 700;
  color: var(--c-paper); margin-bottom: var(--s-3);
}
.real-tools h3 em { font-style: italic; color: var(--c-sky); }
.real-tools p {
  font-size: .97rem; color: rgba(253,250,245,.75); line-height: 1.75; max-width: 680px;
}

/* ── CONTACT ACTIONS ── */
.contact__actions {
  display: flex; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-6);
}
.contact__actions .btn--ghost {
  color: var(--c-paper); border-color: rgba(255,255,255,.3);
}
.contact__actions .btn--ghost:hover {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6);
}