/* =========================================================
   Greenscape Turfing — Page-Specific Styles
   ========================================================= */

/* ---------- Hero ---------------------------------------- */
.gs-hero {
  position: relative;
  isolation: isolate;
  color: var(--gs-cream);
  /* Tighter top/bottom padding + content anchored toward the top so the tall
     copy stack (4-line H1 + lead + CTAs) sits higher and the buttons never get
     clipped at the fold. Feedback: "text should lift up a bit". */
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  min-height: clamp(520px, 56vh, 700px);
  display: grid;
  align-items: center;
}
/* ---- Hero image slider --------------------------------- */

/* Slide stack — all slides are stacked absolutely, crossfade via opacity */
.gs-hero__slides {
  position: absolute; inset: 0;
  z-index: -2;
}
.gs-hero__slide {
  position: absolute; inset: 0;
  /* Deep green gradient fallback shows if a photo is missing / still loading */
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
  opacity: 0;
  z-index: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
/* Active slide sits on top and fades in over the previous one, which stays
   fully opaque underneath until covered — a clean crossfade with no mid-fade
   dip to the background. */
.gs-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}
/* The optimised image fills the slide */
.gs-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Crisper downscaling on high-DPI screens. */
  image-rendering: auto;
}
/* If onerror fires, keep the green gradient visible (img hidden via inline style) */
.gs-hero__slide--fallback { background: linear-gradient(135deg, #1E5631 0%, #14361F 100%); }

/* ---- Mobile hero: reduce the crop/zoom on narrow screens ----
   A 16:9 landscape photo forced into a tall/narrow box gets heavily zoom-cropped
   (client feedback: "overly zoomed-in"). On phones we SHORTEN the hero so the wide
   photo fills a shorter box — far less magnification, so the image reads sharper and
   more natural. object-position nudged up slightly so the horizon/subject stays in
   frame rather than the dead centre. */
@media (max-width: 767px) {
  .gs-hero {
    min-height: 74svh;            /* shorter than desktop's 56vh-of-a-tall-box */
    padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
  }
  .gs-hero__img {
    object-position: center 35%;  /* keep the interesting top-third in view */
  }

  /* Mobile: hide the eyebrow + CTA buttons (per request). !important because the
     base .gs-hero__eyebrow rule is defined LATER in the file with equal specificity
     and would otherwise win the source-order tie and re-show it. */
  .gs-hero__eyebrow { display: none !important; }
  .gs-hero__ctas    { display: none !important; }

  /* Re-align the remaining content (heading → lead → rating → trust) as a clean,
     centred, responsive stack. Centre-aligned reads better on a narrow screen. */
  .gs-hero__inner {
    text-align: center;
    justify-items: center;
    gap: var(--gs-space-4);
  }
  .gs-hero h1 {
    font-size: clamp(2rem, 1.4rem + 6vw, 2.75rem);  /* fits small screens, no overflow */
    line-height: 1.12;
  }
  .gs-hero__lead {
    font-size: var(--gs-fs-base);
    max-width: 42ch;             /* comfortable measure on mobile */
    margin-inline: auto;
  }
  .gs-hero__rating { margin-inline: auto; }   /* centre the ratings pill */
  .gs-hero__trust  { width: 100%; }
  .gs-hero__trust .gs-trust { justify-content: center; }
}

/* Hero scrim REMOVED per request — the photo shows with no dark overlay.
   Note: text legibility now relies solely on the text-shadows on the hero copy;
   over a very bright image the white text may read faint. */
.gs-hero__overlay {
  display: none;
}

/* Dot navigation */
.gs-hero__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
  padding: 0;
  margin: 0;
  list-style: none;
}
.gs-hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  /* Generous invisible hit area → ≥44px touch target without bloating the dot */
  position: relative;
}
.gs-hero__dot::before {
  content: '';
  position: absolute;
  inset: -18px; /* 8px dot + 36px = 44px touch target (skill: touch-target-size) */
}
.gs-hero__dot:focus-visible {
  outline: 2px solid var(--gs-gold);
  outline-offset: 4px;
}
.gs-hero__dot.is-active {
  background: var(--gs-gold);
  border-color: var(--gs-gold);
  transform: scale(1.3);
}
.gs-hero__dot:hover:not(.is-active) {
  background: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.9);
}
/* Active dot expands into a pill to show progress */
.gs-hero__dot.is-active {
  width: 24px;
  border-radius: 4px;
}

/* Arrows removed — the hero advances automatically; dots remain for manual jump. */
@media (max-width: 480px) {
  .gs-hero__dots { bottom: 1.25rem; }
}

