/* =========================================================
   Mula – Locks, Keys & Cellular · main stylesheet
   Palette is lifted from the logo: black plate, white letters,
   orange keys (locks & keys), cyan phone (cellular).
   ========================================================= */

/* ---------- Fonts (self-hosted, Hebrew + Latin subsets) ---------- */
@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-hebrew-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Assistant";
  src: url("../fonts/assistant-hebrew-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Assistant";
  src: url("../fonts/assistant-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --black: #000000;
  --graphite: #141619;
  --graphite-2: #1C1F23;
  --steel: #C9CDD2;
  --white: #FFFFFF;
  --orange: #F37321;
  --orange-hi: #FF8A3D;
  --cyan: #00BFD8;
  --cyan-hi: #3FD6EA;

  --bg: var(--black);
  --surface: var(--graphite);
  --surface-2: var(--graphite-2);
  --text: #F5F6F7;
  --muted: #A9AFB8;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.24);
  --orange-ink: var(--orange);
  --cyan-ink: var(--cyan);
  --on-accent: #000000;
  --focus: var(--cyan);
  --header-bg: rgba(0, 0, 0, 0.62);
  --ok: #3DDC84;
  --bad: #FF6B5E;
  --err: #FF8A80;

  --font-display: "Rubik", "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "Assistant", "Rubik", system-ui, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 75rem;
  --header-h: 4.25rem;
  --bar-h: 0px;
  --r-lg: 1.75rem;
  --r-md: 1.125rem;
  --r-sm: 0.75rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  color-scheme: dark;
}

@media (min-width: 900px) {
  :root { --header-h: 4.75rem; }
}
@media (max-width: 899.98px) {
  :root { --bar-h: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--bar-h);
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

:where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
:where(p) { margin: 0; text-wrap: pretty; }
:where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(img, picture, video, svg) { display: block; max-width: 100%; }
:where(img) { height: auto; }
:where(a) { color: inherit; text-underline-offset: 0.2em; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(button) { cursor: pointer; }
:where(address) { font-style: normal; }
:where(figure, blockquote) { margin: 0; }
:where(table) { border-collapse: collapse; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--orange); color: #000; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--flip { transform: scaleX(-1); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.3s, transform 0.2s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--orange); color: var(--on-accent); }
.btn--primary:hover { background: var(--orange-hi); box-shadow: 0 0.75rem 2rem -0.75rem rgba(243, 115, 33, 0.75); }
.btn--cyan { background: var(--cyan); color: var(--on-accent); }
.btn--cyan:hover { background: var(--cyan-hi); box-shadow: 0 0.75rem 2rem -0.75rem rgba(0, 191, 216, 0.7); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--lg { min-height: 3.6rem; padding: 0 1.75rem; font-size: 1.08rem; }
.btn--sm { min-height: 2.75rem; padding: 0 1rem; font-size: 0.95rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.08); }
.icon-btn--sm { width: 2.5rem; height: 2.5rem; }
.icon-btn .icon { width: 1.3rem; height: 1.3rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 60;
  height: var(--header-h);
  transition: transform 0.35s var(--ease-out), background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: block; flex-shrink: 0; border-radius: var(--r-sm); }
.brand img { height: 2.75rem; width: auto; }
@media (min-width: 900px) { .brand img { height: 3.1rem; } }

.nav { display: none; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .nav__list { display: flex; gap: 0.25rem; }
  .nav__list a {
    position: relative;
    display: block;
    padding: 0.6rem 0.85rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    transition: color 0.2s;
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    inset-inline: 0.85rem;
    bottom: 0.3rem;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-out);
  }
  .nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--text); }
  .nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
}
.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.header-call { padding-inline: 0.85rem; }
.header-call .icon { width: 1.15rem; height: 1.15rem; }
.header-call__num { display: none; }
@media (min-width: 560px) {
  .header-call { padding-inline: 1.1rem; }
  .header-call__num { display: inline; }
}
@media (min-width: 1100px) { .menu-toggle { display: none; } }

.progress {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(to left, var(--orange), var(--cyan));
  transform: scaleX(var(--p, 0));
  transform-origin: right;
}

