/* ==========================================================================
   TLR v3 visual layer: imagery, motion, readable labels, tighter spacing.
   Loaded after tlr-home.css on Home, Recruiting, and About.
   ========================================================================== */

/* ---------- Readable small labels ---------- */
.file-label,
.map-header,
.practice-node span,
.map-hub-copy span,
.hero-capabilities,
.section-index small,
.section-index span,
.practice-card-copy > span,
.specialty-callout span,
.five-c-chain span,
.connect-grid span,
.connect-grid small b,
.founder-ledger dt,
.founder-clients > span,
.founder-figure figcaption span,
.resource-list a > span:first-child,
.testimonial-card footer strong {
  font-size: 0.74rem !important;
  letter-spacing: 0.08em;
}

.affiliation-note {
  font-size: 0.66rem;
}

.testimonial-card footer span {
  font-size: 0.82rem;
}

/* ---------- Tighter hero spacing ---------- */
.home-hero {
  min-height: 0;
  align-items: center;
  padding-top: clamp(2.25rem, 4.5vw, 4.25rem);
  padding-bottom: clamp(3rem, 5.5vw, 5.5rem);
}

.home-hero h1 {
  margin-top: 1.25rem;
}

.page-hero {
  padding-top: clamp(2.75rem, 5.5vw, 5rem) !important;
  padding-bottom: clamp(3rem, 6vw, 5.5rem) !important;
}

/* ---------- Motion primitives ---------- */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

@keyframes tlr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes tlr-rise {
  from { opacity: 0; transform: translateY(26px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes tlr-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes tlr-spin {
  to { transform: rotate(360deg); }
}

@keyframes tlr-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes tlr-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.8); }
}

/* ---------- Home hero collage ---------- */
.hero-collage {
  position: relative;
  align-self: center;
  min-width: 0;
  aspect-ratio: 1 / 0.9;
  max-height: 640px;
}

.hero-photo {
  position: absolute;
  inset: 6% 4% 10% 10%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: tlr-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.04);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-collage:hover .hero-photo img {
  transform: scale(1.08);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 16, 15, 0) 45%, rgba(17, 16, 15, 0.55) 100%);
  content: "";
}

.hero-photo figcaption {
  position: absolute;
  right: 1.1rem;
  bottom: 0.9rem;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font: 500 0.72rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 16, 15, 0.14);
  animation: tlr-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both, tlr-float 7s ease-in-out infinite;
}

.float-card span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--teal-deep);
  font: 600 0.68rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.float-card strong {
  display: block;
  font: 700 1.25rem/1 var(--font-display);
  text-transform: uppercase;
}

.fc-book {
  top: 0;
  left: 0;
  animation-delay: 250ms, 1.2s;
}

.fc-book img {
  width: 54px;
  height: auto;
}

.fc-podcast {
  top: 38%;
  right: 0;
  animation-delay: 450ms, 2.4s;
}

.fc-podcast img {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.fc-roles {
  bottom: 0;
  left: 4%;
  min-width: 300px;
  padding: 1rem 1.2rem;
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
  animation-delay: 650ms, 3.6s;
}

.fc-roles span {
  color: rgba(255, 255, 255, 0.82);
}

.fc-roles .live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.45rem;
  background: var(--white);
  border-radius: 50%;
  vertical-align: 1px;
}

.fc-roles .live-dot::after {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: 50%;
  animation: tlr-pulse 2s ease-out infinite;
  content: "";
}

/* Rotating role text */
.role-rotator {
  position: relative;
  display: grid !important;
  font: 700 1.55rem/1 var(--font-display) !important;
}

