/* ============================================================
   BiBird — Invitations Digitales
   Brand register: dark luxe stage, brand-gradient as voice.
   ============================================================ */

:root {
  /* Surfaces — deep slate tinted toward violet */
  --bg:        oklch(0.165 0.035 285);
  --bg-2:      oklch(0.205 0.038 286);
  --panel:     oklch(0.235 0.040 287);
  --line:      oklch(1 0 0 / 0.09);
  --line-soft: oklch(1 0 0 / 0.05);

  /* Ink */
  --ink:    oklch(0.97 0.012 285);
  --muted:  oklch(0.74 0.022 285);
  --faint:  oklch(0.58 0.022 285);

  /* Brand gradient stops (the BiBird bird) */
  --c-blue:    oklch(0.64 0.18 250);
  --c-violet:  oklch(0.56 0.23 295);
  --c-magenta: oklch(0.63 0.25 350);
  --c-orange:  oklch(0.78 0.16 62);

  --grad: linear-gradient(110deg,
            var(--c-blue) 0%,
            var(--c-violet) 36%,
            var(--c-magenta) 66%,
            var(--c-orange) 100%);

  /* Latin fonts list Hebrew fallbacks after them: Latin glyphs use the first
     family, Hebrew glyphs fall through to Frank Ruhl Libre / Heebo automatically. */
  --serif: "Bodoni Moda", "Frank Ruhl Libre", Georgia, serif;
  --sans: "Hanken Grotesk", "Heebo", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);     /* ease-out-expo-ish */
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 350;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--c-magenta); color: #fff; }

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ============ AMBIENT ATMOSPHERE ============ */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(140% 90% at 80% -10%, oklch(0.26 0.06 290) 0%, transparent 55%),
    var(--bg);
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
  mix-blend-mode: screen;
}
.aurora--1 {
  width: 60vw; height: 60vw;
  top: -18vw; left: -10vw;
  background: radial-gradient(circle, var(--c-violet), transparent 62%);
  animation: drift1 26s var(--ease) infinite alternate;
}
.aurora--2 {
  width: 52vw; height: 52vw;
  top: 24vh; right: -16vw;
  background: radial-gradient(circle, var(--c-magenta), transparent 62%);
  opacity: 0.42;
  animation: drift2 32s var(--ease) infinite alternate;
}
.aurora--3 {
  width: 44vw; height: 44vw;
  bottom: -14vw; left: 30vw;
  background: radial-gradient(circle, var(--c-blue), transparent 64%);
  opacity: 0.38;
  animation: drift3 38s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate(8vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-9vw, 6vh) scale(1.12); } }
@keyframes drift3 { to { transform: translate(6vw, -8vh) scale(1.18); } }

/* faint film grain via repeating gradient — keeps the dark from banding */
.grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(oklch(1 0 0 / 0.022) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ============ LAYOUT PRIMITIVES ============ */
.section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(5rem, 4rem + 9vw, 9rem) clamp(1.25rem, 0.5rem + 4vw, 3rem);
}


.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-magenta);
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.section-title em { font-weight: 500; }

.lede {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + 0.45vw, 1.25rem);
  margin-top: 1.4rem;
}

