/* Three distinct editorial systems: path map, progress route, 90-minute session. */

/* POSSIBLE PATHS — an asymmetrical map of possible directions. */
.career {
  position: relative;
  overflow: hidden;
}

.career::before {
  position: absolute;
  top: 34px;
  right: var(--content-inset);
  color: transparent;
  font: 500 clamp(72px, 10vw, 150px)/1 var(--display);
  letter-spacing: -.05em;
  content: "PATHS";
  -webkit-text-stroke: 1px var(--line);
  pointer-events: none;
}

.career > * {
  position: relative;
  z-index: 1;
}

.career-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}

.career-grid article,
.career-grid .career-dark {
  position: relative;
  min-height: 220px;
  padding: 68px 24px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.career-grid article:nth-child(1) { grid-column: span 5; }
.career-grid article:nth-child(2) { grid-column: span 3; margin-top: 30px; background: var(--accent); color: var(--white); }
.career-grid article:nth-child(3) { grid-column: span 4; }
.career-grid article:nth-child(4) { grid-column: span 3; margin-top: 30px; }
.career-grid article:nth-child(5) { grid-column: span 5; background: repeating-linear-gradient(-45deg, var(--paper), var(--paper) 5px, var(--white) 5px, var(--white) 10px); }
.career-grid article:nth-child(6) { grid-column: span 4; background: var(--black); color: var(--white); }

.career-grid article::before {
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--accent);
  font: 500 12px/1.4 var(--display);
  letter-spacing: .15em;
}

.career-grid article:nth-child(1)::before { content: "PATH 01"; }
.career-grid article:nth-child(2)::before { color: var(--white); content: "PATH 02"; }
.career-grid article:nth-child(3)::before { content: "PATH 03"; }
.career-grid article:nth-child(4)::before { content: "PATH 04"; }
.career-grid article:nth-child(5)::before { content: "PATH 05"; }
.career-grid article:nth-child(6)::before { content: "PATH 06"; }

.career-grid article::after {
  position: absolute;
  top: 17px;
  right: 20px;
  margin: 0;
  color: currentColor;
  font: 400 28px/1 var(--display);
  content: "↗";
  opacity: .8;
}

.career-grid article h3 {
  max-width: 13em;
  margin-bottom: 14px;
  font-size: clamp(22px, 2vw, 30px);
}

.career-grid article p {
  color: #62625f;
}

.career-grid article:nth-child(2) p,
.career-grid article:nth-child(6) p {
  color: var(--white);
}

.career-grid article:hover {
  background: var(--black);
  color: var(--white);
}

.career-grid article:hover p {
  color: var(--mid);
}

.lifestyle-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.lifestyle-row span {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.lifestyle-row span::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--accent);
  content: "";
}

/* FIRST 3 MONTHS — one continuous route, not another card grid. */
.timeline {
  position: relative;
  overflow: hidden;
}

.timeline-list {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: phase -1;
  border: 0;
}

.timeline-list::before {
  position: absolute;
  z-index: 0;
  top: 31px;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ink) 0 8%, var(--accent) 8% 100%);
  content: "";
}

.timeline-list article {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 270px;
  padding: 76px 28px 26px 0;
  border: 0;
  background: transparent;
  counter-increment: phase;
}

.timeline-list article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.timeline-list article::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 24px;
  height: 24px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  content: "";
}

