/* SITRUK & Co — design tokens come from src/theme.mjs (injected as --t-* by build.mjs).
   Logical properties throughout so one stylesheet serves RTL (he) and LTR (fr). */
:root {
  --bg: var(--t-bg); --bg-warm: var(--t-bg2); --bg-sand: var(--t-bg3); --surface: var(--t-surface);
  --ink: var(--t-ink); --ink-2: var(--t-ink2); --muted: var(--t-muted); --dim: var(--t-dim);
  --gold-text: var(--t-goldText); --gold: var(--t-gold); --gold-1: var(--t-gold1); --gold-2: var(--t-gold2); --gold-3: var(--t-gold3);
  --line: var(--t-line); --on-gold: var(--t-onGold);
  --dark: var(--t-dark); --dark-ink: var(--t-darkInk); --dark-muted: var(--t-darkMuted); --dark-gold: var(--t-darkGold); --dark-line: var(--t-darkLine);
  --paper: #FFFFFF; /* handwritten notes stay on white paper in every palette */
  --serif: var(--display-font), 'Frank Ruhl Libre', 'Times New Roman', serif;
  --sans: 'Noto Sans Hebrew', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--gold) 60%, transparent); text-underline-offset: .2em; }
a:hover { color: var(--gold-text); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr-num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--bg); }
main:focus { outline: none; }

/* ---------- type ---------- */
.display { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.2rem); }
.h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); }
.h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.kicker { display: flex; align-items: center; gap: 12px; font: 600 .8125rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 18px; }
[lang="he"] .kicker, .kicker:lang(he) { letter-spacing: .04em; font-size: .9rem; }
.kicker a { text-decoration: none; }
.kicker-line { width: 36px; height: 1px; background: var(--gold); flex: none; transform-origin: inline-start; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.rule { display: block; height: 1px; width: 100%; max-width: 160px; background: linear-gradient(90deg, var(--gold-3), var(--gold-1)); margin-top: 28px; transform-origin: left; }
[dir="rtl"] .rule { background: linear-gradient(270deg, var(--gold-3), var(--gold-1)); transform-origin: right; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s; position: relative; overflow: hidden; }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-gold { background: var(--gold-text); color: var(--on-gold); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,240,215,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold-text) 86%, var(--ink)); color: var(--on-gold); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--gold-text) 70%, transparent); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: color-mix(in srgb, var(--ink) 85%, var(--gold-text)); color: var(--bg); }
.btn-ghost { border-color: var(--line); background: var(--bg); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-text); }
.ic { width: 22px; height: 22px; flex: none; }
.ic-arrow { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }
[dir="rtl"] .ic-back, .ic-back { transform: scaleX(-1); }
[dir="rtl"] .ic-back { transform: none; }
a:hover .ic-arrow { transform: translateX(4px); }
[dir="rtl"] a:hover .ic-arrow { transform: scaleX(-1) translateX(4px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-text); text-decoration: none; margin-top: 36px; min-height: 44px; }
.text-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
/* blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; view-transition-name: site-header; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: auto; aspect-ratio: 406 / 310; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.2rem/1.1 var(--serif); letter-spacing: .02em; direction: ltr; }
.brand-sub { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink-2); position: relative; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: inline-start; transition: transform .35s var(--ease-out); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--gold-text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.lang-switch:hover { border-color: var(--gold); }
.btn-call { min-height: 44px; padding: 8px 16px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 50%; width: 20px; height: 1.5px; background: var(--ink); transform: translateX(-50%); transition: transform .3s var(--ease-out), opacity .2s; }
.menu-lines { top: 50%; } .menu-lines::before, .menu-lines::after { content: ""; left: 0; transform: none; }
.menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .btn-call { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-btn { display: block; }
  .brand-mark { width: 40px; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 24px var(--gutter) 120px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transition: opacity .3s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { font: 600 1.6rem/1.3 var(--serif); padding: 18px 0; }
  .main-nav a::after { display: none; }
  .header-actions { margin-inline-start: auto; }
  html:not(.js) .main-nav { position: static; visibility: visible; opacity: 1; padding: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: 10px; }
  html:not(.js) .main-nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .main-nav a { font: 500 1rem var(--sans); padding: 8px 10px; }
  html:not(.js) .menu-btn { display: none; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, var(--bg-warm) 0%, var(--bg) 55%); overflow: hidden; }
[dir="rtl"] .hero { background: radial-gradient(120% 90% at 15% 10%, var(--bg-warm) 0%, var(--bg) 55%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 64px); min-height: min(86svh, 820px); padding-block: clamp(40px, 7vw, 96px); }
.hero-title { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5.6rem); line-height: 1.04; margin: 0 0 28px; font-weight: 700; }
.hl { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em .12em; margin-block: -.06em -.12em; }
.hl-in { display: inline-block; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 44ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 40px; font-size: .92rem; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 22px; }
.hero-facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin-inline-start: -14px; }
.hero-emblem { position: relative; display: grid; place-items: center; }
.hero-emblem::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(216, 154, 86, .16), rgba(216, 154, 86, 0) 65%); filter: blur(10px); }
.emblem { width: min(100%, 470px); height: auto; overflow: visible; position: relative; }
.em-stroke { fill: none; stroke: var(--gold-3); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0; }
.em-fill { transform-box: fill-box; }
.em-piece { transform-box: view-box; }
.em-shine { opacity: 0; }
.hero-scroll { position: absolute; bottom: 22px; inset-inline-start: 50%; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.hero-scroll span { position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 28px 64px; gap: 8px; }
  .hero-emblem { order: -1; justify-self: start; width: 132px; }
  .hero-emblem::before { width: 140%; }
  .hero-scroll { display: none; }
  .hero-title { margin-bottom: 20px; }
}

/* hero entrance — pure CSS so it runs before any script (fast LCP) */
@media (prefers-reduced-motion: no-preference) {
  .hl-in { animation: hl-up 1s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .11s); }
  .hero-kicker, .hero-lead, .hero-actions, .hero-facts { animation: rise .9s var(--ease-out) both; } /* transform only: text paints at once (LCP) */
  .hero-kicker { animation-delay: .05s; } .hero-lead { animation-delay: .5s; } .hero-actions { animation-delay: .62s; } .hero-facts { animation-delay: .74s; }
  .hero-kicker .kicker-line { animation: grow-x 1s var(--ease-out) .2s both; }
  .em-stroke { opacity: 1; stroke-dashoffset: 1; animation: draw 1.25s cubic-bezier(.65, 0, .35, 1) .15s forwards, fade-out .5s ease 2s forwards; }
  .em-b .em-stroke { animation-delay: .35s, 2s; }
  .em-a { animation: merge-a 1s var(--ease-out) .95s both; }
  .em-b { animation: merge-b 1s var(--ease-out) .95s both; }
  .em-fill { animation: pour 1s cubic-bezier(.65, 0, .35, 1) 1.35s both; }
  .em-b .em-fill { animation-delay: 1.45s; }
  .em-shine { animation: shine 1.4s cubic-bezier(.45, 0, .2, 1) 2.35s both; }
  .hero-scroll span { animation: scroll-hint 2.2s var(--ease-out) 2.6s infinite; }
}
@keyframes hl-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes merge-a { from { transform: translate(-22px, 14px); } to { transform: none; } }
@keyframes merge-b { from { transform: translate(22px, -14px); } to { transform: none; } }
@keyframes pour { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes shine { 0% { opacity: 1; transform: translateX(0) skewX(-18deg); } 100% { opacity: 1; transform: translateX(760px) skewX(-18deg); } }
@keyframes scroll-hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section.alt, .statement-sec, .notes-sec { background: var(--bg-warm); }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .rule { margin-top: 20px; }
.page-head { padding-block: clamp(48px, 8vw, 112px) clamp(32px, 4vw, 56px); background: linear-gradient(180deg, var(--bg-warm), var(--bg)); }
.page-head .display { max-width: 18ch; }
.page-head .lead { margin-top: 8px; max-width: 60ch; }

/* statement */
.statement-sec { padding-block: clamp(72px, 11vw, 160px); }
.statement-sec.small { padding-block: clamp(56px, 8vw, 110px); }
.statement { font: 600 clamp(1.7rem, 1rem + 3.1vw, 3.5rem)/1.28 var(--serif); max-width: 24ch; margin: 0 0 clamp(36px, 5vw, 64px); color: var(--ink); text-wrap: balance; }
.statement .gold-word { color: var(--gold-text); }
.approach { max-width: 62ch; margin-inline-start: auto; color: var(--ink-2); }
.approach .h3 { color: var(--ink); }
.principles { max-width: 62ch; color: var(--ink-2); }

/* practice cards */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; border-top: 1px solid var(--line); }
.practice-card { border-bottom: 1px solid var(--line); }
.practice-card + .practice-card { border-inline-start: 1px solid var(--line); }
.practice-card a { display: flex; flex-direction: column; height: 100%; padding: 36px clamp(20px, 2.4vw, 36px) 32px; text-decoration: none; color: var(--ink); position: relative; isolation: isolate; transition: color .3s; }
.practice-card a::before { content: ""; position: absolute; inset: 0; background: var(--bg-warm); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.practice-card a:hover::before { transform: scaleY(1); }
.pc-num { font: 500 .95rem var(--serif); color: var(--gold-text); margin-bottom: 40px; letter-spacing: .06em; }
.pc-title { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); margin-bottom: 14px; }
.practice-card p { color: var(--muted); flex: 1; }
.pc-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-text); margin-top: 12px; }
@media (max-width: 860px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card + .practice-card { border-inline-start: 0; }
  .pc-num { margin-bottom: 16px; }
}

