/* Grow Your Fintech: site styles.
   One continuous blue surface (#102596, Alex 2026-11-12) with a faint low-poly pattern behind it
   (assets/images/polygon-bg.svg, from tools/make_polygons.py). The glowing hero scene appears once, on the
   homepage; every other section uses darker blue cards, thin lines and small turquoise and orange accents.
   Every box lifts with a turquoise border and a soft turquoise glow on hover, like the case study cards.
   Colors start from the handoff's brand-tokens.css (reference/design-handoff/). */

:root {
  /* Brand tokens (handoff brand-tokens.css), checked against the rendered concept */
  --gyf-purple: #102596;            /* site background blue (Alex, 2026-11-12) */
  --gyf-purple-deep: #0b1a70;
  --gyf-purple-card: #0d1f82;
  --gyf-white: #faf8ff;
  --gyf-muted: #c9d3f5;
  --gyf-turquoise: #00f3d2;
  --gyf-orange: #fd5113;
  --gyf-focus: #ffffff;
  --gyf-content-max: 1440px;

  /* Derived surfaces */
  --hero-bg: #2b0251;          /* homepage hero background, kept apart from the art; final colour to come from Alex */
  --card-hover: #142c9e;
  --line: #3550c4;             /* card borders and rules */
  --line-soft: #24399f;
  --field: #0b1b74;
  --error: #ff8a5c;            /* readable on purple: 8:1 */
  --turquoise-hover: #6bfde8;
  --box-glow: 0 0 0 1px rgba(0, 243, 210, 0.4), 0 0 24px rgba(0, 243, 210, 0.3);  /* box hover glow */

  /* Inter and Inter Tight (Alex, 2026-11-10), self-hosted in css/fonts.css */
  --font-display: "Inter Tight", "Inter", Arial, sans-serif;
  --font-body: "Inter", system-ui, Arial, sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --section-y: clamp(44px, 4.5vw, 64px);
  --radius: 10px;
  --header-logo: 220px;

  /* Spacing and easing used by the case study and contact widget styles (from the case study layout) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;
  --radius-card: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--gyf-purple);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: transparent;   /* the blue sits on html so the fixed pattern below can show between them */
  color: var(--gyf-white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* The low-poly overlay, a seamless tile repeated and fixed behind the whole page (Alex, 2026-11-12) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../assets/images/polygon-bg.svg") center top / 1400px 900px repeat;
}

img,
svg,
picture { display: block; max-width: 100%; }

img { height: auto; }

a { color: var(--gyf-turquoise); text-underline-offset: 0.2em; }
a:hover { color: var(--turquoise-hover); }

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--gyf-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

[id] { scroll-margin-top: 24px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gyf-white);
  color: var(--gyf-purple-deep);
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--gyf-content-max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.narrow { max-width: calc(820px + var(--pad) * 2); }

/* Open item still to resolve before launch (business detail, blank or approval). Visible in review on purpose;
   tools/check_site.py lists them and tools/make_dist.py refuses to build while any remain. */
.todo {
  background: rgba(253, 81, 19, 0.16);
  color: #ffd2c2;
  border: 1px dashed var(--gyf-orange);
  border-radius: 4px;
  padding: 0 0.3em;
  font-style: normal;
  font-weight: 600;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.8em 1.45em;
  border: 2px solid var(--gyf-turquoise);
  border-radius: 7px;
  background: var(--gyf-turquoise);
  color: var(--gyf-purple-deep);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--turquoise-hover);
  border-color: var(--turquoise-hover);
  color: var(--gyf-purple-deep);
  box-shadow: 0 0 24px rgba(0, 243, 210, 0.35);
}
.btn:disabled { opacity: 0.6; cursor: progress; box-shadow: none; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-outline {
  background: transparent;
  color: var(--gyf-turquoise);
}
.btn-outline:hover { background: rgba(0, 243, 210, 0.1); color: var(--turquoise-hover); }

/* White text over a short orange rule, as in the mockup's secondary link */
.link-rule {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gyf-white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gyf-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.55em;
}
.link-rule:hover { color: var(--gyf-white); text-decoration-color: var(--gyf-turquoise); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  color: var(--gyf-turquoise);
  font-weight: 700;
  text-decoration: none;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  padding-block: 12px;
}

.brand { display: block; flex: none; line-height: 0; border-radius: 6px; }
.brand-wordmark { width: var(--header-logo); height: auto; }
.brand-icon { display: none; width: auto; height: 40px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 37, 150, 0.6);
  color: var(--gyf-white);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open { display: block; }

.nav-list { list-style: none; }
.nav-list a,
.nav-trigger {
  color: var(--gyf-white);
  text-decoration: none;
  font-weight: 600;
}
.nav-list a:hover { color: var(--gyf-turquoise); }
.nav-list a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--gyf-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

.nav-item-menu { position: relative; }
.nav-item-row { display: flex; align-items: center; }

.nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  cursor: pointer;
}
.nav-trigger svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.nav-item-menu.is-open .nav-trigger svg { transform: rotate(180deg); }

.nav-panel { display: none; }
.nav-item-menu.is-open .nav-panel { display: block; }

.nav-panel ul { list-style: none; }
.nav-panel a { display: block; }
.nav-panel .panel-name { display: block; font-weight: 700; }
.nav-panel .panel-desc { display: block; color: var(--gyf-muted); font-weight: 400; font-size: 0.875rem; line-height: 1.4; }
.nav-panel a:hover .panel-name { color: var(--gyf-turquoise); }

/* Phone and tablet menu: a panel under the header */
@media (max-width: 1099.98px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 100%);
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    padding: 8px var(--pad) 28px;
    background: var(--gyf-purple-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  }
  .nav-list > li { border-bottom: 1px solid var(--line-soft); }
  .nav-list > li > a,
  .nav-item-row > a {
    display: flex;
    align-items: center;
    min-height: 56px;
    font-size: 1.125rem;
    flex: 1;
  }
  .nav-trigger { width: 48px; height: 48px; }
  .nav-panel { padding: 0 0 16px 12px; }
  .nav-panel a { padding: 10px 0; }
  .nav-cta { padding-top: 20px; border-bottom: 0 !important; }
  .nav-cta .btn { width: 100%; }
}

@media (max-width: 599.98px) {
  .brand-wordmark { display: none; }
  .brand-icon { display: block; }
}

@media (min-width: 1100px) {
  :root { --header-logo: clamp(190px, 14vw, 240px); }
  .nav-toggle { display: none; }
  .header-inner { padding-block: 14px; }
  .site-nav { display: flex !important; flex: 1; align-items: center; justify-content: space-between; gap: 24px; }
  .nav-list { display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); padding-left: clamp(16px, 3.4vw, 64px); }
  .nav-list > li > a,
  .nav-item-row > a { font-size: 1rem; font-weight: 500; }
  .nav-list a[aria-current] { text-underline-offset: 0.5em; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn { font-size: 0.9375rem; min-height: 44px; padding-block: 0.6em; padding-inline: 1.1em; }
  .nav-item-row { gap: 2px; }

  .nav-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: -24px;
    width: min(640px, 70vw);
    padding: 20px;
    background: var(--gyf-purple-deep);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
  .nav-panel::before { /* keeps the menu open while the pointer crosses the gap */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
  }
  .nav-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .nav-panel a { padding: 10px 12px; border-radius: 8px; }
  .nav-panel a:hover { background: var(--gyf-purple-card); }
  .nav-panel .panel-all { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 10px; }
}

