/* ============ עינבר — פיקוח בנייה ובדק בית ============ */
:root {
  --navy: #14304A;
  --navy-deep: #0D2438;
  --cream: #F6F3EC;
  --off-white: #F8F6F1;
  --accent-blue: #3E7CB1;
  --accent-light: #7FB2DC;
  --gold: #C9A25E;
  --text: #1A2530;
  --text-soft: #46586B;
  --font: "Heebo", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* no horizontal scroll on any device */
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }

/* stop drag/swipe from selecting or ghost-dragging images (the blue copy on desktop) */
.hero, .proj-showcase, .bedek-gallery, .equip-marquee, .flip, .about__photo, .hero__boxes {
  -webkit-user-select: none; user-select: none;
}
.hero img, .proj-slide img, .bedek-gallery__slide img, .equip__tile img,
.flip__face img, .about__photo img {
  -webkit-user-drag: none; -khtml-user-drag: none; user-drag: none;
  pointer-events: none;
}

/* offset anchored targets below the sticky navbar */
#service-supervision, .service-card[id] { scroll-margin-top: 90px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute; top: -48px; inset-inline-start: 8px;
  background: var(--navy); color: var(--off-white);
  padding: 10px 18px; border-radius: 6px; z-index: 300;
  transition: top .2s; text-decoration: none;
}
.skip-link:focus { top: 8px; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* buttons */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border: 0; border-radius: 99px;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  cursor: pointer; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,94,.35); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease, padding .3s;
  padding-block: 12px;
}
.navbar.is-scrolled {
  background: rgba(13, 36, 56, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(13,36,56,.35);
  padding-block: 7px;
}
.navbar__inner {
  max-width: 1220px; margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.navbar__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--off-white); line-height: 1.15;
}
.navbar__logo-text { display: flex; flex-direction: column; }
.navbar__logo-name { font-weight: 900; font-size: 1.3rem; letter-spacing: .02em; }
.navbar__logo-sub { font-size: .62rem; letter-spacing: .16em; opacity: .85; }
.navbar__nav { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.navbar__nav a {
  color: var(--off-white); text-decoration: none; font-weight: 500;
  font-size: .95rem; position: relative; padding-block: 4px;
  text-shadow: 0 1px 8px rgba(13,36,56,.5);
}
.navbar__nav a::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .25s ease;
}
.navbar__nav a:hover::after { width: 100%; }
.navbar__phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); border: 1px solid rgba(248,246,241,.25);
  color: var(--off-white); text-decoration: none;
  font-weight: 700; font-size: .9rem; padding: 8px 18px; border-radius: 99px;
  transition: background .25s, color .25s, border-color .25s;
}
.navbar__phone:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.navbar__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.navbar__burger span { width: 26px; height: 2px; background: var(--off-white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.navbar__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.is-open span:nth-child(2) { opacity: 0; }
.navbar__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu a {
  color: var(--off-white); text-decoration: none; font-weight: 800; font-size: 1.55rem;
  opacity: 0; transform: translateY(16px);
}
.mobile-menu.is-open a { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .12s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .19s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .33s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: .40s; }
.mobile-menu__phone { color: var(--gold) !important; font-weight: 500 !important; font-size: 1.2rem !important; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden; padding: 92px 20px 22px;
}
.hero__slides, .hero__slide, .hero__slide picture, .hero__slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__slide img { object-fit: cover; will-change: transform, opacity; }
.hero__slide { opacity: 0; z-index: 0; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 90% 62% at 50% 46%, rgba(13,36,56,.42), transparent 72%),
    linear-gradient(to top, rgba(13,36,56,.82), rgba(13,36,56,.1) 48%, rgba(13,36,56,.38));
}
.hero__content {
  position: relative; z-index: 3; width: 100%; max-width: 680px;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px;
}

/* open composition — text directly over the image */
.hero__intro {
  text-align: center; width: 100%;
  margin-block: auto;
  padding-block: 10px;
  opacity: 0;
}
.hero__logo { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-block-end: 18px; }
.hero__logo-mark {
  width: clamp(130px, 23vw, 190px); height: auto;
  filter: drop-shadow(0 6px 18px rgba(13,36,56,.55));
}
.hero__wordmark {
  font-weight: 900; font-size: clamp(3.3rem, 10vw, 4.8rem);
  color: #fff; line-height: 1.05; letter-spacing: .01em;
  text-shadow: 0 2px 24px rgba(13,36,56,.65);
}
.hero__logo-sub {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(.78rem, 2.2vw, .9rem); font-weight: 500; letter-spacing: .24em;
  color: var(--off-white); margin-block-start: 6px;
  text-shadow: 0 1px 10px rgba(13,36,56,.6);
}
.hero__logo-sub i { width: 40px; height: 1px; background: var(--gold); }
.hero__title {
  font-weight: 900; font-size: clamp(2.1rem, 6.4vw, 3.2rem);
  line-height: 1.16; display: flex; flex-direction: column;
  text-shadow: 0 2px 26px rgba(13,36,56,.7);
}
.hero__title-line1 { color: #fff; }
.hero__title-line2 { color: var(--gold); }
.hero__sub {
  margin-block-start: 14px; margin-inline: auto; max-width: 460px;
  font-size: clamp(.98rem, 2.8vw, 1.12rem); color: var(--off-white);
  text-shadow: 0 1px 14px rgba(13,36,56,.75);
}

/* clickable boxes — glass over the photo */
.hero__boxes {
  background: rgba(13,36,56,.66);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(248,246,241,.16);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(13,36,56,.35);
  display: flex; width: 100%; padding: 10px 6px;
  opacity: 0;
}
.hero__box {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px 4px; border-radius: 10px;
  text-align: center; text-decoration: none;
  color: var(--off-white); font-size: clamp(.62rem, 1.8vw, .78rem);
  font-weight: 500; line-height: 1.35; position: relative;
  transition: background .25s ease, transform .25s ease;
}
.hero__box:not(:first-child)::after {
  content: ""; position: absolute; inset-inline-start: 0;
  top: 16%; height: 68%; width: 1px; background: rgba(248,246,241,.18);
}
.hero__box svg {
  width: clamp(22px, 4vw, 30px); height: clamp(22px, 4vw, 30px);
  color: var(--gold); transition: transform .25s ease;
}
.hero__box:hover { background: rgba(248,246,241,.08); transform: translateY(-3px); }
.hero__box:hover svg { transform: scale(1.14); }

.hero__tagline {
  background: rgba(13,36,56,.66);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(248,246,241,.16);
  border-radius: 99px;
  box-shadow: 0 12px 32px rgba(13,36,56,.35);
  padding: 11px 32px; display: flex; gap: 8px; align-items: baseline; justify-content: center;
  font-weight: 800; font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  opacity: 0;
}
.hero__tagline-a { color: var(--off-white); }
.hero__tagline-b { color: var(--accent-light); position: relative; }
.hero__tagline-b::after {
  content: ""; position: absolute; bottom: -4px; inset-inline: 6%;
  height: 1px; background: var(--gold);
}

.hero__contact {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 99px;
  box-shadow: 0 12px 32px rgba(13,36,56,.3);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px; padding: 9px 16px; width: 100%;
  opacity: 0;
}
.hero__contact-item {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); text-decoration: none; font-weight: 500;
  font-size: clamp(.78rem, 2.2vw, .92rem);
  padding-inline: clamp(8px, 2vw, 16px);
  position: relative; white-space: nowrap;
}
a.hero__contact-item:hover { color: var(--accent-blue); }
.hero__contact-item:not(:first-child)::after {
  content: ""; position: absolute; inset-inline-start: -2px;
  top: 15%; height: 70%; width: 1px; background: rgba(20,48,74,.18);
}
.hero__contact-icon {
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--navy); color: var(--off-white);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero__contact-icon--wa { background: #1EBE5D; }

/* slideshow dots */
.hero__dots {
  position: absolute; bottom: 54px; inset-inline: 0; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(248,246,241,.45); cursor: pointer; transition: background .3s, transform .3s;
}
.hero__dots button.is-active { background: var(--gold); transform: scale(1.3); }

.hero__scroll-cue { position: absolute; bottom: 12px; inset-inline: 0; display: flex; justify-content: center; z-index: 3; }
.hero__scroll-line { width: 1px; height: 36px; background: rgba(248,246,241,.5); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -100%; inset-inline-start: 0;
  width: 100%; height: 100%; background: var(--gold);
  animation: scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue { 0% { top: -100%; } 55% { top: 100%; } 100% { top: 100%; } }

/* ============ SECTIONS shared — layered, textured backgrounds ============ */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 24px;
  background:
    repeating-linear-gradient(0deg, rgba(20,48,74,.028) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(20,48,74,.028) 0 1px, transparent 1px 56px),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(62,124,177,.07), transparent 70%),
    var(--cream);
}
.section--navy {
  background:
    repeating-linear-gradient(0deg, rgba(248,246,241,.025) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(248,246,241,.025) 0 1px, transparent 1px 56px),
    radial-gradient(ellipse 62% 44% at 82% 0%, rgba(201,162,94,.1), transparent 70%),
    radial-gradient(ellipse 60% 50% at 12% 100%, rgba(62,124,177,.12), transparent 72%),
    var(--navy-deep);
  color: var(--off-white);
}
.section--cream {
  background:
    repeating-linear-gradient(0deg, rgba(20,48,74,.028) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(20,48,74,.028) 0 1px, transparent 1px 56px),
    radial-gradient(ellipse 66% 46% at 18% 0%, rgba(201,162,94,.1), transparent 70%),
    #fff;
}
.section__head { max-width: 780px; margin-inline: auto; text-align: center; margin-block-end: clamp(36px, 5vw, 56px); }
.section__head--start { text-align: start; margin-inline: 0; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .22em; color: var(--gold); text-transform: uppercase;
  margin-block-end: 12px;
}
.section__eyebrow::before, .section__eyebrow::after {
  content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7;
}
.section__head--start .section__eyebrow::before { display: none; }
.section__eyebrow--light { color: var(--gold); }
.section__title {
  font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  color: var(--navy); line-height: 1.25;
}
.section__title--light { color: var(--off-white); }
.section__lead { margin-block-start: 14px; color: inherit; opacity: .85; max-width: 640px; margin-inline: auto; }
.section__rule {
  display: block; width: 72px; height: 2px; background: var(--gold);
  margin: 18px auto 0; transform-origin: center;
}
.section__rule--start { margin-inline: 0; transform-origin: right center; }

/* ============ STATS — photo band with parallax ============ */
.stats {
  position: relative; overflow: hidden;
  background: var(--navy);
  border-block: 1px solid rgba(201,162,94,.35);
  padding-block: clamp(56px, 8vw, 88px);
}
.stats__bg { position: absolute; inset: -18% 0; z-index: 0; }
.stats__bg img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.stats__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(13,36,56,.88), rgba(13,36,56,.9));
}
.stats__inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin-inline: auto; padding-inline: 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stats__item { display: flex; flex-direction: column; gap: 4px; }
.stats__num { font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.1rem); color: var(--gold); line-height: 1.1; }
.stats__num--word { font-size: clamp(1.8rem, 4.2vw, 2.5rem); }
.stats__label { color: var(--off-white); font-size: clamp(.85rem, 2vw, 1rem); }