/* person */
.person { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.person + .person { margin-top: clamp(64px, 8vw, 120px); }
.people .person:nth-child(even) { grid-template-columns: 1fr minmax(220px, 380px); }
.people .person:nth-child(even) .person-photo { order: 2; }
.person-photo { position: relative; overflow: hidden; border-radius: 2px; background: var(--bg-sand); }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.photo-frame { position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.person-role { color: var(--gold-text); font-weight: 600; margin-top: -4px; }
.person-text p:not(.person-role) { color: var(--ink-2); max-width: 60ch; }
.annie-line { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.annie-line a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-text); font-weight: 600; text-decoration: none; min-height: 44px; }
@media (max-width: 760px) {
  .person { grid-template-columns: 1fr; }
  .person-photo { max-width: 340px; }
  .people .person:nth-child(even) { grid-template-columns: 1fr; }
  .people .person:nth-child(even) .person-photo { order: 0; }
}

/* quote */
.quote-sec { padding-block: clamp(72px, 10vw, 140px); text-align: center; position: relative; }
.quote { margin: 0 auto; max-width: 880px; }
.quote blockquote { margin: 0; }
.quote p { font: 400 clamp(1.6rem, 1.1rem + 2.2vw, 2.8rem)/1.3 var(--serif); font-style: italic; margin: 0 0 22px; }
[lang="he"] .quote p { font-style: normal; }
.quote p::before { content: ""; display: block; width: 1px; height: 56px; margin: 0 auto 28px; background: linear-gradient(var(--gold-1), var(--gold-3)); }
.quote figcaption { color: var(--muted); letter-spacing: .06em; }

/* notes (testimonials) */
.notes-sec { padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.notes-head { margin-bottom: 40px; }
.notes-note { color: var(--muted); max-width: 60ch; font-size: .95rem; }
.notes-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 18px 34px; }
.notes-viewport::-webkit-scrollbar { display: none; }
.notes-track { display: flex; gap: clamp(18px, 2.4vw, 36px); padding-inline: var(--gutter); width: max-content; }
.notes-track .note { width: clamp(260px, 30vw, 400px); flex: none; scroll-snap-align: center; }
.note { list-style: none; transform: rotate(var(--r)); transition: transform .5s var(--ease-out); }
.note:hover, .note:focus-within { transform: rotate(0) translateY(-6px); }
.note-link { display: block; background: var(--paper); padding: 14px 14px 12px; box-shadow: 0 1px 2px rgba(30, 26, 22, .06), 0 18px 40px -22px rgba(30, 26, 22, .35); text-decoration: none; color: var(--ink); border-radius: 2px; }
/* no aspect-ratio override: the width/height attributes must reserve the space, or lazy images measure 0px tall
   and the pinned strip below is sized (and clipped) before they load */
.note-link img { width: 100%; height: auto; background: var(--paper); }
.note-cap { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: .86rem; color: var(--muted); }
.note-open { color: var(--gold-text); font-weight: 600; white-space: nowrap; }
.notes-grid { columns: 3 300px; column-gap: 28px; }
.notes-grid .note { break-inside: avoid; margin-bottom: 30px; }
.notes-sec .text-link { margin-top: 8px; }
.js .notes-sec.is-pinned .notes-viewport { overflow: visible; scroll-snap-type: none; }
/* pinned (desktop): the whole section fits under the sticky header, cards sized by viewport height */
.js .notes-sec.is-pinned { height: calc(100svh - var(--header-h) - 1px); display: flex; flex-direction: column; justify-content: center; padding-block: 20px; }
.js .notes-sec.is-pinned .notes-head { margin-bottom: 8px; }
.js .notes-sec.is-pinned .notes-head .h2 { margin-bottom: .3em; }
.js .notes-sec.is-pinned .notes-viewport { padding-block: 14px 22px; }
.js .notes-sec.is-pinned .notes-track .note { width: auto; }
.js .notes-sec.is-pinned .note-link img { height: clamp(220px, calc(100svh - var(--header-h) - 400px), 440px); width: auto; max-width: min(620px, 55vw); object-fit: contain; }

/* note dialog */
.note-dialog { border: 0; padding: 0; width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--bg); color: var(--ink); border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); overflow: auto; }
.note-dialog::backdrop { background: rgba(30, 26, 22, .62); backdrop-filter: blur(4px); }
.note-dialog[open] { animation: dlg-in .45s var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.nd-inner { display: grid; grid-template-columns: 1.5fr 1fr; position: relative; }
.nd-figure { margin: 0; padding: clamp(14px, 3vw, 36px); background: var(--bg-warm); display: grid; place-items: center; }
.nd-figure img { width: 100%; height: auto; max-height: calc(100dvh - 120px); object-fit: contain; background: var(--paper); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .4); }
.nd-text { padding: clamp(24px, 3vw, 44px); padding-top: 64px; }
.nd-text p { font-size: 1.05rem; }
.nd-cap { color: var(--gold-text); font-weight: 600; }
.nd-hint { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.nd-close { position: absolute; top: 10px; inset-inline-end: 10px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.nd-close:hover { border-color: var(--gold); }
@media (max-width: 760px) { .nd-inner { grid-template-columns: 1fr; } .nd-text { padding-top: 24px; } }

/* articles */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; list-style: none; }
.article-card a { display: flex; flex-direction: column; height: 100%; padding: 30px 28px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s; }
.article-card a:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(30, 26, 22, .45); }
.ac-cat { font-size: .82rem; color: var(--gold-text); font-weight: 600; margin-bottom: 18px; }
.ac-title { font-size: 1.4rem; margin-bottom: 12px; }
.article-card p { color: var(--muted); flex: 1; font-size: .97rem; }

