/* =========================================================
   A. Dayan Law Offices — modern redesign 2026
   RTL Hebrew • mobile-first • design tokens
   ========================================================= */

:root {
  /* Brand */
  --brand: #a61a24;          /* deep red from the firm logo */
  --brand-dark: #7c141b;
  --brand-soft: #f6e8e9;
  --accent: #c0552c;         /* warm coral from the wall "AD" sign */

  /* Neutrals */
  --ink: #16191d;            /* near-black charcoal text */
  --ink-2: #3c4148;
  --muted: #6b7178;
  --line: #e7e3df;
  --bg: #ffffff;
  --bg-soft: #f7f5f2;        /* warm off-white */
  --bg-dark: #14171b;        /* footer / dark sections */

  /* Type */
  --serif: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --sans: "Assistant", "Heebo", system-ui, "Segoe UI", Arial, sans-serif;

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,23,27,.06), 0 2px 8px rgba(20,23,27,.05);
  --shadow: 0 10px 30px -12px rgba(20,23,27,.18);
  --shadow-lg: 0 30px 60px -20px rgba(20,23,27,.28);

  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  font-weight: 700; font-size: .82rem; letter-spacing: .18em;
  color: var(--brand); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); display: inline-block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--ink); letter-spacing: -.01em; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.section-intro { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }
.text-center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(166,26,36,.7); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(166,26,36,.7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ========================================================
   Header / Nav
   ======================================================== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em;
  box-shadow: 0 6px 16px -6px rgba(166,26,36,.7);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--ink); }
.brand__tag { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 600; font-size: .98rem; color: var(--ink-2);
  padding: 9px 14px; border-radius: 999px; transition: color .18s, background .18s;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--ink); font-size: 1.02rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--brand); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; inset-inline: 12px; height: 2px; background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; inset-inline: 0; }
