.biography { max-width: 1100px; }
.opening, .essay { display: grid; gap: clamp(20px, 4vw, 60px); }
.opening { grid-template-columns: 1.25fr 1fr; align-items: center; padding-block: clamp(30px, 6vw, 84px); }
.photo { width: 100%; height: auto; display: block; border-radius: 6px; }
.biography .eyebrow { color: var(--orange); letter-spacing: .09em; font-size: .9rem; font-weight: 650; margin-bottom: .65rem; }
.byline, .tagline, .closing blockquote span { font: italic 1.12rem/1.55 Georgia, serif; }
.biography p + p { margin-top: .8em; }
.essay, .workshop { border-top: 1px solid var(--rule); padding-block: clamp(28px, 4.5vw, 64px); }
.essay { grid-template-columns: 1fr 2fr; }
#classroom { row-gap: 12px; }
.classroom-photos {
  display: grid;
  gap: 16px;
  max-width: 340px;
  margin-top: 18px;
}
.classroom-photos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.classroom-photos figure { margin: 0; }
.beyond-photo { max-width: 275px; margin: 18px 0 0; }
.reunion-photo { position: relative; overflow: hidden; }
/* Match the sunglasses photo to its original position inside the collage. */
.reunion-inset {
  position: absolute;
  width: 102.88%; max-width: none; height: auto;
  left: -12.97%; top: 10.10%;
  clip-path: inset(27.58% 33.93% 46.67% 43.59%);
}
.classroom-photos figcaption, .beyond-photo figcaption { margin-top: 6px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.classroom-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(4px, .8vw, 10px);
  margin-top: 12px;
}
.classroom-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #f4efe6; border-radius: 6px; }
.beyond-gallery img { object-fit: cover; }
.beyond-gallery a:first-child img { object-fit: contain; background: #8498b3; }
@media (min-width: 761px) {
  #classroom > div:first-child { display: flex; flex-direction: column; }
  .classroom-photos { flex: 1; align-content: space-between; }
  #beyond-the-classroom > div { display: flex; flex-direction: column; }
  .beyond-photo { max-width: none; margin-top: auto; padding-top: 18px; }
  .beyond-gallery { margin-top: auto; padding-top: 12px; }
}
.biography h2 { font-size: clamp(24px, 2.6vw, 38px); text-wrap: balance; }
.biography p, .closing blockquote { line-height: 1.85; }
.workshop { padding-top: clamp(24px, 3vw, 44px); }
.opening .eyebrow, .workshop-intro .eyebrow { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.opening .eyebrow .bi-en { font-size: inherit; }
.workshop-intro h2 { font-family: Georgia, serif; margin-bottom: .4em; }
.workshop-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 54px); }
.projects { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; margin-top: 22px; }
.projects article {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(16px, 2vw, 28px); border: 1px solid var(--rule); border-radius: 9px; background: #fffaf2; }
.project-copy > img { float: left; margin-right: 10px; width: 32px; height: 32px; }
.project-copy h3 { min-height: 32px; line-height: 1.5; margin-bottom: .4rem; }
.projects article > .english-copy { margin: 0; }
.project-copy p { clear: both; }
.focus-description { display: grid; row-gap: 1rem; }
#focusplz-showcase .focus-description > p { margin: 0; }
.focus-description[lang="en"] { color: var(--muted); }
.focus-description[lang="en"] > p { line-height: 1.65; }
.focus-description .project-copy a { color: var(--green); text-underline-offset: .18em; }
@media (min-width: 761px) {
  #focusplz-showcase { row-gap: 1rem; }
  #focusplz-showcase .focus-description { grid-row: span 4; grid-template-rows: subgrid; align-self: stretch; }
}
.projects img { object-fit: contain; }
.projects h3 { font-size: 1.3rem; }
.tagline { color: var(--muted); }
.closing a[href="lighthouse.html#courses"] { display: block; width: fit-content; margin-left: auto; text-align: right; }
.closing blockquote { margin: 1em 0; padding-left: 1em; border-left: 2px solid var(--rule); }
@media (max-width: 760px) {
  .opening, .essay, .workshop-intro, .projects article { grid-template-columns: minmax(0, 1fr); }
  .opening .photo { max-width: 440px; }
}

.tool-screens {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  grid-column: 1 / -1;
}
.tool-screens figure { margin: 0; }
.tool-screens a, .tool-screens img { display: block; }
.tool-screens img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; border: 1px solid var(--rule); background: white; border-radius: 6px; }
.grammar-screens, .ledger-screens { gap: 8px; }
.ledger-screens figure { width: 90%; justify-self: center; }
.focus-screens figure:first-child img { object-fit: cover; object-position: top; }
.ledger-screens img { height: auto; aspect-ratio: auto; }
.grammar-screens img { aspect-ratio: 2 / 3; }
.tool-screens figcaption { margin-top: 6px; font-size: .87rem; line-height: 1.5; }
@media (max-width: 760px) {
  .tool-screens { grid-template-columns: repeat(6, 145px); overflow-x: auto; padding-bottom: 6px; }
}
