.kuf-page {
  overflow: clip;
}

.kuf-page .kuf-shell {
  padding-block: var(--space-8) var(--space-10);
}

.kuf-page .kuf-section {
  padding-block: var(--space-10);
}

.kuf-page .kuf-hero {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
}

.kuf-page .kuf-hero__media {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-sm);
}

.kuf-page .kuf-hero__media::after,
.kuf-page .kuf-environment__figure::after,
.kuf-page .kuf-fortress__figure::after {
  position: absolute;
  inset: 0;
  background: rgb(23 25 26 / 28%);
  content: "";
  pointer-events: none;
}

.kuf-page .kuf-hero__media,
.kuf-page .kuf-environment__figure,
.kuf-page .kuf-fortress__figure {
  position: relative;
}

.kuf-page .kuf-hero__media img,
.kuf-page .kuf-environment__figure img,
.kuf-page .kuf-fortress__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kuf-page .kuf-hero__content {
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(35rem, 43.75rem) minmax(13.125rem, 15.625rem);
  align-items: end;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-8);
}

.kuf-page .kuf-hero__copy,
.kuf-page .kuf-hero__meta,
.kuf-page .kuf-classes__intro,
.kuf-page .kuf-class-marker,
.kuf-page .kuf-skill__heading,
.kuf-page .kuf-environment__heading,
.kuf-page .kuf-environment__analysis,
.kuf-page .kuf-track__intro,
.kuf-page .kuf-track__closing,
.kuf-page .kuf-fortress__heading,
.kuf-page .kuf-coop__intro,
.kuf-page .kuf-coop__point,
.kuf-page .kuf-sessions__heading,
.kuf-page .kuf-verdict__heading,
.kuf-page .kuf-next__content {
  min-width: 0;
}

.kuf-page .kuf-hero__copy {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.kuf-page .kuf-hero__copy > * {
  min-width: 0;
  margin: 0;
}

.kuf-page .kuf-hero h1 {
  width: 100%;
  max-width: 43.75rem;
  font-size: clamp(3.4rem, 6.2vw, 5.75rem);
}

.kuf-page .kuf-hero__lead {
  width: 100%;
  max-width: 41.25rem;
  color: var(--color-parchment-100);
  font-size: var(--text-lg);
  line-height: var(--leading-body);
}

.kuf-page .kuf-hero__meta {
  width: 100%;
  max-width: 15.625rem;
  padding: var(--space-4);
  border-inline-start: 1px solid var(--color-copper-500);
  background: rgb(23 25 26 / 82%);
}

.kuf-page .kuf-hero__meta p {
  margin: 0;
}

.kuf-page .kuf-hero__meta p + p {
  margin-block-start: var(--space-3);
}

.kuf-page .kuf-hero__meta-label,
.kuf-page .kuf-marker-label,
.kuf-page .kuf-progress__number,
.kuf-page .kuf-coop__count {
  color: var(--color-copper-500);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.kuf-page .kuf-cta {
  min-height: 2.75rem;
  border-color: var(--color-copper-500);
}

.kuf-page .kuf-cta:focus-visible {
  outline: 3px solid var(--color-parchment-100);
  outline-offset: 3px;
}

.kuf-page .kuf-classes__intro {
  width: 100%;
  max-width: 38.75rem;
}

.kuf-page .kuf-class-markers {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 45rem;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-7);
  margin-block-start: var(--space-7);
}

.kuf-page .kuf-class-markers::before {
  position: absolute;
  inset-block: var(--space-2) var(--space-2);
  inset-inline-start: 0;
  width: 1px;
  background: var(--color-stone-700);
  content: "";
}

.kuf-page .kuf-class-marker {
  position: relative;
  width: min(100%, 35rem);
  padding-inline-start: var(--space-5);
}

.kuf-page .kuf-class-marker::before {
  position: absolute;
  inset-inline-start: -0.25rem;
  top: 0.4rem;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--color-copper-500);
  border-radius: 50%;
  background: var(--color-copper-500);
  box-shadow: 0 0 0 3px var(--color-ink-950);
  content: "";
}

.kuf-page .kuf-class-marker--offset {
  align-self: flex-end;
  width: min(100% - 3.5rem, 35rem);
  padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-5) + 1px);
  border: var(--border-subtle);
  background: var(--color-ink-900);
}

