/* AVITAL DESIGNERS TLV — design system v2
   Concept: the original Avital Building Projects poster, refined. Light steel-grey panels with a thin
   black frame, heavy black type, a yellow ring as the one accent, steel truss lines and black bands. */
:root {
  /* colour */
  --charcoal: #161616; --ivory: #F4F4F2; --sand: #F5D312; --stone: #5E5E5E; --white: #FFFFFF;
  --yellow: #F5D312; --yellow-2: #E4C200; --steel: #C9C9C6; --steel-2: #E6E6E3; --steel-3: #8C8C8C;
  --ink-2: #3D3D3D; --paper: #EDEDEA; --line: rgba(22, 22, 22, .16); --line-dark: rgba(255, 255, 255, .16);
  --ok: #4F6B4A; --err: #9A3B2E; --warn: #8A6A2E;
  /* type */
  --f-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --f-he: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
  --fs-xs: .75rem; --fs-s: .875rem; --fs-m: 1rem; --fs-l: 1.125rem; --fs-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); --fs-h1: clamp(2.6rem, 1.2rem + 5.6vw, 6.4rem);
  /* space & grid */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: max(20px, env(safe-area-inset-left, 0px)); --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1); --t: .35s;
  --bar-h: 0px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: var(--f-he); font-size: var(--fs-m); line-height: 1.7; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: var(--bar-h); }
html[lang="en"] body, html[lang="fr"] body { font-family: var(--f-body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--stone); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--sand); }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 768px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--charcoal); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.brand-en, .latin { font-family: var(--f-display); }
.eyebrow { unicode-bidi: plaintext; display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-body); font-size: var(--fs-xs); letter-spacing: .32em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--sand); }
h1, h2, h3 { margin: 0; font-weight: 300; text-wrap: balance; letter-spacing: -.005em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
html[lang="en"] h2, html[lang="fr"] h2, .display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.01em; }
h3 { font-size: var(--fs-xl); line-height: 1.25; }
html[lang="en"] h3, html[lang="fr"] h3 { font-family: var(--f-display); font-weight: 500; }
p { margin: 0; }
.lead { font-size: var(--fs-l); color: var(--ink-2); max-width: 58ch; }
.dark .lead { color: rgba(241, 238, 231, .78); }
.section { padding-block: var(--s9); }
.section-head { display: grid; gap: var(--s5); margin-bottom: var(--s8); max-width: 760px; }
.dark { background: var(--charcoal); color: var(--ivory); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 1px solid var(--charcoal); background: var(--charcoal); color: var(--ivory); text-decoration: none; font-size: var(--fs-s); letter-spacing: .08em; font-weight: 500; cursor: pointer; transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease); white-space: nowrap; border-radius: 0; }
.btn:hover { background: var(--stone); border-color: var(--stone); }
.btn.ghost { background: transparent; color: var(--charcoal); }
.btn.ghost:hover { background: var(--charcoal); color: var(--ivory); }
.btn.light { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn.light:hover { background: var(--sand); border-color: var(--sand); }
.btn.ghost-light { background: transparent; color: var(--ivory); border-color: rgba(241, 238, 231, .6); }
.btn.ghost-light:hover { background: var(--ivory); color: var(--charcoal); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: var(--fs-s); letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color var(--t), gap var(--t) var(--ease); background: none; border-top: 0; border-inline: 0; cursor: pointer; padding-inline: 0; }
.link-arrow:hover { border-color: var(--charcoal); gap: 16px; }
.link-arrow .arr { display: inline-block; }
html[dir="rtl"] .link-arrow .arr { transform: scaleX(-1); }

/* figure + illustration caption */
.fig { position: relative; overflow: hidden; background: var(--sand); margin: 0; }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.tag-illus { position: absolute; inset-inline-start: 12px; bottom: 12px; font-family: var(--f-body); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; background: rgba(241, 238, 231, .88); color: var(--stone); padding: 5px 9px; pointer-events: none; }
html[lang="he"] .tag-illus { font-family: var(--f-he); letter-spacing: .06em; font-size: 11px; }

/* header */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); transition: background var(--t) var(--ease), color var(--t), border-color var(--t); color: var(--ivory); border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(241, 238, 231, .96); color: var(--charcoal); border-bottom-color: var(--line); backdrop-filter: blur(8px); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); height: 76px; }
.logo { display: inline-flex; text-decoration: none; flex: none; }
.logo svg { height: 38px; width: auto; }
.nav { display: none; gap: clamp(16px, 2vw, 34px); align-items: center; }
.nav a { text-decoration: none; font-size: var(--fs-s); letter-spacing: .04em; position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform var(--t) var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.head-actions .btn { min-height: 42px; padding: 0 18px; }
.site-header:not(.solid) .head-actions .btn { background: transparent; border-color: rgba(241, 238, 231, .7); }
.site-header:not(.solid) .head-actions .btn:hover { background: var(--ivory); color: var(--charcoal); }
.lang { display: flex; border: 1px solid currentColor; opacity: .85; }
.lang button { background: none; border: 0; padding: 6px 8px; font-family: var(--f-body); font-size: 11px; letter-spacing: .14em; cursor: pointer; min-width: 34px; min-height: 32px; }
.lang button[aria-pressed="true"] { background: currentColor; }
.lang button[aria-pressed="true"] span { color: var(--charcoal); }
.site-header.solid .lang button[aria-pressed="true"] span { color: var(--ivory); }
.menu-btn { background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1px; background: currentColor; box-shadow: 0 7px 0 currentColor; transform: translateY(-3px); }
.head-quote { display: none; }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn { display: none; } .head-quote { display: inline-flex; } }
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--charcoal); color: var(--ivory); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 20px) max(24px, env(safe-area-inset-right, 0px)) 32px max(24px, env(safe-area-inset-left, 0px)); }
.drawer[hidden] { display: none; }
.drawer .top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav { display: grid; gap: 6px; margin-top: 48px; }
.drawer nav a { font-size: 2rem; font-weight: 300; text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--line-dark); }
html[lang="en"] .drawer nav a, html[lang="fr"] .drawer nav a { font-family: var(--f-display); }
.drawer .btn { margin-top: auto; }
.close-btn { background: none; border: 1px solid var(--line-dark); color: inherit; width: 44px; height: 44px; cursor: pointer; font-size: 22px; }

