/*
   ZENITA — RESPONSIVE SITE SYSTEM
   Adjust the color and spacing variables below to change the entire site.
*/
:root {
    --black: #07090b;
    --black-soft: #0b0f12;
    --charcoal: #11171c;
    --charcoal-2: #172129;
    --blue: #132a38;
    --blue-light: #294a58;
    --teal: #507987;
    --ivory: #eee8d8;
    --ivory-soft: #d8d2c3;
    --muted: #9da7aa;
    --gold: #b59a62;
    --gold-bright: #d0bb84;
    --line: rgba(181, 154, 98, 0.24);
    --line-cool: rgba(112, 151, 165, 0.22);
    --max: 1240px;
    --narrow: 800px;
    --header-height: 108px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ivory-soft);
    background: var(--black);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--black); background: var(--gold-bright); }

.site-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(36, 74, 88, .16), transparent 32rem),
        radial-gradient(circle at 84% 38%, rgba(134, 104, 54, .08), transparent 28rem),
        linear-gradient(180deg, #090c0f 0%, #07090b 100%);
}
.site-atmosphere::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.72' numOctaves='3' stitchTiles='stitch' type='fractalNoise'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.container.narrow { max-width: var(--narrow); }
.text-center { text-align: center; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .8rem 1rem; background: var(--ivory); color: var(--black); }
.skip-link:focus { top: 1rem; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ivory); font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: 1.02; }
h1 { font-size: clamp(4rem, 11vw, 9.5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2.6rem, 5.5vw, 5.2rem); letter-spacing: -.025em; }
h3 { font-size: clamp(2rem, 3vw, 3rem); }
p { max-width: 72ch; }
.eyebrow, .card-eyebrow, .book-number {
    color: var(--gold-bright);
    font-family: Cinzel, Georgia, serif;
    font-size: .69rem;
    font-weight: 500;
    letter-spacing: .24em;
    line-height: 1.45;
    text-transform: uppercase;
}
.section { padding: clamp(5.5rem, 10vw, 10rem) 0; position: relative; }
.section-lede, .hero-lede { color: var(--ivory-soft); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.45; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3.5rem; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 4.7rem); }
.section-heading > p { color: var(--muted); max-width: 34rem; margin-bottom: .5rem; }

