:root {
  --bg: #f7f7f7;
  --surface: #e8ede9;
  --ink: #0d2a1c;
  --muted: #526459;
  --accent: #f6e016;
  --paper: #fffef9;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --text: "Work Sans", Arial, sans-serif;
  --frame: clamp(20px, 3.2vw, 52px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--ink); }
.page-frame { width: 100%; padding-inline: var(--frame); }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -100px; padding: 10px 16px; background: var(--accent); color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; min-height: 95px; padding: 21px var(--frame); display: flex; align-items: center; gap: 42px; color: white; }
.wordmark { display: inline-flex; align-items: center; gap: 13px; flex: none; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.07; letter-spacing: -.03em; }
.wordmark-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 3px solid var(--accent); color: var(--accent); font-family: var(--display); font-size: 19px; font-weight: 400; letter-spacing: -.04em; }
.site-header nav { display: flex; gap: clamp(20px, 2.4vw, 36px); margin-left: auto; }
.site-header nav a, .header-action { font-size: 15px; font-weight: 600; text-decoration: none; }
.site-header nav a { padding-block: 10px; transition: opacity .2s ease; }
.site-header nav a:hover { opacity: .65; }
.header-action { padding: 12px 18px; background: var(--paper); color: var(--ink); transition: transform .2s ease, background .2s ease; }
.header-action:hover { background: var(--accent); transform: translateY(-2px); }

.hero { position: relative; min-height: min(900px, 100svh); height: 100svh; overflow: hidden; background: var(--ink); color: white; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; transform: scale(1.08); animation: hero-settle 1.25s cubic-bezier(.2,.75,.2,1) both; }
.hero-shade { position: absolute; inset: 0; background: rgba(4, 29, 15, .27); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(38px, 5vw, 70px); }
.hero h1 { max-width: 1300px; margin: 0 auto auto 0; padding-top: clamp(65px, 12vh, 150px); font-family: var(--display); font-size: clamp(82px, 10.3vw, 180px); font-weight: 400; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.hero-bottom { width: 100%; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.hero-bottom p { max-width: 510px; margin: 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; line-height: 1.36; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 60px; min-width: 215px; gap: 32px; padding: 14px 22px; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(1px); }
.button-yellow { background: var(--accent); color: var(--ink); }
.button-yellow:hover { background: #ffed43; }

.intro { display: grid; grid-template-columns: 1fr .9fr; min-height: 760px; padding-block: clamp(105px, 12vw, 190px); gap: clamp(45px, 7vw, 130px); align-items: center; }
.intro-statement { max-width: 690px; }
h2, h3, p { margin-top: 0; }
.intro h2, .library h2, .about h2, .questions h2, .contact h2, .footer h2 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.015em; text-transform: uppercase; }
.intro h2 { margin-bottom: 34px; font-size: clamp(58px, 6vw, 108px); }
.intro-statement p { max-width: 570px; margin: 0; font-size: clamp(19px, 1.65vw, 25px); line-height: 1.46; }
.intro-visual { align-self: end; }
.intro-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 46% center; }
.intro-visual p { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.library { padding-block: clamp(105px, 11vw, 175px); background: var(--surface); }
.library-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 55px; margin-bottom: clamp(65px, 8vw, 125px); }
.library-heading h2 { max-width: 1000px; margin: 0; font-size: clamp(60px, 6.7vw, 120px); }
.library-heading p { max-width: 330px; margin: 0 0 6px auto; font-size: 18px; }
.library-layout { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(520px, 1.15fr); gap: clamp(60px, 8vw, 150px); align-items: start; }
.featured-book { position: sticky; top: 30px; width: min(100%, 485px); }
.featured-book > img { width: 100%; height: auto; aspect-ratio: 935 / 1210; object-fit: cover; }
.featured-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; font-size: 14px; }
.featured-caption span { color: var(--muted); }
.featured-caption a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.featured-caption a:hover { background: var(--accent); }
.book-list { padding-top: 4px; }
.book-row { padding: 18px 0 28px; margin-bottom: 75px; transition: background .2s ease, padding .2s ease; }
.book-row.is-selected { background: rgba(255,255,255,.55); padding-inline: 20px; }
.book-select { display: grid; grid-template-columns: 72px 1fr 20px; align-items: start; width: 100%; gap: 23px; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.book-select img { width: 72px; height: auto; aspect-ratio: 935 / 1210; object-fit: cover; }
.book-copy { display: flex; flex-direction: column; gap: 11px; }
.book-copy strong { font-family: var(--display); font-weight: 400; font-size: clamp(33px, 3.1vw, 54px); line-height: 1; text-transform: uppercase; }
.book-copy > span { font-size: 16px; }
.row-arrow { font-size: 25px; line-height: 1; transition: transform .2s ease; }
.book-select:hover .row-arrow, .book-select:focus-visible .row-arrow { transform: translate(3px, -3px); }
.book-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 17px 0 0 95px; color: var(--muted); font-size: 14px; }
.book-meta a { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.book-meta a:hover { background: var(--accent); }
.book-note { max-width: 430px; margin: 70px 0 0; font-size: 17px; }

.read-anywhere { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(70px, 10vw, 170px); padding-block: clamp(110px, 12vw, 190px); }
.read-anywhere img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.reading-copy h2 { margin-bottom: 27px; font-family: var(--display); font-size: clamp(64px, 6.6vw, 112px); font-weight: 400; line-height: .98; text-transform: uppercase; }
.reading-copy p { max-width: 500px; margin-bottom: 35px; font-size: 21px; line-height: 1.44; }
.reading-copy a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.reading-copy a:hover { background: var(--accent); }

.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(70px, 9vw, 170px); padding-block: clamp(110px, 13vw, 210px); background: var(--accent); }
.about h2 { max-width: 520px; margin-bottom: 32px; font-size: clamp(58px, 6.3vw, 108px); }
.about-title-wrap > p { margin: 0; font-size: 19px; }
.about-body > .about-lead { max-width: 850px; margin-bottom: 28px; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.25; letter-spacing: -.03em; }
.about-description { max-width: 700px; margin-bottom: 65px; font-size: 18px; line-height: 1.5; }
.org-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.org-facts div { display: flex; flex-direction: column; gap: 9px; }
.org-facts span { font-size: 14px; }
.org-facts strong { font-size: 17px; line-height: 1.25; }

