/* פרחי שרוני: five drawn bouquets on a 3D arc (CSS 3D). The background takes the chosen bouquet's colour (--flav),
   and the new colour grows as a circle from the middle. The chosen bouquet (.traveller) travels down the page:
   it flips at each step, spins in a storm of petals, and lands in the builder. Motion lives in js/flowers.js. */
:root {
  --flav: #E7A9B8;
  --forest: #0E2A20;
  --forest-2: #163B2D;
  --cream: #FBF4EA;
  --paper: #F3E7D6;
  --blush: #F4B6C2;
  --rose: #C94F6D;
  --gold: #D9B26F;
  --ink: #12241C;
  --ink-2: #4A5B52;
  --on-dark: #F7EFE4;
  --on-dark-2: #C4D2C9;
  --serif: "Frank Ruhl Libre Variable", "Frank Ruhl Libre", Georgia, serif;
  --sans: "Assistant Variable", "Assistant", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; background: var(--forest); }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--cream); overflow-x: clip; -webkit-tap-highlight-color: transparent; }
body.dragging, body.dragging * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
h1, h2, h3, p { margin: 0; }
h2 { font-family: var(--serif); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 8px; top: -80px; z-index: 120; padding: 10px 14px; border-radius: 10px; background: var(--cream); color: var(--ink); font-weight: 700; }
.skip:focus { top: 8px; }
.demo { position: relative; z-index: 70; padding: 8px 16px; background: #FFD25E; color: #2A2000; font-size: 14px; font-weight: 600; text-align: center; }

/* ---------- intro stamp ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--forest); transition: opacity .5s ease, visibility .5s; }
.intro.out { opacity: 0; visibility: hidden; }
html:not(.js) .intro { display: none; }
.intro__stamp { display: grid; justify-items: center; gap: 14px; color: var(--on-dark); font-family: var(--serif); font-size: 44px; font-weight: 700; animation: stamp .38s ease-out both; }
.intro__stamp svg { width: 84px; height: 84px; }

.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: color-mix(in oklab, var(--forest) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--on-dark); }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 22px; font-weight: 700; text-decoration: none; }
.logo svg { width: 26px; height: 26px; color: var(--blush); }
.top__call { font-weight: 700; text-decoration: none; color: var(--on-dark-2); }

/* ---------- hero: the arc ---------- */
.hero { position: relative; height: calc(100svh - 110px); min-height: 540px; overflow: hidden; background: var(--flav); }
.reveal { position: absolute; inset: 0; background: var(--rv, transparent); }
.rings { position: absolute; left: 50%; top: 42%; width: 1500px; height: 1500px; translate: -50% -50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, .16) 0, rgba(255, 255, 255, .03) 30px, rgba(255, 255, 255, .16) 60px); -webkit-mask-image: radial-gradient(circle, #000 0 22%, rgba(0, 0, 0, .55) 34%, transparent 52%); mask-image: radial-gradient(circle, #000 0 22%, rgba(0, 0, 0, .55) 34%, transparent 52%); opacity: 0; scale: .85; transition: opacity 1.1s ease-out, scale 1.1s ease-out; }
.hero.in .rings { opacity: 1; scale: 1; }
.stage { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 42%; }
.bq { position: absolute; left: 0; top: 0; width: 240px; height: 300px; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
.bq svg, .traveller svg { width: 100%; height: 100%; overflow: visible; }
.tv__shadow { display: none; }
.bq__unused { content: ""; position: absolute; left: 22%; right: 22%; bottom: -5%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 18, 40, .38), transparent); z-index: -1; }
.arc { position: absolute; inset: 0; z-index: 4; cursor: grab; touch-action: pan-y; }
.hero__name { position: absolute; top: 16px; inset-inline: 0; z-index: 60; padding: 0 70px; text-align: center; font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); pointer-events: none; }
.hero__name span { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; opacity: .7; }
.title { position: absolute; left: 0; right: 0; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 60; text-align: center; font-family: var(--serif); font-weight: 900; font-size: clamp(54px, 15vw, 128px); line-height: 1; color: var(--ink); pointer-events: none; }
.title .w { display: inline-block; overflow: hidden; padding: .08em .02em; white-space: nowrap; vertical-align: bottom; }
.title .l { display: inline-block; }
.count { position: absolute; top: 62px; inset-inline-end: 14px; z-index: 1; font-family: var(--serif); font-weight: 900; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .92); opacity: 0; transition: opacity .6s .62s; }
.next { position: absolute; left: 50%; bottom: calc(118px + env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 50px; height: 50px; margin-left: -25px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 6px 20px rgba(40, 28, 60, .14); opacity: 0; transition: opacity .6s .5s, transform .15s; }
.next svg { width: 20px; height: 20px; transition: transform .15s; }
.next:hover { transform: scale(1.08); }
.next:hover svg { transform: translateX(-2px); }
.next:active { transform: scale(.94); }
.auto { position: absolute; top: 74px; inset-inline-start: 14px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 6px; border: 0; background: none; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; cursor: pointer; opacity: 0; transition: opacity .6s .74s; }
.auto__ring { display: grid; place-items: center; width: 26px; height: 26px; border: 1.3px solid #fff; border-radius: 50%; }
.auto__pause { width: 8px; height: 9px; border-inline: 2.5px solid #fff; }
.auto.off .auto__pause { width: 0; height: 0; border: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-inline-end: 8px solid #fff; margin-inline-end: 2px; }
.hero.in .count, .hero.in .next, .hero.in .auto { opacity: 1; }
.bits { position: absolute; inset: 0; pointer-events: none; }
.bit { position: absolute; width: var(--s); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--gold) 0 15%, transparent 16%), conic-gradient(from 10deg, #fff 0 12%, transparent 12% 20%, #fff 20% 32%, transparent 32% 40%, #fff 40% 52%, transparent 52% 60%, #fff 60% 72%, transparent 72% 80%, #fff 80% 92%, transparent 92%); filter: blur(1.5px); opacity: 0; rotate: var(--r); }
.hero.in .bit { animation: bit-in .9s ease both, drift var(--d) ease-in-out infinite alternate; }
.bit:nth-child(1) { left: 8%; top: 18%; --s: 70px; --r: -18deg; --d: 7s; animation-delay: .3s, 0s; }
.bit:nth-child(2) { left: 84%; top: 22%; --s: 56px; --r: 22deg; --d: 7.9s; animation-delay: .39s, 0s; }
.bit:nth-child(3) { left: 4%; top: 62%; --s: 48px; --r: 12deg; --d: 8.8s; animation-delay: .48s, 0s; }
.bit:nth-child(4) { left: 66%; top: 12%; --s: 44px; --r: -10deg; --d: 9.7s; animation-delay: .57s, 0s; }
.bit:nth-child(5) { left: 88%; top: 60%; --s: 40px; --r: 30deg; --d: 10.6s; animation-delay: .66s, 0s; }

/* ---------- the travelling bouquet ---------- */
.tv-layer { position: fixed; inset: 0; z-index: 30; overflow: hidden; pointer-events: none; }
.traveller { position: absolute; left: 0; top: 0; width: 240px; height: 300px; transform-style: preserve-3d; pointer-events: none; visibility: hidden; will-change: transform; }
.tv__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tv__back { display: grid; place-items: center; transform: rotateY(180deg); }
.tv__card { display: grid; gap: 10px; width: 86%; padding: 18px 16px; border-radius: 26px; background: #EFE7DC; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .5); text-align: start; }
.tv__card b { font-size: 15px; color: #075E54; }
.tv__bubble { justify-self: start; max-width: 94%; padding: 10px 12px; border-radius: 14px 14px 14px 3px; background: #D9FDD3; color: #111; font-size: 18px; line-height: 1.4; }
.tv__time { justify-self: start; font-size: 12px; color: #4F8A74; }
.tv__shadow { transform: translateZ(-30px); }

/* ---------- the flowers ---------- */
.fl { transform-box: fill-box; transform-origin: center; animation: bloom .9s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
.lf { transform-box: fill-box; transform-origin: bottom center; animation: leaf .8s ease-out both; animation-delay: calc(var(--i, 0) * 50ms); }
.stem { stroke: #3E7A57; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-dasharray: 400; animation: grow .7s ease-out both; }
.quiet .fl, .quiet .lf, .quiet .stem { animation: none; }
.sway { transform-box: view-box; transform-origin: 150px 340px; animation: sway 6s ease-in-out infinite; }

/* ---------- section 2: how to order, pinned ---------- */
.inside { position: relative; height: 420vh; background: var(--flav); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.in-dark { position: absolute; inset: 0; background: #120d16; opacity: 0; }
.storm { position: absolute; inset: 0; width: 100%; height: 100%; }
.in-num { position: absolute; left: 50%; top: 52%; translate: -50% -50%; font-family: var(--serif); font-weight: 900; font-size: clamp(210px, 56vw, 430px); line-height: 1; color: transparent; -webkit-text-stroke: 1.6px rgba(255, 255, 255, .85); }
.in-box { position: absolute; left: 50%; top: 53%; width: min(62vw, 300px); aspect-ratio: 240 / 300; translate: -50% -50%; }
.in-head { position: absolute; inset-inline: 18px; top: 70px; font-size: clamp(40px, 11vw, 88px); line-height: .95; color: var(--ink); }
.in-head span { display: inline-block; }
.in-cap { position: absolute; left: 18px; right: 18px; bottom: 96px; font-size: 17px; font-weight: 700; color: var(--ink); text-align: center; }
.in-icons { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; gap: 10px; }
.in-icons button { display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid rgba(18, 36, 28, .55); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background .3s, color .3s; }
.in-icons button svg { width: 24px; height: 24px; }
.in-icons button[aria-current="step"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- the builder ---------- */
.build { padding: 70px 16px 76px; background: var(--cream); }
.build__head { text-align: center; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.eyebrow--dark { color: var(--rose); }
.build h2, .sec h2 { font-size: clamp(40px, 11vw, 64px); }
.sub { max-width: 32ch; margin: 12px auto 0; color: var(--ink-2); }
.build__stage { position: relative; width: min(100%, 360px); margin: 24px auto 0; padding: 18px; border-radius: 50% 50% 40px 40px / 40% 40% 40px 40px; background: radial-gradient(circle at 50% 40%, #fff, var(--paper) 70%); }
.bouquet--build { width: 100%; }
.tag { position: absolute; left: 10px; bottom: 54px; padding: 8px 12px 8px 14px; border-radius: 6px; background: var(--cream); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .3); transform: rotate(-8deg); font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--rose); }
.tag::before { content: ""; position: absolute; right: -10px; top: 50%; width: 10px; height: 2px; background: var(--gold); }
.tag.pop { animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.build__opts { max-width: 520px; margin: 26px auto 0; }
.opt { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; }
.opt legend { width: 100%; margin-bottom: 8px; padding: 0; font-weight: 800; }
.opt button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1.5px #E2D5C2; touch-action: manipulation; transition: background .2s, color .2s, transform .1s; }
.opt button:active { transform: scale(.96); }
.opt button[aria-pressed="true"] { background: var(--forest); color: var(--on-dark); box-shadow: none; }
.dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.dot--pink { background: #F4B6C2; } .dot--sun { background: #F5C518; } .dot--pastel { background: linear-gradient(135deg, #A9C4E8 50%, #8FA88B 50%); } .dot--red { background: #B5172F; }
.dot--mix { background: conic-gradient(#F4B6C2, #FFD166, #E0607E, #9B7EDE, #FF9F68, #F4B6C2); }
.summary { margin: 6px 0 16px; padding: 14px 16px; border-radius: 16px; background: #fff; font-family: var(--serif); font-size: 20px; font-weight: 700; text-align: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; font-size: 18px; font-weight: 700; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.btn:active { transform: translateY(3px); }
.btn svg { width: 22px; height: 22px; }
.btn--wa { width: 100%; background: var(--forest); color: var(--on-dark); box-shadow: 0 5px 0 #061811, 0 18px 34px -14px rgba(14, 42, 32, .7); }
.btn--blush { background: var(--forest); color: var(--on-dark); box-shadow: 0 5px 0 #061811; }
.btn--line { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(247, 239, 228, .35); }
.fine { margin-top: 12px; color: var(--ink-2); font-size: 15px; text-align: center; }

/* ---------- reviews, hours, end ---------- */
.sec { padding: 72px 16px; background: var(--forest); color: var(--on-dark); text-align: center; }
.rate { margin-top: 10px; color: var(--on-dark-2); font-size: 15px; }
.rate b { color: var(--on-dark); }
.stars { color: var(--gold); letter-spacing: 2px; }
.revs { display: grid; gap: 16px; max-width: 1000px; margin: 30px auto 0; text-align: start; }
.rev { position: relative; margin: 0; padding: 26px 22px 22px; border-radius: 22px; background: var(--cream); color: var(--ink); overflow: hidden; box-shadow: 0 24px 40px -30px rgba(0, 0, 0, .8); }
.rev p { position: relative; font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.rev figcaption { position: relative; margin-top: 12px; color: var(--ink-2); font-size: 15px; font-weight: 700; }
.rev__flower { position: absolute; top: -26px; left: -26px; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, var(--gold) 0 14%, transparent 15%), conic-gradient(from 0deg, var(--blush) 0 12%, transparent 12% 20%, var(--blush) 20% 32%, transparent 32% 40%, var(--blush) 40% 52%, transparent 52% 60%, var(--blush) 60% 72%, transparent 72% 80%, var(--blush) 80% 92%, transparent 92%); opacity: .55; }
.more { display: inline-block; margin-top: 24px; color: var(--blush); font-weight: 700; }
.sec--deep { background: var(--forest-2); }
.visit { display: grid; gap: 16px; max-width: 520px; margin: 26px auto 0; }
.now { display: inline-flex; align-items: center; gap: 10px; justify-self: center; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 700; --dot: #6EE7A0; }
.now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 10px var(--dot); }
.now.is-closed { --dot: var(--blush); }
.addr { color: var(--on-dark-2); }
.hours { margin: 0; padding: 6px 20px; border-radius: 22px; background: var(--forest); text-align: start; }
.hours div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--on-dark-2); }
.hours .is-today dt, .hours .is-today dd { color: var(--blush); }
.hours .is-today dt::after { content: " · היום"; font-weight: 600; }
.end { padding: 80px 16px 90px; background: linear-gradient(160deg, var(--blush), #F9D6DC 60%, var(--cream)); text-align: center; }
.end h2 { font-size: clamp(40px, 11vw, 66px); color: var(--ink); }
.end p { margin: 12px 0 26px; color: var(--ink-2); font-size: 19px; }
.foot { padding: 24px 16px 100px; background: var(--forest); color: var(--on-dark-2); font-size: 14px; text-align: center; }
.foot a { color: var(--on-dark); }
.sticky { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; background: var(--blush); color: var(--ink); font-size: 17px; font-weight: 800; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .25s, opacity .25s; }
.sticky.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.plain { max-width: 720px; margin: 0 auto; padding: 48px 16px; }
.plain h1 { margin-bottom: 16px; font-family: var(--serif); font-size: 36px; }
.plain h2 { margin: 24px 0 8px; font-size: 24px; }
.plain p, .plain li { color: var(--ink-2); }

html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .revs .rev:nth-child(2) { transition-delay: .12s; } html.js .revs .rev:nth-child(3) { transition-delay: .24s; }

@keyframes stamp { 0% { scale: .72; opacity: 0; } 70% { scale: 1.04; opacity: 1; } 100% { scale: 1; opacity: 1; } }
@keyframes bloom { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes leaf { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes grow { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes pop { 0% { transform: rotate(-8deg) scale(.6); } 100% { transform: rotate(-8deg) scale(1); } }
@keyframes bit-in { to { opacity: .6; } }
@keyframes drift { to { translate: 12px -24px; rotate: calc(var(--r) + 11deg); } }

@media (min-width: 820px) {
  .hero { height: calc(100svh - 92px); min-height: 640px; }
  .hero__name { font-size: 26px; }
  .title { bottom: 34px; }
  .count { top: 90px; inset-inline-end: 6vw; font-size: 180px; }
  .next { bottom: 170px; width: 54px; height: 54px; margin-left: -27px; }
  .auto { top: 96px; inset-inline-start: 6vw; }
  .in-head { inset-inline: 7vw auto; top: 30%; max-width: 30vw; }
  .in-cap { left: auto; right: 7vw; bottom: 30%; max-width: 24ch; text-align: right; font-size: 19px; }
  .in-icons { left: 6vw; bottom: auto; top: 30%; translate: none; display: grid; grid-template-columns: 66px 66px; }
  .in-icons button { width: 66px; height: 66px; }
  .in-box { width: min(26vw, 330px); }
  .build { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; align-items: center; max-width: 1100px; margin: 0 auto; }
  .build__head { grid-column: 1 / -1; }
  .revs { grid-template-columns: repeat(3, 1fr); }
  .sticky { display: none; }
  .foot { padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .bit { opacity: .55; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- the real bouquets: one row of turntable frames per bouquet; two layers cross-fade between frames ---------- */
.bqimg { position: relative; display: block; width: 100%; height: 100%; }
.bouquet--build.bqimg { height: auto; aspect-ratio: 240 / 300; }
.bqimg > span { position: absolute; inset: 0; background-repeat: no-repeat; background-position: 0 0; background-size: 2000% 100%; }
.bqimg > span + span { opacity: 0; }
.s-pink > span { background-image: url(images/bq-pink.webp); }
.s-sun > span { background-image: url(images/bq-sun.webp); }
.s-pastel > span { background-image: url(images/bq-pastel.webp); background-size: 1600% 100%; }
.s-red > span { background-image: url(images/bq-red.webp); background-size: 1600% 100%; }
.price-tag { position: absolute; top: 80px; left: 50%; z-index: 60; translate: -50% 0; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.price-tag b { font-size: 17px; }
@media (min-width: 820px) { .price-tag { top: 96px; } }
