/* ==========================================================================
   GOOD STUART 2026 BRAND LAYER  (gs-brand-2026.css)
   Loads after gs-ds.css. The palette itself lives in the gs-ds.css tokens;
   this file only adds what the tokens can't express: the heading font, the
   final logo sizes, the verdict pills, and the homepage character touches
   (Stuart, the highlighter, the hero texture).

   Brand: Cream #f4efe4 · Yellow #f2cd47 · Sky #4592e5 · Charcoal #242b34 ·
          Royal #245ba2 · Navy #0e2443 · Cobalt #284a8a
   Type:  Hurme Geometric Sans 3 is the brand face. Manrope stands in on the
          web until a Hurme web licence is confirmed.
   ========================================================================== */

:root {
  --gs-font-head: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gs-sky: #4592e5;
  --gs-cream-2: #eae2d1;
  --gs-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Type --------------------------------------------------------------- */
.gs-h1, .gs-h2, .gs-h3, .gs-h4,
.gs-stat__value, .gs-sample__title, .gs-card__title,
.gs-steprail__title, .gs-persona__quote, .gs-faq > summary {
  font-family: var(--gs-font-head);
}
.gs-h1 { letter-spacing: -.03em; }
.gs-h2 { letter-spacing: -.025em; }

/* Eyebrows read as brand on light surfaces; dark surfaces keep their own. */
.surface-base .gs-eyebrow, .surface-subtle .gs-eyebrow { color: var(--gs-brand-700); }

/* ---- Homepage body copy: one size, one line height, one colour ----------
   Ian's system pairs a larger muted .gs-lede with a smaller dark .gs-body, which
   read as two different sizes side by side. On the homepage they match. */
.home .gs-lede,
.home .gs-body:not(.gs-kicker26) {
  font-size: var(--gs-t-lg); line-height: 1.65; color: var(--on-surface-muted);
}
.home .gs-body strong { color: var(--on-surface); }

/* ---- No coloured side-stripes anywhere (Josh: reads as an AI giveaway) ----
   Ian's notes, pull quotes and "pass" samples used a thick left border. They keep
   their tinted panel and full rounded corners instead. */
.gs-note, .gs-note--ok, .gs-sample--pass,
.surface-inverse .gs-note--ok, .surface-brand .gs-note--ok,
.surface-inverse .gs-sample--pass, .surface-brand .gs-sample--pass,
.gs-prose blockquote { border-left: 0 !important; }
.gs-note, .gs-prose blockquote { border-radius: var(--gs-r-md); }

/* ---- Logos -------------------------------------------------------------- */
.gs-brand img.gs-brand__logo { height: 46px; max-height: 46px; }


/* ---- Icon boxes: royal on a pale tint (yellow line icons fail 3:1 on white) */
.surface-base .gs-iconbox, .surface-subtle .gs-iconbox {
  color: var(--gs-brand-600); background: var(--gs-brand-100); border-color: transparent;
}
.surface-base .gs-card__icon, .surface-subtle .gs-card__icon { color: var(--gs-brand-600); }

/* ---- Verdict pills ------------------------------------------------------ */
.gs-verdict {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font: 800 11px/1 var(--gs-font-head); letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--gs-r-pill); padding: 7px 10px 7px 8px;
}
.gs-verdict__icon {
  width: 13px; height: 13px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.gs-verdict--yes { background: var(--gs-brand-100); color: var(--gs-brand-600); }  /* 5.8:1 */
.gs-verdict--no  { background: #efe8da; color: #52585f; }                           /* 5.9:1 */
/* Stuart signs off on a good fit: his face, a check, the words. */
.gs-verdict--stuart { gap: 7px; padding: 5px 12px 5px 6px; font-size: 12px; }
.gs-verdict__stuart { width: 22px; height: auto; display: block; flex: none; }

/* ---- Stuart ------------------------------------------------------------- */
.gs-stuart { display: block; height: auto; filter: drop-shadow(0 14px 18px rgba(14, 36, 67, .18)); }
@keyframes gs-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-6px) rotate(-1.5deg); }
}


