/* Approved brand geometry. Viewport gutters and scroll-scrubbed growth. */
:is([data-zf-botanical-host], .zf-living-home) { position: relative; isolation: isolate; }
:is([data-zf-botanical-host], .zf-living-home) > .zf-botanical-field {
  position: absolute; inset-block-start: var(--zf-botanical-top, 0px); inset-block-end: 0;
  left: var(--zf-botanical-left, 0px); right: auto;
  /* The legacy home > :not(...) rule must not constrain decorative rails to 75rem. */
  inline-size: var(--zf-botanical-viewport, 100%) !important; margin: 0 !important;
  max-inline-size: none; z-index: 0; overflow: clip; display: none;
  pointer-events: none; user-select: none; contain: paint;
}
/* A zero-height probe measures the real named content track on every template.
   It takes no grid row and never changes content width or vertical spacing. */
[data-zf-botanical-host] > .zf-botanical-content-boundary {
  position: absolute; grid-column: content; inset-inline: 0; inset-block-start: 0;
  block-size: 0; visibility: hidden; pointer-events: none;
}
[data-zf-botanical-host] > .zf-botanical-field {
  grid-column: 1 / -1;
  /* Above full-width wrapper backgrounds, but confined to measured empty gutters. */
  z-index: 1;
}
.zf-botanical-rail {
  position: absolute; inset-block: 0; overflow: visible;
  inline-size: min(clamp(140px, 11.5vw, 280px), max(0px, calc((100vw - 75rem) / 2 - 24px)));
}
/* Physical sides are intentional: the illustration does not change with text direction. */
.zf-botanical-rail--start { left: max(12px, calc(10% - 5.75vw)); }
.zf-botanical-rail--end { right: max(12px, calc(10% - 5.75vw)); }
.zf-botanical-rail[data-fits="false"] { visibility: hidden; }
.zf-botanical-rail--end > svg { transform: scaleX(-1); }
.zf-botanical-scene {
  display: block; inline-size: 100%; block-size: auto;
  overflow: visible; pointer-events: none; user-select: none; opacity: .88;
}
.zf-botanical-stem, .zf-botanical-branch {
  fill: none; stroke: var(--zfl-forest, #0F5123);
  stroke-width: 2.35; stroke-linecap: round; stroke-linejoin: round;
}
.zf-botanical-branch { stroke-width: 1.4; }
.zf-botanical-calyx { fill: var(--zfl-forest, #0F5123); }
/* Growth pivots stay at the branch tip throughout unfurling and blooming. */
.zf-botanical-unfurl, [data-zf-petal] { transform-origin: 0 0; }
.zf-botanical-divider {
  pointer-events: none; user-select: none; overflow: clip;
  inline-size: min(800px, 100%); block-size: clamp(82px, 13vw, 164px);
  margin-inline: auto; margin-block: 0; contain: layout paint;
}
.zf-botanical-divider > svg { inline-size: 100%; block-size: 100%; opacity: .7; }
.zf-botanical-divider--buy { block-size: 76px; }
@media (min-width: 1440px) { :is([data-zf-botanical-host], .zf-living-home) > .zf-botanical-field { display: block; } }
@media (max-width: 767px) {
  .zf-botanical-divider { block-size: 64px; }
  .zf-botanical-divider--buy { display: none; }
}
html.zf-motion-off [data-zf-stem], html.zf-motion-off [data-zf-branch] { stroke-dashoffset: 0 !important; opacity: 1 !important; }
html.zf-motion-off .zf-botanical-unfurl, html.zf-motion-off [data-zf-petal] {
  transform: none !important; opacity: 1 !important; transition: none !important; animation: none !important;
}
html.zf-motion-off .zf-botanical-scene, html.zf-motion-off .zf-botanical-rail { translate: none !important; }
html.zf-motion-off [data-zf-sticky-buy] { transition: none; }
@media (prefers-reduced-motion: reduce) {
  [data-zf-stem], [data-zf-branch] { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .zf-botanical-unfurl, [data-zf-petal] { transform: none !important; opacity: 1 !important; animation: none !important; }
  .zf-botanical-scene, .zf-botanical-rail { translate: none !important; }
  [data-zf-sticky-buy] { transition: none; }
}
@media print { .zf-botanical-field, .zf-botanical-divider { display: none !important; } }