/* ---------- Dialog base ---------- */
dialog {
  border: 0;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  max-width: none;
  max-height: none;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
dialog, dialog::backdrop {
  transition: opacity 0.28s var(--ease-out), transform 0.32s var(--ease-out), overlay 0.32s allow-discrete, display 0.32s allow-discrete;
  opacity: 0;
}
dialog[open], dialog[open]::backdrop { opacity: 1; }
@starting-style {
  dialog[open], dialog[open]::backdrop { opacity: 0; }
}
html.is-locked { overflow: hidden; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(60% 40% at 90% 0%, rgba(243, 115, 33, 0.22), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(0, 191, 216, 0.18), transparent 70%),
    var(--bg);
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu[open] { display: flex; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__top img { height: 2.75rem; width: auto; }
.mobile-menu__list { margin-block: 2rem; display: grid; gap: 0.15rem; }
.mobile-menu__list a {
  display: block;
  padding: 0.55rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.4rem);
  text-decoration: none;
}
.mobile-menu__list li {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: calc(var(--i) * 45ms + 60ms);
}
@starting-style {
  .mobile-menu[open] .mobile-menu__list li { opacity: 0; transform: translateY(1rem); }
}
.mobile-menu__cta { margin-top: auto; display: grid; gap: 0.75rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: clip;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero { min-height: min(100svh, 60rem); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
}
.hero__copy { display: grid; gap: 1.4rem; justify-items: start; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
}
.status__dot {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--muted);
}
.status.is-open .status__dot { background: var(--ok); }
.status.is-closed .status__dot { background: var(--bad); }
.status.is-open .status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ok);
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}

.hero__title {
  font-size: clamp(2.45rem, 1.45rem + 4.6vw, 5.1rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.015em;
  max-width: 13ch;
}
.hero__lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; width: 100%; }
@media (max-width: 559.98px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__facts .icon { color: var(--orange-ink); width: 1.15rem; height: 1.15rem; }
.hero__facts li:last-child .icon { color: var(--cyan-ink); }

/* Hero visual: the logo, alive */
.hero__visual {
  position: relative;
  width: min(100%, 27rem);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}
.hero__glow {
  position: absolute;
  inset: 8% 4% 4%;
  background:
    radial-gradient(45% 40% at 55% 30%, rgba(243, 115, 33, 0.35), transparent 70%),
    radial-gradient(50% 45% at 40% 75%, rgba(0, 191, 216, 0.28), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}
.swoosh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--cyan);
  pointer-events: none;
}
.swoosh--back { z-index: 0; }
.swoosh--front { z-index: 3; opacity: 0.95; }

