/**
 * STUDIO56 — Design Tokens
 * Direction C: The Greige Standard
 *
 * Import this file first. All other stylesheets use these custom properties.
 * WordPress: enqueue via functions.php before all other styles.
 */

/* ─── GOOGLE FONTS ─────────────────────────────────────────────────────────── */
/* Fonts are loaded via <link> in each HTML page for better performance.
   Uncomment the @import below only if using tokens.css as a standalone file: */
/* @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600&family=Heebo:wght@300;400;500;600&display=swap'); */

/* ─── ROOT TOKENS ──────────────────────────────────────────────────────────── */

:root {

  /* COLOR: Core palette */
  --c-mineral:    #F2EDE5;
  --c-greige:     #E9E3D9;
  --c-ash:        #C4BDB5;
  --c-pewter:     #9E9791;
  --c-driftwood:  #6E6558;
  --c-slate:      #4E4A46;
  --c-depth:      #2E2B28;
  --c-border-sub: #D9D4CC;
  --c-surface:    #F7F4EF;

  /* COLOR: Semantic */
  --bg:           var(--c-mineral);
  --bg-alt:       var(--c-greige);
  --bg-dark:      var(--c-depth);
  --surface:      var(--c-surface);
  --border:       1px solid var(--c-ash);
  --border-sub:   1px solid var(--c-border-sub);

  --text:         var(--c-slate);
  --text-2:       var(--c-driftwood);
  --text-3:       var(--c-pewter);
  --text-inv:     var(--c-mineral);

  --link:         var(--c-slate);
  --link-hover:  var(--c-slate);

  /* FONT: Families */
  --font-en:   'DM Sans', system-ui, -apple-system, sans-serif;
  --font-he:   'Heebo', 'Assistant', Arial, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  /* FONT: Size scale */
  --text-display-xl:  clamp(48px, 6vw,   72px);
  --text-display-l:   clamp(38px, 4.5vw, 56px);
  --text-display-m:   clamp(30px, 3.5vw, 42px);
  --text-h1:          clamp(26px, 3vw,   34px);
  --text-h2:          clamp(22px, 2.5vw, 28px);
  --text-h3:          20px;
  --text-h4:          17px;
  --text-body-l:      18px;
  --text-body:        16px;
  --text-body-s:      15px;
  --text-label:       13px;
  --text-caption:     13px;
  --text-stat:        clamp(48px, 7vw,   80px);

  /* FONT: Line heights */
  --leading-tight:    1.05;
  --leading-snug:     1.25;
  --leading-normal:   1.50;
  --leading-body:     1.65;
  --leading-body-he:  1.85;

  /* SPACING */
  --sp-1:    4px;
  --sp-2:    8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   24px;
  --sp-6:   32px;
  --sp-7:   48px;
  --sp-8:   64px;
  --sp-9:   96px;
  --sp-10: 128px;
  --sp-11: 160px;
  --sp-12: 200px;

  /* LAYOUT */
  --max-content:   1200px;
  --max-text:       720px;
  --max-wide:      1080px;
  --grid-cols:     12;
  --grid-gutter:   24px;
  --grid-margin:   40px;

  /* BORDER RADIUS */
  --radius-none:   0px;
  --radius-sm:     2px;
  --radius-md:     4px;
  --radius-full:   9999px;

  /* SHADOWS (warm-tinted) */
  --shadow-sm:   0 1px  4px rgba(46, 43, 40, 0.06);
  --shadow-md:   0 4px 12px rgba(46, 43, 40, 0.08);
  --shadow-lg:   0 8px 28px rgba(46, 43, 40, 0.10);
  --shadow-xl:   0 16px 48px rgba(46, 43, 40, 0.12);

  /* TRANSITIONS */
  --ease:         cubic-bezier(0.25, 0.1, 0.25, 1.0);
  --ease-out:     cubic-bezier(0.0,  0.0, 0.2,  1.0);
  --ease-in-out:  cubic-bezier(0.4,  0.0, 0.2,  1.0);
  --dur-xs:        100ms;
  --dur-sm:        150ms;
  --dur-md:        250ms;
  --dur-lg:        400ms;
  --dur-xl:        600ms;

  /* Z-INDEX */
  --z-base:    1;
  --z-raised:  10;
  --z-overlay: 20;
  --z-modal:   30;
  --z-nav:     50;
  --z-top:    100;

  /* NAV */
  --nav-height: 68px;
}

/* ─── RESPONSIVE TOKEN OVERRIDES ───────────────────────────────────────────── */

@media (max-width: 1024px) {
  :root { --grid-margin: 24px; }
}

