/* ==========================================================================
   EVENTING, magazine / editorial style sheet
   Font: Heebo (closest freely-available match to Almoni, full Hebrew +
   Latin coverage, wide weight range for typographic play). Swap the
   @import + font-family below for actual Almoni files if/when available.

   Token model: light theme only (no dark mode). --bg is off-white #F7F8F6.
   --surface (navy) + --surface-text (ice) and --accent (pink) /
   --accent-2 (green) are the brand hues.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #F7F8F6;
  --text: #15162E;
  --label: #2D2F77;
  --line: rgba(21, 22, 46, 0.14);
  --header-bg: rgba(247, 248, 246, 0.82);

  --surface: #2D2F77;
  --surface-text: #EEF9FE;
  --accent: #ED247F;
  --accent-2: #85C569;

  --font: 'Heebo', -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
  --gutter: clamp(24px, 5vw, 80px);
  /* Vertical spacing scale, used everywhere on the page:
     s = between elements inside a block (headline -> tagline -> photos)
     m = section heading -> its content
     l = between sections (counted once, never doubled) */
  --space-s: clamp(28px, 4vw, 44px);
  --space-m: clamp(36px, 5vw, 64px);
  --space-l: clamp(64px, 8vw, 96px);

  /* Side padding that lines a full-width bar up with the .wrap content column */
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
}

/* Light theme only: no dark mode, regardless of the visitor's OS setting. */
html { color-scheme: light only; }

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fine paper grain, kept very subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- running spine label ---------- */
.spine {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--label);
  opacity: 0.55;
  z-index: 40;
  display: none;
}
@media (min-width: 900px) { .spine { display: block; } }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--edge);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, padding 0.4s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header .logo img {
  height: 76px;
  width: auto;
}
/* logo-navy.png has 280px of transparent padding on each side of its 2500px
   canvas (11.2%). Shift it so the visible "eventing" lettering, not the
   canvas, sits on the content edge. Percent = of the image's own width, so
   it stays exact at every logo size. */
.logo img { display: block; transform: translateX(-11.2%); }
html[dir="rtl"] .logo img { transform: translateX(11.2%); }

.site-nav { display: none; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
@media (min-width: 900px) { .site-nav { display: flex; } }

.site-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s cubic-bezier(.65,0,.35,1);
}
.site-nav a:hover::after,
.site-nav a.is-active::after { right: 0; }

.nav-cta {
  border: 1px solid var(--label);
  padding: 9px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-cta:hover { background: var(--surface); border-color: var(--surface); color: var(--surface-text); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  /* 44x44 tap target on phones; negative margin keeps the visible lines on
     the content edge. */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-inline-end: -10px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 24px; height: 1px; background: var(--text); display: block; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 0 var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.65,0,.35,1);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { font-size: 32px; font-weight: 300; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* ---------- section scaffolding ---------- */
/* Space sits only ABOVE each section, so two sections never stack their
   padding into a double gap. The last one also gets it below (before footer). */
section { position: relative; padding: var(--space-l) 0 0; }
main > section:last-child { padding-bottom: var(--space-l); }
.section-head {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.4vw, 24px);
  margin-bottom: var(--space-m);
  flex-wrap: wrap;
}
.section-index {
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.section-index.star-index { display: inline-flex; width: clamp(0.95rem, 1.6vw, 1.3rem); }
.section-index.star-index svg { width: 100%; height: 100%; fill: var(--accent); }
.section-label {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--label);
}
.section-head::after {
  content: "";
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: var(--line);
  align-self: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
/* first screen must be legible even if JS/IO hasn't fired yet */
.hero .reveal, .hero { opacity: 1; transform: none; }

/* ---------- hero / about ---------- */
/* Hero stack: headline -> tagline -> photo row all use --space-s. */
.hero {
  display: flex;
  flex-direction: column;
  padding-top: clamp(140px, 12vw, 182px);
  padding-bottom: var(--space-s);
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6.2vw, 5.2rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.01em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 strong { font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); font-weight: 300; }
.hero-meta {
  margin-top: var(--space-s);
  max-width: 640px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 90px);
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.about-copy p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.4em;
  max-width: 54ch;
}
.about-copy .clients-line { font-weight: 600; color: var(--label); }
.about-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2.6vw, 26px);
  max-width: 480px;
}
.about-stats > div { border-left: 1px solid var(--line); padding-left: clamp(12px, 2vw, 20px); }
.about-stats > div:first-child { border-left: none; padding-left: 0; }
.about-stats .num {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--label);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.about-stats .cap { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 9px; opacity: 0.65; line-height: 1.35; }

