/* ==================================================================
   PIS-21 static-site enhancements.
   Loads AFTER all Elementor CSS (same slot as static-fixes.css),
   so these rules win on source order. Scoped tightly to the footer
   so nothing else on the page is affected.
   ================================================================== */

/* ------------------------------------------------------------------
   Footer responsive reflow.
   The footer (container id 3962fa0b) lays its 4 columns out as:
     - 530b9dac (logo + description + social-icon row 22e37ede)
     - 3ad733f2 (Quick Links / Open Hours / Newsletter row 1d0867b8)
   Elementor drives these via fixed --width percentages (30/70, then
   12/18/33 per inner column) so at tablet / in-between widths the
   columns squash instead of stacking. These rules override the
   Elementor custom properties (and the resolved flex props) so the
   columns fall to 2-up on tablet and a clean 1-up stack on phones.
   Everything is namespaced under .elementor-element-3962fa0b.
   ------------------------------------------------------------------ */

/* ---------- Tablet zone: 768px to 1024px -> tidy 2-up ---------- */
@media (min-width: 768px) and (max-width: 1024px) {

  /* The outer 4-col row wraps and its two halves each take full width
     so the content groups inside can break to a balanced 2-up grid. */
  .elementor-element-3962fa0b .elementor-element-20f482cf {
    --flex-wrap: wrap;
    --gap: 40px 40px;
    flex-wrap: wrap !important;
  }
  .elementor-element-3962fa0b .elementor-element-530b9dac,
  .elementor-element-3962fa0b .elementor-element-3ad733f2 {
    --width: 100%;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* The three text columns (Quick Links / Open Hours / Newsletter)
     become a wrapping 2-up grid instead of three pinched columns. */
  .elementor-element-3962fa0b .elementor-element-1d0867b8 {
    --flex-wrap: wrap;
    --gap: 36px 48px;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }
  .elementor-element-3962fa0b .elementor-element-1d0867b8 > .elementor-element {
    --width: calc(50% - 24px);
    flex: 0 0 calc(50% - 24px) !important;
    max-width: calc(50% - 24px) !important;
  }
}

/* ---------- Phone zone: <= 767px -> clean 1-up stack ---------- */
@media (max-width: 767px) {

  /* Stack the outer row and both halves vertically, full width. */
  .elementor-element-3962fa0b .elementor-element-20f482cf,
  .elementor-element-3962fa0b .elementor-element-530b9dac,
  .elementor-element-3962fa0b .elementor-element-3ad733f2,
  .elementor-element-3962fa0b .elementor-element-1d0867b8 {
    --flex-direction: column;
    --flex-wrap: nowrap;
    --width: 100%;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Generous, even vertical rhythm between every stacked block. */
  .elementor-element-3962fa0b .elementor-element-20f482cf {
    --gap: 40px 0px;
  }
  .elementor-element-3962fa0b .elementor-element-1d0867b8 {
    --gap: 36px 0px;
    align-items: flex-start !important;
  }

  /* Each stacked text column takes the full row and aligns left. */
  .elementor-element-3962fa0b .elementor-element-1d0867b8 > .elementor-element {
    --width: 100%;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
  }

  /* Logo / description column: center it for a balanced single column. */
  .elementor-element-3962fa0b .elementor-element-38899b50 {
    --justify-content: center;
    --align-items: center;
    text-align: center;
  }

  /* Social-icon row stays a centered horizontal row (it is meant to
     sit side by side), just give it room to wrap if it ever needs to. */
  .elementor-element-3962fa0b .elementor-element-22e37ede {
    --flex-wrap: wrap;
    --justify-content: center;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  /* Copyright bar: center and let long text wrap instead of overflow. */
  .elementor-element-3962fa0b .elementor-element-28b52c91 {
    --width: 100%;
    width: 100% !important;
    text-align: center;
  }
}

/* ==================================================================
   PIS-21 brand treatments (from 21st.dev, re-themed to brand).
   Brand palette ONLY: green #38ce5d, ink/bg #282828, white #ffffff.
   Font stack: SF Pro Display first, system fallbacks after.
   Both treatments are ADDITIVE: add the class to an element, the
   base Elementor styles stay intact.
   ================================================================== */

:root {
  --pis-green: #38ce5d;
  --pis-green-deep: #1f8a3c;   /* darker tint of the same hue */
  --pis-ink: #282828;
  --pis-white: #ffffff;
  --pis-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
}

/* ------------------------------------------------------------------
   (A) GradientText  ->  .pis-gradient-text
   An animated flowing gradient clipped to the glyphs. Brand-only
   stops (deep green -> green -> white -> green) so it reads as a
   soft metallic shimmer, never a neon rainbow. Stays legible because
   the mid-tones never drop below the green value range.
   Usage: wrap a single accent word, e.g.
     <span class="pis-gradient-text">Higher</span>
   ------------------------------------------------------------------ */
.pis-gradient-text {
  font-family: var(--pis-font);
  font-weight: 800;
  letter-spacing: -0.02em;
  /* The gradient is wider than the text so the shimmer can travel. */
  background-image: linear-gradient(
    100deg,
    var(--pis-green-deep) 0%,
    var(--pis-green) 28%,
    var(--pis-white) 50%,
    var(--pis-green) 72%,
    var(--pis-green-deep) 100%
  );
  background-size: 220% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* slow, cinematic drift, no snap */
  animation: pis-grad-shimmer 7s ease-in-out infinite;
  /* keep crisp on retina + avoid clipped descenders */
  padding-bottom: 0.04em;
  will-change: background-position;
}

@keyframes pis-grad-shimmer {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Legibility / a11y fallback: if background-clip:text is unsupported,
   the text simply renders in solid brand green instead of vanishing. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .pis-gradient-text {
    color: var(--pis-green);
    -webkit-text-fill-color: var(--pis-green);
    background: none;
  }
}

/* ------------------------------------------------------------------
   (B) LiquidButton / glass button -> .pis-liquid-btn (+ --lg modifier)
   Layered inset + box-shadow "liquid glass" pill with an SVG
   turbulence/displacement backdrop filter. Themed to read on dark
   (#282828) and on green (#38ce5d) surfaces. Add as an EXTRA class
   alongside an existing .elementor-button, e.g.
     class="elementor-button pis-liquid-btn"
   ------------------------------------------------------------------ */
.pis-liquid-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--pis-font);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--pis-white);
  text-decoration: none;
  padding: 0.95em 1.9em;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  /* Translucent brand-green glass surface. */
  background-color: rgba(56, 206, 93, 0.16);
  /* The "liquid glass" depth: outer drop, bright inner top highlight,
     soft inner bottom shade, all built from brand colors. */
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.28) inset,
    0 -1px 0 0 rgba(40, 40, 40, 0.45) inset,
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 8px 24px -8px rgba(40, 40, 40, 0.55),
    0 2px 6px -2px rgba(56, 206, 93, 0.45);
  /* Refraction: blur + the SVG displacement filter defined in the
     hidden #container-glass markup near </body>. */
  -webkit-backdrop-filter: blur(6px) saturate(135%) url(#container-glass);
          backdrop-filter: blur(6px) saturate(135%) url(#container-glass);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Moving sheen sweep across the glass (kept subtle, brand white). */
.pis-liquid-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.18) 55%,
    transparent 100%
  );
  background-size: 240% 100%;
  background-position: 120% 0;
  transition: background-position 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.pis-liquid-btn:hover,
.pis-liquid-btn:focus-visible {
  transform: translateY(-2px);
  background-color: rgba(56, 206, 93, 0.26);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.40) inset,
    0 -1px 0 0 rgba(40, 40, 40, 0.45) inset,
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 14px 34px -10px rgba(40, 40, 40, 0.60),
    0 4px 12px -2px rgba(56, 206, 93, 0.55);
  outline: none;
}
.pis-liquid-btn:hover::before,
.pis-liquid-btn:focus-visible::before {
  background-position: -120% 0;
}
.pis-liquid-btn:active {
  transform: translateY(0);
  transition-duration: 0.12s;
}
/* Keyboard focus ring (brand green halo, on top of the glass). */
.pis-liquid-btn:focus-visible {
  box-shadow:
    0 0 0 3px rgba(40, 40, 40, 0.9),
    0 0 0 6px rgba(56, 206, 93, 0.9),
    0 1px 0 0 rgba(255, 255, 255, 0.40) inset,
    0 14px 34px -10px rgba(40, 40, 40, 0.60);
}

/* Large variant for hero / primary CTAs. */
.pis-liquid-btn--lg {
  padding: 1.15em 2.6em;
  font-size: 1.08em;
  border-radius: 999px;
}

/* On a GREEN surface the green-tinted glass would disappear, so when
   placed on green, flip the tint toward ink for contrast. Add the
   .pis-on-green helper to the button when it sits on a green block. */
.pis-liquid-btn.pis-on-green {
  color: var(--pis-ink);
  background-color: rgba(255, 255, 255, 0.30);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.70) inset,
    0 -1px 0 0 rgba(31, 138, 60, 0.55) inset,
    0 0 0 1px rgba(255, 255, 255, 0.30) inset,
    0 8px 24px -8px rgba(31, 138, 60, 0.50);
}
.pis-liquid-btn.pis-on-green:hover,
.pis-liquid-btn.pis-on-green:focus-visible {
  background-color: rgba(255, 255, 255, 0.44);
}

/* Fallback: no backdrop-filter support (most Firefox builds, older
   browsers) -> solid translucent brand bg so it still reads as a
   filled pill, never a transparent ghost. */
@supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .pis-liquid-btn {
    background-color: rgba(56, 206, 93, 0.92);
    color: var(--pis-ink);
  }
  .pis-liquid-btn.pis-on-green {
    background-color: rgba(40, 40, 40, 0.92);
    color: var(--pis-white);
  }
}

/* Reduced-motion: kill the shimmer + sheen, keep everything static
   but fully styled. Required by the motion principles. */
@media (prefers-reduced-motion: reduce) {
  .pis-gradient-text {
    animation: none;
    background-position: 50% center;
  }
  .pis-liquid-btn,
  .pis-liquid-btn::before {
    transition: none;
  }
  .pis-liquid-btn:hover,
  .pis-liquid-btn:focus-visible {
    transform: none;
  }
}

/* ==================================================================
   PIS Marquee, 21st.dev style horizontal infinite scroll.
   Pure CSS, no JS. Seamless loop via duplicated content, edge fade
   masks, pause on hover, reversible with [data-reverse], and a hard
   stop under prefers-reduced-motion. Brand locked: green #38ce5d,
   ink #282828, white #fff. Namespaced under .pis-marquee so it can
   never touch Elementor styles.
   ================================================================== */

.pis-marquee {
  --pis-green: #38ce5d;
  --pis-ink: #282828;
  --pis-white: #ffffff;
  --pis-speed: 38s;          /* one full loop; lower is faster */
  --pis-gap: 18px;           /* space between items inside a track */
  --pis-fade: 12%;           /* width of each edge fade */

  position: relative;
  width: 100%;
  overflow: hidden;
  /* Edge fade masks: content dissolves into the band edges. */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--pis-fade),
    #000 calc(100% - var(--pis-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--pis-fade),
    #000 calc(100% - var(--pis-fade)),
    transparent 100%
  );
}

/* The viewport row. Two identical tracks sit side by side; we slide
   the whole thing left by exactly one track width, then it repeats
   seamlessly because track B is a perfect copy of track A. */
.pis-marquee__row {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: pis-marquee-scroll var(--pis-speed) linear infinite;
  will-change: transform;
}

/* One track holds the real content. We render it twice (the second
   marked aria-hidden in the HTML) so the loop has no visible seam.
   Reset list defaults explicitly so the loop never depends on the
   theme reset; Hello Elementor zeroes ul/li margins but not padding
   or list-style. */
.pis-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--pis-gap);
  margin: 0;
  padding: 0;
  padding-inline: calc(var(--pis-gap) / 2);
  list-style: none;
  flex: 0 0 auto;
}
.pis-marquee__track > li { list-style: none; }

/* Slide left by 50% of the row (one full track) for a clean wrap. */
@keyframes pis-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Reverse direction modifier. */
.pis-marquee[data-reverse] .pis-marquee__row {
  animation-direction: reverse;
}

/* Pause on hover (and on keyboard focus within, for accessibility). */
.pis-marquee:hover .pis-marquee__row,
.pis-marquee:focus-within .pis-marquee__row {
  animation-play-state: paused;
}

/* Optional speed modifiers. */
.pis-marquee[data-speed="slow"] { --pis-speed: 60s; }
.pis-marquee[data-speed="fast"] { --pis-speed: 22s; }

/* ---------- Variant A: offering chips ---------- */
.pis-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--pis-ink);
  border: 1.5px solid var(--pis-green);
  color: var(--pis-white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}
/* The leading dot reads as the brand accent without extra hues. */
.pis-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pis-green);
  flex: 0 0 auto;
}
/* Key word inside the chip rendered in green for hierarchy. */
.pis-chip__accent { color: var(--pis-green); }

/* ---------- Variant B: testimonial cards (future Google reviews) ---------- */
.pis-marquee--cards { --pis-gap: 22px; }

.pis-review {
  flex: 0 0 auto;
  width: 340px;
  box-sizing: border-box;
  padding: 24px 26px 22px;
  border-radius: 20px;
  background: var(--pis-white);
  border: 1px solid rgba(40, 40, 40, 0.10);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  text-align: left;
}
/* Dark card alternate: set .pis-review--dark on individual cards
   to interleave ink cards with white cards. */
.pis-review--dark {
  background: var(--pis-ink);
  border-color: rgba(56, 206, 93, 0.35);
}

.pis-review__stars {
  color: var(--pis-green);
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 1;
  margin: 0 0 14px;
}
.pis-review__quote {
  margin: 0 0 18px;
  color: var(--pis-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  /* clamp so every card stays the same height for a tidy row */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pis-review--dark .pis-review__quote { color: var(--pis-white); }

.pis-review__who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pis-review__avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pis-green);
  color: var(--pis-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pis-review__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pis-ink);
  line-height: 1.2;
}
.pis-review--dark .pis-review__name { color: var(--pis-white); }
.pis-review__meta {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(40, 40, 40, 0.55);
  line-height: 1.2;
}
.pis-review--dark .pis-review__meta { color: rgba(255, 255, 255, 0.55); }

