/* ============================================================
   Viki Nahshonov & Co. — flagship scroll-story
   Palette: ink base · brass accent · parchment contrast
   ============================================================ */
@property --scene-hue { syntax: '<number>'; inherits: true; initial-value: 215; }

:root {
  --scene-hue: 215;
  --ink: #0b0e14;
  --ink-2: #10141d;
  --ink-3: #171d29;
  --paper: #f4efe4;
  --paper-2: #eae3d2;
  --brass: #c9a45c;
  --brass-2: #e6c987;
  --ember: #c75b39;
  --wa: #22c15e;
  --txt: #ece7db;
  --txt-dim: #a7abb5;
  --txt-dark: #171410;
  --txt-dark-dim: #5c564a;
  --radius: 18px;
  --font-display: 'Suez One', serif;
  --font-body: 'Heebo', sans-serif;
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--txt);
  overflow-x: clip;            /* never hidden — sticky pins would break */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

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

/* ===== Mesh background (pre-faded radial gradients, NO filter:blur) ===== */
/* fixed height (lvh) so iOS toolbar collapse can't resize the background */
.mesh { position: fixed; top: 0; inset-inline: 0; height: 100vh; height: 100lvh; z-index: -2; overflow: clip; background: var(--ink); }
.mesh-blob { position: absolute; width: 68vmax; height: 68vmax; border-radius: 50%; will-change: transform; }
.mesh-a { top: -28vmax; inset-inline-start: -14vmax;
  background: radial-gradient(circle, hsla(calc(var(--scene-hue)), 45%, 34%, .30) 0%, hsla(calc(var(--scene-hue)), 45%, 34%, 0) 62%); }
.mesh-b { bottom: -30vmax; inset-inline-end: -18vmax;
  background: radial-gradient(circle, hsla(calc(var(--scene-hue) + 50), 55%, 30%, .24) 0%, hsla(calc(var(--scene-hue) + 50), 55%, 30%, 0) 62%); }
.mesh-c { top: 28%; inset-inline-start: 32%; width: 46vmax; height: 46vmax;
  background: radial-gradient(circle, hsla(calc(var(--scene-hue) - 35), 60%, 42%, .13) 0%, hsla(calc(var(--scene-hue) - 35), 60%, 42%, 0) 60%); }
.mesh, .mesh-blob { transition: none; }
body { --scene-hue: 215; }
/* hue morph animation only on desktop — on mobile it repaints three
   full-screen gradients per frame for ~1s and causes scroll jank */
@media (pointer: fine) and (min-width: 861px) {
  body { transition: --scene-hue .9s ease; }
}

.grain { position: fixed; top: -50%; inset-inline: -50%; height: 200vh; height: 200lvh; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ===== Typography ===== */
.sec-kicker { font-size: 13px; letter-spacing: .35em; text-transform: uppercase; color: var(--brass); font-weight: 700; margin-bottom: 14px; }
.sec-title { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 54px); line-height: 1.22; font-weight: 400; margin-bottom: 26px; }
.sec-title.dark { color: var(--txt-dark); }
.brass { color: var(--brass); }
.brass-dark { color: #9a7838; }

/* ===== Header ===== */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 90; height: var(--header-h);
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transform: translateY(0); transition: transform .35s ease, background .35s ease; }
.site-header.hidden { transform: translateY(-100%); }
.header-inner { max-width: 1280px; margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 26px; padding-inline: clamp(16px, 3vw, 40px); }
.header-brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.header-logo { width: 44px; height: auto; }
.header-name { font-family: var(--font-display); font-size: 17px; letter-spacing: .02em; white-space: nowrap; }
.header-name small { color: var(--brass); font-size: 12px; }
.header-nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 500; color: var(--txt-dim); }
.header-nav a { position: relative; padding-block: 6px; transition: color .25s; }
.header-nav a:hover, .header-nav a.active { color: var(--txt); }
.header-nav a::after { content: ''; position: absolute; bottom: 0; inset-inline: 0; height: 2px; background: var(--brass); transform: scaleX(0); transition: transform .3s ease; }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--brass); color: var(--ink); font-weight: 700; font-size: 14.5px; padding: 9px 18px; border-radius: 99px; transition: background .25s; white-space: nowrap; }
.header-cta:hover { background: var(--brass-2); }
.burger { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--txt); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile menu ===== */
.mobile-menu { position: fixed; inset: 0; z-index: 85; background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px;
  opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 28px; opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; transition-delay: calc(var(--mi) * 60ms); }
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu-contact { display: flex; gap: 14px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 99px; font-weight: 700; padding: 13px 26px; font-size: 15.5px; position: relative; overflow: hidden; transition: transform .25s ease, background .25s, color .25s, border-color .25s; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-2); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.28); color: var(--txt); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-2); }
.btn-wa { background: var(--wa); color: #06240f; }
.btn::before { content: ''; position: absolute; top: 0; height: 100%; width: 40%; inset-inline-start: -60%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); }
.js-anim .btn:hover::before { animation: shine .8s ease; }
@keyframes shine { to { inset-inline-start: 130%; } }
.btn-pulse { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--brass); opacity: 0; pointer-events: none; }
.js-anim .btn-pulse { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.18); opacity: 0; } }

