/* Direction C — "Two Chairs" (Gate 3 prototype, page-scoped)
   Concept: a two-rail spatial system — the voice on one side, the
   listener on the other — that converges into a single frame at the
   masterclass, then opens into an ascent of five categories. */

:root {
  --tc-teal: #00c2b2;
  --tc-teal-deep: #009b8e;
  --tc-teal-bright: #0ddbc7;
  --tc-dark: #1c2321;
  --tc-dark-accent: #131a19;
  --tc-ink: #2c3e50;
  --tc-muted: #5b6b6a;
  --tc-paper: #f4f5f6;
  --tc-white: #ffffff;
}

.tc-page {
  overflow: clip;
  background: var(--tc-white);
  color: var(--tc-ink);
  font-family: "Noto Sans", sans-serif;
}

.tc-shell {
  width: min(78rem, calc(100% - 3rem));
  margin-inline: auto;
}

.tc-mask { display: block; overflow: hidden; }
.tc-mask > span { display: inline-block; will-change: transform; }

.tc-h2 {
  font-family: "Futura", "Jost", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--tc-ink);
  margin: 0 0 1.75rem;
  text-wrap: balance;
}
/* ─── Prologue hero (HKICF family) ─────────────────────────── */
.tc-hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: white;
}

.tc-hero__media,
.tc-hero__poster,
.tc-hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tc-hero__poster { object-fit: cover; object-position: center 45%; }

.tc-hero__scrim {
  background:
    linear-gradient(to bottom, rgba(10, 14, 13, 0.7), rgba(10, 14, 13, 0.3) 45%, rgba(10, 14, 13, 0.9) 96%),
    linear-gradient(to right, rgba(10, 14, 13, 0.6), transparent 62%);
}

.tc-hero__content {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(7rem, 13vh, 9.5rem);
}

.tc-hero__eyebrow {
  margin-bottom: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: color-mix(in srgb, white 80%, transparent);
}

.tc-hero h1 {
  font-family: "Futura", "Jost", sans-serif;
  font-size: clamp(2.9rem, 7vw, 6.2rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.tc-title-dim { color: var(--tc-teal-bright); font-size: 0.52em; letter-spacing: 0.02em; }

.tc-hero__lede {
  margin-top: 1.75rem;
  max-width: 32rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: color-mix(in srgb, white 82%, transparent);
}

.tc-hero__curve {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 6rem;
  color: var(--tc-white);
  pointer-events: none;
}
/* ─── I & II. The two sides ───────────────────────────────── */
.tc-side { padding-block: clamp(4.5rem, 9vw, 8rem); }
.tc-side--listener { background: var(--tc-paper); }

.tc-side__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* rail marker — a single hairline that states which side is speaking */
.tc-side__copy { position: relative; }

.tc-rail-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tc-teal-deep);
}

.tc-rail-label::before {
  content: "";
  width: clamp(2rem, 5vw, 4rem);
  height: 2px;
  background: var(--tc-teal);
}

.tc-side--listener .tc-rail-label { flex-direction: row-reverse; }
.tc-side--listener .tc-side__copy { text-align: right; }
.tc-side--listener .tc-prose { margin-left: auto; }

.tc-prose {
  display: grid;
  gap: 1.1rem;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tc-muted);
}

.tc-side__photo { margin: 0; }

.tc-side__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2rem;
  display: block;
}
/* ─── III. The meeting — convergence ───────────────────────── */
.tc-meeting {
  background: var(--tc-dark);
  color: white;
}

.tc-meeting__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 46rem);
  display: flex;
  align-items: center;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

/* when pinned on desktop the stage must fill the viewport exactly,
   otherwise the pin spacer shows as dead space below the outcomes */
@media (min-width: 1024px) {
  .tc-meeting__stage {
    min-height: 100svh;
    height: 100svh;
    padding-block: clamp(3rem, 6vh, 5rem);
  }
}

/* the two halves of the frame */
.tc-meeting__panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  opacity: 0.5;
}

.tc-meeting__panel--voice { left: 0; }
.tc-meeting__panel--listener { right: 0; }

