.guide-heading {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: end;
  gap: 2rem;
  padding: clamp(1.7rem, 3.4vw, 3.4rem) 0;
}
.guide-heading h1 { font-size: clamp(3.65rem, 7.4vw, 7.5rem); }
.guide-heading p {
  max-width: 35rem;
  padding-bottom: .15rem;
  font: 400 clamp(1.17rem, 1.62vw, 1.62rem)/1.35 var(--serif);
  letter-spacing: -.025em;
  text-wrap: pretty;
}

.first-model {
  display: grid;
  grid-template-columns: minmax(4rem, .35fr) minmax(0, 1.48fr) minmax(0, .82fr);
  background: var(--ink);
  color: var(--paper);
}
.wake-margin { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 63% 65%; }
.first-model-story { padding: clamp(1.5rem, 3.15vw, 3.25rem); }
.guide-label, .model-notes h3, .path-index > span {
  margin: 0;
  font: 600 .88rem/1.4 var(--sans);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.guide-label { color: #ffcc64; }
.first-model h2 {
  margin: .55rem 0 .7rem;
  font: 400 clamp(2.05rem, 3.85vw, 4.1rem)/1.04 var(--serif);
  letter-spacing: -.056em;
}
.first-model h2 em { white-space: nowrap; }
.first-model-story > p:not(.guide-label) {
  max-width: 32rem;
  font-size: 1.07rem;
  line-height: 1.53;
  text-wrap: pretty;
}
.guide-cta {
  display: inline-block;
  margin-top: 1.2rem;
  padding: .7rem 1.05rem;
  color: var(--ink);
  background: #f4bd49;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.guide-cta:hover { background: #ffd272; }
.guide-cta:focus-visible { outline-color: var(--paper); }
.model-notes {
  align-self: center;
  margin-right: clamp(1.5rem, 3vw, 3rem);
  padding: .25rem 0 .25rem clamp(1.25rem, 2.5vw, 2.5rem);
  border-left: 1px solid #769184;
}
.model-notes h3 { color: #f5e9cb; }
.model-notes dl { margin: .5rem 0 0; }
.model-notes dl > div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: .5rem;
  padding: .5rem 0;
  border-bottom: 1px solid #5b7a6e;
}
.model-notes dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.model-notes dt { color: #e0e8d7; font: .82rem/1.5 var(--mono); }
.model-notes dd { margin: 0; font-size: 1rem; line-height: 1.35; }

.path-index {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .8rem clamp(1.2rem, 3.1vw, 3.1rem);
  padding: 1.3rem 0;
  border-bottom: 4px double var(--ink);
}
.path-index > span { margin-right: auto; }
.path-index > a {
  font-size: .95rem;
  font-weight: 600;
  text-decoration-color: var(--rule);
}
.path-index > a:hover { text-decoration-color: var(--accent); }
.learning-path {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(1.8rem, 3.25vw, 3.25rem) 0;
  border-bottom: 1px solid var(--ink);
  scroll-margin-top: 1rem;
}
.path-heading h2 {
  max-width: 18rem;
  font: 400 clamp(1.8rem, 3.05vw, 3.1rem)/1.05 var(--serif);
  letter-spacing: -.055em;
}
.path-heading p {
  max-width: 25rem;
  margin-top: .75rem;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.guide-list { margin: 0; padding: 0; list-style: none; }
.guide-list li + li { border-top: 1px solid var(--rule); }
.guide-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: baseline;
  gap: clamp(.8rem, 2vw, 2rem);
  padding: 1.1rem 0;
  text-decoration: none;
}
.guide-list li:first-child a { padding-top: 0; }
.guide-list li:last-child a { padding-bottom: 0; }
.guide-list strong {
  font: 400 clamp(1.32rem, 1.8vw, 1.75rem)/1.14 var(--serif);
  letter-spacing: -.032em;
}
.guide-list span { color: var(--body); font-size: 1rem; line-height: 1.45; }
.guide-list a:hover strong, .guide-list a:focus-visible strong {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

@media (max-width: 62rem) {
  .first-model { grid-template-columns: minmax(3.4rem, .23fr) minmax(0, 1.35fr) minmax(0, .88fr); }
  .model-notes { padding-left: 1.3rem; }
  .model-notes dl > div { grid-template-columns: 1fr; gap: .1rem; }
  .learning-path { grid-template-columns: minmax(0, .75fr) minmax(0, 1.35fr); gap: 2rem; }
  .guide-list a { grid-template-columns: 1fr; gap: .35rem; }
}
@media (max-width: 46rem) {
  .guide-heading { grid-template-columns: 1fr; gap: .7rem; padding: 1.35rem 0; }
  .first-model { grid-template-columns: clamp(2rem, 9vw, 3.2rem) minmax(0, 1fr); }
  .wake-margin { grid-row: 1 / 3; }
  .first-model-story { padding: 1.45rem; }
  .first-model h2 { font-size: clamp(1.85rem, 6.5vw, 2.6rem); }
  .first-model-story > p:not(.guide-label) { font-size: 1rem; }
  .model-notes { margin: 0 1.45rem 1.3rem; padding: .9rem 0 0; border: 0; border-top: 1px solid #769184; }
  .model-notes dl > div { grid-template-columns: 4.45rem minmax(0, 1fr); gap: .5rem; padding: .38rem 0; }
  .path-index { gap: .6rem 1.1rem; padding: 1rem 0; }
  .path-index > span { width: 100%; }
  .learning-path { grid-template-columns: 1fr; gap: 1.15rem; padding: 1.6rem 0; }
  .path-heading h2, .path-heading p { max-width: 35rem; }
  .path-heading p { margin-top: .4rem; }
  .guide-list { border-top: 1px solid var(--rule); }
  .guide-list a, .guide-list li:first-child a { padding: .85rem 0; }
}
@media (max-width: 23rem) {
  .first-model-story { padding: 1.15rem; }
  .model-notes { margin-inline: 1.15rem; }
  .model-notes dl > div { grid-template-columns: 3.9rem minmax(0, 1fr); }
}