.kuf-page .kuf-class-marker p,
.kuf-page .kuf-class-marker h3 {
  margin-block-end: var(--space-3);
}

.kuf-page .kuf-class-marker > :last-child {
  margin-block-end: 0;
}

.kuf-page .kuf-skill__heading {
  width: 100%;
  max-width: 38.75rem;
}

.kuf-page .kuf-skill__paper {
  position: relative;
  display: grid;
  width: min(100%, 47.5rem);
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 7.5rem;
  gap: var(--space-4);
  margin-inline-start: min(7.5rem, 10vw);
  padding: var(--space-7);
  border: 2px solid var(--color-copper-700);
  box-shadow: var(--shadow-room);
}

.kuf-page .kuf-skill__paper::after,
.kuf-page .kuf-sessions__paper::after {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(rgb(23 25 26 / 80%) 0.5px, transparent 0.5px);
  background-size: 5px 5px;
  content: "";
  pointer-events: none;
}

.kuf-page .kuf-skill__note,
.kuf-page .kuf-skill__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.kuf-page .kuf-skill__note {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  color: var(--color-copper-700);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: right;
  text-transform: uppercase;
}

.kuf-page .kuf-skill__copy {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
  max-width: 40rem;
}

.kuf-page .kuf-skill__copy section {
  min-width: 0;
}

.kuf-page .kuf-skill__copy section + section {
  padding-block-start: var(--space-5);
  border-block-start: 1px solid var(--color-stone-700);
}

.kuf-page .kuf-skill__copy h3,
.kuf-page .kuf-skill__copy p {
  margin-block-end: var(--space-3);
}

.kuf-page .kuf-skill__copy section > :last-child {
  margin-block-end: 0;
}

.kuf-page .kuf-skill__conclusion p {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.2;
}

.kuf-page .kuf-environment__heading {
  width: 100%;
  max-width: 38.75rem;
}

.kuf-page .kuf-environment__figure {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
}

.kuf-page .kuf-environment__caption {
  width: 100%;
  max-width: 32.5rem;
}

.kuf-page .kuf-environment__analysis {
  display: flex;
  width: 100%;
  max-width: 38.75rem;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  margin-block-start: var(--space-5);
}

.kuf-page .kuf-environment__analysis p {
  margin: 0;
}

.kuf-page .kuf-environment__lead {
  font-size: var(--text-lg);
}

.kuf-page .kuf-environment__follow {
  width: 100%;
  min-width: 0;
  padding-inline-start: var(--space-5);
  border-inline-start: 2px solid var(--color-copper-500);
}

.kuf-page .kuf-track__intro,
.kuf-page .kuf-track__closing {
  width: 100%;
  max-width: 38.75rem;
}

.kuf-page .kuf-progress {
  position: relative;
  display: grid;
  width: min(100%, 65rem);
  min-width: 0;
  grid-template-columns: repeat(5, minmax(11.25rem, 1fr));
  gap: var(--space-3);
  margin-block: var(--space-7) var(--space-5);
}

.kuf-page .kuf-progress::before {
  position: absolute;
  inset-inline: 5% 5%;
  top: 1.25rem;
  z-index: 0;
  height: 1px;
  background: var(--color-stone-700);
  content: "";
}

.kuf-page .kuf-progress__station {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--color-stone-700);
  background: var(--color-ink-900);
}

.kuf-page .kuf-progress__station > * {
  margin: 0;
}

.kuf-page .kuf-progress__station--run,
.kuf-page .kuf-progress__station--return {
  border-color: var(--color-copper-700);
}

.kuf-page .kuf-progress__station--class,
.kuf-page .kuf-progress__station--gear {
  background: var(--color-parchment-300);
  color: var(--color-ink-950);
}

.kuf-page .kuf-progress__station--class :is(h3, .kuf-progress__number),
.kuf-page .kuf-progress__station--gear :is(h3, .kuf-progress__number) {
  color: var(--color-ink-950);
}

.kuf-page .kuf-progress__station--fortress {
  border-color: var(--color-wine-800);
  background: var(--color-wine-800);
}

.kuf-page .kuf-track__legend {
  display: flex;
  width: 100%;
  max-width: 43.75rem;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
}

