/* GMS Global — site styles
   Colours live in :root below. Change them there and the whole site follows. */

:root {
  --night: #0F1B36;      /* dark sections, header */
  --night-2: #16264A;    /* raised surfaces on dark */
  --ink: #14213D;        /* text on light */
  --ink-soft: #4A5470;
  --on-dark-soft: #B9C3DA;
  --mist: #F3F5F2;       /* light page background */
  --paper: #FFFFFF;
  --line: #DCE1DA;
  --line-dark: rgba(255, 255, 255, .12);
  --cobalt: #2D5BFF;     /* marketing, primary buttons */
  --cobalt-deep: #1E43D1;
  --cobalt-tint: #E6ECFF;
  --mint: #7FD1B9;       /* automation on dark */
  --sage: #2F7D6D;       /* automation on light */
  --sage-tint: #E3EFEB;
  --marigold: #F4B23E;   /* single highlight */
  --wa: #25D366;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.18rem, 1.1rem + .4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --step-3: clamp(2rem, 1.55rem + 2vw, 3.1rem);
  --step-4: clamp(2.7rem, 1.7rem + 4.6vw, 5.6rem);

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(8, 15, 35, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font-body); text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt-deep); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Dark surfaces ---------- */
.dark { background: var(--night); color: #fff; }
.dark .lede, .dark p { color: var(--on-dark-soft); }
.dark h1, .dark h2, .dark h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 var(--step-0)/1 var(--font-body);
  padding: .95em 1.45em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 30px -10px rgba(45, 91, 255, .7); }