.role-rotator b {
  grid-area: 1 / 1;
  font-weight: inherit;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.role-rotator b.is-active {
  opacity: 1;
  transform: none;
}

.role-rotator b.is-leaving {
  opacity: 0;
  transform: translateY(-60%);
}

/* ---------- Logo marquee ---------- */
.logo-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.6rem var(--home-gutter, clamp(1.25rem, 4vw, 4.5rem));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.logo-band > p {
  margin: 0;
  color: var(--slate-dark);
  font: 600 0.74rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: tlr-marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-right: clamp(2.5rem, 5vw, 4.5rem);
}

.marquee-group img {
  width: auto;
  height: 34px;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.72;
  transition: filter 300ms ease, opacity 300ms ease;
}

.marquee-group img:hover {
  filter: none;
  opacity: 1;
}

.marquee-word {
  color: #5b5650;
  font: 700 1.35rem/1 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Practice tiles (home) ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.practice-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 16, 15, 0.14);
  text-decoration: none;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease;
}

.practice-tile:hover {
  border-color: var(--teal);
  transform: translateY(-6px);
}

.practice-tile figure {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.practice-tile figure > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-tile:hover figure > img {
  transform: scale(1.06);
}

.practice-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
}

.tile-kicker {
  color: var(--teal-deep);
  font: 600 0.74rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-tile h3 {
  margin: 0.8rem 0 0.75rem;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 0.92;
}

.practice-tile p {
  margin: 0 0 1.5rem;
  color: var(--slate-dark);
  font-size: 0.98rem;
  line-height: 1.65;
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  color: var(--ink);
  font: 600 0.74rem var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tile-link::after {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  content: "↗";
  transition: transform 300ms ease;
}

.practice-tile:hover .tile-link::after {
  transform: rotate(45deg);
}

/* Recruiting tile visual built from markup */
.shortlist-visual {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 0.6rem;
  padding: 1.4rem clamp(1.4rem, 4vw, 3rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--ink);
}

.shortlist-visual > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.8rem 0.55rem 0.55rem;
  color: var(--white);
  background: #1f1c1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-tile:hover .shortlist-visual > div:nth-child(1) { transform: translateX(10px); }
.practice-tile:hover .shortlist-visual > div:nth-child(2) { transform: translateX(-6px); }
.practice-tile:hover .shortlist-visual > div:nth-child(3) { transform: translateX(14px); }

.shortlist-visual img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  filter: grayscale(1);
}

.shortlist-visual strong {
  font: 600 1.05rem/1 var(--font-display);
  text-transform: uppercase;
}

.shortlist-visual em {
  color: var(--teal-bright);
  font: 600 0.66rem var(--font-mono);
  font-style: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- How it fits together: loop ---------- */
.loop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.loop-visual {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.loop-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.loop-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
  stroke-dasharray: 3 7;
}

.loop-arc {
  fill: none;
  stroke: var(--teal-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}

.loop-visual.is-visible .loop-arc {
  animation: tlr-draw 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.loop-visual.is-visible .loop-arc:nth-of-type(2) { animation-delay: 0.5s; }
.loop-visual.is-visible .loop-arc:nth-of-type(3) { animation-delay: 1s; }

.loop-orbit {
  transform-origin: 260px 260px;
  animation: tlr-spin 14s linear infinite;
}

.loop-orbit circle {
  fill: var(--white);
}

.loop-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 42%;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  padding: 1.2rem;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.loop-core img {
  width: 58%;
  filter: brightness(0) invert(1);
}

.loop-core span {
  font: 600 0.68rem/1.35 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.loop-node {
  position: absolute;
  display: grid;
  width: 34%;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
  transform: translate(-50%, -50%);
}

.loop-node i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  font: 600 0.74rem var(--font-mono);
  font-style: normal;
}

.loop-node strong {
  color: var(--white);
  font: 700 clamp(1.15rem, 1.8vw, 1.55rem)/0.95 var(--font-display);
  text-transform: uppercase;
}

.loop-node.n1 { top: 11.5%; left: 50%; }
.loop-node.n2 { top: 69.2%; left: 83.3%; }
.loop-node.n3 { top: 69.2%; left: 16.7%; }

.loop-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.loop-steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.loop-steps li > b {
  color: var(--teal-bright);
  font: 700 2.4rem/0.9 var(--font-display);
}

.loop-steps h3 {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 0.95;
}

.loop-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.98rem;
  line-height: 1.65;
}

.loop-steps p + p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.loop-steps p + p b {
  color: var(--teal-bright);
  font-weight: 600;
}

/* ---------- Founder stats ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.stat-strip li {
  padding: 1.3rem 1rem 1.3rem 0;
}

.stat-strip li + li {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.stat-strip strong {
  display: block;
  color: var(--teal);
  font: 700 clamp(2.8rem, 4.6vw, 4.4rem)/0.85 var(--font-display);
}

.stat-strip span {
  display: block;
  margin-top: 0.55rem;
  color: var(--slate-dark);
  font-size: 0.86rem;
  line-height: 1.45;
}

.media-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.media-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.media-thumbs img.book {
  object-fit: contain;
  background: var(--ink);
}

.media-thumbs img:hover {
  transform: translateY(-4px) rotate(-2deg);
}

.founder-figure {
  overflow: visible;
}

.founder-figure img {
  transition: filter 600ms ease;
}

.founder-figure:hover img {
  filter: none;
}

/* ---------- 5C with wheel ---------- */
.framework-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.framework-intro h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  line-height: 0.84;
}

.framework-intro p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.05rem;
  line-height: 1.65;
}

.wheel-wrap {
  position: relative;
  width: min(100%, 460px);
  margin-inline: auto;
}

.wheel-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wheel-wrap:hover img {
  transform: rotate(-8deg) scale(1.02);
}

.wheel-wrap::before {
  position: absolute;
  inset: -6%;
  border: 1px dashed rgba(220, 90, 58, 0.45);
  border-radius: 50%;
  animation: tlr-spin 40s linear infinite;
  content: "";
}

.five-c-chain {
  position: relative;
}

.five-c-chain::before {
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 3px;
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
  content: "";
}

.five-c-chain.is-visible::before {
  transform: scaleX(1);
}

.five-c-chain li {
  transition: background 300ms ease;
}

.five-c-chain li:not(:last-child):hover {
  background: #24201d;
}

/* ---------- Final CTA with book ---------- */
.home-final-grid.has-book {
  grid-template-columns: minmax(0, 1.15fr) minmax(170px, 0.42fr) minmax(0, 0.9fr);
  align-items: center;
}

.final-book {
  margin: 0;
  animation: tlr-float 7s ease-in-out infinite;
}

.final-book img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(60, 14, 6, 0.45));
  transform: rotate(-5deg);
}