/* ============ BUTTONS ============ */
.btn {
  --gx: 50%; --gy: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.7em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--glow {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 8px 26px -8px oklch(0.56 0.23 295 / 0.7),
              0 2px 8px -2px oklch(0.63 0.25 350 / 0.5);
  animation: hue 8s linear infinite;
}
.btn--glow::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(120px circle at var(--gx) var(--gy), oklch(1 0 0 / 0.45), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.btn--glow:hover { box-shadow: 0 16px 40px -10px oklch(0.56 0.23 295 / 0.85),
                               0 4px 14px -2px oklch(0.63 0.25 350 / 0.6); }
.btn--glow:hover::before { opacity: 1; }
@keyframes hue { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.btn--quiet {
  color: var(--ink);
  background: oklch(1 0 0 / 0.06);
  border-color: var(--line);
}
.btn--quiet:hover { border-color: oklch(1 0 0 / 0.25); background: oklch(1 0 0 / 0.07); }

.btn--ghost {
  color: var(--ink);
  border-color: var(--line);
  padding: 0.65em 1.3em;
  font-size: 0.9rem;
}
.btn--ghost:hover { border-color: var(--c-magenta); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 0.5rem + 4vw, 3rem);
  max-width: var(--maxw);
  margin-inline: auto;
  transition: padding 0.4s var(--ease);
}
.site-header.is-stuck {
  background: oklch(0.165 0.035 285 / 0.86);
  backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 2px 10px oklch(0.6 0.24 320 / 0.5)); }
.brand__word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: clamp(1rem, 0.5rem + 1.5vw, 2.2rem);
  font-size: 0.95rem;
  color: var(--muted);
}
.nav a { position: relative; padding: 0.2rem 0; transition: color 0.3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__group {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 0.5rem + 1.2vw, 1.8rem);
}

/* language switcher */
.lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: oklch(1 0 0 / 0.03);
}
.lang button {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0.4em 0.7em;
  border-radius: 100px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s, background 0.3s;
}
.lang button:hover { color: var(--ink); }
.lang button.is-active { color: #fff; background: oklch(1 0 0 / 0.12); }

/* ============ HERO ============ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(1rem, 0.5rem + 1.5vw, 2rem) clamp(1.25rem, 0.5rem + 4vw, 3rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  /* Cap to the visible area minus the sticky header so the CTAs and the trust
     row are guaranteed above the fold on laptop heights — no scroll needed. */
  min-height: min(82vh, 760px);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.018em;
  margin: 0.8rem 0 1.1rem;
}
.hero__title span { display: block; }
.hero__title em {
  font-weight: 500;
  position: relative;
  color: var(--c-magenta);            /* fallback if background-clip unsupported */
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* the gradient sits on a single decorative word only, as the literal brand mark in type;
   the headline itself stays solid ink for legibility */

.hero__sub { max-width: 46ch; color: var(--muted); font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.4rem; }

/* Video stage — the brand film melts into the page as luminous haze.
   The clip is composited on a near-black field; screen-blend dissolves that
   field into the page (whatever the aurora does behind it) while the bright
   logo and white wordmark stay; a radial mask feathers the corners. */
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}
.stage__video {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: saturate(1.08) contrast(1.02);
  /* Very gradual oval feather: no perceptible edge where the field meets the page. */
  -webkit-mask: radial-gradient(86% 104% at 50% 47%, #000 20%, transparent 74%);
          mask: radial-gradient(86% 104% at 50% 47%, #000 20%, transparent 74%);
}
/* coloured bloom behind the bird — broad and soft so the logo is the luminous
   focal point and dissolves into the page (no dark "hole" around it) */
.stage__glow {
  position: absolute; inset: -28% -22%;
  z-index: 0;
  background:
    radial-gradient(62% 62% at 50% 47%, oklch(0.62 0.22 300 / 0.6), transparent 74%),
    radial-gradient(52% 54% at 60% 56%, oklch(0.64 0.25 350 / 0.5), transparent 76%),
    radial-gradient(48% 52% at 42% 60%, oklch(0.74 0.18 60 / 0.42), transparent 76%);
  filter: blur(54px);
  will-change: transform, opacity;
  animation: pulse 7s var(--ease) infinite alternate;
}
/* faint drifting smoke veil over the lower half */
.stage__haze {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: radial-gradient(90% 60% at 50% 100%, oklch(0.9 0.02 290 / 0.06), transparent 60%);
}
@keyframes pulse { to { opacity: 0.7; transform: scale(1.07); } }

.scroll-hint {
  position: absolute;
  bottom: 0.5rem; left: clamp(1.25rem, 0.5rem + 4vw, 3rem);
  width: 26px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; translate: -50% 0;
  width: 3px; height: 8px; border-radius: 3px;
  background: var(--c-magenta);
  animation: scroll 1.8s var(--ease) infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 70% { opacity: 1; transform: translateY(14px); } 100% { opacity: 0; transform: translateY(16px); } }

/* ============ CONCEPT ============ */
.concept__top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.concept__intro { max-width: 60ch; }
.concept__intro .lede { max-width: 54ch; }
.concept__media { position: relative; }
.concept__media img,
.concept__media video {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px oklch(0 0 0 / 0.8);
}
.concept__badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6em 1em; border-radius: 100px;
  background: oklch(0.14 0.03 285 / 0.82);
  border: 1px solid oklch(1 0 0 / 0.18);
  font-size: 0.85rem; font-weight: 500;
}
.concept__badge .stars { color: var(--c-orange); letter-spacing: 0.05em; font-size: 0.8rem; }
[dir="rtl"] .concept__badge { left: auto; right: 1rem; }

/* hero trust row */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem 1.4rem; margin-top: 1.2rem; }
.trust li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: var(--muted); }
.trust li::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.features {
  list-style: none;
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}
.feature {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.feature__no {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--c-orange);
  letter-spacing: 0.05em;
}
.feature h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0.5rem 0 0.6rem;
}
.feature p { color: var(--muted); font-size: 1rem; max-width: 32ch; }

