/* =============================================================================
   Home — hero, statement, featured result, highlights, values, squad intro.
   ========================================================================== */

/* --- Split hero ----------------------------------------------------------- */
.ntc-hero { display: flex; width: 100%; min-height: 900px; }

.ntc-hero__panel {
  width: 628px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px var(--spacing-lg);
  background: var(--color-ink);
}

.ntc-hero__top { display: flex; flex-direction: column; gap: 36px; }
.ntc-hero__place { display: flex; flex-direction: column; gap: 2px; }

.ntc-hero__city {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  line-height: var(--text-lg);
  letter-spacing: -0.05em;
  color: var(--color-white);
}

.ntc-hero__time {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: var(--text-lg);
  line-height: var(--text-lg);
  color: var(--color-text-muted);
}

.ntc-hero__connect { display: flex; flex-direction: column; gap: var(--spacing-xs); }

.ntc-hero__connectlabel,
.ntc-hero__handle {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 16px;
}

.ntc-hero__connectlabel { color: var(--color-text-muted); }
.ntc-hero__handle { color: var(--color-accent); }

.ntc-hero__mark {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: var(--color-white);
}

.ntc-hero__reg {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  line-height: 30px;
  letter-spacing: var(--tracking-normal);
  padding-bottom: 14px;
}

.ntc-hero__media { flex: 1 1 0; min-height: 900px; }

/* --- Statement ------------------------------------------------------------ */
.ntc-sec--statement .ntc-sec__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  padding-block: 44px var(--spacing-2xl);
  min-height: 1102px;
}

.ntc-statement__place {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--text-lg);
  letter-spacing: var(--tracking-display);
  color: var(--color-text-on-light);
}

.ntc-statement__code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--color-gray-800);
}

.ntc-statement__line {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--font-weight-normal);
  line-height: 177px;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: var(--color-text-on-light);
}

.ntc-statement__sub {
  margin: 18px 0 0;
  font-family: var(--font-editorial);
  font-size: 36px;
  line-height: 36px;
  letter-spacing: var(--tracking-tight);
  color: var(--color-gray-800);
}

.ntc-statement__media { display: flex; gap: 20px; height: 396px; }
.ntc-statement__photo { width: 466px; flex-shrink: 0; }

/* A dark panel inside a bone section: .ntc-on-dark on the element restores the
   real accent for its subtree, because the contrast rule is about the ground
   underneath the ink, not about the section it sits in. */
.ntc-statement__kit {
  width: 466px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px var(--spacing-lg);
  background: var(--color-secondary);
}

.ntc-statement__kit .ntc-eyebrow { margin: 0; color: var(--color-white); }
.ntc-statement__kittext { display: flex; flex-direction: column; gap: 10px; }

.ntc-statement__kittitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-normal);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: var(--color-white);
}

.ntc-statement__kitbody {
  margin: 0;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-white);
}

/* --- Featured result ------------------------------------------------------ */
.ntc-feature { display: flex; width: 100%; min-height: 849px; }

.ntc-feature__panel {
  width: 720px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 60px 90px;
  text-align: center;
  background: var(--color-ink-raised);
}

.ntc-feature__panel .ntc-eyebrow {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-normal);
  line-height: 18px;
  text-transform: none;
}

.ntc-feature__round {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--font-weight-normal);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: var(--color-white);
}

.ntc-feature__body { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.ntc-feature__score {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--text-lg);
  letter-spacing: var(--tracking-display);
  color: var(--color-accent);
}

.ntc-feature__line {
  max-width: 480px;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 36px;
  line-height: 36px;
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

.ntc-feature__tags {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 18px;
  color: var(--color-text-muted);
}

.ntc-btn--light { background: var(--color-white); color: var(--color-ink); padding: 13px 26px; }

.ntc-feature__media { flex: 1 1 0; min-height: 849px; }

/* --- Highlights ----------------------------------------------------------- */
.ntc-highlights { display: flex; width: 100%; }

.ntc-highlights__main {
  width: 860px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 100px var(--spacing-xl) 100px 20px;
}

.ntc-highlights__main .ntc-eyebrow,
.ntc-highlights__raillabel {
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.ntc-highlights__main .ntc-eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-normal);
  line-height: 18px;
  text-transform: none;
}

.ntc-highlights__frame {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-black);
}

.ntc-highlights__still { position: absolute; inset: 0; opacity: 0.55; }

/* A play mark, not a play button: no video asset exists yet, so it must not
   invite a click that does nothing. */
.ntc-highlights__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--spacing-3xl);
  height: var(--spacing-3xl);
  transform: translate(-50%, -50%);
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.ntc-highlights__play::after {
  content: "";
  position: absolute;
  left: 38px;
  top: 33px;
  border-style: solid;
  border-width: 15px 0 15px 24px;
  border-color: transparent transparent transparent var(--color-ink);
}