.timeline-list article:first-child::before {
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.timeline-list article:not(:first-child)::before {
  left: 28px;
}

.timeline-list article::after {
  position: absolute;
  z-index: -1;
  right: 18px;
  bottom: 8px;
  color: rgba(20, 20, 20, .055);
  font: 500 112px/.8 var(--display);
  content: counter(phase, decimal-leading-zero);
}

.timeline-list article > .month {
  display: block;
  color: var(--accent);
}

.timeline-list article h3 {
  max-width: 12em;
  margin: 22px 0 12px;
  font-size: clamp(22px, 2vw, 30px);
}

.timeline-list article p {
  position: relative;
  z-index: 1;
  color: #62625f;
  font-size: 15px;
}

@media (min-width: 1101px) {
  .timeline-list::before,
  .timeline-list article::before,
  .timeline-list article:not(:first-child)::before {
    top: 32px;
    transform: translateY(-50%);
  }
}

/* A DAY AT THE BASE — staggered modules moving through a 90-minute session. */
.base-day {
  position: relative;
  overflow: hidden;
}

.base-day::after {
  position: absolute;
  top: 24px;
  right: var(--content-inset);
  color: transparent;
  font: 500 clamp(70px, 11vw, 168px)/1 var(--display);
  letter-spacing: -.055em;
  content: "90 MIN";
  -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
  pointer-events: none;
}

.base-day > * {
  position: relative;
  z-index: 1;
}

.day-schedule {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  border: 0;
}

.day-schedule div {
  position: relative;
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .025);
}

.day-schedule div:nth-child(even) {
  margin-top: 46px;
}

.day-schedule div:nth-child(3) {
  background: var(--accent);
  color: var(--white);
}

.day-schedule div:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: -23px;
  color: var(--accent);
  font: 400 26px/1 var(--display);
  content: "↘";
}

.day-schedule div:nth-child(3)::after {
  color: var(--white);
}

.day-schedule time {
  display: block;
  color: var(--accent);
  font: 500 clamp(28px, 2.8vw, 42px)/1 var(--display);
  letter-spacing: -.025em;
}

.day-schedule div:nth-child(3) time {
  color: var(--white);
}

.day-schedule h3 {
  margin: 62px 0 12px;
  font-size: clamp(22px, 1.8vw, 28px);
}

.day-schedule p {
  color: #62625f;
  line-height: 1.7;
}

.day-schedule div:nth-child(3) p {
  color: var(--white);
}

.day-note {
  max-width: none;
  margin-top: 34px;
  padding: 18px 22px;
  border: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: #62625f;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .career-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-grid article:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .lifestyle-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .timeline-list::before {
    display: none;
  }

  .timeline-list article,
  .timeline-list article + article {
    min-height: 230px;
    padding: 60px 22px 22px;
    border: 1px solid var(--line);
  }

  .timeline-list article::before,
  .timeline-list article:not(:first-child)::before {
    top: 18px;
    left: 22px;
  }

  .day-schedule {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .day-schedule div:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .career::before,
  .base-day::after {
    right: 20px;
    font-size: 68px;
  }

  .career-grid,
  .lifestyle-row {
    grid-template-columns: 1fr;
  }

  .career-grid article:nth-child(n) {
    grid-column: auto;
    min-height: 0;
    margin-top: 0;
    padding: 62px 20px 22px;
  }

  .lifestyle-row span {
    min-height: 58px;
  }

  .timeline-list {
    display: block;
    padding-left: 14px;
  }

  .timeline-list::before {
    display: block;
    top: 0;
    right: auto;
    bottom: 0;
    left: 25px;
    width: 3px;
    height: auto;
    background: linear-gradient(var(--ink) 0 8%, var(--accent) 8% 100%);
  }

  .timeline-list article,
  .timeline-list article + article {
    min-height: 0;
    padding: 20px 0 42px 60px;
    border: 0;
  }

  .timeline-list article::before,
  .timeline-list article:not(:first-child)::before {
    top: 22px;
    left: 0;
  }

  .timeline-list article::after {
    right: 0;
    bottom: 12px;
    font-size: 82px;
  }

  .timeline-list article h3 {
    margin-top: 16px;
  }

  .day-schedule {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .day-schedule div,
  .day-schedule div:nth-child(even) {
    min-height: 0;
    margin-top: 0;
    padding: 22px 22px 24px 76px;
    border-bottom: 0;
  }

  .day-schedule div:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .32);
  }

  .day-schedule div:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -15px;
    left: 26px;
    content: "↓";
  }

  .day-schedule time {
    position: absolute;
    top: 24px;
    left: 20px;
    font-size: 18px;
  }

  .day-schedule h3 {
    margin: 0 0 8px;
  }
}
