/* Homepage hero tour (homepage). A copy of /assets/tour/tour.css adapted
   for the four-chapter homepage hero, plus the quote section that follows the pin and the fixed quote
   CTA. Uses the site tokens and .btn from /assets/css/style.css; overrides nothing outside this page. */

/* style.css sets html { scroll-behavior: smooth }; Lenis smooths the scroll here, and CSS smooth
   scrolling fights it, so it is turned off on this page only. */
html { scroll-behavior: auto; }

/* Homepage prototype typeface: Hanken Grotesk (400/500/600 loaded in index.html) for the tour panels
   and the quote section only. The shared --font-* tokens are left alone for the header and footer. */
.ggr-tour,
.ggr-quote {
  --ggr-home-font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--ggr-home-font);
}

/* Lenis' own recommended rules (lenis@1.3.26/dist/lenis.css), scoped to when Lenis is running. */
html.lenis,
html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.ggr-tour {
  --ggr-tour-ink: #ffffff;
  --ggr-tour-ink-soft: rgba(255, 255, 255, 0.9);
  --ggr-tour-backdrop: rgba(18, 25, 29, 0.8);
  --ggr-tour-solid: #141c20;
  --ggr-tour-stage-mobile: 58%;
  --ggr-tour-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  width: 100%;
  background: var(--ggr-tour-solid);
}

#ggr-tour-root {
  position: relative;
  width: 100%;
}

/* Holder for the first image and the static chapter 1 panel (H1) until the engine mounts. Without
   JS it is the whole hero: one viewport, image behind, H1 panel on it. */
.ggr-tour__hold {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.ggr-tour--ready .ggr-tour__hold { display: none; }

.ggr-tour__hold > picture,
.ggr-tour__stage > picture {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

#ggr-tour-first {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* = chapter 1's focus in TOUR_CONFIG (desktop and mobile); home-tour.js also sets it. */
  object-position: 50% 66%;
}

.ggr-tour--drawn #ggr-tour-first { visibility: hidden; }

/* Loading: a hairline of brand green along the foot of the first image, only if loading is slow. */
.ggr-tour--loading:not(.ggr-tour--ready) .ggr-tour__hold > picture::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, rgba(109, 148, 59, 0), var(--color-primary) 45%, #cfe3b4 55%, rgba(109, 148, 59, 0));
  opacity: 0;
  transform: translateX(-100%);
  animation:
    ggr-tour-appear 0.4s ease 0.35s forwards,
    ggr-tour-sweep 1.6s var(--ggr-tour-ease) 0.35s infinite;
  pointer-events: none;
}

@keyframes ggr-tour-appear { to { opacity: 1; } }

@keyframes ggr-tour-sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(265%); }
}

/* ---------- Skip link: subtle, at the top of the tour, always keyboard-reachable ---------- */

.ggr-tour__skip {
  position: absolute;
  top: 14px;
  left: clamp(20px, 6%, 104px);
  z-index: 5;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 25, 29, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--ggr-home-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.ggr-tour__skip:hover,
.ggr-tour__skip:focus-visible {
  color: #ffffff;
  background: rgba(18, 25, 29, 0.85);
  text-decoration: underline;
}

.ggr-tour__skip:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 2px;
}

/* only shown when reached with the keyboard (like "Skip to content"), then a full 44px target */
.ggr-tour__skip:not(:focus) {
  clip-path: inset(50%);
  width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap;
}
.ggr-tour__skip:focus { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; font-size: 15px; }

/* ---------- Pinned stage ---------- */

.ggr-tour__pin {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ggr-tour-solid);
}

.ggr-tour__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ggr-tour__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Text panels ---------- */

.ggr-tour__panels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ggr-tour__panel {
  --ggr-rise: 12px;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: min(460px, 42%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  will-change: opacity;
}

.ggr-tour__panel--left { left: clamp(20px, 6%, 104px); }
.ggr-tour__panel--right { right: clamp(20px, 6%, 104px); }

/* Chapter 1: the page's H1 and subtitle. Visible from first paint, so no rise offset. */
.ggr-tour__panel--intro {
  --ggr-rise: 0px;
  width: min(580px, 46%);
}

.ggr-tour__card {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(26px, 2.4vw, 38px) clamp(26px, 2.6vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: var(--ggr-tour-backdrop);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  transform: translate3d(0, var(--ggr-rise), 0);
  will-change: transform;
}

.ggr-tour__card::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: var(--color-primary);
}

.ggr-tour__heading {
  margin: 0 0 14px;
  font-family: var(--ggr-home-font);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ggr-tour-ink);
  text-wrap: balance;
}