/* hero */
.hero { position: relative; min-height: min(92svh, 980px); display: grid; align-items: end; color: var(--ivory); isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 2.4s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35, 35, 35, .45) 0%, rgba(35, 35, 35, .05) 30%, rgba(35, 35, 35, .1) 55%, rgba(35, 35, 35, .72) 100%); }
.hero-inner { padding-top: 140px; padding-bottom: clamp(48px, 8vh, 96px); display: grid; gap: var(--s5); }
.hero .wordmark { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-h1); line-height: .95; letter-spacing: .16em; direction: ltr; text-align: start; }
html[dir="rtl"] .hero .wordmark { text-align: right; }
.hero .wordmark small { display: block; font-family: var(--f-body); font-size: clamp(.7rem, .6rem + .4vw, .95rem); letter-spacing: .6em; font-weight: 500; margin-top: 14px; }
.hero .slogan { font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); color: var(--sand); direction: ltr; }
html[dir="rtl"] .hero .slogan { text-align: right; }
.hero h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.8rem); font-weight: 300; }
html[lang="en"] .hero h1, html[lang="fr"] .hero h1 { font-family: var(--f-display); font-weight: 500; }
.hero p.sub { max-width: 52ch; color: rgba(241, 238, 231, .86); font-size: var(--fs-l); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s3); }
.hero .tag-illus { inset-inline-start: auto; inset-inline-end: 16px; bottom: 16px; }
.hero .reveal { opacity: 1; animation: rise .9s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .12s; } .hero .reveal:nth-child(3) { animation-delay: .24s; } .hero .reveal:nth-child(4) { animation-delay: .36s; } .hero .reveal:nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }

/* about */
.about-grid { display: grid; gap: var(--s7); align-items: center; }
.about-grid .fig { aspect-ratio: 4 / 5; }
.about-text { display: grid; gap: var(--s5); }
.about-text .body p + p { margin-top: 1em; }
.about-text .body { color: var(--ink-2); font-size: var(--fs-l); max-width: 56ch; }
.values { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: var(--s5); border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--stone); }
.pull { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--stone); direction: ltr; }
html[dir="rtl"] .pull { text-align: right; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; gap: var(--s9); } }

/* services */
.svc { display: grid; gap: var(--s7); }
.svc-index { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
.svc-index::-webkit-scrollbar { display: none; }
.svc-index button { flex: none; background: none; border: 1px solid var(--line); padding: 10px 16px; cursor: pointer; font-size: var(--fs-s); text-align: start; display: flex; gap: 12px; align-items: baseline; min-height: 44px; transition: background var(--t), color var(--t), border-color var(--t); }
.svc-index button .n { font-family: var(--f-display); font-size: 1.05rem; color: var(--stone); }
.svc-index button[aria-selected="true"] { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.svc-index button[aria-selected="true"] .n { color: var(--sand); }
.svc-list { display: grid; }
.svc-row { display: grid; grid-template-columns: 1fr; gap: var(--s4); padding-block: var(--s6); border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .fig { aspect-ratio: 3 / 2; }
.svc-row .txt { display: grid; gap: var(--s3); align-content: start; }
.svc-row .txt p { color: var(--ink-2); max-width: 48ch; }
.svc-row .txt .link-arrow { justify-self: start; margin-top: var(--s2); }
@media (min-width: 700px) { .svc-row { grid-template-columns: 240px 1fr; gap: var(--s6); align-items: center; } }
@media (min-width: 1024px) {
  .svc { grid-template-columns: 320px 1fr; gap: var(--s9); align-items: start; }
  .svc-index { flex-direction: column; overflow: visible; margin: 0; padding: 0; position: sticky; top: 110px; gap: 0; }
  .svc-index button { border: 0; border-top: 1px solid var(--line); padding: 18px 4px; font-size: var(--fs-m); background: none !important; color: var(--charcoal) !important; }
  .svc-index button:last-child { border-bottom: 1px solid var(--line); }
  .svc-index button[aria-selected="true"] { font-weight: 500; }
  .svc-index button[aria-selected="true"]::after { content: ""; margin-inline-start: auto; width: 28px; height: 1px; background: var(--charcoal); align-self: center; }
  .svc-row { grid-template-columns: 300px 1fr; }
}

/* projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s7); }
.chip { background: none; border: 1px solid var(--line); padding: 8px 16px; min-height: 40px; cursor: pointer; font-size: var(--fs-s); transition: all var(--t); }
.chip[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.proj-grid { display: grid; gap: var(--s7) var(--s6); }
@media (min-width: 700px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } .proj-grid .proj:nth-child(3n+1) { grid-column: span 2; } .proj-grid .proj:nth-child(3n+1) .fig { aspect-ratio: 16 / 8; } }
.proj { display: grid; gap: var(--s4); background: none; border: 0; padding: 0; text-align: start; cursor: pointer; }
.proj .fig { aspect-ratio: 4 / 3; }
.proj .fig img { transition: transform 1.2s var(--ease); }
.proj:hover .fig img { transform: scale(1.03); }
.proj .meta { display: flex; justify-content: space-between; gap: var(--s4); align-items: baseline; flex-wrap: wrap; }
.proj .meta small { color: var(--stone); font-size: var(--fs-s); }
.empty-note { border: 1px solid var(--line); padding: var(--s7) var(--s6); display: grid; gap: var(--s4); justify-items: start; max-width: 720px; }
.empty-note p { color: var(--ink-2); }
.insp { margin-top: var(--s8); padding-top: var(--s7); border-top: 1px solid var(--line); display: grid; gap: var(--s5); }
.insp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.insp-grid .fig { aspect-ratio: 1; }
@media (min-width: 900px) { .insp-grid { grid-template-columns: repeat(4, 1fr); } }
.note { font-size: var(--fs-s); color: var(--stone); }
dialog.proj-dialog { border: 0; padding: 0; width: min(1100px, 100vw - 24px); max-height: 92vh; background: var(--ivory); color: var(--charcoal); }
dialog.proj-dialog::backdrop { background: rgba(35, 35, 35, .7); }
.proj-dialog .inner { padding: var(--s6); display: grid; gap: var(--s5); }
.proj-dialog .photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.proj-dialog .photos .fig { aspect-ratio: 4 / 3; }
.proj-dialog .x { position: sticky; top: 0; float: inline-end; margin: 10px; background: var(--ivory); }

/* before / after */
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: pan-y; background: var(--sand); --pos: 50%; }
@media (min-width: 900px) { .ba { aspect-ratio: 16 / 9; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after-img { clip-path: inset(0 0 0 var(--pos)); }
.ba .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ivory); transform: translateX(-.5px); }
.ba .knob { position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ivory); color: var(--charcoal); display: grid; place-items: center; box-shadow: 0 2px 14px rgba(0, 0, 0, .18); cursor: ew-resize; border: 0; touch-action: none; }
.ba .knob svg { width: 26px; height: 26px; }
.ba .lbl { position: absolute; top: 16px; font-family: var(--f-body); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; background: rgba(35, 35, 35, .72); color: var(--ivory); padding: 6px 10px; }
.ba .lbl.b { left: 16px; } .ba .lbl.a { right: 16px; }
.ba-wrap { display: grid; gap: var(--s4); }
.diptych { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.diptych .fig { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .diptych .fig { aspect-ratio: 4 / 5; } }
.diptych .lbl { position: absolute; top: 14px; inset-inline-start: 14px; font-family: var(--f-body); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; background: rgba(35, 35, 35, .72); color: var(--ivory); padding: 6px 10px; }
.proj-dialog h3 { font-size: var(--fs-l); }
.ba-pairs { display: flex; gap: 8px; flex-wrap: wrap; }

/* process */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--s5); padding-block: var(--s6); border-top: 1px solid var(--line); }
.step .num { font-family: var(--f-display); font-size: clamp(2.8rem, 2rem + 2.6vw, 4.6rem); line-height: .9; color: var(--sand); font-weight: 400; min-width: 1.6em; direction: ltr; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); max-width: 40ch; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: var(--s7); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { grid-template-columns: 1fr; gap: var(--s4); } }