/* ---------- The "What We Offer" band wrapper ---------- */
.pis-offer-band {
  --pis-green: #38ce5d;
  --pis-ink: #282828;
  --pis-white: #ffffff;
  width: 100%;
  background: var(--pis-ink);
  padding: 56px 0;
}
.pis-offer-band__eyebrow {
  margin: 0 0 28px;
  text-align: center;
  color: var(--pis-green);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .pis-offer-band { padding: 40px 0; }
  .pis-chip { font-size: 15px; padding: 11px 20px; }
  .pis-review { width: 280px; padding: 20px 22px 18px; }
  .pis-marquee { --pis-fade: 7%; }
}

/* ---------- Respect reduced motion: stop and reveal statically ---------- */
@media (prefers-reduced-motion: reduce) {
  /* Let the band itself scroll so the static, un-clipped content is
     reachable. The row is max-content (wider than the viewport), so
     overflow-x must live on the clipping ancestor, not the row. */
  .pis-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pis-marquee__row {
    animation: none;
    transform: none;
    will-change: auto;
  }
  /* Hide the duplicate track so static content does not read twice. */
  .pis-marquee__track[aria-hidden="true"] { display: none; }
}

/* ------------------------------------------------------------------
   Dithering shader background canvas (PIS.mountDither).
   The wrapper passed to PIS.mountDither(el, opts) must be a positioning
   context (position: relative). The injected canvas sits absolutely
   behind that element content, ignores pointer events, and never
   participates in layout. Keep real hero content at z-index >= 1.
   ------------------------------------------------------------------ */
.pis-dither-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;            /* behind the host content */
  pointer-events: none;   /* never eats clicks/taps */
  border: 0;
}

/* Optional helper: mark any section to host a dither bg. Gives it a
   positioning context plus the brand dark base color so there is a
   graceful flat fallback before/without WebGL2. */
.pis-dither-host {
  position: relative;
  background-color: #282828;
  isolation: isolate;     /* keeps the z-index:-1 canvas inside this section */
}

/* ---- dither canvas global positioning (prevents overlap) ---- */
.pis-dither-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:-1;}

/* ===== text effects (typewriter + rotate) ===== */
/* ==================================================================
   PIS-21 text effects: Typewriter + TextRotate.
   Vanilla, dependency-free. Brand colors only (accent #38ce5d,
   ink #282828, white #ffffff). The caller sets the accent by adding
   the .pis-accent class to the host element (or any ancestor); the
   effects inherit currentColor, so accent applies to text + cursor.
   NOTE: append this to the TRUE END of pis-21.css (current EOF is
   line 329, not 111), or load it as its own file, so it does not land
   inside the footer media query.
   ================================================================== */

/* Accent helper. Caller adds .pis-accent to the headline span that
   hosts an effect to tint the animated text + cursor green. */
.pis-accent { color: #38ce5d; }

/* ---------- Typewriter ---------- */
.pis-tw {
  /* inline so it sits inside a headline without forcing a line break,
     but white-space:pre-wrap preserves intentional spaces in copy. */
  display: inline;
  white-space: pre-wrap;
}
.pis-tw__text { color: inherit; }

/* Blinking caret. Uses currentColor so it follows .pis-accent.
   1ch-ish bar via background, vertically tuned to the cap height. */
.pis-tw__cursor {
  display: inline-block;
  width: 0.08em;
  margin-left: 0.06em;
  background: currentColor;
  color: inherit;
  height: 1em;
  transform: translateY(0.08em);
  vertical-align: text-bottom;
  animation: pis-tw-blink 1s steps(1, end) infinite;
}
/* If the caller passes a glyph cursor (e.g. '|') instead of the bar,
   we render it as text in .pis-tw__cursor--glyph and just blink it. */
.pis-tw__cursor--glyph {
  display: inline-block;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  margin-left: 0.02em;
  font-weight: inherit;
  animation: pis-tw-blink 1s steps(1, end) infinite;
}
@keyframes pis-tw-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ---------- TextRotate ---------- */
/* The visible rotator is an inline-flex row of per-WORD units, each a
   small inline-flex of per-char spans. Grouping by word means only the
   gap between words can wrap, never the middle of a word. A
   visually-hidden sibling carries the full current word for screen
   readers so the staggered spans are never announced char-by-char. */
.pis-rotate {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  /* sit on the surrounding headline baseline, not float above it */
  vertical-align: baseline;
  position: relative;
  color: inherit;
}
.pis-rotate__word {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
}
/* one word = one non-breaking inline-flex unit (chars never split) */
.pis-rotate__wordpart {
  display: inline-flex;
  flex: 0 0 auto;
  white-space: nowrap;
}
.pis-rotate__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
/* the inter-word space is its own breakable char */
.pis-rotate__space {
  white-space: pre;
}
.pis-rotate__char.is-in {
  opacity: 1;
  transform: translateY(0);
}
.pis-rotate__char.is-out {
  opacity: 0;
  transform: translateY(-0.55em);
}

/* Visually-hidden full text for assistive tech (no layout impact). */
.pis-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reduced motion: everything resolves to static text. ---- */
@media (prefers-reduced-motion: reduce) {
  .pis-tw__cursor,
  .pis-tw__cursor--glyph { animation: none; }
  .pis-rotate__char {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== branded event/camp page ===== */
/* ==================================================================
   PIS-EVENT — branded camp/event detail redesign.
   Scoped entirely under .pis-event so nothing leaks to the rest of
   the Elementor page. Brand colors only: green #38ce5d, dark #282828,
   white #fff (plus opacity tints of those). SF Pro Display stack.
   Loads AFTER all Elementor CSS so these rules win on source order.
   ================================================================== */

/* ---- Hide the generic Elementor camp blocks (non-destructive). ----
   Original markup stays in the DOM for fallback + SEO; we just hide it
   and render #pis-camp-redesign in its place. ids are shared across
   all 3 camp folders so this one rule set covers every camp.
   IMPORTANT: 3880b8dc is NOT a duplicate — it is the REAL site header
   (logo + nav: Home/About/Our Coaches/Blog/Contact + View Camps). It
   must stay visible, so it is intentionally NOT in this hide list. We
   only hide the generic hero band and the WPForms content block. */
.elementor-812 .elementor-element-68d2acef,  /* generic hero block     */
.elementor-812 .elementor-element-33b2545d { /* main content + WPForms */
  display: none !important;
}

/* ---- Keep the header pinned above the redesign. ----
   In source order #pis-camp-redesign is the FIRST child of .elementor-812
   and the header (3880b8dc) is the second, so without help the header
   would render below the redesign. Make the wrapper a column flexbox and
   pull the header to the top with order. Hidden siblings (display:none)
   drop out of flex flow, so only header + redesign participate. */
.elementor-812 {
  display: flex !important;
  flex-direction: column !important;
}
.elementor-812 > .elementor-element-3880b8dc { order: -1 !important; }
.elementor-812 > #pis-camp-redesign        { order: 0  !important; }

/* ---- Tame the theme fallback footer logo on event pages. ----
   The Events Calendar single template renders the Hello Elementor
   THEME footer (#site-footer) instead of the designed Elementor footer,
   and its the_custom_logo() image has no size cap (renders ~600-1140px).
   Cap it to a sane footer size; the header logo lives outside #site-footer
   so it is unaffected. */
#site-footer .custom-logo,
.site-footer .custom-logo {
  width: auto !important;
  max-width: 160px !important;
  height: auto !important;
}

/* If JS is disabled the shader never mounts; keep the redesign usable.
   (We never hide the original on no-JS — see the <noscript> note in
   "where". The hide rules above are fine to keep because the redesign
   itself is plain HTML and works without JS.) */

/* ================= scoped design system ================= */
.pis-event{
  --pis-green:#38ce5d;
  --pis-ink:#282828;
  --pis-white:#ffffff;
  /* opacity tints of the three brand colors only */
  --pis-ink-2:#1f1f1f;            /* darker tint of ink for panels */
  --pis-ink-3:#262626;            /* card surface */
  --pis-line:rgba(255,255,255,.08);
  --pis-line-2:rgba(255,255,255,.14);
  --pis-mut:rgba(255,255,255,.62);
  --pis-mut-2:rgba(255,255,255,.45);
  --pis-green-soft:rgba(56,206,93,.14);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",sans-serif;
  background:var(--pis-ink);
  color:var(--pis-white);
  -webkit-font-smoothing:antialiased;
  overflow:hidden;
}
.pis-event *{box-sizing:border-box;margin:0}
.pis-event a{color:inherit;text-decoration:none}

/* shared inner width + vertical rhythm (generous headroom, no cramping) */
.pis-event__wrap{max-width:1100px;margin:0 auto;padding-left:24px;padding-right:24px}

/* ---------------- HERO ---------------- */
.pis-event__hero{position:relative;isolation:isolate;padding:96px 0 88px;text-align:center}
/* shader + grain live behind everything in the hero */
.pis-event__herobg{position:absolute;inset:0;z-index:-2;overflow:hidden;background:var(--pis-ink)}
.pis-event__herobg canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* static fallback gradient painted under the canvas (and the only thing
   shown when WebGL2 is unavailable or prefers-reduced-motion) */
.pis-event__herobg::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(120% 80% at 50% 0%,var(--pis-green-soft),transparent 62%),var(--pis-ink);
}
.pis-event__grain{position:absolute;inset:0;z-index:-1;opacity:.04;pointer-events:none}
.pis-event__grain svg{width:100%;height:100%}

.pis-event__eyebrow{
  font-size:13px;font-weight:700;letter-spacing:3px;color:var(--pis-green);
  margin-bottom:22px;
}
.pis-event__title{
  font-size:clamp(34px,6vw,64px);line-height:1.03;font-weight:800;letter-spacing:-1.5px;
  max-width:16ch;margin:0 auto 18px;color:var(--pis-white);
}
@media (max-width: 767px){
  .pis-event__title{ font-size:clamp(30px,8vw,42px) !important; line-height:1.1 !important; letter-spacing:-1px !important; }
}
.pis-event__meta{font-size:15px;font-weight:600;color:var(--pis-mut);margin-bottom:44px}
.pis-event__poster{
  width:min(340px,82%);aspect-ratio:1;border-radius:18px;margin:0 auto;display:block;
  object-fit:contain;background:var(--pis-ink-2);
  border:1px solid rgba(56,206,93,.3);
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}

/* ---------------- KEY FACTS ---------------- */
.pis-event__facts{padding:0 0 8px}
.pis-event__facts-inner{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
  margin-top:-28px;position:relative;z-index:2;       /* subtle lift over the banner base */
}
.pis-event__card{
  background:var(--pis-ink-3);border:1px solid var(--pis-line);border-radius:14px;
  padding:24px 22px;
}
.pis-event__card svg{width:30px;height:30px;color:var(--pis-green);display:block;margin-bottom:14px}
.pis-event__card-label{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--pis-mut-2);margin-bottom:7px}
.pis-event__card-value{font-size:17px;font-weight:700;line-height:1.3}

/* ---------------- PRICING ---------------- */
.pis-event__pricing{padding:80px 0 8px;text-align:center}
.pis-event__kicker{font-size:12px;font-weight:700;letter-spacing:3px;color:var(--pis-green);margin-bottom:26px}
.pis-event__tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;text-align:center}
.pis-event__tier{
  background:var(--pis-ink-3);border:1px solid var(--pis-line);border-radius:16px;
  padding:30px 18px;
}
.pis-event__tier--hot{background:var(--pis-green);border-color:var(--pis-green);color:var(--pis-ink)}
.pis-event__tier-tag{
  display:inline-block;font-size:10px;font-weight:700;letter-spacing:2px;
  background:var(--pis-ink);color:var(--pis-green);padding:4px 12px;border-radius:20px;margin-bottom:14px;
}
.pis-event__tier-name{font-size:13px;font-weight:700;letter-spacing:1px;opacity:.65;margin-bottom:12px}
.pis-event__tier--hot .pis-event__tier-name{opacity:.85}
.pis-event__tier-price{font-size:clamp(30px,5vw,40px);font-weight:800;letter-spacing:-1px;line-height:1}

/* ---------------- DESCRIPTION ---------------- */
.pis-event__desc{padding:80px 0 8px}
.pis-event__desc-inner{max-width:680px;margin:0 auto}
.pis-event__desc p{font-size:17px;line-height:1.75;color:rgba(255,255,255,.8)}
.pis-event__desc p + p{margin-top:18px}

/* ---------------- CTA BAND ---------------- */
.pis-event__cta{
  position:relative;isolation:isolate;text-align:center;margin-top:88px;padding:88px 0 96px;
  background:radial-gradient(100% 120% at 50% 100%,var(--pis-green-soft),transparent 60%),var(--pis-ink-2);
}
.pis-event__cta h3{font-size:clamp(26px,4vw,38px);font-weight:800;letter-spacing:-.8px;margin-bottom:32px}

/* liquid button (reusable .pis-liquid-btn, --lg size) */
.pis-liquid-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;letter-spacing:.3px;color:var(--pis-ink);background:var(--pis-green);
  border:0;border-radius:999px;cursor:pointer;text-decoration:none;overflow:hidden;
  transition:transform .5s cubic-bezier(.16,1,.3,1),box-shadow .5s cubic-bezier(.16,1,.3,1);
  box-shadow:0 10px 30px rgba(56,206,93,.28);
}
.pis-liquid-btn--lg{font-size:18px;padding:20px 52px}
.pis-liquid-btn::after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:radial-gradient(60% 120% at 50% -20%,rgba(255,255,255,.55),transparent 60%);
  opacity:0;transition:opacity .5s ease;
}
.pis-liquid-btn:hover{transform:translateY(-3px) scale(1.015);box-shadow:0 18px 44px rgba(56,206,93,.4)}
.pis-liquid-btn:hover::after{opacity:1}
.pis-liquid-btn:active{transform:translateY(-1px) scale(.99)}
.pis-event__cta-sec{display:block;margin-top:22px;font-size:14px;font-weight:600;color:var(--pis-mut)}
.pis-event__cta-sec:hover{color:var(--pis-green)}

/* ---------------- responsive ---------------- */
@media (max-width:860px){
  .pis-event__facts-inner{grid-template-columns:1fr;margin-top:-32px}
  .pis-event__tiers{grid-template-columns:1fr}
  .pis-event__hero{padding:72px 0 64px}
  .pis-event__pricing,.pis-event__desc{padding-top:60px}
  /* center the stacked fact cards on mobile */
  .pis-event__card{text-align:center}
  .pis-event__card svg{margin-left:auto;margin-right:auto}
}

/* ---------------- reduced motion ---------------- */
@media (prefers-reduced-motion:reduce){
  .pis-liquid-btn{transition:none}
  .pis-liquid-btn:hover{transform:none}
  /* shader is also skipped in JS; the ::before fallback gradient remains */
}