/* ---- feature mini-previews (live, one per benefit) ---- */
.feature__viz { min-height: 46px; margin-bottom: 1.25rem; display: flex; align-items: center; }
.fviz {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.72rem; border-radius: 13px;
  background: oklch(0.13 0.02 285 / 0.5);
  border: 1px solid oklch(1 0 0 / 0.1);
}
.fviz .demo__avatars i { width: 22px; height: 22px; margin-left: -7px; }
.fviz__count { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.fviz__count b { font-family: var(--serif); font-size: 1.1rem; color: #fff; font-variant-numeric: tabular-nums; }
.fviz__count i { font-style: normal; }

/* 02 — onboarding screens with a scanning shimmer */
.fviz--app { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.screens { position: relative; display: flex; gap: 5px; overflow: hidden; border-radius: 5px; }
.screens i {
  width: 16px; height: 26px; border-radius: 4px;
  border: 1px solid oklch(1 0 0 / 0.18); background: oklch(1 0 0 / 0.05);
}
.screens i:nth-child(2) { background: var(--grad); background-size: 300% 100%; border-color: transparent; }
.screens::after {
  content: ""; position: absolute; inset: 0; width: 45%;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.22), transparent);
  animation: appsweep 2.6s var(--ease) infinite;
}
@keyframes appsweep { from { transform: translateX(-130%); } to { transform: translateX(330%); } }
.dots { display: flex; gap: 5px; }
.dots b { width: 5px; height: 5px; border-radius: 50%; background: oklch(1 0 0 / 0.22); }
.dots b:nth-child(2) { background: var(--c-orange); }

/* 03 — media thumb + theme swatches */
.fviz--theme .thumb {
  width: 38px; height: 28px; border-radius: 7px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c-violet), var(--c-magenta));
}
.swatches { display: flex; gap: 5px; }
.swatches i { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.18); }
.swatches i:nth-child(1) { background: var(--c-blue); }
.swatches i:nth-child(2) { background: var(--c-magenta); }
.swatches i:nth-child(3) { background: var(--c-orange); }
.swatches i:nth-child(4) { background: oklch(0.92 0.03 285); }
.swatches i.is-on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px oklch(0.92 0.03 285); }

/* 04 — personalised greeting */
.fviz--name { font-size: 0.9rem; }
.greet { display: inline-flex; align-items: baseline; color: oklch(0.9 0.01 285); }
.greet b {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.08rem; color: var(--c-orange);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.greet b.is-swapping { opacity: 0; transform: translateY(-5px); }
.caret {
  width: 2px; height: 1em; margin-inline-start: 2px; align-self: center;
  background: var(--c-orange); display: inline-block;
  animation: caretblink 1.1s steps(1) infinite;
}
@keyframes caretblink { 50% { opacity: 0; } }

/* ============ GALLERY — immersive photo cards ============ */
.creations__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.creations__cta { margin-top: clamp(2rem, 1.5rem + 3vw, 3.5rem); text-align: center; }

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: clamp(0.9rem, 0.5rem + 1.4vw, 1.5rem);
}