.phone {
  position: absolute;
  z-index: 2;
  width: 54%;
  left: 23%;
  top: 14%;
  rotate: 13deg;
}
.phone__body {
  position: relative;
  z-index: 1;
  padding: 0.55rem 0.55rem 2.6rem;
  border-radius: 2rem;
  background: var(--cyan);
  box-shadow: 0 2rem 4rem -1.5rem rgba(0, 191, 216, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.phone__screen {
  overflow: hidden;
  border-radius: 1.45rem;
  background: #000 url("../video/poster.webp") center / cover;
  aspect-ratio: 464 / 832;
}
.phone__video { width: 100%; height: 100%; object-fit: cover; }
.phone__home {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  width: 1.3rem;
  height: 1.3rem;
  margin-left: -0.65rem;
  border-radius: 50%;
  background: #000;
}
.phone__keys {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hkey {
  position: absolute;
  width: 34%;
  fill: var(--orange);
  overflow: visible;
  filter: drop-shadow(0 0.5rem 0.9rem rgba(0, 0, 0, 0.45));
}
.hkey__hole { fill: #fff; }
.hkey--1 { left: 14%; top: -27%; rotate: -10deg; }
.hkey--2 { left: 40%; top: -24%; rotate: 16deg; }
.hkey--3 { left: 62%; top: -13%; width: 27%; rotate: 42deg; }

.video-toggle {
  position: absolute;
  z-index: 4;
  bottom: 3.3rem;
  inset-inline-start: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.video-toggle .icon { width: 1rem; height: 1rem; }
.video-toggle .icon--play,
.video-toggle[data-paused="true"] .icon--pause { display: none; }
.video-toggle[data-paused="true"] .icon--play { display: block; }

/* Hero copy enters with pure CSS on first paint, so it never waits for JS (keeps LCP fast). */
.hero__copy > [data-intro] { animation: hero-in 0.9s var(--ease-out) both; }
.hero__copy > [data-intro]:nth-child(2) { animation-delay: 0.08s; }
.hero__copy > [data-intro]:nth-child(3) { animation-delay: 0.18s; }
.hero__copy > [data-intro]:nth-child(4) { animation-delay: 0.26s; }
.hero__copy > [data-intro]:nth-child(5) { animation-delay: 0.34s; }
@keyframes hero-in {
  from { opacity: 0.01; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}

/* Hero visual waits for GSAP (failsafe reveals it after 3.5s if motion.js never arrives) */
.motion-ok:not(.motion-live) [data-phone],
.motion-ok:not(.motion-live) .swoosh {
  animation: intro-failsafe 0.01s 3.5s forwards;
  opacity: 0;
}
@keyframes intro-failsafe { to { opacity: 1; } }

/* ---------- Brands: big type that slides with the scroll ---------- */
.brands {
  --brand-size: clamp(2rem, 1.1rem + 3.6vw, 4.75rem);
  display: grid;
  gap: clamp(0.25rem, 1vw, 0.75rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  overflow: clip;
  -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);
}
.brands__row { display: flex; }
.brands__track {
  display: flex;
  flex-shrink: 0;
  padding-inline-start: max(var(--gutter), 7vw); /* first label clears the edge fade */
  will-change: transform;
}
.brands__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.42em;
  padding-inline-end: 0.42em;
  font-family: var(--font-display);
  font-size: var(--brand-size);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brands__label { color: var(--orange-ink); }
.brands__sep {
  width: 0.5em;
  height: 0.5em;
  flex-shrink: 0;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Second row: outlined letters in cyan, the phone colour of the logo */
.brands__row--cars .brands__label { color: var(--cyan-ink); }
.brands__row--cars .brands__sep { stroke: var(--cyan); }
.brands__row--cars .brands__group > span:not(.brands__label) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
@supports not (-webkit-text-stroke: 1px #000) {
  .brands__row--cars .brands__group > span:not(.brands__label) { color: var(--muted); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1rem; }
.section-head--row { max-width: none; }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: 1fr auto; align-items: end; }
}
.section-title {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-lead { color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); max-width: 40rem; }
.section-lead a { color: var(--text); }

/* ---------- Services: departments ---------- */
.dept {
  --dept: var(--orange-ink);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.dept + .dept { margin-top: clamp(4.5rem, 9vw, 7.5rem); }
.dept--cyan { --dept: var(--cyan-ink); }
.dept--more { --dept: var(--text); }
@media (min-width: 900px) {
  .dept { grid-template-columns: 5fr 7fr; }
  .dept--cyan { grid-template-columns: 7fr 5fr; }
  .dept--cyan .dept__media { order: 2; }
  .dept__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.dept__media,
.home-service__media,
.about__media {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  aspect-ratio: 5 / 4;
}
.dept__media img,
.home-service__media img,
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 900px) {
  .dept__media, .home-service__media, .about__media { aspect-ratio: 4 / 5; }
}
.dept__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--dept);
  font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.5rem);
  font-weight: 800;
}
.dept__title .icon { width: 1em; height: 1em; stroke-width: 2; }

.svc {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--dept);
  border: 1.5px solid color-mix(in srgb, var(--dept) 45%, transparent);
  background: color-mix(in srgb, var(--dept) 8%, transparent);
}
.svc__icon .icon { width: 1.35rem; height: 1.35rem; }
.svc__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.svc p { color: var(--muted); }
.svc a { color: var(--dept); font-weight: 600; }

/* ---------- On-site service ---------- */
.home-service { background: var(--surface); }
.home-service__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .home-service__grid { grid-template-columns: 5fr 6fr; }
}
.home-service__body { display: grid; gap: 1.5rem; }
.home-service__body .section-title { margin-bottom: -0.5rem; }
.onsite { display: grid; gap: 1rem; }
@media (min-width: 640px) { .onsite { grid-template-columns: 1fr 1fr; } }
.onsite__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--line);
}
.onsite__icon { width: 1.9rem; height: 1.9rem; color: var(--orange-ink); }
.onsite h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.onsite p { color: var(--muted); font-size: 1rem; }

.checklist-box {
  padding: 1.5rem;
  border-radius: var(--r-md);
  border: 1.5px solid color-mix(in srgb, var(--orange) 50%, transparent);
  background: color-mix(in srgb, var(--orange) 6%, transparent);
}
.checklist-box__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.9rem; }
.checklist { display: grid; gap: 0.75rem; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
}
.check {
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--orange);
  fill: none;
  stroke: #000;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check path { stroke-dasharray: 22; stroke-dashoffset: 0; }

/* ---------- Batteries ---------- */
.services + .battery { padding-top: 0; }
.battery__panel {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.25rem, 4.5vw, 3.5rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
/* The brand gradient along the top edge, like the scroll progress bar */
.battery__panel::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(to left, var(--orange), var(--cyan));
}
@media (min-width: 900px) {
  .battery__panel { grid-template-columns: 5fr 7fr; }
}
.battery__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(0.5rem, 3vw, 2rem);
}
.battery__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 45% at 70% 35%, rgba(243, 115, 33, 0.28), transparent 70%),
    radial-gradient(50% 50% at 30% 70%, rgba(0, 191, 216, 0.22), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}
