@charset "UTF-8";

:root {
  --coat-ground: #f8d8e3;
  --coat-ink: #242424;
  --coat-turn: #1e8552;
  --coat-seam: #ded3d7;
  --coat-paper: #ffffff;
  --coat-display: "Emblema One", Georgia, serif;
  --coat-reading: "Pathway Extreme", "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--coat-ink); background: var(--coat-paper); font-family: var(--coat-reading); font-size: 18px; line-height: 1.7; overflow-wrap: break-word; }
a { color: var(--coat-ink); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--coat-ink); outline-offset: 5px; background: var(--coat-ground); }
img, svg { max-width: 100%; }
img { display: block; object-fit: cover; }
::selection { background: var(--coat-ink); color: var(--coat-paper); }
.coat-skip { position: fixed; left: 24px; top: -100px; z-index: 10; padding: 8px 16px; background: var(--coat-paper); }
.coat-skip:focus { top: 16px; }
.turn-wrap { width: calc(100% - 128px); max-width: 1280px; margin-inline: auto; }
h1, h2 { font-family: var(--coat-display); font-weight: 400; text-wrap: pretty; }
h1 { margin: 0; line-height: 1.08; font-size: clamp(48px, 5vw, 72px); letter-spacing: -1.6px; }

/* The wordmark lives on the upper face; the links sit on the return edge. */
.turn-header { position: relative; min-height: 140px; padding-top: 22px; }
.turn-header::after { content: ""; position: absolute; top: 0; right: 0; width: 78px; height: 18px; background: var(--coat-turn); }
.turn-lockup { position: relative; width: 630px; max-width: 100%; min-height: 112px; }
.turn-corner { position: absolute; inset: 6px 0 auto; width: 630px; height: 100px; fill: none; stroke: var(--coat-ink); stroke-width: 2.5; pointer-events: none; }
.coat-name { position: relative; display: inline-block; margin-left: 19px; padding-right: 24px; font-family: var(--coat-display); font-size: 29px; line-height: 1.6; white-space: nowrap; text-decoration: none; }
.coat-name:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.return-nav { position: relative; display: flex; align-items: baseline; gap: 29px; margin: 21px 0 0 41px; font-size: 16px; line-height: 1.5; }
.return-nav a { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 4px; text-decoration: none; transition: box-shadow 150ms ease, transform 150ms ease; }
.return-nav a:hover { box-shadow: 0 4px 0 var(--coat-turn); transform: translateY(-2px); }
.return-nav a[aria-current="page"] { box-shadow: 0 4px 0 var(--coat-turn); }
.return-nav svg { width: 19px; height: 19px; flex-shrink: 0; }

/* A real, edge-to-edge photograph; the opaque heading has a squared return cut. */
.opening-turn { position: relative; isolation: isolate; min-height: 660px; padding: 64px 0 52px; display: flex; align-items: flex-end; background: var(--coat-ground); }
.opening-photograph { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; margin: 0; }
.opening-photograph img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; }
.opening-frame { position: relative; }
.opening-note-frame { position: relative; width: min(590px, 49%); }
.opening-note-frame::before { position: absolute; content: ""; inset: 16px -16px -16px 16px; background: var(--coat-turn); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) calc(100% - 36px), calc(100% - 36px) 100%, 0 100%); }
.opening-note { position: relative; padding: 36px 42px 38px; border-left: 10px solid var(--coat-turn); background: var(--coat-ground); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) calc(100% - 36px), calc(100% - 36px) 100%, 0 100%); }
.opening-turn h1 { font-size: clamp(46px, 4.6vw, 66px); line-height: 1.1; }
.opening-turn h1 span { display: block; }
.opening-turn h1 .compound-name { white-space: nowrap; }
.opening-turn h1 .limit-line { font-size: .72em; line-height: 1.22; margin-top: 9px; letter-spacing: -1px; }
.opening-lead { margin: 27px 0 0; font-size: 21px; line-height: 1.55; text-wrap: pretty; }
.opening-rule { display: block; width: 92px; height: 8px; margin-top: 27px; background: var(--coat-turn); transform-origin: left; animation: coat-return 650ms ease-out; }
@keyframes coat-return { from { transform: scaleX(.3); } to { transform: scaleX(1); } }

