/* ============================================================
   Ricky's Gutters: homepage / hub sections
   ============================================================ */

.rg-sec { padding: 88px 0; }
.rg-sec--tint { background: var(--rg-surface-alt); }
.rg-in { max-width: var(--rg-max); margin: 0 auto; padding: 0 var(--rg-gutter); }

@media (min-width: 751px) {
  .rg-home .rg-sec { padding: 72px 0; }
  .rg-home .rg-reviews { padding: 76px 0; }
  .rg-home .rg-sec__head { margin-bottom: 32px; }
}

.rg-eyebrow {
  font-family: var(--rg-font-head);
  font-size: var(--rg-eyebrow);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rg-blue);
  margin: 0 0 10px;
}
.rg-h2 {
  font-family: var(--rg-font-head);
  font-size: var(--rg-h2);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--rg-text);
  margin: 0;
  text-wrap: balance;
}
.rg-lede {
  font-size: var(--rg-body);
  line-height: 1.65;
  color: var(--rg-text-body);
  max-width: 62ch;
  margin: 16px 0 0;
}
.rg-sec__head { margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.rg-sec__head > * { min-width: 0; }
.rg-link {
  font-family: var(--rg-font-head); font-weight: 700; color: var(--rg-navy);
  text-decoration: none; white-space: nowrap;
}
.rg-link:hover { text-decoration: underline; }

/* ---------- stat band ---------- */

.rg-stat {
  position: relative;
  overflow: hidden;
  background: var(--rg-navy-deep);
}
.rg-stat::before {
  content: none;
}
.rg-stat__in {
  position: relative;
  max-width: var(--rg-max);
  margin: 0 auto;
  padding: 18px var(--rg-gutter);
  display: grid;
  justify-items: center;
  text-align: center;
}
.rg-stat__viewport {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: grid;
  align-items: center;
  justify-items: center;
}
.rg-stat__fact {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  color: var(--rg-on-dark);
  font-family: var(--rg-font-head);
  font-size: clamp(1.05rem, .88rem + .72vw, 1.38rem);
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .38s ease, transform .38s ease;
  pointer-events: none;
}
.rg-stat__fact.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.rg-stat__fact.is-leaving {
  opacity: 0;
  transform: translateY(-14px);
}
.rg-stat__label {
  display: block;
  color: #DFF7FF;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}
.rg-stat__fact.is-active .rg-stat__label {
  animation: rg-stat-label-in .42s ease both;
}
@keyframes rg-stat-label-in {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.rg-stat__text {
  display: block;
  max-width: min(100%, 1120px);
  text-align: center;
  text-wrap: balance;
  white-space: nowrap;
}
.rg-stat b {
  color: var(--rg-cyan-light);
  font-weight: 900;
}

@media (max-width: 900px) {
  .rg-stat__in {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .rg-stat__viewport { min-height: 82px; }
  .rg-stat__fact {
    gap: 10px;
  }
  .rg-stat__text {
    max-width: 34ch;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .rg-stat__in {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .rg-stat__viewport { min-height: 96px; }
  .rg-stat__fact { font-size: clamp(1rem, .85rem + 1.8vw, 1.2rem); }
  .rg-stat__label { font-size: .72rem; letter-spacing: .8px; }
}

/* ---------- services carousel ---------- */

.rg-services {
  overflow: hidden;
}
.rg-services .rg-sec__head {
  align-items: flex-start;
}
.rg-services .rg-lede {
  max-width: 68ch;
}
.rg-services__quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--rg-r-sm);
  background: var(--rg-action);
  color: var(--rg-action-ink);
  font-family: var(--rg-font-head);
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}
.rg-services__quote:hover {
  background: var(--rg-action-hover);
  transform: translateY(-1px);
}
.rg-services__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rg-border-cool);
  border-radius: 50%;
  background: var(--rg-surface);
  color: var(--rg-navy);
  font-family: var(--rg-font-head);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,27,74,.16);
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.rg-services__nav--prev {
  left: 0;
}
.rg-services__nav--next {
  right: 0;
}
.rg-services__nav:hover {
  background: var(--rg-navy);
  border-color: var(--rg-navy);
  color: var(--rg-on-dark);
  box-shadow: 0 10px 24px rgba(0,27,74,.22);
  transform: translateY(-50%) scale(1.03);
}
.rg-services__nav:disabled {
  opacity: .42;
  cursor: default;
  box-shadow: none;
  transform: translateY(-50%);
}
.rg-services__nav:disabled:hover {
  background: var(--rg-surface);
  border-color: var(--rg-border-cool);
  color: var(--rg-navy);
}
.rg-services__viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.rg-services__carousel {
  position: relative;
  padding: 0 78px;
}
.rg-services__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  cursor: grab;
  touch-action: pan-y;
  transition: transform .5s cubic-bezier(.22,.7,.18,1);
  user-select: none;
  will-change: transform;
  padding: 6px 0 6px;
}
.rg-services__track:focus-visible {
  outline: 3px solid rgba(0,200,255,.45);
  outline-offset: 4px;
}
.rg-services__track.is-dragging {
  cursor: grabbing;
  transition: none;
}
.rg-services__track.is-jumping {
  transition: none;
}
.rg-servicecard {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #D9E5F4;
  border-radius: 8px;
  background: var(--rg-surface);
  box-shadow: none !important;
  transition: border-color 160ms ease, transform 160ms ease;
}
.rg-servicecard:hover {
  border-color: #B8CAE2;
  transform: translateY(-2px);
}
.rg-servicecard__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rg-navy-deep);
}
.rg-servicecard__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}
.rg-servicecard:hover .rg-servicecard__media img {
  transform: scale(1.045);
}
.rg-servicecard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.rg-servicecard__tag {
  align-self: flex-start;
  margin-bottom: 10px;
  color: var(--rg-blue);
  font-family: var(--rg-font-head);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1;
  text-transform: uppercase;
}
.rg-servicecard h3 {
  margin: 0;
  color: var(--rg-text);
  font-family: var(--rg-font-head);
  font-size: clamp(1.15rem, 1rem + .35vw, 1.35rem);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}