/* why */
.why-grid { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.why-item { padding: var(--s6) 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 8px; }
.why-item h3 { font-size: 1.35rem; }
.why-item p { color: rgba(241, 238, 231, .72); }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--s7); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(3, 1fr); } .why-item { padding: var(--s7) var(--s5) var(--s7) 0; } html[dir="rtl"] .why-item { padding: var(--s7) 0 var(--s7) var(--s5); } }

/* testimonials */
.quotes { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote { border-top: 1px solid var(--line); padding-top: var(--s5); display: grid; gap: var(--s4); }
.quote blockquote { margin: 0; font-size: var(--fs-xl); font-weight: 300; line-height: 1.45; }
html[lang="en"] .quote blockquote, html[lang="fr"] .quote blockquote { font-family: var(--f-display); font-style: italic; }
.quote cite { font-style: normal; font-size: var(--fs-s); color: var(--stone); letter-spacing: .06em; }

/* faq */
.faq { display: grid; max-width: 920px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s5) 0; display: flex; justify-content: space-between; gap: var(--s5); font-size: var(--fs-l); align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 16px; height: 16px; position: relative; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; inset: 7.5px 0 auto; height: 1px; background: currentColor; transition: transform var(--t) var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 0 var(--s5); color: var(--ink-2); max-width: 68ch; }
.faq-layout { display: grid; gap: var(--s7); }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 320px 1fr; gap: var(--s9); } }

/* contact */
.contact { position: relative; overflow: hidden; }
.contact-grid { display: grid; gap: var(--s8); }
.contact h2.big { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 1.4rem + 4vw, 5.4rem); line-height: 1; letter-spacing: .02em; direction: ltr; }
html[dir="rtl"] .contact h2.big { text-align: right; }
.contact .fig { aspect-ratio: 16 / 10; margin-top: var(--s6); }
.contact-lines { display: grid; gap: var(--s3); margin-top: var(--s6); font-size: var(--fs-s); }
.contact-lines .row { display: flex; gap: var(--s4); padding-block: 10px; border-bottom: 1px solid var(--line-dark); align-items: baseline; flex-wrap: wrap; }
.contact-lines .k { min-width: 90px; color: var(--sand); letter-spacing: .1em; font-size: var(--fs-xs); text-transform: uppercase; font-family: var(--f-body); }
.contact-lines a { text-decoration: none; direction: ltr; unicode-bidi: isolate; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s9); } }