/* Respect prefers-reduced-motion: disable crossfade transition */
@media (prefers-reduced-motion: reduce) {
  .gs-hero__slide {
    transition: none;
  }
}
.gs-hero__inner { display: grid; gap: var(--gs-space-5); max-width: 820px; }
.gs-hero__eyebrow {
  font-size: var(--gs-fs-xs);
  font-weight: 600;
  letter-spacing: var(--gs-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gs-gold);
  display: inline-flex; align-items: center; gap: var(--gs-space-3);
}
.gs-hero__eyebrow::before,
.gs-hero__eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--gs-gold); }
.gs-hero h1 {
  color: #ffffff;                    /* full-opacity white */
  /* Bold condensed display face (Oswald) — matches the old site's tall, impactful
     all-caps headline. Falls back to the theme display font then system sans. */
  font-family: 'Oswald', 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: var(--gs-fs-4xl);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.005em;           /* condensed reads tight; a hair of tracking for polish */
  margin: 0;
  /* Defined dark outline for crisp, high-contrast letters over the photo — closer
     to the old site's outlined headline. Tight offsets on all sides act like a
     stroke; a soft glow underneath adds depth without a heavy dark box. */
  text-shadow:
    1px 1px 0 rgba(14,38,22,0.55),
    -1px 1px 0 rgba(14,38,22,0.55),
    1px -1px 0 rgba(14,38,22,0.55),
    -1px -1px 0 rgba(14,38,22,0.55),
    0 2px 10px rgba(14,38,22,0.5);
}
.gs-hero h1 em {
  font-style: normal;
  color: #C8A96A;                    /* full-opacity gold accent */
  font-weight: 800;
}
.gs-hero__eyebrow { text-shadow: none; }
.gs-hero__lead {
  color: #ffffff;                    /* full-opacity white */
  font-size: var(--gs-fs-lg);
  max-width: 56ch;
  line-height: 1.5;
  /* Same dark outline (1px stroke on all sides) + soft glow as the heading, so
     the paragraph stays crisp over the photo. */
  text-shadow:
    1px 1px 0 rgba(14,38,22,0.5),
    -1px 1px 0 rgba(14,38,22,0.5),
    1px -1px 0 rgba(14,38,22,0.5),
    -1px -1px 0 rgba(14,38,22,0.5),
    0 1px 8px rgba(14,38,22,0.45);
}
.gs-hero__ctas { display: flex; gap: var(--gs-space-3); flex-wrap: wrap; }
.gs-hero__rating {
  display: inline-flex; align-items: center; gap: var(--gs-space-3);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--gs-radius-pill);
  padding: 0.5rem 1rem;
  font-size: var(--gs-fs-sm);
  color: var(--gs-cream);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: fit-content;
}
.gs-hero__trust {
  margin-top: var(--gs-space-5);
  padding-top: var(--gs-space-5);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.gs-hero--page {            /* sub-page hero — smaller, no center-stage CTA */
  min-height: clamp(320px, 38vh, 460px);
  padding-block: clamp(3.5rem, 3rem + 4vw, 6rem);
  /* Deep green background — matches "Our Process" section (--gs-green-deep).
     Set directly here so the hero is never white regardless of .gs-hero__bg load. */
  background: var(--gs-green-deep);
}
.gs-hero--page h1 { font-size: var(--gs-fs-3xl); }

/* .gs-hero__bg — the inline-style div that holds the gradient on sub-pages.
   Must be absolutely positioned to fill the section; without this it renders
   as a 0×0 collapsed div and the inline background is invisible. */
.gs-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* ---------- Section header pattern --------------------- */
.gs-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--gs-space-12);
  display: grid; gap: var(--gs-space-3);
}
.gs-section__header h2 { margin: 0; }
.gs-section__header p { margin: 0 auto; color: var(--gs-text-muted); }
.gs-section--cream .gs-section__header p { font-size: 19px; }

/* ---------- Intro / value prop band -------------------- */
.gs-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gs-space-12);
  align-items: center;
}
.gs-intro__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
  border-radius: var(--gs-radius-lg);
  box-shadow: var(--gs-shadow);
  position: relative;
  overflow: hidden;
}
/* Real <img> fills the card; background gradient shows as fallback if img missing */
.gs-intro__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.gs-intro__media-badge {
  position: absolute;
  bottom: 1.25rem; right: 1.25rem;
  background: var(--gs-green-deep);
  border: 1px solid var(--gs-gold);
  border-radius: var(--gs-radius-lg);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--gs-cream);
  font-family: var(--gs-font-body);
  font-size: var(--gs-fs-xs);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gs-intro__media-badge svg { width: 20px; height: 20px; color: var(--gs-gold); flex-shrink: 0; }
.gs-intro__media::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid var(--gs-gold);
  border-radius: calc(var(--gs-radius-lg) - 4px);
  pointer-events: none;
}
.gs-intro h2 em { font-style: italic; color: var(--gs-gold); font-weight: 400; }
.gs-intro__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gs-space-6);
  margin-top: var(--gs-space-8);
  padding-top: var(--gs-space-6);
  border-top: var(--gs-divider-gold);
}
.gs-intro__stat strong {
  display: block;
  font-family: var(--gs-font-display);
  font-size: var(--gs-fs-2xl);
  color: var(--gs-green-deep);
  line-height: 1;
}
.gs-intro__stat span {
  display: block;
  font-size: var(--gs-fs-xs);
  letter-spacing: var(--gs-tracking-wide);
  text-transform: uppercase;
  color: var(--gs-text-muted);
  margin-top: 0.35rem;
}
@media (max-width: 900px) {
  .gs-intro { grid-template-columns: 1fr; }
  .gs-intro__media { aspect-ratio: 1 / 1; }
}

/* ---------- Benefits grid (5 cards) -------------------- */
.gs-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gs-space-5);
}
@media (max-width: 1100px) { .gs-benefits { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .gs-benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px)  { .gs-benefits { grid-template-columns: 1fr; } }

.gs-benefit {
  background: var(--gs-white);
  border: 1px solid var(--gs-border);
  border-radius: var(--gs-radius);
  padding: var(--gs-space-6);
  display: flex; flex-direction: column; gap: var(--gs-space-3);
  transition: border-color var(--gs-dur-base) var(--gs-ease), box-shadow var(--gs-dur-base) var(--gs-ease);
}
.gs-benefit:hover { border-color: var(--gs-gold); box-shadow: var(--gs-shadow-sm); }
.gs-benefit__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--gs-cream);
  border-radius: 50%;
  color: var(--gs-green-deep);
}
.gs-benefit__icon svg { width: 24px; height: 24px; }
.gs-benefit h3 { font-size: var(--gs-fs-lg); margin: 0; color: var(--gs-green-deep); }
.gs-benefit p  { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); margin: 0; }

/* ---------- Featured products row ---------------------- */
.gs-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gs-space-6);
}
@media (max-width: 1023px) { .gs-products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .gs-products { grid-template-columns: 1fr; } }

.gs-product__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--gs-space-3);
}
.gs-product__price {
  font-family: var(--gs-font-display);
  font-size: var(--gs-fs-xl);
  color: var(--gs-green-deep);
}
.gs-product__price del {
  font-size: var(--gs-fs-sm);
  color: var(--gs-text-muted);
  margin-right: 0.4rem;
  font-family: var(--gs-font-body);
}
.gs-product__spec { font-size: var(--gs-fs-xs); color: var(--gs-text-muted); letter-spacing: var(--gs-tracking-wide); text-transform: uppercase; }
.gs-product__cta { display: flex; gap: var(--gs-space-2); margin-top: var(--gs-space-4); }
.gs-product__cta .gs-btn { flex: 1; padding: 0.8rem 1rem; }

/* ---------- Process / step timeline -------------------- */
.gs-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gs-space-5);
  position: relative;
}
.gs-process::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--gs-gold);
  opacity: 0.3;
  z-index: 0;
}
@media (max-width: 1023px) { .gs-process { grid-template-columns: repeat(3, 1fr); } .gs-process::before { display: none; } }
@media (max-width: 600px)  { .gs-process { grid-template-columns: 1fr 1fr; } }

