/* ===========================================================================
   Design layer - inherited from the GuruGraphics theme, retuned for this site
   ---------------------------------------------------------------------------
   Loaded after the inherited GG Link theme, so it has the last word. Every
   rule here is namespaced under .gg-* and the new pages use no AdminLTE or
   Bootstrap component classes, which keeps the two systems from arguing.

   Measurements are taken from the supplied 1920px-wide design. Fixed pixel
   sizes from that artboard are expressed as clamp() so the page holds its
   proportions from 320px up rather than only at 1920.
   ========================================================================= */

:root {
  /* The brand teal. Used for large colour areas: process tiles, card feet,
     icon discs, the hero accent over the dark backdrop.

     This replaces the orange of the studio theme this site is built on. The
     hue was changed rather than kept because both sites run on the same box
     and the same stylesheet, and two identical-looking brands owned by one
     person read as one recycled template. */
  --gg-accent:      #1E7F8C;
  --gg-accent-dark: #17646E;
  --gg-accent-soft: #E8F3F5;

  /* The same teal, darkened until it is legible, for anything that carries
     TEXT: button fills with white labels, accent words on a light background,
     links.

     The teal scores 4.70:1 against white, so unlike the orange it replaced
     (2.89:1) it already clears WCAG 2.2 AA for body text on its own. The ink
     pair is kept anyway, at 6.82:1, because the CMS colour picker can set the
     accent to anything - see cms_readable_shade() in admin/inc/settings.php,
     which derives this pair from whatever colour is chosen.

     That is not a nicety here. Public sector bodies are bound by the Public
     Sector Bodies (Websites and Mobile Applications) Accessibility
     Regulations 2018, which require AA; anyone selling delivery work to them
     cannot ship buttons that fail it.

     Use --gg-accent for colour, --gg-accent-ink the moment text is involved. */
  --gg-accent-ink:      #0F6470;
  --gg-accent-ink-dark: #0B4E58;

  /* The accent ON A DARK SURFACE: the hero, the dark split panels and the
     footer. The base accent is a mid teal and the dark surfaces on this site
     are themselves dark teal or near-black, so the base fails badly there -
     1.47:1 on the lightest part of the hero, 3.47:1 on the footer. This tint
     holds 4.64:1 at the worst point of the hero and 10.97:1 on the footer,
     so it clears AA for small text everywhere it is used.

     The orange this replaced never needed a counterpart, because a warm hue
     on a neutral dark ground separates on its own. A teal on teal does not. */
  --gg-accent-light:    #A9DDE3;

  --gg-ink:         #1F2023;
  --gg-dark:        #3C3C3C;
  --gg-grey-100:    #F5F5F6;
  --gg-grey-200:    #EBEBEB;
  --gg-grey-400:    #C9C9CB;
  --gg-grey-500:    #979799;   /* borders and disabled fills only - 2.92:1 on
                                  white, so never for text */
  --gg-muted:       #6B6B70;   /* the readable grey for hint text: 5.462:1 */
  --gg-body:        #4A4A4E;
  --gg-white:       #FFFFFF;

  --gg-font: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --gg-font-alt: 'Work Sans', var(--gg-font);

  /* Type scale, each anchored to its size on the 1920 artboard. */
  --gg-fs-hero:  clamp(3.25rem, 9.8vw, 11.75rem);  /* 188px */
  --gg-fs-cta:   clamp(2.5rem,  7vw,   8.375rem);  /* 134px */
  --gg-fs-h2:    clamp(2rem,    4.9vw, 5.875rem);  /*  94px */
  --gg-fs-h2s:   clamp(1.75rem, 3.65vw, 4.375rem); /*  70px */
  --gg-fs-h3:    clamp(1.3rem,  1.9vw, 2.25rem);   /*  36px */
  --gg-fs-lead:  clamp(1rem,    1.25vw, 1.5rem);   /*  24px */
  --gg-fs-body:  clamp(0.95rem, 0.99vw, 1.1875rem);/*  19px */
  --gg-fs-small: clamp(0.85rem, 0.9vw,  1.0625rem);/*  17px */

  --gg-shell: 1560px;   /* content width on the artboard: x=180 to x=1740 */
  --gg-gutter: clamp(1rem, 3.2vw, 3.75rem);
  --gg-section: clamp(3.5rem, 7vw, 8.5rem);
  --gg-radius: 28px;
}

/* --- resets scoped to the new pages ------------------------------------- */

