@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/archivo-black-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0b0e13;
  --bg-deep: #080b0f;
  --surface: #141923;
  --surface-2: #19202c;
  --surface-3: #202938;
  --text: #f5f7fa;
  --text-soft: #c3cad5;
  --muted: #929dad;
  --accent: #69a4ff;
  --accent-strong: #1d67d6;
  --accent-hover: #2877e5;
  --accent-ink: #07111f;
  --positive: #49d17d;
  --positive-ink: #07120b;
  --signal: #f5c451;
  --signal-bright: #ffdd82;
  --signal-ink: #171104;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(105, 164, 255, 0.38);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: 1180px;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(56, 119, 214, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="he"] body { font-family: "Heebo", sans-serif; }

a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select { touch-action: manipulation; }
img { display: block; max-width: 100%; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 960px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 1000;
  translate: 0 -160%;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  transition: translate 180ms ease;
}
.skip-link:focus { translate: 0; }

.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 1001; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--signal), var(--accent)); transform: scaleX(0); transform-origin: left center; will-change: transform; }
html[dir="rtl"] .scroll-progress span { transform-origin: right center; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(197, 220, 255, .55);
  background: rgba(12, 16, 23, .96);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .22), inset 0 -1px 0 rgba(255, 255, 255, .06);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-height: 48px; display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 0 16px rgba(208, 228, 255, .18); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(211, 229, 255, .94); border-radius: 12px; background: linear-gradient(145deg, rgba(122, 176, 255, .38), rgba(70, 122, 220, .24)); color: #fff; font-size: 12px; letter-spacing: 0.08em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 0 26px rgba(105, 164, 255, .2); }
.brand-name { white-space: nowrap; }

.desktop-nav { display: flex; align-items: center; gap: 28px; color: #fff; font-size: 14px; font-weight: 750; text-shadow: 0 0 14px rgba(208, 228, 255, .16); }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; position: relative; transition: color 180ms ease; }
.desktop-nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 6px; height: 2px; border-radius: 10px; background: var(--accent); scale: 0 1; transition: scale 180ms ease; }
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { scale: 1 1; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid rgba(211, 229, 255, .76); border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 26px rgba(0,0,0,.18), 0 0 24px rgba(105,164,255,.1); }
.language-switch button { min-width: 78px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #f0f4fa; font-size: 13px; font-weight: 800; cursor: pointer; transition: color 180ms ease, background 180ms ease; }
.language-switch button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px rgba(105,164,255,.35); }
.header-call { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border: 1px solid rgba(245,196,81,.52); border-radius: 13px; background: rgba(245,196,81,.1); color: var(--signal-bright); font-size: 12px; font-weight: 800; transition: background 180ms ease, translate 180ms ease, box-shadow 180ms ease; }
.header-call strong { color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums; }
.header-call:hover { background: rgba(245,196,81,.17); translate: 0 -1px; box-shadow: 0 9px 28px rgba(245,196,81,.12); }
.call-pulse { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(245,196,81,.42); animation: callPulse 2.2s ease-out infinite; }