.tc-meeting__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* the panel sits behind a legibility wash; the voice side is warm,
   the listener side cooler, so the seam reads as two rooms meeting */
.tc-meeting__panel--voice img { object-position: 55% 42%; }
.tc-meeting__panel--listener img { object-position: 38% center; }

/* seam + legibility wash */
.tc-meeting__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(28, 35, 33, 0.16), rgba(28, 35, 33, 0.42) 68%, rgba(28, 35, 33, 0.72)),
    radial-gradient(58% 68% at 50% 42%, rgba(28, 35, 33, 0.82), rgba(28, 35, 33, 0.5) 62%, rgba(28, 35, 33, 0.84)),
    linear-gradient(to right, var(--tc-dark), transparent 20%, transparent 80%, var(--tc-dark));
  pointer-events: none;
}

.tc-meeting__stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--tc-teal-bright) 55%, transparent), transparent);
  pointer-events: none;
}

.tc-meeting__core {
  position: relative;
  z-index: 3;
  width: min(60rem, calc(100% - 3rem));
  margin-inline: auto;
  text-align: center;
}

.tc-meeting__core h2 {
  font-family: "Futura", "Jost", sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1.5rem;
}

.tc-meeting__lede {
  max-width: 44ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: color-mix(in srgb, white 80%, transparent);
}

.tc-outcomes {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  text-align: left;
}

.tc-outcomes li {
  padding: 0 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.tc-outcomes li:first-child { border-left: 0; padding-left: 0; }

.tc-outcomes h3 {
  font-family: "Futura", "Jost", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--tc-teal-bright);
}

.tc-outcomes p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: color-mix(in srgb, white 72%, transparent);
}
/* ─── IV. The ascent ─────────────────────────────────── */
.tc-steps { padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 8vw, 7rem); }

.tc-steps__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.tc-steps__head .section-kicker { margin-bottom: 0.9rem; }

.tc-intro {
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tc-muted);
  margin: 0;
}

/* five treads climbing left → right */
.tc-ascent {
  list-style: none;
  margin: 0;
  padding: 0 0 clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
}

.tc-step {
  position: relative;
  padding: 1.4rem 1.25rem 1.6rem;
  border-top: 2px solid var(--tc-teal);
  border-left: 1px solid rgba(28, 35, 33, 0.12);
  /* the rise is layout, not transform — GSAP owns transform on these */
  margin-bottom: var(--tc-rise, 0rem);
}

.tc-step:first-child { border-left: 0; padding-left: 0; }
.tc-step:nth-child(1) { --tc-rise: 0rem; }
.tc-step:nth-child(2) { --tc-rise: 1.9rem; }
.tc-step:nth-child(3) { --tc-rise: 3.8rem; }
.tc-step:nth-child(4) { --tc-rise: 5.7rem; }
.tc-step:nth-child(5) { --tc-rise: 7.6rem; }

.tc-step__no {
  display: block;
  font-family: "Futura", "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--tc-teal-deep);
  margin-bottom: 0.9rem;
}

.tc-step h3 {
  font-family: "Futura", "Jost", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--tc-ink);
  margin: 0 0 0.5rem;
}

.tc-step p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--tc-muted);
}

.tc-steps__note {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(28, 35, 33, 0.12);
  font-size: 0.85rem;
  color: var(--tc-muted);
}

.tc-steps__note em { font-style: normal; color: var(--tc-ink); font-weight: 600; }
/* ─── V. Your mark ──────────────────────────────────── */
.tc-mark {
  background: var(--tc-paper);
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.tc-mark__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.tc-mark .section-kicker { margin-bottom: 0.9rem; }
.tc-mark .tc-prose { margin-bottom: 2.5rem; }

.tc-bands { margin: 0; display: grid; gap: 1.1rem; max-width: 30rem; }

.tc-band {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.tc-band dt {
  font-family: "Futura", "Jost", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--tc-ink);
}

.tc-band dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--tc-muted);
}

.tc-band__bar {
  height: 3px;
  width: var(--band, 60%);
  background: var(--tc-teal);
  border-radius: 9999px;
  flex: 0 0 auto;
  transform-origin: left center;
}

