@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,500;1,6..72,500&display=swap');

:root {
  --ink: #10211b;
  --forest: #173c32;
  --forest-bright: #245c4b;
  --paper: #f5f0e6;
  --paper-deep: #e8dfcf;
  --white: #fffdf8;
  --coral: #ee6a4b;
  --gold: #d6a94b;
  --muted: #6e756f;
  --line: rgba(16, 33, 27, .16);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --content: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--coral); color: white; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; color: white; background: var(--forest); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.site-header { position: absolute; z-index: 30; top: 0; left: 0; right: 0; width: var(--content); margin: auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.3); color: white; }
.site-header.compact { position: relative; width: 100%; padding-inline: max(24px, calc((100vw - 1180px) / 2)); background: var(--paper); color: var(--ink); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 48px; height: 48px; flex: 0 0 48px; display: block; overflow: hidden; color: transparent; background: var(--paper) url('../holmes logo.png') center / cover no-repeat; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 0; }
.site-header.compact .brand-mark, .site-footer .brand-mark { border-color: var(--line); }
.desktop-nav { display: flex; align-items: center; gap: 1.3rem; font-size: .88rem; font-weight: 600; }
.desktop-nav a { position: relative; padding: .5rem 0; }
.desktop-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: currentColor; transition: right .25s; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.nav-cta { padding: .6rem 1rem !important; color: var(--ink); background: var(--white); border-radius: 99px; }
.menu-toggle, .mobile-menu { display: none; }