.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-1)); transform: scaleX(var(--p, 0)); transform-origin: left; }
[dir="rtl"] .progress span { transform-origin: right; }
@supports (animation-timeline: scroll()) {
  .progress span { animation: grow-x linear both; animation-timeline: scroll(root); }
}
.article-head .display { max-width: 22ch; font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
.article-meta { color: var(--muted); font-size: .92rem; }
.prose { font-size: 1.1rem; line-height: 1.8; padding-block: 24px 16px; }
.prose h2 { font-size: 1.55rem; margin: 1.8em 0 .6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose .disclaimer { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 32px; }
.prose a { color: var(--gold-text); }
.lexicon { margin: 0; }
.lex-item { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 8px 32px; }
.lex-item dt { display: flex; flex-direction: column; gap: 2px; }
.lex-he { align-self: flex-start; font: 700 1.3rem/1.3 var(--serif); color: var(--ink); }
.lex-tr { font-weight: 600; color: var(--gold-text); }
.lex-fr { color: var(--muted); font-size: .95rem; }
.lex-item dd { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .lex-item { grid-template-columns: 1fr; } }
.article-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.article-foot .text-link { margin-top: 0; }

/* practice pages */
.pgroup { padding-block: 28px; border-bottom: 1px solid var(--line); }
.pgroup:first-child { padding-top: 0; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 30px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 16px; height: 1px; background: var(--gold); }
.check-list.cols { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px 40px; margin-top: 24px; }
.note-box { margin-top: 36px; padding: 26px 28px; background: var(--bg-warm); border-inline-start: 2px solid var(--gold); }
.note-box p { margin: 0; color: var(--ink-2); }
.closing { margin-top: 32px; color: var(--muted); }
.other-practice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; }
.other-practice a { display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--line); text-decoration: none; font: 700 1.2rem var(--serif); color: var(--ink); min-height: 44px; }
.other-practice a .ic-arrow { margin-inline-start: auto; color: var(--gold-text); }
.other-practice a:hover { border-color: var(--gold); }
.other-practice .pc-num { margin: 0; }
@media (max-width: 640px) { .other-practice { grid-template-columns: 1fr; } }

/* contact */
.contact-sec { background: var(--bg); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.big-phone { font: 700 clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem)/1.1 var(--serif); color: var(--ink); text-decoration: none; margin: 10px 0 24px; letter-spacing: .01em; }
.big-phone:hover { color: var(--gold-text); }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { color: var(--gold-text); margin-top: 4px; }
.contact-list li > span { display: flex; flex-direction: column; }
.cl-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
[lang="he"] .cl-label { letter-spacing: .02em; font-size: .85rem; }
.contact-list a { text-decoration-color: var(--line); }
.contact-list .strong { font-weight: 700; font-size: 1.15rem; }
.cl-links { display: flex; flex-direction: row !important; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.cl-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-text); font-weight: 600; min-height: 44px; }
.cl-links .ic { width: 18px; height: 18px; margin: 0; }
.contact-page .btn-lg { margin-bottom: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--bg-warm); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; flex: 1; }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.field-row .field { min-width: 200px; }
.field label { font-weight: 600; font-size: .95rem; }
.req { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; min-height: 48px; border: 1px solid color-mix(in srgb, var(--line) 60%, var(--muted)); border-radius: var(--radius); background: var(--surface); color: var(--ink); width: 100%; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-text); outline-offset: 1px; border-color: var(--gold-text); }
.hp { position: absolute; inset-inline-start: -9999px; }
.privacy { font-size: .88rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--dark); color: var(--dark-ink); padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset-inline-end: -8%; top: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(216, 154, 86, .22), transparent 65%); pointer-events: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .h2 { color: var(--dark-ink); margin-bottom: 8px; }
.cta-band p { color: var(--dark-muted); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-gold { background: var(--dark-gold); color: var(--dark); }
.cta-band .btn-gold:hover { background: color-mix(in srgb, var(--dark-gold) 80%, #fff); color: var(--dark); }
.cta-band .btn-ghost { background: transparent; color: var(--dark-ink); border-color: var(--dark-line); }
.cta-band .btn-ghost:hover { border-color: var(--dark-gold); color: var(--dark-gold); }

/* footer */
.site-footer { background: var(--bg-warm); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 28px; position: relative; overflow: hidden; }
.footer-mark { position: absolute; inset-inline-end: -4%; bottom: -12%; width: min(52vw, 560px); opacity: .9; pointer-events: none; }
.fm-path { fill: none; stroke: color-mix(in srgb, var(--gold) 28%, var(--bg-warm)); stroke-width: 1; vector-effect: non-scaling-stroke; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 36px; position: relative; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 18px; }
.brand-lg .brand-mark { width: 56px; }
.footer-phone { font: 700 1.6rem var(--serif); text-decoration: none; color: var(--ink); }
.footer-links { list-style: none; display: grid; gap: 2px; }
.footer-links a { display: inline-block; padding: 8px 0; text-decoration: none; color: var(--ink-2); min-height: 44px; }
.footer-links a:hover { color: var(--gold-text); }
.contact-list-footer { gap: 14px; font-size: .95rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); position: relative; }
.footer-bottom p { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* sticky call bar (mobile) */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar { position: fixed; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; background: var(--gold-text); color: var(--on-gold); font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(60, 38, 10, .55); transition: transform .4s var(--ease-out), opacity .3s; }
  .callbar:hover { color: var(--on-gold); }
  .callbar.is-hidden { transform: translateY(140%); opacity: 0; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.nf-mark { width: 120px; margin: 0 auto 24px; }
.nf .lead { margin-inline: auto; }

/* ---------- motion helpers (JS adds initial states; without JS everything is visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .28s ease both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
  ::view-transition-group(site-header) { animation-duration: 0s; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .em-stroke, .em-shine { display: none; }
  .note { transform: none; }
}
@media print { .site-header, .callbar, .site-footer, .cta-band, .hero-emblem { display: none; } }

/* ═════════════════════════════════════════════════════════════════════════
   UPGRADE LAYER (Oct 2026) — "quiet luxury": type scale, stage, stats, map.
   Everything reads theme tokens; switch looks in src/theme.mjs.
   ═════════════════════════════════════════════════════════════════════════ */
body { line-height: 1.75; }
h1, h2, h3 { font-family: var(--serif); font-weight: var(--display-weight, 400); letter-spacing: var(--display-tracking, -.015em); line-height: 1.08; }
h3, .h3 { font-weight: calc(var(--display-weight, 400) + 100); }
.display { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.6rem); line-height: 1.02; }
.h2 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.9rem); line-height: 1.06; }
.kicker { font-size: .74rem; letter-spacing: .24em; font-weight: 600; }
[lang="he"] .kicker, .kicker:lang(he) { font-size: .86rem; letter-spacing: .06em; }
.kicker-line { width: 44px; }
.section { padding-block: clamp(88px, 12vw, 176px); }
.lead, .hero-lead { color: var(--muted); }
.rule { max-width: 120px; }

/* grain (decorative, pointer-free, static) */
html[data-fx~="grain"] body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-scheme="dark"][data-fx~="grain"] body::after { opacity: .09; filter: invert(1); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(110% 80% at 80% 0%, var(--bg-warm) 0%, var(--bg) 60%); }
[dir="rtl"] .hero { background: radial-gradient(110% 80% at 20% 0%, var(--bg-warm) 0%, var(--bg) 60%); }
.hero-grid { grid-template-columns: 1.08fr .92fr; min-height: min(92svh, 920px); padding-block: clamp(32px, 6vw, 88px); }
.hero-title { font-size: clamp(2.7rem, 1rem + 5.6vw, 6.6rem); line-height: .98; font-weight: var(--display-weight, 400); margin-bottom: 32px; }
[lang="he"] .hero-title { line-height: 1.04; }
.hero-title .hl:last-child .hl-in { color: var(--gold-text); }
.hero-lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); max-width: 42ch; }