/* ---------- Homepage hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  /* fades to transparent so the blue and the polygon overlay come through with no edge (Alex, 2026-11-12) */
  background: linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg) 45%,
    color-mix(in srgb, var(--hero-bg) 55%, transparent) 72%, transparent 100%);
}

.hero-content { position: relative; z-index: 1; padding-inline: var(--pad); }
.home .site-header { background: var(--hero-bg); }

.eyebrow-hero {
  margin: 0 0 0.9em;
  font-size: clamp(0.75rem, 1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gyf-white);
}
.eyebrow-hero::after { /* sits after the last word, so it follows the text when it wraps on phones */
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 5.5em;
  height: 3px;
  margin-left: 0.9em;
  background: var(--gyf-orange);
}
@media (max-width: 479.98px) {
  .eyebrow-hero { letter-spacing: 0.16em; }
  .eyebrow-hero::after { width: 3em; }
}

.hero-title {
  max-width: 9.2em;
  margin: 0;
  font-size: clamp(2.25rem, 7.4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: initial;
}
.hero-title .line-grow { display: block; font-size: 1.1em; line-height: 1; margin-top: 0.02em; white-space: nowrap; }
.hero-title em { font-style: italic; }
.hero-title .t { color: var(--gyf-turquoise); }
.hero-title .o { color: var(--gyf-orange); }

.hero-lede {
  max-width: 41em;
  margin: 1.2em 0 0;
  color: var(--gyf-white);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  margin-top: 1.75rem;
}

/* V2 hero art (Alex, 2026-11-12, reference/design-handoff/V2-HERO-ANIMATION.md): three transparent layers on
   one 3:2 canvas, stacked at exactly the same size in .hero-art, so any sizing or crop applies to all of them.
   The background is the hero's own (--hero-bg), not part of the art. */
.hero-media { position: relative; z-index: 0; pointer-events: none; user-select: none; }
.hero-art { position: relative; aspect-ratio: 3 / 2; }
.hero-art picture,
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The cable runs from just inside the upper hoist (x 55.55%, y 10.94% of the canvas) to just inside the top of
   the hanging ring, so both ends are hidden by the art. It sits behind the tile layer and grows with it. */
.hero-cable {
  position: absolute;
  left: 55.55%;
  top: 10.94%;
  width: max(2px, 0.24%);
  height: 10.3%;                       /* 0.8% overlap into the ring + the 9.5% drop */
  transform: translateX(-50%) scaleY(0.078);
  transform-origin: 50% 0;
  background: linear-gradient(90deg, #8c5a08, #f2c04a 45%, #ffe39a 55%, #8c5a08);
  border-radius: 1px;
}
.hero-cable,
.hero-art-tile { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-cable,
  .hero-art-tile { display: block; }
  .hero-art-tile,
  .hero-cable { animation: 14s cubic-bezier(0.37, 0, 0.63, 1) 1.2s infinite both; will-change: transform; }
  .hero-art-tile { animation-name: hero-tile-lower; }
  .hero-cable { animation-name: hero-cable-lower; }
  .hero-art.is-paused .hero-art-tile,
  .hero-art.is-paused .hero-cable { animation-play-state: paused; }
}

/* Alex, 2026-11-12: slower and calmer, and lower. 14s loop with sine easing: rest 1s, lower 5s, hold 2s, rise 5s,
   rest 1s. The drop is 9.5% of the canvas (292 of 3072 source pixels); the tile's edges would meet the orange and
   blue top-row tiles at 349, so about 57 source pixels of gap stay visible. Both layers share timing, so the
   cable's end tracks the ring. */
@keyframes hero-tile-lower {
  0%, 7%    { transform: translateY(0); }
  43%, 57%  { transform: translateY(9.5%); }
  93%, 100% { transform: translateY(0); }
}
@keyframes hero-cable-lower {
  0%, 7%    { transform: translateX(-50%) scaleY(0.078); }
  43%, 57%  { transform: translateX(-50%) scaleY(1); }
  93%, 100% { transform: translateX(-50%) scaleY(0.078); }
}

/* Stacked hero (phones and tablets): text first, then the art below it */
@media (max-width: 1179.98px) {
  .hero-content { padding-top: clamp(12px, 3vw, 32px); }
  .hero-media {
    width: min(100%, 720px);
    margin: clamp(16px, 4vw, 40px) 0 clamp(20px, 4vw, 40px) auto;
    padding-inline: clamp(0px, 2vw, 24px);
  }
}

@media (max-width: 599.98px) {
  .hero-actions { gap: 8px 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-media { width: 100%; margin-top: 20px; padding-inline: 4px; }
}

/* Desktop hero: live text on the left, the art bottom right at --art of the hero's width. --u is 1% of the
   hero's width. The hero is tall enough for the art to sit below the header and clear of the text. */
@media (min-width: 1180px) {
  :root { --u: min(1vw, 19.2px); }
  .home .site-header { position: absolute; top: 0; left: 0; right: 0; background: none; }
  .home .header-inner { padding-inline: calc(var(--u) * 5.7) calc(var(--u) * 2.9); }

  .hero {
    --u: min(1vw, 19.2px);
    --art: calc(var(--u) * 60);
    min-height: calc(var(--art) * 2 / 3 + 96px + var(--u) * 3);
  }
  .hero-content {
    padding: calc(28px + var(--header-logo) * 0.3084 + var(--u) * 2.4) calc(var(--u) * 5.7) calc(var(--u) * 4);
  }
  .eyebrow-hero { font-size: max(0.75rem, min(calc(var(--u) * 0.85), 0.875rem)); }
  .hero-title { font-size: min(calc(var(--u) * 4.9), 5.25rem); max-width: 9.3em; }
  .hero-lede { max-width: max(30em, calc(var(--u) * 38)); margin-top: calc(var(--u) * 1.9); font-size: max(1rem, min(calc(var(--u) * 1.22), 1.25rem)); }
  .hero-actions { gap: 16px calc(var(--u) * 2.6); margin-top: calc(var(--u) * 2.5); }
  .hero-actions .btn { font-size: 1rem; min-height: 48px; padding-inline: 1.4em; }
  .hero-actions .link-rule { font-size: 1rem; }

  .hero-media {
    position: absolute;
    right: calc(var(--u) * 1.5);
    bottom: calc(var(--u) * 2);
    width: var(--art);
    z-index: -1;
  }
}

/* Very wide screens: the content and art stay within 1920px, centred */
@media (min-width: 1921px) {
  .home .header-inner,
  .hero-content { max-width: 1920px; margin-inline: auto; }
  .hero-media { right: calc((100% - 1920px) / 2 + var(--u) * 1.5); }
}

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(44px, 5vw, 72px);
  background:
    radial-gradient(ellipse 70% 120% at 85% -10%, rgba(70, 120, 255, 0.28) 0%, rgba(16, 37, 150, 0) 60%),
    var(--gyf-purple);
}
.page-title {
  max-width: 16em;
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.page-lede {
  max-width: 44em;
  margin: 1.25em 0 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--gyf-muted);
}
.page-hero .btn { margin-top: 2rem; }


/* ---------- Sections ---------- */

.section { position: relative; padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * 0.6); }
.section + .section { padding-top: calc(var(--section-y) * 0.55); }
.section-band { background: rgba(11, 26, 112, 0.72); border-block: 1px solid var(--line-soft); }
.section-band + .section { padding-top: var(--section-y); }
.section + .section-band { margin-top: calc(var(--section-y) * 0.45); }

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gyf-white);
}
.eyebrow::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 56px;
  height: 3px;
  margin-left: 16px;
  background: var(--gyf-orange);
}