/* ---- Custom document icons (2026 brand set, assets/img/icons/) ----------
   Hand-drawn pages: the brand's "someone actually read this" signature.
   Applied with CSS so Ian's shared partials keep their markup. */

/* How it works: one drawing per step (homepage rail) */
.home #how .gs-steprail__item .gs-iconbox {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gs-paper-alt) center / 34px 34px no-repeat;
}
.home #how .gs-steprail__item .gs-iconbox .gs-icon { visibility: hidden; }
.home #how .gs-steprail__item:nth-child(1) .gs-iconbox { background-image: url("../img/icons/clipboard.svg"); }
.home #how .gs-steprail__item:nth-child(2) .gs-iconbox { background-image: url("../img/icons/papers-scattered.svg"); background-size: 40px 32px; }
.home #how .gs-steprail__item:nth-child(3) .gs-iconbox { background-image: url("../img/icons/page-question.svg"); }
.home #how .gs-steprail__item:nth-child(4) .gs-iconbox { background-image: url("../img/icons/page.svg"); }
.home #how .gs-steprail__item:nth-child(5) .gs-iconbox { background-image: url("../img/icons/page-signed.svg"); background-color: var(--gs-accent-500); }

/* Proof bar: a drawing above each number */
.gs-stats26 .gs-grid > div::before {
  content: ""; display: block; grid-column: 1; grid-row: 1 / span 2;
  width: 68px; height: 64px; background: center / contain no-repeat;
}
.gs-stats26 .gs-grid > div:nth-child(1)::before { background-image: url("../img/icons/page-stack.svg"); }
.gs-stats26 .gs-grid > div:nth-child(2)::before { background-image: url("../img/icons/envelope.svg"); }
.gs-stats26 .gs-grid > div:nth-child(3)::before { background-image: url("../img/icons/handshake.svg"); }

/* The problem: the line that turns the section is marked with the highlighter */
.gs-kicker26 { position: relative; font-family: var(--gs-font-head); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.35; letter-spacing: -.01em; max-width: 30ch; }
.gs-kicker26 strong { font-weight: 800; }
/* A hand-drawn arrow from the line to the sample card */
.gs-kicker26::after {
  content: ""; position: absolute; top: 50%; right: -150px; width: 130px; height: 66px;
  transform: translateY(-40%) rotate(-6deg);
  background: url("../img/icons/arrow-hand.svg") center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 1100px) { .gs-kicker26::after { right: -110px; width: 96px; } }