.gs-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex; flex-direction: column; gap: var(--gs-space-3); align-items: center;
}
.gs-step__num {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gs-white);
  border: 1px solid var(--gs-gold);
  color: var(--gs-green-deep);
  font-family: var(--gs-font-display);
  font-size: var(--gs-fs-lg);
  font-weight: 600;
  box-shadow: var(--gs-shadow-xs);
}
.gs-step h3 { font-size: var(--gs-fs-lg); margin: 0; color: var(--gs-green-deep); }
.gs-step p  { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); margin: 0; }
.gs-section--dark .gs-step__num { background: rgba(255,255,255,0.06); color: var(--gs-gold); border-color: var(--gs-gold); }
.gs-section--dark .gs-step h3 { color: var(--gs-cream); }
.gs-section--dark .gs-step p  { color: rgba(255,255,255,0.7); }

/* ---------- Services grid ------------------------------- */
.gs-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gs-space-5);
}
@media (max-width: 1100px) { .gs-services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .gs-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .gs-services { grid-template-columns: 1fr; } }

.gs-service {
  background: var(--gs-white);
  border: 1px solid var(--gs-border);
  border-radius: var(--gs-radius);
  padding: var(--gs-space-6);
  display: flex; flex-direction: column; gap: var(--gs-space-3);
  text-align: left;
  transition: border-color var(--gs-dur-base) var(--gs-ease), box-shadow var(--gs-dur-base) var(--gs-ease);
  cursor: pointer;
}
.gs-service:hover { border-color: var(--gs-gold); box-shadow: var(--gs-shadow); }
.gs-service__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--gs-cream);
  border-radius: var(--gs-radius);
  color: var(--gs-green-deep);
}
.gs-service__icon svg { width: 28px; height: 28px; }
.gs-service h3 { font-size: var(--gs-fs-lg); margin: 0; color: var(--gs-green-deep); }
.gs-service p  { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); margin: 0; }
.gs-service__more {
  margin-top: auto;
  font-size: var(--gs-fs-xs);
  letter-spacing: var(--gs-tracking-wide);
  text-transform: uppercase;
  color: var(--gs-green-accent);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ---------- Why choose us bullets ---------------------- */
.gs-why {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gs-space-12);
  align-items: center;
}
@media (max-width: 900px) { .gs-why { grid-template-columns: 1fr; } }
.gs-why__list {
  display: grid; gap: var(--gs-space-4);
  list-style: none; padding: 0; margin: 0;
}
.gs-why__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--gs-space-3);
  align-items: flex-start;
  padding-bottom: var(--gs-space-4);
  border-bottom: 1px solid var(--gs-border);
}
.gs-why__list strong {
  display: block;
  color: var(--gs-green-deep);
  font-family: var(--gs-font-display);
  font-size: var(--gs-fs-lg);
  margin-bottom: 0.2rem;
}
.gs-why__list svg { width: 20px; height: 20px; color: var(--gs-gold); margin-top: 4px; }
.gs-why__media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
  border-radius: var(--gs-radius-lg);
  box-shadow: var(--gs-shadow);
  position: relative;
  overflow: hidden;
}
/* Real <img> fills the card; gradient shows as fallback if img is missing */
.gs-why__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gs-why__media-stat {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: rgba(20,54,31,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200,169,106,0.4);
  border-radius: var(--gs-radius-lg);
  padding: 1rem 1.25rem;
  color: var(--gs-cream);
  line-height: 1.1;
}
.gs-why__media-stat strong {
  display: block;
  font-family: var(--gs-font-display);
  font-size: var(--gs-fs-2xl);
  color: var(--gs-gold);
}
.gs-why__media-stat span {
  font-size: var(--gs-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* ---------- Case Studies — center-focused carousel ------ */
.gs-cs-section { overflow: hidden; }

.gs-cs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--gs-space-8);
  /* Cap overall width so the centre card stays a sensible size on large
     monitors (Mac/4K) instead of ballooning to half the screen. */
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 0;
}

/* Viewport masks overflow; track holds the slides in a row */
.gs-cs__viewport {
  position: relative;
  flex: 1 1 auto;
  max-width: 100%;
  overflow: hidden;
  /* Slight vertical breathing room for the scale-up of the active card */
  padding-block: clamp(1rem, 2vw, 1.5rem);
}
.gs-cs__track {
  display: flex;
  align-items: center;
  /* Each slide is a fixed fraction of the viewport so neighbours peek in */
  transition: transform 0.6s cubic-bezier(0.34, 1.02, 0.64, 1);
  will-change: transform;
}

/* Slide — sized so 3 are visible (center + 2 peeks) on desktop.
   Smaller basis = smaller centre card; side peeks fill the rest. */
.gs-cs__slide {
  flex: 0 0 47%;
  padding-inline: clamp(8px, 1vw, 16px);
  box-sizing: border-box;
  opacity: 0.4;
  transform: scale(0.88);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.02, 0.64, 1);
  pointer-events: none;
}
.gs-cs__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Card */
.gs-cs__card {
  background: var(--gs-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(14, 38, 22, 0.10);
  transition: box-shadow 0.5s ease;
}
.gs-cs__slide.is-active .gs-cs__card {
  box-shadow: 0 28px 64px rgba(14, 38, 22, 0.26), 0 4px 16px rgba(0,0,0,0.08);
}

.gs-cs__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
}
.gs-cs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gs-cs__media--fallback {
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
}

.gs-cs__body {
  padding: clamp(0.9rem, 1.6vw, 1.4rem);
  text-align: center;
}
.gs-cs__cat {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gs-gold);
  margin-bottom: 0.4rem;
}
.gs-cs__title {
  font-family: var(--gs-font-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  color: var(--gs-green-deep);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}
.gs-cs__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gs-green-accent, #2E7D46);
  text-decoration: none;
  transition: gap var(--gs-dur-base) var(--gs-ease), color var(--gs-dur-base) var(--gs-ease);
}
.gs-cs__more svg { transition: transform var(--gs-dur-base) var(--gs-ease); }
.gs-cs__more:hover { gap: 10px; color: var(--gs-green-deep); }
.gs-cs__more:hover svg { transform: translateX(3px); }

/* Arrows — hidden on all screen sizes (dots + auto-advance drive the carousel) */
.gs-cs__arrow { display: none; }

