/* ============================================
   Zulato Consulting
   Navy + gold, Hebrew RTL, mobile-first.

   Two colours only: navy #021533 and gold #D0A65F. No third accent,
   no serif. Gold stays on thin rules, numerals, CTAs and small accents —
   it must never cover a large area.

   All layout uses logical properties (inline-start/end) rather than
   left/right, so the RTL flow is described once and holds everywhere.
   ============================================ */

:root {
  --navy: #021533;
  --navy-80: rgba(2, 21, 51, 0.8);
  --navy-60: rgba(2, 21, 51, 0.6);
  --navy-45: rgba(2, 21, 51, 0.45);

  --gold: #D0A65F;
  --gold-deep: #96743E;      /* gold on light backgrounds — #D0A65F fails AA as text on white */
  --gold-10: rgba(208, 166, 95, 0.1);
  --gold-25: rgba(208, 166, 95, 0.25);

  --off: #F7F7F6;
  --white: #fff;
  --muted: #C4CDDE;          /* secondary text on navy only */
  --line: rgba(2, 21, 51, 0.1);
  --line-dark: rgba(208, 166, 95, 0.22);

  --fh: "Heebo", system-ui, sans-serif;
  --fb: "Assistant", system-ui, sans-serif;

  --max: 1160px;
  --tx: cubic-bezier(.2, .7, .2, 1);
  --s: clamp(72px, 10vw, 132px);   /* the single section rhythm value */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--white);
  color: var(--navy);
  font-family: var(--fb);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;   /* clears the sticky header when jumping to an anchor */
}
/* height:auto is load-bearing — every img carries width/height attributes to
   reserve space before CSS loads, and those presentational hints would
   otherwise override the CSS aspect-ratio and stretch the image. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-deep); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }

/* Keyboard focus. Gold-deep on light bands for contrast, gold on navy. */
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }
.band-navy :focus-visible, .ft :focus-visible { outline-color: var(--gold); }

.skip {
  position: absolute;
  inset-inline-start: 24px;
  top: -60px;
  z-index: 80;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: top .2s var(--tx);
}
.skip:focus { top: 12px; color: var(--white); }

/* ===== Type ===== */
h1, h2, h3, h4 {
  font-family: var(--fh);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
p { margin: 0 0 1em; color: var(--navy-80); }
.h1 { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.1; }
.h2 { font-size: clamp(27px, 3.6vw, 42px); }
.h3 { font-size: clamp(19px, 2vw, 23px); }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; color: var(--navy-80); max-width: 62ch; }
.sm { font-size: 15px; }

.eyebrow {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); flex: none; }

/* ===== Layout ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }

section { padding: var(--s) 0; }
.band-off { background: var(--off); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4 { color: var(--white); }
.band-navy p { color: var(--muted); }
.band-navy .eyebrow { color: var(--gold); }

/* ===== Header ===== */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--tx), box-shadow .3s var(--tx);
}
.hd.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(2, 21, 51, 0.4); }

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  /* 12px below 720px: at 360px the logo floor (150px) + CTA + burger will not
     fit alongside the design's 28px gaps, and the burger overflows the edge. */
  gap: 12px;
}
@media (min-width: 720px) { .nav { padding: 18px 40px; gap: 28px; } }

/* Wordmark only — no icon form. Never render below ~140px wide. */
.brand { flex: none; display: block; }
.brand img { width: 150px; height: auto; }
@media (min-width: 720px) { .brand img { width: 172px; } }

.nav-links { display: none; margin-inline-start: auto; align-items: center; gap: 26px; }
@media (min-width: 980px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-80);
  padding: 6px 0;
  position: relative;
  transition: color .2s var(--tx);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;   /* the inline-start edge in RTL; transform-origin takes no logical keyword */
  transition: transform .25s var(--tx);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { margin-inline-start: auto; flex: none; }
@media (min-width: 980px) { .nav-cta { margin-inline-start: 0; } }

.burger {
  display: inline-flex;
  flex: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
}
@media (min-width: 980px) { .burger { display: none; } }
.burger i { position: relative; width: 18px; height: 2px; background: var(--navy); display: block; border-radius: 2px; }
.burger i::before, .burger i::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 18px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }

.mnav { display: none; background: var(--white); border-top: 1px solid var(--line); padding: 8px 24px 20px; }
.mnav.open { display: block; }
@media (min-width: 980px) { .mnav.open { display: none; } }
.mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.mnav a:last-child { border: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 600;
  transition: all .22s var(--tx);
  border: 1.5px solid transparent;
  line-height: 1;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #0a2450; color: var(--white); transform: translateY(-1px); }
.btn-out { border-color: var(--navy); color: var(--navy); }
.btn-out:hover { background: var(--navy); color: var(--white); }
.btn-out-gold { border-color: var(--gold); color: var(--gold); }
.btn-out-gold:hover { background: var(--gold); color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ← is "forward" in RTL, so the glyph is flipped and the hover nudge composes after it */
.ar { display: inline-block; transform: scaleX(-1); transition: transform .22s var(--tx); }
.btn:hover .ar { transform: scaleX(-1) translateX(3px); }

/* ===== Hero ===== */
.hero { padding: clamp(48px, 7vw, 84px) 0 var(--s); }   /* reduced top — the header already separates */
.hero-grid { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
}
.hero .h1 { margin-bottom: 24px; }
.hero .h1 .gold { color: var(--gold-deep); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 26px; font-size: 14px; color: var(--navy-45); }

.hero-fig { position: relative; }
.hero-fig img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 22%;   /* tuned crop — centring cuts the forehead */
}
/* Gold frame peeking out behind the photo's bottom-outer corner. */
.hero-fig::after {
  content: "";
  position: absolute;
  inset-inline-end: -14px;
  bottom: -14px;
  width: 46%;
  height: 46%;
  border: 2px solid var(--gold);
  border-radius: 6px;
  z-index: -1;
}
.hero-tag {
  position: absolute;
  inset-inline-start: 0;
  bottom: 22px;
  background: var(--white);
  border-inline-start: 3px solid var(--gold);
  padding: 12px 18px;
  box-shadow: 0 18px 40px -22px rgba(2, 21, 51, 0.45);
  max-width: 78%;
}
.hero-tag b { display: block; font-family: var(--fh); font-weight: 700; font-size: 16px; }
.hero-tag span { font-size: 13px; color: var(--navy-60); }

/* ===== Credibility strip ===== */
.cred { padding: 34px 0; background: var(--off); border-block: 1px solid var(--line); }
.cred-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 46px; }
.cred-lbl { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--navy-45); }
.cred-list { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; }
/* Styled text wordmarks, deliberately not the companies' real logos. */
.mark { font-family: var(--fh); font-weight: 700; font-size: 21px; color: var(--navy); opacity: .62; transition: opacity .2s var(--tx); }
.mark:hover { opacity: 1; }
.mark.d::after { content: "."; color: var(--gold); }

/* ===== Hairline grid =====
   gap:1px over a tinted background shows through as crisp 1px rules,
   with no doubling where cells meet. Used by pillars, anchors and facts. */
.pillars, .anchors, .facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.anchors { background: var(--line-dark); border-color: var(--line-dark); }

/* ===== Pillars ===== */
.pillars { margin-top: 52px; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--white); padding: 34px 28px; }
.pillar .n { font-family: var(--fh); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--gold-deep); margin-bottom: 16px; }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { font-size: 15px; margin: 0; color: var(--navy-60); }

/* ===== Growth anchors ===== */
.anchors { margin-top: 56px; }
@media (min-width: 760px) { .anchors { grid-template-columns: 1fr 1fr; } }  /* 2×2, not 4-across */
.anchor { background: var(--navy); padding: 38px 32px; transition: background .3s var(--tx); }
.anchor:hover { background: #061c40; }
.anchor .n { font-family: var(--fh); font-weight: 700; font-size: 40px; line-height: 1; color: var(--gold); opacity: .5; margin-bottom: 18px; }
.anchor h3 { font-size: 23px; margin-bottom: 12px; }
.anchor p { font-size: 15.5px; margin: 0; }

/* ===== Process + services ===== */
.two { display: grid; gap: 56px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 72px; } }

.steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li {
  counter-increment: s;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--fh);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold-deep);
  padding-top: 4px;
}
.steps b { display: block; font-family: var(--fh); font-size: 18px; margin-bottom: 4px; }
.steps span { font-size: 15px; color: var(--navy-60); }

.svcs { margin: 28px 0 0; padding: 0; list-style: none; }
.svcs li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
}
.svcs li:last-child { border-bottom: 1px solid var(--line); }
.svcs li::before { content: ""; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.svcs b { display: block; font-family: var(--fh); font-size: 18px; font-weight: 700; margin-bottom: 3px; }
.svcs span { font-size: 15px; color: var(--navy-60); }

/* ===== About ===== */
.about { display: grid; gap: 48px; }
@media (min-width: 900px) { .about { grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; } }
.about-fig { position: relative; }
.about-fig img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 1/1.16;
  object-fit: cover;
  object-position: 50% 20%;   /* tuned crop */
}
.about-fig figcaption { margin-top: 16px; font-size: 14px; color: var(--navy-45); }
.about-fig figcaption b { display: block; font-family: var(--fh); font-size: 17px; color: var(--navy); margin-bottom: 2px; }