body.gg-site {
  margin: 0;
  font-family: var(--gg-font);
  font-size: var(--gg-fs-body);
  line-height: 1.55;
  color: var(--gg-ink);
  background: var(--gg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The element resets are wrapped in :where() so they carry zero specificity.
   Written as plain descendant selectors they scored (0,1,1) and quietly beat
   every single-class component rule below - .gg-nav__link and .gg-hero__title
   are (0,1,0) - which painted the white-on-dark hero and navigation in body
   ink. Anything here is a default, so it should lose every tie. */
:where(.gg-site h1, .gg-site h2, .gg-site h3, .gg-site h4) {
  margin: 0;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--gg-ink);
}
:where(.gg-site p) { margin: 0 0 1em; }
:where(.gg-site p:last-child) { margin-bottom: 0; }
:where(.gg-site img) { max-width: 100%; height: auto; display: block; }
:where(.gg-site a) { color: inherit; }

.gg-shell {
  width: 100%;
  max-width: var(--gg-shell);
  margin: 0 auto;
  padding-inline: var(--gg-gutter);
  box-sizing: border-box;
}

.gg-section { padding-block: var(--gg-section); }

.gg-center { text-align: center; }

/* Every repeated block on these pages is marked up as a list, so the semantics
   survive for assistive technology; none of them should show a marker. */
:where(.gg-cards, .gg-tiers, .gg-logos, .gg-usp__bar, .gg-reviews__grid,
       .gg-ticks, .gg-points, .gg-steps, .gg-stages, .gg-assure,
       .gg-servicelist, .gg-footer__menu, .gg-social, .gg-tier__list) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gg-lead {
  font-size: var(--gg-fs-lead);
  line-height: 1.45;
  color: var(--gg-body);
}
.gg-center .gg-lead { max-width: 46ch; margin-inline: auto; }

.gg-accent { color: var(--gg-accent); }

/* Visible only to screen readers - used for section landmarks that the design
   carries as pure visual rhythm. */
.gg-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- buttons ------------------------------------------------------------ */

.gg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 2em;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--gg-fs-lead);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.gg-btn:hover, .gg-btn:focus-visible { transform: translateY(-2px); text-decoration: none; }

.gg-btn--light  { background: var(--gg-white); color: var(--gg-ink); }
.gg-btn--light:hover, .gg-btn--light:focus-visible { background: var(--gg-grey-200); color: var(--gg-ink); }

.gg-btn--accent { background: var(--gg-accent-ink); color: var(--gg-white); }
.gg-btn--accent:hover, .gg-btn--accent:focus-visible { background: var(--gg-accent-ink-dark); color: var(--gg-white); }

.gg-btn--ghost {
  background: transparent; color: var(--gg-ink);
  box-shadow: inset 0 0 0 2px currentColor;
}
.gg-btn--ghost:hover, .gg-btn--ghost:focus-visible { background: var(--gg-ink); color: var(--gg-white); }

.gg-site :focus-visible {
  outline: 3px solid var(--gg-accent);
  outline-offset: 3px;
}

/* =========================================================================
   Navigation - transparent over the hero, solid once scrolled
   ========================================================================= */

.gg-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.gg-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(0.85rem, 1.6vw, 1.65rem);
}
.gg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  text-decoration: none;
  color: var(--gg-white);
}
.gg-brand__mark { width: clamp(34px, 2.6vw, 50px); height: auto; flex: none; }
.gg-brand__name {
  font-size: clamp(1.15rem, 1.6vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.gg-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 3.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.gg-nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.35em;
  font-size: clamp(0.9rem, 1.05vw, 1.25rem);
  color: var(--gg-white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
/* The design underlines the current page in orange. */
.gg-nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--gg-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.gg-nav__link:hover::after,
.gg-nav__link:focus-visible::after,
.gg-nav__link[aria-current='page']::after { transform: scaleX(1); }

/* Once the hero has scrolled past, the bar needs its own background or the
   white links land on white page content. */
.gg-nav.is-stuck { background: var(--gg-ink); box-shadow: 0 6px 24px rgba(0,0,0,.18); }

/* Pages without a dark hero start solid. */
.gg-nav--solid { background: var(--gg-ink); }

.gg-nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  color: var(--gg-white);
  cursor: pointer;
}
.gg-nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .gg-nav__toggle { display: inline-flex; }
  .gg-nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--gg-gutter) 1.25rem;
    background: var(--gg-ink);
    display: none;
  }
  .gg-nav__links.is-open { display: flex; }
  .gg-nav__link { width: 100%; padding-block: 0.85em; font-size: 1.05rem; }
}