/* ===== Hero ===== */
.hero { min-height: 100svh; display: grid; place-items: center; position: relative; padding: calc(var(--header-h) + 40px) 20px 80px; text-align: center; overflow-x: clip; }
.hero-stage { max-width: 900px; display: flex; flex-direction: column; align-items: center; will-change: transform, opacity; }
.hero-logo { width: clamp(190px, 26vw, 300px); height: auto; margin-bottom: 10px;
  filter: drop-shadow(0 6px 30px rgba(201, 164, 92, .25)); }
.hero-kicker { font-size: 14px; letter-spacing: .42em; color: var(--brass); font-weight: 500; margin-bottom: 26px; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 6.2vw, 72px); line-height: 1.18; margin-bottom: 22px; }
.hero-title .w { display: inline-block; }
.js-anim .hero-title .w { opacity: 0; transform: translateY(26px); filter: blur(6px); animation: wordin .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.15s + var(--wd) * 90ms); }
@keyframes wordin { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--txt-dim); max-width: 560px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-badges li { font-size: 13.5px; font-weight: 500; color: var(--txt-dim); border: 1px solid rgba(255,255,255,.14); border-radius: 99px; padding: 7px 16px; background: rgba(255,255,255,.03); }
.scroll-hint { position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.25); border-radius: 16px; }
.scroll-hint span { position: absolute; top: 7px; inset-inline-start: 50%; width: 4px; height: 8px; margin-inline-start: -2px; border-radius: 4px; background: var(--brass); }
.js-anim .scroll-hint span { animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } }

/* Reveal-blur entrances (gated by .js-anim) */
.js-anim .reveal, .js-anim .reveal-blur { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease; }
.js-anim .reveal-blur { filter: blur(8px); }
.js-anim .reveal.in, .js-anim .reveal-blur.in { opacity: 1; transform: none; filter: blur(0); }

/* ===== Watermark numbers ===== */
.wm { position: absolute; top: 8%; inset-inline-end: 2%; z-index: -1; font-family: var(--font-display);
  font-size: clamp(140px, 26vw, 340px); line-height: 1; color: rgba(255,255,255,.035); pointer-events: none; will-change: transform; }
.wm-dark { color: rgba(0,0,0,.045); }

/* ===== Marquee ===== */
.marquee { overflow: clip; padding-block: 26px; border-block: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.015); }
.marquee-track { display: flex; white-space: nowrap; will-change: transform; font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 38px); color: rgba(255,255,255,.16); }
.marquee-track span { padding-inline-end: 12px; }

/* ===== Menorah pin scene ===== */
/* svh: keeps the pin length stable while the mobile URL bar shows/hides */
.pin-wrap { height: 320vh; height: 320svh; position: relative; overflow-x: clip; }
.pin-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: clip; }
.men-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); width: 100%; }
.men-principles { position: relative; min-height: 120px; margin-block: 26px; }
.men-principle { font-size: clamp(17px, 2vw, 22px); color: var(--txt-dim); margin-bottom: 12px; }
.js-anim .men-principle { position: absolute; inset-inline: 0; top: 0; margin: 0; opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .4s ease; }
.men-principle strong { color: var(--brass-2); font-weight: 700; display: block; font-size: 1.15em; }
.js-anim .men-principle.on { opacity: 1; transform: none; }
.men-dots { display: flex; gap: 9px; }
.men-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); transition: background .3s, box-shadow .3s; }
.men-dots i.lit { background: var(--brass); box-shadow: 0 0 12px rgba(201,164,92,.7); }