.rg-servicecard p {
  margin: 12px 0 0;
  color: var(--rg-text-body);
  font-size: .96rem;
  line-height: 1.55;
}
.rg-servicecard ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.rg-servicecard li {
  position: relative;
  padding-left: 20px;
  color: var(--rg-text-body);
  font-size: .9rem;
  line-height: 1.4;
}
.rg-servicecard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--rg-cyan);
}
.rg-servicecard__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}
.rg-servicecard__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--rg-font-head);
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
}
.rg-servicecard__link {
  flex: 1;
  border: 1px solid var(--rg-border-cool);
  border-radius: var(--rg-r-sm);
  color: var(--rg-navy);
}
.rg-servicecard__link:hover {
  border-color: var(--rg-navy);
}
.rg-services__cta .rg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 6px;
}
.rg-services__dots {
  display: none;
}
.rg-services__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #C5D2E6;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}
.rg-services__dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--rg-navy);
}
.rg-services__cta {
  margin: 24px 78px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.rg-services__cta p {
  max-width: 58ch;
  min-width: 0;
  margin: 0;
  color: var(--rg-text-body);
  font-size: 1rem;
  line-height: 1.55;
}
.rg-services__cta b {
  color: var(--rg-text);
  font-family: var(--rg-font-head);
}
.rg-services__cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rg-services__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rg-border-cool);
  border-radius: var(--rg-r-sm);
  color: var(--rg-navy);
  font-family: var(--rg-font-head);
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
}
.rg-services__call:hover {
  border-color: var(--rg-navy);
}

@media (max-width: 1100px) {
  .rg-services__carousel {
    padding: 0 60px;
  }
  .rg-services__track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 750px) {
  .rg-h2 {
    font-size: clamp(1.55rem, 1.25rem + 1.45vw, 1.78rem);
    line-height: 1.12;
  }
  .rg-services {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .rg-services .rg-sec__head {
    display: block;
    margin-bottom: 26px;
  }
  .rg-services__carousel {
    display: block;
    padding: 0;
  }
  .rg-services__track {
    grid-auto-columns: 100%;
    gap: 14px;
    padding: 4px 0 6px;
  }
  .rg-services__nav {
    display: none;
  }
  .rg-servicecard {
    min-height: 0;
  }
  .rg-servicecard__body {
    padding: 20px;
  }
  .rg-servicecard__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .rg-services__cta {
    margin: 24px 0 0;
    align-items: stretch;
    flex-direction: column;
  }
  .rg-services__cta-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .rg-services__quote,
  .rg-services__call {
    width: 100%;
  }
  .rg-services__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }
}