/* =========================================================================
   Hero
   ========================================================================= */

.gg-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 64vw, 1000px);
  padding-top: clamp(6rem, 9vw, 11rem);
  padding-bottom: clamp(7rem, 12vw, 14rem);
  background: var(--gg-ink) center / cover no-repeat;
  color: var(--gg-white);
  overflow: hidden;
}
/* The photograph is dark but not uniformly so; this keeps the headline legible
   over the lighter top-right corner without flattening the image. */
/* Scrim behind the headline.

   The inherited value ran rgba(20,20,22,.82) to .28 because it had to tame an
   uncontrolled photograph. The backdrop is now generated artwork that is
   already dark by construction (lightest pixel 6.90:1 against white), so that
   scrim only crushed it. Lightened, and tinted to the brand deep rather than
   neutral black so it sits in the same family as the artwork underneath. */
.gg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,50,58,.62) 0%, rgba(7,50,58,.34) 45%, rgba(7,50,58,.05) 100%);
}
.gg-hero__inner { position: relative; z-index: 1; width: 100%; }
.gg-hero__title {
  max-width: 14ch;
  font-size: var(--gg-fs-hero);
  line-height: 0.93;
  letter-spacing: -0.035em;
  color: var(--gg-white);
}
.gg-hero__title span { display: block; }
.gg-hero__lead {
  max-width: 52ch;
  margin-top: clamp(1.25rem, 2.2vw, 2.4rem);
  font-size: clamp(1rem, 1.5vw, 1.8125rem);
  line-height: 1.4;
  color: rgba(255,255,255,.92);
}
.gg-hero__audience {
  margin-top: 0.6em;
  font-size: var(--gg-fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gg-accent);
}
.gg-hero__cta { margin-top: clamp(1.5rem, 2.6vw, 2.9rem); }

/* =========================================================================
   The three-point bar that straddles the hero's lower edge
   ========================================================================= */

.gg-usp { position: relative; z-index: 2; margin-top: clamp(-8rem, -7vw, -4rem); }
.gg-usp__bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2.5rem);
  padding: clamp(1.5rem, 2.2vw, 2.6rem) clamp(1.5rem, 3vw, 3.5rem);
  background: var(--gg-dark);
  border: 2px solid var(--gg-white);
  border-radius: 999px;
  color: var(--gg-white);
}
.gg-usp__item {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.4rem);
  min-width: 0;
}
.gg-usp__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(48px, 3.6vw, 68px);
  aspect-ratio: 1;
  background: var(--gg-white);
  border-radius: 50%;
  color: var(--gg-accent-ink);
}
.gg-usp__icon svg { width: 52%; height: 52%; }
.gg-usp__text {
  font-size: clamp(0.95rem, 1.35vw, 1.6rem);
  line-height: 1.22;
}
.gg-usp__text span { display: block; }

@media (max-width: 860px) {
  .gg-usp { margin-top: clamp(-4rem, -8vw, -2.5rem); }
  .gg-usp__bar {
    grid-template-columns: 1fr;
    border-radius: var(--gg-radius);
    text-align: left;
  }
}

/* =========================================================================
   What you get - four cards
   ========================================================================= */

.gg-what__head { margin-bottom: clamp(2.5rem, 4.5vw, 5rem); }
.gg-what__title { font-size: var(--gg-fs-h2); max-width: 18ch; margin-inline: auto; }
.gg-what__title + .gg-lead { margin-top: clamp(1rem, 1.6vw, 1.75rem); }

.gg-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.9vw, 2.25rem);
}
.gg-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.75rem, 2.6vw, 3rem) clamp(1.25rem, 1.8vw, 2.1rem) clamp(2rem, 3vw, 3.5rem);
  background: var(--gg-grey-100);
  border-radius: var(--gg-radius);
  text-align: center;
}
.gg-card__icon {
  display: grid;
  place-items: center;
  width: clamp(72px, 5.4vw, 104px);
  aspect-ratio: 1;
  margin-bottom: clamp(1.1rem, 1.8vw, 2rem);
  background: var(--gg-accent);
  border-radius: 50%;
  color: var(--gg-white);
}
.gg-card__icon svg { width: 50%; height: 50%; }
.gg-card__title { font-size: var(--gg-fs-h3); margin-bottom: 0.6em; }
.gg-card__body { font-size: var(--gg-fs-small); color: var(--gg-body); }