.tc-mark__photo { margin: 0; }

.tc-mark__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2rem;
  display: block;
}

/* ─── VI. The invitation ──────────────────────────────── */
.tc-invite {
  background: var(--tc-dark-accent);
  color: white;
  padding-block: clamp(5rem, 10vw, 9rem);
  text-align: center;
}

.tc-invite__record {
  max-width: 60ch;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  line-height: 1.85;
  color: color-mix(in srgb, white 66%, transparent);
}

.tc-invite__title {
  font-family: "Futura", "Jost", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
}

.tc-invite__lede {
  max-width: 46ch;
  margin: 0 auto 2.75rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: color-mix(in srgb, white 78%, transparent);
}

.tc-invite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border-radius: 9999px;
  background: var(--tc-teal);
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.tc-cta:hover { background: var(--tc-teal-bright); color: var(--tc-dark); transform: translateY(-2px); }
.tc-cta:focus-visible { outline: 2px solid var(--tc-teal-bright); outline-offset: 3px; }

.tc-cta--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
}

.tc-cta--ghost:hover { background: rgba(255, 255, 255, 0.08); color: white; }
/* ─── Responsive: the two rails become a vertical dialogue ─────── */
@media (max-width: 1023px) {
  .tc-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 0; }
  .tc-outcomes li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .tc-ascent { grid-template-columns: repeat(1, minmax(0, 1fr)); padding-bottom: 2rem; }
  .tc-step {
    transform: none;
    margin-bottom: 0;
    border-left: 0;
    border-top: 1px solid rgba(28, 35, 33, 0.12);
    padding: 1.2rem 0 1.2rem calc(var(--tc-indent, 0rem) + 1.1rem);
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0 1rem;
  }
  .tc-step::before {
    content: "";
    position: absolute;
    left: var(--tc-indent, 0rem);
    top: -1px;
    bottom: 0;
    width: 2px;
    background: var(--tc-teal);
  }
  .tc-step__no { margin: 0; grid-row: span 2; }
  .tc-step:nth-child(1) { --tc-indent: 0rem; }
  .tc-step:nth-child(2) { --tc-indent: 0.75rem; }
  .tc-step:nth-child(3) { --tc-indent: 1.5rem; }
  .tc-step:nth-child(4) { --tc-indent: 2.25rem; }
  .tc-step:nth-child(5) { --tc-indent: 3rem; }

  .tc-side__grid,
  .tc-side__grid--flip,
  .tc-mark__grid { grid-template-columns: minmax(0, 1fr); }

  /* dialogue beats: voice indents from the left, listener from the right */
  .tc-side--voice .tc-side__copy { padding-right: 8%; }
  .tc-side--listener .tc-side__copy { padding-left: 8%; }
  .tc-side--listener .tc-side__grid--flip .tc-side__photo { order: 2; }
  .tc-side__photo img { aspect-ratio: 3 / 2; border-radius: 1.5rem; }
  .tc-mark__photo img { aspect-ratio: 3 / 2; border-radius: 1.5rem; }

  /* the meeting: stacked halves, one merged frame */
  .tc-meeting__panel { width: 100%; height: 50%; opacity: 0.4; }
  .tc-meeting__panel--voice { top: 0; left: 0; }
  .tc-meeting__panel--listener { top: 50%; right: auto; left: 0; }
  .tc-meeting__stage::after { top: auto; bottom: auto; left: 12%; right: 12%; width: auto; height: 1px;
    background: linear-gradient(to right, transparent, color-mix(in srgb, var(--tc-teal-bright) 55%, transparent), transparent); }
  .tc-hero__curve { height: 3.5rem; }
}

@media (max-width: 639px) {
  .tc-outcomes { grid-template-columns: minmax(0, 1fr); }
  .tc-outcomes li { border-left: 0; padding-left: 0; }
  .tc-band { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .tc-invite__actions { flex-direction: column; align-items: stretch; }
  .tc-cta { justify-content: center; }
}

/* ─── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .tc-cta { transition: none; }
}