/* form */
.form { display: grid; gap: var(--s5); background: var(--ivory); color: var(--charcoal); padding: clamp(24px, 4vw, 48px); }
.form h3 { margin-bottom: 4px; }
.form .two { display: grid; gap: var(--s5); }
@media (min-width: 600px) { .form .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: var(--fs-xs); letter-spacing: .08em; color: var(--stone); font-weight: 500; }
.field label .opt { font-weight: 400; opacity: .8; }
.input { width: 100%; min-height: 48px; padding: 10px 2px; border: 0; border-bottom: 1px solid rgba(35, 35, 35, .35); background: transparent; border-radius: 0; font-size: 16px; transition: border-color var(--t); }
.input:focus { outline: none; border-bottom-color: var(--charcoal); box-shadow: 0 1px 0 var(--charcoal); }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.6; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-size: 5px 5px; background-repeat: no-repeat; background-position: calc(100% - 10px) 22px, calc(100% - 5px) 22px; padding-inline-end: 24px; }
html[dir="rtl"] select.input { background-position: 5px 22px, 10px 22px; }
.field.invalid .input { border-bottom-color: var(--err); }
.field .err { color: var(--err); font-size: var(--fs-xs); min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-s); }
.check input { width: 20px; height: 20px; accent-color: var(--charcoal); margin-top: 3px; flex: none; }
.check a, .check button.linklike { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: inherit; font: inherit; }
.files { display: grid; gap: 10px; }
.file-drop { display: flex; align-items: center; gap: 12px; border: 1px dashed rgba(35, 35, 35, .35); padding: 14px; cursor: pointer; font-size: var(--fs-s); min-height: 52px; }
.file-drop:hover { border-color: var(--charcoal); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs .t { position: relative; width: 72px; height: 72px; background: var(--sand); }
.thumbs .t img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .t button { position: absolute; top: -8px; inset-inline-end: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--charcoal); color: var(--ivory); cursor: pointer; font-size: 14px; line-height: 1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { padding: 14px 16px; font-size: var(--fs-s); border-inline-start: 2px solid var(--err); background: rgba(154, 59, 46, .07); }
.form-ok { display: grid; gap: var(--s4); justify-items: start; padding: var(--s4) 0; }
.form-ok .mark { width: 48px; height: 48px; border: 1px solid var(--charcoal); border-radius: 50%; display: grid; place-items: center; }
.spinner { width: 16px; height: 16px; border: 1.5px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* footer */
.site-footer { background: #1B1B1B; color: var(--ivory); padding-block: var(--s8) var(--s6); font-size: var(--fs-s); }
.foot-grid { display: grid; gap: var(--s7); }
.foot-grid h4 { margin: 0 0 10px; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); font-weight: 500; font-family: var(--f-body); }
.foot-grid .v { color: rgba(241, 238, 231, .78); white-space: pre-line; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line-dark); color: rgba(241, 238, 231, .6); font-size: var(--fs-xs); }
.foot-bottom nav { display: flex; gap: var(--s5); flex-wrap: wrap; }
.foot-bottom button { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font: inherit; text-decoration: underline; min-height: 32px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* floating whatsapp + mobile bar */
.fab-wa { position: fixed; z-index: 35; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); inset-inline-end: max(24px, env(safe-area-inset-right, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--charcoal); color: var(--ivory); display: none; place-items: center; box-shadow: 0 6px 24px rgba(35, 35, 35, .28); border: 1px solid rgba(241, 238, 231, .25); transition: transform var(--t) var(--ease), background var(--t); text-decoration: none; }
.fab-wa:hover { transform: translateY(-3px); background: var(--stone); }
.fab-wa svg { width: 26px; height: 26px; }
.mbar { position: fixed; z-index: 35; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--charcoal); color: var(--ivory); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); border-top: 1px solid var(--line-dark); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; text-decoration: none; font-size: 12px; letter-spacing: .04em; }
.mbar a + a { border-inline-start: 1px solid var(--line-dark); }
.mbar a.primary { background: var(--sand); color: var(--charcoal); }
.mbar svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .mbar { display: none; } .fab-wa:not([hidden]) { display: grid; } }
@media (max-width: 1023.98px) { body { --bar-h: calc(60px + env(safe-area-inset-bottom, 0px)); } }

/* consent + legal dialogs + toast */
.consent { position: fixed; z-index: 50; inset-inline: 12px; bottom: calc(var(--bar-h) + 12px); max-width: 560px; background: var(--ivory); border: 1px solid var(--line); padding: 16px 18px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; box-shadow: 0 10px 30px rgba(35, 35, 35, .12); font-size: var(--fs-s); }
.consent .btn { min-height: 40px; padding: 0 16px; }
dialog.legal { border: 0; padding: 0; width: min(760px, 100vw - 24px); max-height: 88vh; background: var(--ivory); color: var(--charcoal); }
dialog.legal::backdrop { background: rgba(35, 35, 35, .7); }
.legal .inner { padding: clamp(24px, 4vw, 48px); display: grid; gap: var(--s4); }
.legal h2 { font-size: var(--fs-xl); }
.legal h3 { font-size: var(--fs-l); font-weight: 500; margin-top: var(--s4); font-family: inherit !important; }
.legal p, .legal li { color: var(--ink-2); font-size: var(--fs-s); }
.toast { position: fixed; z-index: 90; bottom: calc(var(--bar-h) + 20px); inset-inline-start: 50%; transform: translateX(-50%); background: var(--charcoal); color: var(--ivory); padding: 12px 18px; font-size: var(--fs-s); max-width: calc(100vw - 32px); }
html[dir="rtl"] .toast { transform: translateX(50%); }

/* scroll reveal (visible at rest; only animates in when JS adds .in-view support) */
.js-reveal .rv { transform: translateY(18px); transition: transform 1s var(--ease); }
.js-reveal .rv.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-reveal .rv { transform: none; }
  .hero-media img { transform: none; }
}