.ntc-highlights__caption {
  position: absolute;
  left: var(--spacing-lg);
  bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.ntc-highlights__ft {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 16px;
  letter-spacing: var(--tracking-wide);
  color: var(--color-white);
}

.ntc-highlights__score {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  line-height: 30px;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.ntc-highlights__meta {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--text-lg);
  letter-spacing: -0.03em;
  color: var(--color-text-muted);
}

.ntc-highlights__rail { flex: 1 1 0; min-width: 0; padding: 100px 20px 100px 0; }

.ntc-highlights__raillabel {
  margin: 0 0 20px;
  font-size: var(--text-2xs);
  line-height: 12px;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
}

.ntc-rail { margin: 0; padding: 0; list-style: none; }

.ntc-rail__row {
  display: flex;
  align-items: center;
  padding-block: 22px;
  border-top: 1px solid var(--color-line);
}

.ntc-rail__row:last-child { border-bottom: 1px solid var(--color-line); }

.ntc-rail__outcome {
  width: 56px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 16px;
}

.ntc-rail__outcome--w { color: var(--color-accent); }
.ntc-rail__outcome--d { color: var(--color-text-muted); }
/* --color-gray-800 is the BONE muted; on ink it is 3.68:1. */
.ntc-rail__outcome--l { color: var(--color-text-muted); }

.ntc-rail__opponent {
  flex: 1 1 0;
  min-width: 0;
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: 20px;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.ntc-rail__score {
  width: 80px;
  flex-shrink: 0;
  text-align: right;
  font-family: var(--font-mono);
  font-size: var(--text-base);
  line-height: 20px;
  font-variant-numeric: tabular-nums;
  color: var(--color-white);
}

/* --- Values --------------------------------------------------------------- */
.ntc-sec--values .ntc-sec__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  min-height: 1260px;
  padding-block: 80px;
}

.ntc-values__label {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  line-height: var(--text-lg);
  letter-spacing: var(--tracking-display);
  color: var(--color-white);
}

.ntc-values__reg { font-size: var(--text-sm); }

.ntc-values__sub {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-normal);
  line-height: 30px;
  letter-spacing: var(--tracking-normal);
  color: var(--color-text-muted);
}

.ntc-values__word {
  margin: 0;
  font-size: var(--text-mega);
  font-weight: var(--font-weight-medium);
  line-height: 197px;
  letter-spacing: -0.045em;
  color: var(--color-white);
}

.ntc-values__word.is-accent { color: var(--color-accent); }

.ntc-values__notes { display: flex; gap: 20px; }

.ntc-values__note {
  width: 440px;
  flex-shrink: 1;
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  line-height: 26px;
  letter-spacing: -0.03em;
  color: var(--color-text-muted);
}

/* --- Squad intro ---------------------------------------------------------- */
.ntc-sec--squadintro .ntc-sec__inner {
  display: flex;
  flex-direction: column;
  gap: 112px;
  padding-block: 10px var(--spacing-xl);
  min-height: 900px;
}

.ntc-sec--squadintro .ntc-eyebrow {
  margin: var(--spacing-lg) 0 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-normal);
  line-height: 18px;
  text-transform: none;
}

.ntc-squadintro__foot { display: flex; flex-direction: column; gap: 30px; }

.ntc-squadintro__lede {
  max-width: 620px;
  margin: 0;
  font-size: 26px;
  font-weight: var(--font-weight-medium);
  line-height: 26px;
  letter-spacing: var(--tracking-display);
  color: var(--color-text-on-light);
}

.ntc-squadintro__actions { display: flex; gap: 12px; margin: 0; }

/* --- Programs ------------------------------------------------------------- */
.ntc-sec--programs .ntc-sec__inner { padding-block: 180px 140px; }

.ntc-programs { margin: 60px 0 0; padding: 0; list-style: none; }

.ntc-programs__row {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xl);
  padding-block: 44px;
  border-top: 1px solid var(--color-line-light);
}

.ntc-programs__row:last-child { border-bottom: 1px solid var(--color-line-light); }

.ntc-programs__num {
  width: 90px;
  flex-shrink: 0;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 18px;
  color: var(--color-gray-800);
}

.ntc-programs__name {
  width: 400px;
  flex-shrink: 0;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-normal);
  line-height: 50px;
  letter-spacing: -0.03em;
  color: var(--color-text-on-light);
}

