@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: oklch(0.235 0.022 89);
  --ink-deep: oklch(0.17 0.014 88);
  --ivory: oklch(0.94 0.026 89);
  --muted: oklch(0.81 0.033 87);
  --gold: oklch(0.79 0.089 83);
  --gold-light: oklch(0.87 0.07 83);
  --rule: oklch(0.78 0.058 86 / 0.28);
  --error: oklch(0.85 0.08 37);
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --gutter: clamp(1.5rem, 5.5vw, 7rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--ink-deep); color: var(--ivory); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: 0.23em; }
button, input, select, textarea { font: inherit; }
button, a, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
::selection { background: var(--gold); color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 6px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 3px; }
p { margin: 0 0 1.4rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2 { margin: 0; }
h2 { font-size: clamp(2.6rem, 4.2vw, 4.5rem); line-height: 1.09; letter-spacing: -0.022em; }
h2 em { color: var(--gold-light); font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.visually-hidden, .honey { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.honey { left: -10000px; }
.skip-link { position: absolute; z-index: 100; left: var(--gutter); top: -8rem; padding: 0.8rem 1rem; background: var(--ivory); color: var(--ink-deep); }
.skip-link:focus { top: 1rem; }
.page-art, .page-shade { position: fixed; inset: 0 auto auto 0; width: 100%; height: 100vh; height: 100lvh; overflow: hidden; pointer-events: none; z-index: -2; }
.page-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; transform-origin: 64% center; }
.page-shade { z-index: -1; background: linear-gradient(90deg, oklch(0.14 0.016 86 / 0.66) 0%, oklch(0.14 0.016 86 / 0.45) 36%, oklch(0.14 0.016 86 / 0.04) 70%, oklch(0.14 0.016 86 / 0.12) 100%); }
.eyebrow { margin-bottom: 1.6rem; color: var(--gold-light); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem var(--gutter); }
.publisher { display: block; flex: 0 0 auto; text-decoration: none; }
.publisher-logo { display: block; width: 12.5rem; height: auto; border-radius: 2px; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); }
.site-header nav a { font-size: 1rem; text-decoration: none; padding: 0.55rem 0; transition: color 150ms ease-out; }
.site-header nav a:hover { color: var(--gold-light); }

.hero { position: relative; display: flex; align-items: center; min-height: 100svh; padding: clamp(9rem, 17vh, 13rem) var(--gutter) 7rem; }
.hero-copy { width: min(43rem, 48vw); }
.hero h1 { font-size: clamp(5.5rem, 8.7vw, 10rem); line-height: 0.88; letter-spacing: -0.035em; margin: 0 0 2.25rem -0.045em; }
.hero h1 span { display: inline-block; font-style: italic; color: var(--gold-light); font-size: 0.89em; white-space: nowrap; }
.hero-subtitle { max-width: 24ch; font-family: var(--serif); font-size: clamp(1.65rem, 2.05vw, 2.15rem); line-height: 1.28; margin-bottom: 2.1rem; }
.hero-actions { display: flex; gap: 1.55rem; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.6rem; min-height: 3.2rem; padding: 0.8rem 1.4rem; border: 1px solid transparent; border-radius: 2px; font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background-color 160ms ease-out, color 160ms ease-out, transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.button span[aria-hidden] { font-weight: 400; font-size: 1.3em; }
.button-light { background: var(--ivory); color: var(--ink-deep); }
.button-light:hover { background: var(--gold-light); transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--ink-deep); }
.button-gold:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-2px); }
.button:disabled { opacity: 0.6; }
.text-link { display: inline-flex; align-items: center; gap: 0.85rem; padding: 0.65rem 0; font-size: 1rem; font-weight: 500; text-decoration-color: var(--rule); transition: color 160ms ease-out; }
.text-link:hover { color: var(--gold-light); text-decoration-color: var(--gold-light); }
.hero-edition { margin-top: 1.4rem; color: var(--muted); font-size: 0.95rem; }
.hero-credit { margin-top: 2.2rem; margin-bottom: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 2.5rem; display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; text-decoration: none; text-shadow: 0 1px 10px var(--ink-deep); }
.scroll-cue span[aria-hidden] { font-size: 1.8rem; line-height: 1; }

