/* ==========================================================================
   ברוך דיגיטל | Barouch Digital
   ========================================================================== */

:root {
  --cream: #F6EFE3;
  --card: #FFFBF4;
  --band: #EDE2D0;
  --line: #E2D5C0;
  --line-soft: #EFE5D5;
  --ink: #2E2119;
  --ink-2: #4A3B30;
  --text-2: #5F5045;
  --text-3: #6B5A4D;
  --copper: #A8693F;
  --copper-dark: #8A5230;
  --copper-light: #D6A076;
  --on-dark-2: #DCCFBE;
  --outline: #C9B79F;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

/* ---------- base ---------- */
body { margin: 0; background: var(--cream); }
:where(a) { color: var(--copper-dark); }
:where(a):hover { color: var(--ink); }
html { scroll-behavior: smooth; }
h1, h2, h3, p { margin: 0; }
svg[hidden] { display: none; }
picture { display: contents; }
picture source { display: none; }

.page {
  font-family: 'Assistant', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: clip;
}

.rubik { font-family: 'Rubik', sans-serif; }
.accent { color: var(--copper); }
.accent-light { color: var(--copper-light); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- accessibility: skip link + focus ---------- */
.skip-link {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; color: var(--cream); }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.strat :focus-visible,
.wa-float:focus-visible {
  outline-color: var(--copper-light);
}
main:focus { outline: none; }

/* ---------- motion: hero, once on load ---------- */
@keyframes bd-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bd-card { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bd-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hi { animation: bd-in .8s var(--ease) both; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .15s; }
.d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; }
.hcard { animation: bd-card .9s var(--ease) .2s both; }
.hline { transform-origin: right center; animation: bd-grow .8s var(--ease) .7s both; }

/* ---------- motion: entrance when scrolled into view (plays once) ---------- */
.js .rv { opacity: 0; transform: translateY(32px); }
.rv.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s var(--ease); }
.js .rv .ln { transform: scaleX(0); transform-origin: right center; }
.rv.in .ln { transform: scaleX(1); transition: transform .8s var(--ease) .25s; }
.js .stg > * { opacity: 0; transform: translateY(32px); }
.stg.in > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s var(--ease), translate .45s, box-shadow .45s; }
.stg.in > *:nth-child(2) { transition-delay: .1s, .1s, 0s, 0s; }
.stg.in > *:nth-child(3) { transition-delay: .2s, .2s, 0s, 0s; }
.stg.in > *:nth-child(4) { transition-delay: .3s, .3s, 0s, 0s; }
.stg.in > *:nth-child(5) { transition-delay: .4s, .4s, 0s, 0s; }
.stg.in > *:nth-child(6) { transition-delay: .5s, .5s, 0s, 0s; }

/* ---------- hover ---------- */
.lift { transition: translate .45s var(--ease), box-shadow .45s; }
.lift:hover { translate: 0 -5px; box-shadow: 0 24px 40px -30px rgba(46, 33, 25, .5); }
.btn { transition: translate .25s, box-shadow .25s; }
.btn:hover { translate: 0 -2px; box-shadow: 0 12px 22px -14px rgba(46, 33, 25, .6); }