/* ---------- media frame (photo/video placeholders) ---------- */
.frame {
  position: relative;
  border: 1px solid var(--text);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: repeating-linear-gradient(135deg, transparent 0 11px, var(--line) 11px 12px);
}
.frame.is-video { aspect-ratio: 9 / 16; max-width: 340px; padding: 0; }
.frame.is-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
video::cue { background: rgba(18, 19, 40, 0.82); color: #fff; }
.film-cap-solo { max-width: 340px; }
.frame::before, .frame::after { content: ""; position: absolute; width: 14px; height: 14px; }
.frame::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.frame::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.frame-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--bg);
  border: 1px solid var(--text);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.frame-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
.frame-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ---------- photo interlude ---------- */
.photo-strip { padding: 0 0 clamp(50px, 7vw, 90px); }
.photo-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.photo-frame { margin: 0; }
.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  transition: filter 0.6s ease;
}
.photo-frame:hover img, .photo-frame:focus-within img { filter: none; }
.photo-frame figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
  opacity: 0.8;
}

/* ---------- photo teaser (hero interlude, opens lightbox) ---------- */
.photo-teaser { padding: 0; }
.photo-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; }
@media (min-width: 640px) { .photo-teaser-grid { grid-template-columns: repeat(6, 1fr); max-width: 100%; } }
.photo-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--text);
  overflow: hidden;
  background: none;
  padding: 0;
  cursor: pointer;
}
.photo-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.08) brightness(0.96);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.photo-thumb:hover img, .photo-thumb:focus-visible img { filter: none; transform: scale(1.08); }
.photo-thumb-placeholder {
  cursor: default;
  border: 1px dashed var(--line);
  background: repeating-linear-gradient(135deg, transparent 0 8px, var(--line) 8px 9px);
}

.lightbox {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(18, 19, 40, 0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: min(880px, 84vw); max-height: 72vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none; color: #fff; font-size: 30px; line-height: 1; padding: 8px;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 22px; padding: 12px 16px;
}
.lightbox-prev { left: 4px; }
.lightbox-next { right: 4px; }
.lightbox-caption {
  position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
  color: #fff; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75;
}

/* ---------- philosophy ---------- */
.philosophy-quote {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 300;
  line-height: 1.25;
  /* Same measure as .philosophy-body below it (60ch at 1.05rem = ~35rem),
     so the quote runs as wide as the paragraph. */
  max-width: 35rem;
  margin-bottom: clamp(36px, 5vw, 60px);
  text-wrap: pretty;
}
.philosophy-quote em { font-style: normal; font-weight: 800; color: var(--accent); }
.philosophy-body { max-width: 60ch; font-size: 1.05rem; font-weight: 300; margin-bottom: var(--space-s); }
/* A sub-heading inside a section (e.g. "Spoiler Alert") always gets the full
   section gap above it, whatever precedes it. Vertical margins collapse, so
   the smaller margin of the element before it never adds to this. */
.section-head:not(:first-child) { margin-top: var(--space-l); }
.philosophy-body strong { font-weight: 700; color: var(--label); }

@media (max-width: 420px) { .site-header .logo img { height: auto; width: min(170px, 44vw); } }
.about-note { border-inline-start: 2px solid var(--accent); padding-inline-start: 16px; }
.about-note a { border-bottom: 1px solid var(--accent); }
.about-note a:hover { color: var(--accent); }
.insight { max-width: 60ch; margin-bottom: clamp(60px, 8vw, 100px); }
.insight h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.3; color: var(--label); margin-bottom: 18px; text-wrap: balance; }
.insight h4 { font-size: 1.1rem; font-weight: 700; color: var(--label); margin: 30px 0 10px; }
.insight h4 bdi { white-space: nowrap; }
.insight p { font-size: 1.05rem; font-weight: 300; line-height: 1.65; margin-bottom: 1em; }
.insight ul { list-style: none; }
.insight li { font-size: 1.05rem; font-weight: 300; line-height: 1.6; padding: 12px 0; border-top: 1px solid var(--line); }
.insight li strong { display: block; font-weight: 700; }

