.math-feature {
  margin-top: 2rem;
  text-align: left;
  background: #fcfaf6;
  border: 1px solid #d7cbb8;
  border-radius: .85rem;
  overflow: hidden;
}
.math-feature figure { margin: 0; }
.math-feature figcaption {
  max-width: 68ch;
  margin: 0 auto;
  padding: clamp(.9rem, 3vw, 1.5rem) clamp(1rem, 5vw, 2rem);
  line-height: 1.6;
}
.project-review {
  display: grid;
  gap: 1rem clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.1rem, 4vw, 2.25rem);
  border-top: 1px solid #d7cbb8;
  background: #f4eddf;
}
.review-meta {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  align-items: baseline;
  gap: .35rem .75rem;
  font-size: .9rem;
  color: var(--ink);
}
.review-label, .review-rating { font-weight: 700; }
.review-rating { white-space: nowrap; }
.review-rating span { color: #765219; letter-spacing: .06em; }
.project-review blockquote {
  max-width: 64ch;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1rem, .94rem + .4vw, 1.18rem);
  line-height: 1.56;
}
.project-review blockquote p { margin: 0 0 .9em; }
.project-review blockquote p:last-child { margin-bottom: 0; }

.teamwork-divider {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 3vw, 1.5rem);
  margin: 2.25rem 0 1.5rem;
}

.teamwork-divider::before,
.teamwork-divider::after {
  flex: 1;
  min-width: 1rem;
  height: 1px;
  background: var(--gold, #96764f);
  content: "";
}

.teamwork-divider a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .25rem .1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.maui-feature {
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: .85rem;
  text-align: left;
  background: linear-gradient(160deg, #12314a, #075266);
  color: #f5fbfd;
}
.maui-feature h2 {
  margin: 0 0 .8em;
  color: inherit;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem);
}

.maui-feature img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem;
}

.maui-layout,
.maui-gallery {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.maui-lead,
.maui-gallery figure {
  min-width: 0;
  margin: 0;
}

.maui-feature figcaption {
  margin-top: .55rem;
  line-height: 1.55;
}

.maui-lead figcaption {
  max-width: 65ch;
}

.maui-gallery figcaption { font-size: .9rem; }

.history-jump-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1.5rem;
  padding-block: 0;
}

.history-jump-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .2em;
}

#biography, #selected-work, #writing, #services {
  scroll-margin-top: 5rem;
}

.teamwork-section {
  max-width: 52rem;
  scroll-margin-top: 5rem;
}

.teamwork-section article + article {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold, #96764f);
}

.teamwork-section h2 { margin-bottom: 1rem; }
.teamwork-section h3 { margin-bottom: .5rem; }
.case-section a { overflow-wrap: anywhere; }

@media (min-width: 720px) {
  .maui-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; }
  .maui-gallery { align-content: start; }
  .project-review { grid-template-columns: minmax(7rem, .55fr) minmax(0, 2fr); }
  .review-meta { flex-direction: column; }
}

@media (max-width: 719px) {
  #biography, #selected-work, #teamwork-case-studies, #writing, #services { scroll-margin-top: 8.5rem; }
}