/* ---------- buttons ---------- */
.pill {
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  min-height: 50px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
.pill-dark { background: var(--ink); color: var(--cream); }
.pill-outline { color: var(--ink); border: 1.5px solid var(--outline); }
.pill-light { flex: 0 0 auto; background: var(--cream); color: var(--ink); padding: 14px 26px; }
.pill-dark:hover { color: var(--cream); }
.pill-outline:hover, .pill-light:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.hdr {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand:hover { color: var(--ink); }
.brand img, .brand-logo { display: block; width: 36px; height: 42px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-he { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 21px; }
.brand-en { font-family: 'Rubik', sans-serif; font-weight: 400; font-size: 13px; color: var(--text-3); letter-spacing: .08em; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 26px;
  font-size: 16px;
  font-weight: 600;
}
.nl { text-decoration: none; color: var(--ink-2); }
.nl:hover { color: var(--ink); }
.hcta {
  text-decoration: none;
  color: var(--cream);
  background: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
.hcta:hover { color: var(--cream); }
/* switch to the 3D version, like a language toggle */
.v3d {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--outline);
  color: var(--ink);
  font: 800 14px 'Rubik', sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  direction: ltr;
  transition: border-color .2s, color .2s;
}
.v3d:hover { border-color: var(--copper); color: var(--copper-dark); }
.v3d svg { color: var(--copper); }

.hb {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: var(--card);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

/* mobile menu */
@keyframes bd-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 8px 12px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 30px -24px rgba(46, 33, 25, .5);
  animation: bd-drop .25s ease both;
}
.mnav[hidden] { display: none; }
.mnav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  padding: 12px 14px;
  border-radius: 12px;
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  transition: background-color .2s;
}
.mnav a:hover { background: var(--band); }
.mnav a.mnav-cta { color: var(--copper-dark); font-weight: 700; }
@media (min-width: 761px) { .mnav { display: none !important; } }

/* ---------- shared section pieces ---------- */
.band { background: var(--band); }
.wrap { max-width: 1180px; margin: 0 auto; }
.sec-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 20px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.sec-head { display: flex; flex-direction: column; gap: 14px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--copper-dark);
}
.sec-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
}
.sec-title-sm { font-size: clamp(28px, 4vw, 44px); }
.sec-lead { color: var(--text-2); font-size: clamp(17px, 2vw, 19px); }
.muted { color: var(--text-2); }

