/* hero-slider-cae.css — HOMEPAGE BANNER FEATURE SLIDER + LEFT COLUMN (Kate Shawver, ClickUp 1amzwvgc7an, 2026-11-14;
 * CAE-Homepage-Banner-Feature-Slider-Dev-Notes.docx). Markup: inc/cae-hero-slider.php. Behaviour: hero-slider-cae.js.
 * Enqueued on the front page only. Values are theme CSS px inside the site's 0.8 presentation zoom (Kate's dev-tools
 * numbers), so 440 x 570 here is 352 x 456 on screen at 1440.
 *
 * Left column (v2 dev notes, ClickUp 1amzwvgc7cq, supersede v1): the panel leaves the column and goes on the intro
 * only, frosted (white .72 + 6 px backdrop blur), organic SVG-mask edge with a subtle dip in the top edge, 48/58/50
 * padding, text-wrap balance, 28/40 type; it sits down on the soil band, bottom level with the postcard, ~17 px left
 * of the prev arrow. The heading is 12% bigger, translateY(-6px), and never wraps from 1024 up; below 1024 it scales
 * down with the viewport instead of wrapping.
 * Right column (sections 1, 2, 3, 5): one 440 x 570 postcard (white 10 px holder), centred in the 720 design column,
 * top level with the heading; 48 px butter-yellow arrows 24 px outside it (brick on hover / focus, no shadow); grey
 * dots bottom-right in the caption, active butter-yellow; ~400 ms crossfade.
 */