@media (max-width: 1024px) { .gg-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .gg-cards { grid-template-columns: 1fr; } }

/* =========================================================================
   Reputation engine - photograph beside a dark panel
   ========================================================================= */

.gg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.gg-split__media { position: relative; min-height: clamp(300px, 34vw, 640px); }
.gg-split__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.gg-split__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 6.5rem) clamp(1.5rem, 4.5vw, 6rem);
  background: var(--gg-dark);
  color: var(--gg-white);
}
.gg-split__panel h2 { color: var(--gg-white); font-size: var(--gg-fs-h2s); }
.gg-split__panel .gg-lead { color: rgba(255,255,255,.88); margin-top: 1rem; }

.gg-ticks { margin: clamp(1.5rem, 2.6vw, 2.75rem) 0 0; padding: 0; list-style: none; }
.gg-ticks li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.75em;
  font-size: clamp(1rem, 1.35vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}
.gg-ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 0.45em; height: 0.45em;
  background: currentColor;
}
.gg-split__panel .gg-btn { align-self: flex-start; margin-top: clamp(1.5rem, 2.4vw, 2.6rem); }

@media (max-width: 860px) {
  .gg-split { grid-template-columns: 1fr; }
  .gg-split__media { min-height: 260px; }
}

/* --- strategy: text beside a photograph, reversed ----------------------- */

.gg-strategy__body { max-width: 58ch; }
.gg-strategy h2 { font-size: var(--gg-fs-h2s); }
.gg-strategy h2 span { display: block; }
.gg-strategy__body > p { margin-top: clamp(1rem, 1.8vw, 1.8rem); color: var(--gg-body); }
.gg-points { margin: clamp(1.25rem, 2vw, 2.1rem) 0 0; padding: 0; list-style: none; }
.gg-points li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 1em;
  font-size: var(--gg-fs-small);
  color: var(--gg-body);
}
.gg-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.4em; height: 0.4em;
  border-radius: 50%;
  background: var(--gg-accent);
}
.gg-points b { color: var(--gg-ink); }
.gg-points .gg-points__lead { color: var(--gg-accent); font-style: italic; }
.gg-strategy .gg-btn { margin-top: clamp(1.25rem, 2vw, 2.2rem); }

.gg-split--text .gg-split__panel {
  background: var(--gg-white);
  color: var(--gg-ink);
}
.gg-split--text .gg-split__panel h2 { color: var(--gg-ink); }

/* =========================================================================
   Process - five alternating tiles
   ========================================================================= */

.gg-process__head { margin-bottom: clamp(2.5rem, 4vw, 4.5rem); }
.gg-process__title { font-size: var(--gg-fs-h2); }
.gg-process__title + .gg-lead { margin-top: 1rem; }

.gg-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, minmax(clamp(180px, 16vw, 310px), auto));
}
.gg-step { display: contents; }

