/* ═══════════════════════════════════════════════════════
   OANDS — סטודיו קריאייטיב · אוריאן ✕ שילה
   RTL Hebrew · vanilla CSS · no build step
   ═══════════════════════════════════════════════════════ */

/* ── Reset & tokens ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4f1ea;
  --bg-2: #ece8dd;
  --ink: #131211;
  --ink-2: #59544b;
  --cream: #f4f1ea;
  --line: rgba(19, 18, 17, .14);
  --line-cream: rgba(244, 241, 234, .16);
  --accent: #2b4bff;
  --accent-l: #6d84ff;
  /* Small accent text needs a darker companion than decorative fills so it
     stays WCAG AA on both cream surfaces. */
  --accent-readable: #2b4bff;
  --accent-rgb: 43, 75, 255;      /* rgba() building blocks — the purple theme swaps these */
  --accent-l-rgb: 109, 132, 255;
  --stackW: min(52vw, 1200px); /* gallery deck card width */
  --ok: #2b4bff; /* matches the cursor/crosshair accent */
  --err: #ff6b6b;
  --f-he: 'Heebo', 'Segoe UI', sans-serif;
  --f-disp: 'Archivo Black', 'Arial Black', sans-serif;
  --r-card: 18px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--f-he);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html.js body { cursor: none; }
html.js a, html.js button, html.js input, html.js textarea, html.js label { cursor: none; }
@media (pointer: coarse) {
  html.js body, html.js a, html.js button, html.js input, html.js textarea, html.js label { cursor: auto; }
}

body.no-scroll, body.menu-open { overflow: hidden; }

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

:focus-visible {
  outline: 3px solid #ffd447;
  outline-offset: 4px;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #111;
}

@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight; box-shadow: none; }
}

img, canvas, video { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.1; font-weight: 900; }

.accent { color: var(--accent); }

/* ── Skip link ──────────────────────────────────────── */
.skip-link {
  position: fixed; top: -100px; right: 1rem; z-index: 130;
  background: var(--accent); color: #fff; font-weight: 800;
  padding: .8em 1.6em; border-radius: 999px; text-decoration: none;
  transition: top .3s;
}
.skip-link:focus { top: 1rem; }

button, [role="button"], input, select, textarea { font: inherit; }
.menu-btn, .sound-btn, .pm-close, .soc-tab, .to-top { min-width: 44px; min-height: 44px; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.9em; border-radius: 999px;
  font-family: inherit; font-weight: 800; font-size: 1rem;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease-out), background .25s, color .25s, border-color .25s;
}
.btn.primary { background: var(--ink); color: var(--cream); }
.btn.primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── Section label pill ─────────────────────────────── */
.sec-label {
  display: inline-flex; align-items: center; gap: .7em;
  font-weight: 600; font-size: .9rem; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 999px;
  padding: .5em 1.2em; color: var(--ink-2);
}
.sec-label .sl-num { font-family: var(--f-disp); font-size: .78em; color: var(--accent-readable); }
.sec-label.light { border-color: var(--line-cream); color: rgba(244, 241, 234, .75); }
.sec-label.light .sl-num { color: var(--accent-l); }

/* ═══ INTRO SEQUENCE (ink dive) ══════════════════════
   phase 1  body.introing        black plate, letters hidden, ink already alive
   phase 2  body.introing.lit    O & S resolve out of the dark, staggered —
                                 blurred glyphs read as ink bleeding into shape
   phase 3  body.loaded          eyebrow / tagline / scroll hint rise
   phase 4  body.rolled          (kept for downstream compat — no visual)
   phase 5  body.intro-done      nav drops in, scroll unlocks, scrub owns it */
html.js body:not(.intro-done) .hk-l {
  opacity: 0;
  transform: translateY(.16em) scale(.94);
  filter: blur(14px);
  transition: opacity .9s ease, transform 1.05s var(--ease-out), filter .9s ease;
}
html.js body.lit .hk-l { opacity: 1; transform: none; filter: blur(0); }
html.js body.lit .hk-o   { transition-delay: .05s; }
html.js body.lit .hk-amp { transition-delay: .3s; }
html.js body.lit .hk-s   { transition-delay: .5s; }
body.intro-done .hk-l { transition: none; }

/* nav readable while the black ink stage rules the screen
   (JS toggles body.on-ink from the hero scrub) */