.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.button-row.centered { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .9rem 1.45rem; border: 1px solid transparent; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: transform var(--transition), color var(--transition), background var(--transition), border-color var(--transition); }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #0a0c0e; background: var(--ivory); }
.button-primary:hover { background: var(--gold-bright); }
.button-secondary { color: var(--ivory); background: rgba(255,255,255,.025); border-color: var(--line); }
.button-secondary:hover { border-color: var(--gold); background: rgba(181,154,98,.08); }
.text-link { display: inline-flex; align-items: center; gap: .7rem; color: var(--ivory); font-size: .76rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.text-link span { color: var(--gold-bright); transition: transform var(--transition); }
.text-link:hover span { transform: translateX(.35rem); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition); }
.site-header.is-scrolled { background: rgba(7, 9, 11, .9); border-color: rgba(181,154,98,.14); backdrop-filter: blur(16px); }
.header-utility { height: 34px; border-bottom: 1px solid rgba(181,154,98,.12); color: #8c9699; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; }
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.utility-links { display: flex; gap: 1.5rem; }
.utility-links a:hover { color: var(--ivory); }
.header-main { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: baseline; gap: 1rem; }
.wordmark-name, .footer-wordmark { color: var(--ivory); font-family: Cinzel, Georgia, serif; font-size: 1.55rem; letter-spacing: .22em; text-transform: uppercase; }
.wordmark-tagline { color: #869195; font-family: "Cormorant Garamond", Georgia, serif; font-size: .95rem; font-style: italic; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.3rem); }
.primary-nav a { position: relative; color: #aeb5b6; font-size: .7rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.8rem; height: 1px; background: var(--gold-bright); transition: right var(--transition); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ivory); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; color: var(--ivory); font: inherit; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: calc(var(--header-height) + 4rem) 0 7rem; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,11,.97) 0%, rgba(7,9,11,.78) 48%, rgba(7,9,11,.28) 100%), radial-gradient(circle at 75% 44%, rgba(54,94,108,.24), transparent 32rem); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { max-width: 900px; margin: .15em 0 .12em; text-transform: uppercase; font-family: Cinzel, Georgia, serif; font-weight: 400; letter-spacing: .16em; font-size: clamp(4.2rem, 11vw, 9.6rem); }
.hero-lede { max-width: 670px; }
.hero-map { position: absolute; width: min(74vw, 980px); aspect-ratio: 1; right: -10vw; top: 50%; translate: 0 -46%; opacity: .72; filter: drop-shadow(0 0 40px rgba(54,94,108,.12)); }
.hero-map::before, .hero-map::after, .orbit { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(181,154,98,.22); border-radius: 50%; }
.hero-map::after { inset: 19%; border-color: rgba(94,137,151,.22); }
.orbit-one { inset: 4%; border-style: dashed; opacity: .45; }
.orbit-two { inset: 32%; border-color: rgba(181,154,98,.16); }
.continent { position: absolute; display: block; background: linear-gradient(145deg, rgba(49,88,102,.34), rgba(18,37,47,.08)); border: 1px solid rgba(117,156,169,.22); filter: blur(.1px); }
.continent-one { width: 27%; height: 37%; left: 31%; top: 19%; border-radius: 55% 45% 61% 39% / 36% 54% 46% 64%; rotate: 18deg; }
.continent-two { width: 23%; height: 31%; left: 50%; top: 45%; border-radius: 42% 58% 44% 56% / 62% 37% 63% 38%; rotate: -15deg; }
.continent-three { width: 18%; height: 20%; left: 23%; top: 57%; border-radius: 62% 38% 58% 42%; rotate: 24deg; }
.map-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(181,154,98,.4), transparent); transform-origin: left; }
.map-line-one { width: 64%; left: 17%; top: 49%; rotate: 24deg; }
.map-line-two { width: 48%; left: 29%; top: 64%; rotate: -36deg; }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 1.8rem; translate: -50% 0; display: grid; justify-items: center; gap: .55rem; color: #7e898c; font-size: .57rem; letter-spacing: .22em; text-transform: uppercase; }
.hero-scroll span { display: block; width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); }

.introduction { background: linear-gradient(180deg, rgba(19,42,56,.12), transparent); }
.display-title { margin-bottom: 1.4rem; }
.gateways-section { padding-top: 2rem; }
.gateway-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.gateway-card { min-height: 460px; display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 3.6rem); position: relative; overflow: hidden; background: rgba(15,20,24,.72); }
.gateway-card + .gateway-card { border-left: 1px solid var(--line); }
.gateway-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 25%, rgba(78,118,131,.17), transparent 54%); transition: opacity 400ms ease; }
.gateway-card:hover::before { opacity: 1; }
.gateway-card > * { position: relative; z-index: 1; }
.gateway-card h3 { margin: 1.6rem 0 1rem; }
.gateway-card p:not(.card-eyebrow) { color: var(--muted); }
.gateway-card .text-link { margin-top: auto; padding-top: 2rem; }
.gateway-symbol { width: 84px; height: 84px; position: relative; margin-bottom: 2.5rem; border: 1px solid var(--line-cool); border-radius: 50%; }
.gateway-world .gateway-symbol::before { content: ""; position: absolute; inset: 18%; border: 1px solid var(--gold); border-radius: 50% 42% 55% 37%; rotate: 23deg; }
.gateway-books .gateway-symbol::before, .gateway-books .gateway-symbol::after { content: ""; position: absolute; top: 19px; bottom: 19px; width: 25px; border: 1px solid var(--gold); }
.gateway-books .gateway-symbol::before { left: 16px; border-right: 0; transform: skewY(-6deg); }
.gateway-books .gateway-symbol::after { right: 16px; border-left: 0; transform: skewY(6deg); }
.gateway-archives .gateway-symbol::before { content: ""; position: absolute; inset: 20px; border: 1px solid var(--gold); rotate: 45deg; }

