/* =========================================================
   יקב צבי – דף הבית · סקשנים 1–2
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "TA Brutalist"; src: url("../assets/fonts/telaviv-brutalistlight.otf") format("opentype");   font-weight: 300; font-display: swap; }
@font-face { font-family: "TA Brutalist"; src: url("../assets/fonts/telaviv-brutalistregular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TA Brutalist"; src: url("../assets/fonts/telaviv-brutalistbold.otf") format("opentype");    font-weight: 700; font-display: swap; }
@font-face { font-family: "Polin"; src: url("../assets/fonts/Polin-Regular.otf") format("opentype");  font-weight: 400; font-display: swap; }
@font-face { font-family: "Polin"; src: url("../assets/fonts/Polin-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }

/* ---------- Tokens (Design system / צבעוניות) ---------- */
:root {
  --white:  #F8F8F8;   /* לבן של האתר */
  --ink:    #39362F;   /* שחור של האתר */
  --accent: #F4AA94;   /* צבע המותג */
  --blush:  #FFE9E3;   /* צבע בהיר */
  --copper: #C39677;   /* logo building */

  --f-display: "TA Brutalist", "Polin", system-ui, sans-serif;
  --f-body:    "Polin", "TA Brutalist", system-ui, sans-serif;

  --pad: 6.6vw;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--white); -webkit-text-size-adjust: 100%; overflow-x: hidden; }   /* RTL + 100vw layers would otherwise open a sideways scroll */
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* screen-reader only */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* masked line reveal */
.ln { display: block; overflow: hidden; padding: 0 .14em .06em; margin: 0 -.14em -.06em; }
.ln-i { display: block; will-change: transform; }

/* =========================================================
   Header – sticky across the whole site
   ========================================================= */
.hdr { position: fixed; inset: 0 0 auto 0; height: 0; z-index: 60; }

/* ---- the bar: logo (right) + links, always open ---- */
.bar {
  position: fixed; top: 18px; right: var(--pad);
  display: flex; align-items: center;
  height: 60px; padding: 0 10px 0 6px;
  border: 1px solid rgba(57, 54, 47, .12); border-radius: 999px;
  background: rgba(248, 248, 248, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -22px rgba(57, 54, 47, .45);
}
.bar-label { flex: none; display: grid; place-items: center; height: 100%; padding: 0 22px 0 18px; }
.bar-label img { height: 38px; width: auto; }

.bar-nav { height: 100%; }
.bar-links { position: relative; display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 6px 0 20px; white-space: nowrap; }
/* sliding marker – follows the section the visitor is in (js/nav.js) */
.bar-ind {
  position: absolute; z-index: 0; left: 0; top: 50%; width: 0; height: 44px; margin-top: -22px;
  border-radius: 999px; background: var(--ink);
  opacity: 0; pointer-events: none; will-change: transform, width;
}
.bar-links a {
  position: relative; z-index: 1; padding: 0 16px; border-radius: 999px;
  font: 400 15px/44px var(--f-body); color: var(--ink);
  transition: color .45s var(--ease-out);
}
.bar-links a.is-active { color: var(--white); }
/* hover: the outline of the active pill draws itself around the link (a conic mask sweeps from the bottom) */
@property --draw { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.bar-links a::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1.5px solid var(--ink); pointer-events: none;
  --draw: 0deg;
  -webkit-mask: conic-gradient(from 180deg, #000 var(--draw), transparent 0);
          mask: conic-gradient(from 180deg, #000 var(--draw), transparent 0);
  transition: --draw .3s var(--ease-out);
}
.bar-links a:not(.is-active):hover::after,
.bar-links a:not(.is-active):focus-visible::after { --draw: 360deg; transition-duration: .7s; }

.bar-menu { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); }
.bar-menu span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--white); transition: transform .45s var(--ease-out); }
.bar-menu span:nth-child(1) { top: 17px; }
.bar-menu span:nth-child(2) { top: 23px; }
.bar-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.bar-menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 55;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
}
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mnav a { font: 700 clamp(28px, 8vw, 40px)/1.25 var(--f-display); padding: 4px 18px; border-radius: 999px; }
.mnav a.is-active { background: var(--ink); color: var(--white); }

/* =========================================================
   Story stage (sections 1 + 2, pinned)
   ========================================================= */
.story { position: relative; height: 100vh; }
.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--white);
}
/* engraved wave behind the placed photo (section 1) – sits under the canvas, stops before the headline */
.hero-wave {                     /* runs edge to edge: behind the photo, then under the paragraph and off the right side */
  position: absolute; z-index: 0; left: -12vw; top: 64.5vh;
  width: 124vw; max-width: none; height: auto;
  transform: rotate(1.6deg) scaleY(.5); transform-origin: 50% 0;   /* threads between the paragraph (right) and the timeline (left) */
  pointer-events: none;
}
.film {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.scrim { position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none; }
.scrim-side   { background: linear-gradient(to left, rgba(28, 25, 20, .7) 0%, rgba(28, 25, 20, .42) 36%, rgba(28, 25, 20, 0) 64%); }
.scrim-bottom { background: linear-gradient(to top,  rgba(28, 25, 20, .62) 0%, rgba(28, 25, 20, 0) 36%); }

/* ---------- Section 1 ---------- */
.s1 { --fg: #39362F; position: absolute; inset: 0; z-index: 3; color: var(--fg); pointer-events: none; }

.s1-copy {
  position: absolute;
  right: var(--pad);
  top: 31vh;
  text-align: right;
  display: flex; flex-direction: column; align-items: flex-start;   /* RTL: start = right edge */
}
.s1-title {
  margin: 0;
  white-space: nowrap;
  font: 700 clamp(46px, 6.4vw, 116px)/.98 var(--f-display);
  letter-spacing: -.012em;
}
.s1-lead {
  max-width: min(46vw, 640px);
  margin: clamp(18px, 2.4vh, 30px) 0 0;
  font-size: clamp(15px, 1.27vw, 20px);
  line-height: 1.5;
}
.s1-lead strong { font-weight: 600; }

/* timeline */
.tl {
  position: absolute;
  left: 8.9vw; top: 83vh; width: 27.6vw;
  color: var(--fg);
  font-family: var(--f-display);
}
.tl-track { position: relative; height: 2px; }
.tl-track::before {
  content: ""; position: absolute; inset: 0;
  background: currentColor; opacity: .22; border-radius: 2px;
}
.tl-fill {
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  border-radius: 2px;
}
.tl-dot {
  position: absolute; top: 50%;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), transform .5s var(--ease-out);
}
.tl-dot.is-past { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.15); }
.tl-dot b, .tl-dot i {
  position: absolute; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-style: normal;
  direction: rtl;
}
.tl-dot b { top: 16px; font-weight: 700; font-size: 14px; }
.tl-dot i { top: 34px; font-weight: 300; font-size: 12.5px; opacity: .7; transition: opacity .4s var(--ease-out); }
.tl-dot b:empty { display: none; }
.tl-dot b:empty + i { top: 16px; }
.tl-dot.is-past i { opacity: 1; }
.tl-dot[data-at="0"] b, .tl-dot[data-at="0"] i { left: -5px; transform: none; }
.tl-dot[data-at="1"] b, .tl-dot[data-at="1"] i { left: auto; right: -5px; transform: none; }