/* The same inspection has a smaller photographic opening inside the notes. */
.inside-opening { padding-top: 25px; }
.inside-crumb { margin-top: 0; margin-bottom: 25px; font-size: 16px; }
.inside-crumb a { margin-right: 10px; }
.inside-crumb span { margin-left: 10px; }
.inside-band { position: relative; isolation: isolate; min-height: 470px; display: flex; align-items: center; background: var(--coat-ground); }
.inside-photo { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 58%; height: 100%; margin: 0; }
.inside-photo img { width: 100%; height: 100%; object-position: 60% 50%; }
.inside-title-grid { padding-block: 36px; }
.inside-note { width: 59%; padding: 34px 40px 38px 0; background: var(--coat-ground); border-right: 10px solid var(--coat-turn); }
.inside-title-grid h1 { font-size: clamp(38px, 3.5vw, 52px); line-height: 1.17; max-width: 700px; }
.inside-lead { max-width: 650px; margin: 24px 0 0; font-size: 21px; line-height: 1.6; }
.inside-opening.no-photo .inside-band { min-height: 0; background: var(--coat-paper); border-bottom: 12px solid var(--coat-ground); }
.inside-opening.no-photo .inside-title-grid { padding-top: 14px; padding-bottom: 42px; }
.inside-opening.no-photo .inside-note { width: min(930px, 100%); padding: 0; border: 0; background: var(--coat-paper); }
.inside-opening.no-photo h1 { max-width: 900px; }

/* Two reading pairs turn around one continuous, orthogonal centre seam. */
.elbow-reading { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); padding-top: 84px; padding-bottom: 26px; }
.elbow-thread { position: absolute; top: 84px; bottom: 26px; left: calc(50% - 38px); width: 76px; height: calc(100% - 110px); overflow: visible; fill: none; stroke: var(--coat-turn); stroke-width: 8; pointer-events: none; }
.elbow-piece { position: relative; min-width: 0; min-height: 320px; padding: 20px 24px 58px; }
.elbow-piece:nth-of-type(odd) { grid-column: 1; }
.elbow-piece:nth-of-type(even) { grid-column: 3; }
.elbow-piece:nth-of-type(1) { grid-row: 1; }
.elbow-piece:nth-of-type(2) { grid-row: 2; }
.elbow-piece:nth-of-type(3) { grid-row: 3; }
.elbow-piece:nth-of-type(4) { grid-row: 4; }
.seam-number { position: absolute; top: 12px; right: -60px; width: 64px; color: var(--coat-turn); font-family: var(--coat-display); font-size: 64px; line-height: 1; text-align: center; letter-spacing: -5px; pointer-events: none; }
.elbow-piece:nth-of-type(even) .seam-number { left: -60px; right: auto; }
.elbow-piece h2 { margin: 0 0 24px; max-width: 24ch; font-size: 31px; line-height: 1.3; }
.section-mark { display: block; width: 32px; height: 32px; margin-bottom: 18px; color: var(--coat-turn); }
.section-mark svg { width: 30px; height: 30px; }
.elbow-piece p { margin: 0 0 22px; }
.elbow-piece p:last-child { margin-bottom: 0; }
.coat-home .elbow-piece:first-of-type p:first-of-type { font-size: 21px; line-height: 1.65; }
.elbow-piece dl { margin: 0 0 28px; }
.elbow-piece dt { font-weight: 650; margin: 0 0 8px; }
.elbow-piece dd { margin: 0; }
.gutter-return { position: absolute; top: calc(25% - 48px); left: calc(50% - 44px); width: 88px; height: 96px; fill: var(--coat-turn); pointer-events: none; }
.fold-study { position: relative; align-self: center; justify-self: center; margin: 0; background: var(--coat-seam); }
.fold-study img { width: 100%; height: 100%; }
.turn-diamond { grid-column: 3; grid-row: 1; width: 88%; aspect-ratio: 1; margin-top: -34px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.turn-diamond img { object-position: 50% 44%; }
.fold-seam { grid-column: 1; grid-row: 2; width: 78%; height: 244px; margin-left: -24px; border: 12px solid var(--coat-ground); box-shadow: 18px 18px 0 var(--coat-seam); }
.fold-seam::after { position: absolute; content: ""; width: 78px; height: 78px; border-left: 10px solid var(--coat-turn); border-bottom: 10px solid var(--coat-turn); left: -30px; bottom: -30px; pointer-events: none; }
.straight-ending { position: relative; padding: 68px 0 72px; background: var(--coat-ground); }
.straight-ending::before { content: ""; position: absolute; top: 0; left: 0; width: 38%; height: 12px; background: var(--coat-turn); }
.ending-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.ending-inner h2 { font-size: 36px; line-height: 1.3; margin: 0; max-width: 20ch; }
.ending-words p { margin: 0 0 23px; }
.ending-words p:last-child { margin: 0; }
.reference-reading .elbow-piece p { margin-bottom: 28px; }

.coat-footer { padding-top: 52px; padding-bottom: 30px; }
.footer-spread { display: grid; grid-template-columns: 1.1fr 1fr; gap: 94px; }
.footer-signoff { max-width: 520px; margin: 0; font-size: 19px; }
.footer-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 26px; font-size: 16px; }
.footer-pages a { width: fit-content; }
.copyright-line { margin: 44px 0 0; padding-top: 20px; border-top: 3px solid var(--coat-seam); font-size: 16px; }
.lost-opening { padding-top: 76px; padding-bottom: 100px; min-height: 52vh; }
.lost-opening h1 { max-width: 900px; }
.lost-opening p { max-width: 620px; font-size: 22px; margin-top: 32px; }

