/* ==========================================================================
   TheConsulting.io — round 5: lighter, more scannable presentation
   Expandable detail, diagrams in place of paragraphs, more breathing room.
   ========================================================================== */

:root { --tc-section-y: clamp(5.5rem, 3rem + 6.5vw, 10rem); }

.tc-h2 { margin-bottom: 1rem; }
.tc-short { max-width: 26rem; }

/* ---------- Expandable rows (native <details>) ---------- */
.tc-acc { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--tc-line); }
.tc-acc > details { border-top: 1px solid var(--tc-line); }
.tc-acc summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.25rem;
  list-style: none;
  cursor: pointer;
}
.tc-acc summary::-webkit-details-marker { display: none; }
.tc-acc h3 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .4vw, 1.4375rem); line-height: 1.25; transition: color .2s ease; }
.tc-acc .tc-acc-tag { display: block; margin-top: .2rem; font-size: .9375rem; color: var(--tc-slate); }
.tc-acc summary:hover h3, .tc-acc details[open] h3 { color: var(--tc-green-700); }
.tc-acc summary:focus-visible { outline: 2px solid var(--tc-green); outline-offset: 4px; border-radius: 4px; }
.tc-acc-body { padding: 0 0 1.5rem calc(44px + 1.25rem); max-width: 40rem; }
.tc-acc-body p { margin: 0 0 .75rem; font-size: .9375rem; }
.tc-acc-body ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.tc-acc-body li { position: relative; padding: .3rem 0 .3rem 1.1rem; font-size: .9375rem; color: var(--tc-ink); }
.tc-acc-body li::before { content: ""; position: absolute; left: 0; top: .9rem; width: 6px; height: 6px; border-radius: 50%; background: var(--tc-green); }

