/* Tears of the Khabur · yonanroil.com
   World: the Assyrian flag's wavy river bands on night navy, gold Shamash star, poster-white reading ground. */

:root {
  --navy: #0B1B3F;
  --navy-2: #12295A;
  --navy-3: #1A3570;
  --blue: #2356C5;
  --sky: #8DB8F2;
  --white: #F5F7FC;
  --red: #D7262E;
  --gold: #F4B23A;
  --gold-2: #FFC95C;
  --paper: #F4F6FB;
  --paper-2: #E6ECF7;
  --ink: #0E1A33;
  --ink-2: #3D4966;
  --on-navy: #F3F6FD;
  --on-navy-2: #B7C6EA;

  --f-display: "Archivo", "Readex Pro", system-ui, sans-serif;
  --f-body: "Readex Pro", system-ui, sans-serif;
  --f-syr: "Noto Sans Syriac Eastern", "Estrangelo Edessa", serif;
  --f-ar-display: "Reem Kufi", "Readex Pro", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --band-h: 30px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.7 var(--f-body);
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
  caret-color: var(--blue);
  overflow-x: hidden;
}
@media (min-width: 1100px) { body { font-size: 1.1875rem; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
::selection { background: var(--gold); color: var(--navy); }

/* Script-aware type */
[lang="syr"] { font-family: var(--f-syr); }
[lang="ar"] { font-family: var(--f-body); }
html[lang="syr"] body { font-family: var(--f-syr); font-size: 1.375rem; line-height: 1.85; }
html[lang="ar"] body { line-height: 1.85; }

.nw { white-space: nowrap; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip {
  position: absolute; inset-inline-start: 12px; top: 12px; z-index: 100; transform: translateY(-200%);
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip:focus { transform: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.book-sec :focus-visible, .ded-sec :focus-visible, .author-sec :focus-visible, .get-sec :focus-visible { outline-color: var(--blue); }

/* Scrollbar */
html { scrollbar-color: var(--navy-3) var(--paper-2); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--navy-3); border: 3px solid var(--paper-2); border-radius: 8px; }

/* Icons */
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .btn .i { transform: scaleX(-1); }
[dir="rtl"] .btn-ghost .i { transform: none; }

/* Buttons */
.btn {
  --bg: transparent; --fg: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .7em 1.35em;
  background: var(--bg); color: var(--fg);
  font: 700 1.0625rem/1.15 var(--f-display); font-stretch: 108%;
  letter-spacing: .005em;
  text-decoration: none; border: 0; border-radius: 6px; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
html[lang="syr"] .btn { font-family: var(--f-syr); font-weight: 800; font-size: 1.15rem; }
html[lang="ar"] .btn { font-family: var(--f-body); font-weight: 600; }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
[dir="rtl"] .btn:hover .i { transform: scaleX(-1) translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-gold { --bg: var(--gold); --fg: var(--navy); box-shadow: 0 10px 24px -12px rgba(244, 178, 58, .75); }
.btn-gold:hover { --bg: var(--gold-2); box-shadow: 0 14px 30px -12px rgba(244, 178, 58, .9); }
.btn-ghost { --fg: var(--on-navy); box-shadow: inset 0 0 0 1.5px rgba(183, 198, 234, .45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-navy); background: rgba(243, 246, 253, .06); }
.btn-ghost:hover .i { transform: translateY(3px); }
.btn-line { --fg: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(14, 26, 51, .3); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--navy); background: rgba(14, 26, 51, .04); }
.btn-line.is-done { --fg: #fff; --bg: var(--blue); box-shadow: none; }
.btn-sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; }
.btn-lg { min-height: 60px; padding: .8em 1.6em; font-size: 1.15rem; }

/* Top bar */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px);
  padding: 18px var(--gutter);
  color: var(--on-navy);
}
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.mark-star { width: 30px; height: 30px; }
.mark-name { font: 800 1.05rem/1 var(--f-display); font-stretch: 118%; letter-spacing: .01em; }
html[lang="syr"] .mark-name { font: 800 1.25rem/1 var(--f-syr); }
html[lang="ar"] .mark-name { font: 700 1.2rem/1 var(--f-ar-display); }
.nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav a { text-decoration: none; font-size: .98rem; color: var(--on-navy-2); padding: 6px 0; background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 2px; transition: color .2s, background-size .35s var(--ease); }
[dir="rtl"] .nav a { background-position: 100% 100%; }
.nav a:hover { color: var(--on-navy); background-size: 100% 2px; }
.langs { display: flex; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(183, 198, 234, .35); padding: 3px; gap: 2px; }
.langs button {
  appearance: none; border: 0; background: transparent; color: var(--on-navy-2);
  font: 600 .9rem/1 var(--f-body); padding: 8px 11px; border-radius: 4px; cursor: pointer; min-height: 36px;
}
.langs button[lang="syr"] { font: 800 1.02rem/1 var(--f-syr); }
.langs button[lang="ar"] { font: 600 .95rem/1 var(--f-body); }
.langs button:hover { color: var(--on-navy); background: rgba(243, 246, 253, .08); }
.langs button[aria-pressed="true"] { background: var(--on-navy); color: var(--navy); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, min(100svh, 980px));
  background:
    radial-gradient(120% 90% at 78% 48%, var(--navy-3) 0%, var(--navy-2) 34%, var(--navy) 72%);
  color: var(--on-navy);
  display: grid; align-items: center;
  padding: 108px 0 72px;
}
[dir="rtl"] .hero { background: radial-gradient(120% 90% at 22% 48%, var(--navy-3) 0%, var(--navy-2) 34%, var(--navy) 72%); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 150px; z-index: -1; background: linear-gradient(var(--navy) 10%, rgba(11, 27, 63, 0)); pointer-events: none; }
.hero-art path { fill: none; stroke-linecap: butt; stroke-linejoin: round; }
.hero-inner {
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(24px, 5vw, 80px); align-items: center;
}
.titles { display: flex; flex-direction: column; gap: .12em; margin-bottom: 28px; }
.t-syr {
  font: 900 clamp(3.4rem, 8.4vw, 6rem)/1.28 var(--f-syr);
  color: var(--white); direction: rtl; text-align: start;
  text-shadow: 0 2px 30px rgba(11, 27, 63, .6);
}
[dir="ltr"] .t-syr { text-align: left; }
.t-en {
  font: 850 clamp(2.2rem, 5.2vw, 4.4rem)/1.02 var(--f-display); font-stretch: 116%;
  letter-spacing: -.02em; color: var(--white);
}
.t-ar { font: 700 clamp(1.9rem, 4.2vw, 3.3rem)/1.35 var(--f-ar-display); color: var(--sky); direction: rtl; }
[dir="ltr"] .t-ar { text-align: left; }
html[lang="ar"] .t-ar { order: -1; font-size: clamp(3rem, 7.5vw, 5.6rem); color: var(--white); }
html[lang="ar"] .t-syr { font-size: clamp(2.3rem, 5vw, 3.8rem); color: var(--sky); }
html[lang="ar"] .t-en { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

.hero-sub { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--on-navy); max-width: 34ch; margin-bottom: 14px; }
html[lang="syr"] .hero-sub { font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 600; }
.hero-by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--on-navy-2); font-size: 1rem; margin-bottom: 34px; }
.hero-by span:first-child { color: var(--on-navy); font-weight: 600; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-lang { margin: 22px 0 0; font-size: .95rem; color: var(--on-navy-2); max-width: 46ch; display: flex; gap: 10px; align-items: baseline; }
.hero-lang::before { content: ""; flex: none; width: 22px; height: 7px; border-radius: 2px; transform: translateY(-2px);
  background: linear-gradient(var(--blue) 0 33.3%, var(--white) 33.3% 66.6%, var(--red) 66.6%); }
.note-editions { font-weight: 600; color: var(--navy); background: var(--paper-2); padding: 14px 18px; border-radius: 6px; }

.hero-book { margin: 0; justify-self: center; perspective: 1400px; width: min(100%, 380px); }
.book {
  position: relative;
  transform: rotateY(-16deg) rotateX(4deg) rotateZ(-1deg);
  transform-style: preserve-3d;
  border-radius: 2px 6px 6px 2px;
  box-shadow:
    -1px 0 0 rgba(0, 0, 0, .25),
    24px 34px 48px -12px rgba(0, 0, 0, .6),
    60px 70px 90px -30px rgba(3, 9, 26, .75);
  transition: transform 1.2s var(--ease);
}
.book img { border-radius: 2px 6px 6px 2px; }
.book::before { /* spine highlight and page edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(255,255,255,.18) 1.2%, rgba(0,0,0,.05) 3.2%, transparent 7%, transparent 92%, rgba(255,255,255,.12) 100%);
}
.book::after {
  content: ""; position: absolute; top: 1.2%; bottom: 1.2%; inset-inline-end: -10px; width: 12px;
  background: repeating-linear-gradient(90deg, #efe9dc 0 1px, #d9d1bf 1px 2px);
  transform: rotateY(90deg); transform-origin: left center; border-radius: 0 2px 2px 0;
}
[dir="rtl"] .book::after { display: none; }
.hero-book:hover .book { transform: rotateY(-8deg) rotateX(2deg) rotateZ(-.5deg); }
[dir="rtl"] .book { transform: rotateY(16deg) rotateX(4deg) rotateZ(1deg); }
[dir="rtl"] .hero-book:hover .book { transform: rotateY(8deg) rotateX(2deg) rotateZ(.5deg); }

/* Flag bands (horizontal flowing dividers) */
.band {
  height: var(--band-h);
  background-repeat: repeat-x; background-size: 120px var(--band-h);
  animation: flow 9s linear infinite;
}
.band-light { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cg fill='none' stroke-width='6'%3E%3Cpath stroke='%232356C5' d='M0 9c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3Cpath stroke='%23F5F7FC' d='M0 15c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3Cpath stroke='%23D7262E' d='M0 21c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3C/g%3E%3C/svg%3E"); margin-top: -1px; background-color: var(--navy); }
.band-dark { background-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cg fill='none' stroke-width='6'%3E%3Cpath stroke='%232356C5' d='M0 9c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3Cpath stroke='%23F5F7FC' d='M0 15c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3Cpath stroke='%23D7262E' d='M0 21c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3C/g%3E%3C/svg%3E"); }
.band-foot { background-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cg fill='none' stroke-width='6'%3E%3Cpath stroke='%232356C5' d='M0 9c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3Cpath stroke='%23F5F7FC' d='M0 15c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3Cpath stroke='%23D7262E' d='M0 21c15 0 15-6 30-6s15 6 30 6 15-6 30-6 15 6 30 6'/%3E%3C/g%3E%3C/svg%3E"); }
@keyframes flow { to { background-position-x: 120px; } }
[dir="rtl"] .band { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .band { animation: none; } }

/* The book */
.book-sec { background: var(--paper); padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 9vw, 120px); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement {
  font: 850 clamp(2rem, 4.2vw, 3.5rem)/1.06 var(--f-display); font-stretch: 112%;
  letter-spacing: -.02em; color: var(--navy);
  position: sticky; top: 40px;
}
html[lang="syr"] .statement { font: 900 clamp(2rem, 3.8vw, 3.2rem)/1.5 var(--f-syr); letter-spacing: 0; }
html[lang="ar"] .statement { font: 700 clamp(2rem, 4vw, 3.3rem)/1.4 var(--f-ar-display); letter-spacing: 0; }
.statement::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 28px; background: var(--red); border-radius: 3px; }
.prose { max-width: 62ch; }
.prose p { color: var(--ink); }
.book-sec .prose p:first-child::first-letter { }
.note { color: var(--ink-2); font-size: .98em; padding-top: 18px; margin-top: 8px; border-top: 1.5px solid var(--paper-2); }

/* The river */
.river-sec {
  background: var(--navy); color: var(--on-navy);
  padding: clamp(72px, 10vw, 128px) 0 clamp(72px, 9vw, 120px);
  position: relative; overflow: hidden;
}
.river-head { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 88px); text-align: center; }
.river-head h2 { font: 850 clamp(2.4rem, 5.4vw, 4.4rem)/1 var(--f-display); font-stretch: 118%; letter-spacing: -.02em; margin-bottom: 22px; }
html[lang="syr"] .river-head h2 { font: 900 clamp(2.4rem, 5vw, 4rem)/1.4 var(--f-syr); letter-spacing: 0; }
html[lang="ar"] .river-head h2 { font: 700 clamp(2.4rem, 5vw, 4rem)/1.35 var(--f-ar-display); letter-spacing: 0; }
.river-head p { color: var(--on-navy-2); font-size: 1.1em; margin: 0 auto; max-width: 60ch; }

.river-wrap { position: relative; max-width: 1040px; margin-inline: auto; }
.river-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.river-line path { fill: none; stroke-linecap: round; }
.river { list-style: none; margin: 0; padding: 0; position: relative; }
.station {
  position: relative; width: calc(50% - 64px);
  padding: 22px 0 22px; margin-bottom: clamp(20px, 3vw, 40px);
}
.station:nth-child(odd) { margin-inline-end: auto; text-align: end; }
.station:nth-child(even) { margin-inline-start: auto; }
.station .when {
  font: 800 clamp(1.5rem, 2.8vw, 2.25rem)/1.1 var(--f-display); font-stretch: 112%;
  font-variant-numeric: lining-nums; letter-spacing: -.01em;
  color: var(--white); margin-bottom: 10px;
}
html[lang="syr"] .station .when { font: 900 clamp(1.5rem, 2.6vw, 2.1rem)/1.45 var(--f-syr); }
html[lang="ar"] .station .when { font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.4 var(--f-ar-display); }
.station p:last-child { color: var(--on-navy-2); margin: 0; font-size: 1.02em; }
.knot {
  position: absolute; top: 32px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 3px var(--on-navy-2);
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.station:nth-child(odd) .knot { inset-inline-end: -75px; }
.station:nth-child(even) .knot { inset-inline-start: -75px; }
.station.reached .knot { background: var(--gold); box-shadow: 0 0 0 4px var(--navy), 0 0 0 6px var(--gold), 0 0 26px 6px rgba(244, 178, 58, .45); transform: scale(1.08); }
.station.reached .when { color: var(--white); }
.station-dark.reached .knot { background: var(--red); box-shadow: 0 0 0 4px var(--navy), 0 0 0 6px var(--red), 0 0 26px 6px rgba(215, 38, 46, .5); }
.station-dark.reached .when { color: #FF8A8A; }
.station .when { transition: color .6s var(--ease); }
.station-buy { margin-top: 18px; }

/* Dedication */
.ded-sec { background: var(--paper); padding: clamp(80px, 11vw, 150px) 0; }
.ded { text-align: center; max-width: 880px; }
.ded h2 { font: 700 1rem/1 var(--f-display); font-stretch: 120%; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 36px; }
html[lang="syr"] .ded h2, html[lang="ar"] .ded h2 { letter-spacing: 0; font-size: 1.3rem; }
html[lang="syr"] .ded h2 { font-family: var(--f-syr); font-weight: 800; }
html[lang="ar"] .ded h2 { font-family: var(--f-ar-display); }
.ded-verse { font: 700 clamp(1.6rem, 3.4vw, 2.6rem)/1.75 var(--f-syr); color: var(--navy); }
.ded-verse p { margin-bottom: .9em; }
.ded-verse .refrain { font-weight: 900; color: var(--blue); font-size: .8em; }
.ded-tr { color: var(--ink-2); font-size: 1.12em; margin-top: 36px; padding-top: 32px; border-top: 1.5px solid var(--paper-2); }
.ded-tr .refrain { color: var(--ink); font-weight: 500; }
html[lang="syr"] .ded-tr { display: none; }
.ded-cite { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* Author */
.author-sec { background: var(--paper-2); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.author { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.author-photos { position: relative; padding-bottom: 18%; padding-inline-end: 16%; }
.ph img, .gc img { width: 100%; object-fit: cover; background: var(--navy-2); }
.ph-main { display: block; position: relative; z-index: 1; }
.ph-main img { aspect-ratio: 940 / 1200; object-position: 50% 10%; border-radius: 4px; box-shadow: 0 30px 60px -28px rgba(11, 27, 63, .55); }
.ph-main::before { /* flag stripe beside the portrait */
  content: ""; position: absolute; inset-block: 8% -6%; inset-inline-start: -18px; width: 18px; z-index: -1;
  background: linear-gradient(90deg, var(--blue) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%);
  border-radius: 3px; box-shadow: 0 0 0 1.5px rgba(14, 26, 51, .12);
}
.ph-side { position: absolute; z-index: 2; inset-inline-end: 0; bottom: 0; width: 46%; }
.ph-side img { aspect-ratio: 1 / 1.08; object-position: 20% 30%; border-radius: 4px; border: 6px solid var(--paper-2); box-shadow: 0 24px 50px -24px rgba(11, 27, 63, .6); }
.author-copy h2 { font: 850 clamp(2.6rem, 5.6vw, 4.6rem)/1 var(--f-display); font-stretch: 116%; letter-spacing: -.025em; color: var(--navy); }
html[lang="syr"] .author-copy h2 { font: 900 clamp(2.6rem, 5vw, 4.2rem)/1.4 var(--f-syr); letter-spacing: 0; }
html[lang="ar"] .author-copy h2 { font: 700 clamp(2.6rem, 5vw, 4.2rem)/1.35 var(--f-ar-display); letter-spacing: 0; }
.author-name-syr { font: 700 clamp(1.3rem, 2.2vw, 1.7rem)/1.6 var(--f-syr); color: var(--blue); margin: 12px 0 26px; }
[dir="ltr"] .author-name-syr { text-align: left; }
html[lang="syr"] .author-name-syr { display: none; }

/* Voices */
.voices-sec { background: var(--navy); color: var(--on-navy); padding: clamp(80px, 10vw, 136px) 0; position: relative; }
.voices { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.voice { margin: 0; }
.voice blockquote { margin: 0 0 22px; }
.voice blockquote p { margin: 0; font: 500 clamp(1.35rem, 2.3vw, 1.75rem)/1.45 var(--f-body); color: var(--on-navy); }
.voice-lg blockquote p { font: 750 clamp(1.7rem, 3.3vw, 2.7rem)/1.22 var(--f-display); font-stretch: 104%; letter-spacing: -.012em; color: var(--white); }
html[lang="syr"] .voice blockquote p { font-family: var(--f-syr); font-weight: 700; line-height: 1.7; letter-spacing: 0; }
html[lang="ar"] .voice blockquote p { font-family: var(--f-body); font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.voice blockquote p::before { content: ""; display: block; width: 44px; height: 34px; margin-bottom: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath fill='%238DB8F2' d='M0 34V20C0 9 6 2 17 0l2 5c-6 2-9 6-9 12h8v17zm24 0V20c0-11 6-18 17-20l2 5c-6 2-9 6-9 12h8v17z'/%3E%3C/svg%3E") no-repeat; }
[dir="rtl"] .voice blockquote p::before { transform: scaleX(-1); }
.voice figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 1rem; }
.voice figcaption span:first-child { font-weight: 600; color: var(--on-navy); }
.voice figcaption span:last-child { color: var(--on-navy-2); }
.voice figcaption::before { content: ""; width: 42px; height: 9px; margin-bottom: 12px; border-radius: 2px;
  background: linear-gradient(var(--blue) 0 33.3%, var(--white) 33.3% 66.6%, var(--red) 66.6%); }

/* Get the book */
.get-sec { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.get-star { position: absolute; width: min(90vw, 760px); height: auto; aspect-ratio: 1; inset-inline-end: -28%; top: 50%; transform: translateY(-50%); opacity: .16; pointer-events: none; }
.get { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; position: relative; }
.get-covers { position: relative; width: min(100%, 440px); justify-self: center; aspect-ratio: 1 / 1.18; }
.gc { position: absolute; width: 68%; }
.gc img { border-radius: 2px 5px 5px 2px; }
.gc-back { inset-inline-end: 0; top: 0; transform: rotate(5deg); }
.gc-back img { box-shadow: 0 20px 40px -20px rgba(11, 27, 63, .5); filter: saturate(.9); }
.gc-front { inset-inline-start: 0; bottom: 0; transform: rotate(-3deg); }
.gc-front img { box-shadow: 0 34px 60px -24px rgba(11, 27, 63, .65); }
.get-copy h2 { font: 850 clamp(2.4rem, 5vw, 4rem)/1 var(--f-display); font-stretch: 116%; letter-spacing: -.02em; color: var(--navy); margin-bottom: 30px; }
html[lang="syr"] .get-copy h2 { font: 900 clamp(2.4rem, 4.6vw, 3.8rem)/1.4 var(--f-syr); letter-spacing: 0; }
html[lang="ar"] .get-copy h2 { font: 700 clamp(2.4rem, 4.6vw, 3.8rem)/1.35 var(--f-ar-display); letter-spacing: 0; }
.specs { margin: 0 0 32px; display: grid; }
.specs div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 12px 0; border-top: 1.5px solid var(--paper-2); }
.specs div:last-child { border-bottom: 1.5px solid var(--paper-2); }
.specs dt { color: var(--ink-2); font-size: .95em; }
.specs dd { margin: 0; color: var(--ink); font-weight: 500; }
[dir="rtl"] .specs dd.num { text-align: right; }
.get-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.get-note { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Footer */
.foot { background: var(--navy); color: var(--on-navy-2); font-size: .95rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; padding: 40px 0 calc(48px + env(safe-area-inset-bottom)); }
.foot-inner p { margin: 0; }
.foot-title { display: flex; flex-wrap: wrap; gap: 4px 14px; width: 100%; margin-bottom: 10px !important; color: var(--on-navy); }
.foot-title [lang="syr"] { font: 800 1.4rem/1.4 var(--f-syr); }
.foot-title [lang="en"] { font: 800 1.2rem/1.4 var(--f-display); font-stretch: 112%; }
.foot-title [lang="ar"] { font: 700 1.3rem/1.4 var(--f-ar-display); color: var(--sky); }
.foot a { color: var(--on-navy); }
.foot a:hover { color: var(--sky); }

/* Mobile buy dock */
.dock {
  position: fixed; z-index: 30; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s;
  box-shadow: 0 16px 40px -10px rgba(3, 9, 26, .55);
}
@media (min-width: 861px) {
  .dock { inset-inline: auto 28px; bottom: 28px; }
}
.dock.show { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
}
@media (max-width: 860px) {
  .top { padding-top: 14px; gap: 10px; }
  .top-buy { display: none; }
  .mark-name { display: none; }
  html[lang] .mark-name { display: none; }
  .hero { padding: 92px 0 56px; min-height: 0; background: radial-gradient(140% 70% at 50% 80%, var(--navy-3) 0%, var(--navy-2) 38%, var(--navy) 78%); }
  [dir="rtl"] .hero { background: radial-gradient(140% 70% at 50% 80%, var(--navy-3) 0%, var(--navy-2) 38%, var(--navy) 78%); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-book { width: min(62vw, 280px); order: 2; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-by .dot { display: none; }
  .hero-by { flex-direction: column; align-items: flex-start; gap: 2px; }
  .book-grid, .author, .get, .voices { grid-template-columns: 1fr; }
  .statement { position: static; }
  .author-photos { max-width: 460px; }
  .get-covers { width: min(80%, 360px); }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .get-actions .btn { flex: 1 1 100%; }

  .river-head { text-align: start; }
  .station, .station:nth-child(odd), .station:nth-child(even) { width: auto; margin-inline: 0; padding-inline-start: 56px; text-align: start; }
  .station:nth-child(odd) .knot, .station:nth-child(even) .knot { inset-inline-start: 11px; inset-inline-end: auto; top: 30px; }
}
@media (max-width: 420px) {
  .langs button { padding: 8px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .book, .dock, .knot, .btn, .btn .i { transition: none; }
}
@media print {
  .top, .dock, .band, .hero-art { display: none; }
  .hero, .river-sec, .voices-sec, .foot { background: #fff; color: #000; }
}