.ggr-tour__title {
  margin: 0 0 16px;
  font-family: var(--ggr-home-font);
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ggr-tour-ink);
  text-wrap: balance;
}

.ggr-tour__copy {
  max-width: 40ch;
  margin: 0;
  font-family: var(--ggr-home-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ggr-tour-ink-soft);
  text-wrap: pretty;
}

/* ---------- Panel CTAs: under the copy, fading with the panel ---------- */

.ggr-tour__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  pointer-events: none;
}

/* clickable only while the panel's text is visible (home-tour.js sets .is-live at opacity > 0.05 and
   makes every other panel inert); the static ch1 panel is live until the engine takes over */
.ggr-tour__panel.is-live .ggr-tour__ctas,
.ggr-tour__hold .ggr-tour__ctas,
.ggr-tour__item-body .ggr-tour__ctas { pointer-events: auto; }

.ggr-tour__cta.btn {
  justify-content: center;
  font-family: var(--ggr-home-font);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
}

.ggr-tour__cta--call.btn {
  display: none;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.ggr-tour__cta--call.btn:hover,
.ggr-tour__cta--call.btn:focus-visible { background: rgba(255, 255, 255, 0.12); }

.ggr-tour__cta.btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* ---------- Progress: one hairline segment per chapter ---------- */

.ggr-tour__progress {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 25, 29, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
  pointer-events: none;
}

.ggr-tour__tick {
  position: relative;
  width: 30px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.34);
  transition: height 0.35s var(--ggr-tour-ease);
}

.ggr-tour__tick.is-current { height: 3px; }

.ggr-tour__fill {
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: left center;
}

.ggr-tour__tick.is-current .ggr-tour__fill { background: var(--color-primary); }

/* ---------- Mobile: media on top, text below on a solid backdrop ---------- */

@media (max-width: 767px) {
  .ggr-tour__hold > picture,
  .ggr-tour__pin--mobile .ggr-tour__stage {
    bottom: auto;
    height: var(--ggr-tour-stage-mobile);
  }

  .ggr-tour__hold > .ggr-tour__panel,
  .ggr-tour__pin--mobile .ggr-tour__panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    min-height: calc(100% - var(--ggr-tour-stage-mobile));
    box-sizing: border-box;
    padding: 36px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    transform: none;
    background: var(--ggr-tour-solid);
  }

  .ggr-tour__hold > .ggr-tour__panel,
  .ggr-tour__pin--mobile .ggr-tour__panel--intro { padding-top: 30px; }

  .ggr-tour__hold .ggr-tour__card,
  .ggr-tour__pin--mobile .ggr-tour__card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .ggr-tour__hold .ggr-tour__card::before,
  .ggr-tour__pin--mobile .ggr-tour__card::before { display: none; }
  .ggr-tour__pin--mobile .ggr-tour__heading { font-size: 25px; margin-bottom: 10px; letter-spacing: -0.01em; }
  .ggr-tour__hold .ggr-tour__title,
  .ggr-tour__pin--mobile .ggr-tour__title { font-size: 23px; line-height: 1.2; margin-bottom: 8px; letter-spacing: -0.01em; }
  .ggr-tour__hold .ggr-tour__copy,
  .ggr-tour__pin--mobile .ggr-tour__copy { font-size: 16px; line-height: 1.5; max-width: none; }

  .ggr-tour__hold .ggr-tour__ctas,
  .ggr-tour__pin--mobile .ggr-tour__ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .ggr-tour__cta--call.btn { display: inline-flex; }

  .ggr-tour__hold .ggr-tour__cta.btn,
  .ggr-tour__pin--mobile .ggr-tour__cta.btn {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
  }

  /* on the bottom edge of the photo, never over the caption text (which can grow at large zoom) */
  .ggr-tour__pin--mobile .ggr-tour__progress {
    top: calc(var(--ggr-tour-stage-mobile) - 30px);
    bottom: auto;
    left: 16px;
    padding: 6px 10px;
    gap: 4px;
    transform: none;
  }

  .ggr-tour__pin--mobile .ggr-tour__tick { width: 22px; }
}

