/* ==========================================================================
   Long-form pages

   These scroll normally. The panel-stack engine suits a showreel; it fights
   anything you actually need to read through.
   ========================================================================== */

body { background: var(--bg); color: var(--fg); }

.page { padding-bottom: 12rem; }

.section {
  padding: 0 var(--page-x);
  margin-top: var(--vertical-gutter);
}

.section:first-child { margin-top: 0; }

.section__inner {
  max-width: 132rem;
  margin: 0 auto;
}

.section__head { max-width: 72rem; }
.section__eyebrow { margin-bottom: 1.6rem; }

/* ---- opening ------------------------------------------------------------ */

.opening {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 18rem;
}

.opening h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-display-lg);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  text-wrap: balance;
}

.opening__lede {
  margin-top: 3.2rem;
  max-width: 56ch;
  font-size: var(--fs-body-lg);
  line-height: 1.4;
  color: var(--text-regular);
}

/* ---- screen wall -------------------------------------------------------- */

.wall {
  margin-top: 8rem;
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  padding-bottom: 1.6rem;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
  mask-image: linear-gradient(to right, #000 88%, transparent);
}

.wall::-webkit-scrollbar { display: none; }

.wall__item {
  flex: none;
  width: clamp(16rem, 18vw, 24rem);
  aspect-ratio: 590 / 1070;
  border-radius: 1.6rem;
  overflow: hidden;
  background: var(--bg-subtle);
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.4);
}

.wall__item img,
.wall__item video { width: 100%; height: 100%; object-fit: cover; }

/* ---- approach rows ------------------------------------------------------ */

.approach { border-top: 1px solid var(--border-subtle); margin-top: 6.4rem; }

.approach__row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gutter);
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.approach__num { color: var(--text-subtle); padding-top: 0.6rem; }

.approach__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 2.8vw, 4rem);
  line-height: 1.16;
  letter-spacing: var(--ls-display);
  text-wrap: balance;
}

.approach__body { color: var(--text-regular); max-width: 52ch; }
.approach__body p + p { margin-top: 1.4rem; }

/* ---- capability columns ------------------------------------------------- */

.caps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 6.4rem;
}

.caps__col { border-top: 1px solid var(--border-subtle); padding-top: 2rem; }
.caps__title { margin-bottom: 2rem; }
.caps__list { display: flex; flex-direction: column; gap: 1rem; }
.caps__list li { color: var(--text-regular); font-size: 1.6rem; }

/* ---- measured proof ----------------------------------------------------- */

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 6.4rem;
}

.proof__item { border-top: 1px solid var(--border-subtle); padding-top: 1.6rem; }

.proof__value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.6rem, 5vw, 8rem);
  line-height: 1;
  letter-spacing: var(--ls-display);
}

.proof__label { margin-top: 1rem; color: var(--text-regular); font-size: 1.5rem; }

.proof__note {
  margin-top: 3.2rem;
  color: var(--text-subtle);
  font-size: 1.4rem;
  max-width: 68ch;
}

/* ---- closing CTA -------------------------------------------------------- */

.cta { border-top: 1px solid var(--border-subtle); margin-top: 4rem; }

.cta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding-left var(--dur) var(--ease-out);
}

.cta__row:hover { padding-left: 1.6rem; }

.cta__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 3.4vw, 5.2rem);
  line-height: 1.1;
  letter-spacing: var(--ls-display);
}

.page__foot {
  margin-top: 8rem;
  padding: 3.2rem var(--page-x) 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter);
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .approach__row { grid-template-columns: 4rem minmax(0, 1fr); }
  .approach__body { grid-column: 2; }
  .caps { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__row { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Register — a plain definition list of matters of record
   -------------------------------------------------------------------------- */

.register {
  margin-top: 6.4rem;
  border-top: 1px solid var(--border-subtle);
}

.register__row {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: var(--gutter);
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.register dt { color: var(--text-subtle); }
.register dd { font-size: 1.7rem; line-height: 1.5; color: var(--text-bold); }
.register dd em { font-style: italic; color: var(--text-regular); }

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.timeline {
  margin-top: 6.4rem;
  border-top: 1px solid var(--border-subtle);
}

.timeline__row {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: var(--gutter);
  align-items: start;
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline__when { color: var(--text-subtle); padding-top: 0.4rem; }
.timeline__body { max-width: 62ch; color: var(--text-regular); }
.timeline__body strong { color: var(--text-bold); font-weight: 500; }

@media (max-width: 900px) {
  .register__row,
  .timeline__row { grid-template-columns: 1fr; gap: 0.8rem; }
}