.nav-toggle span::after { top: 7px; inset-inline: 0; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ========================================================
   Hero
   ======================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--header-h);
  color: #fff; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,15,18,.92) 0%, rgba(13,15,18,.72) 45%, rgba(13,15,18,.35) 100%),
    linear-gradient(0deg, rgba(13,15,18,.85), rgba(13,15,18,.1) 60%);
}
.hero .container { padding-block: 60px; }
.hero__inner { max-width: 680px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  backdrop-filter: blur(6px); margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.08; margin-bottom: 22px; }
.hero h1 .accent { color: #fff; position: relative; white-space: nowrap; }
.hero h1 em { font-style: normal; color: #ffb4a3; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.88); max-width: 56ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 54px); margin-top: 52px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stat .num { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; color: #fff; }
.hero__stat .lbl { font-size: .92rem; color: rgba(255,255,255,.75); font-weight: 600; }

/* ========================================================
   Trust strip
   ======================================================== */
.trust { background: var(--bg-dark); color: rgba(255,255,255,.9); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 30px; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.trust__item b { display: block; font-size: 1rem; color: #fff; font-weight: 700; }
.trust__item span { font-size: .86rem; color: rgba(255,255,255,.6); }

/* ========================================================
   About
   ======================================================== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__media .badge-float {
  position: absolute; inset-block-end: -24px; inset-inline-start: -24px;
  background: var(--brand); color: #fff; padding: 20px 26px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); max-width: 230px;
}
.about__media .badge-float .big { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about__media .badge-float .small { font-size: .9rem; opacity: .9; margin-top: 4px; }
.about__body p { color: var(--ink-2); margin-bottom: 18px; }
.about__body p.lead { font-size: 1.22rem; color: var(--ink); font-weight: 600; line-height: 1.6; }
.about__sign { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.about__sign .name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.about__sign .role { font-size: .9rem; color: var(--muted); }

/* ========================================================
   Practice areas
   ======================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0);
  transform-origin: inline-start; transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--brand); font-size: .95rem; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(-4px); }
.card--feature { background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff; border: none; }
.card--feature h3, .card--feature p { color: #fff; }
.card--feature p { color: rgba(255,255,255,.85); }
.card--feature .card__icon { background: rgba(255,255,255,.15); color: #fff; }
.card--feature .card__link { color: #fff; }
.card--feature .tag-new {
  position: absolute; inset-block-start: 18px; inset-inline-start: 18px;
  background: #fff; color: var(--brand); font-size: .72rem; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .04em;
}

/* ========================================================
   Approach / mediation band
   ======================================================== */
.approach { background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.approach::before {
  content: "\201D"; position: absolute; font-family: var(--serif);
  font-size: 40rem; line-height: .8; color: rgba(255,255,255,.03);
  inset-block-start: -8rem; inset-inline-start: -3rem; pointer-events: none;
}
.approach__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px,6vw,70px); align-items: center; position: relative; }
.approach h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.approach .quote { font-family: var(--serif); font-size: clamp(1.4rem,3vw,1.9rem); line-height: 1.5; color: #fff; margin-bottom: 22px; }
.approach p { color: rgba(255,255,255,.78); margin-bottom: 16px; }
.approach__list { display: grid; gap: 16px; }
.approach__list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 18px 20px; border-radius: var(--radius-sm); }
.approach__list svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.approach__list b { color: #fff; display: block; }
.approach__list span { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ========================================================
   Team
   ======================================================== */
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 50px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 240px 1fr; transition: box-shadow .22s, transform .22s; }
.member:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.member__photo { background: var(--bg-soft); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.member__body { padding: 28px 26px; }
.member__body h3 { font-size: 1.42rem; margin-bottom: 2px; }
.member__role { color: var(--brand); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.member__body p { color: var(--muted); font-size: .98rem; margin-bottom: 14px; }
.member__creds { display: flex; flex-wrap: wrap; gap: 8px; }
.member__creds span { font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }

/* ========================================================
   Contact
   ======================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.contact__info { padding: clamp(32px, 5vw, 54px); }
.contact__info h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.contact__info > p { color: var(--muted); margin-bottom: 28px; }
.contact__list { display: grid; gap: 22px; margin-bottom: 30px; }
.contact__row { display: flex; gap: 16px; align-items: flex-start; }
.contact__row .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.contact__row .ic svg { width: 22px; height: 22px; }
.contact__row .lbl { font-size: .82rem; color: var(--muted); font-weight: 600; }
.contact__row .val { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.contact__row .val a:hover { color: var(--brand); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map { min-height: 380px; position: relative; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.15) contrast(1.02); }

/* ========================================================
   Footer
   ======================================================== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: rgba(255,255,255,.6); }
.site-footer p { font-size: .95rem; margin-top: 16px; max-width: 40ch; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); transition: color .18s; }
.footer-col a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,.5); }
.disclaimer { max-width: 60ch; line-height: 1.6; }

/* ========================================================
   Floating actions
   ======================================================== */
.floating { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: transform .2s; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab--wa { background: #25d366; }
.fab--call { background: var(--brand); display: none; }

/* ========================================================
   Reveal animation
   ======================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ========================================================
   Inner pages
   ======================================================== */
.page-hero {
  position: relative; color: #fff; isolation: isolate;
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: linear-gradient(135deg, #1b1f24, #2a1417 120%);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(166,26,36,.55), transparent 60%),
    radial-gradient(700px 380px at 5% 120%, rgba(192,85,44,.25), transparent 60%);
}
.page-hero__inner { max-width: 820px; }
.page-hero .eyebrow { color: #ffb4a3; }
.page-hero .eyebrow::before { background: #ffb4a3; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 60ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.8); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* Layout with sidebar */
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 5vw, 60px); align-items: start; }
.page-layout--narrow { grid-template-columns: minmax(0, 760px); justify-content: center; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }

/* Prose */
.prose { color: var(--ink-2); font-size: 1.06rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 38px 0 14px; color: var(--ink); }
.prose h3 { font-size: 1.32rem; margin: 30px 0 10px; color: var(--brand); }
.prose p { margin-bottom: 18px; }
.prose ul.bullets { display: grid; gap: 12px; margin: 0 0 22px; }
.prose ul.bullets li { position: relative; padding-inline-start: 30px; }
.prose ul.bullets li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: .62em;
  width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg);
  background: var(--brand);
}
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--brand-dark); }
.prose blockquote {
  margin: 24px 0; padding: 20px 24px; border-inline-start: 4px solid var(--brand);
  background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif); font-size: 1.18rem; color: var(--ink); line-height: 1.6;
}
.prose .lead { font-size: 1.22rem; color: var(--ink); font-weight: 600; line-height: 1.6; margin-bottom: 22px; }
.prose .footnote { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--brand-soft); border: 1px solid #eccccd; color: var(--brand-dark);
  padding: 18px 20px; border-radius: var(--radius-sm); margin: 24px 0; font-weight: 600;
}
.callout svg { width: 24px; height: 24px; flex: none; color: var(--brand); }

/* Sidebar widgets */
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.practice-nav { display: grid; gap: 4px; }
.practice-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; color: var(--ink-2); transition: background .18s, color .18s; }
.practice-nav a svg { width: 16px; height: 16px; opacity: .5; }
.practice-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.practice-nav a.active { background: var(--brand); color: #fff; }
.practice-nav a.active svg { opacity: 1; }
.cta-card { background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.cta-card h4 { font-family: var(--serif); font-size: 1.35rem; color: #fff; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.cta-card p { color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 18px; }
.cta-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.cta-card .btn:last-child { margin-bottom: 0; }

/* Glossary (pirsum3) */
.glossary-tools { margin-bottom: 26px; }
.glossary-search { width: 100%; max-width: 420px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--sans); font-size: 1rem; background: #fff; }
.glossary-search:focus { outline: none; border-color: var(--brand); }
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.glossary .term { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.glossary .term .abbr { font-weight: 800; color: var(--brand); flex: none; min-width: 52px; font-family: var(--serif); }
.glossary .term .full { color: var(--ink-2); font-size: .96rem; }
.glossary .empty { grid-column: 1/-1; color: var(--muted); padding: 20px; text-align: center; }

/* Publications grid */
.pub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.pub-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.pub-card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.pub-card .ic svg { width: 26px; height: 26px; }
.pub-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.pub-card p { color: var(--muted); font-size: .95rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; background: var(--bg-soft); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* Notice (in-development) */
.notice { text-align: center; max-width: 560px; margin: 0 auto; padding: 50px 30px; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius); }
.notice .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 20px; }
.notice .ic svg { width: 30px; height: 30px; }
.notice h2 { font-size: 1.6rem; margin-bottom: 10px; }
.notice p { color: var(--muted); margin-bottom: 22px; }

/* Info/resource list */
.res-list { display: grid; gap: 10px; }
.res-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); transition: border-color .18s, transform .18s, box-shadow .18s; }
.res-list a:hover { border-color: var(--brand); transform: translateX(-4px); box-shadow: var(--shadow-sm); }
.res-list a .ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.res-list a .ic svg { width: 20px; height: 20px; }
.res-list a .meta { margin-inline-start: auto; font-size: .78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; }

/* Team page cards reuse .member; profile page lead */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* LTR (English) helpers */
.ltr { direction: ltr; text-align: left; }
.ltr .eyebrow::before { margin-inline-end: .6em; }

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 980px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .approach__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; order: -1; }
  .team__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; order: -1; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .split__media { max-width: 460px; margin-inline: auto; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav, .header-phone { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 18px 26px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open .nav { display: flex; transform: translateY(0); }
  .nav a { padding: 13px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav .btn { margin-top: 8px; justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 30px; }
  .member__photo { aspect-ratio: 16/10; }
  .member__photo img { object-position: center 22%; }
  .about__media .badge-float { inset-inline-start: 50%; transform: translateX(50%); inset-block-end: -28px; }
  .fab--call { display: grid; }
  .hero__stats { gap: 22px 34px; }
  .sidebar { grid-template-columns: 1fr; }
  .glossary { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .trust .container { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
}