/* ============ SERVICES ============ */
.services__grid {
  max-width: 1160px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px);
}
.service-card {
  will-change: transform, opacity;
  opacity: 0;
  transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0);
  background: #fff; border-radius: 18px; padding: 0;
  border: 1px solid rgba(20,48,74,.08);
  border-block-end: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(13,36,56,.1);
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.services__grid .service-card:nth-child(1) { --fx: 84px; }
.services__grid .service-card:nth-child(2) { --fy: 56px; }
.services__grid .service-card:nth-child(3) { --fx: -84px; }
.service-card.svc-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform .85s cubic-bezier(.22, .61, .36, 1), opacity .7s ease;
}
.service-card.svc-done { transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover, .service-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(13,36,56,.18);
}
.service-card__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--navy);
}
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,36,56,.45), transparent 55%);
}
.service-card__body { position: relative; padding: 28px 28px 32px; }
.service-card__num {
  position: absolute; top: -26px; inset-inline-end: 20px;
  background: var(--gold); color: var(--navy-deep);
  font-weight: 900; font-size: 1.15rem; line-height: 1;
  padding: 14px 16px; border-radius: 12px;
  box-shadow: 0 8px 20px rgba(13,36,56,.25);
}
.service-card__icon {
  width: 48px; height: 48px;
  color: var(--gold); margin-block-end: 16px;
}
.service-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-block-end: 10px; }
.service-card p { font-size: .95rem; color: var(--text-soft); margin-block-end: 14px; }
.service-card ul { list-style: none; }
.service-card li {
  position: relative; padding-inline-start: 22px;
  font-size: .9rem; color: var(--text); margin-block-end: 6px;
}
.service-card li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .52em;
  width: 12px; height: 8px;
  border-inline-start: 2px solid var(--gold); border-block-end: 2px solid var(--gold);
  transform: rotate(45deg) scaleX(-1);
}