/* Dots */
.gs-cs__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--gs-space-6);
  flex-wrap: wrap;
}
.gs-cs__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--gs-border);
  cursor: pointer;
  padding: 0;
  transition: background var(--gs-dur-base) var(--gs-ease),
              width var(--gs-dur-base) var(--gs-ease),
              border-radius var(--gs-dur-base) var(--gs-ease);
}
.gs-cs__dot.is-active {
  background: var(--gs-green-deep);
  width: 30px;
  border-radius: 5px;
}
.gs-cs__dot:focus-visible {
  outline: 2px solid var(--gs-gold);
  outline-offset: 2px;
}

/* Tablet (iPad / small laptop) — bigger centre, slimmer peeks */
@media (max-width: 1023px) {
  .gs-cs { max-width: 760px; padding-inline: 0; }
  .gs-cs__slide { flex: 0 0 52%; }
}

/* Mobile — CSS scroll-snap handles centering; JS translateX is bypassed.
   No arrows, no padding on the outer container — the viewport IS the
   full screen width so snap-centering is perfectly symmetric. */
@media (max-width: 700px) {
  .gs-cs {
    gap: 0;
    max-width: 100%;
    padding-inline: 0;
    /* Remove flex centering so viewport stretches edge-to-edge */
    display: block;
  }
  .gs-cs__arrow { display: none; }

  /* Viewport becomes a horizontal scroll container */
  .gs-cs__viewport {
    overflow-x: scroll;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
    padding-block: 0.75rem;
  }
  .gs-cs__viewport::-webkit-scrollbar { display: none; }

  /* Track: no JS transform — scroll position drives it */
  .gs-cs__track {
    display: flex;
    transform: none !important; /* override JS translateX */
    will-change: auto;
  }

  /* Each slide snaps to center; padding creates the peek effect on both sides */
  .gs-cs__slide {
    flex: 0 0 82%;
    scroll-snap-align: center;
    padding-inline: 8px;
    transform: scale(0.92);
    opacity: 0.45;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .gs-cs__slide.is-active {
    transform: scale(1);
    opacity: 1;
  }

  /* First and last slide: extra outer padding so they can snap fully to center */
  .gs-cs__slide:first-child { padding-left: calc(9% + 8px); }
  .gs-cs__slide:last-child  { padding-right: calc(9% + 8px); }
}

/* Small phone */
@media (max-width: 480px) {
  .gs-cs__slide {
    flex: 0 0 84%;
  }
  .gs-cs__slide:first-child { padding-left: calc(8% + 8px); }
  .gs-cs__slide:last-child  { padding-right: calc(8% + 8px); }
  .gs-cs__media { aspect-ratio: 16 / 11; }
  .gs-cs__title { font-size: 1.05rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gs-cs__track { transition: none; }
  .gs-cs__slide { transition: opacity 0.2s ease; transform: none; }
  .gs-cs__slide.is-active { transform: none; }
}

/* ---------- Projects page — bento masonry gallery -------- */

/* On MOBILE, hide the projects hero so the page lands directly on the
   "Featured / Case Studies" section (client request). Scoped to the projects
   page body class so no other page's hero is affected. Desktop keeps the hero. */
@media (max-width: 767px) {
  .page-template-page-projects-php .gs-hero--page { display: none; }
}

/* Filter pill bar */
.gs-pj-filter {
  display: flex;
  justify-content: center;
  gap: var(--gs-space-2);
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.gs-pj-filter__btn {
  font-family: var(--gs-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--gs-border);
  color: var(--gs-text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: var(--gs-radius-pill);
  cursor: pointer;
  min-height: 44px;
  transition: background var(--gs-dur-base) var(--gs-ease),
              color var(--gs-dur-base) var(--gs-ease),
              border-color var(--gs-dur-base) var(--gs-ease),
              transform var(--gs-dur-fast) var(--gs-ease);
}
.gs-pj-filter__btn:hover {
  border-color: var(--gs-green-deep);
  color: var(--gs-green-deep);
  transform: translateY(-1px);
}
.gs-pj-filter__btn.is-active {
  background: var(--gs-green-deep);
  color: var(--gs-cream);
  border-color: var(--gs-green-deep);
}
.gs-pj-filter__btn:focus-visible {
  outline: 2px solid var(--gs-gold);
  outline-offset: 3px;
}

/* Bento grid — 3 columns on desktop, first card spans 2 cols */
.gs-pj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 320px);
  gap: clamp(10px, 1.2vw, 18px);
}
@media (max-width: 1023px) {
  .gs-pj-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(180px, 30vw, 280px);
  }
}
@media (max-width: 600px) {
  .gs-pj-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(220px, 60vw, 320px);
  }
}

/* Card base */
.gs-pj-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
  cursor: pointer;
}
/* First card spans 2 columns — bento featured */
.gs-pj-card--featured {
  grid-column: span 2;
}
@media (max-width: 600px) {
  .gs-pj-card--featured { grid-column: span 1; }
}

/* Media fill */
.gs-pj-card__media {
  position: absolute;
  inset: 0;
}
.gs-pj-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.gs-pj-card__media--fallback {
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
}

/* Gradient overlay — fades in slightly on hover */
.gs-pj-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14,38,22,0) 25%,
    rgba(14,38,22,0.50) 58%,
    rgba(14,38,22,0.90) 100%
  );
  opacity: 0.82;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.gs-pj-card:hover .gs-pj-card__overlay { opacity: 1; }
.gs-pj-card:hover .gs-pj-card__media img { transform: scale(1.06); }

/* Meta (title + category) — slides up on hover */
.gs-pj-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: clamp(1rem, 2vw, 1.6rem);
  transform: translateY(4px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.gs-pj-card:hover .gs-pj-card__info,
.gs-pj-card:focus-visible .gs-pj-card__info {
  transform: translateY(0);
}
.gs-pj-card__cat {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gs-gold);
  margin-bottom: 0.3rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}
.gs-pj-card:hover .gs-pj-card__cat,
.gs-pj-card:focus-visible .gs-pj-card__cat {
  opacity: 1;
  transform: translateY(0);
}
.gs-pj-card__title {
  font-family: var(--gs-font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.gs-pj-card--featured .gs-pj-card__title {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

/* Expand icon — top-right, appears on hover */
.gs-pj-card__icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.7) rotate(-15deg);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34,1.06,0.64,1);
  pointer-events: none;
}
.gs-pj-card:hover .gs-pj-card__icon,
.gs-pj-card:focus-visible .gs-pj-card__icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Focus ring */
.gs-pj-card:focus-visible {
  outline: 2px solid var(--gs-gold);
  outline-offset: 3px;
}

/* Hidden cards (filter JS toggles display) */
.gs-pj-card[hidden] { display: none; }

