/* Karim Ramzi — photography
   Black, white and one red. Didot for display, Gill Sans for text,
   after the 2003 site. Apple devices use their built-in Didot;
   everything else gets GFS Didot from Google Fonts. */

:root {
  --paper: #fbfaf7;
  --ink: #0b0b0b;
  --ink-2: #3a3a3a;
  --mute: #8b8b88;
  --rule: #d9d8d3;
  --red: #c8102e;
  --night: #0b0b0b;
  --night-2: #161616;
  --night-mute: #9a9a96;

  --serif: "Didot", "Didot LT STD", "Linotype Didot", "GFS Didot", "Bodoni 72", Georgia, serif;
  --sans: "Gill Sans", "Gill Sans MT", "Gill Sans Nova", "Lato", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
body.dark { background: var(--night); color: #f2f1ed; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-200%); background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { transform: none; }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
body.dark .site-header { background: rgba(11, 11, 11, .88); }
body.dark .site-header.scrolled { border-bottom-color: #262626; }

.brand {
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  letter-spacing: .02em; line-height: 1;
  white-space: nowrap;
}
.brand b { font-weight: 500; color: var(--red); }
body.dark .brand b { color: #e8314a; }

.nav { display: flex; align-items: center; gap: 0; font-size: 15px; }
.nav a {
  position: relative; padding: 6px 12px;
  color: var(--ink-2); transition: color .2s;
}
body.dark .nav a { color: #cfcfca; }
.nav a + a::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%;
  width: 1px; height: 14px; margin-top: -7px; background: currentColor; opacity: .35;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav > a:last-of-type { padding-inline-end: 0; }

.menu-btn {
  display: none; border: 0; background: none; color: inherit;
  font: inherit; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  padding-block: 10px; padding-inline: 12px 0; cursor: pointer;
}

@media (max-width: 1180px) {
  /* backdrop-filter would trap the fixed menu inside the header */
  .site-header, body.dark .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  body.dark .site-header { background: var(--night); }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; padding: 0 var(--gutter) 15vh;
    background: var(--paper);
    visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
  }
  body.dark .nav { background: var(--night); }
  .nav.open { visibility: visible; opacity: 1; }
  .nav a { font-family: var(--serif); font-size: 44px; line-height: 1.15; padding: 4px 0; color: inherit !important; }
  .nav a[aria-current="page"] { color: var(--red) !important; }
  .nav a + a::before { display: none; }
  body.menu-open { overflow: hidden; }
}

main { padding-top: var(--header-h); }

/* ---------- signature type ---------- */

/* split word: first part red, rest white, on a black block — from the 2003 titles */
.split {
  display: inline-block;
  background: var(--ink); color: #fff;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 9vw, 120px); line-height: 1;
  padding: .12em .28em .2em;
  letter-spacing: -.01em;
}
.split em { font-style: normal; color: var(--red); }

/* thin red line crossing the page */
.redline { position: relative; }
.redline::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--red); pointer-events: none;
}

/* giant pale word behind a heading */
.ghost {
  position: absolute; z-index: -1; inset-inline-start: -.04em; top: -.38em;
  font-family: var(--serif); font-size: 2.3em; line-height: 1;
  color: #ebeae5; white-space: nowrap; user-select: none; pointer-events: none;
}
body.dark .ghost { color: #1c1c1c; }

.kicker {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mute);
}
.kicker .dot { color: var(--red); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; }

/* ---------- home ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid; grid-template-columns: 1fr minmax(0, 46%);
  overflow: hidden;
}
.hero-text {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px var(--gutter);
}
.hero-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 11.5vw, 190px);
  line-height: .86; letter-spacing: -.03em;
  margin: 0 0 .35em;
}
.hero-name span { display: block; }
.hero-name span:last-child { padding-inline-start: .55em; }
.hero-tag {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25;
  max-width: 18em; margin: 0 0 28px; color: var(--ink-2);
}
.hero-meta { font-size: 15px; color: var(--mute); max-width: 32em; margin: 0; }
.hero-photo { position: relative; background: #111; }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.hero-line {
  position: absolute; z-index: 3; left: 0; right: 0; top: 62%;
  height: 1px; background: var(--red);
  transform-origin: left; animation: draw 1.4s .3s cubic-bezier(.7, 0, .2, 1) both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-line { animation: none; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 72svh; }
  .hero-text { padding-top: 36px; padding-bottom: 56px; }
  .hero-line { top: calc(72svh - 1px); }
}

/* series */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { position: relative; isolation: isolate; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(40px, 6vw, 84px); }

.series { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.serie { position: relative; display: block; overflow: hidden; background: #111; }
.serie img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s;
}
.serie:hover img { transform: scale(1.04); filter: grayscale(0); }
.serie-label {
  position: absolute; left: 0; right: 0; bottom: 18%;
  display: flex; align-items: center;
}
.serie-label::before { content: ""; flex: 0 0 12%; height: 1px; background: var(--red); }
.serie-label::after { content: ""; flex: 1; height: 1px; background: var(--red); }
.serie-label .split { font-size: clamp(30px, 3.6vw, 52px); }
.serie-count {
  position: absolute; top: 14px; right: 16px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: .9; text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
@media (max-width: 860px) {
  .series { grid-template-columns: 1fr; }
  .serie img { aspect-ratio: 4 / 3.6; }
}

/* statement */
.statement { background: var(--ink); color: #f2f1ed; }
.statement-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.statement img { width: 100%; filter: grayscale(1); }
.statement blockquote { margin: 0; }
.statement blockquote p {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 56px); line-height: 1.1; margin: 0 0 28px;
}
.statement blockquote p em { color: var(--red); font-style: italic; }
.statement cite { font-style: normal; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--night-mute); }
.statement .body { color: #bdbcb7; max-width: 36em; margin-top: 36px; }
.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid var(--red);
}
.text-link:hover { color: var(--red); }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* strip of faces */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.strip a { overflow: hidden; background: #111; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s, opacity .4s; }
.strip a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- gallery pages ---------- */

.g-head {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr minmax(0, 42%);
  min-height: min(78svh, 760px);
  background: var(--paper);
}
.g-head.no-photo { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 24px; }
.g-head-text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 56px var(--gutter); }
.g-head .redline-row { position: relative; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.g-head .redline-row::after { content: ""; position: absolute; left: 0; right: -100vw; top: 50%; height: 1px; background: var(--red); z-index: -1; }
.g-intro { max-width: 30em; margin: 36px 0 0; color: var(--ink-2); font-size: 18px; }
.g-meta { margin-top: 22px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.g-photo { position: relative; }
.g-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.g-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  display: none;
}
@media (max-width: 860px) {
  .g-head.no-photo { padding-top: 24px; }
  .g-head.no-photo .g-head-text { margin-top: 0; padding-bottom: 24px; }
}

.note {
  font-size: 14px; color: var(--mute);
  border-inline-start: 1px solid var(--red); padding-inline-start: 14px; margin-top: 26px; max-width: 34em;
}

/* masonry grid */
.grid { columns: 5 200px; column-gap: 12px; padding: 40px 0 100px; }
.tile {
  position: relative; display: block; break-inside: avoid;
  margin: 0 0 14px; background: #ecebe6; overflow: hidden; cursor: zoom-in;
}
.tile img { width: 100%; transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
.tile:hover img { transform: scale(1.025); }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 16px 14px;
  font-size: 14px; letter-spacing: .04em; color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0));
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: none; }
@media (hover: none) { .tile-cap { opacity: 1; transform: none; } }
@media (max-width: 520px) { .grid { columns: 2; column-gap: 8px; } .tile { margin-bottom: 8px; } .tile-cap { font-size: 12px; padding: 24px 10px 8px; } }

.next-series {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--rule); padding: 40px 0 0;
}
.next-series a { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.next-series a:hover { color: var(--red); }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper); color: var(--ink);
  display: grid; grid-template-rows: 1fr auto;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 56px 72px 8px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 24px 20px; font-size: 14px; }