.tl-head { position: absolute; top: 50%; left: 0; width: 0; height: 0; z-index: 2; }
.tl-head::before {
  content: ""; position: absolute; left: -8px; top: -8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 5px rgba(244, 170, 148, .28);
}
.tl-year {
  position: absolute; bottom: 16px; left: 0;
  transform: translateX(-50%);
  padding: 7px 13px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font: 700 16px/1 var(--f-display);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 3.2vh; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .04em; color: var(--ink);
}
.scroll-cue i { display: block; width: 1px; height: 34px; background: currentColor; transform-origin: 50% 0; animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: 50% 0; }
  45% { transform: scaleY(1); transform-origin: 50% 0; }
  55% { transform: scaleY(1); transform-origin: 50% 100%; }
  100% { transform: scaleY(0); transform-origin: 50% 100%; }
}

/* ---------- Section 2 ---------- */
.s2 { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.el { position: absolute; visibility: hidden; will-change: transform; }
.el img { width: 100%; height: auto; }
.el-i { will-change: transform; }
.el-ground { z-index: 1; }
.el-ground img { width: 100%; height: 100%; object-fit: fill; }
.el-wind { z-index: 2; }
.el-sun  { z-index: 3; }
.el-rain { z-index: 4; }
.el-sun .el-i { transform-origin: 50% 50%; }

.bottle-shadow {
  position: absolute; z-index: 5; visibility: hidden;
  background: radial-gradient(closest-side, rgba(57, 54, 47, .30), rgba(57, 54, 47, 0));
}
.s2-bottle {
  position: absolute; z-index: 6;
  visibility: hidden;
  max-width: none;
  transform-origin: 0 0;
  will-change: transform;
}

.s2-copy {
  position: absolute; z-index: 7;
  text-align: right;
  visibility: hidden;
  color: var(--ink);
}
.s2-pre, .s2-post {
  margin: 0;
  font: 300 clamp(15px, 1.3vw, 21px)/1.38 var(--f-display);
}
.s2-pre strong, .s2-post strong { font-weight: 700; }
.s2-words {
  display: grid;
  align-items: center;
  margin: .1em 0 .12em;
}
.s2-words .w {               /* each word is its own mask */
  grid-area: 1 / 1;
  display: block;
  overflow: hidden;
  padding: 0 .16em .06em;      /* side room so the first/last letter is never shaved */
  margin: 0 -.16em;
  font: 700 clamp(50px, 5.3vw, 96px)/1.02 var(--f-display);
  letter-spacing: -.012em;
}
.s2-words .w-i { display: block; will-change: transform; }
.s2-words { position: relative; }
.s2-words .w-all { position: absolute; top: 0; left: 0; right: 0; }   /* finale: does not stretch the single-word row */
.s2-words .w-all { font-size: clamp(26px, 2.5vw, 46px); line-height: 1.08; white-space: nowrap; }

/* ---------- stacked layout (tablet portrait / mobile) ---------- */
@media (max-width: 1199px) {
  .bar-nav { display: none; }          /* narrow screens: logo + a small button that opens the full-screen menu */
  .bar-menu { display: block; }
  .bar { padding: 0 8px 0 8px; }
  .bar-label { padding: 0 14px 0 18px; }
}
@media (max-width: 899px) {
  :root { --pad: 6vw; }
  .bar { top: 14px; height: 54px; right: calc(var(--pad) - 4px); }
  .bar-label img { height: 32px; }
  .bar-menu { width: 38px; height: 38px; }
  .bar-menu span:nth-child(1) { top: 15px; }
  .bar-menu span:nth-child(2) { top: 21px; }
  .s1-copy { top: 17vh; width: auto; left: var(--pad); }
  .s1-title { font-size: clamp(40px, 11.5vw, 78px); }
  .s1-lead { font-size: 15px; max-width: none; }
  .s1-lead .ln { display: inline; overflow: visible; }
  .s1-lead .ln-i { display: inline; }
  .tl { left: 6vw; width: 88vw; top: 86vh; }
  .hero-wave { left: -25vw; top: 70vh; width: 150vw; transform: rotate(-2deg) scaleY(.8); }
  .scroll-cue { display: none; }
}
html.is-stacked .s2-copy { text-align: center; }
html.is-stacked .scrim-side { background: linear-gradient(to bottom, rgba(28, 25, 20, .62) 0%, rgba(28, 25, 20, .38) 38%, rgba(28, 25, 20, 0) 62%); }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i { animation: none; }
}


/* =========================================================
   Section 3 – visit / events
   ========================================================= */
.s3 {                      /* rises OVER the last stretch of the pinned story → parallax hand-off */
  position: relative; z-index: 5;
  margin-top: -50vh;
}
.s3-stage { position: relative; z-index: 1; height: 100vh; overflow: hidden; }