/* Menorah 3D stage */
.men-stage-wrap { display: flex; justify-content: center; perspective: 900px; }
.men-3d { position: relative; width: min(440px, 84vw); will-change: transform; transform-style: preserve-3d; }
.men-svg { width: 100%; height: auto; overflow: visible; }
/* No vector-effect here: non-scaling-stroke makes Chrome compute the dash
   pattern in screen px, breaking the pathLength=100 draw on large renders */
.mp { fill: none; stroke: var(--brass); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.js-anim .mp { stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--draw, 1) * 100); }
.mf { fill: var(--brass-2); opacity: 1; transform-origin: center; }
.js-anim .men-svg .mf { opacity: 0; transition: opacity .5s ease; }
.js-anim .men-svg .mf.lit { opacity: 1; filter: drop-shadow(0 0 7px rgba(230,201,135,.95)); animation: flicker 2.2s ease-in-out infinite; }
@keyframes flicker { 0%,100% { transform: scaleY(1); } 40% { transform: scaleY(1.14) scaleX(.94); } 70% { transform: scaleY(.92); } }
.men-glow { position: absolute; inset: -20%; z-index: -1; opacity: var(--glow, 0); will-change: opacity;
  transition: opacity .3s ease;
  background: radial-gradient(circle at 50% 28%, rgba(201,164,92,.22) 0%, rgba(201,164,92,0) 55%); }

/* Scales: pans, weights, labels */
.pan-label { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: rgba(255,255,255,.45); text-anchor: middle; }
.sw path { stroke-width: 1.4; }
.sw-gray path { fill: rgba(122,130,148,.22); stroke: #8b93a5; }
.sw-gold path { fill: rgba(201,164,92,.28); stroke: var(--brass-2); }
.js-anim .sw { opacity: 0; transform: translateY(-52px); transition: opacity .3s ease, transform .5s cubic-bezier(.3,1.35,.45,1); }
.js-anim .sw.on { opacity: 1; transform: none; }

/* Weight chips — labels live beside the copy, light up as weights land */
.w-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 440px; }
.wchip { font-size: 13.5px; font-weight: 600; border-radius: 99px; padding: 6px 14px; border: 1.2px solid;
  opacity: .28; transform: scale(.96); transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease; }
.wc-gray { color: #aab2c2; border-color: rgba(139,147,165,.55); background: rgba(122,130,148,.08); }
.wc-gold { color: var(--brass-2); border-color: rgba(201,164,92,.6); background: rgba(201,164,92,.08); }
.wchip.lit { opacity: 1; transform: none; }
.wc-gold.lit { box-shadow: 0 0 18px rgba(201,164,92,.25); }
.wc-gray.struck { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--brass); opacity: .5; }
html.reduce-motion .wchip { opacity: 1; transform: none; }

/* Hero menorah backdrop */
.hero-menorah { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: -1; perspective: 900px; }
.hero-menorah svg { width: min(66vh, 82vw); height: auto; opacity: .1; will-change: transform; }
.hero-menorah .mp { stroke-width: 1.5; }
.hero-menorah .mf { fill: var(--brass); }

/* ===== Emergency strip ===== */
.emg-strip { background: linear-gradient(120deg, #191006, #241205 45%, #191006); border-block: 1px solid rgba(201,164,92,.24); position: relative; overflow: clip; }
.emg-strip-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); padding-block: 38px; flex-wrap: wrap; }
.emg-clock { font-family: var(--font-display); font-size: clamp(46px, 6vw, 76px); color: var(--ember); line-height: 1;
  font-variant-numeric: tabular-nums; text-shadow: 0 0 34px rgba(199,91,57,.45); }