/* Empty state */
.gs-pj-empty {
  text-align: center;
  padding: var(--gs-space-16) 0;
  color: var(--gs-text-muted);
}

/* Reduced-motion: disable image zoom + info slide */
@media (prefers-reduced-motion: reduce) {
  .gs-pj-card__media img { transition: none; }
  .gs-pj-card__info,
  .gs-pj-card__cat,
  .gs-pj-card__icon { transition: none; opacity: 1; transform: none; }
}

/* ---------- Portfolio cinematic slider ------------------- */

/* Section: no overflow so the track can bleed edge-to-edge */
.gs-portfolio-section { overflow: hidden; }

/* Header row: text left, nav arrows right */
.gs-portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gs-space-6);
  margin-bottom: var(--gs-space-10);
  flex-wrap: wrap;
}
.gs-portfolio-header > div:first-child { max-width: 560px; }
.gs-portfolio-header h2 { margin-bottom: 0; }

/* Arrow buttons */
.gs-portfolio-header__nav {
  display: flex;
  gap: var(--gs-space-2);
  flex-shrink: 0;
}
.gs-pf-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gs-border);
  background: transparent;
  color: var(--gs-green-deep);
  cursor: pointer;
  transition: background var(--gs-dur-base) var(--gs-ease),
              border-color var(--gs-dur-base) var(--gs-ease),
              color var(--gs-dur-base) var(--gs-ease),
              transform var(--gs-dur-base) var(--gs-ease);
}
.gs-pf-arrow:hover {
  background: var(--gs-green-deep);
  border-color: var(--gs-green-deep);
  color: var(--gs-cream);
  transform: scale(1.08);
}
.gs-pf-arrow:focus-visible {
  outline: 2px solid var(--gs-gold);
  outline-offset: 3px;
}
.gs-pf-arrow:disabled { opacity: 0.35; pointer-events: none; }

/* Track wrapper — clips overflow so only active + peek cards show on desktop */
.gs-pf-track-wrap {
  overflow: hidden;
  /* Left inset aligns track start with the container grid */
  padding-left: max(var(--gs-space-5), calc((100vw - var(--gs-max-width, 1280px)) / 2));
  padding-right: 0; /* right side intentionally bleeds so next card peeks */
}

/* Track: horizontal row, no native scroll on desktop (JS-driven) */
.gs-pf-track {
  display: flex;
  gap: clamp(14px, 1.2vw, 20px);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  touch-action: pan-y;
}
.gs-pf-track.is-dragging { cursor: grabbing; }
.gs-pf-track.is-animating { transition: transform 0.52s cubic-bezier(0.34, 1.06, 0.64, 1); }

/* Cards */
.gs-pf-card {
  position: relative;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  /* Non-active card: narrow peek */
  width: clamp(180px, 22vw, 280px);
  height: clamp(320px, 46vw, 520px);
  transition: width 0.52s cubic-bezier(0.34, 1.06, 0.64, 1),
              box-shadow 0.35s ease,
              transform 0.35s ease;
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
  cursor: pointer;
}
/* Active / featured card: wide */
.gs-pf-card.is-active {
  width: clamp(280px, 42vw, 580px);
  box-shadow: 0 24px 64px rgba(14,38,22,0.28), 0 4px 16px rgba(0,0,0,0.12);
}
.gs-pf-card:hover:not(.is-active) {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14,38,22,0.18);
}

/* Media fill */
.gs-pf-card__media {
  position: absolute;
  inset: 0;
}
.gs-pf-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.gs-pf-card:hover .gs-pf-card__media img,
.gs-pf-card.is-active .gs-pf-card__media img {
  transform: scale(1.04);
}

/* Lightbox expand hint icon */
.gs-pf-card__expand-hint {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.gs-pf-card.is-active .gs-pf-card__expand-hint {
  opacity: 1;
  transform: scale(1);
}

/* Overlay gradient */
.gs-pf-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14,38,22,0) 30%,
    rgba(14,38,22,0.55) 65%,
    rgba(14,38,22,0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Meta text */
.gs-pf-card__meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: clamp(1rem, 2vw, 1.5rem);
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.gs-pf-card.is-active .gs-pf-card__meta { transform: translateY(0); }

.gs-pf-card__cat {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gs-gold);
  margin-bottom: 0.3rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease 0.08s, transform 0.35s ease 0.08s;
}
.gs-pf-card.is-active .gs-pf-card__cat {
  opacity: 1;
  transform: translateY(0);
}

.gs-pf-card__title {
  font-family: var(--gs-font-display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Before/After badge */
.gs-pf-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 0.22rem 0.6rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease 0.14s, transform 0.35s ease 0.14s;
}
.gs-pf-card.is-active .gs-pf-card__badge {
  opacity: 1;
  transform: translateY(0);
}

/* Large card number watermark */
.gs-pf-card__num {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  font-family: var(--gs-font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  transition: color 0.35s ease;
}
.gs-pf-card.is-active .gs-pf-card__num {
  color: rgba(255,255,255,0.07);
}

/* Footer: dots + CTA */
.gs-pf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--gs-space-8);
  gap: var(--gs-space-4);
  flex-wrap: wrap;
}
.gs-pf-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.gs-pf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gs-border);
  cursor: pointer;
  padding: 0;
  transition: background var(--gs-dur-base) var(--gs-ease),
              width var(--gs-dur-base) var(--gs-ease),
              border-radius var(--gs-dur-base) var(--gs-ease);
}
.gs-pf-dot.is-active {
  background: var(--gs-green-deep);
  width: 28px;
  border-radius: 4px;
}
.gs-pf-dot:focus-visible {
  outline: 2px solid var(--gs-gold);
  outline-offset: 2px;
}

