/*
 * A — the quiet sections: about, programs, method. No column lines here; the grid shows only
 * through alignment and the rules that open each block. Method items are not numbered (they are
 * not a sequence); the anatomy steps and the news rows are.
 */

/* Small heads inside a section (약력, 이번 학기 시간표, 합격 수기, 상담, 오시는 길). */
.about__career h3,
.programs__timetable h3,
.results__stories h3,
.contact h3 {
  padding: 0 var(--pad);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------- about */

.about__name {
  margin-top: 3rem;
  padding: 0 var(--pad);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

.about__name strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.about__alias {
  margin-left: 0.4em;
  color: var(--fg-mute);
}

.about__quote {
  margin-top: 2.25rem;
  padding: 0 var(--pad);
}

.about__quote blockquote {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.about__quote blockquote p + p {
  margin-top: 1em;
}

.about__quote figcaption {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--fg-mute);
}

.about__career {
  display: grid;
  grid-template-columns: subgrid;
  margin-top: 3.5rem;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.about__career > * {
  grid-column: 1 / -1;
}

.about__career ul {
  margin-top: 0.75rem;
}

.about__career li {
  padding: 10px var(--pad);
  border-top: 1px solid var(--hair);
  font-size: 1rem;
  font-weight: 500;
}

.about__when {
  display: inline-block;
  min-width: 1.6em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fg-mute);
}

@media (min-width: 768px) {
  .about__name {
    grid-column: 1 / 5;
    margin-top: 4rem;
  }

  .about__quote {
    grid-column: 5 / 11;
    margin-top: 4rem;
  }

  .about__quote blockquote {
    font-size: clamp(1.1875rem, calc(var(--col) * 0.21), 1.5rem);
  }

  #about > .margin-note {
    grid-column: 11 / -1;
    align-self: start;
    margin-top: 4.25rem;
  }

  .about__career {
    margin-top: 5rem;
  }

  .about__career h3 {
    grid-column: 1 / 5;
  }

  .about__career ul {
    grid-column: 5 / 11;
    margin-top: 0;
  }

  .about__career li:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

/* ---------------------------------------------------------------- programs */

.programs {
  display: grid;
  grid-template-columns: subgrid;
  margin-top: 3rem;
}

.program {
  grid-column: 1 / -1;
  padding: 1rem var(--pad) 2.5rem;
  border-top: 1px solid var(--rule);
}

.program__name {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.program__grade {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg-mute);
}

.program > p {
  margin-top: 1rem;
  max-width: 34em;
}

.program > p.margin-note {
  margin-top: 1.5rem;
}

ul.program__classes {
  margin-top: 1rem;
}

ul.program__classes li {
  padding: 8px 0;
  border-top: 1px solid var(--hair);
  font-weight: 700;
}

dl.program__classes {
  margin-top: 0.5rem;
}

dl.program__classes dt {
  margin-top: 1.25rem;
  padding-top: 8px;
  border-top: 1px solid var(--hair);
  font-weight: 800;
  letter-spacing: -0.01em;
}

dl.program__classes dd {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.programs__timetable {
  display: grid;
  grid-template-columns: subgrid;
  margin-top: 1rem;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.programs__timetable > * {
  grid-column: 1 / -1;
}

.timetable-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-top: 0.5rem;
  padding: 0 var(--pad);
}

.timetable-links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .programs {
    margin-top: 4rem;
  }

  .program {
    grid-column: span 4;
  }

  .programs__timetable h3 {
    grid-column: 1 / 5;
  }

  .timetable-links {
    grid-column: 5 / -1;
    margin-top: -6px;
  }
}

/* ---------------------------------------------------------------- method */

.method-list {
  display: grid;
  grid-template-columns: subgrid;
  margin-top: 3rem;
}

.method {
  grid-column: 1 / -1;
  padding: 1rem var(--pad) 2.25rem;
  border-top: 1px solid var(--rule);
}

.method__title {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.method > p {
  margin-top: 0.75rem;
  max-width: 34em;
}

.method > p.margin-note {
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .method-list {
    margin-top: 4rem;
  }

  .method {
    grid-column: span 6;
  }
}

@media (min-width: 1200px) {
  .method {
    grid-column: span 4;
  }
}