@media (max-width: 380px) {
  .rg-services__cta .rg-link {
    font-size: .92rem;
  }
}

/* ---------- recent work ----------
   Drafting-paper ground: near-white with a fine dot grid, so the photos are
   the only saturated thing in the section. This sits between two navy
   sections on purpose: it is the light beat in the middle of the page.
   ---------------------------------------------------------------- */

.rg-work {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FCFDFF 0%, #EFF5FF 100%);
}
/* Dot grid, faded out toward the edges so it never reaches a hard stop. */
.rg-work::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,58,147,.17) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 92% at 66% 38%, #000 32%, transparent 76%);
  mask-image: radial-gradient(120% 92% at 66% 38%, #000 32%, transparent 76%);
}
/* One soft cyan bloom sitting behind the deck, to lift the photos off the page. */
.rg-work::after {
  content: "";
  position: absolute;
  top: -14%;
  right: -12vw;
  width: min(62vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0,200,255,.22) 0%, rgba(0,200,255,.09) 44%, transparent 70%);
}
.rg-work .rg-in {
  position: relative;
  z-index: 1;
}
.rg-work__layout {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5.5vw, 80px);
  align-items: center;
}
.rg-work__layout > * { min-width: 0; }
.rg-work__copy .rg-h2 { max-width: 18ch; }
.rg-work__copy .rg-lede { max-width: 48ch; }

.rg-work__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  max-width: 46ch;
  list-style: none;
}
.rg-work__specs li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: var(--rg-r-pill);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,58,147,.15), 0 6px 14px rgba(0,39,102,.06);
  color: var(--rg-navy);
  font-family: var(--rg-font-head);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1;
}

.rg-work__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.rg-work__actions--mobile { display: none; }
.rg-work__actions .rg-btn-outline,
.rg-work__actions .rg-btn-solid {
  padding-inline: 22px;
  white-space: nowrap;
}

/* ---- the deck ----
   Every card is in the same grid cell and identical in size. The only thing
   that separates them is a transform, which is what lets the browser tween
   rotation and position when js/rg-work.js rewrites data-depth. The padding
   is what the fanned corners stick out into. */
.rg-work__visual {
  position: relative;
  display: grid;
  gap: 14px;
}
.rg-work__deck {
  position: relative;
  display: grid;
  grid-template-areas: "deck";
  width: min(100%, 560px);
  margin-left: auto;
  padding: 26px 36px 48px;
}
.rg-work__card {
  grid-area: deck;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 7px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  isolation: isolate;
  transform-origin: 50% 62%;
  /* Read as a print lying on the page: a tight contact shadow plus a soft cast. */
  box-shadow: 0 2px 5px rgba(0,39,102,.12), 0 22px 44px rgba(0,39,102,.20);
  --tx: 0px;
  --ty: 0px;
  --rot: 0deg;
  --sc: 1;
  transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(var(--sc));
  transition: transform 620ms cubic-bezier(.22,.9,.24,1),
              box-shadow 420ms ease,
              filter 420ms ease,
              opacity 420ms ease;
}
/* Scatter is fixed per depth, not per photo, so the pile keeps its shape as
   the cards cycle through it. */
.rg-work__card[data-depth="0"] { --tx: 0px;    --ty: 0px;  --rot: -1.4deg; --sc: 1;    }
.rg-work__card[data-depth="1"] { --tx: 21px;   --ty: 15px; --rot: 3.4deg;  --sc: .962; }
.rg-work__card[data-depth="2"] { --tx: -19px;  --ty: 27px; --rot: -4.8deg; --sc: .93;  }
.rg-work__card[data-depth="3"] { --tx: 27px;   --ty: 37px; --rot: 6.2deg;  --sc: .902; }

.rg-work__card[data-depth="1"] { filter: brightness(.95) saturate(.94); }
.rg-work__card[data-depth="2"] { filter: brightness(.90) saturate(.88); }
.rg-work__card[data-depth="3"] { filter: brightness(.86) saturate(.82); }

/* Deeper than the visible pile: kept in the DOM, out of the picture. */
.rg-work__card.is-buried {
  --tx: 0px;
  --ty: 42px;
  --rot: 0deg;
  --sc: .88;
  opacity: 0;
  pointer-events: none;
}