/* ===== event-page heading override: beat Elementor global h1/h2/h3 (black+Lexend) ===== */
.pis-event h1, .pis-event h2, .pis-event h3, .pis-event h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  color: #ffffff !important;
  line-height: 1.05;
}
.pis-event .pis-event__title { color: #ffffff !important; }

/* ===== gradient-text safety: ensure text-clip beats inline colors ===== */
.pis-gradient-text { color: transparent !important; -webkit-text-fill-color: transparent; }


/* ==================================================================
   PIS Ambient Atmosphere
   A lightweight, behind-content atmospheric layer:
     1. AmbientGlow  - large overlapping radial gradients (green + dark)
                       that breathe slowly via JS-driven Math.sin.
     2. Orbs         - glowing brand-green orbs drifting on independent
                       slow sin/cos paths (transform only, GPU-friendly).
     3. Film grain   - SVG feTurbulence noise overlay at ~4% opacity.
   Brand colors ONLY: green #38ce5d, dark #282828, white #ffffff.
   All layers are pointer-events:none and sit behind content.
   Fully static under prefers-reduced-motion.
   ================================================================== */

.pis-atmos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;              /* sits behind in-flow content (give content z-index:1) */
  /* contain paints so the heavy blurs never repaint the whole page */
  contain: strict;
  /* render-on-its-own-layer hint */
  transform: translateZ(0);
}

/* Make sure direct content of a host section paints above the atmosphere.
   Apply .pis-atmos-host to the section you mount into (see HTML note). */
.pis-atmos-host { position: relative; }
.pis-atmos-host > *:not(.pis-atmos) { position: relative; z-index: 1; }

/* ---------- 1. AmbientGlow base layer ---------- */
.pis-atmos__glow {
  position: absolute;
  inset: -10%;            /* bleed past edges so gradients never show a hard seam */
  will-change: transform, opacity;
  /* default static look if JS never runs */
  background:
    radial-gradient(38% 46% at 22% 30%, rgba(56,206,93,0.20) 0%, rgba(56,206,93,0) 70%),
    radial-gradient(46% 52% at 80% 24%, rgba(56,206,93,0.12) 0%, rgba(56,206,93,0) 72%),
    radial-gradient(60% 60% at 50% 92%, rgba(40,40,40,0.55) 0%, rgba(40,40,40,0) 70%);
}

/* ---------- 2. Drifting orbs ---------- */
.pis-atmos__orb {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
  /* soft glowing brand-green orb; radius/size set inline per orb */
  background: radial-gradient(circle at 50% 50%,
              rgba(56,206,93,0.55) 0%,
              rgba(56,206,93,0.22) 38%,
              rgba(56,206,93,0) 70%);
  filter: blur(14px);
  opacity: 0.7;
}

/* ---------- 3. Film grain ---------- */
.pis-atmos__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;                 /* ~4% per spec */
  mix-blend-mode: overlay;       /* keeps grain neutral over green + dark */
  /* the data-URI noise PNG/SVG is set inline by JS as background-image */
  background-repeat: repeat;
  background-size: 180px 180px;
  will-change: opacity;
}

/* ------------------------------------------------------------------
   Reduced motion: freeze everything. Keep a tasteful static glow,
   drop the grain animation, and never start the rAF loop (JS checks
   the same media query and bails). Orbs rest at their seed position.
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .pis-atmos__glow,
  .pis-atmos__orb,
  .pis-atmos__grain {
    will-change: auto;
    transition: none !important;
    animation: none !important;
  }
}
/* ------------------------------------------------------------------
   Atmosphere on LIGHT sections (data-atmos-light): the orbs/glow are
   tuned for dark backgrounds, so on white sections drop the film grain
   (overlay-blend reads as noise on white) and the dark bottom vignette,
   leaving only the soft brand-green ambient glow + drifting orbs.
   ------------------------------------------------------------------ */
[data-atmos-light] .pis-atmos__grain { display: none !important; }
[data-atmos-light] .pis-atmos__glow {
  background:
    radial-gradient(40% 48% at 18% 26%, rgba(56,206,93,0.16) 0%, rgba(56,206,93,0) 72%),
    radial-gradient(46% 52% at 84% 20%, rgba(56,206,93,0.12) 0%, rgba(56,206,93,0) 74%) !important;
}

/* ==================================================================
   PIS-21 "What We Offer" bento band (Phase 2, 2026-06-18).
   Dark full-width band; 4-col bento grid (wide cards span 2). Cards
   reveal with a spring-ish rise + the line icons draw on. Brand only:
   green #38ce5d, ink #282828/#1f1f1f, white. Reduced-motion safe.
   ================================================================== */