.hero-stage { position: relative; width: min(100%, 540px); aspect-ratio: 4 / 5; justify-self: center; isolation: isolate; }
.stage-arch { position: absolute; inset: 4% 6% 0; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-sand) 100%); border: 1px solid var(--line); z-index: -1; }
.stage-arch::after { content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-bottom: 0; }
.stage-floor { position: absolute; inset-inline: 6%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.stage-poster, .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-poster img { width: 100%; height: 100%; object-fit: contain; }
.stage-canvas { opacity: 0; transition: opacity .3s ease; }
.hero-stage.is-live .stage-canvas { opacity: 1; }
.hero-stage.is-live .stage-poster { opacity: 0; transition: opacity .3s ease .1s; }
@media (prefers-reduced-motion: no-preference) {
  .stage-arch { animation: arch-in 1.4s var(--ease-out) .05s both; }
  .stage-poster { animation: poster-in 1.2s var(--ease-out) .35s both; }
}
@keyframes arch-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes poster-in { from { transform: translateY(18px) scale(.97); } to { transform: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 0; padding-block: 16px 64px; }
  .hero-stage { order: -1; width: min(56vw, 210px); aspect-ratio: 1 / 1; justify-self: center; margin-bottom: 4px; }
  .stage-arch { inset: 2% 10% 0; }
}
/* headline reveal variants (hero lines are real HTML → visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  html[data-headline="fade-up"] .hl-in { animation-name: fade-up; }
  html[data-headline="none"] .hl-in { animation: none; }
}

/* ---------- stats band ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.stat { padding: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 28px); display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat-num { font: var(--display-weight, 400) clamp(2.6rem, 1.8rem + 2.6vw, 4.4rem)/1 var(--serif); color: var(--ink); letter-spacing: var(--display-tracking); font-variant-numeric: lining-nums tabular-nums; }
.stat-label { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- practice cards ---------- */
.pc-num { font: var(--display-weight, 400) 2.6rem/1 var(--serif); color: var(--gold-text); letter-spacing: 0; margin-bottom: 36px; }
.practice-card a { padding-block: 44px 36px; }

/* ---------- person: layered parallax ---------- */
.person-photo { overflow: visible; background: none; }
.pp-back { position: absolute; inset-block: 28px -28px; inset-inline: 28px -28px; background: var(--bg-sand); z-index: -1; }
.pp-img { position: relative; overflow: hidden; background: var(--bg-sand); }
.pp-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; will-change: transform; }
.person-photo .photo-frame { inset-block: -16px 16px; inset-inline: -16px 16px; border-color: color-mix(in srgb, var(--gold) 70%, transparent); z-index: 1; }
.person { isolation: isolate; }

/* ---------- map ---------- */
.contact-sec .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: center; }
.contact-sec .contact-list { margin-top: 32px; }
.map { position: relative; margin: 0; }
.map-frame { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg-warm); aspect-ratio: 1000 / 802; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-sea { fill: var(--bg-sand); }
.m-coast { fill: none; stroke: color-mix(in srgb, var(--gold) 55%, transparent); stroke-width: 1.4; }
.m-r { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-r0 { stroke: color-mix(in srgb, var(--ink) 34%, var(--bg-warm)); stroke-width: 2.6; }
.m-r1 { stroke: color-mix(in srgb, var(--ink) 26%, var(--bg-warm)); stroke-width: 1.8; }
.m-r2 { stroke: color-mix(in srgb, var(--ink) 18%, var(--bg-warm)); stroke-width: 1.2; }
.m-r3 { stroke: color-mix(in srgb, var(--ink) 11%, var(--bg-warm)); stroke-width: .8; }
.m-route { fill: none; stroke: var(--gold-text); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.m-route-glow { fill: none; stroke: color-mix(in srgb, var(--gold) 30%, transparent); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.m-pin-dot { fill: var(--gold-text); stroke: var(--bg); stroke-width: 3; }
.m-pin-ring { fill: none; stroke: var(--gold-text); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .map.is-drawn .m-pin-ring { animation: pin-pulse 2s var(--ease-out) 3; }
}
@keyframes pin-pulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.4); } }
.map-label { position: absolute; transform: translate(-50%, calc(-100% - 22px)); background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; box-shadow: 0 16px 30px -22px rgba(0, 0, 0, .45); white-space: nowrap; font-size: .9rem; line-height: 1.4; text-align: center; }
.map-label strong { display: block; font: 600 1rem/1.3 var(--serif); }
.map-label::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: inherit; border: inherit; border-top: 0; border-left: 0; transform: translateX(-50%) rotate(45deg); }
.map-attr { margin-top: 8px; font-size: .78rem; color: var(--muted); }
.map-attr a { color: inherit; }
@media (max-width: 860px) { .contact-sec .contact-grid { grid-template-columns: 1fr; } .map-label { font-size: .8rem; padding: 7px 10px; } }

/* ---------- reduced motion: keep fades, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .stage-canvas { display: none; }
}
@media (max-width: 760px) {
  .pp-back { inset-block: 14px -14px; inset-inline: 14px -14px; }
  .person-photo .photo-frame { inset-block: -10px 10px; inset-inline: -10px 10px; }
  .person-photo { margin-inline: 14px; }
}

/* ═════════════ DANIEL'S PICKS (7.10.2026): ב3 curtain · ד3 stack · ה1 magnetic · ה2 tilt · ה3 link lines ═════════════ */