.rg-work__card[data-depth="0"] {
  box-shadow: 0 3px 8px rgba(0,39,102,.14), 0 30px 58px rgba(0,39,102,.26);
}
/* An exposed corner is the affordance, so nudge it out when it is hovered so it
   reads as grabbable. */
.rg-work__card:not([data-depth="0"]):hover {
  --sc: .985;
  filter: none;
  box-shadow: 0 4px 10px rgba(0,39,102,.16), 0 30px 56px rgba(0,39,102,.28);
}
.rg-work__card:focus-visible {
  outline: 3px solid var(--rg-cyan);
  outline-offset: 3px;
}
.rg-work__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}
.rg-work__card[data-depth="0"]:hover img { transform: scale(1.06); }

.rg-work__card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,20,56,.86));
  opacity: 0;
  transition: opacity 320ms ease;
}
.rg-work__card[data-depth="0"]::after { opacity: 1; }

.rg-work__caption {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 15px;
  z-index: 2;
  display: grid;
  gap: 5px;
  color: var(--rg-on-dark);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.rg-work__card[data-depth="0"] .rg-work__caption {
  opacity: 1;
  transform: translateY(0);
}
.rg-work__tag {
  color: var(--rg-cyan-light);
  font-family: var(--rg-font-head);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  line-height: 1;
  text-transform: uppercase;
}
.rg-work__caption b {
  font-family: var(--rg-font-head);
  font-size: clamp(1rem, .86rem + .5vw, 1.3rem);
  font-weight: 900;
  line-height: 1.1;
}

/* ---- counter + arrows ---- */
.rg-work__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: min(100%, 560px);
  margin-left: auto;
  padding-inline: 36px;
}
.rg-work__count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-right: auto;
  font-family: var(--rg-font-head);
  font-size: .95rem;
  font-weight: 800;
  color: var(--rg-text-muted);
  font-variant-numeric: tabular-nums;
}
.rg-work__count b {
  color: var(--rg-navy);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}
.rg-work__arrows { display: flex; gap: 8px; }
.rg-work__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,58,147,.16), 0 6px 14px rgba(0,39,102,.08);
  color: var(--rg-navy);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.rg-work__arrow:hover {
  background: var(--rg-navy);
  color: var(--rg-on-dark);
  box-shadow: 0 8px 18px rgba(0,39,102,.24);
}
.rg-work__arrow svg { width: 18px; height: 18px; }

@media (max-width: 1050px) {
  .rg-work__layout { grid-template-columns: 1fr; }
  .rg-work__copy .rg-h2 { max-width: 20ch; }
  .rg-work__visual { max-width: 620px; margin: 0 auto; }
  .rg-work__deck,
  .rg-work__nav { margin-inline: auto; }
}

