/* Peptide Studies: the finding, its setting, and the space it leaves open. */
:root {
  --ps-ground: #E3E6E1;
  --ps-ink: #1E241F;
  --ps-rust: #C1440E;
  --ps-sand: #F4E3C3;
  --ps-rule: #9DA69B;
  --ps-display: "Ibarra Real Nova", Georgia, serif;
  --ps-reading: "Andada Pro", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ps-ink); background: var(--ps-ground); font: 400 20px/1.72 var(--ps-reading); }
::selection { color: var(--ps-ink); background: var(--ps-sand); }
img { display: block; max-width: 100%; height: auto; color: var(--ps-ink); font: 400 18px/1.5 var(--ps-reading); }
a { color: var(--ps-ink); text-decoration-thickness: 1px; text-underline-offset: .19em; transition: text-underline-offset .18s, background-color .18s, transform .18s; }
a:hover { text-underline-offset: .34em; background-color: var(--ps-sand); }
a:focus-visible { outline: 3px solid var(--ps-ink); outline-offset: 6px; background: var(--ps-sand); }
p { margin: 0 0 1.2em; }
h1, h2, h3 { font-family: var(--ps-display); font-weight: 400; }
h1 { margin: 0; font-size: clamp(52px, 5.3vw, 76px); line-height: 1.045; letter-spacing: -.03em; text-wrap: balance; }
h2 { margin: 0 0 28px; font-size: 48px; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
h3 { margin: 0 0 20px; font-size: 34px; line-height: 1.18; }
.ps-icon { display: inline-block; width: 22px; height: 22px; stroke-width: 1.5; vertical-align: -.2em; flex: 0 0 22px; }
.ps-skip { position: absolute; z-index: 4; top: -160px; left: 20px; padding: 10px 18px; color: var(--ps-ink); background: var(--ps-sand); }
.ps-skip:focus { top: 16px; }

/* A publication mast, with real destinations given room to breathe. */
.ps-mast { max-width: 1328px; margin: 0 auto; padding: 32px 44px 0; }
.ps-wordmark { display: block; width: fit-content; margin: 0 auto 20px; text-decoration: none; font: 500 64px/1.05 var(--ps-display); letter-spacing: -.045em; }
.ps-wordmark:hover { background: transparent; text-decoration: underline; text-decoration-thickness: 1px; }
.ps-mast-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 112px; padding: 0 0 24px; border-bottom: 1px solid var(--ps-ink); }
.ps-mast-nav a { display: inline-flex; align-items: center; gap: 13px; font: 400 24px/1.4 var(--ps-reading); text-decoration: none; }
.ps-mast-nav a:hover { text-decoration: underline; text-decoration-color: var(--ps-rust); }
.ps-mast-nav .ps-icon { width: 23px; height: 23px; flex-basis: 23px; }
.ps-purpose { margin: 22px 0 0; max-width: 1030px; font-size: 21px; line-height: 1.5; }

/* The first screen is type. The photograph belongs to the next beat. */
.ps-first-sheet { min-height: 100svh; display: flex; flex-direction: column; }
.ps-first-sheet .ps-opener { flex: 1; }
.ps-opener { width: min(100%, 1328px); padding: 54px 44px 62px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.4fr); gap: 7%; align-items: start; }
.ps-opener h1 { grid-column: 2; grid-row: 1; }
.ps-title-report, .ps-title-name, .ps-title-return { display: block; }
.ps-title-report, .ps-title-return { font-size: .88em; }
.ps-title-name { margin: .09em 0; font-size: 1.05em; font-weight: 500; line-height: 1.03; }
.ps-opener h1::after { content: ""; display: block; width: calc(100% + 40px); height: 12px; margin: 28px 0 0 -40px; border: 1px solid var(--ps-ink); border-top: 0; transform-origin: right center; animation: ps-open-brace .85s ease-out both; }
.ps-owner { grid-column: 1; grid-row: 1; padding-top: 38px; font-size: 20px; line-height: 1.65; }
.ps-owner p:last-child { margin-bottom: 0; }
.ps-terms { margin-top: 0; padding: 30px max(44px, calc((100vw - 1240px) / 2)); background: var(--ps-rust); }
.ps-terms-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1240px; margin: auto; }
.ps-terms-inner section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); gap: 24px; align-items: center; }
.ps-terms h2 { color: var(--ps-sand); font-size: clamp(62px, 5.4vw, 78px); line-height: 1; letter-spacing: -.045em; margin: 0; }
.ps-terms p { color: var(--ps-ink); background: var(--ps-sand); padding: 19px 22px; margin: 0; font-size: 18px; line-height: 1.6; }

