:root { color-scheme: light; --paper: #f4f1e9; --ink: #30332f; --muted: #63645b; --accent: #786047; --serif: 'Transcity', 'Fraunces', Georgia, serif; --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); --safe-left: env(safe-area-inset-left, 0px); --safe-right: env(safe-area-inset-right, 0px); --sans: 'Source Sans 3', sans-serif; }
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; padding-top: var(--safe-top); padding-bottom: var(--safe-bottom); position: relative; isolation: isolate; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::after { content: ''; position: fixed; inset: 0; z-index: 10; pointer-events: none; background: url('../res/images/paper-grain.svg'); opacity: .34; mix-blend-mode: multiply; }
::selection { background: #d9d7c8; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3,.wordmark,.contact-email { font-family: var(--serif); font-weight: 400; font-synthesis: none; color: #4a4c43; letter-spacing: .005em; }
h1 { font-size: clamp(45px, 4.8vw, 70px); line-height: 1.13; }
h2 { line-height: 1.12; }
h1 em,h2 em,h3 em { font-style: normal; color: var(--accent); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 100px - var(--safe-left) - var(--safe-right))); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.hero-engraving { position: fixed; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: multiply; opacity: .55; mask-image: linear-gradient(90deg,#000,transparent 18%,transparent 82%,#000); }
/* Each side is anchored separately, without changing the artwork's aspect ratio. */
.hero-engraving::before,.hero-engraving::after { content: ''; position: absolute; top: 0; bottom: 0; width: 50%; background-image: url('../res/images/engraved-border.webp'); background-size: auto 112%; background-repeat: no-repeat; }
.hero-engraving::before { left: 0; background-position: left -140px center; }
.hero-engraving::after { right: 0; background-position: right -140px center; }
.masthead-main { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 90px; }
.wordmark { font-size: 43px; line-height: 1; text-decoration: none; }
.site-nav { display: flex; gap: 28px; font-size: 14px; }
.site-nav a { text-decoration: none; padding-block: 12px; position: relative; }
.site-nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: var(--accent); }
.page { padding: 65px 0; }
.page-inner { width: min(1060px, calc(100% - 200px - var(--safe-left) - var(--safe-right))); margin: auto; }
.eyebrow,.section-index,.work-type,.about-footnotes span,.contact-social { letter-spacing: .12em; font-size: 10px; line-height: 1.6; color: var(--muted); }
.section-index,.eyebrow { margin-bottom: 23px; }
.hero-copy { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 65px; align-items: center; }
.portrait-figure { width: 100%; max-width: 370px; }
.portrait-figure img { width: 100%; height: auto; filter: grayscale(1) contrast(1.08) brightness(1.08); mix-blend-mode: multiply; }
.hero-lede { font-size: 19px; color: var(--muted); max-width: 460px; margin-top: 25px; }
.hero-links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.hero-links a { padding-block: 8px; }
.hero-links span { margin-left: 7px; }
.spread-heading { margin-bottom: 30px; }
.spread-heading h2 { font-size: clamp(40px, 4.2vw, 58px); }
.spread-heading > p:last-child { color: var(--muted); margin-top: 13px; font-size: 16px; }
.timeline { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 55px; }
.timeline-date { display: block; font: 600 21px/1.3 var(--sans); color: var(--accent); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.timeline-org { font: 600 16px/1.4 var(--sans); letter-spacing: .01em; margin-bottom: 9px; }
.timeline-entry h3 { font-size: 32px; line-height: 1.22; margin-bottom: 12px; }
.timeline-entry div > p:last-child { font-size: 16px; color: #53564e; }
.timeline-earlier { margin-top: 25px; font-size: 13px; color: var(--muted); }
.work-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 44px; }
.work-item { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 22px; align-items: center; }
.work-item:nth-child(even) { grid-template-columns: minmax(0,1fr) 150px; }
.work-sketch { grid-column: 1; grid-row: 1; }
.work-copy { grid-column: 2; grid-row: 1; }
.work-item:nth-child(even) .work-sketch { grid-column: 2; }
.work-item:nth-child(even) .work-copy { grid-column: 1; }
.work-sketch img { width: 100%; height: auto; max-height: 160px; object-fit: contain; mix-blend-mode: multiply; }
.work-type { font-size: 9px; margin-bottom: 10px; }
.work-copy h3 { font-size: 29px; line-height: 1.22; margin-bottom: 12px; }
.work-copy h3 a { text-decoration: none; }
.work-copy h3 a:hover { text-decoration: underline; }
.work-copy h3 span { font: 17px var(--sans); color: var(--accent); }
.work-copy > p:last-child { font-size: 15px; color: var(--muted); }
.section-tail { margin-top: 27px; font-size: 14px; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 65px; align-items: center; }
.contact-layout h2 { font-size: clamp(48px, 5.7vw, 78px); }
.contact-links { margin-top: 35px; }
.contact-email { font-size: 36px; }
.contact-email span { font: 400 .65em/1 var(--sans); vertical-align: .06em; }
.contact-social { display: flex; gap: 28px; margin-top: 32px; font-size: 11px; }
.contact-social a { padding-block: 10px; }
.about-copy > p { font-size: 21px; color: var(--muted); }
.about-footnotes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; margin-top: 40px; }
.about-footnotes span,.about-footnotes strong,.about-footnotes small { display: block; }
.about-footnotes span { font-size: 9px; margin-bottom: 10px; }
.about-footnotes strong { font-size: 16px; font-weight: 600; }
.about-footnotes small { font-size: 15px; color: var(--muted); }
.reader-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 78px; }
.signature,.reader-hint { color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.page-controls { display: flex; align-items: center; gap: 24px; }
.page-controls button { position: fixed; top: 50%; transform: translateY(-50%); z-index: 12; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.page-controls button:hover:not(:disabled) { color: var(--accent); }
.page-controls button:disabled { opacity: .28; cursor: default; }
.page-controls button svg { display: block; width: 18px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#previous-page { left: calc(24px + var(--safe-left)); }
#next-page { right: calc(24px + var(--safe-right)); }
#page-status { font-size: 12px; color: var(--muted); min-width: 225px; text-align: center; }
/* Native scrolling handles trackpad momentum, touch and scroll snapping. */
.reader { overscroll-behavior-x: none; }
.reader body { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.reader .site-header,.reader .site-footer { flex-shrink: 0; }
/* Blend the scrolling surface too: Safari composites its contents separately. */
.reader #main { flex: 1; min-height: 0; width: 100%; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: none; scrollbar-width: none; mix-blend-mode: multiply; }
.reader #main::-webkit-scrollbar { display: none; }
.reader .page { flex: 0 0 100%; min-width: 0; height: 100%; overflow-y: auto; overflow-x: hidden; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: safe center; padding: 25px 0; scrollbar-width: thin; }
.reader .page-inner { flex-shrink: 0; margin-block: auto; }
@media (max-width: 1050px) {
 .wrap { width: calc(100% - 64px - var(--safe-left) - var(--safe-right)); }
 .page-inner { width: calc(100% - 152px - var(--safe-left) - var(--safe-right)); }
 .hero-copy { gap: 40px; }
 .reader-hint { display: none; }
 #previous-page { left: calc(12px + var(--safe-left)); }
 #next-page { right: calc(12px + var(--safe-right)); }
}
@media (max-width: 1050px) and (min-width: 681px) {
 .timeline { gap: 24px 35px; }
 .timeline-entry h3 { font-size: 28px; }
 .work-list { gap: 26px; }
 .work-item { grid-template-columns: 105px minmax(0,1fr); gap: 16px; }
 .work-item:nth-child(even) { grid-template-columns: minmax(0,1fr) 105px; }
 .work-copy h3 { font-size: 26px; }
 .contact-layout { gap: 35px; }
 .about-footnotes { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
 .wrap { width: auto; margin-left: calc(18px + var(--safe-left)); margin-right: calc(18px + var(--safe-right)); }
 .page-inner { width: calc(100% - 112px - var(--safe-left) - var(--safe-right)); }
 .masthead-main { min-height: 100px; flex-wrap: wrap; gap: 8px; padding-block: 17px 5px; }
 .wordmark { font-size: 38px; }
 .site-nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 13px; }
 .site-nav a { min-height: 44px; }
 .hero-engraving { opacity: .44; mask-image: linear-gradient(90deg,#000,transparent 17%,transparent 83%,#000); }
 .reader .page { padding-block: 16px; }
 .hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
 .portrait-figure { width: 44%; max-width: 170px; margin-left: 3%; }
 .eyebrow,.section-index { font-size: 9px; margin-bottom: 14px; }
 h1 { font-size: clamp(32px, 8.7vw, 44px); }
 .hero-lede { font-size: 16px; margin-top: 18px; }
 .hero-links { font-size: 13px; margin-top: 17px; gap: 20px; }
 .spread-heading { margin-bottom: 25px; }
 .spread-heading h2 { font-size: 38px; }
 .spread-heading > p:last-child { margin-top: 12px; font-size: 14px; }
 .timeline { grid-template-columns: 1fr; gap: 27px; }
 .timeline-date { font-size: 20px; }
 .timeline-org { font-size: 15px; }
 .timeline-entry h3 { font-size: 28px; margin-bottom: 8px; }
 .timeline-entry div > p:last-child { line-height: 1.55; }
 .timeline-earlier { font-size: 12px; }
 .work-list { grid-template-columns: 1fr; gap: 29px; }
 .work-item,.work-item:nth-child(even) { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
 .work-sketch { order: -1; width: 65%; align-self: flex-start; }
 .work-item:nth-child(even) .work-sketch { align-self: flex-end; }
 .work-sketch img { max-height: 125px; }
 .work-copy h3 { font-size: 27px; }
 .section-tail { margin-top: 24px; font-size: 13px; }
 .contact-layout { display: block; }
 .contact-layout h2 { font-size: 48px; }
 .contact-links { margin-top: 25px; }
 .contact-email { font-size: 30px; }
 .contact-social { margin-top: 18px; }
 .about-copy { margin-top: 35px; }
 .about-copy > p { font-size: 18px; }
 .about-footnotes { margin-top: 28px; gap: 20px; grid-template-columns: 1fr; }
 .reader-footer { min-height: 66px; gap: 0; }
 .reader .signature { display: none; }
 .page-controls { width: 100%; justify-content: center; }
 #page-status { font-size: 10px; min-width: 0; }
 #previous-page { left: calc(4px + var(--safe-left)); }
 #next-page { right: calc(4px + var(--safe-right)); }
}
@media (max-height: 700px) and (min-width: 681px) {
 .masthead-main { min-height: 72px; }
 .reader-footer { min-height: 62px; }
 .portrait-figure { max-width: 300px; }
}
@media print {
 .reader body { padding: 0; height: auto; display: block; overflow: visible; }
 .reader #main { display: block; overflow: visible; }
 .reader .page { display: block; height: auto; overflow: visible; break-after: page; padding: 30px 0; }
 .page-inner { width: 100%; }
 .site-header,.site-footer,.hero-engraving,body::after { display: none; }
}