.filmstrip { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .filmstrip { grid-template-columns: repeat(3, 1fr); } }
.filmstrip .frame { aspect-ratio: 9 / 16; max-width: 340px; margin: 0 auto; }
.film-cap { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.film-cap .film-num { font-size: 11px; color: var(--accent); font-weight: 600; }
.film-cap .film-title { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- capabilities ---------- */
.services { display: grid; grid-template-columns: 1fr; }
.service {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
/* Last service: no closing rule and no bottom padding, so the next section
   starts the standard --space-l below the text itself. */
.service:last-child { border-bottom: none; padding-bottom: 0; }
/* First service: no top padding, so it sits the standard --space-m under the
   "03 Services" heading like every other section's content. */
.service:first-child { padding-top: 0; }
@media (min-width: 760px) { .service { grid-template-columns: 90px 1fr 1.1fr; } }
.service-mark { display: inline-flex; width: 30px; height: 30px; }
.service-mark svg { width: 100%; height: 100%; fill: var(--accent); }
.service-name { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -0.01em; }
.service-desc { font-size: 1rem; font-weight: 300; max-width: 46ch; opacity: 0.85; grid-column: 1 / -1; }
@media (min-width: 760px) { .service-desc { grid-column: auto; } }

/* consulting callout */
.consulting { margin-top: clamp(60px, 8vw, 100px); background: var(--surface); color: var(--surface-text); padding: clamp(40px, 6vw, 76px); }
.consulting-head { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(28px, 4vw, 48px); }
.consulting-head h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 300; max-width: 16ch; text-wrap: balance; }
.consulting-head h3 strong { font-weight: 800; }
.consulting-head p { max-width: 40ch; font-size: 0.95rem; opacity: 0.8; font-weight: 300; }

.consulting-pillars { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 700px) { .consulting-pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { border-top: 1px solid rgba(238,249,254,0.35); padding-top: 14px; }
.pillar b { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.pillar span { font-size: 0.85rem; font-weight: 300; opacity: 0.78; }

.faq { border-top: 1px solid rgba(238,249,254,0.35); }
.faq-item { border-bottom: 1px solid rgba(238,249,254,0.35); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  text-align: start;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  font-weight: 500;
}
.faq-q .plus { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-q .plus::before { width: 14px; height: 1px; }
.faq-q .plus::after { width: 1px; height: 14px; transition: transform 0.3s ease; }
.faq-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding-bottom: 22px; max-width: 62ch; font-size: 0.95rem; font-weight: 300; opacity: 0.82; }

/* ---------- happy clients ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); padding: clamp(30px, 5vw, 54px) 0; }
.marquee-track { display: flex; align-items: center; width: max-content; gap: clamp(56px, 8vw, 110px); animation: scroll 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: clamp(34px, 4.6vw, 52px);
  width: auto;
  flex-shrink: 0;
  /* Logos show in their original colours at all times (temporary, per client).
     The grey "mouse-off" state is parked until its rendering bug is fixed:
       filter: grayscale(1) contrast(0.7) brightness(0.85);
       opacity: 0.55;
       transition: filter 0.35s ease, opacity 0.35s ease;
     with  .marquee-track img:hover { filter: none; opacity: 1; }  */
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.clients-note { margin-top: 18px; font-size: 12px; opacity: 0.55; }

/* ---------- connect ---------- */
.connect-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 90px); }
@media (min-width: 960px) { .connect-grid { grid-template-columns: 0.8fr 1.2fr; } }
.connect-intro h2 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 300; line-height: 1.2; max-width: 14ch; text-wrap: balance; }
.connect-intro h2 strong { font-weight: 800; }
.connect-lead { margin-top: clamp(20px, 3vw, 32px); font-size: 0.95rem; opacity: 0.7; }
.connect-contact { margin-top: 6px; }
.connect-contact a { display: block; font-size: 1.05rem; font-weight: 500; margin-bottom: 10px; }
.connect-contact a:hover { color: var(--accent); }

.connect-form-panel {
  background: var(--surface);
  color: var(--surface-text);
  padding: clamp(28px, 5vw, 52px);
}

.field { position: relative; margin-bottom: 30px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--surface-text); opacity: 0.75; margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(238,249,254,0.4);
  background: transparent;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 300;
  padding: 8px 2px;
  color: var(--surface-text);
  transition: border-color 0.3s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--surface-text); opacity: 0.4; font-weight: 300; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { resize: none; height: 72px; }
