/* Ziv Matalon Consultant & Management — site styles
   Layout concept: full-bleed photography and dark "field-to-product" sections,
   white working sections, one clay accent taken from the "M" of the ZM logo. */
:root {
  --paper: #ffffff;
  --mist: #f1f4ee;          /* light neutral with a slight green bias */
  --line: #dbe1d5;
  --ink: #1b211a;
  --ink-2: #4b5548;
  --night: #141a14;         /* dark sections */
  --night-2: #1f281e;
  --night-line: #344033;
  --on-night: #eef1ea;
  --on-night-2: #aeb8a9;
  --green: #86b33b;         /* "Z" of the logo */
  --green-deep: #3f6a1f;    /* green for text on white */
  --clay: #8e3b22;          /* "M" of the logo: buttons, figures */
  --clay-dark: #712e1a;
  --clay-soft: #f6ebe6;
  --font-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Onest", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5.2vw, 60px); }
h2 { font-size: clamp(25px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 1.8vw, 22px); }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 64ch; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius);
  font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-overlay:not(.is-solid) { background: transparent; border-color: transparent; color: #fff; }
.site-header.is-solid { box-shadow: 0 4px 24px rgba(20, 26, 20, .08); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-plate { background: #fff; border-radius: 4px; padding: 7px 9px; display: grid; place-items: center; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.brand-plate img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .12em; }
.brand-sub { font-size: 11.5px; letter-spacing: .04em; opacity: .75; margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a, .nav-drop > button {
  display: block; padding: 10px 12px; color: inherit; text-decoration: none;
  font: 500 15px/1.2 var(--font-body); background: none; border: 0; cursor: pointer; border-radius: 4px;
}
.main-nav a:hover, .nav-drop > button:hover { background: rgba(127, 140, 120, .14); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-drop ul {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: 8px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(20, 26, 20, .14); display: none;
}
.nav-drop.is-open ul, .nav-drop:focus-within ul { display: block; }
@media (hover: hover) { .nav-drop:hover ul { display: block; } }
.nav-drop ul a { padding: 10px 12px; }
.lang-switch { display: flex; gap: 2px; border: 1px solid currentColor; border-radius: 4px; padding: 2px; margin-left: 8px; }
.lang-switch a, .lang-switch span { padding: 5px 9px !important; font-size: 13px !important; font-weight: 600 !important; border-radius: 3px; }
.lang-switch span { background: var(--clay); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 8px; transition: transform .2s, opacity .2s; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--paper); color: var(--ink); overflow-y: auto; display: none; padding: 16px var(--gutter) 40px; }
  .site-header.nav-open .main-nav { display: block; }
  .site-header.nav-open { background: var(--paper); color: var(--ink); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .nav-drop > button { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; text-align: left; }
  .nav-drop ul { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .nav-drop > button::after { display: none; }
  .lang-switch { margin: 18px 0 0; width: max-content; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 520px) { .brand-sub { display: none; } .brand-name { font-size: 14px; } }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,16,12,.55) 0%, rgba(12,16,12,.25) 35%, rgba(12,16,12,.82) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 80px); padding-bottom: 48px; }
.hero .eyebrow { color: #cfe3a6; }
.hero h1 { max-width: 15ch; margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-dots { display: flex; gap: 8px; margin-top: 36px; }
.hero-dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button.is-active { background: #fff; }

.stats { background: var(--night); color: var(--on-night); border-top: 1px solid var(--night-line); }
.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat { padding: 26px 18px 28px; border-left: 1px solid var(--night-line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat-value small { font-size: .5em; margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--on-night-2); margin-top: 10px; line-height: 1.4; }
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat:nth-child(4) { border-left: 0; padding-left: 0; } .stat { border-top: 1px solid var(--night-line); } .stat:nth-child(-n+3) { border-top: 0; } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { padding-left: 16px !important; border-left: 1px solid var(--night-line) !important; } .stat:nth-child(odd) { border-left: 0 !important; padding-left: 0 !important; } .stat:nth-child(3) { border-top: 1px solid var(--night-line); } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; color: #fff; background: var(--night) center/cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,16,12,.65), rgba(12,16,12,.78)); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 72px); padding-bottom: 64px; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,.88); }
.page-hero .eyebrow { color: #cfe3a6; }
.crumbs { font-size: 14px; margin-bottom: 18px; color: rgba(255,255,255,.75); }
.crumbs a { color: #fff; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--mist { background: var(--mist); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night h2, .section--night h3 { color: #fff; }
.section--night .lead, .section--night .muted { color: var(--on-night-2); }
.section--night .eyebrow { color: var(--green); }
.section--night a:not(.btn) { color: #d9eab6; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head > div { max-width: 760px; min-width: 0; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { margin: 0; }

/* ---------- world map ---------- */
.map-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.map-legend button {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 40px;
  background: var(--night-2); color: var(--on-night); border: 1px solid var(--night-line); font: 500 14px/1 var(--font-body); cursor: pointer;
}
.map-legend button[aria-pressed="false"] { opacity: .45; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.map-box { position: relative; background: #0f150f; border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; }
.map-box svg { display: block; width: 100%; height: auto; }
.map-box .land { fill: #2a3527; stroke: #3c4a38; stroke-width: .5; }
.map-box .land.is-active { fill: #374634; }
/* Judea and Samaria, the Gaza Strip: a little lighter than the country, dashed border; clicks go to Israel below */
.map-box .land-area { fill: rgba(238, 241, 234, .03); stroke: rgba(207, 214, 201, .3); stroke-width: .6px; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; pointer-events: none; }
.map-box .graticule { fill: none; stroke: #1f291e; stroke-width: .5; }
.map-box .supply-line { fill: none; stroke: #b9a8d6; stroke-width: 1.1; stroke-dasharray: 3 4; opacity: .7; }
.map-pin { cursor: pointer; }
.map-pin .pole { stroke: #e9ede4; stroke-width: 1.4; }
.map-pin .flag { stroke: rgba(0,0,0,.35); stroke-width: .6; }
.map-pin .base { fill: #e9ede4; }
.map-pin:hover .flag, .map-pin:focus .flag, .map-pin.is-selected .flag { stroke: #fff; stroke-width: 1.4; }
.map-pin:focus { outline: none; }
.map-pin.is-hidden { display: none; }
.map-pin--int .pole { stroke: #A9743F; stroke-width: 1.6; }
.map-pin--int .base { fill: #A9743F; stroke: #fff; stroke-width: .8; }
.map-tip {
  position: absolute; z-index: 3; max-width: 320px; background: var(--paper); color: var(--ink);
  border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.4); padding: 16px 18px 14px; font-size: 14px; line-height: 1.45; pointer-events: auto;
}
.map-tip h4 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin: 0 0 8px; padding-right: 22px; }
.map-tip ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.map-tip li { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.map-tip li b { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.map-tip .close { position: absolute; top: 8px; right: 8px; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink-2); width: 28px; height: 28px; }
.map-tip a { font-weight: 600; }
.map-note { font-size: 14px; color: var(--on-night-2); margin-top: 14px; }
.country-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.country-list li { padding: 6px 12px; border: 1px solid var(--night-line); border-radius: 40px; font-size: 14px; color: var(--on-night); }
.country-list button { all: unset; cursor: pointer; }
.country-list li:hover { border-color: var(--green); }

/* ---------- direction cards ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dir-card { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--night) center/cover no-repeat; isolation: isolate; }
.dir-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,16,12,.05) 20%, rgba(12,16,12,.88) 78%); z-index: -1; transition: background .3s; }
.dir-card:hover { color: #fff; }
.dir-card:hover::before { background: linear-gradient(180deg, rgba(12,16,12,.2) 0%, rgba(12,16,12,.92) 70%); }
.dir-card .dir-no { font-family: var(--font-display); font-size: 14px; color: var(--green); margin-bottom: auto; }
.dir-card h3 { color: #fff; margin-bottom: 10px; }
.dir-card p { font-size: 15px; color: rgba(255,255,255,.85); margin: 0 0 16px; }
.dir-card .link-arrow { color: #fff; }
@media (max-width: 1100px) { .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dir-card { min-height: 380px; } }
@media (max-width: 600px) { .dir-grid { grid-template-columns: minmax(0, 1fr); } .dir-card { min-height: 320px; } }

/* ---------- field-to-product chain ---------- */
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; align-items: center; position: relative; }
.chain-col { display: grid; gap: 16px; position: relative; }
.chain-node { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 18px 18px 16px; position: relative; }
.chain-node--key { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.chain-node .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.chain-node h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 17px; margin: 6px 0 4px; }
.chain-node p { font-size: 14px; color: var(--on-night-2); margin: 0; line-height: 1.45; }
.chain-col:not(:last-child)::after { content: "→"; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 22px; }
.chain-loop { margin-top: 22px; padding: 14px 18px; border: 1px dashed var(--green); border-radius: var(--radius); color: var(--on-night); font-size: 15px; }
.chain-loop b { color: var(--green); }
.section:not(.section--night) .chain-node { background: var(--paper); border-color: var(--line); }
.section:not(.section--night) .chain-node h4 { color: var(--ink); }
.section:not(.section--night) .chain-node p { color: var(--ink-2); }
.section:not(.section--night) .chain-node .k { color: var(--green-deep); }
.section:not(.section--night) .chain-loop { color: var(--ink); }
.section:not(.section--night) .chain-loop b { color: var(--green-deep); }
@media (max-width: 960px) {
  .chain { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .chain-col:not(:last-child)::after { content: "↓"; right: auto; left: 22px; top: auto; bottom: -30px; transform: none; }
  .chain-col { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; }
.split-media figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.split-body { min-width: 0; }
@media (max-width: 900px) { .split, .split--reverse { grid-template-columns: minmax(0, 1fr); } .split--reverse .split-media { order: 0; } }

.badge-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 24px 0; }
.badge-list li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
.badge-list b { font-family: var(--font-display); font-weight: 600; color: var(--clay); font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .badge-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); counter-increment: step; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); color: var(--clay); font-size: 15px; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- project cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.p-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.p-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.p-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card .meta { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); font-weight: 600; }
.p-card h3 { font-size: 19px; margin: 0; }
.p-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.p-card .facts { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 15px; color: var(--clay); font-weight: 500; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--clay); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 72ch; }

/* ---------- CTA ---------- */
.cta { background: var(--clay); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 56px; }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.85); max-width: 60ch; }
.cta .btn--primary { background: #fff; color: var(--clay); }
.cta .btn--primary:hover { background: var(--ink); color: #fff; }

/* ---------- prose / detail pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin: 8px 0 40px; }
.facts-row div { padding: 20px 20px 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts-row b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); color: var(--clay); line-height: 1.05; font-variant-numeric: tabular-nums; }
.facts-row span { display: block; font-size: 15px; color: var(--ink-2); margin-top: 8px; line-height: 1.4; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { padding-left: 32px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.note { background: var(--clay-soft); border-left: 4px solid var(--clay); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; position: relative; }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 4px; transition: opacity .2s; }
.gallery button:hover img { opacity: .85; }
.gallery button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.gallery figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,10,8,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: #e7ebe2; text-align: center; margin-top: 12px; }
.lightbox .lb-close { position: absolute; top: 16px; right: 16px; background: none; border: 1px solid #fff; color: #fff; width: 44px; height: 44px; font-size: 22px; cursor: pointer; border-radius: 4px; }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; counter-reset: pr; list-style: none; padding: 0; margin: 0; }
.principle { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; counter-increment: pr; }
.principle img { height: 100%; width: 100%; object-fit: cover; min-height: 220px; }
.principle-body { padding: 22px 24px; min-width: 0; }
.principle-body h3::before { content: counter(pr, decimal-leading-zero) " "; color: var(--clay); }
.principle-body p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 1060px) { .principles { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .principle { grid-template-columns: minmax(0, 1fr); } .principle img { aspect-ratio: 16 / 9; min-height: 0; } }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); position: sticky; top: 0; }
tbody tr:hover { background: #fafbf8; }
td.y { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 40px; background: var(--mist); font-size: 12.5px; white-space: nowrap; border: 1px solid var(--line); }
.tag i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.25); }
.spec-table { max-width: 640px; }
.spec-table td:first-child { color: var(--ink-2); width: 45%; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.filters button { padding: 9px 14px; border-radius: 40px; border: 1px solid var(--line); background: var(--paper); font: 500 14px/1 var(--font-body); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); display: inline-block; }
.filters input, .filters select { padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: 15px var(--font-body); min-width: 0; background: var(--paper); color: var(--ink); }
.filters .count { margin-left: auto; color: var(--ink-2); font-size: 14px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 40px; padding-bottom: 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 112px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--green); }
.timeline time { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--clay); text-align: right; line-height: 1.6; }
.timeline p { margin: 0; }
@media (max-width: 560px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-left: 30px; }
  .timeline li::before { left: 0; }
  .timeline time { text-align: left; }
}

.skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.skills h3 { font-size: 16px; font-family: var(--font-body); font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.skills ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .skills { grid-template-columns: minmax(0, 1fr); } }

.cert { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.cert-img { all: unset; cursor: zoom-in; display: block; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 40px rgba(20,26,20,.12); background: #fff; }
.cert-img:focus-visible { outline: 3px solid var(--green); }
@media (max-width: 760px) { .cert { grid-template-columns: minmax(0, 1fr); } .cert-img { max-width: 320px; } }

.logo-strip { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; }
.logo-strip li { font-family: var(--font-display); font-size: 15px; color: var(--ink-2); padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list .label { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.contact-list .value { font-size: 20px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-btn { font: 500 13px/1 var(--font-body); padding: 6px 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; cursor: pointer; color: var(--ink-2); }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.form { display: grid; gap: 16px; background: var(--mist); padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: 16px var(--font-body); padding: 12px 14px; border: 1px solid #c9d1c3; border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.form-result { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.form-result pre { white-space: pre-wrap; font: 14px/1.5 var(--font-body); background: var(--mist); padding: 12px; border-radius: 4px; margin: 10px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); font-size: 15px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 64px 40px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-legal { border-top: 1px solid var(--night-line); padding-block: 20px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25a35a; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { background: #1d8a4b; }

.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-pending { opacity: .001; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- additions: map zoom, project status, plain cards, press, start steps ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.map-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.map-zoom button { background: rgba(20, 26, 20, .88); color: var(--on-night); border: 1px solid var(--night-line); border-radius: 4px; padding: 7px 11px; font: 500 13px/1 var(--font-body); cursor: pointer; min-width: 34px; }
.map-zoom button:hover { border-color: var(--green); color: #fff; }
.map-box svg { touch-action: pan-y; }
@media (max-width: 560px) { .map-zoom { top: 8px; right: 8px; } .map-zoom button { padding: 6px 8px; font-size: 12px; } }
.status { display: inline-block; font-size: 12px; padding: 3px 8px; border-radius: 4px; background: var(--mist); color: var(--ink-2); white-space: nowrap; border: 1px solid var(--line); }
.status--impl { background: var(--clay-soft); color: var(--clay); border-color: #e7cbbf; font-weight: 600; }
#registry tr.is-impl td:first-child { box-shadow: inset 3px 0 0 var(--clay); }
.p-card--plain { background: var(--night); color: var(--on-night); border-color: var(--night); }
.p-card--plain .p-card-figure { padding: 28px 22px 6px; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; color: #fff; }
.p-card--plain .p-card-figure small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--on-night-2); margin-top: 8px; }
.p-card--plain .meta { color: var(--green); }
.p-card--plain h3 { color: #fff; }
.p-card--plain p { color: var(--on-night-2); }
.p-card--plain .facts { border-top-color: var(--night-line); color: #e9b49f; }
.press-list { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.press-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.press-list .src { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); font-weight: 700; }
.press-list a { font-weight: 600; font-size: 17px; }
.press-list p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 560px) { .press-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.formats li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--paper); }
.formats b { display: block; font-size: 16px; margin-bottom: 4px; }
.formats span { color: var(--ink-2); font-size: 15px; }
.legal-text { max-width: 74ch; }
.legal-text h2 { font-size: 22px; margin-top: 1.6em; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 420px) { h1 { font-size: 27px; } }
.map-box .land.is-active { cursor: pointer; transition: fill .15s; }
.map-box .land.is-active:hover { fill: #46593f; }
.country-list li { cursor: pointer; }
.country-list li:focus-within { border-color: var(--green); }

/* ---------- Ziv feedback 13.10.2026 ---------- */
.badge-list li { grid-template-columns: max-content minmax(0, 1fr); column-gap: 20px; }
.badge-list b { white-space: nowrap; min-width: 112px; }
.stat-value, .facts-row b, .p-card .facts, .p-card-figure { white-space: nowrap; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 8px; }
.team-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.team-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team-body { padding: 18px 20px 20px; }
.team-body h3 { margin: 0 0 4px; font-size: 19px; }
.team-body .role { color: var(--clay); font-weight: 600; margin: 0 0 8px; font-size: 15px; }
.team-body p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 480px) { .badge-list li { grid-template-columns: minmax(0, 1fr); } .badge-list b { min-width: 0; } }
.team-card img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; padding: 0; background: none; }
.team-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 340px)); }
/* competencies: same heading height so the green rules line up */
.skills h3 { min-height: 3.1em; display: flex; align-items: flex-end; margin-bottom: 14px; }
@media (max-width: 480px) { .skills h3 { min-height: 0; } }

.team-card { display: flex; flex-direction: column; }
.team-body { flex: 1; }
.skills--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .skills--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .skills--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .skills--5 { grid-template-columns: minmax(0, 1fr); } }
.footnote { font-size: 13.5px; color: var(--ink-2); margin: 26px 0 0; max-width: 90ch; }

/* round 3: map hint, contacts groups, selection, timeline, founder media */
.map-hint { font-size: 13px; font-style: italic; color: var(--on-night-2); margin-top: 4px; opacity: .85; }
.site-footer .f-sub { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-2); opacity: .75; margin: 16px 0 6px; font-weight: 600; }
.site-footer h4 + .f-sub { margin-top: 0; }
.map-box .land.is-selected { fill: #4f6646; }
.country-list li:has(button[aria-pressed="true"]) { border-color: var(--green); background: rgba(120,170,90,.18); }
.country-list button[aria-pressed="true"] { font-weight: 600; }
.timeline li { grid-template-columns: 150px minmax(0, 1fr); }
.timeline li::before { left: 162px; }
.timeline::before { left: 168px; }
.timeline time { white-space: nowrap; }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); } .timeline li::before { left: 0; } .timeline::before { left: 6px; } }
.contact-group { font-size: 18px; margin: 8px 0 14px; color: var(--green); }
.contact-list + .contact-group { margin-top: 30px; }
.split-media .badge-list { margin: 22px 0 18px; }
.split-media .note { margin: 0; }
.split-media .note p { margin: 0; }
.split-media .note p.muted { margin-top: 6px; font-size: 15px; }
.cert--next { margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) { #founder .split-media { order: 2; } }
/* map: "Clear" button, inverted against the filter buttons */
.map-legend .map-clear { background: var(--on-night); color: var(--night); border-color: var(--on-night); font-weight: 700; margin-left: auto; }
.map-legend .map-clear:hover { background: #fff; border-color: #fff; }
.map-legend .map-clear:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.map-legend .legend-break { flex-basis: 100%; height: 0; }
.country-list .chip-clear { margin-left: auto; padding: 0; border: 0; }
.country-list .map-clear {
  all: unset; box-sizing: border-box; display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 40px; cursor: pointer;
  background: var(--on-night); color: var(--night); border: 1px solid var(--on-night); font: 700 14px/1.2 var(--font-body);
}
.country-list .map-clear:hover { background: #fff; }
.country-list .map-clear:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 560px) { .map-legend .map-clear, .country-list .chip-clear { margin-left: 0; } .map-legend .legend-break { display: none; } }
/* country filters grouped by region: one row per region, region button first */
.country-groups { margin-top: 26px; }
.country-groups .country-list { margin-top: 10px; }
.country-groups .country-list:first-child { margin-top: 0; }
.country-list .region-head { padding: 0; border: 0; }
.country-list .region-head .map-clear { min-width: 150px; justify-content: center; padding: 7px 16px; font-size: 14px; line-height: 1.3; }
.country-list .region-head .map-clear[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--green); }
.chip-clear-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.chip-clear-row .map-clear {
  all: unset; box-sizing: border-box; display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 40px; cursor: pointer;
  background: var(--on-night); color: var(--night); border: 1px solid var(--on-night); font: 700 14px/1.2 var(--font-body);
}
.chip-clear-row .map-clear:hover { background: #fff; }
.chip-clear-row .map-clear:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 560px) { .country-list .region-head .map-clear { min-width: 0; } }
/* map block order: region filters → map → explanation → project filters */
.country-groups { margin: 0 0 22px; }
.map-hint + .map-legend, .map-note + .map-legend { margin: 24px 0 0; }
.page-hero .lead b { font-weight: 600; }
