/* =====================================================================
   Aviram Tzur - Concept B "Connections" (LAB ONLY)
   Editorial ink & paper system. One signal colour (amber, continuous with
   the current brand gold). The motif - nodes joined by lines - comes from
   the tagline: people, decisions, connections.
   ===================================================================== */
@import url("../../resources/googleSans/font.css");

:root {
  --ink: #111215;
  --ink-2: #1b1d22;
  --paper: #f4efe7;
  --paper-2: #e9e1d4;
  --text: #15161a;
  --muted: #55575e;
  --on-ink: #f4efe7;
  --on-ink-muted: #b8b3ab;
  --amber: #f6a12e;
  --amber-deep: #8f5200;
  --line-paper: rgba(17, 18, 21, .16);
  --line-ink: rgba(244, 239, 231, .18);

  --font: 'Google Sans', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  --fs-display: clamp(2.6rem, 6.6vw, 7rem);
  --fs-h2: clamp(2.1rem, 4.6vw, 4.6rem);
  --fs-lead: clamp(1.3rem, 2.1vw, 2rem);
  --fs-body: clamp(1.05rem, 1.15vw, 1.25rem);
  --fs-small: .9375rem;

  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(84px, 12vw, 190px);
  --max: 1440px;
  --r-lg: 28px;
  --r-md: 16px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:lang(en) .b-tight { letter-spacing: -.025em; }

/* focus: high-contrast ring tuned per surface */
:focus-visible { outline: 3px solid var(--focus, var(--ink)); outline-offset: 3px; border-radius: 6px; }
.b-ink { --focus: var(--amber); }
[tabindex="-1"]:focus { outline: none; }

.b-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.b-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.b-skip { position: absolute; z-index: 100; inset-inline-start: 16px; top: 0; transform: translateY(-120%); padding: 10px 16px; background: var(--paper); color: var(--ink); border-radius: 0 0 12px 12px; font-weight: 700; text-decoration: underline; }
.b-skip:focus { transform: translateY(0); }

/* ---------- header ---------- */
.b-header { position: fixed; z-index: 50; inset-inline: 0; top: 0; height: var(--header-h); color: var(--on-ink); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); --focus: var(--amber); }
.b-header.is-solid { background: rgba(244, 239, 231, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line-paper); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); --focus: var(--ink); }
.b-header.is-open { background: transparent; color: var(--on-ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; --focus: var(--amber); }
.b-header__in { height: 100%; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.b-mark { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.125rem; text-decoration: none; white-space: nowrap; }
.b-mark__node { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(246, 161, 46, .22); }
.b-nav { display: flex; gap: clamp(14px, 2.2vw, 34px); margin-inline-start: auto; }
.b-nav a { position: relative; text-decoration: none; font-weight: 500; font-size: 1rem; padding-block: 6px; }
.b-nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: var(--origin, right); transition: transform .35s var(--ease); }
:lang(en) .b-nav a::after { --origin: left; }
.b-nav a:hover::after, .b-nav a:focus-visible::after { transform: scaleX(1); }
.b-tools { display: flex; align-items: center; gap: 4px; }
.b-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; font-size: 19px; transition: background-color .25s, color .25s; }
.b-icon:hover { background: rgba(246, 161, 46, .18); }
.b-lang { display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding-inline: 10px; margin-inline-start: 6px; border: 1.5px solid currentColor; border-radius: 999px; font-size: .875rem; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.b-menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; }
.b-menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.b-menu-btn span::before, .b-menu-btn span::after { content: ''; position: absolute; inset-inline-start: 0; width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.b-menu-btn span::before { top: -7px; } .b-menu-btn span::after { top: 7px; }
.b-menu-btn[aria-expanded="true"] span { background: transparent; }
.b-menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.b-menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* mobile panel */
.b-panel { position: fixed; z-index: 45; inset: 0; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; gap: 32px; overflow-y: auto; --focus: var(--amber); }
.b-panel[hidden] { display: none; }
.b-panel__nav a { display: flex; align-items: baseline; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line-ink); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; text-decoration: none; }
.b-panel__nav small { font-size: .875rem; color: var(--amber); font-weight: 500; }
.b-panel__contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.b-panel__contacts .b-icon { width: 52px; height: 52px; border: 1px solid var(--line-ink); font-size: 22px; }