.show {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  min-height: 300px;
  display: flex;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.show:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -30px oklch(0 0 0 / 0.8); }

/* asymmetric placement */
.show--wed   { grid-column: span 3; grid-row: span 2; }
.show--bar   { grid-column: span 3; }
.show--gala  { grid-column: span 3; }
.show--party { grid-column: span 6; min-height: 260px; }

/* background photo + slow Ken Burns drift */
.show__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  filter: saturate(1.05) contrast(1.02);
  animation: ken 24s var(--ease) infinite alternate;
}
/* video backgrounds already move; skip the Ken Burns drift for them */
video.show__bg { animation: none; transform: scale(1.02); }
video.show__bg:hover, .show:hover video.show__bg { transform: scale(1.06); }
.show--bar .show__bg   { animation-duration: 28s; animation-direction: alternate-reverse; }
.show--gala .show__bg  { animation-duration: 32s; }
.show--party .show__bg { animation-duration: 30s; animation-direction: alternate-reverse; }
.show:hover .show__bg  { transform: scale(1.14); filter: saturate(1.15) contrast(1.04); }
@keyframes ken {
  0%   { transform: scale(1.08) translate3d(0,0,0); }
  100% { transform: scale(1.18) translate3d(-3%, -3%, 0); }
}

/* readability scrim + brand tint */
.show__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, oklch(0.13 0.03 285 / 0.15) 0%, oklch(0.12 0.03 285 / 0.55) 48%, oklch(0.11 0.03 285 / 0.93) 100%),
    radial-gradient(120% 80% at 80% 0%, oklch(0.56 0.23 295 / 0.35), transparent 60%);
  transition: opacity 0.7s var(--ease);
}
.show--gala .show__scrim {
  background:
    linear-gradient(180deg, oklch(0.13 0.03 60 / 0.12) 0%, oklch(0.12 0.02 60 / 0.5) 46%, oklch(0.10 0.02 60 / 0.94) 100%),
    radial-gradient(120% 80% at 50% 110%, oklch(0.62 0.16 62 / 0.4), transparent 60%);
}
.show--party .show__scrim {
  background:
    linear-gradient(110deg, oklch(0.11 0.03 320 / 0.92) 0%, oklch(0.12 0.04 320 / 0.55) 45%, oklch(0.13 0.05 330 / 0.3) 100%),
    radial-gradient(90% 120% at 95% 50%, oklch(0.58 0.24 330 / 0.4), transparent 60%);
}

.show__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  padding: 0.45em 0.95em; border-radius: 100px;
  background: oklch(0.13 0.03 285 / 0.7);
  border: 1px solid oklch(1 0 0 / 0.18);
}

.show__body {
  position: relative; z-index: 2;
  margin-top: auto;
  width: 100%;
  display: flex; flex-direction: column; gap: 0.7rem;
  padding: clamp(1.3rem, 1rem + 1.5vw, 2rem);
}
/* Guaranteed dark substrate behind ALL card text, so no line ever sits on a
   bright patch of the photo. Confined to the text block; the focal image is untouched. */
.show__body::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -2.6rem 0 0 0;
  background: linear-gradient(180deg,
    transparent 0%,
    oklch(0.08 0.02 285 / 0.72) 24%,
    oklch(0.07 0.02 285 / 0.9) 100%);
}
.show__body--row {
  flex-direction: row; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}

