.library-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.library-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.96;
}

.library-hero .hero-intro {
  max-width: 760px;
}

.library-hero-aside {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-top: 3px solid var(--moss);
  background: var(--cream);
}

.library-hero-aside p:last-child {
  margin-bottom: 0;
}

.library-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: center;
}

.library-section {
  padding: clamp(5rem, 9vw, 7.5rem) max(40px, calc((100vw - 1180px) / 2));
}

.library-section-cream {
  background: var(--cream);
}

.library-section-heading {
  max-width: 800px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.library-section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1;
}

.series-progress {
  margin: 1.5rem 0 0;
  font-weight: 800;
}

.cornerstone-grid,
.collection-grid,
.library-update-grid {
  display: grid;
  gap: 1.25rem;
}

.cornerstone-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: cornerstone;
}

.cornerstone-card {
  min-height: 100%;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--terracotta);
  background: var(--paper);
}

.cornerstone-card h3,
.collection-card h3,
.library-update-card h3 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.08;
}

.cornerstone-card p:not(.eyebrow) {
  flex: 1;
}

.cornerstone-card .text-link,
.collection-card .text-link,
.library-update-card .text-link {
  align-self: flex-start;
}

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

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

.collection-card,
.library-update-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.collection-card ul {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
}

.collection-card li + li {
  margin-top: 0.45rem;
}