.book-section { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.8fr); gap: clamp(4rem, 8vw, 10rem); padding: clamp(5rem, 9vw, 10rem) var(--gutter); background: oklch(0.235 0.022 89 / 0.95); }
.book-reading { max-width: 42rem; }
.book-reading h2 { margin-bottom: 2.1rem; }
.book-reading p:not(.eyebrow) { max-width: 62ch; color: var(--muted); }
.book-reading .lead { font-family: var(--serif); color: var(--ivory) !important; font-size: clamp(1.45rem, 1.9vw, 1.8rem); line-height: 1.42; }
.book-reading .text-link { margin-top: 0.55rem; color: var(--gold-light); }
.book-details { align-self: start; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.book-mark { display: flex; justify-content: flex-start; align-items: center; gap: 0.6rem; height: 5.5rem; margin: 0 0 0.8rem; color: var(--gold); font-family: var(--serif); }
.book-mark span { font-size: 5.2rem; line-height: 1; }
.book-mark i { font-size: 1.6rem; margin-top: 0.75rem; }
.details-title { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.6rem; }
.book-details dl { margin: 0; }
.book-details dl div { margin-bottom: 1.15rem; }
.book-details dt { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.05em; margin-bottom: 0.15rem; }
.book-details dd { margin: 0; font-size: 1.025rem; }
.book-details dd small { display: block; max-width: 28ch; color: var(--muted); font-size: 0.85rem; line-height: 1.4; margin-top: 0.15rem; }

.requests-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 10rem); padding: clamp(5rem, 9vw, 10rem) var(--gutter); background: oklch(0.17 0.014 88 / 0.96); }
.requests-intro h2 { margin-bottom: 1.8rem; }
.requests-intro > p:not(.eyebrow) { max-width: 33ch; color: var(--muted); }
.publisher-contact { margin-top: 3rem; font-size: 0.95rem; }
.publisher-contact a { color: var(--ivory); }
.request-forms { min-width: 0; max-width: 42rem; }
.request-details { border-top: 1px solid var(--rule); scroll-margin-top: 2rem; }
.request-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 6rem; padding: 1.2rem 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; list-style: none; }
.request-details > summary::-webkit-details-marker { display: none; }
.request-details > summary > span:first-child { display: flex; gap: 1rem; align-items: baseline; }
.form-number { font-family: var(--sans); font-size: 0.72rem; color: var(--gold); letter-spacing: 0.06em; }
.details-toggle { position: relative; flex: 0 0 1rem; height: 1rem; }
.details-toggle::before, .details-toggle::after { content: ""; position: absolute; top: 50%; left: 0; height: 1px; width: 1rem; background: var(--gold-light); }
.details-toggle::after { transform: rotate(90deg); }
.request-details[open] .details-toggle::after { transform: rotate(0); }
.request-details > summary:hover { color: var(--gold-light); }
.details-body { padding: 0.25rem 0 2.7rem 1.95rem; }
.details-body > p { color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 58ch; margin-bottom: 1.8rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: 0.45rem; font-size: 0.95rem; font-weight: 500; }
.field label span { color: var(--muted); font-size: 0.85rem; font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 3rem; padding: 0.6rem 0.85rem; border: 1px solid oklch(0.76 0.04 85 / 0.47); border-radius: 2px; color: var(--ivory); background: oklch(0.285 0.02 89); line-height: 1.4; }
.field textarea { resize: vertical; }
.field select { padding-right: 1.5rem; }
.field-quantity { max-width: 15rem; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.form-note { max-width: 57ch; font-size: 0.85rem; color: var(--muted); margin: 1.5rem 0 1.25rem; line-height: 1.55; }
.form-status { margin: 0; font-size: 1rem; line-height: 1.6; }
.form-status:not(:empty) { margin-top: 1.35rem; padding: 1rem 1.15rem; border: 1px solid var(--rule); background: oklch(0.275 0.032 91); }
form[data-state="error"] .form-status { color: var(--error); border-color: oklch(0.75 0.06 39 / 0.45); }
form[data-state="success"] fieldset { display: none; }
form[data-state="pending"] fieldset { opacity: 0.8; }
.notice { padding: 1rem; font-size: 1rem; border: 1px solid var(--rule); }
.privacy-details { padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.privacy-details summary { padding: 0.5rem 0; cursor: pointer; color: var(--muted); font-size: 0.85rem; }
.privacy-details > div { padding-top: 1rem; font-size: 0.85rem; line-height: 1.65; color: var(--muted); }
.privacy-details p { margin-bottom: 1rem; }

.site-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; padding: 3rem var(--gutter); background: oklch(0.17 0.014 88 / 0.98); border-top: 1px solid var(--rule); }
.footer-publisher { display: inline-block; text-decoration: none; }
.footer-publisher .publisher-logo { width: 10rem; }
.site-footer p { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.8rem; }
.footer-links { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; color: var(--muted); font-size: 0.8rem; }
.footer-links a { text-decoration-color: var(--rule); }

@media (min-width: 1800px) {
  .hero-copy { width: 45rem; }
  .book-section, .requests-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1050px) {
  .hero-copy { width: 57vw; }
  .hero h1 { font-size: clamp(5rem, 10vw, 7.5rem); }
  .book-section { gap: 3rem; grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr); }
  .requests-section { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; }
  .details-body { padding-left: 0; }
  .site-footer { align-items: flex-start; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 1rem; }
  body { font-size: 1.0625rem; }
  .site-header { flex-direction: column; align-items: flex-start; padding-top: 1.3rem; gap: 0.55rem; }
  .publisher-logo { width: 9rem; }
  .site-header nav { gap: 1.5rem; }
  .site-header nav a { min-height: 2.75rem; font-size: 1rem; padding: 0.55rem 0; }
  .page-art img { object-position: 66% center; transform-origin: 66% center; }
  .page-shade { background: linear-gradient(90deg, oklch(0.14 0.016 86 / 0.76) 0%, oklch(0.14 0.016 86 / 0.55) 60%, oklch(0.14 0.016 86 / 0.42) 100%); }
  .hero { min-height: max(48rem, 100svh); align-items: center; padding-top: 11rem; padding-bottom: 5rem; }
  .hero-copy { width: 100%; max-width: 30rem; }
  .hero .eyebrow { font-size: 0.75rem; margin-bottom: 1.65rem; }
  .hero h1 { font-size: clamp(4.7rem, 14.3vw, 6.9rem); margin-bottom: 1.9rem; line-height: 0.94; }
  .hero h1 span { font-size: 0.91em; }
  .hero-subtitle { font-size: 1.7rem; max-width: 23ch; margin-bottom: 1.6rem; }
  .hero-actions { gap: 0.55rem 1.4rem; }
  .hero-credit { margin-top: 1.7rem; font-size: 0.84rem; }
  .hero-edition { font-size: 0.85rem; margin-top: 1rem; }
  .scroll-cue { bottom: 1.3rem; font-size: 0.75rem; }
  .book-section, .requests-section { grid-template-columns: 1fr; padding-top: 4.5rem; padding-bottom: 4.5rem; gap: 3.5rem; }
  .book-section { background: oklch(0.235 0.022 89 / 0.96); }
  .book-reading h2 { font-size: clamp(2.65rem, 8vw, 3.9rem); margin-bottom: 1.6rem; }
  .eyebrow { margin-bottom: 1.2rem; }
  .book-details { padding-top: 1.4rem; }
  .book-mark { display: none; }
  .book-details dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .book-details dl div { margin: 0; }
  .book-details dd { font-size: 0.96rem; overflow-wrap: anywhere; }
  .book-details dd small { font-size: 0.8rem; }
  .requests-intro h2 { font-size: clamp(2.8rem, 8.5vw, 4rem); }
  .requests-intro > p:not(.eyebrow) { max-width: 42ch; }
  .publisher-contact { margin-top: 1.8rem; margin-bottom: 0; }
  .requests-section { gap: 2.5rem; }
  .request-details > summary { min-height: 5.5rem; font-size: 1.65rem; }
  .request-details > summary > span:first-child { gap: 0.7rem; }
  .details-body { padding-bottom: 2.2rem; }
  .field input, .field textarea, .field select { font-size: 1rem; }
  .details-body .button { width: 100%; }
  .site-footer { flex-direction: column; gap: 1.75rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .footer-links { flex-direction: row; gap: 1rem 1.5rem; }
  .footer-links span { flex-basis: 100%; }
}
@media (max-width: 360px) {
  :root { --gutter: 1.15rem; }
  .site-header nav { gap: 0.75rem; }
  .hero h1 { font-size: 4.45rem; }
  .hero h1 span { font-size: 0.86em; }
  .book-details dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  :root { color-scheme: light; }
  body { color: oklch(0.2 0.01 85); background: oklch(0.97 0.005 85); }
  .page-art, .page-shade, .site-header nav, .hero-actions, .scroll-cue, .requests-section { display: none; }
  .hero { min-height: auto; padding: 6rem 2rem 2rem; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 5rem; }
  .hero h1 span, h2 em, .eyebrow, .hero-subtitle, .hero-credit, .hero-edition, .book-reading p, .book-details *, .site-footer * { color: inherit !important; }
  .book-section, .site-footer { background: transparent; padding: 2rem; }
}