/* ב3 — headline curtain opens in reading direction, then a gold underline draws in.
   Hidden state applies only once main.js is running (html.motion-ok) or, for the hero, via CSS on load. */
html[data-headline="curtain"] .hl-in { animation: none !important; }
@media (prefers-reduced-motion: no-preference) {
  html[data-headline="curtain"] .hero-title { animation: curtain-ltr 1.35s var(--ease-out) .15s both; }
  html[dir="rtl"][data-headline="curtain"] .hero-title { animation-name: curtain-rtl; }
  html[data-headline="curtain"].motion-ok [data-split]:not(.is-in) { clip-path: inset(-.25em 100% -.35em -.1em); }
  html[dir="rtl"][data-headline="curtain"].motion-ok [data-split]:not(.is-in) { clip-path: inset(-.25em -.1em -.35em 100%); }
  html[data-headline="curtain"] [data-split].is-in { clip-path: inset(-.25em -.1em -.35em -.1em); transition: clip-path 1.25s var(--ease-out); }
  html[data-headline="curtain"].motion-ok .rule[data-uline]:not(.is-in) { transform: scaleX(0); }
  html[data-headline="curtain"] .rule[data-uline].is-in { transform: scaleX(1); transition: transform 1s var(--ease-out) .65s; }
}
@keyframes curtain-ltr { from { clip-path: inset(-.25em 100% -.35em -.1em); } to { clip-path: inset(-.25em -.1em -.35em -.1em); } }
@keyframes curtain-rtl { from { clip-path: inset(-.25em -.1em -.35em 100%); } to { clip-path: inset(-.25em -.1em -.35em -.1em); } }
.hero-uline { display: block; width: 96px; height: 2px; background: var(--gold); margin: -8px 0 30px; transform-origin: left; }
[dir="rtl"] .hero-uline { transform-origin: right; }
@media (prefers-reduced-motion: no-preference) { .hero-uline { animation: grow-x 1s var(--ease-out) 1.15s both; } }
html[data-headline="curtain"] .hero-title .hl:last-child .hl-in { color: var(--gold-text); }
.hero-title { font-weight: var(--display-weight, 400); }

/* Suez One is a heavy display face: give it air */
html[data-palette="navy-stone"] h1, html[data-palette="navy-stone"] h2, html[data-palette="navy-stone"] h3 { line-height: 1.12; }
html[data-palette="navy-stone"] .hero-title { line-height: 1.06; font-size: clamp(2.5rem, 1rem + 5vw, 6rem); }
html[data-palette="navy-stone"] .statement { font-family: var(--serif); font-weight: 400; }
html[data-palette="navy-stone"] .stage-arch { background: linear-gradient(180deg, var(--surface) 0%, var(--bg-sand) 100%); }

/* ד3 — practice areas as sticky stacked cards */
.pstack { list-style: none; display: flex; flex-direction: column; gap: 9vh; padding-bottom: 4vh; }
.pstack-card { position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 18px); height: min(66vh, 560px); border-radius: 4px; overflow: hidden; transform-origin: 50% 0; box-shadow: 0 -12px 40px -18px rgba(18, 32, 58, .45); will-change: transform; }
.pstack-card a { position: relative; display: block; height: 100%; color: #FFFFFF; text-decoration: none; isolation: isolate; }
.pstack-card a:hover { color: #FFFFFF; }
.pstack-img, .pstack-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pstack-card a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 24, 44, .18) 0%, rgba(14, 24, 44, .55) 45%, rgba(14, 24, 44, .92) 100%); }
.pstack-body { position: absolute; inset-inline: 0; bottom: 0; padding: clamp(24px, 4vw, 56px); max-width: 760px; }
.pstack-body .pc-num { color: var(--dark-gold); margin-bottom: 12px; display: block; font-size: 2.2rem; }
.pstack-body .pc-title { color: #FFFFFF; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.4rem); margin-bottom: 10px; }
.pstack-body p { color: #E4E7EE; font-size: 1.08rem; margin-bottom: 18px; }
.pstack-body .pc-more { color: var(--dark-gold); }
.pstack-card a:focus-visible { outline-offset: -6px; outline-color: #FFFFFF; }
@media (max-width: 700px), (max-height: 620px) {
  .pstack { gap: 16px; }
  .pstack-card { position: relative; top: auto; height: auto; min-height: 380px; transform: none !important; filter: none !important; box-shadow: none; }
  .pstack-card a { min-height: 380px; }
}

/* ה1 magnetic · ה2 tilt+glare · ה3 gold link underlines — desktop pointer only, never under reduced motion */
[data-tilt] { position: relative; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-magnetic] { transition: transform .45s var(--ease-out), background-color .25s, box-shadow .25s; will-change: transform; }
  [data-tilt] { transition: transform .5s var(--ease-out); transform-style: preserve-3d; }
  [data-tilt]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .32), transparent 55%); opacity: var(--go, 0); transition: opacity .35s; }
  html[data-fx~="linkLines"] .main-nav a::after, html[data-fx~="linkLines"] .text-link::after, html[data-fx~="linkLines"] .footer-links a::after, html[data-fx~="linkLines"] .annie-line a::after, html[data-fx~="linkLines"] .cl-links a::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
  }
  html[data-fx~="linkLines"] .main-nav a::after { inset-inline: 12px; }
  html[data-fx~="linkLines"] .main-nav a:hover::after, html[data-fx~="linkLines"] .text-link:hover::after, html[data-fx~="linkLines"] .footer-links a:hover::after, html[data-fx~="linkLines"] .annie-line a:hover::after, html[data-fx~="linkLines"] .cl-links a:hover::after,
  html[data-fx~="linkLines"] .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  html[dir="rtl"][data-fx~="linkLines"] .main-nav a::after, html[dir="rtl"][data-fx~="linkLines"] .text-link::after, html[dir="rtl"][data-fx~="linkLines"] .footer-links a::after, html[dir="rtl"][data-fx~="linkLines"] .annie-line a::after, html[dir="rtl"][data-fx~="linkLines"] .cl-links a::after { transform-origin: left; }
  html[dir="rtl"][data-fx~="linkLines"] .main-nav a:hover::after, html[dir="rtl"][data-fx~="linkLines"] .text-link:hover::after, html[dir="rtl"][data-fx~="linkLines"] .footer-links a:hover::after, html[dir="rtl"][data-fx~="linkLines"] .annie-line a:hover::after, html[dir="rtl"][data-fx~="linkLines"] .cl-links a:hover::after,
  html[dir="rtl"][data-fx~="linkLines"] .main-nav a[aria-current="page"]::after { transform-origin: right; }
  html[data-fx~="linkLines"] .text-link, html[data-fx~="linkLines"] .footer-links a, html[data-fx~="linkLines"] .annie-line a, html[data-fx~="linkLines"] .cl-links a { position: relative; text-decoration: none; }
  html[data-fx~="linkLines"] .text-link:hover { text-decoration: none; }
}