/* Plus / minus toggle */
.tc-plus {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--tc-line);
  border-radius: 50%;
  transition: border-color .2s ease, background-color .2s ease, transform .3s ease;
}
.tc-plus::before, .tc-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--tc-ink);
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.tc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
summary:hover .tc-plus { border-color: var(--tc-green); }
details[open] > summary .tc-plus { background: var(--tc-ink); border-color: var(--tc-ink); }
details[open] > summary .tc-plus::before, details[open] > summary .tc-plus::after { background: #fff; }
details[open] > summary .tc-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (prefers-reduced-motion: no-preference) {
  details[open] > .tc-acc-body, details[open] > .tc-more-body { animation: tc-reveal .35s ease; }
}
@keyframes tc-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Inline "read more" toggle */
.tc-more > summary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  list-style: none;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--tc-green-700);
}
.tc-more > summary::-webkit-details-marker { display: none; }
.tc-more > summary .tc-plus { width: 24px; height: 24px; }
.tc-more > summary .tc-plus::before, .tc-more > summary .tc-plus::after { width: 9px; }
.tc-more-body { padding-top: 1rem; }
.tc-more-body p { font-size: .9375rem; }
.tc-section--forest .tc-more > summary { color: var(--tc-green-300); }
.tc-section--forest .tc-plus { border-color: rgba(255, 255, 255, .25); }
.tc-section--forest .tc-plus::before, .tc-section--forest .tc-plus::after { background: #fff; }
.tc-section--forest details[open] > summary .tc-plus { background: #fff; border-color: #fff; }
.tc-section--forest details[open] > summary .tc-plus::before, .tc-section--forest details[open] > summary .tc-plus::after { background: var(--tc-forest); }

/* ---------- Shift diagram: typical prep -> TheConsulting.io ---------- */
.tc-shift { margin: 0; padding: 0; list-style: none; }
.tc-shift-head, .tc-shift summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.3fr) 30px;
  align-items: center;
  gap: 1rem;
}
.tc-shift-head { padding-bottom: .75rem; font-size: .8125rem; font-weight: 600; color: var(--tc-slate); }
.tc-shift-head span:nth-child(3) { color: var(--tc-green-700); }
.tc-shift details { border-top: 1px solid var(--tc-line); }
.tc-shift details:last-child { border-bottom: 1px solid var(--tc-line); }
.tc-shift summary { padding-block: 1.1rem; list-style: none; cursor: pointer; }
.tc-shift summary::-webkit-details-marker { display: none; }
.tc-shift-from { font-size: 1rem; color: #8a9793; text-decoration: line-through; text-decoration-color: rgba(138, 151, 147, .6); }
.tc-shift-to { font-family: var(--tc-serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.625rem); line-height: 1.2; color: var(--tc-ink); transition: color .2s ease; }
.tc-shift summary:hover .tc-shift-to, .tc-shift details[open] .tc-shift-to { color: var(--tc-green-700); }
.tc-shift-arrow { width: 90px; height: 14px; overflow: visible; }
.tc-shift-arrow path { fill: none; stroke: var(--tc-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tc-shift .tc-acc-body { padding-left: calc(100% * 0 + 0px); }
.tc-shift-body { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.3fr) 30px; gap: 1rem; padding-bottom: 1.25rem; }
.tc-shift-body p { grid-column: 3; margin: 0; font-size: .9375rem; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .tc-shift-arrow path { stroke-dasharray: 100; stroke-dashoffset: 100; }
  .js [data-reveal].is-inview .tc-shift-arrow path { transition: stroke-dashoffset .8s ease; stroke-dashoffset: 0; }
  .js [data-reveal].is-inview details:nth-child(2) .tc-shift-arrow path { transition-delay: .1s; }
  .js [data-reveal].is-inview details:nth-child(3) .tc-shift-arrow path { transition-delay: .2s; }
  .js [data-reveal].is-inview details:nth-child(4) .tc-shift-arrow path { transition-delay: .3s; }
  .js [data-reveal].is-inview details:nth-child(5) .tc-shift-arrow path { transition-delay: .4s; }
  .js [data-reveal].is-inview details:nth-child(6) .tc-shift-arrow path { transition-delay: .5s; }
}
@media (max-width: 575.98px) {
  .tc-shift-head, .tc-shift summary, .tc-shift-body { grid-template-columns: minmax(0, .9fr) 44px minmax(0, 1.2fr) 26px; gap: .6rem; }
  .tc-shift-arrow { width: 44px; }
  .tc-shift-body p { grid-column: 1 / -1; }
  .tc-shift-from { font-size: .875rem; }
}

/* ---------- Converge diagram: starting points -> consulting-ready ---------- */
.tc-converge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(60px, 140px) minmax(0, .85fr);
  grid-template-rows: repeat(6, 1fr);
  align-items: center;
}
.tc-converge-from {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-block: .7rem;
  font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
  font-weight: 500;
  color: var(--tc-ink);
}
.tc-converge-from i { display: block; width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--tc-green); background: #fff; }
.tc-converge-lines { grid-column: 2; grid-row: 1 / span 6; align-self: stretch; width: 100%; height: 100%; overflow: visible; }
.tc-converge-lines path { fill: none; stroke: var(--tc-green); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.tc-converge-to {
  grid-column: 3;
  grid-row: 1 / span 6;
  padding: 1.75rem;
  border-radius: var(--tc-radius-lg);
  background: var(--tc-forest);
  border-top: 3px solid var(--tc-brass);
  color: var(--tc-on-dark-muted);
}
.tc-converge-to b { display: block; margin-bottom: .5rem; font-family: var(--tc-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; line-height: 1.1; color: #fff; }
.tc-converge-to span { font-size: .9375rem; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .tc-converge-lines { clip-path: inset(0 100% 0 0); }
  .js [data-reveal].is-inview .tc-converge-lines { transition: clip-path 1.1s ease .15s; clip-path: inset(0 0 0 0); }
}
@media (max-width: 767.98px) {
  .tc-converge { display: flex; flex-direction: column; align-items: stretch; }
  .tc-converge-lines { display: none; }
  .tc-converge-from { padding-block: .55rem; border-bottom: 1px solid var(--tc-line); }
  .tc-converge-to { margin-top: 1.75rem; position: relative; }
  .tc-converge-to::before { content: ""; position: absolute; top: -1.5rem; left: 1.75rem; width: 1.5px; height: 1.25rem; background: var(--tc-green); }
}

/* Secondary audiences as a slim link row */
.tc-also-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin-top: 4rem; border-top: 1px solid var(--tc-ink); }
.tc-also-row a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 1.25rem; padding-block: 1.5rem; border-bottom: 1px solid var(--tc-line); color: inherit; text-decoration: none; }
.tc-also-row h3 { margin: 0; font-size: 1.375rem; transition: color .2s ease; }
.tc-also-row span.tc-acc-tag { display: block; font-size: .9375rem; color: var(--tc-slate); }
.tc-also-row a:hover h3 { color: var(--tc-green-700); }
.tc-go { width: 36px; height: 14px; overflow: visible; }
.tc-go path { fill: none; stroke: var(--tc-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
a:hover .tc-go path { transform: translateX(4px); }
@media (max-width: 767.98px) { .tc-also-row { grid-template-columns: 1fr; } }

/* ---------- Consultants, compact ---------- */
.tc-people-row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 3.5rem 0 0; padding: 2rem 0 0; list-style: none; border-top: 1px solid var(--tc-line); }
.tc-people-row li { display: flex; align-items: center; gap: 1rem; }
.tc-people-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--tc-line); }
.tc-people-row b { display: block; font-family: var(--tc-serif); font-size: 1.125rem; font-weight: 500; color: var(--tc-ink); }
.tc-people-row span { font-size: .8125rem; font-weight: 600; color: var(--tc-green-700); }
.tc-quote-lg {
  margin: 0 0 2rem;
  font-family: var(--tc-serif);
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
  font-style: italic;
  line-height: 1.2;
  color: var(--tc-ink);
}

/* ---------- Roadmap, lighter ---------- */
.tc-roadmap-cols h3 { margin-bottom: .5rem; }
.tc-roadmap-cols .tc-phase-line { margin: 0 0 1rem; color: var(--tc-on-dark-muted); }
.tc-roadmap-cols .tc-more-body ul li { border-top-color: rgba(255, 255, 255, .12); }

/* ---------- Outcomes, lighter ---------- */
.tc-feature-quote blockquote { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.125rem); line-height: 1.22; }