/* ---------- switch ---------- */
.sw-wrap { position: absolute; z-index: 6; top: clamp(92px, 12vh, 120px); left: 0; right: 0; width: fit-content; margin-inline: auto; }   /* centred without transform – GSAP animates its transform */
/* same language as the navigation bar: white glass pill, dark sliding marker, no extra tab */
.sw {
  position: relative; z-index: 1;
  display: flex; width: clamp(330px, 30vw, 420px); height: 60px; padding: 6px;
  border: 1px solid rgba(57, 54, 47, .12); border-radius: 999px;
  background: rgba(248, 248, 248, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -22px rgba(57, 54, 47, .45);
}
.sw-knob {
  position: absolute; z-index: 1; top: 6px; bottom: 6px; right: 6px; width: calc(50% - 6px);
  border-radius: 999px; background: var(--ink);
  will-change: transform;
}
.sw-btn {
  position: relative; z-index: 2; flex: 1;
  font: 700 15px/1 var(--f-display); color: var(--ink);
  border-radius: 999px;
  transition: color .45s var(--ease-out);
}
.sw-btn.is-on { color: var(--white); }
.sw-btn:not(.is-on):hover { color: var(--accent); }

.sw-cards { position: absolute; z-index: 0; top: 50%; width: 0; height: 0; pointer-events: none; }
.sw-cards[data-for="visit"]  { left: 73%; }
.sw-cards[data-for="events"] { left: 27%; }
.sw-card {
  position: absolute; left: -78px; top: -98px; width: 156px; height: 196px;
  margin: 0; padding: 6px; border-radius: 16px; background: #fff;
  box-shadow: 0 24px 50px -22px rgba(57, 54, 47, .55), 0 2px 6px rgba(57, 54, 47, .12);
  opacity: 0; will-change: transform;
}
.sw-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }

/* ---------- panels ---------- */
.s3-panels { position: absolute; inset: 0; z-index: 2; }
.panel { position: absolute; inset: 0; visibility: hidden; }
.panel.is-on { visibility: visible; }