.facts { grid-template-columns: 1fr 1fr; margin-top: 32px; }
.fact { background: var(--white); padding: 22px 20px; }
.band-off .fact { background: var(--off); }
.fact b { display: block; font-family: var(--fh); font-weight: 700; font-size: 30px; line-height: 1; color: var(--navy); margin-bottom: 6px; }
.fact span { font-size: 14px; color: var(--navy-60); line-height: 1.4; display: block; }

/* ===== Speaking ===== */
.talks { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .talks { grid-template-columns: 1fr 1fr; } }
.talk { border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); padding: 20px 22px; background: var(--white); }
.talk b { display: block; font-family: var(--fh); font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.talk span { font-size: 14px; color: var(--navy-60); }
.fmts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fmt { font-size: 14px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-80); background: var(--white); }

/* ===== Contact ===== */
.ct { display: grid; gap: 44px; }
@media (min-width: 860px) { .ct { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.ct-list { display: grid; gap: 2px; margin-top: 32px; }
.ct-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.ct-row:last-child { border-bottom: 1px solid var(--line-dark); }
.ct-row svg { flex: none; width: 19px; height: 19px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.ct-row .k { font-size: 13px; color: var(--muted); display: block; margin-bottom: 2px; }
.ct-row .v { font-family: var(--fh); font-weight: 700; font-size: 18px; color: var(--white); }
.ct-row a.v:hover { color: var(--gold); }

.form { display: grid; gap: 18px; }
.fld { display: grid; gap: 7px; }
.fld label { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.fld input, .fld textarea {
  font: inherit;
  font-family: var(--fb);
  font-size: 16px;              /* below 16px triggers iOS zoom-on-focus */
  padding: 13px 15px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 4px;
  outline: none;
  transition: border-color .2s var(--tx), background .2s var(--tx);
}
.fld textarea { resize: vertical; min-height: 104px; }
.fld input:focus, .fld textarea:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.09); }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(196, 205, 222, 0.45); }
.frow { display: grid; gap: 18px; }
@media (min-width: 560px) { .frow { grid-template-columns: 1fr 1fr; } }

/* Spam guard: visually hidden rather than display:none, so bots still fill it.
   Clipped in place — a -9999px offset would widen the document in RTL. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sent, .err { display: none; padding: 18px 20px; border: 1px solid var(--gold); border-inline-start-width: 3px; background: var(--gold-10); }
.sent b, .err b { display: block; font-family: var(--fh); font-size: 17px; color: var(--white); margin-bottom: 4px; }
.sent span, .err span { font-size: 15px; color: var(--muted); }
.err { border-color: #E0736A; background: rgba(224, 115, 106, 0.1); }
.err a { color: var(--gold); text-decoration: underline; }

/* ===== Footer ===== */
.ft { background: var(--navy); border-top: 1px solid var(--line-dark); padding: 56px 0 26px; color: var(--muted); }
.ft-grid { display: grid; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 760px) { .ft-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft img { width: 160px; margin-bottom: 16px; }
.ft p { color: var(--muted); font-size: 15px; margin: 0; max-width: 34ch; }
.ft h4 { font-family: var(--fb); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--gold); margin-bottom: 14px; }
.ft a { display: block; padding: 5px 0; color: var(--muted); font-size: 15px; }
.ft a:hover { color: var(--gold); }
.ft-btm { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; color: rgba(196, 205, 222, 0.6); }

/* ===== Reveal on scroll =====
   Deliberately fail-safe: .rv is visible by default, and only hidden once
   the script has added .js to <html>. With no JS, nothing ever hides. */
.rv { opacity: 1; transform: none; transition: opacity .7s var(--tx), transform .7s var(--tx); }
.js .rv:not(.in) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .js .rv:not(.in) { opacity: 1; transform: none; } }

/* ===== Touch targets =====
   The design's compact paddings leave the header CTA at 36px and the format
   pills at 43px. On touch devices only, pad them out to clear 44px; the
   pointer-based query leaves the approved desktop sizing untouched. */
@media (pointer: coarse) {
  .btn-sm { padding: 15px 18px; }
  .fmt { padding: 10px 16px; }
}
