/* ============================================
   FLORA · Carasso Real Estate · lead-gen LP
   Brand book: green #015142 / cream #EEEDE9, Arfilit.
   Botanical cut-outs from the Flora logo as scroll-driven accents.
   ============================================ */

@font-face { font-family: "Arfilit"; src: url("fonts/Arfilit-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Arfilit"; src: url("fonts/Arfilit-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Arfilit"; src: url("fonts/Arfilit-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Arfilit"; src: url("fonts/Arfilit-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light only;
  --green: #015142;
  --green-deep: #01463A;
  --cream: #EEEDE9;
  --paper: #F6F5F2;
  --ink: #1B2A25;
  --ink-soft: rgba(27, 42, 37, 0.74);
  --rule: rgba(1, 81, 66, 0.16);
  --rule-light: rgba(238, 237, 233, 0.22);

  --f: "Arfilit", "Arial Hebrew", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --nav-h: 76px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--f); font-weight: 400;
  font-size: 18px; line-height: 1.7;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased;
  /* Arfilit wraps digits in pills through contextual alternates. Plain digits everywhere. */
  font-feature-settings: "calt" 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.16; letter-spacing: -0.005em; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip-link: off-screen until focused by keyboard */
.skip-link {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 100;
  transform: translateY(-150%); transition: transform 150ms ease;
  background: var(--green); color: var(--cream);
  padding: 10px 18px; border-radius: 6px; font-weight: 700; font-size: 15px;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--cream); outline-offset: 2px; }

/* ---------- Botanical cut-outs (brand book p.16-17) ---------- */
.bot {
  position: absolute; pointer-events: none; z-index: 0;
  background: currentColor;
  -webkit-mask: var(--shape) center / contain no-repeat;
          mask: var(--shape) center / contain no-repeat;
  will-change: transform;
}
.bot-bloom  { --shape: url("img/brand/flora-bloom.svg");  aspect-ratio: 663 / 503; }
.bot-flower { --shape: url("img/brand/flora-flower.svg"); aspect-ratio: 165 / 226; }
.bot-tree   { --shape: url("img/brand/flora-tree.svg");   aspect-ratio: 223 / 251; }
.bot-leaf   { --shape: url("img/brand/flora-leaf.svg");   aspect-ratio: 93 / 197; }
.bot-bud    { --shape: url("img/brand/flora-bud.svg");    aspect-ratio: 86 / 90; }
.bot-sprig  { --shape: url("img/brand/flora-sprig.svg");  aspect-ratio: 237 / 426; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px; border: 0; border-radius: 999px;
  font-family: var(--f); font-weight: 600; font-size: 17px; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-light { background: var(--cream); color: var(--green); }
.btn-light:hover { background: #fff; }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-deep); }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h); padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--cream); color: var(--green);
  transition: box-shadow 250ms ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--rule), 0 8px 24px -16px rgba(1, 40, 32, 0.35); }
.nav-brand { display: flex; align-items: center; gap: 18px; }
.nav-flora img { height: 38px; width: auto; }
/* Brand book p.29: Carasso sits at half of Flora's height */
.nav-carasso { height: 30px; width: auto; }
.nav-divider { width: 1px; height: 26px; background: currentColor; opacity: 0.3; }
.nav-links { display: flex; gap: 40px; font-weight: 600; font-size: 16px; }
.nav-links a { position: relative; padding-block: 6px; }
.nav-links a::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 300ms ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-phone { font-weight: 700; font-size: 17px; }

main { padding-top: var(--nav-h); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  background: var(--green); color: var(--cream);
  position: relative;
}
.hero-media {
  grid-column: 2; grid-row: 1;
  position: sticky; top: var(--nav-h);
  height: calc(100svh - var(--nav-h)); min-height: 560px;
  overflow: hidden; align-self: start;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform-origin: 50% 60%; }
.hero-panel {
  grid-column: 1; grid-row: 1;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(40px, 6vh, 72px) var(--gutter) 72px clamp(32px, 4vw, 72px);
}
.hero-panel > :not(.bot) { position: relative; z-index: 1; max-width: 600px; width: 100%; }
.hero-tree { color: var(--cream); opacity: 0.07; width: 360px; left: -110px; bottom: 120px; }
.hero-bud  { color: var(--cream); opacity: 0.09; width: 120px; left: 48px; top: 36px; }

.badge {
  width: auto !important;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px 9px 18px; border-radius: 999px;
  background: var(--cream); color: var(--green);
  font-weight: 700; font-size: 17px; line-height: 1.2;
}
.badge::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("img/brand/flora-bud.svg") center / contain no-repeat;
          mask: url("img/brand/flora-bud.svg") center / contain no-repeat;
}
.hero h1 { margin-top: 26px; font-size: clamp(2.2rem, 3.05vw, 3.25rem); line-height: 1.15; color: var(--cream); }
.hero-sub { margin-top: 22px; display: grid; gap: 10px; font-size: 18px; opacity: 0.9; }
.hero-sub p { max-width: 52ch; }

.facts {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule-light);
  /* Values scale with the row's own width (container units), so it always fits the panel */
  display: grid; grid-template-columns: auto minmax(min-content, 1fr) auto;
  container-type: inline-size;
}
.fact {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px;
  padding-inline: 0 clamp(12px, 4cqi, 26px); margin-inline-end: clamp(12px, 4cqi, 26px); border-inline-end: 1px solid var(--rule-light);
}
.fact:last-child { margin: 0; padding: 0; border: 0; }
.fact dd { font-weight: 700; font-size: clamp(17px, 5cqi, 30px); line-height: 1.1; white-space: nowrap; }
.fact dt { font-size: 14px; line-height: 1.4; opacity: 0.72; }
.hero-jump { display: none; }

.hero-form-wrap { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--rule-light); }
.form-title { font-weight: 700; font-size: 24px; line-height: 1.25; margin-bottom: 20px; }
.form-alt { margin-top: 16px; font-size: 16px; opacity: 0.85; }
.form-alt a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Forms ---------- */
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; }
.field input, .field select {
  height: 50px; width: 100%; padding: 0 14px;
  border-radius: 6px; outline: none; appearance: none; font-size: 17px;
  background: rgba(238, 237, 233, 0.08); border: 1px solid rgba(238, 237, 233, 0.32); color: var(--cream);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: 18px 50%, 23px 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--cream); background-color: rgba(238, 237, 233, 0.14); }