.section-head { position: relative; max-width: 56em; margin-bottom: clamp(32px, 4vw, 52px); }
.section-title { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.08; }
.section-title em { font-style: italic; color: var(--gyf-turquoise); }
.section-title .o { color: var(--gyf-orange); }
.section-lede { margin: 16px 0 0; max-width: 46em; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--gyf-muted); }
.section-foot { margin-top: 28px; }


/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--gyf-purple-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.2; }
.card p { margin: 10px 0 0; color: var(--gyf-muted); }
.card .rule { display: block; width: 44px; height: 3px; margin-top: 22px; background: var(--gyf-orange); }

.card-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 640px) { .card-grid-2, .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card-icon { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.icon { width: 44px; height: 44px; }
.icon path, .icon rect, .icon circle, .icon line, .icon polyline { fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.icon .i-t { stroke: var(--gyf-turquoise); }
.icon .i-o { stroke: var(--gyf-orange); }
.icon .i-dot { fill: var(--gyf-orange); stroke: none; }

.aside-note { margin-top: 28px; font-size: 1.0625rem; color: var(--gyf-muted); }
.aside-note a { font-weight: 700; }

/* ---------- Experience in numbers ---------- */

.stats { display: grid; gap: clamp(16px, 2vw, 24px); }
.stat { padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--gyf-purple-card); }
.stat-figure {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gyf-white);
}
.stat-figure::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 18px; background: var(--gyf-orange); }
.stat-desc { margin: 14px 0 0; color: var(--gyf-white); font-size: 1.0625rem; }
.stat-def { margin: 10px 0 0; color: var(--gyf-muted); font-size: 0.9375rem; line-height: 1.55; }

@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Program rows (What we run) ---------- */

.program-list { list-style: none; border-top: 1px solid var(--line); }
.program-list li { border-bottom: 1px solid var(--line); }
.program-list a {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 6px 24px;
  align-items: center;
  padding: 20px 4px;
  color: var(--gyf-white);
  text-decoration: none;
}
.program-list .p-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; }
.program-list .p-desc { grid-column: 1; color: var(--gyf-muted); font-size: 1rem; }
.program-list svg { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; color: var(--gyf-turquoise); transition: transform 0.15s ease; }
.program-list a:hover .p-name { color: var(--gyf-turquoise); }
.program-list a:hover svg { transform: translateX(4px); }
@media (min-width: 860px) {
  .program-list a { grid-template-columns: minmax(220px, 0.8fr) 2fr 28px; padding: 22px 8px; }
  .program-list .p-desc { grid-column: 2; }
  .program-list svg { grid-row: 1; grid-column: 3; }
}

/* ---------- Two-column feature (AI automation, About) ---------- */

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr 0.9fr; } }
.split-copy > p { color: var(--gyf-muted); font-size: 1.125rem; }
.split-copy .section-title + p { margin-top: 20px; }
.split-copy > p.strong { color: var(--gyf-white); }
.split-copy .btn { margin-top: 12px; }

.check-list { list-style: none; display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 30px; color: var(--gyf-muted); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gyf-turquoise);
  border-radius: 2px;
  transform: rotate(45deg);
}
.check-list strong { color: var(--gyf-white); }

.proof-line {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gyf-orange);
  background: rgba(13, 31, 130, 0.7);
  border-radius: 0 8px 8px 0;
  color: var(--gyf-white) !important;
  font-size: 1rem !important;
}

.card-title-sm { margin-bottom: 18px; font-size: 0.8125rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gyf-white); }

/* ---------- Steps (Audit, build, run) ---------- */

.steps { list-style: none; display: grid; gap: 32px; counter-reset: step; }
.step { position: relative; padding-left: 40px; }
.step::before { /* dot */
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gyf-turquoise);
  box-shadow: 0 0 14px rgba(0, 243, 210, 0.55);
}
.step:nth-child(even)::before { background: var(--gyf-orange); box-shadow: 0 0 14px rgba(253, 81, 19, 0.55); }
.step::after { /* connecting line */
  content: "";
  position: absolute;
  left: 8px;
  top: 28px;
  bottom: -26px;
  width: 2px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.step-num { display: block; margin-bottom: 6px; color: var(--gyf-orange); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.06em; }
.step h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.step p { margin: 12px 0 0; color: var(--gyf-muted); max-width: 30em; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { padding-left: 0; padding-top: 48px; }
  .step::before { top: 0; }
  .step::after { left: 26px; right: -34px; top: 8px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- About ---------- */

.roles-list { list-style: none; display: grid; gap: 10px; margin-top: 28px; }
.roles-list li { color: var(--gyf-muted); font-size: 1rem; }
.roles-list strong { color: var(--gyf-white); }

/* ---------- Brands ---------- */

.brand-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.brand-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gyf-muted);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
  flex-direction: column;
  gap: 6px;
}
@media (min-width: 640px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .brand-grid { grid-template-columns: repeat(5, 1fr); } }

/* Logo version (StartEngine case study's "Issuers Worked With"): the logos are drawn for light backgrounds, so their
   tiles are light; --h on each img evens out how big the marks look */
.brand-logos { font-size: 1.1rem; }
.brand-logos li { min-height: 6.5rem; padding: 1rem 0.75rem; background: #fefefa; border-color: transparent; transition: border-color 200ms, transform 250ms var(--ease), box-shadow 250ms var(--ease); }
.brand-logos li:hover { border-color: var(--gyf-turquoise); transform: translateY(-3px); box-shadow: var(--box-glow); }
.brand-logos img { display: block; height: var(--h, 2em); width: auto; max-width: min(100%, 9em); object-fit: contain; }
.brands-more { margin-top: var(--space-4); }
.brands-more summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--gyf-white);
  font-weight: 600;
  transition: border-color 200ms;
}
.brands-more summary:hover { border-color: var(--gyf-turquoise); }
.brands-more summary::-webkit-details-marker { display: none; }
.brands-more summary::after { content: "+"; font-weight: 700; color: var(--gyf-orange); }
.brands-more[open] summary::after { content: "\2212"; }
.brands-more[open] summary { margin-bottom: var(--space-3); }
.brand-grid-more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; }
.brand-grid-more li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gyf-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.2;
  text-align: center;
}
@media (max-width: 1024px) { .brand-grid-more { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) {
  .brand-logos li { min-height: 4.75rem; padding: 0.6rem 0.4rem; }
  .brand-grid-more { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
}

/* ---------- Quotes ---------- */

.quotes { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 960px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; display: flex; flex-direction: column; }
.quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--gyf-white); }
.quote blockquote p { margin: 0 0 0.9em; }
.quote blockquote::before { content: "\201C"; display: block; height: 0.55em; margin-bottom: 8px; font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: var(--gyf-turquoise); }
.quote figcaption { margin-top: auto; padding-top: 18px; color: var(--gyf-muted); font-size: 0.9375rem; }
.quote figcaption strong { color: var(--gyf-white); }