.show__script {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.02;
  text-shadow: 0 2px 30px oklch(0 0 0 / 0.5);
}
.show__script em { font-style: italic; color: var(--c-orange); }
.show__hebrew {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(3rem, 2.2rem + 3.5vw, 4.4rem); line-height: 1;
  /* gold gradient (no pink/violet) for the Bar Mitzvah name */
  color: var(--c-orange);
  background: linear-gradient(120deg, oklch(0.9 0.11 92) 0%, var(--c-orange) 52%, oklch(0.68 0.15 50) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  /* drop-shadow works on the gradient-filled glyphs (text-shadow does not) — keeps נתן legible over the bright bokeh */
  filter: drop-shadow(0 3px 10px oklch(0 0 0 / 0.9)) drop-shadow(0 0 3px oklch(0 0 0 / 0.7));
}
/* warm darkening + soft gold glow behind the Bar Mitzvah content (no violet) */
.show--bar .show__scrim {
  background:
    linear-gradient(180deg, oklch(0.13 0.02 70 / 0.25) 0%, oklch(0.12 0.02 70 / 0.62) 46%, oklch(0.10 0.02 70 / 0.96) 100%),
    radial-gradient(120% 80% at 80% 0%, oklch(0.72 0.14 72 / 0.28), transparent 60%);
}
/* Bar Mitzvah : prénom (hébreu + titre) et démos centrés */
.show--bar .show__body { align-items: center; text-align: center; }

.show__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); letter-spacing: 0.01em;
  color: #fff; text-shadow: 0 2px 16px oklch(0 0 0 / 0.85), 0 0 4px oklch(0 0 0 / 0.6);
}
.show__title-lg {
  font-family: var(--serif); font-weight: 700; font-style: italic;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); letter-spacing: -0.01em;
  text-shadow: 0 2px 30px oklch(0 0 0 / 0.5);
}
.show__title-lg--neon {
  font-style: normal;
  text-shadow: 0 0 26px oklch(0.66 0.25 340 / 0.85), 0 0 4px oklch(0.7 0.2 340 / 0.6);
}
.show__overline {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: oklch(0.85 0.15 67);
  text-shadow: 0 1px 14px oklch(0 0 0 / 0.9), 0 0 4px oklch(0 0 0 / 0.75);
}
.show__meta {
  color: oklch(0.91 0.02 285); font-size: 0.92rem; max-width: 34ch;
  text-shadow: 0 1px 12px oklch(0 0 0 / 0.85), 0 0 3px oklch(0 0 0 / 0.5);
}

/* feature pills — what we can do */
.pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.3rem;
}
.pills li {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.01em;
  padding: 0.35em 0.8em; border-radius: 100px;
  color: oklch(0.92 0.01 285);
  background: oklch(0.2 0.03 285 / 0.55);
  border: 1px solid oklch(1 0 0 / 0.14);
  transform: translateY(6px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), background 0.3s;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.show.in .pills li { transform: none; opacity: 1; }
.pills li:nth-child(2){ --i:1 } .pills li:nth-child(3){ --i:2 } .pills li:nth-child(4){ --i:3 }
.show:hover .pills li { background: oklch(1 0 0 / 0.14); }

/* ---- micro-demos (live feature previews) ---- */
.demo {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.85rem; border-radius: 14px;
  background: oklch(0.13 0.02 285 / 0.72);
  border: 1px solid oklch(1 0 0 / 0.12);
  width: fit-content; max-width: 100%;
}
.demo__line { font-size: 0.84rem; color: oklch(0.9 0.01 285); }
.demo__line em { font-style: normal; color: var(--c-orange); }
.demo__line b { font-family: var(--serif); font-size: 1.15rem; color: #fff; font-variant-numeric: tabular-nums; }

/* RSVP avatars */
.demo__avatars { display: flex; }
.demo__avatars i {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid oklch(0.16 0.03 285);
  margin-left: -8px;
  background: var(--grad); background-size: 240% 240%;
}
.demo__avatars i:first-child { margin-left: 0; }
.demo__avatars i:nth-child(2){ background-position: 30% 0; }
.demo__avatars i:nth-child(3){ background-position: 60% 0; }
.demo__avatars i:nth-child(4){ background-position: 85% 0; }
.demo__avatars i:nth-child(5){ background-position: 100% 0; }

/* countdown */
.countdown { display: flex; gap: 0.9rem; }
.countdown span { display: flex; flex-direction: column; align-items: center; }
.countdown b {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  color: #fff; font-variant-numeric: tabular-nums; line-height: 1;
}
.countdown i { font-style: normal; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.78 0.02 285); margin-top: 0.25rem; }

/* music equalizer */
.eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.eq i {
  width: 3px; height: 100%; border-radius: 3px;
  transform-origin: bottom; transform: scaleY(0.4);
  background: var(--grad); background-size: 100% 300%;
  animation: eq 0.9s var(--ease) infinite alternate;
}
.eq i:nth-child(1){ animation-delay: -0.2s } .eq i:nth-child(2){ animation-delay: -0.5s }
.eq i:nth-child(3){ animation-delay: -0.1s } .eq i:nth-child(4){ animation-delay: -0.7s }
.eq i:nth-child(5){ animation-delay: -0.3s } .eq i:nth-child(6){ animation-delay: -0.6s }
.eq i:nth-child(7){ animation-delay: -0.4s }
@keyframes eq { from { transform: scaleY(0.18); } to { transform: scaleY(1); } }

/* map pin */
.demo--map { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.map-pin { position: relative; width: 30px; height: 30px; display: grid; place-items: center; }
.map-pin i {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-magenta); box-shadow: 0 0 12px oklch(0.65 0.25 340 / 0.9);
}
.map-pin::before, .map-pin::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--c-magenta);
  animation: ping 2.4s var(--ease) infinite;
}
.map-pin::after { animation-delay: 1.2s; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }

.show__cta {
  margin-top: 0.2rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.6em 1.5em; border-radius: 100px;
  background: var(--grad); background-size: 160% 160%; color: #fff;
  box-shadow: 0 8px 22px -8px oklch(0.56 0.23 330 / 0.7);
  animation: hue 8s linear infinite;
}

/* ============ SOCIAL PROOF ============ */
.praise__head { max-width: 60ch; margin-bottom: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.praise__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.6rem);
}
.quote {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.2rem);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, oklch(0.225 0.04 290) 0%, oklch(0.19 0.035 288) 100%);
  transition: transform 0.6s var(--ease), border-color 0.5s;
}
.quote:hover { transform: translateY(-5px); border-color: oklch(1 0 0 / 0.18); }
.quote__stars { color: var(--c-orange); letter-spacing: 0.12em; font-size: 0.95rem; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.quote footer { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.quote__avatar {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; color: #fff;
  background: var(--grad); background-size: 180% 180%;
}
.quote__who { display: flex; flex-direction: column; line-height: 1.25; }
.quote__who b { font-weight: 600; }
.quote__who i { font-style: normal; font-size: 0.85rem; color: var(--faint); }

/* ============ LEAD FORM ============ */
.projet { }
.projet__frame {
  position: relative;
  border-radius: 30px;
  padding: clamp(1.75rem, 1rem + 4vw, 4rem);
  background:
    linear-gradient(180deg, oklch(0.23 0.045 290) 0%, oklch(0.19 0.038 288) 100%);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  overflow: hidden;
}
.projet__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  padding: 1.5px; border-radius: 30px;
  background: var(--grad); background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.55; background-position: 50% 50%;
  pointer-events: none;
}
.projet__copy, .form { position: relative; z-index: 1; }
.projet__copy .lede { margin-top: 1.2rem; }

.form { display: grid; gap: 1.1rem; align-content: start; }
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  font-size: 0.82rem; letter-spacing: 0.04em; font-weight: 600; color: var(--muted);
}
.field input, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: oklch(0.165 0.035 285 / 0.6);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.85em 1em;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%;
}
.field input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--c-magenta);
  box-shadow: 0 0 0 4px oklch(0.63 0.25 350 / 0.18);
  background: oklch(0.18 0.035 285 / 0.8);
}
.field input[type="date"] { color-scheme: dark; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.1em; top: 50%;
  width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select { appearance: none; cursor: pointer; }
.form__submit { margin-top: 0.6rem; width: 100%; }
.form__status { font-size: 0.92rem; color: var(--c-orange); min-height: 1.2em; text-align: center; }

/* direct contact (WhatsApp + email) */
.projet__direct {
  margin-top: 1.6rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.7rem;
}
.projet__direct > span {
  width: 100%; font-size: 0.8rem; letter-spacing: 0.03em; color: var(--muted);
}
.contact-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.04);
  color: var(--ink);
  transition: border-color 0.3s, background 0.3s, transform 0.45s var(--ease);
}
.contact-chip svg { width: 19px; height: 19px; color: var(--muted); transition: color 0.3s; }
.contact-chip:hover { transform: translateY(-2px); border-color: oklch(1 0 0 / 0.25); background: oklch(1 0 0 / 0.07); }
.contact-chip:hover svg { color: var(--ink); }
.contact-chip--wa:hover { border-color: oklch(0.72 0.16 150); }
.contact-chip--wa:hover svg { color: oklch(0.78 0.16 150); }