/* No overlays: a full, level print and a separate, quiet caption. */
.ps-photo-ground { padding: 64px max(44px, calc((100vw - 1240px) / 2)) 100px; background: var(--ps-ground); }
.ps-photograph { margin: 0 auto; width: min(100%, 1240px); }
.ps-photograph img { width: 100%; aspect-ratio: 1240/480; object-fit: cover; background: #D4DAD3; }
.ps-photograph figcaption { width: min(100%, 580px); margin-top: 24px; font-size: 18px; line-height: 1.65; }

/* A study stays one open account. Its number inhabits the outer margin. */
.ps-accounts { padding: 0 44px; }
.ps-account { position: relative; max-width: 760px; margin: 0 auto 120px; }
.ps-account-rail { position: absolute; left: -210px; top: 16px; bottom: 280px; width: 170px; }
.ps-account-number { position: sticky; top: 32px; display: block; color: var(--ps-rust); font: 400 144px/1 var(--ps-display); letter-spacing: -.075em; }
.ps-account-heading { padding-top: 25px; border-top: 1px solid var(--ps-rule); }
.ps-account > p:first-of-type { font-size: 23px; line-height: 1.6; }
.ps-account p:last-child { margin-bottom: 0; }
.ps-lower-brace { position: relative; height: 25px; margin-top: 34px; border-bottom: 1px solid var(--ps-ink); }
.ps-lower-brace::before, .ps-lower-brace::after { content: ""; position: absolute; bottom: 0; height: 13px; border-left: 1px solid var(--ps-ink); }
.ps-lower-brace::before { left: 0; }
.ps-lower-brace::after { right: 0; }
.ps-lower-stem { width: 1px; height: 28px; margin: 0 auto; background: var(--ps-ink); }
.ps-limit-note { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr); gap: 50px; width: calc(100% + 480px); margin-left: -240px; padding: 42px 50px 46px; background: var(--ps-sand); }
.ps-limit-note h3 { margin: 0; font-size: 35px; }
.ps-limit-note h3 .ps-icon { display: block; width: 28px; height: 28px; margin-bottom: 15px; }
.ps-limit-note p { max-width: 880px; margin: 0; }

/* Reading on is an open list, never a card catalogue. */
.ps-turn-page { max-width: 1240px; margin: 0 auto 120px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 100px; }
.ps-turn-page h2 { font-size: 60px; max-width: 440px; margin: 0; align-self: start; }
.ps-turn-page ul { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--ps-ink); }
.ps-turn-page li { border-bottom: 1px solid var(--ps-rule); }
.ps-turn-page a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px 4px; text-decoration: none; font-size: 27px; }
.ps-turn-page a:hover .ps-icon, .ps-next-leaf:hover .ps-icon { transform: translate(4px, -4px); }
.ps-turn-page .ps-icon, .ps-next-leaf .ps-icon { transition: transform .18s ease-out; }
.ps-turn-detail { display: block; margin-top: 4px; font-size: 18px; }

