/* ============================================================
   TGC: the second pass (5 Oct 2026)

   The shared pieces TGC gained from the homepage (the 3D phone, the
   partners band) and the motion layer from scripts/tgc-fx.js. Section
   builders carry their own files: tgc-member.css, tgc-rituals.css,
   tgc-season.css. Loads last.
   ============================================================ */

/* ---------- the lap bar ----------
   Fills across the top as you read; sector ticks at a third and two
   thirds, like a timing screen's sector splits. */
.tlap {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
  background: rgba(255, 77, 0, .12);
}
.tlap__fill {
  position: absolute; inset: 0;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 77, 0, .7);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.tlap__s {
  position: absolute; top: 0; bottom: 0;
  width: 2px;
  background: #050505;
}
.tlap__s:nth-of-type(2) { left: 33.333%; }
.tlap__s:nth-of-type(3) { left: 66.666%; }

/* ---------- hero ---------- */
.thero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.thero__link { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 0.2rem; }
.thero__link:hover { color: var(--accent); }

/* ---------- membership host (tgc-member.css owns the inside) ---------- */
.tmember { padding-block: var(--space-section) clamp(1.5rem, 3vw, 3rem); position: relative; }
/* The two sections each carried a full section of padding, which stacked
   to over 300px of nothing between the card and "We take the Antler Room"
   (6 Nov 2026). One breath instead. */
.tmember + .venue { padding-top: clamp(2rem, 4vw, 4rem); }

/* ---------- the crowd: in colour now ----------
   The strip was greyscale until hover, which read as an archive. It is
   the people who come, so they come in colour, bigger. */
.crowd__fig img { filter: none; }
.crowd__fig { width: clamp(15rem, 24vw, 22rem); }
.crowd__fig figcaption { opacity: 1; }

/* ---------- Race Control: the 3D phone ---------- */
.trc { border-top: 1px solid var(--line); }
.phonerig--3d { width: min(92vw, 480px); aspect-ratio: 0.6; perspective: none; position: relative; }
.phonerig--3d .phone { display: none; }
.phone3d { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.phone3d:active { cursor: grabbing; }

/* ---------- partners ---------- */
.tpband { border-top: 1px solid var(--line); }
.tpband .pchip:hover { box-shadow: 0 18px 44px -24px rgba(255, 77, 0, .8); }