/* ---------- Recruiting hero ---------- */
.recruit-hero-grid {
  align-items: center !important;
}

.shortlist-card {
  position: relative;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: tlr-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
}

.shortlist-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem 1rem;
  border-bottom: 1px solid var(--line);
}

.shortlist-card header span {
  color: var(--teal-deep);
  font: 600 0.7rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shortlist-card header strong {
  font: 700 1.3rem/1 var(--font-display);
  text-align: right;
  text-transform: uppercase;
}

.shortlist-card ol {
  margin: 0;
  padding: 0.4rem 1.3rem;
  list-style: none;
}

.shortlist-card li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  animation: tlr-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.shortlist-card li:nth-child(1) { animation-delay: 500ms; }
.shortlist-card li:nth-child(2) { animation-delay: 650ms; }
.shortlist-card li:nth-child(3) { animation-delay: 800ms; }

.shortlist-card li:last-child {
  border-bottom: 0;
}

.shortlist-card li img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  filter: grayscale(1);
}

.shortlist-card li strong {
  display: block;
  font-size: 0.95rem;
}

.shortlist-card li small {
  display: block;
  margin: 0.15rem 0 0.45rem;
  color: var(--slate);
  font-size: 0.8rem;
}

.fit-bar {
  display: block;
  height: 5px;
  background: rgba(17, 16, 15, 0.08);
}

