:root {
  --ink: #122237;
  --paper: #f8f3eb;
  --gold: #9c5e10;
  --line: #d5b787;
  --hero: url("../images/hero.svg");
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 Georgia, serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
h1, h2, p, blockquote { margin: 0; }
.container { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.site-header { background: #f6f0e6; }
.topbar { min-height: 4rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: bold; letter-spacing: -.035em; line-height: 1.1; }
.topbar nav, .footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.header-search { justify-self: end; }
.mobile-nav { display: none; }
.hero { color: #fff9ee; background: linear-gradient(90deg, #142334e8, #14233442 66%, transparent), var(--hero) center 44% / cover, #253c51; }
.hero .container { padding-block: clamp(3rem, 6vw, 5.5rem) 1.75rem; }
.hero h1 { max-width: 10ch; font-size: clamp(2.55rem, 6vw, 5rem); font-weight: 400; line-height: .98; text-wrap: balance; }
.tagline { margin-top: .65rem; font-size: clamp(1rem, 2.4vw, 1.55rem); font-style: italic; }
.search { display: flex; max-width: 29rem; margin: 1.6rem 0; border: 1px solid #e6cca1; border-radius: .4rem; overflow: hidden; background: var(--paper); }
.search input { min-width: 0; flex: 1; border: 0; padding: .65rem .85rem; color: var(--ink); background: transparent; }
.search button { display: grid; place-items: center; width: 3rem; border: 0; background: #a16a25; color: white; cursor: pointer; }
.icon-library { position: absolute; }
.icon { width: 1.35em; height: 1.35em; display: inline-block; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 32rem; text-align: center; }
.shortcuts a + a { border-inline-start: 1px solid #fff6e363; }
.shortcuts .icon { display: block; margin: 0 auto .25rem; font-size: 1.2rem; }
.shortcuts small { display: block; }
.featured { background: radial-gradient(ellipse at right, #e5d5be, transparent 70%), #f7eddf; border-bottom: 1px solid #eee1d0; }
.featured-grid { display: grid; grid-template-columns: 1.15fr 1fr .7fr; align-items: center; gap: 1.5rem; padding-block: 1.75rem; }
.eyebrow { color: var(--gold); text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; }
blockquote { margin-block: .6rem; font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.08; }
blockquote span { color: var(--gold); }
.quote-copy { border-inline-start: 1px solid var(--line); padding-inline-start: 1.5rem; }
.quote-copy p, .paradox p { margin-top: .4rem; }
.button { display: inline-block; margin-top: .75rem; padding: .4rem .85rem; border: 1px solid var(--gold); border-radius: .3rem; color: var(--gold); font-size: .9rem; }
.featured-portrait, .portrait, .paradox-art { display: block; width: 100%; height: auto; object-fit: cover; background: #d7c6ab; }
.featured-portrait, .paradox-art { border-radius: .35rem; }
.featured-portrait, .portrait { aspect-ratio: 1; object-position: center top; }
.paradox-art { aspect-ratio: 16 / 9; }
.section { margin-block: 1.8rem; }
.section-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: .65rem; }
.section-heading h2 { font-size: 1.05rem; text-transform: uppercase; }
.section-heading::after, .center::before { content: ""; flex: 1; border-top: 1px solid var(--line); }
.section-heading a { order: 1; font-size: .8rem; white-space: nowrap; }
.center { text-align: center; }
.explore, .authors, .topics { display: grid; gap: .65rem; }
.explore { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.explore a { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; aspect-ratio: 4 / 3; overflow: hidden; border-radius: .35rem; padding: .75rem; color: white; background: #3a4149; }
.explore img, .explore a::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.explore img { z-index: -2; object-fit: cover; }
.explore a::before { z-index: -1; content: ""; background: linear-gradient(0deg, #14191aee, transparent 78%); }
.explore strong { font-size: clamp(1rem, 2.2vw, 1.45rem); }
.explore small { font-size: .85rem; }
.popular { display: grid; grid-template-columns: 3fr 2fr; gap: 1.25rem; }
.popular > section + section { border-inline-start: 1px solid var(--line); padding-inline-start: 1.25rem; }
.authors { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.authors a, .topics a { text-align: center; background: #f2e8d8; border-radius: .35rem; overflow: hidden; }
.authors span { display: block; padding: .35rem .12rem; font-size: .88rem; }
.topics { grid-template-columns: repeat(3, 1fr); }
.topics a { padding: .55rem .2rem; }
.topics .icon { display: block; margin: 0 auto .2rem; }
.paradox { display: grid; grid-template-columns: 1.05fr 1.1fr .75fr; align-items: center; gap: 1.25rem; }
.paradox h3 { font-size: 1.4rem; line-height: 1.15; margin: 0; }
.invitation { text-align: center; border-inline-start: 1px solid var(--line); padding-inline-start: 1rem; }
.invitation img { display: block; margin: auto auto .3rem; }
.button-dark { background: var(--ink); color: white; border-color: var(--ink); }
.site-footer { color: #fff6e5; background: linear-gradient(#142437ed, #142437df), var(--hero) center 65% / cover, #142437; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: 1.5rem; }
.copyright { padding-block: .85rem; border-top: 1px solid #fff4dd40; text-align: center; font-size: .85rem; }
@media (max-width: 760px) {
  .container { width: calc(100% - 2rem); }
  .topbar { display: flex; justify-content: space-between; gap: .5rem; }
  .topbar > nav, .header-search { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { list-style: none; cursor: pointer; padding: .35rem; font-size: 1.4rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 2; right: 0; top: 100%; display: grid; gap: .5rem; min-width: 10rem; padding: .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: .3rem; }
  .hero { background-position: center, 70% center; }
  .hero .container { padding-block: 2rem 1.15rem; }
  .shortcuts small { display: none; }
  .featured-grid { grid-template-columns: minmax(0, 1fr) minmax(5rem, .55fr); gap: .8rem; padding-block: 1.2rem; }
  .quote-copy { grid-row: 2; grid-column: 1 / -1; border: 0; padding: 0; }
  .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .popular { grid-template-columns: minmax(0, 1fr); }
  .popular > section + section, .invitation { border: 0; padding: 0; }
  .authors { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr)); }
  .authors .portrait { aspect-ratio: auto; object-fit: contain; }
  .paradox { grid-template-columns: minmax(0, 1fr); }
  .invitation { padding-block: .5rem; }
  .footer-main { justify-content: center; text-align: center; }
  .footer-links { gap: .55rem 1rem; justify-content: center; }
}