@media (max-width: 750px) {
  .rg-work {
    background: linear-gradient(180deg, #FCFDFF 0%, #EDF4FF 100%);
  }
  .rg-work::before { background-size: 18px 18px; }
  .rg-work::after {
    top: auto;
    bottom: 8%;
    right: -28vw;
    width: 96vw;
  }
  .rg-work__layout { gap: 22px; }
  .rg-work__copy .rg-h2 { max-width: 18ch; }
  .rg-work__copy .rg-lede { max-width: 40ch; line-height: 1.5; }
  .rg-work__specs {
    margin-top: 18px;
    gap: 7px;
  }
  .rg-work__specs li {
    min-height: 34px;
    padding: 0 12px;
    font-size: .8125rem;
  }
  .rg-work__visual { gap: 12px; max-width: none; }
  /* Tighter scatter, or the fanned corners eat the photo on a phone. */
  .rg-work__deck {
    width: 100%;
    padding: 16px 22px 34px;
  }
  .rg-work__card { border-width: 5px; }
  .rg-work__card[data-depth="1"] { --tx: 13px;  --ty: 10px; --rot: 2.8deg;  --sc: .965; }
  .rg-work__card[data-depth="2"] { --tx: -12px; --ty: 18px; --rot: -3.9deg; --sc: .935; }
  .rg-work__card[data-depth="3"] { --tx: 17px;  --ty: 25px; --rot: 5deg;    --sc: .908; }
  .rg-work__nav { padding-inline: 22px; }
  .rg-work__arrow { width: 48px; height: 48px; }
  .rg-work__actions--desktop { display: none; }
  .rg-work__actions--mobile { display: flex; }
  .rg-work__actions {
    justify-content: stretch;
    margin-top: 6px;
  }
  .rg-work__actions .rg-btn-outline,
  .rg-work__actions .rg-btn-solid {
    flex: 1 1 150px;
    padding-inline: 14px;
  }
}

@media (max-width: 380px) {
  .rg-work__deck { padding: 14px 18px 30px; }
  .rg-work__caption b { font-size: 1rem; }
}

/* The deck still shuffles for these visitors, it just arrives instead of
   sliding. rg-work.js also stops auto-advancing. */
@media (prefers-reduced-motion: reduce) {
  .rg-work__card,
  .rg-work__card img,
  .rg-work__card::after,
  .rg-work__caption,
  .rg-work__arrow {
    transition: none !important;
  }
}

/* ---------- reviews ---------- */

.rg-reviews {
  background: var(--rg-navy-deep);
  padding: 88px 0;
  overflow: hidden;
}
.rg-reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.rg-reviews__head > * { min-width: 0; }
.rg-reviews__tools { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; flex-shrink: 0; }
.rg-reviews__tools .rg-hero__reviews { width: auto; }
.rg-reviews__controls { display: flex; gap: 10px; }
.rg-reviews .rg-h2, .rg-reviews .rg-eyebrow { color: var(--rg-on-dark); }
.rg-reviews .rg-eyebrow { color: var(--rg-cyan-light); }
.rg-reviews__lede {
  max-width: 64ch;
  margin: 14px 0 0;
  color: rgba(255,255,255,.82);
  font-size: var(--rg-body);
  line-height: 1.6;
}
.rg-reviews__carousel {
  position: relative;
  padding: 0;
  margin-bottom: 28px;
}
.rg-reviews__viewport {
  overflow: hidden;
}
.rg-reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  padding: 6px 0 18px;
  cursor: grab;
  touch-action: pan-y;
  transition: transform .52s cubic-bezier(.22,.7,.18,1);
  user-select: none;
  will-change: transform;
}
.rg-reviews__track:focus-visible {
  outline: 3px solid rgba(127,224,255,.5);
  outline-offset: 4px;
}
.rg-reviews__track.is-dragging {
  cursor: grabbing;
  transition: none;
}
.rg-reviews__track.is-jumping {
  transition: none;
}
.rg-reviews__nav {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: var(--rg-surface);
  color: var(--rg-navy);
  font-family: var(--rg-font-head);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,.22);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.rg-reviews__nav:hover {
  background: var(--rg-action);
  border-color: var(--rg-action);
  color: var(--rg-action-ink);
  transform: scale(1.03);
}
.rg-review {
  min-width: 0;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.rg-review__bubble {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 26px;
  background: var(--rg-surface);
  border-radius: 24px 24px 24px 8px;
}
.rg-review__bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 27px;
  width: 24px;
  height: 24px;
  background: var(--rg-surface);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* The stars are the loudest thing on the card by design. They carry the
   rating before anyone reads a word. */
.rg-review__stars {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}
.rg-review__stars img {
  width: 34px;
  height: 34px;
}
.rg-review.has-star-intro .rg-review__stars {
  animation: rg-review-stars-enter .55s ease-out;
}
@keyframes rg-review-stars-enter {
  from { opacity: .65; transform: translateY(4px) scale(.96); }
  to { opacity: 1; transform: none; }
}

/* Short, verbatim excerpts keep the default row even; full text is expandable. */
.rg-review__copy { flex: 1; }
.rg-review p {
  margin: 0;
  color: var(--rg-text-body);
  font-size: 1.02rem;
  line-height: 1.62;
}
.rg-review p strong { color: var(--rg-navy); font-weight: 800; }
.rg-review__details { margin-top: 10px; }
.rg-review__details summary { cursor: pointer; width: fit-content; color: var(--rg-navy); font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rg-review__full { display: none; }
.rg-review__copy:has(.rg-review__details[open]) > .rg-review__full { display: block; }
.rg-review__read-less, .rg-review__details[open] .rg-review__read-more { display: none; }
.rg-review__details[open] .rg-review__read-less { display: inline; }
.rg-review__copy:has(.rg-review__details[open]) > .rg-review__excerpt { display: none; }
.rg-review__details summary:focus-visible, .rg-reviews__nav:focus-visible { outline: 3px solid var(--rg-cyan-light); outline-offset: 4px; }

.rg-review footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rg-border-cool);
  color: var(--rg-text-muted);
  font-size: var(--rg-helper);
}
.rg-review__who {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.rg-review__face,
.rg-review__avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}
.rg-review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EAF4FF;
  color: var(--rg-navy);
  font-family: var(--rg-font-head);
  font-size: 1rem;
  font-weight: 800;
}
.rg-review__name { min-width: 0; }
.rg-review__name b {
  display: block;
  font-family: var(--rg-font-head);
  font-size: .95rem;
  color: var(--rg-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rg-review__name small {
  display: block;
  margin-top: 1px;
  color: var(--rg-text-muted);
}
/* Sits with the reviewer as a source mark, not as a badge shouting at the top
   of the card. */
.rg-review__mark {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  object-fit: contain;
  padding: 5px;
  box-sizing: content-box;
  background: white;
  border-radius: 50%;
}
.rg-reviews__bottom {
  display: grid;
  justify-items: center;
  gap: 22px;
}
.rg-reviews__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rg-reviews__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}
.rg-reviews__dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--rg-cyan-light);
}
.rg-reviews__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.rg-reviews__all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--rg-font-head);
  font-weight: 800;
  text-decoration: none;
}
.rg-reviews__all {
  gap: 8px;
  padding: 12px 22px;
  text-align: center;
  line-height: 1.4;
  border-radius: 8px;
  background: var(--rg-action);
  color: var(--rg-action-ink);
  transition: filter 160ms ease;
}
.rg-reviews__all:hover { filter: brightness(1.06); }
.rg-reviews__all > span:last-child { flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .rg-review.has-star-intro .rg-review__stars { animation: none; }
  .rg-reviews__track { transition: none; }
}