@media (max-width: 899px) {
  .gs-kicker26::after { position: static; display: block; margin: 14px 0 0 40px; width: 76px; height: 70px; transform: rotate(80deg); }
}
.gs-kicker26 strong {
  background: linear-gradient(transparent 55%, var(--gs-accent-500) 55%, var(--gs-accent-500) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
  padding: 0 .08em; margin: 0 -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1s var(--gs-ease) .35s;
}
.gs-scope.gs-js .gs-kicker26[data-gs-reveal]:not(.is-in) strong { background-size: 0 100%; }


/* ---- More of the icon kit (office supplies + pages), homepage ------------ */

/* Origin: a radial burst of the whole kit radiating from behind the story */
.home section:has(.gs-meet26) { position: relative; overflow: hidden; isolation: isolate; }
.home section:has(.gs-meet26)::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; pointer-events: none;
  width: 1600px; height: 1600px; transform: translate(-50%, -50%) rotate(0deg);
  background: url("../img/radial-icons.svg") center / contain no-repeat;
  opacity: .16;
  -webkit-mask-image: radial-gradient(circle at center, transparent 0 250px, #000 440px);
          mask-image: radial-gradient(circle at center, transparent 0 250px, #000 440px);
  animation: gs-spin 180s linear infinite;
}
@keyframes gs-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* How we can help: each card is clipped at the top like a file */
.gs-help26 .gs-persona { position: relative; overflow: visible; }
.gs-help26 .gs-persona::before {
  content: ""; position: absolute; z-index: 3; top: -30px; left: 50%; width: 50px; height: 62px;
  transform: translateX(-50%); pointer-events: none;
  background: url("../img/icons/binder-clip.svg") center top / contain no-repeat;
  filter: drop-shadow(0 3px 3px rgba(14, 36, 67, .2));
}

/* Problem: a paperclip holding the sample verdict */
.gs-sample26::after {
  content: ""; position: absolute; top: -26px; right: 22px; width: 54px; height: 50px;
  background: url("../img/icons/paperclips.svg") center / contain no-repeat;
  transform: rotate(14deg); pointer-events: none;
}

/* How it works: the signature line lives in the "you sign it" note */
.home #how .gs-note { position: relative; padding-left: 76px; }
.home #how .gs-note::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 40px; height: 34px;
  transform: translateY(-50%);
  background: url("../img/icons/pen-signing.svg") center / contain no-repeat;
}

/* Open right now: a marker, ready to mark the ones worth winning */
.home section:has(.gs-scroller) .gs-scroller { margin-top: 56px; }
@media (max-width: 899px) { .home section:has(.gs-scroller) .gs-scroller { margin-top: 36px; } }
.home section:has(.gs-scroller) { position: relative; overflow: hidden; }
.home section:has(.gs-scroller)::after {
  content: ""; position: absolute; top: 64px; right: max(24px, calc(50% - 600px)); width: 132px; height: 128px;
  background: url("../img/icons/marker.svg") center / contain no-repeat;
  transform: rotate(-12deg); pointer-events: none;
  animation: gs-drift-a 12s ease-in-out infinite;
}

/* FAQ: a clipped note and a pen on the desk either side (wide screens) */
.home section:has(.gs-faqs) { position: relative; overflow: hidden; }
.home section:has(.gs-faqs)::before,
.home section:has(.gs-faqs)::after {
  content: ""; position: absolute; pointer-events: none; background: center / contain no-repeat;
}
.home section:has(.gs-faqs)::before {
  width: 150px; height: 160px; top: 110px; left: calc(50% - 560px);
  background-image: url("../img/icons/note-clipped.svg"); transform: rotate(-10deg);
}
.home section:has(.gs-faqs)::after {
  width: 150px; height: 146px; bottom: 90px; right: calc(50% - 570px);
  background-image: url("../img/icons/pen.svg"); transform: rotate(8deg);
}
@media (max-width: 1199px) {
  .home section:has(.gs-faqs)::before, .home section:has(.gs-faqs)::after { display: none; }
}
@media (max-width: 899px) {
  .home section:has(.gs-scroller)::after { width: 76px; height: 74px; top: 36px; }
  .home section:has(.gs-meet26)::before { width: 1100px; height: 1100px; }
}

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

/* Hero: cream, a faint blueprint grid and a warm yellow glow */
.gs-hero26 { position: relative; overflow: hidden; padding-top: 136px; padding-bottom: 148px; }
@media (max-width: 899px) { .gs-hero26 { padding-top: 88px; padding-bottom: 96px; } }
.gs-hero26::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(40, 74, 138, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 74, 138, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 80% 40%, #000 20%, transparent 75%);
}
.gs-hero26::after {
  content: ""; position: absolute; width: 560px; height: 560px; right: -120px; top: -140px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242, 205, 71, .30), transparent 65%);
}
.gs-hero26 > .gs-container { position: relative; z-index: 1; }
.gs-hero26 .gs-h1 { color: var(--gs-brand-700); }