.gg-step__num,
.gg-step__body {
  position: relative;
  display: flex;
  padding: clamp(1.1rem, 1.7vw, 2.2rem);
  color: var(--gg-white);
}
.gg-step__num {
  align-items: flex-end;
  justify-content: center;
  background: var(--gg-accent);
  font-size: clamp(2.75rem, 6.3vw, 7.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.gg-step__body {
  flex-direction: column;
  justify-content: flex-start;
  background: var(--gg-dark);
}
.gg-step__title { font-size: clamp(1.1rem, 1.9vw, 2.25rem); color: var(--gg-white); margin-bottom: 0.5em; }
.gg-step__text { font-size: clamp(0.8rem, 0.92vw, 1.0625rem); line-height: 1.4; color: rgba(255,255,255,.85); }

/* Odd steps put the number in the top row and the label beneath; even steps
   invert it, which is what produces the design's chequerboard. */
.gg-step--down .gg-step__num  { grid-row: 1; }
.gg-step--down .gg-step__body { grid-row: 2; }
.gg-step--up   .gg-step__body { grid-row: 1; }
.gg-step--up   .gg-step__num  { grid-row: 2; }

/* The small triangle that points from one tile into the next. */
.gg-step--down .gg-step__num::after,
.gg-step--up .gg-step__body::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  border-left: clamp(8px, 0.75vw, 15px) solid transparent;
  border-right: clamp(8px, 0.75vw, 15px) solid transparent;
  border-top: clamp(8px, 0.75vw, 15px) solid var(--gg-white);
}

@media (max-width: 900px) {
  .gg-steps { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gg-step { display: grid; grid-template-columns: subgrid; grid-column: span 2; }
  .gg-step__num, .gg-step__body { grid-row: auto !important; }
  .gg-step__num { align-items: center; padding-block: clamp(1.5rem, 5vw, 2.5rem); }
  .gg-step--down .gg-step__num::after, .gg-step--up .gg-step__body::after { display: none; }
}
@media (max-width: 560px) {
  .gg-steps { grid-template-columns: 1fr; }
  .gg-step { grid-column: span 1; grid-template-columns: 1fr; }
}

/* =========================================================================
   Engagements - four cards with an orange foot
   ========================================================================= */

.gg-engage__head { margin-bottom: clamp(2.5rem, 4vw, 4.5rem); }
.gg-engage__title { font-size: var(--gg-fs-h2); }
.gg-engage__title + .gg-lead { margin-top: 1rem; max-width: 56ch; margin-inline: auto; }

.gg-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.7vw, 2rem);
  align-items: stretch;
}
.gg-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.2vw, 2.6rem) clamp(1.25rem, 1.7vw, 2rem) 0;
  background: var(--gg-grey-100);
  border-radius: var(--gg-radius) var(--gg-radius) 0 0;
}
/* The orange block under each card in the design. */
.gg-tier::after {
  content: '';
  height: clamp(28px, 2.4vw, 46px);
  margin: clamp(1.25rem, 1.8vw, 2rem) calc(-1 * clamp(1.25rem, 1.7vw, 2rem)) 0;
  background: var(--gg-accent);
  border-radius: 0 0 var(--gg-radius) var(--gg-radius);
}
.gg-tier__step {
  font-size: clamp(0.72rem, 0.94vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gg-ink);
}
.gg-tier__title {
  margin-top: 0.9em;
  font-size: var(--gg-fs-h3);
  max-width: 12ch;
}
.gg-tier__meta {
  margin-top: 0.55em;
  font-size: clamp(1rem, 1.35vw, 1.5rem);
  font-weight: 700;
  color: var(--gg-accent-ink);
}
.gg-tier__rule { margin: clamp(0.9rem, 1.3vw, 1.4rem) 0 0; border: 0; border-top: 1px solid var(--gg-grey-400); }
.gg-tier__list {
  flex: 1 1 auto;
  margin: clamp(1rem, 1.5vw, 1.6rem) 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(0.85rem, 0.99vw, 1.1875rem);
  color: var(--gg-body);
}
.gg-tier__list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.55em;
  line-height: 1.35;
}
.gg-tier__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gg-ink);
}
.gg-tier .gg-btn {
  margin-top: clamp(1.25rem, 1.8vw, 1.8rem);
  padding: 0.7em 1.2em;
  font-size: clamp(0.85rem, 1vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--gg-grey-400);
  color: var(--gg-ink);
}
.gg-tier .gg-btn:hover, .gg-tier .gg-btn:focus-visible { background: var(--gg-grey-500); }
.gg-tier--featured .gg-btn { background: var(--gg-accent-ink); color: var(--gg-white); }
.gg-tier--featured .gg-btn:hover, .gg-tier--featured .gg-btn:focus-visible { background: var(--gg-accent-ink-dark); }

/* A label, not a sticker - see snippets/gg/home/engagements.php. Sits inside
   the card rather than hanging off the corner, so it cannot overlap the card
   next to it when the grid drops to two columns. */
.gg-tier__badge {
  position: absolute;
  top: clamp(0.9rem, 1.3vw, 1.4rem);
  right: clamp(0.9rem, 1.3vw, 1.4rem);
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--gg-accent-ink);
  color: var(--gg-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 1024px) { .gg-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .gg-tiers { grid-template-columns: 1fr; } }

/* =========================================================================
   Clients
   ========================================================================= */

.gg-clients__head { margin-bottom: clamp(2.5rem, 4vw, 4.5rem); }
.gg-clients__title { font-size: var(--gg-fs-h2); }
.gg-clients__title + .gg-lead { margin-top: 1rem; }

.gg-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem) clamp(1rem, 2.4vw, 3rem);
  align-items: center;
  justify-items: center;
}
/* Each cell is a fixed box and the mark is fitted inside it. That does two
   things: it reserves the space before the lazy-loaded image arrives, so the
   section does not jump as it loads, and it puts marks of very different
   proportions - Unilever is nearly square, ERSA is wide - on a common optical
   height instead of a common width. */
