/* Compound — landing, option A ("dark editorial"). Builds on global tokens. */

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); }

.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

/* reveals — CSS-only, degrade to fully visible */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .reveal { animation: rise .6s ease backwards; }
.d1 { animation-delay: .07s; } .d2 { animation-delay: .14s; }
.d3 { animation-delay: .21s; } .d4 { animation-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}

/* buttons */
.btn { font-family: var(--font-display); font-weight: var(--w-semibold); font-size: 15px;
  border-radius: var(--radius-pill); padding: 13px 24px; border: 1px solid transparent;
  cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--border-strong); background: oklch(1 0 0 / 0.04); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20;
  background: oklch(0.13 0.012 250 / 0.72); backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--border); }
.nav .bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { width: 30px; height: 30px; color: var(--text); flex: none; }
.brand .name { font-size: 21px; }
.links { display: flex; align-items: center; gap: 30px; }
.links a { font-size: 15px; color: var(--text-muted); transition: color .15s; }
.links a:hover { color: var(--text); }
.links .lang { display: flex; }
.links .lang svg { inline-size: 21px; block-size: 14px; border-radius: 2px;
  outline: 1px solid var(--border-2); opacity: .85; transition: opacity .15s; }
.links .lang:hover svg { opacity: 1; }

/* WhatsApp glyph inside buttons */
.btn .wa { inline-size: 17px; block-size: 17px; flex: none; }
.btn-sm .wa { inline-size: 15px; block-size: 15px; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(72px, 11vw, 140px) clamp(64px, 9vw, 118px); }
.hero .grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: var(--leading-tight); letter-spacing: -0.028em; }
.hero .eyebrow { margin-block-end: 20px; }
.hero .sub { margin-block-start: 26px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: var(--leading-relaxed);
  color: var(--text-muted); max-width: 44ch; }
.hero .cta { margin-block-start: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .cred { margin-block-start: 34px; font-family: var(--font-serif); font-style: italic;
  font-size: 1.08rem; color: var(--text-muted); max-width: 44ch; }
.hero-art { aspect-ratio: 1; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 120% at 70% 20%, oklch(0.55 0.095 248 / 0.18), transparent 60%),
    var(--surface); }
.hero-flow { position: relative; overflow: hidden; padding: clamp(34px, 4vw, 54px);
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  align-content: center; place-items: stretch; direction: ltr; }
.hero-flow::before { content: ""; position: absolute; inset: 24px;
  background-image: radial-gradient(oklch(1 0 0 / 0.09) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: radial-gradient(circle at center, black, transparent 72%); }
.hero-flow::after { content: ""; position: absolute; inset-inline: 58px; inset-block-start: 50%;
  block-size: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .72; }
.flow-node, .flow-core { position: relative; z-index: 1; min-block-size: 82px;
  border: 1px solid var(--border); border-radius: 12px; background: oklch(1 0 0 / 0.045);
  display: grid; place-items: center; text-align: center; padding: 12px; }
.flow-node { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted);
  letter-spacing: .04em; direction: inherit; }
.flow-node.source, .flow-node.done { border-color: var(--border-2); color: var(--text); }
.flow-core { grid-column: 1 / -1; min-block-size: 138px; background: oklch(0.55 0.095 248 / 0.13);
  border-color: oklch(0.55 0.095 248 / 0.42); box-shadow: var(--glow-accent); }
.flow-core svg { width: 58px; height: 58px; color: var(--text); }
.flow-core span { margin-block-start: 10px; font-family: var(--font-display); font-size: 1.05rem; font-weight: var(--w-semibold); }
:lang(he) .hero-flow, :lang(he) .flow-node { direction: rtl; }
@media (prefers-reduced-motion: reduce) {
  .hero-flow { animation: none; }
}

/* sections */
.sec { padding-block: clamp(64px, 9vw, 118px); }
.sec-head { max-width: 60ch; margin-block-end: 52px; }
.sec-head .eyebrow { margin-block-end: 16px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.026em; }
.sec-head p { margin-block-start: 18px; font-size: 1.12rem; color: var(--text-muted); line-height: var(--leading-relaxed); }

