
.ai24-v27-panel[hidden],
.ai24-v27-hero-video[hidden],
.ai24-v27-video-toggle[hidden] {
  display: none !important;
}

.ai24-v27-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px max(16px, calc((100vw - 1200px) / 2));
  background: #fff;
  color: #111;
  border-bottom: 2px solid #222;
}

.ai24-v27-panel button {
  padding: 10px 14px;
  min-height: 44px;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}

.ai24-v27-panel button:focus-visible,
.ai24-v27-video-toggle:focus-visible,
#access-toggle:focus-visible {
  outline: 3px solid #d96a00;
  outline-offset: 3px;
}

.hero.ai24-v27-video-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ai24-v27-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero.ai24-v27-video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 30, 19, .65),
    rgba(0, 30, 19, .18)
  );
}

.hero.ai24-v27-video-hero > :not(video):not(.ai24-v27-video-toggle) {
  position: relative;
  z-index: 2;
}

.ai24-v27-video-toggle {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 5;
  padding: 9px 12px;
  border: 1px solid #fff;
  border-radius: 5px;
  background: rgba(0, 0, 0, .8);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

html.ai24-v27-dark body,
html.ai24-v27-dark body *:not(img):not(video) {
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html.ai24-v27-dark body {
  background: #000 !important;
  color: #fff !important;
}

html.ai24-v27-light body {
  background: #fff !important;
  color: #000 !important;
}

html.ai24-v27-dark body :is(
  header, main, nav, aside, footer, section, article,
  .utility, .header, .nav-shell, .footer, .wrap,
  .hero, .card, .news, .ai24-inner-page
) {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

html.ai24-v27-light body :is(
  header, main, nav, aside, footer, section, article,
  .utility, .header, .nav-shell, .footer, .wrap,
  .hero, .card, .news, .ai24-inner-page
) {
  background: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
}

html.ai24-v27-dark body :is(
  p, span, strong, small, li, h1, h2, h3, h4, h5, h6
) {
  color: #fff !important;
}

html.ai24-v27-light body :is(
  p, span, strong, small, li, h1, h2, h3, h4, h5, h6
) {
  color: #000 !important;
}

html.ai24-v27-dark body a {
  color: #ffe66d !important;
  text-decoration: underline;
}

html.ai24-v27-light body a {
  color: #003e93 !important;
  text-decoration: underline;
}

html.ai24-v27-dark body :is(button, input, select),
html.ai24-v27-light body :is(button, input, select) {
  background: #fff !important;
  color: #000 !important;
  border: 2px solid #000 !important;
}

html.ai24-v27-dark .ai24-v27-hero-video,
html.ai24-v27-light .ai24-v27-hero-video {
  display: none !important;
}

html.ai24-v27-dark .hero.ai24-v27-video-hero::after,
html.ai24-v27-light .hero.ai24-v27-video-hero::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .ai24-v27-hero-video {
    display: none !important;
  }
}

@media (max-width: 680px) {
  .ai24-v27-video-toggle {
    right: 12px;
    bottom: 12px;
  }
}


/* AI24_V28_COMPACT_ACCESSIBILITY_PANEL */
.utility-inner {
  position: relative;
}

.ai24-v27-panel:not([hidden]) {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  z-index: 1000 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: min(390px, calc(100vw - 24px)) !important;
  max-width: 390px !important;
  padding: 14px !important;
  margin: 0 !important;
  border: 1px solid #d6e5da !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 14px 30px rgba(0, 45, 25, .15) !important;
}

.ai24-v27-panel::before {
  display: none !important;
}

.ai24-v27-panel button {
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 9px 11px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  transform: none !important;
}

.ai24-v27-panel button:first-child {
  grid-column: 1 / -1;
}

.ai24-v27-panel[hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  .ai24-v27-panel:not([hidden]) {
    right: 0 !important;
    width: min(350px, calc(100vw - 24px)) !important;
  }
}


/* AI24_GEO85C_SMOOTH_VIDEO
   Gentle continuous zoom, reversing at the ends.
   Keep reduced-motion and accessibility safeguards.
*/
.hero.ai24-v27-video-hero .ai24-v27-hero-video {
  transform-origin: 50% 50%;
  animation: ai24-geo85c-zoom 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes ai24-geo85c-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero.ai24-v27-video-hero .ai24-v27-hero-video {
    animation: none !important;
    transform: none !important;
  }
}

html.ai24-v27-dark .ai24-v27-hero-video,
html.ai24-v27-light .ai24-v27-hero-video {
  animation: none !important;
  transform: none !important;
}


/* GEO85F_OFFICIAL_YOUTUBE */
.hero.ai24-v27-video-hero .ai24-youtube-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  inset: auto;
  width: 100%;
  min-width: 100%;
  height: max(100%, 56.25vw);
  border: 0;
  transform: translate(-50%, -50%) !important;
  animation: none !important;
  pointer-events: none;
  z-index: 0;
}
.ai24-youtube-hero[hidden] {
  display: none !important;
}


/* GEO85H_YOUTUBE_LAYOUT_REPAIR */

/* Anchor the iframe strictly inside the real hero. */
.hero.hero-home.ai24-v27-video-hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  background: #12382e url('pine-canopy-clean.jpg')
              center center / cover no-repeat;
}