.gg-logos li {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(48px, 4.4vw, 84px);
}
.gg-logos img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* The supplied logos are full colour on white. Left as-is: a client's mark
     is their property and desaturating it changes it. */
}
@media (max-width: 900px) { .gg-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .gg-logos { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   Testimonials
   ========================================================================= */

.gg-reviews__head {
  padding-block: clamp(2.5rem, 5vw, 5.5rem);
  background: var(--gg-grey-200);
  text-align: center;
}
.gg-reviews__title { font-size: var(--gg-fs-h2); }
.gg-reviews__title span { display: block; }
.gg-reviews__title + .gg-lead { margin-top: 1.25rem; max-width: 60ch; margin-inline: auto; }

.gg-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 5.5rem);
}
.gg-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: clamp(0.5rem, 1.6vw, 2rem);
  text-align: center;
}
.gg-review + .gg-review { border-left: 1px solid var(--gg-grey-200); }
.gg-review__avatar {
  width: clamp(72px, 5.6vw, 108px);
  aspect-ratio: 1;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  object-fit: cover;
}
.gg-review__quote {
  margin: 0;
  font-size: var(--gg-fs-small);
  line-height: 1.5;
  color: var(--gg-body);
}
.gg-review__stars {
  display: flex;
  gap: 0.15em;
  margin: 1rem 0 0.9rem;
  color: #FFC12C;
}
.gg-review__stars svg { width: clamp(20px, 1.7vw, 32px); height: auto; }
.gg-review__name { font-size: clamp(1rem, 1.05vw, 1.25rem); font-weight: 700; }
.gg-review__role { margin-top: 0.3em; font-size: var(--gg-fs-small); color: var(--gg-body); }

@media (max-width: 860px) {
  .gg-reviews__grid { grid-template-columns: 1fr; }
  .gg-review + .gg-review { border-left: 0; border-top: 1px solid var(--gg-grey-200); padding-top: 2rem; }
}

/* =========================================================================
   Closing call to action
   ========================================================================= */

.gg-cta {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 9rem);
  overflow: hidden;
}
/* Outlined repeating wordmark, exactly as the design's backdrop. Drawn as a
   background so it can never be picked up by a screen reader or by search. */
.gg-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/gg/wordmark-pattern.svg') repeat;
  background-size: clamp(520px, 52vw, 1000px) auto;
  opacity: .5;
}
.gg-cta__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}
.gg-cta__title {
  flex: 1 1 18ch;
  max-width: 14ch;
  font-size: var(--gg-fs-cta);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
/* This accent word sits on white, unlike the hero's, so it takes the
   text-safe shade. */
.gg-cta__title .gg-accent { color: var(--gg-accent-ink); }
.gg-cta__lead { max-width: 62ch; margin-top: clamp(1.25rem, 2vw, 2.2rem); }
.gg-cta__action { flex: 0 0 auto; padding-bottom: 0.5rem; }

@media (max-width: 860px) {
  .gg-cta__title { max-width: none; }
  .gg-cta__action { width: 100%; }
  .gg-cta__action .gg-btn { width: 100%; }
}

/* =========================================================================
   Footer
   ========================================================================= */

.gg-footer {
  padding-block: clamp(3rem, 5.5vw, 6rem) clamp(1.5rem, 2.5vw, 2.5rem);
  background: var(--gg-ink);
  color: rgba(255,255,255,.82);
  font-family: var(--gg-font-alt);
}
.gg-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4.5rem);
}
.gg-footer h2 {
  margin-bottom: 1.1rem;
  font-family: var(--gg-font-alt);
  font-size: clamp(1.15rem, 1.5vw, 1.8rem);
  font-weight: 600;
  color: var(--gg-white);
}
.gg-footer .gg-brand { margin-bottom: 1.5rem; }
.gg-footer__blurb { font-size: var(--gg-fs-small); max-width: 34ch; }
.gg-footer__contact { margin-top: 1.5rem; font-size: var(--gg-fs-small); font-style: normal; line-height: 1.7; }
.gg-footer__contact a { text-decoration: none; }
.gg-footer__contact a:hover { text-decoration: underline; }

.gg-footer__menu { margin: 0; padding: 0; list-style: none; }
.gg-footer__menu li { margin-bottom: 0.7em; }
.gg-footer__menu a { font-size: var(--gg-fs-small); text-decoration: none; }
.gg-footer__menu a:hover, .gg-footer__menu a:focus-visible { color: var(--gg-accent); }