.kuf-page .kuf-track__legend p {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: var(--space-2);
  margin: 0;
  color: var(--color-stone-400);
  font-size: var(--text-sm);
}

.kuf-page .kuf-legend-dot {
  display: inline-block;
  width: 0.75rem;
  min-width: 0.75rem;
  height: 0.75rem;
  margin-block-start: 0.35rem;
  border-radius: 50%;
}

.kuf-page .kuf-legend-dot--copper { background: var(--color-copper-500); }
.kuf-page .kuf-legend-dot--wine { background: var(--color-wine-800); }
.kuf-page .kuf-legend-dot--stone { background: var(--color-stone-700); }

.kuf-page .kuf-track__closing {
  margin-block-start: var(--space-5);
}

.kuf-page .kuf-fortress__heading {
  width: 100%;
  max-width: 45rem;
}

.kuf-page .kuf-fortress__layout {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(32.5rem, 1.38fr) minmax(25rem, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.kuf-page .kuf-fortress__figure,
.kuf-page .kuf-fortress__copy {
  width: 100%;
  min-width: 0;
}

.kuf-page .kuf-fortress__figure {
  aspect-ratio: 16 / 9;
}

.kuf-page .kuf-fortress__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
}

.kuf-page .kuf-fortress__copy section {
  min-width: 0;
}

.kuf-page .kuf-fortress__copy section + section {
  padding-block-start: var(--space-5);
  border-block-start: 1px solid var(--color-copper-500);
}

.kuf-page .kuf-fortress__copy h3,
.kuf-page .kuf-fortress__copy p {
  margin-block-end: var(--space-3);
}

.kuf-page .kuf-fortress__copy section > :last-child {
  margin-block-end: 0;
}

.kuf-page .kuf-coop__intro {
  width: 100%;
  max-width: 37.5rem;
}

.kuf-page .kuf-coop__point {
  position: relative;
  width: 100%;
  max-width: 37.5rem;
  padding-inline-start: var(--space-5);
  border-inline-start: 1px solid var(--color-stone-700);
}

.kuf-page .kuf-coop__point::before,
.kuf-page .kuf-verdict__item::before {
  position: absolute;
  inset-inline-start: -0.3rem;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--color-copper-500);
  border-radius: 50%;
  background: var(--color-copper-500);
  content: "";
}

.kuf-page .kuf-coop__point:first-of-type {
  margin-block-start: var(--space-6);
}

.kuf-page .kuf-coop__point + .kuf-coop__point {
  margin-block-start: var(--space-6);
}

.kuf-page .kuf-coop__point--offset {
  width: min(100% - 3.5rem, 33.75rem);
  margin-inline-start: 3.5rem;
}

.kuf-page .kuf-coop__count,
.kuf-page .kuf-coop__point h3,
.kuf-page .kuf-coop__point p {
  margin-block-end: var(--space-3);
}

.kuf-page .kuf-coop__point > :last-child {
  margin-block-end: 0;
}

.kuf-page .kuf-sessions__heading {
  width: 100%;
  max-width: 38.75rem;
}

.kuf-page .kuf-sessions__paper {
  position: relative;
  display: flex;
  width: min(100%, 47.5rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  margin-inline-start: min(7.5rem, 10vw);
  padding: var(--space-7);
  border: 2px solid var(--color-copper-700);
  border-bottom-width: 2px;
  box-shadow: var(--shadow-room);
}

.kuf-page .kuf-sessions__paper section {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 40rem;
}

.kuf-page .kuf-sessions__paper section + section {
  padding-block-start: var(--space-5);
  border-block-start: 1px solid var(--color-stone-700);
}

.kuf-page .kuf-sessions__paper h3,
.kuf-page .kuf-sessions__paper p {
  margin-block-end: var(--space-3);
}

.kuf-page .kuf-sessions__paper section > :last-child {
  margin-block-end: 0;
}

.kuf-page .kuf-sessions__thesis p:last-child {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.2;
}

.kuf-page .kuf-verdict__heading {
  width: 100%;
  max-width: 42.5rem;
}

.kuf-page .kuf-verdict__block {
  display: flex;
  width: 100%;
  max-width: 42.5rem;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-6);
}