/* ---------- Learnings, titles only ---------- */
.tc-feature { padding-bottom: 1.5rem; }
.tc-feature .tc-feature-title { margin-bottom: .75rem; }

/* ---------- Services page, lighter rows ---------- */
.tc-svc-row .tc-lede { margin-bottom: 1.75rem; }
.tc-svc-row .tc-more { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--tc-line); }
.tc-svc-row .tc-more-body p { margin-bottom: .75rem; }
.tc-svc-row .tc-svc-points { margin: .5rem 0 0; }
.tc-svc-row .tc-svc-copy .tc-glyph { display: none; }

/* ---------- Big numbers row ---------- */
.tc-bignums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 3rem 0 0; }
.tc-bignums dt { font-family: var(--tc-serif); font-size: clamp(2.5rem, 1.8rem + 2.4vw, 4rem); font-weight: 500; line-height: 1; color: var(--tc-ink); }
.tc-bignums dd { margin: .5rem 0 0; font-size: .875rem; color: var(--tc-slate); }
@media (max-width: 767.98px) { .tc-bignums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tc-acc-title, .tc-also-row .tc-acc-title {
  display: block;
  font-family: var(--tc-serif);
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.4375rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--tc-ink);
  transition: color .2s ease;
}
.tc-acc summary:hover .tc-acc-title, .tc-acc details[open] .tc-acc-title, .tc-also-row a:hover .tc-acc-title { color: var(--tc-green-700); }
@media (min-width: 768px) {
  .tc-converge { grid-template-columns: minmax(0, 1.35fr) minmax(50px, 110px) minmax(0, .8fr); }
  .tc-converge-from { white-space: nowrap; padding-block: .6rem; }
}
.tc-converge-to b { font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); }