/* Responsive — mobile: native scroll-snap with center alignment */
@media (max-width: 767px) {
  /* Track wrapper becomes the scroll container, no padding so viewport = full width */
  .gs-pf-track-wrap {
    padding-inline: 0;
    overflow-x: scroll;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: auto;
  }
  .gs-pf-track-wrap::-webkit-scrollbar { display: none; }

  .gs-pf-track {
    gap: 12px;
    will-change: auto;
    cursor: auto;
    touch-action: auto;
    /* No JS transform on mobile */
    transform: none !important;
  }
  .gs-pf-track.is-animating { transition: none; }

  /* Each card snaps to center; uniform width so left + right peeks are equal */
  .gs-pf-card,
  .gs-pf-card.is-active {
    width: 78vw;
    height: clamp(280px, 70vw, 420px);
    scroll-snap-align: center;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }

  /* First card: left padding = (100vw - 78vw) / 2 = 11vw so it snaps centred */
  .gs-pf-card:first-child { margin-left: 11vw; }
  /* Last card: same right breathing room */
  .gs-pf-card:last-child  { margin-right: 11vw; }

  /* Always show meta on mobile (no hover state) */
  .gs-pf-card.is-active .gs-pf-card__cat { opacity: 1; transform: none; }
  .gs-pf-card.is-active .gs-pf-card__badge { opacity: 1; transform: none; }
  .gs-pf-card__meta { transform: translateY(0); }
  .gs-pf-card__cat { opacity: 1; transform: none; }

  /* Hide nav arrows — scroll + dots drive mobile */
  .gs-portfolio-header__nav { display: none; }
}

/* Reduced-motion: disable width/position animations, keep functional */
@media (prefers-reduced-motion: reduce) {
  .gs-pf-card { transition: box-shadow 0.15s ease; }
  .gs-pf-track.is-animating { transition: none; }
  .gs-pf-card__meta,
  .gs-pf-card__cat,
  .gs-pf-card__badge,
  .gs-pf-card__num { transition: none; opacity: 1; transform: none; }
}

/* ---------- Before / After comparison card -------------- */
.gs-project--ba {
  cursor: default;
  /* Lift slightly on hover to signal interactivity */
  transition: box-shadow var(--gs-dur-base) var(--gs-ease), transform var(--gs-dur-base) var(--gs-ease);
}
.gs-project--ba:hover {
  box-shadow: 0 8px 32px rgba(14,38,22,0.22);
  transform: translateY(-2px);
}
.gs-project--ba .gs-project__meta { pointer-events: none; }

.gs-ba {
  position: absolute;
  inset: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  overflow: hidden;
  border-radius: inherit;
}

/* ---- Images ---- */
.gs-ba__after {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gs-ba__before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: calc(var(--ba-pct, 50) * 1%);
  /* Smooth width change while dragging */
  will-change: width;
}
.gs-ba__before {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Divider line ---- */
.gs-ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--ba-pct, 50) * 1%);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: ew-resize;
  z-index: 4;
  will-change: left;
}
.gs-ba__line {
  width: 3px;
  flex: 1;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.95) 12%,
    rgba(255,255,255,0.95) 88%,
    rgba(255,255,255,0) 100%
  );
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

/* ---- Grip circle ---- */
.gs-ba__grip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gs-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3), 0 0 0 4px rgba(255,255,255,0.25);
  color: var(--gs-green-deep);
  flex-shrink: 0;
  transition: transform var(--gs-dur-base) var(--gs-ease),
              box-shadow var(--gs-dur-base) var(--gs-ease),
              border-color var(--gs-dur-base) var(--gs-ease);
}
/* Scale up when the card is hovered or actively dragged */
.gs-project--ba:hover .gs-ba__grip,
.gs-ba.is-dragging .gs-ba__grip {
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 24px rgba(0,0,0,0.38), 0 0 0 6px rgba(200,169,106,0.25);
  border-color: var(--gs-gold);
}
.gs-ba__grip svg { flex-shrink: 0; }

/* ---- BEFORE / AFTER pill labels ---- */
.gs-ba__label {
  position: absolute;
  top: 0.85rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14,38,22,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.25s ease;
}
.gs-ba__label--before {
  left: 0.85rem;
  border-color: rgba(255,255,255,0.3);
}
.gs-ba__label--after {
  right: 0.85rem;
  border-color: var(--gs-gold);
  color: var(--gs-gold);
}
/* Fade out the label that's nearly hidden */
.gs-ba__label--before { opacity: calc(min(var(--ba-pct, 50), 20) / 20); }
.gs-ba__label--after  { opacity: calc(min(100 - var(--ba-pct, 50), 20) / 20); }

/* ---- Hint animation: nudge on first view so users discover the slider ---- */
@keyframes gs-ba-hint {
  0%,100% { --ba-pct: 50; }
  25%      { --ba-pct: 28; }
  75%      { --ba-pct: 72; }
}
.gs-ba--hint { animation: gs-ba-hint 2s cubic-bezier(0.4,0,0.2,1) 0.9s 1 both; }

/* Focus ring on handle for keyboard users */
.gs-ba__handle:focus-visible .gs-ba__grip {
  outline: 2px solid var(--gs-gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .gs-ba--hint { animation: none; }
  .gs-project--ba { transition: none; }
  .gs-ba__grip  { transition: none; }
}

/* ---------- Reviews ------------------------------------- */
.gs-reviews-summary {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--gs-space-3);
  text-align: center;
  margin-bottom: var(--gs-space-12);
}
.gs-reviews-summary__score {
  font-family: var(--gs-font-display);
  font-size: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  color: var(--gs-green-deep);
  line-height: 1;
}
.gs-reviews-summary .gs-stars svg { width: 22px; height: 22px; }
.gs-reviews-summary p { color: var(--gs-text-muted); margin: 0; }

.gs-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gs-space-6);
}
@media (max-width: 1023px) { .gs-reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .gs-reviews { grid-template-columns: 1fr; } }

.gs-review {
  background: var(--gs-white);
  border: 1px solid var(--gs-border);
  border-radius: var(--gs-radius);
  padding: var(--gs-space-6);
  display: flex; flex-direction: column; gap: var(--gs-space-3);
  position: relative;
}
.gs-review::before {
  content: '“';
  position: absolute; top: -8px; left: var(--gs-space-5);
  font-family: var(--gs-font-display);
  font-size: 5rem;
  color: var(--gs-gold);
  line-height: 1;
}
.gs-review p {
  font-family: var(--gs-font-display);
  font-size: var(--gs-fs-lg);
  font-style: italic;
  color: var(--gs-green-deep);
  margin: 0;
}
.gs-review__meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--gs-space-3);
  border-top: 1px solid var(--gs-border);
}
.gs-review__name { font-weight: 600; color: var(--gs-green-deep); font-size: var(--gs-fs-sm); }
.gs-review__suburb { font-size: var(--gs-fs-xs); color: var(--gs-text-muted); display: block; }

