
.ht-left { position: relative; padding: 3vh 0 25vh; padding-left: clamp(24px,3vw,44px); }
.ht-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.1); }
.ht-line-fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--accent); box-shadow: 0 0 8px rgba(212,184,138,0.5); transform: scaleY(0); transform-origin: top; will-change: transform; }
.ht-step { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.5; transition: opacity .4s; position: relative; }
.ht-step.active { opacity: 1; }
.ht-step::before { content: ''; position: absolute; left: calc(-1 * clamp(24px,3vw,44px) - 6px); top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--black); border: 2px solid rgba(255,255,255,0.25); transition: border-color .4s, box-shadow .4s; }
.ht-step.active::before { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(212,184,138,0.1); }
.ht-num { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; }
.ht-step h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem,2.4vw,2rem); color: var(--white); margin: 8px 0 14px; letter-spacing: -0.01em; }
.ht-step p { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 34ch; }
.ht-week { align-self: flex-start; margin-top: 18px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(212,184,138,0.3); border-radius: 4px; padding: 5px 12px; }
.ht-right { position: relative; }
.ht-stick { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.ht-frame { position: relative; width: 100%; max-width: 560px; height: 470px; }
.ht-vis { position: absolute; inset: 0; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .45s, transform .45s cubic-bezier(.16,1,.3,1); background: var(--dark); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; pointer-events: none; }
.ht-vis.active { opacity: 1; transform: none; pointer-events: auto; }
.ht-vh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ht-vh .ht-lab { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.ht-vh .ht-live { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: #34d399; display: flex; align-items: center; gap: 5px; }
.ht-vh .ht-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.pnl-rows { position: relative; }
.pnl-row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.ht-vis.active .pnl-row { opacity: 1; transform: none; }
.ht-vis.active .pnl-row:nth-child(2){transition-delay:.1s} .ht-vis.active .pnl-row:nth-child(3){transition-delay:.2s}
.ht-vis.active .pnl-row:nth-child(4){transition-delay:.3s} .ht-vis.active .pnl-row:nth-child(5){transition-delay:.4s}
.pnl-row .k { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.pnl-row .v { font-family: var(--mono); font-size: 0.9rem; color: var(--white); font-variant-numeric: tabular-nums; }
.pnl-row .v.gold { color: var(--accent); }
.pnl-scan { position: absolute; left: -24px; right: -24px; height: 40px; top: 0; background: linear-gradient(rgba(212,184,138,0), rgba(212,184,138,0.13), rgba(212,184,138,0)); opacity: 0; pointer-events: none; }
.ht-vis.active .pnl-scan { animation: htScan 1.6s cubic-bezier(.5,0,.5,1) .2s 1 both; }
@keyframes htScan { 0%{opacity:0;transform:translateY(0)} 15%{opacity:1} 85%{opacity:1} 100%{opacity:0;transform:translateY(230px)} }
.pnl-verdict { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: #34d399; border: 1px solid rgba(52,211,153,0.35); border-radius: 30px; padding: 6px 14px; opacity: 0; transform: translateY(6px); transition: opacity .5s 1.5s, transform .5s 1.5s; }
.ht-vis.active .pnl-verdict { opacity: 1; transform: none; }
.arch { flex: 1; position: relative; }
.arch svg { width: 100%; height: 100%; overflow: visible; }
.arch-line { fill: none; stroke: rgba(212,184,138,0.5); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.16,1,.3,1); }
.ht-vis.active .arch-line { stroke-dashoffset: 0; }
.ht-vis.active .arch-line:nth-of-type(1){transition-delay:.15s} .ht-vis.active .arch-line:nth-of-type(2){transition-delay:.27s}
.ht-vis.active .arch-line:nth-of-type(3){transition-delay:.39s} .ht-vis.active .arch-line:nth-of-type(4){transition-delay:.51s} .ht-vis.active .arch-line:nth-of-type(5){transition-delay:.63s}
.arch-src { font-family: var(--mono); font-size: 11px; fill: rgba(255,255,255,0.6); }
.arch-dot { fill: rgba(212,184,138,0.5); opacity: 0; transition: opacity .4s; }
.ht-vis.active .arch-dot { opacity: 1; }
.arch-hub { fill: var(--black); stroke: var(--accent); stroke-width: 2; }
.arch-hubglow { fill: rgba(212,184,138,0.12); opacity: 0; transition: opacity .6s .7s; }
.ht-vis.active .arch-hubglow { opacity: 1; }
.arch-hubtext { font-family: var(--mono); font-size: 11px; fill: var(--accent); text-anchor: middle; font-weight: 600; }
.cmp { flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.cmp svg { flex: 1; width: 100%; min-height: 0; overflow: visible; }
.cmp-grid line { stroke: rgba(255,255,255,0.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cmp-area { fill: url(#cmpGrad); clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.16,1,.3,1); }
.ht-vis.active .cmp-area { clip-path: inset(0 0 0 0); }
/* dim flat 'typical agency' baseline — the gap to the gold curve is the story */
.cmp-base { fill: none; stroke: rgba(255,255,255,0.32); stroke-width: 1.6; stroke-dasharray: 4 4; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .6s .55s; }
.ht-vis.active .cmp-base { opacity: 1; }
.cmp-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(212,184,138,0.55)); transition: stroke-dashoffset 1.3s cubic-bezier(.16,1,.3,1); }
.ht-vis.active .cmp-line { stroke-dashoffset: 0; }
.cmp-dot { fill: var(--accent); opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 5px rgba(212,184,138,0.7)); transition: opacity .4s 1.15s, transform .45s 1.15s cubic-bezier(.16,1,.3,1); }
.ht-vis.active .cmp-dot { opacity: 1; transform: scale(1); }
.cmp-dot-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ht-vis.active .cmp-dot-ring { animation: cmpPulse 2.2s ease-out 1.5s infinite; }
@keyframes cmpPulse { 0% { opacity: 0.7; transform: scale(0.5); } 70%, 100% { opacity: 0; transform: scale(2.8); } }
.cmp-axis { font-family: var(--mono); font-size: 10px; fill: rgba(255,255,255,0.35); }
.cmp-axis-end { text-anchor: end; }
.cmp-legend { display: flex; gap: 18px; padding-left: 2px; }
.cmp-leg { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.cmp-leg::before { content: ''; width: 15px; border-top: 2px solid; }
.cmp-leg-rh { color: var(--accent); }
.cmp-leg-rh::before { border-top-color: var(--accent); }
.cmp-leg-base::before { border-top-style: dashed; border-top-color: rgba(255,255,255,0.4); }
.cmp-big { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--accent); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .4s 1.2s; }
.ht-vis.active .cmp-big { opacity: 1; }
@media (max-width: 820px) {
  .ht-grid { grid-template-columns: 1fr; gap: 0; }
  .ht-left { padding: 36px 0 0; padding-left: 0; }
  .ht-line { display: none; }
  .ht-step { min-height: 0; opacity: 1; margin-bottom: 14px; }
  .ht-step::before { display: none; }
  .ht-right { display: none; }
  .ht-mobile .ht-vis { position: static; opacity: 1; transform: none; pointer-events: auto; width: 100%; max-width: 100%; height: auto; min-height: 290px; margin: 6px 0 34px; }

  /* Mobile pinned scroll stepper: each step+visual becomes a slide; the stage pins and the
     slides cross-fade as you scroll down (built from clones by JS — see howThink). */
  .ht-grid.ht-pinned { display: block; position: relative; height: 300vh; height: 300svh; max-width: 100%; margin-top: 16px; }
  .ht-grid.ht-pinned > .ht-left, .ht-grid.ht-pinned > .ht-right { display: none; }
  .ht-mstage { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .ht-mslide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 30px 0 2px; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
  .ht-mslide.active { opacity: 1; pointer-events: auto; }
  .ht-mslide .ht-step { min-height: 0; opacity: 1; margin: 0; padding-left: 0; }
  .ht-mslide .ht-step::before { display: none; }
  .ht-mslide .ht-vis { position: relative; opacity: 1; transform: none; width: 100%; max-width: 100%; height: auto; min-height: 300px; }
  /* progress rail (right edge): a dot per step + a pulsing down-cue that says
     "keep scrolling" and fades out on the final step. */
  .ht-mprog { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 13px; z-index: 4; pointer-events: none; }
  .ht-mdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: background .4s, box-shadow .4s, transform .4s; }
  .ht-mdot.past { background: rgba(212,184,138,0.5); }
  .ht-mdot.active { background: var(--accent); box-shadow: 0 0 10px rgba(212,184,138,0.8); transform: scale(1.35); }
  .ht-mcue { width: 7px; height: 7px; margin-top: 3px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg); animation: htCue 1.5s ease-in-out infinite; transition: opacity .4s; }
  .ht-mstage.ht-laststep .ht-mcue { opacity: 0; }
}
@keyframes htCue { 0%,100% { transform: rotate(45deg) translate(-2px,-2px); opacity: .35; } 50% { transform: rotate(45deg) translate(1px,1px); opacity: 1; } }
/* Stage only renders in mobile pinned mode; hidden otherwise (incl. desktop) */
.ht-grid:not(.ht-pinned) .ht-mstage { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ht-step { opacity: 1; }
  .ht-vis { transition: none !important; transform: none !important; }
  .ht-mcue { animation: none !important; opacity: 0.7; }
  .pnl-row, .pnl-verdict, .cmp-big, .arch-dot, .arch-hubglow, .cmp-dot { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pnl-scan { display: none !important; }
  .cmp-area { clip-path: inset(0 0 0 0) !important; transition: none !important; }
  .cmp-line, .arch-line { stroke-dashoffset: 0 !important; transition: none !important; }
  .cmp-base { opacity: 1 !important; transition: none !important; }
  .cmp-dot-ring { animation: none !important; opacity: 0 !important; }
}

/* ============================================
   TEAM / PEOPLE (sample section)
   ============================================ */
.team { background: var(--black); padding: clamp(72px,10vh,120px) 24px; }
.team-inner { max-width: 1180px; margin: 0 auto; }
.team-head { max-width: 640px; margin: 0 0 clamp(36px,5vh,56px); }
.team-headline { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem,4vw,2.8rem); line-height: 1.08; color: var(--white); margin: 14px 0 16px; }
.team-sub { font-size: 1rem; line-height: 1.7; color: var(--grey-light); max-width: 52ch; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.team-card {
  margin: 0; background: var(--dark); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px 24px; text-align: left;
  transition: transform .25s ease, border-color .25s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(212,184,138,0.4); }
/* Hover flip: initials (front) spin to the headshot (back) */
.team-photo { width: 96px; height: 96px; margin-bottom: 20px; perspective: 700px; }
.team-photo-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
/* Desktop: flip on hover. Touch/mobile has no hover, so JS adds .is-shown when the
   card scrolls into the centre of the viewport (see script.js team flip). */
@media (hover: hover) {
  .team-card:hover .team-photo-inner,
  .team-card:focus-within .team-photo-inner { transform: rotateY(180deg); }
}
.team-card.is-shown .team-photo-inner { transform: rotateY(180deg); }
.team-photo-front, .team-photo-back {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.team-photo-front {
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(212,184,138,0.22), rgba(20,20,20,0.95) 72%);
  border: 1.5px solid rgba(212,184,138,0.45);
}
.team-photo-front::after {
  content: attr(data-initials);
  font-family: var(--serif); font-weight: 700; font-size: 1.55rem; color: var(--accent);
}
.team-photo-back {
  transform: rotateY(180deg);
  border: 1.5px solid rgba(212,184,138,0.8);
  background-color: #20201d;
  background-size: cover; background-position: center top;
}
@media (prefers-reduced-motion: reduce) { .team-photo-inner { transition: none; } }
.team-name { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--white); margin: 0 0 4px; }
.team-role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.team-line { font-size: 0.9rem; line-height: 1.6; color: var(--grey-light); margin: 0; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } .team-photo { width: 84px; height: 84px; } }