.quotes-stack { grid-template-columns: 1fr !important; }

/* ---------- FAQ ---------- */

.faq { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2.5px solid var(--gyf-turquoise);
  border-bottom: 2.5px solid var(--gyf-turquoise);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--gyf-turquoise); }
.faq .answer { padding: 0 4px 22px; color: var(--gyf-muted); max-width: 46em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Contact widget ---------- */

/* The closing contact widget (Alex, 2026-11-10), on the purple surface: copy and steps on the left,
   Alex's contact card on the right, both columns the same height. The homepage's About section uses the card. */
.contact-widget { padding-block: clamp(40px, 4.5vw, 64px); }
.cw-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: var(--space-4) 2.5rem;
  padding: clamp(1.5rem, 1rem + 2.2vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(253, 81, 19, 0.16), transparent 70%),
    radial-gradient(50% 70% at 100% 0%, rgba(0, 243, 210, 0.08), transparent 70%),
    var(--gyf-purple-card);
}
.cw-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cw-title { max-width: 18ch; font-size: clamp(1.85rem, 1.25rem + 1.7vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.cw-title span { color: var(--gyf-orange); }
.cw-lede { margin: var(--space-3) 0 0; max-width: 34rem; color: var(--gyf-muted); font-size: 1.125rem; }
.cw-steps {
  list-style: none;
  counter-reset: step;
  margin: var(--space-3) 0 0;
  padding: var(--space-3) 0 0;
  max-width: 34rem;
  border-top: 1px solid var(--line);
}
.cw-steps li { counter-increment: step; position: relative; padding: 0 0 var(--space-2) 2.6rem; color: var(--gyf-muted); }
.cw-steps li:last-child { padding-bottom: 0; }
.cw-steps strong { color: var(--gyf-white); font-weight: 600; }
.cw-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -0.05rem;
  width: 1.8rem; height: 1.8rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gyf-orange);
  border-radius: 50%;
  color: var(--gyf-orange);
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-card {
  justify-self: end;
  display: flex;
  flex-direction: column;
  width: calc(100% - 12px);
  max-width: 30rem;
  padding: var(--space-4);
  border-radius: var(--radius-card);
  background: var(--gyf-white);
  color: var(--gyf-purple-deep);
  text-align: center;
  box-shadow: 12px 12px 0 var(--gyf-orange);
}
.contact-card-photo {
  width: 6.5rem;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, #e6dcf5, #cfeee9);
}
/* Crops the 4:5 cutout to head and shoulders */
.contact-card-photo img { width: 134%; max-width: none; margin: -7% 0 0 -17%; }
.contact-card-name { margin: var(--space-2) 0 0.15rem; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; }
.contact-card-role { margin: 0 auto; max-width: 22rem; color: #4a3a63; font-size: 0.95rem; }
.contact-card-list {
  list-style: none;
  margin: var(--space-3) 0;
  padding: var(--space-2) 0 0;
  border-top: 1px solid #ddd3ea;
  text-align: left;
}
.contact-card-list li { position: relative; padding: 0.3rem 0 0.3rem 2.1rem; }
.contact-card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4rem;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--gyf-purple);
}
.contact-card-list li::after {
  content: "";
  position: absolute;
  left: 0.4rem; top: 0.75rem;
  width: 0.5rem; height: 0.28rem;
  border-left: 2px solid var(--gyf-turquoise);
  border-bottom: 2px solid var(--gyf-turquoise);
  transform: rotate(-45deg);
}
.contact-card .btn { width: 100%; margin-top: auto; background: var(--gyf-purple); border-color: var(--gyf-purple); color: var(--gyf-white); }
.contact-card .btn:hover { background: var(--gyf-turquoise); border-color: var(--gyf-turquoise); color: var(--gyf-purple-deep); }
.contact-card :focus-visible { outline-color: var(--gyf-purple); }
/* Homepage About: the card sits beside the copy */
.split .contact-card { align-self: center; }

@media (max-width: 900px) {
  .cw-panel { grid-template-columns: 1fr; }
  .contact-card { justify-self: start; }
}
@media (max-width: 560px) {
  .contact-card { padding: var(--space-4) var(--space-3) var(--space-3); box-shadow: 8px 8px 0 var(--gyf-orange); width: calc(100% - 8px); }
}

/* ---------- Services page ---------- */

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; list-style: none; }
.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gyf-white);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.jump-links a:hover { border-color: var(--gyf-turquoise); color: var(--gyf-turquoise); }

.service { padding-block: clamp(36px, 4vw, 60px); border-top: 1px solid var(--line-soft); }
.service:first-of-type { border-top: 0; }
.service-grid { display: grid; gap: 28px clamp(32px, 5vw, 72px); }
@media (min-width: 980px) { .service-grid { grid-template-columns: 1fr 1fr; } }
.service h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.service .service-body { margin: 18px 0 0; font-size: 1.1875rem; color: var(--gyf-white); max-width: 34em; }
.service h3 { margin: 0 0 14px; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gyf-white); }
.service-block + .service-block { margin-top: 28px; }
.service-block > p { color: var(--gyf-muted); }
.service-block > p strong { color: var(--gyf-white); font-weight: 600; }
.bullets { list-style: none; display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; color: var(--gyf-muted); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--gyf-turquoise); border-radius: 1px; }
.bullets-orange li::before { background: var(--gyf-orange); }
.prior-roles { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--gyf-purple-card); }
.prior-roles .bullets li { color: var(--gyf-white); }
.fit-line { margin: 20px 0 0; color: var(--gyf-white); }
.fit-line span { color: var(--gyf-turquoise); font-weight: 700; }
.service-note { margin: 18px 0 0; font-size: 0.9375rem; color: var(--gyf-muted); }
.service .btn { margin-top: 24px; }

.who-grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 720px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
.who-grid li { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--gyf-purple-card); color: var(--gyf-muted); }
.who-grid strong { display: block; margin-bottom: 6px; color: var(--gyf-white); font-family: var(--font-display); font-size: 1.1875rem; }

/* ---------- Case studies ---------- */

/* The case study layout (Alex, 2026-11-10: a photo-led case study style):
   photo hero, figures band, the story in one column with a sticky "On this page" list, then related
   pages. Drawn on the purple surface. */