.fit-bar b {
  display: block;
  width: 0;
  height: 100%;
  background: var(--teal);
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.shortlist-card.is-ready .fit-bar b {
  width: var(--fit);
}

.shortlist-card li em {
  padding: 0.35rem 0.55rem;
  color: var(--teal-deep);
  background: var(--teal-wash);
  font: 600 0.66rem var(--font-mono);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shortlist-card footer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 1rem 1.3rem 1.2rem;
  border-top: 1px solid var(--line);
}

.shortlist-card footer span {
  display: block;
  padding-top: 0.55rem;
  color: var(--slate);
  border-top: 3px solid rgba(17, 16, 15, 0.12);
  font: 600 0.64rem var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shortlist-card footer span.done {
  color: var(--ink);
  border-top-color: var(--teal);
}

.shortlist-note {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

.hero-role-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  font: 600 0.74rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-role-line .role-rotator {
  min-width: 260px;
  color: var(--teal-bright);
  font-size: 1.9rem !important;
  letter-spacing: 0;
}

/* Facts strip under recruiting hero */
.facts-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.facts-strip > div {
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.25rem, 4vw, 4.5rem);
}

.facts-strip > div + div {
  border-left: 1px solid var(--line);
}

.facts-strip span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--teal-deep);
  font: 600 0.74rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts-strip strong {
  font: 700 clamp(1.4rem, 2.2vw, 2rem)/1 var(--font-display);
  text-transform: uppercase;
}

/* Role cards with chips */
.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.role-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.3rem);
  background: var(--white);
  border: 1px solid rgba(17, 16, 15, 0.14);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease;
}

.role-card:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
}

.role-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.role-card-top b {
  color: var(--teal);
  font: 700 3.2rem/0.8 var(--font-display);
}

.role-card h3 {
  margin: 1.1rem 0 0.7rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.92;
}

.role-card p {
  margin: 0 0 1.4rem;
  color: var(--slate-dark);
  line-height: 1.65;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(17, 16, 15, 0.1);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 250ms ease, color 250ms ease;
}

.role-card:hover .chip-list li {
  background: var(--teal-wash);
}

/* Split statement with photo */
.photo-statement {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  background: var(--ink);
}

.photo-statement figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
}

.photo-statement figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-statement:hover figure img {
  transform: scale(1.05);
}

.photo-statement > div {
  display: grid;
  align-content: center;
  gap: 1.2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.photo-statement span {
  color: var(--teal-bright);
  font: 600 0.78rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-statement strong {
  font: 700 clamp(2rem, 3.6vw, 3.6rem)/0.95 var(--font-display);
  text-transform: uppercase;
}

.photo-statement p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* Process stepper */
.stepper {
  --g: clamp(1rem, 2vw, 1.75rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--g);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stepper::before,
.stepper::after {
  position: absolute;
  top: 27px;
  left: 28px;
  right: calc((100% - 4 * var(--g)) / 5 - 28px);
  height: 2px;
  content: "";
}

.stepper::before {
  background: rgba(255, 255, 255, 0.14);
}

.stepper::after {
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}

.stepper.is-visible::after {
  transform: scaleX(1);
}

.stepper li {
  position: relative;
  z-index: 1;
}

.stepper li > i {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  background: #1b1917;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font: 700 1.3rem var(--font-display);
  font-style: normal;
  transition: background 400ms ease, border-color 400ms ease;
  transition-delay: calc(0.3s + var(--i, 0) * 0.42s);
}

.stepper.is-visible li > i {
  background: var(--teal);
  border-color: var(--teal-bright);
}

.stepper span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--teal-bright);
  font: 600 0.72rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stepper h3 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 0.95;
}

.stepper p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Why TLR: aside with portrait + numbered reasons */
.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.why-aside {
  position: sticky;
  top: 110px;
}

.why-aside img {
  display: block;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.8rem;
  object-fit: cover;
  object-position: 50% 25%;
  border: 1px solid var(--line);
}

.why-aside h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 0.9;
}

