/* ---------- Fonts: Adobe Fonts (Typekit kit hqs1fwq) ----------
   Licensed under the firm's Adobe subscription. Must stay the first rule in the file —
   @import is ignored if anything but @charset precedes it.

   Discordia covers Latin only (no Hebrew glyphs at all), so Greycliff Hebrew CF carries
   all Hebrew. Per-glyph fallback splits the two automatically — no lang tagging needed.
   Adobe also ships Discordia's bold as a separate family, hence the .is-bold-face mapping
   further down; without it the browser fakes bold on Latin. */
@import url("https://use.typekit.net/hqs1fwq.css");

/* ---------- Fonts: Discordia by Naipe Foundry (self-hosted, logo only) ----------
   The original cut, which unlike Adobe's carries Hebrew (27 glyphs). Used for the
   wordmark lockups only — everything else stays on the Adobe kit.
   The family name must NOT be "Discordia": CSS family matching is case-insensitive,
   so it would collide with the kit's "discordia". */
@font-face { font-family: "Discordia Naipe"; src: url("../fonts/DiscordiaTrial-Regular.woff2") format("woff2"); font-weight: 100 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Discordia Naipe"; src: url("../fonts/DiscordiaTrial-Bold.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }

/* =========================================================
   לנקרי קרמר · עורכי דין — Design System
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  /* Palette — warm ivory + deep ink + restrained brass */
  --ink:        #152738;
  --ink-2:      #1f3447;
  --ink-3:      #2a455e;
  /* deep shadow tone for the top-down gradient (same hue as --ink) */
  --ink-deep:   #0a1523;
  /* Top-down "shadow" ramp: distinctly dark under the navbar, easing into --ink */
  --ink-ramp: linear-gradient(to bottom,
    var(--ink-deep) 0,
    /* absolute hold ≥ navbar height (86px) so the bar is always fully in the dark band */
    var(--ink-deep) 100px,
    #0c1827 20%,
    #0f1d2c 32%,
    #112131 45%,
    #142536 58%,
    var(--ink) 70%);
  --paper:      #faf8f3;
  --paper-2:    #f2efe7;
  --white:      #ffffff;
  --line:       #e3ddd1;
  --line-dark:  rgba(255,255,255,0.12);
  --text:       #161a1f;
  --text-soft:  #5d5c55;
  --text-mute:  #8a877d;
  --brass:      #a9874e;
  --brass-2:    #c2a567;
  --brass-soft: rgba(169,135,78,0.10);

  /* Type — Latin falls to Discordia, Hebrew through to Greycliff (see @import note) */
  --serif: "discordia", "greycliff-hebrew-cf", 'Heebo', serif;
  --sans:  "discordia", "greycliff-hebrew-cf", 'Heebo', system-ui, sans-serif;
  /* Same stacks, but with Discordia's separate bold family in front */
  --serif-bold: "discordia-bold", "greycliff-hebrew-cf", 'Heebo', serif;
  --sans-bold:  "discordia-bold", "greycliff-hebrew-cf", 'Heebo', system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--brass); color: #fff; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #cdc6b6; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brass); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
.h-display { font-size: clamp(40px, 7vw, 88px); font-weight: 800; line-height: 1.04; }
h2 { font-size: clamp(30px, 4.4vw, 54px); }
h3 { font-size: clamp(20px, 2.4vw, 27px); }
p { color: var(--text-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--brass);
  display: inline-block;
}

.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.7; color: var(--text-soft); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section-sm { padding-block: clamp(56px, 8vw, 100px); }
/* desktop: sections sit tight around their own content (same treatment as .values-row) */
@media (min-width: 761px) {
  .section { padding-block: clamp(44px, 5vw, 72px); }
  .section-sm { padding-block: clamp(32px, 4vw, 52px); }
}
.center { text-align: center; }
.muted { color: var(--text-mute); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  color: var(--fg);
  padding: 16px 30px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), color .4s var(--ease);
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--brass);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: 0;
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: #fff; }