.battery__svg { position: relative; width: min(100%, 15rem); height: auto; overflow: visible; }
@media (min-width: 900px) { .battery__svg { width: min(100%, 24rem); } }
.battery__case { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 2; }
.battery__lid { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.battery__post--pos { fill: var(--orange); }
.battery__post--neg { fill: var(--cyan); }
.battery__sign { fill: none; stroke-width: 5; stroke-linecap: round; }
.battery__sign--pos { stroke: var(--orange-ink); }
.battery__sign--neg { stroke: var(--cyan-ink); }
.battery__bolt { fill: var(--text); }
.battery__gauge { fill: var(--bg); stroke: var(--line); stroke-width: 2; }

.battery__body { display: grid; gap: 1.5rem; }
.battery__body .section-title { margin-bottom: -0.5rem; }
.battery__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.battery__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.battery__chips .icon { width: 1.15rem; height: 1.15rem; color: var(--orange-ink); }
.battery__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 559.98px) {
  .battery__cta .btn { flex: 1 1 100%; }
}
.battery__note { margin-top: -0.75rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Promo: key tag ---------- */
.promo { padding-block: clamp(3.5rem, 7vw, 6rem); }
.tag {
  position: relative;
  max-width: 54rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  padding-inline-start: 5.25rem;
  background: var(--orange);
  color: #000;
  border-radius: 1.25rem;
  clip-path: polygon(0 0, calc(100% - 2.25rem) 0, 100% 2.25rem, 100% calc(100% - 2.25rem), calc(100% - 2.25rem) 100%, 0 100%);
  transform-origin: 100% 50%;
}
.tag__hole {
  position: absolute;
  inset-inline-start: 1.9rem;
  top: 50%;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: -0.8rem;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}
.tag__ring {
  position: absolute;
  top: 50%;
  inset-inline-start: 0.85rem;
  width: 2.9rem;
  height: 2.9rem;
  margin-top: -1.45rem;
  border-radius: 50%;
  border: 0.3rem solid var(--steel);
  border-inline-end-color: transparent;
  rotate: -35deg;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.tag__title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem); font-weight: 900; letter-spacing: -0.01em; }
.tag__text { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); font-weight: 600; margin-top: 0.35rem; }
.tag__fine { font-size: 0.9rem; margin-top: 0.6rem; color: #2A1406; }
.tag__fine a { color: #000; font-weight: 700; }
.tag__icon { width: 3.5rem; height: 3.5rem; stroke: #000; stroke-width: 1.6; }
.tag a:focus-visible { outline-color: #000; }
@media (max-width: 559.98px) {
  .tag { grid-template-columns: 1fr; padding-inline-start: 4.25rem; }
  .tag__hole { inset-inline-start: 1.4rem; }
  .tag__ring { inset-inline-start: 0.45rem; }
  .tag__icon { display: none; }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 6fr; } }
.about__body { display: grid; gap: 1.75rem; }
.about__body .section-lead { margin-top: -0.25rem; }

.timeline { position: relative; display: grid; gap: 1.6rem; padding-inline-start: 1.9rem; }
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.42rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--line-strong);
}
.timeline__line {
  position: absolute;
  inset-inline-start: 0.42rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--cyan));
  transform-origin: top;
}
.timeline__item { position: relative; display: grid; gap: 0.2rem; }
.timeline__item::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.9rem;
  top: 0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--orange);
}
.timeline__item:last-child::before { background: var(--cyan); border-color: var(--cyan); }
.timeline__year { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--orange-ink); line-height: 1.2; }
.timeline__item:last-child .timeline__year { color: var(--cyan-ink); }
.timeline p { color: var(--muted); }

.about__motto {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.25;
  padding-inline-start: 1.1rem;
  border-inline-start: 4px solid var(--orange);
}

/* ---------- Gallery ---------- */
.gallery { padding-bottom: 0; }
.gallery__pin { padding-bottom: var(--section-y); }
/* overflow-y: hidden in both swipe rows: cards waiting to animate in sit a little lower or tilted,
   and any vertical overflow makes a phone hand vertical swipes to the row instead of the page. */
.gallery__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gutter);
}
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__track {
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  width: max-content;
}
.gallery__track li { scroll-snap-align: start; }
.shot {
  position: relative;
  display: block;
  width: min(72vw, 22rem);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 3 / 4;
  text-align: start;
}
@media (min-width: 1024px) { .shot { width: clamp(15rem, min(26vw, (100svh - 19rem) * 0.75), 24rem); } }
.shot picture, .shot img { width: 100%; height: 100%; }
.shot img { object-fit: cover; transition: transform 0.6s var(--ease-out); }
.shot:hover img { transform: scale(1.04); }
.shot__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.shot:focus-visible { outline-offset: 4px; }