/* ============ BEDEK — scope cubes ============ */
.bedek__subtitle {
  margin-block-start: 22px;
  font-weight: 700; font-size: 1.05rem; color: var(--gold);
}
.bedek__scope {
  max-width: 1160px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.scope-card {
  background: rgba(248,246,241,.05);
  border: 1px solid rgba(248,246,241,.12);
  border-radius: 16px; padding: 26px 22px; text-align: center;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.scope-card:hover, .scope-card:focus {
  transform: translateY(-5px);
  background: rgba(201,162,94,.08);
  border-color: rgba(201,162,94,.45);
}
.scope-card__icon {
  width: 64px; height: 64px; margin: 0 auto 14px;
  color: var(--gold);
}
.scope-card__icon svg { width: 100%; height: 100%; overflow: visible; }
.scope-card h3 { font-size: 1.08rem; font-weight: 800; color: var(--off-white); margin-block-end: 6px; }
.scope-card p { font-size: .88rem; color: rgba(248,246,241,.75); line-height: 1.55; }

/* per-service icon animations */
.anim-scanline { animation: scanY 2.6s ease-in-out infinite; }
@keyframes scanY { 0%,100% { transform: translateY(0); opacity:.85; } 50% { transform: translateY(13px); opacity:.5; } }
.anim-magnify { animation: panXY 3.2s ease-in-out infinite; transform-origin: 27px 20px; }
@keyframes panXY { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-6px,5px); } 66% { transform: translate(3px,8px); } }
.anim-lens { animation: travelX 3s ease-in-out infinite; }
@keyframes travelX { 0%,100% { transform: translateX(0); } 50% { transform: translateX(22px); } }
.anim-needle { transform-origin: 24px 26px; animation: needleSwing 2.2s ease-in-out infinite; }
@keyframes needleSwing { 0%,100% { transform: rotate(-38deg); } 50% { transform: rotate(38deg); } }
.anim-drop { animation: drip 2.1s ease-in infinite; }
.anim-drop--2 { animation-delay: 1.05s; }
@keyframes drip { 0% { transform: translateY(-4px); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(6px); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.anim-check { stroke-dasharray: 20; stroke-dashoffset: 20; animation: checkDraw 3.6s ease-in-out infinite; }
.anim-check--2 { animation-delay: .5s; }
.anim-check--3 { animation-delay: 1s; }
@keyframes checkDraw { 0% { stroke-dashoffset: 20; } 20%,80% { stroke-dashoffset: 0; } 95%,100% { stroke-dashoffset: 20; } }

/* ============ EQUIPMENT MARQUEE (conveyor) ============ */
.bedek__equip-title {
  text-align: center; font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.6rem); color: var(--off-white);
  margin-block: clamp(44px, 6vw, 64px) 24px;
}
.equip-marquee {
  overflow: hidden; position: relative;
  /* full-bleed: edge to edge of the viewport, out of the section padding */
  width: 100vw; max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(to left, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to left, transparent, #000 7%, #000 93%, transparent);
}
.equip-marquee__track {
  display: flex; width: max-content;
  will-change: transform; backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.equip-marquee { touch-action: pan-y; cursor: grab; }
.equip-marquee.is-dragging { cursor: grabbing; }
.equip-marquee__group { display: flex; gap: 14px; padding-inline-end: 14px; }

.equip__tile {
  width: 236px; flex-shrink: 0; text-align: start;
  background: rgba(248,246,241,.05);
  border: 1px solid rgba(248,246,241,.16);
  border-radius: 6px; overflow: hidden;
  transition: border-color .35s ease, background .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.equip__tile:hover {
  background: rgba(201,162,94,.08);
  border-color: rgba(201,162,94,.45);
  transform: translateY(-4px);
}
.equip__tile picture { display: block; width: 100%; aspect-ratio: 4 / 3; background: #fff; }
.equip__tile picture img { width: 100%; height: 100%; object-fit: cover; }
.equip__tile h4 { font-size: .98rem; font-weight: 700; color: var(--off-white); padding: 14px 16px 4px; }
.equip__tile p { font-size: .82rem; color: rgba(248,246,241,.72); line-height: 1.5; padding: 0 16px 16px; }
/* ---- field photos: contact sheet (desktop) / swipe strip (mobile) ---- */
.sheet {
  max-width: 1280px; margin: clamp(28px, 4vw, 44px) auto 0;
  display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 196px; gap: 10px;
}
.sheet__i {
  position: relative; overflow: hidden; border-radius: 6px;
  border: 1px solid rgba(248,246,241,.16); background: rgba(248,246,241,.04);
  cursor: zoom-in;
}
.sheet__i picture { display: block; width: 100%; height: 100%; }
.sheet__i img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) brightness(.94);
  transition: transform .8s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.sheet__i:hover img, .sheet__i:focus-visible img { transform: scale(1.06); filter: none; }
.sheet__i--low img { object-position: center 72%; }
.sheet__i figcaption {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: 26px 12px 10px; font-size: .78rem; color: #fff; line-height: 1.4;
  background: linear-gradient(to top, rgba(13,36,56,.92), transparent);
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.sheet__i:hover figcaption, .sheet__i:focus-visible figcaption { opacity: 1; transform: none; }
@media (max-width: 1180px) { .sheet { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
  .sheet {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
    grid-auto-rows: auto; scrollbar-width: none; cursor: grab;
    padding-inline: 18px; margin-inline: -18px;
  }
  .sheet::-webkit-scrollbar { display: none; }
  .sheet:active { cursor: grabbing; }
  .sheet__i { flex: 0 0 66%; aspect-ratio: 3/4; scroll-snap-align: center; }
  .sheet__i figcaption { opacity: 1; transform: none; font-size: .74rem; }
  .sheet__i--low img { object-position: center 60%; }
}

.bedek__report {
  max-width: 720px; margin: clamp(36px, 5vw, 56px) auto 0; text-align: center;
  background: rgba(201,162,94,.09); border: 1px solid rgba(201,162,94,.35);
  border-radius: 16px; padding: clamp(26px, 4vw, 40px);
}
.bedek__report h3 { font-size: 1.3rem; font-weight: 800; color: var(--gold); margin-block-end: 10px; }
.bedek__report p { color: rgba(248,246,241,.85); margin-block-end: 20px; }

/* ============ PROJECTS ============ */
.projects__signature {
  max-width: 1160px; margin: 0 auto clamp(30px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.projects__sig-item {
  background: var(--navy); color: var(--off-white);
  border-radius: 12px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
  border-inline-start: 3px solid var(--gold);
}
.projects__sig-item strong { font-size: .98rem; font-weight: 700; }
.projects__sig-item span { font-size: .8rem; opacity: .8; }
.projects__grid {
  max-width: 1160px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.projects__item {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--navy);
}
.projects__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.projects__item:hover img { transform: scale(1.06); }
.projects__item figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 34px 16px 12px;
  background: linear-gradient(to top, rgba(13,36,56,.85), transparent);
  color: var(--off-white); font-size: .88rem; font-weight: 500;
}

/* ============ PROJECTS SHOWCASE (desktop: big stage / mobile: coverflow) ============ */
.proj-showcase {
  position: relative;
  max-width: 1160px; margin-inline: auto;
  display: flex; align-items: center; gap: clamp(10px, 2vw, 22px);
}
.proj-stage {
  position: relative; flex: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  touch-action: pan-y;
}
.proj-slide {
  position: absolute; inset: 0;
  border-radius: 18px; overflow: hidden;
  background: var(--navy);
  box-shadow: 0 18px 48px rgba(13,36,56,.22);
  cursor: pointer;
  will-change: transform;
}
.proj-slide picture, .proj-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  pointer-events: none;
}
.proj-slide figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 46px 20px 16px;
  background: linear-gradient(to top, rgba(13,36,56,.88), transparent);
  color: var(--off-white); font-weight: 600;
  font-size: clamp(.9rem, 2.2vw, 1.1rem);
}
.proj-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.proj-arrow:hover { background: var(--gold); color: var(--navy-deep); transform: scale(1.06); }
.proj-dots {
  position: absolute; inset-inline: 0; bottom: -30px;
  display: flex; justify-content: center; gap: 8px;
}
.proj-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(20,48,74,.25); cursor: pointer;
  transition: background .3s, transform .3s;
}
.proj-dots button.is-active { background: var(--gold); transform: scale(1.3); }
.projects .proj-showcase { margin-block-end: 40px; }

/* mobile coverflow */
@media (max-width: 767px) {
  .proj-showcase { display: block; }
  .proj-stage {
    aspect-ratio: auto;
    height: 340px;
    overflow: visible;
  }
  .proj-slide {
    box-shadow: 0 8px 20px rgba(13,36,56,.18);
    inset: auto;
    top: 0; left: 50%;
    width: 78%; height: 300px;
    margin-left: -39%;
    background: #fff;
    box-shadow: 0 14px 36px rgba(13,36,56,.22);
  }
  .proj-slide picture { height: 74%; }
  .proj-slide img { height: 100%; }
  .proj-slide figcaption {
    position: static; background: #fff;
    color: var(--navy); text-align: center;
    padding: 12px 12px 0; font-size: .92rem;
  }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10, 22, 33, .94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  padding: 24px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__body { max-width: min(1100px, 92vw); text-align: center; }
.lightbox__body img {
  max-width: 100%; max-height: 78vh;
  border-radius: 12px; margin-inline: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__body figcaption { color: var(--off-white); margin-block-start: 14px; font-size: 1.05rem; font-weight: 500; }
.lightbox__close {
  position: absolute; top: 18px; inset-inline-start: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(248,246,241,.4); background: transparent;
  color: var(--off-white); font-size: 1.1rem; cursor: pointer;
  transition: border-color .25s, color .25s;
}
.lightbox__close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid var(--gold); background: transparent; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .25s, color .25s;
}
.lightbox__nav:hover { background: var(--gold); color: var(--navy-deep); }
/* RTL: inline-start is the right edge — "previous" sits right, like the projects gallery */
.lightbox__nav--prev { inset-inline-start: 22px; }
.lightbox__nav--next { inset-inline-end: 22px; }
@media (max-width: 767px) {
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
}

/* ============ ABOUT ============ */
.about__grid {
  max-width: 1120px; margin-inline: auto;
  display: grid; grid-template-columns: 2fr 3fr; gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.about__photo { position: relative; }
/* portrait — no gold frame, one clean card */
.about__portrait {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 56px rgba(13,36,56,.22);
}
.about__portrait picture { display: block; }
.about__portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* wide field photo, under the story */
.about__band {
  position: relative; max-width: 1120px;
  margin: clamp(34px, 5vw, 56px) auto 0;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 46px rgba(13,36,56,.18);
}
.about__band img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 24%; }
.about__band figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 40px 20px 14px;
  font-size: .82rem; letter-spacing: .1em; color: var(--off-white);
  background: linear-gradient(to top, rgba(13,36,56,.88), transparent);
}
@media (max-width: 767px) {
  .about__band { margin-block-start: 26px; }
  .about__band img { aspect-ratio: 4 / 3; }
}
.about__badge {
  position: absolute; bottom: 14px; inset-inline-start: 14px;
  background: rgba(13,36,56,.9); color: var(--off-white);
  border-radius: 10px; padding: 10px 18px;
  display: flex; flex-direction: column; line-height: 1.4;
  border-inline-start: 3px solid var(--gold);
}
.about__badge strong { font-size: 1rem; }
.about__badge span { font-size: .78rem; opacity: .85; }
.about__quote {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem); font-weight: 500; color: var(--navy);
  border-inline-start: 3px solid var(--gold);
  padding-inline-start: 18px; margin-block: 20px 16px;
}
.about__text > p { color: var(--text-soft); margin-block-end: 18px; }
.about__creds { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 30px; }
.about__creds li {
  background: var(--cream); border: 1px solid rgba(201,162,94,.5);
  color: var(--navy); border-radius: 99px;
  font-size: .85rem; font-weight: 500; padding: 7px 16px;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.about__creds li:hover {
  background: var(--gold); border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201,162,94,.35);
}
/* certificates — full-width carousel below the resume */
.about__certs {
  max-width: 1120px; margin: clamp(40px, 6vw, 64px) auto 0;
}
.about__certs-title {
  font-size: 1.15rem; font-weight: 800; color: var(--navy);
  margin-block-end: 16px;
  display: flex; align-items: center; gap: 12px;
}
.about__certs-title::before, .about__certs-title::after { content: ""; flex: 1; height: 1px; background: rgba(201,162,94,.5); }
.certs-carousel {
  position: relative;
  display: flex; align-items: center; gap: 14px;
}
.about__certs-grid {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  align-items: flex-start; /* no stretch — kills dead space under shorter certs */
  padding-block-end: 8px;
  scrollbar-width: none;
  flex: 1;
}
.about__certs-grid::-webkit-scrollbar { display: none; }
.cert-card {
  flex: 0 0 clamp(230px, 26vw, 300px);
  scroll-snap-align: center;
  border: 1px solid rgba(201,162,94,.55); border-radius: 12px;
  background: #fff; padding: 8px; cursor: zoom-in;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 8px 22px rgba(13,36,56,.1);
  transition: transform .25s ease, box-shadow .25s ease;
  font-family: var(--font); text-align: center;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(13,36,56,.16); }
.cert-card picture { border-radius: 8px; overflow: hidden; display: block; }
.cert-card img { width: 100%; height: auto; display: block; }
.cert-card span { font-size: .82rem; font-weight: 500; color: var(--navy); padding-block-end: 4px; }
/* carousel arrows: desktop only */
.certs-arrow { position: static; transform: none; flex-shrink: 0; display: none; }
/* mobile: all four certificates on one screen (no swiping needed) */
@media (max-width: 767px) {
  .about__certs-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    overflow: visible; scroll-snap-type: none; cursor: default;
  }
  .cert-card { flex: none; padding: 6px; gap: 6px; }
  .cert-card picture { aspect-ratio: 3 / 4; background: #fff; }
  .cert-card img { width: 100%; height: 100%; object-fit: contain; }
  .cert-card span { font-size: .74rem; line-height: 1.35; }
}
/* desktop: all certificates laid out across the page — no scrolling */
@media (min-width: 1024px) {
  .about__certs { max-width: 1240px; }
  .certs-carousel { display: block; }
  .about__certs-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; overflow: visible; scroll-snap-type: none;
    padding-block-end: 0; cursor: default;
  }
  .cert-card { flex: none; }
  .cert-card picture { aspect-ratio: 3 / 4; background: #fff; }
  .cert-card img { width: 100%; height: 100%; object-fit: contain; }
}

.lightbox--single .lightbox__nav { display: none; }

.timeline { list-style: none; position: relative; padding-inline-start: 26px; }
.timeline::before {
  content: ""; position: absolute; inset-inline-start: 7px; top: 6px; bottom: 6px;
  width: 2px; background: rgba(20,48,74,.14);
}
.timeline__item { position: relative; padding-block-end: 22px; }
.timeline__item::before {
  content: ""; position: absolute; inset-inline-start: -26px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline__year { font-weight: 800; color: var(--gold); font-size: .92rem; }
.timeline__item strong { display: block; color: var(--navy); font-size: 1.02rem; }
.timeline__item p { color: var(--text-soft); font-size: .88rem; }

/* desktop: the career line becomes a tape measure across the page */
@media (min-width: 1024px) {
  .timeline {
    max-width: 1120px; margin: clamp(40px, 5vw, 64px) auto 0;
    padding-inline-start: 0; padding-block-start: 34px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(20px, 3vw, 40px);
    background: transparent;
  }
  .timeline::before {
    inset-inline: 0; inset-block: auto; top: 22px; bottom: auto;
    width: auto; height: 1px; background: rgba(20,48,74,.16);
  }
  /* ruler ticks above the line */
  .timeline::after {
    content: ""; position: absolute; inset-inline: 0; top: 13px; height: 9px;
    background-image: repeating-linear-gradient(to left, rgba(20,48,74,.22) 0 1px, transparent 1px 22px);
    background-position: bottom; background-repeat: repeat-x;
  }
  .timeline__line {
    position: absolute; top: 19px; inset-inline-start: 0; height: 6px; width: 100%;
    border-radius: 3px;
    background: linear-gradient(to left, var(--gold), #E0BF80);
    transform: scaleX(0); transform-origin: 100% 50%;
    box-shadow: 0 0 14px rgba(201,162,94,.5);
    z-index: 2;
  }
  /* the tape body the fill runs along */
  .timeline::before { top: 21px; height: 2px; background: rgba(20,48,74,.14); border-radius: 2px; }
  .timeline::after { top: 8px; height: 12px; z-index: 1; background-image: repeating-linear-gradient(to left, rgba(20,48,74,.28) 0 1px, transparent 1px 18px); }
  .timeline__item {
    background: transparent; padding: 24px 0 26px;
    border-inline-end: 1px solid rgba(20,48,74,.12);
    padding-inline-end: clamp(16px, 2vw, 26px);
  }
  .timeline__item:last-child { border-inline-end: 0; }
  .timeline__item::before { display: none; }   /* the tape fill replaces the dots */
}

/* ---- about flip card (two portraits) ---- */
.flip { perspective: 1400px; display: block; cursor: pointer; position: relative; }
.flip__inner {
  position: relative; width: 100%;
  will-change: transform;
  aspect-ratio: 4 / 4.6;
  border-radius: 16px;
}
.flip__face {
  position: absolute; inset: 0;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 56px rgba(13,36,56,.22);
}
.flip__face picture, .flip__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flip__face--back { visibility: hidden; }

/* ---- about animated tools background ---- */
.bgfx-logo {
  position: absolute; top: 50%; inset-inline-start: 50%;
  transform: translate(50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  opacity: .13; pointer-events: none;
}
.bgfx-logo svg { width: clamp(330px, 44vw, 640px); height: auto; }
.bgfx-logo span {
  font-weight: 900; font-size: clamp(5rem, 12vw, 9.5rem);
  color: var(--navy); line-height: 1;
}
@media (max-width: 1023px) { .bgfx-logo { top: 42%; } }

.about__bgfx {
  /* fixed-height box: the section grows as images load, the watermark must not slide */
  position: absolute; inset-block-start: 0; inset-inline: 0; height: 900px; overflow: hidden;
  pointer-events: none; z-index: 0;
  color: var(--navy);
}
@media (max-width: 1023px) { .about__bgfx { height: 620px; } }
.about__grid { position: relative; z-index: 1; }
/* scanning magnifier */
.bgfx-magnifier {
  position: absolute; top: 34%; inset-inline-end: 6%;
  width: clamp(70px, 8vw, 110px); opacity: .16;
  color: var(--navy);
  animation: magnifyScan 12s ease-in-out infinite;
}
@keyframes magnifyScan {
  0%   { transform: translate(0, 0) scale(1); }
  18%  { transform: translate(-16vw, 10vh) scale(1); }
  28%  { transform: translate(-16vw, 10vh) scale(1.18); } /* stop + focus */
  38%  { transform: translate(-16vw, 10vh) scale(1); }
  56%  { transform: translate(-30vw, 34vh) scale(1); }
  66%  { transform: translate(-30vw, 34vh) scale(1.18); } /* stop + focus */
  76%  { transform: translate(-30vw, 34vh) scale(1); }
  100% { transform: translate(0, 0) scale(1); }
}
.bgfx-report {
  position: absolute; bottom: 6%; inset-inline-start: 3%;
  width: clamp(120px, 13vw, 190px); opacity: .1;
}
.bgfx-line { stroke-dasharray: 130; stroke-dashoffset: 130; animation: bgfxLine 6s ease-in-out infinite; }
.bgfx-line--2 { animation-delay: .7s; }
.bgfx-line--3 { animation-delay: 1.4s; }
@keyframes bgfxLine { 0% { stroke-dashoffset: 130; } 30%,80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 130; } }
.bgfx-check { stroke-dasharray: 90; stroke-dashoffset: 90; animation: bgfxCheck 6s ease-in-out infinite 2s; }
@keyframes bgfxCheck { 0% { stroke-dashoffset: 90; } 30%,80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 90; } }
.bgfx-drop {
  position: absolute; width: 26px; opacity: 0;
  animation: bgfxDrip 4.5s ease-in infinite;
}
.bgfx-drop--1 { top: 30%; inset-inline-start: 22%; }
.bgfx-drop--2 { top: 18%; inset-inline-start: 30%; animation-delay: 2.2s; }
@keyframes bgfxDrip {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: .14; }
  70% { opacity: .14; }
  100% { transform: translateY(90px); opacity: 0; }
}

/* ============ AUDIENCE ============ */
.section--slate {
  background:
    repeating-linear-gradient(135deg, rgba(20,48,74,.05) 0 2px, transparent 2px 26px),
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(62,124,177,.12), transparent 72%),
    linear-gradient(180deg, #E8EDF2, #DFE6EC);
}
.audience__icon {
  width: 84px; height: 84px; margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(62,124,177,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
}
.audience__icon svg { width: 56px; height: 56px; overflow: visible; }
/* 1 — buyers: check draws inside the house */
.aud-house-check {
  stroke: var(--gold);
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: audCheck 4.2s ease-in-out infinite;
}
@keyframes audCheck { 0%,15% { stroke-dashoffset: 40; } 40%,78% { stroke-dashoffset: 0; } 96%,100% { stroke-dashoffset: 40; } }
.aud-house-door { animation: audDoor 4.2s ease-in-out infinite; transform-origin: 27px 52px; }
@keyframes audDoor { 0%,60%,100% { opacity: 1; } 75% { opacity: .35; } }
/* 2 — builders: floors stack up one by one */
.aud-floor { animation: audFloor 4.8s ease-in-out infinite; }
.aud-floor--1 { animation-delay: 0s; }
.aud-floor--2 { animation-delay: .5s; }
.aud-floor--3 { animation-delay: 1s; }
@keyframes audFloor {
  0%   { transform: translateY(10px); opacity: 0; }
  14%  { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(0); opacity: 1; }
  92%,100% { transform: translateY(0); opacity: 0; }
}
/* 3 — lawyers: scales tilt and settle */
.aud-scales {
  transform-origin: 32px 10px;
  animation: audScales 5s ease-in-out infinite;
}
@keyframes audScales {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-6deg); }
  40% { transform: rotate(4.5deg); }
  58% { transform: rotate(-2.5deg); }
  72% { transform: rotate(0deg); } /* settles — balanced */
}
/* 4 — architects: compass rotates, arc draws itself */
.aud-arc {
  stroke-dasharray: 126; stroke-dashoffset: 126;
  animation: audArc 6s linear infinite;
  transform-origin: 32px 34px;
  transform: rotate(-90deg);
}
@keyframes audArc { 0% { stroke-dashoffset: 126; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 126; } }
.aud-compass {
  transform-origin: 32px 34px;
  animation: audCompass 6s ease-in-out infinite;
}
@keyframes audCompass { 0% { transform: rotate(0); } 55%, 85% { transform: rotate(200deg); } 100% { transform: rotate(360deg); } }

.audience__grid {
  max-width: 1160px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.audience__card {
  background: #fff; border-radius: 14px; padding: 30px 22px; text-align: center;
  border: 1px solid rgba(20,48,74,.08);
  border-block-start: 3px solid transparent;
  box-shadow: 0 6px 20px rgba(13,36,56,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.audience__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(13,36,56,.14);
  border-block-start-color: var(--gold);
}
.audience__card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-block-end: 6px; }
.audience__card p { font-size: .86rem; color: var(--text-soft); }

/* ============ CONTACT ============ */
.contact__inner { max-width: 1000px; margin-inline: auto; }
.contact__grid {
  display: grid; grid-template-columns: 3fr 2fr; gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.contact__form {
  background: rgba(248,246,241,.06);
  border: 1px solid rgba(248,246,241,.14);
  border-radius: 16px; padding: clamp(24px, 3.6vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
}
.contact__form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; color: var(--off-white); }
.contact__form input, .contact__form select {
  background: rgba(248,246,241,.95); border: 1px solid transparent;
  border-radius: 10px; padding: 12px 14px;
  font-family: var(--font); font-size: 1rem; color: var(--text);
}
.contact__form input:focus, .contact__form select:focus { border-color: var(--gold); outline: none; }
.contact__form .btn { margin-block-start: 6px; }
.contact__form-note { font-size: .78rem; color: rgba(248,246,241,.6); text-align: center; }
.contact__direct { display: flex; flex-direction: column; gap: 14px; }
.contact__direct-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(248,246,241,.06); border: 1px solid rgba(248,246,241,.14);
  border-radius: 12px; padding: 14px 18px;
  color: var(--off-white); text-decoration: none; font-weight: 500;
  transition: border-color .25s ease, background .25s ease;
}
.contact__direct-item:hover { border-color: var(--gold); background: rgba(201,162,94,.1); }
.contact__areas {
  background: rgba(201,162,94,.09); border: 1px solid rgba(201,162,94,.35);
  border-radius: 12px; padding: 16px 18px;
}
.contact__areas h3 { font-size: .95rem; color: var(--gold); margin-block-end: 4px; }
.contact__areas p { font-size: .88rem; color: rgba(248,246,241,.85); }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); border-block-start: 1px solid rgba(248,246,241,.1); padding: 48px 24px 40px; }
.footer__inner {
  max-width: 1160px; margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr auto auto; gap: clamp(26px, 5vw, 70px);
  align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 6px; color: var(--off-white); }
.footer__brand svg { margin-block-end: 6px; }
.footer__brand strong { font-size: 1rem; }
.footer__brand span { font-size: .8rem; opacity: .7; }
/* vertical navigation columns */
.footer__nav, .footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-title {
  font-size: .72rem; letter-spacing: .18em; color: var(--gold);
  margin-block-end: 4px;
}
.footer__nav a, .footer__links a {
  position: relative; color: rgba(248,246,241,.78); text-decoration: none; font-size: .88rem;
  padding-inline-start: 14px; transition: color .25s ease, padding-inline-start .25s ease;
}
.footer__nav a::before, .footer__links a::before {
  content: ; position: absolute; inset-inline-start: 0; top: .62em;
  width: 5px; height: 5px; border: 1px solid var(--gold); transform: rotate(45deg);
  opacity: .6; transition: opacity .25s ease, background .25s ease;
}
.footer__nav a:hover, .footer__links a:hover { color: var(--gold); padding-inline-start: 18px; }
.footer__nav a:hover::before, .footer__links a:hover::before { opacity: 1; background: var(--gold); }
.footer__copy {
  grid-column: 1 / -1; color: rgba(248,246,241,.5); font-size: .8rem;
  border-block-start: 1px solid rgba(248,246,241,.1); padding-block-start: 22px; margin-block-start: 8px;
}
@media (max-width: 767px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}


/* ============ REVEAL (GSAP hooks) ============ */
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal, .no-anim .reveal { opacity: 1; transform: none; }
.no-js .hero__intro, .no-js .hero__boxes, .no-js .hero__tagline, .no-js .hero__contact { opacity: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1023px) {
  .navbar__nav { display: none; }
  .services__grid { grid-template-columns: 1fr; max-width: 560px; }
  .bedek__scope { grid-template-columns: repeat(2, 1fr); }
  .projects__signature { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { width: 100%; max-width: 420px; margin-inline: auto; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  /* writing notebook moves to the left side, same height */
  .bgfx-report { inset-inline-start: auto; inset-inline-end: 4%; }
  .about-level { max-width: 320px; }
  .navbar__phone { display: none; }
  .navbar__burger { display: flex; }
  .hero { padding: 80px 14px 18px; }
  .hero__content { gap: 12px; }
  .hero__boxes { padding: 8px 2px; }
  .hero__contact { border-radius: 18px; }
  .hero__contact-item::after { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .bedek__scope { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .projects__grid { grid-template-columns: 1fr; }
  .projects__signature { grid-template-columns: 1fr; }
  .audience__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand { align-items: center; }
}

/* ============ ABOUT LEVEL — 3D, real physics ============ */
.about-level {
  margin: 26px auto 0;
  max-width: 360px;
  filter: drop-shadow(0 10px 18px rgba(13,36,56,.18));
}
.about-level svg { width: 100%; height: auto; overflow: visible; }
.about-level__tool {
  transform-origin: 180px 64px;
  animation: levelTilt3 9s ease-in-out infinite;
}
/* bubble always flows to the HIGH end: right side up -> bubble right */
@keyframes levelTilt3 {
  0%   { transform: rotate(0deg); }
  16%  { transform: rotate(-3.4deg); }  /* right end up */
  30%  { transform: rotate(-3.4deg); }  /* hold */
  44%  { transform: rotate(0deg); }
  60%  { transform: rotate(3.4deg); }   /* left end up */
  74%  { transform: rotate(3.4deg); }   /* hold */
  88%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
.about-level__bubble { animation: levelBubble3 9s ease-in-out infinite; }
@keyframes levelBubble3 {
  0%   { transform: translateX(0); }
  16%  { transform: translateX(9px); }
  30%  { transform: translateX(9px); }
  44%  { transform: translateX(0); }
  60%  { transform: translateX(-9px); }
  74%  { transform: translateX(-9px); }
  88%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
}
.preloader.is-done { display: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.preloader__mark { width: clamp(160px, 32vw, 230px); height: auto; }
.preloader__mark .pl-pillar, .preloader__mark .pl-swoosh, .preloader__mark .pl-win { transform-box: fill-box; }
.preloader__word {
  font-weight: 900; font-size: clamp(3.3rem, 11vw, 4.8rem);
  color: #fff; line-height: 1.05; opacity: 0;
}
.preloader__sub {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(.8rem, 2.4vw, .95rem); font-weight: 500; letter-spacing: .24em;
  color: var(--off-white); opacity: 0;
}
.preloader__sub i { width: 40px; height: 1px; background: var(--gold); }
.preloader__bar {
  width: min(240px, 60vw); height: 2px; margin-block-start: 26px;
  background: rgba(248,246,241,.15); border-radius: 2px; overflow: hidden;
}
.preloader__bar i {
  display: block; width: 100%; height: 100%;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right center;
}

/* ============ SHARED CAROUSEL ARROWS (desktop) ============ */
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(13,36,56,.35);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: var(--gold);
  display: none; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5;
  transition: background .25s ease, color .25s ease;
}
.car-arrow:hover { background: var(--gold); color: var(--navy-deep); }
.car-arrow--prev { inset-inline-end: 18px; }
.car-arrow--next { inset-inline-start: 18px; }
@media (min-width: 1024px) { .car-arrow { display: inline-flex; } }

.hero__arrow { z-index: 4; }
/* מי אני: no arrows — manual drag/swipe only */
.flip__arrow, .certs-arrow { display: none !important; }
.flip { cursor: grab; }
.flip:active { cursor: grabbing; }
@media (max-width: 1023px) {
  .about__certs-grid { cursor: grab; }
  .about__certs-grid:active { cursor: grabbing; }
}

/* mobile gallery arrows — below the images */
@media (max-width: 1023px) {
  .proj-arrow {
    display: inline-flex; position: absolute;
    top: auto; bottom: -46px; width: 40px; height: 40px;
    background: rgba(13,36,56,.08); color: var(--gold);
  }
  .proj-arrow--prev { inset-inline-end: 16%; }
  .proj-arrow--next { inset-inline-start: 16%; }
  .projects .proj-showcase { margin-block-end: 66px; }
  /* bedek field-photos gallery: no arrows on mobile — swipe only */
}

/* ============ TIMELINE SCROLL PROGRESS (vertical — under 1024px) ============ */
@media (max-width: 1023px) {
  .timeline__line {
    position: absolute; inset-inline-start: 7px; top: 6px; bottom: 6px;
    width: 2px; background: var(--gold);
    transform: scaleY(0); transform-origin: top center;
    box-shadow: 0 0 8px rgba(201,162,94,.6);
  }
  .timeline__item::before { background: #CBD2D8; box-shadow: 0 0 0 2px #CBD2D8; transition: background .4s, box-shadow .4s; }
  .timeline__item.is-active::before { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after { animation: none; }
  .anim-scanline, .anim-magnify, .anim-lens, .anim-needle, .anim-drop, .anim-check { animation: none; }
  .bgfx-line, .bgfx-check, .bgfx-drop, .about-level__tool, .about-level__bubble { animation: none; }
  .bgfx-line, .bgfx-check { stroke-dashoffset: 0; }
  .anim-check { stroke-dashoffset: 0; }
  .equip-marquee__track { animation: none; }
  .equip-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .mobile-menu.is-open a { transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .service-card { opacity: 1; transform: none; }
  .preloader { display: none !important; }
  .timeline__line { transform: scaleY(1); }
  .timeline__item::before { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
}


/* ============ PROJECTS VIDEO BAND ============ */
.projects.section { padding-block-start: 0; }
.reel {
  position: relative; overflow: hidden;
  width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw);
  height: min(66svh, 620px);
  margin-block-end: clamp(38px, 6vw, 68px);
}
.reel__vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(13,36,56,.86) 0%, rgba(13,36,56,.6) 42%, rgba(13,36,56,.22) 72%, transparent 92%),
    linear-gradient(to top, rgba(13,36,56,.78), transparent 52%);
}
.reel__over {
  position: absolute; z-index: 2;
  inset-block-end: clamp(26px, 5vw, 60px);
  inset-inline-start: clamp(20px, 6vw, 76px); inset-inline-end: auto;
  text-align: start; max-width: min(640px, 82vw);
}
.reel__over .section__eyebrow { justify-content: flex-start; }
.reel__over .section__title { margin-block: 6px 12px; }
.reel__over .section__rule { margin-inline: 0; }
@media (max-width: 767px) {
  .reel { height: 54svh; }
  .reel__over {
    inset-inline: 20px; text-align: center; max-width: none;
  }
  .reel__over .section__eyebrow { justify-content: center; }
  .reel__over .section__rule { margin-inline: auto; }
  .reel::after {
    background: linear-gradient(to top, rgba(13,36,56,.9) 6%, rgba(13,36,56,.5) 48%, rgba(13,36,56,.4) 100%);
  }
}

/* ============ LIGHTBOX: arrows on desktop, swipe on touch ============ */
.lightbox__body { touch-action: pan-y; }
#lbImg { transition: opacity .18s ease; }
.lightbox.is-loading #lbImg { opacity: 0; }
@media (max-width: 767px) {
  .lightbox__nav { display: none !important; }
}

/* ---- marquee: cheap edge fade on phones (mask-image on a moving layer is a frame killer) ---- */
@media (max-width: 900px) {
  .equip-marquee { -webkit-mask-image: none; mask-image: none; }
  .equip-marquee::before, .equip-marquee::after {
    content: ''; position: absolute; inset-block: 0; width: 42px; z-index: 2; pointer-events: none;
  }
  .equip-marquee::before { inset-inline-start: 0; background: linear-gradient(to left, var(--navy), transparent); }
  .equip-marquee::after  { inset-inline-end: 0;  background: linear-gradient(to right, var(--navy), transparent); }
  .equip-marquee__track { contain: layout paint; }
  .equip__tile { contain: layout paint; }
}