.lb-cap { color: var(--ink-2); }
.lb-count { color: var(--mute); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.lb button {
  position: absolute; border: 0; background: none; color: #ddd; cursor: pointer;
  font-family: var(--sans); padding: 14px; line-height: 1;
}
.lb button:hover { color: var(--red); }
.lb button { color: var(--ink) !important; }
.lb button:hover { color: var(--red) !important; }
.lb-close { top: 8px; right: 12px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 40px; font-family: var(--serif) !important; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
@media (max-width: 600px) {
  .lb-stage { padding: 52px 0 0; }
  .lb-prev, .lb-next { top: auto; bottom: 4px; transform: none; font-size: 32px; }
  .lb-bar { padding-left: 56px; padding-right: 56px; text-align: center; flex-direction: column; gap: 2px; }
}

/* ---------- about ---------- */

.about-head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 7vw, 96px) 0; align-items: end; }
.essence { font-family: var(--serif); font-weight: 400; line-height: .9; letter-spacing: -.02em; }
.essence .a { display: block; font-size: clamp(40px, 6vw, 88px); padding-inline-start: .6em; }
.essence .b { display: block; font-size: clamp(84px, 14vw, 210px); color: var(--ink-2); line-height: .8; }
.essence .c { display: block; font-size: clamp(40px, 6vw, 88px); padding-inline-start: 1.6em; }
.essence .c small { font-size: .5em; }
.about-photo img { width: 100%; filter: grayscale(1); }
@media (max-width: 860px) { .about-head { grid-template-columns: 1fr; } }