.js-anim .emg-clock { animation: clockblink 2.6s step-end infinite; }
@keyframes clockblink { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
.emg-strip-txt { flex: 1; min-width: 260px; }
.emg-strip-txt h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(19px, 2.4vw, 27px); margin-bottom: 6px; }
.emg-strip-txt p { color: var(--txt-dim); font-size: 15.5px; }
.emg-strip-txt strong { color: var(--brass-2); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: #d96a46; }
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat-num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); color: var(--brass); line-height: 1; display: inline; }
.stat-unit { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); color: var(--brass); opacity: .75; }
.stat > .stat-num + .stat-unit { margin-top: -8px; }
.stat-label { font-size: 13.5px; color: var(--txt-dim); margin-top: 6px; }
.stat { flex-direction: row; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.stat .stat-label { flex-basis: 100%; margin-top: 2px; }


/* ===== Paper sections ===== */
.paper-section { background: var(--paper); color: var(--txt-dark); padding-block: clamp(80px, 11vw, 150px); position: relative; overflow: clip;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.06); }
.paper-section .sec-kicker { color: #9a7838; }
.paper-section p { color: var(--txt-dark-dim); }

/* Practice areas */
.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: 30px; }
.dept-card { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius); padding: clamp(26px, 3.2vw, 42px);
  box-shadow: 0 18px 50px rgba(23,20,16,.08); position: relative; overflow: clip; will-change: transform;
  --gx: 50%; --gy: 0%; }
