/* A news article on its own page: the portfolio's plaster, charcoal and serif. */
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Amiri'; src: url('fonts/amiri-arabic-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Amiri'; src: url('fonts/amiri-arabic-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }

:root {
  --plaster: #e9e3d8; --ink: #2b2a28; --mute: rgba(43, 42, 40, 0.6); --line: rgba(43, 42, 40, 0.14);
  --terracotta: #9a5b45; --gold: #b98d45;
  --serif: 'Cormorant Garamond', 'Amiri', 'Times New Roman', serif;
  --sans: 'Manrope', 'Amiri', system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { background: var(--plaster); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); font-family: var(--sans);
  background: radial-gradient(ellipse 70% 50% at 70% 0%, rgba(255, 255, 255, 0.55), transparent 70%), var(--plaster);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 28px var(--pad); }
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; }
.brand b { font: 500 24px/1 var(--serif); letter-spacing: 0.06em; }
.brand span, .back { font: 600 10.5px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; }
.brand span { opacity: 0.7; }
.back { text-decoration: none; padding: 8px 0; border-bottom: 1px solid currentColor; }

.article { width: min(760px, 100% - 2 * var(--pad)); margin: 6vh auto 12vh; flex: 1; }
.kick { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 600 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta); }
.kick i { width: 36px; height: 1px; background: currentColor; opacity: 0.5; }
.kick time { color: var(--mute); }
h1 { margin: 0 0 42px; font: 400 clamp(40px, 6vw, 72px)/1.02 var(--serif); letter-spacing: -0.015em; }
h1:dir(rtl) { font-weight: 700; line-height: 1.35; letter-spacing: 0; font-size: clamp(32px, 4.6vw, 54px); }
.cover { margin: 0 0 48px; }
.cover img, .text img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(43, 30, 20, 0.45); }
.text p { margin: 0 0 1.1em; font: 400 22px/1.65 var(--serif); }
.text p:dir(rtl) { font-size: 20px; line-height: 2; }
.text figure { margin: 2em 0; }
.text a { color: var(--terracotta); text-underline-offset: 3px; }
.more { display: inline-block; margin-top: 4vh; font: 600 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.missing h1 { margin-bottom: 24px; }
/* ---------- the news page: the newest large, the others in a grid under their year ---------- */
.newsidx { width: min(1240px, 100% - 2 * var(--pad)); margin: 5vh auto 12vh; flex: 1; }
.newsidx__head { display: grid; gap: 18px; padding-bottom: 6vh; margin-bottom: 7vh; border-bottom: 1px solid var(--line); }
.newsidx__head .kick { margin: 0; }
.newsidx__head .kick span[lang='ar'] { font: 400 15px/1 'Amiri', serif; letter-spacing: 0; text-transform: none; color: var(--mute); }
.newsidx__head h1 { margin: 0; font: 300 clamp(56px, 8vw, 132px)/0.92 var(--serif); letter-spacing: -0.02em; }
.newsidx__head h1 em { color: var(--terracotta); }
.newsidx__count { margin: 0; font: 600 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.newsidx time { font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); }
.feature__img, .card__img { margin: 0; overflow: hidden; display: grid; place-items: center; background: linear-gradient(140deg, #ddd5c8, #cbc0af); }
.feature__img img, .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.feature__img span, .card__img span { font: 500 56px/1 var(--serif); letter-spacing: 0.08em; color: rgba(43, 42, 40, 0.22); }
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: center; margin-bottom: 11vh; text-decoration: none; }
.feature__img { aspect-ratio: 5 / 4; }
.feature__text { display: grid; gap: 20px; }
.feature h2 { margin: 0; font: 400 clamp(34px, 3.8vw, 58px)/1.04 var(--serif); letter-spacing: -0.015em; transition: color 0.5s; }
.feature h2:dir(rtl) { font-weight: 700; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.45; letter-spacing: 0; }
.feature p { margin: 0; font: 400 21px/1.6 var(--serif); color: var(--mute); }
.feature p:dir(rtl) { font-size: 19px; line-height: 1.95; }
.read { justify-self: start; padding-bottom: 6px; border-bottom: 1px solid currentColor; font: 600 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; transition: color 0.5s; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7vh clamp(22px, 3vw, 44px); }
.year { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin: 0; font: 600 12px/1 var(--sans); letter-spacing: 0.26em; color: var(--mute); }
.year::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.card { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.card__img { aspect-ratio: 4 / 5; margin-bottom: 6px; }
.card h4 { margin: 0; font: 400 clamp(24px, 2vw, 31px)/1.1 var(--serif); letter-spacing: -0.01em; transition: color 0.5s; }
.card h4:dir(rtl) { font-weight: 700; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.55; letter-spacing: 0; }
.card p { margin: 0; font: 500 14.5px/1.65 var(--sans); color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card p:dir(rtl) { font-size: 16px; line-height: 1.9; }
.feature:hover img, .card:hover img { transform: scale(1.04); }
.feature:hover h2, .feature:hover .read, .card:hover h4 { color: var(--terracotta); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 10vh; padding-top: 4vh; border-top: 1px solid var(--line); }
.pager a { padding-bottom: 6px; border-bottom: 1px solid currentColor; font: 600 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }
.pager__n { font: 500 12px/1 var(--sans); letter-spacing: 0.2em; color: var(--mute); }
.newsidx__empty { font: italic 400 24px/1.5 var(--serif); color: var(--mute); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 6vh; }
  .newsidx__head h1 { font-size: clamp(50px, 15vw, 72px); }
}

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--pad); border-top: 1px solid var(--line); font: 500 12px/1.4 var(--sans); color: var(--mute); }
.foot a { text-decoration: none; }