/* 01 — pains */
.pains { list-style: none; margin: 0; padding: 0; max-width: 62ch; }
.pains li { display: flex; gap: 26px; align-items: baseline; padding-block: 26px;
  border-block-start: 1px solid var(--border); }
.pains li:last-child { border-block-end: 1px solid var(--border); }
.pains .n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .12em; flex: none; }
.pains p { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: var(--leading-snug);
  font-family: var(--font-display); font-weight: var(--w-medium); letter-spacing: -0.01em; }
.kicker { margin-block-start: 40px; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--text); }
.kicker::before { content: ""; display: inline-block; inline-size: 44px; block-size: 2px;
  background: var(--accent); vertical-align: middle; margin-inline-end: 16px; }

/* 02 — services */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 30px; transition: border-color .2s ease, transform .2s ease; }
.svc:hover { border-color: var(--border-2); transform: translateY(-3px); }
.svc .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .12em; }
.svc h3 { margin-block-start: 16px; font-size: 1.4rem; }
.svc p { margin-block-start: 12px; color: var(--text-muted); line-height: var(--leading-relaxed); font-size: 1.02rem; }

/* 03 — approach */
.approach { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step .n { font-family: var(--font-mono); font-size: 13px; color: var(--text-subtle); }
.step .bar { block-size: 2px; background: var(--border-2); margin-block: 14px 18px; position: relative; }
.step .bar::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0;
  block-size: 2px; inline-size: 20%; background: var(--accent); }
.step .bar.b2::after { inline-size: 40%; }
.step .bar.b3::after { inline-size: 60%; }
.step .bar.b4::after { inline-size: 80%; }
.step .bar.b5::after { inline-size: 100%; }
.step h4 { font-size: 1.18rem; }
.step p { margin-block-start: 9px; color: var(--text-muted); font-size: 0.98rem; line-height: 1.55; }
.assure { margin-block-start: 52px; font-family: var(--font-serif); font-style: italic;
  font-size: 1.2rem; color: var(--text); max-width: 52ch; }

/* 04 — founder */
.founder-grid { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 56px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); display: grid; place-items: center; position: relative; overflow: hidden; }
.portrait::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.13 0.012 250 / 0.08), oklch(0.13 0.012 250 / 0.34));
  pointer-events: none; }
.portrait img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 52% 40%;
  filter: saturate(.88) contrast(.96) brightness(.82); }
.bio .eyebrow { margin-block-end: 16px; }
.bio h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.026em; }
.bio p:not(.eyebrow) { margin-block-start: 18px; font-size: 1.12rem; color: var(--text-muted);
  line-height: var(--leading-relaxed); max-width: 56ch; }

/* stakes */
.stakes { border-block-start: 1px solid var(--border); }
.big-quote { font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.32; color: var(--text);
  text-wrap: balance; }
.stakes .after { margin-block-start: 28px; font-size: 1.12rem; color: var(--text-muted);
  line-height: var(--leading-relaxed); max-width: 56ch; }

/* contact */
.contact { background:
    radial-gradient(90% 130% at 50% 115%, oklch(0.55 0.095 248 / 0.14), transparent 62%),
    var(--bg-elevated);
  border-block-start: 1px solid var(--border); }
.contact h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.026em; }
.contact .lead { margin-block-start: 18px; font-size: 1.12rem; color: var(--text-muted);
  line-height: var(--leading-relaxed); margin-inline: auto; max-width: 46ch; }
.contact .cta { margin-block-start: 34px; display: flex; justify-content: center; }

/* footer */
.footer { border-block-start: 1px solid var(--border); padding-block: 48px; }
.footer .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .brand .name { font-size: 18px; }
.footer .legal { font-size: 13px; color: var(--text-subtle); }
.footer .fl { display: flex; gap: 24px; }
.footer .fl a { font-size: 14px; color: var(--text-muted); }
.footer .fl a:hover { color: var(--text); }

@media (max-width: 880px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .links { display: none; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-inline-size: 320px; }
}

@media (max-width: 520px) {
  .nav .btn .lbl { display: none; }
  .nav .btn-sm { padding: 9px 11px; }
  .nav .btn-sm .wa { inline-size: 18px; block-size: 18px; }
}