/* ---------- hero ---------- */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 20px 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.hero-main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero .eyebrow { align-self: flex-start; }
.hero-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 70px);
  line-height: 1.12;
}
.hero-lead { font-size: clamp(18px, 2vw, 20px); color: var(--text-2); max-width: 600px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  flex: 1 1 300px;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 44px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow: 0 30px 60px -40px rgba(46, 33, 25, .45);
}
.hero-card-logo { display: block; width: 180px; height: 206px; object-fit: contain; }
.fp-draw { overflow: visible; }
.fp-fill { fill: var(--copper); }
.fp-lines path { fill: none; stroke: var(--copper); stroke-linecap: round; stroke-linejoin: round; }
.hero-card-names { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.hero-card-en { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 30px; color: var(--ink); }
.hero-card-he { font-family: 'Rubik', sans-serif; font-weight: 500; font-size: 20px; color: var(--ink-2); }
.hero-card-rule { width: 60px; height: 1.5px; background: var(--copper); }
.tagline { font-family: 'Rubik', sans-serif; font-weight: 400; font-size: 17px; color: var(--text-3); text-align: center; }

/* ---------- audience ---------- */
.audience {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title { font-family: 'Rubik', sans-serif; font-weight: 500; font-size: 25px; }

/* ---------- services ---------- */
.services .sec-head { max-width: 720px; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}
.svc {
  background: var(--card);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-title { font-family: 'Rubik', sans-serif; font-weight: 500; font-size: 22px; }

/* service icons: strokes draw in, then the icon gives one soft copper pulse */
@keyframes bd-draw { to { stroke-dashoffset: 0; } }
@keyframes bd-ping {
  0%, 100% { transform: scale(1); filter: none; }
  45% { transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(168, 105, 63, .55)); }
}
.svc-ico { transform-origin: center; }
.svc-ico * { stroke-dashoffset: var(--len, 0); }
.stg.in .svc-ico * { animation: bd-draw 1.4s cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * .12s + .55s) forwards; }
.stg.in .svc-ico { animation: bd-ping .8s ease calc(var(--i, 0) * .12s + 1.9s) both; }

.strat {
  background: var(--ink);
  color: var(--cream);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.strat-body { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.strat-title { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: clamp(23px, 3vw, 28px); }
.on-dark-muted { color: var(--on-dark-2); }

/* contact form: interest choice */
.interest { border: 0; padding: 0; margin: 0; min-width: 0; }
.interest legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.interest-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.interest-opts label { position: relative; cursor: pointer; }
.field .interest-opts input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; margin: 0; border: 0; cursor: pointer; }
.interest-opts span {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(246, 239, 227, .3);
  color: var(--cream);
  font-size: 16px;
  transition: background .2s, border-color .2s, color .2s;
}
.interest-opts input:checked + span { background: var(--copper-light); border-color: var(--copper-light); color: var(--ink); font-weight: 700; }
.interest-opts input:focus-visible + span { outline: 2px solid var(--copper-light); outline-offset: 3px; }

/* ---------- comparison ---------- */
.compare {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.compare .sec-head { max-width: 740px; }
.cmp-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.cmp {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 17px;
  text-align: right;
}
.cmp th, .cmp td { padding: 14px 22px; }
.cmp thead th { padding: 18px 22px; }
.cmp .col-what { font-weight: 700; width: 42%; border-bottom: 1px solid var(--line); }
.cmp .col-them { font-weight: 600; color: var(--text-3); width: 24%; border-bottom: 1px solid var(--line); }
.cmp .col-us { font-weight: 700; color: var(--cream); background: var(--ink); width: 34%; }
.cmp tbody th { font-weight: 600; border-top: 1px solid var(--line-soft); }
.cmp .them { color: var(--text-3); border-top: 1px solid var(--line-soft); }
.cmp .us { background: #F5EADB; color: var(--ink); font-weight: 700; border-top: 1px solid #EADBC6; }
.cmp .mark { display: inline-flex; align-items: center; gap: 8px; }
.cmp .total > * { padding: 20px 22px; }
.cmp .total th { font-weight: 700; border-top: 2px solid var(--ink); }
.cmp .total .them { font-weight: 600; border-top: 2px solid var(--ink); }
.cmp .total .us { background: var(--ink); color: var(--cream); border-top: 0; }

/* ---------- process ---------- */
.process .sec-inner { gap: 40px; }
.process .sec-title { line-height: inherit; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px;
}
.step {
  background: var(--card);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-num { font-family: 'Rubik', sans-serif; font-weight: 300; font-size: 40px; line-height: 1; color: var(--copper); }
.step-title { font-size: 20px; }
.step-text { color: var(--text-2); }

/* ---------- section titles: words rise in one after another ---------- */
.wr .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wr .w > span { display: inline-block; }
.js .wr .w > span { transform: translateY(110%); }
.wr.in .w > span { transform: none; transition: transform .8s var(--ease) calc(var(--wi, 0) * 70ms + 150ms); }

/* ---------- process: a line fills across the steps while scrolling ---------- */
.steps.track .step { position: relative; overflow: hidden; }
.steps.track .step::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 3px;
  width: calc(var(--p, 0) * 100%);
  background: var(--copper);
}
.steps.track .step-num { color: var(--outline); transition: color .5s ease; }
.steps.track .step.done .step-num { color: var(--copper); }

/* ---------- hero fingerprint: hold to scan ---------- */
.fp-touch {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  touch-action: manipulation;
}
.fp-touch:focus-visible { outline: 2px solid var(--copper); outline-offset: 10px; }
.fp-ring {
  position: absolute;
  width: 236px;
  height: 236px;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  pointer-events: none;
  overflow: visible;
  rotate: -90deg;
}
.fp-ring circle { fill: none; stroke-width: 2.5; }
.fp-ring-track { stroke: var(--line); opacity: 0; transition: opacity .3s; }
.fp-ring-fill { stroke: var(--copper); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.fp-touch.holding .fp-ring-track { opacity: 1; }
.fp-touch::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px solid var(--copper);
  opacity: 0;
  pointer-events: none;
  animation: bd-halo 2.8s ease-out 3.6s infinite;
}
@keyframes bd-halo {
  0% { opacity: .55; transform: scale(.82); }
  70%, 100% { opacity: 0; transform: scale(1.12); }
}
.fp-touch.holding::after { animation: none; }
.fp-scanline {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--copper-light), var(--copper), var(--copper-light), transparent);
  box-shadow: 0 0 14px 2px rgba(214, 160, 118, .7);
  opacity: 0;
  pointer-events: none;
}
@keyframes bd-scan { 0% { top: 4%; } 50% { top: 94%; } 100% { top: 4%; } }
.fp-touch.holding .fp-scanline { opacity: 1; animation: bd-scan 1.4s ease-in-out infinite; }
.fp-touch.holding .hero-card-logo { filter: drop-shadow(0 0 10px rgba(214, 160, 118, .55)); transition: filter .3s; }
.fp-touch.scanned .hero-card-logo { filter: drop-shadow(0 0 18px rgba(214, 160, 118, .9)); }
.fp-hint {
  margin-top: -6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--copper-dark);
  letter-spacing: .02em;
  min-height: 1.4em;
}
.fp-start {
  margin-top: 4px;
  padding: 10px 18px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 15px 'Assistant', system-ui, sans-serif;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.fp-start:hover { background: var(--cream); border-color: var(--copper); }
.fp-start:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- scan overlay: a night world behind the fingerprint ---------- */
html.scan-open { overflow: hidden; }
.scan {
  position: fixed;
  inset: 0;
  z-index: 100;
  color: var(--cream);
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(168, 105, 63, .28), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(138, 82, 48, .25), transparent 70%),
    #1B130E;
  font-family: 'Assistant', system-ui, sans-serif;
}
.scan[hidden] { display: none; }
.scan-sky { position: absolute; inset: 0; pointer-events: none; }
.scan-dialog {
  position: relative;
  height: 100%;
  overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) 20px calc(env(safe-area-inset-bottom, 0px) + 40px);
  display: flex;
  flex-direction: column;
}
.scan-top {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.scan-progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(246, 239, 227, .14); overflow: hidden; }
.scan-progress span {
  display: block;
  height: 100%;
  width: 0;
  margin-inline-start: 0;
  background: linear-gradient(270deg, var(--copper-light), var(--copper));
  transition: width .6s var(--ease);
}
.scan-close {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246, 239, 227, .22);
  background: rgba(246, 239, 227, .06);
  color: var(--cream);
  cursor: pointer;
}
.scan-close:hover { background: rgba(246, 239, 227, .14); }
.scan :focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
.scan [tabindex="-1"]:focus { outline: none; }
.scan-stage {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 28px;
}
.scan-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--copper-light); }
.scan-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.15;
  text-wrap: balance;
}
.scan-title-sm { font-size: clamp(24px, 3.4vw, 34px); }
.scan-lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--on-dark-2); max-width: 56ch; }
.scan-lead-2 { color: var(--cream); }
.scan-note, .scan-count { font-size: 15px; color: var(--copper-light); font-weight: 600; }
.scan-fine { font-size: 14px; color: rgba(220, 207, 190, .7); max-width: 60ch; }