.field input::placeholder { color: rgba(238, 237, 233, 0.7); }
.field input.invalid { border-color: #ffb545; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; opacity: 0.88; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--green); }
.consent a, .privacy-note a { text-decoration: underline; text-underline-offset: 3px; }
.consent { font-size: 13px; }
.privacy-note { font-size: 13px; line-height: 1.5; opacity: 0.8; margin-top: -6px; }
.lead-form-light .privacy-note { color: var(--ink-soft); opacity: 1; }
.lead-form-light .privacy-note a { color: var(--green); }

.lead-form-light { background: var(--cream); color: var(--ink); padding: 44px; border-radius: var(--r); }
.lead-form-light .field > span { color: var(--green); }
.lead-form-light .field input, .lead-form-light .field select { background: var(--paper); border-color: var(--rule); color: var(--ink); }
.lead-form-light .field input:focus, .lead-form-light .field select:focus { border-color: var(--green); background: #fff; }
.lead-form-light .field input.invalid { border-color: #e16d1a; }
.lead-form-light .consent { color: var(--ink-soft); opacity: 1; }
.lead-form-light .consent a { color: var(--green); }
.form-done { font-weight: 700; font-size: 22px; line-height: 1.4; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--rule); background: var(--cream); position: relative; z-index: 2; }
.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 16px 40px; flex-wrap: wrap;
  padding: 24px var(--gutter);
  font-size: 15px; color: var(--ink-soft);
}
.trust-row > div { display: flex; align-items: center; gap: 16px; }
.trust-dev p { font-weight: 700; color: var(--green); font-size: 16px; }
.trust-carasso { height: 30px; width: auto; }
.trust-partners .venn { height: 22px; width: auto; opacity: 0.85; }
.trust-sep { width: 1px; height: 30px; background: var(--rule); }

/* ---------- Details ---------- */
.details { position: relative; padding-block: 150px 170px; overflow: hidden; }
.details-bloom { color: var(--green); opacity: 0.05; width: 760px; right: -260px; top: 40px; }
.details-leaf { color: var(--green); opacity: 0.08; width: 120px; left: 7%; top: 52%; }
.details-intro {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px;
  padding-inline-start: var(--gutter); /* image bleeds to the left edge */
}
.details-copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-block: 40px; }
.details-copy h2 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1.12; color: var(--green); margin-bottom: 8px; }
.details-copy p { max-width: 44ch; color: var(--ink-soft); }
.details-hero { position: relative; overflow: hidden; min-height: 620px; border-radius: var(--r) 0 0 var(--r); }
.details-hero img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }

.benefits {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 130px;
  margin-top: 170px; padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto;
}
/* Zigzag: image left / text right, then image right / text left (RTL grid: column 1 = right) */
.benefit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.benefit .b-text { grid-column: 1; grid-row: 1; justify-self: end; }
.benefit .b-img { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 10; }
.benefit:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.benefit:nth-child(even) .b-img { grid-column: 1; }
.benefit:nth-child(even) .b-text { grid-column: 2; justify-self: start; }
.b-img { position: relative; overflow: hidden; border-radius: var(--r); }
.b-img img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.b-text { max-width: 440px; }
.b-text h3 { font-size: clamp(1.9rem, 2.8vw, 2.7rem); color: var(--green); margin-bottom: 8px; }
.b-text p { color: var(--ink-soft); }

/* ---------- Reels (New South TLV) ---------- */
.reels { position: relative; overflow: hidden; padding-block: 40px 150px; }
.reels-title {
  position: relative; z-index: 1; color: var(--green);
  font-size: clamp(2.4rem, 4.2vw, 4.2rem); line-height: 1.12;
  padding-inline: var(--gutter); max-width: 1440px; margin: 0 auto 64px;
}
.reels-sprig { color: var(--green); opacity: 0.08; width: 200px; left: 4%; top: 0; }
.reels-track {
  position: relative; z-index: 1;
  display: flex; gap: 24px; align-items: flex-start;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 10px var(--gutter) 40px; scroll-padding-inline: var(--gutter);
}
.reels-track::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 clamp(230px, 21vw, 300px); scroll-snap-align: start; }
.reels-ui { display: flex; gap: 14px; padding: 8px var(--gutter) 0; max-width: 1440px; margin-inline: auto; }
.reel { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; background: var(--green); box-shadow: 0 30px 60px -36px rgba(1, 40, 32, 0.55); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-sound {
  position: absolute; bottom: 14px; inset-inline-end: 14px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(1, 70, 58, 0.72); color: var(--cream);
  display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.reel-sound svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reel-sound .spk { fill: currentColor; stroke: none; }
.reel-sound .on { display: none; }
.reel-sound[aria-pressed="true"] .on { display: inline; }
.reel-sound[aria-pressed="true"] .off { display: none; }

@media (max-width: 767px) {
  .reels { padding-block: 8px 80px; }
  .reels-sprig { display: none; }
  .reels-track { gap: 12px; padding-block: 4px 20px; }
  .reel { flex: 0 0 64vw; border-radius: 12px; }
  .reels-ui { display: none; }
}

/* ---------- Gallery ---------- */
.gallery { position: relative; background: var(--cream); padding-bottom: 60px; }
.gallery-pin { position: relative; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.gallery-track { display: flex; gap: 24px; padding-inline: var(--gutter); will-change: transform; }
/* Width follows each image's own proportions (inline aspect-ratio): landscape renders and vertical shots mix */
.slide { position: relative; flex: 0 0 auto; height: min(72svh, 720px); overflow: hidden; border-radius: var(--r); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.slide figcaption {
  position: absolute; bottom: 24px; inset-inline-start: 28px;
  font-weight: 700; font-size: 20px; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}
.gallery-ui {
  display: flex; align-items: center; gap: 20px;
  padding: 28px var(--gutter) 0;
}
.g-arrow {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  border: 1px solid var(--green); background: transparent; color: var(--green); cursor: pointer;
  display: grid; place-items: center; transition: background-color 200ms ease, color 200ms ease;
}
.g-arrow:hover { background: var(--green); color: var(--cream); }
.g-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.g-progress { flex: 1; max-width: 360px; height: 1px; background: var(--rule); position: relative; }
.g-progress span { position: absolute; inset: 0; background: var(--green); transform: scaleX(0.25); transform-origin: right; }
.legal { padding: 0 var(--gutter); font-size: 13px; color: var(--ink-soft); }

/* ---------- Closing form ---------- */
.contact { position: relative; overflow: hidden; background: var(--green); color: var(--cream); padding-block: 150px; }
.contact-flower { color: var(--cream); opacity: 0.08; width: 420px; left: -120px; top: -60px; }
.contact-sprig { color: var(--cream); opacity: 0.1; width: 180px; right: 42%; bottom: -80px; }
.contact-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center;
  padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto;
}
.contact-copy h2 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1.12; }
.contact-copy > p { margin-top: 22px; max-width: 42ch; opacity: 0.9; }
.office { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule-light); }
.office-label { font-size: 14px; opacity: 0.7; }
.office-phone { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 32px; line-height: 1.2; }

/* ---------- Footer ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding: 26px var(--gutter);
}
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--green); }
.footer-brand img:first-child { height: 30px; width: auto; }
.footer-brand img:last-child { height: 15px; width: auto; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--green); }

/* ---------- Fade (opacity only, triggered before the viewport) ---------- */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; transition: opacity 240ms ease-out; }