/* ── shared names ───────────────────────────────────────────────────────────────────────── */
body.cae-page--cae-homepage-v7-2 {
  --cae-hs-w: 440px;
  --cae-hs-h: 570px;
  --cae-hs-yellow: var(--wp--preset--color--primary-butter-yellow, #F2A518);
  --cae-hs-brick: var(--wp--preset--color--primary-brick, #B15533);
}

/* ── LEFT COLUMN ────────────────────────────────────────────────────────────────────────── */
body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230220.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230220.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230220 {
  background: transparent;
  border-radius: 0;
}
body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230221.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230221 {
  gap: 0;
}
body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__heading-figma-text-19357-230222.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__heading-figma-text-19357-230222 {
  font-size: calc(var(--wp--preset--font-size--h-1-acumin) * 1.12);
  white-space: nowrap;
  margin: 0;
  transform: translateY(-6px); /* v2 (replaces v1's 26 px move-up of the column) */
}
/* the intro box: the doc's CSS (Kate, v2 dev notes 1amzwvgc7cq "Banner intro box"): frosted white .72 + 6 px backdrop
   blur so the soil shows faintly through; organic edge with the subtle uneven dip in the top edge; 48/58/50 padding */
body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__body-figma-text-19357-230223.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__body-figma-text-19357-230223 {
  box-sizing: border-box;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  padding: 48px 58px 50px;
  margin: 236px 0 0 -48px;
  transform: translateX(64px);
  text-wrap: balance;
  font-size: 28px;
  line-height: 40px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M4,8 C10,1.5 19,5 28,3.5 C36,2.5 41,6 46,7.5 C51,9 55,8.5 59,7 C64,5 68,6.5 73,5 C80,3.5 88,3 96.5,1 C100.5,8 97,20 99,33 C101,47 96.5,58 99,72 C100.5,84 97,92 98,98.5 C87,101 76,95.5 62,99 C49,101.5 38,95.5 24,99 C14,101 7,96.5 1.5,99 C-0.5,89 3.5,78 1,64 C-0.5,50 3.5,37 1,23 C0,14 2,10 4,8 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M4,8 C10,1.5 19,5 28,3.5 C36,2.5 41,6 46,7.5 C51,9 55,8.5 59,7 C64,5 68,6.5 73,5 C80,3.5 88,3 96.5,1 C100.5,8 97,20 99,33 C101,47 96.5,58 99,72 C100.5,84 97,92 98,98.5 C87,101 76,95.5 62,99 C49,101.5 38,95.5 24,99 C14,101 7,96.5 1.5,99 C-0.5,89 3.5,78 1,64 C-0.5,50 3.5,37 1,23 C0,14 2,10 4,8 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* until the boot that serves the pattern without it, the News & Events button is not drawn (dev notes: removed) */
body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__actions {
  display: none;
}

@media (min-width: 1024px) {
  /* the column keeps its own top (v2: the heading moves only by its translateY(-6px)); it grows to the nowrap
     heading (at 1440 the line is ~579 wide, wider than the drawn 478 column), so the heading never overflows */
  body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230220.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230220.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230220 {
    width: auto;
    min-width: 542px;
  }
  body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__heading-figma-text-19357-230222.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__heading-figma-text-19357-230222 {
    width: max-content;
  }
  body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__body-figma-text-19357-230223.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__body-figma-text-19357-230223 {
    width: 596px; /* the design heading column (542 - 2 x 32) + 118 */
    max-width: none;
    /* v2 outcome, measured on this build: the doc's 236 px left the box bottom 20 px above the postcard bottom, so
       256 lines them up; from 1024 to 1151 the right column is 600 wide and the doc's 64 px put the box 36 px over
       the prev arrow, so 11 px leaves Kate's ~17 px gap there */
    margin-top: 256px;
    transform: translateX(11px);
  }
}
@media (min-width: 1152px) {
  /* 720 right column: the doc's 64 px left a 24 px gap to the prev arrow; 71 px leaves Kate's ~17 px */
  body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__body-figma-text-19357-230223.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__body-figma-text-19357-230223 {
    transform: translateX(71px);
  }
}

/* ── RIGHT COLUMN: the slider's stage ──────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  /* top level with the heading (column 58 + its 24 px padding), 570 tall; the arrows sit outside the card, so the
     column no longer clips */
  body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230225.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230225.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230225:has(> .cae-hs) {
    top: 82px;
    height: var(--cae-hs-h);
    overflow: visible;
  }
  /* centred in the 720 design column (600 from 1024 to 1151, fix-homepage-cae.css (3)) */
  body.cae-page--cae-homepage-v7-2 .cae-hs {
    width: min(100%, 720px);
  }
}
body.cae-page--cae-homepage-v7-2 .cae-hs {
  position: relative;
  box-sizing: border-box;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__stage {
  position: relative;
  width: var(--cae-hs-w);
  max-width: 100%;
  height: var(--cae-hs-h);
  margin: 0 auto;
}
/* the postcard holder: white, 10 px padding, every slide the same size */
body.cae-page--cae-homepage-v7-2 .cae-hs__frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__slide {
  position: absolute;
  inset: 10px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 0s linear 400ms;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms ease, visibility 0s;
  z-index: 1;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* ── caption (post slides: the hero card caption — Acumin Pro chip / green title / grey date; title ~26 px) ── */
body.cae-page--cae-homepage-v7-2 .cae-hs__cap {
  position: relative;
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 14px 4px 2px;
  font-family: "Acumin Pro", var(--wp--preset--font-family--acumin-pro, sans-serif);
  text-align: left;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__chip {
  display: inline-block;
  background: #dcebd3;
  color: #004f39;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px 1px;
  line-height: 1.2;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0 0;
  color: #004f39;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__date {
  display: block;
  margin-top: 6px;
  padding-right: 150px; /* the dots' lane, bottom-right */
  color: #606055;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}
/* ── manual slides: brick uppercase Condensed Black title, intro-style subtitle, standard yellow button ── */
body.cae-page--cae-homepage-v7-2 .cae-hs__slide--manual .cae-hs__cap {
  padding: 14px 4px 2px;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed, "Acumin Pro Condensed", sans-serif);
}
body.cae-page--cae-homepage-v7-2 .cae-hs__mtitle {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--cae-hs-brick);
  font-family: var(--wp--preset--font-family--acumin-pro-condensed, "Acumin Pro Condensed", sans-serif);
  font-size: 34px;
  font-weight: 900;
  line-height: 38px;
  text-transform: uppercase;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__msub {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0 0;
  color: rgb(96, 96, 85);
  font-family: var(--wp--preset--font-family--acumin-pro-condensed, "Acumin Pro Condensed", sans-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 29px;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__btn {
  display: inline-flex;
  margin: 16px 0 0;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 51px;
  padding: 12px 24px 11px;
  border-radius: 40px;
  background-color: var(--cae-hs-yellow);
  color: #fff;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-size: var(--wp--preset--font-size--p-2-regular-acumin-pro-cond);
  line-height: var(--wp--custom--line-heights--p-2-regular-acumin-pro-cond);
  font-weight: var(--wp--custom--font-weights--p-2-regular-acumin-pro-cond);
  text-decoration: none;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__btn .wp-block-button__link:hover,
body.cae-page--cae-homepage-v7-2 .cae-hs__btn .wp-block-button__link:focus-visible {
  background-color: var(--cae-hs-yellow); /* Nov 2026 rule: the button keeps its colour; only the chevron moves */
  color: #fff;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__btn .button-icon {
  width: 20px;
  height: 20px;
}
/* ── dots: bottom-right in the caption ── */
body.cae-page--cae-homepage-v7-2 .cae-hs__dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 0;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__dot {
  position: relative;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__dot::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9c9c2;
  transition: background-color 0.2s;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__dot[aria-current="true"]::before {
  background: var(--cae-hs-yellow);
}
body.cae-page--cae-homepage-v7-2 .cae-hs__dot:hover::before {
  background: #8c8c84;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__dot[aria-current="true"]:hover::before {
  background: var(--cae-hs-yellow);
}
/* ── arrows: the testimonial slider's control — 48 px butter-yellow circle, white chevron, brick on hover / focus,
   no shadow — 24 px outside the card, centred on it ── */
body.cae-page--cae-homepage-v7-2 .cae-hs__ctl {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--cae-hs-yellow);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__ctl--prev { left: -72px; }
body.cae-page--cae-homepage-v7-2 .cae-hs__ctl--next { right: -72px; }
body.cae-page--cae-homepage-v7-2 .cae-hs__ctl img {
  display: block;
  width: 11px;
  height: 20px;
  pointer-events: none;
}
body.cae-page--cae-homepage-v7-2 .cae-hs__ctl:hover,
body.cae-page--cae-homepage-v7-2 .cae-hs__ctl:focus-visible {
  background-color: var(--cae-hs-brick);
}
/* ── keyboard focus: the site's ring ── */
body.cae-page--cae-homepage-v7-2 .cae-hs__ctl:focus-visible,
body.cae-page--cae-homepage-v7-2 .cae-hs__dot:focus-visible,
body.cae-page--cae-homepage-v7-2 .cae-hs__btn .wp-block-button__link:focus-visible {
  outline: 3px solid #004f39;
  outline-offset: 2px;
}
body.cae-page--cae-homepage-v7-2 a.cae-hs__card:focus-visible {
  outline: none;
}
body.cae-page--cae-homepage-v7-2 a.cae-hs__card:focus-visible::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 3;
  border: 3px solid var(--cae-hs-yellow);
  pointer-events: none;
}
/* ── live region: read, not seen ── */
body.cae-page--cae-homepage-v7-2 .cae-hs__status {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── BELOW 1024: the card stacks under the intro, keeps its portrait shape up to the column width ── */
@media (max-width: 1023.98px) {
  body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__heading-figma-text-19357-230222.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__heading-figma-text-19357-230222 {
    /* scale down with the viewport rather than wrap: the line is ~7.7 x its font size wide */
    font-size: min(calc(var(--wp--preset--font-size--h-1-acumin) * 1.12), calc((100vw - 110px) / var(--cae-bleed-z, 0.8) / 8));
  }
  body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__body-figma-text-19357-230223.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__body-figma-text-19357-230223 {
    margin: 16px 0 0;
    padding: 20px 24px 24px;
    transform: none;
    width: auto;
    font-size: var(--wp--preset--font-size--h-3-acumin-regular);
  }
  body.cae-page--cae-homepage-v7-2 .cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230225.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230225.cae-website-redesign-cae-homepage-v7-2-homepage-hero-banner-v3-generic__column-figma-generic-column-19357-230225:has(> .cae-hs) {
    height: auto;
    overflow: visible;
  }
  body.cae-page--cae-homepage-v7-2 .cae-hs {
    width: 100%;
  }
  body.cae-page--cae-homepage-v7-2 .cae-hs__stage {
    height: auto;
    aspect-ratio: 440 / 570;
  }
}
/* no room beside the card: the arrows move inside the image edges (the dots stay in the caption) */
@media (max-width: 767.98px) {
  body.cae-page--cae-homepage-v7-2 .cae-hs__ctl {
    top: calc((100% - 110px) / 2 - 24px);
  }
  body.cae-page--cae-homepage-v7-2 .cae-hs__ctl--prev { left: 20px; }
  body.cae-page--cae-homepage-v7-2 .cae-hs__ctl--next { right: 20px; }
  body.cae-page--cae-homepage-v7-2 .cae-hs__title { font-size: 22px; }
  body.cae-page--cae-homepage-v7-2 .cae-hs__mtitle { font-size: 28px; line-height: 32px; }
  body.cae-page--cae-homepage-v7-2 .cae-hs__msub { font-size: 19px; line-height: 25px; }
  body.cae-page--cae-homepage-v7-2 .cae-hs__date { padding-right: 0; margin-right: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  body.cae-page--cae-homepage-v7-2 .cae-hs__slide,
  body.cae-page--cae-homepage-v7-2 .cae-hs__slide.is-active,
  body.cae-page--cae-homepage-v7-2 .cae-hs__ctl,
  body.cae-page--cae-homepage-v7-2 .cae-hs__dot::before {
    transition: none;
  }
}

/* ── BANNER ART (v2 dev notes "Banner background"; Kate 1amzwvgc7cq 2026-11-29 "Add land on both sides so there's no
   mirrored join at any width"): ONE image, no mirrored copies. assets/images/garden-hero-bg-wide.webp (8021 x 1038)
   is the garden art from Kate's EPS at 1.6 px per CSS px (2304 px = the 1440 CSS px tile it replaces) with new land
   built from the same EPS: 2287 px on the left, 3430 px on the right. Drawn 5013.125 CSS px wide with the original
   art's left edge where the centre tile's was (50% - 720px), clipped to the banner and moved by --cae-hero-bg-shift as
   before, so the seedlings, the plant and the soil stay where they were. It covers the banner up to a 3840 px
   window (4800 CSS px at the 0.8 zoom, art shifted -357: needs 1323 left / 2037 right, has 1429 / 2144). The flipped
   side tiles are hidden (same file as the centre, so no extra fetch). File and shift: CAE_HERO_BG_ART in
   inc/cae-perf-media.php; this width and margin belong to that file. ── */
body.cae-page--cae-homepage-v7-2 .cae-hf-hero-bg {
  overflow: hidden;
}
body.cae-page--cae-homepage-v7-2 .cae-hf-hero-bg picture img.cae-hf-left,
body.cae-page--cae-homepage-v7-2 .cae-hf-hero-bg picture img.cae-hf-right {
  display: none;
}
body.cae-page--cae-homepage-v7-2 .cae-hf-hero-bg picture img.cae-hf-center {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5013.125px;
  height: auto;
  margin-left: -2149.375px; /* -(720 + 1429.375): the 2287 px of new land on the left, at 1.6 px per CSS px */
}
body.cae-page--cae-homepage-v7-2 .cae-hf-hero-bg > div {
  transform: var(--cae-hero-bg-shift, none);
}
/* 1024-1151: the tiles show from 1024 up (gate moved from 1152, Kate 1amzwvgc7cq 2026-11-14). In this range the intro
   box sits 60 px further left of the banner's centre than at 1152 and up (its column is 600 wide, not 720), so the
   row takes 60 px more to the left on top of the CAE_HERO_BG_ART shift: the box keeps the same place on the art as
   at 1152 and up (on the soil band, clear of the seedlings). */
@media (min-width: 1024px) and (max-width: 1151.98px) {
  body.cae-page--cae-homepage-v7-2 .cae-hf-hero-bg > div {
    transform: var(--cae-hero-bg-shift, none) translateX(-60px);
  }
}