@media (max-width: 1100px) {
  .rg-reviews__track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 750px) {
  .rg-reviews__head {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 24px;
  }
  .rg-reviews__carousel {
    padding: 0;
    margin-bottom: 22px;
  }
  .rg-reviews__track {
    grid-auto-columns: 100%;
    gap: 14px;
  }
  .rg-reviews__tools { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  .rg-reviews__tools .rg-hero__reviews { max-width: 100%; }
  .rg-reviews__controls { margin-left: auto; }
  .rg-review {
    min-height: 276px;
  }
  .rg-review__bubble {
    padding: 24px 22px 20px;
  }
  .rg-review__stars img {
    width: 30px;
    height: 30px;
  }
  .rg-reviews__bottom {
    gap: 18px;
  }
  .rg-reviews__all {
    width: 100%;
    justify-content: center;
  }
}

/* Service-area layout and SVG map styles live in rg-area.css. */

/* ---------- about ---------- */

.rg-about-sec {
  background: var(--rg-surface);
  border-top: 1px solid #DDE8F5;
  border-bottom: 1px solid #DDE8F5;
}
.rg-about__layout { display: grid; grid-template-columns: minmax(360px, 520px) minmax(0, 1fr); gap: clamp(40px, 5vw, 76px); align-items: center; }
.rg-about__layout > * { min-width: 0; }
.rg-about__media {
  position: relative;
}
.rg-about__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--rg-r-lg);
  display: block;
  box-shadow: 0 24px 54px rgba(0,39,102,.16);
}
.rg-about__owner-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--rg-r-md);
  background: rgba(0,39,102,.88);
  color: var(--rg-on-dark);
  backdrop-filter: blur(10px);
}
.rg-about__owner-card span {
  color: var(--rg-cyan-light);
  font-family: var(--rg-font-head);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1;
  text-transform: uppercase;
}
.rg-about__owner-card b {
  font-family: var(--rg-font-head);
  font-size: 1.22rem;
  line-height: 1.12;
}
.rg-about__owner-card small {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  line-height: 1.35;
}
.rg-about__sig { margin-top: 18px; max-width: 184px; display: block; }
.rg-about__copy .rg-lede { max-width: 68ch; }
.rg-about__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.rg-about__facts span {
  min-height: 68px;
  padding: 13px 14px;
  border: 1px solid var(--rg-border);
  border-radius: var(--rg-r-sm);
  background: #F7FBFF;
  color: var(--rg-text-body);
  font-size: .9rem;
  line-height: 1.25;
}
.rg-about__facts b {
  display: block;
  color: var(--rg-navy);
  font-family: var(--rg-font-head);
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.rg-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.rg-promise {
  background: var(--rg-surface);
  border: 1px solid var(--rg-border);
  border-left: 3px solid var(--rg-cyan);
  border-radius: var(--rg-r-md);
  padding: 18px;
}
.rg-promise b {
  display: block; font-family: var(--rg-font-head); font-size: 1.0625rem;
  font-weight: 800; color: var(--rg-navy); margin-bottom: 6px;
}
.rg-promise span { font-size: var(--rg-helper); line-height: 1.55; color: var(--rg-text-body); }
.rg-about__cta { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.rg-btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rg-action); color: var(--rg-action-ink);
  font-family: var(--rg-font-head); font-size: 1.0625rem; font-weight: 800;
  padding: 0 26px; min-height: var(--rg-tap); border-radius: var(--rg-r-sm);
  text-decoration: none; transition: background 160ms ease;
}
.rg-btn-solid:hover { background: var(--rg-action-hover); color: var(--rg-action-ink); }
.rg-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px var(--rg-navy); color: var(--rg-navy);
  font-family: var(--rg-font-head); font-size: 1.0625rem; font-weight: 700;
  padding: 0 26px; min-height: var(--rg-tap); border-radius: var(--rg-r-sm);
  text-decoration: none;
}
.rg-btn-outline:hover { background: var(--rg-navy); color: var(--rg-on-dark); }