.char-count { position: absolute; right: 2px; bottom: -20px; font-size: 10px; opacity: 0.65; color: var(--surface-text); }

.service-select { display: flex; flex-wrap: wrap; gap: 10px; }
.service-select input { position: absolute; opacity: 0; width: 0; height: 0; }
.service-select label {
  border: 1px solid rgba(238,249,254,0.4);
  color: var(--surface-text);
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.service-select input:checked + label { background: var(--accent); color: #fff; border-color: var(--accent); }
.service-select input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr; gap: 0 24px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

.submit-btn {
  margin-top: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.3s ease, letter-spacing 0.3s ease;
}
.submit-btn:hover { background: var(--surface-text); color: var(--surface); letter-spacing: 0.2em; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--text);
  padding: 40px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.04em;
}
footer .foot-logo img { height: 20px; opacity: 0.8; }
.foot-links { display: flex; gap: 20px; }
.foot-links .placeholder-link { opacity: 0.55; border-bottom: 1px dashed var(--text); padding-bottom: 1px; }
.foot-links .placeholder-link:hover { opacity: 1; }
footer a:hover { color: var(--accent); }

/* ---------- header tools + language switch ---------- */
.header-tools { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.lang-switch {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--label);
  border: 1px solid var(--line);
  padding: 8px 14px;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lang-switch:hover { background: var(--surface); border-color: var(--surface); color: var(--surface-text); }

/* ---------- form feedback ---------- */
.connect-form-panel { position: relative; }
.hp-field { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { margin-top: 18px; font-size: 0.95rem; min-height: 1.4em; color: var(--surface-text); }
.form-status.is-error { color: #ffd1e3; }
.submit-btn:disabled { opacity: 0.6; cursor: wait; }

/* ==========================================================================
   Hebrew / RTL (he.html). Letter-spacing is dropped on Hebrew text because
   tracking that suits Latin capitals looks broken on Hebrew letters.
   ========================================================================== */
html[dir="rtl"] .hero-eyebrow,
html[dir="rtl"] .site-nav a,
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .lang-switch,
html[dir="rtl"] .about-stats .cap,
html[dir="rtl"] .frame-tag,
html[dir="rtl"] .field label,
html[dir="rtl"] .service-select label,
html[dir="rtl"] .submit-btn,
html[dir="rtl"] footer,
html[dir="rtl"] .lightbox-caption,
html[dir="rtl"] .photo-frame figcaption { letter-spacing: 0; }
html[dir="rtl"] .submit-btn:hover { letter-spacing: 0; }
html[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.08; }
html[dir="rtl"] .hero-eyebrow { font-size: 15px; }
html[dir="rtl"] .lang-switch { letter-spacing: 0.06em; }

html[dir="rtl"] .site-nav a::after { left: 100%; right: 0; transition: left 0.35s cubic-bezier(.65,0,.35,1); }
html[dir="rtl"] .site-nav a:hover::after,
html[dir="rtl"] .site-nav a.is-active::after { left: 0; right: 0; }

html[dir="rtl"] .about-stats > div { border-left: none; padding-left: 0; border-right: 1px solid var(--line); padding-right: clamp(12px, 2vw, 20px); }
html[dir="rtl"] .about-stats > div:first-child { border-right: none; padding-right: 0; }
html[dir="rtl"] .about-stats .num { direction: ltr; unicode-bidi: isolate; text-align: right; }

html[dir="rtl"] .marquee-track { direction: ltr; }
html[dir="rtl"] .char-count { right: auto; left: 2px; }
html[dir="rtl"] .field input[type="email"],
html[dir="rtl"] .field input[type="tel"] { direction: ltr; text-align: right; }
html[dir="rtl"] .field input[type="email"]::placeholder,
html[dir="rtl"] .field input[type="tel"]::placeholder { text-align: right; }
html[dir="rtl"] .connect-intro h2 { max-width: 16ch; }
html[dir="rtl"] .connect-contact a { direction: ltr; text-align: right; }
html[dir="rtl"] .philosophy-quote { max-width: 35rem; }
html[dir="rtl"] .section-label { text-transform: none; }