/* Inner leaves: broad titles, smaller photographic bands, the same long measure. */
.ps-leaf-top { max-width: 1328px; padding: 65px 44px 66px; margin: auto; }
.ps-breadcrumb { margin-bottom: 31px; font-size: 18px; }
.ps-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ps-breadcrumb li + li::before { content: "/"; margin-right: 12px; }
.ps-leaf-top h1 { max-width: 1050px; font-size: clamp(52px, 5.6vw, 80px); }
.ps-lead { max-width: 760px; margin: 30px 0 0 auto; font-size: 24px; line-height: 1.6; }
.ps-leaf-body { padding: 0 44px; }
.ps-leaf-body .ps-account { margin-top: 12px; }
.ps-leaf-photo { width: calc(100% + 480px); margin: 33px 0 46px -240px; }
.ps-leaf-photo img { width: 100%; aspect-ratio: 1240/360; object-fit: cover; background: #D4DAD3; }
.ps-leaf-photo figcaption { max-width: 580px; margin-top: 21px; font-size: 18px; line-height: 1.65; }
.ps-after-note { margin-top: 46px; }
.ps-next-leaf { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 34px 0 0; padding: 23px 4px; border-top: 1px solid var(--ps-ink); font-size: 23px; text-decoration: none; }

/* Source and publication pages use a hanging, sticky heading beside the prose. */
.ps-reading-page { max-width: 1328px; margin: 0 auto; padding: 12px 44px 75px; }
.ps-reading-page section { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 760px); justify-content: space-between; column-gap: 70px; margin: 0 0 64px; padding-top: 30px; border-top: 1px solid var(--ps-rule); }
.ps-reading-page section > h2 { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: 32px; align-self: start; font-size: 40px; }
.ps-reading-page section > p, .ps-reading-page section > ul { grid-column: 2; min-width: 0; }
.ps-source-list { padding: 0; list-style: none; margin: 0; }
.ps-source-list li { padding: 22px 0 25px; border-bottom: 1px solid var(--ps-rule); }
.ps-source-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ps-source-list h3 { font-size: 29px; margin-bottom: 12px; }
.ps-source-list p { font-size: 19px; margin-bottom: 0; }
.ps-shelf-end { max-width: 760px; margin: 0 0 30px auto; padding-top: 28px; border-top: 1px solid var(--ps-ink); }
.ps-footer { border-top: 1px solid var(--ps-ink); max-width: 1240px; margin: 0 auto; padding: 42px 0 35px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px 100px; }
.ps-footer nav { grid-row: 1 / span 2; display: flex; flex-wrap: wrap; align-content: start; gap: 14px 28px; font-size: 20px; }
.ps-footer p { grid-column: 2; max-width: 650px; font-size: 18px; margin: 0; }
.ps-missing { min-height: 50svh; padding-bottom: 100px; }
.ps-missing .ps-lead { margin-left: 0; }