@media (max-width: 1000px) {
  .rg-about__layout { grid-template-columns: 1fr; gap: 28px; }
  .rg-about__media { max-width: 560px; }
}
@media (max-width: 750px) {
  .rg-promises { grid-template-columns: 1fr; }
  .rg-about__facts {
    gap: 8px;
  }
  .rg-about__facts span {
    min-height: 62px;
    padding: 11px 10px;
    font-size: .78rem;
  }
  .rg-about__facts b {
    font-size: 1.16rem;
    margin-bottom: 5px;
  }
  .rg-promises {
    gap: 10px;
    margin-top: 18px;
  }
  .rg-promise {
    padding: 14px 16px;
  }
  .rg-promise span {
    line-height: 1.42;
  }
  .rg-about__sig {
    max-width: 148px;
    margin-top: 12px;
  }
  .rg-about__cta {
    margin-top: 20px;
  }
}

@media (max-width: 340px) {
  .rg-about__owner-card {
    position: static;
    margin-top: 12px;
  }
  .rg-about__facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer ---------- */

.rg-footer { background: var(--rg-navy-deep); color: var(--rg-on-dark-dim); padding: 64px 0 0; }
.rg-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.rg-footer h3 {
  font-family: var(--rg-font-head); font-size: 14px; font-weight: 800;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--rg-cyan-light); margin: 0 0 16px;
}
.rg-footer a { color: var(--rg-on-dark-dim); text-decoration: none; }
.rg-footer a:hover { color: var(--rg-on-dark); text-decoration: underline; }
.rg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: var(--rg-helper); }
.rg-footer__logo { max-width: 180px; height: auto; display: block; margin-bottom: 16px; }
.rg-footer__social { display: flex; gap: 12px; margin-top: 16px; }
.rg-footer__social img { width: 34px; height: 34px; }
.rg-footer__bottom {
  margin-top: 48px; border-top: 1px solid rgba(255,255,255,.14);
  padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 900px) { .rg-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .rg-footer__grid { grid-template-columns: 1fr; } }

@media (max-width: 750px) { .rg-sec, .rg-reviews { padding: 48px 0; } }

@media (max-width: 750px) {
  .rg-home .rg-sec,
  .rg-home .rg-reviews { padding: 42px 0; }
  .rg-home .rg-services {
    padding-top: 44px;
    padding-bottom: 42px;
  }
  .rg-home .rg-work {
    padding-bottom: 82px;
  }
  .rg-proof {
    margin-top: 20px;
    gap: 14px;
  }
}

/* ============================================================
   Mobile audit fixes (≤750px)
   Text links were rendering as 18–27px tall tap targets. Anything
   tappable gets to 44px, which matters more here than elsewhere.
   A lot of this audience is on a phone with reading glasses.
   ============================================================ */
@media (max-width: 750px) {
  .rg-footer ul a,
  .rg-footer__bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .rg-footer ul { gap: 0; }

  .rg-link,
  .rg-reviews__all {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .rg-reviews__all { justify-content: center; }

  .rg-footer__social a,
  .rg-drawer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}