.pis-offer {
  position: relative;
  overflow: hidden;
  background-color: #1f1f1f;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  padding: clamp(64px, 8vw, 110px) 20px;
  font-family: var(--pis-font);
}
.pis-offer__inner { max-width: 1180px; margin: 0 auto; }
.pis-offer__eyebrow {
  margin: 0 0 10px;
  text-align: center;
  color: #38ce5d;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: clamp(12px, 1.1vw, 14px);
}
.pis-offer__title {
  margin: 0 0 clamp(34px, 4vw, 56px);
  text-align: center;
  /* override Elementor/theme global heading color + Lexend font */
  color: #fff !important;
  font-family: var(--pis-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(30px, 4.4vw, 54px);
}
.pis-offer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pis-offer__card {
  grid-column: span 1;
  background: linear-gradient(180deg, #262626 0%, #222 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 26px 24px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* reveal start state */
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
  will-change: opacity, transform;
}
.pis-offer__card--wide { grid-column: span 2; }
.pis-offer.is-in .pis-offer__card { opacity: 1; transform: translateY(0); }
/* gentle stagger */
.pis-offer.is-in .pis-offer__card:nth-child(2) { transition-delay: .07s; }
.pis-offer.is-in .pis-offer__card:nth-child(3) { transition-delay: .14s; }
.pis-offer.is-in .pis-offer__card:nth-child(4) { transition-delay: .21s; }
.pis-offer.is-in .pis-offer__card:nth-child(5) { transition-delay: .28s; }
.pis-offer.is-in .pis-offer__card:nth-child(6) { transition-delay: .35s; }
.pis-offer__card:hover {
  border-color: rgba(56,206,93,.55);
  box-shadow: 0 18px 50px -20px rgba(56,206,93,.35);
  transform: translateY(-4px);
}
.pis-offer__icon {
  display: inline-flex;
  width: 54px; height: 54px;
  margin-bottom: 16px;
  border-radius: 13px;
  align-items: center; justify-content: center;
  color: #38ce5d;
  background: rgba(56,206,93,.12);
}
.pis-offer__icon svg { width: 30px; height: 30px; }
.pis-offer__name { margin: 0 0 8px; color: #fff !important; font-family: var(--pis-font) !important; font-size: clamp(18px,1.6vw,21px); font-weight: 700 !important; }
.pis-offer__desc { margin: 0; color: rgba(255,255,255,.62); font-size: 14.5px; line-height: 1.5; }

/* icon draw-on: paths start hidden, draw when the band is in view */
.pis-offer__icon .pis-draw {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
}
.pis-offer.is-in .pis-offer__icon .pis-draw {
  animation: pis-offer-draw 1s ease forwards;
}
.pis-offer.is-in .pis-offer__card:nth-child(2) .pis-draw { animation-delay: .12s; }
.pis-offer.is-in .pis-offer__card:nth-child(3) .pis-draw { animation-delay: .2s; }
.pis-offer.is-in .pis-offer__card:nth-child(4) .pis-draw { animation-delay: .28s; }
.pis-offer.is-in .pis-offer__card:nth-child(5) .pis-draw { animation-delay: .36s; }
.pis-offer.is-in .pis-offer__card:nth-child(6) .pis-draw { animation-delay: .44s; }
@keyframes pis-offer-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 899px) {
  .pis-offer__grid { grid-template-columns: repeat(2, 1fr); }
  .pis-offer__card--wide { grid-column: span 2; }
  /* center each card's icon + text on mobile/tablet */
  .pis-offer__card { align-items: center; text-align: center; }
}
@media (max-width: 559px) {
  .pis-offer__grid { grid-template-columns: 1fr; }
  .pis-offer__card, .pis-offer__card--wide { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pis-offer__card { opacity: 1; transform: none; transition: none; }
  .pis-offer__icon .pis-draw { stroke-dashoffset: 0; animation: none; }
}

/* ==================================================================
   PIS-21 "By The Numbers" stats band (Phase 2, 2026-06-18).
   Light band: animated count-up stats + a draw-on development curve.
   ================================================================== */
.pis-stats {
  background-color: #f6f9f7;
  background-image:
    linear-gradient(to right, rgba(23,74,48,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,74,48,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  padding: clamp(60px, 7vw, 96px) 20px;
  font-family: var(--pis-font);
}
.pis-stats__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.pis-stats__eyebrow {
  margin: 0 0 8px; color: #1f8a3c; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; font-size: clamp(12px,1.1vw,14px);
}
.pis-stats__title {
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: #1d1f1e !important; font-family: var(--pis-font) !important; font-weight: 800 !important;
  letter-spacing: -0.02em; line-height: 1.06; font-size: clamp(28px, 3.8vw, 46px);
}
.pis-stats__row { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(20px, 3vw, 40px); }
.pis-stat { display: flex; flex-direction: column; }
.pis-stat__num {
  font-size: clamp(40px, 5.2vw, 64px); font-weight: 800; line-height: 1;
  letter-spacing: -0.03em; color: #38ce5d;
}
.pis-stat__label { margin-top: 10px; max-width: 180px; color: #565a57; font-size: 14px; line-height: 1.45; }

.pis-stats__chart { position: relative; }
.pis-stats__chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.pis-chart__line { stroke-dasharray: 520; stroke-dashoffset: 520; }
.pis-chart__area { opacity: 0; transform: translateY(8px); }
.pis-chart__dot { opacity: 0; transform: scale(0); transform-origin: center; transform-box: fill-box; }
.pis-stats.is-in .pis-chart__line { animation: pis-chart-draw 1.5s cubic-bezier(.4,.1,.2,1) forwards; }
.pis-stats.is-in .pis-chart__area { transition: opacity .9s ease .5s, transform .9s ease .5s; opacity: 1; transform: translateY(0); }
.pis-stats.is-in .pis-chart__dot { transition: opacity .4s ease, transform .5s cubic-bezier(.2,1.4,.4,1); opacity: 1; transform: scale(1); }
.pis-stats.is-in .pis-chart__dot:nth-of-type(1) { transition-delay: .45s; }
.pis-stats.is-in .pis-chart__dot:nth-of-type(2) { transition-delay: .75s; }
.pis-stats.is-in .pis-chart__dot:nth-of-type(3) { transition-delay: 1.05s; }
.pis-stats.is-in .pis-chart__dot:nth-of-type(4) { transition-delay: 1.35s; }
@keyframes pis-chart-draw { to { stroke-dashoffset: 0; } }
.pis-stats__steps {
  display: flex; justify-content: space-between; margin-top: 10px;
  color: #6b706c; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

@media (max-width: 860px) {
  .pis-stats__inner { grid-template-columns: 1fr; }
  .pis-stats__row { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pis-stat__label { font-size: 12.5px; }
  /* center the stats band on mobile */
  .pis-stats__left { text-align: center; }
  .pis-stat { align-items: center; text-align: center; }
  .pis-stat__label { margin-left: auto; margin-right: auto; }
}
@media (max-width: 520px) {
  .pis-stats__row { grid-template-columns: 1fr; gap: 22px; }
  .pis-stat__label { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pis-chart__line { stroke-dashoffset: 0; animation: none; }
  .pis-chart__area, .pis-chart__dot { opacity: 1; transform: none; transition: none; }
}


/* =====================================================================
   PIS-21 Word Rotate  —  vanilla port of the MakeMintMedia "TextRotate"
   framer-motion component. Public API: window.PIS.mountWordRotate(el, opts)
   Prefix: pis-wrot- (new; does NOT reuse pis-rotate / pis-tw / pis-accent).
   ===================================================================== */
.pis-wrot {
  position: relative;
  display: inline-flex;
  vertical-align: baseline;
  overflow: hidden;            /* clip chars at top/bottom edges */
  white-space: pre;            /* keep the sizer's spaces */
  /* right buffer so the longest word never clips against overflow:hidden */
  padding-right: 0.7em;
}
/* hidden sizer reserves max width/height in normal flow (no reflow) */
.pis-wrot__sizer {
  visibility: hidden;
  display: inline-block;
  white-space: pre;
  pointer-events: none;
}
/* each visible word is an absolutely-positioned layer over the sizer */
.pis-wrot__layer {
  position: absolute;
  inset: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: pre;
  will-change: transform, opacity;
}
.pis-wrot__char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  /* springy curve approximating motion/react spring(damping 25, stiff 300) */
  transition: transform 520ms cubic-bezier(.34, 1.4, .5, 1),
              opacity   320ms ease;
}
.pis-wrot__char.is-in {
  transform: translateY(0);
  opacity: 1;
}
.pis-wrot__char.is-out {
  transform: translateY(-120%);
  opacity: 0;
}
.pis-wrot__sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .pis-wrot__char {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}


/* ==================================================================
   PIS-21 interactive development chart (Phase 2.1, 2026-06-18).
   Adds hover/click/focus milestone interaction to the existing
   "Development You Can Measure" SVG line chart. Append-only; all new
   pis-chart-* class names. Pairs with PIS.initChartInteractive() in
   pis-21.js. Honors prefers-reduced-motion.
   ================================================================== */

/* Invisible full-height hit columns over each milestone. */
.pis-chart-hit {
  fill: transparent;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.pis-chart-hit:focus-visible {
  outline: 2px solid #38ce5d;
  outline-offset: 2px;
  rx: 6px;
}

/* Faint vertical guide from the active dot down to the baseline. */
.pis-chart-guide {
  stroke: #38ce5d;
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}
.pis-chart-guide.is-active { opacity: .45; }

/* Green ring that springs around the active dot. */
.pis-chart-ring {
  fill: none;
  stroke: #38ce5d;
  stroke-width: 2;
  opacity: 0;
  transform: scale(.4);
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity .2s ease, transform .35s cubic-bezier(.2,1.4,.4,1);
  pointer-events: none;
}
.pis-chart-ring.is-active { opacity: 1; transform: scale(1); }

/* The active milestone dot itself grows slightly. */
.pis-stats.is-in .pis-chart__dot.is-active {
  transform: scale(1.55);
  transform-origin: center;
  transform-box: fill-box;
  transition: transform .35s cubic-bezier(.2,1.4,.4,1);
}

/* SVG-native tooltip group (no pixel conversion, lives in overflow:visible svg). */
.pis-chart-tip {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.pis-chart-tip.is-active { opacity: 1; }
.pis-chart-tip__box {
  fill: #282828;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.28));
}
.pis-chart-tip__title {
  fill: #ffffff;
  font-family: var(--pis-font);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.pis-chart-tip__desc {
  fill: #d6ded9;
  font-family: var(--pis-font);
  font-weight: 500;
  font-size: 10.5px;
}
.pis-chart-tip__accent {
  fill: #38ce5d;
  font-family: var(--pis-font);
  font-weight: 800;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .pis-chart-guide,
  .pis-chart-ring,
  .pis-chart__dot.is-active,
  .pis-chart-tip { transition: none; }
  .pis-chart-ring.is-active { transform: scale(1); }
}



/* ==================================================================
   PIS-21 "See Us In Action" 3D scroll gallery (pis-gal-).
   Vanilla port of MakeMintMedia circular-gallery.tsx + work-carousel.tsx.
   A dark #161616 band: 8 photos on a 3D ring (rotateY + translateZ),
   parent has perspective + preserve-3d. Idle auto-spin + scroll nudge,
   opacity falloff for cards facing away. NOT a scroll-hijack - a
   tasteful ~78vh band. Reveal/rotation driven by pis-21.js (initGallery).
   ================================================================== */
.pis-gal {
  position: relative;
  overflow: hidden;
  background: #161616;
  padding: clamp(40px, 4.5vw, 60px) 20px clamp(40px, 4.5vw, 60px);
  font-family: var(--pis-font);
  isolation: isolate;
}
.pis-gal__inner { max-width: 1180px; margin: 0 auto; }
.pis-gal__eyebrow {
  margin: 0 0 10px;
  text-align: center;
  color: #38ce5d;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: clamp(12px, 1.1vw, 14px);
}
.pis-gal__title {
  margin: 0 0 6px;
  text-align: center;
  /* override Elementor/theme global heading color + font */
  color: #fff !important;
  font-family: var(--pis-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(30px, 4.4vw, 54px);
}
.pis-gal__title .pis-gal__accent { color: #38ce5d; }
.pis-gal__sub {
  margin: 0 auto;
  max-width: 540px;
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: 14.5px;
  line-height: 1.5;
}

/* Stage: holds the perspective + the rotating ring. ~58vh, clamped. */
.pis-gal__stage {
  position: relative;
  margin-top: clamp(18px, 2.2vw, 30px);
  height: clamp(300px, 46vh, 440px);
  perspective: 1100px;
  perspective-origin: 50% 50%;
  /* reveal start state (driven by .is-in) */
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.pis-gal.is-in .pis-gal__stage { opacity: 1; transform: translateY(0); }

/* Faint green glow behind the ring. */
.pis-gal__glow {
  position: absolute;
  left: 50%; top: 50%;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(56,206,93,.22) 0%, rgba(56,206,93,.07) 38%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

/* The ring: rotated by JS via --pis-gal-rot. preserve-3d so children
   keep their depth. */
.pis-gal__ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--pis-gal-rot, 0deg));
  will-change: transform;
  z-index: 1;
}

/* Each item sits at rotateY(angle) translateZ(radius). The angle and
   radius are written as per-item custom props by JS. */
.pis-gal__item {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(220px, 26vw, 320px);
  height: clamp(150px, 18vw, 220px);
  margin-left: calc(clamp(220px, 26vw, 320px) / -2);
  margin-top: calc(clamp(150px, 18vw, 220px) / -2);
  transform: rotateY(var(--pis-gal-angle, 0deg)) translateZ(var(--pis-gal-radius, 420px));
  backface-visibility: hidden;
  opacity: var(--pis-gal-op, 1);
  transition: opacity .25s linear;
  will-change: transform, opacity;
}
.pis-gal__card {
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(56,206,93,.32);
  background: #1f1f1f;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.8), 0 0 0 1px rgba(56,206,93,.16);
}
.pis-gal__img {
  display: block;
  width: 100% !important; height: 100% !important;
  object-fit: cover;
  /* lift the dark facility shots so they pop on the dark band */
  filter: brightness(1.16) saturate(1.08) contrast(1.03);
}

/* (Edge scrims removed - the dark left/right gradient looked off. The ring's
   own per-card opacity falloff already fades the side cards as they rotate
   away, so no extra gradient is needed.) */
.pis-gal__stage::before,
.pis-gal__stage::after { display: none !important; }

/* "Scroll to spin" hint chip. */
.pis-gal__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: clamp(22px, 3vw, 36px) auto 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.pis-gal__hint-row { display: flex; justify-content: center; }
.pis-gal__hint svg {
  width: 14px; height: 14px;
  color: #38ce5d;
  animation: pis-gal-bob 1.8s ease-in-out infinite;
}
@keyframes pis-gal-bob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(2px); }
}

@media (max-width: 599px) {
  /* shorter stage so the photos sit closer under the "...real Prestige energy"
     line (was clamp(300px,50vh,420px) - too much empty space above the ring) */
  .pis-gal__stage { height: clamp(205px, 32vh, 250px); margin-top: 4px; }
  .pis-gal__sub { font-size: 13.5px; }
  /* smaller cards (the ring radius is bumped in JS) so the photos sit with
     clear space between them instead of crammed/overlapping on phones */
  .pis-gal__item {
    width: 174px; height: 120px;
    margin-left: -87px; margin-top: -60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pis-gal__stage { opacity: 1; transform: none; transition: none; }
  .pis-gal__hint svg { animation: none; }
  .pis-gal__item { transition: none; }
}


/* gallery no longer scroll-driven: auto-spins on its own, hide the hint */
.pis-gal__hint-row { display: none !important; }

/* CTA button under the gallery photos */
.pis-gal__ctarow { display: flex; justify-content: center; margin-top: clamp(18px, 3vw, 28px); }
.pis-gal__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  background: #38ce5d; color: #06210f !important;  /* beat the section's green link color */
  font-size: 16px; font-weight: 800; letter-spacing: .01em;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 14px 30px rgba(56,206,93,.32);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.pis-gal__cta svg { width: 18px; height: 18px; transition: transform .25s ease; }
.pis-gal__cta:hover { transform: translateY(-2px); background: #46d96b; box-shadow: 0 20px 40px rgba(56,206,93,.45); }
.pis-gal__cta:hover svg { transform: translateX(4px); }


/* ==================================================================
   PIS-21 "Upcoming Events" countdown cards (added 2026-06-19).
   Light band between the gallery and "What We Offer". Cards render
   from window.PIS.EVENTS (pis-events.js) via PIS.initEvents() in
   pis-21.js, each with a live countdown. Inspired by the 21st.dev
   EventCountdownCard, rebuilt dependency-free in brand colors
   (green #38ce5d, ink #282828, white). Honors prefers-reduced-motion.
   ================================================================== */
.pis-events {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(56,206,93,.07), transparent 60%),
    #f5f8f5;
  padding: clamp(56px, 7vw, 92px) 20px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
}
.pis-events__inner { max-width: 1180px; margin: 0 auto; }
.pis-events__eyebrow {
  text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: #1f8a3c; margin: 0 0 12px;
}
.pis-events__title {
  text-align: center;
  font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; letter-spacing: -1.2px;
  line-height: 1.05; color: #1c231f; margin: 0 0 14px;
}
.pis-events__title .pis-events__accent { color: #38ce5d; }
.pis-events__sub {
  text-align: center; max-width: 60ch; margin: 0 auto clamp(34px, 4vw, 52px);
  font-size: 16px; line-height: 1.6; color: rgba(28,40,32,.62);
}

/* ---- grid: up to 3 across, centers when fewer ---- */
.pis-events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  justify-content: center;
}
.pis-events__grid.is-few { max-width: 980px; margin: 0 auto; }

/* ---- card ---- */
.pis-ev-card {
  position: relative; display: flex; flex-direction: column;
  background: #ffffff; border: 1px solid rgba(20,40,25,.08);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(20,40,25,.07);
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1),
              transform .6s cubic-bezier(.16,1,.3,1),
              box-shadow .35s ease, border-color .35s ease;
  transition-delay: calc(var(--pis-ev-i, 0) * 90ms);
}
.pis-ev-card.is-in { opacity: 1; transform: none; }
.pis-ev-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 54px rgba(20,40,25,.13);
  border-color: rgba(56,206,93,.45);
}
.pis-ev-card--past { display: none !important; }

/* ---- media ---- */
.pis-ev-card__media { position: relative; overflow: hidden; }
.pis-ev-card__img {
  display: block !important;
  width: 100% !important; height: 184px !important;
  max-width: none !important;
  object-fit: cover !important;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.pis-ev-card:hover .pis-ev-card__img { transform: scale(1.07); }
.pis-ev-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.34), transparent 46%);
  pointer-events: none;
}
.pis-ev-card__media--plain {
  height: 184px;
  background:
    radial-gradient(120% 120% at 30% 0%, #4ad96e, transparent 60%), #38ce5d;
}
.pis-ev-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: #fff; background: rgba(18,26,20,.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
}
.pis-ev-card__soon {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 11px; font-weight: 800; letter-spacing: .6px;
  color: #08321a; background: #38ce5d;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(56,206,93,.45);
  display: none;
}
.pis-ev-card.is-soon .pis-ev-card__soon { display: inline-block; }

/* ---- body ---- */
.pis-ev-card__body { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; flex: 1; }
.pis-ev-card__title {
  font-size: 20px; font-weight: 800; letter-spacing: -.4px; line-height: 1.22;
  color: #1c231f; margin: 0;
}
.pis-ev-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.pis-ev-card__meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: rgba(28,40,32,.6);
}
.pis-ev-card__meta-item svg { width: 15px; height: 15px; color: #38ce5d; flex: none; }
.pis-ev-card__detail {
  font-size: 13px; font-weight: 600; color: rgba(28,40,32,.5);
  margin-top: -4px;
}

/* ---- countdown ---- */
.pis-ev-card__count {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: auto;
}
.pis-ev-cell {
  background: #eef3ee; border: 1px solid rgba(20,40,25,.06);
  border-radius: 12px; padding: 11px 4px; text-align: center;
}
.pis-ev-cell b {
  display: block; font-size: 20px; font-weight: 800; line-height: 1;
  color: #1c231f; font-variant-numeric: tabular-nums;
}
.pis-ev-cell i {
  display: block; font-size: 10px; font-weight: 700; font-style: normal;
  letter-spacing: 1px; text-transform: uppercase; color: rgba(28,40,32,.45);
  margin-top: 5px;
}
.pis-ev-cell--sec b { color: #1f8a3c; }
.pis-ev-cell--sec b { animation: pis-ev-pulse 1s ease-in-out infinite; }
@keyframes pis-ev-pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.pis-ev-card__live {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 800; color: #1f8a3c;
  background: rgba(56,206,93,.12); border: 1px solid rgba(56,206,93,.3);
  border-radius: 12px; padding: 13px 16px;
}
.pis-ev-card__live::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: #38ce5d;
  box-shadow: 0 0 0 0 rgba(56,206,93,.6); animation: pis-ev-blink 1.4s ease-in-out infinite;
}
@keyframes pis-ev-blink {
  0% { box-shadow: 0 0 0 0 rgba(56,206,93,.55); }
  70% { box-shadow: 0 0 0 8px rgba(56,206,93,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,206,93,0); }
}

/* ---- foot ---- */
.pis-ev-card__foot { display: flex; flex-direction: column; gap: 12px; }
.pis-ev-card__price {
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  color: #1f8a3c;
}
.pis-ev-card__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 48px; padding: 0 20px;
  font-size: 15px; font-weight: 800; letter-spacing: .2px; text-decoration: none !important;
  color: #08321a !important;
  background: linear-gradient(180deg, #4ad96e, #38ce5d) !important;
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(56,206,93,.34);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1);
}
.pis-ev-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(56,206,93,.46);
  color: #08321a !important;
}
.pis-ev-card__btn:active { transform: translateY(0); }

/* ---- empty state ---- */
.pis-events__empty {
  grid-column: 1 / -1; text-align: center;
  background: #fff; border: 1px dashed rgba(20,40,25,.18); border-radius: 18px;
  padding: 48px 24px; color: rgba(28,40,32,.62);
}
.pis-events__empty strong { display: block; font-size: 19px; font-weight: 800; color: #1c231f; margin-bottom: 8px; }
.pis-events__empty a { color: #1f8a3c; font-weight: 700; text-decoration: none; }
.pis-events__empty a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .pis-ev-cell b { font-size: 18px; }
  .pis-ev-card__title { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .pis-ev-card { opacity: 1; transform: none; transition: none; }
  .pis-ev-card:hover { transform: none; }
  .pis-ev-card:hover .pis-ev-card__img { transform: none; }
  .pis-ev-card__btn { transition: none; }
  .pis-ev-card__btn:hover { transform: none; }
  .pis-ev-cell--sec b { animation: none; }
  .pis-ev-card__live::before { animation: none; }
}


/* ==================================================================
   PIS-EVENT - LIGHT THEME variant (added 2026-06-19).
   Add the class "pis-event--light" alongside "pis-event" on the
   #pis-camp-redesign wrapper to flip the camp/event detail page from
   the dark scheme to a clean light one. Works by re-pointing the
   scoped design-system variables to light surfaces + dark text, then
   overriding the few rules that hard-coded white. Brand green stays.
   The hero shader also switches to light colors (see mountEventHero).
   ================================================================== */
.pis-event--light {
  --pis-ink:#f4f7f4;            /* now the page background        */
  --pis-ink-2:#eaf0ea;          /* cta band / soft panels         */
  --pis-ink-3:#ffffff;          /* card surface                   */
  --pis-white:#1c231f;          /* now the primary text + titles  */
  --pis-line:rgba(20,40,25,.10);
  --pis-line-2:rgba(20,40,25,.16);
  --pis-mut:rgba(28,40,32,.62);
  --pis-mut-2:rgba(28,40,32,.46);
  --pis-green-soft:rgba(56,206,93,.16);
  background:var(--pis-ink);
  color:var(--pis-white);
}
/* headings + title hard-coded white in the dark theme -> dark ink */
.pis-event--light h1,
.pis-event--light h2,
.pis-event--light h3,
.pis-event--light h4 { color:#1c231f !important; }
.pis-event--light .pis-event__title { color:#1c231f !important; }
.pis-event--light .pis-event__desc p { color:rgba(28,40,32,.82); }

/* soften the heavy dark shadows for a light surface */
.pis-event--light .pis-event__card { box-shadow:0 12px 30px rgba(20,40,25,.06); }
.pis-event--light .pis-event__tier { box-shadow:0 12px 30px rgba(20,40,25,.05); }
.pis-event--light .pis-event__poster {
  background:#ffffff;
  border-color:rgba(56,206,93,.4);
  box-shadow:0 24px 60px rgba(20,40,25,.14);
}

/* the green "best value" tier: ink text flips light via var, force dark-green */
.pis-event--light .pis-event__tier--hot { color:#08321a; }
.pis-event--light .pis-event__tier--hot .pis-event__tier-name { color:#08321a; opacity:.9; }
.pis-event--light .pis-event__tier-tag { background:#ffffff; color:#1f8a3c; }

/* CTA pill: its label color is var(--pis-ink) which is now light -> force dark on green */
.pis-event--light .pis-liquid-btn { color:#08321a !important; }

/* ==================================================================
   Light event pages - header pill + tighter top + drop duplicate footer
   (added 2026-06-19). The site header sits OUTSIDE #pis-camp-redesign
   (it is a flex sibling), so these rules are scoped by the body class
   .single-tribe_events, not .pis-event--light. The nav text is white
   (built for the dark theme) and was invisible on the light page, so we
   wrap the header row in a white rounded pill and darken the menu text.
   ================================================================== */
/* Header: transparent nav floating OVER the darkened banner - copies the
   About / Contact page header EXACTLY: white nav links, green hover, no bar. */
.single-tribe_events #tribe-events-pg-template { padding-top: 0 !important; }  /* flush to top */
.single-tribe_events .elementor-812 { position: relative; }
.single-tribe_events .elementor-element-3880b8dc {
  position: absolute !important; top: 0; left: 0; right: 0; z-index: 50; margin: 0 !important;
  background: transparent !important;
  border: none !important; box-shadow: none !important;
}
.single-tribe_events .elementor-element-3880b8dc > .e-con-inner {
  background: transparent !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 8px 32px !important; min-height: 99px;
  max-width: 1200px; margin: 0 auto; align-items: center;
}
.single-tribe_events .elementor-element-3880b8dc img { max-height: 84px !important; width: auto !important; }
.single-tribe_events .elementor-element-3880b8dc .elementor-item,
.single-tribe_events .elementor-element-3880b8dc .elementor-nav-menu a { color: #ffffff !important; font-weight: 700 !important; }
.single-tribe_events .elementor-element-3880b8dc .elementor-item:hover,
.single-tribe_events .elementor-element-3880b8dc .elementor-nav-menu a:hover { color: #3ace5c !important; }
.single-tribe_events .elementor-element-3880b8dc .elementor-button { white-space: nowrap !important; flex-shrink: 0; }
/* mobile: white hamburger; the opened dropdown is a white panel with dark links */
.single-tribe_events .elementor-element-3880b8dc .elementor-menu-toggle { color: #ffffff !important; }
.single-tribe_events .elementor-element-3880b8dc .elementor-menu-toggle svg { fill: #ffffff !important; }
.single-tribe_events .elementor-element-3880b8dc .elementor-nav-menu--dropdown,
.single-tribe_events .elementor-element-3880b8dc .elementor-nav-menu--dropdown .elementor-nav-menu { background: #ffffff !important; box-shadow: 0 18px 40px rgba(15,30,20,.22) !important; }
.single-tribe_events .elementor-element-3880b8dc .elementor-nav-menu--dropdown a.elementor-item,
.single-tribe_events .elementor-element-3880b8dc .elementor-nav-menu--dropdown .elementor-item { color: #1c231f !important; }
.single-tribe_events .elementor-element-3880b8dc .elementor-nav-menu--dropdown a.elementor-item:hover { color: #1f8a3c !important; background: rgba(31,138,60,.06) !important; }
/* banner is full-bleed under the floating nav; centered content clears it */
.pis-event__banner-content { padding: 116px 24px 72px !important; }
/* Remove the duplicate Hello-theme footer (big logo + tagline +
   "All rights reserved"); the designed dark footer above it stays. */
.single-tribe_events #site-footer { display: none !important; }

/* ==================================================================
   Event page REVAMP (2026-06-19, /ui-ux-pro-max): per-pass CTAs +
   inclusion lists, section headings/rhythm, hero CTA, and a
   value-before-price order. Scoped to .pis-event (light vars resolve
   on these pages). Brand green kept for site consistency.
   ================================================================== */

/* Flow: stack the sections and move the description ABOVE pricing */
.pis-event { display: flex; flex-direction: column; }
.pis-event__hero    { order: 1; }
.pis-event__facts   { order: 2; }
.pis-event__desc    { order: 3; }
.pis-event__pricing { order: 4; }
.pis-event__cta     { order: 5; }

/* Consistent vertical rhythm */
.pis-event__desc    { padding: 78px 0 8px; }
.pis-event__pricing { padding: 78px 0 8px; }

/* Shared section heading (description + pricing) */
.pis-event__section-title {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.8px;
  line-height: 1.1; margin: 8px auto 0; max-width: 20ch;
}
.pis-event__section-sub {
  font-size: 16px; line-height: 1.6; margin: 14px auto 0; max-width: 52ch;
  color: var(--pis-mut);
}

/* Hero: primary CTA under the meta line */
.pis-event__hero-cta { display: flex; justify-content: center; margin: 28px 0 36px; }

/* Description: centered, eyebrow + heading above the copy */
.pis-event__desc-inner { text-align: center; }
.pis-event__desc-inner .pis-event__kicker { margin-bottom: 0; }
.pis-event__desc-inner .pis-event__section-title { margin-bottom: 22px; }

/* Pricing tiers: equal-height cards, inclusions, CTA pinned to the bottom */
.pis-event__tiers { align-items: stretch; margin-top: 36px; }
.pis-event__tier { display: flex; flex-direction: column; text-align: center; padding: 30px 22px 26px; }
.pis-event__tier--hot {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(56,206,93,.32);
  position: relative; z-index: 1;
}
.pis-event__tier-price { margin-top: 2px; }
.pis-event__tier-per {
  font-size: 12.5px; font-weight: 600; letter-spacing: .2px;
  color: var(--pis-mut-2); margin-top: 6px;
}
.pis-event__tier--hot .pis-event__tier-per { color: rgba(8,50,26,.7); }

.pis-event__tier-list {
  list-style: none; margin: 22px 0 24px; padding: 20px 4px 0; text-align: left;
  border-top: 1px solid var(--pis-line);
  display: flex; flex-direction: column; gap: 12px; flex: 1 0 auto;
}
.pis-event__tier--hot .pis-event__tier-list { border-top-color: rgba(8,50,26,.2); }
.pis-event__tier-list li {
  position: relative; padding-left: 27px;
  font-size: 14px; font-weight: 600; line-height: 1.35;
}
.pis-event__tier-list li::before {            /* drawn checkmark */
  content: ""; position: absolute; left: 4px; top: 2px;
  width: 6px; height: 11px;
  border: solid var(--pis-green); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.pis-event__tier--hot .pis-event__tier-list li::before { border-color: rgba(8,50,26,.9); }

.pis-event__tier-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 46px; margin-top: auto;
  font-size: 15px; font-weight: 800; letter-spacing: .2px;
  text-decoration: none !important; border-radius: 999px; cursor: pointer;
  color: #08321a !important; background: var(--pis-green) !important;
  box-shadow: 0 8px 22px rgba(56,206,93,.3);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.pis-event__tier-btn:hover {
  transform: translateY(-2px); box-shadow: 0 14px 30px rgba(56,206,93,.45);
  color: #08321a !important;
}
.pis-event__tier-btn--on-green {              /* button on the green Best Value card */
  background: #ffffff !important; color: #0d3b20 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.pis-event__tier-btn--on-green:hover { background: #ffffff !important; color: #0d3b20 !important; }

@media (max-width: 860px) { .pis-event__tier--hot { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pis-event__tier-btn { transition: none; }
  .pis-event__tier-btn:hover { transform: none; }
}

/* ==================================================================
   Event page: large flyer BANNER header (title overlaid) + the
   standalone flyer paired with the description in a 2-col block
   (2026-06-19). The banner uses the same camp flyer as a darkened,
   slightly-blurred backdrop; the crisp readable copy lives below.
   ================================================================== */
.pis-event--light .pis-event__hero { padding: 0 !important; }   /* banner is full-bleed */
.pis-event__banner {
  position: relative; isolation: isolate;
  min-height: clamp(340px, 48vh, 520px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.pis-event__banner-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.08);
  filter: blur(2px) brightness(.6) saturate(1.05);
}
.pis-event__banner-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,17,11,.5) 0%, rgba(9,17,11,.32) 42%, rgba(9,17,11,.78) 100%);
}
.pis-event__banner-content { position: relative; z-index: 1; max-width: 920px; padding: 60px 24px; }
.pis-event--light .pis-event__banner-content .pis-event__eyebrow { color: #5fe085; }
.pis-event--light .pis-event__banner-content .pis-event__title { color: #ffffff !important; }
.pis-event--light .pis-event__banner-content .pis-event__meta { color: rgba(255,255,255,.86); }
.pis-event__banner-content .pis-event__hero-cta { margin: 40px 0 0; }

/* About: standalone flyer (left) + copy (right), centered as a pair */
.pis-event__about-grid {
  display: grid; grid-template-columns: minmax(0, 380px) 1fr;
  gap: clamp(30px, 4vw, 60px); align-items: center;
  max-width: 1040px; margin: 0 auto;
}
.pis-event__poster-frame { margin: 0; }
.pis-event__about-grid .pis-event__poster {
  width: 100% !important; height: auto !important; max-width: 100% !important;
  aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 18px;
}
.pis-event__about-grid .pis-event__desc-inner { text-align: left; }
.pis-event__about-grid .pis-event__desc-inner .pis-event__kicker { text-align: left; }
.pis-event__about-grid .pis-event__section-title {
  text-align: left; margin: 6px 0 18px; max-width: none;
}
.pis-event__about-grid .pis-event__desc p { text-align: left; }

@media (max-width: 820px) {
  .pis-event__about-grid { grid-template-columns: 1fr; max-width: 460px; gap: 26px; }
  .pis-event__about-grid .pis-event__poster { max-width: 380px !important; margin: 0 auto; }
  .pis-event__about-grid .pis-event__desc-inner,
  .pis-event__about-grid .pis-event__desc-inner .pis-event__kicker,
  .pis-event__about-grid .pis-event__section-title,
  .pis-event__about-grid .pis-event__desc p { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pis-event__banner-img { filter: brightness(.6) saturate(1.05); transform: none; }
}


/* ==================================================================
   PIS-21 "Events Calendar" agenda (added 2026-06-19) - a forward-
   looking, month-grouped schedule for the /events/ page. Renders from
   window.PIS.EVENTS via PIS.initEventsAgenda() into #pis-events-agenda.
   Plus the homepage "See all events" button (.pis-events__more).
   ================================================================== */
.pis-agenda { max-width: 860px; margin: 6px auto 0; text-align: left; }
.pis-agenda__month { margin: 36px 0 16px; display: flex; align-items: center; gap: 16px; }
.pis-agenda__month:first-child { margin-top: 8px; }
.pis-agenda__month-label {
  font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: #1f8a3c; white-space: nowrap;
}
.pis-agenda__month::after { content: ""; flex: 1; height: 1px; background: rgba(20,40,25,.14); }
.pis-agenda__group { display: flex; flex-direction: column; gap: 12px; }
.pis-agenda__row {
  display: flex; align-items: center; gap: 20px;
  background: #ffffff; border: 1px solid rgba(20,40,25,.1); border-radius: 16px;
  padding: 16px 20px; text-decoration: none !important; color: #1c231f;
  box-shadow: 0 8px 24px rgba(20,40,25,.05);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.pis-agenda__row:hover {
  transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20,40,25,.1);
  border-color: rgba(56,206,93,.5);
}
.pis-agenda__date {
  flex: none; width: 66px; text-align: center; display: flex; flex-direction: column;
  background: #edf7f0; border-radius: 12px; padding: 11px 0;
}
.pis-agenda__date b { font-size: 24px; font-weight: 800; line-height: 1; color: #1c231f; }
.pis-agenda__date i {
  font-size: 11px; font-weight: 700; font-style: normal; letter-spacing: 1px;
  text-transform: uppercase; color: #1f8a3c; margin-top: 4px;
}
.pis-agenda__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.pis-agenda__tag {
  align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: #1f8a3c; background: rgba(56,206,93,.12);
  padding: 3px 9px; border-radius: 999px;
}
.pis-agenda__title { font-size: 17px; font-weight: 800; letter-spacing: -.3px; line-height: 1.25; color: #1c231f; }
.pis-agenda__meta { font-size: 13.5px; font-weight: 600; color: rgba(28,40,32,.6); }
.pis-agenda__cta { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; color: #1f8a3c; }
.pis-agenda__cta svg { width: 17px; height: 17px; transition: transform .25s ease; }
.pis-agenda__row:hover .pis-agenda__cta svg { transform: translateX(3px); }
.pis-agenda__empty {
  background: #fff; border: 1px dashed rgba(20,40,25,.18); border-radius: 16px;
  padding: 40px 24px; text-align: center; color: rgba(28,40,32,.62);
}
.pis-agenda__empty strong { display: block; font-size: 18px; font-weight: 800; color: #1c231f; margin-bottom: 6px; }
.pis-agenda__empty a { color: #1f8a3c; font-weight: 700; text-decoration: none; }
.pis-agenda__empty a:hover { text-decoration: underline; }

/* Homepage "See all events" button under the upcoming-events grid */
.pis-events__more { text-align: center; margin-top: clamp(30px, 4vw, 44px); }
.pis-events__more-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 800; letter-spacing: .2px; text-decoration: none;
  color: #1f8a3c; background: transparent; border: 2px solid rgba(56,206,93,.5);
  border-radius: 999px; padding: 13px 28px; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
}
.pis-events__more-btn:hover { background: #38ce5d; border-color: #38ce5d; color: #08321a; transform: translateY(-2px); }
.pis-events__more-btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.pis-events__more-btn:hover svg { transform: translateX(3px); }

@media (max-width: 640px) {
  /* center the whole agenda on mobile: month divider, stacked rows, CTA */
  .pis-agenda { text-align: center; }
  .pis-agenda__month { justify-content: center; }
  .pis-agenda__month::before { content: ""; flex: 1; height: 1px; background: rgba(20,40,25,.14); }
  .pis-agenda__row { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .pis-agenda__body { align-items: center; }
  .pis-agenda__tag { align-self: center; }
  .pis-agenda__cta { width: auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pis-agenda__row, .pis-agenda__cta svg, .pis-events__more-btn, .pis-events__more-btn svg { transition: none; }
  .pis-agenda__row:hover, .pis-events__more-btn:hover { transform: none; }
}


/* ==================================================================
   /events/ archive: the tribe archive template falls back to the bare
   Hello-theme header/footer instead of the designed ones. Style the
   header into a clean nav bar and the footer into the site's dark
   footer, all self-contained. Scoped to .post-type-archive-tribe_events.
   ================================================================== */
/* Transparent nav floating over the darkened hero - copies the About /
   Contact page header EXACTLY: white Roboto links, no CTA pill, big logo. */
.post-type-archive-tribe_events #content,
.post-type-archive-tribe_events .site-main {
  padding-top: 0 !important; margin-top: 0 !important;
  /* drop the Hello-theme 1140px content cap so the hero is full-bleed like the
     other pages (the agenda inner keeps its own centered max-width) */
  max-width: none !important; width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important;
}
.post-type-archive-tribe_events #site-header {
  position: absolute !important; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent !important;
  border: none !important; box-shadow: none !important;
}
.post-type-archive-tribe_events #site-header .header-inner {
  max-width: 1200px; margin: 0 auto; padding: 8px 32px; min-height: 99px;
  display: flex; align-items: center; gap: 24px;
}
.post-type-archive-tribe_events #site-header .site-branding { flex: none; margin: 0; }
.post-type-archive-tribe_events #site-header .custom-logo {
  width: auto !important; height: 84px !important; max-width: none !important; display: block;
}
.post-type-archive-tribe_events #site-header .site-description { display: none !important; }
.post-type-archive-tribe_events #site-header .site-navigation { flex: 1 1 auto; display: flex; justify-content: center; margin: 0; }
.post-type-archive-tribe_events #site-header .site-navigation .menu {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 34px;
}
.post-type-archive-tribe_events #site-header .site-navigation .menu li { margin: 0; }
.post-type-archive-tribe_events #site-header .site-navigation .menu a {
  color: #ffffff !important; font-family: "Roboto", var(--pis-font);
  font-weight: 700; font-size: 16px; text-decoration: none !important;
  transition: color .2s ease;
}
.post-type-archive-tribe_events #site-header .site-navigation .menu a:hover { color: #3ace5c !important; }
.post-type-archive-tribe_events #site-header .pis-hdr-cta {
  display: inline-flex !important; align-items: center; white-space: nowrap; flex: 0 0 auto;
  background: #38ce5d; color: #08321a !important; font-weight: 800; font-size: 15px;
  font-family: var(--pis-font); text-decoration: none !important; border-radius: 999px; padding: 11px 24px;
  box-shadow: 0 10px 26px rgba(56,206,93,.32);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease;
}
.post-type-archive-tribe_events #site-header .pis-hdr-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(56,206,93,.45); color: #08321a !important; }
.post-type-archive-tribe_events #site-header .site-navigation-toggle-holder { display: none !important; }
.post-type-archive-tribe_events #site-header .site-navigation-dropdown,
.post-type-archive-tribe_events #site-header .site-navigation-dropdown .menu {
  background: #ffffff !important; box-shadow: 0 18px 40px rgba(15,30,20,.22);
}
.post-type-archive-tribe_events #site-header .site-navigation-dropdown a { color: #1c231f !important; font-weight: 700; }
.post-type-archive-tribe_events #site-header .site-navigation-dropdown a:hover { color: #1f8a3c !important; }
@media (max-width: 880px) {
  .post-type-archive-tribe_events #site-header .site-navigation { display: none; }
  .post-type-archive-tribe_events #site-header .pis-hdr-cta { display: none !important; }
  .post-type-archive-tribe_events #site-header .site-navigation-toggle-holder { display: flex !important; margin-left: auto; }
  .post-type-archive-tribe_events #site-header .site-navigation-toggle-icon,
  .post-type-archive-tribe_events #site-header .site-navigation-toggle-icon::before,
  .post-type-archive-tribe_events #site-header .site-navigation-toggle-icon::after { background-color: #ffffff !important; }
}

/* --- rebuilt dark footer (content replaced in events/index.html) --- */
.post-type-archive-tribe_events #site-footer { background: #141414 !important; padding: 0 !important; }
.pis-foot { max-width: 1180px; margin: 0 auto; padding: clamp(48px,6vw,72px) 24px 0; color: rgba(255,255,255,.7); font-family: var(--pis-font); }
.pis-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px,4vw,56px); }
.pis-foot__brand-logo { height: 66px; width: auto; display: block; margin-bottom: 16px; }
.pis-foot__tag { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.58); max-width: 32ch; margin: 0; }
.pis-foot__social { display: flex; gap: 12px; margin-top: 20px; }
.pis-foot__social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.pis-foot__social a:hover { background: #38ce5d; border-color: #38ce5d; color: #08321a; }
.pis-foot__social svg { width: 17px; height: 17px; }
.pis-foot__h { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin: 2px 0 16px; }
.pis-foot__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pis-foot__list a { color: rgba(255,255,255,.66); font-size: 14.5px; text-decoration: none; transition: color .2s ease; }
.pis-foot__list li { color: rgba(255,255,255,.66); font-size: 14.5px; }
.pis-foot__list a:hover { color: #38ce5d; }
.pis-foot__contact { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.66); margin: 0; }
.pis-foot__contact a { color: rgba(255,255,255,.66); text-decoration: none; }
.pis-foot__contact a:hover { color: #38ce5d; }
.pis-foot__bar {
  max-width: 1180px; margin: clamp(40px,5vw,60px) auto 0; padding: 22px 24px;
  border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5);
}
.pis-foot__bar a { color: rgba(255,255,255,.6); text-decoration: none; }
.pis-foot__bar a:hover { color: #38ce5d; }
@media (max-width: 760px) { .pis-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  /* single centered column on phones */
  .pis-foot__grid { grid-template-columns: 1fr; text-align: center; }
  .pis-foot__brand-logo, .pis-foot__tag { margin-left: auto; margin-right: auto; }
  .pis-foot__social { justify-content: center; }
  .pis-foot__bar { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .post-type-archive-tribe_events #site-header .pis-hdr-cta { transition: none; }
  .post-type-archive-tribe_events #site-header .pis-hdr-cta:hover { transform: none; }
}


/* ==================================================================
   /events/ darkened featured-image HERO (added 2026-06-19) - gives the
   all-events page the same banner format as the camp detail pages: a
   darkened soccer photo with the "Upcoming Events" title overlaid,
   under the white nav bar, with the agenda below on the light band.
   ================================================================== */
.pis-events--page { padding: 0 0 clamp(56px, 7vw, 92px) !important; }
.pis-events--page .pis-events__inner { padding: 0 20px; }
.pis-evhero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(440px, 60vh, 595px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  margin-bottom: clamp(44px, 5vw, 68px);
}
.pis-evhero__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%; filter: brightness(.5) saturate(1.05);
}
.pis-evhero__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,17,11,.5) 0%, rgba(9,17,11,.4) 50%, rgba(9,17,11,.7) 100%);
}
.pis-evhero__content { position: relative; z-index: 1; max-width: 880px; padding: 24px 24px 52px; }
.pis-evhero__title { font-family: "Lexend", var(--pis-font); font-size: clamp(46px, 7vw, 72px); font-weight: 600; letter-spacing: -1px; line-height: 1.05; color: #ffffff; margin: 0; }
.pis-evhero__crumb { font-family: "Lexend", var(--pis-font); font-size: 16px; font-weight: 400; color: #ffffff; margin: 18px 0 0; }
.pis-evhero__crumb a { color: #3ace5c; text-decoration: none; }
.pis-evhero__crumb a:hover { text-decoration: underline; }
/* legacy eyebrow / sub kept for safety (no longer used in markup) */
.pis-evhero__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #5fe085; margin: 0 0 14px; }
.pis-evhero__sub { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); margin: 16px auto 0; max-width: 54ch; }
@media (prefers-reduced-motion: reduce) { .pis-evhero__img { filter: brightness(.5) saturate(1.05); } }


/* ==================================================================
   PIS-21 SPOTLIGHT band (added 2026-06-20) - a dark two-column promo
   rectangle: program copy on the left, an interactive 3D stacked-card
   cluster on the right (ported from the shadcn "DisplayCards" component
   to vanilla CSS). The cards fan diagonally, sit grayscaled until the
   pointer reaches them, then lift + colorize with a slow spring ease.
   ================================================================== */
.pis-spotlight {
  --sp-bg: #0c1b11;
  position: relative; isolation: isolate;
  margin: clamp(56px, 7vw, 100px) auto; padding: 0 20px;
  max-width: 1340px; font-family: var(--pis-font);
}
.pis-spotlight__inner {
  position: relative; overflow: hidden; border-radius: 28px;
  background:
    radial-gradient(120% 150% at 90% 8%, rgba(56,206,93,.20) 0%, rgba(56,206,93,0) 55%),
    linear-gradient(135deg, #122c1b 0%, #0c1b11 60%, #091510 100%);
  border: 1px solid rgba(255,255,255,.08);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(40px, 5vw, 76px) clamp(30px, 4.5vw, 64px);
}
.pis-spotlight__inner::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 360px; height: 360px; right: -50px; top: -90px;
  background: radial-gradient(circle, rgba(56,206,93,.20), rgba(56,206,93,0) 70%);
  animation: pis-sp-orb 15s ease-in-out infinite alternate;
}
@keyframes pis-sp-orb { from { transform: translate(0,0) scale(1); } to { transform: translate(-34px,26px) scale(1.14); } }
.pis-spotlight__copy { position: relative; z-index: 2; }
.pis-spotlight__eyebrow {
  margin: 0 0 14px; color: #5fe085; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; font-size: clamp(12px,1.05vw,13.5px);
}
.pis-spotlight .pis-spotlight__title {
  margin: 0 0 18px !important; color: #ffffff !important;
  font-family: var(--pis-font) !important; font-weight: 800 !important;
  letter-spacing: -0.02em !important; line-height: 1.06 !important;
  font-size: clamp(30px, 4vw, 50px) !important;
}
.pis-spotlight .pis-spotlight__title span { color: #38ce5d !important; }
.pis-spotlight__text {
  margin: 0 0 30px; color: rgba(255,255,255,.74);
  font-size: clamp(15px,1.2vw,17px); line-height: 1.65; max-width: 46ch;
}
.pis-spotlight__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #38ce5d; color: #08321a !important; font-weight: 800; font-size: 16px;
  text-decoration: none !important; border-radius: 999px; padding: 14px 28px;
  box-shadow: 0 14px 32px rgba(56,206,93,.32);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease;
}
.pis-spotlight__cta svg { width: 18px; height: 18px; transition: transform .25s ease; }
.pis-spotlight__cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(56,206,93,.45); }
.pis-spotlight__cta:hover svg { transform: translateX(4px); }

/* ---- the 3D stacked cards ---- */
.pis-spotlight__cards {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; min-height: 320px;
}
.pis-cards { display: grid; grid-template-areas: "stack"; place-items: center; }
.pis-card {
  grid-area: stack; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  width: 20rem; height: 9rem; padding: 14px 18px;
  border-radius: 14px; border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055); backdrop-filter: blur(6px);
  transform: translate(var(--tx,0), var(--ty,0)) skewY(-7deg);
  transition: transform .7s cubic-bezier(.16,1,.3,1), border-color .5s ease, background .5s ease, filter .7s ease;
  will-change: transform;
}
.pis-card::after {
  content: ""; position: absolute; top: -5%; right: -2px;
  height: 110%; width: 9rem; border-radius: 0 14px 14px 0;
  background: linear-gradient(to left, var(--sp-bg), rgba(12,27,17,0));
  pointer-events: none; z-index: 1;
}
.pis-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  background: rgba(9,21,14,.5); outline: 1px solid rgba(255,255,255,.05);
  opacity: 0; transition: opacity .7s ease; z-index: 2;
}
.pis-card__head { display: flex; align-items: center; gap: 10px; position: relative; z-index: 3; }
.pis-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px; background: #1f8a3c; flex: none;
}
.pis-card__icon svg { width: 16px; height: 16px; color: #d9ffe6; }
.pis-card__title { margin: 0; font-size: 17px; font-weight: 700; color: #5fe085; position: relative; z-index: 3; }
.pis-card__desc { margin: 0; font-size: 16px; font-weight: 500; color: #ffffff; white-space: nowrap; position: relative; z-index: 3; }
.pis-card__date { margin: 0; font-size: 13px; color: rgba(255,255,255,.5); position: relative; z-index: 3; }
.pis-card--back  { --tx: 0;     --ty: 0;      filter: grayscale(1); }
.pis-card--mid   { --tx: 3rem;  --ty: 2.4rem; filter: grayscale(1); }
.pis-card--front { --tx: 6rem;  --ty: 4.8rem; }
.pis-card--back::before, .pis-card--mid::before { opacity: 1; }
/* Lift + colorize on hover (desktop) OR tap (mobile - JS sets .is-active).
   NO z-index change - cards keep their stacking order (they don't pop in
   front of one another). The focused card just rises a bit + colorizes. The
   middle & back rise higher than the original so more of them shows. */
.pis-card:hover,
.pis-card.is-active { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.12); filter: grayscale(0) !important; }
.pis-card:hover::before,
.pis-card.is-active::before { opacity: 0; }
.pis-card--back:hover,  .pis-card--back.is-active   { --ty: -3rem; }
.pis-card--mid:hover,   .pis-card--mid.is-active    { --ty: -1.4rem; }  /* up higher than before, but stays in its layer */
.pis-card--front:hover, .pis-card--front.is-active  { --ty: 2.6rem; }
@media (max-width: 900px) {
  /* single column: copy on top, the interactive 3D card stack below (centered) */
  .pis-spotlight__inner { grid-template-columns: 1fr; }
  .pis-spotlight__copy { text-align: center; }
  .pis-spotlight__text { margin-left: auto; margin-right: auto; }
  .pis-spotlight__cards { min-height: 260px; margin-top: 8px; }
  /* keep the fanned 3D stack on phones (tap a card to raise + read it) - just
     scaled down a touch and recentred so the fan fits the narrower column. */
  .pis-card { width: 16rem; height: 8.6rem; }
  .pis-card--mid   { --tx: 2rem; --ty: 2.1rem; }
  .pis-card--front { --tx: 4rem; --ty: 4.2rem; }
  .pis-cards { transform: translateX(-2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pis-card, .pis-spotlight__cta { transition: none; }
  .pis-spotlight__inner::before { animation: none; }
}


/* ==================================================================
   PIS-21 PRICING CARDS (added 2026-06-20) - vanilla port of the shadcn
   "PricingCard" component, in Prestige branding. Replaces the old
   .pis-event__tier* tiles on the camp detail pages: white rounded cards,
   green-bordered "Best Value" card with a floating badge + solid green
   CTA, green check-circle features, arrow CTAs.
   ================================================================== */
.pis-event__tiers {
  display: grid !important; grid-template-columns: repeat(3, 1fr) !important;
  gap: 26px !important; align-items: stretch !important; text-align: left !important;
  max-width: 1040px; margin: 40px auto 0 !important;
}
/* single-option event (e.g. a free tournament): center the lone card */
.pis-event__tiers--single { display: flex !important; justify-content: center !important; }
.pis-event__tiers--single .pis-pcard { max-width: 420px; width: 100%; }
.pis-pcard {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #ffffff; border: 1.5px solid #e5e9e6; border-radius: 20px;
  padding: 34px 30px; box-shadow: 0 6px 22px rgba(20,40,25,.05);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.pis-pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,40,25,.1); }
.pis-pcard--featured { border-color: #38ce5d; box-shadow: 0 18px 44px rgba(56,206,93,.18); }
.pis-pcard--featured:hover { box-shadow: 0 24px 54px rgba(56,206,93,.26); }
.pis-pcard__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: #38ce5d; color: #08321a; font-weight: 800; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; padding: 7px 16px;
  border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px rgba(56,206,93,.4);
}
.pis-pcard__body { flex: 1 1 auto; }
.pis-event--light .pis-pcard__name {
  font-family: var(--pis-font) !important; font-size: 24px !important; font-weight: 800 !important;
  color: #1c231f !important; letter-spacing: -.01em !important; line-height: 1.1 !important; margin: 0 0 8px !important;
}
.pis-pcard__desc { color: #5b635d; font-size: 14.5px; line-height: 1.5; margin: 0 0 22px; min-height: 42px; }
.pis-pcard__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 26px; }
.pis-pcard__amt { font-family: var(--pis-font); font-size: 46px; font-weight: 800; letter-spacing: -.02em; color: #10231a; line-height: 1; }
.pis-pcard__freq { font-size: 15px; font-weight: 600; color: #8a938c; }
.pis-pcard__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.pis-pcard__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; color: #3c443e; }
.pis-pcard__list svg { width: 21px; height: 21px; flex: none; color: #2ea24a; margin-top: 1px; }
.pis-pcard__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  margin-top: 28px; padding: 14px 20px; border-radius: 12px; font-weight: 800; font-size: 15.5px;
  text-decoration: none !important; background: #eef2ef; color: #16321f !important;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pis-pcard__btn svg { width: 17px; height: 17px; transition: transform .2s ease; }
.pis-pcard__btn:hover { background: #e2e8e3; }
.pis-pcard__btn:hover svg { transform: translateX(4px); }
.pis-pcard__btn--primary { background: #38ce5d; color: #08321a !important; box-shadow: 0 12px 28px rgba(56,206,93,.32); }
.pis-pcard__btn--primary:hover { background: #2bbf50; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(56,206,93,.42); }
@media (max-width: 860px) {
  .pis-event__tiers { grid-template-columns: 1fr !important; max-width: 420px; gap: 32px !important; }
  .pis-pcard--featured { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .pis-pcard, .pis-pcard__btn, .pis-pcard__btn svg { transition: none; }
}


/* ==================================================================
   PIS-21 "Best Way To Go Pro" card buttons (added 2026-06-20) - a CTA
   pinned to the bottom of each of the 3 service cards.
   ================================================================== */
.pis-pro-btnwrap { margin-top: auto; padding-top: 22px; text-align: center; }
.pis-pro-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  background: #38ce5d; color: #000000 !important; font-weight: 800; font-size: 14.5px;
  font-family: var(--pis-font); text-decoration: none !important; line-height: 1;
  transition: background .2s ease;
}
.pis-pro-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.pis-pro-btn:hover { background: #2bbf50; }
.pis-pro-btn:hover svg { transform: translateX(3px); }


/* ==================================================================
   MOBILE TYPOGRAPHY (added 2026-06-20) - the Elementor kit keeps its
   desktop negative tracking (-4.5 to -5px) at the smaller mobile font
   sizes, which jams letters/words together. Relax tracking on phones.
   ================================================================== */
@media (max-width: 767px) {
  .elementor-kit-115 h1 { letter-spacing: -2px !important; }
  .elementor-kit-115 h2 { letter-spacing: -1.5px !important; }
  .elementor-kit-115 h3 { letter-spacing: -1px !important; }
  /* the kit's line-height:1em clips letter descenders (g/y/p) against
     overflow:hidden containers on mobile - give heading widgets room.
     (hero h1 left tight so its stacked words stay close.) */
  .elementor-widget-heading h2.elementor-heading-title,
  .elementor-widget-heading h3.elementor-heading-title,
  .elementor-widget-heading h4.elementor-heading-title { line-height: 1.18 !important; }
  /* hero h1 keeps its tight stacking - just add room below the last line so
     descenders (the "p" in "Sports") aren't clipped */
  .elementor-widget-heading h1.elementor-heading-title { padding-bottom: .16em !important; }
  /* custom band headings: keep near-normal tracking + a touch smaller so
     long phrases (e.g. "Everything Your Athlete Needs") breathe */
  .pis-offer .pis-offer__title { letter-spacing: -0.01em !important; font-size: clamp(26px, 7.2vw, 38px) !important; line-height: 1.12 !important; }
  .pis-stats .pis-stats__title { letter-spacing: -0.01em !important; }
  .pis-spotlight .pis-spotlight__title { letter-spacing: -0.01em !important; }
  /* "More Than ___" rotating headline: on phones drop the rotating word onto
     its own centered line so every word (Reps/Drills/Practice/Training) is
     dead-centered under "More Than" - it was left-aligned in a fixed box that
     was sized to the longest word, so short words looked off to the left. */
  #pis-mtt-rotate.pis-wrot { display: block !important; padding: 0 !important; }
  #pis-mtt-rotate .pis-wrot__layer { justify-content: center !important; }
  /* CLIP FIX: several heading widgets carry a negative top margin (a desktop
     tweak, e.g. "The Best Way..." has margin-top:-20px) and sit inside Elementor
     child containers with --overflow:hidden, so on phones the larger type's
     cap-tops get sliced off. Never pull a HEADING up with a negative top margin
     on mobile - it both clips and steals headroom. (Text widgets keep theirs.) */
  .elementor-widget-heading > .elementor-widget-container { margin-top: 0 !important; }
}


/* ==================================================================
   PIS-21 SOCCER-BALL MENU TOGGLE (added 2026-06-20) - the mobile
   hamburger spins and morphs into a soccer ball when the menu opens.
   The <svg> is injected into every toggle by pis-21.js (.pis-ball-host);
   animation is driven by aria-expanded on the toggle.
   ================================================================== */
/* center the icon WITHOUT forcing display - Elementor hides the toggle on
   desktop and shows it on mobile; we must not override that (a forced
   display made the toggle appear on desktop too). */
.pis-ball-host { align-items: center; justify-content: center; }
/* hide the native hamburger/close icons where the ball is mounted */
.pis-ball-host .elementor-menu-toggle__icon--open,
.pis-ball-host .elementor-menu-toggle__icon--close,
.pis-ball-host .site-navigation-toggle-icon { display: none !important; }
.pis-ball { width: 34px !important; height: 34px !important; display: block; overflow: visible; margin: auto; }
/* both the bars and the soccer ball are STROKED line-art so they can animate.
   Force WHITE (the toggle sits over the dark hero on every page; the Hello-theme
   toggle on /events/ was inheriting a gray color). */
.pis-ball__bars line { fill: none !important; stroke: #ffffff !important; }
.pis-ball__bars { transition: opacity .3s ease; }
/* the wireframe soccer ball "draws on" (lines flow into the ball). Driven by a
   keyframe animation, not a transition - this engine ignores a stroke-dashoffset
   transition here but animates it fine (same trick as the offer-icon draw-on). */
.pis-ball__path {
  fill: none !important; stroke: #ffffff !important; stroke-width: 5.5 !important;
  stroke-dasharray: 781; stroke-dashoffset: 781;   /* path length 781 -> fully hidden when closed */
}
/* OPEN: bars fade out, the ball's lines flow on as the icon spins a full turn */
.pis-ball-host[aria-expanded="true"] .pis-ball { animation: pis-ball-spin .85s cubic-bezier(.16,1,.3,1) forwards; }
.pis-ball-host[aria-expanded="true"] .pis-ball__bars { opacity: 0; }
.pis-ball-host[aria-expanded="true"] .pis-ball__path { animation: pis-ball-draw .85s cubic-bezier(.45,0,.2,1) forwards; }
/* CLOSE (clicked again): the SAME animation in reverse, but SEQUENCED so the ball
   is fully gone BEFORE the bars come back (otherwise the bars/lines reappear over a
   still-visible ball = messy). Step 1 (0-.5s): the ball's lines retract + it spins
   back. Step 2 (.5s+): the bars fade in. Gated by .pis-ball-host--ready (added by JS
   on first use) so this reverse never fires on the initial page load. */
.pis-ball-host--ready[aria-expanded="false"] .pis-ball { animation: pis-ball-spin-rev .5s cubic-bezier(.16,1,.3,1) forwards; }
.pis-ball-host--ready[aria-expanded="false"] .pis-ball__path { animation: pis-ball-undraw .5s cubic-bezier(.5,0,.4,1) forwards; }
.pis-ball-host--ready[aria-expanded="false"] .pis-ball__bars { transition: opacity .28s ease .52s; }
@keyframes pis-ball-draw { from { stroke-dashoffset: 781; } to { stroke-dashoffset: 0; } }
@keyframes pis-ball-undraw { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 781; } }
@keyframes pis-ball-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pis-ball-spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@media (prefers-reduced-motion: reduce) {
  .pis-ball-host[aria-expanded="true"] .pis-ball,
  .pis-ball-host--ready[aria-expanded="false"] .pis-ball { animation: none; }
  .pis-ball-host[aria-expanded="true"] .pis-ball__path { animation: none; stroke-dashoffset: 0; }
  .pis-ball-host--ready[aria-expanded="false"] .pis-ball__path { animation: none; stroke-dashoffset: 781; }
  .pis-ball__bars { transition: none; }
}


/* ==================================================================
   No white overscroll bar on mobile (added 2026-06-20). The <body>
   background is white and propagates to the canvas, so iOS rubber-band
   scrolling at the top of a page shows a white bar above the dark hero.
   Give the root a dark canvas; the body keeps its white fill behind
   content, so nothing visible changes - only the overscroll area.
   ================================================================== */
html { background-color: #121212 !important; }
/* The dark canvas alone didn't reliably color the iOS rubber-band area (it still
   flashed the white body bg at the very top). Disable the vertical overscroll
   bounce so NOTHING is revealed past the top/bottom - no white (or dark) bar. */
html, body { overscroll-behavior-y: none; }


/* ==================================================================
   Hide two promo blocks on phones (per request, 2026-06-22): the
   "Train at a Higher Standard" green block, and BOTH "Ready to Start
   Private Mentorship With A Pro?" blocks - the top spotlight card
   (420+ counter + coach avatars + heading + tagline) and the bottom
   CTA (heading + tagline + "Join the Club" button). The hero video
   above the top card stays visible.
   ================================================================== */
@media (max-width: 767px) {
  .elementor-element-41fb926f,   /* Train at a Higher Standard */
  .elementor-element-1b864d48,   /* top mentorship spotlight card */
  .elementor-element-2d5161 {    /* bottom mentorship CTA */
    display: none !important;
  }
}


/* ==================================================================
   PIS-21 "What Our Players Say" rolling reviews wall (ported from the
   makemintmedia.com vertical-marquee testimonials). Light section so the
   cards are white. Built from window.PIS.REVIEWS by PIS.initReviews().
   1 column on phones, 2 on tablets, 3 on desktop; top/bottom edge fade;
   pause on hover.
   ================================================================== */
.pis-reviews { width: 100%; max-width: 1180px; margin: 0 auto; }
/* ===== Testimonials: heading-left + tilted-wall-right (makemintmedia formatting, light) ===== */
.elementor-element-2396ec1a {
  background: linear-gradient(160deg, #ffffff 0%, #eef3f0 100%) !important;
  overflow: hidden;
  padding-top: 72px !important; padding-bottom: 72px !important;
}
.elementor-element-2396ec1a > .e-con-inner {
  align-items: center; gap: 30px;
  padding-left: clamp(24px, 5vw, 76px) !important; padding-right: 0 !important;
}

/* left info column (eyebrow + heading + intro + Google badge + review button) */
.elementor-element-6c93a98e {
  flex: 0 0 32% !important; max-width: 32% !important;
  justify-content: center !important; align-items: flex-start !important;
  text-align: left !important; z-index: 2;
}
.elementor-element-6c93a98e .elementor-heading-title,
.elementor-element-6c93a98e .elementor-widget-text-editor,
.elementor-element-6c93a98e .elementor-widget-text-editor p { text-align: left !important; }
.elementor-element-6c93a98e h5.elementor-heading-title { color: #1f8a3c !important; }
.elementor-element-6c93a98e h2.elementor-heading-title {
  color: #10231a !important; font-size: clamp(32px, 3.3vw, 50px) !important; line-height: 1.06 !important;
}
.elementor-element-6c93a98e .elementor-widget-text-editor,
.elementor-element-6c93a98e .elementor-widget-text-editor p { color: #56635c !important; }
.elementor-element-6c93a98e .pis-rv-info { width: 100%; }
.elementor-element-6c93a98e [data-pis-summary] { margin-top: 24px; }
.elementor-element-6c93a98e [data-pis-cta] { margin-top: 14px; }
.elementor-element-6c93a98e .pis-reviews__summary-wrap,
.elementor-element-6c93a98e .pis-reviews__cta-wrap { justify-content: flex-start; margin: 0; }

/* right wall column - the tilted rolling reviews */
.pis-reviews-wall-col {
  flex: 1 1 72%; min-width: 0; align-self: stretch;
  display: flex; align-items: center; overflow: visible;
  perspective: 460px;            /* strong, like makemintmedia (320px) - real depth recession */
  perspective-origin: 78% 50%;   /* vanishing point toward the right so far cards recede into view */
}
.pis-reviews-wall-col .pis-reviews { max-width: none; margin: 0; width: 100%; }
.pis-reviews-wall-col .pis-reviews__cols { justify-content: flex-start; gap: 16px; }

/* stack on tablet / phone: heading on top (centered), wall below */
@media (max-width: 1023px) {
  .elementor-element-2396ec1a > .e-con-inner { flex-direction: column; }
  .elementor-element-6c93a98e, .pis-reviews-wall-col { flex: 1 1 100% !important; max-width: 100% !important; }
  .elementor-element-6c93a98e { align-items: center !important; text-align: center !important; }
  .elementor-element-6c93a98e .elementor-heading-title,
  .elementor-element-6c93a98e .elementor-widget-text-editor,
  .elementor-element-6c93a98e .elementor-widget-text-editor p { text-align: center !important; }
  .elementor-element-6c93a98e .pis-reviews__summary-wrap,
  .elementor-element-6c93a98e .pis-reviews__cta-wrap { justify-content: center; }
  .pis-reviews-wall-col .pis-reviews__cols { justify-content: center; }
}

.pis-reviews__cols {
  position: relative;
  display: flex; gap: 18px; justify-content: center;
  height: clamp(420px, 56vh, 540px);
  overflow: hidden;
  /* soft fade so cards roll in/out of view instead of clipping hard */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
}
/* makemintmedia-style angled wall on the homepage, wide screens only
   (service pages + tablet/phone keep the flat, full-card wall) */
@media (min-width: 1024px) {
  /* makemintmedia-style dramatic 3D recession (depth, not a mask) so the far
     column shrinks into the distance instead of getting clipped at an edge */
  .pis-reviews-wall-col .pis-reviews__cols {
    transform: translateZ(-40px) rotateX(15deg) rotateY(-14deg) rotateZ(12deg);
    transform-origin: center center;
    transform-style: preserve-3d;
  }
  .pis-reviews-wall-col .pis-reviews__col { flex: 0 0 290px; width: 290px; max-width: 290px; }
  /* whisper of edge-softening so the receding far column dissolves into the
     distance instead of clipping hard at the section edge */
  .pis-reviews-wall-col {
    -webkit-mask-image: linear-gradient(to right, #000 90%, transparent 100%);
            mask-image: linear-gradient(to right, #000 90%, transparent 100%);
  }
}
.pis-reviews__col {
  flex: 0 0 300px; width: 300px; max-width: 300px;
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
}
.pis-reviews__set {
  display: flex; flex-direction: column; gap: 16px; flex-shrink: 0;
  animation: pis-reviews-roll var(--dur, 46s) linear infinite;
  will-change: transform;
}
.pis-reviews__set.is-rev { animation-direction: reverse; }
.pis-reviews__cols:hover .pis-reviews__set { animation-play-state: paused; }
@keyframes pis-reviews-roll { from { transform: translateY(0); } to { transform: translateY(calc(-100% - 16px)); } }

.pis-review {
  flex: 0 0 auto; margin: 0;
  width: 100%; box-sizing: border-box;  /* fill the column; beat the old unused .pis-review{width:340px} */
  background: #ffffff; border: 1px solid rgba(20,34,26,.10);
  border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 12px 30px -18px rgba(20,46,30,.32);
  text-align: left; font-style: normal;
}
.pis-review__head { display: flex; align-items: center; gap: 12px; }
.pis-review__avatar {
  width: 42px; height: 42px; border-radius: 999px; flex: none;
  background-size: cover; background-position: center;
  display: inline-flex; align-items: center; justify-content: center;
}
.pis-review__avatar--initials { background: #1f8a3c; color: #eafff0; font-weight: 800; font-size: 15px; }
.pis-review__head figcaption { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pis-review__name { font-weight: 700; color: #1c231f; font-size: 15px; font-style: normal; }
.pis-review__meta { font-size: 12.5px; color: #6b7770; margin-top: 2px; font-style: normal; }
.pis-review__stars { display: inline-flex; gap: 2px; margin: 12px 0 9px; }
.pis-review__stars svg { width: 15px; height: 15px; display: block; }
.pis-review__stars svg.on path { fill: #38ce5d; }
.pis-review__stars svg.off path { fill: rgba(20,34,26,.15); }
.pis-review__body { margin: 0; color: #3a463f; font-size: 14.5px; line-height: 1.55; }
/* hover: lift the card + deepen its shadow (the whole column also pauses on hover) */
.pis-review { transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease; }
.pis-reviews__cols:hover .pis-review:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 28px 52px -22px rgba(20,46,30,.55);
  position: relative; z-index: 3;
}

/* live Google rating badge above the rolling wall */
.pis-reviews__summary-wrap { display: flex; justify-content: center; margin: 0 0 22px; }
.pis-reviews__summary {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 17px; background: #ffffff; border-radius: 999px;
  box-shadow: 0 14px 32px -20px rgba(20,46,30,.55); border: 1px solid rgba(20,34,26,.08);
  text-decoration: none; line-height: 1; transition: transform .18s ease, box-shadow .18s ease;
}
a.pis-reviews__summary:hover { transform: translateY(-1px); box-shadow: 0 18px 38px -20px rgba(20,46,30,.6); }
.pis-reviews__glogo { width: 20px; height: 20px; display: block; flex: none; }
.pis-reviews__rating { font-size: 17px; font-weight: 800; color: #1c231f; }
.pis-reviews__summary .pis-review__stars { margin: 0; }
.pis-reviews__count { font-size: 13px; font-weight: 600; color: #5a6660; white-space: nowrap; }
a.pis-reviews__summary:hover .pis-reviews__count { color: #1f8a3c; }

/* "Leave us a review" button below the wall -> Google review dialog */
.pis-reviews__cta-wrap { display: flex; justify-content: center; margin: 26px 0 2px; }
.pis-reviews__cta {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 24px 13px 14px; border-radius: 999px;
  background: linear-gradient(180deg, #38ce5d, #1f8a3c);
  font-weight: 800; font-size: 15px; line-height: 1;
  text-decoration: none;
  box-shadow: 0 16px 34px -16px rgba(31,138,60,.7);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
/* section styles links green; force white so the label is readable on green */
.pis-reviews__cta, .pis-reviews__cta span { color: #fff !important; }
.pis-reviews__cta:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 22px 42px -16px rgba(31,138,60,.85); }
.pis-reviews__cta-g {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px; background: #fff; flex: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.pis-reviews__cta-g svg { width: 17px; height: 17px; display: block; }

@media (max-width: 1023px) { .pis-reviews__col[data-col="2"] { display: none; } }
@media (max-width: 640px) {
  .pis-reviews__col[data-col="1"] { display: none; }
  .pis-reviews__col { flex-basis: min(330px, 88vw); width: min(330px, 88vw); max-width: 88vw; }
  .pis-reviews__cols { height: clamp(440px, 70vh, 560px); }
}
@media (prefers-reduced-motion: reduce) {
  .pis-reviews__set { animation: none; }
  .pis-reviews__col { overflow: visible; }
  .pis-reviews__col .pis-reviews__set[aria-hidden="true"] { display: none; }
  .pis-reviews__cols { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
}


/* ==================================================================
   LOCAL SEO service-area landing pages  ->  /[service]-[city]/
   Standalone lean pages (NOT loading the Elementor kit) that reuse this
   brand stylesheet. H1 formula "[Service] in [City]". Not in the nav; built
   to rank for local "[service] in [city]" searches. Class prefix: psvc-.
   ================================================================== */
.psvc { font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,sans-serif; color:#3a463f; background:#fff; margin:0; }
.psvc *{ box-sizing:border-box; }
.psvc__wrap{ max-width:1080px; margin:0 auto; padding:0 22px; }
/* Header: logo left, nav CENTERED, CTA right (matches the rest of the site) */
.psvc-header{ position:absolute; top:0; left:0; right:0; z-index:10; display:flex; align-items:center; justify-content:center; padding:16px 22px; }
.psvc-header__logo{ position:absolute; left:22px; top:50%; transform:translateY(-50%); display:block; }
.psvc-header__logo img{ height:60px; width:auto; display:block; }
.psvc-nav{ display:flex; gap:26px; align-items:center; }
.psvc-nav a{ color:#fff; text-decoration:none; font-weight:600; font-size:15px; }
.psvc-nav a:hover{ color:#38ce5d; }
.psvc-hcta{ position:absolute; right:22px; top:50%; transform:translateY(-50%); background:#38ce5d; color:#06210f; padding:11px 22px; border-radius:999px; font-weight:800; text-decoration:none; }
/* Mobile hamburger + full-screen overlay menu (was: only the CTA showed, no menu) */
.psvc-burger{ display:none; position:absolute; right:16px; top:50%; transform:translateY(-50%); flex-direction:column; justify-content:center; gap:5px; width:44px; height:44px; padding:9px; background:none; border:0; cursor:pointer; }
.psvc-burger span{ display:block; height:2px; width:100%; background:#fff; border-radius:2px; }
.psvc-menu{ position:fixed; inset:0; background:rgba(14,30,20,.97); -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px); z-index:99999; display:none; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:24px; }
.psvc-menu.open{ display:flex; }
.psvc-menu a{ color:#fff; font-size:22px; font-weight:700; padding:13px 24px; text-decoration:none; }
.psvc-menu a:hover{ color:#38ce5d; }
.psvc-menu .psvc-hcta{ position:static; transform:none; margin-top:16px; padding:14px 36px; }
.psvc-menu__x{ position:absolute; top:18px; right:20px; background:none; border:0; color:#fff; font-size:36px; line-height:1; cursor:pointer; }
@media (max-width:900px){ .psvc-nav{ display:none; } .psvc-burger{ display:flex; } }
.psvc-hero{ position:relative; min-height:72vh; display:flex; align-items:center; background:#161a17 center/cover no-repeat; color:#fff; text-align:center; padding:118px 22px 68px; }
.psvc-hero::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(10,14,11,.74),rgba(10,14,11,.6)); }
.psvc-hero__in{ position:relative; max-width:860px; margin:0 auto; }
.psvc-eyebrow{ text-transform:uppercase; letter-spacing:.22em; font-weight:700; font-size:13px; color:#38ce5d; margin:0 0 14px; }
.psvc-hero h1{ font-size:clamp(33px,6.2vw,60px); line-height:1.06; font-weight:800; margin:0 0 18px; color:#fff; letter-spacing:-.02em; }
.psvc-hero h1 span{ color:#38ce5d; }
.psvc-sub{ font-size:clamp(16px,2.3vw,20px); line-height:1.5; color:rgba(255,255,255,.87); max-width:640px; margin:0 auto 30px; }
.psvc-cta-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.psvc-btn{ display:inline-flex; align-items:center; gap:9px; padding:15px 30px; border-radius:999px; font-weight:800; font-size:16px; text-decoration:none; transition:transform .2s ease; }
.psvc-btn:hover{ transform:translateY(-2px); }
.psvc-btn--g{ background:#38ce5d; color:#06210f; box-shadow:0 14px 30px rgba(56,206,93,.32); }
.psvc-btn--w{ background:#fff; color:#1c231f; }
.psvc-sec{ padding:clamp(46px,6.5vw,80px) 0; }
.psvc-sec--tint{ background:#f4f8f5; }
.psvc-kicker{ text-transform:uppercase; letter-spacing:.2em; font-weight:700; font-size:13px; color:#1f8a3c; margin:0 0 12px; }
.psvc h2{ font-size:clamp(26px,4.2vw,40px); line-height:1.12; font-weight:800; color:#1c231f; margin:0 0 18px; letter-spacing:-.02em; }
.psvc p{ font-size:16.5px; line-height:1.65; margin:0 0 16px; }
.psvc-intro{ max-width:760px; }
.psvc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:26px; }
@media (max-width:820px){ .psvc-grid{ grid-template-columns:1fr; } }
.psvc-card{ background:#fff; border:1px solid rgba(20,34,26,.10); border-radius:16px; padding:24px; box-shadow:0 12px 30px -20px rgba(20,46,30,.3); }
.psvc-card h3{ font-size:18px; font-weight:800; color:#1c231f; margin:0 0 8px; }
.psvc-card p{ font-size:15px; margin:0; }
.psvc-faq details{ border-bottom:1px solid rgba(20,34,26,.12); padding:18px 2px; }
.psvc-faq summary{ font-weight:700; color:#1c231f; font-size:17px; cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:16px; }
.psvc-faq summary::-webkit-details-marker{ display:none; }
.psvc-faq summary::after{ content:"+"; color:#38ce5d; font-weight:800; }
.psvc-faq details[open] summary::after{ content:"\2013"; }
.psvc-faq p{ margin:12px 0 0; font-size:15.5px; }
.psvc-cta{ background:linear-gradient(135deg,#1f8a3c,#38ce5d); color:#06210f; text-align:center; }
.psvc-cta h2{ color:#06210f; }
.psvc-cta p{ color:rgba(6,33,15,.82); max-width:560px; margin:0 auto 24px; }
.psvc-reviews-wrap{ text-align:center; }
.psvc-footer{ background:#11150f; color:rgba(255,255,255,.7); padding:48px 0 28px; font-size:14.5px; }
.psvc-footer a{ color:rgba(255,255,255,.75); text-decoration:none; }
.psvc-footer a:hover{ color:#38ce5d; }
.psvc-foot-grid{ display:flex; flex-wrap:wrap; gap:30px 50px; justify-content:space-between; }
.psvc-foot h4{ color:#fff; font-size:15px; margin:0 0 12px; }
.psvc-foot__areas a{ display:inline-block; margin:0 14px 8px 0; }
.psvc-foot__bar{ margin-top:28px; padding-top:18px; border-top:1px solid rgba(255,255,255,.12); font-size:13px; color:rgba(255,255,255,.5); }


/* "What Our Players Say" reviews section for non-home pages (about, our-coaches):
   self-contained two-column layout that matches the homepage (the homepage's version
   relies on page-specific Elementor element CSS that isn't on these pages). The rolling
   wall + Google rating badge + "Leave us a review" CTA render via PIS.initReviews(). */
.pis-rvsec { padding: 64px 0; }
.pis-rvsec__in { max-width: 1200px; margin: 0 auto; padding: 0 22px; display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.pis-rvsec__text { flex: 1 1 300px; min-width: 0; }
.pis-rvsec__eyebrow { color: #38ce5d !important; text-transform: uppercase; letter-spacing: .12em !important; font-size: 14px !important; font-weight: 700; margin: 0 0 16px; }
.pis-rvsec__title { letter-spacing: normal !important; margin: 0 0 16px; }
.pis-rvsec__desc { color: #46544c; font-size: 16px; line-height: 1.6; margin: 0 0 24px; max-width: 44ch; }
.pis-rvsec .pis-reviews-wall-col { flex: 1 1 540px; min-width: 0; }
@media (max-width: 880px) { .pis-rvsec__in { gap: 28px; } .pis-rvsec__text, .pis-rvsec .pis-reviews-wall-col { flex: 1 1 100%; } }
