/* Adi Keizman — personal site
   Self-hosted fonts. Logical properties for LTR/RTL. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("../fonts/frank-ruhl-libre.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Assistant";
  src: url("../fonts/assistant.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3eee4;
  --bg-alt: #ebe4d6;
  --paper: #faf7f1;
  --ink: #141210;
  --ink-2: #3c362e;
  --muted: #746b61;
  --line: #d5cec1;
  --line-strong: #c3baab;
  --gold: #9a7540;
  --gold-soft: #c4a36a;
  --gold-dim: rgba(154, 117, 64, 0.18);
  --hero: #0c0b09;
  --header-h: 4.25rem;
  --max: 1160px;
  --measure: 40.5rem;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --article: "Newsreader", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[lang="he"] {
  --serif: "Frank Ruhl Libre", "David Libre", "Times New Roman", serif;
  --sans: "Assistant", "Helvetica Neue", Arial, sans-serif;
  --article: "Frank Ruhl Libre", "David Libre", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="he"] body { font-size: 1.08rem; letter-spacing: 0; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--gold); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: #e8d5b0; color: var(--ink); }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-size: 0.85rem;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
@media (min-width: 800px) {
  .wrap { width: min(var(--max), calc(100% - 4.5rem)); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #f3eee4;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}
.site-header.is-scrolled,
body.nav-open .site-header,
.page-article .site-header {
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .header-inner { width: min(var(--max), calc(100% - 4.5rem)); }
}

.logo {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
html[lang="he"] .logo {
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: none;
  font-family: var(--serif);
  font-weight: 500;
}
.logo:hover { color: var(--gold-soft); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.82;
  transition: opacity 0.2s, color 0.2s;
}
html[lang="he"] .site-nav a {
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  text-transform: none;
  font-weight: 500;
}
.site-nav a:hover { opacity: 1; color: var(--gold-soft); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline-start: 0.4rem;
  padding-inline-start: 0.9rem;
  border-inline-start: 1px solid rgba(243, 238, 228, 0.25);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.lang-switch a {
  text-decoration: none;
  color: inherit;
  opacity: 0.55;
  text-transform: uppercase;
}
.lang-switch a[aria-current="page"],
.lang-switch a.is-active {
  opacity: 1;
  color: var(--gold-soft);
}
.lang-switch a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  position: absolute;
  inset-inline-start: 0.62rem;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #0c0b09;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem 1.75rem 3rem;
    gap: 1.25rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  body.nav-open .site-nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    opacity: 1;
    font-family: var(--serif);
    text-transform: none;
  }
  html[lang="he"] .site-nav a { font-size: 1.55rem; }
  .lang-switch {
    margin: 1.5rem 0 0;
    padding: 1rem 0 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(243,238,228,0.15);
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #f6f1e8;
  background: var(--hero);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.04);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,11,9,0.45) 0%, rgba(12,11,9,0.15) 32%, rgba(12,11,9,0.35) 58%, rgba(12,11,9,0.92) 100%),
    linear-gradient(90deg, rgba(12,11,9,0.45) 0%, rgba(12,11,9,0.05) 55%);
}
html[dir="rtl"] .hero-media::after {
  background:
    linear-gradient(180deg, rgba(12,11,9,0.45) 0%, rgba(12,11,9,0.15) 32%, rgba(12,11,9,0.35) 58%, rgba(12,11,9,0.92) 100%),
    linear-gradient(270deg, rgba(12,11,9,0.45) 0%, rgba(12,11,9,0.05) 55%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 0 0 6.5rem;
}
@media (min-width: 800px) {
  .hero-inner { width: min(var(--max), calc(100% - 4.5rem)); padding-bottom: 7.5rem; }
}
.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1.1rem;
  font-weight: 500;
}
html[lang="he"] .eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 1.35rem;
}
html[lang="he"] .hero h1 {
  letter-spacing: 0;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 500;
}
.gold-rule {
  display: block;
  width: 3.25rem;
  height: 2px;
  background: var(--gold);
  margin: 0 0 1.5rem;
  border: 0;
}
.hero-lead {
  max-width: 28rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 0.65rem;
  color: #f3eee4;
}
html[lang="he"] .hero-lead { max-width: 32rem; }
.hero-sub {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243,238,228,0.72);
  font-weight: 400;
}
html[lang="he"] .hero-sub {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 1rem;
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--ink);
  color: #f3eee4;
  padding: 1.75rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
}
.stat dt {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin: 0 0 0.15rem;
  letter-spacing: 0.02em;
}
.stat dd {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(243,238,228,0.75);
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--ink);
  color: #f3eee4;
}
.section-label {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 2.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
html[lang="he"] .section-label {
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: none;
}
.section-dark .section-label { color: var(--gold-soft); }
.section-label .num { opacity: 0.7; font-variant-numeric: tabular-nums; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 860px) {
  .section-head.with-intro {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: end;
  }
}
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
html[lang="he"] .section h2 { letter-spacing: 0; }
.lede {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.08rem;
  max-width: 38rem;
}
.section-dark .lede { color: rgba(243,238,228,0.78); }

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1fr 1.35fr; gap: 4.5rem; }
}
.about-text p {
  margin: 0 0 1.15rem;
  color: var(--ink-2);
}
.about-text p:last-child { margin-bottom: 0; }
.about-note {
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 1.75rem;
  padding-top: 1.25rem;
}
.about-note em { font-family: var(--serif); font-style: italic; color: var(--ink-2); }

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-inline-start: 1px solid var(--line-strong);
}
.timeline li {
  position: relative;
  padding: 0 0 2.35rem 0;
  padding-inline-start: 2rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: -4px;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--bg);
}
.section-alt .timeline li::before { box-shadow: 0 0 0 3px var(--bg-alt); }
.year {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}
.timeline h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.timeline p {
  margin: 0;
  color: var(--ink-2);
  max-width: 42rem;
}

.building-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3.25rem;
}
@media (min-width: 720px) {
  .building-gallery { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.building figure { margin: 0; }
.building img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}
.building figcaption {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
html[lang="he"] .building figcaption {
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 0.82rem;
}
.photo-credit-inline {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: none;
  color: #9a9288;
  margin-top: 0.15rem;
}

/* Community */
.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 720px) {
  .community-grid { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.5rem;
}
.card .kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.55rem;
  font-weight: 500;
}
html[lang="he"] .card .kicker {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.8rem;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}
.card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* Press */
.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(243,238,228,0.14);
}
.press-list li { border-bottom: 1px solid rgba(243,238,228,0.14); }
.press-list a {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.2rem 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.press-list a:hover { color: var(--gold-soft); }
.press-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  text-transform: uppercase;
  line-height: 1.35;
}
.press-outlet { font-weight: 500; }
html[lang="he"] .press-meta { text-transform: none; letter-spacing: 0; font-size: 0.85rem; }
.press-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
}
.press-note {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(243,238,228,0.58);
  font-style: normal;
  line-height: 1.45;
}
.press-arrow {
  font-size: 0.85rem;
  opacity: 0.45;
  transition: transform 0.25s var(--ease), opacity 0.25s;
  align-self: center;
}
html[dir="rtl"] .press-arrow { transform: scaleX(-1); }
.press-list a:hover .press-arrow {
  opacity: 1;
  transform: translateX(4px);
}
html[dir="rtl"] .press-list a:hover .press-arrow { transform: scaleX(-1) translateX(4px); }
@media (max-width: 680px) {
  .press-list a { grid-template-columns: 1fr auto; }
  .press-meta { grid-column: 1 / -1; }
}