.collection-status {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.library-update-card .resource-status {
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-panel,
.library-course-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.field-panel {
  background: var(--forest);
}

.field-panel .library-actions,
.library-course-panel .library-actions {
  margin-top: 1.5rem;
}

.cornerstone-article {
  width: min(900px, calc(100% - 40px));
  padding-top: clamp(4rem, 8vw, 6rem);
}

.cornerstone-article header {
  margin-bottom: 4rem;
}

.cornerstone-article .byline {
  max-width: 760px;
  margin-top: 1.6rem;
  font-weight: 700;
}

.cornerstone-article h3 {
  margin: 2rem 0 0.7rem;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.cornerstone-article a:not(.button) {
  text-decoration-color: var(--terracotta);
  text-underline-offset: 0.2em;
}

.cornerstone-article blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--terracotta);
  background: var(--cream);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.article-meta {
  margin: 2rem 0 0;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.article-meta dt {
  font-weight: 800;
}

.article-meta dd {
  margin: 0;
}

.teaching-lens,
.ethics-matrix,
.stage-pathway {
  margin: 2.2rem 0;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  background: var(--cream);
}

.teaching-lens ol,
.stage-pathway ol {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.teaching-lens li,
.stage-pathway li {
  padding: 1rem;
  border-left: 4px solid var(--moss);
  background: var(--paper);
}

.teaching-lens strong,
.stage-pathway strong {
  display: block;
  color: var(--ink);
}

.ethics-matrix {
  display: grid;
  gap: 1rem;
}

.ethics-matrix article {
  padding: 1.2rem;
  border-top: 3px solid var(--moss);
  background: var(--paper);
}

.ethics-matrix h3 {
  margin-top: 0;
}

.article-table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  padding: 0.9rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: var(--cream);
}

.article-note {
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--water);
  background: var(--cream);
}

.release-article {
  max-width: 880px;
}

.release-article > section {
  margin-top: clamp(2.4rem, 6vw, 4.5rem);
}

.release-article a:not(.button) {
  text-decoration-color: var(--terracotta);
  text-underline-offset: 0.2em;
}

.tool-visual,
.authorship-boundary,
.reflective-practice {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  background: var(--cream);
}

.tool-visual > h2,
.authorship-boundary > h2,
.reflective-practice > h3 {
  margin-top: 0;
}

.tool-quadrant,
.thinking-hats,
.stakeholder-matrix,
.priority-matrix,
.pmi-board,
.fse-layers,
.input-output-flow {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.tool-quadrant,
.stakeholder-matrix,
.priority-matrix {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thinking-hats,
.pmi-board,
.fse-layers,
.input-output-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-quadrant section,
.thinking-hats section,
.stakeholder-matrix section,
.priority-matrix section,
.pmi-board section,
.fse-layers section,
.input-output-flow section,
.input-output-element {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--moss);
  background: var(--paper);
}

.tool-quadrant h3,
.thinking-hats h3,
.stakeholder-matrix h3,
.priority-matrix h3,
.pmi-board h3,
.fse-layers h3,
.input-output-flow h3 {
  margin-top: 0;
}

.hat-white { border-top-color: var(--hat-neutral) !important; }
.hat-red { border-top-color: var(--hat-caution) !important; }
.hat-black { border-top-color: var(--hat-ink) !important; }
.hat-yellow { border-top-color: var(--hat-value) !important; }
.hat-green { border-top-color: var(--hat-growth) !important; }
.hat-blue { border-top-color: var(--hat-process) !important; }

.input-output-element {
  border-top-color: var(--terracotta);
  text-align: center;
}

.authorship-boundary {
  margin: 2.5rem 0;
  border-left: 5px solid var(--terracotta);
}

.bonsai-collection-hero {
  max-width: none;
}

.bonsai-tenet-grid {
  margin-top: 1.5rem;
}

.practice-batch {
  margin-top: clamp(2.4rem, 6vw, 4rem);
}

.bonsai-practice-grid {
  margin-top: 1.25rem;
}

.collection-section-heading {
  margin: 2.8rem 0 1rem;
}

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

.framework-flow,
.download-panel,
.field-sheet,
.provenance-note {
  margin: 2.2rem 0;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  background: var(--cream);
}

.framework-flow ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
  counter-reset: framework-stage;
}

.framework-flow li {
  position: relative;
  min-height: 118px;
  padding: 1.1rem 1.1rem 1.1rem 3.4rem;
  border-left: 4px solid var(--moss);
  background: var(--paper);
  counter-increment: framework-stage;
}

.framework-flow li::before {
  content: counter(framework-stage);
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.framework-flow strong,
.framework-flow span {
  display: block;
}

.framework-flow span {
  margin-top: 0.35rem;
}

.framework-loop {
  margin: 1rem 0 0;
  font-weight: 700;
}

.tool-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tool-definitions div {
  padding: 1.1rem;
  border-top: 3px solid var(--moss);
  background: var(--cream);
}

.tool-definitions dt {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 800;
}

.tool-definitions dd {
  margin: 0.35rem 0 0;
}

.tool-route {
  margin: 1.5rem 0 0;
  font-weight: 800;
}

.download-grid,
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.download-grid article,
.field-grid section {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.download-grid h3,
.field-grid h3 {
  margin-top: 0;
}

.download-grid .text-link {
  display: block;
  margin-top: 1rem;
}

.blank-record td {
  height: 3.2rem;
}

.worksheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.worksheet > h2,
.worksheet > p,
.worksheet-field:first-of-type,
.worksheet-field:nth-of-type(2),
.worksheet-field:last-of-type {
  grid-column: 1 / -1;
}

.worksheet-field {
  min-height: 10rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.worksheet-field h3 {
  margin-top: 0;
}

.cornerstone-infographic {
  width: min(100%, 900px);
  margin: 2.5rem auto;
}

.cornerstone-infographic--portrait {
  width: min(100%, 820px);
}

.cornerstone-infographic img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.cornerstone-infographic figcaption {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--cream);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cornerstone-infographic__open {
  display: inline-block;
  font-weight: 800;
}

.cornerstone-infographic__open:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.references li + li {
  margin-top: 0.75rem;
}

.course-progression {
  margin-top: 4rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 4px solid var(--terracotta);
  background: var(--cream);
}

.course-progression h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.course-progression ol {
  padding-left: 1.3rem;
}

.series-navigation {
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.series-navigation a {
  min-height: 54px;
  padding: 1rem;
  border: 1px solid var(--line);
  font-weight: 800;
  text-decoration: none;
}

.series-navigation a:last-child {
  text-align: right;
}

.series-navigation--continuous > .series-navigation__next:first-child {
  grid-column: 2;
}

.series-navigation--continuous > .series-navigation__collection {
  grid-column: 1 / -1;
  justify-self: center;
  min-height: auto;
  padding: 0.5rem;
  border: 0;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.series-navigation--single {
  grid-template-columns: 1fr;
}

.series-navigation--single a:last-child {
  text-align: left;
}

.collection-card--directory {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--terracotta);
}

.collection-card--directory > p:not(.eyebrow) {
  flex: 1;
}

.library-featured-route,
.library-course-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.planned-collection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.planned-collection-card {
  padding: clamp(1.3rem, 3vw, 1.8rem);
  border: 1px dashed var(--line);
  background: var(--paper);
}

.planned-collection-card h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.collection-landing-hero {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.collection-landing-hero h1 {
  max-width: 850px;
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
}

.collection-landing-hero > p:not(.eyebrow, .series-progress) {
  max-width: 780px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

.collection-catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.collection-catalogue-card {
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--moss);
  background: var(--paper);
}

.collection-catalogue-card h2,
.collection-catalogue-card h4 {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.08;
}

.collection-catalogue-card > p:not(.eyebrow) {
  flex: 1;
}

.collection-catalogue-card .text-link {
  align-self: flex-start;
  color: var(--forest);
  text-decoration-color: var(--terracotta);
}

.people-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.people-hero h1,
.people-profile__header h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
}

.people-hero__subtitle,
.people-profile__subtitle {
  max-width: 760px;
  margin: 1.4rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  line-height: 1.3;
}

.people-editorial-note {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-top: 4px solid var(--terracotta);
  background: var(--cream);
}

.people-editorial-note p:last-child {
  margin-bottom: 0;
}

.people-introduction,
.people-domain {
  padding: clamp(4.5rem, 8vw, 7rem) max(40px, calc((100vw - 1180px) / 2));
}

.people-introduction {
  background: var(--people-panel-green);
  color: var(--people-panel-text);
}

.people-introduction h2,
body .people-introduction p:not(.eyebrow):not(.status):not(.hero-note) {
  color: var(--people-panel-text);
}

.people-introduction a {
  color: var(--people-panel-text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.people-introduction a:hover {
  color: var(--people-panel-green);
  background: var(--people-panel-text);
}

.people-introduction a:focus-visible {
  outline: 3px solid var(--people-panel-text);
  outline-offset: 4px;
}

.people-introduction h2,
.people-domain__heading h2 {
  max-width: 850px;
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
}

.people-introduction p:not(.eyebrow),
.people-domain__heading p:not(.eyebrow) {
  max-width: 780px;
}

.people-domain:nth-of-type(even) {
  background: var(--cream);
}

.people-domain__heading {
  margin-bottom: clamp(2.2rem, 5vw, 3.8rem);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.people-card {
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--moss);
  background: var(--paper);
}

.people-card__marker {
  margin: 0;
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.people-card h3 {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.people-card p:not(.people-card__marker) {
  flex: 1;
}

.people-card .text-link {
  align-self: flex-start;
}

.people-hero .eyebrow,
.people-domain .eyebrow,
.people-profile .eyebrow,
.people-card .text-link,
.people-profile a,
.people-collection-return a {
  color: var(--forest);
}

.people-introduction .eyebrow {
  color: var(--people-panel-text);
}

.people-card .text-link,
.people-profile a {
  text-decoration-color: var(--terracotta);
}

.people-card .text-link:focus-visible,
.people-profile a:focus-visible,
.people-collection-return a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.people-collection-return {
  padding: 2rem max(40px, calc((100vw - 1180px) / 2)) 5rem;
}

.people-collection-return a {
  display: inline-block;
  min-height: 48px;
  padding: 0.75rem 0;
  font-weight: 800;
}

.people-profile {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.people-profile__header {
  margin-bottom: 2.5rem;
}

.people-profile__intro {
  max-width: 780px;
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.55;
}

.people-profile .article-meta > div {
  display: flex;
  gap: 0.45rem;
}

.people-profile > section {
  margin-top: clamp(3.4rem, 7vw, 5.5rem);
}

.people-profile > section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
}

.people-profile > section > p {
  max-width: 760px;
}

.people-editorial-note--profile {
  margin: 2.5rem 0 0;
}

.people-mark-section {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 5px solid var(--terracotta);
  background: var(--cream);
}

.people-mark-section .eyebrow {
  margin-bottom: 0.6rem;
}

.people-reading ol,
.people-related ul {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.people-reading li,
.people-related li {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--moss);
  background: var(--cream);
}

.people-reading a,
.people-related a {
  font-weight: 800;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 0.2em;
}

.people-related li span {
  display: block;
  margin-top: 0.3rem;
}

.people-profile-media,
.people-profile-video {
  width: min(100%, 820px);
}

.people-profile-media img,
.people-profile-video {
  display: block;
  width: 100%;
  height: auto;
}

.people-profile-media img {
  border: 1px solid var(--line);
}

.people-profile-media figcaption {
  padding: 0.9rem 1rem;
  background: var(--cream);
  font-size: 0.9rem;
}

.adaptive-tool-article > section,
.adaptive-tool-article > figure {
  scroll-margin-top: 6rem;
}

.adaptive-tool-visual {
  margin: clamp(2.5rem, 6vw, 5rem) 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: 5px solid var(--ochre);
  background: var(--cream);
}

.adaptive-tool-visual > h2 {
  margin-top: 0;
}

.adaptive-tool-visual figcaption,
.design-tools-cycle figcaption {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.adaptive-cycle {
  position: relative;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  counter-reset: adaptive-step;
}

.adaptive-cycle li {
  position: relative;
  min-height: 9rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--moss);
  background: var(--paper);
  counter-increment: adaptive-step;
}

.adaptive-cycle li::before {
  content: counter(adaptive-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.65rem;
  color: var(--terracotta);
  font-weight: 800;
}

.adaptive-cycle li strong,
.adaptive-cycle li span {
  display: block;
}

.adaptive-cycle li strong {
  margin-bottom: 0.45rem;
}

.adaptive-cycle .cycle-return {
  border-top-color: var(--terracotta);
  background: var(--cream);
}

.adaptive-cycle .cycle-return::after {
  content: "↺ Return path";
  display: block;
  margin-top: 0.75rem;
  font-weight: 800;
}

.transect-profile {
  min-width: 800px;
  min-height: 14rem;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(100px, 1fr));
  align-items: end;
  gap: 2px;
  overflow: hidden;
  border-bottom: 4px solid var(--moss);
  background: linear-gradient(to bottom, var(--paper), var(--cream));
}

.transect-profile span {
  min-height: 4rem;
  padding: 0.75rem 0.5rem;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
}

.transect-profile span:nth-child(2) { min-height: 9rem; }
.transect-profile span:nth-child(3) { min-height: 7rem; }
.transect-profile span:nth-child(4) { min-height: 6rem; }
.transect-profile span:nth-child(5) { min-height: 10rem; }
.transect-profile span:nth-child(6) { min-height: 12rem; }
.transect-profile span:nth-child(7) { min-height: 5rem; }
.transect-profile span:nth-child(8) { min-height: 3.5rem; }

.photo-sequence,
.indicator-dashboard,
.tool-record-grid,
.sprint-comparison,
.design-tools-cycle__stages {
  display: grid;
  gap: 1rem;
}

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

.photo-sequence section,
.indicator-dashboard section,
.sprint-comparison > section,
.design-tools-cycle__stages section {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--moss);
  background: var(--paper);
}

.photo-sequence section > span {
  color: var(--terracotta);
  font-size: 2rem;
  font-weight: 800;
}

.photo-sequence h3,
.indicator-dashboard h3,
.sprint-comparison h3,
.design-tools-cycle__stages h3 {
  margin-top: 0.5rem;
}

.tool-record-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1rem 0 0;
}

.tool-record-grid div,
.tool-definitions div {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.tool-record-grid dt,
.tool-definitions dt {
  font-weight: 800;
}

.tool-record-grid dd,
.tool-definitions dd {
  margin: 0.35rem 0 0;
}

.field-journal-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.field-journal-template header,
.field-journal-template footer {
  grid-column: 1 / -1;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--moss);
  color: var(--paper);
}

.field-journal-template section {
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.field-journal-template h3 {
  margin-top: 0;
}

.field-journal-template .journal-observation { border-top: 4px solid var(--moss); }
.field-journal-template .journal-interpretation { border-top: 4px solid var(--ochre); }
.field-journal-template .journal-decision { border-top: 4px solid var(--terracotta); }

.indicator-dashboard {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sprint-comparison {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.calculation-panel {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border-left: 6px solid var(--terracotta);
  background: var(--paper);
}

.calculation-panel h3 {
  margin-top: 0;
}

.related-tool-links {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
}

.related-tool-links li {
  padding: 1rem;
  border-left: 4px solid var(--moss);
  background: var(--cream);
}

.related-tool-links a,
.related-tool-links span {
  display: block;
}

.related-tool-links a {
  font-weight: 800;
}

.related-tool-links span {
  margin-top: 0.35rem;
}

.design-tools-cycle-section {
  background: var(--paper);
}

.design-tools-cycle {
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: 5px solid var(--terracotta);
  background: var(--cream);
}

.design-tools-cycle__stages {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.design-tools-cycle__stages section:nth-child(2) { border-top-color: var(--ochre); }
.design-tools-cycle__stages section:nth-child(3) { border-top-color: var(--terracotta); }
.design-tools-cycle__stages section:nth-child(4) { border-top-color: var(--forest); }

.design-tools-cycle__return {
  margin: 1rem 0 0;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  border: 2px solid var(--moss);
  background: var(--paper);
}

.provenance-panel {
  margin: 2.5rem 0;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-top: 5px solid var(--ochre);
  background: var(--cream);
}

.provenance-panel h2 {
  margin-top: 0.4rem;
}

.provenance-panel dl,
.tool-definitions,
.taxonomy-grid,
.tradition-comparison,
.framework-compass,
.question-pairs,
.nested-scales {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.provenance-panel dl div,
.taxonomy-grid section,
.tradition-comparison section,
.framework-compass section,
.question-pairs section,
.nested-scales section {
  min-width: 0;
  padding: 1rem;
  border-left: 4px solid var(--moss);
  background: var(--paper);
}

.provenance-panel dt {
  color: var(--forest);
  font-weight: 800;
}

.provenance-panel dd {
  margin: 0.35rem 0 0;
}

.lineage-visual {
  margin: 2.5rem 0;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-top: 5px solid var(--terracotta);
  background: var(--cream);
}

.lineage-visual > h2 {
  margin-top: 0;
}

.lineage-visual figcaption {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.semantic-cycle,
.permanence-scale,
.lineage-path {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
  counter-reset: lineage-step;
}

.semantic-cycle li,
.permanence-scale li,
.lineage-path section {
  min-width: 0;
  padding: 1rem;
  border-top: 4px solid var(--moss);
  background: var(--paper);
}

.semantic-cycle li,
.permanence-scale li {
  counter-increment: lineage-step;
}

.semantic-cycle li::before,
.permanence-scale li::before {
  content: counter(lineage-step);
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  font-weight: 800;
}

.semantic-cycle strong,
.semantic-cycle span,
.permanence-scale strong,
.permanence-scale span {
  display: block;
}

.semantic-cycle span,
.permanence-scale span {
  margin-top: 0.35rem;
}

.taxonomy-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.principles-traditions,
.frameworks-lineage {
  background: var(--paper);
}

.nested-scales section:nth-child(2),
.framework-compass section:nth-child(2n),
.tradition-comparison section:nth-child(2n) {
  border-left-color: var(--ochre);
}

.nested-scales section:nth-child(3) {
  border-left-color: var(--terracotta);
}

.nested-scales section:nth-child(4) {
  border-left-color: var(--forest);
}

@media (max-width: 980px) {
  .adaptive-cycle,
  .indicator-dashboard,
  .design-tools-cycle__stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sprint-comparison {
    grid-template-columns: 1fr;
  }

  .library-hero,
  .field-panel,
  .library-course-panel,
  .library-featured-route,
  .people-hero {
    grid-template-columns: 1fr;
  }

  .cornerstone-grid,
  .collection-grid,
  .library-update-grid,
  .collection-catalogue-grid,
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taxonomy-grid,
  .semantic-cycle,
  .permanence-scale,
  .lineage-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .adaptive-cycle,
  .photo-sequence,
  .indicator-dashboard,
  .tool-record-grid,
  .field-journal-template,
  .related-tool-links,
  .design-tools-cycle__stages,
  .provenance-panel dl,
  .taxonomy-grid,
  .tradition-comparison,
  .framework-compass,
  .question-pairs,
  .nested-scales,
  .semantic-cycle,
  .permanence-scale,
  .lineage-path {
    grid-template-columns: 1fr;
  }

  .field-journal-template header,
  .field-journal-template footer {
    grid-column: auto;
  }

  .transect-profile {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
  }

  .library-hero {
    width: min(100% - 32px, 1180px);
    padding-top: 4rem;
  }

  .library-section {
    padding: 4.5rem 24px;
  }

  .people-hero,
  .people-profile {
    width: min(100% - 32px, 1180px);
  }

  .people-introduction,
  .people-domain {
    padding: 4.5rem 24px;
  }

  .people-collection-return {
    padding-right: 24px;
    padding-left: 24px;
  }

  .cornerstone-grid,
  .collection-grid,
  .library-update-grid,
  .planned-collection-list,
  .collection-catalogue-grid,
  .series-navigation,
  .framework-flow ol,
  .tool-definitions,
  .download-grid,
  .field-grid,
  .worksheet,
  .tool-quadrant,
  .thinking-hats,
  .stakeholder-matrix,
  .priority-matrix,
  .pmi-board,
  .fse-layers,
  .input-output-flow,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .worksheet > h2,
  .worksheet > p,
  .worksheet-field:first-of-type,
  .worksheet-field:nth-of-type(2),
  .worksheet-field:last-of-type {
    grid-column: auto;
  }

  .series-navigation a:last-child {
    text-align: left;
  }

  .series-navigation--continuous > .series-navigation__next:first-child,
  .series-navigation--continuous > .series-navigation__collection {
    grid-column: 1;
  }

  .series-navigation--continuous > .series-navigation__collection {
    justify-self: start;
  }

  .article-table {
    min-width: 640px;
  }
}

@media (forced-colors: active) {
  .cornerstone-card,
  .collection-card,
  .library-update-card,
  .framework-flow li,
  .download-grid article,
  .field-grid section,
  .worksheet-field,
  .teaching-lens li,
  .stage-pathway li,
  .ethics-matrix article {
    border: 1px solid CanvasText;
  }

  .people-card,
  .people-editorial-note,
  .people-mark-section,
  .people-reading li,
  .people-related li {
    border: 1px solid CanvasText;
  }

  .tool-quadrant section,
  .thinking-hats section,
  .stakeholder-matrix section,
  .priority-matrix section,
  .pmi-board section,
  .fse-layers section,
  .input-output-flow section,
  .input-output-element,
  .tool-visual,
  .adaptive-tool-visual,
  .cornerstone-infographic img,
  .cornerstone-infographic figcaption,
  .adaptive-cycle li,
  .photo-sequence section,
  .indicator-dashboard section,
  .field-journal-template section,
  .design-tools-cycle,
  .design-tools-cycle__stages section,
  .related-tool-links li,
  .authorship-boundary,
  .reflective-practice {
    border: 1px solid CanvasText;
  }
}

@media print {
  [data-site-header],
  [data-site-footer],
  .breadcrumbs,
  .series-navigation,
  .course-progression,
  .library-actions,
  .download-panel,
  .cornerstone-infographic__open {
    display: none !important;
  }

  .cornerstone-article,
  .release-article {
    width: 100%;
    padding: 0;
  }

  .cornerstone-article header {
    margin-bottom: 1.5rem;
  }

  .worksheet,
  .field-sheet,
  .framework-flow,
  .adaptive-tool-visual,
  .design-tools-cycle,
  .field-journal-template,
  .indicator-dashboard {
    break-inside: avoid;
  }

  .printable-worksheet {
    break-before: page;
  }

  .printable-worksheet .article-table {
    min-width: 0;
  }

  .worksheet-field,
  .framework-flow li,
  .field-grid section {
    background: transparent;
    border: 1px solid currentColor;
  }
}