@media (max-width: 640px) {
  :root {
    --grid-gutter: 16px;
    --grid-margin: 16px;
    --nav-height:  60px;
  }
}


/* ─── BASE RESET ───────────────────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-en);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hebrew / RTL context */
:lang(he),
[dir="rtl"] {
  font-family: var(--font-he);
  line-height: var(--leading-body-he);
}

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

a {
  color: var(--link);
  transition: color var(--dur-sm) var(--ease);
}

a:hover { color: var(--link-hover); }

button, input, textarea, select {
  font: inherit;
}

ul, ol { list-style: none; }


/* ─── TYPOGRAPHY UTILITIES ─────────────────────────────────────────────────── */

.text-display-xl {
  font-size: var(--text-display-xl);
  font-weight: 300;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

.text-display-l {
  font-size: var(--text-display-l);
  font-weight: 300;
  line-height: 1.10;
  letter-spacing: -0.02em;
}

.text-display-m {
  font-size: var(--text-display-m);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.text-h1 { font-size: var(--text-h1); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
.text-h2 { font-size: var(--text-h2); font-weight: 400; line-height: 1.30; }
.text-h3 { font-size: var(--text-h3); font-weight: 400; line-height: 1.35; }
.text-h4 { font-size: var(--text-h4); font-weight: 500; line-height: 1.40; }

.text-body   { font-size: var(--text-body);   line-height: var(--leading-body); }
.text-body-l { font-size: var(--text-body-l); line-height: 1.70; }
.text-body-s { font-size: var(--text-body-s); line-height: 1.60; }

.text-label {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.40;
}

.text-caption {
  font-size: var(--text-caption);
  font-weight: 400;
  line-height: 1.50;
  color: var(--text-3);
}

.text-stat {
  font-size: var(--text-stat);
  font-weight: 300;
  line-height: 1.0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* Hebrew label override */
:lang(he) .text-label,
[dir="rtl"] .text-label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}


/* ─── COLOR UTILITIES ──────────────────────────────────────────────────────── */

.text-primary   { color: var(--text); }
.text-secondary { color: var(--text-2); }
.text-muted     { color: var(--text-3); }
.text-inverse   { color: var(--text-inv); }

.bg-default  { background-color: var(--bg); }
.bg-alt      { background-color: var(--bg-alt); }
.bg-dark     { background-color: var(--bg-dark); }
.bg-surface  { background-color: var(--surface); }


/* ─── LAYOUT UTILITIES ─────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--grid-margin);
}

.container-text {
  width: 100%;
  max-width: var(--max-text);
  margin-inline: auto;
  padding-inline: var(--grid-margin);
}

.container-wide {
  width: 100%;
  max-width: var(--max-wide);
  margin-inline: auto;
  padding-inline: var(--grid-margin);
}

.section {
  padding-block: var(--sp-10);
}

@media (max-width: 768px) {
  .section { padding-block: var(--sp-8); }
}

@media (max-width: 480px) {
  .section { padding-block: var(--sp-7); }
}

/* Grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8) var(--sp-5);
}

@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-3 { grid-template-columns: 1fr; } }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6) var(--sp-5);
}

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid-4 { grid-template-columns: 1fr; } }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

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

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }


/* ─── REVEAL ANIMATION ─────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ─── FOCUS STATES ─────────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--c-slate);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ─── DIVIDER ──────────────────────────────────────────────────────────────── */

.divider {
  border: none;
  height: 1px;
  background: var(--c-border-sub);
  margin-block: var(--sp-9);
}


/* ─── SECTION LABEL ────────────────────────────────────────────────────────── */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-block-end: var(--sp-5);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-ash);
  flex-shrink: 0;
}

[dir="rtl"] .section-label { flex-direction: row-reverse; }
[dir="rtl"] .section-label::before { order: 1; }

:lang(he) .section-label {
  text-transform: none;
  letter-spacing: 0;
}


/* ─── NAV ──────────────────────────────────────────────────────────────────── */

.nav {
  padding-left: 30px;
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--grid-margin);
  background: transparent;
  transition:
    background var(--dur-md) var(--ease),
    border-color var(--dur-md) var(--ease);
  border-block-end: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(242, 237, 229, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--c-ash);

}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}

.nav-link {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-mineral);
  text-decoration: none;
}

.nav-cta {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-mineral);
  text-decoration: none;
  border-block-end: 1px solid rgba(242, 237, 229, 0.36);
  padding-block-end: 1px;
}

.nav.scrolled .nav-link { color: var(--text); }
.nav.scrolled .nav-cta  { color: var(--text); border-color: var(--c-ash); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}


