:root {
    --ink: #102236;
    --paper: #faf5ea;
    --line: #cfc2a9;
    --gold: #ffe0a0;
    --rust: #863b28;
    background: var(--paper);
    color: var(--ink);
    font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
[hidden] { display: none !important; }
a { color: var(--rust); text-underline-offset: .22em; }
a:focus-visible,audio:focus-visible { outline: 3px solid #a0482e; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1,h2,h3,p { margin: 0; }
h1,h2,.brand { font-family: Georgia,'Times New Roman',serif; line-height: 1.07; font-weight: 500; }
h2 { font-size: clamp(2.25rem,5.1vw,4.9rem); margin-bottom: .3em; letter-spacing: -.035em; }
.top {
    min-height: 69px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 2rem;
    padding: .85rem max(5vw,calc((100vw - 1400px)/2));
    border-bottom: 1px solid var(--line);
}
.top a { color: var(--ink); }
.brand { font-size: clamp(1.28rem,3vw,1.9rem); text-decoration: none; }
.brand small { margin-left: .65rem; font: 750 .69rem system-ui; letter-spacing: .12em; color: var(--rust); }
nav { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; font-size: .9rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { z-index: 3; left: .6rem; top: .6rem; background: white; padding: .5rem; }
.hero {
    width: min(96%,1480px);
    min-height: clamp(530px,75vh,800px);
    margin: clamp(.75rem,2vw,2rem) auto 0;
    display: grid;
    grid-template-columns: minmax(0,.81fr) minmax(0,1.19fr);
    align-items: stretch;
    background: var(--ink);
    color: var(--paper);
}
.hero-copy { align-self: center; padding: clamp(1.15rem,5vw,5rem); z-index: 1; }
.hero h1 { font-size: clamp(3.7rem,6.05vw,8.1rem); letter-spacing: -.07em; }
.hero p { font-size: clamp(1.02rem,1.6vw,1.3rem); max-width: 28ch; margin: 1.15rem 0 1.55rem; color: #f2e5c9; }
.hero picture { min-width: 0; position: relative; }
.hero picture::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,#102236 0%,transparent 35%); }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 81% 48%; }
.cta { display: inline-block; background: var(--gold); color: #33251a; padding: .78rem 1.15rem; font-weight: 720; text-decoration: none; }
.hero a:focus-visible { outline-color: white; }
.section,footer,#daily-editorial { width: min(90%,1330px); margin-inline: auto; }
.section { padding-block: clamp(2.65rem,7vw,6rem); border-bottom: 1px solid var(--line); }
.sounds { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.sound { padding: clamp(.95rem,2.8vw,2rem); border-top: 5px solid #9d522e; background: var(--ink); color: var(--paper); }
.sound:nth-child(2) { background: #233d51; }
.sound:nth-child(3) { background: #293b39; }
.sound h3 { font: 1.95rem Georgia,'Times New Roman',serif; }
.sound p { margin: .48rem 0 .8rem; min-height: 3.2em; }
.sound audio { display: block; width: 100%; height: 46px; margin: .25rem 0 .8rem; }
.sound a { color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.9rem,2vw,1.55rem); margin-top: 1.55rem; }
.card { min-width: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.card img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; background: #e6d9bf; }
.card h3 { font: 1.38rem Georgia,'Times New Roman',serif; margin-block: .6rem .28rem; }
.card p { color: #494136; font-size: .94rem; }
.library { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-top: 1.4rem; }
.library section { border-top: 3px solid var(--rust); padding: 1rem; background: #eee4d1; }
.library ul { padding-left: 1.22rem; margin-bottom: 0; }
.library li + li { margin-top: .52rem; }
.entry { width: min(90%,800px); margin: clamp(2rem,8vw,6rem) auto; }
.entry h1 { font-size: clamp(2.5rem,8vw,5.65rem); margin-block: .55em; }
.entry h2 { font-size: clamp(1.55rem,3vw,2.3rem); margin-top: .8em; }
.entry p { margin-block: .7em; }
.entry img { width: min(100%,690px); height: auto; }
#daily-editorial,footer { padding-block: 2rem; }
footer { border-top: 1px solid var(--line); }

@media (max-width: 940px) {
    .gallery,.library { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
    .sounds { grid-template-columns: 1fr; }
    .sound p { min-height: auto; }
}
@media (max-width: 660px) {
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero picture { grid-row: 1; height: clamp(280px,82vw,465px); }
    .hero picture::after { background: linear-gradient(0deg,#102236 0%,transparent 44%); }
    .hero img { object-position: center 35%; }
    .hero-copy { padding-top: 0; padding-bottom: 1.7rem; margin-top: -.9rem; }
}
@media (max-width: 460px) {
    .gallery,.library { grid-template-columns: 1fr; }
}
