/* Pure Amino Peptides — an explanation with one side left open. */
:root {
  --pa-ground: #ddf8e4;
  --pa-ink: #2a2a2a;
  --pa-accent: #1f8944;
  --pa-deep: #176333;
  --pa-structure: #d3ded6;
  --pa-surface: #fff;
  --pa-body: "B612", "Trebuchet MS", sans-serif;
  --pa-display: "Imbue", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--pa-ink); background: var(--pa-ground); font-family: var(--pa-body); font-size: 17px; line-height: 1.8; }
img { display: block; width: 100%; height: auto; color: var(--pa-ink); font-size: 16px; }
figure, blockquote { margin: 0; }
button, input { font: inherit; }
a { color: var(--pa-ink); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pa-ink); outline-offset: 6px; }
::selection { color: var(--pa-ink); background: var(--pa-ground); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--pa-display); font-weight: 500; line-height: 1.02; }
p + p { margin-top: 22px; }
strong { font-weight: 700; }
.pa-width { width: min(1232px, calc(100% - 112px)); margin-inline: auto; }
.pa-skip { position: absolute; z-index: 10; top: -110px; left: 22px; padding: 12px 22px; background: var(--pa-surface); }
.pa-skip:focus { top: 12px; }
.pa-crossing { height: 128px; position: relative; display: grid; grid-template-columns: 1fr 200px; align-items: start; margin-top: 24px; margin-bottom: 24px; }
.pa-crossing::before { content: ""; position: absolute; inset: 26px 15px 26px 26px; border: 4px solid var(--pa-accent); border-left: 0; pointer-events: none; }
.pa-wordmark { position: relative; justify-self: start; z-index: 1; padding: 0 24px 12px 0; font-family: var(--pa-display); font-size: 42px; line-height: 1; text-decoration: none; background: var(--pa-ground); }
.pa-wordmark span { display: inline; }
.pa-wordmark:hover { text-decoration: underline; }
.pa-navigation { align-self: end; display: flex; flex-direction: column; align-items: flex-start; padding: 8px 0 0 24px; background: var(--pa-ground); z-index: 1; }
.pa-navigation a { display: flex; gap: 12px; align-items: center; padding: 2px 0; font-size: 16px; text-decoration: none; }
.pa-navigation a:hover span, .pa-navigation a[aria-current="page"] span { text-decoration: underline; text-underline-offset: 5px; }
.pa-navigation svg { width: 18px; height: 18px; stroke-width: 1.7; }
/* The photograph is the entire stage. The opaque mint cut follows its glass edges. */
.pa-opening { position: relative; isolation: isolate; min-height: 626px; background: var(--pa-structure); margin-bottom: 38px; }
.pa-hero-picture { position: absolute; inset: 0; z-index: -1; }
.pa-hero-picture img { height: 100%; width: 100%; object-fit: cover; object-position: 60% 56%; }
.pa-hero-composition { position: relative; display: grid; grid-template-columns: minmax(0, 600px) 1fr; align-items: start; min-height: 626px; padding-top: 36px; padding-bottom: 62px; }
.pa-title-cut { position: relative; color: var(--pa-ground); background: var(--pa-deep); padding: 26px 46px 52px 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), calc(100% - 64px) 100%, 0 100%); }
.pa-title-cut::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--pa-accent); }
.pa-title-cut::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 6px; background: var(--pa-accent); }
.pa-opening h1 { width: 600px; max-width: 100%; font-size: clamp(66px, 6.6vw, 96px); line-height: .98; letter-spacing: -.018em; }
.pa-opening-modifier { display: block; font-size: 39px; line-height: 1.12; letter-spacing: 0; margin-bottom: 18px; }
.pa-opening-clause { display: block; }
.pa-home-lead { grid-column: 2; width: 356px; max-width: 100%; justify-self: end; align-self: end; background: var(--pa-ground); border-top: 5px solid var(--pa-accent); padding: 24px 26px 25px; margin: 0 0 -100px 30px; box-shadow: 12px 12px 0 var(--pa-structure); font-size: 17px; line-height: 1.8; }
.pa-open-window { position: absolute; width: 214px; height: 126px; top: 37px; right: 26px; border: 5px solid var(--pa-accent); border-bottom: 0; pointer-events: none; animation: pa-frame-arrives .85s cubic-bezier(.2,.7,.3,1) both; }
@keyframes pa-frame-arrives { from { transform: translateY(14px); } to { transform: translateY(0); } }
/* Shared edges hold the explanation; photographs step outside the case. */
.pa-reading-space { background: var(--pa-surface); padding: 92px 0 106px; }
.pa-clearcase { border: 4px solid var(--pa-structure); border-right: 0; position: relative; padding: 46px 44px 48px 66px; display: grid; grid-template-columns: 318px minmax(0, 1fr); column-gap: 68px; row-gap: 38px; }
.pa-clearcase + .pa-clearcase { margin-top: -4px; border-left: 0; border-right: 4px solid var(--pa-structure); }
.pa-clearcase:nth-child(2n+3) { border-left: 4px solid var(--pa-structure); border-right: 0; }
.pa-case-number { position: absolute; top: 35px; left: -29px; font-family: var(--pa-display); font-size: 92px; line-height: 1; color: var(--pa-accent); background: var(--pa-surface); padding-block: 6px; letter-spacing: -.045em; }
.pa-upper-edge { display: grid; grid-template-columns: 1fr 1.14fr; gap: 68px; align-items: start; grid-column: 1 / -1; }
.pa-upper-edge h2 { max-width: 440px; font-size: 61px; }
.pa-upper-edge > p { font-size: 19px; line-height: 1.8; max-width: 570px; }
.pa-aperture { width: 318px; max-width: 100%; margin: 4px 0 26px -94px; align-self: start; }
.pa-aperture img { height: 212px; object-fit: cover; background: var(--pa-structure); box-shadow: 12px 12px 0 var(--pa-ground), 12px 16px 0 var(--pa-accent); }
.pa-aperture figcaption { font-size: 16px; line-height: 1.65; margin-top: 29px; padding-left: 18px; border-left: 4px solid var(--pa-accent); max-width: 294px; }
.pa-lower-edge { grid-column: 2; max-width: 610px; padding-top: 2px; }
.pa-clearcase:nth-child(even) { grid-template-columns: minmax(0, 1fr) 318px; padding-left: 44px; padding-right: 66px; }
.pa-clearcase:nth-child(even) .pa-case-number { left: auto; right: -25px; }
.pa-clearcase:nth-child(even) .pa-aperture { grid-column: 2; grid-row: 2; margin-left: 94px; }
.pa-clearcase:nth-child(even) .pa-lower-edge { grid-column: 1; grid-row: 2; }
.pa-clearcase:nth-child(3n) .pa-aperture { margin-top: 42px; }
.pa-clearcase a { text-decoration-color: var(--pa-accent); }
.pa-case-without-photo .pa-lower-edge { grid-column: 2; }
.pa-case-without-photo:nth-child(even) .pa-lower-edge { grid-column: 1 / -1; max-width: 760px; margin-left: auto; }
/* Article headers keep a broad photographic pause, with their words on mint. */
.pa-inner-opening { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 32px 92px; align-items: end; padding: 25px 0 65px; }
.pa-breadcrumb { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; font-size: 16px; margin-bottom: 14px; }
.pa-breadcrumb svg { width: 16px; height: 16px; }
.pa-inner-opening h1 { font-size: clamp(58px, 5.7vw, 82px); max-width: 760px; }
.pa-inner-lead { padding-bottom: 3px; font-size: 18px; line-height: 1.8; }
.pa-inner-photo { position: relative; grid-column: 1 / -1; width: calc(100% + 56px); margin-top: 18px; margin-left: -56px; height: 250px; background: var(--pa-structure); box-shadow: 18px 18px 0 var(--pa-accent); }
.pa-inner-photo::after { content: ""; position: absolute; height: 70px; width: 4px; background: var(--pa-accent); left: 56px; bottom: -70px; }
.pa-inner-photo img { height: 100%; object-fit: cover; object-position: center 56%; }
.pa-article .pa-reading-space { padding-top: 72px; }
.pa-reference-field { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 100px; }
.pa-reference-aside { align-self: start; position: sticky; top: 35px; border-left: 5px solid var(--pa-accent); padding-left: 24px; }
.pa-reference-aside > svg { width: 30px; height: 30px; stroke-width: 1.7; margin-bottom: 24px; }
.pa-reference-aside h2 { font-size: 52px; margin-bottom: 24px; }
.pa-reference-aside p { font-size: 16px; }
.pa-source-entry { padding: 35px 0; border-bottom: 3px solid var(--pa-structure); }
.pa-source-entry:first-child { padding-top: 0; }
.pa-source-entry h2 { font-size: 39px; margin-bottom: 18px; }
.pa-source-detail { font-size: 16px; line-height: 1.7; }
.pa-source-entry p + p { margin-top: 13px; }
.pa-reading-on { display: grid; grid-template-columns: .8fr 1.4fr; gap: 100px; padding-block: 82px; }
.pa-reading-on h2 { font-size: 65px; max-width: 320px; }
.pa-reading-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 42px; align-content: start; }
.pa-reading-links a { border-bottom: 3px solid var(--pa-structure); padding: 10px 0 16px; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: border-color .18s ease; }
.pa-reading-links a:hover { border-color: var(--pa-accent); text-decoration: underline; }
.pa-reading-links svg { height: 20px; width: 20px; flex: 0 0 20px; stroke-width: 1.7; transition: transform .18s ease; }
.pa-reading-links a:hover svg, .pa-reading-links a:focus-visible svg { transform: translate(3px, -3px); }
.pa-colophon { padding: 35px 0 40px; border-top: 6px solid var(--pa-accent); display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.pa-guide-line { max-width: 480px; font-size: 16px; }
.pa-footer-other { justify-self: end; font-size: 16px; }
.pa-footer-other nav { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.pa-not-found { min-height: 52vh; padding-block: 70px; }
.pa-not-found h1 { font-size: 90px; max-width: 700px; margin-bottom: 30px; }
.pa-not-found p { max-width: 580px; }
@media (min-width: 1600px) {
  .pa-opening { min-height: 690px; }
  .pa-hero-composition { min-height: 690px; }
}
@media (max-width: 1100px) {
  .pa-width { width: calc(100% - 64px); }
  .pa-hero-composition { grid-template-columns: minmax(0, 58%) minmax(0, 42%); }
  .pa-title-cut { padding-right: 32px; }
  .pa-opening h1 { font-size: 77px; }
  .pa-opening-modifier { font-size: 34px; }
  .pa-home-lead { font-size: 16px; width: 310px; padding: 24px; }
  .pa-open-window { right: 0; width: 150px; height: 100px; }
  .pa-clearcase, .pa-clearcase:nth-child(even) { padding: 40px 38px; column-gap: 38px; grid-template-columns: 32% minmax(0, 1fr); }
  .pa-upper-edge { gap: 38px; }
  .pa-upper-edge h2 { font-size: 51px; }
  .pa-aperture { width: 100%; margin-left: -50px; }
  .pa-clearcase:nth-child(even) { grid-template-columns: minmax(0, 1fr) 32%; }
  .pa-clearcase:nth-child(even) .pa-aperture { margin-left: 50px; }
  .pa-aperture img { height: 185px; }
  .pa-inner-opening { gap: 35px; }
  .pa-inner-photo { margin-left: -24px; width: calc(100% + 24px); }
  .pa-reference-field { gap: 50px; grid-template-columns: 210px minmax(0, 1fr); }
  .pa-reading-on { gap: 60px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; line-height: 1.8; }
  .pa-width { width: calc(100% - 44px); }
  .pa-crossing { height: 90px; margin-top: 22px; margin-bottom: 22px; grid-template-columns: 1fr 1fr; }
  .pa-crossing::before { inset: 14px 12px 14px 14px; border-width: 3px; border-left: 0; }
  .pa-wordmark { grid-column: 2; grid-row: 1; justify-self: end; font-size: 29px; line-height: .98; padding: 0 0 8px 12px; }
  .pa-wordmark span { display: block; }
  .pa-navigation { grid-column: 1; grid-row: 1; align-self: end; padding: 1px 14px 0 0; gap: 0; }
  .pa-navigation a { font-size: 16px; line-height: 1.55; padding: 1px 0; gap: 8px; }
  .pa-navigation svg { height: 15px; width: 15px; }
  .pa-opening { min-height: 670px; margin-bottom: 0; }
  .pa-hero-picture img { object-position: 68% 100%; }
  .pa-hero-composition { display: flex; flex-direction: column; min-height: 670px; padding-top: 22px; padding-bottom: 170px; }
  .pa-title-cut { width: 100%; padding: 22px 22px 32px 18px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%); }
  .pa-title-cut::before { height: 5px; }
  .pa-title-cut::after { width: 4px; }
  .pa-opening h1 { width: 100%; font-size: clamp(48px, 13.6vw, 72px); line-height: 1.01; letter-spacing: -.015em; }
  .pa-opening-modifier { font-size: 28px; line-height: 1.1; margin-bottom: 13px; }
  .pa-home-lead { align-self: flex-start; width: calc(100% - 20px); max-width: none; font-size: 16px; line-height: 1.75; padding: 20px 20px 22px 18px; margin: 12px 0 -32px; border-top-width: 3px; box-shadow: 8px 8px 0 var(--pa-structure); }
  .pa-open-window { display: none; }
  .pa-reading-space, .pa-article .pa-reading-space { padding-block: 34px 32px; }
  .pa-clearcase, .pa-clearcase + .pa-clearcase, .pa-clearcase:nth-child(2n+3), .pa-clearcase:nth-child(even) { display: block; border: 0; border-top: 4px solid var(--pa-structure); padding: 27px 0 34px; margin-top: 0; }
  .pa-case-number, .pa-clearcase:nth-child(even) .pa-case-number { position: static; display: block; width: max-content; font-size: 55px; line-height: .95; padding: 0; margin-bottom: 24px; background: transparent; }
  .pa-upper-edge { display: block; }
  .pa-upper-edge h2 { font-size: 45px; max-width: 100%; margin-bottom: 24px; }
  .pa-upper-edge > p { font-size: 18px; line-height: 1.8; }
  .pa-aperture, .pa-clearcase:nth-child(even) .pa-aperture, .pa-clearcase:nth-child(3n) .pa-aperture { width: 80%; margin: 30px 12px 30px 0; }
  .pa-clearcase:nth-child(even) .pa-aperture { margin-left: auto; }
  .pa-aperture img { height: 170px; box-shadow: 8px 8px 0 var(--pa-ground), 8px 12px 0 var(--pa-accent); }
  .pa-aperture figcaption { margin-top: 25px; font-size: 16px; }
  .pa-lower-edge, .pa-case-without-photo:nth-child(even) .pa-lower-edge { max-width: none; margin: 28px 0 0; padding: 0; }
  .pa-inner-opening { display: block; padding-top: 20px; padding-bottom: 48px; }
  .pa-breadcrumb { margin: 0 0 28px; }
  .pa-inner-opening h1 { font-size: 53px; max-width: 100%; }
  .pa-inner-lead { font-size: 17px; margin-top: 28px; }
  .pa-inner-photo { width: 100%; height: 170px; margin: 32px 0 0; box-shadow: 10px 10px 0 var(--pa-accent); }
  .pa-inner-photo::after { height: 38px; bottom: -38px; left: 18px; }
  .pa-reference-field { display: block; }
  .pa-reference-aside { position: static; margin-bottom: 48px; }
  .pa-reference-aside h2 { font-size: 45px; }
  .pa-source-entry h2 { font-size: 36px; }
  .pa-source-entry { padding-block: 28px; }
  .pa-reading-on { display: block; padding-block: 45px; }
  .pa-reading-on h2 { max-width: 100%; font-size: 52px; margin-bottom: 28px; }
  .pa-reading-links { display: block; }
  .pa-reading-links a { margin-bottom: 6px; }
  .pa-colophon { display: block; padding-top: 25px; }
  .pa-footer-other { margin-top: 30px; }
  .pa-footer-other nav { gap: 22px; }
  .pa-not-found { padding-top: 35px; }
  .pa-not-found h1 { font-size: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; animation: none; transition: none; }
}
