/* ============================================================
   עייש · בן שלום · גולדשמידט — design system
   Institutional gravitas, modern craft.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #14181F;
  --paper: #F4F1EA;
  --paper-2: #EAE5DA;
  --brass: #A9884E;
  --brass-soft: #C4A76B;
  --brass-deep: #8F7240;
  --deep: #1E2A3A;
  --deep-2: #16202D;
  --muted: #6A6A66;
  --muted-on-dark: #9A9A94;
  --line: rgba(20, 24, 31, 0.14);
  --line-on-dark: rgba(244, 241, 234, 0.14);
  --serif: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --sans: 'Heebo', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 4px;
  --topbar-h: 68px;
  --shadow: 0 30px 60px -30px rgba(20, 24, 31, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--brass); color: #fff; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout ---------- */
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.section { padding: clamp(84px, 11vw, 148px) 0; }
.section-paper2 { background: var(--paper-2); }
.kicker {
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em;
  color: var(--brass-deep); text-transform: none; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ''; width: 30px; height: 1px; background: currentColor; display: inline-block; }
.kicker-brass { color: var(--brass-soft); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; }
h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.01em; }
h2 + .lead, h2 + p { margin-top: 22px; }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.7; font-weight: 400; color: var(--ink); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.section-head .kicker { margin-bottom: 14px; }
.section-sub { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 60ch; }