.list-title-on-dark { color: var(--gyf-muted) !important; }
.list-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gyf-muted);
  margin: 0 0 var(--space-2);
}
.capability-list {
  margin: 0;
  background: var(--gyf-purple-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gyf-purple-card);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 40px -30px rgba(11, 26, 112, 0.45);
}
.capability-list div {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: var(--space-3);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.capability-list div:last-child { border-bottom: 0; }
.capability-list dt { font-weight: 700; }
.capability-list dd { margin: 0; color: var(--gyf-muted); }
.capability-list { overflow: hidden; }
.capability-list div { transition: background-color 200ms, border-color 200ms; }
.capability-list dt, .capability-list dd { transition: color 200ms; }
.capability-list div:hover { background: var(--gyf-purple-card); border-bottom-color: var(--line); }
.capability-list div:hover dt,
.capability-list div:hover dd { color: #fff; }
.cs-messaging { margin-block: var(--space-3); }
.cs-messaging div { grid-template-columns: 10rem 1fr; }
.cs-messaging dd strong { display: block; margin-bottom: 0.2rem; }
.cs-video { margin-top: var(--space-3); }
.crumbs {
  font-size: 0.9rem;
  color: var(--gyf-muted);
  margin-bottom: var(--space-3);
}
.crumbs a { color: var(--gyf-turquoise); }
.related-section { border-top: 1px solid var(--line); }
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (min-width: 1101px) {
  .related-list:has(> li:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .related-list:has(> li:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 861px) {
  .related-list.cs-records { grid-template-columns: repeat(2, 1fr); }
}
.cs-records { margin-top: var(--space-3); }
.related-list a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  height: 100%;
  padding: var(--space-3);
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(80% 90% at 100% 100%, rgba(0, 243, 210, 0.16), transparent 70%),
    var(--gyf-purple-card);
  border: 1px solid rgba(0, 243, 210, 0.35);
  border-radius: var(--radius-card);
  transition: border-color 200ms, box-shadow 250ms var(--ease), transform 250ms var(--ease);
}
.related-kind {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gyf-muted);
}
.related-list strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gyf-turquoise);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.related-list strong::after { content: "\2192"; font-size: 1rem; transition: transform 200ms var(--ease); }
.related-list span:last-child { color: var(--gyf-muted); }
.related-list a:hover, .related-list a:focus-visible {
  border-color: var(--gyf-turquoise);
  box-shadow: var(--box-glow);
  transform: translateY(-3px);
}
.related-list a:hover strong::after, .related-list a:focus-visible strong::after { transform: translateX(4px); }
.reg-box {
  border: 1.5px dashed #5a72d0;
  border-radius: var(--radius-card);
  padding: var(--space-4);
  background: var(--gyf-purple-card);
  max-width: 56rem;
}
.reg-box h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gyf-orange);
  margin: 0 0 var(--space-2);
}
.reg-box p { margin: 0 0 var(--space-2); }
.reg-box .reg-sources { margin: 0; font-size: 0.9rem; color: var(--gyf-muted); }
.cs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 62vh, 620px);
  padding: var(--space-6) 0 var(--space-5);
  background: var(--gyf-purple-deep);
  color: #fff;
}
.cs-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.cs-hero-media.cs-hero-media-side {
  left: auto;
  right: 0;
  width: 58%;
  object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
}
.cs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--gyf-purple-deep) 0%, rgba(11, 26, 112, 0.82) 32%, rgba(11, 26, 112, 0.4) 72%, rgba(11, 26, 112, 0.3) 100%),
    linear-gradient(90deg, rgba(11, 26, 112, 0.7) 0%, rgba(11, 26, 112, 0) 62%);
}
.cs-hero .crumbs { color: var(--gyf-muted); margin-bottom: var(--space-1); }
.cs-hero .crumbs a { color: #fff; }
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.cs-back::before { content: "\2190"; color: var(--gyf-orange); transition: transform 200ms var(--ease); }
.cs-back:hover::before, .cs-back:focus-visible::before { transform: translateX(-3px); }
.cs-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--space-2) 0 var(--space-3);
  padding: 0;
}
.cs-tags li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cs-tags .cs-tag-path { background: var(--gyf-turquoise); color: var(--gyf-purple-deep); }
.cs-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 1.6rem + 5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 var(--space-2);
}
.cs-lede {
  max-width: 34rem;
  margin: 0 0 var(--space-3);
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
  line-height: 1.3;
  color: #e2e8fb;
  text-wrap: balance;
}
.cs-role {
  max-width: 36rem;
  margin: 0;
  padding-left: var(--space-2);
  border-left: 3px solid var(--gyf-orange);
  font-size: 0.92rem;
  color: var(--gyf-muted);
}
.cs-stats-band { background: var(--gyf-purple-deep); color: #fff; padding: 0 0 var(--space-5); }
.cs-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin: 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}
.cs-stat-value {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cs-stats .cs-stat-value { color: var(--gyf-orange); }
.cs-stats:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.cs-stat-label {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cs-stat-note { margin: 0.35rem 0 0; font-size: 0.88rem; color: var(--gyf-muted); }
.cs-stats .cs-stat-note { color: var(--gyf-muted); }
.cs-stats-def {
  max-width: 52rem;
  margin: var(--space-4) auto 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--gyf-muted);
}
.cs-body { padding: var(--space-4) 0 var(--space-6); }
.cs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14rem;
  gap: var(--space-6);
  align-items: start;
}
.cs-content { max-width: 48rem; }
.cs-block { padding: var(--space-5) 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.cs-block:first-child { border-top: 0; }
.cs-block > p { margin: 0 0 var(--space-3); max-width: 44rem; }
.cs-intro { font-size: 1.3rem; line-height: 1.5; }
.cs-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
.cs-note { color: var(--gyf-muted); }
.cs-figure { margin: var(--space-4) 0 0; }
.cs-figure img { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #FEFEFA; transition: border-color 200ms; }
.cs-figure img.is-zoomable { cursor: zoom-in; }
.cs-figure img.is-zoomable:hover { border-color: var(--gyf-turquoise); }
.cs-figure img.is-zoomable:focus-visible { outline: 3px solid var(--gyf-turquoise); outline-offset: 3px; }
.cs-figure figcaption { margin-top: var(--space-1); font-size: 0.88rem; color: var(--gyf-muted); }
.cs-chart {
  display: block;
  width: 100%;
  height: auto;
  padding: var(--space-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--gyf-purple-card);
  font-family: var(--font-body);
}
.cs-chart-grid { stroke: var(--line); stroke-width: 1; }
.cs-chart-axis { fill: var(--gyf-muted); font-size: 20px; }
.cs-chart-value { fill: var(--gyf-white); font-size: 22px; font-weight: 600; text-anchor: middle; }
.cs-chart-bar { fill: var(--gyf-turquoise); }
.cs-chart-bar.is-peak { fill: var(--gyf-orange); }
.cs-chart-col:hover .cs-chart-bar { filter: brightness(0.88); }
.cs-chart-track { fill: var(--line-soft); }
.cs-chart-label { fill: var(--gyf-white); font-size: 20px; font-weight: 600; }
.cs-chart-sub { fill: var(--gyf-muted); font-size: 15px; }
.cs-chart-num { fill: var(--gyf-white); font-size: 21px; font-weight: 700; }
.cs-logos { margin-top: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-logos-label {
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gyf-muted);
}
.cs-logos-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.cs-steps .cs-logos-list li { display: block; padding: 0; border: 0; }
.cs-logos-list img { display: block; height: var(--h, 2.2rem); width: auto; max-width: 100%; }
.cs-scope { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.cs-list-gap { margin-top: var(--space-4); }
.cs-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.cs-pills li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--line-soft);
  font-weight: 600;
  font-size: 0.9rem;
}
.cs-pills-quiet li { background: transparent; border: 1.5px solid var(--line); font-weight: 500; }
.cs-steps { list-style: none; margin: 0; padding: 0; }
.cs-steps li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
}
.cs-steps li:first-child { border-top: 0; padding-top: var(--space-1); }
.cs-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gyf-turquoise);
}
.cs-steps h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.2; margin: 0.2rem 0 0.5rem; }
.cs-steps p { margin: 0; color: var(--gyf-muted); }
.cs-steps p + p { margin-top: var(--space-2); }
.cs-steps .cs-figure, .cs-steps .cs-figure-pair { margin-top: var(--space-3); }
.cs-figure-pair { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-4); }
.cs-figure-pair .cs-figure { flex: var(--ar, 1) 1 0; min-width: 0; margin: 0; }
.cs-figure-narrow { max-width: 20rem; }
.cs-figure-mid { max-width: 30.5rem; }
.cs-tags .keep-case { text-transform: none; }
.cs-moves {
  list-style: none;
  counter-reset: move;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
}
.cs-moves li {
  counter-increment: move;
  display: flex;
  gap: 0.9rem;
  padding: var(--space-3);
  background: var(--gyf-purple-card);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cs-moves li::before { content: counter(move) "."; font-family: var(--font-body); font-weight: 600; color: var(--gyf-orange); }
.cs-results {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin: var(--space-4) 0 0;
  padding: 0;
}
.cs-results li {
  padding: var(--space-3);
  background: var(--gyf-purple-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gyf-turquoise);
  border-radius: var(--radius);
}
.cs-results li:nth-child(n+4) { border-top-color: var(--gyf-orange); }
.cs-results > li:nth-child(3):last-child { grid-column: 1 / -1; }
.cs-results .cs-stat-value { color: var(--gyf-turquoise); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); }
.cs-timeline { list-style: none; position: relative; margin: 0; padding: 0 0 0 1.9rem; }
.cs-timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem; top: 0.6rem; bottom: 0.6rem;
  width: 2px;
  background: var(--line);
}
.cs-timeline li { position: relative; padding: 0 0 var(--space-3); }
.cs-timeline li:last-child { padding-bottom: 0; }
.cs-timeline li::before {
  content: "";
  position: absolute;
  left: -1.9rem; top: 0.15rem;
  width: 1rem; height: 1rem;
  border-radius: 50%;
  background: var(--gyf-purple);
  border: 3px solid var(--gyf-orange);
}
.cs-timeline p { margin: 0; }
.cs-timeline .cs-when {
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gyf-orange);
}
.cs-learnings { list-style: none; counter-reset: learn; display: grid; gap: var(--space-2); margin: 0; padding: 0; }
.cs-learnings li {
  counter-increment: learn;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--gyf-purple-card);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cs-learnings li::before {
  content: counter(learn);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--gyf-turquoise);
}
.cs-quote {
  margin: 0;
  padding: var(--space-4);
  background: var(--gyf-purple-deep);
  color: #fff;
  border-left: 4px solid var(--gyf-orange);
  border-radius: var(--radius);
}
.cs-quote blockquote { margin: 0 0 var(--space-3); }
.cs-quote blockquote p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.45; }
.cs-quote blockquote p + p { margin-top: var(--space-2); }
.cs-quote figcaption { display: flex; align-items: center; gap: 0.9rem; font-size: 0.95rem; color: var(--gyf-muted); }
.cs-quote figcaption strong { display: block; color: #fff; }
.cs-quote-photo { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--gyf-orange); background: var(--line-soft); }
.cs-quotes { display: grid; gap: var(--space-3); }
.cs-quotes .cs-quote blockquote p { font-size: 1.12rem; }
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(3.5rem, 6vw, 4.5rem) clamp(0.75rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(11, 26, 112, 0.9); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; max-width: 100%; max-height: 100%; }
.lightbox img {
  width: auto;
  height: auto;
  max-width: min(100%, 1600px);
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
  border-radius: 8px;
  background: #FEFEFA;
}
.lightbox figcaption { max-width: 60ch; text-align: center; font-size: 0.92rem; color: #e2e8fb; }
.lightbox-close {
  position: fixed;
  top: 0.9rem; right: 0.9rem;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(11, 26, 112, 0.6);
  color: #fff;
  cursor: pointer;
}
.lightbox-close:hover { background: #fff; color: var(--gyf-purple-deep); }
.lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.cs-toc { display: block; position: sticky; top: 100px; padding-top: var(--space-5); }
.cs-toc-title {
  margin: 0 0 var(--space-1);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gyf-muted);
}
.cs-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.cs-toc a {
  display: block;
  margin-left: -1px;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 2px solid transparent;
  color: var(--gyf-muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 160ms, border-color 160ms;
}
.cs-toc a:hover { color: var(--gyf-turquoise); }
.cs-toc a[aria-current] { color: var(--gyf-white); font-weight: 600; border-left-color: var(--gyf-orange); }
.cs-index { padding-top: var(--space-5); }
.cs-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.cs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--gyf-purple-card);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 200ms, transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.cs-card:hover, .cs-card:focus-within { border-color: var(--gyf-turquoise); transform: translateY(-3px); box-shadow: var(--box-glow); }
.cs-card-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--gyf-purple-deep);
}
.cs-card-media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--focus, 50% 50%);
  transition: transform 600ms var(--ease);
}
.cs-card:hover .cs-card-media img { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.cs-card-media .cs-card-logo { object-fit: contain; background: #45C2C6; }
.cs-card-body .cs-tags { margin: 0 0 var(--space-2); }
.cs-card-body .cs-tags li { background: var(--line-soft); color: var(--gyf-white); }
.cs-card-body .cs-tags .cs-tag-path { background: var(--gyf-turquoise); color: var(--gyf-purple-deep); }
.cs-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
}
.cs-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.5rem + 1.1vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-1);
}
.cs-card-lede { min-height: 4.2em; margin: 0 0 var(--space-3); font-size: 1.1rem; line-height: 1.4; text-wrap: balance; }
.cs-card-stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: 0 0 var(--space-3);
  padding: var(--space-3) 0 0;
  border-top: 1px solid var(--line);
}
.cs-card-stats .cs-stat-value { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); color: var(--gyf-turquoise); }
.cs-card-role { margin: 0 0 var(--space-3); font-size: 0.9rem; color: var(--gyf-muted); }
.cs-card-link { margin-top: auto; align-self: flex-start; }
.cs-card-link::after { content: ""; position: absolute; inset: 0; }
.cs-index-note { margin-top: var(--space-5); }
.cs-cards.cs-cards-feature { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-4); }
.cs-cards-feature .cs-card { flex-direction: row; }
.cs-cards-feature .cs-card-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 20rem; }
.cs-cards-feature .cs-card-body { padding: var(--space-4); }
.cs-cards-feature .cs-card-lede { min-height: 0; }
@media (max-width: 1100px) {
  .cs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .cs-grid { grid-template-columns: 1fr; }
  }