/* The highlighter: someone marked the line that matters. */
.gs-hl {
  color: var(--gs-ink);
  background: linear-gradient(transparent 60%, var(--gs-accent-500) 60%, var(--gs-accent-500) 88%, transparent 88%) no-repeat 0 0 / 100% 100%;
  padding: 0 .04em; margin: 0 -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: gs-hl 1s var(--gs-ease) .45s both;
}
@keyframes gs-hl { from { background-size: 0 100%; } to { background-size: 100% 100%; } }

/* Hero right column: Stuart is the focal point on a soft yellow shape, and the
   "What reaches you" examples scroll beneath him as small widgets. */
.gs-hero26__art { position: relative; display: flex; flex-direction: column; align-items: center; }
.gs-hero26__stage { position: relative; width: 100%; display: grid; place-items: center; min-height: 520px; }
/* The pile: every bid nobody on your team has time to read, stacked behind Stuart. */
.gs-hero26__stage::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 50%; width: 820px; aspect-ratio: 1214.81 / 792.02;
  transform: translate(-38%, -54%);
  background: url("../img/hero-paper-pile.svg") center / contain no-repeat;
  animation: gs-pile-in .9s var(--gs-ease) .15s both;
}
@keyframes gs-pile-in { from { opacity: 0; transform: translate(-38%, -50%) scale(.96); } to { opacity: 1; transform: translate(-38%, -54%) scale(1); } }
.gs-hero26 .gs-split > div:first-child { position: relative; z-index: 2; }
/* Loose pages drifting in the empty space around the headline, never over the text. */
.gs-hero26__float { position: absolute; z-index: -1; pointer-events: none; height: auto; }
.gs-hero26__float--1 { width: 100px; top: -150px; left: -24px; animation: gs-drift-a 9s ease-in-out infinite; }
.gs-hero26__float--2 { width: 124px; top: 34%; left: -210px; animation: gs-drift-b 11s ease-in-out infinite; }
.gs-hero26__float--3 { width: 124px; bottom: -150px; left: 42%; transform: scaleX(-1); animation: gs-drift-flip 10s ease-in-out -3s infinite; }
@keyframes gs-drift-flip { 0%, 100% { transform: scaleX(-1) translate(0, 0) rotate(0); } 50% { transform: scaleX(-1) translate(6px, -10px) rotate(4deg); } }
@keyframes gs-drift-a { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(6px, -10px) rotate(4deg); } }
@keyframes gs-drift-b { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-8px, 8px) rotate(-5deg); } }
@media (max-width: 1559px) { .gs-hero26 .gs-hero26__float--2 { display: none; } }  /* .gs-hero26 prefix: beats .gs-scope img { display:block } */
@media (max-width: 899px) {
  .gs-hero26 .gs-hero26__float--3 { display: none; }
  .gs-hero26 .gs-hero26__float--1 { width: 64px; top: -58px; left: auto; right: 0; }
}
@media (min-width: 900px) and (max-width: 1200px) {
  .gs-hero26__stage::before { width: 560px; transform: translate(-45%, -54%); animation: none; }
}
.gs-hero26__shape {
  position: absolute; left: 50%; top: 50%; width: 410px; height: 410px; z-index: 0;
  transform: translate(-50%, -50%);
  background: var(--gs-accent-500);
  border-radius: 58% 42% 54% 46% / 47% 55% 45% 53%;
  animation: gs-blob 14s ease-in-out infinite;
}
@keyframes gs-blob {
  0%, 100% { border-radius: 58% 42% 54% 46% / 47% 55% 45% 53%; }
  50%      { border-radius: 45% 55% 43% 57% / 56% 44% 56% 44%; }
}
.gs-stuart--hero {
  position: relative; z-index: 1; width: 262px; margin-top: 8px;
  animation: gs-bob 5s ease-in-out infinite;
}

@media (max-width: 899px) {
  .gs-hero26__stage { min-height: 330px; }
  .gs-hero26__stage::before { width: 500px; transform: translate(-50%, -54%); animation: none; }
  .gs-hero26__shape { width: 270px; height: 270px; }
  .gs-stuart--hero { width: 176px; }
}

