/* Ofir Talbi, personal site. Dark premium theme.
   Near-black with warm brown depth, off-white type, one blush accent used only
   for the primary CTA and small highlights.
   Radius rule: buttons 10px, pills full, cards 24px, frames 16px, inputs 12px. */

@font-face {
  font-family: "Plex Hebrew"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Plex Hebrew"; font-style: normal; font-display: swap; font-weight: 500 600;
  src: url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-500-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Plex Hebrew"; font-style: normal; font-display: swap; font-weight: 700 800;
  src: url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-700-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/geist-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/geist-mono-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193, U+2212;
}

:root {
  --bg: #0b0a0a;
  --bg-2: #110e0e;
  --card: #151212;
  --card-2: #1b1716;
  --line: #2a2423;
  --line-2: #3a3230;
  --field-line: #7a6d69;
  --text: #f2eeec;
  --muted: #c4bcb9;
  --faint: #b0a6a3;
  --accent: #e8a79a;
  --accent-2: #f0bcb1;
  --accent-wash: rgb(232 167 154 / 0.1);
  --on-accent: #1d1211;
  --error: #ff9c8f;
  --focus: #e8a79a;
  --shadow: 0 1px 0 rgb(255 255 255 / 0.03) inset, 0 24px 48px -28px rgb(0 0 0 / 0.9);

  --font: "Geist", "Plex Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --track: -0.01em;
  --wrap: 1200px;
  --gutter: 20px;
  --r-btn: 10px;
  --r-card: 24px;
  --r-frame: 16px;
  --r-field: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
:root:lang(en) {
  --track: -0.04em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 78% -6%, rgb(72 59 59 / 0.42), transparent 70%),
    radial-gradient(700px 500px at 0% 28%, rgb(72 59 59 / 0.18), transparent 70%),
    var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: var(--track); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.muted { color: var(--muted); }
.i { width: 1.2em; height: 1.2em; flex: none; stroke-width: 1.75; }
.i-sm { width: 1em; height: 1em; vertical-align: -0.12em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(232 167 154 / 0.35); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .lang-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 40;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 46px; padding-block: 0.55em; padding-inline: 1.1em 0.6em;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.3s var(--ease);
}
.btn:not(:has(.btn-chev)) { padding-inline: 1.15em; }
.btn:active { transform: scale(0.98); }
.btn-chev {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; margin-inline-start: 0.2em;
  background: rgb(0 0 0 / 0.08); border: 1px solid rgb(0 0 0 / 0.08);
  transition: transform 0.3s var(--ease);
}
.btn-chev .i { width: 16px; height: 16px; }
.btn:hover .btn-chev { transform: translateX(3px); }
[dir="rtl"] .btn:hover .btn-chev { transform: translateX(-3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12) inset; }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 10px 30px -12px rgb(232 167 154 / 0.6); }
.btn-dark { background: var(--card-2); color: var(--text); border-color: var(--line); }
.btn-dark .btn-chev { background: rgb(255 255 255 / 0.04); border-color: var(--line); }
.btn-dark:hover { background: #221d1c; border-color: var(--line-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card-2); }
.btn-sm { min-height: 40px; font-size: 0.92rem; }
.btn-sm .btn-chev { width: 24px; height: 24px; }
.btn-lg { min-height: 52px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- floating nav ---------- */
.site-header { position: sticky; top: 0; z-index: 30; padding-top: 12px; }
.bar {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  min-height: 60px; padding-inline: 16px 10px;
  background: rgb(21 18 18 / 0.78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px -24px rgb(0 0 0 / 0.9);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.05rem; white-space: nowrap; letter-spacing: var(--track); }
.brand-mark {
  position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 10px; font-family: "Geist", sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: -0.02em;
  color: var(--text); background: linear-gradient(145deg, #2a2221, #141010);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 6px 16px -8px rgb(0 0 0 / 0.9);
}
.brand-mark::after {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; inset-block-end: -2px; inset-inline-end: -2px;
  background: var(--accent); box-shadow: 0 0 0 3px var(--bg-2), 0 0 12px rgb(232 167 154 / 0.7);
}
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; padding-block: 6px; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.bar-actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.lang-link {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding-inline: 10px;
  border-radius: var(--r-btn); text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--muted);
}
.lang-link:hover { color: var(--text); background: var(--card-2); }
.menu { position: static; }
.bar { position: relative; }
.menu summary {
  list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-btn);
  color: var(--muted); cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { color: var(--text); background: var(--card-2); }
.menu-panel {
  position: absolute; top: calc(100% + 10px); inset-inline: 0; z-index: 31;
  display: grid; padding: 8px; border-radius: 16px; background: #1b1716; border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -10px #000, 0 0 0 100vmax rgb(11 10 10 / 0.55);
}
.menu-panel > a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.menu-panel > a:hover { background: rgb(255 255 255 / 0.05); color: var(--accent); }
.menu-cta { display: grid; gap: 8px; padding: 10px 6px 6px; margin-top: 6px; border-top: 1px solid var(--line); }
.menu-cta .btn { justify-content: space-between; }
body:has(.menu[open]) main { filter: blur(2px); }
@media (min-width: 940px) {
  .menu { display: none; }
  .bar { grid-template-columns: 1fr auto 1fr; padding-inline: 20px 10px; }
  .nav { display: flex; }
  .lang-long { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .lang-short { display: none; }
}
@media (max-width: 440px) { .bar-actions > .btn { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-top: 44px; }
.hero::before {
  /* halftone glow band: a dotted ring, faded at both ends */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 1500px; height: 1500px; border-radius: 50%;
  inset-inline-start: 18%; top: 120px;
  background: radial-gradient(circle, rgb(232 167 154 / 0.55) 0 1.15px, transparent 1.7px) 0 0 / 9px 9px;
  -webkit-mask-image: radial-gradient(closest-side, transparent 66%, #000 74%, #000 82%, transparent 90%), linear-gradient(200deg, transparent 18%, #000 40%, #000 58%, transparent 80%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(closest-side, transparent 66%, #000 74%, #000 82%, transparent 90%), linear-gradient(200deg, transparent 18%, #000 40%, #000 58%, transparent 80%);
  mask-composite: intersect;
  opacity: 0.55;
}
[dir="rtl"] .hero::before {
  -webkit-mask-image: radial-gradient(closest-side, transparent 66%, #000 74%, #000 82%, transparent 90%), linear-gradient(160deg, transparent 18%, #000 40%, #000 58%, transparent 80%);
  mask-image: radial-gradient(closest-side, transparent 66%, #000 74%, #000 82%, transparent 90%), linear-gradient(160deg, transparent 18%, #000 40%, #000 58%, transparent 80%);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 26px;
  border-radius: 999px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--line);
  color: var(--text); font-size: 0.82rem; font-weight: 500;
}
:lang(en) .pill { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.74rem; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-title { font-size: clamp(2.4rem, 4.6vw + 0.5rem, 4.1rem); line-height: 1.06; font-weight: 700; }
:lang(en) .hero-title { font-size: clamp(2.4rem, 4.2vw + 0.4rem, 4rem); font-weight: 600; }
.hero-title > span { display: block; }
.hero-title > span + span { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 0.5vw + 1rem, 1.22rem); color: var(--muted); margin-top: 22px; max-width: 40ch; }
:lang(en) .lead { max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; justify-content: space-between; } }

/* identity row */
.hero-id { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 30px; }
.avatar { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.hero-id p { display: grid; line-height: 1.3; }
.hero-id strong { font-weight: 700; }
.hero-id p span { color: var(--muted); font-size: 0.92rem; }
.pill-live { margin: 0; }
.pill-live::before { background: #7ee2a8; box-shadow: 0 0 0 0 rgb(126 226 168 / 0.6); }
@media (prefers-reduced-motion: no-preference) { .pill-live::before { animation: ping 2.4s ease-out infinite; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(126 226 168 / 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgb(126 226 168 / 0); } }

/* hero visual: the work itself */
.hero-visual { margin: 8px 0 0; }
.hv-stage { position: relative; aspect-ratio: 1 / 0.92; }
.hv-doc {
  position: absolute; top: 12%; inset-inline-end: 0; width: 88%;
  background: #f7f5f4; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 40px 80px -30px rgb(0 0 0 / 0.95), 0 0 80px -20px rgb(232 167 154 / 0.25);
  transform: rotate(1.2deg);
}
[dir="rtl"] .hv-doc { transform: rotate(-1.2deg); }
.hv-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1b1716; border-bottom: 1px solid var(--line); }
.hv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3230; }
.hv-bar span { margin-inline-start: 8px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.hv-doc img { width: 100%; }
.hv-phone {
  position: absolute; bottom: 0; inset-inline-start: 6%; width: 29%;
  border-radius: 20px; overflow: hidden; background: #0e0c0c; padding: 5px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16), 0 30px 60px -20px #000;
}
.hv-phone img { border-radius: 15px; }
.hv-chip, .hv-toast {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px;
  background: rgb(27 23 22 / 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 40px -16px #000;
  font-size: 0.84rem; line-height: 1.3; white-space: nowrap;
}
.hv-chip div, .hv-toast div { display: grid; }
.hv-chip b, .hv-toast b { font-weight: 600; }
.hv-chip span, .hv-toast span { color: var(--muted); font-size: 0.74rem; }
.hv-chip span { font-family: var(--mono); }
.hv-chip .i, .hv-toast .i { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--accent-wash); color: var(--accent); }
.hv-chip { top: 3%; inset-inline-start: 4%; z-index: 2; }
.hv-t1 { top: 47%; inset-inline-end: -3%; z-index: 2; }
.hv-t2 { bottom: 7%; inset-inline-start: 37%; z-index: 2; }
.hv-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
[dir="rtl"] .hv-flow { transform: scaleX(-1); }
.hv-flow path { fill: none; vector-effect: non-scaling-stroke; }
.hv-track { stroke: rgb(242 238 236 / 0.14); stroke-width: 1.2; stroke-dasharray: 3 5; }
.hv-beam { stroke: url(#hvg); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 18 220; stroke-dashoffset: 18; opacity: 0; }
.hero-visual figcaption { margin-top: 16px; font-size: 0.82rem; color: var(--faint); }
@media (max-width: 560px) {
  .hv-chip, .hv-toast { font-size: 0.74rem; padding: 7px 10px 7px 8px; gap: 8px; }
  .hv-chip .i, .hv-toast .i { width: 24px; height: 24px; padding: 4px; }
  .hv-chip span, .hv-toast span { display: none; }
  .hv-t1 { inset-inline-end: 0; }
  .hv-t2 { inset-inline-start: 26%; bottom: 4%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hv-doc { animation: doc-in 1.1s 0.1s var(--ease) both; }
  .hv-phone { animation: rise 1s 0.35s var(--ease) both, bob 7s 1.4s ease-in-out infinite; }
  .hv-chip { animation: pop 0.6s 0.2s var(--ease) both; }
  .hv-beam { animation: beam 7s linear infinite; }
  .b1 { animation-delay: 0.8s; }
  .b2 { animation-delay: 3.3s; }
  .hv-t1 { animation: toast 7s 1.6s var(--ease) infinite; }
  .hv-t2 { animation: toast 7s 4.1s var(--ease) infinite; }
}
@media (prefers-reduced-motion: reduce) { .hv-beam { display: none; } }
@keyframes doc-in { from { translate: 0 24px; } to { translate: 0 0; } }
@keyframes rise { from { translate: 0 18px; } to { translate: 0 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pop { from { transform: scale(0.92); } to { transform: none; } }
@keyframes beam { 0% { stroke-dashoffset: 18; opacity: 0; } 4% { opacity: 1; } 22% { opacity: 1; } 28% { stroke-dashoffset: -220; opacity: 0; } 100% { stroke-dashoffset: -220; opacity: 0; } }
@keyframes toast {
  0% { opacity: 0; transform: translateY(8px) scale(0.97); }
  6%, 78% { opacity: 1; transform: none; }
  86%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* proof strip + tools marquee */
.proof {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 56px;
  background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.proof li { display: flex; align-items: center; gap: 12px; padding: 18px 18px; background: var(--card); font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.proof .i { width: 22px; height: 22px; color: var(--accent); flex: none; }
@media (min-width: 960px) { .proof { grid-template-columns: repeat(4, 1fr); margin-top: 72px; } .proof li { padding: 22px 22px; } }
.tools-marquee { margin-top: 34px; padding-bottom: 8px; }
.tools-marquee > p { color: var(--faint); font-size: 0.86rem; margin-bottom: 14px; }
.marquee {
  display: flex; overflow: hidden; gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee ul { list-style: none; display: flex; flex: none; gap: 48px; padding-inline-end: 48px; }
.marquee li { font-family: "Geist", sans-serif; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; color: #8f8582; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .marquee ul { animation: marquee 32s linear infinite; }
  .marquee:hover ul { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .marquee { flex-wrap: wrap; justify-content: center; } .marquee ul + ul { display: none; } .marquee ul { flex-wrap: wrap; justify-content: center; gap: 12px 32px; } }
@keyframes marquee { to { transform: translateX(-100%); } }

@media (min-width: 960px) {
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; min-height: 520px; }
  .hero-visual { margin-top: 0; }
  .hero::before { top: 40px; }
}

/* spotlight on cards (pointer devices) */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(232 167 154 / 0.09), transparent 45%);
  transition: opacity 0.3s;
}
.spot:hover::before { opacity: 1; }

/* ---------- sections ---------- */
.section { padding-block: 72px; }
@media (min-width: 960px) { .section { padding-block: 112px; } }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 2.8vw + 1rem, 3.1rem); }
.section-head p { margin-top: 14px; max-width: 60ch; font-size: 1.08rem; }

.about-card, .service, .card, .step, .form, .aside-box, .cta-band, .process-note {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.025), transparent 60%), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

/* approach */
.section-about { padding-top: 64px; padding-bottom: 0; }
.about-card { display: grid; gap: 24px; padding: 26px; align-items: center; }
.about-photo { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; filter: saturate(0.9); }
.about-label { font-size: 0.9rem; font-weight: 600; color: var(--accent); letter-spacing: 0; margin-bottom: 10px; }
.statement { font-size: clamp(1.35rem, 1.5vw + 1rem, 2rem); font-weight: 600; line-height: 1.32; letter-spacing: var(--track); max-width: 36ch; }
:lang(en) .statement { max-width: 42ch; }
.about-story { margin-top: 16px; max-width: 64ch; color: #ddd5d2; }
.about-small { margin-top: 14px; max-width: 62ch; }
.leads-band-late { margin-top: 0; margin-bottom: 72px; }
.leads-band-wrap.leads-band-late .leads-band { border-color: var(--line); background: var(--card); }
.leads-band-wrap.leads-band-late .leads-band:hover { border-color: var(--line-2); }
.quotes { display: grid; gap: 18px; }
.quote blockquote::before { content: "\201D"; display: block; font-size: 3rem; line-height: 0.6; color: var(--accent); margin-bottom: 10px; font-family: Georgia, serif; }
.case-quote { margin: 4px 0 0; padding: 16px 18px; border-inline-start: 3px solid var(--accent); background: var(--bg-2); border-radius: 12px; }
.case-quote blockquote { margin: 0; font-weight: 500; }
.case-quote figcaption { margin-top: 8px; color: var(--muted); font-size: 0.9rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.quote { margin: 0; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.quote blockquote { margin: 0; font-size: 1.1rem; line-height: 1.55; }
.quote figcaption { display: grid; margin-top: 16px; }
.quote figcaption span { color: var(--muted); font-size: 0.92rem; }
@media (min-width: 760px) {
  .about-card { grid-template-columns: auto 1fr; gap: 40px; padding: 36px 40px; }
  .about-photo { width: 200px; height: 200px; }
}

/* services */
.services { list-style: none; display: grid; gap: 16px; }
.service { padding: 28px 26px; transition: transform 0.35s var(--ease), border-color 0.3s; }
.service:hover { transform: translateY(-4px); border-color: var(--line-2); }
.service-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 22px;
  background: var(--accent-wash); color: var(--accent); border: 1px solid rgb(232 167 154 / 0.18);
}
.service-icon .i { width: 22px; height: 22px; }
.service h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service p { color: var(--muted); }
@media (min-width: 680px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ---------- work ---------- */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.95); }
.card-media {
  margin: 10px 10px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-frame);
  background: #0e0c0c; border: 1px solid var(--line);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.7s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-cap { margin: 0; padding: 8px 24px 0; font-size: 0.8rem; color: var(--faint); }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 24px 22px; flex: 1; }
.card-title { font-size: 1.24rem; line-height: 1.3; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.card-title a:focus-visible { outline: none; }
.card:has(.card-title a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.card-context { font-size: 0.92rem; color: var(--muted); margin-top: -6px; }
.card-summary { color: var(--muted); font-size: 0.98rem; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.card-go {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--card-2); border: 1px solid var(--line); color: var(--text);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.card-go .i { width: 18px; height: 18px; }
.card:hover .card-go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateX(3px); }
[dir="rtl"] .card:hover .card-go { transform: translateX(-3px); }

.card-featured { margin-bottom: 18px; }
.card-featured .card-title { font-size: clamp(1.4rem, 1vw + 1rem, 1.85rem); }
@media (min-width: 900px) {
  .card-featured { display: grid; grid-template-columns: 1.2fr 1fr; }
  .card-featured .card-media { grid-column: 1; grid-row: 1; margin: 12px; margin-inline-end: 0; aspect-ratio: auto; min-height: 320px; }
  .card-featured .card-cap { grid-column: 1; grid-row: 2; padding: 0 24px 16px; }
  .card-featured .card-body { grid-column: 2; grid-row: 1 / span 2; padding: 34px 36px 30px; gap: 14px; justify-content: center; }
}
.card-grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* before / after ledger */
.ledger { margin: 2px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 0.95rem; background: var(--bg-2); }
.ledger-row { display: grid; grid-template-columns: 78px 1fr; }
:lang(en) .ledger-row { grid-template-columns: 92px 1fr; }
.ledger-row + .ledger-row { border-top: 1px solid var(--line); }
.ledger dt {
  padding: 10px 12px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--faint); border-inline-end: 1px solid var(--line);
}
.ledger dd { margin: 0; padding: 9px 14px; line-height: 1.5; }
.ledger-before dd { color: var(--muted); }
.ledger-after dt { color: var(--accent); background: var(--accent-wash); }
.ledger-after dd { font-weight: 600; color: var(--text); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 0.78rem; font-weight: 500; padding: 4px 10px; border-radius: 999px;
  background: rgb(255 255 255 / 0.03); color: var(--muted); border: 1px solid var(--line); direction: ltr; unicode-bidi: isolate;
}
.badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.02em;
}
.badge-demo { color: var(--text); border: 1px dashed var(--faint); }
.badge-live { background: var(--accent-wash); color: var(--accent); border: 1px solid rgb(232 167 154 / 0.25); }

.demos { margin-top: 80px; }
.demos-title { font-size: 1.6rem; }
.demos > .muted { margin: 8px 0 26px; }
.card-demo .card-media { aspect-ratio: 16 / 9; }

/* ---------- process ---------- */
.steps { list-style: none; display: grid; gap: 16px; }
.step { position: relative; padding: 26px; transition: transform 0.35s var(--ease), border-color 0.3s; }
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 20px;
  background: var(--card-2); border: 1px solid var(--line-2); color: var(--text);
}
.step-icon .i { width: 21px; height: 21px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); }
@media (min-width: 680px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 49px; inset-inline-start: calc(100% + 1px); width: 16px; height: 1px; background: var(--line-2);
  }
}
.process-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 20px 24px; border-radius: 18px;
  font-weight: 500; color: var(--text); background: linear-gradient(90deg, var(--accent-wash), transparent 70%), var(--card);
}
[dir="rtl"] .process-note { background: linear-gradient(270deg, var(--accent-wash), transparent 70%), var(--card); }
.process-note .i { color: var(--accent); margin-top: 0.2em; }

/* ---------- tools ---------- */
.section-tools { padding-block: 0 24px; }
.tools-wrap { display: grid; gap: 18px; align-items: center; padding-top: 36px; }
.tools-title { font-size: 1.05rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tools { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
[dir="rtl"] .tools { justify-content: flex-end; }
.tools li {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-weight: 500; font-size: 0.93rem; font-family: "Geist", var(--font); color: #ddd5d2;
}
@media (min-width: 960px) { .tools-wrap { grid-template-columns: 220px 1fr; gap: 40px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-copy h2 { font-size: clamp(2rem, 2.8vw + 1rem, 3.1rem); }
.lead-sm { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 44ch; }
.contact-or { margin-top: 34px; font-weight: 600; }
.contact-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 14px; }
.contact-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.contact-mail:hover { color: var(--accent); text-decoration-color: currentColor; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; } }

.form { padding: 26px 22px; display: grid; gap: 18px; }
@media (min-width: 640px) { .form { padding: 34px; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 0.96rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--field-line); border-radius: var(--r-field);
  padding: 12px 14px; min-height: 48px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 124px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(232 167 154 / 0.25); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: 0.88rem; color: var(--muted); }
.field-error { font-size: 0.9rem; color: var(--error); font-weight: 600; }
.field-error:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--text); padding: 14px 16px; border-radius: var(--r-field); background: var(--accent-wash); border: 1px solid rgb(232 167 154 / 0.3); }
.form-status.is-error { color: var(--error); }
.form button:disabled { opacity: 0.7; cursor: progress; }

/* ---------- footer ---------- */
.site-footer { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 48px; background: linear-gradient(180deg, transparent, rgb(72 59 59 / 0.12)); }
.footer-grid { display: grid; gap: 28px; }
.footer-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.footer-label { font-weight: 600; margin-bottom: 10px; color: var(--text); }
.footer-links { list-style: none; display: grid; gap: 6px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-base { margin-top: 44px; padding-block: 20px 30px; color: var(--faint); font-size: 0.88rem; }
.rule-in { background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.notice {
  position: fixed; inset-inline: 12px; bottom: 12px; z-index: 35; max-width: 520px;
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px;
  background: var(--card-2); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 20px 50px -20px #000;
  font-size: 0.9rem; color: var(--muted);
}
.notice[hidden] { display: none; }

/* ---------- leads: home band + page ---------- */
.leads-band-wrap { margin-top: 18px; }
.leads-band {
  display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; padding: 22px;
  border-radius: var(--r-card); text-decoration: none; border: 1px solid rgb(232 167 154 / 0.3);
  background: radial-gradient(600px 200px at 0% 0%, rgb(232 167 154 / 0.14), transparent 70%), var(--card);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
[dir="rtl"] .leads-band { background: radial-gradient(600px 200px at 100% 0%, rgb(232 167 154 / 0.14), transparent 70%), var(--card); }
.leads-band:hover { transform: translateY(-3px); border-color: rgb(232 167 154 / 0.55); }
.leads-band-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-wash); color: var(--accent); border: 1px solid rgb(232 167 154 / 0.25); }
.leads-band-icon .i { width: 26px; height: 26px; }
.leads-band-copy { display: grid; gap: 4px; }
.leads-band-title { font-weight: 700; font-size: 1.2rem; letter-spacing: var(--track); }
.leads-band-text { color: var(--muted); }
.leads-band .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) { .leads-band { grid-template-columns: auto 1fr auto; padding: 26px 30px; } .leads-band .btn { grid-column: auto; } }

.hero-leads .hero-title { font-size: clamp(2.3rem, 3.9vw + 0.5rem, 3.7rem); }
.hv-stage-leads { aspect-ratio: 1 / 0.86; }
.hv-stage-leads .hv-doc { top: 15%; width: 92%; }
.hv-stage-leads .hv-t1 { top: auto; bottom: 10%; inset-inline-end: 4%; }
.hv-stage-leads .hv-t2 { bottom: auto; top: 58%; inset-inline-start: -2%; }
.section-case { padding-top: 0; }
.case-card .card-title { font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); }
.case-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; position: relative; z-index: 2; }
.section-for { padding-top: 0; }
.for-grid { display: grid; gap: 22px; align-items: center; }
.for-grid h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); margin-bottom: 10px; }
.for-list li { font-family: var(--font); }
@media (min-width: 960px) { .for-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.faq-wrap { display: grid; gap: 26px; }
.faq { max-width: 900px; }
.faq-wrap h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { width: 20px; height: 20px; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- project page ---------- */
.project-head { padding-block: 48px 44px; border-bottom: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; text-decoration: none; margin-bottom: 28px; }
.back:hover { color: var(--text); }
.project-head .badge { margin-bottom: 16px; display: flex; width: max-content; }
.project-head h1 { font-size: clamp(2.1rem, 3.4vw + 1rem, 3.5rem); max-width: 22ch; }
:lang(en) .project-head h1 { max-width: 24ch; }
.project-head .lead { max-width: 60ch; }
.project-context { margin-top: 14px; color: var(--faint); font-weight: 500; }
.project-head .btn { margin-top: 24px; }

.project-body { display: grid; gap: 40px; padding-block: 48px; }
.project-main { display: grid; gap: 36px; max-width: 70ch; }
.project-main .ledger { font-size: 1rem; }
.project-main h2 { font-size: 1.4rem; margin-bottom: 12px; }
.project-main p { color: #d9d1ce; }
.how { list-style: none; counter-reset: how; display: grid; gap: 14px; }
.how li { counter-increment: how; position: relative; padding-inline-start: 48px; min-height: 32px; color: #d9d1ce; }
.how li::before {
  content: counter(how); position: absolute; inset-inline-start: 0; top: 0;
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem; background: var(--accent-wash); color: var(--accent); border: 1px solid rgb(232 167 154 / 0.2);
}
.project-aside { display: grid; gap: 16px; align-content: start; }
.aside-box { padding: 22px; border-radius: 20px; }
.aside-box h2 { font-size: 1rem; margin-bottom: 12px; letter-spacing: 0; }
.aside-cta-title { font-weight: 600; margin-bottom: 14px; }
.aside-cta .btn, .form .btn-block { justify-content: space-between; }
@media (min-width: 960px) {
  .project-body { grid-template-columns: minmax(0, 1fr) 310px; gap: 72px; padding-block: 64px; }
  .project-aside { position: sticky; top: 100px; }
}

.gallery { display: grid; gap: 44px; padding-bottom: 64px; }
.shot { margin: 0; }
.shot-frame { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; box-shadow: var(--shadow); }
.shot-frame img { border-radius: 12px; width: 100%; }
.shot-narrow .shot-frame { max-width: 420px; margin-inline: auto; }
.shot-narrow figcaption { text-align: center; }
.shot-portrait .shot-frame, .shot-portrait figcaption { max-width: 760px; margin-inline: auto; }
.shot-tall .shot-frame { position: relative; }
.shot-tall .shot-frame::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 12px; height: 110px; border-radius: 0 0 12px 12px;
  background: linear-gradient(to bottom, rgb(21 18 18 / 0), var(--card));
}
.shot figcaption { margin-top: 12px; color: var(--faint); font-size: 0.9rem; }
.shot figcaption a { color: var(--accent); font-weight: 600; margin-inline-start: 10px; text-underline-offset: 3px; }

.next { padding-bottom: 24px; }
.next a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 26px 0; border-block: 1px solid var(--line); text-decoration: none;
}
.next-label { grid-column: 1; color: var(--faint); font-size: 0.9rem; font-weight: 500; }
.next-title { grid-column: 1; font-size: clamp(1.2rem, 1vw + 1rem, 1.6rem); font-weight: 650; line-height: 1.3; letter-spacing: var(--track); }
.next .i-arrow { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; transition: transform 0.3s var(--ease); }
.next a:hover .next-title { color: var(--accent); }
.next a:hover .i-arrow { transform: translateX(4px); }
[dir="rtl"] .next a:hover .i-arrow { transform: translateX(-4px); }

.cta-band {
  display: grid; gap: 22px; align-items: center; margin-block: 32px 80px; padding: 34px 28px;
  max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter));
  background: radial-gradient(600px 220px at 85% 0%, rgb(232 167 154 / 0.12), transparent 70%), var(--card);
}
.cta-band h2 { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); }
.cta-band p { margin-top: 8px; color: var(--muted); }
.cta-band .cta-row { margin-top: 0; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1fr auto; padding: 48px 52px; } }

.simple { padding-block: 110px; min-height: 55vh; }
.simple h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem); }
.simple .btn { margin-top: 28px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