.hero { --mx: 68%; --my: 42%; position: relative; min-height: min(850px, 100dvh); display: grid; align-items: center; padding: calc(var(--header-height) + 84px) 0 92px; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -72px; z-index: -3; pointer-events: none; opacity: .64; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.82) 66%, transparent 100%); animation: gridDrift 18s linear infinite; }
.hero-atmosphere { position: absolute; width: 580px; height: 580px; inset-inline-end: max(-120px, calc((100vw - var(--shell))/2 - 90px)); inset-block-start: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(105,164,255,.17), rgba(105,164,255,.035) 48%, transparent 70%); filter: blur(12px); pointer-events: none; }
.hero-beam { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle 340px at var(--mx) var(--my), rgba(105,164,255,.18), rgba(105,164,255,.045) 42%, transparent 72%); transition: background-position 100ms linear; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); align-items: center; gap: clamp(54px, 8vw, 108px); }
.hero-copy { max-width: 690px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 760px; font-family: "Archivo Black", "Manrope", sans-serif; font-size: clamp(52px, 6.4vw, 92px); line-height: .96; letter-spacing: -.055em; font-weight: 400; }
html[lang="he"] .hero h1 { font-family: "Heebo", sans-serif; letter-spacing: -.04em; font-weight: 900; }
.hero-role { margin: 24px 0 0; color: var(--text-soft); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.45; font-weight: 650; }
.hero-lead { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-proof { width: fit-content; max-width: 620px; display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(105,164,255,.07); color: var(--text-soft); font-size: 14px; line-height: 1.45; }
.proof-number { flex: 0 0 auto; color: var(--accent); font-size: 25px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; font-size: 14px; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, translate 180ms ease, color 180ms ease; }
.button:hover { translate: 0 -2px; }
.button-primary { background: var(--accent-strong); color: white; box-shadow: 0 14px 34px rgba(29,103,214,.22); }
.button-primary:hover { background: var(--accent-hover); }
html[dir="rtl"] .button-primary svg { transform: scaleX(-1); }
.phone-button { position: relative; min-height: 66px; justify-content: flex-start; gap: 13px; padding: 8px 22px 8px 10px; overflow: hidden; background: linear-gradient(135deg, var(--signal-bright), var(--signal)); color: var(--signal-ink); box-shadow: 0 16px 40px rgba(245,196,81,.2); animation: callGlow 3.2s ease-in-out infinite; }
html[dir="rtl"] .phone-button { padding: 8px 10px 8px 22px; }
.phone-button::after { content: ""; position: absolute; inset: -80% auto -80% -28%; width: 25%; transform: rotate(18deg); background: rgba(255,255,255,.5); filter: blur(6px); animation: phoneShine 3.8s ease-in-out infinite; }
.phone-button:hover { background: linear-gradient(135deg, #ffe294, var(--signal-bright)); box-shadow: 0 20px 54px rgba(245,196,81,.28); }
.phone-icon-wrap { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: rgba(23,17,4,.1); }
.phone-icon-wrap svg { width: 22px; height: 22px; }
.phone-cta-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
html[dir="rtl"] .phone-cta-copy { align-items: flex-end; }
.phone-cta-copy small { margin-bottom: 5px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.phone-cta-copy strong { font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.035); color: var(--text); }
.button-secondary:hover { border-color: var(--line-strong); background: rgba(105,164,255,.08); }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.quick-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; transition: color 180ms ease; }
.quick-links a:hover { color: var(--text); }
.quick-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 12px; font-weight: 800; }

.portrait-wrap { width: min(100%, 430px); justify-self: end; position: relative; z-index: 1; perspective: 900px; }
html[dir="rtl"] .portrait-wrap { justify-self: start; }
.portrait-frame { position: relative; aspect-ratio: .86; padding: 8px; border-radius: 46% 46% 24px 24px; background: linear-gradient(145deg, rgba(105,164,255,.9), rgba(245,196,81,.24) 48%, rgba(255,255,255,.14)); box-shadow: var(--shadow), 0 0 90px rgba(105,164,255,.12); transition: transform 300ms ease-out, box-shadow 300ms ease-out; }
.portrait-wrap:hover .portrait-frame { transform: translateY(-5px) rotateX(1.5deg); box-shadow: 0 34px 90px rgba(0,0,0,.42), 0 0 100px rgba(105,164,255,.18); }
.portrait-frame::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.13); border-radius: inherit; pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: calc(46% - 4px) calc(46% - 4px) 18px 18px; background: var(--surface); }
.portrait-note { position: absolute; inset-inline-start: -34px; inset-block-end: 26px; max-width: 240px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(20,25,35,.94); backdrop-filter: blur(12px); color: var(--text-soft); font-size: 12px; font-weight: 700; line-height: 1.4; box-shadow: 0 16px 36px rgba(0,0,0,.3); }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--positive); box-shadow: 0 0 0 4px rgba(73,209,125,.14); }
.portrait-orbit { position: absolute; inset: -28px; z-index: -1; border: 1px solid rgba(105,164,255,.2); border-radius: 48% 48% 28px 28px; pointer-events: none; animation: orbitRotate 11s linear infinite; }
.portrait-orbit span { position: absolute; inset-block-start: -5px; inset-inline-start: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.portrait-orbit.orbit-two { inset: -48px; opacity: .42; border-style: dashed; animation-duration: 17s; animation-direction: reverse; }
.portrait-orbit.orbit-two span { inset-block-start: auto; inset-block-end: -4px; background: var(--signal); box-shadow: 0 0 18px var(--signal); }

.signal-strip { position: relative; overflow: hidden; border-bottom: 1px solid rgba(245,196,81,.25); background: var(--signal); color: var(--signal-ink); }
.signal-track { width: max-content; display: flex; align-items: center; min-height: 58px; animation: signalMarquee 24s linear infinite; }
.signal-track span { display: block; padding-inline-end: 40px; white-space: nowrap; font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.signal-strip:hover .signal-track { animation-play-state: paused; }

.metrics-section { position: relative; padding: 0; border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { position: relative; min-height: 184px; display: flex; flex-direction: column; justify-content: center; padding: 28px clamp(18px, 3vw, 38px); overflow: hidden; border-inline-end: 1px solid var(--line); }
.metric::before { content: ""; position: absolute; inset: auto 12% 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: scaleX(0); transition: transform 500ms ease-out; }
.metric.is-visible::before { transform: scaleX(1); }
.metric:last-child { border-inline-end: 0; }
.metric-value { margin: 0; color: var(--text); font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.04em; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 0 36px rgba(105,164,255,.12); }
.metric-label { max-width: 190px; margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; font-weight: 650; }

.section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading h2, .contact-section h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 690px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }

.experience-section { background: linear-gradient(180deg, rgba(255,255,255,.012), transparent 22%); }
.focus-control { margin-bottom: 44px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.focus-copy { margin-bottom: 18px; }
.focus-label { display: block; color: var(--text); font-weight: 800; }
.focus-hint { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.focus-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.focus-tabs button { min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 13px; font-weight: 750; cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.focus-tabs button:hover { color: var(--text); border-color: var(--line-strong); }
.focus-tabs button[aria-pressed="true"] { border-color: var(--line-strong); background: var(--accent-strong); color: white; }
.focus-select-wrap { display: none; }
.experience-content { min-height: 360px; }
.timeline { display: grid; gap: 18px; }
.job-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: border-color 220ms ease, background 220ms ease; }
.job-card:hover { border-color: rgba(105,164,255,.28); background: var(--surface-2); }
.job-meta { padding-inline-end: 24px; border-inline-end: 1px solid var(--line); }
.job-period { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.job-company { margin: 0; color: var(--text); font-size: 17px; line-height: 1.3; font-weight: 800; }
.job-sub, .job-location { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.job-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.job-role { margin: 0; font-size: 18px; line-height: 1.35; }
.job-outcome { flex: 0 0 auto; padding: 5px 9px; border-radius: 8px; background: rgba(105,164,255,.1); color: var(--accent); font-size: 11px; font-weight: 800; }
.job-bullets { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.job-bullets li { position: relative; padding-inline-start: 18px; color: var(--text-soft); font-size: 14px; line-height: 1.7; }
.job-bullets li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.more-details { margin-top: 14px; }
.more-details summary { width: fit-content; min-height: 44px; display: flex; align-items: center; color: var(--accent); font-size: 13px; font-weight: 750; cursor: pointer; }
.more-details summary::marker { color: var(--accent); }
.more-details ul { margin-top: 10px; }
.summary-intro { margin-bottom: 18px; padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: rgba(105,164,255,.055); color: var(--text-soft); font-size: 18px; line-height: 1.75; }
.summary-list { display: grid; gap: 10px; }
.summary-row { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.summary-row-meta { display: flex; flex-direction: column; gap: 4px; }
.summary-row-company { color: var(--text); font-weight: 800; }
.summary-row-period { color: var(--accent); font-size: 12px; font-weight: 700; }
.summary-row p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.7; }

.core-skills-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(105, 164, 255, .11), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}
.core-skills-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.core-skills-section .shell { position: relative; z-index: 1; }
.core-skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.core-skill-card {
  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: clamp(26px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 22px 56px rgba(0,0,0,.16);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.core-skill-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .72;
}
.core-skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(105,164,255,.38);
  background: linear-gradient(145deg, rgba(105,164,255,.075), rgba(255,255,255,.022));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 28px 68px rgba(0,0,0,.24);
}
.core-skill-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.core-skill-signal {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 2px solid var(--accent);
  border-radius: 3px;
  rotate: 45deg;
  box-shadow: 0 0 18px rgba(105,164,255,.32);
}
.core-skill-card h3 { margin: 0; color: var(--text); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; }
.core-skill-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.core-skill-list li {
  position: relative;
  min-height: 47px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  padding-inline-start: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}
.core-skill-list li:last-child { border-bottom: 0; }
.core-skill-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(105,164,255,.42);
}

@media (max-width: 900px) {
  .core-skills-grid { grid-template-columns: 1fr; }
  .core-skill-card { min-height: auto; }
}

@media (max-width: 600px) {
  .core-skill-card { padding: 26px 24px; }
  .core-skill-card-heading { margin-bottom: 18px; }
}

@media print {
  .core-skill-card { min-height: auto; break-inside: avoid; background: white; border-color: #ccc; color: black; box-shadow: none; }
  .core-skill-card h3, .core-skill-list li { color: black; }
}

.stack-section { background: var(--bg-deep); }
.stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.stack-card { min-height: 330px; padding: clamp(28px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.stack-card-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(105,164,255,.08); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.stack-card-icon.accent { background: var(--accent); color: var(--accent-ink); }
.stack-card h3 { margin: 0 0 24px; font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.022); color: var(--text-soft); font-size: 13px; font-weight: 650; }
.chip-mark { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-3); color: var(--accent); font-size: 9px; font-weight: 800; }

.foundation-grid { display: grid; grid-template-columns: 1.05fr 1.2fr .75fr; gap: 18px; }
.foundation-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.card-label { margin: 0 0 24px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.foundation-list { display: grid; gap: 24px; }
.foundation-item + .foundation-item { padding-top: 24px; border-top: 1px solid var(--line); }
.foundation-period { margin: 0 0 6px; color: var(--accent); font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.foundation-title { margin: 0; color: var(--text); font-size: 15px; line-height: 1.45; font-weight: 800; }
.foundation-detail { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.education-item .foundation-title { font-size: 15.5px; }
.education-meta-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.education-meta-line > span:first-child { color: var(--text-soft); font-weight: 700; }
.education-meta-separator { color: var(--accent); opacity: .72; }
.language-list { display: grid; gap: 0; }
.language-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.language-item:first-child { padding-top: 0; }
.language-item:last-child { padding-bottom: 0; border-bottom: 0; }
.language-name { color: var(--text); font-weight: 750; }
.language-level { color: var(--muted); font-size: 13px; }

.why-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(105, 164, 255, .085), transparent 32rem),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}
.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 72%);
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}
.why-inner { position: relative; z-index: 1; }
.why-heading { margin-inline: auto; text-align: center; }
.why-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(105, 164, 255, .085), rgba(255, 255, 255, .022) 45%, rgba(245, 196, 81, .035));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .045);
}
.why-card::after {
  content: "WHY";
  position: absolute;
  inset-inline-end: clamp(18px, 4vw, 42px);
  inset-block-end: -0.19em;
  color: rgba(105, 164, 255, .035);
  font-family: "Archivo Black", "Manrope", sans-serif;
  font-size: clamp(78px, 13vw, 164px);
  line-height: 1;
  letter-spacing: -.07em;
  pointer-events: none;
}
html[lang="he"] .why-card::after { content: "למה"; font-family: "Heebo", sans-serif; font-weight: 900; }
.why-accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--accent) 28%, var(--signal) 72%, transparent);
  box-shadow: 0 0 22px rgba(105, 164, 255, .3);
}
html[dir="rtl"] .why-accent { inset: 0 0 0 auto; }
.why-card p {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.9;
  font-weight: 500;
}