/* Sections after the pinned gallery skip rendering until they approach the viewport. */
.reviews, .guides, .faq, .contact, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
html.cv-all :is(.reviews, .guides, .faq, .contact, .site-footer) { content-visibility: visible; }

/* ---------- Reviews ---------- */
.reviews__nav { display: none; gap: 0.5rem; }
@media (min-width: 900px) { .reviews__nav { display: flex; } }
.reviews__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  padding-bottom: 0.5rem;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track:focus-visible { outline-offset: -3px; }
.review {
  flex: 0 0 auto;
  width: min(84vw, 24rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.review--lead { width: min(90vw, 34rem); }
.review--lead blockquote { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--text); }
.review__stars { display: flex; gap: 0.15rem; color: var(--orange); }
.review__stars svg { width: 1.1rem; height: 1.1rem; }
.review blockquote { color: var(--text); line-height: 1.6; flex: 1; }
.review__by { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; color: var(--muted); }
.review__by span { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.reviews__links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); }
.faq__grid { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: 4fr 7fr; gap: 4rem; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.45rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: transform 0.35s var(--ease-out), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); color: #000; }
.qa__a { padding-bottom: 1.35rem; color: var(--muted); max-width: 40rem; }
@supports (interpolate-size: allow-keywords) {
  .qa, .guide__more { interpolate-size: allow-keywords; }
  .qa::details-content,
  .guide__more::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
  }
  .qa[open]::details-content,
  .guide__more[open]::details-content { block-size: auto; }
}

/* ---------- Guides ---------- */
.guides__grid { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .guides__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
}
.guide {
  --g: var(--orange-ink);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}