.hours-strip {
  position: absolute; left: 50%; top: var(--strip-top, 178px);
  display: flex; align-items: center; gap: 14px;
  padding: 11px 24px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font: 400 14px/1 var(--f-display); white-space: nowrap;
  visibility: hidden;
}
.hours-strip b { color: var(--accent); font-weight: 700; margin-left: 6px; }
.hours-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* the invitation */
.invite {
  position: absolute; left: 50%; top: var(--inv-top, 232px); bottom: clamp(16px, 3vh, 30px);
  width: min(1180px, 90vw);
  border-radius: 22px; overflow: hidden;
  background: #1D1A16;
  box-shadow: 0 40px 90px -50px rgba(28, 25, 20, .7);
  visibility: hidden;
}
.invite-media { position: absolute; inset: 0; }
.invite-video { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; display: block; }
.invite-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(26, 23, 19, .94) 0%, rgba(26, 23, 19, .86) 38%, rgba(26, 23, 19, .4) 54%, rgba(26, 23, 19, 0) 66%),
    linear-gradient(to top, rgba(26, 23, 19, .28), rgba(26, 23, 19, 0) 35%);
}
.invite-frame { position: absolute; inset: 14px; border: 1px solid rgba(248, 248, 248, .26); border-radius: 13px; pointer-events: none; }
.invite-body {                      /* text on the LEFT – the glass in the film sits right of centre */
  position: absolute; top: 0; bottom: 0; left: 0; width: 54%;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(26px, 4vh, 48px) clamp(32px, 3.6vw, 60px);
  color: var(--white);
}
.inv-kicker { margin: 0 0 10px; font: 700 12.5px/1 var(--f-display); letter-spacing: .08em; color: var(--accent); }
.inv-title  { margin: 0 0 clamp(12px, 2.4vh, 26px); font: 700 clamp(28px, min(3vw, 5vh), 50px)/1.02 var(--f-display); letter-spacing: -.01em; }
.inv-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vh, 22px) clamp(20px, 2.4vw, 36px); }
.inv-item   { padding-top: 12px; border-top: 1px solid rgba(248, 248, 248, .2); }
.inv-item-wide { grid-column: 1 / -1; }
.inv-label  { display: block; margin-bottom: 7px; font: 700 12.5px/1 var(--f-display); letter-spacing: .04em; color: var(--accent); }
.inv-big    { display: block; margin-bottom: 4px; font: 700 clamp(26px, 3.8vh, 38px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.inv-big small { font-size: .42em; font-weight: 400; opacity: .8; }
.inv-item p { margin: 0 0 3px; font: 400 clamp(12.5px, 1.6vh, 15px)/1.42 var(--f-body); color: rgba(248, 248, 248, .84); }
.inv-item p strong { font-weight: 600; color: var(--white); }
.inv-cta    { align-self: end; justify-self: start; }

.btn-accent {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 32px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  font: 700 16px/1 var(--f-display);
  transition: background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn-accent:hover { background: var(--blush); transform: translateY(-2px); }
.invite .btn-accent:hover { background: var(--white); }

/* ---------- events ---------- */
.panel-events {
  display: grid; grid-template-columns: 38% 1fr; align-items: center; gap: 5vw;
  padding: calc(clamp(92px, 12vh, 120px) + 100px) 7vw 6vh;
}
.ev-tag { margin: 0 0 10px; height: 1.25em; overflow: hidden; font: 700 clamp(22px, 2vw, 32px)/1.2 var(--f-display); color: var(--accent); }
.ev-tag-i { display: block; }
.ev-title { margin: 0 0 22px; font: 700 clamp(40px, 4.1vw, 74px)/1.02 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.ev-text { margin: 0 0 30px; max-width: 30em; font: 400 clamp(15px, 1.2vw, 18px)/1.6 var(--f-body); }
.ev-copy > * { will-change: transform; }

.ev-gallery { position: relative; height: min(62vh, 560px); }
/* engraved wave (גל) running behind the tiles, out to the page edge */
.ev-wave {                     /* edge to edge: behind the tiles, then dipping under the button and off the right side */
  position: absolute; z-index: 0; left: -14vw; top: 71%;
  width: 118vw; max-width: none; height: auto;
  transform: rotate(2.8deg); transform-origin: 0 50%;
  pointer-events: none;
}
.tile {
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: min(22vw, 340px); aspect-ratio: 9 / 10;
  border-radius: 16px; overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(57, 54, 47, .6);
  will-change: transform;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, rgba(20, 18, 15, .55), rgba(20, 18, 15, 0)); }
.tile figcaption {
  position: absolute; z-index: 1; right: 16px; bottom: 14px;
  display: flex; align-items: center; gap: 7px;
  font: 700 12px/1 var(--f-display); color: var(--white); letter-spacing: .04em;
}
.tile figcaption i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- section 3 on narrow screens: no pin, stacked ---------- */
@media (max-width: 899px) {
  .s3-stage { height: auto; overflow: visible; padding: 96px 5vw 64px; }
  .sw-wrap { position: relative; top: auto; left: auto; right: auto; width: auto; display: flex; justify-content: center; margin-bottom: 26px; }
  .sw { width: min(100%, 380px); }
  .sw-cards { display: none; }        /* no photo cards on phones – they cover the content */
  .sw-card { width: 120px; height: 150px; left: -60px; top: -75px; }
  .s3-panels { position: relative; inset: auto; }
  .panel { position: relative; inset: auto; display: none; }
  .panel.is-on { display: block; }
  .hours-strip { display: none; }
  .invite { position: relative; left: auto; top: auto; bottom: auto; width: 100%; transform: none; visibility: visible; }
  .invite-media { position: relative; height: 62vw; }
  .invite-scrim { height: 62vw; background: linear-gradient(to top, #1D1A16 0%, rgba(29, 26, 22, 0) 45%); }
  .invite-body { position: relative; width: 100%; padding: 6px 24px 30px; }
  .inv-grid { grid-template-columns: 1fr; }
  .panel-events { display: none; padding: 0; }
  .panel-events.is-on { display: block; }
  .ev-copy { text-align: right; margin-bottom: 28px; }
  .ev-gallery { height: 104vw; overflow: visible; }
  .ev-wave { left: -45vw; right: auto; width: 190vw; top: 66%; transform: none; }
  .tile { width: 56vw; }
  .ev-title { font-size: clamp(36px, 10vw, 56px); }
}


/* =========================================================
   Section 4 – wine collection
   ========================================================= */
.s4 {
  --bh: min(46vh, 450px);              /* height of the bottle in focus */
  position: relative; z-index: 6;
  padding: clamp(92px, 11vh, 120px) 0 clamp(50px, 7vh, 80px);
  background: var(--white);
  overflow: hidden;
}
.s4-head { position: relative; text-align: center; padding: 0 7vw; }
.s4-title { margin: 0; font: 700 clamp(34px, 3.4vw, 58px)/1.05 var(--f-display); letter-spacing: -.01em; }
.s4-shop {                                   /* vertically centred on the title without transform – GSAP animates its transform */
  position: absolute; left: 11vw; top: 0; bottom: 0; margin: auto 0;
  height: 46px; padding: 0 24px; font-size: 14px;
}

.s4-stage { position: relative; height: calc(var(--bh) + 260px); margin-top: clamp(18px, 3vh, 36px); }
.wine-bottles { position: absolute; inset: 0; }
.wine-bottle {
  position: absolute; left: 50%; top: 0;
  height: var(--bh); width: auto; max-width: none;
  transform-origin: 50% 100%;
  will-change: transform, filter;
  filter: drop-shadow(0 26px 22px rgba(57, 54, 47, .16));
  cursor: pointer;
}

.wine-arrow {
  position: absolute; z-index: 6; top: calc(var(--bh) * .42);
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--ink); background: rgba(248, 248, 248, .85);
  display: grid; place-items: center;
  transition: background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.wine-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wine-arrow:hover { background: var(--accent); transform: scale(1.06); }
.wine-prev { right: calc(50% - min(37vw, 560px)); }
.wine-next { left:  calc(50% - min(37vw, 560px)); }

.wine-card {
  position: absolute; z-index: 2; left: 50%; top: calc(var(--bh) * .86);
  width: min(400px, 88vw); margin-left: calc(min(400px, 88vw) / -2);
  padding: calc(var(--bh) * .14 + 16px) 34px 20px;
  border: 1.5px solid var(--accent);                /* צבע המותג */
  border-radius: 6px;
  background: var(--white);
  box-shadow: 12px 14px 0 var(--blush), 0 24px 50px -18px rgba(244, 170, 148, .55);   /* צל בגוון הבהיר */
  text-align: center;
}
.wine-card p { margin: 0; }
.wine-meta { font: 700 11.5px/1 var(--f-display); letter-spacing: .06em; color: rgba(57, 54, 47, .55); margin-bottom: 8px !important; }
.wine-name { margin: 0; font: 700 clamp(26px, 2.1vw, 34px)/1.05 var(--f-display); }
.wine-year { font: 300 16px/1.3 var(--f-display); margin-bottom: 8px !important; }
.wine-desc { min-height: 4.4em; font: 400 14px/1.5 var(--f-body); color: rgba(57, 54, 47, .86); margin-bottom: 14px !important; }
.wine-swap { display: inline-block; will-change: transform, opacity; }
.btn-ink {
  display: inline-flex; align-items: center; height: 44px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--white); font: 700 14px/1 var(--f-display);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.btn-ink:hover { background: var(--accent); color: var(--ink); }
.wine-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.wine-dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(57, 54, 47, .25); transition: width .45s var(--ease-out), background-color .45s; }
.wine-dots button.is-on { width: 22px; border-radius: 4px; background: var(--ink); }

/* free shipping – the crate */
.crate { position: absolute; z-index: 4; right: 6vw; bottom: clamp(60px, 9vh, 100px); width: 240px; text-align: center; }
.crate-svg { width: 100%; height: auto; overflow: visible; }
.mb-glass { stroke: var(--ink); stroke-width: 1.6; }
.mb-cap { fill: var(--ink); }
.mb-label { fill: #fff; stroke: var(--ink); stroke-width: .8; }
.crate-stamp circle { fill: var(--accent); stroke: var(--ink); stroke-width: 2; }
.crate-stamp .crate-stamp-in { fill: none; stroke-width: 1; stroke-dasharray: 3 3; }
.crate-stamp text { fill: var(--ink); font-family: var(--f-display); font-weight: 700; }
.crate-stamp-t1 { font-size: 12px; }
.crate-stamp-t2 { font-size: 16px; }
.crate-count { margin: 10px 0 0; font: 300 15px/1.2 var(--f-display); }
.crate-num b { font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }

@media (max-width: 1199px) {
  .crate { position: relative; right: auto; bottom: auto; margin: 36px auto 0; }
}
@media (max-width: 899px) {
  .s4 { --bh: min(44vh, 400px); padding-top: 90px; }
  .s4-title { line-height: 1; }
  .s4-shop { position: static; margin-top: 4px; }
  .s4-stage { margin-top: 60px; }                 /* the button belongs to the title, not to the bottles */
  .wine-prev { right: 4vw; }
  .wine-next { left: 4vw; }
  .wine-arrow { width: 46px; height: 46px; top: calc(var(--bh) * .35); }
  .wine-card { padding-left: 24px; padding-right: 24px; }
}


/* =========================================================
   Section 5 – קצת עלינו · היקב והסביבה (dark ground band)
   ========================================================= */
.s5 { position: relative; z-index: 6; color: var(--white); }
.s5-top { position: relative; height: calc(108vw * .175 * .46); overflow: hidden; }
.s5-top img { position: absolute; left: -4vw; top: 0; width: 108vw; max-width: none; height: auto; }
.s5-body { position: relative; margin-top: -1px; padding: clamp(20px, 3vh, 40px) 8vw 0; background: var(--ink); }
.s5-bottom { position: relative; margin-top: -2px; line-height: 0; }
.s5-bottom img { width: 100%; height: auto; }

.s5-row {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 6vw;
  padding: clamp(40px, 7vh, 80px) 0;
}
.s5-row-env .s5-text { order: 2; }            /* zig-zag: art on the right, text on the left */
.s5-title { margin: 0 0 20px; font: 700 clamp(40px, 4.4vw, 74px)/1 var(--f-display); letter-spacing: -.01em; }
.s5-p { margin: 0 0 14px; max-width: 34em; font: 400 clamp(15px, 1.15vw, 18px)/1.75 var(--f-body); color: rgba(248, 248, 248, .82); }
.s5-text .btn-accent { margin-top: 18px; }
.s5-text .btn-accent:hover { background: var(--white); }

/* 1898 – outlined numerals that fill like a glass as you scroll */
.s5-year { display: flex; flex-direction: column; align-items: center; text-align: center; }
.s5-year-cap { font: 300 clamp(15px, 1.2vw, 19px)/1.3 var(--f-display); color: rgba(248, 248, 248, .72); }
.s5-year-num {
  --fill: 0%;
  display: block; direction: ltr;
  font: 700 clamp(120px, 16vw, 270px)/.92 var(--f-display); letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  background: linear-gradient(to top, var(--accent) 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 var(--fill);
  -webkit-background-clip: text; background-clip: text;
}
.s5-year-gen { display: flex; align-items: center; gap: 6px; margin-top: 10px; font: 700 13px/1 var(--f-display); letter-spacing: .06em; color: var(--accent); }
.s5-year-gen i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.s5-year-gen i:last-of-type { margin-left: 8px; }

/* rotating circular text (from the reference animation) */
.s5-ring { position: relative; display: grid; place-items: center; }
/* Vegan Friendly badge sits in the middle of the rotating ring */
.s5-vegan {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: min(178px, 14vw); height: auto;
  margin: calc(min(178px, 14vw) * -.56) 0 0 calc(min(178px, 14vw) * -.5);
  transform-origin: 50% 90%;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .35));
  will-change: transform;
}
.s5-ring svg { width: min(440px, 34vw); height: auto; overflow: visible; }
.s5-ring text { font-family: var(--f-display); font-weight: 700; }
.ring-outer text { font-size: 30px; fill: var(--accent); letter-spacing: .01em; }
.ring-outer { transform-box: view-box; transform-origin: 200px 200px; }
.ring-outer { animation: ring-spin 46s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* =========================================================
   Section 6 – דברו איתנו
   ========================================================= */
.s6 { position: relative; z-index: 6; padding: clamp(30px, 5vh, 60px) 7vw clamp(90px, 14vh, 150px); background: var(--white); text-align: center; }
.s6-title { margin: 0; font: 700 clamp(38px, 3.6vw, 62px)/1.05 var(--f-display); letter-spacing: -.01em; }

.hours-pill {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px;
  margin: 22px auto 0; padding: 12px 26px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font: 400 14px/1.2 var(--f-display);
}
.hours-pill b { color: var(--accent); font-weight: 700; margin-left: 6px; }
.hours-pill i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.s6-grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 4vw; align-items: stretch;
  max-width: 1180px; margin: clamp(40px, 7vh, 70px) auto 0; text-align: right;
}

/* lead form – dark card, underline fields (reference), brand colours + fonts */
.lead {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(30px, 4vw, 50px); border-radius: 22px;
  background: var(--ink); color: var(--white);
  box-shadow: 0 40px 80px -50px rgba(28, 25, 20, .7);
}
.lead-title { margin: 0; font: 700 clamp(24px, 2vw, 32px)/1.15 var(--f-display); }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 34px 0 38px; }
.field { position: relative; display: block; }
.field input {
  width: 100%; padding: 26px 0 10px; border: 0; border-bottom: 1.5px solid rgba(248, 248, 248, .5); border-radius: 0;
  background: transparent; color: var(--white);
  font: 400 18px/1.2 var(--f-body);
  outline: none; transition: border-color .3s;
}
.field span {
  position: absolute; right: 0; top: 26px; pointer-events: none;
  font: 400 18px/1.2 var(--f-body); color: rgba(248, 248, 248, .6);
  transition: top .3s var(--ease-out), font-size .3s var(--ease-out), color .3s;
}
.field input:focus { border-bottom-color: var(--accent); }
.field input:focus + span, .field input:not(:placeholder-shown) + span { top: 0; font-size: 12.5px; color: var(--accent); }
.field.is-error input { border-bottom-color: #FF8A73; }
.field.is-error span { color: #FF8A73; }
.lead-btn { width: 100%; height: 58px; margin-top: auto; font-size: 17px; }

/* privacy consent */
.consent { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: -10px 0 26px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.consent-box {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid rgba(248, 248, 248, .6); border-radius: 6px;
  transition: background-color .25s, border-color .25s;
}
.consent-box svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .35s var(--ease-out); }
.consent input:checked + .consent-box { background: var(--accent); border-color: var(--accent); }
.consent input:checked + .consent-box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent-txt { font: 400 14px/1.5 var(--f-body); color: rgba(248, 248, 248, .78); }
.consent-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.consent.is-error .consent-box { border-color: #FF8A73; }
.consent.is-error .consent-txt { color: #FF8A73; }
.lead-btn:hover { background: var(--white); }
.lead-msg { min-height: 1.3em; margin: 14px 0 0; font: 400 15px/1.3 var(--f-display); color: var(--accent); }

/* direct contact */
.direct { display: flex; flex-direction: column; gap: 14px; }
.direct-title { margin: 0 0 4px; font: 700 clamp(22px, 1.8vw, 28px)/1.2 var(--f-display); }
.direct-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 14px 12px 24px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--white);
  font: 700 17px/1 var(--f-display);
  transition: background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.direct-btn:hover { background: var(--accent); transform: translateY(-2px); }
.direct-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); }
.direct-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linejoin: round; }
.direct-ico .fill { fill: var(--white); stroke: none; }

.social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; }
.social-title { flex: 1 0 100%; margin: 0 0 4px; font: 300 17px/1.2 var(--f-display); }
.social-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  transition: background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.social-btn:hover { background: var(--accent); transform: translateY(-3px) rotate(-6deg); }
.social-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-btn .fill { fill: var(--ink); stroke: none; }

@media (max-width: 899px) {
  .s5-body { padding: 10px 6vw 0; }
  .s5-row { grid-template-columns: 1fr; gap: 36px; }
  .s5-title { margin-bottom: 6px; line-height: .9; }
  .s5-row-env .s5-text { order: 2; }          /* mobile: the ring comes first, the text follows it */
  .s5-row-env { gap: 20px; }
  .s5-p:last-of-type { margin-bottom: 0; }
  .s5-text .btn-accent { margin-top: 14px; }   /* the button reads as the paragraph's continuation */
  .s5-ring svg { width: min(320px, 78vw); }
  .s5-vegan { width: 132px; margin: -74px 0 0 -66px; }
  .s6-grid { grid-template-columns: 1fr; gap: 40px; }
  .lead-fields { grid-template-columns: 1fr; gap: 22px; }
  .direct { gap: 12px; }
  .direct-title { margin-bottom: 0; }
  .social { margin-top: 16px; padding-top: 12px; }
  .hours-pill { flex-direction: column; gap: 6px; border-radius: 20px; }
  .hours-pill i { display: none; }
  .s5-row-about { gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .ring-outer { animation: none; }
}


/* =========================================================
   Section 7 – לחיים
   ========================================================= */
.s7 { position: relative; z-index: 8; background: var(--white); }   /* above the footer so the hands overlap its wave */
.s7-stage {
  --hand-h: clamp(300px, 36vw, 560px);
  position: relative;
  height: clamp(420px, 52vw, 700px);
  padding-top: clamp(40px, 7vh, 80px);
}
.s7-title {
  position: relative; z-index: 3; margin: 0 auto; width: fit-content;
  text-align: center;
  font: 700 clamp(32px, 3.6vw, 62px)/1.14 var(--f-display); letter-spacing: -.01em;
}
.s7-line { display: block; will-change: transform; }
.s7-brand { color: var(--accent); letter-spacing: .02em; }

.s7-hand { position: absolute; z-index: 20; bottom: calc(var(--hand-h) * -.5); height: var(--hand-h); will-change: transform; }
.s7-hand img { height: 100%; width: auto; max-width: none; }
/* the photo is cut where the arm leaves the frame – fade ONLY that corner into the dark ground,
   so the glass (its foot sits low in the photo) stays fully opaque, on top of everything */
.s7-hand-l img { -webkit-mask-image: linear-gradient(to top right, transparent 4%, #000 19%); mask-image: linear-gradient(to top right, transparent 4%, #000 19%); }
.s7-hand-r img { -webkit-mask-image: linear-gradient(to top left,  transparent 4%, #000 19%); mask-image: linear-gradient(to top left,  transparent 4%, #000 19%); }
.s7-hand-l { left: max(-3vw, -40px); transform-origin: 30% 90%; }
.s7-hand-r { right: max(-3vw, -40px); transform-origin: 70% 90%; }

/* clink sparkle at the inner rim of each glass */
.s7-clink { position: absolute; top: 1%; width: 0; height: 0; }
.s7-hand-l .s7-clink { left: 90%; }
.s7-hand-r .s7-clink { left: 11%; }
.s7-clink i {
  position: absolute; left: -1px; top: -26px; width: 2.5px; height: 18px; border-radius: 2px;
  background: var(--accent); transform-origin: 50% 26px; opacity: 0;
}
.s7-clink i:nth-child(1) { transform: rotate(-60deg); }
.s7-clink i:nth-child(2) { transform: rotate(-30deg); }
.s7-clink i:nth-child(3) { transform: rotate(0deg); }
.s7-clink i:nth-child(4) { transform: rotate(30deg); }
.s7-clink i:nth-child(5) { transform: rotate(60deg); }

/* collage accents */
.s7-deco { position: absolute; z-index: 1; display: block; pointer-events: none; }
.s7-deco.d1 { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); top: 14%; right: 26%; }
.s7-deco.d2 { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); top: 48%; left: 30%; }
.s7-deco.d3 { color: var(--accent); font-size: 26px; top: 6%; left: 34%; }
.s7-deco.d4 { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); top: 58%; right: 32%; }
.s7-deco.d5 { color: var(--ink); font-size: 18px; top: 30%; right: 22%; }
.s7-deco.d6 { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); top: 24%; left: 24%; opacity: .5; }

/* =========================================================
   Footer
   ========================================================= */
.ft { position: relative; z-index: 6; color: rgba(248, 248, 248, .78); }
.ft-wave { line-height: 0; margin-bottom: -2px; }
.ft-wave img { width: 100%; height: auto; }
.ft-body { background: var(--ink); padding: clamp(90px, 11vw, 160px) 8vw 28px; }

.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 5vw; }
.ft-logo img { height: 64px; width: auto; }
.ft-tag { margin: 18px 0 22px; font: 400 15px/1.7 var(--f-body); }
.ft-social { display: flex; gap: 10px; }
.ft-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(248, 248, 248, .35);
  transition: background-color .35s var(--ease-out), border-color .35s, transform .35s var(--ease-out);
}
.ft-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.ft-social svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ft-social .fill { fill: var(--white); stroke: none; }
.ft-social a:hover svg { stroke: var(--ink); }
.ft-social a:hover .fill { fill: var(--ink); }

.ft-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ft-col h3 { margin: 6px 0 8px; font: 700 14px/1 var(--f-display); letter-spacing: .08em; color: var(--accent); }
.ft-col a, .ft-col p { margin: 0; font: 400 15px/1.5 var(--f-body); color: rgba(248, 248, 248, .78); }
.ft-col a { position: relative; transition: color .3s; }
.ft-col a:hover { color: var(--white); }
.ft-col p:not(.ft-note) { display: flex; gap: 14px; white-space: nowrap; }
.ft-col p span { min-width: 6.5em; }
.ft-col bdi { font-family: var(--f-display); font-weight: 700; color: var(--white); }
.ft-note { font-size: 13px !important; opacity: .7; margin-top: 4px !important; }
.ft-cta {
  margin-top: 8px; padding: 10px 20px; border-radius: 999px;
  background: var(--accent); color: var(--ink) !important; font: 700 14px/1 var(--f-display) !important;
  transition: background-color .35s !important;
}
.ft-cta:hover { background: var(--white); }

.ft-warning {
  margin: clamp(40px, 6vw, 70px) 0 0; padding: 14px 18px; border-radius: 10px;
  border: 1px solid rgba(248, 248, 248, .16);
  font: 700 13px/1.5 var(--f-display); color: rgba(248, 248, 248, .85); text-align: center;
}
.ft-legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding-left: 76px;                       /* room for the sticky contact buttons (bottom-left) */
  margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(248, 248, 248, .12);
  font: 400 13px/1.4 var(--f-body);
}
.ft-legal p { margin: 0; }
.ft-legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft-legal nav a { color: rgba(248, 248, 248, .7); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(248, 248, 248, .25); transition: color .3s; }
.ft-legal nav a:hover { color: var(--white); }
.ft-top {
  margin-right: auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); transition: transform .35s var(--ease-out), background-color .35s;
}
.ft-top:hover { transform: translateY(-4px); background: var(--white); }
.ft-top svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1099px) {
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .s7-stage { --hand-h: clamp(220px, 58vw, 340px); height: clamp(460px, 120vw, 560px); }
  .s7-title { font-size: clamp(28px, 8vw, 40px); padding: 0 6vw; }
  .s7-hand-l { left: -12vw; }
  .s7-hand-r { right: -12vw; }
  .ft-body { padding: 120px 6vw 26px; }
  .ft-grid { grid-template-columns: 1fr; gap: 34px; }
  .ft-legal { flex-direction: column; align-items: flex-start; padding-left: 0; padding-bottom: 110px; }
  .ft-top { margin-right: 0; }
}