.map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--gold-text); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold-text), 0 6px 14px -4px rgba(0, 0, 0, .4); }

/* call buttons: label and number never break inside themselves; on narrow screens the number moves to its own line */
.btn > span, .callbar > span { white-space: nowrap; }
@media (max-width: 420px) {
  .hero-actions .btn-lg, .cta-band .btn-lg, .contact-page .btn-lg { flex-wrap: wrap; row-gap: 0; column-gap: 10px; padding-block: 10px; text-align: center; }
  .hero-actions .btn-lg .ltr-num, .cta-band .btn-lg .ltr-num { flex-basis: 100%; text-align: center; font-size: 1.12rem; }
}

/* ═════════════════════════════════════════════════════════════════════════
   LOOK "imk" (7.10.2026 evening) — Daniel: "בהשראת imk.ca".
   Light grey page + white panels, charcoal ink, teal accent, Geist (fr) / Noto Sans Hebrew (he),
   full-bleed Ashdod drone video hero, the office logo redrawn in gold.  Off when THEME.look = 'classic'.
   ═════════════════════════════════════════════════════════════════════════ */
html[data-look="imk"] {
  --serif: var(--display-font), 'Noto Sans Hebrew', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --sans: var(--body-font), 'Noto Sans Hebrew', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 0px;
  --gold-bright: linear-gradient(100deg, #C2954A 0%, #EBD08C 34%, #C99B4E 58%, #F2DFA6 82%, #CDA25A 100%);
  --gold-deep: linear-gradient(100deg, #8A6320 0%, #B4883A 40%, #8F6824 70%, #A57C32 100%);
}
html[data-look="imk"] body { line-height: 1.65; font-size: 1.02rem; }
html[data-look="imk"]:lang(fr) body { letter-spacing: -0.01em; }
html[data-look="imk"] h1, html[data-look="imk"] h2, html[data-look="imk"] h3 { font-weight: 400; line-height: 1.06; }
html[data-look="imk"] h3, html[data-look="imk"] .h3 { font-weight: 500; }
html[data-look="imk"] .h2 { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.5rem); line-height: 1.08; }
html[data-look="imk"] .display { font-size: clamp(2.4rem, 1.2rem + 4vw, 5rem); }
html[data-look="imk"] .kicker { font: 500 .78rem/1.4 var(--sans); letter-spacing: .14em; color: var(--gold-text); }
html[data-look="imk"] .kicker:lang(he), html[data-look="imk"][lang="he"] .kicker { font-size: .92rem; letter-spacing: .02em; }
html[data-look="imk"] .rule { background: var(--gold); height: 2px; max-width: 64px; }
html[data-look="imk"] .btn { font-weight: 500; letter-spacing: .01em; }
html[data-look="imk"] .btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
html[data-look="imk"] .section { padding-block: clamp(72px, 10vw, 150px); }

/* ---------- gold logo (live text: sharp at any size) ---------- */
.logo { display: inline-flex; text-decoration: none; flex: none; }
.logo-lock { display: inline-flex; flex-direction: column; align-items: flex-end; direction: ltr; line-height: 1; }
.logo-name, .logo-sub, .logo-he { background: var(--gold-deep); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.logo-name { font: 300 1.72rem/1 'Geist', var(--sans); letter-spacing: .035em; }
.logo-name i, .logo-sub i { font-style: normal; font-family: 'Frank Ruhl Libre', Georgia, serif; font-weight: 500; }
.logo-sub { font: 400 .8rem/1 'Geist', var(--sans); letter-spacing: .04em; margin-top: 3px; }
.logo-rule { align-self: stretch; height: 1px; background: var(--gold-deep); margin: 5px 0 4px; }
.logo-he { font: 400 .86rem/1 'Noto Sans Hebrew', sans-serif; letter-spacing: 0; align-self: stretch; text-align: right; }
.logo-he b { font-weight: 700; }
.logo:hover .logo-lock { filter: brightness(1.12); }
.brand-lg .logo-name { font-size: 2.2rem; }
.brand-lg .logo-sub { font-size: 1rem; margin-top: 5px; }
.brand-lg .logo-he { font-size: 1.04rem; }
.brand-lg .logo-rule { margin: 8px 0 7px; }
html[data-look="imk"] .footer-mark { display: none; }
@media (max-width: 900px) { .logo-name { font-size: 1.4rem; } .logo-sub { font-size: .68rem; } .logo-he { font-size: .72rem; } }
@media (max-width: 420px) { .logo-name { font-size: 1.25rem; } .logo-sub, .logo-he { font-size: .64rem; } }

/* ---------- header over the video (home) ---------- */
html[data-hero="video"] .page-home .site-header { position: fixed; top: 0; inset-inline: 0; }
.site-header::before { transition: opacity .35s ease; }
.site-header.on-video:not(:has(.main-nav.is-open))::before { opacity: 0; }
.site-header.on-video:not(:has(.main-nav.is-open)) { border-bottom-color: transparent; }
.site-header.on-video:not(:has(.main-nav.is-open)) .logo-name,
.site-header.on-video:not(:has(.main-nav.is-open)) .logo-sub,
.site-header.on-video:not(:has(.main-nav.is-open)) .logo-he,
.site-header.on-video:not(:has(.main-nav.is-open)) .logo-rule { background-image: var(--gold-bright); }
.site-header.on-video:not(:has(.main-nav.is-open)) .logo-lock { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .35)); }
.site-header.on-video:not(:has(.main-nav.is-open)) .main-nav a { color: #FFFFFF; }
.site-header.on-video:not(:has(.main-nav.is-open)) .main-nav a::after { background: #FFFFFF; }
.site-header.on-video:not(:has(.main-nav.is-open)) .lang-switch { color: #FFFFFF; border-color: rgba(255, 255, 255, .5); }
.site-header.on-video:not(:has(.main-nav.is-open)) .btn-call { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); color: #FFFFFF; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.site-header.on-video:not(:has(.main-nav.is-open)) .menu-btn { background: rgba(0, 0, 0, .15); border-color: rgba(255, 255, 255, .5); }
.site-header.on-video:not(:has(.main-nav.is-open)) .menu-lines,
.site-header.on-video:not(:has(.main-nav.is-open)) .menu-lines::before,
.site-header.on-video:not(:has(.main-nav.is-open)) .menu-lines::after { background: #FFFFFF; }
.site-header.on-video .main-nav a:focus-visible, .site-header.on-video .header-actions a:focus-visible, .site-header.on-video .logo:focus-visible { outline-color: #FFFFFF; }

/* ---------- video hero ---------- */
.vhero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #FFFFFF; overflow: hidden; background: #1C2427; isolation: isolate; }
.vhero-media { position: absolute; inset: 0; z-index: -1; }
.vhero-poster, .vhero-poster img, .vhero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero-video { opacity: 0; transition: opacity 1s ease; }
.vhero.is-playing .vhero-video { opacity: 1; }
.vhero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(12, 17, 19, .55) 0%, rgba(12, 17, 19, .08) 24%, rgba(12, 17, 19, .12) 50%, rgba(12, 17, 19, .74) 100%); }
.vhero-inner { position: relative; display: grid; grid-template-columns: minmax(190px, 1fr) 3fr; gap: clamp(24px, 4vw, 72px); align-items: end; padding-block: calc(var(--header-h) + 48px) clamp(96px, 13vh, 140px); }
.vhero-kicker { font-size: .98rem; line-height: 1.5; color: rgba(255, 255, 255, .92); max-width: 30ch; margin-bottom: 14px; }
.vhero-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .86rem; color: rgba(255, 255, 255, .78); }
.vhero-facts li { display: flex; align-items: center; gap: 16px; }
.vhero-facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-1); margin-inline-start: -10px; }
.vhero .hero-title { color: #FFFFFF; font-size: clamp(2.6rem, .9rem + 5.6vw, 6.2rem); line-height: 1.01; margin: 0 0 34px; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
[lang="he"] .vhero .hero-title { line-height: 1.08; }
html[data-look="imk"] .vhero .hero-title .hl:last-child .hl-in { color: #FFFFFF; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #FFFFFF; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.vhero .btn:focus-visible, .vhero-toggle:focus-visible, .vhero-down:focus-visible { outline-color: #FFFFFF; }
.vhero-toggle, .vhero-down { position: absolute; bottom: clamp(24px, 4vh, 40px); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .18); color: #FFFFFF; display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: background-color .25s, color .25s; }
.vhero-toggle { inset-inline-end: var(--gutter); }
.vhero-down { inset-inline-end: calc(var(--gutter) + 60px); }
.vhero-toggle:hover, .vhero-down:hover { background: #FFFFFF; color: var(--ink); }
.vhero-down .ic { width: 20px; height: 20px; transform: rotate(90deg); }
[dir="rtl"] .vhero-down .ic { transform: rotate(90deg) scaleY(-1); }
.vt-icon { position: relative; width: 12px; height: 14px; }
.vt-icon::before, .vt-icon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: currentColor; }
.vt-icon::before { left: 0; } .vt-icon::after { right: 0; }
.vhero-toggle.is-paused .vt-icon::before { width: 0; height: 0; left: 2px; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.vhero-toggle.is-paused .vt-icon::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .vhero-side { animation: rise .9s var(--ease-out) .5s both; }
  .vhero .hero-actions { animation: rise .9s var(--ease-out) .7s both; }
  .vhero-poster img { animation: slow-zoom 14s ease-out both; }
}
@keyframes slow-zoom { from { transform: scale(1.06); } to { transform: none; } }
@media (max-width: 900px) {
  .vhero-inner { grid-template-columns: 1fr; gap: 18px; padding-block: calc(var(--header-h) + 32px) 104px; }
  .vhero-side { order: -1; }
  .vhero-kicker { margin-bottom: 8px; }
  .vhero .hero-title { margin-bottom: 26px; }
}
@media (max-width: 560px) {
  .vhero { min-height: calc(100svh - 0px); }
  .vhero-facts { display: none; }
  .vhero .hero-actions { flex-direction: column; align-items: stretch; }
  .vhero-toggle, .vhero-down { bottom: 20px; }
}

/* ---------- intro (lead + philosophy + the 3D notary stamp) ---------- */
html[data-look="imk"] .statement-sec { background: var(--bg); }
.intro-lead { font: 400 clamp(1.2rem, 1rem + .9vw, 1.75rem)/1.4 var(--serif); letter-spacing: var(--display-tracking); color: var(--ink); max-width: 34ch; margin-bottom: clamp(48px, 7vw, 96px); }
.intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
html[data-look="imk"] .intro-sec .statement { font-weight: 400; font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem); line-height: 1.2; max-width: 22ch; }
html[data-look="imk"] .statement .gold-word { color: var(--gold-text); }
.intro-sec .approach { margin-inline-start: 0; }
.intro-sec .hero-stage { width: min(100%, 460px); aspect-ratio: 4 / 5; order: 0; justify-self: center; margin: 0; }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-sec .hero-stage { width: min(76vw, 340px); aspect-ratio: 4 / 5; justify-self: center; }
}