/* Writing */
.writing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 800px) {
  .writing-grid { grid-template-columns: 1fr 1fr; }
}
.writing-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.7rem 1.6rem 1.5rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.writing-card:hover {
  border-color: var(--gold);
  color: inherit;
  transform: translateY(-2px);
}
.writing-card .kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}
html[lang="he"] .writing-card .kicker {
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 0.8rem;
}
.writing-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.7rem;
  letter-spacing: -0.015em;
}
.writing-card p {
  margin: 0 0 1.2rem;
  color: var(--ink-2);
  flex: 1;
  font-size: 0.98rem;
}
.more {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
html[lang="he"] .more {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.88rem;
}

/* Contact */
.contact-block { max-width: 34rem; }
.contact-block p { margin: 0 0 1.5rem; color: var(--ink-2); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: #f3eee4;
  text-decoration: none;
  padding: 0.9rem 1.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
html[lang="he"] .btn {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.92rem;
}
.btn:hover { background: var(--gold); color: #fff; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.credits { max-width: 42rem; line-height: 1.6; }
.credits a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ---------- Article pages ---------- */
.page-article { background: var(--paper); }
.article-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 0;
}
.article-hero .wrap-narrow,
.article-body {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin-inline: auto;
}
.crumb {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
html[lang="he"] .crumb { text-transform: none; letter-spacing: 0.03em; font-size: 0.85rem; }
.crumb a { text-decoration: none; color: var(--gold); }
.article-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 4.6vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
html[lang="he"] .article-hero h1 { letter-spacing: 0; }
.article-dek {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 1.5rem;
  font-style: italic;
}
html[lang="he"] .article-dek { font-style: normal; }
.article-byline {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
html[lang="he"] .article-byline { text-transform: none; letter-spacing: 0; font-size: 0.9rem; }

.article-body {
  padding: 2.4rem 0 5rem;
  font-family: var(--article);
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink);
}
html[lang="he"] .article-body { font-size: 1.2rem; line-height: 1.8; }
.article-body p { margin: 0 0 1.2rem; }
.article-body p:last-child { margin-bottom: 0; }
.article-body h2, .article-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 2rem 0 0.7rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.article-body strong { font-weight: 600; }
.article-end {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin: 0 auto 4.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.article-end a { color: var(--gold); text-decoration: none; }
.article-end a:hover { text-decoration: underline; }

/* 404 */
.page-empty { min-height: 100vh; display: flex; align-items: center; }
.page-empty h1 { font-family: var(--serif); font-size: 3rem; margin: 0 0 0.5rem; }

.building-gallery.two {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .building-gallery.two { grid-template-columns: 1fr 1fr; }
}

html[lang="he"] .writing-card[lang="en"] h3,
html[lang="he"] .writing-card[lang="en"] p {
  text-align: start;
}
.press-title[dir="ltr"] { unicode-bidi: isolate; }
.press-title[dir="rtl"] { unicode-bidi: isolate; }
[dir="ltr"] { unicode-bidi: isolate; }
.credits span[dir="ltr"] { unicode-bidi: isolate; }

html[lang="en"] .press-title[dir="rtl"] { text-align: left; }
html[lang="en"] .press-title[dir="rtl"] .press-note { direction: ltr; unicode-bidi: isolate; text-align: left; display: block; }
.credits-list { display: flex; flex-direction: column; gap: 0.2rem; }