.btn-light { --bg: #fff; --fg: var(--ink); border: 1px solid var(--line); }
.btn-outline { --bg: transparent; --fg: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-outline:hover { color: #fff; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.link-arrow .ar {
  display: inline-block;
  transition: transform .35s var(--ease);
  color: var(--brass);
  font-size: 18px;
}
.link-arrow:hover .ar { transform: translateX(-6px); }
.on-dark .link-arrow, .link-arrow.on-dark { color: #fff; }

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--ink);
  display: grid; place-items: center;
  transition: transform 1s var(--ease) .2s;
}
.preloader.done { transform: translateY(-100%); }
.pre-brand {
  display: flex; flex-direction: column; align-items: center; line-height: 1.05;
  border: 3px double rgba(233,210,154,0.7);
  border-radius: 3px;
  padding: 22px 36px 19px;
  opacity: 0;
  animation: preIn .9s var(--ease) forwards;
}
.pre-brand .pre-name {
  font-family: var(--serif);
  color: #fff; font-size: clamp(34px, 7vw, 56px); font-weight: 800; letter-spacing: -0.01em;
}
.pre-brand .pre-name .pre-sep { color: var(--brass-2); font-weight: 300; margin: 0 0.25em; }
.pre-brand .pre-sub {
  font-family: var(--sans);
  font-size: clamp(11px, 1.4vw, 13px); font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}
@keyframes preIn { to { opacity: 1; } }

/* =========================================================
   Header / Nav
   ========================================================= */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 1000;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.solid {
  background: rgba(250,248,243,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  height: 86px;
  transition: height .4s var(--ease);
}
.header.solid .nav { height: 70px; }

.brand {
  /* --brand-tx carries the horizontal half of the transform so the mobile centring
     survives the .hero-home show/hide rules, which replace transform wholesale. */
  --brand-tx: 0px;
  display: flex; flex-direction: column; align-items: center; line-height: 1.05;
  position: absolute; inset-inline-start: 0; top: 50%;
  transform: translate(var(--brand-tx), -50%);
  border: 3px double rgba(233,210,154,0.7);
  border-radius: 2px;
  padding: 9px 18px 8px;
  transition: padding .4s var(--ease), border-color .5s var(--ease);
}
.header.solid .brand { padding: 7px 15px 6px; border-color: rgba(169,135,78,0.78); }

/* Home page: the wordmark is the hero, so the header keeps its slot empty until the hero
   logo has scrolled past — then it fades in as the running mark. main.js sets .brand-on.
   Every transform here must keep both axes: -50% does the vertical centring, and
   --brand-tx the horizontal (0 on desktop, 50% when the mobile rule centres the box). */
.hero-home .header .brand {
  opacity: 0; visibility: hidden;
  transform: translate(var(--brand-tx), calc(-50% - 9px));
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s,
              padding .4s var(--ease), border-color .5s var(--ease);
}
.hero-home .header.brand-on .brand {
  opacity: 1; visibility: visible;
  transform: translate(var(--brand-tx), -50%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-home .header .brand { transition: opacity .01ms, visibility .01ms; transform: translate(var(--brand-tx), -50%); }
}
.brand .b-name {
  font-family: var(--serif);
  font-weight: 800; font-size: 23px;
  color: #fff; letter-spacing: -0.01em;
  transition: color .5s var(--ease);
}
.brand .b-sub {
  font-family: var(--sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
  transition: color .5s var(--ease);
}
.header.solid .brand .b-name { color: var(--ink); }
.header.solid .brand .b-sub { color: var(--text-mute); }
.brand .b-name .b-sep { color: var(--brass-2); font-weight: 300; margin: 0 0.3em; }

.nav-links { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 46px); }
.nav-links a {
  font-size: 16.5px; font-weight: 500;
  color: rgba(255,255,255,0.82);
  position: relative; padding-block: 6px;
  transition: color .35s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; bottom: 0; right: 0;
  width: 0; height: 1.5px; background: var(--brass);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; }
.header.solid .nav-links a { color: var(--text-soft); }
.header.solid .nav-links a:hover,
.header.solid .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { margin-inline-start: 8px; padding: 12px 24px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.header.solid .nav-cta { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Burger */
.burger { display: none; width: 44px; height: 44px; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); }
.burger span {
  position: absolute; right: 9px; width: 26px; height: 1.6px;
  background: #fff; transition: .35s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.header.solid .burger span { background: var(--ink); }
.burger.active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.burger.active span { background: #fff !important; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gut);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
  visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer a {
  font-family: var(--sans);
  font-size: clamp(30px, 9vw, 48px);
  color: #fff; font-weight: 700;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer a .num { font-family: var(--sans); font-size: 13px; color: var(--brass); font-weight: 600; }
.drawer-foot { margin-top: 40px; color: rgba(255,255,255,0.6); font-size: 14px; }
.drawer-foot a { font-family: var(--sans); font-size: 15px; border: none; padding: 4px 0; color: var(--brass-2); display: inline; }

/* =========================================================
   Hero (home)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink-ramp);
  display: flex; align-items: center;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    /* brass glow sits below the navbar band so the top stays cleanly dark */
    radial-gradient(110% 75% at 75% 40%, rgba(169,135,78,0.13) 0%, transparent 58%),
    /* only settle the lower edge; the top-down ramp on .hero owns the top */
    linear-gradient(to top, var(--ink) 4%, transparent 38%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 3; width: 100%;
  padding-block: clamp(112px, 14vh, 170px) clamp(70px, 9vh, 110px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.hero .eyebrow { color: var(--brass-2); margin-bottom: 26px; }

/* Hero partner figures */
.hero-figures { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.lawyer-card {
  position: relative; display: block; overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(165deg, #eceae5 0%, #d8d6d0 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 26px 60px rgba(0,0,0,0.45);
}
.hero-figures .lawyer-card:nth-child(2) { transform: translateY(34px); }
.lawyer-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 1s var(--ease); }
.lawyer-card:hover img { transform: scale(1.04); }

.lc-name {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 30px 18px 16px;
  background: linear-gradient(to top, rgba(10,14,19,0.92), rgba(10,14,19,0.0));
  color: #fff; transition: opacity .4s var(--ease);
}
.lc-name strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.lc-name span { font-size: 12px; color: var(--brass-2); font-weight: 500; }

.lc-overlay {
  position: absolute; inset: 0; z-index: 3;
  padding: clamp(20px, 2.2vw, 30px);
  display: flex; flex-direction: column; justify-content: center;
  background: rgba(249,247,243,0.85);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  color: var(--ink);
  opacity: 0; transition: opacity .5s var(--ease);
}
.lawyer-card:hover .lc-overlay { opacity: 1; }
.lawyer-card:hover .lc-name { opacity: 0; }
.lc-overlay h3 { font-size: clamp(18px, 1.5vw, 23px); margin-bottom: 4px; transform: translateY(12px); transition: transform .55s var(--ease); }
.lc-overlay .lc-role { color: var(--brass); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; margin-bottom: 14px; display: block; transform: translateY(12px); transition: transform .55s .04s var(--ease); }
.lc-overlay p { font-size: 13.5px; line-height: 1.65; color: var(--text-soft); transform: translateY(12px); transition: transform .55s .08s var(--ease); }
.lc-overlay .lc-link { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--brass); transform: translateY(12px); transition: transform .55s .12s var(--ease), color .3s; }
.lawyer-card:hover .lc-overlay h3,
.lawyer-card:hover .lc-overlay .lc-role,
.lawyer-card:hover .lc-overlay p,
.lawyer-card:hover .lc-overlay .lc-link { transform: translateY(0); }
.hero .eyebrow::before { background: var(--brass-2); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 .em { color: var(--brass-2); font-style: italic; }
.hero-sub { color: rgba(255,255,255,0.72); max-width: 56ch; margin-top: 28px; font-size: clamp(17px, 2vw, 21px); }
.hero-cta { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }

/* line reveal */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(110%); }
.ready .hero h1 .reveal-line > span { animation: lineUp 1s var(--ease) forwards; }
.ready .hero h1 .reveal-line:nth-child(2) > span { animation-delay: .12s; }
.ready .hero h1 .reveal-line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-fade { opacity: 0; transform: translateY(24px); }
.ready .hero-fade { animation: heroFade 1s var(--ease) forwards; }
.ready .hero .eyebrow.hero-fade { animation-delay: .1s; }
.ready .hero .hero-sub { animation-delay: .5s; }
.ready .hero .hero-cta { animation-delay: .65s; }
@keyframes heroFade { to { opacity: 1; transform: translateY(0); } }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.45); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll .ln { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0.5), transparent); position: relative; overflow: hidden; }
.hero-scroll .ln::after { content:""; position:absolute; top:-50%; left:0; width:100%; height:50%; background: var(--brass-2); animation: scrollDot 2.2s var(--ease-2) infinite; }
@keyframes scrollDot { 0%{top:-50%} 60%,100%{top:120%} }

/* =========================================================
   Hero — Portico variant (figures flank centered statement)
   ========================================================= */
.hero-portico { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; }
.hero.hero-portico { min-height: 100svh; }   /* keep full height at all widths (overrides the tablet min-height:auto) */
/* No photo — a diagonal ink ramp with a soft top highlight, built from the same
   navy tokens the header/footer use, so the hero reads as one material rather
   than a picture with a tint over it. */
.hero.hero-portico {
  background:
    radial-gradient(130% 65% at 50% 0%, rgba(42,69,94,0.5) 0%, transparent 60%),
    linear-gradient(165deg, var(--ink-deep) 0%, var(--ink) 42%, var(--ink-2) 76%, var(--ink-deep) 100%);
}
/* Ambient hero video. It sits at z-index 0 — above the section's navy gradient but
   below .hero-glow (1) and the .hero::before scrim (2), so both already sit on top
   of it. The file itself is encoded greyscale, so no filter work is needed at
   runtime; opacity alone keeps it as texture rather than a picture. */
.hero-portico .hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
  opacity: 0.32;
  pointer-events: none;
}
/* Motion in the background is exactly what this setting is about. */
@media (prefers-reduced-motion: reduce) {
  .hero-portico .hero-video { display: none; }
}

.hero-portico .hero-glow {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(46% 42% at 50% 40%, rgba(169,135,78,0.22) 0%, transparent 62%),
    radial-gradient(90% 70% at 50% 118%, rgba(27,108,168,0.12) 0%, transparent 60%);
  animation: glowPulse 9s ease-in-out infinite alternate;
}
@keyframes glowPulse { from { opacity: .75; } to { opacity: 1; } }

.hero-figure { position: absolute; bottom: 0; z-index: 2; display: flex; align-items: flex-end; pointer-events: auto; cursor: pointer; }
.hero-figure img { width: auto; display: block; }
.fig-oded { left: 0; transform: translateX(-10vh); }
.fig-oded img {
  height: 82vh; max-height: 860px;
  filter: grayscale(1) contrast(1.02) brightness(1.12);
  transition: filter .7s var(--ease);
  -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 18%);
  mask-image: linear-gradient(to top, transparent 2%, #000 18%);
}
.fig-matan { right: 0; bottom: 0; }
.fig-matan img {
  height: 82vh; max-height: 860px;
  filter: grayscale(1) contrast(1.02) brightness(1.1);
  transition: filter .7s var(--ease);
  -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 18%);
  mask-image: linear-gradient(to top, transparent 2%, #000 18%);
}
/* Hover: figure turns to full, natural color — lifted above the center scrim so no dark tint remains */
.hero-figure { transition: z-index 0s; }
.hero-figure:hover { z-index: 6; }
.hero-figure:hover img { filter: grayscale(0) contrast(1); opacity: 1 !important; }

.hero-portico-center {
  position: relative; z-index: 5;
  width: min(100%, 1040px); margin-inline: auto; padding-inline: 24px;
  padding-top: clamp(140px, 21vh, 280px);   /* start lower — around the marked line */
  pointer-events: none;   /* don't block hover/clicks on the figures behind */
}
/* re-enable interaction only on the actual controls */
.hero-portico-center .btn { pointer-events: auto; }
.hero-portico-center::before {
  content: ""; position: absolute; inset: -95% -75%; z-index: -1;
  background: radial-gradient(closest-side, rgba(21,39,56,0.96) 0%, rgba(21,39,56,0.78) 46%, transparent 80%);
}
.hero-portico .eyebrow { display: inline-flex; color: var(--brass-2); margin-bottom: 24px; }
.hero-portico .eyebrow::before { background: var(--brass-2); }

/* Centered hero logo — carries the hero on its own, framed like the header lockup.
   Selector carries .hero h1 to outrank its max-width:16ch cap, so the frame hugs the
   wordmark rather than the heading measure. Overrides below must match this weight. */
.hero h1.hero-logo {
  display: inline-flex; flex-direction: column; align-items: center;
  position: relative;   /* anchors the inner hairline; otherwise it lands on .hero-portico-center */
  width: max-content; max-width: none;
  /* Tightened so the sub + CTA sit close under the mark. The sub's own 26px top
     margin and the CTA's 38px stay untouched, so the two move up as a pair. */
  margin-bottom: clamp(10px, 1.6vh, 20px);
  /* Frame 02: double rule. border-style:double splits the width 1:1:1, so 4px
     gives two ~1.3px rules with a gap of the same — reads crisply at hero scale. */
  border: 4px double rgba(233,210,154,0.7);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 34px) clamp(30px, 5vw, 62px) clamp(17px, 2.6vw, 29px);
}
.hero-logo .hl-name { font-family: var(--sans); font-weight: 800; color: #fff; font-size: clamp(40px, 6.2vw, 84px); letter-spacing: -0.005em; line-height: 1.05; white-space: nowrap; }
.hero-logo .hl-sep { color: var(--brass-2); font-weight: 300; margin: 0 0.3em; }
.hero-logo .hl-sub { font-family: var(--sans); font-weight: 500; color: rgba(255,255,255,0.74); font-size: clamp(13px, 1.5vw, 19px); letter-spacing: 0.4em; margin-top: clamp(10px, 1.4vw, 16px); padding-inline-start: 0.4em; }
.ready .hero-portico h1.hero-fade { animation-delay: .28s; }
/* Runs wider than the logo frame above it (which lands ~620px on desktop), so the
   line reads as a statement rather than a caption tucked under the mark. */
.hero-portico .hero-sub {
  color: rgba(255,255,255,0.92);
  max-width: 52ch;
  margin: 26px auto 0;
  font-size: clamp(20px, 2.15vw, 27px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}
/* Same gold as the logo frame, at full opacity so it holds against the video */
.hero-portico .hero-sub .g { color: #e9d29a; }
.hero-portico .hero-cta { flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin-top: 38px; }
.btn-wa { gap: 9px; }
.btn-wa svg { position: relative; z-index: 1; width: 20px; height: 20px; fill: currentColor; display: block; }

.fig-tag { position: absolute; bottom: 34px; z-index: 6; display: flex; flex-direction: column; line-height: 1.25; transition: transform .35s var(--ease); }
.fig-tag .nm { color: #fff; font-weight: 700; font-size: 15px; }
.fig-tag .rl { color: var(--brass-2); font-size: 11px; letter-spacing: .14em; }
.tag-oded { left: 4vw; text-align: left; }
.tag-matan { right: 4vw; text-align: right; }
.fig-tag:hover { transform: translateY(-3px); }
.fig-tag:hover .nm { color: var(--brass-2); }

/* Portico responsive (placed after base rules so overrides win) */
@media (max-width: 1100px) {
  .fig-oded img { height: 64vh; opacity: .5; }
  .fig-matan img { height: 64vh; opacity: .5; }
  .hero-portico-center::before { inset: -90% -70%; }
  .fig-tag { bottom: 20px; }
}
@media (max-width: 760px) {
  /* Full height again, but centered rather than pinned near the top — with no
     figures left to fill the frame, flex-start read as a small huddle of content
     stranded at the top of a tall empty section. Centering plus larger type
     makes the same content actually carry the full-height section. */
  .hero.hero-portico { min-height: 90svh; }
  .hero-portico { justify-content: center; }
  .hero-portico-center { padding-top: 0; }
  .fig-tag { display: none; }
  /* The wordmark is nowrap, so it has to be sized off the viewport to stay on one line */
  .hero h1.hero-logo { padding: 20px 24px 17px; }
  .hero-logo .hl-name { font-size: clamp(30px, 10vw, 44px); }
  .hero-logo .hl-sub { font-size: clamp(11px, 3vw, 13px); letter-spacing: 0.32em; margin-top: 10px; }
  .hero-portico .hero-sub { font-size: clamp(19px, 5.2vw, 27px); margin-top: 32px; }
  .hero-portico .hero-cta { margin-top: 44px; }

  /* ---- Mobile hero figures: full colour, fully opaque, never overlapping ----
     Measured from the PNG alpha channels (both canvases are 893px tall):
       Oded  canvas 900w, body x 154..744  -> body spans 0.1724H..0.8331H
       Matan canvas 640w, body x  36..582  -> body spans 0.0403H..0.6517H
     With height H=85vw and the offsets below, the bodies land at
       Oded  -6.0vw .. 50.2vw     Matan  54.0vw .. 106.0vw
     i.e. a ~3.8vw gap between them, each bleeding ~6vw past its own edge. */
  .hero-figure { display: flex; }
  .fig-oded  { left: 0;  transform: translateX(-20.6vw); }
  .fig-matan { right: 0; transform: translateX(11.5vw); }
  .fig-oded img,
  .fig-matan img {
    height: 85vw; max-height: none;
    filter: none;
    opacity: 1;
  }
  /* no hover state on touch: the resting look is already the final look */
  .hero-figure:hover { z-index: 2; }
  .hero-figure:hover img {
    filter: none;
    opacity: 1 !important;
  }

  /* ---- Mobile logo: smaller, centred in the bar ----
     inset-inline-start:50% anchors the box by its right edge (RTL), so it extends
     leftward from there — translateX(+50%) is what re-centres it. That shift goes
     through --brand-tx rather than a transform of its own, because the .hero-home
     rules replace transform wholesale and would otherwise drop it. */
  .brand {
    --brand-tx: 50%;
    inset-inline-start: 50%;
    padding: 6px 14px 5px;
  }
  .header.solid .brand { padding: 5px 12px 4px; }
  .brand .b-name { font-size: 17px; }
  .brand .b-sub { font-size: 8.5px; letter-spacing: 0.28em; margin-top: 3px; }
}

/* =========================================================
   Inner page header
   ========================================================= */
.page-head {
  background: var(--ink);
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(60px, 9vw, 110px);
  position: relative; overflow: hidden;
}
.page-head::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(100% 120% at 80% 0%, rgba(169,135,78,0.16), transparent 55%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .eyebrow { color: var(--brass-2); margin-bottom: 22px; }
.page-head .eyebrow::before { background: var(--brass-2); }
.page-head h1 { color: #fff; font-size: clamp(38px, 6vw, 76px); font-weight: 800; }
.page-head p { color: rgba(255,255,255,0.7); max-width: 60ch; margin-top: 22px; font-size: clamp(17px,1.8vw,20px); }
.crumb { color: rgba(255,255,255,0.45); font-size: 13px; margin-bottom: 26px; letter-spacing: .04em; }
.crumb a:hover { color: var(--brass-2); }

/* =========================================================
   Manifesto / intro statement
   ========================================================= */
.manifesto .big {
  font-family: var(--sans);
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  max-width: 22ch;
}
.manifesto .big b { color: var(--brass); font-weight: 700; }
.manifesto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.manifesto-grid .col-r p + p { margin-top: 20px; }
.manifesto-grid .col-r .link-arrow { margin-top: 28px; }

/* =========================================================
   Credentials strip
   ========================================================= */
.creds { background: var(--ink); color: #fff; }
.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred {
  padding: clamp(36px, 5vw, 60px) clamp(20px, 3vw, 40px);
  border-inline-start: 1px solid var(--line-dark);
}
.cred:first-child { border-inline-start: none; }
.cred .k { font-family: var(--sans); font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--brass-2); line-height: 1; margin-bottom: 14px; }
.cred .v { color: rgba(255,255,255,0.72); font-size: 14.5px; line-height: 1.5; }

/* ===== Values row (4 principles + subtitles) ===== */
.values-row { background: var(--paper); }
/* desktop: sit tight around the content instead of the full section rhythm */
@media (min-width: 761px) {
  .values-row { padding-block: clamp(40px, 4.5vw, 64px); }
  .vr-item { padding-block: 0; }
}
.vr-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.vr-item { text-align: center; padding: clamp(6px, 2vw, 22px) clamp(16px, 2.4vw, 40px); border-inline-start: 1px solid var(--line); }
.vr-item:first-child { border-inline-start: none; }
.vr-icon {
  width: clamp(76px, 8vw, 108px); height: auto;
  margin: 0 auto clamp(16px, 1.8vw, 24px);
  display: block;
}
.vr-title { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--ink); line-height: 1.1; }
.vr-rule { display: block; width: 30px; height: 2px; background: var(--brass); margin: 16px auto; }
.vr-sub { font-size: clamp(14px, 1.5vw, 16.5px); color: var(--text-soft); line-height: 1.6; max-width: 22ch; margin-inline: auto; }
@media (max-width: 760px) {
  /* one per row: three items don't split evenly into two columns */
  .vr-grid { grid-template-columns: 1fr; row-gap: 34px; }
  .vr-item { border-inline-start: none; padding: 0 12px 34px; border-bottom: 1px solid var(--line); }
  .vr-item:last-child { border-bottom: none; padding-bottom: 0; }
  .vr-icon { width: 78px; margin-bottom: 14px; }
}

/* ===== Values timeline (interactive ruler) ===== */
.values-timeline { background: var(--ink); color: #fff; }
.values-timeline .eyebrow { color: var(--brass-2); justify-content: center; }
.values-timeline .eyebrow::before { background: var(--brass-2); }
.values-timeline h2 { color: #fff; }

.vt { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 76px); }
.vt-line { position: absolute; top: 5px; inset-inline: 0; height: 1px; background: rgba(255,255,255,0.16); }
.vt-line::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 7px; background-image: repeating-linear-gradient(to left, rgba(255,255,255,0.16) 0 1px, transparent 1px 26px); }
.vt-item { position: relative; background: none; border: 0; cursor: pointer; padding: 30px 8px 0; text-align: center; color: inherit; font-family: var(--sans); }
.vt-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid rgba(255,255,255,0.45); transition: all .4s var(--ease); z-index: 1; }
.vt-item::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 1px; height: 15px; background: rgba(255,255,255,0.22); transition: all .4s var(--ease); }
.vt-word { font-weight: 700; font-size: clamp(19px, 2.3vw, 30px); color: rgba(255,255,255,0.6); transition: color .4s var(--ease); display: inline-block; }
.vt-item:hover .vt-word, .vt-item:focus-visible .vt-word, .vt-item.active .vt-word { color: #fff; }
.vt-item.active .vt-dot { background: var(--brass-2); border-color: var(--brass-2); transform: translateX(-50%) scale(1.3); box-shadow: 0 0 0 5px rgba(201,165,103,0.14); }
.vt-item.active::before { background: var(--brass-2); height: 20px; }
.vt-panel { text-align: center; max-width: 58ch; margin: clamp(34px, 4vw, 46px) auto 0; color: rgba(255,255,255,0.74); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.75; min-height: 64px; transition: opacity .35s var(--ease); }

@media (max-width: 760px) {
  .vt { grid-template-columns: 1fr 1fr; gap: 26px 8px; margin-top: 36px; }
  .vt-line { display: none; }
  .vt-item { padding-top: 0; }
  .vt-dot, .vt-item::before { display: none; }
  .vt-word { color: rgba(255,255,255,0.78); }
  .vt-panel { margin-top: 30px; min-height: 86px; }
}

/* ===== Practice — interactive vertical rail ===== */
.practice-interactive {
  /* same top-down shadow ramp; shorter hold since there's no navbar over it */
  background: linear-gradient(to bottom,
    var(--ink-deep) 0%,
    var(--ink-deep) 5%,
    #0c1827 16%,
    #0f1d2c 28%,
    #112131 42%,
    #142536 56%,
    var(--ink) 70%);
  color: #fff;
}
.practice-interactive .eyebrow { color: var(--brass-2); justify-content: center; }
.practice-interactive .eyebrow::before { background: var(--brass-2); }
.practice-interactive .section-head h2 { color: #fff; }
.practice-interactive .section-head .lead { color: rgba(255,255,255,0.7); }

.pr-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 64px); }

.practice-rail { position: relative; padding-inline-end: 34px; }
.pr-line { position: absolute; inset-inline-end: 6px; top: 10px; bottom: 10px; width: 1px; background: rgba(255,255,255,0.16); }
.pr-line::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: -3px; width: 7px; background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.16) 0 1px, transparent 1px 22px); }
.pr-item { position: relative; display: block; width: 100%; background: none; border: 0; cursor: pointer; text-align: right; padding: clamp(13px, 1.7vw, 19px) 0; color: inherit; font-family: var(--sans); }
.pr-name { font-size: clamp(18px, 2vw, 26px); font-weight: 700; color: rgba(255,255,255,0.5); transition: color .35s var(--ease); }
.pr-dot { position: absolute; top: 50%; inset-inline-end: 1px; transform: translateY(-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid rgba(255,255,255,0.4); transition: all .4s var(--ease); }
.pr-item::before { content: ""; position: absolute; top: 50%; inset-inline-end: 14px; width: 0; height: 1px; background: var(--brass-2); transform: translateY(-50%); transition: width .4s var(--ease); }
.pr-item:hover .pr-name, .pr-item:focus-visible .pr-name, .pr-item.active .pr-name { color: #fff; }
.pr-item.active .pr-dot { background: var(--brass-2); border-color: var(--brass-2); transform: translateY(-50%) scale(1.3); box-shadow: 0 0 0 5px rgba(201,165,103,0.14); }
.pr-item.active::before { width: 18px; }

.pr-panel { min-height: 210px; }
.pr-panel-title { color: #fff; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; margin-bottom: 16px; transition: opacity .3s var(--ease); }
.pr-panel-desc { color: rgba(255,255,255,0.72); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.85; margin-bottom: 0; min-height: 90px; transition: opacity .3s var(--ease); }
.pr-panel-subs { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.pr-panel-subs.has-subs { margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14); }
.pr-panel-subs li a {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 14.5px; color: rgba(255,255,255,0.6);
  padding: 6px 0; transition: color .3s var(--ease), gap .3s var(--ease);
}
.pr-panel-subs li a::before { content: "—"; color: var(--brass-2); font-size: 13px; }
.pr-panel-subs li a:hover, .pr-panel-subs li a:focus-visible { color: #fff; gap: 14px; }
.pr-link { color: var(--brass-2); }
.pr-link .ar { color: var(--brass-2); }

@media (max-width: 760px) {
  .pr-grid { grid-template-columns: 1fr; gap: 36px; }
  .pr-panel { min-height: 0; }
  .pr-panel-desc { min-height: 0; }
}

/* =========================================================
   Practice areas
   ========================================================= */
.practice-tabs {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: clamp(18px, 2.6vw, 36px);
  border-bottom: 1px solid var(--line); scrollbar-width: none;
}
.practice-tabs::-webkit-scrollbar { display: none; }
.ptab {
  position: relative; flex: 0 0 auto; font-family: var(--sans); font-size: 15.5px; font-weight: 600;
  color: var(--text-soft); padding: 16px 2px; background: none; border: 0; cursor: pointer;
  white-space: nowrap; transition: color .3s var(--ease);
}
.ptab::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--brass);
  transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease);
}
.ptab:hover { color: var(--ink); }
.ptab.active { color: var(--ink); }
.ptab.active::after { transform: scaleX(1); }

.practice-groups { border-top: 0; }
.practice-group {
  display: none;
  grid-template-columns: 64px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(8px, 2vw, 16px) clamp(48px, 6vw, 76px);
  position: relative;
  scroll-margin-top: 100px;
}
.practice-group.active { display: grid; }
.pg-num { font-family: var(--sans); font-size: 15px; color: var(--brass); font-weight: 700; padding-top: 8px; }
.pg-body h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.pg-intro p { font-size: 16px; line-height: 1.85; max-width: 72ch; margin-bottom: 14px; }
.pg-intro p:last-child { margin-bottom: 0; }
.practice-group.placeholder .pg-intro p { color: var(--text-mute); font-style: italic; }

.sub-list { border-top: 1px solid var(--line); margin-top: clamp(28px, 3.5vw, 40px); }
.sub-item {
  position: relative;
  padding-block: clamp(22px, 3vw, 32px);
  padding-inline-start: 22px;
  border-bottom: 1px solid var(--line);
  transition: padding-inline .4s var(--ease);
  scroll-margin-top: 110px;
}
.sub-item::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 2px;
  background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.sub-item:hover, .sub-item:target { padding-inline-start: 30px; }
.sub-item:hover::before, .sub-item:target::before { transform: scaleY(1); }
.sub-item h3 { font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 10px; transition: color .4s var(--ease); }
.sub-item:hover h3 { color: var(--brass); }
.sub-item p { font-size: 15px; max-width: 70ch; margin-bottom: 10px; }
.sub-item p:last-child { margin-bottom: 0; }
.sub-item ul { margin: 6px 0 14px; display: flex; flex-direction: column; gap: 7px; }
.sub-item ul li { position: relative; padding-inline-start: 18px; font-size: 15px; color: var(--text-soft); }
.sub-item ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.sub-item b { color: var(--ink); font-weight: 700; }

@media (max-width: 640px) {
  .practice-group { grid-template-columns: 1fr; gap: 12px; }
  .pg-num { padding-top: 0; }
}

/* practice cards grid (home preview) */
.p-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.p-card { background: var(--paper); padding: clamp(30px, 3vw, 44px); transition: background .45s var(--ease); position: relative; }
.p-card .pc-num { font-family: var(--sans); color: var(--brass); font-weight: 700; font-size: 14px; margin-bottom: 22px; display: block; }
.p-card h3 { margin-bottom: 12px; transition: color .4s var(--ease); }
.p-card p { font-size: 14.5px; }
.p-card .pc-arrow { margin-top: 22px; color: var(--brass); opacity: 0; transform: translateX(8px); transition: .4s var(--ease); font-size: 18px; }
.p-card:hover { background: var(--white); }
.p-card:hover h3 { color: var(--brass); }
.p-card:hover .pc-arrow { opacity: 1; transform: translateX(0); }

/* =========================================================
   Partners / team
   ========================================================= */
.partner {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
  scroll-margin-top: 100px;
}
.partner + .partner { margin-top: clamp(56px, 8vw, 110px); }
.partner.flip { grid-template-columns: 1.15fr 0.85fr; }
.partner.flip .p-photo { order: 2; }
.portrait {
  aspect-ratio: 4/5;
  background:
    linear-gradient(150deg, var(--ink) 0%, var(--ink-3) 60%, #2c3542 100%);
  position: relative; overflow: hidden;
  border-radius: 3px;
  display: grid; place-items: center;
}
.portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease); }
.portrait:hover img { filter: grayscale(0) contrast(1); }
.portrait .ph-mono { font-family: var(--sans); font-size: clamp(40px,6vw,72px); color: rgba(255,255,255,0.14); font-weight: 800; }
.portrait .ph-tag { position:absolute; bottom:14px; inset-inline-start:16px; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color: rgba(255,255,255,0.35); }

.partner .p-name { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 6px; }
.partner .p-role { color: var(--brass); font-weight: 600; font-size: 15px; letter-spacing: .04em; margin-bottom: 24px; display: block; }
.partner .p-bio p + p { margin-top: 16px; }

/* =========================================================
   Values
   ========================================================= */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.value .v-ix { font-family: var(--sans); font-size: 14px; color: var(--brass); font-weight: 700; }
.value h3 { margin: 16px 0 12px; }
.value p { font-size: 15px; }
.value { padding-top: 26px; border-top: 2px solid var(--ink); }

/* =========================================================
   Articles
   ========================================================= */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.article {
  display: flex; flex-direction: column;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  transition: transform .4s var(--ease);
}
.article .a-meta { display: flex; gap: 14px; align-items: center; font-size: 12.5px; color: var(--text-mute); letter-spacing: .04em; margin-bottom: 16px; }
.article .a-cat { color: var(--brass); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.article h3 { font-size: clamp(20px, 2vw, 25px); margin-bottom: 14px; transition: color .4s var(--ease); }
.article p { font-size: 15px; flex-grow: 1; margin-bottom: 18px; }
.article:hover h3 { color: var(--brass); }
.article:hover { transform: translateY(-4px); }


/* ===== Instagram reels carousel ===== */
.insta .section-head { max-width: 640px; }
.insta-carousel { position: relative; display: flex; align-items: center; gap: 10px; }
.insta-track { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 16px; flex: 1; scrollbar-width: none; }
.insta-track::-webkit-scrollbar { display: none; }
.reel {
  position: relative; flex: 0 0 auto; width: clamp(208px, 22vw, 264px); aspect-ratio: 9 / 16;
  border-radius: 10px; overflow: hidden; scroll-snap-align: start;
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-3) 55%, #2a455e 100%);
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.reel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(255,255,255,0.06), transparent 60%); pointer-events: none; }
.reel:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.reel-badge { position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #fff; background: rgba(0,0,0,0.35); padding: 5px 10px; border-radius: 30px; }
.reel-badge i { color: var(--brass-2); font-style: normal; font-size: 9px; }
.reel-cap { position: relative; z-index: 1; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.45; }
.reel::before { content: "▶"; position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.14); backdrop-filter: blur(2px); color: #fff; font-size: 16px; padding-inline-start: 3px; transition: background .4s var(--ease); }
.reel:hover::before { background: var(--brass); }
.insta-nav { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); display: grid; place-items: center; }
.insta-nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.insta-note { text-align: center; font-size: 13px; color: var(--text-mute); margin-top: 18px; }
@media (max-width: 760px) { .insta-nav { display: none; } .insta-track { scroll-snap-type: x proximity; } }
.insta-embed { margin-top: 8px; }
.insta-embed [data-behold-id] { --behold-row-gap: clamp(14px, 1.6vw, 22px); --behold-column-gap: clamp(14px, 1.6vw, 22px); }
.social-row { display: flex; justify-content: center; align-items: center; gap: 26px; margin: 16px 0 2px; }
.social-row a { display: inline-flex; color: var(--ink); transition: color .3s var(--ease), transform .3s var(--ease); }
.social-row a:hover { color: var(--brass); transform: translateY(-3px); }
.social-row svg { width: 30px; height: 30px; fill: currentColor; display: block; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 140% at 80% 50%, rgba(169,135,78,0.18), transparent 60%); }
.cta-band .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.65); margin-top: 14px; max-width: 46ch; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-details { margin-top: 38px; display: grid; gap: 28px; }
.contact-details .cd { display: flex; gap: 16px; align-items: flex-start; }
.contact-details .cd .cd-k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.contact-details .cd .cd-v { font-size: 17px; color: var(--ink); font-family: var(--sans); }
.contact-details .cd .ic { color: var(--brass); font-size: 20px; padding-top: 2px; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: clamp(28px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15.5px;
  border: 1px solid var(--line); border-radius: 3px;
  padding: 13px 15px; background: var(--paper);
  color: var(--text); direction: rtl; outline: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; margin-top: 16px; background: #eef3ec; color: #2f5d34; border: 1px solid #cfe0cb; padding: 14px; border-radius: 3px; font-weight: 600; font-size: 15px; text-align: center; }
.form-error { display: none; margin-top: 16px; background: #fbeeee; color: #8a2b2b; border: 1px solid #e8cccc; padding: 14px; border-radius: 3px; font-weight: 600; font-size: 15px; text-align: center; }
.form-error a { color: inherit; text-decoration: underline; }
/* honeypot: off-screen for people, still fillable by bots */
/* Spam trap: hidden from people, still in the DOM for bots.
   NOT left:-9999px — in RTL that pushes the scrollable area ~10,000px past the
   content, and the page then renders in a narrow strip with dead space beside it.
   Clipping in place hides the field without touching the layout box. */
.hp-field {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #11202b; color: rgba(255,255,255,0.6); padding-top: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(30px,4vw,56px); padding-bottom: clamp(40px,5vw,64px); border-bottom: 1px solid var(--line-dark); }
.footer .f-brand .b-name { font-family: var(--serif); font-size: 24px; font-weight: 800; color: #fff; }
.footer .f-brand .b-sub { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-2); margin-top: 4px; }
.footer .f-brand p { margin-top: 18px; font-size: 14.5px; max-width: 34ch; color: rgba(255,255,255,0.5); }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a, .footer .f-contact div { font-size: 14.5px; color: rgba(255,255,255,0.6); transition: color .3s var(--ease); }
.footer ul a:hover { color: var(--brass-2); }
.footer .f-contact div { margin-bottom: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px; font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom .disc { max-width: 60ch; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }

/* scroll progress */
.progress { position: fixed; top: 0; inset-inline-end: 0; height: 2px; width: 0; background: var(--brass); z-index: 1500; transition: width .1s linear; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: clamp(36px, 6vw, 56px); }
  .hero-figures { max-width: 540px; }
  .hero-scroll { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto .big { max-width: none; }
  .partner, .partner.flip { grid-template-columns: 1fr; }
  .partner.flip .p-photo { order: 0; }
  .portrait { max-width: 440px; }
  .p-cards { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; gap: 0; }
  .value { border-top: none; border-bottom: 1px solid var(--line); padding-block: 28px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .cred:nth-child(3) { border-inline-start: none; }
  .cred { border-top: 1px solid var(--line-dark); }
  .cred:nth-child(-n+2) { border-top: none; }
  .p-cards { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .p-item { grid-template-columns: auto 1fr; }
  .p-item .p-go { display: none; }
  .footer .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .creds-grid { grid-template-columns: 1fr; }
  .cred { border-inline-start: none; }
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================
   Bold face mapping — keep last
   ---------------------------------------------------------
   Adobe ships Discordia's bold as a separate family ("discordia-bold"), so anything
   rendered at 600+ has to name it explicitly or the browser fakes bold on Latin runs.
   Hebrew is unaffected either way: it resolves past Discordia to Greycliff, which
   carries all nine weights. This block sits at the end of the file on purpose — several
   component rules above set font-family directly, and at equal specificity the last
   declaration wins.
   ========================================================= */
h1, h2, h3, h4, h5, h6,
strong, b,
.h-display, .eyebrow, .btn, .link-arrow,
.drawer a, .drawer a .num,
.hero-logo .hl-name, .hero-portico h1, .hero-portico h1 .em, .fig-tag .nm,
.page-head h1, .manifesto .big b, .cred .k, .vr-title, .vt-word,
.pr-name, .pr-panel-title, .ptab, .pg-num, .sub-item b, .p-card .pc-num,
.portrait .ph-mono, .partner .p-role, .value .v-ix,
.lc-name strong, .lc-overlay .lc-role, .lc-overlay .lc-link,
.article .a-cat, .reel-badge, .reel-cap,
.field label, .form-success, .form-error,
.footer h4 {
  font-family: var(--sans-bold);
}
.pre-brand .pre-name, .brand .b-name, .footer .f-brand .b-name {
  font-family: var(--serif-bold);
}
/* Separators sit at weight 300 — keep them on the regular face */
.pre-brand .pre-name .pre-sep, .brand .b-name .b-sep {
  font-family: var(--serif);
}

/* =========================================================
   Wordmark lockups — Naipe Discordia. Keep after the bold mapping above,
   which otherwise claims .b-name / .pre-name / .hl-name for the Adobe faces.
   One family covers both weights here, so no separate bold family is needed.
   ========================================================= */
.brand .b-name, .brand .b-sub,
.pre-brand .pre-name, .pre-brand .pre-sub,
.hero-logo .hl-name, .hero-logo .hl-sub,
.footer .f-brand .b-name, .footer .f-brand .b-sub,
.brand .b-name .b-sep, .pre-brand .pre-name .pre-sep, .hero-logo .hl-sep {
  font-family: "Discordia Naipe", "greycliff-hebrew-cf", 'Heebo', serif;
}

/* Separator sits 0.03em high of the wordmark's optical centre — measured from the
   rendered ink bounds of "לנקרי קרמר" (-84..+20 from baseline, midpoint -32) against
   the bar's own (-69..-1, midpoint -35). Nudged down so the gaps above and below it
   match. Kept in em so it holds at every lockup size. */
.brand .b-name .b-sep,
.pre-brand .pre-name .pre-sep,
.hero-logo .hl-sep {
  position: relative;
  top: 0.03em;
}