.book-feature, .case-details {
  max-width: 60rem;
}
.concept-hub {
  display: grid;
  gap: 1rem;
  align-items: center;
  max-width: 60rem;
  padding-block: clamp(1.75rem, 4vw, 3rem);
}
.concept-hub h1, .concept-hub h2 { font-family: inherit; color: inherit; }
.concept-hub h1 { margin: 0 0 .75rem; font-size: 1.5rem; line-height: 1.2; font-weight: 700; }
.concept-hub p { margin: 0; font-size: 1rem; line-height: 1.55; color: inherit; }
.concept-hub .concept-quote { font-weight: 600; margin-bottom: .35rem; }
.hub-art img { display: block; width: 100%; height: auto; border-radius: .5rem; box-shadow: 0 4px 12px rgb(20 33 58 / 16%); }
@media (min-width: 720px) {
  .concept-hub, .section.book-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
  .book-feature .evidence-plate { grid-column: 1; grid-row: 1; }
  .book-feature .project-copy { grid-column: 2; grid-row: 1; }
}
.book-feature { align-items: center; padding-top: 1.5rem; }
.book-feature .evidence-primary { width: min(75%, 15rem); }
.book-feature .project-copy > p { margin-block: .7rem; }
.book-feature .publication-label { margin-top: 1.25rem; }
.book-feature .project-copy h2 { margin-block: .25rem .6rem; }
.case-details { display: grid; gap: 2rem; }
.case-details .case-section { min-width: 0; }
.interior-section .interior-plate { aspect-ratio: auto; }
@media (min-width: 720px) {
  .book-feature { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
  .case-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
  .work-section .project { align-items: center; }
  .work-section .project:nth-child(even) .evidence-plate { grid-column: 1; grid-row: 1; }
  .work-section .project:nth-child(even) .project-copy { grid-column: 2; grid-row: 1; }
}

 .history-panorama { padding-bottom: 0; }
.history-panorama .plate { margin-bottom: .5rem; }
.history-panorama + .history-jump-links { padding-bottom: 2.5rem; }
main .square-art {
  display: block;
  box-sizing: border-box;
  width: min(88%, 20rem);
  height: auto;
  max-height: none;
  aspect-ratio: 1;
  margin: .85rem auto 1.35rem;
  border-radius: 12px;
  background: var(--paper, #f4f5f4);
  object-fit: cover;
  box-shadow: none;
  filter: drop-shadow(0 18px 34px rgba(20, 33, 58, .28));
  transform: rotate(var(--tilt));
}
.tilt-right { --tilt: 2.5deg; }
.tilt-left { --tilt: -2.5deg; }
main .evidence-plate img.square-art,
main .case-figure img.square-art,
main .case-figure-mini img.square-art,
main .about-portrait-image.square-art { object-fit: contain; }
main .hub-art .square-art, main .book-feature .square-art { width: min(88%, 20rem); }
main .case-figure-mini .square-art { width: 4rem; }
main .plate.square-art .plate-frame { overflow: hidden; border-radius: inherit; }
main .evidence-plate img.square-art + img.square-art { margin-top: 2.25rem; }
main .square-art:is(.evidence-primary, .evidence-secondary) { padding: .75rem; }

.hub-services { margin-top: 1.25rem; }
.hub-services h2 { font-size: 1rem; font-weight: 700; margin: .45rem 0 .15rem; }
.concept-hub .practice-note { font-size: .9rem; }
.companion-feature { max-width: 60rem; align-items: center; }
@media (min-width: 720px) {
  .companion-feature { grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.5rem,4vw,3rem); }
}

.project-art-pair {
  width: min(100%, 25rem);
  margin: 0 auto 1.25rem;
}
#fables-found {
  max-width: 60rem;
  scroll-margin-top: 5rem;
}
.fables-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.fables-intro h2 {
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 .35rem;
}
.fables-book-name { font-size: 1.125rem; font-weight: 600; margin: 0; }
.fables-description { line-height: 1.55; margin: 0; }
.fables-scene { margin: 0; }
.fables-scene a, .fables-scene picture, .fables-scene img { display: block; }
.fables-scene img {
  width: 100%;
  height: auto;
  border-radius: .45rem;
  box-shadow: 0 3px 9px rgb(20 33 58 / 18%);
}
@media (max-width: 719px) {
  #fables-found { scroll-margin-top: 8.5rem; }
  .fables-intro { grid-template-columns: minmax(0,1fr); gap: .6rem; }
}
.bali-print { position: relative; aspect-ratio: 1; }
.bali-print img { position: absolute; height: auto; filter: drop-shadow(1px 3px 3px rgb(35 29 20 / 25%)); }
.bali-first { width: 34%; top: 7%; left: 9%; transform: rotate(-13deg); }
.bali-second { width: 34%; top: 5%; left: 33%; transform: rotate(-2deg); }
.bali-front { width: 34%; top: 10%; left: 56%; transform: rotate(9deg); }
.bali-chocolate { width: 54%; top: 54%; left: 4%; transform: rotate(-5deg); }
.bali-drawing { width: 54%; bottom: 5%; right: 4%; transform: rotate(4deg); }

/* Use the Hub type family throughout the three publication features. */
.project-copy h2 {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .65rem;
}
.project-copy .project-statement,
.project-copy .project-role p {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}
.project-copy .project-statement { margin: 0 0 .65rem; }
.project-copy .project-role p { margin: 0; }
.evidence-plate figcaption {
  margin: .75rem auto 0;
  max-width: 25rem;
  font-family: inherit;
  font-size: .875rem;
  line-height: 1.45;
  color: var(--ink);
}
.evidence-plate figcaption p { margin: 0; }
.history-panorama .plate-photo { filter: drop-shadow(0 4px 9px rgb(20 33 58 / 22%)); }
.history-panorama .plate-photo img { filter: none; }