/* ---------- hero ---------- */
.b-hero { position: relative; min-height: clamp(640px, 100svh, 1000px); background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.b-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 18% 30%, rgba(246, 161, 46, .13), transparent 60%), radial-gradient(50% 60% at 85% 85%, rgba(244, 239, 231, .06), transparent 70%); }
.b-net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.b-net line { stroke: rgba(244, 239, 231, .16); stroke-width: 1; }
.b-net line.is-hot { stroke: rgba(246, 161, 46, .75); stroke-width: 1.5; }
.b-net circle { fill: rgba(244, 239, 231, .55); }
.b-net circle.is-key { fill: var(--amber); }
.b-net circle.is-halo { fill: rgba(246, 161, 46, .16); }
.b-hero__grid { min-height: inherit; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 5vw, 90px); padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 7vw, 96px); }
.b-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 500; color: var(--amber); }
.b-kicker::before { content: ''; width: 40px; height: 2px; background: currentColor; }
.b-hero h1 { display: grid; gap: clamp(14px, 2vw, 28px); font-weight: 700; }
.b-hero__title { display: block; font-size: var(--fs-display); line-height: 1.02; }
.b-hero__title em { font-style: normal; color: var(--amber); position: relative; white-space: nowrap; transition: color .3s; }
.b-hero__title em::after { content: ''; position: absolute; inset-inline: 0; bottom: .02em; height: .07em; background: currentColor; opacity: .35; transform: scaleX(var(--k, 0)); transform-origin: var(--origin, right); transition: transform .6s var(--ease); }
:lang(en) .b-hero__title em::after { --origin: left; }
.b-hero__title em.is-active::after { --k: 1; }
.b-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 48px); }
.b-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line-ink); border-radius: 999px; text-decoration: none; font-weight: 500; transition: background-color .25s, border-color .25s, color .25s; }
.b-chip small { color: var(--amber); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.b-chip:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.b-chip:hover small { color: var(--amber-deep); }
.b-portrait { position: relative; justify-self: end; width: min(100%, 460px); }
:lang(en) .b-portrait { justify-self: end; }
.b-portrait__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--ink-2); }
.b-portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 66%; filter: grayscale(1) contrast(1.06) brightness(.94); transform: scale(1.62); transition: filter 1.2s var(--ease), transform 1.2s var(--ease); }
.b-portrait__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(17, 18, 21, .55)); }
.b-portrait:hover .b-portrait__frame img { filter: grayscale(.15) contrast(1.02); transform: scale(1.55); }
.b-portrait__ring { position: absolute; inset: -14px; border: 1.5px solid rgba(246, 161, 46, .55); border-radius: 254px 254px 40px 40px; pointer-events: none; }
.b-scroll { position: absolute; inset-inline-start: var(--gutter); bottom: 22px; display: flex; align-items: center; gap: 12px; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); text-decoration: none; }
.b-scroll i { width: 1px; height: 42px; background: linear-gradient(var(--amber), transparent); }

/* ---------- section system ---------- */
.b-section { padding-block: var(--section); position: relative; }
.b-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); }
.b-num { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1.5px solid currentColor; border-radius: 50%; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; position: relative; }
.b-num::after { content: ''; position: absolute; inset-inline-start: 100%; top: 50%; width: 18px; height: 1.5px; background: currentColor; }
.b-label { display: flex; align-items: center; gap: 18px; font-weight: 500; font-size: 1rem; letter-spacing: .02em; }
.b-label::after { content: ''; flex: 1; height: 1px; background: var(--line-paper); }
.b-ink .b-label::after { background: var(--line-ink); }
.b-h2 { font-size: var(--fs-h2); line-height: 1.05; font-weight: 700; }

/* about */
.b-about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.b-about__title { font-size: clamp(1.9rem, 3.6vw, 3.6rem); line-height: 1.12; font-weight: 700; margin-bottom: clamp(24px, 3vw, 40px); text-wrap: balance; }
.b-about__title::first-letter { color: var(--amber-deep); }
.b-prose { display: grid; gap: 1.1em; font-size: var(--fs-lead); line-height: 1.6; color: #2b2c31; max-width: 40ch; }
.b-prose a { color: var(--amber-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 500; }
.b-prose a:hover { color: var(--ink); }
.b-about__media { position: relative; margin-top: clamp(0px, 4vw, 64px); }
.b-about__media { margin-inline: 0; }
.b-about__media img { mix-blend-mode: multiply; filter: saturate(.9); }
.b-about__media::after { content: ''; position: absolute; width: 96px; height: 96px; inset-inline-end: 4%; bottom: -18px; border: 1.5px solid var(--amber); border-radius: 50%; pointer-events: none; }
.b-about__note { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: var(--fs-small); color: var(--muted); }
.b-about__note::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }

/* thoughts */
.b-thoughts { background: var(--paper-2); overflow: hidden; }
.b-thoughts__top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); }
.b-arrows { display: flex; gap: 10px; }
.b-arrow { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background-color .25s, color .25s, opacity .25s; }
.b-arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.b-arrow:disabled { opacity: .3; cursor: default; }
.b-arrow svg { width: 20px; height: 20px; }
:lang(he) .b-arrow svg { transform: scaleX(-1); }
.b-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 2 * 24px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 6px 24px; overscroll-behavior-x: contain; }
.b-track::-webkit-scrollbar { display: none; }
.b-card { scroll-snap-align: start; }
.b-card > a { display: grid; grid-template-rows: auto 1fr; height: 100%; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: 0 1px 0 var(--line-paper); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.b-card > a:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(17, 18, 21, .45); }
.b-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.b-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s var(--ease); }
.b-card > a:hover .b-card__img img { transform: scale(1.04); }
.b-card__body { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.4vw, 32px); }
.b-card__q { font-size: clamp(1.15rem, 1.45vw, 1.4rem); line-height: 1.5; font-weight: 500; }
.b-card__q::before { content: '\201D'; display: block; font-size: 3.2rem; line-height: .6; color: var(--amber); font-weight: 700; margin-bottom: 8px; }
.b-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--fs-small); color: var(--amber-deep); }
.b-card__more i { font-size: 16px; }
.b-follow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }
.b-pill { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 500; transition: background-color .25s, color .25s; --focus: var(--ink); }
.b-pill i { color: var(--amber); font-size: 18px; transition: color .25s; }
.b-pill:hover { background: var(--amber); color: var(--ink); }
.b-pill:hover i { color: var(--ink); }

