/* =============================================================================
   Club — the 2026 Terrace board 2 (#59): the story beside the owned photo,
   "What we teach." as five numbered rows, the honours board, and the
   role-and-name cards shared with Squad's coaching team. The page header and
   the strip are matches.css; the partner tiles are landing.css.
   ========================================================================== */

/* --- Story ---------------------------------------------------------------- */
.ntc-sec--story .ntc-sec__inner { padding-block: 120px; }
.ntc-story2 { align-items: center; }
.ntc-story2__copy { display: flex; flex-direction: column; gap: 24px; max-width: 600px; }
.ntc-story2__copy .ntc-ltitle { margin: 0; }
.ntc-story2__para { margin: 0; font-size: 20px; line-height: 1.55; color: var(--color-white); }
.ntc-story2__para--muted { color: var(--color-text); }
.ntc-story2__slogan {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-accent-base);
}

/* --- What we teach -------------------------------------------------------- */
.ntc-sec--values .ntc-sec__inner,
.ntc-sec--honours .ntc-sec__inner,
.ntc-sec--committee .ntc-sec__inner,
.ntc-sec--coaching .ntc-sec__inner { padding-block: 120px; }
.ntc-vrows {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
}
.ntc-vrows__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 520px) minmax(0, 560px);
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-block: 32px;
  border-bottom: 1px solid var(--color-line);
}
.ntc-vrows__num,
html .ntc-vrows__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ntc-vrows__num { color: var(--color-accent-base); }
html .ntc-vrows__value { color: var(--color-white); }
.ntc-vrows__line { margin: 0; font-size: 20px; line-height: 1.5; color: var(--color-text); }

/* --- Year by year (#93) -------------------------------------------------
   One row per year down a spine. The muted line is the track; the gold
   .ntc-timeline::after is the drawn part, scaled by animations.js as the
   visitor scrolls. At rest (no engine, reduced motion) it is full length and
   every dot is lit: the markup's own state is the finished one. */
.ntc-timeline {
  --ntc-tl-x: 216px;          /* the spine's x, between the year and the body */
  position: relative;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.ntc-timeline::before,
.ntc-timeline::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: var(--ntc-tl-x);
  width: 3px;
  margin-left: -1px;
}
.ntc-timeline::before { background: var(--color-line); }
.ntc-timeline::after {
  background: var(--color-accent-base);
  transform-origin: top;
  transform: scaleY(var(--ntc-tl-progress, 1));
}
.ntc-timeline__year {
  position: relative;
  display: grid;
  grid-template-columns: calc(var(--ntc-tl-x) - 48px) minmax(0, 1fr);
  column-gap: 96px;
  padding-block: 32px;
}
.ntc-timeline__dot {
  position: absolute;
  top: 52px;
  left: var(--ntc-tl-x);
  width: 19px;
  height: 19px;
  margin-left: -9px;
  border: 3px solid var(--color-accent-base);
  border-radius: 50%;
  background: var(--color-accent-base);
  transition: background-color var(--motion-fast, 120ms) linear, transform 240ms cubic-bezier(.2,0,0,1);
}
html .ntc-timeline__num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0;
  text-align: right;
  color: var(--color-white);
  transition: color var(--motion-fast, 120ms) linear;
}
html .ntc-timeline__year.is-title .ntc-timeline__num { color: var(--color-accent-base); }
/* Not yet reached: only set while the engine is drawing the spine. */
.ntc-timeline.is-live .ntc-timeline__year:not(.is-reached) .ntc-timeline__dot { background: var(--color-ink); transform: scale(.7); }
html .ntc-timeline.is-live .ntc-timeline__year:not(.is-reached) .ntc-timeline__num { color: var(--color-text-muted); }

.ntc-timeline__body { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.ntc-timeline__results,
.ntc-timeline__moments { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ntc-timeline__result { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; row-gap: 4px; }
.ntc-timeline__word {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-white);
}
.ntc-timeline__result--winner .ntc-timeline__word { color: var(--color-accent-base); }
.ntc-timeline__comp { font-size: 20px; line-height: 1.4; font-weight: var(--font-weight-semibold); color: var(--color-white); }
.ntc-timeline__detail { flex-basis: 100%; font-size: 17px; line-height: 1.5; color: var(--color-text); }
.ntc-timeline__moment {
  position: relative;
  padding-left: 28px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
}
.ntc-timeline__moment::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 14px;
  height: 2px;
  background: var(--color-text-muted);
}

/* --- Role-and-name cards (committee, coaching) --------------------------- */
.ntc-people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.ntc-people__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 190px;
  padding: 32px;
  background: var(--color-ink);
}
.ntc-people__role {
  margin: 0;
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-base);
}
.ntc-people__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-white);
}

@media (max-width: 1199px) {
  .ntc-vrows__num, html .ntc-vrows__value { font-size: 56px; }
  .ntc-vrows__row { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); }
}

/* --- Below 1024: one centred column, cards two-up ------------------------- */
@media (max-width: 1023px) {
  .ntc-sec--story .ntc-sec__inner,
  .ntc-sec--values .ntc-sec__inner,
  .ntc-sec--honours .ntc-sec__inner,
  .ntc-sec--committee .ntc-sec__inner,
  .ntc-sec--coaching .ntc-sec__inner { padding-block: 64px; }
  .ntc-story2__copy { gap: 16px; max-width: none; text-align: center; align-items: center; }
  .ntc-story2__para { font-size: 17px; }
  .ntc-story2__slogan { font-size: 28px; }

  .ntc-vrows { margin-top: 32px; }
  .ntc-vrows__row { display: flex; flex-direction: column; gap: 8px; padding-block: 20px; text-align: center; }
  .ntc-vrows__num { font-size: 32px; }
  html .ntc-vrows__value { font-size: 40px; }
  .ntc-vrows__line { font-size: 17px; }

  .ntc-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
  .ntc-people > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }

  /* The timeline keeps its spine on the left on a phone: a list read down a
     line, so it is the one Club section that does not centre. */
  .ntc-timeline { --ntc-tl-x: 9px; margin-top: 32px; text-align: left; }
  .ntc-timeline__year { display: block; padding: 20px 0 20px 40px; }
  .ntc-timeline__dot { top: 26px; }
  html .ntc-timeline__num { font-size: 40px; text-align: left; margin-bottom: 8px; }
  .ntc-timeline__body { gap: 12px; padding-top: 0; }
  .ntc-timeline__word { font-size: 20px; }
  .ntc-timeline__comp { font-size: 16px; }
  .ntc-timeline__detail, .ntc-timeline__moment { font-size: 15px; }
  .ntc-people__card { min-height: 150px; padding: 20px; }
  .ntc-people__role { font-size: 13px; }
  .ntc-people__name { font-size: 22px; }
}