.featured-book-section { background: linear-gradient(90deg, rgba(15,24,29,.92), rgba(7,9,11,.9)); border-block: 1px solid var(--line); }
.featured-book-grid { display: grid; grid-template-columns: minmax(280px, .75fr) 1.25fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.featured-cover { position: relative; width: min(100%, 420px); margin-inline: auto; }
.featured-cover img { position: relative; z-index: 2; width: 100%; aspect-ratio: 480 / 621; object-fit: cover; box-shadow: var(--shadow); border: 1px solid rgba(181,154,98,.3); }
.cover-halo { position: absolute; inset: 9% -11%; border: 1px solid rgba(181,154,98,.22); border-radius: 50%; }
.cover-halo::before, .cover-halo::after { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(75,117,131,.22); border-radius: 50%; }
.cover-halo::after { inset: 18%; }
.featured-copy h2 { margin-bottom: .5rem; }
.featured-subtitle { color: var(--gold-bright); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; font-style: italic; }
.featured-copy > p:not(.eyebrow):not(.featured-subtitle) { color: var(--muted); font-size: 1.05rem; }

.book-gallery-section { overflow: hidden; }
.book-strip { display: grid; grid-template-columns: repeat(7, minmax(180px, 1fr)); gap: 1.2rem; overflow-x: auto; padding: .5rem .2rem 2rem; scrollbar-color: var(--gold) var(--charcoal); }
.book-tile { min-width: 180px; }
.book-image { display: block; aspect-ratio: 480 / 621; overflow: hidden; margin-bottom: 1.2rem; border: 1px solid var(--line); background: var(--charcoal); }
.book-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease, filter 500ms ease; }
.book-tile:hover .book-image img { transform: scale(1.025); filter: brightness(1.1); }
.book-tile strong { display: block; color: var(--ivory); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.32rem; font-weight: 500; line-height: 1.15; }
.book-number { display: block; margin-bottom: .35rem; font-size: .58rem; }

.archive-teaser { padding-top: 2rem; }
.archive-panel { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 2.5rem; padding: clamp(2rem, 4.5vw, 4rem); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(18,35,44,.62), rgba(12,15,18,.82)); }
.archive-panel h2 { font-size: clamp(2.4rem, 4vw, 4rem); margin-bottom: .7rem; }
.archive-panel p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.archive-mark { width: 90px; height: 90px; border: 1px solid var(--line-cool); border-radius: 50%; position: relative; }
.archive-mark::before, .archive-mark::after, .archive-mark span { content: ""; position: absolute; inset: 19px; border: 1px solid var(--gold); rotate: 45deg; }
.archive-mark::after { inset: 31px; rotate: 0deg; }
.archive-mark span { inset: 8px 44px; border-width: 0 1px; rotate: 0deg; }

.creator-section { padding-bottom: clamp(7rem, 12vw, 12rem); }
.creator-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.creator-image { max-width: 390px; justify-self: center; position: relative; padding: 1rem; border: 1px solid var(--line); }
.creator-image::before { content: ""; position: absolute; inset: -10px 10px 10px -10px; border: 1px solid var(--line-cool); z-index: -1; }
.creator-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.72) contrast(1.06); }
.creator-statement { margin: 1rem 0 2rem; color: var(--ivory); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.7rem); font-style: italic; line-height: 1.28; }
.creator-copy > p { color: var(--muted); }
.final-cta { padding: clamp(7rem, 14vw, 14rem) 0; position: relative; border-top: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, rgba(40,75,88,.2), transparent 35rem); }
.final-cta h2 { font-family: Cinzel, Georgia, serif; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; }