/* ============ FOOTER ============ */
.site-footer {
  max-width: var(--maxw);
  margin: clamp(2rem, 1rem + 3vw, 4rem) auto 0;
  padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) clamp(1.25rem, 0.5rem + 4vw, 3rem);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.footer__name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.footer__tag { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.05em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--muted); font-size: 0.95rem; }
.footer__links a { transition: color 0.3s; }
.footer__links a:hover { color: var(--ink); }
.footer__icon { display: inline-flex; align-items: center; }
.footer__icon--wa:hover { color: oklch(0.78 0.16 150); }
.footer__legal { color: var(--faint); font-size: 0.85rem; width: 100%; }

/* ============ REVEAL ANIMATION ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* The hero is above the fold and must be visible the instant the page loads —
   never gated by scroll. On short viewports the CTAs sit near/below the fold,
   so the scroll-reveal observer would otherwise hold them at opacity:0 until
   the user scrolled (the reported bug). Hero copy therefore opts out of the
   reveal entrance and renders immediately. */
.hero__copy [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ============ RTL (Hebrew) ============ */
[dir="rtl"] .show__tag { left: auto; right: 1rem; }
[dir="rtl"] .scroll-hint { left: auto; right: clamp(1.25rem, 0.5rem + 4vw, 3rem); }
[dir="rtl"] .nav a::after { transform-origin: right; }
[dir="rtl"] .demo__avatars i { margin-left: 0; margin-right: -8px; }
[dir="rtl"] .demo__avatars i:first-child { margin-right: 0; }
[dir="rtl"] .select-wrap::after { right: auto; left: 1.1em; }

/* Hebrew has no uppercase and reads poorly with wide tracking */
[lang="he"] .kicker,
[lang="he"] .show__tag,
[lang="he"] .show__overline,
[lang="he"] .countdown i,
[lang="he"] .feature__no,
[lang="he"] .pills li {
  letter-spacing: normal;
  text-transform: none;
}
[lang="he"] body { line-height: 1.75; }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .concept__top { grid-template-columns: 1fr; }
  .stage { max-width: 460px; width: 100%; margin-inline: auto; order: -1; }
  .scroll-hint { display: none; }
  .projet__frame { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; }
  .show--wed { grid-column: 1; grid-row: auto; min-height: 500px; }
  .show--wed .wed-monogram { top: 28%; width: clamp(130px, 42%, 180px); }
  .show--bar, .show--gala, .show--party { grid-column: 1; }
  .show__body--row { flex-direction: column; align-items: flex-start; }
  .demo--map { align-items: flex-start; text-align: left; }
}
@media (max-width: 600px) {
  /* Header: drop the redundant CTA (the hero already carries it) so the brand
     and language switcher fit on one line without overflowing the screen. */
  .nav__cta { display: none; }
  .site-header { padding-top: 0.85rem; padding-bottom: 0.85rem; }

  /* Hero CTAs: full-width, equal, stacked — the clean, thumb-friendly pattern.
     (Side-by-side they wrapped to unequal widths and looked ragged on a phone.) */
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero__actions .btn { width: 100%; }
  .btn { padding: 1.05em 1.5em; }

  /* A little less side padding so content breathes edge-to-edge on a phone. */
  .section { padding-left: 1.15rem; padding-right: 1.15rem; }
}

/* ============ REDUCED MOTION ============ */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