/* Proof bar: a yellow rule, then the drawing to the left of each number */
.gs-stats26 .gs-grid > div {
  padding-left: 0; border-left: 0;
  display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center;
}
.gs-stats26 .gs-grid > div > * { grid-column: 2; }
.gs-stats26 .gs-stat__value { color: var(--gs-brand-700); font-weight: 800; }

/* Problem: the sample verdict gets a brand stripe */
.gs-sample26 { position: relative; box-shadow: var(--gs-shadow-2); }
.gs-sample26::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gs-brand-700) 0 45%, var(--gs-sky) 45% 75%, var(--gs-accent-500) 75%);
}

/* Origin: meet the team, with Stuart in place of a headshot */
.gs-scope a.gs-meet26 {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 6px 18px 6px 6px; border-radius: var(--gs-r-md);  /* matches .gs-btn */
  background: var(--gs-paper); border: 1px solid var(--border);
  font-weight: 600; color: var(--gs-brand-600);
  transition: box-shadow .2s, transform .2s var(--gs-ease);
}
.gs-scope a.gs-meet26:hover { box-shadow: var(--gs-shadow-2); transform: translateY(-1px); }
.gs-meet26__av {
  width: 42px; height: 42px; border-radius: var(--gs-r-sm); flex: none;
  background: var(--gs-brand-100); display: grid; place-items: center;
}
.gs-meet26__av img { width: 28px; }

/* How it works: who does each step */
.home #how .gs-steprail__item::after {
  content: "Us"; margin-left: auto; order: 4;
  font: 700 11px/1 var(--gs-font-head); letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--gs-r-pill); padding: 7px 10px;
  background: var(--gs-paper-alt); color: #52585f;
}
.home #how .gs-steprail__item:last-child::after { content: "You"; background: var(--gs-accent-500); color: var(--gs-ink); }
.home #how .gs-note { border-left: 0; }

/* How it works as a process: big icon tiles lead each step, joined left to right. */
.home #how .gs-steprail {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px;
  margin-top: 56px; border-top: 0; list-style: none; padding: 0;
}
.home #how .gs-steprail__item {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; flex-wrap: nowrap;
  gap: 10px; padding: 0; border: 0; background: none;
}
.home #how .gs-steprail__item .gs-iconbox {
  order: 1; width: 112px; height: 112px; border-radius: 24px; margin-bottom: 8px;
  background-color: var(--gs-paper-alt); background-size: 64px 64px; box-shadow: var(--gs-shadow-1);
  transition: transform .25s var(--gs-ease), box-shadow .25s var(--gs-ease);
}
.home #how .gs-steprail__item:nth-child(2) .gs-iconbox { background-size: 76px 62px; }
.home #how .gs-steprail__item:nth-child(5) .gs-iconbox { background-color: var(--gs-accent-500); }
.home #how .gs-steprail__item:hover .gs-iconbox { transform: translateY(-4px) rotate(-2deg); box-shadow: var(--gs-shadow-2); }
.home #how .gs-steprail__item .gs-stepnum {
  position: absolute; z-index: 2; top: -10px; left: 94px; margin: 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gs-brand-800); color: #fff; font: 800 14px/1 var(--gs-font-head);
}
.home #how .gs-steprail__item:nth-child(5) .gs-stepnum { background: var(--gs-ink); }
.home #how .gs-steprail__title { order: 2; flex: 0 0 auto; font-size: 19px; line-height: 1.25; }
.home #how .gs-steprail__short { order: 3; font-size: 15px; line-height: 1.5; color: var(--gs-ink-soft); }
.home #how .gs-steprail__item::after { order: 4; margin-left: 0; margin-top: 4px; }
/* the dashed path from one step to the next */
.home #how .gs-steprail__item:not(:last-child)::before {
  content: ""; position: absolute; z-index: 0; top: 56px; left: 124px; right: -24px;
  border-top: 3px dashed rgba(36, 91, 162, .35);
}
@media (max-width: 1080px) {
  .home #how .gs-steprail { grid-template-columns: 1fr; gap: 0; max-width: 640px; }
  .home #how .gs-steprail__item {
    display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; row-gap: 6px;
    align-items: start; padding-bottom: 32px;
  }
  .home #how .gs-steprail__item .gs-iconbox { grid-column: 1; grid-row: 1 / span 3; width: 84px; height: 84px; border-radius: 20px; background-size: 48px 48px; margin: 0; }
  .home #how .gs-steprail__item:nth-child(2) .gs-iconbox { background-size: 56px 46px; }
  .home #how .gs-steprail__item .gs-stepnum { top: -8px; left: 66px; width: 28px; height: 28px; font-size: 13px; }
  .home #how .gs-steprail__title, .home #how .gs-steprail__short, .home #how .gs-steprail__item::after { grid-column: 2; }
  .home #how .gs-steprail__title { margin-top: 6px; }
  .home #how .gs-steprail__item::after { justify-self: start; }
  .home #how .gs-steprail__item:not(:last-child)::before { top: 92px; bottom: 6px; left: 41px; right: auto; border-top: 0; border-left: 3px dashed rgba(36, 91, 162, .35); }
}