/* ─── NAV END: phone + social ──────────────────────────────────────────────── */

.nav-end {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-phone {
  display: flex;
  align-items: center;
  flex-direction: row;   /* force icon LEFT of number regardless of page dir */
  direction: ltr;
  gap: 7px;
  color: var(--c-mineral);
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding-inline-end: var(--sp-4);
  border-inline-end: 1px solid rgba(242, 237, 229, 0.22);
  transition: opacity var(--dur-sm) var(--ease);
}

.nav-phone:hover { opacity: 0.68; color: var(--c-mineral); }

.nav.scrolled .nav-phone {
  color: var(--text);
  border-color: var(--c-border-sub);
}

.nav.scrolled .nav-phone:hover { opacity: 0.68; color: var(--text); }

.nav-social {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-mineral);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity var(--dur-sm) var(--ease);
}

.nav-social-link:hover { opacity: 1; color: var(--c-mineral); }

.nav.scrolled .nav-social-link { color: var(--text); }
.nav.scrolled .nav-social-link:hover { color: var(--text); opacity: 1; }

@media (max-width: 768px) {
  .nav-end {
    margin-inline-start: auto; /* push phone adjacent to burger */
  }
  .nav-social { display: none; }
  .nav-phone {
    border-inline-end: none;
    padding-inline-end: 0;
  }
}


/* ─── BUTTONS ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition:
    background var(--dur-sm) var(--ease),
    color var(--dur-sm) var(--ease),
    border-color var(--dur-sm) var(--ease);
}

.btn-sm { padding: 9px 20px; font-size: 12px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* Primary */
.btn-primary {
  background: var(--c-slate);
  color: var(--c-mineral);
  border-color: var(--c-slate);
}
.btn-primary:hover {
  background: var(--c-depth);
  border-color: var(--c-depth);
  color: var(--c-mineral);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--c-slate);
  border-color: var(--c-ash);
}
.btn-ghost:hover { border-color: var(--c-slate); }

/* Ghost inverse (on dark bg) */
.btn-ghost-inv {
  background: transparent;
  color: var(--c-mineral);
  border-color: rgba(242, 237, 229, 0.35);
}
.btn-ghost-inv:hover { border-color: var(--c-mineral); }

/* Text link */
.btn-text {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-block-end: 1px solid var(--c-ash);
  padding-block-end: 1px;
}
.btn-text:hover { border-color: var(--text); }

.btn-text::after { content: '→'; margin-inline-start: 6px; transition: transform var(--dur-sm) var(--ease); }
[dir="rtl"] .btn-text::after { content: '←'; }
.btn-text:hover::after { transform: translateX(3px); }
[dir="rtl"] .btn-text:hover::after { transform: translateX(-3px); }


/* ─── PROJECT CARD ─────────────────────────────────────────────────────────── */

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card-image-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-block-end: var(--sp-5);
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-xl) var(--ease-out);
}

.project-card:hover .project-card-image {
  transform: scale(1.04);
}

.project-card-label {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-block-end: var(--sp-2);
}

:lang(he) .project-card-label {
  text-transform: none;
  letter-spacing: 0;
}

.project-card-title {
  font-size: var(--text-h3);
  font-weight: 400;
  color: var(--text);
  margin-block-end: var(--sp-2);
  line-height: 1.35;
}

.project-card-meta {
  font-size: var(--text-caption);
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-4);
}


/* ─── HERO ─────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) brightness(0.68);
}

.hero-overlay {
  position: absolute;
  inset: 0;
background: linear-gradient(to top, rgba(46, 43, 40, 0.94) 0%, rgba(46, 43, 40, 0.50) 50%, rgba(46, 43, 40, 0.10) 100%);
}

@media (max-width: 768px) {
  .hero { height: 85svh; min-height: 520px; }
}


/* ─── PROOF BAR ────────────────────────────────────────────────────────────── */

.proof-bar {
  background: var(--bg-dark);
  overflow: hidden;
  padding-block: 15px;
  position: relative;
}

.proof-bar::before,
.proof-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 1;
  pointer-events: none;
}

.proof-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--c-depth) 20%, transparent);
}

.proof-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--c-depth) 20%, transparent);
}

.proof-bar-track {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
  /* width: max-content; */
  direction: ltr;
  will-change: transform;
  animation-name: proof-ticker;
  animation-duration: 82s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: none;
  animation-play-state: running;
}

@keyframes proof-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--ticker-shift, -50%)); }
}

.proof-bar-item {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-pewter);
  white-space: nowrap;
}