.why-aside p {
  margin: 0;
  color: var(--slate-dark);
  font-size: 1.08rem;
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.why-grid article {
  padding: 1.8rem 0;
  border-top: 1px solid var(--ink);
}

.why-grid b {
  display: block;
  color: var(--teal);
  font: 700 2.6rem/0.85 var(--font-display);
}

.why-grid h3 {
  margin: 1rem 0 0.7rem;
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  line-height: 0.95;
}

.why-grid p {
  margin: 0;
  color: var(--slate-dark);
  line-height: 1.65;
}

/* Image cards (connected practices) */
.image-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 3rem;
}

.image-cards article {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(17, 16, 15, 0.14);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.image-cards article:hover {
  transform: translateY(-6px);
}

.image-cards figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.image-cards figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-cards article:hover figure img {
  transform: scale(1.06);
}

.image-cards article > div {
  padding: 1.5rem 1.6rem 1.8rem;
}

.image-cards b {
  color: var(--teal-deep);
  font: 600 0.74rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-cards h3 {
  margin: 0.7rem 0 0.6rem;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 0.95;
}

.image-cards p {
  margin: 0;
  color: var(--slate-dark);
  line-height: 1.6;
}

/* About: media pair */
.media-pair {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.media-pair figure {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
}

.media-pair img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-pair figure.book img {
  object-fit: contain;
  padding: 1rem;
}

.media-pair figure:hover img {
  transform: scale(1.05);
}

.media-pair figcaption {
  padding: 0.7rem 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  font: 600 0.7rem var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hero-collage {
    width: min(760px, 100%);
    aspect-ratio: 1 / 0.78;
  }
}

@media (max-width: 1080px) {
  .loop-layout,
  .framework-intro,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .why-aside {
    position: static;
  }

  .why-aside img {
    max-width: 260px;
  }

  .stepper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stepper::before,
  .stepper::after {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .stepper::after {
    transform: scaleY(0);
    transform-origin: top;
  }

  .stepper.is-visible::after {
    transform: scaleY(1);
  }

  .stepper li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1.25rem;
    padding-bottom: 1.8rem;
  }

  .stepper li > i {
    margin: 0;
  }

  .image-cards {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .home-final-grid.has-book {
    grid-template-columns: 1fr;
  }

  .final-book img {
    max-width: 200px;
    margin-inline: 0;
  }
}

@media (max-width: 900px) {
  .practice-grid,
  .role-grid,
  .photo-statement {
    grid-template-columns: 1fr;
  }

  .photo-statement figure {
    min-height: 260px;
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-strip li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-strip li:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .facts-strip {
    grid-template-columns: 1fr;
  }

  .facts-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .logo-band {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  .hero-collage {
    aspect-ratio: 1 / 1.05;
  }

  .hero-photo {
    inset: 12% 0 16% 0;
  }

  .float-card strong {
    font-size: 1.05rem;
  }

  .fc-book img {
    width: 40px;
  }

  .fc-podcast {
    top: auto;
    bottom: 28%;
  }

  .fc-podcast img {
    width: 44px;
    height: 44px;
  }

  .fc-roles {
    left: 0;
    min-width: 0;
    right: 12%;
  }

  .role-rotator {
    font-size: 1.3rem !important;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .shortlist-card header {
    display: block;
  }

  .shortlist-card header strong {
    display: block;
    margin-top: 0.4rem;
    text-align: left;
  }

  .shortlist-card footer span {
    font-size: 0.56rem;
  }

  .hero-role-line .role-rotator {
    min-width: 0;
    font-size: 1.5rem !important;
  }

  .loop-node strong {
    font-size: 0.98rem;
  }

  .loop-node i {
    width: 38px;
    height: 38px;
  }

  .media-pair {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stagger > *,
  .float-card,
  .hero-photo,
  .shortlist-card,
  .shortlist-card li,
  .final-book,
  .marquee-track,
  .loop-orbit,
  .wheel-wrap::before {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .loop-arc {
    stroke-dashoffset: 0;
  }

  .marquee-track {
    flex-wrap: wrap;
    width: auto;
  }

  .marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Callout with factory sketch ---------- */
.specialty-callout.has-sketch {
  position: relative;
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(9rem, 19vw, 17rem);
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--ink) 30%, rgba(17, 16, 15, 0) 70%),
    url("../images/photos/factory-sketch-orange-1400.webp") center bottom / 100% auto no-repeat,
    var(--ink);
}

.specialty-callout.has-sketch strong {
  font-size: clamp(2.1rem, 3.8vw, 4.2rem);
  line-height: 0.92;
}

.callout-side > span {
  display: block;
  font-size: 0.8rem !important;
}

.sector-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.sector-chips li {
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 250ms ease, border-color 250ms ease;
}

.sector-chips li:first-child {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.sector-chips li:hover {
  border-color: var(--teal-bright);
}

@media (max-width: 900px) {
  .specialty-callout.has-sketch {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background-size: 160% auto, 160% auto, auto;
  }
}

.loop-node strong {
  padding: 0.25rem 0.5rem;
  background: var(--ink);
}

.home-final-grid.has-book h2 {
  font-size: clamp(3.4rem, 6.2vw, 6.8rem);
}

.page-hero .eyebrow {
  font-size: 0.8rem;
}

.framework-section,
.connect-section,
.home-hero {
  overflow-x: clip;
}

@media (max-width: 1080px) {
  .wheel-wrap {
    width: min(78%, 420px);
  }
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .hero-collage {
    width: 100%;
    aspect-ratio: 1 / 1.05;
  }
}

.role-rotator {
  overflow: hidden;
}

.hero-photo figcaption {
  top: auto;
  right: 1.1rem;
  bottom: auto;
  left: auto;
  top: 1rem;
}

.hero-photo::after {
  background: linear-gradient(0deg, rgba(17, 16, 15, 0) 55%, rgba(17, 16, 15, 0.55) 100%);
}

/* ---------- v3b: three practices ---------- */
.practice-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practice-grid.three .practice-tile h3 {
  font-size: clamp(1.9rem, 2.5vw, 2.6rem);
}

.practice-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.practice-tile h3 a:hover {
  color: var(--teal);
}

.tile-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: auto;
}

.tile-links .tile-link {
  margin-top: 0;
  text-decoration: none;
}

.practice-tile:hover .tile-link::after {
  transform: none;
}

.tile-links .tile-link:hover::after {
  transform: rotate(45deg);
}

.tile-sub {
  color: var(--slate-dark);
  border-bottom: 1px solid currentColor;
  font: 600 0.74rem var(--font-mono);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.tile-sub:hover {
  color: var(--teal);
}

.practice-grid.three .shortlist-visual {
  padding-inline: clamp(1rem, 2vw, 1.6rem);
}

/* ---------- v3b: callout sketch as a real image ---------- */
.specialty-callout.has-sketch {
  padding-bottom: 0;
  background: var(--ink);
}

.callout-sketch {
  grid-column: 1 / -1;
  margin: clamp(-5rem, -5vw, -1.5rem) calc(-1 * clamp(2rem, 4vw, 4rem)) 0;
  pointer-events: none;
}

.callout-sketch img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 82%, transparent 100%);
}

@media (max-width: 1080px) {
  .practice-grid.three {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .specialty-callout.has-sketch {
    background: var(--ink);
  }

  .callout-sketch {
    margin-top: 0;
  }
}

.callout-sketch {
  margin-top: clamp(-9rem, -8vw, -2rem);
}

.tile-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.float-card span,
.shortlist-card header span {
  font-size: 0.72rem;
}

.shortlist-visual em,
.shortlist-card li em {
  font-size: 0.7rem;
}

.shortlist-card footer span {
  font-size: 0.7rem;
}

@media (max-width: 680px) {
  .shortlist-card footer span {
    font-size: 0.6rem;
  }
}

.loop-core span {
  font-size: 0.74rem;
}

.affiliation-note {
  font-size: 0.72rem;
}

@media (max-width: 680px) {
  .hero-photo figcaption {
    display: none;
  }

  .specialty-callout.has-sketch strong {
    font-size: 1.75rem;
  }
}