.btn-primary:hover { background: var(--cobalt-deep); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dark .btn-ghost { color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--night); border-color: #fff; }
.btn-sm { padding: .7em 1.15em; font-size: var(--step--1); }
.btn-lg { padding: 1.1em 1.8em; }

/* ---------- Header ---------- */
.site-header { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font: 800 1.25rem/1 var(--font-display); letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark rect { fill: #fff; }
.brand-mark path { stroke: var(--night); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--on-dark-soft); text-decoration: none; font-weight: 600; font-size: var(--step--1); padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--marigold); }
.nav-toggle { display: none; }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; font: 600 var(--step--1)/1 var(--font-body); background: none; border: 2px solid rgba(255,255,255,.5); color: #fff; border-radius: 999px; padding: .55em 1em; cursor: pointer; }
  .site-nav { position: absolute; inset: 100% 0 auto 0; background: var(--night); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 1.5rem; display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: .25rem; }
  .site-nav a:not(.btn) { display: block; font-size: var(--step-1); padding: .5rem 0; color: #fff; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section-paper { background: var(--paper); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 46rem; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.dark .section-head p { color: var(--on-dark-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 5.5rem); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; top: -25%; right: -15%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgba(45, 91, 255, .45), rgba(45, 91, 255, 0));
}
.hero::after {
  content: ""; position: absolute; bottom: -35%; left: -15%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px; z-index: -1;
  background: radial-gradient(closest-side, rgba(127, 209, 185, .2), rgba(127, 209, 185, 0));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { max-width: 11ch; }
.hero h1 .line-2 { display: block; color: var(--mint); }
.hero .lede { max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.promises { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: var(--step--1); color: var(--on-dark-soft); }
.promises li { display: flex; align-items: center; gap: .45rem; }
.promises svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* Hero visual: photo with floating cards */
.hero-visual { position: relative; padding: 2.5rem 0 3rem 2.5rem; max-width: 34rem; justify-self: end; width: 100%; }
.hero-photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--night-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 20px 50px -18px rgba(5, 10, 30, .6); padding: .9rem 1rem; font-size: .85rem; line-height: 1.35; }
.float small { color: var(--ink-soft); font-size: .75rem; }
.float-ad { top: 0; left: 0; width: min(15.5rem, 58%); }
.float-ad .row { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.float-ad .big { font: 800 1.6rem/1 var(--font-display); letter-spacing: -.02em; }
.float-ad .up { color: var(--sage); font-weight: 700; font-size: .78rem; }
.float-ad svg { width: 100%; height: 42px; margin-top: .4rem; }
.float-crm { right: -1rem; top: 40%; width: min(15rem, 56%); }
.float-crm .who { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.float-crm .av { width: 34px; height: 34px; border-radius: 50%; background: var(--cobalt-tint); color: var(--cobalt-deep); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
.float-crm .who strong { display: block; font-size: .9rem; }
.pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.pill { display: inline-block; padding: .2em .65em; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.pill-hot { background: #FFE9D6; color: #A3480A; }
.pill-new { background: var(--sage-tint); color: var(--sage); }
.pill-src { background: var(--cobalt-tint); color: var(--cobalt-deep); }
.float-wa { left: 0; bottom: 0; width: min(17rem, 66%); background: #E7F7EC; padding: .75rem; }
.float-wa .head { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .78rem; color: #0B6B3A; margin-bottom: .5rem; }
.float-wa .head i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); display: inline-block; }
.bubble { background: #fff; border-radius: 12px 12px 12px 4px; padding: .55rem .7rem; font-size: .82rem; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.bubble .meta { display: block; text-align: right; color: #5E6C66; font-size: .68rem; margin-top: .2rem; }
.bubble .meta b { color: #1F8FD1; font-weight: 700; }
.float-tag { position: absolute; right: 1.25rem; bottom: 4.5rem; background: var(--marigold); color: var(--night); font-weight: 700; font-size: .78rem; padding: .45em .9em; border-radius: 999px; box-shadow: 0 10px 25px -10px rgba(0,0,0,.5); }

@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .float, .float-tag { animation: pop .6s cubic-bezier(.2, .9, .3, 1.2) both; }
  .float-ad { animation-delay: .45s; }
  .float-crm { animation-delay: .9s; }
  .float-wa { animation-delay: 1.35s; }
  .float-tag { animation-delay: 1.8s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
}
@media (max-width: 920px) { .hero-visual { justify-self: center; } }
@media (max-width: 520px) {
  .hero-visual { padding: 1.75rem 0 2.25rem 0; }
  .hero-photo { aspect-ratio: 1 / 1.05; }
  .float { font-size: .75rem; padding: .6rem .7rem; border-radius: 12px; }
  .float small { font-size: .68rem; }
  .float-ad { width: 50%; }
  .float-ad .big { font-size: 1.15rem; }
  .float-ad .up { font-size: .68rem; }
  .float-ad svg { height: 24px; }
  .float-crm { right: -.25rem; top: 38%; width: 52%; }
  .float-crm .av { width: 28px; height: 28px; font-size: .7rem; }
  .float-crm .pill-src, .float-crm .pill-new { display: none; }
  .float-wa { width: 70%; padding: .55rem; }
  .bubble { font-size: .74rem; }
  .float-tag { display: none; }
}

/* ---------- Platform strip ---------- */
.platforms { border-top: 1px solid var(--line-dark); padding-block: 1.75rem; overflow: hidden; }
.platforms p { margin: 0 0 1rem; font-size: var(--step--1); color: var(--on-dark-soft); }
.marquee { display: flex; gap: 3rem; width: max-content; }
.marquee ul { list-style: none; display: flex; gap: 3rem; margin: 0; padding: 0; }
.marquee li { font: 700 1.25rem/1 var(--font-display); color: rgba(255,255,255,.6); white-space: nowrap; letter-spacing: -.01em; }
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: slide 45s linear infinite; }
  @keyframes slide { to { transform: translateX(calc(-50% - 1.5rem)); } }
}

/* ---------- Two disciplines: photo panels ---------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.panel { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 36rem; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; background: var(--night); }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 27, 54, .05) 0%, rgba(15, 27, 54, .5) 38%, rgba(15, 27, 54, .97) 75%); }
.panel:hover > img { transform: scale(1.04); }
.panel-body { padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.panel .tag { display: inline-block; font-size: var(--step--1); font-weight: 700; padding: .35em .85em; border-radius: 999px; margin-bottom: 1rem; }
.panel-m .tag { background: var(--cobalt); color: #fff; }
.panel-a .tag { background: var(--mint); color: var(--night); }
.panel h3 { font-size: var(--step-2); color: #fff; }
.panel p { color: #D5DCEC; }
.panel ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.panel li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: .4em .85em; border-radius: 999px; font-size: var(--step--1); }
.panel .btn { background: #fff; color: var(--night); }
.panel .btn:hover { background: var(--marigold); color: var(--night); }
@media (max-width: 820px) { .panels { grid-template-columns: 1fr; } .panel { min-height: 30rem; } }

/* ---------- Speed-to-lead section ---------- */
.speed { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.1rem; }
.points li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; }
.points .ic { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--sage-tint); color: var(--sage); }
.points .ic svg { width: 20px; height: 20px; }
.points strong { display: block; }
.points span { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 900px) { .speed { grid-template-columns: 1fr; } }

.journey { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.3rem; box-shadow: 0 30px 70px -35px rgba(20, 33, 61, .45); }
.journey-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 1.1rem; font-size: var(--step--1); color: var(--ink-soft); }
.journey-title strong { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -.01em; }
.journey ol { list-style: none; margin: 0; padding: 0; position: relative; }
.journey ol::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.journey li { display: grid; grid-template-columns: 32px 1fr auto; gap: .9rem; align-items: start; padding: .55rem 0; position: relative; }
.journey .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem/1 var(--font-body); color: #fff; position: relative; z-index: 1; }
.journey .m .dot { background: var(--cobalt); }
.journey .a .dot { background: var(--sage); }
.journey .win .dot { background: var(--marigold); color: var(--ink); }
.journey .what { font-weight: 600; line-height: 1.35; }
.journey .what small { display: block; font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); margin-top: .15rem; }
.journey time { font-size: var(--step--1); color: var(--ink-soft); font-variant-numeric: tabular-nums; padding-top: .3rem; }
.journey-legend { display: flex; gap: 1.25rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: var(--step--1); color: var(--ink-soft); }
.journey-legend span::before { content: ""; display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .45em; vertical-align: -.05em; }
.journey-legend .lm::before { background: var(--cobalt); }
.journey-legend .la::before { background: var(--sage); }

/* ---------- Process (a real sequence, so it's numbered) ---------- */
.process { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process li { counter-increment: step; border-top: 3px solid var(--marigold); padding-top: 1.1rem; }
.process li::before { content: counter(step); font: 800 var(--step-3)/1 var(--font-display); color: rgba(255,255,255,.22); display: block; margin-bottom: .6rem; }
.process p { font-size: var(--step--1); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Photo + text band ---------- */
.band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.band-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.band-photo img { width: 100%; height: 100%; object-fit: cover; }
.band.flip .band-photo { order: 2; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band.flip .band-photo { order: 0; } }
.faces { display: flex; padding-left: 12px; margin: 1.5rem 0; }
.faces > span { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--paper); margin-left: -12px; overflow: hidden; background: var(--night); display: grid; place-items: center; color: var(--marigold); font: 800 .95rem/1 var(--font-display); }
.faces img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bento (marketing services) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tile h3 { font-size: var(--step-2); }
.tile .outcome { font-weight: 600; color: var(--ink); }
.tile ul { margin: .25rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: var(--step--1); }
.tile li { margin: .3rem 0; }
.tile-photo { padding: 0; }
.tile-photo .ph { aspect-ratio: 16 / 8; overflow: hidden; }
.tile-photo .ph img { width: 100%; height: 100%; object-fit: cover; }
.tile-photo .tb { padding: clamp(1.4rem, 3vw, 2rem); }
.t-span-4 { grid-column: span 4; }
.t-span-3 { grid-column: span 3; }
.t-span-2 { grid-column: span 2; }
.tile-dark { background: var(--night); border-color: var(--night); color: #fff; }
.tile-dark h3, .tile-dark .outcome { color: #fff; }
.tile-dark ul { color: var(--on-dark-soft); }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .t-span-4, .t-span-3, .t-span-2 { grid-column: span 1; } .t-wide { grid-column: 1 / -1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .t-wide { grid-column: auto; } }

/* Mini browser mockup inside the websites tile */
.mini-browser { margin-top: auto; padding-top: 1.25rem; }
.mini-browser .frame { border-radius: 10px; border: 1px solid var(--line-dark); overflow: hidden; background: var(--night-2); }
.mini-browser .bar { display: flex; gap: 5px; padding: 7px 9px; border-bottom: 1px solid var(--line-dark); }
.mini-browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mini-browser .pg { padding: 14px; display: grid; gap: 8px; }
.mini-browser .pg b { display: block; height: 12px; border-radius: 4px; background: #fff; width: 70%; }
.mini-browser .pg s { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.2); }
.mini-browser .pg s:nth-of-type(2) { width: 80%; }
.mini-browser .pg u { display: block; height: 20px; width: 40%; border-radius: 999px; background: var(--cobalt); margin-top: 4px; }

/* Search result mockup inside the SEO tile */
.serp { margin-top: auto; padding-top: 1.25rem; }
.serp .res { background: var(--mist); border-radius: 10px; padding: .85rem .95rem; font-size: .8rem; line-height: 1.45; }
.serp .res cite { color: #1E7A44; font-style: normal; display: block; font-size: .72rem; }
.serp .res b { color: #1A0DAB; font-weight: 600; display: block; font-size: .92rem; }
.serp .res .stars { color: #C98512; letter-spacing: 1px; }

/* ---------- Service list ---------- */
.services { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.service h2, .service h3 { font-size: var(--step-1); margin: 0; }
.service-single { grid-template-columns: 1fr; }
.service .outcome { font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: .75rem; } }

/* ---------- Examples (automation) ---------- */
.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }
.example { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem; }
.example h3 { margin-bottom: .75rem; }
.flow { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: var(--step--1); }
.flow li { background: var(--sage-tint); color: var(--sage); padding: .25em .7em; border-radius: 999px; font-weight: 600; }
.flow li + li::before { content: "›"; margin-right: .4rem; color: var(--ink-soft); font-weight: 400; }
.example p { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }

/* Workflow canvas mockup (automation page header) */
.canvas { background-color: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.5rem; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 18px 18px; box-shadow: var(--shadow); }
.canvas ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.canvas li { display: flex; align-items: center; gap: .8rem; background: var(--night); border: 1px solid var(--line-dark); border-radius: 12px; padding: .75rem .9rem; color: #fff; font-size: .9rem; position: relative; line-height: 1.3; }
.canvas li + li::before { content: ""; position: absolute; left: 1.85rem; top: -.95rem; height: .95rem; width: 2px; background: var(--mint); }
.canvas .nd { width: 2rem; height: 2rem; border-radius: 8px; display: grid; place-items: center; flex: none; }
.canvas .nd svg { width: 16px; height: 16px; }
.canvas .t1 .nd { background: var(--cobalt); color: #fff; }
.canvas .t2 .nd { background: var(--mint); color: var(--night); }
.canvas .t3 .nd { background: var(--marigold); color: var(--night); }
.canvas small { display: block; color: var(--on-dark-soft); font-size: .75rem; }
.canvas .ok { margin-left: auto; color: var(--mint); font-size: .75rem; font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .canvas li { animation: pop .5s cubic-bezier(.2, .9, .3, 1.2) both; }
  .canvas li:nth-child(2) { animation-delay: .35s; }
  .canvas li:nth-child(3) { animation-delay: .7s; }
  .canvas li:nth-child(4) { animation-delay: 1.05s; }
  .canvas li:nth-child(5) { animation-delay: 1.4s; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); isolation: isolate; }
.page-head::before { content: ""; position: absolute; top: -40%; right: -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; z-index: -1; background: radial-gradient(closest-side, rgba(45, 91, 255, .38), rgba(45, 91, 255, 0)); }
.page-head-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-head h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); max-width: 15ch; }
.page-head .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.page-head .ph img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: var(--step--1); margin-bottom: 1.25rem; color: var(--on-dark-soft); }
.crumbs a { color: var(--on-dark-soft); }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 2.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.person figure { margin: 0; }
.person .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--night-2), var(--night)); display: grid; place-items: center; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .photo .initials { font: 800 3.4rem/1 var(--font-display); color: var(--marigold); letter-spacing: -.03em; }
.person h3 { margin: 1rem 0 .15rem; }
.person .role { color: var(--sage); font-weight: 600; font-size: var(--step--1); margin-bottom: .5rem; }
.person p { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Values (dark cards) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.75rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Two-column text ---------- */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; }
.quotes blockquote { margin: 0; padding: 1.75rem; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.quotes blockquote p { font: 500 var(--step-1)/1.4 var(--font-display); letter-spacing: -.01em; }
.quotes footer { font-size: var(--step--1); color: var(--ink-soft); }
.logos { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: center; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.logos img { height: 36px; width: auto; filter: grayscale(1); opacity: .7; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq summary { cursor: pointer; font: 700 var(--step-1)/1.3 var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-soft); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .75rem 0 0; color: var(--ink-soft); }

/* ---------- CTA with photo ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15, 27, 54, .97) 0%, rgba(15, 27, 54, .86) 50%, rgba(30, 67, 209, .5) 100%); }
.cta-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: end; }
.cta h2 { max-width: 15ch; color: #fff; }
.cta .lede { color: #D5DCEC; }
.cta .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.cta .btn-ghost { color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--night); border-color: #fff; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* ---------- Form ---------- */
.lead-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 30px 70px -40px rgba(20, 33, 61, .45); }
.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: .4rem; padding: 0; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 3px var(--cobalt-tint); }
.field [aria-invalid="true"] { border-color: #C2362B; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { width: 100%; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .5em .95em; border: 1.5px solid var(--line); border-radius: 999px; font-size: var(--step--1); cursor: pointer; background: var(--mist); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: 2px; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--step--1); color: var(--ink-soft); margin: .5rem 0 1.4rem; }
.consent input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--cobalt); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status.error { color: #C2362B; }
.contact-aside dl { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-aside dt { font-size: var(--step--1); color: var(--ink-soft); }
.contact-aside dd { margin: .1rem 0 0; font-weight: 600; font-size: var(--step-1); }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose li { margin: .35rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-soft); padding: 4.5rem 0 2rem; font-size: var(--step--1); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-name { font: 800 1.5rem/1 var(--font-display); color: #fff; margin-bottom: .75rem; }
.footer-h { color: #fff; font-weight: 600; margin-bottom: .8rem; }
.social { margin-top: 1rem !important; display: flex !important; flex-wrap: wrap; gap: .5rem 1rem !important; }
.footer-base { border-top: 1px solid var(--line-dark); margin-top: 3rem; padding-top: 1.5rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); z-index: 40; transition: transform .15s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.t-span-6 { grid-column: 1 / -1; }
.tile .cols ul { margin-top: 0; }
.h3 { font-size: var(--step-1); }
.contact-aside .band-photo { margin-top: 2.5rem; aspect-ratio: 16 / 10; }

/* ---------- Enquiry section (form on home and service pages) ---------- */
.enquire { position: relative; isolation: isolate; overflow: hidden; }
.enquire::before { content: ""; position: absolute; top: -20%; left: -15%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; z-index: -1; background: radial-gradient(closest-side, rgba(45, 91, 255, .35), rgba(45, 91, 255, 0)); }
.enquire-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.enquire-copy { position: sticky; top: 6.5rem; }
.enquire-copy h2 { max-width: 14ch; }
.enquire-direct { margin: 2.25rem 0 0; display: grid; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); }
.enquire-direct dt { font-size: var(--step--1); color: var(--on-dark-soft); }
.enquire-direct dd { margin: .1rem 0 0; font-weight: 600; font-size: var(--step-1); }
.enquire-direct a { color: #fff; }
.dark .lead-form { color: var(--ink); }
.dark .lead-form p { color: var(--ink); }
.dark .lead-form .consent span, .dark .lead-form .opt { color: var(--ink-soft); }
.dark .lead-form a { color: var(--cobalt-deep); }
.dark .lead-form h3 { color: var(--ink); }
.dark .lead-form .form-status.error { color: #C2362B; }
@media (max-width: 900px) { .enquire-grid { grid-template-columns: 1fr; } .enquire-copy { position: static; } }

/* ---------- Hosting page ---------- */
.stack { position: relative; display: grid; gap: 1rem; max-width: 26rem; justify-self: end; width: 100%; }
.stk { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 20px 50px -18px rgba(5, 10, 30, .6); padding: 1rem 1.1rem; }
.stk small { color: var(--ink-soft); font-size: .75rem; display: block; }
.stk-domain .dom { font: 800 clamp(1.4rem, 1.1rem + 1.4vw, 2rem)/1.1 var(--font-display); letter-spacing: -.02em; margin: .2rem 0 .6rem; color: var(--ink); }
.stk-domain .dom b { color: var(--cobalt); }
.stk-mail { margin-left: 2rem; }
.mail-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; font-size: .85rem; }
.stk-mail ul { list-style: none; margin: 0; padding: 0; }
.stk-mail li { display: grid; grid-template-columns: 30px 1fr auto; gap: .6rem; align-items: center; padding: .45rem 0; font-size: .82rem; line-height: 1.3; }
.stk-mail li + li { border-top: 1px solid var(--mist); }
.stk-mail i { width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt-tint); color: var(--cobalt-deep); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .7rem; }
.stk-mail li:nth-child(2) i { background: var(--sage-tint); color: var(--sage); }
.stk-mail li:nth-child(3) i { background: #FFF1D6; color: #8A5A00; }
.stk-mail time { font-size: .72rem; color: var(--ink-soft); }
.stk-status { display: flex; align-items: center; gap: .7rem; width: max-content; max-width: 100%; font-size: .85rem; line-height: 1.3; }
.dot-ok { width: 12px; height: 12px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 5px rgba(37, 211, 102, .2); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .stk { animation: pop .6s cubic-bezier(.2, .9, .3, 1.2) both; }
  .stk-mail { animation-delay: .4s; }
  .stk-status { animation-delay: .8s; }
}
@media (max-width: 860px) { .stack { justify-self: start; } .stk-mail { margin-left: 1rem; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trio-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.trio-ic { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt-deep); margin-bottom: 1.1rem; }
.trio-ic svg { width: 24px; height: 24px; }
.trio-item h3 { font-size: var(--step-2); }
.trio-item ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.trio-item li { margin: .35rem 0; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; }
.plan h3 { font-size: var(--step-2); margin-bottom: .3rem; }
.plan-for { color: var(--ink-soft); font-size: var(--step--1); min-height: 3em; }
.plan-price { margin: .5rem 0 1.25rem; }
.plan-price b { font: 800 var(--step-3)/1 var(--font-display); letter-spacing: -.02em; }
.plan-price b.q { font-size: var(--step-2); }
.plan-price span { color: var(--ink-soft); font-size: var(--step--1); }
.plan ul { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .55rem; font-size: var(--step--1); }
.plan li { display: flex; gap: .55rem; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: .15rem; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--night); border-color: var(--night); color: #fff; box-shadow: var(--shadow); }
.plan-featured h3, .plan-featured .plan-price b { color: #fff; }
.plan-featured .plan-for, .plan-featured .plan-price span { color: var(--on-dark-soft); }
.plan-featured li svg { color: var(--mint); }
.plan-flag { position: absolute; top: -.8rem; left: 1.75rem; background: var(--marigold); color: var(--night); font-weight: 700; font-size: .78rem; padding: .3em .85em; border-radius: 999px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan-for { min-height: 0; } }
.points .ic svg { width: 18px; height: 18px; }
.strip { margin-top: 1.5rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; padding: 1.4rem 1.75rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.strip:hover { border-color: var(--cobalt); color: var(--ink); }
.strip-ic { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt-deep); }
.strip-ic svg { width: 24px; height: 24px; }
.strip-txt strong { display: block; font: 700 var(--step-1)/1.2 var(--font-display); letter-spacing: -.01em; }
.strip-txt span { color: var(--ink-soft); font-size: var(--step--1); }
.strip-go { font-weight: 700; color: var(--cobalt-deep); white-space: nowrap; }
@media (max-width: 640px) { .strip { grid-template-columns: auto 1fr; } .strip-go { grid-column: 2; } }

/* ---------- WhatsApp buttons ---------- */
.btn-wa { background: var(--wa); color: #062B15; }
.btn-wa:hover { background: #1EBE5A; color: #062B15; }
.wa-ic { width: 1.25em; height: 1.25em; flex: none; }
.enquire-direct p { margin: 0 0 .9rem; }
.enquire-direct .enquire-email { margin: 1.1rem 0 0; font-size: var(--step--1); }
.wa-card { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--wa); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.wa-card p { color: var(--ink-soft); }

/* ---------- Brand: GMS Global Marketing Solutions logo colours ---------- */
:root {
  --cobalt: #086FBA;       /* logo blue */
  --cobalt-deep: #065A97;
  --cobalt-tint: #E3F0FA;
  --mint: #6CC9A1;         /* logo green, lifted for dark backgrounds */
  --sage: #2E8A86;         /* logo teal */
  --sage-tint: #E2F2F0;
  --brand-gradient: linear-gradient(90deg, #55B38E, #389AA3 50%, #1C81B2);
}
.btn-primary { box-shadow: 0 10px 30px -10px rgba(8, 111, 186, .6); }

/* White header so the full-colour logo reads properly */
.site-header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand-gradient); }
.header-inner { min-height: 5rem; }
.brand-logo { height: 52px; width: auto; }
.site-nav a:not(.btn) { color: var(--ink-soft); }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cobalt); }
@media (max-width: 800px) {
  .brand-logo { height: 42px; }
  .nav-toggle { border-color: var(--ink); color: var(--ink); }
  .site-nav { background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) { color: var(--ink); }
}
.footer-logo { width: 150px; height: auto; margin-bottom: 1.25rem; }

/* ---------- About page ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2.5rem; }
.reason { display: grid; grid-template-columns: 2.6rem 1fr; gap: .2rem 1rem; align-items: start; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.reason-ic { grid-row: span 2; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--sage-tint); color: var(--sage); }
.reason-ic svg { width: 20px; height: 20px; }
.reason h3 { margin: .35rem 0 .3rem; }
.reason p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }
.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.skill { display: block; height: 100%; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.skill:hover { border-color: var(--cobalt); color: var(--ink); }
.skill-ic { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt-deep); margin-bottom: 1rem; }
.skill-ic svg { width: 24px; height: 24px; }
.skill p { color: var(--ink-soft); font-size: var(--step--1); margin: 0; }
@media (max-width: 900px) { .skills { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .skills { grid-template-columns: 1fr; } }
.tags { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .45em .95em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: var(--step--1); font-weight: 600; }
.mt-2 { margin-top: 2rem; }

/* Full stacked logo in the header (as supplied) */
.header-inner { min-height: 7rem; padding-block: .6rem; }
.brand-logo { height: 92px; width: auto; }
.enquire-copy { top: 9rem; }
[id] { scroll-margin-top: 8rem; }
@media (max-width: 800px) {
  .header-inner { min-height: 5.25rem; padding-block: .4rem; }
  .brand-logo { height: 70px; }
  [id] { scroll-margin-top: 6rem; }
}

/* ---------- Projects of every size (About) ---------- */
.scale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: none; }
.scale > li { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; }
.scale > li::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--brand-gradient); }
.scale h3 { font-size: var(--step-2); }
.scale ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: var(--step--1); color: #fff; }
.scale ul li { display: flex; gap: .5rem; align-items: flex-start; }
.scale ul svg { width: 17px; height: 17px; color: var(--mint); flex: none; margin-top: .2rem; }
@media (max-width: 1000px) { .scale { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .scale { grid-template-columns: 1fr; } }