/* ---------- Placeholder styling (not final content) ---------- */
.ph-text { color: var(--muted); font-size: 0.95em; }
.ph-underline { text-decoration: underline dashed rgba(106, 106, 102, 0.55); text-underline-offset: 4px; }
a[data-placeholder] { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-size: 15.5px; font-weight: 500; letter-spacing: 0.02em;
  border-radius: var(--r); transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform; text-align: center; white-space: nowrap;
}
.btn-brass { background: var(--brass); color: #fff; box-shadow: 0 12px 28px -14px rgba(143, 114, 64, 0.8); }
.btn-brass:hover { background: var(--brass-deep); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-deep); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.hero .btn-ghost { border-color: var(--line-on-dark); color: var(--paper); }
.hero .btn-ghost:hover { border-color: var(--brass-soft); color: var(--brass-soft); }
.hero .btn-brass { background: var(--brass); }
.hero .btn-brass:hover { background: var(--brass-soft); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 12px; right: 12px; z-index: 2000;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: var(--r);
  transform: translateY(-200%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 900;
  height: var(--topbar-h);
  border-bottom: 1px solid var(--line-on-dark);
  background: rgba(20, 24, 31, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.topbar-inner { height: 100%; width: min(1240px, calc(100% - 40px)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); }
.brand-mark {
  width: 38px; height: 38px; border: 1px solid var(--brass-soft); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--brass-soft);
}
.brand-text { font-family: var(--serif); font-weight: 500; font-size: 17.5px; letter-spacing: 0.01em; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a {
  font-size: 14.5px; color: rgba(244, 241, 234, 0.78); position: relative; padding: 6px 0; transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--brass-soft); transform: scaleX(0); transform-origin: 100% 0; transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); }
.topbar-cta { display: flex; align-items: center; gap: 16px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-weight: 500; font-size: 15px; direction: ltr; transition: color 0.3s var(--ease); }
.topbar-phone:hover { color: var(--brass-soft); }

/* Burger */
.burger { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-inline-start: auto; padding: 10px; }
.burger span { display: block; height: 1.5px; width: 100%; background: var(--paper); transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mnav {
  position: fixed; inset: 0; z-index: 850; background: var(--deep);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.mnav-inner a { font-family: var(--serif); font-size: 28px; color: var(--paper); opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s; }
.mnav.open .mnav-inner a { opacity: 1; transform: none; }
.mnav-inner a:hover { color: var(--brass-soft); }
.mnav-inner a.mnav-tel { font-family: var(--sans); font-size: 17px; color: var(--brass-soft); direction: ltr; }
.mnav-inner .btn { margin-top: 6px; font-family: var(--sans); font-size: 15px; opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: calc(var(--topbar-h) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 10vw, 120px);
  display: flex; align-items: center;
  background: var(--ink); color: var(--paper); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20%; background:
    radial-gradient(55% 42% at 74% 18%, rgba(169, 136, 78, 0.22), transparent 62%),
    radial-gradient(48% 40% at 18% 82%, rgba(30, 42, 58, 0.9), transparent 65%);
  animation: hero-breathe 16s ease-in-out infinite alternate;
}
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-grain {
  position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero-kicker { color: var(--brass-soft); margin-bottom: 28px; }
.hero-title { font-size: clamp(44px, 7.2vw, 96px); font-weight: 900; line-height: 1.06; letter-spacing: -0.015em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.02em; }
.hero-title .line-in { display: inline-block; will-change: transform; }
.hero-subline {
  font-family: var(--sans); font-size: clamp(16px, 1.9vw, 22px); font-weight: 300; letter-spacing: 0.28em;
  color: rgba(244, 241, 234, 0.6); margin-top: 0.4em;
}
.hero-verse {
  margin-top: clamp(30px, 4.5vw, 54px); font-family: var(--serif); font-weight: 500;
  font-size: clamp(19px, 2.6vw, 27px); color: var(--brass-soft); line-height: 1.6; max-width: 26ch;
}
.verse-src { display: inline-block; font-family: var(--sans); font-size: 0.6em; color: rgba(244, 241, 234, 0.5); margin-inline-start: 10px; letter-spacing: 0.1em; }
.hero-pos { margin-top: 22px; color: rgba(244, 241, 234, 0.78); font-size: clamp(16px, 1.7vw, 19px); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); }
.hero-chips li { font-size: 14px; color: rgba(244, 241, 234, 0.72); display: flex; align-items: center; gap: 9px; }
.hero-chips li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brass-soft); }
.scroll-cue {
  position: absolute; bottom: 26px; right: 50%; transform: translateX(50%); z-index: 2;
  width: 26px; height: 44px; border: 1px solid var(--line-on-dark); border-radius: 20px; display: grid; place-items: start center; padding-top: 8px;
}
.scroll-cue span { width: 3px; height: 9px; border-radius: 3px; background: var(--brass-soft); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- Reveal system ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-reveal-ready] { opacity: 1; transform: none; transition: none; }

/* Split headline (hero lines) */
.js .hero-title .line-in { transform: translateY(112%); transition: transform 1.05s var(--ease-out); }
.js .hero-title.in .line-in { transform: none; }
.js .hero-title .line:nth-child(1) .line-in { transition-delay: 0.1s; }
.js .hero-title .line:nth-child(2) .line-in { transition-delay: 0.22s; }
.js .hero-title .line:nth-child(3) .line-in { transition-delay: 0.34s; }

/* ---------- About ---------- */
.about-rail h2 { font-size: clamp(34px, 4.6vw, 58px); }
.about-body > p { margin-bottom: 20px; color: #33373f; max-width: 62ch; }
.about-body > p:first-of-type { font-size: 19px; color: var(--ink); }
.team-scale { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 40px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.scale-item { display: flex; flex-direction: column; }
.scale-item strong { font-family: var(--serif); font-weight: 900; font-size: 42px; color: var(--brass-deep); line-height: 1; }
.scale-item span { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.partner-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(169, 136, 78, 0.4); }
.partner-photo {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: radial-gradient(120% 140% at 50% 0%, var(--deep-2), var(--deep)); overflow: hidden;
}
.partner-photo::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E"); mix-blend-mode: overlay; opacity: 0.5; }
.partner-photo span {
  position: relative; z-index: 1; font-family: var(--serif); font-weight: 900;
  font-size: clamp(72px, 8vw, 108px); color: var(--brass-soft); line-height: 1;
  text-shadow: 0 0 60px rgba(169, 136, 78, 0.45);
}
.partner-photo em {
  position: absolute; z-index: 1; bottom: 14px; right: 16px; font-style: normal;
  font-size: 12px; letter-spacing: 0.06em; color: rgba(244, 241, 234, 0.5); border: 1px solid var(--line-on-dark); border-radius: 20px; padding: 4px 12px;
}
.partner-photo img.partner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 0; }
.partner-info { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.partner-role { font-size: 13px; font-weight: 500; color: var(--brass-deep); letter-spacing: 0.08em; }
.partner-info h3 { font-size: clamp(21px, 1.9vw, 26px); }
.partner-creds { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; }
.partner-creds li { font-size: 15px; color: #33373f; display: flex; gap: 10px; align-items: baseline; }
.partner-creds li::before { content: '—'; color: var(--brass); }
.partner-bio { font-size: 14.5px; line-height: 1.75; }
.confirm-note { margin-top: 40px; font-size: 13.5px; color: var(--muted); max-width: 70ch; }

/* ---------- Stats ---------- */
.stats { background: var(--paper-2); border-block: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0; }
.stats-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stat .num { font-family: var(--serif); font-weight: 900; font-size: clamp(40px, 4.4vw, 62px); color: var(--brass-deep); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .num-serif { font-size: clamp(30px, 3.4vw, 46px); }
.stat .lbl { font-size: 14px; color: var(--muted); }

/* ---------- Practice list ---------- */
.practice-list { border-top: 1px solid var(--line); }
.practice-item { border-bottom: 1px solid var(--line); }
.practice-item a {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); padding: clamp(20px, 3vw, 30px) 4px;
  transition: padding-inline-start 0.4s var(--ease-out), background-color 0.3s;
}
.practice-item a:hover { padding-inline-start: 18px; background: rgba(169, 136, 78, 0.06); }
.pi-num { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--brass-deep); min-width: 2.2em; }
.pi-body { display: flex; flex-direction: column; gap: 3px; }
.pi-body strong { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.3; }
.pi-body span { font-size: 15px; color: var(--muted); }
.pi-more { margin-inline-start: auto; font-size: 14px; color: var(--brass-deep); opacity: 0; transform: translateX(6px); transition: opacity 0.3s, transform 0.4s var(--ease-out); white-space: nowrap; }
.practice-item a:hover .pi-more { opacity: 1; transform: none; }
html[dir="rtl"] .pi-more { transform: translateX(-6px); }
html[dir="rtl"] .practice-item a:hover .pi-more { transform: none; }

/* ---------- Why ---------- */
.why-rail h2 { font-size: clamp(32px, 4vw, 52px); }
.why-list { display: flex; flex-direction: column; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 4px; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-ico { color: var(--brass); font-size: 12px; margin-top: 8px; }
.why-item h3 { font-size: 21px; margin-bottom: 6px; }
.why-item p { font-size: 15.5px; color: var(--muted); max-width: 58ch; }

/* ---------- Notary (deep navy) ---------- */
.notary { background: var(--deep); color: var(--paper); position: relative; overflow: hidden; padding: clamp(84px, 11vw, 148px) 0; }
.notary::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 88% 12%, rgba(169, 136, 78, 0.14), transparent 60%); pointer-events: none; }
.notary-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.notary-copy h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 24px; }
.notary-copy p { color: rgba(244, 241, 234, 0.8); max-width: 52ch; margin-bottom: 34px; }
.notary-list { display: flex; flex-direction: column; }
.notary-list li {
  display: flex; align-items: center; gap: 20px; padding: 18px 4px;
  border-bottom: 1px solid var(--line-on-dark); font-size: 17px; font-weight: 500;
}
.notary-list li span { font-family: var(--serif); font-weight: 700; color: var(--brass-soft); font-size: 14px; min-width: 2em; }
.notary-list li:first-child { border-top: 1px solid var(--line-on-dark); }

/* ---------- Digital cards ---------- */
.digital-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.d-card { border: 1px solid var(--line); background: var(--paper); padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r); display: flex; flex-direction: column; gap: 10px; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s; }
.d-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(169, 136, 78, 0.4); }
.d-card h3 { font-size: 23px; }
.d-card p { font-size: 15px; color: var(--muted); }
.d-link { margin-top: auto; font-size: 14.5px; font-weight: 500; color: var(--brass-deep); display: inline-flex; align-items: center; gap: 8px; }
.d-link::after { content: '←'; transition: transform 0.3s var(--ease-out); }
.d-link:hover::after { transform: translateX(-5px); }
html[dir="rtl"] .d-link::after { content: '←'; }