/* Only the fine opening brace moves; no word ever waits for JavaScript. */
@keyframes ps-open-brace { from { transform: scaleX(.72); } to { transform: scaleX(1); } }
@media (max-width: 1279px) {
  .ps-account-rail { left: -120px; width: 100px; }
  .ps-account-number { font-size: 104px; }
  .ps-limit-note, .ps-leaf-photo { width: calc(100% + 160px); margin-left: -80px; }
  .ps-turn-page, .ps-footer { margin-left: 44px; margin-right: 44px; }
  .ps-terms-inner { gap: 36px; }
  .ps-terms-inner section { grid-template-columns: 1fr; gap: 15px; }
  .ps-terms h2 { font-size: 66px; }
  .ps-reading-page section { column-gap: 48px; }
}
@media (max-width: 1023px) {
  .ps-mast-nav { column-gap: 60px; }
  .ps-opener { gap: 6%; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }
  .ps-owner { padding-top: 18px; }
  .ps-account-rail { position: static; display: block; width: auto; margin: 0 0 18px; }
  .ps-account-number { position: static; font-size: 92px; }
  .ps-limit-note, .ps-leaf-photo { width: calc(100% + 88px); margin-left: -44px; }
  .ps-limit-note { gap: 30px; padding: 35px 44px 40px; }
  .ps-limit-note h3 { font-size: 32px; }
  .ps-turn-page { gap: 50px; }
  .ps-turn-page h2 { font-size: 50px; }
  .ps-reading-page section { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 0 36px; }
  .ps-reading-page section > h2 { font-size: 35px; }
  .ps-footer { column-gap: 50px; }
}
@media (max-width: 760px) {
  .ps-mast-nav { column-gap: 36px; }
  .ps-mast-nav a { font-size: 22px; }
  .ps-opener { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .ps-opener h1 { font-size: 49px; }
  .ps-owner { font-size: 19px; }
  .ps-limit-note { display: block; }
  .ps-limit-note h3 { margin-bottom: 25px; }
  .ps-limit-note h3 .ps-icon { display: inline-block; margin: 0 14px 0 0; }
  .ps-turn-page { display: block; }
  .ps-turn-page h2 { max-width: 470px; margin-bottom: 35px; }
  .ps-reading-page section { display: block; }
  .ps-reading-page section > h2 { position: static; margin-bottom: 28px; font-size: 38px; }
  .ps-lead { margin-left: 0; }
}
@media (max-width: 660px) {
  body { font-size: 19px; line-height: 1.75; }
  .ps-mast { padding: 24px 24px 0; }
  .ps-wordmark { font-size: 45px; margin-bottom: 18px; white-space: nowrap; }
  .ps-mast-nav { column-gap: 25px; row-gap: 10px; padding-bottom: 18px; }
  .ps-mast-nav a { gap: 8px; font-size: 20px; }
  .ps-mast-nav .ps-icon { width: 20px; height: 20px; flex-basis: 20px; }
  .ps-mast-nav a:last-child { flex-basis: 100%; justify-content: center; }
  .ps-purpose { font-size: 18px; line-height: 1.5; margin-top: 17px; }
  .ps-opener { display: flex; flex-direction: column; padding: 34px 24px 48px; gap: 30px; }
  .ps-opener h1 { font-size: 44px; line-height: 1.055; letter-spacing: -.025em; }
  .ps-title-name { font-size: 1.05em; margin: .13em 0; }
  .ps-opener h1::after { width: 100%; margin: 24px 0 0; height: 10px; }
  .ps-owner { padding-top: 0; font-size: 19px; line-height: 1.7; }
  .ps-terms { padding: 30px 24px 34px; }
  .ps-terms-inner { display: block; }
  .ps-terms-inner section { display: block; }
  .ps-terms-inner section + section { margin-top: 30px; }
  .ps-terms h2 { font-size: 66px; margin-bottom: 15px; }
  .ps-terms p { padding: 17px 19px; font-size: 18px; line-height: 1.6; }
  .ps-photo-ground { padding: 64px 24px 72px; }
  .ps-photograph figcaption, .ps-leaf-photo figcaption { font-size: 18px; }
  .ps-accounts, .ps-leaf-body { padding: 0 24px; }
  h2 { font-size: 37px; line-height: 1.14; }
  .ps-account { margin-bottom: 82px; }
  .ps-account-rail { margin-bottom: 20px; }
  .ps-account-number { font-size: 88px; }
  .ps-account-heading { padding-top: 21px; }
  .ps-account > p:first-of-type { font-size: 21px; }
  .ps-lower-brace { margin-top: 22px; }
  .ps-lower-stem { height: 23px; }
  .ps-limit-note { width: calc(100% + 48px); margin-left: -24px; padding: 30px 24px 35px; }
  .ps-limit-note h3 { font-size: 31px; margin-bottom: 22px; }
  .ps-limit-note h3 .ps-icon { width: 23px; height: 23px; margin-right: 10px; }
  .ps-turn-page { margin: 0 24px 80px; }
  .ps-turn-page h2 { font-size: 44px; margin-bottom: 32px; }
  .ps-turn-page a { font-size: 24px; padding: 21px 3px; }
  .ps-turn-detail { font-size: 18px; }
  .ps-leaf-top { padding: 43px 24px 42px; }
  .ps-leaf-top h1 { font-size: 46px; }
  .ps-lead { font-size: 22px; margin-top: 25px; }
  .ps-breadcrumb { font-size: 18px; margin-bottom: 27px; }
  .ps-leaf-body .ps-account { margin-top: 8px; }
  .ps-leaf-photo { width: calc(100% + 48px); margin: 29px 0 34px -24px; }
  .ps-leaf-photo figcaption { margin-left: 24px; margin-right: 24px; }
  .ps-reading-page { padding: 10px 24px 40px; }
  .ps-reading-page section { padding-top: 25px; margin-bottom: 45px; }
  .ps-reading-page section > h2 { font-size: 36px; }
  .ps-source-list h3 { font-size: 28px; }
  .ps-footer { display: block; margin: 0 24px; padding-top: 32px; }
  .ps-footer nav { font-size: 19px; gap: 13px 23px; margin-bottom: 28px; }
  .ps-footer p { margin-bottom: 16px; }
  .ps-footer .ps-copyright { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