/* ---------- Floating form (mobile) ---------- */
.float-bar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-panel { padding-inline: 40px; }
  .benefit, .benefit:nth-child(even) { gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Tablet: hero stacks (a half-width panel is too narrow for facts + form) ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; overflow: clip; }
  .hero-media { grid-column: 1; grid-row: 1; position: relative; top: 0; height: 52svh; min-height: 420px; }
  .hero-panel { grid-column: 1; grid-row: 2; padding: 48px 56px 72px; }
  .hero-panel > :not(.bot) { max-width: 680px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --nav-h: 60px; --gutter: 20px; }
  body { font-size: 17px; }

  .nav { gap: 12px; }
  .nav-brand { gap: 12px; }
  .nav-flora img { height: 30px; }
  .nav-carasso { height: 23px; }
  .nav-divider { height: 20px; }
  .nav-phone { display: none; }
  .nav .btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }

  .hero { grid-template-columns: 1fr; overflow: clip; }
  .hero-media { grid-column: 1; grid-row: 1; position: relative; top: 0; height: 36svh; min-height: 240px; }
  .hero-media img { object-position: 38% 0%; }
  .hero-panel { grid-column: 1; grid-row: 2; padding: 22px var(--gutter) 64px; overflow: visible; }
  .hero-panel > :not(.bot) { max-width: none; }
  .hero-tree { width: 200px; left: -70px; bottom: auto; top: 380px; }
  .hero-bud { display: none; }
  .badge { position: absolute !important; top: -58px; right: var(--gutter); font-size: 16px; padding: 8px 16px; box-shadow: 0 8px 20px -10px rgba(0,0,0,0.45); }
  .hero h1 { margin-top: 0; font-size: 1.85rem; }
  .hero-sub { order: 5; margin-top: 36px; font-size: 16.5px; }
  .facts { order: 3; margin-top: 20px; padding-top: 16px; }
  .fact { padding-inline-end: 12px; margin-inline-end: 12px; }
  .fact dt { font-size: 12.5px; }
  .hero-jump { order: 4; display: flex; width: 100%; margin-top: 22px; }
  .hero-form-wrap { order: 6; margin-top: 30px; padding-top: 26px; }
  .form-title { font-size: 21px; }
  .field-grid { grid-template-columns: 1fr; }

  .trust-row { flex-direction: column; align-items: center; gap: 10px; padding-block: 18px; text-align: center; }
  .trust-sep { display: none; }
  .trust-row > div { gap: 12px; }
  .trust-dev p { font-size: 14px; white-space: nowrap; }
  .trust-carasso { height: 18px; }
  .trust-partners { font-size: 14px; }

  .details { padding-block: 80px 90px; }
  .details-bloom { width: 420px; right: -200px; top: 10px; }
  .details-leaf { display: none; }
  .details-intro { grid-template-columns: 1fr; gap: 28px; padding-inline: var(--gutter); }
  .details-copy { padding-block: 0; gap: 16px; }
  .details-copy h2 { font-size: 2.3rem; }
  .details-hero { min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--r); }
  .benefits { gap: 56px; margin-top: 72px; }
  .benefit, .benefit:nth-child(even) { grid-template-columns: 1fr; gap: 18px; }
  .benefit .b-img, .benefit:nth-child(even) .b-img { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  .benefit .b-text, .benefit:nth-child(even) .b-text { grid-column: 1; grid-row: 2; justify-self: stretch; max-width: none; }
  .b-text h3 { font-size: 1.6rem; }

  .gallery { padding-bottom: 40px; }
  .gallery-pin { height: auto; padding-block: 8px 0; }
  .gallery-track {
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    scroll-padding-inline: var(--gutter); gap: 12px; transform: none !important;
  }
  .gallery-track::-webkit-scrollbar { display: none; }
  .slide { flex: 0 0 auto; height: 60svh; max-width: 88vw; scroll-snap-align: start; }
  .slide figcaption { font-size: 17px; bottom: 16px; inset-inline-start: 18px; }
  .gallery-ui { padding-top: 18px; }
  .g-arrow { display: none; }
  .g-progress { max-width: none; }
  .legal { margin-top: 12px; }

  .contact { padding-block: 80px 96px; }
  .contact-flower { width: 240px; left: -90px; top: -40px; }
  .contact-sprig { display: none; }
  .contact-copy h2 { font-size: 2.3rem; }
  .office-phone { font-size: 28px; }
  .lead-form-light { padding: 24px; }

  .footer { flex-direction: column; align-items: flex-start; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  /* Sticky CTA */
  .float-bar {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 60;
    background: var(--green-deep); color: var(--cream);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px -14px rgba(0,0,0,0.5);
    transition: transform 280ms ease, visibility 280ms;
  }
  .float-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
  .float-bar .btn { height: 52px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; }
  .btn, .float-bar { transition: none; }
}

@media (min-width: 1280px) {
  .trust-row { flex-wrap: nowrap; gap: 32px; }
  .trust-row > div { flex: none; }
}

@media (max-width: 767px) {
  .reels-title { font-size: 2.2rem; margin-bottom: 28px; }
}

/* Green Line map: labelled graphic, shown whole (no crop, no parallax) */
.b1 .b-img.b-img-map { aspect-ratio: 1531 / 848 !important; }
.b-img-map img { inset: 0; height: 100%; object-fit: cover; transform: none !important; }

/* Number ranges (2-5): always left-to-right, 2 on the left */
.num-range { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Floating lead form (A/B variant "float") ---------- */
.float-dock { display: none; }
.ab-float .float-dock {
  display: block; position: fixed; z-index: 70;
  bottom: 24px; inset-inline-end: 24px; /* RTL: bottom-left corner */
  transition: opacity 250ms ease, transform 250ms ease;
}
.ab-float .float-dock.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }
.float-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--green); color: var(--cream);
  font-family: var(--f); font-weight: 700; font-size: 16.5px;
  box-shadow: 0 18px 40px -16px rgba(1, 40, 32, 0.6);
  transition: transform 200ms ease, background-color 200ms ease;
}
.float-pill:hover { transform: translateY(-2px); background: var(--green-deep); }
.float-pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #ffb545; box-shadow: 0 0 0 4px rgba(255, 181, 69, 0.25); }
.float-card {
  position: absolute; bottom: 0; inset-inline-end: 0;
  width: 400px; max-height: calc(100svh - var(--nav-h) - 48px); overflow-y: auto;
  padding: 30px 28px 26px; border-radius: 14px;
  background: var(--cream); color: var(--ink);
  box-shadow: 0 30px 70px -24px rgba(1, 40, 32, 0.55), 0 0 0 1px var(--rule);
}
.float-card[hidden] { display: none; }
.float-card .form-title { color: var(--green); font-size: 21px; margin-bottom: 16px; padding-inline-end: 36px; }
.float-card .lead-form-light { padding: 0; background: none; }
.float-card .field-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.float-card .field input, .float-card .field select { height: 46px; }
.float-close {
  position: absolute; top: 18px; inset-inline-start: auto; inset-inline-end: 18px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--green);
}
.float-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.float-scrim { display: none; }

@media (max-width: 767px) {
  /* Mobile: the sticky bar opens the same form as a bottom sheet */
  .ab-float .float-dock { inset: auto 0 0 0; bottom: 0; }
  .ab-float .float-pill { display: none; }
  .float-card {
    position: fixed; inset: auto 0 0 0; width: auto; max-height: 88svh;
    border-radius: 18px 18px 0 0; padding: 26px 20px calc(22px + env(safe-area-inset-bottom));
  }
  .float-card .field-grid { grid-template-columns: 1fr; }
  .float-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(1, 30, 24, 0.45); }
}

/* ---------- Gallery slide proportions (moved off inline style for CSP) ---------- */
.slide-land { aspect-ratio: 1800 / 1012; }
.slide-port { aspect-ratio: 1080 / 1920; }

/* ---------- Form error + Turnstile ---------- */
.form-error {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: #ffd9a8; /* warm, readable on the green hero form */
}
.form-error[hidden] { display: none; }
.lead-form-light .form-error { color: #c0431a; }
.cf-turnstile { min-height: 65px; }
.cf-turnstile:empty { min-height: 0; }