@media (max-width: 860px) {
  .cs-cards { grid-template-columns: 1fr; }
  .cs-hero:has(.cs-hero-media-side) { flex-direction: column; align-items: stretch; padding-top: 0; }
  .cs-hero:has(.cs-hero-media-side)::before { display: none; }
  .cs-hero-media.cs-hero-media-side {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: var(--space-3);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .cs-card-lede { min-height: 0; }
  .cs-cards-feature .cs-card { flex-direction: column; }
  .cs-cards-feature .cs-card-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .cs-cards-feature .cs-card-body { padding: var(--space-3); }
  .cs-stats { grid-template-columns: 1fr 1fr; row-gap: var(--space-4); }
  .cs-stats:has(> li:nth-child(3):last-child) { grid-template-columns: 1fr 1fr; }
  .cs-stats > li:nth-child(3):last-child { grid-column: 1 / -1; }
  .cs-scope { grid-template-columns: 1fr; gap: var(--space-4); }
  .cs-moves { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cs-hero { min-height: 440px; padding: var(--space-5) 0 var(--space-4); }
  .cs-card-body { padding: var(--space-3); }
  .cs-stats-def { text-align: left; }
  .cs-block { padding: var(--space-4) 0; }
  .cs-intro { font-size: 1.15rem; }
  .cs-steps li { grid-template-columns: 1fr; gap: 0.25rem; }
  .cs-step-num { font-size: 1.6rem; }
  .cs-results { grid-template-columns: 1fr; }
  .cs-moves li, .cs-learnings li, .cs-results li { padding: var(--space-2) var(--space-3); }
  .cs-figure-pair { flex-direction: column; }
  .cs-figure-pair .cs-figure { flex: none; width: 100%; }
  .cs-figure-pair .cs-figure-tall { max-width: 18rem; }
  .cs-quote { padding: var(--space-3); }
  .cs-quote blockquote p { font-size: 1.12rem; }
}
@media (max-width: 560px) {
}
.se-video { margin: 0; }
.se-video.cs-video + .se-video.cs-video { margin-top: var(--space-4); }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--gyf-purple-card);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute;
  inset: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(55% 75% at 0% 100%, rgba(253, 81, 19, 0.22), transparent 70%),
    var(--gyf-purple-card);
}
.video-poster::before,
.video-poster::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 243, 210, 0.22);
  pointer-events: none;
}
.video-poster::before { top: -55%; right: -18%; width: 70%; }
.video-poster::after { top: -30%; right: -6%; width: 44%; border-color: rgba(0, 243, 210, 0.14); }
.video-poster-photo { background: var(--gyf-purple-card); }
.video-poster-photo::before, .video-poster-photo::after { display: none; }
.video-poster-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.video-poster-photo::after {
  display: block;
  inset: 0; top: auto; right: auto; width: 100%; height: 55%;
  aspect-ratio: auto; border: 0; border-radius: 0;
  background: linear-gradient(to top, rgba(11, 26, 112, 0.92), rgba(11, 26, 112, 0));
}
.video-play {
  position: absolute;
  top: 44%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(56px, 8vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gyf-orange);
  transform: translate(-50%, -50%);
  transition: transform 250ms var(--ease);
}
.video-play::before {
  content: "";
  width: 32%;
  height: 38%;
  margin-left: 8%;
  background: var(--gyf-purple-deep);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.video-poster:hover .video-play,
.video-poster:focus-visible .video-play { transform: translate(-50%, -50%) scale(1.07); }
.video-poster:focus-visible { outline-offset: -4px; }
.video-kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gyf-orange);
}
.video-title {
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.45rem);
  line-height: 1.2;
}
.se-video figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--gyf-muted); }
@media (min-width: 861px) {
}
@media (max-width: 560px) {
  .video-play { top: 34%; }
}

