@charset "UTF-8";
/* Shared design system. Page compositions live in home.css and pages.css. */
:root {
    --paper: #fafbf8;
    --white: #fff;
    --ink: #132e33;
    --muted: #5e7073;
    --green: #093e50;
    --teal: #087a91;
    --line: #d1ddde;
    --mist: #e3eff3;
    --accent: #72e0df;
    --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --max: 1440px;
    --gutter: clamp(22px, 5vw, 96px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
/* Preserve the authored light palette when a browser offers automatic darkening. */
html:root { color-scheme: only light; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a, button { touch-action: manipulation; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { font-weight: 400; margin: 0 0 1.2rem; line-height: 1.07; letter-spacing: -.055em; }
h1 { font-size: clamp(3.2rem, 6.2vw, 6.4rem); }
h2 { font-size: clamp(2.3rem, 4.2vw, 4.3rem); }
h3 { font-size: 1.7rem; }
em { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
::selection { background: #8fdfdf; color: #052c34; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #018998; outline-offset: 5px; }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.eyebrow { font: 500 .75rem/1.5 var(--sans); letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.5rem; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; padding: 8px 0; border-bottom: 1px solid currentColor; font-size: .875rem; font-weight: 500; }
.text-link span { font-size: 1.25rem; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link:hover { color: var(--teal); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 54px; padding: 16px 22px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: #fff; font-size: .875rem; font-weight: 500; transition: background .2s ease, color .2s ease; }
.button span { font-size: 1.35rem; line-height: 1; }
.button:hover { background: var(--teal); border-color: var(--teal); }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { color: #fff; }
.button-light { background: var(--accent); border-color: var(--accent); color: #05323b; }
.button-light:hover { background: #b2f3ee; border-color: #b2f3ee; }
.skip-link { position: fixed; top: -100px; left: 20px; background: white; color: var(--ink); padding: 12px; z-index: 99; }
.skip-link:focus { top: 15px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: auto; min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { display: inline-block; font: 500 1.55rem/1 var(--sans); letter-spacing: -.065em; white-space: nowrap; }
.wordmark span { display: block; font: 400 .65rem/1.4 var(--sans); letter-spacing: .17em; margin-top: 9px; }
.site-header nav { display: flex; align-items: center; gap: 38px; font-size: 1.05rem; font-weight: 600; }
.site-header nav a { position: relative; padding: 10px 0; }
.site-header nav a::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-header nav a:hover::after, .site-header nav [aria-current]::after { transform: scaleX(1); }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 2px solid #91d8d8; }
.brand .brand-name { margin: 0; font: 500 1.5rem/1.2 var(--sans); letter-spacing: -.04em; }
.brand small { display: block; margin-top: 5px; font: 400 .74rem/1.35 var(--sans); letter-spacing: .01em; }
.menu-toggle { display: none; border: 0; background: none; color: inherit; }
.section { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 55px; }
.section-heading .eyebrow { color: var(--teal); margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.section-heading-side p { font-size: .95rem; color: var(--muted); }
.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 55px 40px; }
.book-card { min-width: 0; display: flex; flex-direction: column; }
.cover-stage { flex: none; height: 370px; display: flex; align-items: flex-end; justify-content: center; position: relative; padding: 18px 20px 28px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.cover-stage img { height: 100%; width: auto; max-width: 95%; object-fit: contain; object-position: bottom; border-radius: 5px; filter: drop-shadow(5px 8px 6px #173b4020); transition: transform .35s ease; }
.cover-stage:hover img { transform: translateY(-8px); }
.cover-arrow { display: none; }
.card-meta { display: flex; justify-content: flex-start; gap: 8px; font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.card-meta span { font-size: inherit; letter-spacing: 0; }
.book-card h3 { font: 400 1.65rem/1.18 var(--serif); letter-spacing: -.035em; margin-bottom: 12px; }
.book-card h3 a:hover { color: var(--teal); }
.book-card p { font-size: .875rem; line-height: 1.65; color: var(--muted); max-width: 33ch; }
.book-card .text-link { font-size: .875rem; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; padding-top: 22px; }
.card-actions .button { min-height: 44px; padding: 10px 19px; font-size: .875rem; }
.archive-teaser { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 80px; }
.archive-teaser .eyebrow { color: var(--teal); }
.archive-teaser p { color: var(--muted); }
.site-footer { background: #06333e; color: #e5f4f2; padding: 70px var(--gutter) 25px; }
.footer-inner { max-width: var(--max); margin: auto; }
.footer-invitation { display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: clamp(3.5rem, 10vw, 10rem); font-weight: 400; line-height: 1; letter-spacing: -.065em; padding: 12px 0 60px; border-bottom: 1px solid #45636a; color: #8ddcdd; }
.footer-invitation span { font-size: .7em; transition: transform .25s; }
.footer-invitation:hover span { transform: translate(7px, -7px); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 40px; }
.footer-top p { color: #b3cacf; font-size: .875rem; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-top: 24px; border-top: 1px solid #45636a; font-size: .75rem; color: #b3cacf; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-bottom a:hover { color: white; text-decoration: underline; }
@media (max-width: 1100px) {
    .site-header nav { gap: 25px; }
    .cover-stage { flex: none; height: 310px; padding-inline: 10px; }
    .book-grid { gap: 45px 28px; }
}
@media (max-width: 760px) {
    .header-inner { min-height: 88px; flex-wrap: wrap; gap: 0; }
    .brand { gap: 10px; }
    .brand img { width: 44px; height: 44px; }
    .brand .brand-name { font-size: 1.2rem; }
    .brand small { font-size: .63rem; }
    .wordmark { font-size: 1.4rem; }
    .wordmark span { font-size: .6rem; }
    .menu-toggle { display: flex; align-items: center; gap: 10px; padding: 15px 0 15px 15px; font-size: .875rem; }
    .site-header nav { width: 100%; justify-content: space-between; gap: 12px; padding: 10px 0 22px; font-size: 1rem; }
    .js .site-header nav { display: none; }
    .js .site-header nav.open { display: flex; }
    .section { padding-block: 64px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 24px; margin-bottom: 35px; }
    .section-heading h2 { font-size: 2.65rem; }
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 22px; }
    .cover-stage { flex: none; height: 255px; padding: 8px 5px 20px; }
    .book-card h3 { font-size: 1.4rem; }
    .card-meta { font-size: .75rem; flex-wrap: wrap; }
    .book-card p { font-size: .85rem; }
    .book-card .text-link { font-size: .8rem; gap: 8px; }
    .archive-teaser { align-items: flex-start; flex-direction: column; padding-block: 55px; gap: 20px; }
    .site-footer { padding-top: 50px; }
    .footer-invitation { padding-bottom: 40px; font-size: clamp(2.9rem, 11vw, 5rem); }
    .footer-top { align-items: flex-start; flex-direction: column; gap: 24px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 20px; }
    .footer-bottom nav { gap: 16px 22px; }
}
@media (max-width: 420px) {
    .brand img { width: 38px; height: 38px; }
    .brand .brand-name { font-size: 1.1rem; }
    .brand small { font-size: .58rem; }
    .card-actions { gap: 8px; }
    .card-actions .button { padding-inline: 15px; }
    .cover-stage { flex: none; height: 215px; }
    .book-grid { column-gap: 18px; }
    .button { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

.author-intro img, .prose img, .historic-strip img, .historical-card > img { border-radius: 18px; }