.kuf-page .kuf-verdict__item {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 38.75rem;
  padding-inline-start: var(--space-5);
}

.kuf-page .kuf-verdict__item--offset {
  width: min(100% - 2.5rem, 38.75rem);
  margin-inline-start: 2.5rem;
}

.kuf-page .kuf-verdict__item h3,
.kuf-page .kuf-verdict__item p {
  margin-block-end: var(--space-3);
}

.kuf-page .kuf-verdict__item > :last-child {
  margin-block-end: 0;
}

.kuf-page .kuf-next__content {
  display: flex;
  width: 100%;
  max-width: 35rem;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.kuf-page .kuf-next__content > * {
  min-width: 0;
  margin: 0;
}

.kuf-page .kuf-next__links {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  padding-block-start: var(--space-4);
  border-block-start: 1px solid var(--color-stone-700);
}

.kuf-page .kuf-next__links a {
  width: 100%;
}

@media (max-width: 1179px) {
  .kuf-page .kuf-hero__content {
    grid-template-columns: minmax(0, 1fr) 13.125rem;
    padding: var(--space-7);
  }
}

@media (max-width: 1023px) {
  .kuf-page .kuf-progress {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    max-width: 43.75rem;
    padding-inline-start: var(--space-5);
  }

  .kuf-page .kuf-progress::before {
    inset-block: 1.5rem 1.5rem;
    inset-inline: var(--space-2) auto;
    width: 1px;
    height: auto;
  }

  .kuf-page .kuf-progress__station {
    width: 100%;
  }

  .kuf-page .kuf-fortress__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .kuf-page .kuf-fortress__figure,
  .kuf-page .kuf-fortress__copy {
    min-width: 0;
  }
}

@media (max-width: 899px) {
  .kuf-page .kuf-shell {
    padding-block: var(--space-7) var(--space-9);
  }

  .kuf-page .kuf-section {
    padding-block: var(--space-8);
  }

  .kuf-page .kuf-hero {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .kuf-page .kuf-hero__media {
    aspect-ratio: 16 / 9;
  }

  .kuf-page .kuf-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
    padding: 0;
  }

  .kuf-page .kuf-hero__meta {
    max-width: none;
  }

  .kuf-page .kuf-hero h1 {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }

  .kuf-page .kuf-class-marker--offset,
  .kuf-page .kuf-coop__point--offset,
  .kuf-page .kuf-verdict__item--offset {
    width: 100%;
    margin-inline-start: 0;
  }

  .kuf-page .kuf-skill__paper,
  .kuf-page .kuf-sessions__paper {
    width: 100%;
    margin-inline-start: 0;
  }

  .kuf-page .kuf-skill__paper {
    grid-template-columns: minmax(0, 1fr);
  }

  .kuf-page .kuf-skill__note {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }

  .kuf-page .kuf-skill__copy {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 639px) {
  .kuf-page .kuf-shell {
    padding-block: var(--space-6) var(--space-8);
  }

  .kuf-page .kuf-section {
    padding-block: var(--space-7);
  }

  .kuf-page .kuf-hero__lead {
    font-size: var(--text-base);
  }

  .kuf-page .kuf-class-markers {
    gap: var(--space-6);
  }

  .kuf-page .kuf-class-marker--offset {
    padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5);
  }

  .kuf-page .kuf-skill__paper,
  .kuf-page .kuf-sessions__paper {
    padding: 1.25rem;
  }

  .kuf-page .kuf-environment__figure,
  .kuf-page .kuf-fortress__figure {
    aspect-ratio: 4 / 3;
  }

  .kuf-page .kuf-progress {
    margin-block: var(--space-6) var(--space-5);
    padding-inline-start: var(--space-4);
  }

  .kuf-page .kuf-progress__station {
    padding: var(--space-4);
  }

  .kuf-page .kuf-fortress__copy,
  .kuf-page .kuf-verdict__block {
    padding: var(--space-5);
  }

  .kuf-page .kuf-coop__point,
  .kuf-page .kuf-verdict__item {
    padding-inline-start: var(--space-4);
  }

  .kuf-page .kuf-track__legend {
    flex-direction: column;
  }

  .kuf-page .kuf-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kuf-page * {
    transition-property: color, background-color, border-color, outline-color;
  }
}