/* very short screens (e.g. 200% zoom, phones sideways): no room for the progress strip */
@media (max-width: 767px) and (max-height: 500px) {
  .ggr-tour__pin--mobile .ggr-tour__progress { display: none; }
}

/* Phones, while the shared cookie bar is showing or about to show (html.cookie-pending, set before first
   paint by analytics.js on a first visit): raise the whole media/text split by the bar's height
   (--ggr-cookie-h, measured by home-tour.js; until then an estimate: 165px at 375-430px wide, 183px below)
   so the panel text and its buttons sit clear of it and nothing jumps when the bar appears. The pin's own height never changes, so the pinned scroll length is unaffected;
   the stage resize just redraws the canvas. The bar's height already includes the safe-area inset. */
@media (max-width: 767px) {
  .ggr-tour { --ggr-cookie-est: 165px; }
  html.cookie-pending .ggr-tour,
  body:has(.cookie-banner.is-visible) .ggr-tour {
    --ggr-tour-stage-mobile: calc(58% - var(--ggr-cookie-h, var(--ggr-cookie-est)));
  }

  html.cookie-pending .ggr-tour__hold > .ggr-tour__panel,
  html.cookie-pending .ggr-tour__pin--mobile .ggr-tour__panel,
  body:has(.cookie-banner.is-visible) .ggr-tour__hold > .ggr-tour__panel,
  body:has(.cookie-banner.is-visible) .ggr-tour__pin--mobile .ggr-tour__panel {
    padding-bottom: calc(20px + var(--ggr-cookie-h, var(--ggr-cookie-est)));
  }
}
@media (max-width: 374px) {
  .ggr-tour { --ggr-cookie-est: 183px; }
}

@media (max-width: 339px) {
  .ggr-tour__hold .ggr-tour__ctas,
  .ggr-tour__pin--mobile .ggr-tour__ctas { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .ggr-tour__hold .ggr-tour__title,
  .ggr-tour__pin--mobile .ggr-tour__title { font-size: 21px; }
  .ggr-tour__hold .ggr-tour__copy,
  .ggr-tour__pin--mobile .ggr-tour__copy { font-size: 15px; }
}

/* ---------- Reduced motion: stacked chapters ---------- */

@media (prefers-reduced-motion: reduce) {
  .ggr-tour--loading .ggr-tour__hold > picture::after { animation: none; }
}

.ggr-tour--reduced { background: none; }

.ggr-tour__list {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 20px 40px;
  list-style: none;
}

.ggr-tour__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
}

.ggr-tour__still,
.ggr-tour__item > picture,
.ggr-tour__item #ggr-tour-first {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.ggr-tour__item #ggr-tour-first { aspect-ratio: 16 / 9; }

/* headings in --color-btn (#4F751F, 5.4:1 on white): the brand green #6D943B is only 3.7:1 */
.ggr-tour__item-body h2 {
  margin-bottom: 10px;
  font-family: var(--ggr-home-font);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-btn);
}
.ggr-tour__item-body p { margin: 0; font-family: var(--ggr-home-font); font-weight: 400; color: var(--color-secondary-alt); }

/* the adopted H1 panel inside the stacked list: plain text on the page background */
.ggr-tour__item-body .ggr-tour__card {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
.ggr-tour__item-body .ggr-tour__card::before { display: none; }
.ggr-tour__item-body .ggr-tour__title { color: var(--color-btn); }

.ggr-tour--reduced .ggr-tour__skip { background: var(--color-secondary); }
.ggr-tour--reduced .ggr-tour__cta--call.btn { display: none; }

@media (min-width: 768px) {
  .ggr-tour__item {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .ggr-tour__item--right .ggr-tour__still { order: 2; }
}

/* ---------- Scroll-length reservation (last, so it wins over the rules above) ---------- */

/* When scripts will run, reserve the full pinned scroll length (pin 100vh + 400vh desktop / 320vh
   mobile) from first paint, so the form and the sections below do not jump when the engine mounts. The
   holder sticks to the top meanwhile, so a late script never leaves a blank gap. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .ggr-tour:not(.ggr-tour--ready) #ggr-tour-root,
  .ggr-tour--scrub:not(.ggr-tour--measured) #ggr-tour-root {
    min-height: 500vh;
  }

  .ggr-tour:not(.ggr-tour--ready) .ggr-tour__hold {
    position: sticky;
    top: 0;
  }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .ggr-tour:not(.ggr-tour--ready) #ggr-tour-root,
  .ggr-tour--scrub:not(.ggr-tour--measured) #ggr-tour-root { min-height: 420vh; }
}

/* ==========================================================================
   Quote section: normal document flow directly after the pin (never pinned)
   ========================================================================== */

.ggr-quote {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  padding: 56px 20px;
  overflow: hidden;
  background: #141c20;
}

.ggr-quote:focus { outline: none; }

.ggr-quote__bg,
.ggr-quote__bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 52% 56%; /* = chapter 4's desktop focus: matches the tour's last frame */
}

/* darken the still for the form, and blend its top edge into the tour's dark stage */
.ggr-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, #141c20 0%, rgba(20, 28, 32, 0) 22%),
    rgba(14, 20, 23, 0.5);
  pointer-events: none;
}