.interior-hero { min-height: 72svh; display: grid; align-items: center; padding: calc(var(--header-height) + 7rem) 0 7rem; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 77% 45%, rgba(42,79,92,.24), transparent 28rem), linear-gradient(120deg, rgba(11,16,20,.96), rgba(7,9,11,.82)); }
.interior-hero::after { content: ""; position: absolute; width: min(52vw, 670px); aspect-ratio: 1; right: -12vw; top: 53%; translate: 0 -50%; border: 1px solid rgba(181,154,98,.18); border-radius: 50%; box-shadow: 0 0 0 45px rgba(112,151,165,.025), 0 0 0 90px rgba(181,154,98,.018); }
.interior-hero .container { position: relative; z-index: 1; margin-left: max(24px, calc((100vw - var(--max)) / 2)); }
.interior-hero h1 { font-family: "Cormorant Garamond", Georgia, serif; text-transform: none; letter-spacing: -.04em; font-size: clamp(4rem, 9vw, 8rem); margin-bottom: .2em; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.topic-card { min-height: 300px; padding: 2.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(14,19,23,.58); }
.topic-card span, .archive-letter { color: var(--gold); font-family: Cinzel, serif; font-size: .65rem; letter-spacing: .16em; }
.topic-card h3 { margin: 2.8rem 0 1rem; font-size: 2.25rem; }
.topic-card p { color: var(--muted); }
.legacy-callout { margin-top: 5rem; padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 3rem; border: 1px solid var(--line); background: rgba(17,27,33,.55); }
.legacy-callout h2 { font-size: 2.4rem; margin-bottom: .6rem; }
.legacy-callout p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.book-catalogue { display: grid; gap: 5rem; }
.catalogue-book { display: grid; grid-template-columns: minmax(210px, 330px) 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; padding-bottom: 5rem; border-bottom: 1px solid var(--line); }
.catalogue-book:nth-child(even) .catalogue-cover { order: 2; }
.catalogue-cover img { width: 100%; aspect-ratio: 480/621; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow); }
.catalogue-copy h2 { margin-bottom: .5rem; }
.catalogue-note { color: var(--gold-bright); font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-style: italic; }
.catalogue-copy > p:not(.eyebrow):not(.catalogue-note) { color: var(--muted); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.archive-card { min-height: 330px; display: flex; flex-direction: column; padding: 2.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(13,18,21,.65); }
.archive-card h2 { margin: 2rem 0 .8rem; font-size: 2.5rem; }
.archive-card p { color: var(--muted); }
.archive-card .text-link { margin-top: auto; padding-top: 1.5rem; }
.about-grid { display: grid; grid-template-columns: minmax(260px, 410px) 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.about-portrait { padding: 1rem; border: 1px solid var(--line); }
.about-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.prose h2 { margin-bottom: 1.6rem; }
.prose > p:not(.eyebrow) { color: var(--ivory-soft); font-family: "Cormorant Garamond", serif; font-size: 1.38rem; line-height: 1.65; }
.contact-panel { padding: clamp(3rem, 7vw, 6rem); text-align: center; border: 1px solid var(--line); background: radial-gradient(circle at 50% 20%, rgba(51,92,106,.18), transparent 24rem), rgba(13,17,20,.68); }
.contact-panel h2 { margin: 1.6rem 0 1rem; }
.contact-panel p { margin-inline: auto; color: var(--muted); }
.contact-seal { display: block; width: 90px; height: 90px; margin-inline: auto; border: 1px solid var(--gold); border-radius: 50%; position: relative; }
.contact-seal::before { content: ""; position: absolute; inset: 24px; border: 1px solid var(--line-cool); rotate: 45deg; }

.site-footer { border-top: 1px solid var(--line); background: #07090b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 5rem; padding: 5rem 0 4rem; }
.footer-brand p { color: var(--muted); max-width: 25rem; margin-top: 1.3rem; }
.footer-column { display: flex; flex-direction: column; gap: .55rem; }
.footer-column h2 { color: var(--gold-bright); font-family: Cinzel, serif; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .75rem; }
.footer-column a { color: #9ca5a7; font-size: .86rem; }
.footer-column a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding: 1.4rem 0 2rem; border-top: 1px solid rgba(181,154,98,.12); color: #717b7e; font-size: .68rem; letter-spacing: .04em; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 5px; }

@media (max-width: 1050px) {
    .wordmark-tagline { display: none; }
    .gateway-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .gateway-card:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-panel { grid-template-columns: 90px 1fr; }
    .archive-panel .button { grid-column: 2; justify-self: start; }
    .book-strip { grid-template-columns: repeat(7, 190px); }
}

@media (max-width: 820px) {
    :root { --header-height: 82px; }
    .container { width: min(calc(100% - 32px), var(--max)); }
    .header-utility { display: none; }
    .header-main { height: 82px; }
    .menu-toggle { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; z-index: 2; }
    .menu-toggle-label { font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; }
    .menu-toggle-lines { display: grid; gap: 6px; }
    .menu-toggle-lines i { display: block; width: 24px; height: 1px; background: currentColor; transition: transform var(--transition); }
    .menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .primary-nav { position: fixed; inset: 82px 0 auto; display: grid; gap: 0; padding: 1.2rem 16px 1.8rem; background: rgba(7,9,11,.98); border-bottom: 1px solid var(--line); transform: translateY(-130%); visibility: hidden; transition: transform 300ms ease, visibility 300ms; }
    .primary-nav.is-open { transform: none; visibility: visible; }
    .primary-nav a { padding: 1rem .2rem; border-bottom: 1px solid rgba(181,154,98,.1); font-size: .78rem; }
    .primary-nav a::after { display: none; }
    .hero { min-height: 92svh; }
    .hero::before { background: linear-gradient(180deg, rgba(7,9,11,.84), rgba(7,9,11,.94)); }
    .hero-map { width: 115vw; right: -49vw; opacity: .45; }
    .hero h1 { font-size: clamp(3.8rem, 18vw, 7rem); letter-spacing: .1em; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 1.2rem; }
    .desktop-link { display: none; }
    .featured-book-grid, .creator-grid, .about-grid { grid-template-columns: 1fr; }
    .featured-copy { text-align: center; }
    .featured-copy p { margin-inline: auto; }
    .featured-copy .button-row { justify-content: center; }
    .creator-image, .about-portrait { max-width: 360px; }
    .archive-panel { grid-template-columns: 1fr; text-align: center; }
    .archive-mark { margin-inline: auto; }
    .archive-panel .button { grid-column: auto; justify-self: center; }
    .gateway-grid, .archive-grid { grid-template-columns: 1fr; }
    .gateway-card + .gateway-card, .gateway-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); grid-column: auto; }
    .topic-grid { grid-template-columns: 1fr; }
    .catalogue-book, .catalogue-book:nth-child(even) { grid-template-columns: 1fr; }
    .catalogue-cover, .catalogue-book:nth-child(even) .catalogue-cover { order: 0; max-width: 330px; margin-inline: auto; }
    .catalogue-copy { text-align: center; }
    .catalogue-copy p { margin-inline: auto; }
    .legacy-callout { display: grid; text-align: center; }
    .legacy-callout p { margin-inline: auto; }
    .legacy-callout .button { justify-self: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { display: block; }
    .footer-bottom p + p { margin-top: .5rem; }
}

@media (max-width: 560px) {
    .section { padding: 5.5rem 0; }
    .wordmark-name { font-size: 1.22rem; }
    .hero { padding-bottom: 5.5rem; }
    .hero-scroll { display: none; }
    .button-row { display: grid; }
    .button { width: 100%; }
    .gateway-card { min-height: 410px; padding: 2rem; }
    .section-heading { margin-bottom: 2.3rem; }
    .archive-card, .topic-card { padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .interior-hero { min-height: 68svh; padding-bottom: 5rem; }
    .interior-hero .container { margin-inline: auto; }
}

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