/* =========================================================
   Sticky contact – WhatsApp + phone, bottom-left on every screen
   ========================================================= */
.fab {
  position: fixed; z-index: 50; left: 24px; bottom: 24px;
  display: flex; flex-direction: column; gap: 14px;
  /* hidden over the hero; nav.js adds .is-shown once the visitor scrolls past it */
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .6s;
}
.fab.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), visibility 0s; }
.fab-btn {
  position: relative; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  box-shadow: 0 14px 30px -14px rgba(28, 25, 20, .55), 0 2px 6px rgba(28, 25, 20, .12);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.fab-btn:hover, .fab-btn:focus-visible { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 36px -16px rgba(28, 25, 20, .6); }
.fab-btn svg { width: 30px; height: 30px; fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.fab-wa  { background: var(--accent); border: 1.5px solid var(--ink); }
.fab-wa svg  { stroke: var(--ink); }
.fab-wa .fill { fill: var(--ink); stroke: none; }
.fab-tel { background: var(--ink); border: 1.5px solid var(--ink); }
.fab-tel svg { stroke: var(--white); }

/* soft "ring" on WhatsApp now and then */
.fab-wa::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%;
  border: 1.5px solid var(--accent); opacity: 0;
  animation: fab-ring 5s var(--ease-out) 2s infinite;
}
@keyframes fab-ring { 0% { transform: scale(1); opacity: .9; } 30%, 100% { transform: scale(1.55); opacity: 0; } }

/* label that slides out to the right on hover / focus */
.fab-tip {
  position: absolute; left: calc(100% + 12px); top: 50%;
  padding: 7px 14px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font: 700 13px/1 var(--f-display); white-space: nowrap; direction: ltr;
  opacity: 0; transform: translate(-8px, -50%); pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.fab-btn:hover .fab-tip, .fab-btn:focus-visible .fab-tip { opacity: 1; transform: translate(0, -50%); }

@media (max-width: 899px) {
  .fab { left: 16px; bottom: 16px; gap: 12px; }
  .fab-btn { width: 56px; height: 56px; }
  .fab-btn svg { width: 27px; height: 27px; }
  .fab-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fab-wa::after { animation: none; } }


/* =========================================================
   Cart – button (top-left), drawer (slides in from the left), fly-to-cart ghost
   ========================================================= */
.cart-btn {
  position: fixed; z-index: 61; top: 18px; left: var(--pad);
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(57, 54, 47, .12);
  background: rgba(248, 248, 248, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -22px rgba(57, 54, 47, .45);
  transition: background-color .35s var(--ease-out);
}
.cart-btn:hover { background: var(--blush); }
.cart-btn svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge {
  position: absolute; top: 2px; right: 0; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--ink); font: 700 12px/1 var(--f-display);
  border: 2px solid var(--white);
  transform: scale(0); transition: transform .4s var(--ease-out);
}
.cart-badge.is-on { transform: scale(1); }

.cart-ghost { position: fixed; z-index: 90; pointer-events: none; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(57, 54, 47, .25)); will-change: transform; }

.cart-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(28, 25, 20, .38); opacity: 0; transition: opacity .45s var(--ease-out); }
.cart-overlay.is-on { opacity: 1; }
.cart-drawer {
  position: fixed; z-index: 71; top: 0; bottom: 0; left: 0;
  width: min(430px, 92vw);
  display: flex; flex-direction: column;
  background: var(--white);
  box-shadow: 30px 0 80px -40px rgba(28, 25, 20, .6);
  transform: translateX(-104%); transition: transform .5s var(--ease-out);
}
.cart-drawer.is-on { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px 14px; }
.cart-title { margin: 0; font: 700 28px/1 var(--f-display); }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(57, 54, 47, .2); transition: background-color .3s; }
.cart-close:hover { background: var(--blush); }
.cart-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }

.cart-ship { margin: 0 26px 6px; padding: 14px 16px; border-radius: 14px; background: var(--blush); }
.cart-ship-txt { margin: 0 0 10px; font: 400 14px/1.3 var(--f-display); }
.cart-ship-txt b { font-weight: 700; }
.cart-ship-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }   /* RTL: fills from the right */
.cart-ship-bar i { height: 8px; border-radius: 4px; background: rgba(57, 54, 47, .14); transition: background-color .4s var(--ease-out); }
.cart-ship-bar i.is-on { background: var(--ink); }

.cart-list { list-style: none; margin: 0; padding: 6px 26px; overflow-y: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 46px 1fr auto auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(57, 54, 47, .1); }
.cart-item img { width: 46px; height: 120px; object-fit: contain; }
.cart-item-info p { margin: 0; }
.cart-item-type { font: 700 11px/1 var(--f-display); letter-spacing: .06em; color: rgba(57, 54, 47, .55); margin-bottom: 4px !important; }
.cart-item-name { font: 700 18px/1.2 var(--f-display); }
.cart-item-name span { font-weight: 300; font-size: 14px; }
.cart-item-price { font: 400 13px/1.4 var(--f-body); color: rgba(57, 54, 47, .7); margin-top: 3px !important; }
.cart-qty { display: flex; align-items: center; border: 1px solid rgba(57, 54, 47, .2); border-radius: 999px; }
.cart-qty button { width: 32px; height: 34px; font: 700 18px/1 var(--f-display); color: var(--ink); }
.cart-qty output { min-width: 18px; text-align: center; font: 700 15px/1 var(--f-display); }
.cart-remove { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; opacity: .5; transition: opacity .3s; }
.cart-remove:hover { opacity: 1; }
.cart-remove svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }

.cart-empty { padding: 30px 26px; text-align: center; }
.cart-empty p { margin: 0 0 18px; font: 400 16px/1.5 var(--f-body); }
.cart-empty[hidden], .cart-foot[hidden] { display: none; }
.cart-foot { padding: 18px 26px 26px; border-top: 1px solid rgba(57, 54, 47, .12); }
.cart-sum { display: flex; justify-content: space-between; margin-bottom: 8px; font: 400 15px/1.3 var(--f-display); }
.cart-sum b { font-weight: 700; }
.cart-checkout { width: 100%; height: 54px; justify-content: center; margin-top: 10px; font-size: 16px; }
.cart-note { min-height: 1.2em; margin: 10px 0 0; text-align: center; font: 400 13px/1.3 var(--f-body); color: rgba(57, 54, 47, .7); }

.wine-add { border: 0; cursor: pointer; }

@media (max-width: 899px) {
  .cart-btn { top: 14px; left: calc(var(--pad) - 4px); width: 54px; height: 54px; }
  .cart-btn svg { width: 23px; height: 23px; }
}

/* =========================================================
   Shop page (shop.html)
   ========================================================= */
.shop { padding: clamp(120px, 16vh, 170px) 7vw clamp(70px, 10vh, 120px); }
.shop-head { text-align: center; max-width: 760px; margin: 0 auto; }
.shop-kicker { margin: 0 0 12px; font: 700 13px/1 var(--f-display); letter-spacing: .1em; color: var(--accent); }
.shop-title { margin: 0 0 16px; font: 700 clamp(40px, 4.6vw, 76px)/1 var(--f-display); letter-spacing: -.01em; }
.shop-lead { margin: 0 auto; max-width: 34em; font: 400 clamp(15px, 1.2vw, 18px)/1.6 var(--f-body); color: rgba(57, 54, 47, .85); }
.shop-ship {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 20px; border-radius: 999px;
  background: var(--ink); color: var(--white); font: 400 14px/1 var(--f-display);
}
.shop-ship b { color: var(--accent); }