.questions { padding-block: clamp(110px, 12vw, 195px); }
.questions h2 { margin-bottom: clamp(72px, 7vw, 120px); font-size: clamp(60px, 6vw, 105px); }
.qa { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(65px, 12vw, 205px); align-items: start; margin-bottom: clamp(60px, 7vw, 105px); }
.qa:last-child { margin-bottom: 0; }
.qa h3 { max-width: 580px; margin: 0; font-size: clamp(27px, 3.2vw, 49px); line-height: 1.12; letter-spacing: -.04em; font-weight: 600; }
.qa p { max-width: 510px; margin: 0; font-size: 18px; line-height: 1.5; }

.contact { min-height: 640px; background: var(--ink); color: white; }
.contact-inner { min-height: 640px; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(65px, 8vw, 120px); }
.contact h2 { margin-bottom: 18px; font-size: clamp(52px, 6.1vw, 105px); }
.contact p { margin: 0; font-size: 18px; }
.contact address { font-family: var(--display); font-style: normal; font-size: clamp(40px, 5.8vw, 98px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; }
.contact a { align-self: flex-end; color: var(--accent); font-size: 17px; font-weight: 700; text-underline-offset: 5px; }
.contact a:hover { color: white; }

.footer { overflow: hidden; background: #092116; color: white; }
.footer-inner { min-height: 630px; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(75px, 8vw, 130px); }
.footer-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.footer h2 { margin: 0; font-size: clamp(61px, 7.8vw, 135px); }
.footer-small { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: auto; padding-top: 65px; font-size: 14px; }
.footer-small a { margin-left: auto; text-underline-offset: 4px; }
.footer-small a:hover { color: var(--accent); }
.footer-name { margin: 12px 0 -5vw -1vw; font-family: var(--display); font-size: clamp(110px, 24.4vw, 420px); line-height: .83; letter-spacing: -.025em; white-space: nowrap; color: var(--accent); }

.can-enter { opacity: 0; transform: translateY(25px); transition: opacity .65s ease, transform .65s ease; }
.has-entered { opacity: 1; transform: translateY(0); }
.book-row:nth-child(2) { transition-delay: 70ms; }
.book-row:nth-child(3) { transition-delay: 140ms; }
@keyframes hero-settle { from { clip-path: inset(0 100% 0 0); transform: scale(1.12); } to { clip-path: inset(0 0 0 0); transform: scale(1.08); } }

@media (max-width: 1000px) {
  .site-header { gap: 20px; }
  .site-header nav { gap: 18px; }
  .header-action { display: none; }
  .hero h1 { font-size: clamp(80px, 11vw, 130px); }
  .intro { min-height: 600px; }
  .library-layout { grid-template-columns: minmax(230px, .8fr) minmax(410px, 1.2fr); gap: 45px; }
  .book-copy strong { font-size: clamp(30px, 3.8vw, 42px); }
  .about { gap: 55px; }
  .read-anywhere { gap: 55px; }
  .footer-inner { min-height: 520px; }
  .org-facts { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 720px) {
  :root { --frame: 20px; }
  body { font-size: 16px; }
  .site-header { min-height: 80px; padding-top: 18px; align-items: flex-start; }
  .wordmark { font-size: 14px; gap: 9px; }
  .wordmark-icon { width: 38px; height: 38px; font-size: 16px; border-width: 2px; }
  .site-header nav { justify-content: flex-end; flex-wrap: wrap; gap: 0 14px; max-width: 210px; }
  .site-header nav a { font-size: 13px; padding: 1px 0; }
  .hero { min-height: 720px; height: 100svh; }
  .hero-photo { object-position: 49% center; }
  .hero-shade { background: rgba(4, 29, 15, .43); }
  .hero-content { padding-top: 128px; padding-bottom: 24px; }
  .hero h1 { max-width: 100%; padding-top: 8vh; font-size: clamp(64px, 14.8vw, 103px); line-height: .95; }
  .hero-bottom { display: block; }
  .hero-bottom p { max-width: 400px; margin-bottom: 22px; font-size: 18px; }
  .hero-bottom .button { width: 100%; }
  .intro { grid-template-columns: 1fr; min-height: 0; gap: 45px; padding-block: 105px; }
  .intro h2 { max-width: 600px; font-size: clamp(57px, 12vw, 83px); }
  .intro-statement p { font-size: 20px; }
  .intro-visual { width: 82%; margin-left: auto; }
  .intro-visual img { aspect-ratio: 4 / 4.6; }
  .library { padding-block: 105px; }
  .library-heading { display: block; margin-bottom: 60px; }
  .library-heading h2 { max-width: 580px; margin-bottom: 25px; font-size: clamp(61px, 12vw, 86px); }
  .library-heading p { max-width: 450px; margin: 0; font-size: 17px; }
  .library-layout { grid-template-columns: 1fr; gap: 55px; }
  .featured-book { position: static; width: 73%; max-width: 410px; margin: auto; }
  .featured-caption { font-size: 13px; }
  .book-row { margin-bottom: 60px; }
  .book-select { grid-template-columns: 58px 1fr 17px; gap: 14px; }
  .book-select img { width: 58px; }
  .book-copy strong { font-size: clamp(30px, 6.9vw, 42px); }
  .book-copy > span { font-size: 14px; }
  .book-meta { margin-left: 72px; font-size: 13px; gap: 5px 13px; }
  .book-note { margin-top: 42px; }
  .read-anywhere { grid-template-columns: 1fr; gap: 46px; padding-block: 105px; }
  .read-anywhere img { aspect-ratio: 4 / 3.3; }
  .reading-copy h2 { font-size: clamp(67px, 12vw, 90px); }
  .reading-copy p { font-size: 19px; }
  .about { grid-template-columns: 1fr; gap: 60px; padding-block: 105px; }
  .about h2 { max-width: 600px; font-size: clamp(60px, 11.5vw, 85px); }
  .about-body > .about-lead { margin-bottom: 24px; font-size: 25px; }
  .about-description { margin-bottom: 48px; font-size: 17px; }
  .org-facts { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .org-facts strong { font-size: 14px; }
  .questions { padding-block: 105px; }
  .questions h2 { margin-bottom: 60px; font-size: clamp(60px, 12vw, 85px); }
  .qa { grid-template-columns: 1fr; gap: 13px; margin-bottom: 60px; }
  .qa h3 { font-size: 27px; }
  .qa p { font-size: 17px; }
  .contact, .contact-inner { min-height: 580px; }
  .contact h2 { font-size: clamp(55px, 11vw, 80px); }
  .contact address { font-size: clamp(42px, 9vw, 70px); }
  .contact a { align-self: flex-start; }
  .footer-inner { min-height: 560px; padding-top: 80px; }
  .footer-top { align-items: start; flex-direction: column; }
  .footer h2 { font-size: clamp(67px, 12vw, 92px); }
  .footer-small { display: grid; gap: 8px; padding-top: 50px; font-size: 13px; }
  .footer-small a { margin-left: 0; }
  .footer-name { font-size: 29vw; margin-top: 35px; margin-bottom: -5vw; }
}

@media (max-width: 430px) {
  .site-header nav { max-width: 155px; }
  .site-header nav a { font-size: 12px; }
  .hero h1 { font-size: 16.7vw; }
  .org-facts { grid-template-columns: 1fr 1fr; }
  .org-facts div:last-child { grid-column: 1 / -1; }
  .featured-book { width: 85%; }
  .contact address { font-size: 10.2vw; }
}

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