.contact-section { padding: 112px 0; background: linear-gradient(140deg, rgba(105,164,255,.1), transparent 40%), var(--surface); }
.contact-inner { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); align-items: center; gap: 64px; }
.contact-inner > div:first-child > p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
html[dir="rtl"] .contact-actions { justify-content: flex-start; }
.contact-call-button { width: 100%; min-height: 62px; background: var(--signal); color: var(--signal-ink); box-shadow: 0 14px 38px rgba(245,196,81,.16); }
.contact-call-button:hover { background: var(--signal-bright); }
.contact-call-button strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.whatsapp-button { width: 100%; background: var(--positive); color: var(--positive-ink); }
.whatsapp-button svg { fill: currentColor; stroke: none; }
.whatsapp-button:hover { background: #5dde8d; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; color: var(--accent); font-size: 13px; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-footer { padding: 24px 0; border-top: 1px solid var(--line); background: var(--bg-deep); color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text-soft); font-weight: 700; }

.floating-call { position: fixed; z-index: 90; inset-inline-end: 22px; inset-block-end: 22px; min-height: 62px; display: flex; align-items: center; gap: 11px; padding: 7px 15px 7px 7px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; background: var(--signal); color: var(--signal-ink); box-shadow: 0 20px 60px rgba(0,0,0,.42), 0 0 0 0 rgba(245,196,81,.3); opacity: 0; visibility: hidden; transform: translateY(18px) scale(.96); transition: opacity 220ms ease, transform 220ms ease, visibility 220ms; }
html[dir="rtl"] .floating-call { padding: 7px 7px 7px 15px; }
body.call-dock-visible .floating-call { opacity: 1; visibility: visible; transform: none; animation: dockPulse 3.6s ease-in-out infinite; }
.floating-call-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: rgba(23,17,4,.1); }
.floating-call-icon svg { width: 22px; height: 22px; }
.floating-call-copy { display: flex; flex-direction: column; line-height: 1.15; }
.floating-call-copy small { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.floating-call-copy strong { margin-top: 3px; font-size: 15px; font-variant-numeric: tabular-nums; }

.js .hero-enter { opacity: 0; transform: translateY(24px); filter: blur(8px); }
.js body.is-ready .hero-enter { opacity: 1; transform: none; filter: blur(0); transition: opacity 520ms cubic-bezier(.16,.84,.44,1), transform 520ms cubic-bezier(.16,.84,.44,1), filter 520ms ease; transition-delay: var(--enter-delay, 0ms); }
.reveal { opacity: 0; transform: translateY(24px); filter: blur(5px); transition: opacity 400ms ease-out, transform 400ms cubic-bezier(.16,.84,.44,1), filter 400ms ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.is-visible { filter: blur(0); }

@keyframes callPulse { 0% { box-shadow: 0 0 0 0 rgba(245,196,81,.42); } 70%,100% { box-shadow: 0 0 0 9px rgba(245,196,81,0); } }
@keyframes gridDrift { to { transform: translate3d(72px,72px,0); } }
@keyframes orbitRotate { to { transform: rotate(360deg); } }
@keyframes phoneShine { 0%,22% { transform: translateX(-180%) rotate(18deg); } 46%,100% { transform: translateX(690%) rotate(18deg); } }
@keyframes callGlow { 0%,100% { box-shadow: 0 16px 40px rgba(245,196,81,.18); } 50% { box-shadow: 0 18px 54px rgba(245,196,81,.31); } }
@keyframes signalMarquee { to { transform: translateX(-50%); } }
@keyframes dockPulse { 0%,100% { box-shadow: 0 20px 60px rgba(0,0,0,.42), 0 0 0 0 rgba(245,196,81,.24); } 50% { box-shadow: 0 20px 60px rgba(0,0,0,.42), 0 0 0 10px rgba(245,196,81,0); } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 72px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 48px; }
  .hero h1 { font-size: clamp(50px, 7.2vw, 72px); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-inline-end: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foundation-grid { grid-template-columns: 1fr 1fr; }
  .foundation-card:last-child { grid-column: 1 / -1; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-actions { justify-content: flex-start; max-width: 520px; }
}

@media (max-width: 720px) {
  :root { --header-height: 68px; }
  .shell, .narrow { width: min(calc(100% - 32px), var(--shell)); }
  .brand-name { display: none; }
  .brand { min-width: 44px; }
  .brand-mark { width: 44px; height: 44px; }
  .language-switch button { min-width: 70px; padding-inline: 12px; }
  .header-actions { gap: 8px; }
  .header-call { width: 46px; min-height: 46px; padding: 0; }
  .header-call > span:not(.call-pulse), .header-call strong { display: none; }
  .header-call { position: relative; }
  .header-call .call-pulse { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; margin: 0; }

  .hero { padding: calc(var(--header-height) + 52px) 0 72px; }
  .hero::before { background-size: 52px 52px; opacity: .42; }
  .hero-atmosphere { width: 420px; height: 420px; inset-inline-end: -210px; inset-block-start: 120px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 52px; }
  .hero-copy { max-width: none; }
  .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(45px, 14vw, 62px); }
  .hero-role { margin-top: 18px; font-size: 17px; }
  .hero-lead { margin-top: 17px; font-size: 16px; line-height: 1.72; }
  .hero-proof { max-width: none; margin-top: 22px; padding: 13px 15px; }
  .proof-number { font-size: 22px; }
  .hero-cta-row { margin-top: 26px; }
  .hero-cta-row .button { flex: 1 1 150px; }
  .quick-links { margin-top: 18px; flex-direction: column; gap: 0; }
  .portrait-wrap { width: min(88%, 340px); align-self: center; justify-self: auto; }
  html[dir="rtl"] .portrait-wrap { justify-self: auto; }
  .portrait-note { inset-inline-start: -10px; inset-block-end: 18px; }
  .portrait-orbit { inset: -18px; }
  .portrait-orbit.orbit-two { inset: -31px; }
  .signal-track { min-height: 50px; }
  .signal-track span { font-size: 11px; }

  .metric { min-height: 150px; padding: 24px 18px; }
  .metric-value { font-size: 36px; }
  .metric-label { font-size: 12px; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .contact-section h2 { font-size: clamp(38px, 11vw, 52px); }
  .section-heading > p:last-child { font-size: 16px; }

  .focus-control { padding: 18px; margin-bottom: 28px; }
  .focus-tabs { display: none; }
  .focus-select-wrap { display: block; position: relative; }
  .focus-select-wrap::after { content: "⌄"; position: absolute; inset-inline-end: 15px; inset-block-start: 50%; translate: 0 -55%; color: var(--accent); pointer-events: none; }
  .focus-select-wrap select { width: 100%; min-height: 50px; padding: 0 42px 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; appearance: none; background: var(--bg); color: var(--text); font-weight: 750; }
  html[dir="rtl"] .focus-select-wrap select { padding: 0 14px 0 42px; }
  .job-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .job-meta { padding: 0 0 17px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .job-heading-row { flex-direction: column; gap: 8px; }
  .job-outcome { align-self: flex-start; }
  .summary-intro { padding: 22px; font-size: 16px; }
  .summary-row { grid-template-columns: 1fr; gap: 11px; padding: 20px; }
  .summary-row-meta { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; }

  .stack-grid, .foundation-grid { grid-template-columns: 1fr; }
  .stack-card { min-height: auto; padding: 28px; }
  .foundation-card:last-child { grid-column: auto; }
  .contact-section { padding: 84px 0; }
  .contact-actions .button-secondary { flex: 1 1 auto; }
  .footer-inner { align-items: flex-start; }
  .floating-call { inset-inline-end: 12px; inset-block-end: 12px; min-height: 58px; border-radius: 16px; }
  .floating-call-icon { width: 44px; height: 44px; }
}

@media (max-width: 390px) {
  .language-switch button { min-width: 62px; padding-inline: 9px; font-size: 12px; }
  .hero h1 { font-size: 44px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .button { flex-basis: auto; width: 100%; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { min-height: 126px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .js .hero-enter { opacity: 1; transform: none; filter: none; }
}

@media print {
  .site-header, .skip-link, .scroll-progress, .hero-atmosphere, .hero-beam, .portrait-orbit, .signal-strip, .floating-call, .hero-cta-row, .quick-links, .focus-control, .contact-section, .site-footer { display: none !important; }
  body { background: white; color: black; }
  .hero, .section, .metrics-section { padding: 24px 0; border-color: #ddd; background: white; }
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr 180px; }
  .portrait-frame { box-shadow: none; }
  .job-card, .stack-card, .foundation-card, .summary-row { break-inside: avoid; background: white; border-color: #ccc; color: black; }
  .job-bullets li, .hero-lead, .section-heading > p:last-child, .foundation-detail { color: #333; }
}

/* Keep the language switch at the exact physical center in both directions. */
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  direction: ltr;
}

.header-actions {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  direction: ltr;
}

.header-edge {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  direction: ltr;
}

html[dir="ltr"] .header-edge {
  grid-column: 3;
  justify-self: end;
}

html[dir="rtl"] .header-edge {
  grid-column: 1;
  justify-self: start;
  flex-direction: row-reverse;
}

.share-launcher {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(211, 229, 255, .94);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(122, 176, 255, .38), rgba(70, 122, 220, .24));
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(208, 228, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 0 26px rgba(105, 164, 255, .18);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.share-launcher svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-launcher:hover {
  color: #fff;
  border-color: #fff;
  background: linear-gradient(145deg, rgba(137, 187, 255, .5), rgba(77, 135, 235, .34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 30px rgba(29, 103, 214, .24);
  transform: translateY(-1px);
}

.share-launcher:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header .brand,
.site-header .desktop-nav,
.site-header .language-switch button,
.site-header .share-launcher {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  opacity: 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, .18);
}
.site-header .brand-name,
.site-header .desktop-nav a,
.site-header .language-switch button,
.site-header .share-launcher span {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  opacity: 1;
  font-weight: 850;
}
.site-header .brand-mark,
.site-header .share-launcher svg {
  color: #fff !important;
  stroke: #fff;
}

html[dir="ltr"] .brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  direction: ltr;
}

html[dir="ltr"] .desktop-nav {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  direction: ltr;
}

html[dir="rtl"] .brand {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  direction: rtl;
}

html[dir="rtl"] .desktop-nav {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  direction: rtl;
}

.header-inner { gap: 28px; }
.header-actions { flex: 0 0 auto; }
.language-switch {
  position: relative;
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 166px;
  height: 52px;
  padding: 4px;
  overflow: hidden;
  isolation: isolate;
}
.language-thumb {
  position: absolute;
  z-index: -1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border: 1px solid rgba(220, 235, 255, .98);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(126, 180, 255, .72), rgba(75, 132, 235, .45));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 5px 24px rgba(31,86,184,.44);
  transform: translateX(0);
  transition: transform 320ms cubic-bezier(.22,1,.36,1);
}
.language-switch[data-active-lang="he"] .language-thumb { transform: translateX(100%); }
.language-switch button {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0 10px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 14px rgba(208, 228, 255, .2);
  transition: color 220ms ease;
}
.language-switch button[data-lang="en"] { direction: ltr; }
.language-switch button[aria-pressed="true"] { color: #fff; background: transparent; box-shadow: none; }

.header-call {
  min-width: 164px;
  gap: 10px;
  padding: 0 16px;
  color: var(--signal-bright);
}
.header-call svg { flex: 0 0 auto; }
.header-call strong { color: var(--signal-bright); font-size: 14px; }

.hero { min-height: min(860px, 100svh); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .78; }
.hero-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(64px, 7vw, 112px);
  align-items: center;
  direction: ltr;
  z-index: 2;
}
html[dir="ltr"] .hero-copy { grid-column: 1; grid-row: 1; }
html[dir="ltr"] .portrait-wrap { grid-column: 2; grid-row: 1; justify-self: end; }
html[dir="rtl"] .hero-copy { grid-column: 2; grid-row: 1; }
html[dir="rtl"] .portrait-wrap { grid-column: 1; grid-row: 1; justify-self: start; }
html[dir="rtl"] .hero-copy { direction: rtl; }
.hero-copy { width: 100%; max-width: 600px; }
.hero h1 { margin: 0; }
.hero-role { margin-top: 24px; }
.hero-lead { max-width: 620px; margin-top: 22px; }
.portrait-wrap { width: min(34vw, 420px); transition: opacity 120ms ease; }
.portrait-frame { aspect-ratio: 3 / 4; }
.portrait-frame img { object-position: center top; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  width: 100%;
  margin-top: 32px;
}
.contact-card,
.resume-button {
  min-width: 0;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.contact-card svg,
.resume-button svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card span { min-width: 0; overflow-wrap: anywhere; }
.contact-card:hover,
.resume-button:hover { transform: translateY(-2px); border-color: rgba(105,164,255,.6); background: rgba(105,164,255,.09); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.contact-card.whatsapp { border-color: rgba(37,211,102,.42); color: #9af1ba; background: rgba(37,211,102,.08); }
.contact-card.whatsapp svg { fill: currentColor; stroke: none; }
.contact-card.whatsapp:hover { border-color: rgba(37,211,102,.72); background: rgba(37,211,102,.15); box-shadow: 0 12px 34px rgba(37,211,102,.1); }
.contact-card.linkedin { border-color: rgba(10, 102, 194, .52); color: #9acaff; background: rgba(10, 102, 194, .1); }
.contact-card.linkedin svg { fill: currentColor; stroke: none; }
.contact-card.linkedin:hover { border-color: rgba(78, 160, 238, .82); background: rgba(10, 102, 194, .18); box-shadow: 0 12px 34px rgba(10, 102, 194, .14); }
.resume-button { grid-column: auto; min-height: 64px; }
.footer-share-button {
  grid-column: auto;
  width: 100%;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--accent);
  border-color: rgba(105, 164, 255, .38);
  background: linear-gradient(145deg, rgba(105, 164, 255, .13), rgba(105, 164, 255, .045));
}
.footer-share-button:hover { color: var(--text); border-color: rgba(105, 164, 255, .7); background: rgba(105, 164, 255, .16); }

.metrics-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.metric { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.metric:nth-child(-n+2) { border-bottom: 0; }
.metric:nth-child(2) { border-inline-end: 1px solid var(--line); }
.metric:last-child { border-inline-end: 0; }
.narrow { width: min(calc(100% - 40px), var(--shell)); }
.section-heading { position: relative; margin-inline: auto; text-align: center; }
.section-heading > p:last-child { margin-inline: auto; }
.section-index { display: block; margin-bottom: 10px; color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: .18em; }
.focus-control { grid-template-columns: auto minmax(0,1fr); align-items: center; }
.focus-label { white-space: nowrap; }
.job-card { grid-template-columns: minmax(190px,.34fr) minmax(0,1fr); }
.job-role { margin-bottom: 20px; }
.stack-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.stack-card { height: 100%; }
.stack-card h3 { margin-top: 0; }
.tool-logo { width: 30px; height: 30px; flex: 0 0 auto; display: inline-grid; place-items: center; padding: 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.tool-logo img { width: 21px; height: 21px; object-fit: contain; }
.tool-logo.duo { width: 44px; grid-template-columns: repeat(2,1fr); gap: 2px; padding-inline: 3px; }
.tool-logo.duo img { width: 17px; height: 17px; }
.chip { min-height: 48px; padding: 8px 14px; font-size: 14px; }
.foundation-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.foundation-card { height: 100%; }
.foundation-card:last-child { grid-column: auto; }

.contact-inner { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(56px,7vw,110px); }
.contact-copy { max-width: 580px; }
.footer-contact-grid { margin-top: 0; align-self: center; }
.site-footer .footer-inner { justify-content: center; text-align: center; }

.site-footer .footer-inner {
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 6px;
}

.site-footer .footer-inner > span { width: 100%; text-align: center; }

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-legal-links button {
  min-height: 44px;
  appearance: none;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-legal-links button:hover { color: var(--text); }
.footer-legal-links > span { color: rgba(255, 255, 255, .24); }

.floating-call {
  position: fixed;
  isolation: isolate;
  width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(186, 215, 255, .72);
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.2), transparent 23%),
    linear-gradient(145deg, #1d67d6 0%, #0d326f 58%, #081a39 100%);
  color: #fff8df;
  box-shadow:
    0 20px 58px rgba(0,0,0,.5),
    0 0 0 5px rgba(105,164,255,.1),
    0 0 34px rgba(105,164,255,.28),
    inset 0 1px 0 rgba(255,255,255,.24);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(.22,1,.36,1), visibility 220ms, box-shadow 260ms ease, filter 260ms ease;
}

html[dir="rtl"] .floating-call { padding: 0; }

.floating-call::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -6px;
  border-radius: inherit;
  background: conic-gradient(from 20deg, transparent 0 38%, rgba(105,164,255,.95) 47%, #ffdf88 52%, rgba(105,164,255,.88) 58%, transparent 68% 100%);
  opacity: .76;
  animation: callOrbit 5.4s linear infinite;
  transition: opacity 220ms ease, filter 220ms ease;
}

.floating-call::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3px;
  border-radius: inherit;
  background: #0c234d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}

.floating-call svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(255,221,130,.4));
}

body.call-dock-visible .floating-call {
  animation: floatingBeacon 3.6s ease-in-out infinite;
}

body.call-dock-visible .floating-call:hover {
  transform: translateY(-6px) scale(1.1);
  filter: saturate(1.15) brightness(1.08);
  box-shadow:
    0 26px 68px rgba(0,0,0,.56),
    0 0 0 9px rgba(105,164,255,.13),
    0 0 52px rgba(105,164,255,.5),
    inset 0 1px 0 rgba(255,255,255,.3);
  animation-play-state: paused;
}

body.call-dock-visible .floating-call:hover::before {
  opacity: 1;
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(245,196,81,.48));
  animation-duration: 1.15s;
}

body.call-dock-visible .floating-call:hover svg { animation: phoneWiggle 620ms cubic-bezier(.22,1,.36,1); }

@keyframes introSignal {
  0% { opacity: 0; scale: 1 0; }
  35% { opacity: 1; scale: 1 1; }
  100% { opacity: 0; scale: 1 1; }
}
@keyframes phoneWiggle { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }
@keyframes callOrbit { to { transform: rotate(360deg); } }
@keyframes floatingBeacon {
  0%, 100% { box-shadow: 0 20px 58px rgba(0,0,0,.5), 0 0 0 5px rgba(105,164,255,.1), 0 0 30px rgba(105,164,255,.24), inset 0 1px 0 rgba(255,255,255,.24); }
  50% { box-shadow: 0 22px 62px rgba(0,0,0,.52), 0 0 0 8px rgba(105,164,255,.04), 0 0 42px rgba(105,164,255,.4), inset 0 1px 0 rgba(255,255,255,.28); }
}

@media (max-width: 1120px) {
  .hero-grid { gap: 48px; }
  .header-inner { gap: 18px; }
  .desktop-nav { gap: 20px; }
  .header-call { min-width: 150px; padding-inline: 12px; }
  .brand-name { display: none; }
  .contact-card, .resume-button { font-size: 14px; }
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .hero { min-height: auto; padding: calc(var(--header-height) + 64px) 0 76px; }
  .hero-grid { display: flex; flex-direction: column; gap: 64px; }
  .hero-copy { order: 1; max-width: 620px; }
  .portrait-wrap { order: 2; width: min(82vw, 390px); align-self: center; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-contact-grid { max-width: 620px; }
  .foundation-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric:nth-child(2) { border-inline-end: 0; }
}

@media (max-width: 600px) {
  .header-inner { gap: 8px; }
  .brand { min-width: 44px; }
  .brand-mark { width: 42px; height: 42px; }
  .header-actions { gap: 7px; }
  .language-switch { width: 142px; height: 50px; padding: 4px; }
  .language-switch button { padding: 0 6px; font-size: 12.5px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .contact-card, .resume-button { width: 100%; min-height: 60px; padding-inline: 9px; font-size: 12px; }
  .contact-copy {
    max-width: 560px;
    margin-inline: auto;
    text-align: center;
  }
  .contact-inner .contact-copy > p:last-child { margin: 20px auto 0; }
  .resume-button { grid-column: auto; }
  .footer-share-button { grid-column: auto; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric { border-bottom: 1px solid var(--line); }
  .metric:nth-child(even) { border-inline-end: 0; }
  .focus-control { display: block; }
  .focus-label { display: block; margin-bottom: 12px; }
  .job-card { grid-template-columns: 1fr; gap: 18px; }
  .job-meta { padding: 0 0 17px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .job-body { min-width: 0; }
  .foundation-grid, .stack-grid { grid-template-columns: 1fr; }
  .foundation-card:last-child { grid-column: auto; }
  .floating-call { width: 56px; height: 56px; min-height: 56px; inset-inline-end: 14px; inset-block-end: 14px; }
  .intro-name { top: calc(47% + 180px); font-size: clamp(34px,11vw,48px); }
}

@media (max-width: 390px) {
  .shell, .narrow { width: min(calc(100% - 24px), var(--shell)); }
  .brand { display: inline-flex; }
  .header-inner { justify-content: space-between; }
  .header-actions { width: auto; justify-content: flex-end; }
  .language-switch { width: 140px; }
  .contact-card, .resume-button { font-size: 12.5px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-inline-end: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-sequence { display: none; }
  body.intro-running { overflow: auto; }
  body.intro-running .portrait-wrap,
  body.intro-running .hero h1 { opacity: 1; }
}

@media print {
  .intro-sequence, .contact-grid, .floating-call { display: none !important; }
}

/* Focus heading sits on its own centered row in both reading directions. */
.focus-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.focus-label {
  margin: 0 0 14px;
  text-align: center;
}

/* Owner-only content editor, available with ?edit=1. */
.editor-launcher {
  position: fixed;
  z-index: 99;
  inset-inline-start: 50%;
  inset-block-end: 18px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(105, 164, 255, .52);
  border-radius: 999px;
  background: rgba(18, 25, 36, .92);
  color: var(--text);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px) saturate(140%);
  translate: -50% 0;
  cursor: pointer;
  transition: translate 200ms ease, border-color 200ms ease, background 200ms ease;
}

.editor-launcher[hidden] { display: none; }
.editor-launcher:hover { translate: -50% -3px; border-color: var(--accent); background: var(--surface-2); }
.editor-launcher svg { width: 18px; height: 18px; }
body.intro-running .editor-launcher { opacity: 0; pointer-events: none; }

.content-editor {
  width: min(calc(100% - 32px), 940px);
  max-width: none;
  height: min(820px, calc(100dvh - 48px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(105, 164, 255, .38);
  border-radius: 24px;
  background: #10151e;
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
}

.content-editor::backdrop {
  background: rgba(3, 6, 10, .76);
  backdrop-filter: blur(8px);
}

.editor-panel { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.editor-header, .editor-footer { padding: 22px 24px; background: rgba(16, 21, 30, .96); }
.editor-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.editor-eyebrow { margin: 0 0 4px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.editor-header h2 { margin: 0; font-size: clamp(25px, 4vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.editor-header p:last-child { margin: 7px 0 0; max-width: 650px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.editor-icon-button { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; }
.editor-icon-button:hover { border-color: var(--line-strong); background: var(--surface-2); }
.editor-icon-button svg { width: 20px; height: 20px; }

.editor-fields { overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px 28px; scrollbar-color: var(--surface-3) transparent; }
.editor-group { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .018); overflow: clip; }
.editor-group summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 16px; color: var(--text); font-weight: 800; cursor: pointer; }
.editor-group summary::marker { color: var(--accent); }
.editor-group summary span:last-child { color: var(--muted); font-size: 11px; font-weight: 650; }
.editor-group-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 4px 16px 18px; border-top: 1px solid var(--line); }
.editor-field { min-width: 0; display: grid; align-content: start; gap: 7px; padding-top: 14px; }
.editor-field > span { color: var(--muted); font-size: 11px; font-weight: 750; overflow-wrap: anywhere; }
.editor-field textarea {
  width: 100%;
  min-height: 70px;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  direction: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.editor-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(105, 164, 255, .14); }

.editor-footer { border-top: 1px solid var(--line); }
.editor-status { min-height: 20px; margin: 0 0 8px; color: #9af1ba; font-size: 12px; font-weight: 700; }
.editor-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.editor-button { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 800; cursor: pointer; }
.editor-button:hover { border-color: var(--line-strong); background: var(--surface-2); }
.editor-button:disabled { opacity: .48; cursor: wait; }
.editor-button-primary { border-color: var(--accent); background: var(--accent-strong); color: white; }
.editor-button-danger { margin-inline-end: auto; border-color: rgba(255, 105, 105, .34); color: #ffaaaa; }

@media (max-width: 680px) {
  .content-editor { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .editor-header, .editor-footer { padding: 16px; }
  .editor-fields { padding: 12px 14px 22px; }
  .editor-group-fields { grid-template-columns: 1fr; }
  .editor-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-button-danger { margin-inline-end: 0; }
  .editor-button { width: 100%; padding-inline: 9px; }
  .editor-launcher { inset-block-end: 14px; }
}

@media print {
  .editor-launcher, .content-editor { display: none !important; }
}

/* Simple inline owner editor: click highlighted copy and type in place. */
body.owner-edit-enabled { padding-bottom: 112px; }

.inline-editor-toolbar {
  position: fixed;
  z-index: 1200;
  left: 50%;
  right: auto;
  inset-block-end: 14px;
  width: min(calc(100% - 28px), 1040px);
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(105, 164, 255, .44);
  border-radius: 18px;
  background: rgba(14, 19, 28, .94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .52), inset 0 1px rgba(255, 255, 255, .055);
  backdrop-filter: blur(20px) saturate(145%);
  translate: -50% 0;
}

.inline-editor-toolbar[hidden] { display: none; }
.inline-editor-copy { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.inline-editor-copy > span:last-child { display: grid; }
.inline-editor-copy strong { font-size: 13px; line-height: 1.25; }
.inline-editor-copy small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.inline-editor-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 0 5px rgba(73, 209, 125, .12), 0 0 20px rgba(73, 209, 125, .4); }
.inline-editor-toolbar .editor-status { min-height: 18px; margin: 0; text-align: center; }
.inline-editor-toolbar .editor-actions { flex-wrap: nowrap; }

.inline-editable {
  border-radius: 5px;
  outline: 1px dashed rgba(105, 164, 255, .42);
  outline-offset: 4px;
  cursor: text !important;
  transition: outline-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.inline-editable:hover {
  outline-color: rgba(105, 164, 255, .9);
  background: rgba(105, 164, 255, .075);
}

.inline-editable:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  background: rgba(105, 164, 255, .1);
  box-shadow: 0 0 0 7px rgba(105, 164, 255, .09);
}

body.inline-editor-dirty .inline-editor-dot {
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(245, 196, 81, .13), 0 0 20px rgba(245, 196, 81, .38);
}

.inline-editor-toolbar.is-saving .inline-editor-dot { animation: editorSaving 780ms ease-in-out infinite alternate; }
@keyframes editorSaving { to { opacity: .45; scale: .72; } }

@media (max-width: 760px) {
  body.owner-edit-enabled { padding-bottom: 174px; }
  .inline-editor-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 11px;
    border-radius: 16px;
  }
  .inline-editor-copy { justify-content: center; }
  .inline-editor-toolbar .editor-status { position: absolute; inset: auto 12px calc(100% + 8px); padding: 6px 10px; border-radius: 9px; background: var(--surface-2); }
  .inline-editor-toolbar .editor-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .inline-editor-toolbar .editor-button { width: 100%; min-height: 42px; }
  .inline-editor-toolbar .editor-button-danger { margin-inline-end: 0; }
}

@media print {
  .inline-editor-toolbar { display: none !important; }
  body.owner-edit-enabled { padding-bottom: 0; }
  .inline-editable { outline: 0; background: transparent; box-shadow: none; }
}

/* Final mobile contact and scroll-lift intro refinements. */
.email-card span {
  white-space: nowrap;
  overflow-wrap: normal;
}

.share-dialog {
  width: min(calc(100% - 32px), 780px);
  margin: auto;
  padding: clamp(28px, 4vw, 42px);
  overflow: visible;
  border: 1px solid rgba(105, 164, 255, .28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(105, 164, 255, .15), transparent 46%),
    rgba(15, 20, 28, .98);
  color: var(--text);
  box-shadow: 0 32px 110px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
  text-align: center;
}

.share-dialog:not([open]) { display: none; }
.share-dialog::backdrop {
  background: rgba(4, 7, 11, .8);
  backdrop-filter: blur(10px);
}

.share-dialog-close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.share-dialog-close:hover { color: var(--text); border-color: var(--line-strong); background: rgba(105, 164, 255, .1); }
.share-dialog-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.share-dialog-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(105, 164, 255, .4);
  border-radius: 16px;
  background: rgba(105, 164, 255, .12);
  color: var(--accent);
  box-shadow: 0 0 34px rgba(105, 164, 255, .12);
}
.share-dialog-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share-dialog h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.share-dialog > p { margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.share-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.share-option {
  appearance: none;
  font: inherit;
  cursor: pointer;
  min-width: 0;
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
  color: var(--text);
  text-align: start;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.share-option:hover { transform: translateY(-2px); border-color: rgba(105, 164, 255, .45); background: rgba(105, 164, 255, .08); box-shadow: 0 16px 34px rgba(0, 0, 0, .24); }
.share-option-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: rgba(105, 164, 255, .12); color: var(--accent); }
.share-option-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share-option > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.share-option strong { font-size: 15px; }
.share-option small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.share-whatsapp { border-color: rgba(73, 209, 125, .26); }
.share-whatsapp:hover { border-color: rgba(73, 209, 125, .58); background: rgba(73, 209, 125, .08); }
.share-whatsapp .share-option-icon { background: rgba(73, 209, 125, .12); color: var(--positive); }
.share-whatsapp .share-option-icon svg { fill: currentColor; stroke: none; }
.share-copy.is-copied { border-color: rgba(105, 164, 255, .72); background: rgba(105, 164, 255, .14); }
.share-copy.is-copied .share-option-icon { color: #dbeaff; box-shadow: 0 0 24px rgba(105, 164, 255, .2); }
.share-dialog .share-dialog-note { margin-top: 18px; font-size: 11px; }

.legal-dialog {
  position: relative;
  width: min(calc(100% - 32px), 760px);
  max-height: min(86dvh, 820px);
  margin: auto;
  padding: clamp(28px, 4vw, 48px);
  overflow: auto;
  scrollbar-gutter: stable;
  border: 1px solid rgba(105, 164, 255, .28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(105, 164, 255, .13), transparent 38%),
    rgba(15, 20, 28, .99);
  color: var(--text);
  box-shadow: 0 32px 110px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.legal-dialog:not([open]) { display: none; }
.legal-dialog::backdrop {
  background: rgba(4, 7, 11, .82);
  backdrop-filter: blur(10px);
}

.legal-dialog-close {
  position: absolute;
  z-index: 2;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 26, 36, .96);
  color: var(--text-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.legal-dialog-close:hover { color: var(--text); border-color: var(--line-strong); background: rgba(105, 164, 255, .13); }
.legal-dialog-close svg { width: 18px; height: 18px; }

.legal-copy { display: none; clear: both; text-align: start; }
html[lang="he"] .legal-copy[lang="he"],
html[lang="en"] .legal-copy[lang="en"] { display: block; }
.legal-copy h2 {
  max-width: calc(100% - 52px);
  margin: 4px 0 8px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.legal-copy h3 { margin: 28px 0 8px; color: var(--text); font-size: 17px; line-height: 1.35; }
.legal-copy p,
.legal-copy li { color: var(--text-soft); font-size: 14px; line-height: 1.75; }
.legal-copy ul { margin: 10px 0 0; padding-inline-start: 22px; }
.legal-copy li + li { margin-top: 6px; }
.legal-copy a { color: #9bc3ff; text-decoration: underline; text-underline-offset: 3px; }
.legal-copy a:hover { color: #c7ddff; }
.legal-kicker {
  margin: 0;
  color: var(--accent) !important;
  font-size: 11px !important;
  font-weight: 850;
  letter-spacing: .12em;
}
.legal-updated { margin: 0 0 22px; color: var(--muted) !important; font-size: 12px !important; }
.legal-note {
  margin-top: 26px;
  padding: 15px 17px;
  border: 1px solid rgba(105, 164, 255, .2);
  border-radius: 14px;
  background: rgba(105, 164, 255, .07);
}

.intro-sequence {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
  background: #080b10;
  transform: translateY(0);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
  transition: transform 1050ms cubic-bezier(.76, 0, .2, 1), box-shadow 900ms ease;
  will-change: transform;
}

.intro-sequence::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal), var(--accent), transparent);
  box-shadow: 0 0 30px rgba(105, 164, 255, .48);
}

.intro-curtain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 38%, rgba(105, 164, 255, .19), transparent 29rem),
    radial-gradient(circle at 24% 76%, rgba(245, 196, 81, .07), transparent 24rem),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    #080b10;
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
  opacity: 1;
  filter: none;
  transition: opacity 700ms ease, filter 700ms ease;
}

.intro-signal {
  position: absolute;
  inset: 0;
  opacity: .52;
  scale: 1;
  background: linear-gradient(105deg, transparent 32%, rgba(105, 164, 255, .08) 49.8%, rgba(105, 164, 255, .28) 50%, transparent 50.2%);
  transform: translateX(-42%);
  animation: introSweep 6s ease-in-out infinite;
}

.intro-stage {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 980px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
  direction: ltr;
}

.intro-portrait {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  width: min(40vw, 470px);
  justify-self: center;
  aspect-ratio: 1007 / 1562;
  overflow: visible;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(22px) scale(.93);
  transition: opacity 720ms ease, filter 900ms ease, transform 1050ms cubic-bezier(.16, 1, .3, 1);
}

.intro-portrait::before {
  content: "";
  position: absolute;
  inset: 8% -30% 36%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(105, 164, 255, .42), transparent 52%),
    radial-gradient(ellipse at 42% 42%, rgba(245, 196, 81, .12), transparent 48%);
  filter: blur(22px);
  opacity: .68;
  animation: introHaloDrift 6.8s ease-in-out infinite;
  will-change: transform, opacity;
}

.intro-portrait::after {
  content: "";
  position: absolute;
  inset: 8% -17% 6%;
  z-index: -1;
  border: 1px solid rgba(105, 164, 255, .34);
  border-inline-color: rgba(245, 196, 81, .18);
  border-radius: 50%;
  transform: rotate(-11deg);
  box-shadow: inset 0 0 55px rgba(105, 164, 255, .05), 0 0 38px rgba(105, 164, 255, .09);
  animation: introOrbitPulse 4.8s ease-in-out infinite;
}

.intro-portrait img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .54)) drop-shadow(0 0 24px rgba(105, 164, 255, .12));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, .94) 79%, rgba(0, 0, 0, .54) 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, .94) 79%, rgba(0, 0, 0, .54) 90%, transparent 100%);
}

.intro-leg-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: url("assets/aharon-intro-cutout-v2.webp") center bottom / contain no-repeat;
  filter: blur(7px);
  opacity: .72;
  transform: translateY(2px) scale(1.008);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 73%, rgba(0, 0, 0, .3) 80%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 73%, rgba(0, 0, 0, .3) 80%, #000 91%, transparent 100%);
}

.intro-copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(24px);
  transition: opacity 680ms ease, filter 760ms ease, transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.intro-name {
  position: static;
  width: auto;
  max-width: 620px;
  color: var(--text);
  font-family: "Archivo Black", "Manrope", sans-serif;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .95;
  letter-spacing: -.05em;
  text-align: start;
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.intro-role {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 9px;
  max-width: none;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: clamp(14px, 1.45vw, 20px);
  line-height: 1.55;
  font-weight: 700;
  white-space: nowrap;
}

[data-role-title] { unicode-bidi: plaintext; }
[data-role-title] .role-separator { display: inline-block; color: var(--accent); opacity: .74; }
[data-role-title] bdi { unicode-bidi: isolate; }
html[lang="he"] [data-role-title] { direction: rtl; text-align: right; }
html[lang="he"] [data-role-title] .role-secondary {
  display: inline-flex;
  direction: rtl;
}
html[lang="he"] [data-role-title] .role-secondary bdi { margin-inline: 0; }
.hero-role {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 9px;
  white-space: nowrap;
}

html[dir="rtl"] .intro-portrait { grid-column: 1; }
html[dir="rtl"] .intro-copy { grid-column: 2; direction: rtl; }
html[dir="rtl"] .intro-name {
  font-family: "Heebo", sans-serif;
  font-weight: 900;
  letter-spacing: -.04em;
}

.intro-scroll-cue {
  position: absolute;
  inset: auto 50% 30px auto;
  z-index: 3;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(105, 164, 255, .28);
  border-radius: 999px;
  background: rgba(20, 25, 35, .78);
  backdrop-filter: blur(14px);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  opacity: 0;
  transform: translate(50%, 12px);
  transition: opacity 500ms ease, transform 600ms cubic-bezier(.16, 1, .3, 1), border-color 180ms ease, background 180ms ease;
}

.intro-scroll-cue svg {
  width: 18px;
  height: 18px;
  animation: introArrow 1.45s ease-in-out infinite;
}

.intro-scroll-cue:hover { border-color: var(--accent); background: rgba(105, 164, 255, .12); }
.intro-sequence.is-portrait-visible .intro-portrait { opacity: 1; filter: blur(0); transform: none; }
.intro-sequence.is-portrait-visible .intro-portrait img { animation: introBodyFloat 5.2s ease-in-out infinite; }
.intro-sequence.is-portrait-visible .intro-leg-fade { animation: introLegFloat 5.2s ease-in-out infinite; }
.intro-sequence.is-name-visible .intro-copy { opacity: 1; filter: blur(0); transform: none; }
.intro-sequence.is-name-visible .intro-scroll-cue { opacity: 1; transform: translate(50%, 0); }
.intro-sequence.is-lifting { transform: translateY(-100%); box-shadow: 0 44px 120px rgba(0, 0, 0, .75); }
.intro-sequence.is-lifting .intro-curtain { opacity: .82; filter: blur(9px); }
.intro-sequence.is-lifting .intro-scroll-cue { opacity: 0; }

body.intro-running { overflow: hidden; }
html.intro-active { overflow: hidden; }
html.js body.intro-running .portrait-wrap,
html.js body.intro-running .hero h1 { opacity: 1 !important; }

@keyframes introSweep {
  0%, 18% { transform: translateX(-42%); opacity: 0; }
  48% { opacity: .6; }
  82%, 100% { transform: translateX(42%); opacity: 0; }
}

@keyframes introArrow {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

@keyframes introOrbitPulse {
  0%, 100% { transform: rotate(-11deg) scale(.98); opacity: .55; }
  50% { transform: rotate(-7deg) scale(1.035); opacity: 1; }
}

@keyframes introHaloDrift {
  0%, 100% { transform: translate3d(-5%, 2%, 0) scale(.94); opacity: .48; }
  48% { transform: translate3d(7%, -3%, 0) scale(1.08); opacity: .8; }
}

@keyframes introBodyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes introLegFloat {
  0%, 100% { transform: translateY(2px) scale(1.008); }
  50% { transform: translateY(-5px) scale(1.008); }
}

@media (max-width: 600px) {
  .share-launcher {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
  }
  .share-launcher span { display: none; }
  .share-options { grid-template-columns: 1fr; }
  .share-option { min-height: 86px; }
  .share-dialog { padding: 32px 20px 24px; border-radius: 20px; }
  .legal-dialog { width: min(calc(100% - 20px), 760px); max-height: 90dvh; padding: 22px 18px 28px; border-radius: 20px; }
  .legal-copy h2 { font-size: 31px; }
  .legal-copy h3 { margin-top: 24px; }
  .legal-copy p,
  .legal-copy li { font-size: 13.5px; line-height: 1.7; }

  .email-card {
    gap: 4px;
    padding-inline: 5px;
  }
  .email-card svg { width: 16px; height: 16px; }
  .email-card span {
    font-size: clamp(10.6px, 3.08vw, 12px);
    letter-spacing: -.04em;
  }

  .intro-stage {
    width: min(calc(100% - 36px), 430px);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 25px;
    text-align: center;
  }
  .intro-portrait,
  html[dir="rtl"] .intro-portrait {
    grid-column: 1;
    grid-row: 1;
    width: min(90vw, 350px);
  }
  .intro-copy,
  html[dir="rtl"] .intro-copy {
    grid-column: 1;
    grid-row: 2;
    direction: inherit;
  }
  .intro-name {
    max-width: none;
    font-size: clamp(39px, 12vw, 54px);
    text-align: center;
  }
  .intro-role {
    max-width: 360px;
    margin: 15px auto 0;
    justify-content: center;
    gap: 3px;
    font-size: clamp(13.5px, 4.15vw, 16px);
    line-height: 1.5;
    letter-spacing: -.02em;
  }
  .intro-role { align-items: center; text-align: center; }
  .hero-role {
    align-items: center;
    gap: 3px;
    font-size: clamp(14px, 4.2vw, 16.5px);
    letter-spacing: -.02em;
  }
  html[lang="he"] .hero-role { direction: rtl; text-align: right; }
  .intro-scroll-cue { inset-block-end: max(18px, env(safe-area-inset-bottom)); }
}

@media (max-width: 340px) {
  .intro-role { font-size: 13.2px; }
  .hero-role { font-size: 13.6px; }
}

@media (max-width: 600px) and (max-height: 720px) {
  .intro-stage { gap: 18px; }
  .intro-portrait,
  html[dir="rtl"] .intro-portrait { width: min(65vw, 250px); }
  .intro-name { font-size: clamp(35px, 10vw, 46px); }
  .intro-role { margin-top: 10px; font-size: 13.2px; }
  .intro-scroll-cue { min-height: 42px; inset-block-end: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-sequence { display: none; }
  html.intro-active,
  body.intro-running { overflow: auto; }
}

@media print {
  .legal-dialog { display: none !important; }
}
