:root {
  --ink: #261f1b;
  --muted: #6e625a;
  --paper: #f7f1e7;
  --cream: #fffaf1;
  --red: #8e1f2d;
  --red-dark: #65131f;
  --green: #244f3a;
  --gold: #c29a51;
  --blue: #345f74;
  --line: rgba(67, 48, 38, .18);
  --shadow: 0 30px 80px rgba(68, 45, 28, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: 99px; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; margin: auto; padding: 30px max(5vw, 40px); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; line-height: 1.05; }
.brand-logo { display: block; width: 105px; height: auto; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 36px; color: var(--red); }
.brand-mark svg { width: 100%; fill: currentColor; }
.brand b { display: block; font-family: Georgia, serif; font-size: .94rem; letter-spacing: .1em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .56rem; letter-spacing: .28em; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.site-header nav a { text-decoration: none; padding: 7px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover { border-color: currentColor; }
.language-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid var(--line); padding: 3px; border-radius: 30px; background: rgba(255,255,255,.42); cursor: pointer; }
.language-toggle span { display: grid; min-width: 27px; height: 27px; place-items: center; border-radius: 50%; font-weight: 750; font-size: .72rem; }
.language-toggle .active { background: var(--ink); color: var(--cream); }

.hero { position: relative; min-height: 780px; overflow: hidden; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 40px; padding: 130px max(5vw, 40px) 80px; background:
  radial-gradient(circle at 78% 22%, rgba(194,154,81,.16), transparent 25%),
  linear-gradient(120deg, #fbf7ef 0%, #f7efe3 60%, #efe3d2 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .26; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
.hero-copy { position: relative; z-index: 2; width: min(100%, 620px); justify-self: start; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: .76rem; line-height: 1.2; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; }
.hero h1 { max-width: 620px; margin-bottom: 26px; font-weight: 400; letter-spacing: -.035em; line-height: .94; }
.hero h1 > span { display: block; color: var(--red); font-size: clamp(4.7rem, 8vw, 7.5rem); text-transform: uppercase; letter-spacing: -.065em; }
.hero h1 > em { display: block; max-width: 500px; margin-top: 18px; color: #a87521; font-size: clamp(2rem, 3.2vw, 3.1rem); font-style: normal; line-height: 1.08; }
.book-type { margin: -4px 0 18px; color: var(--green); font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero-intro { max-width: 590px; margin: 0; color: var(--muted); font-family: Georgia, serif; font-size: 1.13rem; line-height: 1.7; }
.hero-origin { max-width: 540px; margin: 18px 0 0; padding-left: 17px; color: var(--green); border-left: 2px solid var(--gold); font-family: Georgia, serif; font-size: .93rem; font-style: italic; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 23px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: .79rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 12px 30px rgba(142,31,45,.18); }
.button-primary:hover { background: var(--red-dark); }
.button-quiet { border-color: var(--line); background: rgba(255,255,255,.38); }
.button-quiet:hover { background: var(--cream); }
.book-facts { display: flex; gap: 0; margin: 42px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.book-facts li { display: grid; gap: 1px; min-width: 115px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.book-facts li:last-child { border: 0; margin: 0; }
.book-facts strong { font-family: Georgia, serif; font-size: 1.18rem; }
.book-facts span { color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

.hero-art { position: relative; width: min(100%, 580px); height: 640px; justify-self: start; }
.sun-disc { position: absolute; width: 420px; height: 420px; right: -15px; top: 60px; border: 1px solid rgba(194,154,81,.5); border-radius: 50%; box-shadow: inset 0 0 0 22px rgba(194,154,81,.04); }
.book-shadow { position: absolute; width: 340px; height: 80px; left: 122px; bottom: 42px; border-radius: 50%; background: rgba(67,42,27,.17); filter: blur(24px); transform: rotate(-3deg); }
.book-cover { position: absolute; z-index: 4; top: 30px; left: 50%; width: 335px; height: 520px; overflow: hidden; padding: 34px 35px; transform: translateX(-50%) rotate(-4deg); color: var(--ink); background: #fbf7ee; border: 1px solid rgba(83,57,42,.2); border-radius: 3px 8px 8px 3px; box-shadow: -15px 14px 0 #e3d5c1, -17px 16px 0 rgba(76,51,36,.18), 0 35px 70px rgba(66,44,29,.27); text-align: center; }
.book-cover::after { content: ""; position: absolute; inset: 0; opacity: .34; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg width='90' height='90' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E"); }
.cover-corner { position: absolute; right: 15px; top: 15px; z-index: 2; display: grid; place-items: center; width: 49px; height: 49px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font-family: Georgia, serif; font-size: .95rem; line-height: .78; }
.cover-corner span { font-family: sans-serif; font-size: .4rem; text-transform: uppercase; letter-spacing: .1em; }
.cover-topline { position: relative; z-index: 1; color: var(--green); font-size: .48rem; font-weight: 900; letter-spacing: .32em; }
.book-cover h2 { position: relative; z-index: 1; margin: 16px 0 0; color: var(--red); font-size: 3.16rem; line-height: 1; letter-spacing: -.04em; }
.cover-ar { position: relative; z-index: 1; margin: -3px 0 0; color: var(--red); font-family: Georgia, "Noto Naskh Arabic", serif; font-size: 2rem; }
.cover-cedar { position: relative; z-index: 1; width: 142px; height: 160px; margin: 10px auto 8px; color: var(--green); }
.cover-cedar svg { width: 100%; fill: currentColor; }
.cover-cedar .trunk { fill: var(--gold); }
.book-cover > p { position: relative; z-index: 1; margin: 0; color: var(--red); font-family: Georgia, serif; font-size: .94rem; font-weight: 700; letter-spacing: .08em; line-height: 1.35; }
.book-cover > p span { font-size: .76rem; }
.book-cover .cover-ar-sub { margin-top: 4px; color: var(--ink); font-family: Georgia, "Noto Naskh Arabic", serif; font-size: .78rem; font-weight: 400; letter-spacing: 0; }
.cover-by { position: absolute; z-index: 2; left: 35px; right: 35px; bottom: 25px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--green); font-size: .52rem; font-weight: 900; letter-spacing: .28em; }
.olive { position: absolute; z-index: 2; width: 135px; overflow: visible; fill: none; stroke: var(--green); stroke-width: 3; }
.olive g { fill: rgba(36,79,58,.08); }
.olive-left { left: 0; bottom: 64px; transform: rotate(-14deg); }
.pencil-lines { position: absolute; z-index: 5; right: 9px; bottom: 74px; display: grid; gap: 12px; transform: rotate(-13deg); }
.pencil-lines i { display: block; width: 118px; height: 9px; border-radius: 9px; background: var(--red); box-shadow: inset -22px 0 0 #ead7b8; }
.pencil-lines i:nth-child(2) { width: 100px; margin-left: 20px; background: var(--gold); }
.pencil-lines i:nth-child(3) { width: 110px; margin-left: 6px; background: var(--green); }
.hero-photo-card { position: absolute; z-index: 3; top: 28px; left: 10px; width: 530px; height: 530px; overflow: hidden; margin: 0; border: 8px solid rgba(255,250,241,.9); border-radius: 34% 66% 58% 42% / 40% 38% 62% 60%; background: var(--cream); box-shadow: var(--shadow); transform: rotate(1.3deg); }
.hero-photo-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(80,55,38,.12); pointer-events: none; }
.hero-photo-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
html[lang="en"] .hero-image-ar, html[lang="ar"] .hero-image-en { display: none; }
.floating-cover { position: absolute; z-index: 5; right: -6px; bottom: 5px; width: 142px; margin: 0; padding: 6px; background: var(--cream); border: 1px solid var(--line); box-shadow: 0 22px 44px rgba(55,35,24,.28); transform: rotate(6deg); }
.floating-cover img { display: block; width: 100%; height: auto; }
html[lang="en"] .cover-mini-en, html[lang="ar"] .cover-mini-ar { display: none; }
.photo-note { position: absolute; z-index: 6; left: 0; bottom: 27px; display: grid; gap: 2px; min-width: 235px; padding: 16px 20px; color: var(--ink); background: rgba(255,250,241,.94); border-left: 4px solid var(--red); box-shadow: 0 12px 30px rgba(55,35,24,.15); }
.photo-note span { color: var(--red); font-size: .59rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.photo-note b { font-family: Georgia, serif; font-size: .95rem; font-weight: 400; }

.sampler-section { padding: 105px max(5vw, 40px) 120px; background: #fbf8f2; }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 80px; max-width: 1160px; margin: 0 auto 48px; }
.section-heading h2, .story-copy h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(2.35rem, 4vw, 4.2rem); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.section-heading > p { max-width: 450px; margin: 0 0 6px; color: var(--muted); font-family: Georgia, serif; font-size: 1.03rem; line-height: 1.7; }
.sampler-shell { max-width: 1160px; margin: 0 auto; }
.sampler-stage { position: relative; min-height: 590px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.sample-card { display: none; min-height: 590px; grid-template-columns: 1.12fr .88fr; opacity: 0; }
.sample-card.active { display: grid; animation: cardIn .5s ease forwards; }
@keyframes cardIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.sample-art { position: relative; min-height: 590px; overflow: hidden; padding: 38px; background-color: #f5eee1; background-image: linear-gradient(rgba(111,83,62,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(111,83,62,.05) 1px, transparent 1px); background-size: 25px 25px; }
.sample-art::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(102,77,58,.15); pointer-events: none; }
.page-label { position: relative; z-index: 2; display: flex; align-items: baseline; justify-content: space-between; color: var(--red); }
.page-label span { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; }
.page-label b { font-family: Georgia, "Noto Naskh Arabic", serif; font-size: 1.42rem; }
.sample-art svg { position: absolute; width: 88%; height: 81%; left: 6%; bottom: 4%; fill: none; stroke: #3b332f; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sample-art svg .accent { stroke: var(--red); stroke-width: 7; }
.sample-art svg circle.accent { fill: rgba(194,154,81,.13); stroke: var(--gold); }
.sample-art svg .detail { stroke-width: 2; }
.sample-art svg .sea { stroke: var(--blue); stroke-width: 5; }
.color-word { position: absolute; z-index: 3; left: 38px; bottom: 28px; color: var(--red); font-size: .64rem; font-weight: 900; letter-spacing: .27em; }
.sample-page { position: relative; display: grid; min-height: 590px; place-items: center; margin: 0; padding: 26px; overflow: hidden; background: linear-gradient(145deg, #efe5d6, #e6d8c5); cursor: zoom-in; }
.sample-page::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(86,62,45,.14); pointer-events: none; }
.sample-page img { position: relative; z-index: 1; display: block; width: auto; max-width: 100%; height: auto; max-height: 540px; object-fit: contain; background: white; box-shadow: 0 20px 48px rgba(56,39,27,.2); transition: transform .25s ease, box-shadow .25s ease; }
.sample-page:hover img { transform: translateY(-3px); box-shadow: 0 27px 55px rgba(56,39,27,.24); }
.sample-page > span { position: absolute; z-index: 2; left: 35px; bottom: 25px; padding: 7px 11px; color: white; background: rgba(38,31,27,.82); border-radius: 30px; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sample-page:focus-visible { outline: 3px solid var(--gold); outline-offset: -5px; }
.sample-card.spread-card.active { display: block; min-height: 0; }
.sample-spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 38px; padding: 38px 86px 32px; background: linear-gradient(145deg, #efe5d6, #e4d4bf); }
.sample-spread .sample-page { display: block; min-height: 0; padding: 0; overflow: visible; background: transparent; }
.sample-spread .sample-page::before { display: none; }
.sample-spread .sample-page > b { display: block; min-height: 25px; color: var(--red); font-size: .6rem; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.sample-spread .sample-page img { width: 100%; max-height: 570px; object-fit: contain; box-shadow: 0 20px 44px rgba(56,39,27,.2); }
.sample-spread .sample-page > span { left: 13px; bottom: 13px; }
.spread-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; padding: 25px 150px 28px 68px; background: var(--cream); border-top: 1px solid var(--line); }
.parent-note { position: relative; padding-left: 16px; border-left: 2px solid var(--gold); }
.parent-note span { display: block; margin-bottom: 4px; color: var(--green); font-size: .6rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.parent-note p { margin: 0; font-family: Georgia, serif; font-size: .9rem; font-weight: 700; line-height: 1.45; }
[dir="rtl"] .spread-notes { padding-right: 68px; padding-left: 150px; }
[dir="rtl"] .parent-note { padding-right: 16px; padding-left: 0; border-right: 2px solid var(--gold); border-left: 0; }
.sample-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 72px 68px; background: var(--cream); }
.sample-number { margin: 0 0 28px; color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .2em; }
.sample-copy h3 { margin-bottom: 22px; font-size: clamp(2.25rem, 3.4vw, 3.65rem); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.sample-copy > p:not(.sample-number) { margin: 0; color: var(--muted); font-family: Georgia, serif; font-size: 1.02rem; line-height: 1.72; }
.family-prompt { margin-top: 34px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.family-prompt span { display: block; margin-bottom: 7px; color: var(--green); font-size: .65rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.family-prompt b { display: block; font-family: Georgia, serif; font-size: 1rem; line-height: 1.5; }
.sample-nav { position: absolute; z-index: 5; bottom: 24px; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,250,241,.92); color: var(--ink); cursor: pointer; transition: .2s ease; }
.sample-nav:hover { color: white; background: var(--red); border-color: var(--red); }
.sample-nav.prev { right: 76px; }
.sample-nav.next { right: 24px; }
.sample-nav span { font-size: 1.1rem; }
.sampler-controls { display: flex; justify-content: space-between; align-items: center; min-height: 55px; padding: 12px 4px 0; }
.progress-dots { display: flex; gap: 8px; }
.progress-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 20px; background: rgba(38,31,27,.2); cursor: pointer; transition: .25s ease; }
.progress-dots button.active { width: 32px; background: var(--red); }
.sampler-controls p { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 650; letter-spacing: .04em; }
.sampler-controls i { margin-left: 7px; color: var(--red); font-size: 1rem; font-style: normal; }

.moments-section { padding: 0 max(5vw, 40px) 120px; background: #fbf8f2; }
.moments-heading { max-width: 1160px; margin: 0 auto 38px; }
.moments-heading .eyebrow { margin-bottom: 14px; }
.moments-heading h2 { max-width: 820px; margin: 0; font-size: clamp(2.25rem, 3.8vw, 4rem); font-weight: 400; line-height: 1.06; letter-spacing: -.035em; }
.moments-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; max-width: 1160px; margin: auto; }
.moment-card { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--ink); box-shadow: 0 22px 55px rgba(68,45,28,.14); }
.moment-card::after { content: ""; position: absolute; inset: 28% 0 0; background: linear-gradient(transparent, rgba(20,16,13,.82)); pointer-events: none; }
.moment-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.moment-card:hover img { transform: scale(1.025); }
.moment-card figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; gap: 3px; padding: 20px; color: white; }
.moment-card figcaption b { font-family: Georgia, serif; font-size: 1.08rem; font-weight: 400; }
.moment-card figcaption span { max-width: 310px; color: rgba(255,255,255,.78); font-size: .78rem; line-height: 1.45; }
[dir="rtl"] .moment-card figcaption { text-align: right; }

.story-section { padding: 120px max(5vw, 40px) 0; background: var(--green); color: #fffaf1; }
.story-card { display: grid; grid-template-columns: 1fr 310px; gap: 90px; max-width: 1160px; margin: auto; padding-bottom: 105px; }
.story-copy { width: 100%; max-width: 720px; }
.story-copy .eyebrow { color: #e2bd72; }
.story-copy > p:not(.eyebrow) { max-width: 660px; color: rgba(255,250,241,.72); font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.8; }
.signature { display: grid; width: max-content; max-width: 100%; margin-top: 34px; font-family: Georgia, serif; }
.signature strong { font-size: 1.08rem; }
.signature span { color: rgba(255,250,241,.58); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.imprint-card { align-self: end; padding: 36px 30px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.045); text-align: center; }
.imprint-cover { display: block; width: 118px; margin: -78px auto 22px; border: 5px solid #fffaf1; box-shadow: 0 18px 38px rgba(0,0,0,.26); transform: rotate(2.5deg); }
.mini-cedar { display: block; width: 62px; margin: 0 auto 19px; color: #e2bd72; }
.mini-cedar svg { width: 100%; fill: currentColor; }
.imprint-card p { margin: 0 0 8px; font-family: Georgia, serif; font-size: 1.15rem; }
.imprint-card small { display: block; color: rgba(255,250,241,.6); font-family: Georgia, serif; line-height: 1.6; }
.imprint-card a { display: inline-block; margin-top: 22px; color: #e2bd72; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.introduction-panel { grid-column: 1 / -1; margin-top: -20px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.intro-full { column-count: 2; column-gap: 55px; padding: 32px 0 18px; color: rgba(255,250,241,.76); font-family: Georgia, serif; font-size: .98rem; line-height: 1.8; }
.intro-full p { margin: 0 0 1.15rem; break-inside: avoid; }
.signature-after-intro { margin: 0 0 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
html[lang="en"] .intro-ar, html[lang="ar"] .intro-en { display: none; }
.page-dialog { width: min(94vw, 890px); max-width: 890px; height: min(94vh, 1120px); max-height: 1120px; padding: 18px; border: 0; border-radius: 9px; background: #e8dfd2; box-shadow: 0 35px 90px rgba(0,0,0,.4); }
.page-dialog::backdrop { background: rgba(24,19,16,.82); backdrop-filter: blur(4px); }
.page-dialog img { display: block; width: 100%; height: 100%; object-fit: contain; }
.page-dialog button { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: white; background: rgba(38,31,27,.88); font-size: 1.55rem; line-height: 1; cursor: pointer; }
.buy-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1160px; margin: auto; padding: 58px 0 62px; border-top: 1px solid rgba(255,255,255,.18); }
.buy-band .eyebrow { margin-bottom: 11px; color: #e2bd72; }
.buy-band h2 { margin: 0; color: white; font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 400; line-height: 1.08; }
.buy-band p:last-child { margin: 9px 0 0; color: rgba(255,250,241,.55); font-size: .67rem; letter-spacing: .14em; }
.button-light { flex: 0 0 auto; background: #fffaf1; color: var(--green); }
.button-light:hover { background: #e2bd72; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px max(5vw, 40px); color: rgba(255,250,241,.54); background: #193a2b; border-top: 1px solid rgba(255,255,255,.08); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }

[dir="rtl"] .hero-copy, [dir="rtl"] .sample-copy, [dir="rtl"] .story-copy, [dir="rtl"] .section-heading, [dir="rtl"] .intro-full { text-align: right; }
[dir="rtl"] .book-type { letter-spacing: 0; }
[dir="rtl"] .story-copy h2, [dir="rtl"] .story-copy > p:not(.eyebrow), [dir="rtl"] .signature-after-intro { margin-right: 0; margin-left: auto; }
[dir="rtl"] .hero-origin { padding-right: 17px; padding-left: 0; border-right: 2px solid var(--gold); border-left: 0; }
[dir="rtl"] .book-facts li { padding-right: 0; padding-left: 28px; margin-right: 0; margin-left: 28px; border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .book-facts li:last-child { border: 0; }
[dir="rtl"] .sample-nav.prev { right: auto; left: 24px; }
[dir="rtl"] .sample-nav.next { right: auto; left: 76px; }
[dir="rtl"] .sample-nav span { transform: scaleX(-1); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.seen { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 390px; gap: 10px; padding-left: 32px; padding-right: 24px; }
  .hero h1 > span { font-size: clamp(4.1rem, 9vw, 6rem); }
  .hero-art { transform: scale(.83); transform-origin: center left; width: 460px; margin-right: -70px; }
  .sample-copy { padding: 60px 48px 82px; }
  .moments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card { gap: 55px; }
}

@media (max-width: 760px) {
  .site-header { position: relative; padding: 20px 20px; background: #fbf7ef; }
  .brand-logo { width: 92px; }
  .site-header nav { gap: 10px; }
  .site-header nav > a { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 62px 20px 68px; text-align: left; }
  .hero-copy { justify-self: stretch; }
  .hero h1 > span { font-size: clamp(4.2rem, 21vw, 6.2rem); }
  .hero h1 > em { font-size: clamp(2.05rem, 9vw, 3.3rem); }
  .hero-intro { font-size: 1.04rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .book-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .book-facts li, [dir="rtl"] .book-facts li { min-width: 0; padding: 0; margin: 0; border: 0; }
  .hero-art { width: 100%; height: auto; aspect-ratio: 1 / 1.08; margin: 30px 0 -5px; transform: none; }
  .sun-disc { right: 50%; transform: translateX(50%); }
  .hero-photo-card { inset: 2% auto auto 2%; width: 92%; height: auto; aspect-ratio: 1; border-width: 6px; }
  .floating-cover { right: 0; bottom: 0; width: 27%; padding: 4px; }
  .photo-note { left: 0; bottom: 4%; min-width: 0; padding: 12px 14px; }
  .photo-note b { font-size: .78rem; }
  .olive-left { left: -8px; }
  .pencil-lines { right: -6px; }
  .sampler-section { padding: 80px 16px 90px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 35px; padding: 0 4px; }
  .section-heading h2, .story-copy h2 { font-size: 2.55rem; }
  .sampler-stage, .sample-card, .sample-art, .sample-page { min-height: auto; }
  .sampler-stage { border-radius: 10px; }
  .sample-card.active { grid-template-columns: 1fr; }
  .sample-art { aspect-ratio: 1 / .84; padding: 24px; }
  .sample-art::after { inset: 10px; }
  .page-label span { font-size: 1.02rem; }
  .page-label b { font-size: 1.15rem; }
  .color-word { left: 24px; bottom: 18px; font-size: .55rem; }
  .sample-page { aspect-ratio: 1 / 1.18; padding: 18px; }
  .sample-page img { max-height: calc(100% - 16px); }
  .sample-page > span { left: 24px; bottom: 18px; }
  .sample-spread { gap: 9px; padding: 20px 12px 17px; }
  .sample-spread .sample-page { aspect-ratio: auto; padding: 0; }
  .sample-spread .sample-page > b { min-height: 20px; font-size: .42rem; letter-spacing: .04em; white-space: nowrap; }
  .sample-spread .sample-page img { width: 100%; max-height: none; }
  .sample-spread .sample-page > span { display: none; }
  .spread-notes { grid-template-columns: 1fr; gap: 14px; padding: 20px 20px 82px; }
  [dir="rtl"] .spread-notes { padding: 20px 20px 82px; }
  .parent-note { padding-left: 12px; }
  [dir="rtl"] .parent-note { padding-right: 12px; }
  .parent-note p { font-size: .84rem; }
  .sample-copy { min-height: 390px; padding: 38px 28px 94px; }
  .sample-copy h3 { font-size: 2.35rem; }
  .sample-number { margin-bottom: 18px; }
  .sample-nav { bottom: 23px; }
  .sample-nav.prev { right: 76px; }
  .sample-nav.next { right: 24px; }
  [dir="rtl"] .sample-nav.prev { left: 24px; }
  [dir="rtl"] .sample-nav.next { left: 76px; }
  .sampler-controls { padding: 13px 4px 0; }
  .sampler-controls p { display: none; }
  .moments-section { padding: 0 16px 84px; }
  .moments-heading { margin-bottom: 28px; padding: 0 4px; }
  .moments-heading h2 { font-size: 2.4rem; }
  .moments-grid { display: flex; gap: 12px; overflow-x: auto; padding: 0 4px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .moments-grid::-webkit-scrollbar { display: none; }
  .moment-card { flex: 0 0 82vw; scroll-snap-align: start; }
  .story-section { padding: 84px 20px 0; }
  .story-card { grid-template-columns: 1fr; gap: 48px; padding-bottom: 72px; }
  .imprint-card { width: 100%; }
  .imprint-cover { width: 106px; margin-top: -68px; }
  .introduction-panel { margin-top: -10px; }
  .intro-full { column-count: 1; padding: 26px 0; font-size: .94rem; }
  .buy-band { align-items: stretch; flex-direction: column; padding: 47px 0 54px; }
  footer { align-items: center; flex-direction: column; padding: 25px 20px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.sampler-section .section-heading { display: block; }
.sampler-section .section-heading h2 { max-width: none; }
/* Brand and community enquiries */
.brand-section {padding:70px max(5vw,40px);max-width:1000px;margin:auto;text-align:center}
.brand-section h2,.wholesale-section h2 {font-size:clamp(2rem,3.5vw,3.2rem);line-height:1.15}
.brand-section p:last-child {font-size:1.125rem;color:var(--muted)}
.story-copy>p:last-child {font-size:1.1rem;max-width:660px}
.wholesale-section {padding:90px max(5vw,40px);display:grid;grid-template-columns:1fr 1fr;gap:60px;background:var(--cream);border-top:1px solid var(--line)}
.wholesale-copy>p {max-width:550px}
.wholesale-copy>a {color:var(--red);font-weight:700}
.inquiry-form {display:grid;grid-template-columns:1fr 1fr;gap:18px;align-content:start}
.inquiry-form label {display:grid;gap:7px;font-size:1rem;font-weight:600}
.inquiry-form input,.inquiry-form textarea {min-width:0;width:100%;padding:12px;border:1px solid #aa9a88;border-radius:4px;font:inherit;background:white;color:var(--ink)}
.inquiry-form .full {grid-column:1/-1}
.form-note {font-size:.875rem;color:var(--muted);margin:0}
.inquiry-form button {cursor:pointer;font-size:.875rem}
.buy-options {max-width:430px}.buy-options p {font-size:1rem}
.site-header nav {font-size:.875rem;gap:20px;letter-spacing:.02em}
section[id] {scroll-margin-top:24px}
:focus-visible {outline:3px solid var(--blue);outline-offset:4px}
@media(max-width:760px){.site-header{position:relative;padding:18px 20px;gap:15px}.site-header nav{flex-wrap:wrap;justify-content:flex-end;gap:7px 14px;max-width:270px}.brand-logo{width:80px}.hero{padding-top:35px}.wholesale-section{grid-template-columns:1fr;gap:30px;padding:55px 22px}.brand-section{padding:50px 22px}.inquiry-form{grid-template-columns:1fr}.inquiry-form .full{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Current book cover and bilingual book description */
.hero-art .current-book-cover { width: min(78%, 405px); height: auto; aspect-ratio: 8.5 / 11; top: 10px; left: 8%; border: 0; border-radius: 2px; transform: rotate(-3deg); overflow: visible; }
.hero-art .current-book-cover img { height: auto; object-fit: contain; }
.book-description { max-width: 1160px; padding: 0 40px 55px; margin: 0 auto; font-size: 1.125rem; line-height: 1.85; }
.book-description p { margin: 0 0 1.25em; }
[lang="ar"] .hero-intro, [lang="ar"] .book-description { line-height: 2; letter-spacing: 0; }
.buy-options { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.order-button { font: inherit; font-weight: 700; white-space: normal; text-align: center; }
.order-button:disabled { cursor: not-allowed; opacity: .8; }
.buy-options #ordering-status { font-size: 1rem; line-height: 1.6; letter-spacing: 0; color: rgba(255,250,241,.85); }
@media (max-width: 700px) { .book-description { padding: 15px 24px 35px; font-size: 1rem; } .hero-art .current-book-cover { left: 9%; width: 71%; } }

.author-portrait{margin:0 0 28px;width:100%}.author-portrait img{display:block;width:100%;height:auto;border-radius:14px}.author-portrait figcaption{margin-top:12px;font-size:14px;line-height:1.5;text-align:center}

/* Portrait belongs to the narrative, with text flowing alongside it. */
.story-card{display:block}.story-copy{max-width:none;display:flow-root}.story-copy h2{max-width:900px;margin-bottom:32px}.story-copy>p:not(.eyebrow){max-width:none;font-size:1.15rem;line-height:1.9}.story-copy .author-portrait{float:left;width:260px;margin:0 36px 20px 0}.story-copy .author-portrait img{border-radius:48% 48% 8px 8px}.story-copy .author-portrait figcaption{text-align:left;font-size:14px}.story-card .introduction-panel{margin-top:36px}.story-card .imprint-card{max-width:420px;margin:48px auto 0}.story-card .imprint-cover{max-height:160px;width:auto;max-width:100%}[dir="rtl"] .story-copy .author-portrait{float:right;margin:0 0 20px 36px}[dir="rtl"] .author-portrait figcaption{text-align:right}
@media(max-width:600px){.story-copy .author-portrait{width:42%;margin:0 20px 14px 0}.story-copy .author-portrait figcaption{font-size:14px}.story-copy>p:not(.eyebrow){font-size:1rem;line-height:1.8}[dir="rtl"] .story-copy .author-portrait{margin:0 0 14px 20px}}

.buy-band { flex-wrap: wrap; }
.amazon-options { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.amazon-options p { flex-basis: 100%; margin: 0; color: #e2bd72; }
@media(max-width:600px) { .amazon-options { flex-direction: column; } }

/* Introduction first, followed by the person behind the book. */
.story-card .author-profile { margin-top: 32px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.18); }
.author-profile .author-bio { margin-top: 0; }
.story-card .introduction-panel { margin-top: 0; }
.buy-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.ordering-copy { min-width: 0; }
.ordering-copy .buy-options { margin-top: 28px; max-width: none; }
.ordering-copy .amazon-options { margin-top: 26px; }
.ordering-copy .amazon-options .button { flex: 1 1 190px; text-align: center; padding-inline: 18px; }
.ordering-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ordering-scenes figure { margin: 0; overflow: hidden; border-radius: 5px; }
.ordering-scenes img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ordering-scenes .scene-main { grid-column: 1 / -1; position: relative; }
.ordering-scenes .scene-main img { aspect-ratio: 1.12; }
.ordering-scenes figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 35px 20px 18px; background: linear-gradient(transparent,rgba(0,0,0,.7)); color: white; font-family: Georgia,serif; font-size: 1.35rem; }
@media(max-width:800px) { .buy-band { grid-template-columns: 1fr; gap: 32px; } .ordering-scenes { max-width: 600px; width: 100%; margin: auto; } }

.brand-section h2 { white-space: pre-line; }
.book-placemat { position:absolute; z-index:0; top:0; left:3%; width:86%; height:88%; border-radius:9px; transform:rotate(4deg); background-color:#d9c3a1; background-image:repeating-linear-gradient(0deg,transparent 0 3px,rgba(105,76,41,.13) 3px 4px),repeating-linear-gradient(90deg,transparent 0 3px,rgba(255,250,230,.4) 3px 4px); border:7px solid #c9ae85; outline:1px solid rgba(113,83,44,.25); box-shadow:5px 10px 22px rgba(85,60,28,.15); }
.book-placemat::after { content:""; position:absolute; inset:9px; border:1px dashed rgba(110,79,40,.48); border-radius:3px; }
@media(max-width:700px) { .book-placemat { left:4%; width:84%; height:92%; top:0; } }

.olive-backdrop { position: absolute; inset: -4% -5% 0 -6%; z-index: 0; background: url('./assets/olive-leaves-realistic.webp') center / contain no-repeat; pointer-events: none; }

/* Photographic paperback mockups retain their natural edges and page depth. */
.hero-art .current-book-cover { background: transparent; box-shadow: none; border-radius: 0; aspect-ratio: auto; width: min(83%, 440px); left: 3%; }
.hero-art .current-book-cover::after { content: none; }
.hero-art .current-book-cover img { filter: drop-shadow(7px 16px 12px rgba(55,35,24,.2)); }
.hero-art .floating-cover { width: 31%; right: 0; bottom: 8px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.hero-art .floating-cover img { filter: drop-shadow(4px 9px 7px rgba(55,35,24,.22)); }
.olive-backdrop { inset: 0 -2% 0 -4%; }
@media (max-width: 700px) {
  .hero-art .current-book-cover { width: 76%; left: 5%; }
  .hero-art .floating-cover { width: 30%; right: 0; bottom: 0; }
  .olive-backdrop { inset: 0 -2% -3% -2%; }
}

/* Continue the book description on the same horizontal grid as the hero. */
.book-description { max-width: none; margin: 0; padding-inline: max(5vw, 40px); }
@media (max-width: 760px) { .book-description { padding-inline: 20px; } }

/* Keep the biography balanced beside the portrait at every desktop width. */
.story-card .author-profile { display: grid; grid-template-columns: 260px minmax(0, 1fr); column-gap: 36px; align-items: center; }
.story-card .author-profile .author-portrait { float: none; width: 100%; margin: 0; }
.story-card .author-profile .author-bio { margin: 0; padding-bottom: 33px; }
@media (max-width: 700px) {
  .story-card .author-profile { grid-template-columns: 1fr; gap: 24px; }
  .story-card .author-profile .author-portrait { width: min(260px, 100%); margin-inline: auto; }
  .story-card .author-profile .author-portrait figcaption { text-align: center; }
  .story-card .author-profile .author-bio { padding-bottom: 0; }
}