.text-link {
  color: var(--gyf-white);
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 0;
  background-image: linear-gradient(var(--gyf-orange), var(--gyf-orange));
  background-size: 100% 2px;
  background-position: 0 calc(100% - 0.35rem);
  background-repeat: no-repeat;
  transition: background-size 250ms var(--ease);
}
.text-link:hover { color: var(--gyf-white); background-size: 40% 2px; }
.text-link::after { content: "\2192"; display: inline-block; margin-left: 0.5rem; color: var(--gyf-orange); transition: transform 200ms var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
/* The card link covers the whole card, so its arrow moves to a ::before and its ::after is the cover */
.text-link.cs-card-link::after { content: ""; position: absolute; inset: 0; margin: 0; transform: none; }
.text-link.cs-card-link { display: inline-flex; gap: 0.5rem; }
.text-link.cs-card-link::before { content: "\2192"; order: 1; color: var(--gyf-orange); transition: transform 200ms var(--ease); }
.text-link.cs-card-link:hover::before { transform: translateX(3px); }

/* Additions for the purple surface */
.cs-hero .cs-tags li { color: var(--gyf-white); }
.cs-hero .cs-tags .cs-tag-path, .cs-card-body .cs-tags .cs-tag-path { color: var(--gyf-purple-deep); }
.cs-block { border-top-color: var(--line-soft); }
.cs-block > p, .cs-scope li, .cs-moves li, .cs-learnings li, .cs-timeline p:not(.cs-when) { color: var(--gyf-muted); }
.cs-block > p strong { color: var(--gyf-white); }
.cs-intro { color: var(--gyf-white) !important; }
.cs-steps h3, .cs-results .cs-stat-label, .cs-card-title, .cs-card-lede { color: var(--gyf-white); }
.cs-content .eyebrow { margin-bottom: 14px; }
.cs-content .faq { border-top: 0; }
.cs-content .check-list li { color: var(--gyf-muted); }
.cs-figure img { background: #fefefa; }
.related-section { border-top: 0; }
.cs-toc ol { padding: 0; }

/* StartEngine case study: issuer cards two across inside the story column, the quote below them, the closing buttons,
   and the landing page and ad examples (three columns, the landing page across two of them beside the first ad;
   each opens larger in the lightbox) */
.cs-content .cs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.cs-cards + .cs-quote { margin-top: var(--space-5); }
.cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: var(--space-3); }
.se-examples { margin-top: var(--space-5); }
.se-subtitle { margin: 0 0 var(--space-2); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.15; color: var(--gyf-white); }
.se-examples-grid { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); align-items: start; }
.se-example-wide { grid-column: span 2; }
.se-example .cs-figure { margin: 0; }
.se-example:not(.se-example-wide) img { aspect-ratio: 1 / 1; object-fit: cover; }
.se-examples-note { margin: var(--space-3) 0 0; font-size: 0.88rem; color: var(--gyf-muted); max-width: 70ch; }
@media (max-width: 860px) {
  .se-examples-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
}
@media (max-width: 600px) {
  .cs-content .cs-cards { grid-template-columns: 1fr; }
}


/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr); } }