/* How we can help: cards lift on hover */
.gs-help26 .gs-persona { transition: transform .3s var(--gs-ease), box-shadow .3s var(--gs-ease); }
.gs-help26 .gs-persona:hover { transform: translateY(-4px); box-shadow: var(--gs-shadow-2); }

/* Industries band: a whisper of Stuart behind the ticker */
.home .surface-brand:has(.gs-ticker) { position: relative; overflow: hidden; }
/* Stuart pattern on cobalt bands: tone-on-tone navy marks, widely spaced, so the
   band still reads as true Cobalt #284A8A rather than being washed lighter. */
.home .surface-brand:has(.gs-ticker)::before,
body:not(.home) .gs-section.surface-brand::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background: url("../img/stuart-pattern-tile.svg") 0 0 / 220px 180px repeat;
  filter: none;
}
.home .surface-brand:has(.gs-ticker) > .gs-container { position: relative; }

/* Closing band: Stuart leans in close, big and cropped by the band's edge. */
.gs-reach26 { position: relative; overflow: hidden; padding-top: 104px; padding-bottom: 104px; }
.gs-reach26 .gs-reach__row {
  position: static;  /* Stuart anchors to the band, not the text block */
  display: grid; grid-template-columns: minmax(0, 620px); grid-template-areas: "text" "actions";
  row-gap: var(--gs-s-5); align-items: start;
}
.gs-reach26 .gs-reach__row > div:first-child { grid-area: text; position: relative; z-index: 1; }
.gs-reach26 .gs-reach__actions { grid-area: actions; justify-content: flex-start; position: relative; z-index: 1; }
.gs-reach26__title { margin: var(--gs-s-2) 0 var(--gs-s-3); font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); }
.gs-stuart--reach {
  position: absolute; z-index: 0; margin: 0;
  width: 520px; right: max(-40px, calc(50% - 720px)); bottom: -300px;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 24px 30px rgba(14, 36, 67, .22));
  animation: gs-lean 6s ease-in-out infinite;
}
@keyframes gs-lean { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-1deg) translateY(-8px); } }
@media (max-width: 1080px) { .gs-stuart--reach { width: 420px; bottom: -250px; right: -60px; } }
@media (max-width: 720px) {
  .gs-reach26 { padding-bottom: 250px; }
  .gs-stuart--reach { width: 300px; right: -30px; bottom: -170px; }
}