/* talks */
.b-talks { background: var(--ink); color: var(--on-ink); overflow: hidden; }
.b-talks__band { position: relative; height: clamp(220px, 30vw, 420px); margin-bottom: clamp(40px, 6vw, 90px); overflow: hidden; }
.b-talks__band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.75); opacity: .92; will-change: transform; }
.b-talks__band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, transparent 30%, transparent 70%, var(--ink) 100%); }
.b-talks__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.b-talks__grid .b-h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.b-talks__grid .b-h2::after { content: ''; display: block; width: 72px; height: 6px; margin-top: 26px; border-radius: 3px; background: var(--amber); }
.b-talks .b-prose { color: var(--on-ink); max-width: 46ch; }
.b-talks .b-prose p:first-child { font-size: clamp(1.45rem, 2.3vw, 2.15rem); line-height: 1.4; font-weight: 500; color: var(--on-ink); }
.b-talks .b-prose p { color: #ddd8d0; }
.b-talks .b-prose p:last-child { padding-top: 1.1em; border-top: 1px solid var(--line-ink); }
.b-talks .b-prose a { color: var(--amber); }
.b-talks .b-prose a:hover { color: var(--on-ink); }

/* contact */
.b-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); }
.b-contact h2 { font-size: clamp(2.6rem, 6.8vw, 7rem); line-height: 1; font-weight: 700; margin-bottom: 24px; }
.b-contact h3 { font-size: 1rem; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.b-rows a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line-paper); text-decoration: none; font-size: clamp(1.15rem, 1.7vw, 1.6rem); font-weight: 500; transition: color .25s, padding .35s var(--ease); }
.b-rows li:first-child a { border-top: 1px solid var(--line-paper); }
.b-rows a > i:first-child { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--amber); font-size: 20px; transition: background-color .25s, color .25s; }
.b-rows a > .b-go { font-size: 1.4rem; opacity: .35; transition: opacity .25s, transform .35s var(--ease); }
:lang(he) .b-rows a > .b-go { transform: scaleX(-1); }
.b-rows a:hover { color: var(--amber-deep); padding-inline-start: 10px; }
.b-rows a:hover > i:first-child { background: var(--amber); color: var(--ink); }
.b-rows a:hover > .b-go { opacity: 1; }
.b-rows .b-val { direction: ltr; unicode-bidi: isolate; }
.b-stay { padding-top: clamp(0px, 9vw, 150px); }

/* footer */
.b-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 36px; font-size: var(--fs-small); --focus: var(--amber); }
.b-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.b-footer .b-mark { color: var(--on-ink); }
.b-footer a { text-decoration: none; }
.b-footer a:hover { color: var(--on-ink); }

/* reveal */
.b-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.b-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .b-nav, .b-tools { display: none; }
  .b-menu-btn { display: inline-grid; margin-inline-start: auto; }
  .b-header .b-lang { margin-inline-start: auto; }
  .b-header .b-lang + .b-menu-btn { margin-inline-start: 4px; }
  .b-hero__grid { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 28px); }
  .b-portrait { justify-self: center; width: min(78%, 420px); order: -1; }
  .b-about__grid, .b-talks__grid, .b-contact__grid { grid-template-columns: 1fr; }
  .b-talks__grid .b-h2 { position: static; }
  .b-track { grid-auto-columns: minmax(270px, 46%); }
  .b-scroll { display: none; }
  .b-prose { max-width: 60ch; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .b-mark { font-size: 1rem; }
  .b-portrait { width: 82%; }
  .b-hero { min-height: auto; }
  .b-track { grid-auto-columns: 86%; gap: 14px; }
  .b-thoughts__top { flex-direction: column; align-items: start; }
  .b-num { width: 46px; height: 46px; }
  .b-rows a { grid-template-columns: 44px 1fr; }
  .b-rows a > .b-go { display: none; }
  .b-rows a > i:first-child { width: 44px; height: 44px; }
}
@media print {
  .b-js [data-reveal] { opacity: 1; transform: none; }
  .b-header, .b-panel, .b-net, .b-scroll, .b-arrows { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .b-js [data-reveal] { opacity: 1; transform: none; }
}