.ggr-quote__card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  box-sizing: border-box;
  padding: 30px 32px 28px;
  border: 0;
  border-radius: 12px;
  background: #323F46; /* flat brand navy, like the tour's chapter cards: no glass, no shadow */
  color: #ffffff;
}

.ggr-quote__heading {
  margin: 0 0 4px;
  font-family: var(--ggr-home-font);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: #ffffff;
}

.ggr-quote__call {
  margin: 0 0 20px;
  text-align: center;
}

.ggr-quote__call a {
  color: var(--color-sage);
  font-family: var(--ggr-home-font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ggr-quote__call a:hover,
.ggr-quote__call a:focus-visible { color: #ffffff; }

/* the site's enquiry card, restyled as transparent content of the glass card */
.ggr-quote .ggr-enquiry {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  color: #ffffff;
  font-family: var(--ggr-home-font);
  font-size: 15px;
}

.ggr-quote .ggr-enquiry .body { padding: 0; }
.ggr-quote .ggr-enquiry form { gap: 14px; }
.ggr-quote .ggr-enquiry .field { gap: 6px; min-width: 0; }

.ggr-quote .ggr-enquiry .field label {
  font-family: var(--ggr-home-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #ffffff;
}

/* explicit colours for the homepage quote card fields */
.ggr-quote .ggr-enquiry input[type="text"],
.ggr-quote .ggr-enquiry input[type="tel"],
.ggr-quote .ggr-enquiry input[type="email"] {
  min-height: 52px; /* the shared form field (style.css .ggr-enquiry) */
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-secondary);
  font-family: var(--ggr-home-font);
  font-weight: 400;
  font-size: 16px; /* 16px stops iOS zooming the page on focus */
  line-height: 1.3;
}

.ggr-quote .ggr-enquiry input::placeholder { color: var(--color-ink-soft); opacity: 1; }

.ggr-quote .ggr-enquiry input:focus-visible {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(207, 227, 180, 0.55);
}

.ggr-quote .ggr-enquiry input:user-invalid,
.ggr-quote .ggr-enquiry input[aria-invalid="true"] {
  border-color: #ff8a80;
  box-shadow: 0 0 0 3px rgba(255, 138, 128, 0.35);
}

/* inline messages under each field (main.js), light on the dark card */
.ggr-quote .ggr-enquiry .field-error { color: #ffc2bd; font-family: var(--ggr-home-font); font-size: 14px; }

.ggr-quote__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 12px;
}

.ggr-quote .ggr-enquiry button[type="submit"] {
  margin-top: 6px;
  min-height: 52px; /* the standard primary button */
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--color-btn);
  color: #ffffff;
  font-family: var(--ggr-home-font);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

.ggr-quote .ggr-enquiry button[type="submit"]:hover { background: var(--color-btn-hover); filter: none; }
.ggr-quote .ggr-enquiry button[type="submit"]:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

.ggr-quote .ggr-enquiry .form-error { color: #ffc2bd; font-family: var(--ggr-home-font); font-size: 14px; }
.ggr-quote .ggr-enquiry .success { padding: 8px 4px 4px; }
.ggr-quote .ggr-enquiry .success svg { color: var(--color-sage); }
.ggr-quote .ggr-enquiry .success h2 { color: #ffffff; font-family: var(--ggr-home-font); font-size: 20px; font-weight: 600; }
.ggr-quote .ggr-enquiry .success p { color: rgba(255, 255, 255, 0.9); font-size: 15px; }

@media (max-width: 767px) {
  .ggr-quote { padding: 28px 14px; }
  .ggr-quote__bg img { object-position: 50% 56%; } /* = chapter 4's mobile focus */
  .ggr-quote__card { padding: 22px 18px 20px; }
  .ggr-quote__heading { font-size: 24px; letter-spacing: -0.01em; }
  .ggr-quote__call { margin-bottom: 14px; }
  .ggr-quote .ggr-enquiry form { gap: 11px; }
  .ggr-quote .ggr-enquiry .field { gap: 4px; }
  .ggr-quote .ggr-enquiry input[type="text"],
  .ggr-quote .ggr-enquiry input[type="tel"],
  .ggr-quote .ggr-enquiry input[type="email"] { min-height: 48px; padding: 10px 12px; }
}

@media (max-width: 479px) {
  .ggr-quote__row { grid-template-columns: minmax(0, 1fr); gap: 11px; }
}

/* Welcome section photo (replaces the old YouTube embed) */
.intro-split__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* ---------- Hero (chapter 1) on tablets and desktop ----------
   The headline sits on the dark hedge above the room, over a soft top scrim, so nothing boxes in the
   garden room itself (the old dark card covered the left 40% of it). The scrim is the panel's own
   background, so it fades away with the text as the tour starts. Phones keep the photo-over-text layout. */
@media (min-width: 768px) {
  .ggr-tour__panel.ggr-tour__panel--intro {
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    min-height: 66%;
    box-sizing: border-box;
    padding: clamp(28px, 5.5vh, 64px) max(20px, calc((100% - 1160px) / 2)) 0; /* left edge lines up with the logo */
    transform: none;
    background: linear-gradient(180deg, rgba(20, 28, 32, 0.8) 0%, rgba(20, 28, 32, 0.62) 38%, rgba(20, 28, 32, 0.28) 70%, rgba(20, 28, 32, 0) 100%);
  }
  .ggr-tour__panel.ggr-tour__panel--intro .ggr-tour__card {
    max-width: 1000px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .ggr-tour__panel.ggr-tour__panel--intro .ggr-tour__card::before { display: none; }
  .ggr-tour__panel.ggr-tour__panel--intro .ggr-tour__title {
    max-width: 16em;
    text-shadow: 0 2px 24px rgba(12, 18, 21, 0.35);
    margin-bottom: 18px;
    font-size: clamp(40px, 4.5vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.025em;
  }
  .ggr-tour__panel.ggr-tour__panel--intro .ggr-tour__copy {
    max-width: 48ch;
    font-size: clamp(18px, 1.4vw, 21px);
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 1px 14px rgba(12, 18, 21, 0.55);
  }
  .ggr-tour__panel.ggr-tour__panel--intro .ggr-tour__ctas { margin-top: 24px; }

  /* later chapters: a flat brand-navy card (no glassy border or drop shadow) */
  .ggr-tour__panel:not(.ggr-tour__panel--intro) .ggr-tour__card {
    border: 0;
    background: rgba(41, 52, 58, 0.94);
    box-shadow: none;
  }
}

/* phones: the text panel under the photo is brand navy, with a larger headline */
@media (max-width: 767px) {
  .ggr-tour { --ggr-tour-solid: #2b363c; }
  .ggr-tour__hold .ggr-tour__title,
  .ggr-tour__pin--mobile .ggr-tour__title { font-size: 27px; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 10px; }
}
@media (max-width: 380px), (max-width: 767px) and (max-height: 700px) {
  .ggr-tour__hold .ggr-tour__title,
  .ggr-tour__pin--mobile .ggr-tour__title { font-size: 22px; margin-bottom: 8px; }
}

/* the last tenth of the desktop tour dims to the colour the quote section starts from (opacity set in home-tour.js) */
.ggr-tour__exit {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(180deg, rgba(20, 28, 32, 0.3) 0%, rgba(20, 28, 32, 0.6) 55%, #141c20 100%);
  pointer-events: none;
}

/* phone: the skip pill is read like body text */
@media (max-width: 767px) { .ggr-tour__skip { font-size: 15px; } }