/* ==========================================================================
   INNER PAGES (everything except the homepage): restrained.
   Same palette via the tokens; a few quiet brand touches, nothing loud.
   ========================================================================== */

/* Opening band: a faint Stuart watermark in the corner, cropped by the edge. */
body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type { position: relative; overflow: hidden; }
body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container { position: relative; z-index: 1; }
body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: max(24px, calc(50% - 620px)); top: 50%; width: 240px; aspect-ratio: 222.83 / 158;
  background: url("../img/stuart-mark-white.svg") center / contain no-repeat;
  opacity: .09; transform: translateY(-50%) rotate(-6deg);
}
@media (max-width: 899px) {
  body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type::after { display: none; }
}

/* How it works: a signed document sits in the empty left margin instead of Stuart. */
body.page-template-page-how-it-works #gs-main > .gs-section.surface-inverse:first-of-type::after { display: none; }
body.page-template-page-how-it-works #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container::before {
  content: ""; position: absolute; pointer-events: none;
  right: calc(100% + 64px); top: 50%; width: 170px; aspect-ratio: 187.96 / 232.92;
  background: url("../img/icons/page-signed-white.svg") center / contain no-repeat;
  opacity: .12; transform: translateY(-50%) rotate(-8deg);
}
@media (max-width: 1180px) {
  body.page-template-page-how-it-works #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container::before { display: none; }
}

/* Guides: a clipboard on the left. */
body.blog #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container::before {
  content: ""; position: absolute; pointer-events: none;
  right: calc(100% + 64px); top: 50%; width: 150px; aspect-ratio: 174.96 / 255.37;
  background: url("../img/icons/clipboard-white.svg") center / contain no-repeat;
  opacity: .12; transform: translateY(-50%) rotate(-8deg);
}
@media (max-width: 1180px) {
  body.blog #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container::before { display: none; }
}

/* Pricing: full-colour reading Stuart on the right, standing as tall as the
   hero copy (eyebrow to fine print), in place of the faint watermark. */
body.page-template-page-pricing-procurement #gs-main > .gs-section.surface-inverse:first-of-type::after { display: none; }
body.page-template-page-pricing-procurement #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container::after {
  content: ""; position: absolute; pointer-events: none;
  top: 0; bottom: 0; right: 2%; width: auto; aspect-ratio: 1;
  /* Stuart on top; under his feet a flat yellow spotlight (hard edge, no glow). */
  background:
    url("../img/stuart-reading.svg") center top / auto 95% no-repeat,
    radial-gradient(ellipse 44% 5.5% at 44.5% 94%, var(--gs-accent-500) 98%, transparent 100%);
}
@media (max-width: 1080px) {
  body.page-template-page-pricing-procurement #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container::after { display: none; }
}

/* Guides: no Stuart watermark on the right (the document stack is on the left). */
body.blog #gs-main > .gs-section.surface-inverse:first-of-type::after { display: none; }

/* Two-column opening bands (Win more work, Find opportunities, Response services,
   Federal, Portal, Insurance): Stuart on the phone sits above the right-hand box,
   and the faint corner watermark is dropped. */
body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type:has(> .gs-container > .gs-split)::after { display: none; }
body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container > .gs-split > :last-child {
  position: relative; margin-top: 250px;
}
body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container > .gs-split > :last-child::before {
  content: ""; position: absolute; pointer-events: none; z-index: 1;
  bottom: calc(100% - 26px); left: 50%; transform: translateX(-50%);
  width: min(300px, 80%); aspect-ratio: 1139.33 / 1010.58;
  background: url("../img/stuart-phone.svg") center bottom / contain no-repeat;
}
@media (max-width: 899px) {
  body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container > .gs-split > :last-child { margin-top: 200px; }
  body:not(.home) #gs-main > .gs-section.surface-inverse:first-of-type > .gs-container > .gs-split > :last-child::before { width: 230px; }
}