.proof-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-slate);
  opacity: 0.9;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .proof-bar-track { animation-play-state: paused; }
}


/* ─── TESTIMONIAL ──────────────────────────────────────────────────────────── */

.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: var(--sp-8);
  background: var(--bg-alt);
}

.testimonial-quote {
  position: relative;
  padding-block-start: 52px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.60;
  color: var(--text);
}

.testimonial-quote::before {
  content: '\201C' !important;
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  font-size: 72px;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--c-ash);
  pointer-events: none;
}

.testimonial-quote::after { content: none; }

[dir="rtl"] .testimonial-quote::before { content: '\201D'; }

.testimonial-name {
  font-size: var(--text-body-s);
  font-weight: 500;
  color: var(--text);
}

.testimonial-detail {
  font-size: var(--text-caption);
  color: var(--text-3);
}


/* ─── STAT BLOCK ───────────────────────────────────────────────────────────── */

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.stat-number {
  font-size: var(--text-stat);
  font-weight: 300;
  line-height: 1.0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

:lang(he) .stat-label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}


/* ─── FORM ─────────────────────────────────────────────────────────────────── */

.form { display: flex; flex-direction: column; gap: var(--sp-6); }

.form-field { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-3);
}

:lang(he) .form-label {
  text-transform: none;
  letter-spacing: 0;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: var(--text-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--c-ash);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-sm) var(--ease);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--c-slate);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-3); }

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.65;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}


/* ─── PROCESS LIST ─────────────────────────────────────────────────────────── */

.process-list {
  counter-reset: process-step;
}

.process-step {
  position: sticky;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 var(--sp-5);
  padding: var(--sp-6);
  background: var(--bg-alt);
  counter-increment: process-step;
}

.process-step:nth-child(1) { top: calc(var(--nav-height) + 24px); z-index: 1; }
.process-step:nth-child(2) { top: calc(var(--nav-height) + 36px); z-index: 2; }
.process-step:nth-child(3) { top: calc(var(--nav-height) + 48px); z-index: 3; }
.process-step:nth-child(4) { top: calc(var(--nav-height) + 60px); z-index: 4; }
.process-step:nth-child(5) { top: calc(var(--nav-height) + 72px); z-index: 5; }
.process-step:nth-child(6) { top: calc(var(--nav-height) + 84px); z-index: 6; }

.process-step-number {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-3);
  padding-block-start: 3px;
}

.process-step-number::before { content: "0" counter(process-step); }

.process-step-title {
  font-size: var(--text-h3);
  font-weight: 400;
  color: var(--text);
  margin-block-end: var(--sp-3);
}

.process-step-desc {
  font-size: var(--text-body-s);
  color: var(--text-2);
  line-height: 1.65;
}


/* ─── TAGS ─────────────────────────────────────────────────────────────────── */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--c-ash);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    border-color var(--dur-sm) var(--ease),
    color var(--dur-sm) var(--ease),
    background var(--dur-sm) var(--ease);
}

.tag:hover,
.tag[aria-pressed="true"] { color: var(--text); border-color: var(--c-slate); }

.tag[aria-pressed="true"] { background: var(--c-slate); color: var(--c-mineral); }

:lang(he) .tag { text-transform: none; letter-spacing: 0; }


/* ─── FOOTER ───────────────────────────────────────────────────────────────── */

.footer {
  background: var(--bg-dark);
  color: var(--text-inv);
  padding-block: var(--sp-10);
  padding-inline: var(--grid-margin);
}

.footer-grid {
  max-width: var(--max-content);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-8);
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-tagline {
  font-size: var(--text-body-s);
  font-weight: 300;
  color: rgba(242, 237, 229, 0.55);
  line-height: 1.65;
  max-width: 280px;
  margin-block-start: var(--sp-5);
}

.footer-heading {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 237, 229, 0.40);
  margin-block-end: var(--sp-4);
}

:lang(he) .footer-heading { text-transform: none; letter-spacing: 0; }

.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer-link {
  font-size: var(--text-body-s);
  color: rgba(242, 237, 229, 0.70);
  text-decoration: none;
  transition: color var(--dur-sm) var(--ease);
}

.footer-link:hover { color: var(--c-mineral); }

.footer-bottom {
  max-width: var(--max-content);
  margin-inline: auto;
  margin-block-start: var(--sp-9);
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid rgba(196, 189, 181, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  font-size: 11px;
  color: rgba(242, 237, 229, 0.35);
}

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* ─── ACCESSIBILITY ────────────────────────────────────────────────────────── */

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