.prose { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 80px); padding-bottom: clamp(56px, 8vw, 110px); }
.prose aside { font-size: 15px; color: var(--mute); }
.prose aside strong { display: block; color: var(--ink); font-weight: 400; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.prose-body { columns: 2 300px; column-gap: 48px; font-size: 18px; }
.prose-body p { margin: 0 0 1em; }
.prose-body p:first-child::first-letter {
  float: left; font-family: var(--serif); color: var(--red);
  font-size: 6.2em; line-height: .76; padding: .06em .08em 0 0;
}
@media (max-width: 860px) { .prose { grid-template-columns: 1fr; } }

.pull {
  font-family: var(--serif); font-style: italic; color: var(--red);
  font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1;
  max-width: 20em; margin: 0 auto; padding: clamp(48px, 7vw, 100px) var(--gutter); text-align: center;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-top: 22px; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }
.cols h3 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.list { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.list li { display: grid; grid-template-columns: 6.2em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.list .y { color: var(--red); font-variant-numeric: tabular-nums; }
.list.plain li { grid-template-columns: 1fr; }
@media (max-width: 960px) { .cols { grid-template-columns: 1fr; } }

.today { background: #f1efe9; }
.today-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); }
.today p { margin: 0 0 1em; max-width: 38em; }
@media (max-width: 860px) { .today-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: 6fr 6fr; min-height: calc(100svh - var(--header-h)); }
.contact-text { position: relative; isolation: isolate; padding: clamp(56px, 9vw, 130px) var(--gutter); }
.contact-text h1 { font-size: clamp(56px, 8vw, 120px); margin-bottom: 40px; }
.contact-text .ghost { top: -.2em; }
.contact dl { margin: 0; display: grid; grid-template-columns: 9em 1fr; gap: 0; font-size: 18px; }
.contact dt, .contact dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact dt { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); padding-top: 18px; }
.contact dd a { border-bottom: 1px solid transparent; }
.contact dd a:hover { color: var(--red); border-bottom-color: var(--red); }
.contact .lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; max-width: 22em; margin: 0 0 44px; color: var(--ink-2); }
.contact-photo { position: relative; background: #111; }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .contact-photo { height: 56svh; order: -1; }
  .contact dl { grid-template-columns: 1fr; }
  .contact dt { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- legal ---------- */

.legal { max-width: 46em; padding: clamp(56px, 8vw, 110px) 0; }
.legal h1 { font-size: clamp(48px, 7vw, 96px); margin-bottom: 40px; position: relative; isolation: isolate; }
.legal h2 { font-size: 28px; margin: 40px 0 12px; }
.legal p { margin: 0 0 1em; color: var(--ink-2); }

/* ---------- footer ---------- */

.site-footer { background: #c9c8c3; color: var(--ink); font-size: 14px; }
body.dark .site-footer { background: #1a1a1a; color: #cfcfca; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; padding-top: 22px; padding-bottom: 22px; }
.footer-nav { display: flex; flex-wrap: wrap; }
.footer-nav a { padding: 2px 10px; position: relative; }
.footer-nav a:first-child { padding-inline-start: 0; }
.footer-nav a + a::before { content: "|"; position: absolute; inset-inline-start: -2px; opacity: .6; }
.footer-nav a:nth-child(odd) { color: var(--red); }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-home { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-copy { width: 100%; font-size: 13px; opacity: .7; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- language switcher ---------- */
.langs { display: flex; gap: 2px; margin-inline-start: 18px; font-size: 13px; letter-spacing: .08em; }
.nav .langs a { padding: 4px 6px; color: var(--mute); }
.nav .langs a::before { display: none; }
.nav .langs a[aria-current="true"] { color: var(--ink); border-bottom: 1px solid var(--red); }
body.dark .nav .langs a[aria-current="true"] { color: #fff; }
.nav .langs a:hover { color: var(--red); }
@media (max-width: 1180px) {
  .langs { margin: 28px 0 0; gap: 8px; }
  .nav .langs a { font-family: var(--sans); font-size: 16px !important; padding: 6px 10px; }
  .nav .langs a:first-child { padding-inline-start: 0; }
}

/* ---------- small helpers ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(40px, 6vw, 84px); margin: .3em 0 .4em; }
.h3-gap { margin-top: 48px; }
.langs-spoken { margin-top: 24px; }
.about-photo figcaption { margin-top: 10px; }
.today h2 { font-size: clamp(40px, 5vw, 72px); }
.legal a { color: var(--red); }
.legal .legal-end { margin-top: 48px; }
.notfound { position: relative; isolation: isolate; min-height: 70svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.notfound .ghost { top: auto; font-size: 30vw; }
.notfound h1 { font-size: clamp(40px, 6vw, 84px); margin: .15em 0 .3em; }

/* ---------- Arabic & right-to-left ---------- */
html[lang="ar"] {
  --serif: "Kufam", "Geeza Pro", Tahoma, sans-serif;
  --sans: "IBM Plex Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
}
/* letter-spacing breaks the joins between Arabic letters */
html[lang="ar"] body, html[lang="ar"] .kicker, html[lang="ar"] .serie-count, html[lang="ar"] .g-meta,
html[lang="ar"] .text-link, html[lang="ar"] .statement cite, html[lang="ar"] .pull cite,
html[lang="ar"] .contact dt, html[lang="ar"] .prose aside strong, html[lang="ar"] .menu-btn,
html[lang="ar"] .lb-close, html[lang="ar"] .footer-home, html[lang="ar"] .tile-cap,
html[lang="ar"] .lb-count, html[lang="ar"] .nav .langs a { letter-spacing: 0; }
html[lang="ar"] body { font-size: 18px; line-height: 1.85; }
html[lang="ar"] .kicker, html[lang="ar"] .g-meta, html[lang="ar"] .contact dt { font-size: 15px; }
html[lang="ar"] .hero-tag, html[lang="ar"] .statement blockquote p em, html[lang="ar"] .pull { font-style: normal; }
html[lang="ar"] .hero-name { line-height: 1.05; letter-spacing: 0; font-size: clamp(64px, 10vw, 170px); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.3; letter-spacing: 0; }
html[lang="ar"] .split { padding: .02em .3em .18em; line-height: 1.3; }
html[lang="ar"] .essence { line-height: 1.15; }
html[lang="ar"] .essence .b { line-height: 1.1; }
html[lang="ar"] .statement blockquote p { line-height: 1.45; }
html[lang="ar"] .pull { line-height: 1.5; }
html[lang="ar"] .prose-body p:first-child::first-letter { float: none; font-size: inherit; color: inherit; padding: 0; font-family: inherit; }
html[lang="ar"] .footer-nav a:nth-child(odd) { color: var(--red); }
html[lang="ar"] .nav a { font-size: 16px; }
@media (max-width: 1180px) { html[lang="ar"] .nav a { font-size: 40px; line-height: 1.5; } }

[dir="rtl"] .hero-line { transform-origin: right; }
[dir="rtl"] .g-head .redline-row::after { right: 0; left: -100vw; }
[dir="rtl"] .lb-prev { left: auto; right: 8px; }
[dir="rtl"] .lb-next { right: auto; left: 8px; }
[dir="rtl"] .lb-close { right: auto; left: 12px; }
[dir="rtl"] .serie-count { right: auto; left: 16px; }

/* ---------- press ---------- */
.press-head { padding: clamp(48px, 7vw, 96px) 0 24px; }
.press-head .redline-row { position: relative; }
.press-head .redline-row::after { content: ""; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 50%; height: 1px; background: var(--red); z-index: -1; }
.press-head .split { position: relative; }
.press-head .lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; max-width: 30em; margin: 36px 0 0; color: var(--ink-2); }
.press-grid { display: grid; gap: 28px; padding: 40px 0 24px; max-width: 58em; }
.press-bio { border: 1px solid var(--rule); background: #fff; padding: 24px clamp(18px, 3vw, 32px); }
.press-bio-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.press-bio h2 { font-size: 28px; }
.press-bio p { margin: 0; }
.copy-btn { border: 1px solid var(--ink); background: none; color: var(--ink); font: inherit; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; cursor: pointer; white-space: nowrap; }
.copy-btn:hover, .copy-btn.done { background: var(--red); border-color: var(--red); color: #fff; }
.press-h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.press-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); padding: 56px 0; }
.press-section { padding: 56px 0; }
.facts { display: grid; grid-template-columns: 9em 1fr; margin: 0; font-size: 16px; }
.facts dt, .facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--mute); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; padding-top: 13px; }
.facts a, .press-contact a, .today a { border-bottom: 1px solid var(--red); }
.facts a:hover, .press-contact a:hover, .today a:hover { color: var(--red); }
.quotes blockquote { margin: 0 0 28px; }
.quotes p { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; margin: 0 0 6px; }
.quotes cite { font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.press-note { color: var(--ink-2); max-width: 46em; margin: 0 0 28px; }
.press-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.press-photo { margin: 0; }
.press-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #111; }
.press-photo figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; font-size: 14px; }
.press-photo figcaption span { color: var(--mute); }
.press-photo figcaption a { margin-top: 6px; color: var(--red); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.press-contact { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.5; }
@media (max-width: 960px) { .press-cols { grid-template-columns: 1fr; } .press-photos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }
html[lang="ar"] .copy-btn, html[lang="ar"] .facts dt, html[lang="ar"] .quotes cite, html[lang="ar"] .press-photo figcaption a { letter-spacing: 0; }
html[lang="ar"] .quotes p, html[lang="ar"] .press-head .lead { line-height: 1.6; }

/* ---------- videos ---------- */
.videos { display: grid; gap: clamp(48px, 7vw, 96px); padding: 40px 0 120px; }
.video { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.video:nth-child(even) .video-frame { order: 2; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit;
  background: radial-gradient(circle at 50% 50%, #222 0%, var(--ink) 70%); }
.video-play::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--red); opacity: .8; }
.video-num { position: absolute; top: 18px; inset-inline-start: 22px; font-family: var(--serif); font-size: clamp(48px, 7vw, 96px); line-height: 1; color: rgba(255,255,255,.14); }
.video-btn { position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85); background: var(--ink); transition: background .25s, border-color .25s, transform .25s; }
.video-btn::before { content: ""; position: absolute; left: 31px; top: 25px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.video-play:hover .video-btn, .video-play:focus-visible .video-btn { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.video-dur { position: absolute; bottom: 14px; inset-inline-end: 18px; font-size: 13px; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.video-text h2 { font-size: clamp(28px, 3vw, 42px); margin: 8px 0 14px; }
.video-text p { margin: 0 0 14px; color: var(--ink-2); }
.video-text .kicker { color: var(--mute); }
.video-fb { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--red); padding-bottom: 3px; }
.video-fb:hover { color: var(--red); }
@media (max-width: 860px) { .video { grid-template-columns: 1fr; } .video:nth-child(even) .video-frame { order: 0; } }
html[lang="ar"] .video-dur, html[lang="ar"] .video-fb { letter-spacing: 0; }

/* gallery header: photo stays beside the text, stacks only on phones */
@media (max-width: 860px) {
  .g-head { grid-template-columns: 1fr minmax(0, 40%); min-height: 0; }
  .g-head-text { padding-top: 40px; padding-bottom: 40px; }
  .g-head .split { font-size: clamp(40px, 8vw, 72px); }
  .g-intro { font-size: 16px; }
}
@media (max-width: 600px) {
  .g-head { grid-template-columns: 1fr; }
  .g-photo { order: -1; height: 56svh; }
  .g-head-text { padding-top: 32px; }
}

/* gallery intro: white text on a red band, line by line */
.g-intro { line-height: 2.05; }
.g-intro span {
  background: var(--red); color: #fff;
  padding: .28em .4em .32em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
html[lang="ar"] .g-intro { line-height: 2.3; }

/* photos never shown larger than their real size */
.tile { margin-bottom: 12px; }
.grid { max-width: 1320px; margin-inline: auto; }

/* red dot between cities / keywords */
.sep { color: var(--red); font-weight: 700; letter-spacing: 0; margin-inline: .55em .75em; }

/* gallery opening photo: a framed print beside the text, not a full-bleed half page */
.g-head { grid-template-columns: 1fr auto; min-height: 0; align-items: center; padding-block: clamp(32px, 5vw, 64px); }
.g-photo {
  position: relative; align-self: center;
  width: clamp(240px, 28vw, 400px); aspect-ratio: 4 / 5;
  margin-inline-end: var(--gutter);
}
.g-photo img { object-position: 50% 30%; }
@media (max-width: 860px) {
  .g-head { grid-template-columns: 1fr auto; }
  .g-photo { width: clamp(200px, 32vw, 280px); }
}
@media (max-width: 600px) {
  .g-head { grid-template-columns: 1fr; padding-top: 24px; }
  .g-photo { order: -1; width: auto; height: auto; aspect-ratio: 4 / 3; margin: 0 var(--gutter); }
  .g-photo img { object-position: 50% 35%; }
}

/* contact intro: same red band as the gallery intros */
.contact .lead { line-height: 1.75; color: #fff; }
.contact .lead span {
  background: var(--red); color: #fff; padding: .12em .35em .18em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
html[lang="ar"] .contact .lead { line-height: 2; }

/* contact photo: framed print, like the gallery headers */
.contact { grid-template-columns: 1fr auto; min-height: 0; align-items: center; }
.contact-photo { align-self: center; width: clamp(240px, 28vw, 400px); aspect-ratio: 4 / 5; margin-inline-end: var(--gutter); }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr auto; }
  .contact-photo { order: 0; height: auto; width: clamp(180px, 30vw, 260px); }
  .contact-text .ghost { display: none; }
}
@media (max-width: 600px) {
  .contact { grid-template-columns: 1fr; }
  .contact-photo { order: -1; width: auto; aspect-ratio: 4 / 3; margin: 24px var(--gutter) 0; }
  .contact-text { padding-top: 32px; }
}

/* "عربي" in the language switcher: bold, slightly larger, raised to line up with EN/FR */
.nav .langs a[lang="ar"] {
  font-family: "Kufam", "Geeza Pro", Tahoma, sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: 0;
  padding-block: 0 6px; color: var(--ink-2);
}
.nav .langs { align-items: baseline; }   /* same baseline as EN / FR */
@media (max-width: 1180px) { .nav .langs a[lang="ar"] { font-size: 18px !important; } }

/* about header: bigger photo, title centred vertically against it */
.about-head { grid-template-columns: 1fr minmax(0, 520px); align-items: center; gap: clamp(32px, 5vw, 80px); }
.about-photo { width: 100%; max-width: 520px; justify-self: end; }
.about-photo figcaption { position: absolute; }   /* caption hangs below so it does not shift the centring */
.about-photo { position: relative; margin: 0 !important; }
.about-head { padding-bottom: calc(clamp(48px, 7vw, 96px) + 3.5em); }
@media (max-width: 860px) {
  .about-head { grid-template-columns: 1fr; }
  .about-photo { justify-self: stretch; max-width: none; }
  .about-head { padding-bottom: clamp(48px, 7vw, 96px); }
  .about-photo figcaption { position: static; }
}

/* ---------- texts (essays composed like the printed panels) ---------- */
.essay { padding: clamp(56px, 8vw, 120px) 0; border-top: 1px solid var(--rule); }
.essay-orig { text-align: center; margin: 0 0 24px; }
.essay p { font-family: var(--serif); }
.d-grid p, .m-body p { font-size: 18px; line-height: 1.6; margin: 0 0 1em; text-align: justify; hyphens: auto; -webkit-hyphens: auto; color: var(--ink); }

/* Dénicheur d'âme: the giant D holding the words */
.d-title { --s: clamp(170px, 30vw, 400px); position: relative; width: calc(var(--s) * 1.28); height: calc(var(--s) * .98);
  margin: 0 auto clamp(32px, 5vw, 64px); font-family: var(--serif); font-weight: 400; line-height: 1; transform: translateX(-8%); }
.d-title span { position: absolute; white-space: nowrap; }
.d-big { left: 0; top: 0; font-size: var(--s); line-height: .78; color: var(--ink); }
.d-w1 { left: calc(var(--s) * .31); top: calc(var(--s) * .40); font-size: calc(var(--s) * .21); color: #4a4a48; }
.d-w2 { left: calc(var(--s) * .2); top: calc(var(--s) * .63); font-size: calc(var(--s) * .36); color: #3a3a38; }
.d-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); max-width: 1120px; margin: 0 auto; }
.d-c1, .d-c3 { padding-top: clamp(80px, 10vw, 150px); }
.d-lede { font-variant: small-caps; font-weight: 700; font-size: clamp(21px, 1.9vw, 26px) !important; line-height: 1.45 !important;
  text-align: left !important; letter-spacing: .02em; margin-bottom: 1.4em !important; }
@media (max-width: 860px) {
  .d-grid { grid-template-columns: 1fr; gap: 0; max-width: 40em; }
  .d-c2 { display: contents; }
  .d-lede { order: -1; }
  .d-c1, .d-c3 { padding-top: 0; }
  .d-c3 { order: 2; }
  .d-title { transform: none; }
}

/* Monochromatic statements: light letters on a grey block */
.m-title { position: relative; isolation: isolate; text-align: center; font-family: var(--serif); font-weight: 400;
  line-height: .86; letter-spacing: -.01em; margin: clamp(80px, 11vw, 150px) auto clamp(72px, 9vw, 130px); }
.m-l1, .m-l2, .m-l3 { display: block; }
.m-l1 { font-size: clamp(60px, 10vw, 140px); padding-inline-start: .55em; }
.m-thin { color: #555; }
.m-l2 { font-size: clamp(68px, 12vw, 168px); }
.m-l3 { font-size: clamp(26px, 4.2vw, 58px); font-weight: 700; color: #2f2f2d; margin-top: .05em; }
.m-mid { position: relative; }
.m-mid::before { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; top: -1.05em; bottom: -.62em; background: #8d8c88; opacity: .55; }
.m-mid i { font-style: normal; color: #f3f1ec; }
.m-body { columns: 3 260px; column-gap: clamp(24px, 3vw, 44px); max-width: 1120px; margin: 0 auto; }
.m-body p:first-child::first-letter { float: left; font-size: 5.4em; line-height: .78; padding: .04em .08em 0 0; color: var(--ink); }

/* author box, as on the panels */
.sig { display: table; margin: 24px 0 0 auto !important; background: var(--ink); color: #fff; padding: 8px 18px 10px;
  font-family: var(--serif); font-style: italic; text-align: left !important; line-height: 1.25 !important; font-size: 18px !important; }
.sig em { display: block; font-size: 20px; color: #fff; }
.sig span { display: block; font-size: 15px; color: #b9b8b3; }
.essay-m .sig { margin-right: max(0px, calc((100% - 1120px) / 2)) !important; }

/* about page: links to the texts */
.texts-teaser h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 8px 0 32px; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.teaser { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--rule); background: #fff; transition: border-color .25s; }
.teaser:hover { border-color: var(--red); }
.teaser-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.teaser-by { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.teaser-ex { font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.teaser-go { margin-top: auto; padding-top: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
html[lang="ar"] .teaser-go { letter-spacing: 0; font-size: 15px; }
@media (max-width: 760px) { .teaser-grid { grid-template-columns: 1fr; } }

/* French / English blocks inside Arabic pages keep the Latin fonts */
html[lang="ar"] [lang="fr"], html[lang="ar"] [lang="en"] {
  --serif: "Didot", "Didot LT STD", "Linotype Didot", "GFS Didot", "Bodoni 72", Georgia, serif;
  --sans: "Gill Sans", "Gill Sans MT", "Gill Sans Nova", "Lato", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans);
}

/* Kufam: tall letters need a little more line height; keep titles in its regular weight */
html[lang="ar"] .hero-name { line-height: 1.2; font-weight: 500; }
html[lang="ar"] .split { font-weight: 500; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 500; }

/* every red full stop */
.dot { color: var(--red); }

/* Arabic name: first and last name side by side, no stagger */
html[lang="ar"] .hero-name > span { display: inline; padding: 0 !important; }
html[lang="ar"] .hero-name > span + span::before { content: " "; }

/* a .section on a .wrap keeps the side gutter */
.wrap.section { padding-inline: var(--gutter); }

/* smaller red initials at the start of the other biography paragraphs */
.prose-body p:not(:first-child)::first-letter,
.today .reveal p::first-letter {
  float: left; font-family: var(--serif); color: var(--red);
  font-size: 3.15em; line-height: .8; padding: .07em .07em 0 0;
}
.today .reveal p.kicker::first-letter { float: none; font-size: inherit; color: inherit; padding: 0; font-family: inherit; }
html[lang="ar"] .prose-body p::first-letter,
html[lang="ar"] .today .reveal p::first-letter { float: none; font-size: inherit; color: inherit; padding: 0; font-family: inherit; }

/* Arabic name with red letter dots (two stacked layers) */
.ar-dots { display: inline-grid; }
.ar-dots > span { grid-area: 1 / 1; display: block; }
.ar-dots-red, .ar-dots-red b { color: var(--red); }
.ar-dots-ink { color: var(--ink); -webkit-text-stroke: .012em currentColor; }
.ar-dots-ink b { color: var(--red); -webkit-text-stroke: 0; }
/* the hero-name rules (block spans, indent) must not reach the stacked layers */
span.ar-dots.ar-dots { display: inline-grid !important; padding: 0 !important; }
span.ar-dots.ar-dots > span { grid-area: 1 / 1; display: block !important; padding: 0 !important; }
span.ar-dots.ar-dots > span::before { content: none !important; }

/* gallery header shares the width of the photo grid below, so the opening photo
   lines up with the edge of the grid; the red line still runs across the page */
.g-head { max-width: calc(1320px + 2 * var(--gutter)); margin-inline: auto; overflow: visible; }
.g-head .redline-row::after { left: -100vw; right: -100vw; }
[dir="rtl"] .g-head .redline-row::after { left: -100vw; right: -100vw; }

/* the header stays in the same place in every language:
   logo on the left, sections in the same order, languages at the far right */
[dir="rtl"] .site-header { direction: ltr; }
[dir="rtl"] .site-header .brand, [dir="rtl"] .nav > a { unicode-bidi: plaintext; }
/* language switcher: fixed slots, identical position on every page */
.nav .langs a { display: inline-block; width: 34px; padding-inline: 0 !important; text-align: center; font-size: 13px !important; }
.nav .langs a[lang="ar"] { width: auto; min-width: 34px; padding-inline: 4px !important; font-size: 15px !important; }
@media (max-width: 1180px) { .nav .langs a[lang="ar"] { font-size: 18px !important; } }
.nav .langs { gap: 2px !important; }

/* first name directly above last name, no indent */
.hero-name > span:last-child { padding-inline-start: 0; }

/* home: name block centred in its column */
.hero-text { align-items: center; text-align: center; }
.hero-tag, .hero-meta { margin-inline: auto; }

/* about header: smaller title, larger photo */
.essence .a, .essence .c { font-size: clamp(30px, 4.2vw, 62px); }
.essence .b { font-size: clamp(62px, 9.8vw, 148px); }
.about-head { grid-template-columns: 1fr minmax(0, 620px); }
.about-photo { max-width: 620px; }
/* Latin name: only the dots of the i in red; no outline on the thin Didot strokes */
.ar-dots.latin .ar-dots-ink { -webkit-text-stroke: 0; }

/* home tagline in red */
.hero-tag { color: var(--red); }

/* contact page: same width and side margins as every other page */
.contact { max-width: var(--max); margin-inline: auto; }

/* contact photo lifted to the level of the title, as on the other pages */
@media (min-width: 601px) {
  .contact { align-items: start; }
  .contact-photo { align-self: start; margin-top: clamp(56px, 9vw, 130px); }
}

/* biography summary, read before the full story */
.about-lead { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.5; color: var(--ink-2);
  max-width: 44em; margin: 0 0 clamp(40px, 6vw, 72px); padding-inline-start: 22px; border-inline-start: 2px solid var(--red); }
html[lang="ar"] .about-lead { line-height: 1.9; }

/* ---------- books ---------- */
.book { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--rule); }
.book-top { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tile.book-cover { margin: 0; background: none; overflow: visible; }
.book-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 22px 44px rgba(0, 0, 0, .2), 0 2px 6px rgba(0, 0, 0, .12); transition: transform .6s; }
.book-cover:hover img { transform: translateY(-4px); }
.book-text h2 { font-size: clamp(44px, 6vw, 88px); margin: 10px 0 18px; }
.book-text p:not(.kicker) { max-width: 32em; font-size: 18px; color: var(--ink-2); margin: 0; }
.book-pages-label { margin: clamp(36px, 5vw, 56px) 0 14px; }
.book-pages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.book-pages .tile { margin: 0; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.book-pages .tile img { aspect-ratio: 1; object-fit: cover; }
.books-contact { padding: 24px 0 110px; border-top: 1px solid var(--rule); color: var(--ink-2); }
.books-contact .text-link { margin: 0 0 0 10px; }
@media (max-width: 860px) {
  .book-top { grid-template-columns: 1fr; }
  .book-cover { max-width: 420px; }
  .book-pages { grid-template-columns: repeat(3, 1fr); }
}

/* home: the books */
.home-books { padding-top: 0; }
.home-books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 36px); }
.home-book { display: flex; flex-direction: column; gap: 12px; }
.home-book img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 14px 30px rgba(0, 0, 0, .16), 0 2px 5px rgba(0, 0, 0, .1); transition: transform .6s; }
.home-book:hover img { transform: translateY(-4px); }
.home-book span { font-family: "Didot", "Didot LT STD", "GFS Didot", Georgia, serif; font-size: 22px; }
.home-book:hover span { color: var(--red); }
@media (max-width: 760px) { .home-books-grid { grid-template-columns: repeat(2, 1fr); } }

/* books shown open: double pages with a soft fold in the middle */
.book-pages { grid-template-columns: repeat(2, 1fr) !important; gap: clamp(16px, 2.4vw, 32px) !important; }
.book-pages .tile.spread { position: relative; background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .14), 0 1px 3px rgba(0, 0, 0, .1); }
.book-pages .tile.spread img { aspect-ratio: 2 / 1; object-fit: cover; }
.book-pages .tile.spread::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 8%; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.10) 46%, rgba(0,0,0,.18) 50%, rgba(0,0,0,.10) 54%, rgba(0,0,0,0) 100%);
}
.book-pages .tile.spread:hover img { transform: none; }
@media (max-width: 760px) { .book-pages { grid-template-columns: 1fr !important; } }

/* about title: slightly larger again */
.essence .a, .essence .c { font-size: clamp(34px, 4.8vw, 72px); }
.essence .b { font-size: clamp(72px, 11.2vw, 170px); }