.dept-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(201,164,92,.13), transparent 65%); }
.dept-card:hover::after { opacity: 1; }
.dept-head { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; margin-bottom: 16px; }
.dept-icon { grid-row: span 2; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, #171410, #3a3222); color: var(--brass-2); }
.dept-card h3 { font-family: var(--font-display); font-size: clamp(21px, 2.3vw, 27px); color: var(--txt-dark); }
.dept-tag { font-size: 13px; color: #9a7838; font-weight: 700; letter-spacing: .06em; }
.dept-desc { margin-bottom: 18px; font-size: 15.5px; }
.dept-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.dept-list li { position: relative; padding-inline-start: 20px; font-size: 14.5px; color: var(--txt-dark); font-weight: 500; }
.dept-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px;
  background: linear-gradient(135deg, var(--brass), #9a7838); transform: rotate(45deg); }

/* ===== About + quote ===== */
.about-section { padding-block: clamp(90px, 12vw, 170px); position: relative; overflow: clip; }
.mega-quote { text-align: center; margin-bottom: clamp(60px, 9vw, 120px); }
.mega-quote p { font-family: var(--font-display); font-size: clamp(30px, 5.4vw, 64px); line-height: 1.3; color: var(--txt); }
.mega-quote .qw { display: inline-block; opacity: .16; transition: opacity .5s ease; }
.mega-quote .qw.lit { opacity: 1; color: var(--brass-2); text-shadow: 0 0 40px rgba(201,164,92,.3); }
.mega-quote cite { display: block; margin-top: 18px; font-style: normal; color: var(--txt-dim); font-size: 15px; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.portrait-frame { border-radius: var(--radius); overflow: clip; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.portrait-frame::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(201,164,92,.35); border-radius: inherit; pointer-events: none; }
.portrait-frame img { width: 100%; height: auto; }
.cert-row { display: flex; gap: 10px; margin-top: 14px; }
.cert-row img { width: calc(33.33% - 7px); border-radius: 10px; border: 1px solid rgba(255,255,255,.1); opacity: .9; height: 90px; object-fit: cover; }
.about-copy p { margin-bottom: 16px; color: var(--txt-dim); font-size: 16.5px; }
.stats-row { display: flex; gap: clamp(24px, 4vw, 54px); margin-top: 30px; flex-wrap: wrap; }

/* ===== Journey ===== */
.journey-section { padding-block: clamp(80px, 11vw, 150px); position: relative; overflow: clip; }
.journey { position: relative; max-width: 760px; margin-inline: auto; margin-top: 40px; }
.journey-line { position: absolute; inset-block: 0; inset-inline-start: 50%; transform: translateX(50%); width: 130px; height: 100%; }
.journey-line path { stroke: url(#0); stroke: var(--brass); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--jp, 0) * 100); opacity: .8; }
.journey-steps { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 84px); position: relative; }
.j-step { max-width: 320px; }
.js-anim .j-step { opacity: .25; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js-anim .j-step.on { opacity: 1; transform: none; }
.j-step:nth-child(odd) { align-self: flex-start; text-align: start; }
.j-step:nth-child(even) { align-self: flex-end; text-align: start; }
.j-num { font-family: var(--font-display); font-size: 15px; width: 38px; height: 38px; display: grid; place-items: center;
  border: 1.5px solid var(--brass); border-radius: 50%; color: var(--brass-2); margin-bottom: 12px; background: var(--ink);
  transition: background .4s, color .4s, box-shadow .4s; }
.j-step.on .j-num { background: var(--brass); color: var(--ink); box-shadow: 0 0 26px rgba(201,164,92,.4); }
.j-step h3 { font-family: var(--font-display); font-weight: 400; font-size: 21px; margin-bottom: 6px; }
.j-step p { color: var(--txt-dim); font-size: 15px; }

/* ===== Testimonials ===== */
.testi-section { padding-block: clamp(80px, 11vw, 150px) 60px; position: relative; overflow: clip; }
.testi-note { color: var(--txt-dim); font-size: 15px; margin-bottom: 8px; }
.testi-strip { display: flex; gap: 22px; overflow-x: auto; padding: 34px clamp(20px, 4vw, 48px) 20px;
  scroll-snap-type: x proximity; cursor: grab; scrollbar-width: none; }
.testi-strip::-webkit-scrollbar { display: none; }
.testi-strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.testi-card { flex: 0 0 auto; width: min(300px, 74vw); scroll-snap-align: center; border-radius: 22px; overflow: clip;
  border: 1px solid rgba(255,255,255,.1); background: #0e1420; box-shadow: 0 24px 50px rgba(0,0,0,.45);
  transition: transform .35s ease, border-color .35s ease; }
.testi-card:hover { transform: translateY(-8px); border-color: rgba(201,164,92,.45); }
.testi-card img { width: 100%; height: 430px; object-fit: cover; object-position: top; user-select: none; -webkit-user-drag: none; }
.testi-hint { text-align: center; color: var(--txt-dim); font-size: 13px; opacity: .7; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: 30px; }
.team-card { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 18px 50px rgba(23,20,16,.08); text-align: center; will-change: transform; --gx: 50%; --gy: 0%; }
.team-avatar { width: 108px; height: 108px; border-radius: 50%; overflow: clip; margin: 0 auto 18px; border: 3px solid var(--brass);
  box-shadow: 0 10px 26px rgba(154,120,56,.3); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team-avatar-initial { display: grid; place-items: center; font-family: var(--font-display); font-size: 44px; color: var(--brass); background: linear-gradient(145deg, #171410, #3a3222); }
.team-card h3 { font-family: var(--font-display); font-size: 23px; color: var(--txt-dark); margin-bottom: 4px; }
.team-role { font-size: 13.5px; font-weight: 700; color: #9a7838; margin-bottom: 12px; }
.team-card > p:last-child { font-size: 15px; }

/* ===== Contact ===== */
.contact-section { padding-block: clamp(80px, 11vw, 150px) clamp(60px, 8vw, 110px); overflow-x: clip; }
.site-footer { overflow-x: clip; }
.journey-section, .testi-section, .about-section, .emg-strip { overflow-x: clip; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); margin-top: 34px; align-items: start; }

/* Case-file intake form */
.case-wrap { perspective: 1000px; }
.case-file { position: relative; background: linear-gradient(160deg, #f2e9d4, #e9ddc2 70%, #e2d3b4); color: var(--txt-dark);
  border-radius: 14px 14px 18px 18px; padding: 0 0 26px; box-shadow: 0 34px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.5);
  overflow: visible; }
.case-file::before { content: ''; position: absolute; inset: 10px; border: 1px dashed rgba(90,70,40,.28); border-radius: 10px; pointer-events: none; }
.case-tab { position: absolute; top: -30px; inset-inline-start: 26px; background: #e2d3b4; color: #5c4a2c; font-weight: 700; font-size: 13px;
  padding: 7px 20px 5px; border-radius: 10px 10px 0 0; box-shadow: 0 -6px 14px rgba(0,0,0,.14); letter-spacing: .04em; }
.case-num { color: #9a7838; }
.case-head { display: flex; align-items: center; gap: 12px; padding: 22px 26px 14px; border-bottom: 2px solid rgba(90,70,40,.2); margin: 0 16px; }
.case-head strong { font-family: var(--font-display); font-size: 19px; display: block; color: #2b2216; }
.case-head small { color: #7a6845; font-size: 12.5px; }
.case-body { display: flex; flex-direction: column; gap: 16px; padding: 20px 30px 6px; }
.case-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.case-label { font-size: 12.5px; font-weight: 700; color: #7a6845; letter-spacing: .08em; }
.case-field input, .case-field textarea { background: transparent; border: 0; border-bottom: 1.5px solid rgba(90,70,40,.35); padding: 6px 2px 8px;
  font-family: inherit; font-size: 16px; color: #2b2216; outline: none; transition: border-color .25s; resize: none; }
.case-field input:focus, .case-field textarea:focus { border-color: #9a7838; }
.case-field input::placeholder, .case-field textarea::placeholder { color: #b3a482; }
.case-err { display: none; font-size: 12px; color: #a03d22; font-style: normal; }
.case-field.invalid input { border-color: #a03d22; }
.case-field.invalid .case-err { display: block; }
.case-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid rgba(90,70,40,.35); background: transparent; color: #5c4a2c; font-family: inherit; font-weight: 600;
  font-size: 13.5px; border-radius: 99px; padding: 7px 16px; cursor: pointer; transition: all .22s; }
.chip:hover { border-color: #9a7838; }
.chip.on { background: #2b2216; color: var(--brass-2); border-color: #2b2216; }
.case-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 18px; }
.seal-btn { position: relative; width: 118px; height: 118px; border-radius: 50%; border: 2.5px solid #8c1f1f; background: radial-gradient(circle at 34% 30%, #c23a33, #8c1f1f 72%);
  color: #f7e2d2; cursor: pointer; display: grid; place-items: center; box-shadow: 0 12px 26px rgba(140,31,31,.4);
  transition: transform .2s ease, box-shadow .2s ease; font-family: inherit; }
.seal-btn:hover { transform: scale(1.05) rotate(-3deg); box-shadow: 0 16px 34px rgba(140,31,31,.55); }
.seal-btn:active { transform: scale(.94); }
.seal-ring { position: absolute; inset: 7px; border: 1.5px dashed rgba(247,226,210,.55); border-radius: 50%; display: grid; place-items: center; }
.seal-ring svg { width: 44px; height: auto; opacity: .5; }
.seal-ring .mp { stroke: #f7e2d2; stroke-width: 18; }
.seal-ring .mf { fill: #f7e2d2; }
.seal-txt { position: relative; font-size: 13px; font-weight: 800; line-height: 1.25; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.case-note { font-size: 12.5px; color: #7a6845; }
.case-stamp { position: absolute; top: 38%; inset-inline-start: 50%; z-index: 5; transform: translate(50%, -50%) rotate(-14deg) scale(2); opacity: 0;
  font-family: var(--font-display); font-size: 40px; color: #8c1f1f; border: 4px solid #8c1f1f; border-radius: 10px; padding: 10px 26px;
  pointer-events: none; mix-blend-mode: multiply; }
.case-file.stamped .case-stamp { animation: stampin .5s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes stampin { from { opacity: 0; transform: translate(50%, -50%) rotate(-14deg) scale(2); } 60% { opacity: 1; } to { opacity: .92; transform: translate(50%, -50%) rotate(-11deg) scale(1); } }
.case-file.stamped .case-body, .case-file.stamped .case-head { opacity: .35; filter: saturate(.6); transition: opacity .5s, filter .5s; }
.case-done { text-align: center; padding: 10px 26px 0; display: none; flex-direction: column; gap: 12px; align-items: center; }
.case-file.stamped .case-done { display: flex; }
.case-done p { color: #5c4a2c; font-size: 15px; }
.case-done-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Contact rail */
.contact-rail { display: flex; flex-direction: column; gap: 14px; }
.crail-item { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; padding: 16px 20px; transition: border-color .3s, background .3s, transform .25s; }
.crail-item:hover { border-color: rgba(201,164,92,.5); background: rgba(255,255,255,.06); }
.crail-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--txt); flex-shrink: 0; }
.crail-ico.brass-bg { background: var(--brass); color: var(--ink); }
.crail-ico.wa-bg { background: var(--wa); color: #06240f; }
.crail-item strong { display: block; font-size: 15.5px; }
.crail-item small { color: var(--txt-dim); font-size: 13px; }
.map-wrap { border-radius: 16px; overflow: clip; border: 1px solid rgba(255,255,255,.1); min-height: 200px; background: #0e1420; }
.map-wrap iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid rgba(255,255,255,.07); padding: 54px 0 90px; background: #080a0f; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo { width: 180px; height: auto; margin-bottom: 12px; }
.footer-tag { color: var(--txt-dim); font-size: 14px; max-width: 280px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--txt-dim); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--brass-2); }
.footer-legal { text-align: center; color: #565d6b; font-size: 12.5px; margin-top: 40px; padding-inline: 20px; }

/* ===== Sticky mobile CTA ===== */
.mobile-cta { position: fixed; bottom: 0; inset-inline: 0; z-index: 80; display: none; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: rgba(10,13,19,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(0); transition: transform .35s ease; }
.mobile-cta.hidden { transform: translateY(110%); }
.mcta { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 14px 6px; font-size: 13.5px; font-weight: 700; }
.mcta-call { color: var(--brass-2); }
.mcta-wa { color: var(--wa); }
.mcta-form { color: var(--txt); }

/* ===== Dial CTA ===== */
.dial-cta { position: fixed; bottom: 30px; inset-inline-start: 30px; z-index: 80; width: 60px; height: 60px; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .4s ease, transform .3s ease; }
.dial-cta.show { opacity: 1; pointer-events: auto; }
.dial-cta:hover { transform: scale(1.08); }
.dial-cta svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.dial-bg { fill: rgba(10,13,19,.8); stroke: rgba(255,255,255,.15); stroke-width: 2; }
.dial-fill { fill: none; stroke: var(--brass); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.dial-txt { position: relative; font-size: 11px; font-weight: 700; text-align: center; line-height: 1.15; color: var(--brass-2); }

/* ===== Cursor ring (desktop pointer layer) ===== */
.cursor-ring { position: fixed; top: 0; left: 0; z-index: 99; width: 34px; height: 34px; border: 1.5px solid rgba(201,164,92,.65);
  border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%); will-change: transform;
  transition: width .25s ease, height .25s ease, opacity .3s ease, border-color .25s ease; display: none; }
.cursor-ring.grow { width: 58px; height: 58px; border-color: var(--brass); }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .header-nav { display: none; }
  .men-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .men-principles { min-height: 130px; }
  .men-dots { justify-content: center; }
  .men-copy .sec-title { font-size: clamp(26px, 6vw, 38px); }
  .men-3d { width: min(280px, 62vw); }
  .men-stage-wrap { order: 2; }
  .pin-wrap { height: 300vh; height: 300svh; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .header-cta { display: none; }
  .dept-grid, .team-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mobile-cta { display: grid; }
  .dial-cta { display: none; }
  .dept-list { grid-template-columns: 1fr; }
  .j-step:nth-child(odd), .j-step:nth-child(even) { align-self: center; text-align: center; max-width: 420px; }
  .journey-line { inset-inline-start: 8px; transform: none; width: 3px; }
  .journey-line path { d: path("M 50 0 L 50 400"); }
  .j-num { margin-inline: auto; }
  .about-media { max-width: 420px; margin-inline: auto; }
  body { padding-bottom: 58px; }
}

/* ===== Reduced motion ===== */
html.reduce-motion .pin-wrap { height: auto; }
html.reduce-motion .pin-stage { position: static; height: auto; padding-block: 80px; }
html.reduce-motion .hero-menorah svg { transform: none !important; }
html.reduce-motion .men-principles { min-height: 0; }
html.reduce-motion .men-dots i { background: var(--brass); }
html.reduce-motion .j-step { opacity: 1; transform: none; }
html.reduce-motion .mega-quote .qw { opacity: 1; }
html.reduce-motion .journey-line path { stroke-dashoffset: 0; }
html.reduce-motion .scroll-hint { display: none; }
@media (prefers-reduced-motion: reduce) {
  html.motion-auto * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