/* ---------------- admin ---------------- */
.admin { min-height: 100vh; background: var(--paper); font-family: var(--f-he); }
html[lang="en"] .admin, html[lang="fr"] .admin { font-family: var(--f-he); }
.adm-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--charcoal); color: var(--ivory); }
.adm-top .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.adm-top .logo svg { height: 30px; }
.adm-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; background: var(--charcoal); border-top: 1px solid var(--line-dark); }
.adm-tabs::-webkit-scrollbar { display: none; }
.adm-tabs button { flex: none; background: none; border: 0; color: rgba(241, 238, 231, .7); padding: 14px 16px; cursor: pointer; font-size: var(--fs-s); border-bottom: 2px solid transparent; min-height: 48px; }
.adm-tabs button[aria-selected="true"] { color: var(--ivory); border-bottom-color: var(--sand); }
.adm-main { padding-block: var(--s6) var(--s8); display: grid; gap: var(--s6); }
.adm-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-h h1 { font-size: var(--fs-xl); font-weight: 400; }
.panel { background: var(--white); border: 1px solid var(--line); padding: clamp(16px, 3vw, 28px); display: grid; gap: var(--s4); min-width: 0; }
.panel h2 { font-size: var(--fs-l); font-weight: 500; font-family: var(--f-he) !important; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--white); padding: 18px; display: grid; gap: 4px; }
.kpi .k { font-size: var(--fs-xs); color: var(--stone); letter-spacing: .04em; }
.kpi .v { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
html[dir="rtl"] .kpi .v { text-align: right; }
.kpi .s { font-size: var(--fs-xs); color: var(--stone); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar .input { min-height: 42px; border: 1px solid var(--line); padding: 8px 12px; background: var(--white); width: auto; flex: 1 1 200px; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-xs); }
.btn.danger { background: transparent; color: var(--err); border-color: rgba(154, 59, 46, .5); }
.btn.danger:hover { background: var(--err); color: var(--white); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.tbl th, .tbl td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.tbl th { font-size: var(--fs-xs); color: var(--stone); font-weight: 500; background: var(--paper); position: sticky; top: 0; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: var(--paper); }
.tbl td.num { font-variant-numeric: tabular-nums; direction: ltr; text-align: end; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 12px; border: 1px solid currentColor; border-radius: 99px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-new { color: #8A6A2E; } .st-contacted { color: #5D6D7E; } .st-waiting { color: #8C7A5B; } .st-visit { color: #4D6A7A; } .st-quote { color: #6A5A8A; } .st-negotiation { color: #7A5A3A; } .st-won { color: #3F6B45; } .st-progress { color: #2F6A6A; } .st-done { color: #333; } .st-lost { color: #999; }
.cards-m { display: grid; gap: 10px; }
.lead-card { background: var(--white); border: 1px solid var(--line); padding: 14px; display: grid; gap: 6px; text-align: start; cursor: pointer; width: 100%; }
.lead-card .r { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
@media (min-width: 900px) { .cards-m { display: none; } }
@media (max-width: 899.98px) { .tbl-wrap.leads { display: none; } }
.drawer-adm { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: flex-end; background: rgba(35, 35, 35, .45); }
html[dir="rtl"] .drawer-adm { justify-content: flex-start; }
.drawer-adm[hidden] { display: none; }
.drawer-adm .sheet { width: min(620px, 100vw); height: 100%; overflow-y: auto; background: var(--paper); padding: calc(env(safe-area-inset-top, 0px) + 20px) 20px calc(env(safe-area-inset-bottom, 0px) + 40px); display: grid; gap: var(--s5); align-content: start; }
.drawer-adm .quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drawer-adm .quick .btn { padding: 0 8px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; font-size: var(--fs-s); }
.kv dt { color: var(--stone); } .kv dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.notes { display: grid; gap: 8px; }
.notes .n { background: var(--white); border: 1px solid var(--line); padding: 10px 12px; font-size: var(--fs-s); white-space: pre-line; }
.notes .n time { display: block; font-size: 11px; color: var(--stone); margin-bottom: 4px; }
.adm-form { display: grid; gap: var(--s4); }
.adm-form .grid2 { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .adm-form .grid2 { grid-template-columns: 1fr 1fr; } .adm-form .grid3 { display: grid; gap: var(--s4); grid-template-columns: 1fr 1fr 1fr; } }
.adm-form .input, .panel .input { border: 1px solid var(--line); padding: 10px 12px; background: var(--white); min-height: 44px; }
.adm-form textarea.input { min-height: 90px; }
.adm-form fieldset { border: 1px solid var(--line); padding: 14px; margin: 0; display: grid; gap: 10px; min-width: 0; }
.adm-form legend { font-size: var(--fs-xs); color: var(--stone); padding: 0 6px; }
.item-list { display: grid; gap: 8px; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); padding: 8px; }
.item .th { width: 64px; height: 48px; background: var(--sand); overflow: hidden; }
.item .th img { width: 100%; height: 100%; object-fit: cover; }
.item .t { min-width: 0; }
.item .t strong { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .t small { color: var(--stone); }
.item .acts { display: flex; gap: 4px; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; font-size: 15px; }
.icon-btn:hover { border-color: var(--charcoal); }
.img-slot { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.img-slot .th { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; position: relative; }
.img-slot .th img { width: 100%; height: 100%; object-fit: cover; }
.img-slot .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.multi-imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.multi-imgs .m { position: relative; width: 96px; height: 72px; background: var(--sand); }
.multi-imgs .m img { width: 100%; height: 100%; object-fit: cover; }
.multi-imgs .m .ctl { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; background: rgba(35, 35, 35, .7); }
.multi-imgs .m .ctl button { background: none; border: 0; color: var(--ivory); cursor: pointer; width: 32px; height: 26px; }
.warn { border-inline-start: 2px solid var(--warn); background: rgba(138, 106, 46, .08); padding: 12px 14px; font-size: var(--fs-s); }
.okmsg { border-inline-start: 2px solid var(--ok); background: rgba(79, 107, 74, .08); padding: 12px 14px; font-size: var(--fs-s); }
.reminders { display: grid; gap: 6px; }
.reminders button { text-align: start; background: var(--white); border: 1px solid var(--line); padding: 10px 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.funnel { display: grid; gap: 6px; }
.funnel .fr { display: grid; grid-template-columns: 120px 1fr 40px; gap: 10px; align-items: center; font-size: var(--fs-s); }
.funnel .track { height: 8px; background: var(--paper); }
.funnel .fill { height: 100%; background: var(--stone); }
.funnel .c { font-variant-numeric: tabular-nums; text-align: end; }
.login { max-width: 420px; margin: 12vh auto; }
.confirm-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: var(--fs-s); }


/* =====================================================================
   v2 theme: yellow + steel (overrides the base rules above)
   ===================================================================== */
body { background: var(--paper); }
::selection { background: var(--yellow); color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; }
h2 { line-height: 1.05; }
html[lang="en"] h2, html[lang="fr"] h2, .display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
html[lang="en"] h3, html[lang="fr"] h3 { font-family: var(--f-display); font-weight: 700; }
h3 { font-weight: 700; }
.eyebrow { font-weight: 700; color: var(--charcoal); letter-spacing: .26em; }
.eyebrow::before { width: 12px; height: 12px; background: var(--yellow); border-radius: 50%; }
.dark .eyebrow { color: var(--white); }
.section-head h2::after { content: ""; display: block; width: 64px; height: 6px; background: var(--yellow); margin-top: 18px; }
.dark .lead { color: rgba(255, 255, 255, .74); }

/* buttons: yellow is the call to action, black is secondary */
.btn { font-weight: 700; letter-spacing: .06em; border-width: 2px; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.accent { background: var(--yellow); border-color: var(--yellow); color: var(--charcoal); }
.btn.accent:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--yellow); }
.btn.ghost { border-color: var(--charcoal); }
.btn.light { background: var(--yellow); border-color: var(--yellow); color: var(--charcoal); }
.btn.light:hover { background: var(--white); border-color: var(--white); }
.btn.ghost-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn.ghost-light:hover { background: var(--white); color: var(--charcoal); }
.link-arrow { font-weight: 700; border-bottom: 2px solid var(--yellow); }
.link-arrow:hover { border-color: var(--charcoal); }

.fig { background: var(--steel); }
.tag-illus { background: var(--charcoal); color: var(--white); }

/* header: solid light bar with a hairline frame, like the poster panel */
.site-header, .site-header.solid { background: rgba(237, 237, 234, .94); color: var(--charcoal); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header.solid { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.site-header:not(.solid) .head-actions .btn { background: var(--yellow); border-color: var(--yellow); }
.site-header:not(.solid) .head-actions .btn:hover { background: var(--charcoal); color: var(--yellow); }
.nav a { font-weight: 600; }
.nav a::after { height: 3px; background: var(--yellow); }
.lang { border-width: 1.5px; opacity: 1; }
.lang button { font-weight: 700; }
.lang button[aria-pressed="true"] { background: var(--charcoal); }
.lang button[aria-pressed="true"] span, .site-header.solid .lang button[aria-pressed="true"] span { color: var(--yellow); }
.menu-btn span { height: 2px; }
.drawer nav a { font-weight: 800; }

/* hero */
.hero { display: block; min-height: 0; color: var(--charcoal); background: var(--steel-2); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'%3E%3Cg fill='none' stroke='%23C3C3BF' stroke-width='2'%3E%3Cpath d='M0 0H240M0 160H240M0 0V160M120 0V160M0 0L120 160M120 0L0 160M120 0L240 160M240 0L120 160'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 160px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
html[dir="rtl"] .hero::before { -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 70%); mask-image: linear-gradient(270deg, #000 0%, transparent 70%); }
.hero::after { content: ""; position: absolute; inset: calc(76px + 18px) 18px calc(var(--band-h, 64px) + 18px); border: 1.5px solid var(--charcoal); background: none; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; gap: var(--s7); padding-top: calc(76px + 64px + env(safe-area-inset-top, 0px)); padding-bottom: var(--s8); align-items: center; }
.hero-copy { display: grid; gap: var(--s5); align-content: center; }
.hero .wordmark { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); letter-spacing: .1em; line-height: .95; }
.hero .wordmark small { font-weight: 700; letter-spacing: .55em; margin-top: 12px; color: var(--ink-2); }
.hero h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem); font-weight: 800; line-height: 1.12; }
html[lang="en"] .hero h1, html[lang="fr"] .hero h1 { font-family: var(--f-display); font-weight: 800; }
.hero h1 { background: linear-gradient(transparent 68%, var(--yellow) 68%, var(--yellow) 92%, transparent 92%); display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero p.sub { color: var(--ink-2); margin-top: 18px; }
.hero .ctas { margin-top: var(--s2); }
.hero-media { position: relative; z-index: 0; isolation: isolate; }
.hero-media .fig { z-index: 1; }
.hero-media .fig { aspect-ratio: 4 / 5; box-shadow: 18px 18px 0 var(--charcoal); }
html[dir="rtl"] .hero-media .fig { box-shadow: -18px 18px 0 var(--charcoal); }
.hero-media img { animation: none; transform: none; }
.hero-ring { position: absolute; width: clamp(110px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; border: clamp(9px, 1.1vw, 14px) solid var(--yellow); box-shadow: inset 0 0 0 4px var(--steel-2), inset 0 0 0 6px var(--charcoal); top: -44px; inset-inline-start: -44px; pointer-events: none; z-index: -1; }
.hero .tag-illus { inset-inline-start: auto; inset-inline-end: 12px; bottom: 12px; }
.hero-band { background: var(--charcoal); color: var(--white); }
.hero-band .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; min-height: 64px; padding-block: 14px; }
.hero-band .slogan { font-family: var(--f-display); font-weight: 700; letter-spacing: .3em; font-size: 12px; color: var(--yellow); font-style: normal; direction: ltr; }
.band-items { display: flex; flex-wrap: wrap; gap: 6px 0; font-weight: 700; font-size: var(--fs-s); letter-spacing: .08em; }
.band-items span + span::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; margin-inline: 16px; vertical-align: middle; }
html[lang="en"] .band-items, html[lang="fr"] .band-items { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: var(--s9); min-height: min(88svh, 900px); padding-top: calc(76px + 40px); }
  .hero::after { inset: calc(76px + 24px) 24px calc(64px + 24px); }
}
@media (max-width: 899.98px) { .hero::after { display: none; } .hero-media { margin-inline-end: 18px; } }

/* about */
.values { border-top: 2px solid var(--charcoal); color: var(--charcoal); font-weight: 600; }
.pull { font-family: var(--f-display); font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1rem, .8rem + .8vw, 1.4rem); color: var(--charcoal); border-inline-start: 6px solid var(--yellow); padding-inline-start: 16px; }
.about-grid .fig { box-shadow: 0 0 0 1.5px var(--charcoal), 14px 14px 0 var(--yellow); }
html[dir="rtl"] .about-grid .fig { box-shadow: 0 0 0 1.5px var(--charcoal), -14px 14px 0 var(--yellow); }

/* services */
.svc-index button .n { font-family: var(--f-display); font-weight: 800; color: var(--steel-3); }
.svc-index button[aria-selected="true"] .n { color: var(--yellow); }
.svc-row .txt h3 { font-size: 1.35rem; }
@media (min-width: 1024px) {
  .svc-index button[aria-selected="true"] { font-weight: 800; }
  .svc-index button[aria-selected="true"]::after { width: 34px; height: 6px; background: var(--yellow); }
  .svc-index button[aria-selected="true"] .n { color: var(--charcoal); }
}
.svc-row { border-top-color: var(--line); }

/* projects */
.chip { font-weight: 700; border: 1.5px solid var(--charcoal); }
.chip[aria-pressed="true"] { background: var(--yellow); color: var(--charcoal); border-color: var(--yellow); }
.proj .fig { box-shadow: 0 0 0 1.5px var(--charcoal); }
.proj .meta h3 { font-weight: 800; }
.proj:hover .meta h3 { box-shadow: inset 0 -8px 0 var(--yellow); }
.proj .meta small { color: var(--stone); font-weight: 600; }
dialog.proj-dialog { background: var(--paper); border-top: 8px solid var(--yellow); }

/* before / after */
.ba, .diptych .fig { background: var(--steel); }
.ba .divider { width: 4px; background: var(--yellow); transform: translateX(-2px); }
.ba .knob { background: var(--yellow); }
.ba .lbl, .diptych .lbl { background: var(--charcoal); color: var(--yellow); font-weight: 700; }
.diptych .fig { box-shadow: 0 0 0 1.5px var(--charcoal); }

/* process: big outlined numbers on yellow tabs */
.step { border-top: 2px solid var(--charcoal); }
.step .num { font-family: var(--f-display); font-weight: 800; color: var(--charcoal); -webkit-text-stroke: 0; }
.step .num { display: inline-grid; place-items: center; background: var(--yellow); min-width: 0; width: 2.1em; height: 1.5em; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1; }

/* why: black band with steel truss */
.dark { background: var(--charcoal); color: var(--white); position: relative; }
#why.dark::before { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='2'%3E%3Cpath d='M0 0H240M0 160H240M0 0V160M120 0V160M0 0L120 160M120 0L0 160M120 0L240 160M240 0L120 160'/%3E%3C/g%3E%3C/svg%3E"); background-size: 240px 160px; }
.why-item h3 { font-weight: 800; }
.why-item h3::before { content: ""; display: block; width: 28px; height: 6px; background: var(--yellow); margin-bottom: 14px; }
.why-item p { color: rgba(255, 255, 255, .72); }

/* quotes + faq */
.quote { border-top: 2px solid var(--charcoal); }
.quote blockquote { font-weight: 500; }
html[lang="en"] .quote blockquote, html[lang="fr"] .quote blockquote { font-style: normal; }
.faq details { border-top: 1.5px solid var(--charcoal); }
.faq details:last-child { border-bottom: 1.5px solid var(--charcoal); }
.faq summary { font-weight: 700; }
.faq summary .pm::before, .faq summary .pm::after { height: 2.5px; }
.faq details[open] summary .pm { color: var(--charcoal); background: var(--yellow); border-radius: 50%; width: 28px; height: 28px; }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { inset: 12.75px 7px auto; }

/* contact */
.contact h2.big { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.contact h2.big::after { content: ""; display: block; width: 80px; height: 8px; background: var(--yellow); margin-top: 20px; }
html[dir="rtl"] .contact h2.big::after { margin-inline-start: auto; margin-inline-end: 0; }
.contact-lines .k { color: var(--yellow); font-weight: 700; }
.form { background: var(--white); border-top: 8px solid var(--yellow); }
.field label, .field .label { color: var(--charcoal); font-weight: 700; }
.input { border-bottom: 1.5px solid rgba(22, 22, 22, .35); }
.input:focus { border-bottom-color: var(--charcoal); box-shadow: 0 2px 0 var(--yellow); }
.check input { accent-color: var(--charcoal); }
.form-ok .mark { background: var(--yellow); border-color: var(--yellow); }
.form .btn:not(.ghost):not(.light) { background: var(--yellow); border-color: var(--yellow); color: var(--charcoal); }
.form .btn:not(.ghost):not(.light):hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--yellow); }

/* footer */
.site-footer { background: #0F0F0F; border-top: 8px solid var(--yellow); }
.foot-grid h4 { color: var(--yellow); font-weight: 700; }
.foot-grid .v { color: rgba(255, 255, 255, .74); }

/* floating + mobile bar */
.fab-wa { background: var(--yellow); color: var(--charcoal); border: 0; box-shadow: 0 6px 22px rgba(0, 0, 0, .25); }
.fab-wa:hover { background: var(--charcoal); color: var(--yellow); }
.mbar a.primary { background: var(--yellow); color: var(--charcoal); font-weight: 700; }
.consent { border-top: 4px solid var(--yellow); }

/* admin accents */
.adm-tabs button[aria-selected="true"] { border-bottom-color: var(--yellow); }
.kpi .v { font-weight: 800; }
.funnel .fill { background: var(--yellow); }


/* =====================================================================
   v2.1: deeper steel grey + typewriter type
   ===================================================================== */
:root {
  --f-type: 'Courier Prime', 'Cousine', 'Courier New', monospace;
  --f-type-he: 'Cousine', 'Courier Prime', 'Courier New', monospace;
  --f-display: var(--f-type); --f-body: var(--f-type); --f-he: var(--f-type-he);
  --paper: #D4D4D0; --ivory: #E4E4E1; --steel: #B4B4AF; --steel-2: #C6C6C1; --steel-3: #77776F;
  --ink-2: #2B2B2B; --stone: #474747; --line: rgba(22, 22, 22, .22);
}
body { background: var(--paper); font-size: 1.02rem; line-height: 1.75; }
html[lang="he"] body { font-family: var(--f-type-he); }
html[lang="en"] body, html[lang="fr"] body { font-family: var(--f-type); }
h1, h2, h3 { font-weight: 700; letter-spacing: 0; }
html[lang="en"] h2, html[lang="fr"] h2, .display { font-weight: 700; letter-spacing: .02em; }
.eyebrow, .btn, .nav a, .lang button, .chip, .tag-illus, .ba .lbl, .diptych .lbl, .band-items, .hero-band .slogan { font-weight: 700; }
.eyebrow { letter-spacing: .18em; }
/* the AVITAL wordmark stays in the logo face */
.hero .wordmark { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; }
.hero .wordmark small { font-family: var(--f-type); letter-spacing: .45em; }

/* more grey: panels, header, sections alternate between two steel tones */
.site-header, .site-header.solid { background: rgba(198, 198, 193, .95); }
.hero { background: var(--steel-2); }
.hero::before { opacity: .7; }
.hero h1 { background: linear-gradient(transparent 70%, var(--yellow) 70%, var(--yellow) 90%, transparent 90%); }
#about, #process, #faq { background: var(--ivory); }
#services, #projects, #before-after { background: var(--paper); }
.form { background: var(--ivory); }
dialog.proj-dialog, dialog.legal, .consent { background: var(--ivory); }
.svc-index button[aria-selected="true"] { background: var(--charcoal); }
.proj .fig, .diptych .fig, .hero-media .fig { filter: saturate(.92); }
.input { background: transparent; }
.site-footer { background: #1C1C1C; }
.dark { background: #232323; }
html[lang="he"] h1, html[lang="he"] h2 { letter-spacing: -.03em; }
html[lang="he"] .hero h1 { font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.6rem); }

/* =====================================================================
   v2.2: yellow retired, rust/copper accent on steel grey
   ===================================================================== */
:root { --yellow: #EE6A12; --yellow-2: #C9560C; --sand: #EE6A12; --accent-on-dark: #FF9446; }
::selection { color: var(--white); }
.btn.accent, .btn.light, .site-header:not(.solid) .head-actions .btn, .chip[aria-pressed="true"], .mbar a.primary, .fab-wa, .step .num, .form .btn:not(.ghost):not(.light), .ba .knob, .form-ok .mark, .faq details[open] summary .pm { color: var(--white); }
.btn.accent:hover, .site-header:not(.solid) .head-actions .btn:hover, .form .btn:not(.ghost):not(.light):hover, .fab-wa:hover { color: var(--accent-on-dark); }
.lang button[aria-pressed="true"] span, .site-header.solid .lang button[aria-pressed="true"] span, .ba .lbl, .diptych .lbl, .hero-band .slogan, .contact-lines .k, .foot-grid h4, .svc-index button[aria-selected="true"] .n { color: var(--accent-on-dark); }
@media (min-width: 1024px) { .svc-index button[aria-selected="true"] .n { color: var(--yellow); } }
.dark .eyebrow::before, .hero-band .band-items span + span::before { background: var(--accent-on-dark); }
.hero h1 { background: linear-gradient(transparent 78%, rgba(180, 83, 42, .55) 78%, rgba(180, 83, 42, .55) 92%, transparent 92%); }
.hero-ring { box-shadow: inset 0 0 0 4px var(--steel-2), inset 0 0 0 6px var(--charcoal); }

.proj-video { margin: 0; justify-self: center; width: min(100%, 380px); box-shadow: 0 0 0 1.5px var(--charcoal); background: var(--charcoal); }
.proj-video video { display: block; width: 100%; aspect-ratio: 480 / 848; }
.ba.portrait { aspect-ratio: 9 / 14; max-width: 520px; margin-inline: auto; width: 100%; }

/* poster motto under the wordmark */
.hero .motto { display: inline-flex; flex-direction: column; gap: 6px; margin: 2px 0 6px; padding-top: 10px; border-top: 2px solid var(--ink); max-width: 100%; }
.hero .motto span[lang="en"] { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: clamp(.68rem, .55rem + .55vw, 1rem); letter-spacing: .22em; direction: ltr; color: var(--ink); }
.hero .motto .tr { font-size: clamp(.8rem, .72rem + .3vw, .98rem); color: var(--stone); font-weight: 700; }
.hero .motto { border-top-color: #1C1C1C; }
html[dir="rtl"] .hero .motto span[lang="en"] { text-align: right; }

/* v2.3: centred hero copy; AVITAL wordmark in the same face/weight as the motto */
.hero-copy { justify-items: center; text-align: center; }
.hero .eyebrow, .hero .wordmark, .hero .wordmark small, .hero .motto, .hero .motto span, html[dir="rtl"] .hero .wordmark, html[dir="rtl"] .hero .motto span[lang="en"] { text-align: center; justify-content: center; }
.hero .motto { align-items: center; }
.hero .ctas { justify-content: center; }
.hero .sub { margin-inline: auto; }
.hero .wordmark { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: .14em; padding-inline-start: .14em; }
.hero .wordmark small { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: .45em; padding-inline-start: .45em; }
@media (max-width: 600px) { .hero .eyebrow { letter-spacing: .1em; font-size: .68rem; white-space: nowrap; gap: 8px; } }

/* v2.5: big title reads AVITAL / DESIGNERS */
.hero .wordmark { font-size: clamp(2.2rem, 1rem + 4.6vw, 4.6rem); }
.hero .wordmark .wm-line { display: block; }

/* v2.6: AVITAL DESIGNERS on one line */
.hero .wordmark { font-size: clamp(1.45rem, .5rem + 3.4vw, 3.3rem); letter-spacing: .08em; padding-inline-start: .08em; white-space: nowrap; }
/* v2.7: larger motto */
.hero .motto span[lang="en"] { font-size: clamp(.82rem, .55rem + 1vw, 1.32rem); letter-spacing: .16em; }
.hero .motto .tr { font-size: clamp(.95rem, .8rem + .45vw, 1.15rem); }
@media (max-width: 600px) { .hero .motto span[lang="en"] { letter-spacing: .06em; } }
.hero .motto span[lang="en"] { white-space: nowrap; letter-spacing: .1em; font-size: clamp(.8rem, .5rem + .95vw, 1.22rem); } @media (max-width: 600px) { .hero .motto span[lang="en"] { letter-spacing: .04em; font-size: .8rem; } }
.hero .wordmark { text-transform: none; letter-spacing: .04em; padding-inline-start: .04em; }