/* ---------- Homepage: success stories on the dark results band ---------- */
.tc-stories { margin-top: clamp(4rem, 3rem + 3vw, 6rem); padding-top: clamp(3rem, 2rem + 2vw, 4rem); border-top: 1px solid rgba(255, 255, 255, .14); }
.tc-stories-title { margin-bottom: 1.5rem; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); }
.tc-stories .tc-feature-quote blockquote { color: #fff; }
.tc-stories .tc-feature-quote figcaption { color: var(--tc-on-dark-muted); }
.tc-stories .tc-feature-quote figcaption b { color: #fff; }
.tc-stories .tc-moves a { border-top-color: rgba(255, 255, 255, .14); }
.tc-stories .tc-moves li:last-child a { border-bottom-color: rgba(255, 255, 255, .14); }
.tc-stories .tc-move-from { color: var(--tc-on-dark-muted); }
.tc-stories .tc-move-to { color: #fff; }
.tc-stories .tc-move-to small { color: var(--tc-green-300); }
.tc-stories .tc-move-arrow path { stroke: var(--tc-green-300); }
.tc-stories .tc-moves a:hover .tc-move-to { color: #e2c98f; }
.tc-also-row--single { grid-template-columns: 1fr; }
.tc-also-row--single a { grid-template-columns: 44px 1fr auto; }

/* ---------- Homepage: video library (Learnings) ---------- */
.tc-vlib { margin-top: 3rem; }
.tc-vplayer {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--tc-radius-lg);
  background: #0d1c18;
  box-shadow: 0 30px 60px -30px rgba(22, 48, 42, .45);
}
.tc-vplayer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tc-vfacade { position: absolute; inset: 0; display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.tc-vfacade img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease; filter: saturate(.9); }
.tc-vfacade::after { content: ""; position: absolute; inset: 0; background: rgba(13, 28, 24, .18); transition: background .3s ease; }
.tc-vfacade:hover img { transform: scale(1.03); filter: none; }
.tc-vfacade:hover::after { background: rgba(13, 28, 24, .05); }
.tc-vplay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--tc-green-700);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .22);
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.tc-vplay::before { content: ""; position: absolute; left: 35px; top: 27px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.tc-vfacade:hover .tc-vplay, .tc-vfacade:focus-visible .tc-vplay { transform: translate(-50%, -50%) scale(1.06); background: var(--tc-forest); box-shadow: 0 0 0 14px rgba(255, 255, 255, .28); }
.tc-vfacade:focus-visible { outline: 3px solid var(--tc-green); outline-offset: 3px; }
.tc-vnow { margin-top: 1.25rem; }
.tc-vnow span { display: block; margin-bottom: .25rem; font-size: .8125rem; font-weight: 600; color: var(--tc-green-700); }
.tc-vnow b { display: block; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--tc-ink); }

.tc-vlist-wrap { position: relative; }
.tc-vlist-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .75rem; font-size: .875rem; font-weight: 600; color: var(--tc-ink); }
.tc-vlist-head span { font-weight: 500; color: var(--tc-slate); }
.tc-vlist { margin: 0; padding: 0; list-style: none; counter-reset: vid; }
.tc-vlist li { counter-increment: vid; }
.tc-vlist a {
  display: grid;
  grid-template-columns: 1.5rem 112px minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  padding: .6rem .5rem .6rem 0;
  border-top: 1px solid var(--tc-line);
  color: inherit;
  text-decoration: none;
  transition: background-color .2s ease;
}
.tc-vlist a::before { content: counter(vid, decimal-leading-zero); font-size: .75rem; font-weight: 600; color: var(--tc-slate); font-variant-numeric: tabular-nums; }
.tc-vlist img { display: block; width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; transition: box-shadow .2s ease; }
.tc-vlist .tc-vt { font-size: .875rem; font-weight: 500; line-height: 1.35; color: var(--tc-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-vlist a:hover .tc-vt { color: var(--tc-green-700); }
.tc-vlist a.is-active::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tc-green); box-shadow: 0 0 0 4px rgba(68, 140, 116, .2); }
.tc-vlist a.is-active img { box-shadow: 0 0 0 2px var(--tc-green); }
.tc-vlist a.is-active .tc-vt { color: var(--tc-green-700); font-weight: 600; }
.tc-vlist a:focus-visible { outline: 2px solid var(--tc-green); outline-offset: 2px; border-radius: 4px; }

@media (min-width: 992px) {
  .tc-vlist-scroll { position: absolute; top: 2rem; left: 0; right: 0; bottom: 0; overflow-y: auto; padding-right: .5rem; scrollbar-width: thin; scrollbar-color: #c5d0cb transparent; }
}
@media (max-width: 991.98px) {
  .tc-vlist-wrap { margin-top: 1.5rem; }
  .tc-vlist { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .tc-vlist li { flex: 0 0 min(64vw, 240px); scroll-snap-align: start; }
  .tc-vlist a { grid-template-columns: 1fr; gap: .5rem; padding: 0; border-top: 0; }
  .tc-vlist a::before, .tc-vlist a.is-active::before { display: none; }
  .tc-vlist img { width: 100%; }
}
.tc-learn-alt { margin-top: 2.5rem; font-size: .9375rem; color: var(--tc-slate); }
.tc-feature-quote.tc-stories { max-width: 46rem; }
.tc-feature-quote.tc-stories blockquote { color: #fff; }
.tc-feature-quote.tc-stories figcaption { color: var(--tc-on-dark-muted); }
.tc-feature-quote.tc-stories figcaption b { color: #fff; }
.tc-feature-quote.tc-stories figcaption a { color: var(--tc-green-300); font-weight: 600; }
/* Tone YouTube thumbnails into the site palette; full colour on interaction */
.tc-vfacade img { filter: grayscale(.9) contrast(1.05) brightness(.95); }
.tc-vfacade::after { background: rgba(22, 48, 42, .42); mix-blend-mode: multiply; }
.tc-vfacade:hover img, .tc-vfacade:focus-visible img { filter: grayscale(0); }
.tc-vfacade:hover::after, .tc-vfacade:focus-visible::after { background: rgba(22, 48, 42, .08); }
.tc-vlist img { filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .3s ease, opacity .3s ease, box-shadow .2s ease; }
.tc-vlist a:hover img, .tc-vlist a.is-active img { filter: none; opacity: 1; }