/* ---------- IMK panels: white cards on the grey page ---------- */
html[data-look="imk"] .person-sec > .wrap { background: var(--surface); padding-block: clamp(32px, 5vw, 80px); max-width: calc(var(--wrap) + 2 * var(--gutter)); }
html[data-look="imk"] .person-photo { background: var(--bg-sand); border-radius: 0; }
html[data-look="imk"] .photo-frame { display: none; }
html[data-look="imk"] .article-card a { border-color: transparent; background: var(--surface); }
html[data-look="imk"] .article-card a:hover { border-color: var(--gold); box-shadow: none; }
html[data-look="imk"] .notes-sec, html[data-look="imk"] .section.alt { background: var(--surface); }
html[data-look="imk"] .pstack-card { border-radius: 0; box-shadow: 0 -12px 40px -18px rgba(20, 26, 28, .45); }
html[data-look="imk"] .pstack-card a::after { background: linear-gradient(180deg, rgba(16, 22, 24, .1) 0%, rgba(16, 22, 24, .5) 45%, rgba(16, 22, 24, .9) 100%); }
html[data-look="imk"] .pstack-body .pc-num { font-family: var(--sans); font-weight: 300; }
html[data-look="imk"] .quote p { font-style: normal; font-weight: 300; }
html[data-look="imk"] .big-phone { font-weight: 300; letter-spacing: -.02em; }
html[data-look="imk"] .footer-phone { font-weight: 400; }
html[data-look="imk"] .site-footer { background: var(--surface); }
html[data-look="imk"] .main-nav a { font-weight: 400; }
@media (max-width: 900px) { html[data-look="imk"] .main-nav a { font: 400 1.6rem/1.3 var(--serif); } }

/* ═════════════════════════════════════════════════════════════════════════
   7.10.2026 evening (2) — Daniel: nav row in the middle, the office logo in 3D gold as the hero,
   his name in French + "Avocat & Notaire" under it (the S/handshake mark, gold with shading — not 3D), matte dark navy instead of teal.
   ═════════════════════════════════════════════════════════════════════════ */
/* matte accent: no shine sweep, no glow */
html[data-look="imk"] .btn-gold::after { display: none; }
html[data-look="imk"] .btn-gold:hover { box-shadow: none; }

/* header: logo · nav centred · actions */
@media (min-width: 1181px) {
  html[data-look="imk"] .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  html[data-look="imk"] .header-inner > .logo { justify-self: start; }
  html[data-look="imk"] .main-nav { margin: 0; justify-self: center; }
  html[data-look="imk"] .header-actions { justify-self: end; }
}
/* on the home video the big 3D logo is the logo: the small one waits until the header turns solid */
html[data-hero="video"] .site-header .logo { transition: opacity .35s ease, visibility 0s; }
html[data-hero="video"] .site-header.on-video:not(:has(.main-nav.is-open)) .logo { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }

/* hero: centred identity */
.vhero.vhero { align-items: center; }
.vhero-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: calc(var(--header-h) + 40px) clamp(110px, 15vh, 150px); }
.vhero-id { margin: 0 0 clamp(28px, 4.5vh, 44px); display: flex; flex-direction: column; align-items: center; font-weight: 400; }
.vhero-name { font: 300 clamp(1.5rem, 1rem + 2.2vw, 2.9rem)/1.1 'Geist', var(--sans); letter-spacing: .02em; color: #FFFFFF; margin-top: clamp(4px, 1vh, 12px); text-shadow: 0 2px 24px rgba(0, 0, 0, .4); }
.vhero-role { font: 400 clamp(.82rem, .7rem + .5vw, 1.1rem)/1.3 'Geist', var(--sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .88); margin-top: 14px; display: inline-flex; align-items: center; gap: 18px; }
.vhero-role::before, .vhero-role::after { content: ""; width: clamp(28px, 5vw, 64px); height: 1px; background: rgba(255, 255, 255, .55); }
.vhero-role i { font-style: normal; font-family: 'Frank Ruhl Libre', Georgia, serif; letter-spacing: 0; }
.vhero-center .hero-actions { justify-content: center; }
.vhero-center .vhero-facts { justify-content: center; margin-top: clamp(22px, 3.5vh, 34px); }
@media (prefers-reduced-motion: no-preference) {
  .vhero-name { animation: rise .9s var(--ease-out) 1.1s both; }
  .vhero-role { animation: rise .9s var(--ease-out) 1.3s both; }
  .vhero-center .hero-actions { animation: rise .9s var(--ease-out) 1.5s both; }
  .vhero-center .vhero-facts { animation: rise .9s var(--ease-out) 1.7s both; }
}
@media (max-width: 700px) {
  .vhero-role { letter-spacing: .2em; gap: 12px; }
  .vhero-center { padding-block: calc(var(--header-h) + 24px) 96px; }
}
@media (max-width: 560px) {
  .vhero-center .hero-actions { align-self: stretch; }
  .vhero-center .vhero-facts { display: none; }
}
.vhero:has(.vhero-center) .vhero-shade { background:
  radial-gradient(ellipse 70% 55% at 50% 50%, rgba(10, 16, 26, .42) 0%, rgba(10, 16, 26, 0) 100%),
  linear-gradient(180deg, rgba(10, 16, 26, .55) 0%, rgba(10, 16, 26, .18) 26%, rgba(10, 16, 26, .2) 60%, rgba(10, 16, 26, .7) 100%); }
.vhero-toggle[hidden] { display: none; }

/* the office mark (S / handshake) in gold — the two halves meet once, like a handshake */
.hero-mark-wrap { display: block; }
.hero-mark { display: block; width: clamp(170px, 12vw + 110px, 300px); height: auto; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mark .hm-a { animation: hm-in-a 1.2s var(--ease-out) .25s both; }
  .hero-mark .hm-b { animation: hm-in-b 1.2s var(--ease-out) .25s both; }
}
@keyframes hm-in-a { from { opacity: 0; transform: translate(-46px, -18px); } to { opacity: 1; transform: none; } }
@keyframes hm-in-b { from { opacity: 0; transform: translate(46px, 18px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .hero-mark { width: min(48vw, 200px); } }

/* ---------- 7.10.2026 evening (4): matte gold mark + gold name; scroll-driven stamp ---------- */
.vhero-name, .vhero-role { color: #C9A45F; }
.vhero-role::before, .vhero-role::after { background: color-mix(in srgb, #C9A45F 70%, transparent); }
/* the stamp canvas overhangs its stage upward and sideways, so the stamp can glide in from above the frame */
/* (a canvas is a replaced element: it needs explicit width/height, insets alone won't stretch it) */
.hero-stage .stage-canvas { inset: -60% auto auto -20%; width: 140%; height: 160%; pointer-events: none; }
.intro-sec { overflow-x: clip; }
/* 7.10.2026 (5): stamp alone on the page — no arch frame, no floor line */
.intro-sec .stage-arch, .intro-sec .stage-floor { display: none; }

/* 7.10.2026 night (7): classic gold (gradient) on the name/role, bolder and more prominent (Daniel) */
.vhero-name, .vhero-role { background: linear-gradient(135deg, #F3D98B, #D1A443 45%, #A07624 80%, #DDB65A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vhero-name { font-weight: 500; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .45)); text-shadow: none; }
.vhero-role { font-weight: 600; font-size: clamp(.9rem, .75rem + .6vw, 1.25rem); filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .5)); }
.vhero-role::before, .vhero-role::after { background: #D1A443; height: 1.5px; }

/* 7.10.2026 night (8): champagne gold (Daniel) */
.vhero-name, .vhero-role { background-image: linear-gradient(135deg, #EFDDA6, #D4B26B 45%, #B08A45 80%, #D9BC7C); }
.vhero-role::before, .vhero-role::after { background: #D4B26B; }

/* the video plays clean, full quality; when the mouse comes onto it the shade fades in and the mark, name and details appear
   (phones: only when the video is tapped — Daniel 7.10; until then the sticky call bar is shown). Gated by .js (set first thing in <head>, so nothing flashes then fades) — no JS, no hiding. */
.js .vhero[data-hover-reveal] .vhero-shade { opacity: 0; transition: opacity 1.4s ease; }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) .vhero-shade { opacity: 1; }
.js .vhero[data-hover-reveal] :is(.hero-mark-wrap, .vhero-name, .vhero-role, .hero-actions, .vhero-facts) {
  animation: none !important; opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js .vhero[data-hover-reveal] .hero-actions { pointer-events: none; }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) :is(.hero-mark-wrap, .vhero-name, .vhero-role, .hero-actions, .vhero-facts) { opacity: 1; transform: none; }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) .hero-actions { pointer-events: auto; }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) .hero-mark-wrap { transition-delay: .2s; }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) .vhero-name { transition-delay: .55s; }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) .vhero-role { transition-delay: .7s; }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) .hero-actions { transition-delay: .9s; }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) .vhero-facts { transition-delay: 1.1s; }
/* the two halves of the S slide together — the handshake */
.js .vhero[data-hover-reveal] .hero-mark :is(.hm-a, .hm-b) { animation: none !important; transition: transform 1.3s var(--ease-out) .2s; }
.js .vhero[data-hover-reveal] .hero-mark .hm-a { transform: translate(-60px, -24px); }
.js .vhero[data-hover-reveal] .hero-mark .hm-b { transform: translate(60px, 24px); }
.js .vhero[data-hover-reveal]:is(.is-revealed, :focus-within) .hero-mark :is(.hm-a, .hm-b) { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .vhero[data-hover-reveal] :is(.hero-mark-wrap, .vhero-name, .vhero-role, .hero-actions, .vhero-facts), .js .vhero[data-hover-reveal] .hero-mark :is(.hm-a, .hm-b) { transform: none; transition: opacity .4s ease; transition-delay: 0s !important; }
}

/* phones: while the call bar shows over the clean video, lift the pause / scroll-down buttons above it */
@media (max-width: 900px) {
  .vhero-toggle, .vhero-down { transition: bottom .4s var(--ease-out), background-color .25s, color .25s; }
  .callbar-on .vhero-toggle, .callbar-on .vhero-down { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