/* Eyebrows get the same short yellow mark as the homepage's highlighter. */
body:not(.home) .gs-section:not(.gs-reach) .gs-eyebrow::before {
  content: ""; display: inline-block; width: 18px; height: 4px; margin: 0 10px 2px 0;
  border-radius: 2px; background: var(--gs-accent-500); vertical-align: middle;
}

/* Process icons: Ian's line icons swap for the hand-drawn document set on light
   surfaces. Same meaning, same slots; the sprite glyph is only hidden. */
body:not(.home) .surface-base .gs-iconbox:has(use),
body:not(.home) .surface-subtle .gs-iconbox:has(use) { background: var(--gs-paper-alt) center / 62% 62% no-repeat; }
body:not(.home) .surface-subtle .gs-iconbox:has(use) { background-color: var(--gs-paper); }
body:not(.home) .gs-iconbox:has(use[href="#gs-i-learn"]),
body:not(.home) .gs-iconbox:has(use[href="#gs-i-find"]),
body:not(.home) .gs-iconbox:has(use[href="#gs-i-vet"]),
body:not(.home) .gs-iconbox:has(use[href="#gs-i-write"]),
body:not(.home) .gs-iconbox:has(use[href="#gs-i-sign"]) { color: transparent; }
body:not(.home) .gs-iconbox:has(use[href="#gs-i-learn"]) { background-image: url("../img/icons/clipboard.svg"); }
body:not(.home) .gs-iconbox:has(use[href="#gs-i-find"])  { background-image: url("../img/icons/papers-scattered.svg"); background-size: 72% 60%; }
body:not(.home) .gs-iconbox:has(use[href="#gs-i-vet"])   { background-image: url("../img/icons/page-question.svg"); }
body:not(.home) .gs-iconbox:has(use[href="#gs-i-write"]) { background-image: url("../img/icons/page.svg"); }
body:not(.home) .gs-iconbox:has(use[href="#gs-i-sign"])  { background-image: url("../img/icons/page-signed.svg"); background-color: var(--gs-accent-500); }
body:not(.home) .gs-iconbox:has(use[href^="#gs-i-learn"]) .gs-icon,
body:not(.home) .gs-iconbox:has(use[href^="#gs-i-find"]) .gs-icon,
body:not(.home) .gs-iconbox:has(use[href^="#gs-i-vet"]) .gs-icon,
body:not(.home) .gs-iconbox:has(use[href^="#gs-i-write"]) .gs-icon,
body:not(.home) .gs-iconbox:has(use[href^="#gs-i-sign"]) .gs-icon { visibility: hidden; }

/* Mid-page cobalt bands: the same faint Stuart pattern as the homepage band. */
body:not(.home) .gs-section.surface-brand { position: relative; overflow: hidden; }
body:not(.home) .gs-section.surface-brand > .gs-container { position: relative; z-index: 1; }


/* Closing strip: a small Stuart waves from the corner. */
.gs-reach:not(.gs-reach26) { position: relative; overflow: hidden; padding-top: 72px; padding-bottom: 72px; }
.gs-reach:not(.gs-reach26) .gs-reach__row { position: relative; z-index: 1; padding-right: 320px; }
.gs-reach:not(.gs-reach26)::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: max(8px, calc(50% - 680px)); bottom: -170px; width: 320px; aspect-ratio: 210.48 / 249.5;
  background: url("../img/stuart-wave.svg") center / contain no-repeat;
  transform: rotate(-5deg);
}
@media (max-width: 880px) {
  .gs-reach:not(.gs-reach26) .gs-reach__row { padding-right: 0; }
  .gs-reach:not(.gs-reach26)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-stuart--hero, .gs-stuart--reach, .gs-hl, .gs-hero26__shape, .gs-hero26__stage::before, .gs-hero26__float,
  .home section:has(.gs-meet26)::before, .home section:has(.gs-scroller)::after { animation: none !important; }
  .gs-hl { background-size: 100% 100%; }
}