/* Fit the video to the hero, keeping its 16:9 proportions. */
.hero.ai24-v27-video-hero .ai24-youtube-hero {
  position: absolute !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  min-width: 0 !important;
  max-width: none !important;
  transform: translate(-50%, -50%) !important;
  animation: none !important;
  will-change: auto !important;
  border: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Keep the existing hero content above the video. */
.hero.ai24-v27-video-hero .hero-home-layout {
  position: relative;
  z-index: 2;
}

/* Old photography must not conceal the iframe. */
.hero.ai24-v27-video-hero .hero-pine-pane {
  background: linear-gradient(
    90deg,
    rgba(0, 29, 20, .89),
    rgba(0, 37, 25, .69) 58%,
    rgba(0, 38, 26, .15)
  ) !important;
}

.hero.ai24-v27-video-hero .hero-lake-pane {
  background: linear-gradient(
    90deg,
    rgba(0, 33, 23, .04),
    rgba(0, 34, 23, .18)
  ) !important;
}

.hero.ai24-v27-video-hero::after {
  pointer-events: none;
  z-index: 1;
}

.hero.ai24-v27-video-hero .ai24-youtube-hero[hidden] {
  display: none !important;
}

/* Accessible/reduced-motion modes use the image backdrop. */
@media (prefers-reduced-motion: reduce) {
  .hero.ai24-v27-video-hero .ai24-youtube-hero {
    display: none !important;
  }
}

html.ai24-v27-dark .hero.ai24-v27-video-hero .ai24-youtube-hero,
html.ai24-v27-light .hero.ai24-v27-video-hero .ai24-youtube-hero {
  display: none !important;
}


/* GEO85I_UNCROPPED_VIDEO */

/*
 * Video occupies its native 16:9 canvas.
 * Previous decorative layout is used only for static mode.
 */
.hero.hero-home.ai24-geo85i-video-active {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  overflow: hidden !important;
  isolation: isolate;
  background: #102f26 !important;
}

/* No editorial overlays on the customer's video. */
.hero.hero-home.ai24-geo85i-video-active
.hero-home-layout {
  display: none !important;
}

.hero.hero-home.ai24-geo85i-video-active::before,
.hero.hero-home.ai24-geo85i-video-active::after {
  display: none !important;
}

/* Override the older cover/cropping rules and inline sizing. */
.hero.hero-home.ai24-geo85i-video-active
.ai24-youtube-hero {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
  pointer-events: none;
  z-index: 1 !important;
}

/* Static accessibility modes must never show a player. */
.hero.hero-home .ai24-youtube-hero[hidden] {
  display: none !important;
}