body.on-ink .menu-btn .mb-dots i, body.on-ink .sound-btn .eq i { background: var(--cream); }
body.on-ink .menu-btn, body.on-ink .sound-btn { border-color: var(--line-cream); }
body.on-ink .cta-btn { background: var(--cream); color: var(--ink); }
body.on-ink .cta-btn:hover { background: var(--accent); color: #fff; }

/* ═══ CURSOR ═════════════════════════════════════════ */
.cursor { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  will-change: transform; translate: -50% -50%;
}
.cursor-dot { width: 8px; height: 8px; background: var(--accent); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid var(--accent);
  opacity: .55; transition: width .3s var(--ease-out), height .3s var(--ease-out), opacity .3s;
}
.cursor.hovering .cursor-ring { width: 60px; height: 60px; opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ═══ NAV ════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.8rem;
  transition: padding .35s, background .35s, backdrop-filter .35s,
    opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
/* the whole top bar stays hidden while the intro plays — drops in when it hands over */
html.js body:not(.intro-done) .nav {
  opacity: 0; transform: translateY(-22px); pointer-events: none;
}
html.rm .nav { opacity: 1 !important; transform: none !important; pointer-events: auto; }
.nav.scrolled { padding: .65rem 1.8rem; }
.nav-side { display: flex; align-items: center; gap: 1rem; }

/* Lithos-style floating pill nav — logo and CTA on opposite sides */
.nav-pill {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: .15rem;
  background: rgba(19, 18, 17, .92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(244, 241, 234, .12);
  border-radius: 999px; padding: .32rem .42rem;
  box-shadow: 0 14px 44px rgba(19, 18, 17, .28);
}
.nav-pill a {
  color: rgba(244, 241, 234, .82); text-decoration: none;
  font-weight: 600; font-size: .92rem; white-space: nowrap;
  padding: .55em 1.05em; border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav-pill a:hover { color: #fff; background: rgba(244, 241, 234, .12); }
.nav-pill a.active { background: var(--cream); color: var(--ink); }

.brand {
  font-family: var(--f-disp); font-size: 1.15rem; letter-spacing: .03em;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center;
}
.brand-logo {
  height: 145px; width: auto; display: block;
  transition: height .35s;
}
.nav.scrolled .brand-logo { height: 110px; }

.menu-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent;
  display: none; place-items: center; transition: border-color .25s, background .25s;
}
.menu-btn:hover { border-color: var(--accent); }
.mb-dots { display: flex; gap: 4px; transition: opacity .25s, transform .25s; }
.mb-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.mb-x { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.6) rotate(-45deg); transition: opacity .25s, transform .25s; }
.mb-x i { position: absolute; width: 16px; height: 2px; background: var(--cream); border-radius: 2px; }
.mb-x i:first-child { transform: rotate(45deg); }
.mb-x i:last-child { transform: rotate(-45deg); }
body.menu-open .menu-btn { border-color: var(--line-cream); }
body.menu-open .mb-dots { opacity: 0; transform: scale(.5); }
body.menu-open .mb-x { opacity: 1; transform: scale(1) rotate(0deg); }

.sound-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent;
  display: grid; place-items: center; transition: border-color .25s;
}
.sound-btn:hover { border-color: var(--accent); }
.eq { display: flex; align-items: flex-end; gap: 2.5px; height: 14px; }
.eq i { width: 3px; height: 4px; background: var(--ink); border-radius: 2px; transition: height .3s; }
.sound-btn.on .eq i { animation: eqB 1s ease-in-out infinite alternate; }
.sound-btn.on .eq i:nth-child(1) { animation-delay: 0s; }
.sound-btn.on .eq i:nth-child(2) { animation-delay: .18s; }
.sound-btn.on .eq i:nth-child(3) { animation-delay: .34s; }
.sound-btn.on .eq i:nth-child(4) { animation-delay: .5s; }
@keyframes eqB { from { height: 4px; } to { height: 14px; } }
body.menu-open .sound-btn { border-color: var(--line-cream); }
body.menu-open .sound-btn .eq i, body.menu-open .menu-btn .mb-dots i { background: var(--cream); }
body.menu-open .brand { color: var(--cream); }

.cta-btn {
  background: var(--ink); color: var(--cream);
  font-weight: 800; font-size: .95rem; text-decoration: none;
  padding: .75em 1.6em; border-radius: 999px;
  transition: background .25s, transform .25s var(--ease-out);
}
.cta-btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
body.menu-open .cta-btn { background: var(--cream); color: var(--ink); }

/* ═══ MENU OVERLAY ═══════════════════════════════════ */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
  display: flex; flex-direction: column; justify-content: center;
  padding: 12vh 8vw 10vh;
}
.menu.open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path .7s var(--ease-io), visibility 0s;
}
.menu-list { list-style: none; }
.menu-list li {
  opacity: 0; transform: translateY(40px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.menu.open li { opacity: 1; transform: translateY(0); }
.menu.open li:nth-child(1) { transition-delay: .25s; }
.menu.open li:nth-child(2) { transition-delay: .32s; }
.menu.open li:nth-child(3) { transition-delay: .39s; }
.menu.open li:nth-child(4) { transition-delay: .46s; }
.menu.open li:nth-child(5) { transition-delay: .53s; }
.menu.open li:nth-child(6) { transition-delay: .6s; }
.menu-list a {
  display: inline-flex; align-items: baseline; gap: 1.2rem;
  color: var(--cream); text-decoration: none;
  font-size: clamp(2.2rem, 6.5vw, 5rem); font-weight: 900; line-height: 1.25;
  transition: color .25s, transform .3s var(--ease-out);
}
.menu-list a em {
  font-family: var(--f-disp); font-style: normal;
  font-size: clamp(.8rem, 1.4vw, 1.1rem); color: var(--accent-l);
}
.menu-list a:hover { color: var(--accent-l); transform: translateX(-10px); }
.menu-foot {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-top: 6vh; padding-top: 3vh; border-top: 1px solid var(--line-cream);
}
.menu-foot a { color: rgba(244, 241, 234, .6); text-decoration: none; font-weight: 600; }
.menu-foot a:hover { color: var(--accent-l); }

/* ═══ HERO — ink dive ════════════════════════════════
   layers: video(0) → cream wash(1) → knockout plate(2)
   → text beats(3) → dark hand-off(4) → chrome(5) */
.hero { height: 500vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; overflow: clip;
  background: #0b0a09;
  isolation: isolate; /* keep the multiply blends inside the hero */
}

/* fullscreen stock ink video — the star of the opening.
   At rest it plays INVERTED (white ink glowing on black, so the letterforms
   bloom bright); the dive scrubs the filter back to positive — you dive
   through the negative into the paper-and-ink world. */
.hero-ink {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: invert(1) contrast(1.06);
  will-change: transform, opacity, filter;
  pointer-events: none;
}
/* cream veil — normal blend, JS-driven: off at rest (pure blacks behind the
   glowing negative), ramps up inside the ink world so the beat type reads */
.ink-veil {
  position: absolute; inset: 0; z-index: 1;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
}
/* cream wash — multiplies the clip's white water into the site's paper tone */
.ink-wash {
  position: absolute; inset: 0; z-index: 1;
  background: var(--bg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* the knockout plate: black everywhere, video only through the white
   letterforms. JS scales it with the origin pinned inside the ampersand —
   scrolling literally dives through the & into the ink. */
.hero-knock {
  position: absolute; inset: 0; z-index: 2;
  background: #0b0a09;
  mix-blend-mode: multiply;
  display: grid; place-items: center;
  transform: translateZ(0);
  pointer-events: none;
}
/* the stroke twin rides the exact same transform, one layer up */
.hero-knock-stroke {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  transform: translateZ(0);
  pointer-events: none;
}
.hero-knock-stroke .hk-l {
  color: transparent;
  -webkit-text-stroke: max(1.5px, .008em) rgba(255, 255, 255, .92);
}
.hk-word {
  display: flex; align-items: baseline; justify-content: center;
  font-family: var(--f-disp); font-weight: 400; line-height: .9;
  font-size: clamp(6.4rem, 25vmin, 26rem); letter-spacing: -.01em;
  color: #fff; user-select: none;
  /* sit in the clip's lower white band — the ink billows around the center,
     so down here the letters stay lit while tendrils bleed in from above */
  transform: translateY(9vh);
}
.hk-l { display: inline-block; }
.hk-amp { font-size: .78em; margin: 0 .02em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.eyebrow {
  position: absolute; top: 12vh; inset-inline: 0; z-index: 5;
  text-align: center; font-weight: 600; font-size: clamp(.85rem, 1.4vw, 1rem);
  letter-spacing: .05em; color: rgba(244, 241, 234, .72);
}

/* the yungbld-style infinite vertical stack (gallery) */
.stack { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stack .scard {
  position: absolute; left: 50%; top: 50%;
  width: var(--stackW); aspect-ratio: 16 / 10;
  border: 0; padding: 0; text-align: inherit; color: inherit; font: inherit;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 60px rgba(19, 18, 17, .22);
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.stack.in .scard { opacity: 1; }
.stack.in .scard:nth-child(1) { transition-delay: .04s; }
.stack.in .scard:nth-child(2) { transition-delay: .08s; }
.stack.in .scard:nth-child(3) { transition-delay: .12s; }
.stack.in .scard:nth-child(4) { transition-delay: .16s; }
.stack.in .scard:nth-child(5) { transition-delay: .2s; }
.stack.in .scard:nth-child(6) { transition-delay: .24s; }
.stack.in .scard:nth-child(7) { transition-delay: .28s; }
.stack.in .scard:nth-child(8) { transition-delay: .32s; }
.stack.in .scard:nth-child(9) { transition-delay: .36s; }
.stack.in .scard:nth-child(10) { transition-delay: .4s; }
.stack.in .scard:nth-child(11) { transition-delay: .44s; }
.stack.in .scard:nth-child(12) { transition-delay: .48s; }
.stack.in .scard:nth-child(13) { transition-delay: .52s; }
.stack.in .scard:nth-child(14) { transition-delay: .56s; }
/* real project screenshot fills the card (above the gradient fallback + grain) */
.sc-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.sc-video { background: #0b0a09; }
/* readability scrim — keeps the title legible on bright screenshots */
.stack .scard::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 32%; z-index: 2;
  background: linear-gradient(180deg, rgba(12, 10, 9, .52), transparent);
  pointer-events: none;
}
.sc-name {
  position: absolute; top: 12px; inset-inline: 0; z-index: 2;
  text-align: center; font-weight: 900;
  font-size: clamp(.85rem, 1.25vw, 1.15rem); letter-spacing: .04em;
  background-image: linear-gradient(90deg, #fff, #cfd8e8);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 10px rgba(19, 18, 17, .35));
}
.sc-name[dir="ltr"] { font-family: var(--f-disp); font-weight: 400; }
.sc-badge {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3;
  background: var(--accent); color: #fff;
  padding: .32em .72em; border-radius: 999px;
  font-family: var(--f-disp); font-size: .72rem; letter-spacing: .08em;
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), .34);
}
/* title gradients tuned to each screenshot's palette */
.t-hibur    { background-image: linear-gradient(90deg, #fff5d9, #c99b45, #f7e8bd); }
.t-saints   { background-image: linear-gradient(90deg, #ece8db, #9fd8e8); }
.t-flore    { background-image: linear-gradient(90deg, #fff3c4, #ffb0d5, #c9a3ff); }
.t-aurum    { background-image: linear-gradient(90deg, #f4e9c9, #c9a35f); }
.t-meridian { background-image: linear-gradient(90deg, #eef4fb, #8fb4d9); }
.t-funai    { background-image: linear-gradient(90deg, #7a001e, #c40035, #ff4b63); }
.t-sovereign{ background-image: linear-gradient(90deg, #ffe3ad, #ff9d45); }
.t-corpus   { background-image: linear-gradient(90deg, #efe4d0, #c9b494); }
.t-kin      { background-image: linear-gradient(90deg, #c81e4a, #ff7a9c); filter: drop-shadow(0 1px 6px rgba(255, 255, 255, .6)); }
.sc-cat {
  position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 2;
  background: rgba(19, 18, 17, .55); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: .35em .95em; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.g-hibur .sc-img {
  object-fit: contain;
  background: radial-gradient(circle at 50% 42%, rgba(201, 155, 69, .24), #090706 68%);
}
/* ═══ HERO SCROLL BEATS — inside the ink world ═══════
   ink-dark type floating over the cream water; every beat
   is a pure function of scroll (reversible) */
.hero-phase {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem; text-align: center; padding: 0 6vw;
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
  pointer-events: none;
}
.hero-phase { text-shadow: 0 2px 30px rgba(244, 241, 234, .9), 0 0 10px rgba(244, 241, 234, .55); }
.hp-big {
  font-family: var(--f-disp); color: var(--ink);
  font-size: clamp(2.4rem, 7.4vw, 7rem); letter-spacing: .02em;
  line-height: 1.05; white-space: nowrap;
}
.hp-big i { font-style: normal; color: var(--accent); font-size: .74em; }
.hp-small {
  color: var(--ink-2); font-weight: 800;
  font-size: clamp(.72rem, 1.6vw, 1.25rem); letter-spacing: .55em; text-indent: .55em;
}
.hp-line {
  color: var(--ink); font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 4.6rem); line-height: 1.15;
}
.hp-sub {
  color: var(--ink-2); font-weight: 600;
  font-size: clamp(.95rem, 1.6vw, 1.3rem); line-height: 1.9; max-width: 44ch;
}
.hp-doing {
  color: var(--ink-2); font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.9rem); letter-spacing: .06em;
}
.hp-rotbox {
  --rot-step: 2.3em;
  display: block; overflow: hidden;
  height: var(--rot-step);
  padding: 0 .95em;
  margin: 0 -.95em;
  font-weight: 900; font-size: clamp(3rem, 9vw, 8rem); line-height: 1;
  text-shadow: none;
}
.hp-rotwords {
  display: flex; flex-direction: column;
  will-change: transform;
  transition: transform .22s linear;
  transform: translate3d(0, 0, 0);
}
.hp-rotwords span {
  box-sizing: border-box;
  height: var(--rot-step); line-height: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); white-space: nowrap;
  padding: 0 .12em;
  text-shadow:
    0 0 18px rgba(var(--accent-rgb), .58),
    0 0 46px rgba(244, 241, 234, .48);
}

/* end-of-hero darkening — hands the screen to 01·why seamlessly */
.hero-dark {
  position: absolute; inset: 0; z-index: 4;
  background: var(--ink);
  opacity: 0; pointer-events: none;
}

.hero-bottom {
  position: absolute; bottom: 7vh; inset-inline: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(2.8rem, 5vh, 4.4rem); text-align: center;
}
.hero-sub {
  color: rgba(244, 241, 234, .66); font-weight: 600;
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
}

.scroll-hint {
  position: relative; inset: auto; transform: none; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .62rem; width: auto; min-width: 8rem;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800; color: rgba(244, 241, 234, .78); letter-spacing: .04em;
}
.sh-text { display: block; line-height: 1; text-align: center; translate: 0 1px; }
.sh-dot {
  width: 31px; height: 48px; border: 2px solid rgba(244, 241, 234, .62); border-radius: 999px;
  position: relative;
}
.sh-dot::after {
  content: ''; position: absolute; top: 5px; left: 50%; margin-left: -2px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  animation: shDrop 1.6s ease-in-out infinite;
}
@keyframes shDrop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* intro choreography */
html.js .intro-el {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
body.loaded .intro-el { opacity: 1; transform: translateY(0); }
body.loaded .eyebrow { transition-delay: .15s; }
body.loaded .hero-bottom { transition-delay: .3s; }
body.loaded .scroll-hint { transition-delay: .45s; }
body.intro-done .intro-el { transition: none; }

/* ═══ 01 · WHY ═══════════════════════════════════════ */
.why { background: var(--ink); color: var(--cream); padding: 15vh 8vw; }
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-title { font-size: clamp(2.5rem, 7vw, 5.5rem); margin-top: 2.2rem; }
.why-title .line { display: block; }
.why-title .accent { color: var(--accent-l); }
.why-text {
  max-width: 46ch; margin-top: 2.2rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.85;
  color: rgba(244, 241, 234, .72);
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-top: 5.5rem; padding-top: 3rem;
  border-top: 1px solid var(--line-cream);
}
.stat-num {
  display: block; direction: ltr;
  font-family: var(--f-disp); font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: var(--cream); line-height: 1;
}
.stat-label { display: block; margin-top: .6rem; color: rgba(244, 241, 234, .55); font-size: .95rem; }

/* ═══ 02 · GALLERY — sticky infinite stack ═══════════ */
.gallery { height: 460vh; position: relative; background: var(--bg); }
.gal-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.gal-letters {
  position: absolute; inset: 0; z-index: 1;
  font-family: var(--f-disp); color: var(--ink); user-select: none;
}
.gal-o, .gal-s {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 52vh; line-height: 1; will-change: transform;
}
/* O reads first left-to-right — each letter sits ON the deck edge,
   half tucked behind the cards, like the video */
.gal-o { left: calc(50% - var(--stackW) / 2); }
.gal-s { left: calc(50% + var(--stackW) / 2); }
/* entrance: letters wait invisible, hugging the center, slightly low… */
html.js .gal-o, html.js .gal-s {
  opacity: 0;
  transition:
    opacity 1.6s ease,
    transform 1.9s var(--ease-io);
}
html.js .gal-o { transform: translate(calc(-50% + var(--go, 14vw)), calc(-50% + 22px)); }
html.js .gal-s { transform: translate(calc(-50% + var(--gs, -14vw)), calc(-50% + 22px)); }
/* …fade up through gray, one after the other (the video letter effect)… */
.gallery.lit .gal-o { opacity: 1; transform: translate(calc(-50% + var(--go, 14vw)), -50%); }
.gallery.lit .gal-s { opacity: 1; transform: translate(calc(-50% + var(--gs, -14vw)), -50%); transition-delay: .38s; }
/* …then glide outward to the deck edges while the cards roll in */
.gallery.split .gal-o { transform: translate(-50%, -50%); }
.gallery.split .gal-s { transform: translate(-50%, -50%); transition-delay: 0s; }
.gallery.locked .gal-o, .gallery.locked .gal-s { transition: none; }
html.rm .gal-o, html.rm .gal-s { opacity: 1; transform: translateY(-50%); }
.gal-label {
  position: absolute; top: 10.5vh; inset-inline: 0; z-index: 3;
  display: flex; justify-content: center; align-items: center; gap: .7em;
  font-weight: 800; font-size: .9rem; color: #fff;
  /* black outline so it reads on any card behind it */
  text-shadow:
    -1px -1px 0 #131211, 1px -1px 0 #131211,
    -1px 1px 0 #131211, 1px 1px 0 #131211,
    0 2px 8px rgba(19, 18, 17, .45);
  pointer-events: none;
}
.gal-label .sl-num { font-family: var(--f-disp); font-size: .78em; color: var(--accent-l); }

/* ראו עוד — floating pill to the full gallery page */
.gal-more {
  position: absolute; bottom: 26px; inset-inline-start: 26px; inset-inline-end: auto; z-index: 6;
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--ink); color: var(--cream);
  padding: .8em 1.7em; border-radius: 999px;
  font-weight: 800; font-size: .95rem; text-decoration: none;
  box-shadow: 0 14px 40px rgba(19, 18, 17, .3);
  transition: background .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.gal-more:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 20px 54px rgba(var(--accent-rgb), .4); }
.gal-more-grid {
  width: .95em; height: .95em; flex: none;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .16em;
}
.gal-more-grid i { display: block; background: currentColor; border-radius: 2px; }

/* cards are clickable — expand to the project modal */
.stack .scard { pointer-events: auto; cursor: pointer; }
html.js .stack .scard { cursor: none; }
@media (pointer: coarse) { html.js .stack .scard { cursor: pointer; } }

/* ── gallery skip tab — black pill peeking at the bottom; hover pops it up,
     the white scroll indicator invites a click that skips past the deck ── */
.gal-skip {
  position: absolute; bottom: 0; left: 50%; z-index: 6;
  transform: translate(-50%, 64%);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  width: min(300px, 64vw); padding: 1rem 1.6rem 2.3rem;
  background: var(--ink); color: var(--cream);
  border: none; border-radius: 24px 24px 0 0;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 -12px 44px rgba(19, 18, 17, .28);
  transition: transform .55s cubic-bezier(.22, 1.35, .36, 1), box-shadow .4s;
}
html.js .gal-skip { cursor: none; }
.gal-skip:hover, .gal-skip:focus-visible {
  transform: translate(-50%, 0);
  box-shadow: 0 -18px 60px rgba(19, 18, 17, .4);
}
.gs-mouse {
  width: 23px; height: 36px; flex: none; position: relative;
  border: 2px solid #fff; border-radius: 999px;
}
.gs-mouse i {
  position: absolute; top: 6px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 3px; background: #fff;
  animation: gsDrop 1.5s ease-in-out infinite;
}
@keyframes gsDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
.gs-label {
  font-weight: 700; font-size: .92rem; white-space: nowrap;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s .1s, transform .35s .1s var(--ease-out);
}
.gal-skip:hover .gs-label, .gal-skip:focus-visible .gs-label { opacity: 1; transform: none; }
/* no hover on touch — keep more of the tab visible and always show the label */
@media (pointer: coarse) {
  .gal-skip { transform: translate(-50%, 12%); padding-bottom: 1.3rem; }
  .gs-label { opacity: 1; transform: none; }
}
html.rm .gal-skip { display: none; }

/* ═══ PROJECT MODAL ══════════════════════════════════ */
.proj-modal {
  position: fixed; inset: 0; z-index: 110;
  display: grid; place-items: center; padding: 3vmin;
  visibility: hidden; transition: visibility 0s .5s;
}
.proj-modal.open { visibility: visible; transition: visibility 0s; }
.pm-backdrop {
  position: absolute; inset: 0;
  background: rgba(19, 18, 17, .62);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .45s ease;
}
.proj-modal.open .pm-backdrop { opacity: 1; }
.pm-card {
  position: relative; display: flex; align-items: stretch;
  width: min(1180px, 94vw); max-height: 86vh;
  background: var(--bg); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(44px) scale(.95);
  transition: opacity .4s ease, transform .55s var(--ease-out);
}
.proj-modal.open .pm-card { opacity: 1; transform: none; }
/* RTL: info column first = the right side, media fills the left */
.pm-info {
  flex: 0 0 34%; min-width: 0;
  padding: 3.2rem 2.8rem 2.6rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
  overflow-y: auto;
}
.pm-cat {
  border: 1px solid var(--line); border-radius: 999px;
  padding: .4em 1.1em; font-size: .85rem; font-weight: 600; color: var(--ink-2);
}
.pm-name {
  font-family: var(--f-disp); font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.05;
  color: var(--ink); overflow-wrap: anywhere;
}
.pm-name-funai { color: #c40035; }
.pm-desc { color: var(--ink-2); line-height: 1.85; font-size: 1.02rem; }
.pm-open { margin-top: auto; }
.pm-open[hidden] { display: none; }
.pm-open .pm-arrow { transition: transform .3s var(--ease-out); }
.pm-open:hover .pm-arrow { transform: translate(3px, -3px); }
.pm-details {
  width: 100%; display: grid; gap: 1rem; margin-top: .3rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.pm-details[hidden], .pm-detail[hidden], .pm-compare[hidden], .pm-related[hidden] { display: none; }
.pm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; width: 100%; }
.pm-fact {
  padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, .28);
}
.pm-fact dt, .pm-detail h3, .pm-related h3 {
  color: var(--ink-2); font-size: .78rem; font-weight: 800; letter-spacing: .02em;
}
.pm-fact dd { margin-top: .15rem; font-weight: 800; overflow-wrap: anywhere; }
.pm-detail p { margin-top: .3rem; color: var(--ink-2); line-height: 1.7; }
.pm-services, .pm-metrics, .pm-related-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .45rem; }
.pm-services span, .pm-metrics span {
  padding: .35em .7em; border-radius: 999px; background: rgba(var(--accent-rgb), .1);
  border: 1px solid rgba(var(--accent-rgb), .2); font-size: .78rem; font-weight: 800;
}
.pm-quote {
  margin: 0; padding: .8rem 1rem; border-inline-start: 3px solid var(--accent);
  background: rgba(var(--accent-rgb), .07); color: var(--ink-2); border-radius: 8px;
}
.pm-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.pm-compare figure { margin: 0; }
.pm-compare img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--bg-2); }
.pm-compare figcaption { margin-top: .3rem; color: var(--ink-2); font-size: .75rem; font-weight: 800; }
.pm-related-list a { color: var(--accent); font-weight: 800; text-underline-offset: .2em; }
.pm-media { flex: 1; min-width: 0; background: var(--bg-2); }
.pm-img, .pm-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-video[hidden], .pm-img[hidden] { display: none; }
.pm-close {
  position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line); background: rgba(244, 241, 234, .9);
  font-size: 1rem; font-weight: 700; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background .25s, color .25s, transform .25s var(--ease-out);
}
.pm-close:hover { background: var(--ink); color: var(--cream); transform: rotate(90deg); }
body.modal-open { overflow: hidden; }
@media (max-width: 860px) {
  .pm-card { flex-direction: column-reverse; overflow-y: auto; max-height: 88vh; }
  .pm-info { flex: none; padding: 1.8rem 1.6rem 2rem; }
  .pm-media { flex: none; aspect-ratio: 16 / 10; }
  .pm-open { margin-top: .6rem; }
}

/* ═══ 03 · SOCIAL ════════════════════════════════════ */
.social { background: var(--bg-2); padding: 14vh 8vw 10vh; }
.soc-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin: 2rem 0 3rem;
}
.soc-head h2 { font-size: clamp(2.3rem, 6vw, 4.5rem); }
.handle {
  font-family: var(--f-disp); font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--accent); text-decoration: none;
}
.handle:hover { text-decoration: underline; }
/* platform switcher tabs */
.soc-tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.soc-tab {
  display: inline-flex; align-items: center; gap: .5em;
  border: 1.5px solid var(--line); background: transparent;
  border-radius: 999px; padding: .55em 1.35em;
  font-family: inherit; font-weight: 700; font-size: .95rem; color: var(--ink-2);
  cursor: pointer;
  transition: color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.soc-tab:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.soc-tab.active { color: #fff; border-color: transparent; box-shadow: 0 10px 26px rgba(19, 18, 17, .18); }

/* fake account card — showcase only */
.soc-profile {
  display: flex; align-items: center; gap: 2.2rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px;
  padding: 1.8rem 2.2rem; margin-bottom: 2.2rem;
}
.sp-avatar, .sp-info, .sp-brand { transition: opacity .28s ease, transform .28s var(--ease-out); }
.soc-profile.sw .sp-avatar, .soc-profile.sw .sp-info, .soc-profile.sw .sp-brand {
  opacity: 0; transform: translateY(10px);
}
.sp-avatar svg { width: 100%; height: 100%; display: block; }
.sp-brand {
  flex: none; width: 74px; height: 74px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(19, 18, 17, .16);
}
.sp-brand svg { width: 100%; height: 100%; display: block; }
.sp-stats em { font-style: normal; }
.sp-avatar {
  flex: none; width: 104px; height: 104px; border-radius: 50%;
  background: #fdfbf7; border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 10px 30px rgba(19, 18, 17, .08);
}
.sp-avatar img { width: 86%; height: 86%; object-fit: contain; }
.sp-info { flex: 1; min-width: 0; }
.sp-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.sp-handle {
  font-family: var(--f-disp); font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  display: inline-flex; align-items: center; gap: .45em;
}
.sp-verified { width: 1em; height: 1em; flex: none; }
.sp-follow { padding: .55em 1.4em; font-size: .92rem; }
.sp-stats { display: flex; gap: 1.8rem; margin-top: .9rem; color: var(--ink-2); font-size: .95rem; flex-wrap: wrap; }
.sp-stats b { color: var(--ink); font-weight: 800; margin-inline-end: .3em; }
.sp-bio { margin-top: .7rem; color: var(--ink-2); font-weight: 600; }

.soc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  transition: opacity .28s ease, transform .28s var(--ease-out);
}
.soc-grid.sw { opacity: 0; transform: translateY(10px); }
.soc-grid[hidden], .sp-stats[hidden] { display: none; }
.soc-tile {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  display: block; transform: translateZ(0); text-decoration: none;
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.soc-tile:hover { transform: scale(1.02) translateY(-4px); box-shadow: 0 24px 60px rgba(19, 18, 17, .2); }
.st-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.st-hover {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(19, 18, 17, .75), rgba(19, 18, 17, .15));
  opacity: 0; transition: opacity .35s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.3rem; color: #fff;
}
.soc-tile:hover .st-hover, .soc-tile:focus-visible .st-hover { opacity: 1; }
.st-likes { font-family: var(--f-disp); font-size: .85rem; letter-spacing: .05em; }
.st-hover p {
  font-size: .95rem; font-weight: 600; margin-top: .35rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* — YouTube video card — */
.st-yt { display: flex; flex-direction: column; background: #fff; border-color: rgba(19, 18, 17, .08); }
.yt-thumb { position: relative; height: 56%; flex: none; background: #eee; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 32px; border-radius: 9px; background: rgba(255, 0, 0, .92);
  opacity: 0; transition: opacity .3s;
}
.yt-play::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-38%, -50%);
  border-style: solid; border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}
.st-yt:hover .yt-play { opacity: 1; }
.yt-body { padding: .95rem 1.1rem; display: flex; flex-direction: column; gap: .45rem; min-height: 0; }
.yt-title {
  color: #0f0f0f; font-weight: 700; font-size: .95rem; line-height: 1.35; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yt-meta { color: #606060; font-size: .82rem; font-weight: 500; text-align: left; }

/* — X post card — */
.st-x { background: #000; border-color: #2f3336; padding: 1.15rem 1.25rem; display: flex; flex-direction: column; }
.x-head { display: flex; align-items: center; gap: .6rem; }
.x-av {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: #000; border: 1px solid #2f3336;
  display: grid; place-items: center;
}
.x-av svg { width: 60%; height: 60%; fill: #fff; }
.x-name { color: #e7e9ea; font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: .3em; }
.x-name svg { width: 1em; height: 1em; flex: none; }
.x-handle { color: #71767b; font-size: .85rem; font-weight: 500; }
.x-text {
  flex: 1; margin-top: .8rem; color: #e7e9ea;
  font-size: clamp(.88rem, 1.05vw, 1.02rem); line-height: 1.5; font-weight: 500; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.x-foot { display: flex; gap: 1.3rem; color: #71767b; font-size: .82rem; font-weight: 500; margin-top: .8rem; }

/* — Facebook post card — */
.st-fb { background: #fff; border-color: rgba(19, 18, 17, .08); padding: 1.15rem 1.25rem; display: flex; flex-direction: column; }
.fb-head { display: flex; align-items: center; gap: .65rem; }
.fb-av { width: 38px; height: 38px; border-radius: 50%; flex: none; overflow: hidden; }
.fb-av svg { width: 100%; height: 100%; display: block; }
.fb-name { color: #050505; font-weight: 800; font-size: .95rem; display: flex; align-items: center; gap: .3em; }
.fb-name svg { width: .95em; height: .95em; flex: none; }
.fb-date { color: #65676b; font-size: .8rem; font-weight: 500; }
.fb-text {
  flex: 1; margin-top: .8rem; color: #050505;
  font-size: clamp(.88rem, 1.05vw, 1rem); line-height: 1.5; font-weight: 500; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.fb-foot {
  display: flex; justify-content: space-between; color: #65676b; font-size: .82rem; font-weight: 500;
  border-top: 1px solid #e4e6eb; padding-top: .7rem; margin-top: .8rem;
}
/* empty state — real accounts are brand new, no posts yet */
.soc-empty {
  border: 1.5px dashed var(--line); border-radius: 22px;
  padding: 4.5rem 2rem; text-align: center;
  display: flex; flex-direction: column; gap: .6rem;
}
.soc-empty[hidden] { display: none; }
.se-big { font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink); }
.se-small { color: var(--ink-2); font-size: .95rem; font-weight: 600; }

.soc-cta { text-align: center; margin-top: 3rem; }
.marquee {
  overflow: hidden; margin-top: 5rem; padding: 1.1rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  /* anchor the track to the LEFT edge — in RTL it would start off-screen
     and the loop would look like it "runs out" */
  direction: ltr;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marq 24s linear infinite;
}
.marquee-track span {
  font-family: var(--f-disp); font-size: 1.05rem; letter-spacing: .18em;
  color: var(--ink); opacity: .66; white-space: nowrap;
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══ 04 · ABOUT ═════════════════════════════════════ */
.about { background: var(--ink); color: var(--cream); padding: 15vh 8vw; }
.about-title { font-size: clamp(2.4rem, 6.5vw, 5rem); margin: 2rem 0 4rem; }
.about-title .accent { color: var(--accent-l); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1100px; }
.person {
  border: 1px solid var(--line-cream); border-radius: 24px;
  padding: 3rem; background: rgba(244, 241, 234, .03);
  transition: transform .4s var(--ease-out), border-color .4s;
  position: relative; overflow: hidden;
}
.person:hover { transform: translateY(-6px); border-color: rgba(244, 241, 234, .35); }
.p-mark {
  position: absolute; top: -2.2rem; inset-inline-end: -1rem;
  font-family: var(--f-disp); font-size: 11rem; line-height: 1;
  color: rgba(244, 241, 234, .05); pointer-events: none; user-select: none;
}
.p-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.4rem; }
.p-tags span {
  border: 1px solid var(--line-cream); border-radius: 999px;
  padding: .32em .9em; font-size: .8rem; font-weight: 600;
  color: rgba(244, 241, 234, .65);
}
.avatar {
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--f-disp); font-size: 2.8rem; color: #fff;
  margin-bottom: 1.6rem;
  padding: 3px; /* gradient ring around the photo */
}
.av-o { background: linear-gradient(135deg, #2b4bff, #7b5cff); }
.av-s { background: conic-gradient(from 210deg, #1588ff 0deg 318deg, #7b5cff 342deg, #1588ff 360deg); }
.avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
/* face crops are baked into the -face.jpg files (square, pre-rotated) —
   no view-box tricks needed, so the ring is always a perfect circle */
.avatar img { object-position: center; }
.person h3 { font-size: 2rem; }
.role { color: var(--accent-l); font-weight: 700; margin: .3rem 0 1rem; }
.bio { color: rgba(244, 241, 234, .68); line-height: 1.8; }
.about-quote {
  max-width: 62ch; margin-top: 5rem;
  padding-inline-start: 2.2rem;
  border-inline-start: 3px solid var(--accent-l);
}
.about-story {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.9;
  color: rgba(244, 241, 234, .9);
}
.aq-sign { display: flex; align-items: center; gap: .9rem; margin-top: 1.8rem; }
.aq-sign span { color: rgba(244, 241, 234, .6); font-weight: 600; font-size: .95rem; }
/* direct contact row — email · phone · whatsapp */
.about-contact {
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  margin-top: 2.6rem;
}
.about-contact a {
  color: rgba(244, 241, 234, .78); text-decoration: none; font-weight: 700;
  border: 1px solid var(--line-cream); border-radius: 999px;
  padding: .55em 1.3em; font-size: .95rem;
  transition: color .25s, border-color .25s, transform .25s var(--ease-out);
}
.about-contact a:hover { color: var(--accent-l); border-color: var(--accent-l); transform: translateY(-2px); }
.ac-dot { color: rgba(244, 241, 234, .35); font-weight: 900; }

/* the big gold studio logo — centered under the story */
.about-logo {
  display: block; width: min(420px, 70vw); height: auto;
  margin: 6rem auto 0;
  filter: drop-shadow(0 14px 44px rgba(201, 163, 95, .22));
}

/* ═══ 05 · REVIEWS ══════════════════════════════════ */
.reviews {
  background: var(--bg);
  color: var(--ink);
  padding: 12vh 8vw 13vh;
  border-top: 1px solid var(--line);
}
.reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.reviews-title {
  max-width: 820px;
  margin: 2rem 0 3rem;
  font-size: clamp(2rem, 5.4vw, 4.7rem);
  line-height: 1.08;
}
.reviews-title .accent { color: var(--accent); }
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 1.35rem;
  align-items: stretch;
}
.review-card {
  position: relative;
  min-height: 100%;
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 10%, rgba(var(--accent-rgb), .12), transparent 38%),
    rgba(255, 255, 255, .34);
  box-shadow: 0 26px 80px rgba(19, 18, 17, .08);
  overflow: hidden;
}
.review-card-main {
  grid-row: span 2;
}
.review-card::before {
  content: '“';
  position: absolute;
  top: -.2em;
  inset-inline-start: .22em;
  color: rgba(var(--accent-rgb), .22);
  font-family: var(--f-disp);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 1;
}
.review-card blockquote {
  position: relative;
  z-index: 1;
  max-width: 75ch;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.85;
}
.review-card:not(.review-card-main) blockquote {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}
.review-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  color: var(--ink-2);
  font-weight: 900;
}

/* ═══ 06 · SERVICES ══════════════════════════════════ */
.services { background: var(--bg); padding: 14vh 8vw; }
.srv-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.srv { border-bottom: 1px solid var(--line); }
.srv-head {
  width: 100%; display: flex; align-items: center; gap: 2rem;
  padding: 2.1rem 0; background: none; border: none;
  font-family: inherit; text-align: start; cursor: pointer;
}
.srv-num { font-family: var(--f-disp); color: var(--accent-readable); font-size: 1rem; min-width: 2.6rem; }
.srv-title {
  flex: 1; font-size: clamp(1.7rem, 4.5vw, 3.1rem); font-weight: 900; color: var(--ink);
  transition: color .3s, transform .35s var(--ease-out);
}
.srv-head:hover .srv-title { color: var(--accent); transform: translateX(-10px); }
.srv-plus { position: relative; width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease-io); }
.srv-plus::before, .srv-plus::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--ink); border-radius: 2px;
  transform: translate(-50%, -50%);
}
.srv-plus::before { width: 20px; height: 2px; }
.srv-plus::after { width: 2px; height: 20px; }
.srv.open .srv-plus { transform: rotate(45deg); }
.srv-body { height: 0; overflow: hidden; transition: height .5s var(--ease-io); }
.srv-body-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
  padding: 0 4.6rem 2.2rem 0;
}
.srv-body-inner p { max-width: 52ch; font-size: 1.1rem; color: var(--ink-2); line-height: 1.8; }
.srv-tags { display: flex; gap: .6rem; flex-wrap: wrap; }
.srv-tags span {
  border: 1px solid var(--line); border-radius: 999px;
  padding: .35em 1em; font-size: .85rem; font-weight: 600; color: var(--ink-2);
}

/* ═══ 06 · CONTACT ═══════════════════════════════════ */
.contact {
  background: var(--ink); color: var(--cream); padding: 15vh 8vw;
  position: relative; overflow: hidden;
}
/* glow orbs for depth */
.contact::before, .contact::after {
  content: ''; position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(70px); z-index: 0;
}
.contact::before {
  width: 46vw; height: 46vw; top: -14vw; inset-inline-start: -12vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .3), transparent 65%);
}
.contact::after {
  width: 34vw; height: 34vw; bottom: -12vw; inset-inline-end: -8vw;
  background: radial-gradient(circle, rgba(201, 163, 95, .18), transparent 65%);
}
.contact > * { position: relative; z-index: 1; }
/* huge ghost "07" behind everything */
.contact-watermark {
  position: absolute; z-index: 0; inset-inline-end: -2vw; top: 2vh;
  font-family: var(--f-disp); font-size: clamp(14rem, 32vw, 30rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 241, 234, .06);
  pointer-events: none; user-select: none;
}
.contact-head {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
}
.contact-title { font-size: clamp(2.4rem, 6.5vw, 5rem); margin: 1.6rem 0 .8rem; }
.contact-title .accent { color: var(--accent-l); }
.contact-lede {
  color: rgba(244, 241, 234, .55); font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 44ch; margin-bottom: 3.2rem;
}
.contact-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.4rem;
  max-width: 1200px; align-items: stretch;
}
/* shared glass panel for form + info, with a soft gradient edge */
.contact-panel {
  position: relative;
  border: 1px solid rgba(244, 241, 234, .1); border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(244, 241, 234, .05), rgba(244, 241, 234, .015) 55%),
    rgba(19, 18, 17, .4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 2.6rem;
  transition: border-color .35s;
}
.contact-panel::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(200deg, rgba(var(--accent-l-rgb), .45), transparent 30%, transparent 70%, rgba(201, 163, 95, .3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.contact-panel:hover::before, .contact-panel:focus-within::before { opacity: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.6rem; }
.field label {
  font-weight: 600; font-size: .92rem; margin-bottom: .2rem;
  color: rgba(244, 241, 234, .55); transition: color .3s;
}
.field:focus-within label { color: var(--accent-l); }
.field input, .field textarea, .field select {
  border: 1px solid rgba(244, 241, 234, .14);
  border-radius: 14px;
  padding: .8em 1em;
  color: var(--cream); font-family: inherit;
  font-size: 1.08rem; font-weight: 600;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
  background-color: rgba(244, 241, 234, .045);
}
.field input:hover, .field textarea:hover, .field select:hover {
  border-color: rgba(244, 241, 234, .3);
}
.field textarea { resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.field select option {
  color: var(--ink);
  background: var(--cream);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-l);
  background-color: rgba(var(--accent-rgb), .07);
  box-shadow: 0 0 0 4px rgba(var(--accent-l-rgb), .14);
}
.field input[dir="ltr"] { text-align: left; }
.field.err input, .field.err textarea, .field.err select { border-color: var(--err); }
.field-err { color: #ff9d9d; font-size: .85rem; margin-top: .4rem; min-height: 1.2em; }
.hp-field {
  position: absolute !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip-path: inset(50%) !important;
  white-space: nowrap !important; pointer-events: none !important;
}
.form-privacy { margin-top: 1rem; color: rgba(244, 241, 234, .68); font-size: .86rem; line-height: 1.6; }
.form-privacy a { color: var(--cream); font-weight: 800; text-underline-offset: .2em; }
.form-status { min-height: 1.5em; margin-top: .65rem; color: #a9ffc1; font-weight: 800; }
.form-status.error { color: #ffb0b0; }
.submit-btn {
  background: var(--cream); color: var(--ink);
  margin-top: .8rem; padding: 1.05em 2.6em; font-size: 1.05rem;
}
.submit-btn:hover { background: var(--accent); color: #fff; }
.submit-btn .sb-arrow { transition: transform .3s var(--ease-out); }
.submit-btn:hover .sb-arrow { transform: translateX(-6px); }
.submit-btn.sent { background: var(--ok); color: #fff; pointer-events: none; }
.submit-btn:disabled { opacity: .75; pointer-events: none; }

.contact-info {
  display: flex; flex-direction: column; gap: .8rem;
}
.ci-avail {
  display: inline-flex; align-items: center; gap: .6em; align-self: start;
  border: 1px solid rgba(var(--accent-l-rgb), .35); border-radius: 999px;
  background: rgba(var(--accent-rgb), .08);
  padding: .45em 1.1em; font-size: .85rem; font-weight: 600;
  color: rgba(244, 241, 234, .85);
}
.ci-avail i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); }
  70% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
.contact-info h3 { font-size: 1.25rem; margin-bottom: .4rem; }
/* contact methods as tap-friendly icon cards */
.ci-card {
  display: flex; align-items: center; gap: 1rem;
  color: var(--cream); text-decoration: none; font-weight: 600;
  padding: 1rem 1.1rem; border-radius: 16px;
  border: 1px solid rgba(244, 241, 234, .1);
  background: rgba(244, 241, 234, .03);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease-out);
}
.ci-card:hover {
  border-color: rgba(var(--accent-l-rgb), .55);
  background: rgba(var(--accent-rgb), .09);
  transform: translateY(-2px);
}
.ci-ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem;
  color: var(--accent-l);
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .28), rgba(var(--accent-rgb), .08));
  border: 1px solid rgba(var(--accent-l-rgb), .3);
}
.ci-body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ci-v { overflow-wrap: anywhere; }
.ci-arrow {
  margin-inline-start: auto;
  opacity: 0; transform: translateX(8px);
  transition: opacity .3s, transform .3s var(--ease-out);
  color: var(--accent-l);
}
.ci-card:hover .ci-arrow { opacity: 1; transform: translateX(0); }
.ci-k { color: rgba(244, 241, 234, .5); font-size: .82rem; font-weight: 400; }
/* contact-card WhatsApp button — the classic pill, in the accent blue */
.wa-btn {
  margin-top: 1.6rem; justify-content: center; gap: .6em;
  border: 1.5px solid rgba(var(--accent-rgb), .65);
  background: rgba(var(--accent-rgb), .1); color: var(--accent-l);
}
.wa-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.wa-ic { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }

/* floating WhatsApp button — always on screen, bright blue, animated */
.wa-float {
  position: fixed; bottom: 26px; left: 26px; right: auto; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-l), var(--accent) 90%);
  color: #fff; text-decoration: none;
  box-shadow: 0 10px 32px rgba(var(--accent-rgb), .45);
  animation: waGlow 2.8s ease-in-out infinite;
  transition: transform .3s var(--ease-out), box-shadow .3s, opacity .6s var(--ease-out), filter .3s;
}
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid rgba(var(--accent-l-rgb), .75);
  animation: waRipple 2.4s ease-out infinite;
  pointer-events: none;
}
.wa-float-ic { width: 30px; height: 30px; fill: currentColor; flex: none; }
.wa-float-label {
  position: absolute; left: calc(100% + 14px); right: auto; top: 50%;
  transform: translateY(-50%) translateX(-10px);
  background: var(--ink); color: var(--cream);
  padding: .55em 1.1em; border-radius: 999px;
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(19, 18, 17, .25);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease-out);
}
.wa-float:hover, .wa-float:focus-visible {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 18px 48px rgba(var(--accent-rgb), .6);
  filter: brightness(1.08);
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label {
  opacity: 1; transform: translateY(-50%) translateX(0);
}
.wa-float:hover .wa-float-ic { animation: waRing .55s ease; }
.wa-float:active { transform: scale(.92); }
/* pops in once the intro hands over */
html.js .wa-float { opacity: 0; transform: translateY(24px) scale(.7); }
body.intro-done .wa-float { opacity: 1; transform: none; }
html.rm .wa-float { opacity: 1 !important; transform: none !important; }
@keyframes waGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(var(--accent-rgb), .35); }
  50% { box-shadow: 0 12px 44px rgba(var(--accent-rgb), .62); }
}
@keyframes waRipple {
  0% { transform: scale(1); opacity: .8; }
  75%, 100% { transform: scale(1.55); opacity: 0; }
}
@keyframes waRing {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-14deg) scale(1.12); }
  60% { transform: rotate(10deg) scale(1.08); }
}
@media (max-width: 720px) {
  .hero-bottom { bottom: 90px; padding-inline: 66px; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; left: 18px; right: auto; }
  .wa-float-ic { width: 26px; height: 26px; }
}
.ci-social { display: flex; gap: .6rem; justify-content: center; margin-top: 1.1rem; flex-wrap: wrap; }
.ci-social a {
  border: 1px solid var(--line-cream); border-radius: 999px;
  padding: .35em 1em; font-size: .82rem; font-weight: 600;
  color: rgba(244, 241, 234, .7); text-decoration: none;
  transition: color .25s, border-color .25s;
}
.ci-social a:hover { color: var(--accent-l); border-color: var(--accent-l); }
.ci-note { color: rgba(244, 241, 234, .5); font-size: .9rem; text-align: center; margin-top: 1.1rem; }

/* ═══ FOOTER ═════════════════════════════════════════ */
.footer {
  background: #0b0a09; color: var(--cream);
  padding: 9vh 8vw 4vh; overflow: hidden;
}
.foot-mark {
  font-family: var(--f-disp); text-align: center;
  font-size: clamp(7rem, 24vw, 22rem); line-height: .85;
  color: rgba(244, 241, 234, .36);
  -webkit-text-stroke: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  user-select: none; margin-bottom: 4rem;
}
.foot-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
  max-width: 1000px; margin: 0 auto 4rem;
}
.foot-col h3, .foot-col h4 { font-size: .95rem; font-weight: 600; color: rgba(244, 241, 234, .62); margin-bottom: 1.1rem; }
.foot-col a, .to-top {
  display: flex; align-items: center; min-height: 44px; padding: .3rem 0;
  color: var(--cream); text-decoration: none; font-weight: 600;
  background: none; border: none; font-family: inherit; font-size: 1rem;
  text-align: start; cursor: pointer;
  transition: color .25s;
}
.foot-col a:hover, .to-top:hover { color: var(--accent-l); }
.to-top { margin-top: 1rem; color: var(--accent-l); }
.credit {
  text-align: center; color: rgba(244, 241, 234, .52); font-size: .9rem;
  border-top: 1px solid rgba(244, 241, 234, .08); padding-top: 2.4rem;
}

/* ═══ TOAST ══════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 4vh; left: 50%; z-index: 99;
  transform: translate(-50%, calc(100% + 8vh));
  opacity: 0; visibility: hidden;
  background: var(--ink); color: var(--cream);
  padding: 1em 2em; border-radius: 999px; font-weight: 700;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  transition: transform .5s var(--ease-out), opacity .25s, visibility 0s .5s;
  pointer-events: none; max-width: 90vw; text-align: center;
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1; visibility: visible;
  transition: transform .5s var(--ease-out), opacity .25s;
}

/* ═══ REVEALS ════════════════════════════════════════ */
html.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .7s ease, transform .7s var(--ease-out);
}
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js [data-delay="1"] { transition-delay: .08s; }
html.js [data-delay="2"] { transition-delay: .16s; }
html.js [data-delay="3"] { transition-delay: .24s; }
html.js [data-delay="4"] { transition-delay: .32s; }
html.js [data-delay="5"] { transition-delay: .4s; }

/* ═══ GRADIENT PLACEHOLDERS (fake video) ═════════════ */
.g-saints, .g-flore, .g-aurum, .g-meridian, .g-museum, .g-volt, .g-sovereign, .g-corpus, .g-kin {
  background-size: 220% 220%;
  animation: gradShift 9s ease-in-out infinite alternate;
  position: relative;
}
.g-saints   { background-image: linear-gradient(135deg, #14161c, #3b4252, #6b7689); }
.g-flore    { background-image: linear-gradient(135deg, #ff8ac2, #7b5cff, #ffd166); animation-duration: 8s; }
.g-aurum    { background-image: linear-gradient(135deg, #0d0b08, #4a3b1e, #c9a35f); animation-duration: 10s; }
.g-meridian { background-image: linear-gradient(135deg, #0e1b2a, #28486b, #7fa6c9); animation-duration: 11s; }
.g-funai    { background-image: linear-gradient(135deg, #080510, #3f168a, #8b45ff); animation-duration: 8s; }
.g-museum   { background-image: linear-gradient(135deg, #e7e0d2, #c98a6b, #a04e33); animation-duration: 9.5s; }
.g-volt     { background-image: linear-gradient(135deg, #0f110c, #3f5a12, #c8f542); animation-duration: 7.5s; }
.g-sovereign{ background-image: linear-gradient(135deg, #1a1006, #7a4a1e, #ffb95e); animation-duration: 10.5s; }
.g-corpus   { background-image: linear-gradient(135deg, #cbb59b, #e3d3bd, #8a6f52); animation-duration: 9s; }
.g-kin      { background-image: linear-gradient(135deg, #f2eeea, #f7d3dd, #c81e4a); animation-duration: 8.5s; }
.g-saints::after, .g-flore::after, .g-aurum::after, .g-meridian::after, .g-museum::after, .g-volt::after {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grain); background-size: 120px;
  opacity: .5; mix-blend-mode: overlay; pointer-events: none;
}
@keyframes gradShift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

/* ═══ ADMIN TOOLS (Ctrl+F3) ══════════════════════════ */
.admin {
  position: fixed; top: 92px; inset-inline-end: 18px; z-index: 140;
  width: 302px; max-width: calc(100vw - 24px);
  background: rgba(15, 14, 13, .96); color: var(--cream);
  border: 1px solid rgba(244, 241, 234, .14); border-radius: 18px;
  padding: 1.1rem 1.2rem 1.3rem;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-14px) scale(.97);
  pointer-events: none; visibility: hidden;
  transition: opacity .3s, transform .35s var(--ease-out), visibility 0s .35s;
}
.admin.open {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity .3s, transform .35s var(--ease-out), visibility 0s;
}
.ad-head { display: flex; align-items: center; gap: .6rem; }
.ad-head > span:first-child { font-family: var(--f-disp); letter-spacing: .14em; font-size: .8rem; color: var(--accent-l); }
.ad-hint {
  margin-inline-start: auto; font-size: .68rem; color: rgba(244, 241, 234, .45);
  border: 1px solid rgba(244, 241, 234, .18); padding: .18em .55em; border-radius: 6px;
}
.ad-close {
  background: none; border: none; color: var(--cream);
  font-size: .95rem; cursor: pointer; padding: .15em .35em; font-family: inherit;
}
.ad-close:hover { color: var(--accent-l); }
.ad-sec { margin-top: 1rem; }
.ad-sec h3, .ad-sec h5 {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(244, 241, 234, .5); margin-bottom: .5rem;
}
.ad-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.ad-row button {
  flex: 1 1 auto; min-width: 0;
  border: 1px solid rgba(244, 241, 234, .16); background: rgba(244, 241, 234, .05);
  color: var(--cream); border-radius: 10px; padding: .55em .8em;
  font-family: inherit; font-weight: 600; font-size: .84rem; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.ad-row button:hover { border-color: rgba(244, 241, 234, .45); }
.ad-row button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
html.js .admin button { cursor: none; }
@media (pointer: coarse) { html.js .admin button { cursor: pointer; } }

/* device preview shell */
.devview {
  position: fixed; inset: 0; z-index: 135;
  background: #14120f;
  display: flex; flex-direction: column;
}
.devview[hidden] { display: none; }
.dv-bar { display: flex; align-items: center; justify-content: center; gap: 1.4rem; padding: .85rem; flex: none; }
.dv-size { color: rgba(244, 241, 234, .6); font-weight: 700; font-size: .92rem; direction: ltr; }
.dv-frame-wrap { flex: 1; display: grid; place-items: center; padding: 0 1rem 1.2rem; min-height: 0; }
.dv-frame {
  background: #fff; border: none; border-radius: 26px;
  box-shadow: 0 0 0 9px #060505, 0 0 0 10px rgba(244, 241, 234, .12), 0 40px 110px rgba(0, 0, 0, .65);
}

/* ═══ PURPLE THEME (admin: שחור־סגול) ════════════════
   flips every blue in the site to purple; the hero's ink
   wash cools toward lavender to match */
html[data-theme="purple"] {
  --accent: #8b45ff;
  --accent-l: #b388ff;
  --accent-readable: #7027d0;
  --ok: #8b45ff;
  --accent-rgb: 139, 69, 255;
  --accent-l-rgb: 179, 136, 255;
}
html[data-theme="purple"] .ink-wash { background: #f0ecf7; }
html[data-theme="purple"] .av-o { background: linear-gradient(135deg, #8b45ff, #4b1e8f); }
html[data-theme="purple"] .av-s { background: conic-gradient(from 210deg, #1588ff 0deg 318deg, #7b5cff 342deg, #1588ff 360deg); }

/* ═══ RESPONSIVE ═════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-pill { display: none; }
  .menu-btn { display: grid; }
}

@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .duo { grid-template-columns: 1fr; max-width: 620px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card-main { grid-row: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-watermark { font-size: clamp(9rem, 40vw, 16rem); top: auto; bottom: -4vw; opacity: .7; }
  .scard { width: 48vw; }
}

@media (max-width: 720px) {
  :root { --stackW: 86vw; }
  .nav { padding: .9rem 1rem; }
  .nav.scrolled { padding: .6rem 1rem; }
  .cta-btn { font-size: .85rem; padding: .65em 1.2em; }
  .brand { font-size: 1rem; }

  .hk-word { font-size: clamp(6rem, 34vw, 11rem); }
  .eyebrow { top: 11vh; padding: 0 2rem; }
  .gal-o, .gal-s { font-size: 26vh; }
  .sp-brand { display: none; }

  .hp-big { font-size: clamp(1.9rem, 10vw, 2.8rem); white-space: normal; }
  .hp-sub { font-size: .95rem; max-width: 34ch; }
  .hp-rotbox { font-size: clamp(2.6rem, 15vw, 4rem); }
  .gal-skip { width: min(250px, 72vw); }
  .gal-more { bottom: 18px; inset-inline-start: 14px; inset-inline-end: auto; padding: .7em 1.3em; font-size: .88rem; }
  .admin { top: 76px; inset-inline-end: 12px; }
  .about-contact { gap: .7rem; }
  .ac-dot { display: none; }
  .about-contact a { flex: 1 1 100%; text-align: center; }

  .soc-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .soc-profile { flex-direction: column; text-align: center; padding: 1.6rem; }
  .sp-row { justify-content: center; }
  .sp-stats { justify-content: center; gap: 1.2rem; }
  .brand-logo { height: 88px; }
  .nav.scrolled .brand-logo { height: 72px; }
  .foot-logo { height: 64px; }

  .person { padding: 2.2rem; }

  .srv-head { gap: 1.2rem; }
  .srv-body-inner { padding: 0 3.8rem 2rem 0; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-panel { padding: 1.8rem; }

  .foot-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .menu { padding: 14vh 8vw 8vh; }
  .menu-foot { flex-direction: column; gap: .8rem; }
}

@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr; }
  .stats { gap: 2rem 1.2rem; }
}

/* ═══ REDUCED MOTION (opt-in via ?rm=1 — html.rm) ════ */
html.rm *, html.rm *::before, html.rm *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}
html.rm { scroll-behavior: auto; }
html.rm body { cursor: auto; }
html.rm a, html.rm button, html.rm input, html.rm textarea, html.rm label { cursor: pointer; }
html.rm .cursor, html.rm .preloader { display: none; }
html.rm .intro-el, html.rm [data-reveal] { opacity: 1 !important; transform: none !important; }
html.rm .hero { height: auto; }
html.rm .hero-sticky { position: relative; height: 100vh; overflow: hidden; }
html.rm .hero-knock, html.rm .hero-knock-stroke { transform: none !important; opacity: 1 !important; }
html.rm .hk-l { opacity: 1 !important; transform: none !important; filter: none !important; }
html.rm .hero-phase, html.rm .hero-dark { display: none; }
html.rm .scroll-hint, html.rm .gal-new, html.rm .gal-letters { display: none; }
html.rm .gallery { height: auto; }
html.rm .gal-sticky { position: static; height: auto; overflow: visible; padding: 12vh 4vw; }
html.rm .gal-label { position: static; margin-bottom: 3rem; }
html.rm .stack { position: static; display: grid; gap: 2.5rem; justify-items: center; }
html.rm .scard { opacity: 1 !important; position: static; transform: none !important; width: min(84vw, 620px); }

/* ═══ ACCESSIBILITY PREFERENCES ══════════════════════ */
.a11y-shell { position: relative; z-index: 125; }
.a11y-fab {
  position: fixed; z-index: 125; inset-inline-start: 18px; bottom: 18px;
  min-height: 48px; display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1rem; border: 2px solid currentColor; border-radius: 999px;
  background: #fff; color: #111; box-shadow: 0 12px 38px rgba(0, 0, 0, .24);
  font-weight: 900; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}
.a11y-fab.is-dragging { cursor: grabbing; box-shadow: 0 16px 44px rgba(0, 0, 0, .32); transform: scale(1.03); }
body[data-page-type="gallery"] .a11y-fab,
body[data-page-type="project"] .a11y-fab { width:48px; justify-content:center; padding:0; }
body[data-page-type="gallery"] .a11y-fab span:last-child,
body[data-page-type="project"] .a11y-fab span:last-child { display:none; }
.a11y-panel {
  position: fixed; z-index: 126; inset-inline-start: 18px; bottom: 78px;
  width: min(360px, calc(100vw - 36px)); padding: 1.15rem;
  max-height: calc(100vh - 24px); overflow: auto;
  border: 2px solid #111; border-radius: 18px; background: #fff; color: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32); text-align: start;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.a11y-panel-head h2 { font-size: 1.3rem; }
.a11y-close {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid #bbb; border-radius: 50%; background: #fff; color: #111; cursor: pointer;
}
.a11y-intro { margin: .7rem 0 1rem; color: #333; line-height: 1.55; font-size: .9rem; }
.a11y-options { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.a11y-option, .a11y-reset {
  min-height: 48px; padding: .65rem .7rem; border: 2px solid #222; border-radius: 12px;
  background: #fff; color: #111; font-weight: 800; cursor: pointer;
}
.a11y-option.on { background: #111; color: #fff; }
.a11y-reset { width: 100%; margin-top: .75rem; border-color: #777; }
.menu-a11y {
  min-height: 44px; padding: .55rem .85rem; border: 1px solid var(--line-cream);
  border-radius: 999px; background: transparent; color: var(--cream); font-weight: 800; cursor: pointer;
}
html.a11y-large { font-size: 118%; }
html.a11y-links a:not(.btn):not(.brand):not(.cta-btn):not(.wa-float):not(.a11y-fab) {
  text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .22em;
}
html.a11y-contrast {
  --bg: #fff; --bg-2: #f3f3f3; --ink: #000; --ink-2: #202020;
  --line: rgba(0, 0, 0, .42); --line-cream: rgba(255, 255, 255, .48);
  --accent: #003cff; --accent-l: #8fb3ff; --accent-readable: #003cff;
}
html.a11y-contrast .why, html.a11y-contrast .about, html.a11y-contrast .contact,
html.a11y-contrast .footer { background: #000; color: #fff; }
html.a11y-contrast .why-text, html.a11y-contrast .bio, html.a11y-contrast .project-lead,
html.a11y-contrast .section-head p { color: #eee; }

/* ═══ SIMPLE / LEGAL PAGES ═══════════════════════════ */
.simple-page { min-height: 100vh; background: var(--bg); color: var(--ink); cursor: auto; }
html.js .simple-page, html.js .simple-page a, html.js .simple-page button { cursor: auto; }
.simple-top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(244, 241, 234, .94); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.simple-brand { color: var(--ink); text-decoration: none; font-family: var(--f-disp); letter-spacing: .04em; }
.simple-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.simple-nav a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; padding: .4rem .75rem; font-weight: 800; }
.legal-main { width: min(860px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 0; }
.legal-kicker { color: var(--accent); font-weight: 900; }
.legal-main h1 { font-size: clamp(2.6rem, 8vw, 5.8rem); margin: .25em 0 .2em; }
.legal-updated { color: var(--ink-2); margin-bottom: 3rem; }
.legal-main section { padding: 2rem 0; border-top: 1px solid var(--line); }
.legal-main h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: .8rem; }
.legal-main h3 { font-size: 1.08rem; margin: 1.2rem 0 .4rem; }
.legal-main p, .legal-main li { color: var(--ink-2); line-height: 1.85; }
.legal-main ul { padding-inline-start: 1.4rem; }
.legal-main a { color: var(--accent); font-weight: 800; }
.simple-foot {
  padding: 2rem max(1rem, 5vw); background: var(--ink); color: var(--cream);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.simple-foot a { color: var(--cream); min-height: 44px; display: inline-flex; align-items: center; }
.not-found-main {
  min-height: calc(100vh - 82px); display: grid; place-items: center; text-align: center;
  padding: 5rem 1rem; overflow: hidden; position: relative;
}
.not-found-code {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  font-family: var(--f-disp); font-size: min(55vw, 30rem); color: rgba(var(--accent-rgb), .08);
  line-height: 1; pointer-events: none;
}
.not-found-card { position: relative; z-index: 1; max-width: 650px; }
.not-found-card h1 { font-size: clamp(2.7rem, 8vw, 6rem); margin-bottom: .4em; }
.not-found-card p { color: var(--ink-2); font-size: 1.15rem; margin-bottom: 1.8rem; }
.not-found-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.gp-legal, .project-legal {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 1rem; margin-top: 1.25rem;
}
.gp-legal a { color: var(--ink-2); font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.project-legal a { color: rgba(244, 241, 234, .78); font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.project-foot .btn { margin: .35rem; }
.project-foot .btn.ghost { color: var(--cream); border-color: rgba(244, 241, 234, .4); }
.project-foot .btn.ghost:hover { color: #fff; border-color: #d6ad65; }

@media (max-width: 600px) {
  .a11y-fab span:last-child { display: none; }
  .a11y-fab { width: 48px; justify-content: center; padding: 0; }
  .a11y-options { grid-template-columns: 1fr; }
  .simple-top { align-items: flex-start; }
  .simple-nav { justify-content: flex-end; }
  .pm-facts, .pm-compare { grid-template-columns: 1fr; }
}

/* No-JavaScript fallback still honors the visitor's operating-system setting. */
@media (prefers-reduced-motion: reduce) {
  html:not(.js) { scroll-behavior: auto; }
  html:not(.js) *, html:not(.js) *::before, html:not(.js) *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