.gg-social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.gg-social a {
  display: grid;
  place-items: center;
  width: 42px; aspect-ratio: 1;
  background: var(--gg-accent-soft);
  border-radius: 50%;
  color: var(--gg-ink);
  transition: background-color .18s ease, color .18s ease;
}
.gg-social a:hover, .gg-social a:focus-visible { background: var(--gg-accent); color: var(--gg-white); }
.gg-social svg { width: 18px; height: 18px; }

.gg-subscribe { margin-top: 1.25rem; }
.gg-subscribe__field {
  width: 100%;
  padding: 0.95em 1.2em;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: var(--gg-fs-small);
  color: var(--gg-ink);
  background: var(--gg-white);
  box-sizing: border-box;
}
.gg-subscribe .gg-btn {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.8em 1.2em;
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  text-transform: uppercase;
  border-radius: 12px;
}

.gg-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 4vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: clamp(0.75rem, 0.94vw, 1.125rem);
  color: rgba(255,255,255,.6);
}

@media (max-width: 1024px) { .gg-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .gg-footer__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Interior pages
   ========================================================================= */

.gg-pagehead {
  padding-top: clamp(7rem, 11vw, 13rem);
  padding-bottom: clamp(2.5rem, 5vw, 5.5rem);
  background: var(--gg-ink);
  color: var(--gg-white);
}
.gg-pagehead h1 { font-size: var(--gg-fs-h2); color: var(--gg-white); max-width: 20ch; }
.gg-pagehead .gg-lead { margin-top: 1.25rem; max-width: 62ch; color: rgba(255,255,255,.85); }

.gg-prose { max-width: 70ch; }
.gg-prose h2 { margin-top: 2.5em; font-size: var(--gg-fs-h3); }
.gg-prose h2:first-child { margin-top: 0; }
.gg-prose p, .gg-prose li { color: var(--gg-body); }
.gg-prose ul { padding-left: 1.2em; }
.gg-prose li { margin-bottom: 0.5em; }

/* --- contact form ------------------------------------------------------- */

.gg-form { display: grid; gap: 1.25rem; max-width: 46rem; }
.gg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.gg-field { display: flex; flex-direction: column; gap: 0.45rem; }
.gg-field label { font-size: var(--gg-fs-small); font-weight: 600; }
.gg-field input, .gg-field select, .gg-field textarea {
  padding: 0.85em 1em;
  border: 1px solid var(--gg-grey-400);
  border-radius: 10px;
  font-family: inherit;
  font-size: var(--gg-fs-small);
  color: var(--gg-ink);
  background: var(--gg-white);
}
.gg-field textarea { min-height: 9em; resize: vertical; }
.gg-field__hint { font-size: 0.85em; color: var(--gg-muted); }
.gg-form .gg-btn { justify-self: start; }

@media (max-width: 640px) { .gg-form__row { grid-template-columns: 1fr; } }

/* --- honour reduced motion --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .gg-site *, .gg-site *::before, .gg-site *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .gg-btn:hover, .gg-btn:focus-visible { transform: none; }
}

/* =========================================================================
   How It Works - the five stages
   ========================================================================= */

.gg-stages { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.gg-stage {
  display: grid;
  grid-template-columns: minmax(90px, 0.18fr) 1fr;
  gap: clamp(1.25rem, 3vw, 3.5rem);
  padding-block: clamp(2rem, 3.6vw, 3.75rem);
  border-top: 1px solid var(--gg-grey-200);
}
.gg-stage:first-child { border-top: 0; padding-top: 0; }
.gg-stage__num {
  font-size: clamp(2.5rem, 4.6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gg-accent-ink);
}
.gg-stage__title { font-size: var(--gg-fs-h3); margin-bottom: 0.6em; }
.gg-stage__body p { color: var(--gg-body); max-width: 68ch; }
.gg-stage__ask {
  margin-top: 1em;
  padding-left: 1em;
  border-left: 3px solid var(--gg-accent);
  font-size: var(--gg-fs-small);
  color: var(--gg-ink);
}

@media (max-width: 620px) {
  .gg-stage { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* --- commitments grid --------------------------------------------------- */

.gg-assure {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2.75rem);
  margin: 0; padding: 0; list-style: none;
}
.gg-assure__item {
  padding: clamp(1.5rem, 2.4vw, 2.5rem);
  background: var(--gg-white);
  border-radius: var(--gg-radius);
}
.gg-assure__item .gg-card__title,
.gg-assure__item .gg-card__body { text-align: left; }

@media (max-width: 760px) { .gg-assure { grid-template-columns: 1fr; } }

/* =========================================================================
   Services - the four areas opened up
   ========================================================================= */

.gg-servicelist { margin: 0; padding: 0; list-style: none; }
.gg-servicelist__item {
  padding-block: clamp(2rem, 3.6vw, 3.75rem);
  border-top: 1px solid var(--gg-grey-200);
}
.gg-servicelist__item:first-child { border-top: 0; padding-top: 0; }
.gg-servicelist__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
}
.gg-servicelist__head .gg-card__icon { flex: none; margin-bottom: 0; }
.gg-servicelist__title { font-size: var(--gg-fs-h3); margin-bottom: 0.4em; }
.gg-servicelist__item .gg-lead { max-width: 62ch; }
/* Two columns of deliverables once there is room for them. */
.gg-servicelist__item .gg-tier__list { columns: 2; column-gap: clamp(1.5rem, 3vw, 3.5rem); }
.gg-servicelist__item .gg-tier__list li { break-inside: avoid; }

@media (max-width: 760px) {
  .gg-servicelist__item .gg-tier__list { columns: 1; }
  .gg-servicelist__head { flex-direction: column; }
}

/* =========================================================================
   Contact
   ========================================================================= */

.gg-contact {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.gg-contact__aside {
  padding: clamp(1.5rem, 2.4vw, 2.5rem);
  background: var(--gg-grey-100);
  border-radius: var(--gg-radius);
}
.gg-contact__aside .gg-card__title,
.gg-contact__aside .gg-card__body { text-align: left; }
.gg-contact__aside a { color: var(--gg-accent-ink); }

@media (max-width: 900px) { .gg-contact { grid-template-columns: 1fr; } }

/* =========================================================================
   Small helpers that replaced inline style attributes
   ========================================================================= */

.gg-section--tint { background: var(--gg-grey-100); }

.gg-assure__head { margin-bottom: clamp(2rem, 3.5vw, 3.5rem); }

.gg-review__figure { margin: 0; }
.gg-review__role   { display: block; }

.gg-contact__details {
  margin-top: 0;
  font-style: normal;
  font-size: var(--gg-fs-small);
  line-height: 1.7;
  color: var(--gg-body);
}
.gg-contact__details a { color: var(--gg-accent-ink); text-decoration: none; }
.gg-contact__details a:hover, .gg-contact__details a:focus-visible { text-decoration: underline; }

.gg-contact__aside-heading { margin-top: 2.5rem; }

/* ===========================================================================
   Components added for this site
   ===========================================================================
   Two sections exist here that the studio theme had no equivalent of: the
   proof grid, which replaced the testimonial carousel, and the sector list,
   which replaced the client logo wall. Both reuse the existing card and shell
   primitives so they inherit the same rhythm, radii and breakpoints.
   ------------------------------------------------------------------------ */

/* Six proof items divide evenly into three columns, where the four-column
   .gg-cards they are built on would leave a ragged last row of two. Falls back
   to the same 2-then-1 ladder as .gg-cards at the same breakpoints. */
.gg-cards--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .gg-cards--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .gg-cards--three { grid-template-columns: 1fr; } }

/* The figure is the visual in a proof card, so it is set at display size and
   takes the role .gg-card__icon plays in the service cards above. Tabular
   figures keep "1,000" and "139" optically aligned across the row. */
.gg-card__stat {
  margin: 0 0 .75rem;
  font-family: var(--gg-font);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--gg-accent-ink);
  font-variant-numeric: tabular-nums;
}

/* Sector list. Deliberately not a logo wall - see snippets/gg/home/clients.php
   for why. Pills rather than a comma-separated line so the row scans at a
   glance and wraps cleanly on a phone. */
.gg-sectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.6rem, 1.1vw, 1rem);
  margin: clamp(2rem, 3.4vw, 3.25rem) 0 0;
  padding: 0;
  list-style: none;
}
.gg-sector {
  padding: .7rem 1.4rem;
  border: 1px solid var(--gg-grey-400);
  border-radius: 999px;
  background: var(--gg-white);
  color: var(--gg-body);
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  white-space: nowrap;
}

/* Accent text on the dark surfaces. See --gg-accent-light for the contrast
   figures; the base --gg-accent is a mid teal and disappears against them. */
.gg-hero .gg-accent,
.gg-hero__audience { color: var(--gg-accent-light); }
.gg-footer__menu a:hover,
.gg-footer__menu a:focus-visible { color: var(--gg-accent-light); }