/* ---------- CTA band ----------------------------------- */
.gs-cta-band {
  background:
    linear-gradient(135deg, rgba(20,54,31,0.92), rgba(30,86,49,0.82)),
    url('../img/photos/hero-6.jpg') center/cover no-repeat;
  color: var(--gs-cream);
  padding-block: clamp(4rem, 3rem + 6vw, 7rem);
  text-align: center;
  position: relative;
}
.gs-cta-band h2 { color: var(--gs-cream); margin: 0 0 var(--gs-space-3); max-width: 22ch; margin-inline: auto; }
.gs-cta-band h2 em { color: var(--gs-gold); font-style: normal; font-weight: 800; }
.gs-cta-band p { color: rgba(255,255,255,0.85); max-width: 56ch; margin: 0 auto var(--gs-space-6); }
.gs-cta-band__ctas { display: flex; gap: var(--gs-space-3); justify-content: center; flex-wrap: wrap; }

/* ---------- Page-specific containers ------------------- */

/* Services page detail panels */
.gs-service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gs-space-12);
  align-items: center;
}
.gs-service-detail:nth-of-type(even) { direction: rtl; }
.gs-service-detail:nth-of-type(even) > * { direction: ltr; }
.gs-service-detail__media {
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, #1E5631 0%, #14361F 100%);
  border-radius: var(--gs-radius-lg);
  box-shadow: var(--gs-shadow);
  position: relative;
  overflow: hidden;
}
/* Real <img> fills the card — gradient shows as fallback if image missing */
.gs-service-detail__media > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 900px) {
  .gs-service-detail { grid-template-columns: 1fr; direction: ltr; }
}

/* Service trust badges — 2×2 chip grid of key selling points (✅ per client) */
.gs-trust-badges {
  list-style: none;
  margin: var(--gs-space-5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gs-space-3);
}
.gs-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gs-white);
  border: 1px solid var(--gs-border);
  border-left: 3px solid var(--gs-success, #2F7D44);
  border-radius: var(--gs-radius);
  padding: 0.7rem 0.9rem;
  font-family: var(--gs-font-body);
  font-size: var(--gs-fs-sm);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gs-green-deep);
  transition: border-color var(--gs-dur-base) var(--gs-ease),
              box-shadow var(--gs-dur-base) var(--gs-ease),
              transform var(--gs-dur-base) var(--gs-ease);
}
.gs-trust-badge:hover {
  border-color: var(--gs-gold);
  border-left-color: var(--gs-gold);
  box-shadow: var(--gs-shadow-sm);
  transform: translateY(-1px);
}
.gs-trust-badge__tick {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
/* Single column on narrow screens so labels never truncate */
@media (max-width: 480px) {
  .gs-trust-badges { grid-template-columns: 1fr; }
}

/* About — stats band */
.gs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gs-space-6);
  text-align: center;
}
@media (max-width: 768px) { .gs-stats { grid-template-columns: 1fr 1fr; } }
.gs-stat strong {
  display: block;
  font-family: var(--gs-font-display);
  font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
  color: var(--gs-gold);
  line-height: 1;
}
.gs-stat span {
  display: block; margin-top: 0.5rem;
  font-size: var(--gs-fs-xs);
  letter-spacing: var(--gs-tracking-wide);
  text-transform: uppercase;
  color: var(--gs-cream);
  opacity: 0.85;
}

/* Contact — split layout */
.gs-contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gs-space-12);
}
@media (max-width: 1023px) { .gs-contact { grid-template-columns: 1fr; } }
.gs-contact__info {
  background: var(--gs-cream);
  padding: var(--gs-space-10);
  border-radius: var(--gs-radius-lg);
  display: flex; flex-direction: column; gap: var(--gs-space-5);
}
.gs-contact__info h3 { margin: 0; }
.gs-contact__info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gs-space-3); }
.gs-contact__info svg { width: 18px; height: 18px; color: var(--gs-gold); flex: 0 0 18px; margin-top: 3px; }
.gs-contact__info li { display: grid; grid-template-columns: 18px 1fr; gap: var(--gs-space-3); align-items: flex-start; }

.gs-map {
  aspect-ratio: 16 / 9;
  border-radius: var(--gs-radius);
  overflow: hidden;
  border: 1px solid var(--gs-border);
}
.gs-map iframe { width: 100%; height: 100%; border: 0; }

/* WooCommerce skin — minimum override hooks */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--gs-font-display) !important;
  font-size: var(--gs-fs-lg) !important;
  color: var(--gs-green-deep) !important;
}
.woocommerce .price,
.woocommerce-Price-amount {
  font-family: var(--gs-font-display) !important;
  color: var(--gs-green-deep) !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
  background: var(--gs-green-deep) !important;
  color: var(--gs-cream) !important;
  border-radius: var(--gs-radius-pill) !important;
  padding: 0.85rem 1.5rem !important;
  font-weight: 600 !important;
  letter-spacing: var(--gs-tracking-wide) !important;
  text-transform: uppercase !important;
  font-size: var(--gs-fs-xs) !important;
  transition: background var(--gs-dur-base) var(--gs-ease) !important;
}
.woocommerce a.button:hover,
.woocommerce .button:hover {
  background: var(--gs-gold) !important;
  color: var(--gs-green-deep) !important;
}

/* Lightbox (project gallery) */
.gs-lightbox {
  position: fixed; inset: 0;
  background: rgba(20,54,31,0.92);
  z-index: var(--gs-z-modal);
  display: none;
  align-items: center; justify-content: center;
  padding: var(--gs-section-x);
}
.gs-lightbox.is-open { display: flex; }
.gs-lightbox img {
  max-width: 92vw; max-height: 86vh;
  border-radius: var(--gs-radius);
  box-shadow: var(--gs-shadow-lg);
}
.gs-lightbox__close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: var(--gs-cream); color: var(--gs-green-deep);
  border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
}
.gs-lightbox__close svg { width: 24px; height: 24px; }

/* =======================================================================
   HOMEPAGE REDESIGN (client feedback) — immersive grass backgrounds,
   green-tick trust boxes, big-image service cards.
   ======================================================================= */

/* ---- Grass-photo section background (replaces flat "white blocks") ----
   A green scrim over a cover grass photo keeps white text ≥4.5:1 (WCAG).
   Per-section image set inline via --gs-section-photo. Defaults to a real
   photo (never the missing cta-fallback.jpg). */