.hero { min-height: 720px; display: grid; grid-template-columns: .92fr 1.08fr; color: white; background: var(--forest); overflow: hidden; }
.hero-copy { width: min(690px, calc(100% - 48px)); margin-right: max(24px, calc((100vw - 1180px) / 2)); padding: 170px 0 90px 4.5rem; align-self: center; }
.eyebrow { margin: 0 0 1.2rem; color: var(--coral); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .page-hero h1, .photo-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.7rem, 5.2vw, 5.8rem); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
.hero h1 em { color: #f1bc5d; font-weight: 500; }
.hero h1.hero-quote { max-width: 720px; font-size: clamp(3.1rem, 4.6vw, 5rem); }
.hero-intro { max-width: 590px; margin: 2rem 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 2px; font-size: .86rem; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--ink); background: var(--coral); }
.button.secondary { color: inherit; border-color: currentColor; background: transparent; }
.button.light { color: var(--ink); background: var(--white); }
.button.ghost { color: white; border-color: rgba(255,255,255,.5); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 600px; margin: 3.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.hero-facts div { padding-right: 1rem; }
.hero-facts dt { color: rgba(255,255,255,.5); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-facts dd { margin: .25rem 0 0; font-size: .86rem; }
.hero-portrait { position: relative; align-self: stretch; background: #b9c6bc; }
.portrait-frame, .portrait-frame img { width: 100%; height: 100%; }
.portrait-frame img { object-fit: cover; object-position: center; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(23,60,50,.22), transparent 45%); pointer-events: none; }
.portrait-note { position: absolute; z-index: 2; right: 2rem; bottom: 2rem; margin: 0; padding: .8rem 1rem; color: var(--ink); background: rgba(255,253,248,.9); backdrop-filter: blur(8px); font-size: .78rem; }
.portrait-note span { display: block; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.worlds { width: var(--content); margin: -52px auto 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); box-shadow: 0 22px 70px rgba(16,33,27,.12); }
.worlds a { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: .15rem 1rem; align-content: center; padding: 1.7rem; border-right: 1px solid var(--line); transition: color .25s, background .25s; }
.worlds a:last-child { border: 0; }
.worlds a:hover { color: white; background: var(--forest); }
.world-number { grid-row: 1 / 3; color: var(--coral); font-family: var(--serif); font-size: 1.25rem; }
.worlds strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.worlds small { color: var(--muted); }
.worlds a:hover small { color: rgba(255,255,255,.65); }
.worlds a > :last-child { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 1.35rem; }

.section { width: var(--content); margin: 0 auto; padding: 130px 0; }
.section-heading { max-width: 750px; margin-bottom: 3.8rem; }
.section-heading.horizontal { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading.horizontal > p { max-width: 420px; margin: 0; color: var(--muted); }
.section h2, .gallery-cta h2, .connect-section h2, .library-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.research-section { padding: 105px 0 80px; }
.career-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0 0 75px; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.career-timeline li { position: relative; min-width: 0; padding: 1.4rem 1.6rem 1.4rem 0; }
.career-timeline li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: .55rem; color: var(--coral); font-size: 1.25rem; transform: translateY(-50%); }
.career-timeline time { display: block; margin-bottom: .45rem; color: var(--coral); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.career-timeline strong { display: block; padding-right: 1rem; font-family: var(--serif); font-size: 1.18rem; font-weight: 500; line-height: 1.15; }
.career-timeline span { display: block; padding-right: 1rem; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.research-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: center; }
.research-image { margin: 0; }
.research-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.research-image figcaption { margin-top: .7rem; color: var(--muted); font-size: .78rem; }
.lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.28; }
.research-copy > p:not(.lead), .about-copy > p:not(.lead) { color: var(--muted); }
.expertise { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2rem 0; }
.expertise span { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 99px; font-size: .75rem; }
.profile-buttons { display: flex; flex-wrap: wrap; gap: .65rem; margin: 2rem 0; }
.profile-button { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .55rem .8rem; color: var(--forest-bright); background: var(--white); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; transition: color .2s, background .2s, transform .2s; }
.profile-button:hover { color: white; background: var(--forest); transform: translateY(-2px); }
.text-link { display: inline-flex; gap: .5rem; align-items: center; color: var(--forest-bright); font-size: .86rem; font-weight: 700; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.section-links { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; }

.writing-preview { padding: 90px 0 75px; border-top: 1px solid var(--line); }
.writing-preview-footer, .gallery-actions { display: flex; justify-content: flex-end; margin-top: 2rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card { min-width: 0; background: var(--white); border-bottom: 3px solid transparent; transition: transform .25s, border-color .25s; }
.post-card:hover { transform: translateY(-5px); border-color: var(--coral); }
.post-card img, .post-image-placeholder { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--paper-deep); }
.post-card-content { padding: 1.35rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .7rem; color: var(--coral); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1.1; }
.post-card p { margin: 0 0 1rem; color: var(--muted); font-size: .86rem; }
.post-card .text-link { font-size: .78rem; }

.quote-break { padding: 100px 24px; text-align: center; color: white; background: var(--coral); }
.quote-break p { max-width: 1180px; margin: 0 auto; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6.5rem); font-style: italic; line-height: 1; letter-spacing: -.055em; }
.quote-break span { display: block; margin-top: 1rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.photography-preview { padding-bottom: 85px; }
.photo-slider { position: relative; }
.photo-slider-viewport { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; outline: none; }
.photo-slider-viewport::-webkit-scrollbar { display: none; }
.photo-slider-viewport:focus-visible { box-shadow: 0 0 0 3px rgba(36,92,75,.25); }
.photo-slider-track { display: flex; gap: .85rem; }
.photo-slider figure { flex: 0 0 clamp(310px, 42vw, 520px); height: 420px; margin: 0; scroll-snap-align: start; background: #0d1713; }
.photo-slider img { width: 100%; height: 100%; object-fit: contain; }
.photo-slider figure { position: relative; overflow: hidden; }
.photo-slider figcaption { position: absolute; right: .7rem; bottom: .7rem; left: .7rem; padding: .5rem .65rem; color: var(--ink); background: rgba(255,253,248,.9); font-size: .68rem; opacity: 0; transition: opacity .25s; }
.photo-slider figure:hover figcaption { opacity: 1; }
.photo-slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.photo-slider-controls button { width: 44px; height: 44px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.photo-slider-controls button:hover { color: white; background: var(--forest); }
.photo-slider-controls span { min-width: 70px; text-align: center; color: var(--muted); font-size: .78rem; }
.about-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; border-top: 1px solid var(--line); }
.about-copy { padding-top: 3rem; }
.about-hero { min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--white); }
.about-hero-image { min-height: 690px; }
.about-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 100px max(24px, calc((100vw - 1180px) / 2)) 100px 7vw; }
.about-hero-copy h1 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(3.6rem, 6vw, 6.5rem); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
.about-hero-copy .lead { max-width: 620px; margin-bottom: 1rem; }
.about-location { margin: 1rem 0 0; color: var(--muted); font-size: .84rem; font-weight: 600; }
.about-story { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; border-top: 1px solid var(--line); }
.about-story-copy > p { color: var(--muted); }
.about-story-copy .lead { color: var(--ink); }
.connect-section { padding: 120px max(24px, calc((100vw - 1180px) / 2)); color: white; background: var(--forest); }
.connect-section h2 { max-width: 900px; margin-bottom: 2rem; }

.site-footer { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 3rem; align-items: end; padding: 70px max(24px, calc((100vw - 1180px) / 2)); color: var(--paper); background: var(--ink); }
.site-footer p { margin: .7rem 0 0; color: rgba(255,255,255,.55); font-size: .78rem; }
.site-footer > p { text-align: right; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; font-size: .82rem; }

/* Writing library */
.page-hero { padding: 130px max(24px, calc((100vw - 1180px) / 2)) 100px; color: white; background: var(--forest); }
.page-hero h1 { max-width: 1050px; font-size: clamp(3.6rem, 7vw, 7.2rem); }
.page-hero > p:last-child { max-width: 650px; margin: 2rem 0 0; color: rgba(255,255,255,.7); }
.library-shell { width: var(--content); margin: auto; padding: 60px 0 120px; }
.library-toolbar { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; background: rgba(245,240,230,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.search-box { flex: 1; max-width: 360px; }
.search-box input { width: 100%; padding: .75rem 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); outline: none; }
.search-box input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(36,92,75,.12); }
.filter-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter-button { padding: .55rem .8rem; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 99px; font-size: .74rem; cursor: pointer; }
.filter-button:hover, .filter-button.active { color: white; background: var(--forest); }
.library-section { padding-top: 90px; }
.library-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.library-heading h2 { font-size: clamp(2.5rem, 4vw, 4.2rem); }
.library-heading > p { color: var(--muted); }
.library-grid { grid-template-columns: repeat(3, 1fr); }
.archive-section { margin-top: 70px; border-top: 1px solid var(--line); }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.archive-card { display: grid; grid-template-columns: 86px 1fr auto; gap: 1.1rem; align-items: center; min-height: 150px; padding: 1.3rem 1.3rem 1.3rem 0; border-bottom: 1px solid var(--line); }
.archive-card > img { width: 86px; height: 108px; object-fit: cover; }
.archive-card:nth-child(odd) { border-right: 1px solid var(--line); }
.archive-number { align-self: start; color: var(--coral); font-family: var(--serif); font-size: 1.2rem; }
.archive-card h3 { margin: .2rem 0 .35rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.archive-card p { margin: 0; color: var(--muted); font-size: .75rem; }
.archive-card > span:last-child { font-size: 1.2rem; }
.load-more { display: flex; margin: 2rem auto 0; color: var(--ink); }
.empty-state { grid-column: 1/-1; padding: 4rem; text-align: center; color: var(--muted); }

/* Research and publications */
.science-intro { max-width: 760px; margin-top: 2rem; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.research-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.research-module { min-height: 420px; padding: 2.2rem; background: var(--white); }
.research-module-number { color: var(--coral); font-family: var(--serif); font-size: 1.15rem; }
.research-module h2 { margin: 4rem 0 1.2rem; font-size: clamp(2rem, 3vw, 3rem); }
.research-module p { color: var(--muted); }
.research-thread { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; border-top: 1px solid var(--line); }
.research-thread-copy { padding-top: 2rem; }
.research-thread-copy p { color: var(--muted); }
.research-thread-copy .lead { color: var(--ink); }
.presentation-list { border-top: 1px solid var(--line); }
.presentation-item { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.presentation-item time { color: var(--coral); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.presentation-item h3 { margin: 0 0 .3rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; }
.presentation-item p { margin: 0; color: var(--muted); font-size: .85rem; }
.publication-list { display: grid; gap: 1rem; }
.publication-card { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.5rem; align-items: start; padding: 2rem; background: var(--white); border: 1px solid var(--line); }
.publication-year { color: var(--coral); font-family: var(--serif); font-size: 1.4rem; }
.publication-card h2 { margin: 0 0 .7rem; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; }
.publication-authors, .publication-journal { margin: .35rem 0; color: var(--muted); font-size: .86rem; }
.publication-kind { display: inline-block; margin-top: .9rem; padding: .3rem .55rem; color: var(--forest-bright); border: 1px solid var(--line); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.publication-actions { display: flex; flex-direction: column; gap: .55rem; min-width: 105px; }

/* Photography */
.photo-page { color: var(--paper); background: #0d1713; }
.photo-header { color: var(--paper) !important; background: #0d1713 !important; border-color: rgba(255,255,255,.12) !important; }
.photo-hero { min-height: 720px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: stretch; }
.photo-hero > div { display: flex; flex-direction: column; justify-content: center; padding: 90px 7vw max(80px, 8vw) max(24px, calc((100vw - 1180px) / 2)); }
.photo-hero h1 { font-size: clamp(4rem, 7vw, 7rem); }
.photo-hero p:last-child { max-width: 500px; color: rgba(255,255,255,.62); }
.photo-hero img { width: 100%; height: 100%; object-fit: contain; background: #0b1713; }
.gallery-library { width: var(--content); margin: auto; padding: 100px 0 120px; }
.gallery-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.gallery-library-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.4rem); font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.gallery-library-heading > p { margin: 0 0 .35rem; color: rgba(255,255,255,.58); white-space: nowrap; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.gallery-filter-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.gallery-filter { padding: .65rem .85rem; color: rgba(255,255,255,.68); background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; cursor: pointer; }
.gallery-filter:hover, .gallery-filter.active { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.gallery-place-label { display: flex; align-items: center; gap: .65rem; color: rgba(255,255,255,.58); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.gallery-place-label select { min-width: 190px; padding: .7rem 2.2rem .7rem .8rem; color: var(--paper); background: #13271f; border: 1px solid rgba(255,255,255,.22); }
.complete-photo-grid { columns: 4 250px; column-gap: .8rem; }
.gallery-photo { break-inside: avoid; margin: 0 0 .8rem; }
.gallery-photo button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; color: inherit; background: #14231d; border: 0; cursor: zoom-in; }
.gallery-photo img { display: block; width: 100%; height: auto; transition: transform .45s ease, opacity .25s; }
.gallery-photo button:hover img { transform: scale(1.018); }
.gallery-photo figcaption { position: absolute; right: .65rem; bottom: .65rem; left: .65rem; padding: .55rem .65rem; color: var(--ink); background: rgba(255,253,248,.92); font-size: .7rem; text-align: left; opacity: 0; transform: translateY(6px); transition: .25s; }
.gallery-photo button:hover figcaption, .gallery-photo button:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-load-more { display: block; margin: 2.5rem auto 0; }
.photo-lightbox { width: min(96vw, 1500px); height: 94vh; padding: 0; overflow: hidden; color: var(--paper); background: rgba(7,13,10,.98); border: 0; }
.photo-lightbox::backdrop { background: rgba(2,6,4,.88); backdrop-filter: blur(8px); }
.photo-lightbox[open] { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.photo-lightbox figure { display: grid; grid-template-rows: minmax(0,1fr) auto; width: 100%; height: 100%; margin: 0; padding: 2rem 0 1rem; }
.photo-lightbox img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-lightbox figcaption { padding-top: .8rem; color: rgba(255,255,255,.7); text-align: center; font-size: .8rem; }
.lightbox-close, .lightbox-nav { color: white; background: transparent; border: 0; cursor: pointer; }
.lightbox-close { position: absolute; z-index: 2; top: .7rem; right: 1rem; font-size: 2.2rem; }
.lightbox-nav { align-self: stretch; font-size: 1.8rem; }
.lightbox-nav:hover, .lightbox-close:hover { color: var(--coral); }

/* Archive articles */
.article-page { background: var(--white); }
.article-shell { width: min(840px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 120px; }
.back-link { display: inline-block; margin-bottom: 4rem; color: var(--forest-bright); font-size: .82rem; font-weight: 700; }
.article-kicker { display: flex; gap: .75rem; color: var(--coral); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.article-shell h1 { margin: 1rem 0; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.article-deck { color: var(--muted); }
.article-cover { margin: 2.2rem 0 3rem; }
.article-cover img { display: block; width: 100%; max-height: 680px; object-fit: contain; background: #13271f; }
.article-body { margin-top: 4rem; font-family: var(--serif); font-size: 1.22rem; line-height: 1.8; }
.article-body h2, .article-body h3, .article-body h4 { margin-top: 2.5em; line-height: 1.2; }
.article-body a { color: var(--forest-bright); text-decoration: underline; }
.article-body blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 3px solid var(--coral); font-size: 1.35rem; font-style: italic; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  :root { --content: min(100% - 32px, 720px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; gap: 6px; padding: .6rem; color: inherit; background: transparent; border: 0; cursor: pointer; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; }
  .mobile-menu { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 1.2rem; color: var(--ink); background: var(--white); box-shadow: 0 20px 40px rgba(0,0,0,.15); }
  .mobile-menu.open { display: grid; }
  .mobile-menu a { padding: .7rem; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { order: 1; width: var(--content); margin: 0 auto; padding: 150px 0 70px; }
  .hero-portrait { order: 2; }
  .hero-portrait { min-height: 630px; }
  .worlds { margin-top: 0; grid-template-columns: 1fr; }
  .worlds a { border-right: 0; border-bottom: 1px solid var(--line); }
  .research-layout, .about-section, .about-hero, .about-story, .photo-hero, .research-thread { grid-template-columns: 1fr; }
  .research-modules { grid-template-columns: 1fr; }
  .research-module { min-height: 0; }
  .research-module h2 { margin-top: 2rem; }
  .about-hero-image { min-height: 560px; }
  .about-hero-copy { padding: 90px max(24px, calc((100vw - 720px) / 2)); }
  .post-grid, .library-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 1/-1; text-align: left; }
  .library-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { max-width: none; }
  .photo-hero img { max-height: 70vh; }
  .complete-photo-grid { columns: 3 220px; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; }
  .career-timeline { grid-template-columns: repeat(5, minmax(190px, 1fr)); overflow-x: auto; }
}

@media (max-width: 620px) {
  .site-header { min-height: 74px; }
  .hero { min-height: 0; }
  .hero h1, .page-hero h1, .photo-hero h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-copy { padding-top: 120px; }
  .hero-portrait { min-height: 500px; }
  .hero-facts { grid-template-columns: 1fr; gap: .9rem; }
  .section { padding: 90px 0; }
  .section-heading.horizontal, .library-heading { align-items: start; flex-direction: column; }
  .post-grid, .library-grid, .archive-grid { grid-template-columns: 1fr; }
  .archive-card:nth-child(odd) { border-right: 0; }
  .quote-break { padding-block: 90px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { grid-column: auto; }
  .page-hero { padding-top: 100px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; }
  .filter-button { white-space: nowrap; }
  .archive-card { grid-template-columns: 52px 1fr auto; }
  .archive-card > img { width: 52px; height: 72px; }
  .presentation-item, .publication-card { grid-template-columns: 1fr; gap: .8rem; }
  .publication-actions { flex-direction: row; flex-wrap: wrap; }
  .gallery-library { padding: 70px 0; }
  .gallery-library-heading { align-items: flex-start; flex-direction: column; }
  .gallery-place-label, .gallery-place-label select { width: 100%; }
  .complete-photo-grid { columns: 2 145px; column-gap: .55rem; }
  .gallery-photo { margin-bottom: .55rem; }
  .photo-lightbox[open] { grid-template-columns: 46px 1fr 46px; }
  .photo-slider figure { flex-basis: calc(100vw - 48px); height: 380px; }
  .writing-preview-footer, .gallery-actions { justify-content: stretch; }
  .writing-preview-footer .button, .gallery-actions .button { width: 100%; }
}