.ntc-programs__body {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding-top: 12px;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  line-height: 26px;
  letter-spacing: -0.03em;
  color: var(--color-gray-800);
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .ntc-hero,
  .ntc-feature,
  .ntc-highlights { flex-direction: column; min-height: 0; }

  .ntc-hero__panel,
  .ntc-feature__panel,
  .ntc-highlights__main { width: 100%; }

  .ntc-hero__media,
  .ntc-feature__media { min-height: 420px; }

  .ntc-feature__panel { padding: var(--spacing-2xl) var(--spacing-lg); }
  .ntc-feature__line,
  .ntc-statement__sub { font-size: var(--text-xl); line-height: 1.25em; }

  .ntc-highlights__main { padding: var(--spacing-3xl) 20px var(--spacing-lg); }
  .ntc-highlights__rail { padding: 0 20px var(--spacing-3xl); }

  .ntc-statement__media { flex-wrap: wrap; height: auto; }
  .ntc-statement__photo,
  .ntc-statement__kit { width: calc(50% - 10px); min-height: 280px; }

  .ntc-statement__line { line-height: 0.9em; }
  .ntc-sec--statement .ntc-sec__inner,
  .ntc-sec--values .ntc-sec__inner,
  .ntc-sec--squadintro .ntc-sec__inner { min-height: 0; padding-block: var(--spacing-3xl); }

  .ntc-sec--squadintro .ntc-sec__inner { gap: var(--spacing-2xl); }
  .ntc-sec--programs .ntc-sec__inner { padding-block: var(--spacing-3xl); }

  .ntc-values__word { line-height: 0.85em; }
  .ntc-values__notes { flex-wrap: wrap; }
  .ntc-values__note { width: calc(50% - 10px); }

  .ntc-programs__row { flex-wrap: wrap; row-gap: var(--spacing-md); }
  .ntc-programs__name { width: calc(100% - 130px); font-size: var(--text-3xl); line-height: 1.1em; }
  .ntc-programs__body { flex-basis: 100%; padding-top: 0; }
}

@media (max-width: 640px) {
  .ntc-hero__panel { padding: var(--spacing-lg); }
  .ntc-hero__media,
  .ntc-feature__media { min-height: 280px; }
  .ntc-statement__photo,
  .ntc-statement__kit { width: 100%; }
  .ntc-values__note { width: 100%; }
  .ntc-highlights__play { width: var(--spacing-2xl); height: var(--spacing-2xl); }
  .ntc-highlights__play::after { left: 25px; top: 21px; border-width: 11px 0 11px 17px; }
  .ntc-highlights__caption { flex-direction: column; align-items: flex-start; gap: var(--spacing-xs); }
  .ntc-highlights__score { font-size: var(--text-base); line-height: 1.3em; }
  .ntc-squadintro__actions { flex-wrap: wrap; }
  .ntc-programs__name { width: 100%; }
}

/* --- The hero gallery — issue #39 ----------------------------------------
   A scroll container, not a tween. The movement is native horizontal
   scrolling with scroll-snap, which is what keeps this from being a real
   fifth motion behaviour: with JavaScript off it is still a working,
   swipeable, keyboard-scrollable gallery, and GSAP never touches it.

   Slides use .ntc-gallery__img rather than .ntc-panel__img SPECIFICALLY so
   parallaxPanels() does not select them — it scales .ntc-panel > 
   .ntc-panel__img by 1.178 and translates it on scroll, and a horizontally
   scrolled slide cannot also be owned by a vertical scrub without the two
   fighting over transform. The collision is designed out, not arbitrated.
   ---------------------------------------------------------------------- */
.ntc-gallery {
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}

.ntc-gallery__track {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  /* Momentum on iOS, and no visible scrollbar eating the image. */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ntc-gallery__track::-webkit-scrollbar { display: none; }

.ntc-gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-width: 0;              /* never a bare 1fr/auto minimum — see CLAUDE.md */
  height: 100%;
}

.ntc-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Controls exist in the markup but stay hidden until gallery.js announces
   itself, because without it the buttons would be inert. The track is still
   swipeable and scrollable in that state, so nothing is lost. */
.ntc-gallery__controls { display: none; }

html.ntc-gallery-js .ntc-gallery__controls {
  display: flex;
  position: absolute;
  right: var(--spacing-md);
  bottom: var(--spacing-md);
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--color-ink) 72%, transparent);
}

.ntc-gallery__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.ntc-gallery__nav:hover { border-color: var(--color-accent); color: var(--color-accent); }
.ntc-gallery__nav[disabled] { opacity: 0.35; cursor: default; }
.ntc-gallery__nav[disabled]:hover { border-color: var(--color-line); color: var(--color-white); }

.ntc-gallery__dots {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ntc-gallery__dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  /* `color: inherit` is load-bearing, not tidiness. A <button> does NOT
     inherit colour — it takes the UA's `buttontext`, which is black — so
     without this currentColor on the dot is #000000, and the shared
     :focus-visible rule in motion.css painted a black ring on the near-black
     controls panel at 1:1. Caught by tools/focus-ring-sweep.js on the run
     that introduced it. The nav buttons below set colour explicitly and were
     never affected. */
  color: inherit;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.ntc-gallery__dot[aria-current="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* The gallery fills the hero media column, which already has its height. */
.ntc-hero__media.ntc-gallery { min-height: 900px; }

@media (max-width: 1024px) {
  .ntc-hero__media.ntc-gallery { min-height: 0; }
}