.scan-btn {
  align-self: flex-start;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: #1B130E;
  font: 700 17px 'Rubik', sans-serif;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(214, 160, 118, .4), 0 14px 34px -12px rgba(214, 160, 118, .7);
  transition: translate .25s, box-shadow .25s, opacity .25s;
}
.scan-btn:hover { translate: 0 -2px; box-shadow: 0 0 0 1px rgba(214, 160, 118, .6), 0 18px 40px -12px rgba(214, 160, 118, .9); }
.scan-btn:disabled { opacity: .35; cursor: default; translate: none; }
.scan-link {
  padding: 10px 4px;
  border: 0;
  background: none;
  color: var(--on-dark-2);
  font: 600 16px 'Assistant', system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.scan-link:hover { color: var(--cream); }

/* fingerprint line art */
.scan-fp-box { position: relative; aspect-ratio: 400 / 459; }
.scan-fp { width: 100%; height: 100%; overflow: visible; }
.scan-fp path { fill: none; stroke: rgba(214, 160, 118, .55); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scan-fp path.hl { stroke: #F3C9A2; stroke-width: 2.6; }
.scan-fp { filter: drop-shadow(0 0 10px rgba(214, 160, 118, .35)); }

/* intro */
.scan-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: relative; }
.scan-fp-intro {
  position: absolute;
  inset-inline-end: -2%;
  top: 50%;
  translate: 0 -50%;
  width: min(380px, 42vw);
  opacity: .9;
  pointer-events: none;
}
.scan-intro > :not(.scan-fp-intro) { position: relative; max-width: min(560px, 100%); }
@media (max-width: 760px) {
  .scan-fp-intro { position: static; translate: none; width: 150px; align-self: center; margin-bottom: 8px; }
}

/* questions */
.scan-q { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.scan-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px; margin-top: 10px; }
.scan-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: start;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(214, 160, 118, .3);
  background: rgba(246, 239, 227, .05);
  color: var(--cream);
  font: 500 18px 'Rubik', sans-serif;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .25s, border-color .25s, box-shadow .25s, translate .25s;
}
.scan-opt:hover { background: rgba(246, 239, 227, .1); border-color: rgba(214, 160, 118, .65); translate: 0 -2px; }
.scan-opt.on {
  background: rgba(214, 160, 118, .18);
  border-color: var(--copper-light);
  box-shadow: 0 0 0 1px var(--copper-light), 0 0 26px -6px rgba(214, 160, 118, .8);
}
.scan-opt-mark {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(214, 160, 118, .7);
  transition: background .2s, box-shadow .2s;
}
.scan-opts.multi .scan-opt-mark { border-radius: 5px; }
.scan-opt.on .scan-opt-mark { background: var(--copper-light); box-shadow: inset 0 0 0 3px #2a1d15; }
.scan-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; min-height: 52px; }

/* reading */
.scan-reading { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.scan-fp-read { width: min(220px, 52vw); overflow: hidden; }
.scan-beam {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 3px;
  top: 0;
  z-index: 1;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #F3C9A2, transparent);
  box-shadow: 0 0 18px 4px rgba(214, 160, 118, .6);
  animation: bd-scan 1.6s ease-in-out infinite;
}
.scan-status { font-size: 17px; color: var(--copper-light); min-height: 1.6em; }

/* result */
.scan-result { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.scan-result-fp { flex: 1 1 220px; max-width: 300px; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-inline: auto; }
.scan-result-fp .scan-fp-box { width: 100%; }
@media (max-width: 760px) { .scan-result-fp .scan-fp-box { width: 180px; } .scan-result { gap: 24px; } }
.scan-code { font: 500 14px 'Rubik', sans-serif; letter-spacing: .2em; color: var(--copper-light); }
.scan-result-body { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.scan-sub { font: 700 19px 'Rubik', sans-serif; margin-top: 10px; }
.scan-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.scan-steps li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(214, 160, 118, .25);
  background: rgba(246, 239, 227, .05);
  font-size: 17px;
  line-height: 1.5;
}
.scan-when { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--copper-light); }
.scan-tech { font-size: 17px; color: var(--cream); }
.scan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }

/* ---------- about ---------- */
.about {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: center;
}
.about-photo {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: var(--band);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 8px var(--card), 0 0 0 9px var(--line), 0 26px 50px -30px rgba(46, 33, 25, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-3);
  font-size: 16px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-text p:not(.sec-lead) { color: var(--text-2); max-width: 62ch; }

/* ---------- contact ---------- */
.contact { max-width: 1180px; margin: 0 auto; padding: 0 20px 96px; }
.contact-box {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-radius: 32px;
  padding: clamp(26px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.contact-bg {
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 340px;
  height: 390px;
  object-fit: contain;
  opacity: .12;
  pointer-events: none;
}
.contact-info { position: relative; flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-links { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.contact-links a { color: var(--cream); }
.contact-links a:hover { color: var(--copper-light); }

.contact-form {
  position: relative;
  flex: 999 1 400px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.req { color: var(--copper-light); }
.field input,
.field textarea {
  border: 1px solid #54443A;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  background: #3A2C23;
  color: var(--cream);
}
.field input { min-height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field [aria-invalid="true"] { border-color: #E8A08A; }
.field-error { font-size: 15px; font-weight: 600; color: #F2B8A6; }
.field-error:empty { display: none; }
.form-submit {
  grid-column: 1 / -1;
  min-height: 52px;
  border: none;
  border-radius: 999px;
  background: var(--copper-light);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.form-status { grid-column: 1 / -1; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--copper-light); }
.form-status.err { color: #F2B8A6; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--text-3);
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.footer-brand img { width: 24px; height: 28px; object-fit: contain; }
.footer-brand span { font-family: 'Rubik', sans-serif; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { color: var(--text-3); }
.footer-links a:hover { color: var(--ink); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 20;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -12px rgba(46, 33, 25, .6), 0 0 0 1px rgba(246, 239, 227, .25);
}
.wa-float:hover { color: var(--cream); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- inner pages (privacy / accessibility) ---------- */
.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 20px 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.doc h1 { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.15; }
.doc h2 { font-family: 'Rubik', sans-serif; font-weight: 500; font-size: clamp(22px, 2.6vw, 26px); line-height: 1.3; margin-top: 18px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc .updated { font-size: 15px; color: var(--text-3); }
.doc .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.doc .contact-card p { color: var(--ink); }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .nl { display: none; }
  .hb { display: inline-flex; }
  .hcta { padding: 9px 14px; font-size: 15px; }
  .hdr { flex-wrap: nowrap; padding: 10px 14px; gap: 10px; }
  .main-nav { flex-wrap: nowrap; gap: 8px; flex: 0 0 auto; }
  .brand { min-width: 0; gap: 8px; }
  .brand img, .brand-logo { width: 30px; height: 36px; }
  .brand-he { font-size: 19px; }
  .brand-en { font-size: 12px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 44px; padding-bottom: 64px; gap: 36px; }
  .cmp-wrap { border-radius: 16px; }
  .cmp { min-width: 0; font-size: 14px; line-height: 1.4; }
  .cmp th, .cmp td, .cmp thead th, .cmp .total > * { padding: 11px 10px; vertical-align: middle; }
  .cmp thead th { font-size: 13px; }
  .cmp td .mark { gap: 5px; }
  .cmp svg { width: 14px; height: 14px; flex: 0 0 auto; }
  .wa-float { left: 14px; bottom: 14px; width: 52px; height: 52px; }
  .doc { padding-top: 48px; padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .stg > * { opacity: 1 !important; transform: none !important; }
  .rv .ln { transform: none !important; }
  .wr .w > span { transform: none !important; }
  .fp-touch::after { display: none; }
  .svc-ico * { stroke-dashoffset: 0 !important; }
  html { scroll-behavior: auto; }
}

/* phones: the scan fingerprint shrinks to about the size of a thumb */
@media (max-width: 760px) {
  .hero-card { gap: 18px; padding-top: 32px; }
  .fp-touch .hero-card-logo { width: 78px; height: 90px; }
  .fp-ring { width: 124px; height: 124px; }
  .fp-ring circle { stroke-width: 4.5; }
  .fp-touch::after { inset: -12px; }
  .fp-hint { margin-top: -2px; }
}

/* ---------- 3D background (bg3d.js): fingerprint ridges behind the page ---------- */
.bg3d { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
html.has-bg3d .page { position: relative; z-index: 1; background: transparent; }
html.has-bg3d .band { background: rgba(237, 226, 208, .6); }

/* honeypot field: hidden from people, filled by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit:disabled { opacity: .6; cursor: default; }

/* scan result: send form */
.scan-send { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(214, 160, 118, .25); }
.scan-send .scan-sub { margin-top: 0; }
.scan-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.scan-field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--on-dark-2); }
.scan-field input {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(214, 160, 118, .35);
  background: rgba(246, 239, 227, .06);
  color: var(--cream);
  font: 500 17px 'Assistant', system-ui, sans-serif;
}
.scan-field input:focus { border-color: var(--copper-light); outline: none; box-shadow: 0 0 0 3px rgba(214, 160, 118, .25); }
.scan-form-status { font-size: 15px; min-height: 1.4em; color: var(--copper-light); }
.scan-form-status.err { color: #F2B8A6; }

/* ---------- single services: a dark stage where cards float in and fall back ---------- */
.single {
  position: relative;
  color: var(--cream);
  background:
    radial-gradient(ellipse 60% 45% at 50% 55%, rgba(168, 105, 63, .32), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(138, 82, 48, .25), transparent 70%),
    #1B130E;
}
.single-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eyebrow-light { color: var(--copper-light); }
.single-lead { color: var(--on-dark-2); font-size: clamp(17px, 2vw, 19px); max-width: 56ch; }

/* Without the 3D mode (no JS, reduced motion): a plain grid of cards. */
.single-track { max-width: 1180px; margin: 0 auto; padding: 24px 20px 96px; }
.single-nav, .single-progress { display: none; }
.single-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }

.cube-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 28px;
  background: linear-gradient(155deg, #3A2A20 0%, #2A1E17 55%, #231812 100%);
  border: 1px solid rgba(214, 160, 118, .28);
  box-shadow:
    inset 0 1px 0 rgba(246, 239, 227, .12),
    0 2px 0 #160F0B,
    0 10px 0 -2px #120C09,
    0 40px 80px -30px rgba(0, 0, 0, .8),
    0 0 60px -20px rgba(214, 160, 118, .35);
  overflow: hidden;
}
/* a soft sheen across the face */
.cube-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(246, 239, 227, .07) 45%, transparent 60%);
  pointer-events: none;
}
.cube-top { display: flex; align-items: center; justify-content: space-between; }
.cube-ico { color: var(--copper-light); }
.cube-count { font: 500 14px 'Rubik', sans-serif; letter-spacing: .12em; color: rgba(214, 160, 118, .8); direction: ltr; }
.cube-title { font: 700 clamp(28px, 4vw, 40px)/1.15 'Rubik', sans-serif; }
.cube-text { color: var(--on-dark-2); font-size: clamp(17px, 2vw, 19px); }
.cube-list { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cube-list li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; }
.cube-list li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--copper-light); translate: 0 -2px; }
.cube-cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: #1B130E;
  font: 700 16px 'Rubik', sans-serif;
  text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(214, 160, 118, .8);
  transition: translate .25s;
}
.cube-cta:hover { translate: 0 -2px; color: #1B130E; }
.cube-cta:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }

/* 3D mode (single.js adds .is-3d): the stage sticks while scrolling moves the cards. */
.single.is-3d .single-track { max-width: none; padding: 0; height: calc(var(--n, 7) * 38vh + 100vh); }
.single.is-3d .single-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.single.is-3d .single-cards {
  display: block;
  position: relative;
  width: min(560px, calc(100vw - 40px));
  height: min(450px, 68vh);
  perspective: 1400px;
  perspective-origin: 50% 30%;
}
.single.is-3d .cube {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  opacity: 0;
}
@keyframes bd-float {
  0%, 100% { transform: translateY(0) rotateX(0) rotateZ(0); }
  50% { transform: translateY(-10px) rotateX(2deg) rotateZ(-.4deg); }
}
.single.is-3d .cube.is-active .cube-inner { animation: bd-float 5s ease-in-out infinite; }
/* cards that fall back are darkened with this overlay (cheaper than a blur) */
.single.is-3d .cube-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #120C09;
  opacity: var(--dim, 0);
  pointer-events: none;
}
.single.is-3d .cube:not(.is-active) .cube-cta { pointer-events: none; }

.single.is-3d .single-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: absolute;
  inset-inline-start: max(20px, calc(50vw - 590px));
  top: 50%;
  translate: 0 -50%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.single-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  color: rgba(220, 207, 190, .55);
  font: 500 16px 'Rubik', sans-serif;
  padding: 6px 0;
  cursor: pointer;
  transition: color .3s;
}
.single-nav button::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: width .3s;
}
.single-nav button:hover { color: var(--cream); }
.single-nav button[aria-current="true"] { color: var(--copper-light); }
.single-nav button[aria-current="true"]::before { width: 34px; }
.single-nav button:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }
@media (max-width: 1100px) { .single.is-3d .single-nav { display: none; } }

.single.is-3d .single-progress {
  display: block;
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
  left: 50%;
  translate: -50% 0;
  width: min(220px, 50vw);
  height: 3px;
  border-radius: 3px;
  background: rgba(246, 239, 227, .14);
  overflow: hidden;
}
.single-progress span { display: block; height: 100%; width: 100%; background: var(--copper-light); border-radius: 3px; transform: scaleX(0); transform-origin: right center; }
@media (max-width: 760px) {
  .single-head { padding-top: 64px; }
  .single.is-3d .single-track { height: calc(var(--n, 7) * 34vh + 100vh); }
  .single.is-3d .single-cards { height: min(440px, 64vh); }
}

/* ---------- confirmation popup after the contact form ---------- */
.thanks {
  border: 0;
  padding: 0;
  background: none;
  max-width: calc(100vw - 32px);
  overflow: visible;
}
.thanks::backdrop { background: rgba(27, 19, 14, .55); backdrop-filter: blur(3px); }
.thanks-card {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 32px));
  background: var(--card);
  color: var(--ink);
  border-radius: 28px;
  padding: 40px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-family: 'Assistant', system-ui, sans-serif;
  box-shadow: 0 40px 80px -30px rgba(27, 19, 14, .7);
}
.thanks-check circle { fill: none; stroke: var(--copper); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; }
.thanks-check path { fill: none; stroke: var(--copper); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.thanks[open] .thanks-check circle { animation: bd-dash .7s var(--ease) .1s forwards; }
.thanks[open] .thanks-check path { animation: bd-dash .45s var(--ease) .7s forwards; }
@keyframes bd-dash { to { stroke-dashoffset: 0; } }
.thanks[open] .thanks-card { animation: bd-pop .45s var(--ease) both; }
@keyframes bd-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.thanks-title { font: 700 30px 'Rubik', sans-serif; }
.thanks-text { font-size: 18px; color: var(--text-2); max-width: 30ch; }
.thanks-close { margin-top: 8px; min-width: 160px; border: 0; cursor: pointer; font: 700 17px 'Rubik', sans-serif; }
.thanks-wa { font-size: 15px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .thanks-check circle, .thanks-check path { stroke-dashoffset: 0; }
}

/* scan result: how to get back to you */
.scan-contact { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.scan-contact legend { padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--on-dark-2); }
.scan-contact label { position: relative; cursor: pointer; }
.scan-contact input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.scan-contact span { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(214, 160, 118, .35); font-size: 16px; transition: background .2s, color .2s; }
.scan-contact input:checked + span { background: var(--copper-light); border-color: var(--copper-light); color: #1B130E; font-weight: 700; }
.scan-contact input:focus-visible + span { outline: 2px solid var(--copper-light); outline-offset: 3px; }

/* phones: keep the portrait from taking the whole screen */
@media (max-width: 760px) { .about-photo { max-width: 260px; } }

/* ---------- services video ---------- */
.vid { max-width: 1080px; margin: 0 auto; padding: 24px 20px 96px; display: flex; flex-direction: column; gap: 28px; }
.vid-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #1B130E;
  box-shadow: 0 40px 80px -40px rgba(46, 33, 25, .7), 0 0 0 1px var(--line);
}
.vid-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 7%;
  border: 0;
  background: linear-gradient(to top, rgba(27, 19, 14, .55), transparent 55%);
  color: var(--cream);
  cursor: pointer;
}
.vid-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-inline-start: 4px;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: #1B130E;
  box-shadow: 0 14px 30px -10px rgba(214, 160, 118, .8);
  transition: transform .25s var(--ease);
}
.vid-play:hover .vid-play-btn { transform: scale(1.08); }
.vid-play:focus-visible { outline: none; }
.vid-play:focus-visible .vid-play-btn { outline: 3px solid var(--cream); outline-offset: 4px; }
.vid-play-label { font: 700 18px 'Rubik', sans-serif; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
@media (max-width: 760px) {
  .vid { padding-bottom: 64px; gap: 20px; }
  .vid-frame { border-radius: 16px; }
  /* small frame: the button moves to the corner so the poster text stays readable */
  .vid-play { flex-direction: row; align-items: flex-end; justify-content: flex-end; padding: 12px; gap: 8px; }
  .vid-play-btn { width: 46px; height: 46px; }
  .vid-play-btn svg { width: 20px; height: 20px; }
  .vid-play-label { font-size: 15px; padding-bottom: 12px; }
}

/* narrow phones: room for the 3D switch without breaking the brand name */
@media (max-width: 420px) {
  .brand-he { white-space: nowrap; }
  .brand-en { display: none; }
  .v3d { padding: 6px 10px; min-height: 38px; }
  .v3d svg { display: none; }
}
@media (max-width: 380px) {
  .main-nav { gap: 6px 8px; }
  .hcta { padding: 8px 12px; font-size: 14px; }
  .brand { gap: 6px; }
  .brand-he { font-size: 17px; }
}

/* no blue tap flash on phones; keyboard focus rings stay */
html { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