.guide--cyan { --g: var(--cyan-ink); }
.guide:has(.guide__more[open]),
.guide:target { border-color: color-mix(in srgb, var(--g) 55%, transparent); }
.guide__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--g);
  border: 1.5px solid color-mix(in srgb, var(--g) 45%, transparent);
  background: color-mix(in srgb, var(--g) 8%, transparent);
}
.guide__icon .icon { width: 1.35rem; height: 1.35rem; }
.guide__title { font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.55rem); font-weight: 700; }
.guide__lead { color: var(--muted); }
.guide__more { width: 100%; }
.guide__more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--g);
  cursor: pointer;
  list-style: none;
}
.guide__more summary::-webkit-details-marker { display: none; }
.guide__more summary .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.35s var(--ease-out); }
.guide__more[open] summary .icon { transform: rotate(45deg); }
.guide__close-label, .guide__more[open] .guide__open-label { display: none; }
.guide__more[open] .guide__close-label { display: inline; }
.guide__body { display: grid; gap: 0.75rem; padding-top: 0.5rem; line-height: 1.7; }
.guide__body h4 { font-size: 1.08rem; font-weight: 700; margin-top: 0.35rem; }
.guide__body a { color: var(--g); font-weight: 600; }
.guide__steps { display: grid; gap: 1rem; counter-reset: step; }
.guide__steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.8rem; counter-increment: step; }
.guide__steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--g);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
}
.guide__list { display: grid; gap: 0.5rem; }
.guide__list li { position: relative; padding-inline-start: 1.35rem; }
.guide__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.2rem;
  top: 0.68em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--g);
}
.guide__dl { display: grid; gap: 0.85rem; margin: 0; }
.guide__dl dt { font-family: var(--font-display); font-weight: 700; }
.guide__dl dd { margin: 0.15rem 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.wa-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.wa-form__title { font-size: 1.35rem; font-weight: 700; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.field__hint { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.req { color: var(--orange-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  font-size: 1.05rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 28%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { color: var(--err); font-size: 0.95rem; min-height: 0; }
.field__err:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 2.75rem; }
.select::after {
  content: "";
  position: absolute;
  inset-inline-end: 1.1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.wa-form__note { color: var(--muted); font-size: 0.92rem; }
.wa-form__note a { color: var(--text); }
.wa-form__status { font-weight: 600; color: var(--cyan-ink); }
.wa-form__status:empty { display: none; }

.contact__info { display: grid; gap: 1.25rem; }
.quick { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .quick { grid-template-columns: 1fr 1fr; } }
.quick__item {
  --qc: var(--text);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease-out);
}
.quick__item:hover { border-color: var(--qc); transform: translateY(-2px); }
.quick__item--orange { --qc: var(--orange); }
.quick__item--cyan { --qc: var(--cyan); }
.quick__item > .icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--qc) 14%, transparent);
  color: var(--qc);
}
.quick__item--orange > .icon { background: var(--orange); color: #000; }
.quick__item--cyan > .icon { background: var(--cyan); color: #000; }
.quick__item > span { display: grid; min-width: 0; font-size: 0.95rem; color: var(--muted); overflow-wrap: anywhere; }
.quick__item strong { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--text); }
.quick__item > span > [dir="ltr"] { justify-self: start; } /* the e-mail lines up with the Hebrew text */
/* Phones: one grouped list instead of six stacked cards. */
@media (max-width: 559.98px) {
  .quick {
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    overflow: hidden;
  }
  .quick li { position: relative; }
  /* Divider starts after the icon, like a native settings list */
  .quick li + li::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 4.1rem 0;
    border-top: 1px solid var(--line);
  }
  .quick__item {
    gap: 0.8rem;
    min-height: 4.25rem;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 0;
    background: none;
    transition: background-color 0.2s;
  }
  .quick__item:hover { transform: none; }
  .quick__item:active { background: var(--surface-2); }
  .quick__item > .icon { width: 2.3rem; height: 2.3rem; padding: 0.55rem; }
  .quick__item > span { flex: 1; gap: 0.05rem; font-size: 0.9rem; line-height: 1.35; }
  .quick__item strong { font-size: 0.98rem; }
  /* Chevron toward the reading direction */
  .quick__item::after {
    content: "";
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    margin-inline: 0.15rem 0.25rem;
    border-left: 1.75px solid var(--muted);
    border-bottom: 1.75px solid var(--muted);
    transform: rotate(45deg);
    opacity: 0.7;
  }
}

.hours {
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.hours__title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.hours__title .icon { color: var(--cyan-ink); }
.hours__table { width: 100%; }
.hours__table th, .hours__table td { padding: 0.55rem 0.6rem; text-align: start; font-weight: 400; }
.hours__table td { text-align: end; font-variant-numeric: tabular-nums; }
.hours__table tr + tr { border-top: 1px solid var(--line); }
.hours__table tr.is-today { background: color-mix(in srgb, var(--orange) 14%, transparent); }
.hours__table tr.is-today th { font-weight: 700; }
.today-badge {
  display: inline-block;
  margin-inline-start: 0.5rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--orange);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: 0.1em;
}
.hours__note { color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; }

.map {
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  min-height: 15rem;
  background:
    repeating-linear-gradient(28deg, transparent 0 46px, rgba(255, 255, 255, 0.05) 46px 48px),
    repeating-linear-gradient(-62deg, transparent 0 70px, rgba(255, 255, 255, 0.05) 70px 73px),
    var(--surface);
}
.map__facade { display: grid; justify-items: center; align-content: center; gap: 0.6rem; min-height: 15rem; padding: 1.5rem; text-align: center; }
.map__pin { width: 2.5rem; height: 2.5rem; color: var(--orange-ink); stroke-width: 1.6; }
.map__addr { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.map__note { color: var(--muted); font-size: 0.85rem; }
.map iframe { display: block; width: 100%; height: 20rem; border: 0; }
/* Phones: tighter hours and map cards, in step with the contact list above them */
@media (max-width: 559.98px) {
  .contact__info { gap: 1rem; }
  .hours { padding: 1rem 1.1rem 1.05rem; }
  .hours__title { font-size: 1.05rem; margin-bottom: 0.35rem; }
  .hours__title .icon { width: 1.15rem; height: 1.15rem; }
  .hours__table th, .hours__table td { padding: 0.5rem 0.6rem; font-size: 0.98rem; }
  .hours__note { font-size: 0.85rem; line-height: 1.5; }
  .map, .map__facade { min-height: 11rem; }
  .map__facade { gap: 0.4rem; padding: 1.25rem; }
  .map__pin { width: 2rem; height: 2rem; }
  .map__addr { font-size: 1.05rem; }
  .map__note { font-size: 0.8rem; }
  .map iframe { height: 16rem; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); background: var(--bg); }
/* Mobile: brand on its own row, then the four link columns as a 2×2 grid. */
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.25rem; }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2.5rem; }
  .site-footer__brand { grid-column: auto; }
}
@media (max-width: 559.98px) {
  .site-footer__col { font-size: 0.95rem; }
}
.site-footer__brand { display: grid; gap: 1rem; justify-items: start; }
.site-footer__brand p { max-width: 34rem; }
.site-footer__brand img { width: 12.5rem; height: auto; }
.site-footer__brand p { color: var(--muted); }
.site-footer__h { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.9rem; }
.site-footer__col ul { display: grid; gap: 0.55rem; color: var(--muted); }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { color: var(--text); text-decoration: underline; }
.social { display: flex; gap: 0.5rem; }
.social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: border-color 0.2s, color 0.2s;
}
.social a:hover { border-color: var(--cyan); color: var(--cyan); }
.social a[href=""] { display: none; }
.social li:has(> a[href=""]) { display: none; }
.social .icon { width: 1.2rem; height: 1.2rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.legal-links a { color: var(--text); }
.voops {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--muted);
  transition: border-color 0.3s;
}
.voops__name {
  position: relative;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  background: linear-gradient(90deg, var(--orange), var(--cyan), var(--orange)) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: color 0.3s;
}
.voops:hover, .voops:focus-visible { border-color: var(--line-strong); }
.voops:hover .voops__name, .voops:focus-visible .voops__name {
  color: transparent;
  animation: voops-sheen 2.4s linear infinite;
}
@keyframes voops-sheen { to { background-position: -200% 0; } }
@media (max-width: 419.98px) {
  .site-footer__bottom { justify-content: center; text-align: center; }
  .legal-links { justify-content: center; }
  .voops { flex-direction: column; gap: 0.15rem; padding: 0.65rem 1.25rem; border-radius: var(--r-md); }
  .voops__pre { font-size: 0.85rem; }
}

