/* ==========================================================
   OFRI Studio — style.css
   ========================================================== */

:root {
  --bg: #F7F5F0;
  --bg-2: #EFECE4;
  --ink: #151515;
  --ink-2: #4F4B45;          /* טקסט משני — ניגודיות 7.9:1 על הרקע */
  --coral: #FF5A36;
  --coral-ink: #C63A16;      /* כתום כהה לטקסט קטן — עומד ב-AA */
  --lime: #B7FF5A;
  --violet: #635BFF;
  --line: rgba(21, 21, 21, .16);

  --font: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-latin: "Outfit", "Heebo", system-ui, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --section: clamp(96px, 13vw, 200px);
  --radius: 14px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --fs-scale: 1;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; font-size: calc(100% * var(--fs-scale)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- focus / skip ---------- */
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; top: 12px; right: 12px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px;
  transform: translateY(-160%); transition: transform .2s;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { transform: none; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- typography helpers ---------- */
.h2 {
  font-size: clamp(2.5rem, 6.2vw, 5.5rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.035em;
}
.kicker {
  font-family: var(--font-latin);
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 20px;
  text-align: right;
}
.section-head { margin-bottom: clamp(48px, 7vw, 104px); max-width: 920px; }
.section-head__sub { margin-top: 24px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--coral { background: var(--coral); color: var(--ink); box-shadow: 0 0 0 0 var(--ink); }
.btn--coral:hover { box-shadow: -5px 5px 0 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: #000; box-shadow: -5px 5px 0 0 var(--coral); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .9688rem; }
.btn--lg { min-height: 60px; padding: 18px 34px; font-size: 1.125rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover { background-size: 0 2px; background-position: 0 100%; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateY(3px); }

.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 80px; transition: height .35s var(--ease); }
.nav.is-scrolled { background: rgba(247, 245, 240, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav__inner { height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; direction: ltr; margin-left: auto; min-height: 44px; }
.logo__icon { width: 36px; height: 36px; color: var(--ink); transition: transform .5s var(--ease); }
.logo:hover .logo__icon { transform: rotate(-12deg); }
.logo__word { font-family: var(--font-latin); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; position: relative; line-height: 1; }
.logo__dot { position: absolute; top: -5px; right: -6px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.logo__sub { font-family: var(--font-latin); font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); margin-left: 4px; padding-top: 4px; }

.nav__links ul { display: flex; gap: 6px; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 500; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 8px; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }

.nav__burger { display: none; width: 48px; height: 48px; border: 0; background: var(--ink); border-radius: 50%; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--bg); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: 110px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  animation: menuIn .45s var(--ease);
}
.mobile-menu ol { display: grid; gap: 4px; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: baseline; gap: 14px; padding: 8px 0;
  font-size: clamp(2.5rem, 12vw, 4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu small { font-family: var(--font-latin); font-size: .875rem; font-weight: 500; color: var(--coral-ink); letter-spacing: .05em; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }

@media (max-width: 899px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero { min-height: 100svh; display: flex; align-items: stretch; padding-top: 112px; padding-bottom: clamp(56px, 7vw, 96px); position: relative; }
.hero__inner { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(36px, 5vw, 56px); }

.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__eyebrow { font-family: var(--font-latin); font-size: .8125rem; letter-spacing: .2em; font-weight: 500; }
.hero__status { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #3DBB3D; box-shadow: 0 0 0 0 rgba(61, 187, 61, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 187, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 187, 61, 0); } }

.hero__title {
  font-size: clamp(3rem, 9.4vw, 8.25rem);
  line-height: .94;
  font-weight: 900;
  letter-spacing: -.045em;
  margin-block: auto;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line:nth-child(2) { padding-inline-start: clamp(0px, 9vw, 160px); }
.hero__title .line__in { display: inline-block; }

.hero__pill {
  display: inline-block; vertical-align: middle;
  width: 1.55em; height: .8em; margin-inline-start: .12em;
  border-radius: 999px; overflow: hidden; position: relative; top: -.06em;
  background: var(--bg-2);
}
.hero__pill img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__title:hover .hero__pill img { transform: scale(1.12); }

.scribble { position: relative; display: inline-block; color: var(--ink); }
.scribble svg { position: absolute; left: -2%; width: 104%; bottom: -.04em; height: .24em; overflow: visible; z-index: -1; }
.scribble path { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 0; }

.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero__sub { font-size: clamp(1.125rem, 1.65vw, 1.4375rem); line-height: 1.55; max-width: 34ch; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }

.hero__collage { position: relative; height: clamp(240px, 26vw, 360px); }
.hero__img { position: absolute; overflow: hidden; background: var(--bg-2); will-change: transform; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--leaf { width: 46%; aspect-ratio: 1; left: 30%; bottom: 8%; border-radius: 999px 999px 999px 0; z-index: 2; }
.hero__img--rect { width: 44%; aspect-ratio: 4 / 3; left: 0; top: 0; border-radius: 0 var(--radius) var(--radius) var(--radius); }
.hero__sticker {
  position: absolute; left: 4%; bottom: 0; z-index: 3;
  background: var(--lime); color: var(--ink);
  font-family: var(--font-latin); font-weight: 600; font-size: clamp(.875rem, 1.1vw, 1rem); line-height: 1.15;
  padding: 14px 18px; border-radius: 999px; transform: rotate(-8deg);
}
.hero__sticker em { font-style: normal; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (max-width: 899px) {
  .hero { min-height: auto; padding-top: 104px; }
  .hero__title { margin-block: 12px 0; }
  .hero__title .line:nth-child(2) { padding-inline-start: 0; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__collage { height: auto; aspect-ratio: 16 / 10; max-width: 560px; width: 100%; }
}
@media (max-width: 520px) {
  .hero__meta { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .hero__eyebrow { font-size: .6875rem; letter-spacing: .14em; }
  .hero__title { font-size: clamp(2.875rem, 13.4vw, 4rem); letter-spacing: -.04em; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas .link-arrow { align-self: center; }
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee-wrap { overflow: hidden; padding-block: clamp(16px, 2.4vw, 32px); margin-block: -8px; }
.marquee {
  background: var(--ink); color: var(--bg);
  overflow: hidden; padding-block: clamp(18px, 2.4vw, 30px);
  transform: rotate(-1.6deg) scale(1.04);
  position: relative; z-index: 2;
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span {
  font-size: clamp(2rem, 5.6vw, 5rem); font-weight: 900; letter-spacing: -.03em; line-height: 1;
  padding-inline: clamp(16px, 2vw, 32px); white-space: nowrap;
}
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--bg); }
.marquee i { font-style: normal; color: var(--coral); font-size: clamp(1.25rem, 3vw, 2.5rem); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ==========================================================
   WORK
   ========================================================== */
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: clamp(64px, 9vw, 140px);
}
.project { position: relative; }
.project--a { grid-column: 1 / span 8; }
.project--b { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
.project--c { grid-column: 1 / span 6; }
.project--d { grid-column: 8 / span 5; align-self: center; }

.project__media { overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.project--a .project__media { aspect-ratio: 16 / 10; }
.project--b .project__media { aspect-ratio: 3 / 4.2; border-radius: 999px 999px 4px 4px; }
.project--c .project__media { aspect-ratio: 4 / 5; }
.project--d .project__media { aspect-ratio: 4 / 3; border-radius: 4px 4px 4px 120px; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.1s var(--ease); }
.project:hover .project__media img { transform: scale(1.035); }

.project__cap {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline;
  padding-top: 20px; border-top: 0;
}
.project__num { font-family: var(--font-latin); font-size: .875rem; color: var(--ink-2); grid-row: span 2; padding-top: .35em; }
.project__name {
  font-family: var(--font-latin); font-weight: 600; font-size: clamp(1.625rem, 2.6vw, 2.375rem); letter-spacing: -.02em; line-height: 1.05;
  text-align: right; transition: transform .5s var(--ease);
}
.project__cat { font-family: var(--font-latin); font-size: .9375rem; color: var(--ink-2); text-align: right; margin-top: 6px; }
.project:hover .project__name { transform: translateX(-8px); }

.work__more { margin-top: clamp(64px, 8vw, 120px); text-align: center; }
.link-big {
  display: inline-flex; align-items: center; gap: .4em; min-height: 48px;
  font-size: clamp(1.5rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; text-decoration: none;
  background: linear-gradient(var(--lime), var(--lime)) 100% 88% / 0 .32em no-repeat;
  transition: background-size .5s var(--ease);
}
.link-big:hover { background-size: 100% .32em; }
.link-big span { transition: transform .4s var(--ease); display: inline-block; }
.link-big:hover span { transform: translateX(-8px); }

@media (max-width: 899px) {
  .work__grid { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .project--a { grid-column: 1 / -1; }
  .project--b { grid-column: 1 / span 1; margin-top: 0; }
  .project--c { grid-column: 2 / span 1; margin-top: 72px; }
  .project--d { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .work__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .project--b, .project--c { grid-column: 1 / -1; margin-top: 0; }
  .project--b .project__media { aspect-ratio: 4 / 5; width: 82%; }
  .project--c .project__media { aspect-ratio: 4 / 5; width: 82%; margin-inline-start: auto; }
  .project--c .project__cap { width: 82%; margin-inline-start: auto; }
}

/* ==========================================================
   SERVICES
   ========================================================== */
.services { background: var(--bg); }
.services__list { border-top: 1.5px solid var(--ink); counter-reset: s; }
.service {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center; gap: 24px;
  padding-block: clamp(26px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--lime); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.service:hover::before { transform: scaleY(1); }
.service__num { font-family: var(--font-latin); font-weight: 500; font-size: 1rem; color: var(--ink-2); }
.service__title { font-size: clamp(2.125rem, 5.4vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; transition: transform .5s var(--ease); }
.service:hover .service__title { transform: translateX(-14px); }
.service__desc { font-size: clamp(1rem, 1.25vw, 1.125rem); max-width: 40ch; color: var(--ink-2); transition: color .3s; }
.service:hover .service__desc { color: var(--ink); }

@media (max-width: 899px) {
  .service { grid-template-columns: 44px 1fr; row-gap: 10px; align-items: baseline; }
  .service__desc { grid-column: 2; }
  .service::before { display: none; }
}

/* ==========================================================
   USP
   ========================================================== */
.usp { background: var(--coral); color: var(--ink); padding-block: var(--section); position: relative; overflow: hidden; }
.usp__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.usp__title { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
.usp__title span { display: inline; background: var(--ink); color: var(--coral); padding: 0 .14em .02em; line-height: 1.16; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.usp__body { display: grid; gap: 14px; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.6; padding-top: 12px; max-width: 40ch; }
.usp__body p:first-child { font-weight: 800; font-size: 1.15em; }
.usp__body q { quotes: "‘" "’"; font-weight: 700; }
.usp__punch { grid-column: 1 / -1; margin-top: clamp(32px, 6vw, 72px); padding-top: clamp(28px, 4vw, 48px); border-top: 2px solid var(--ink); }
.usp__lead { display: block; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 700; margin-bottom: 12px; }
.usp__quote { display: block; font-size: clamp(3rem, 10.5vw, 10rem); font-weight: 900; line-height: .95; letter-spacing: -.05em; }
.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; inset: -18% -10% -22% -10%; width: 120%; height: 140%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--bg); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 800; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }

@media (max-width: 899px) {
  .usp__inner { grid-template-columns: 1fr; }
}

/* ==========================================================
   PROCESS
   ========================================================== */
.process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); position: relative; padding-top: 48px; }
.process__line { position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--line); }
.process__line span { position: absolute; inset: 0; background: var(--ink); transform-origin: right; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -55px; right: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); transition: background-color .4s; }
.step.is-in::before { background: var(--coral); }
.step__num { display: block; font-family: var(--font-latin); font-weight: 600; font-size: clamp(3.5rem, 6vw, 6rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 18px; }
.step__title { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 28ch; }
.step:nth-child(3) .step__num { -webkit-text-stroke: 0; color: var(--ink); }

@media (max-width: 899px) {
  .process__steps { grid-template-columns: 1fr; padding-top: 0; padding-inline-start: 40px; gap: 44px; }
  .process__line { inset: 8px auto 8px auto; right: 7px; width: 2px; height: auto; }
  .process__line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step::before { top: 6px; right: -40px; }
  .step__num { font-size: 3rem; margin-bottom: 10px; }
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about { background: var(--bg-2); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__text { display: grid; gap: 18px; margin-top: 32px; font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); max-width: 52ch; }
.about__triplet { display: grid; gap: 2px; font-weight: 700; font-size: 1.1em; }
.about__triplet li::before { content: "— "; color: var(--coral-ink); }
.about__highlight { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(1.75rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.about__highlight mark { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); color: inherit; padding: 0 .04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.wave { display: inline-block; transform-origin: 70% 80%; }
.about__copy:hover .wave { animation: wave 1s var(--ease); }
@keyframes wave { 25% { transform: rotate(18deg); } 50% { transform: rotate(-8deg); } 75% { transform: rotate(12deg); } }

.about__visual { position: relative; }
.about__img { overflow: hidden; aspect-ratio: 5 / 6; border-radius: 999px 999px var(--radius) var(--radius); background: var(--bg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.badge { position: absolute; width: clamp(120px, 13vw, 168px); aspect-ratio: 1; right: -6%; bottom: 8%; background: var(--ink); color: var(--bg); border-radius: 50%; display: grid; place-items: center; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge__ring text { fill: var(--bg); font-family: var(--font-latin); font-size: 15.5px; font-weight: 500; letter-spacing: 3.3px; }
.badge__logo { width: 36%; height: 36%; color: var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; max-width: 460px; width: 88%; margin-inline: auto 0; }
  .badge { right: auto; left: -8%; }
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote { padding-inline: clamp(20px, 3vw, 44px); border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.quote:first-child { padding-inline-start: 0; border-inline-start: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.quote blockquote p::before { content: "”"; display: block; font-family: var(--font-latin); font-size: 4.5rem; line-height: .6; color: var(--coral); margin-bottom: 18px; font-weight: 700; }
.quote figcaption { display: grid; font-size: .9375rem; color: var(--ink-2); }
.quote figcaption strong { color: var(--ink); font-size: 1rem; }

@media (max-width: 899px) {
  .testimonials__list { grid-template-columns: 1fr; gap: 44px; }
  .quote { padding: 0; border: 0; padding-top: 32px; border-top: 1px solid var(--line); }
  .quote:first-child { border-top: 0; padding-top: 0; }
}

/* ==========================================================
   FINAL CTA
   ========================================================== */
.cta { background: var(--ink); color: var(--bg); padding-block: clamp(110px, 15vw, 220px); position: relative; overflow: hidden; }
.cta__inner { position: relative; }
.cta__mark { position: absolute; width: clamp(220px, 34vw, 520px); height: clamp(220px, 34vw, 520px); left: calc(var(--gutter) * -0.5); top: 50%; transform: translateY(-50%) rotate(-8deg); color: #232323; --logo-dot: #2b2b2b; pointer-events: none; }
.cta__title { position: relative; font-size: clamp(3rem, 9.6vw, 9rem); line-height: .95; font-weight: 900; letter-spacing: -.045em; max-width: 13ch; }
.cta__title span { display: block; color: var(--coral); font-size: .5em; letter-spacing: -.03em; line-height: 1.05; margin-top: .4em; max-width: 20ch; }
.cta__bottom { position: relative; margin-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta__bottom p { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); max-width: 44ch; color: #D9D5CC; }
.cta .btn--coral:hover { box-shadow: -5px 5px 0 0 var(--lime); }

@media (max-width: 520px) {
  .cta__bottom .btn { width: 100%; }
}

/* ==========================================================
   CONTACT / FORM
   ========================================================== */
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__intro { position: sticky; top: 120px; }
.contact__micro { margin-top: 24px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 32ch; }
.contact__how { margin-top: 40px; display: grid; gap: 12px; }
.contact__how li { display: flex; align-items: baseline; gap: 14px; font-weight: 500; }
.contact__how span { font-family: var(--font-latin); font-size: .8125rem; color: var(--coral-ink); font-weight: 600; }

.form { display: grid; gap: 34px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 1.0625rem; padding: 0; }
.req { color: var(--coral-ink); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent;
  padding: 12px 0; font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 500; border-radius: 0;
  transition: border-color .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8A857C; opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: rgba(255, 90, 54, .04); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 3px 0 0 var(--coral); }
.field [aria-invalid="true"] { border-color: #C0261B; }
.field__error { color: #B3221A; font-size: .9375rem; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px;
  border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 500;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
  cursor: pointer; user-select: none;
}
.chip:hover span { transform: translateY(-2px); }
.chip input:checked + span { background: var(--ink); color: var(--bg); }
.chip input:checked + span::before { content: "✓"; margin-inline-end: 8px; color: var(--lime); }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.field--chips[data-invalid] .chip span { border-color: #C0261B; }

.form__note { font-size: .875rem; color: var(--ink-2); margin-top: -18px; }
.form__note a { font-weight: 500; }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--ink); color: var(--bg); padding-top: clamp(72px, 9vw, 120px); padding-bottom: calc(28px + env(safe-area-inset-bottom)); overflow: hidden; border-top: 1px solid #2a2a2a; }
.footer__top { display: grid; grid-template-columns: 1fr auto auto; gap: 40px 64px; align-items: start; }
.footer__name { font-size: 1.375rem; font-weight: 800; }
.footer__name span { font-family: var(--font-latin); font-weight: 500; color: #BDB8AE; }
.footer__role { font-family: var(--font-latin); color: #BDB8AE; margin-top: 4px; text-align: right; }
.footer__slogan { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.footer__social { display: grid; gap: 4px; }
.footer__social a { display: inline-flex; min-height: 40px; align-items: center; font-family: var(--font-latin); font-size: 1.125rem; text-decoration: none; transition: color .2s, transform .3s var(--ease); }
.footer__social a:hover { color: var(--lime); transform: translateX(-6px); }
.footer__word {
  font-family: var(--font-latin); font-weight: 700; letter-spacing: -.06em; line-height: .78;
  font-size: clamp(6rem, 27vw, 26rem); color: var(--bg);
  margin-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); white-space: nowrap; display: flex; align-items: flex-end; gap: .05em;
  user-select: none;
}
.footer__word span { font-size: .12em; letter-spacing: .3em; font-weight: 500; color: var(--coral); padding-bottom: .4em; text-transform: uppercase; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid #333; font-size: .875rem; color: #BDB8AE; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__legal a, .footer__legal button { display: inline-flex; align-items: center; min-height: 40px; color: #E8E4DB; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #666; font-size: .875rem; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--lime); }
.footer__fun { font-family: var(--font-latin); font-style: italic; }

@media (max-width: 899px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 72px; }
}

/* ==========================================================
   FLOATING UI: WhatsApp, Accessibility, Cookie banner
   ========================================================== */
.fab {
  position: fixed; z-index: 60; bottom: calc(28px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  display: grid; place-items: center; text-decoration: none;
  transition: transform .4s var(--ease), opacity .3s, visibility .3s;
}
.fab--wa { right: 28px; background: #25D366; color: #0B3D1E; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .35); }
.fab--wa .ico { width: 28px; height: 28px; }
.fab--a11y { left: 28px; width: 50px; height: 50px; background: var(--violet); color: #fff; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .4); }
.fab--a11y svg { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); }

.fab__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  background: var(--ink); color: var(--bg); font-size: .875rem; font-weight: 700; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease);
}
.fab--wa:hover .fab__tip, .fab--wa:focus-visible .fab__tip { opacity: 1; transform: translate(0, -50%); }

@media (max-width: 899px) {
  .fab { bottom: calc(20px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .fab--wa { right: 20px; }
  .fab--a11y { left: 20px; width: 46px; height: 46px; }
  .fab__tip { display: none; }
}

/* accessibility panel */
.a11y-panel {
  position: fixed; z-index: 70; left: 28px; bottom: calc(92px + env(safe-area-inset-bottom));
  width: min(340px, calc(100vw - 40px)); background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 18px; padding: 22px;
  box-shadow: -8px 8px 0 var(--ink);
  max-height: calc(100svh - 140px); overflow: auto;
}
.a11y-panel h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.a11y-panel__close { width: 40px; height: 40px; border: 0; background: var(--bg-2); border-radius: 50%; font-size: 1.25rem; line-height: 1; }
.a11y-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt {
  min-height: 64px; padding: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px;
  font-size: .9375rem; font-weight: 500; text-align: center; line-height: 1.25;
}
.a11y-opt[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.a11y-opt--wide { grid-column: 1 / -1; min-height: 48px; }
.a11y-panel__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: .875rem; }
.a11y-panel__foot a, .a11y-panel__foot button { min-height: 40px; display: inline-flex; align-items: center; }
@media (max-width: 899px) { .a11y-panel { left: 20px; bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* cookie banner */
.cookie {
  position: fixed; z-index: 80; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  width: min(440px, calc(100vw - 32px));
  background: var(--ink); color: var(--bg); border-radius: 20px; padding: 24px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
  animation: cookieIn .6s var(--ease);
}
.cookie h2 { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cookie h2 span { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); position: relative; }
.cookie h2 span::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); top: 7px; left: 8px; box-shadow: 8px 6px 0 var(--ink), 2px 10px 0 -1px var(--ink); }
.cookie p { font-size: .9375rem; color: #D9D5CC; line-height: 1.55; }
.cookie p a { color: var(--bg); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookie__actions .btn { min-height: 46px; padding: 10px 18px; font-size: .9375rem; flex: 1 1 auto; }
.btn--ghost-light { background: transparent; color: var(--bg); border-color: #555; }
.btn--ghost-light:hover { border-color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); }
.cookie__prefs { margin-top: 16px; display: grid; gap: 4px; border-top: 1px solid #333; padding-top: 12px; }
.cookie__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; }
.cookie__row strong { display: block; font-size: .9375rem; }
.cookie__row small { display: block; color: #BDB8AE; font-size: .8125rem; line-height: 1.4; }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #444; border-radius: 999px; transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--lime); }
.switch input:checked + span::after { transform: translateX(-20px); background: var(--ink); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 560px) {
  .cookie { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 20px; border-radius: 18px; max-height: calc(100svh - 24px); overflow: auto; }
}

/* ==========================================================
   LEGAL PAGES
   ========================================================== */
.legal { padding-top: 140px; padding-bottom: var(--section); }
.legal__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.legal__head h1 { font-size: clamp(2.75rem, 7vw, 6rem); font-weight: 900; letter-spacing: -.04em; line-height: .95; }
.legal__head p { margin-top: 18px; color: var(--ink-2); }
.legal__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 110px; font-size: .9375rem; }
.legal__toc ol { display: grid; gap: 2px; border-inline-start: 2px solid var(--line); }
.legal__toc a { display: block; padding: 6px 14px; text-decoration: none; color: var(--ink-2); margin-inline-start: -2px; border-inline-start: 2px solid transparent; }
.legal__toc a:hover { color: var(--ink); border-color: var(--coral); }
.prose { max-width: 72ch; font-size: 1.0625rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 56px 0 14px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1875rem; font-weight: 700; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; }
.prose ol { list-style: decimal; padding-inline-start: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { text-underline-offset: 3px; font-weight: 500; }
.prose .ph { background: #FFF1A8; padding: 0 .2em; border-radius: 3px; }
.prose .note { background: var(--bg-2); border-inline-start: 4px solid var(--coral); padding: 16px 20px; border-radius: 4px; margin-bottom: 28px; font-size: .9688rem; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: .9688rem; }
.prose th, .prose td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--bg-2); }
.legal-nav-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
@media (max-width: 899px) {
  .legal { padding-top: 112px; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .prose table { display: block; overflow-x: auto; }
}

/* ==========================================================
   MOTION — reveal & entrance
   ========================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-enter] { opacity: 0; transform: translateY(22px); animation: enter 1s var(--ease) forwards; animation-delay: calc(150ms + var(--d, 0) * 110ms); }
.js .hero__title .line__in { transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: calc(100ms + var(--d, 0) * 120ms); }
.js .scribble path { stroke-dashoffset: 700; animation: draw 1.1s var(--ease) 1s forwards; }
.js .circled path { stroke-dashoffset: 800; transition: stroke-dashoffset 1.4s var(--ease) .4s; }
.js .usp__punch.is-in .circled path { stroke-dashoffset: 0; }
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* reduced motion — מערכת ההפעלה או כפתור הנגישות */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track, .badge__ring, .pulse { animation: none !important; }
  .js [data-reveal], .js [data-enter], .js .hero__title .line__in { opacity: 1 !important; transform: none !important; }
  .js .scribble path, .js .circled path { stroke-dashoffset: 0 !important; }
}
html.a11y-stop *, html.a11y-stop *::before, html.a11y-stop *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-stop [data-reveal], html.a11y-stop [data-enter], html.a11y-stop .hero__title .line__in { opacity: 1 !important; transform: none !important; }
html.a11y-stop .scribble path, html.a11y-stop .circled path { stroke-dashoffset: 0 !important; }

/* accessibility toggles */
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
html.a11y-links a:not(.btn) { background-color: #FFF1A8; color: #151515 !important; }
html.a11y-contrast { --bg: #FFFFFF; --bg-2: #FFFFFF; --ink-2: #151515; --line: #151515; }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .hero__sub, html.a11y-contrast .service__desc, html.a11y-contrast .step p { color: #000; }
html.a11y-contrast .cta__bottom p, html.a11y-contrast .footer, html.a11y-contrast .footer * { color: #fff; }
html.a11y-contrast .marquee span:nth-of-type(even), html.a11y-contrast .step__num { color: currentColor; -webkit-text-stroke: 0; }
html.a11y-readable body, html.a11y-readable .project__name, html.a11y-readable .kicker { font-family: Arial, "Helvetica Neue", sans-serif !important; letter-spacing: 0 !important; }
html.a11y-readable body { line-height: 1.85; word-spacing: .08em; }

@media print {
  .nav, .fab, .cookie, .a11y-panel, .marquee, .mobile-menu { display: none !important; }
  .js [data-reveal], .js [data-enter] { opacity: 1; transform: none; }
}
.menu-open .fab { opacity: 0; visibility: hidden; }
.footer--slim { padding-top: 8px; }
.footer--slim .footer__bottom { border-top: 0; padding-bottom: 88px; }
.legal-nav-back:hover { color: var(--coral-ink); }