@media (max-width: 1100px) and (min-width: 701px) {
  .turn-wrap { width: calc(100% - 80px); }
  .opening-turn { min-height: 650px; }
  .opening-note-frame { width: 56%; }
  .opening-note { padding: 30px 28px; }
  .opening-turn h1 { font-size: 49px; }
  .opening-lead { font-size: 19px; }
  .inside-note { width: 64%; padding-right: 28px; }
  .inside-title-grid h1 { font-size: 40px; }
  .inside-lead { font-size: 20px; }
  .elbow-reading { grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); }
  .elbow-piece { padding-inline: 8px; }
  .elbow-piece h2 { font-size: 27px; }
  .seam-number { font-size: 48px; width: 44px; right: -36px; }
  .elbow-piece:nth-of-type(even) .seam-number { left: -36px; }
  .elbow-thread { width: 54px; left: calc(50% - 27px); }
  .fold-seam { height: 190px; border-width: 8px; margin-left: 0; }
  .fold-seam::after { width: 48px; height: 48px; left: -18px; bottom: -18px; border-width: 7px; }
  .ending-inner { gap: 60px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 16px; }
  body { font-size: 17px; line-height: 1.72; }
  .turn-wrap { width: calc(100% - 48px); }
  .turn-header { min-height: 96px; height: 96px; padding-top: 8px; }
  .turn-header::after { display: none; }
  .turn-lockup { width: 100%; height: 88px; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 43px 29px; column-gap: 22px; row-gap: 6px; align-items: center; }
  .coat-name { grid-column: 1; grid-row: 1; display: block; width: 100%; font-size: 16px; line-height: 1.2; margin: 0; padding: 0; white-space: normal; max-width: 150px; }
  .coat-name .brand-second { display: block; }
  .turn-corner { top: 38px; left: calc(50% - 11px); width: 22px; height: 21px; stroke-width: 6; }
  .return-nav { display: contents; }
  .return-nav a { font-size: 15px; gap: 6px; padding: 0; width: fit-content; min-height: 28px; }
  .return-nav a:nth-child(1) { grid-column: 2; grid-row: 1; justify-self: end; }
  .return-nav a:nth-child(2) { grid-column: 1; grid-row: 2; }
  .return-nav a:nth-child(3) { grid-column: 2; grid-row: 2; justify-self: end; }
  .return-nav svg { width: 17px; height: 17px; }
  .opening-turn { min-height: 0; padding: 210px 0 38px; }
  .opening-photograph img { object-position: 57% 50%; }
  .opening-note-frame { width: 100%; }
  .opening-note-frame::before { inset: 10px -10px -10px 10px; }
  .opening-note { padding: 26px 22px 30px; border-left-width: 7px; }
  .opening-turn h1 { font-size: clamp(34px, 10.3vw, 48px); line-height: 1.12; letter-spacing: -.9px; }
  .opening-turn h1 .limit-line { font-size: .76em; line-height: 1.22; letter-spacing: -.6px; margin-top: 8px; }
  .opening-lead { margin-top: 22px; font-size: 18px; line-height: 1.6; }
  .opening-rule { width: 64px; height: 7px; margin-top: 24px; }
  .inside-opening { padding-top: 22px; }
  .inside-crumb { font-size: 15px; margin-bottom: 22px; }
  .inside-band { min-height: 0; padding-top: 164px; }
  .inside-photo { inset: 0; width: 100%; height: 240px; }
  .inside-photo img { object-position: 60% 42%; }
  .inside-title-grid { padding-block: 0; }
  .inside-note { width: 100%; padding: 26px 22px 30px; border: 0; border-top: 7px solid var(--coat-turn); }
  .inside-title-grid h1 { font-size: clamp(31px, 8.8vw, 43px); line-height: 1.2; letter-spacing: -.8px; }
  .inside-lead { font-size: 19px; margin-top: 23px; line-height: 1.65; }
  .inside-opening.no-photo .inside-band { padding-top: 0; }
  .inside-opening.no-photo .inside-title-grid { padding-top: 3px; padding-bottom: 34px; }
  .elbow-reading { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 0; }
  .elbow-thread, .gutter-return { display: none; }
  .elbow-piece { grid-column: 1; min-height: 0; padding: 0 0 50px; }
  .elbow-piece:nth-of-type(even) { grid-column: 1; }
  .elbow-piece:nth-of-type(2) { grid-row: 3; }
  .elbow-piece:nth-of-type(3) { grid-row: 4; }
  .elbow-piece:nth-of-type(4) { grid-row: 5; }
  .seam-number, .elbow-piece:nth-of-type(even) .seam-number { top: 0; left: 0; right: auto; width: 46px; font-size: 41px; letter-spacing: -2px; text-align: left; }
  .elbow-piece h2 { font-size: 27px; line-height: 1.3; margin-bottom: 22px; max-width: 100%; }
  .section-mark { width: 28px; height: 28px; margin-left: 62px; margin-bottom: 23px; }
  .section-mark svg { width: 27px; height: 27px; }
  .elbow-piece p { margin-bottom: 21px; }
  .coat-home .elbow-piece:first-of-type p:first-of-type { font-size: 19px; }
  .turn-diamond { grid-column: 1; grid-row: 2; width: 210px; height: 210px; margin: 0 auto 48px; }
  .fold-seam { display: none; }
  .straight-ending { padding: 43px 0 48px; }
  .straight-ending::before { width: 44%; height: 8px; }
  .ending-inner { grid-template-columns: 1fr; gap: 25px; }
  .ending-inner h2 { font-size: 29px; max-width: 100%; }
  .coat-footer { padding-top: 38px; padding-bottom: 28px; }
  .footer-spread { grid-template-columns: 1fr; gap: 32px; }
  .footer-signoff { font-size: 17px; }
  .footer-pages { gap: 12px 22px; }
  .copyright-line { margin-top: 35px; }
  .lost-opening { padding-top: 47px; padding-bottom: 70px; }
  .lost-opening h1 { font-size: 40px; }
  .lost-opening p { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .opening-rule { animation: none; }
  .return-nav a { transition: none; }
  .return-nav a:hover { transform: none; }
}