/* ---------- Floating UI ---------- */
.action-bar {
  position: fixed;
  z-index: 55;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 12, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.action-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.15rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.action-bar__item--call { background: var(--orange); border-color: var(--orange); color: #000; }
.action-bar__item .icon { width: 1.2rem; height: 1.2rem; }
@media (min-width: 900px) { .action-bar { display: none; } }

.a11y-fab {
  position: fixed;
  z-index: 56;
  inset-inline-end: 1rem;
  bottom: calc(var(--bar-h) + 1rem);
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 0;
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0.5rem 1.5rem -0.5rem rgba(0, 191, 216, 0.6);
  transition: transform 0.25s var(--ease-out);
}
.a11y-fab:hover { transform: scale(1.06); }
.a11y-fab .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2.2; }
@media (min-width: 900px) { .a11y-fab { inset-inline-end: 1.5rem; bottom: 1.5rem; } }

.to-top {
  position: fixed;
  z-index: 54;
  inset-inline-end: 5.25rem;
  bottom: 1.5rem;
  display: none;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: rgba(20, 22, 25, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  pointer-events: none;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .to-top { display: grid; } }

.notice {
  position: fixed;
  z-index: 57;
  inset-inline: 0.75rem;
  bottom: calc(var(--bar-h) + 0.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: 36rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(20, 22, 25, 0.96);
  box-shadow: 0 1rem 3rem -1rem rgba(0, 0, 0, 0.8);
  font-size: 0.95rem;
}
.notice p { flex: 1 1 16rem; color: var(--muted); }
@media (max-width: 599.98px) {
  .notice { padding: 0.75rem 0.9rem; gap: 0.6rem; font-size: 0.86rem; flex-wrap: nowrap; }
  .notice p { flex: 1 1 auto; line-height: 1.45; }
  .notice .btn { flex-shrink: 0; min-height: 2.5rem; }
}
.notice a { color: var(--text); }
@media (min-width: 900px) {
  .notice { inset-inline-end: auto; inset-inline-start: 1.5rem; bottom: 1.5rem; }
}
@media (max-width: 899.98px) {
  html:has(.notice:not([hidden])) .a11y-fab { bottom: calc(var(--bar-h) + 1rem + var(--notice-h, 0px)); }
}

/* ---------- Accessibility panel ---------- */
.a11y-panel {
  position: fixed;
  inset: auto;
  inset-inline-end: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  width: min(25rem, 100% - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  transform: translateY(0);
}
@starting-style { .a11y-panel[open] { transform: translateY(1rem); } }
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.a11y-panel__head h2 { font-size: 1.3rem; font-weight: 800; }
.a11y-panel__label { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.5rem; }
.a11y-panel__group { margin-bottom: 1rem; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.seg button, .a11y-opt {
  min-height: 3rem;
  padding: 0.5rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.seg button[aria-pressed="true"], .a11y-opt[aria-pressed="true"] {
  border-color: var(--cyan);
  background: color-mix(in srgb, var(--cyan) 16%, transparent);
}
.a11y-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.a11y-opt { min-height: 3.6rem; position: relative; }
.a11y-opt[aria-pressed="true"]::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  inset-inline-end: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
}
.a11y-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.a11y-panel__foot a { color: var(--text); font-weight: 600; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  margin: 0;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  place-items: center;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { display: grid; justify-items: center; gap: 0.75rem; padding: 4rem 1rem 1.5rem; }
.lightbox__img {
  max-width: min(92vw, 60rem);
  max-height: calc(100dvh - 9rem);
  width: auto;
  height: auto;
  border-radius: var(--r-md);
  object-fit: contain;
}
.lightbox__cap { font-family: var(--font-display); font-weight: 600; color: #fff; }
.lightbox__count { color: var(--muted); font-weight: 400; margin-inline-start: 0.5rem; }
.lightbox__close { position: absolute; top: 1rem; inset-inline-end: 1rem; background: rgba(0, 0, 0, 0.5); }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; background: rgba(0, 0, 0, 0.5); }
.lightbox__nav--prev { inset-inline-start: 1rem; }
.lightbox__nav--next { inset-inline-end: 1rem; }

/* ---------- Legal dialog ---------- */
.legal {
  width: min(52rem, 100% - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(0);
}
.legal[open] { display: flex; }
@starting-style { .legal[open] { transform: translateY(1.5rem); } }
.legal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.legal__title { font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.8rem); font-weight: 800; }
.legal__body {
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
  line-height: 1.75;
  color: #D9DCE0;
}
.legal__body > * { max-width: 68ch; }
.legal__body h3 { margin-top: 1.75rem; margin-bottom: 0.4rem; font-size: 1.15rem; font-weight: 700; color: var(--text); }
.legal__body p + p { margin-top: 0.6rem; }
.legal__body ul { display: grid; gap: 0.4rem; padding-inline-start: 1.25rem; list-style: disc; margin-top: 0.5rem; }
.legal__body a { color: var(--cyan-ink); }
.legal__updated { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 599.98px) {
  .legal { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
}

/* ---------- Motion helpers (set by motion.js) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis-stopped { overflow: hidden; }
.split-line { display: block; }

/* =========================================================
   Accessibility modes (toggled from the accessibility menu)
   ========================================================= */
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }

html.a11y-light {
  --bg: #FFFFFF;
  --surface: #F1F2F4;
  --surface-2: #E6E8EB;
  --text: #0E1013;
  --muted: #40464E;
  --line: rgba(0, 0, 0, 0.14);
  --line-strong: rgba(0, 0, 0, 0.32);
  --orange-ink: #A34200;
  --cyan-ink: #006A79;
  --focus: #005F6B;
  --header-bg: rgba(255, 255, 255, 0.86);
  --err: #B3261E;
  color-scheme: light;
}
html.a11y-light .legal__body { color: var(--text); }
html.a11y-light .action-bar,
html.a11y-light .notice,
html.a11y-light .to-top { background: rgba(255, 255, 255, 0.94); }
html.a11y-light .icon-btn { background: rgba(0, 0, 0, 0.03); }

html.a11y-contrast {
  --bg: #000000;
  --surface: #000000;
  --surface-2: #000000;
  --text: #FFFFFF;
  --muted: #FFFFFF;
  --line: #FFFFFF;
  --line-strong: #FFFFFF;
  --orange-ink: #FFB27A;
  --cyan-ink: #7FEAF7;
  --focus: #FFE45C;
  --header-bg: #000000;
}
html.a11y-contrast a:not(.btn):not(.quick__item):not(.action-bar__item):not(.brand):not(.voops) {
  color: #FFE45C;
  text-decoration: underline;
}
html.a11y-contrast .hero__glow,
html.a11y-contrast .shot__cap { background: #000; }
html.a11y-contrast .battery__visual::before { display: none; }
html.a11y-contrast .legal__body { color: #fff; }

html.a11y-gray body > :not(script):not(svg) { filter: grayscale(1); }

html.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
  outline: 2px dashed var(--focus);
  outline-offset: 2px;
}

html.a11y-font {
  --font-display: Arial, "Segoe UI", Tahoma, sans-serif;
  --font-body: Arial, "Segoe UI", Tahoma, sans-serif;
}
html.a11y-font .hero__title { letter-spacing: 0; }

html.a11y-spacing body { letter-spacing: 0.04em; word-spacing: 0.16em; }
html.a11y-spacing :is(p, li, blockquote, dd, td, th) { line-height: 2 !important; }
html.a11y-spacing p + p { margin-top: 1em; }

html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3l34 20-15 3 9 16-6 3-9-16-11 11z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important;
}

/* Motion off: reduced-motion OS setting or "stop animations" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
html.a11y-nomotion *,
html.a11y-nomotion *::before,
html.a11y-nomotion *::after {
  animation-duration: 0.001ms !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
html.a11y-nomotion .status__dot::after { display: none; }

/* Reduce Motion on the device: content fades in, nothing moves (set by main.js initGentle) */
html.motion-gentle .gentle { opacity: 0; transition: opacity 0.8s ease !important; }
html.motion-gentle .gentle.is-in { opacity: 1; }
html.motion-gentle .hero__copy > [data-intro] { animation: gentle-in 0.9s ease both !important; }
@keyframes gentle-in { from { opacity: 0; } to { opacity: 1; } }
@media print { html.motion-gentle .gentle { opacity: 1 !important; } }