.gs-section--photo {
  position: relative;
  color: var(--gs-text-on-dark);
  background:
    linear-gradient(135deg, rgba(20,54,31,0.90), rgba(20,54,31,0.80)),
    var(--gs-section-photo, url('../img/photos/hero-2.jpg')) center/cover no-repeat;
  background-attachment: scroll;
}
.gs-section--photo .gs-section__header h1,
.gs-section--photo .gs-section__header h2,
.gs-section--photo .gs-section__header h3 { color: var(--gs-cream); }
.gs-section--photo .gs-section__header p { color: rgba(255,255,255,0.90); }
.gs-section--photo .gs-eyebrow { color: var(--gs-gold); }

/* Outline/ghost/static buttons sitting DIRECTLY on the dark grass band would
   render green-on-green (invisible — see the "Browse the Full Range" issue).
   Force a light treatment so the label + border clear 4.5:1 against the scrim.
   IMPORTANT: exclude buttons inside .gs-card (the product cards are white — a
   cream button there would vanish; "VIEW" must stay dark-green on the card). */
.gs-section--photo .gs-btn--outline:not(.gs-card *),
.gs-section--photo .gs-btn--outline.gs-btn--static:not(.gs-card *),
.gs-section--photo .gs-btn--outline.gs-btn--static:not(.gs-card *):hover {
  --btn-bg: transparent;
  --btn-fg: var(--gs-cream);
  --btn-bd: rgba(255,255,255,0.55);
  color: var(--gs-cream);
}
.gs-section--photo .gs-btn--outline:not(.gs-btn--static):not(.gs-card *):hover {
  --btn-bg: var(--gs-cream);
  --btn-fg: var(--gs-green-deep);
  --btn-bd: var(--gs-cream);
  color: var(--gs-green-deep);
}

/* ---- Why-choose trust boxes (4-up) with green ticks ---- */
.gs-why-boxes { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .gs-why-boxes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .gs-why-boxes { grid-template-columns: 1fr; } }

/* Green tick badge for selling points (10-year warranty etc.) */
.gs-benefit__icon.gs-tick {
  background: rgba(47,125,68,0.14);
  color: var(--gs-success);
}
.gs-benefit__icon.gs-tick svg { width: 26px; height: 26px; }
/* Highlight the warranty box (last of the four) with a gold accent edge. */
.gs-why-box:last-child { border-left: 3px solid var(--gs-gold); }

/* Recolour the classic why-list ticks green too (used elsewhere/sub-pages) */
.gs-why__list svg { color: var(--gs-success); }

/* ---- Big-image service cards (reuse .gs-card, link wrapper) ---- */
.gs-services--photo { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .gs-services--photo { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .gs-services--photo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .gs-services--photo { grid-template-columns: 1fr; } }

.gs-service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.gs-service-card .gs-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--gs-space-2);
  flex: 1 1 auto;
}
.gs-service-card .gs-card__title { color: var(--gs-green-deep); }
.gs-service-card .gs-service__more { margin-top: auto; padding-top: var(--gs-space-2); }

/* ---- Infinite image marquee (auto-scrolling install reel) ----
   Track holds two copies of the image set; the keyframe translates -50%
   so the second copy lines up exactly where the first began — seamless loop.
   Edge fade via mask keeps the strip feeling continuous off-screen. */
.gs-marquee-section { overflow: hidden; }

.gs-marquee {
  position: relative;
  width: 100%;
  margin-top: var(--gs-space-10);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.gs-marquee__track {
  display: flex;
  width: max-content;
  gap: var(--gs-space-5);
  animation: gs-marquee-scroll 40s linear infinite;
  will-change: transform;
}
.gs-marquee:hover .gs-marquee__track { animation-play-state: paused; }

.gs-marquee__item {
  flex: 0 0 auto;
  width: 320px;
  aspect-ratio: 4 / 3;
  border-radius: var(--gs-radius);
  overflow: hidden;
  box-shadow: var(--gs-shadow-md, 0 12px 30px rgba(20,54,31,0.18));
  background: var(--gs-cream);
}
.gs-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--gs-dur-base) var(--gs-ease);
}
.gs-marquee__item:hover img { transform: scale(1.05); }

@keyframes gs-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Tablet + mobile: smaller tiles, quicker loop for a livelier feel. */
@media (max-width: 768px) {
  .gs-marquee { margin-top: var(--gs-space-8); }
  .gs-marquee__track { gap: var(--gs-space-4); animation-duration: 28s; }
  .gs-marquee__item { width: 220px; }
}
@media (max-width: 480px) {
  .gs-marquee__track { gap: var(--gs-space-3); animation-duration: 22s; }
  .gs-marquee__item { width: 160px; border-radius: var(--gs-radius-sm, 10px); }
}

/* Respect reduced-motion: hold the strip still (no auto-scroll). */
@media (prefers-reduced-motion: reduce) {
  .gs-marquee__track { animation: none; }
  .gs-marquee { overflow-x: auto; }
}

/* ---------- Legal / policy pages ----------------------- */
.gs-policy {
  background:
    radial-gradient(circle at top right, rgba(200,169,106,0.12), transparent 42%),
    linear-gradient(180deg, #ffffff, #f8f6f0);
}

.gs-policy__card {
  background: var(--gs-white);
  border: 1px solid var(--gs-border);
  border-radius: var(--gs-radius-lg);
  box-shadow: var(--gs-shadow-sm);
  padding: clamp(1.25rem, 1rem + 1.8vw, 2.25rem);
}

.gs-policy__meta {
  margin-bottom: var(--gs-space-6);
  padding-bottom: var(--gs-space-4);
  border-bottom: 1px solid var(--gs-border);
  color: var(--gs-text-muted);
  font-size: var(--gs-fs-sm);
}

.gs-policy__card h2 {
  font-size: var(--gs-fs-xl);
  margin-top: var(--gs-space-8);
  margin-bottom: var(--gs-space-3);
}

.gs-policy__card p,
.gs-policy__card li {
  color: var(--gs-text);
  line-height: 1.72;
}

.gs-policy__card ul {
  margin: 0 0 var(--gs-space-5);
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.gs-policy__card a {
  color: var(--gs-green-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.gs-policy__card a:hover { color: var(--gs-green-deep); }

.gs-policy__note {
  margin-top: var(--gs-space-8);
  padding-top: var(--gs-space-4);
  border-top: 1px dashed rgba(20,54,31,0.24);
  font-size: var(--gs-fs-sm);
  color: var(--gs-text-muted);
}

@media (max-width: 767px) {
  .gs-policy__card {
    border-radius: var(--gs-radius);
  }

  .gs-policy__card h2 {
    margin-top: var(--gs-space-6);
  }
}