/* ---------- Articles ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.a-card { border: 1px solid var(--line); background: var(--paper); padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r); display: flex; flex-direction: column; gap: 10px; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s; }
.a-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(169, 136, 78, 0.4); }
.a-tag { align-self: flex-start; font-size: 12px; letter-spacing: 0.08em; color: var(--brass-deep); border: 1px solid rgba(143, 114, 64, 0.4); border-radius: 20px; padding: 4px 12px; }
.a-card h3 { font-size: 21px; }
.a-card p { font-size: 15px; color: var(--muted); }
.a-card .d-link { margin-top: auto; }

/* ---------- Offices ---------- */
.offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.office-card { border: 1px solid var(--line); background: var(--paper); border-radius: var(--r); overflow: hidden; }
.office-info { padding: clamp(24px, 3vw, 36px); }
.office-info .kicker { margin-bottom: 8px; }
.office-info h3 { font-size: 30px; margin-bottom: 10px; }
.office-info address { font-style: normal; font-size: 17px; color: #33373f; margin-bottom: 14px; }
.o-tel a { font-size: 19px; font-weight: 500; color: var(--brass-deep); direction: ltr; display: inline-block; transition: color 0.3s; }
.o-tel a:hover { color: var(--brass); }
.o-fax { font-size: 15px; color: var(--muted); direction: ltr; display: inline-block; margin-top: 2px; }
.o-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.map { border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 280px; border: 0; }

/* ---------- Contact ---------- */
.contact-grid { align-items: start; }
.contact-copy .lead { margin-bottom: 30px; max-width: 44ch; }
.c-block { margin-bottom: 26px; }
.c-label { font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 8px; }
.c-big { display: block; font-size: 24px; font-weight: 500; color: var(--ink); direction: ltr; text-align: right; line-height: 1.5; transition: color 0.3s; }
.c-big:hover { color: var(--brass-deep); }
.c-fax { font-size: 20px; color: var(--muted); }
.socials { display: flex; gap: 12px; }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out); }
.socials a:hover { color: var(--brass-deep); border-color: var(--brass); transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item[open] { border-color: rgba(169, 136, 78, 0.55); box-shadow: var(--shadow); }
.faq-question { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.5; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 24px; font-weight: 500; color: var(--brass); line-height: 1; transition: transform 0.35s var(--ease-out); flex-shrink: 0; }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: #33373f; line-height: 1.75; font-size: 16px; }
.faq-answer p { margin: 0; }

/* Form */
.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 20px; }
.f-field { display: flex; flex-direction: column; gap: 8px; }
.f-field label { font-size: 14px; font-weight: 500; }
.f-field input, .f-field select, .f-field textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid rgba(20, 24, 31, 0.18);
  border-radius: var(--r); padding: 13px 16px; transition: border-color 0.3s, box-shadow 0.3s; width: 100%;
}
.f-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314181F' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-inline-start: 14px; }
.f-field textarea { resize: vertical; min-height: 110px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169, 136, 78, 0.18); }
.f-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.6; }
.f-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brass); flex-shrink: 0; }
.hp { position: absolute; top: -9999px; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.f-status { font-size: 15px; min-height: 22px; }
.f-status.err { color: #B3261E; }
.f-status.ok { color: #1B6B3B; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(244, 241, 234, 0.72); padding: clamp(56px, 8vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; border-bottom: 1px solid var(--line-on-dark); }
.f-name { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--paper); margin-bottom: 12px; }
.f-brand p { font-size: 15px; line-height: 1.8; max-width: 34ch; }
.f-notary { margin-top: 14px; color: var(--brass-soft); font-size: 13.5px; }
.f-head { font-size: 13px; letter-spacing: 0.12em; color: var(--brass-soft); margin-bottom: 16px; }
.f-nav, .f-contact, .f-legal { display: flex; flex-direction: column; gap: 9px; }
.f-nav a, .f-legal a { font-size: 15px; color: rgba(244, 241, 234, 0.72); transition: color 0.3s; width: fit-content; }
.f-nav a:hover, .f-legal a:hover { color: var(--brass-soft); }
.f-contact a { font-size: 15px; color: rgba(244, 241, 234, 0.9); direction: ltr; text-align: right; width: fit-content; transition: color 0.3s; }
.f-contact a:hover { color: var(--brass-soft); }
.f-contact p { font-size: 15px; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px; font-size: 13.5px; color: rgba(244, 241, 234, 0.5); }

/* ---------- Mobile call bar ---------- */
.mobcall {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 800;
  display: none; align-items: center; justify-content: center; gap: 12px;
  background: var(--brass); color: #fff; font-weight: 500; font-size: 16.5px;
  padding: 16px 20px; padding-bottom: calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(20, 24, 31, 0.2);
}

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 1500; pointer-events: none; width: 0; height: 0; }
  .cursor span {
    position: absolute; top: -3px; left: -3px; width: 6px; height: 6px; border-radius: 50%;
    background: var(--brass); transition: transform 0.3s var(--ease-out), opacity 0.3s, background-color 0.3s;
  }
  .cursor::after {
    content: ''; position: absolute; top: -24px; left: -24px; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(169, 136, 78, 0.5); opacity: 0; transform: scale(0.4); transition: transform 0.4s var(--ease-out), opacity 0.4s;
  }
  .cursor.on-link span { transform: scale(2.6); background: transparent; border: 1.5px solid var(--brass); }
  .cursor.on-link::after { opacity: 1; transform: scale(1); }
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow, .scroll-cue span { animation: none !important; }
  .js .reveal, .js .hero-title .line-in, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cursor { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .topbar-cta .btn { display: none; }
  .topbar-phone { display: none; }
  .burger { display: flex; }
  .partners-grid { grid-template-columns: 1fr; max-width: 560px; }
  .digital-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { padding-bottom: 66px; }
  .mobcall { display: flex; }
  .grid-2, .notary-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-scale { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
  .offices-grid, .digital-grid, .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .f-bottom { flex-direction: column; }
  .brand-text { font-size: 15px; }
  .hero-title { font-size: clamp(40px, 11.5vw, 60px); }
  .scroll-cue { display: none; }
  .hero-cta .btn { width: 100%; }
}
@media (max-width: 520px) {
  .container { width: min(1180px, calc(100% - 32px)); }
  .partner-photo span { font-size: 80px; }
}

/* ============================================================
   Accessibility widget — נגישות לפי חוק שוויון זכויות ות״י 5568
   ============================================================ */
.acc-btn {
  position: fixed; bottom: 22px; left: 18px; z-index: 1200;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 18px; border: 1px solid rgba(244, 241, 234, 0.16); border-radius: 999px;
  background: rgba(20, 24, 31, 0.95); color: var(--paper);
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 14px 36px rgba(20, 24, 31, 0.3); cursor: pointer;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}
.acc-btn:hover { border-color: var(--brass); transform: translateY(-2px); }
.acc-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
html.has-cursor .acc-btn { cursor: none; }
html.has-cursor .acc-btn:hover { transform: none; }

.acc-panel {
  position: fixed; bottom: 92px; left: 18px; z-index: 1201;
  width: 308px; max-width: calc(100vw - 36px);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 40px 90px -30px rgba(20, 24, 31, 0.45);
  padding: 20px; text-align: right;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.acc-panel.open { opacity: 1; visibility: visible; transform: none; }

.acc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.acc-title { font-family: var(--serif); font-size: 19px; font-weight: 800; color: var(--ink); }
.acc-close {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; transition: background 0.25s, color 0.25s;
}
.acc-close:hover { background: rgba(20, 24, 31, 0.08); color: var(--ink); }

.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-tool {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 13px 8px; border: 1px solid var(--line); border-radius: calc(var(--r) * 2);
  background: #fff; color: var(--ink); font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  cursor: pointer; transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.acc-tool svg { width: 22px; height: 22px; color: var(--brass-deep); transition: color 0.25s; }
.acc-tool:hover { border-color: var(--brass); }
.acc-tool.on { border-color: var(--brass); background: rgba(169, 136, 78, 0.16); color: var(--brass-deep); }
.acc-tool.on svg { color: var(--brass-deep); }

.acc-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px;
}
.acc-reset { color: var(--brass-deep); font-weight: 700; font-family: var(--sans); cursor: pointer; }
.acc-reset:hover { text-decoration: underline; }
.acc-foot a { color: var(--muted); text-decoration: underline; }
.acc-foot a:hover { color: var(--brass-deep); }

@media (max-width: 768px) {
  .acc-btn { bottom: 80px; left: 12px; }
  .acc-panel { bottom: 146px; left: 12px; }
}

@media print {
  .acc-btn, .acc-panel, .mobcall, .cursor { display: none !important; }
}

/* ---------- Widget: state styles ---------- */
html[data-acc-text="lg"] { zoom: 1.12; }
html[data-acc-text="sm"] { zoom: 0.92; }

html[data-acc-contrast="1"] { background: #000 !important; }
html[data-acc-contrast="1"] body { background: #000 !important; color: #fff !important; }
html[data-acc-contrast="1"] * {
  background: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
html[data-acc-contrast="1"] :is(a, .btn, .d-link) { color: #ffd700 !important; }
html[data-acc-contrast="1"] :is(input, select, textarea) { background: #000 !important; color: #fff !important; }
html[data-acc-contrast="1"] img, html[data-acc-contrast="1"] iframe { filter: none !important; }

html[data-acc-mono="1"] { filter: grayscale(1); }

html[data-acc-cursor="1"] .cursor span { width: 16px; height: 16px; top: -8px; left: -8px; }
html[data-acc-cursor="1"] .cursor::after { width: 56px; height: 56px; top: -28px; left: -28px; }

html[data-acc-links="1"] a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

html[data-acc-spacing="1"] * {
  letter-spacing: 0.06em !important;
  word-spacing: 0.18em !important;
  line-height: 1.8 !important;
}

html[data-acc-motion="1"], html[data-acc-motion="1"] body { scroll-behavior: auto !important; }
html[data-acc-motion="1"] *, html[data-acc-motion="1"] *::before, html[data-acc-motion="1"] *::after {
  animation: none !important;
  transition: none !important;
}

/* ============================================================
   Accessibility declaration page (accessibility.html)
   ============================================================ */
.decl { background: var(--paper); }
.decl-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep); color: var(--paper);
  border-bottom: 1px solid var(--line-on-dark);
}
.decl-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; }
.decl-bar .brand-text { color: var(--paper); }
.decl-bar .btn { color: var(--paper); }
.decl-main { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }
.decl-main .kicker { margin-bottom: 12px; }
.decl-main h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 900; letter-spacing: -0.01em; }
.decl-updated { margin-top: 14px; color: var(--muted); font-size: 15px; }
.decl-prose { max-width: 760px; margin-top: 34px; }
.decl-section { margin-top: 30px; }
.decl-section h2 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin-bottom: 12px; }
.decl-section h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.decl-section p, .decl-section li { font-size: 16px; line-height: 1.85; color: #33373f; }
.decl-section li { list-style: disc; margin-inline-start: 1.25em; margin-bottom: 6px; }
.decl-note { margin-top: 30px; padding: 16px 18px; border: 1px solid rgba(143, 114, 64, 0.45); border-radius: var(--r); background: rgba(169, 136, 78, 0.1); font-size: 15px; line-height: 1.8; color: #33373f; }
.decl-foot { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }



/* hero signature: gold motes + swaying scales of justice */
.hero-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;}
.hero-inner{position:relative;z-index:1;}


/* brand emblem (scales of justice) */
.brand-mark svg{width:22px;height:22px;display:block}


/* ═══ luxury polish pass ═══ */
.scroll-progress{position:fixed;top:0;inset-inline-start:0;height:3px;width:0;z-index:9999;background:linear-gradient(90deg,var(--brass-deep),var(--brass-soft));box-shadow:0 0 10px rgba(169,136,78,.5);will-change:width}
@media (prefers-reduced-motion: no-preference){
  .stat .num{background:linear-gradient(100deg,var(--brass-deep) 22%,var(--brass-soft) 46%,#F0DFA8 50%,var(--brass-soft) 54%,var(--brass-deep) 78%);background-size:220% auto;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:numShine 5.5s ease-in-out infinite}
  @keyframes numShine{0%,100%{background-position:0% center}50%{background-position:-110% center}}
  .btn-brass::after{content:"";position:absolute;top:0;inset-inline-start:-60%;width:42%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);transform:skewX(-18deg);pointer-events:none}
  .btn-brass:hover::after{animation:btnShine .85s ease}
  @keyframes btnShine{to{inset-inline-start:120%}}
}
.btn-brass{position:relative;overflow:hidden}


/* founder portrait (about) */
.founder-figure{margin-top:28px;position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--brass);box-shadow:0 24px 60px -30px rgba(20,24,31,.45)}
.founder-figure img{display:block;width:100%;height:auto;aspect-ratio:220/149;object-fit:cover}
.founder-figure figcaption{position:absolute;inset-inline:0;bottom:0;padding:16px;font-family:var(--serif);font-size:14.5px;color:#fff;background:linear-gradient(to top,rgba(20,24,31,.88),transparent)}


/* ═══ office gallery ═══ */
.office-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:10px}
.office-gallery figure{position:relative;margin:0;aspect-ratio:3/2;border-radius:14px;overflow:hidden;border:1px solid var(--line);box-shadow:0 20px 50px -30px rgba(20,24,31,.4)}
.office-gallery .og-feature{grid-column:1 / -1;aspect-ratio:16/9}
.office-gallery img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s cubic-bezier(.22,1,.36,1)}
.office-gallery .og-feature img{object-position:center top}
.office-gallery figure:hover img{transform:scale(1.05)}
.office-gallery figcaption{position:absolute;inset-inline:0;bottom:0;z-index:1;padding:14px 16px;font-family:var(--serif);font-size:14px;color:#fff;background:linear-gradient(to top,rgba(20,24,31,.85),transparent);opacity:0;transform:translateY(8px);transition:opacity .35s,transform .35s}
.office-gallery figure:hover figcaption{opacity:1;transform:none}
@media(max-width:760px){.office-gallery{grid-template-columns:1fr}.office-gallery .og-feature{aspect-ratio:4/3}.office-gallery figcaption{opacity:1;transform:none}}


/* ═══ services page + article extras ═══ */
.svc-note{margin-top:36px;padding-top:26px;border-top:1px solid var(--line)}
.svc-note p{margin:0 0 18px;max-width:72ch;line-height:1.8}
.svc-cta{display:flex;flex-wrap:wrap;gap:12px}
.art-cta{margin-top:32px;padding:24px 26px;border:1px solid var(--line);border-radius:16px;text-align:center;background:rgba(0,0,0,.02)}
.art-cta p{margin:0 0 14px;font-family:var(--serif);font-size:18px}
.art-related{margin-top:30px;border-top:1px solid var(--line);padding-top:20px}
.art-related-h{font-family:var(--serif);font-size:14px;letter-spacing:.02em;margin:0 0 10px;opacity:.7}
.art-related a{display:block;padding:8px 0;border-bottom:1px solid var(--line)}
.art-related a:last-child{border-bottom:0}
