:root {
  --paper: #f7f3ea;
  --paper-deep: #e9e2d5;
  --ink: #202a24;
  --muted: #6d716a;
  --line: #ded6c8;
  --lavender: #dce4dc;
  --lavender-deep: #c2cec2;
  --peach: #d8b995;
  --orange: #9a7049;
  --gold: #b49665;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", Arial, sans-serif;
  --page: min(1320px, calc(100% - 104px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::selection { background: #d9d6eb; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 20; background: var(--ink); color: white; padding: 10px 14px; }
.skip-link:focus { left: 12px; }

.site-header { width: var(--page); height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(34,37,53,.13); position: relative; z-index: 10; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark-mark { font: 600 42px/.8 var(--serif); letter-spacing: -4px; color: var(--orange); }
.wordmark-mark span { color: var(--gold); }
.wordmark-name { font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1.5; }
.wordmark-name small { display: block; font-size: 8px; font-weight: 500; letter-spacing: .21em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a, .language-toggle { font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.main-nav a { padding: 12px 0; position: relative; }
.main-nav a::after { content: ""; height: 1px; position: absolute; bottom: 5px; left: 0; right: 100%; background: var(--orange); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.language-toggle { border: 1px solid var(--line); background: transparent; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.language-toggle:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; }

.hero { width: var(--page); min-height: 615px; margin: auto; display: grid; grid-template-columns: 1fr 1.02fr; gap: 4%; align-items: center; position: relative; padding: 56px 0 76px; }
.hero-copy { padding: 14px 0 0 4%; z-index: 1; }
.eyebrow { margin: 0 0 19px; font-size: 9px; font-weight: 700; letter-spacing: .22em; color: var(--orange); display: flex; align-items: center; gap: 10px; }
.eyebrow-star { font-size: 15px; line-height: 1; color: var(--gold); }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
.hero h1 { max-width: 560px; margin: 0 0 22px; font-size: clamp(58px, 6.8vw, 88px); line-height: .99; }
.hero-lede { max-width: 420px; margin-bottom: 30px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { min-height: 48px; padding: 0 20px; display: inline-flex; justify-content: center; align-items: center; gap: 22px; font-size: 10px; font-weight: 700; letter-spacing: .06em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #393c50; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: white; }
.text-link { display: inline-flex; align-items: center; gap: 11px; font-size: 10px; font-weight: 700; border-bottom: 1px solid rgba(34,37,53,.28); padding: 8px 0; }
.text-link span:last-child { color: var(--orange); font-size: 15px; transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translateX(4px); }
.hero-note { margin-top: 54px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.note-line { width: 28px; height: 1px; background: var(--gold); }

.hero-art { min-height: 485px; position: relative; display: flex; justify-content: center; align-items: center; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; z-index: -2; width: min(90%, 475px); height: 425px; top: 25px; border-radius: 49% 49% 9% 9% / 46% 46% 8% 8%; background: linear-gradient(155deg, #e7e9f4 0%, #e4dcda 52%, #f0d1ba 100%); }
.hero-art::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; top: 45px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.84), rgba(255,255,255,0) 67%); }
.sun-disc { position: absolute; width: 152px; height: 152px; right: 14%; top: 7%; border-radius: 50%; background: #efcfaa; opacity: .67; }
.hero-book { position: absolute; background: #fff; width: 176px; aspect-ratio: .685; box-shadow: 0 25px 48px rgba(41,36,57,.2), 0 3px 7px rgba(41,36,57,.16); overflow: hidden; }
.hero-book img { width: 100%; height: 100%; object-fit: cover; }
.book-back { z-index: 1; left: 13%; top: 23%; transform: rotate(-12deg); }
.book-front { z-index: 3; left: 39%; top: 13%; transform: rotate(4deg); width: 190px; }
.book-side { z-index: 2; right: 10%; top: 26%; transform: rotate(13deg); width: 165px; }
.spark { position: absolute; color: #a17e5c; }
.spark-one { top: 8%; left: 19%; font-size: 31px; }
.spark-two { top: 51%; right: 8%; font-size: 23px; }
.spark-three { top: 70%; left: 16%; font-size: 17px; }
.art-caption { position: absolute; right: 1%; bottom: 10%; display: flex; align-items: center; gap: 9px; font: italic 13px var(--serif); color: #57576a; transform: rotate(-4deg); }
.caption-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.art-shelf { position: absolute; width: 88%; height: 12px; bottom: 13%; border-radius: 50%; background: rgba(76,59,69,.14); filter: blur(7px); z-index: 0; }
.hero-bottom-rule { position: absolute; height: 1px; bottom: 0; left: 0; right: 0; background: var(--line); }

.hero-photo { min-height: 550px; transform: none; margin: 0; width: 100%; }
.hero-photo::before { width: 78%; height: 86%; top: 5%; right: 4%; border-radius: 48% 48% 2px 2px; background: linear-gradient(160deg, #e8dfcd, #d8d8c9 48%, #b4c1aa); }
.hero-photo::after { width: 72%; height: 78%; top: 11%; right: 7%; border: 1px solid rgba(176,146,98,.5); border-radius: 48% 48% 2px 2px; background: transparent; }
.portrait-frame { position: relative; z-index: 1; width: min(78%, 410px); aspect-ratio: 4 / 5; margin: -2% 0 0 8%; padding: 8px; border: 1px solid rgba(176,146,98,.78); background: var(--paper); box-shadow: 0 28px 60px rgba(29,38,32,.22); }
.portrait-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 51%; }
.portrait-overlay { position: absolute; inset: 8px; background: linear-gradient(180deg, transparent 48%, rgba(24,31,28,.02) 62%, rgba(24,31,28,.76) 100%); pointer-events: none; }
.portrait-caption { position: absolute; left: 29px; right: 25px; bottom: 27px; z-index: 2; color: #fffaf0; display: flex; flex-direction: column; gap: 5px; text-shadow: 0 1px 10px rgba(0,0,0,.18); }
.portrait-caption > span { font: 500 19px/1.1 var(--serif); letter-spacing: .09em; }
.portrait-caption small { font-size: 8px; font-weight: 600; letter-spacing: .21em; }
.portrait-side-note { position: absolute; left: 0; bottom: 21%; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--paper); padding: 13px 15px 13px 0; color: var(--ink); font: italic 15px var(--serif); }
.portrait-side-rule { width: 29px; height: 1px; background: var(--gold); }
.photo-credit { position: absolute; right: 1%; bottom: 3%; z-index: 3; color: #77736b; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.photo-credit:hover { color: var(--orange); }

.intro-strip { width: var(--page); margin: auto; min-height: 104px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.intro-strip p { margin: 0; display: flex; align-items: center; gap: 14px; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.strip-number { color: var(--gold); font: 500 16px var(--serif); letter-spacing: 0; }
.intro-strip p + p { border-left: 1px solid var(--line); padding-left: 30px; }

.feature-section { background: var(--ink); color: var(--paper); min-height: 510px; margin-top: 105px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.feature-copy { padding: 74px 8vw 72px max(8vw, calc((100vw - 1190px) / 2)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.feature-copy .eyebrow { color: #e4b494; }
.feature-kicker { margin: 17px 0 10px; font-size: 8px; letter-spacing: .2em; color: #c9c8d1; }
.feature-copy h2 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 64px); line-height: 1.03; }
.feature-copy h2 em { color: #e6b49b; font-weight: 500; }
.feature-description { max-width: 440px; margin-bottom: 27px; color: #d2d1d7; font-size: 13px; line-height: 1.9; }
.feature-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; max-width: 450px; }
.feature-meta { display: inline-flex; align-items: center; gap: 8px; color: #c7c6cf; font-size: 9px; }
.meta-star { color: #e6b49b; font-size: 16px; }
.feature-apple-link { color: #d2cfca; font-size: 9px; border-bottom: 1px solid rgba(255,255,255,.28); padding: 5px 0; }
.feature-apple-link:hover { color: #fff; border-color: var(--gold); }
.feature-visual { min-height: 510px; background: radial-gradient(circle at 52% 48%, #eee2dc 0%, #d8c7c7 35%, #9da5c5 100%); position: relative; display: grid; place-items: center; }
.feature-orbit { position: absolute; width: 365px; height: 365px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; }
.orbit-two { width: 450px; height: 450px; border-color: rgba(255,255,255,.34); }
.feature-cover { width: 230px; aspect-ratio: .68; transform: rotate(4deg); box-shadow: 0 30px 50px rgba(21,20,35,.26); position: relative; z-index: 1; background: #f5e4d5; }
.feature-cover img { width: 100%; height: 100%; object-fit: cover; }
.feature-moon { position: absolute; top: 15%; left: 20%; font-size: 24px; color: white; }
.feature-quote { position: absolute; right: 12%; bottom: 12%; z-index: 2; transform: rotate(-7deg); display: flex; align-items: flex-start; gap: 6px; color: var(--ink); font: italic 18px var(--serif); }
.feature-quote span:first-child { font-size: 29px; line-height: .7; color: var(--orange); }

.library-section { width: var(--page); margin: auto; padding: 118px 0 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { max-width: 620px; font-size: clamp(42px, 5vw, 62px); line-height: 1.08; margin: 0 0 12px; }
.section-subtitle { color: var(--muted); margin: 0; font-size: 13px; }
.catalog-link { flex: 0 0 auto; margin-bottom: 7px; padding-bottom: 8px; display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.catalog-link span:last-child { color: var(--orange); }
.library-controls { margin-top: 42px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-button { padding: 8px 13px; border-radius: 30px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.filter-button:hover { color: var(--ink); border-color: var(--line); }
.filter-button.is-active { background: var(--ink); color: #fff; }
.search-box { flex: 0 0 238px; height: 40px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.search-icon { font: 25px/1 var(--serif); color: var(--orange); transform: rotate(-15deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }
.search-box input::placeholder { color: #92929a; }
.search-box:focus-within { border-color: var(--orange); }
.results-line { color: var(--muted); font-size: 10px; margin: 19px 0 16px; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.book-card { min-width: 0; animation: fade-up .36s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cover-wrap { aspect-ratio: .79; width: 100%; max-height: 350px; margin: 0 auto 18px; position: relative; background: linear-gradient(145deg, #ebe4db, #dce0f0 50%, #edc9b2); overflow: hidden; box-shadow: 0 14px 28px rgba(34,37,53,.1); }
.cover-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.book-card:hover .cover-wrap img { transform: scale(1.035); }
.cover-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 19px; background: linear-gradient(150deg, var(--cover-top, #dce0f0), var(--cover-bottom, #e8bca3)); color: var(--ink); }
.cover-fallback::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border: 1px solid rgba(34,37,53,.2); border-radius: 50%; left: 9%; top: 16%; }
.cover-mark { position: relative; font: italic 14px var(--serif); }
.cover-name { position: relative; font: 500 25px/1.05 var(--serif); letter-spacing: -.035em; }
.cover-author { position: relative; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.card-topline { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.book-series { color: var(--orange); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.book-age { color: #96939a; font-size: 9px; }
.book-title { margin: 0 0 8px; font: 500 20px/1.19 var(--serif); letter-spacing: -.025em; }
.book-description { color: var(--muted); margin: 0 0 15px; font-size: 10px; line-height: 1.7; min-height: 52px; }
.book-tags { min-height: 21px; display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.book-tag { color: #656674; background: rgba(220,224,240,.55); border-radius: 20px; padding: 3px 8px; font-size: 8px; }
.book-actions { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 9px; }
.book-buy { display: inline-flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 700; }
.book-buy span { color: var(--orange); font-size: 13px; }
.book-isbn { color: #9b99a0; font-size: 8px; }
.empty-state { grid-column: 1/-1; padding: 46px 12px; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 22px; }
.library-endnote { margin-top: 46px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 10px; }
.endnote-star { color: var(--gold); font-size: 16px; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; background: #edebe5; min-height: 575px; }
.about-art { min-height: 575px; position: relative; overflow: hidden; background: linear-gradient(145deg, #d6dced, #e9d3c7 60%, #dfd8dd); display: flex; justify-content: center; align-items: center; }
.about-art::before { content: ""; position: absolute; width: 470px; height: 470px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; }
.about-art::after { content: ""; position: absolute; width: 315px; height: 315px; border-radius: 50%; background: rgba(248,246,241,.34); }
.about-roundel { z-index: 1; position: absolute; width: 176px; height: 176px; border: 1px solid rgba(34,37,53,.35); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translate(-42%, -31%); }
.about-roundel span { font: italic 92px/.85 var(--serif); color: var(--orange); }
.about-roundel img { width: 82px; height: 82px; margin-bottom: 8px; border: 1px solid var(--gold); border-radius: 50%; object-fit: cover; }
.about-roundel small { margin-top: 9px; font-size: 7px; text-align: center; font-weight: 700; line-height: 1.5; letter-spacing: .18em; }
.about-book-stack { position: absolute; width: 260px; height: 290px; bottom: 10%; right: 13%; z-index: 2; }
.stack-book { width: 155px; aspect-ratio: .68; position: absolute; overflow: hidden; box-shadow: 0 18px 35px rgba(29,29,42,.22); }
.stack-book img { width: 100%; height: 100%; object-fit: cover; }
.stack-book-one { left: 19%; bottom: 0; transform: rotate(-8deg); }
.stack-book-two { right: 0; top: 2%; transform: rotate(8deg); }
.about-star { z-index: 3; position: absolute; color: #fffdf7; }
.about-star-a { font-size: 33px; left: 18%; top: 18%; }
.about-star-b { font-size: 18px; right: 14%; top: 17%; color: var(--orange); }
.about-copy { padding: 82px max(8vw, calc((100vw - 1190px) / 2)) 80px 7vw; align-self: center; }
.about-copy h2 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.06; margin: 0 0 24px; }
.about-copy > p:not(.eyebrow) { color: #666873; font-size: 12px; line-height: 1.95; }
.about-signoff { margin: 29px 0 16px; display: flex; align-items: center; gap: 13px; font: italic 18px var(--serif); }
.signoff-rule { width: 30px; height: 1px; background: var(--orange); }
.about-goodreads { font-size: 9px; }

.closing-note { min-height: 420px; margin: auto; padding: 83px 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; }
.closing-note::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(220,224,240,.75), rgba(220,224,240,0) 69%); z-index: -1; }
.closing-star { color: var(--gold); font-size: 25px; margin-bottom: 15px; }
.closing-note .eyebrow { justify-content: center; margin-bottom: 17px; }
.closing-note h2 { margin: 0 0 24px; font-size: clamp(52px, 6vw, 76px); line-height: .99; }
.closing-note h2 em { color: var(--orange); }
.closing-note .button { margin-top: 5px; }

.site-footer { width: var(--page); min-height: 116px; margin: auto; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 18px; }
.footer-wordmark .wordmark-mark { font-size: 35px; }
.footer-wordmark .wordmark-name { font-size: 8px; }
.footer-wordmark .wordmark-name small { font-size: 7px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.footer-links a:hover { color: var(--orange); }
.footer-note { margin: 0; text-align: right; color: var(--muted); font-size: 9px; }

@media (max-width: 980px) {
  :root { --page: min(100% - 48px, 800px); }
  .hero { grid-template-columns: 1fr 1fr; gap: 0; min-height: 565px; }
  .hero-copy { padding-left: 0; }
  .hero-art { transform: scale(.9); margin-left: -8%; width: 112%; }
  .hero-photo { transform: none; margin-left: 0; width: 100%; }
  .portrait-frame { width: min(82%, 380px); margin-left: 6%; }
  .intro-strip p { font-size: 8px; letter-spacing: .11em; gap: 8px; }
  .intro-strip p + p { padding-left: 16px; }
  .feature-copy { padding-left: 8vw; padding-right: 5vw; }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; }
  .about-copy { padding: 65px 8vw 65px 6vw; }
}
@media (max-width: 700px) {
  :root { --page: calc(100% - 40px); }
  html { scroll-padding-top: 68px; }
  .site-header { height: 72px; }
  .wordmark-mark { font-size: 36px; }
  .main-nav { position: absolute; display: none; top: 71px; left: -20px; right: -20px; padding: 19px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 14px; }
  .main-nav.is-open { display: flex; }
  .language-toggle { position: absolute; right: 20px; top: 18px; }
  .menu-toggle { display: flex; width: 40px; height: 40px; padding: 12px 8px; background: transparent; border: 0; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; }
  .menu-toggle span { height: 1px; width: 24px; background: var(--ink); }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding: 48px 0 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 540px; font-size: clamp(53px, 14vw, 76px); }
  .hero-lede { font-size: 13px; }
  .hero-note { margin-top: 28px; font-size: 9px; }
  .hero-art { width: 100%; margin: 22px auto 0; transform: none; min-height: 370px; }
  .hero-art::before { height: 335px; width: 88%; top: 13px; }
  .hero-art::after { width: 310px; height: 310px; top: 25px; }
  .hero-book { width: 140px; }
  .book-front { width: 153px; top: 8%; left: 37%; }
  .book-back { left: 10%; top: 20%; }
  .book-side { right: 8%; top: 24%; width: 130px; }
  .art-caption { bottom: 3%; right: 3%; font-size: 11px; }
  .art-shelf { bottom: 8%; }
  .hero-photo { min-height: 470px; margin: 24px auto 0; }
  .hero-photo::before { height: 88%; width: 83%; top: 3%; right: 4%; }
  .hero-photo::after { height: 79%; width: 77%; top: 8%; right: 6%; }
  .portrait-frame { width: min(82%, 360px); margin: 0 0 0 8%; padding: 6px; }
  .portrait-overlay { inset: 6px; }
  .portrait-caption { left: 23px; bottom: 22px; }
  .portrait-caption > span { font-size: 16px; }
  .portrait-side-note { left: 0; bottom: 14%; font-size: 13px; padding-right: 9px; }
  .photo-credit { right: 3%; bottom: 1%; font-size: 7px; }
  .intro-strip { grid-template-columns: 1fr; padding: 18px 0; gap: 13px; }
  .intro-strip p { font-size: 8px; }
  .intro-strip p + p { border-left: 0; padding-left: 0; }
  .feature-section { margin-top: 62px; grid-template-columns: 1fr; }
  .feature-copy { padding: 53px 24px 44px; }
  .feature-copy h2 { font-size: 50px; }
  .feature-description { font-size: 12px; }
  .feature-bottom { align-items: flex-start; flex-direction: column; }
  .feature-visual { min-height: 380px; }
  .feature-cover { width: 185px; }
  .feature-orbit { width: 280px; height: 280px; }
  .orbit-two { width: 345px; height: 345px; }
  .feature-quote { bottom: 8%; right: 8%; }
  .library-section { padding: 75px 0 67px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 44px; }
  .section-subtitle { font-size: 12px; }
  .catalog-link { margin-top: 20px; font-size: 9px; }
  .library-controls { margin-top: 26px; align-items: stretch; flex-direction: column-reverse; gap: 12px; }
  .search-box { flex-basis: 40px; width: 100%; }
  .filter-list { gap: 5px; }
  .filter-button { padding: 7px 10px; font-size: 9px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 13px; row-gap: 30px; }
  .cover-wrap { margin-bottom: 12px; }
  .cover-fallback { padding: 12px; }
  .cover-name { font-size: 19px; }
  .book-title { font-size: 17px; }
  .book-description { min-height: 70px; font-size: 9px; }
  .card-topline { min-height: 22px; align-items: flex-start; flex-direction: column; gap: 1px; }
  .book-age { font-size: 8px; }
  .book-isbn { display: none; }
  .library-endnote { font-size: 9px; text-align: center; }
  .about-section { grid-template-columns: 1fr; }
  .about-art { min-height: 390px; }
  .about-art::before { width: 310px; height: 310px; }
  .about-art::after { width: 215px; height: 215px; }
  .about-roundel { width: 140px; height: 140px; transform: translate(-45%, -25%); }
  .about-roundel span { font-size: 72px; }
  .about-book-stack { width: 230px; height: 245px; right: 12%; bottom: 6%; }
  .stack-book { width: 130px; }
  .about-copy { padding: 53px 24px 56px; }
  .about-copy h2 { font-size: 43px; }
  .about-copy > p:not(.eyebrow) { font-size: 11px; }
  .closing-note { min-height: 360px; padding: 69px 20px; }
  .closing-note h2 { font-size: 55px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding: 26px 0; gap: 17px; }
  .footer-links { gap: 15px; }
  .footer-note { text-align: center; }
}
@media (max-width: 380px) {
  :root { --page: calc(100% - 32px); }
  .hero-actions { gap: 17px; }
  .button { padding: 0 15px; }
  .hero-book { width: 125px; }
  .book-front { width: 136px; }
  .book-side { width: 116px; }
  .book-grid { column-gap: 10px; }
  .book-title { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Editorial portrait, translated storefront and stronger product cards. */
.language-picker { display: inline-flex; align-items: center; }
.language-picker select { min-width: 92px; height: 40px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: rgba(255,255,255,.34); font: 600 10px var(--sans); cursor: pointer; }
.language-picker select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { border-color: rgba(32,42,36,.16); }
.wordmark-mark { color: var(--gold); }
.hero { min-height: 665px; grid-template-columns: .96fr 1.04fr; }
.hero-copy { padding-left: 3%; }
.hero h1 { max-width: 610px; font-size: clamp(64px, 7vw, 98px); line-height: .96; }
.hero-lede { max-width: 445px; font-size: 15px; }
.hero-art.hero-photo { min-height: 610px; transform: none; margin: 0; width: 100%; overflow: visible; }
.hero-photo::before { width: 76%; height: 88%; top: 3%; right: 5%; border-radius: 48% 48% 2px 2px; background: linear-gradient(158deg, #e5e8dd 0%, #d7d9cc 45%, #b6c1b5 100%); }
.hero-photo::after { width: 78%; height: 90%; top: 1%; right: 3%; border: 1px solid rgba(180,150,101,.68); border-radius: 48% 48% 2px 2px; background: transparent; }
.hero-cutout { position: absolute; z-index: 1; right: 7%; bottom: 0; height: 96%; width: auto; max-width: 88%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 23px 24px rgba(33,39,33,.16)); }
.hero-monogram { position: absolute; z-index: -1; left: 8%; top: 7%; color: rgba(154,112,73,.22); font: 500 clamp(90px, 12vw, 155px)/1 var(--serif); letter-spacing: -.1em; }
.hero-orbit { position: absolute; z-index: 0; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 72px; height: 72px; left: 13%; top: 25%; }
.hero-orbit-two { width: 13px; height: 13px; left: 18%; top: 29%; background: var(--gold); border: 0; }
.portrait-signature { position: absolute; z-index: 3; left: 2%; bottom: 6%; display: flex; flex-direction: column; gap: 5px; padding: 13px 19px 12px; border-left: 1px solid var(--gold); background: rgba(247,243,234,.95); box-shadow: 0 12px 28px rgba(39,42,35,.08); }
.portrait-signature span { font: 500 16px/1.1 var(--serif); letter-spacing: .08em; }
.portrait-signature small { font: 600 8px/1.2 var(--sans); letter-spacing: .19em; color: var(--muted); }
.portrait-side-note { left: 0; bottom: 31%; padding: 11px 15px 11px 0; background: var(--paper); font-size: 14px; }
.photo-credit { right: 1%; bottom: 1%; color: #77736b; font-size: 7px; letter-spacing: .12em; }
.intro-strip { min-height: 110px; }
.feature-section { background: #22332b; }
.feature-visual { background: radial-gradient(circle at 52% 48%, #e9e3d5 0%, #c9cbbc 42%, #809184 100%); }
.feature-copy h2 em { color: #d8bb8b; }
.button-light, .feature-apple-link { color: var(--ink); }
.feature-apple-link { color: #e7e1d4; }
.library-section { padding-top: 108px; }
.book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.book-card { display: flex; flex-direction: column; padding: 12px 12px 14px; border: 1px solid rgba(111,103,85,.16); border-radius: 9px; background: rgba(255,255,255,.40); box-shadow: 0 7px 22px rgba(43,45,37,.035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.book-card:hover { transform: translateY(-4px); border-color: rgba(180,150,101,.50); box-shadow: 0 18px 35px rgba(43,45,37,.11); }
.cover-wrap { width: 100%; aspect-ratio: .73; max-height: 390px; margin: 0 auto 17px; padding: 8px; border-radius: 5px; background: linear-gradient(145deg,#f0ece3,#e6e5dc); box-shadow: none; display: grid; place-items: center; }
.cover-wrap img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 9px 20px rgba(27,32,28,.14); }
.book-card:hover .cover-wrap img { transform: translateY(-2px); }
.card-topline { min-height: 25px; margin-bottom: 7px; }
.book-series { color: #8f6b45; letter-spacing: .11em; }
.book-title { font-size: 19px; line-height: 1.2; }
.book-description { min-height: 57px; margin-bottom: 13px; font-size: 10px; line-height: 1.65; }
.book-tags { min-height: 25px; margin-bottom: 12px; }
.book-tag { color: #4f5c51; background: #e5e9e0; }
.book-actions { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 9px; border-top: 1px solid var(--line); padding-top: 12px; }
.book-buy { min-height: 43px; justify-content: center; gap: 9px; border: 1px solid #e3b900; border-radius: 6px; background: #ffd814; color: #1d2520; font-size: 11px; font-weight: 700; box-shadow: 0 2px 0 #e4b800; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.book-buy:hover { transform: translateY(-1px); background: #f7ca00; box-shadow: 0 3px 0 #dcb300; }
.book-buy span { color: #31352e; font-size: 15px; }
.book-secondary-link { align-self: center; color: #666c64; font-size: 9px; border-bottom: 1px solid rgba(111,103,85,.24); padding-bottom: 2px; }
.book-secondary-link:hover { color: var(--orange); border-color: var(--gold); }
.book-isbn { align-self: center; color: #96938c; font-size: 8px; }
.about-art { background: linear-gradient(145deg, #d8ded3, #ebe5d8 62%, #d7d0c0); }
.closing-note::before { background: radial-gradient(circle, rgba(211,220,208,.84), rgba(211,220,208,0) 69%); }
html[dir="rtl"] body { font-family: "Noto Sans Arabic", "Noto Naskh Arabic", Arial, sans-serif; }
html[dir="rtl"] .main-nav, html[dir="rtl"] .hero-copy, html[dir="rtl"] .about-copy { direction: rtl; }
html[dir="rtl"] .hero-copy { text-align: right; }
html[dir="rtl"] .eyebrow { flex-direction: row; }
html[dir="rtl"] .portrait-signature { left: auto; right: 2%; border-left: 0; border-right: 1px solid var(--gold); }
html[dir="rtl"] .portrait-side-note { left: auto; right: 0; padding: 11px 0 11px 15px; }
html[dir="rtl"] .intro-strip p + p { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 30px; }
html[dir="rtl"] .book-grid { direction: rtl; }
html[dir="rtl"] .book-card { text-align: right; }
html[dir="rtl"] .book-tags { justify-content: flex-start; }
html[dir="rtl"] .book-isbn { align-self: center; }
@media (max-width: 980px) {
  .hero { min-height: 600px; }
  .hero-art.hero-photo { min-height: 550px; }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .language-picker { position: absolute; right: 67px; top: 17px; }
  .language-picker select { width: 84px; min-width: 84px; height: 36px; padding: 0 20px 0 9px; font-size: 9px; }
  .hero { min-height: 0; }
  .hero-art.hero-photo { min-height: 490px; margin-top: 25px; }
  .hero-photo::before { width: 82%; height: 88%; right: 4%; }
  .hero-photo::after { width: 84%; height: 90%; right: 2%; }
  .hero-cutout { height: 97%; max-width: 92%; right: 5%; }
  .portrait-signature { left: 0; bottom: 3%; padding: 11px 14px; }
  .portrait-signature span { font-size: 14px; }
  .portrait-signature small { font-size: 7px; }
  .portrait-side-note { bottom: 29%; font-size: 12px; }
  .photo-credit { right: 1%; bottom: 0; font-size: 6px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .book-card { padding: 8px 8px 11px; }
  .cover-wrap { margin-bottom: 12px; padding: 5px; }
  .book-title { font-size: 16px; }
  .book-description { min-height: 70px; font-size: 9px; }
  .book-buy { min-height: 40px; font-size: 10px; }
  .book-isbn { display: block; font-size: 7px; }
  html[dir="rtl"] .language-picker { right: auto; left: 67px; }
}

/* Stable editorial masthead with an overlay language menu. */
.site-header {
  display: grid;
  grid-template-columns: minmax(185px, 1fr) minmax(390px, 440px) 48px;
  gap: clamp(14px, 2vw, 28px);
  justify-content: initial;
  z-index: 40;
}
.main-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}
.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 12px 5px;
  white-space: nowrap;
  text-align: center;
  font-size: 8px;
  letter-spacing: .1em;
}
.main-nav a::after { left: 13%; right: 87%; bottom: 4px; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 13%; }
.language-picker { position: relative; display: grid; place-items: center; width: 48px; height: 48px; justify-self: end; }
.language-trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(180,150,101,.4);
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.language-trigger:hover, .language-trigger[aria-expanded="true"] {
  border-color: var(--gold);
  background: #fffdf8;
  box-shadow: 0 6px 18px rgba(40,43,34,.09);
  transform: translateY(-1px);
}
.language-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.globe-icon { width: 21px; height: 21px; fill: none; stroke: var(--orange); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.language-current {
  position: absolute;
  right: -5px;
  bottom: -2px;
  min-width: 22px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font: 700 7px/1 var(--sans);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.language-menu {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  width: min(286px, calc(100vw - 40px));
  max-height: min(420px, calc(100vh - 120px));
  overflow-y: auto;
  padding: 9px;
  border: 1px solid rgba(180,150,101,.3);
  border-radius: 13px;
  background: rgba(250,248,242,.98);
  box-shadow: 0 20px 48px rgba(34,38,31,.16), 0 3px 10px rgba(34,38,31,.06);
  backdrop-filter: blur(14px);
}
.language-menu[hidden] { display: none; }
.language-menu:not([hidden]) { animation: language-menu-enter .16s ease-out both; transform-origin: top right; }
@keyframes language-menu-enter { from { opacity: 0; transform: translateY(-4px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
html[dir="rtl"] .language-menu { right: auto; left: 0; }
.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  text-align: start;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.language-option:hover, .language-option.is-selected { border-color: rgba(180,150,101,.2); background: #efede4; }
.language-option-name { overflow: hidden; color: var(--ink); font-size: 10px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.language-option-code { flex: 0 0 auto; color: #9b8a6c; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.language-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.hero-actions .button { min-width: 190px; justify-content: space-between; }
.hero-actions .text-link { min-width: 128px; justify-content: space-between; }
.book-buy { white-space: nowrap; }

@media (max-width: 980px) and (min-width: 701px) {
  .site-header { grid-template-columns: minmax(155px, 1fr) minmax(375px, 410px) 46px; gap: 15px; }
  .wordmark-name { font-size: 9px; }
  .main-nav a { padding-right: 2px; padding-left: 2px; font-size: 7px; letter-spacing: .065em; }
  .language-picker { width: 46px; height: 46px; }
}

@media (max-width: 700px) {
  .site-header { display: flex; justify-content: space-between; gap: 0; }
  .main-nav { display: none; }
  .main-nav.is-open { display: flex; align-items: stretch; }
  .main-nav.is-open a { justify-content: flex-start; width: 100%; }
  .language-picker { position: absolute; top: 14px; right: 60px; width: 42px; height: 42px; }
  .language-trigger { width: 40px; height: 40px; }
  .globe-icon { width: 19px; height: 19px; }
  .language-current { right: -4px; bottom: -2px; min-width: 20px; height: 15px; font-size: 6px; }
  .language-menu { top: calc(100% + 9px); right: -52px; width: min(278px, calc(100vw - 40px)); }
  .hero-actions .button { min-width: 178px; }
  .hero-actions .text-link { min-width: 116px; }
  html[dir="rtl"] .language-picker { right: auto; left: 60px; }
  html[dir="rtl"] .language-menu { right: auto; left: 0; }
}

.book-title a{color:inherit;text-decoration:none}.book-title a:hover{text-decoration:underline}.book-detail{max-width:850px;margin:50px auto;padding:24px}.book-detail h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.2}.detail-cover{max-width:260px;width:100%;height:auto;margin:24px 0}.book-detail p{line-height:1.8}