.shop-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 40px 0 34px; }
.shop-filter {
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(57, 54, 47, .2);
  font: 700 14px/1 var(--f-display); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s;
}
.shop-filter:hover { border-color: var(--ink); }
.shop-filter.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(20px, 2.4vw, 34px); max-width: 1240px; margin: 0 auto; }
.shop-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 26px 26px; border: 1.5px solid var(--accent); border-radius: 8px; background: var(--white);
  box-shadow: 12px 14px 0 var(--blush);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.shop-card:hover { transform: translateY(-6px); box-shadow: 14px 20px 0 var(--blush); }
.shop-card[hidden] { display: none; }
.shop-card-img { height: 300px; display: grid; place-items: end center; margin-bottom: 20px; }
.shop-card-img img { height: 300px; width: auto; max-width: none; filter: drop-shadow(0 20px 18px rgba(57, 54, 47, .16)); transition: transform .6s var(--ease-out); }
.shop-card:hover .shop-card-img img { transform: rotate(-4deg) translateY(-6px); }
.shop-card-type { margin: 0 0 6px; font: 700 11.5px/1 var(--f-display); letter-spacing: .06em; color: rgba(57, 54, 47, .55); }
.shop-card-name { margin: 0; font: 700 28px/1.1 var(--f-display); }
.shop-card-year { margin: 2px 0 12px; font: 300 16px/1.3 var(--f-display); }
.shop-card-desc { margin: 0 0 18px; font: 400 14px/1.55 var(--f-body); color: rgba(57, 54, 47, .85); flex: 1; }
.shop-card-foot { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; }
.shop-card-price { font: 700 16px/1 var(--f-display); }
.shop-card-price small { display: block; margin-top: 4px; font: 400 11px/1 var(--f-body); opacity: .6; }
.shop-back { display: flex; width: fit-content; margin: clamp(80px, 9vw, 120px) auto 0; }

.cart-drawer[hidden], .cart-overlay[hidden] { display: none; }
