.profile-sheet { max-width: 1180px; padding-block: 0 54px; overflow-wrap: anywhere; }
.profile-sheet a { text-underline-offset: .22em; }
.profile-links, .profile-byline { font: 600 13px/1.55 var(--sans); }
.rubric-reading { display: inline-block; margin-top: 8px; font: 600 13px/1.5 var(--sans); color: var(--ink); }
.rubric-reading:hover { color: var(--burgundy); }
.profile-opening { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.6fr) minmax(290px,1fr); gap: clamp(30px,6vw,95px); align-items: center; padding-block: 26px 32px; }
/* A crop of the cover painting sits behind the assessment slip. */
.profile-opening > aside::before {
  content: ""; position: absolute; z-index: -1; inset: -18px -18px -18px -30px;
  background: #b89058 url("/assets/graphics/painted-intersection.webp") center / cover;
}
.profile-opening > aside { position: relative; margin-right: 18px; }
.profile-intro h1 { color: #681b36; margin: 16px 0 22px; font-size: clamp(45px,5.1vw,78px); line-height: 1.01; text-wrap: balance; }
.profile-lede { max-width: 32em; font: 22px/1.5 Plex, Georgia, serif; }
.profile-plate { background: var(--tc,#594336); color: #fff8e9; padding: clamp(20px,2.4vw,36px); box-shadow: 5px 5px 0 #cbbda6; }
.plate-caption { font: 700 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .13em; }
.profile-plate h2 { margin: 8px 0 20px; font: 640 clamp(28px,2.7vw,42px)/1.06 Fraunces,Georgia,serif; letter-spacing: -.03em; }
.profile-tally { box-sizing: border-box; max-width: 345px; width: calc(100% - 40px); justify-self: end; padding: 16px 20px; background: #fff7e7; }
.profile-tally .plate-caption {
  display: inline-block; padding: 4px 8px; background: var(--tc); color: #fffaf0;
  font-size: 11px; letter-spacing: .09em;
}
.profile-tally h2 { margin: 9px 0 14px; font-size: clamp(22px,2vw,29px); line-height: 1.12; }
.profile-scores { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.profile-scores a {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 7px 0; border-top: 1px solid var(--idx-hair); color: inherit;
  text-decoration: none; font: 600 13px/1.25 var(--sans);
}
.score-reading { display: flex; align-items: center; color: var(--idx-soft); font: 12px/1 var(--sans); }
.profile-scores a:hover>span:first-child, .profile-scores a:focus-visible>span:first-child { text-decoration: underline; }
.family-plate p:not(.plate-caption) { font-size: 16px; line-height: 1.6; }
.family-plate a { display: inline-block; margin-top: 18px; font: 600 14px var(--sans); color: inherit; }
.profile-evidence, .profile-section { border-top: 1px solid #b9ad98; padding-block: 30px 38px; }
.profile-evidence>h2, .profile-section>h2 { color: #681b36; font-size: clamp(30px,3vw,43px); }
.profile-dimensions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 28px; margin-top: 22px; }
.profile-dimensions .idx-dimrow { padding-left: 16px; scroll-margin-top: 20px; }
.idx-dimrow:target { background: #faf6ec; outline: 6px solid #faf6ec; }
.profile-dimensions h3 { font-size: 24px; }
.profile-dimensions p { font: 15px/1.6 Plex,Georgia,serif; }
.profile-dimensions .dimension-label { display: flex; gap: 4px; align-items: center; margin: 10px 0; font: 600 11px/1.5 var(--sans); color: var(--idx-soft); }
.profile-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 32px; }
.profile-section>div { max-width: 720px; }
.profile-section p,.profile-section li { font-size: 16px; line-height: 1.65; }
.profile-section h3,.profile-section>div>h2 { font-size: 24px; margin: 20px 0 8px; }
.profile-section h3:first-child { margin-top: 0; }
.profile-section p { margin-bottom: 10px; }
.profile-section ul { margin: 0 0 16px; padding-left: 20px; }
.profile-section .idx-access-agreements { margin-top: 24px; }
.profile-section a { color: var(--burgundy); }
.profile-section .source-list { list-style: none; padding: 0; }
.source-list li { border-bottom: 1px solid var(--rule); padding: 8px 0; }
.profile-section .idx-snapshot-note { font-size: 13px; }
@media(max-width:900px) { .profile-dimensions { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
  .profile-opening,.profile-section,.profile-dimensions { grid-template-columns: minmax(0,1fr); }
  .profile-opening { gap: 24px; padding-block: 22px 32px; }
  .profile-lede { font-size: 18px; }
  .profile-opening > aside::before { display: none; }
  .profile-opening > aside {
    margin-right: 0; border-right: 16px solid transparent;
    border-image: url("/assets/graphics/painted-intersection.webp") 0 90 0 0 / 0 16px 0 0;
  }
  .profile-tally { max-width: none; width: 100%; padding: 14px; }
  .profile-scores { grid-template-columns: repeat(auto-fit,minmax(98px,1fr)); gap: 0 10px; }
  .profile-section { gap: 15px; }
}

.profile-byline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  margin-top: 18px; color: var(--idx-soft);
}
.profile-sheet .profile-external { color: var(--burgundy); text-decoration: none; }
.reference-label { text-decoration: underline; text-underline-offset: .2em; }
.reference-host {
  display: inline-block; max-width: 100%; margin-inline-start: .15em;
  color: var(--idx-soft); font: 500 12px/1.5 var(--sans);
}
.profile-external:hover .reference-label, .profile-external:focus-visible .reference-label {
  text-decoration-thickness: 2px;
}
.profile-access { margin: 18px 0 0; }
.profile-access .profile-external {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  max-width: 100%; padding: 8px 12px; border-inline-start: 3px solid #a16c21; background: #eed6a4;
  font: 600 16px/1.45 var(--sans);
}
.access-note { margin-top: 14px; font-size: 15px; }
.profile-links {
  display: flex; flex-wrap: wrap; gap: 0 20px; align-items: baseline;
  padding: 7px 0; border-top: 1px solid var(--idx-hair); color: var(--navy, #18202c);
}
.profile-links > span { font: italic 16px/1.5 Plex,Georgia,serif; color: var(--idx-soft); }
.profile-links a { display: inline-block; padding: 5px 0; }
.project-references { display: grid; justify-items: start; gap: 8px; font: 600 15px/1.5 var(--sans); }
.source-list .profile-external { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.source-list .reference-host { flex-shrink: 0; }
@media(max-width:700px) {
  .profile-links { gap: 0 16px; }
  .source-list .profile-external { flex-wrap: wrap; }
}
@media(max-width:440px) {
  .profile-links > span { flex-basis: 100%; }
}