.form-group { margin: 0 0 40px; padding: 0; border: 0; min-width: 0; }
.form-legend { display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 24px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.form-step { color: var(--gyf-orange); font-size: 0.75em; letter-spacing: 0.04em; }

.field { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field > legend,
.field > label { display: block; margin-bottom: 10px; padding: 0; font-weight: 600; color: var(--gyf-white); }
.field .optional { color: var(--gyf-muted); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="url"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #4a63cf;
  border-radius: 8px;
  background: var(--field);
  color: var(--gyf-white);
  font-size: 1.0625rem;
}
.field input:focus { border-color: var(--gyf-turquoise); }
.field input:focus-visible { outline: 3px solid var(--gyf-focus); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #4a63cf;
  border-radius: 8px;
  background: var(--field);
  color: var(--gyf-white);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.choice input:hover + span { border-color: var(--gyf-turquoise); }
.choice input:checked + span { background: var(--gyf-turquoise); border-color: var(--gyf-turquoise); color: var(--gyf-purple-deep); }
.choice input:focus-visible + span { outline: 3px solid var(--gyf-focus); outline-offset: 2px; }
.choice-field.is-invalid .choice span { border-color: var(--error); }
@media (max-width: 479.98px) {
  .choices { flex-direction: column; }
  .choice span { width: 100%; }
}

.field-error { margin: 8px 0 0; color: var(--error); font-size: 0.9375rem; font-weight: 600; }
.form-help { margin: -8px 0 24px; color: var(--gyf-muted); font-size: 0.9375rem; }
.form-summary { margin-bottom: 28px; padding: 16px 18px; border: 1px solid var(--error); border-radius: 8px; color: var(--gyf-white); }
.form-summary p { margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .btn { min-width: 200px; }
.form-status { margin: 0; color: var(--gyf-white); font-weight: 600; }
.form-status.is-error { color: var(--error); }
.form-done { padding: 28px; border: 1px solid var(--gyf-turquoise); border-radius: var(--radius); background: var(--gyf-purple-card); margin-bottom: 40px; }
.form-done h2 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); margin-bottom: 10px; }
.form-done p { margin: 0; color: var(--gyf-muted); }

.schedule { padding-top: 40px; border-top: 1px solid var(--line-soft); }
.schedule h3 { margin-bottom: 8px; font-size: 1.25rem; }
.schedule > p { color: var(--gyf-muted); }
.cal-embed { min-height: 520px; margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.cal-embed.is-gated { min-height: 0; padding: 24px; border: 1px dashed var(--line); }
.cal-embed.is-gated p { margin: 0 0 16px; color: var(--gyf-muted); font-size: 0.9375rem; }
.cal-fallback { padding: 20px; color: var(--gyf-muted); }

.aside-card { padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--gyf-purple-card); }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h2 { margin-bottom: 20px; font-size: 1.375rem; }
.next-steps { list-style: none; display: grid; gap: 20px; counter-reset: next; }
.next-steps li { position: relative; padding-left: 44px; counter-increment: next; color: var(--gyf-muted); }
.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gyf-turquoise);
  color: var(--gyf-purple-deep);
  font-weight: 700;
  font-size: 0.875rem;
}
.next-steps strong { display: block; color: var(--gyf-white); }
.aside-la { background: linear-gradient(135deg, #1a3cc0 0%, var(--gyf-purple-card) 100%); }
.aside-la p { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

/* ---------- Legal pages ---------- */

.legal { max-width: 820px; }
.legal h2 { margin: 44px 0 14px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.legal p,
.legal li { color: var(--gyf-muted); }
.legal p strong { color: var(--gyf-white); }
.legal ul { display: grid; gap: 8px; padding-left: 1.25em; }
.legal-meta { color: var(--gyf-muted); font-size: 0.9375rem; }
.review-note { margin-top: 24px; padding: 16px 18px; border: 1px dashed var(--gyf-orange); border-radius: 8px; color: #ffd2c2 !important; font-size: 0.9375rem; }

/* ---------- Footer ---------- */

.site-footer { padding: clamp(56px, 6vw, 80px) 0 40px; background: var(--gyf-purple-deep); border-top: 1px solid var(--line-soft); }
.footer-top { display: grid; gap: 32px 48px; padding-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 900px) { .footer-top { grid-template-columns: auto 1fr; align-items: start; } }
.footer-brand img { width: 320px; max-width: 100%; height: auto; }
.footer-brand p { margin: 18px 0 0; max-width: 26em; color: var(--gyf-muted); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; justify-content: flex-start; }
@media (min-width: 900px) { .footer-links { justify-content: flex-end; } }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gyf-white); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--gyf-turquoise); }
.footer-cta { margin-top: 16px; display: flex; justify-content: flex-start; }
@media (min-width: 900px) { .footer-cta { justify-content: flex-end; } }
.footer-legal { padding-top: 28px; display: grid; gap: 12px; color: #b3bfe8; font-size: 0.875rem; line-height: 1.6; }
.footer-legal p { margin: 0; max-width: 72em; }

/* ---------- 404 ---------- */

.not-found { padding-block: clamp(80px, 12vw, 160px); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .contact-widget, .hero-media, .nav-toggle { display: none !important; }
  body, html { background: #fff; color: #000; }
}

/* ---------- Small additions ---------- */

.service-lead { margin-top: 28px; }
.optional-inline { font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--gyf-muted); letter-spacing: 0; }
.card-grid { list-style: none; }


/* ---------- Box hover (Alex, 2026-11-12) ----------
   Every box highlights like the case study cards: a turquoise border, a 3px lift and a soft turquoise glow. */
.card, .stat, .prior-roles, .reg-box, .cs-moves li, .cs-results li, .cs-learnings li, .cs-quote {
  transition: border-color 200ms, transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.card:hover, .stat:hover, .prior-roles:hover, .reg-box:hover,
.cs-moves li:hover, .cs-results li:hover, .cs-learnings li:hover, .cs-quote:hover {
  border-color: var(--gyf-turquoise);
  transform: translateY(-3px);
  box-shadow: var(--box-glow);
}
@media (prefers-reduced-motion: reduce) {
  .card, .stat, .prior-roles, .reg-box, .cs-moves li, .cs-results li, .cs-learnings li, .cs-quote, .cs-card, .related-list a { transform: none !important; }
}

/* A case study block with no page behind it (the UBS summary on work.html): no link, body copy in normal paragraphs */
.cs-card-title.cs-card-title-sm { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.8rem); line-height: 1.15; margin-bottom: var(--space-2); }
.cs-card-static .cs-card-body p { margin: 0 0 var(--space-2); color: var(--gyf-muted); }
.cs-card-static .cs-card-body p:last-child { margin-bottom: 0; }

/* Homepage case study slider (Alex, 2026-11-12): every case study card in one sideways row, arrows in the heading. */
.cs-slider-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); max-width: none; }
.cs-slider-head .section-title { margin-bottom: 0; }
.cs-slider-nav { display: flex; gap: 0.75rem; flex: none; }
.cs-slider-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--gyf-purple-card); color: var(--gyf-white);
  cursor: pointer; transition: border-color 200ms, box-shadow 250ms var(--ease), opacity 200ms;
}
.cs-slider-btn svg { width: 22px; height: 22px; }
.cs-slider-btn:hover:not(:disabled), .cs-slider-btn:focus-visible { border-color: var(--gyf-turquoise); box-shadow: var(--box-glow); }
.cs-slider-btn:focus-visible { outline: 2px solid var(--gyf-turquoise); outline-offset: 3px; }
.cs-slider-btn:disabled { opacity: 0.35; cursor: default; }
.cs-cards.cs-slider-track {
  display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 8px 4px 20px; margin: -8px -4px -20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.cs-slider-track:focus-visible { outline: 2px solid var(--gyf-turquoise); outline-offset: 4px; border-radius: 10px; }
.cs-slider-track > .cs-card { flex: 0 0 calc((100% - 2 * var(--space-4)) / 3); scroll-snap-align: start; }
@media (max-width: 1100px) { .cs-slider-track > .cs-card { flex-basis: calc((100% - var(--space-4)) / 2); } }
@media (max-width: 860px) { .cs-slider-track > .cs-card { flex-basis: 86%; } }
@media (max-width: 480px) { .cs-slider-btn { width: 42px; height: 42px; } }

/* "Who leads the work" without its card, above the contact widget (Alex, 2026-11-12) */
@media (min-width: 960px) { .split.split-solo { grid-template-columns: minmax(0, 860px); } }
