/* =========================================================
   Cribbar Creative — homepage
   Mobile-first. Breakpoints:
     tablet  ≥ 810px
     desktop ≥ 1200px
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("assets/inter-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Palette ---- */
  --c-ink:        #141414;  /* page background, dark cards */
  --c-ink-2:      #1e1e1e;  /* frames, raised pills, light-on-dark buttons */
  --c-ink-3:      #242424;  /* dividers, check circles */
  --c-ink-4:      #333333;  /* index numbers, faint labels */
  --c-grey-600:   #747474;  /* muted copy on dark (was #5a5a5a; brightened a step so paragraphs read more easily) */
  --c-grey-500:   #8c8c8c;  /* secondary copy (was #7a7a7a) */
  --c-grey-400:   #a0a0a0;
  --c-grey-300:   #c4c4c4;  /* card meta */
  --c-paper:      #f5f5f5;  /* primary text on dark, light cards */
  --c-paper-2:    #eaeaea;  /* menu panel */
  --c-white:      #ffffff;
  --c-moss:       #5b6b4e;  /* status dot */
  --c-glow:       rgba(180, 204, 151, .16);
  --c-glass:      rgba(31, 31, 31, .25);
  --c-line:       rgba(245, 245, 245, .12);

  /* ---- Type ---- */
  --font: "Inter", "Inter Placeholder", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: 40px;  --lh-display: 48px;
  --fs-h2: 32px;       --lh-h2: 40px;
  --fs-h3: 24px;       --lh-h3: 32px;
  --fs-h3-lg: 32px;    --lh-h3-lg: 40px;  /* card titles, prices */
  --fs-title: 32px;    --lh-title: 40px;  /* project card titles */
  --fs-h4: 20px;       --lh-h4: 28px;
  --fs-quote: 19.5px;  --lh-quote: 24.4px;
  --fs-md: 16px;       --lh-md: 24px;
  --fs-body: 15px;     --lh-body: 22px;
  --fs-sm: 14px;       --lh-sm: 20px;
  --fs-xs: 12px;       --lh-xs: 16px;

  --tracking-tight: -0.03em;  /* display */
  --tracking-snug:  -0.02em;  /* h2/h3 */
  --tracking-soft:  -0.01em;  /* h4, quotes */
  --tracking-label:  0.08em;  /* index numbers */

  /* ---- Spacing scale ---- */
  --s-2: 2px;  --s-4: 4px;  --s-8: 8px;  --s-12: 12px; --s-16: 16px;
  --s-24: 24px; --s-32: 32px; --s-40: 40px; --s-64: 64px; --s-96: 96px;

  --section-pad-y: var(--s-64);
  --section-pad-x: var(--s-16);
  --section-gap: var(--s-40);

  /* ---- Radii ---- */
  --r-card: 32px;
  --r-lg: 24px;
  --r-sm: 12px;
  --r-pill: 999px;

  /* ---- Widths ---- */
  --w-narrow: 800px;   /* services, FAQ */
  --w-copy: 446px;     /* hero/about intro */
  --w-copy-sm: 281px;  /* section subtitles */

  /* ---- Effects ---- */
  --shadow-float: 0 4px 16px rgba(0, 0, 0, .25);
  --shadow-glow: 0 0 24px var(--c-glow);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: .35s;
}

@media (min-width: 810px) {
  :root {
    --fs-display: 48px;  --lh-display: 56px;
    --fs-h2: 40px;       --lh-h2: 48px;
    --fs-h3: 32px;       --lh-h3: 40px;
    --fs-title: 48px;    --lh-title: 56px;
    --fs-quote: 32px;    --lh-quote: 37.8px;
    --fs-body: 14px;     --lh-body: 20px;
    --section-pad-y: var(--s-96);
    --section-gap: var(--s-64);
  }
}
@media (min-width: 1200px) {
  :root {
    --fs-display: 64px;  --lh-display: 72px;
    --fs-h2: 48px;       --lh-h2: 56px;
  }
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0 var(--s-2);
  background: var(--c-ink);
  color: var(--c-paper);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-paper); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-weight: 500; }
.display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tracking-snug); }
.muted { color: var(--c-grey-600); }
.sep { opacity: .5; padding: 0 2px; }
.icon { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.index { font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 500; letter-spacing: var(--tracking-label); color: var(--c-ink-4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Frame = the 2px "hairline" grid look: dark-grey container, cards sit inside with 2px gaps */
.frame {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-2);
  background: var(--c-ink-2);
  border-radius: var(--r-card);
}
.card {
  background: var(--c-ink);
  border-radius: var(--r-card);
  padding: var(--s-24);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-bg: var(--c-ink-2);
  --btn-fg: var(--c-paper);
  --btn-bg-hover: var(--c-paper);
  --btn-fg-hover: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 48px;
  padding: 0 var(--s-24) 0 var(--s-16);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), padding var(--dur) var(--ease-out);
}
/* leading dot */
.btn::before {
  content: "";
  width: 8px; height: 8px;
  margin-right: var(--s-16);
  border-radius: 50%;
  background: currentColor;
  transition: width var(--dur) var(--ease-out), margin var(--dur) var(--ease-out), opacity var(--dur);
}
/* trailing arrow chip, revealed on hover */
.btn__icon {
  display: grid; place-items: center;
  width: 0; height: 28px;
  margin-left: 0;
  border-radius: 50%;
  background: var(--btn-fg-hover);
  color: var(--btn-bg-hover);
  opacity: 0;
  overflow: hidden;
  transition: width var(--dur) var(--ease-out), margin var(--dur) var(--ease-out), opacity var(--dur);
}
.btn__icon svg { width: 12px; height: 12px; flex: none; }
.btn--ink { --btn-bg: var(--c-ink); --btn-bg-hover: #ebebeb; }

@media (hover: hover) {
  .btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg-hover); padding-right: var(--s-12); padding-left: var(--s-24); }
  .btn:hover::before { width: 0; margin-right: 0; opacity: 0; }
  .btn:hover .btn__icon { width: 28px; margin-left: var(--s-12); opacity: 1; }
}

.text-link { display: inline-flex; align-items: center; gap: var(--s-16); color: var(--c-grey-500); font-size: var(--fs-body); transition: color var(--dur); }
.text-link__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e6e6e6; color: var(--c-ink); transition: transform var(--dur) var(--ease-out), background-color var(--dur); }
.text-link__icon svg { width: 10px; height: 10px; }
.text-link:hover { color: var(--c-ink); }
.text-link:hover .text-link__icon { transform: rotate(45deg); background: var(--c-ink); color: var(--c-paper); }

.round-btn {
  display: grid; place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-ink-2);
  color: var(--c-paper);
  transition: background-color var(--dur), color var(--dur), transform var(--dur) var(--ease-out);
}
.round-btn svg { width: 12px; height: 12px; }
.round-btn--light { background: var(--c-paper); color: var(--c-ink); }
.round-btn:hover, .card:hover .round-btn { background: var(--c-paper); color: var(--c-ink); }
.round-btn--light:hover, .project:hover .round-btn--light { background: var(--c-ink); color: var(--c-paper); transform: rotate(45deg); }

.pill {
  display: inline-flex; align-items: center;
  padding: 4px 12px 4px 10px;
  border-radius: var(--r-pill);
  background: var(--c-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: var(--fs-sm); line-height: var(--lh-sm);
  color: var(--c-paper);
}

/* =========================================================
   Header + menu
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 var(--s-16);
}
.site-header__brand { display: flex; align-items: center; gap: var(--s-16); }
.logo img { width: 84px; height: 24px; }
.site-header__tagline { display: none; padding-left: var(--s-16); border-left: 1px solid var(--c-ink-4); line-height: 16px; color: var(--c-grey-600); font-size: var(--fs-md); }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: var(--s-32); }
.site-nav a, .menu-toggle { font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-paper); transition: opacity var(--dur); }
.site-nav a:hover { opacity: .6; }
.menu-toggle { display: inline-flex; align-items: center; gap: var(--s-8); }
.menu-toggle__dots { display: inline-flex; gap: 3px; transition: transform var(--dur) var(--ease-out); }
.menu-toggle__dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.menu-toggle:hover .menu-toggle__dots, .menu-toggle[aria-expanded="true"] .menu-toggle__dots { transform: rotate(90deg); }

.menu-panel {
  position: absolute;
  top: 52px; right: var(--s-8); left: var(--s-8);
  padding: var(--s-2);
  border-radius: var(--r-lg);
  background: var(--c-paper-2);
  color: var(--c-ink);
  display: grid; gap: var(--s-2);
  transform-origin: top right;
  animation: menu-in .4s var(--ease-out);
}
.menu-panel[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.menu-panel__card { padding: var(--s-16); }
.menu-panel__top, .menu-panel__foot { display: flex; justify-content: space-between; gap: var(--s-16); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); }
.menu-panel__top .clock-line { display: inline-flex; align-items: center; gap: 6px; }
.menu-panel__links { margin: var(--s-8) 0 var(--s-24); }
.menu-panel__links a { display: inline-block; font-size: var(--fs-h3); line-height: 40px; font-weight: 400; letter-spacing: var(--tracking-soft); transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
.menu-panel__links a:hover { opacity: .55; transform: translateX(4px); }
.menu-panel__foot { align-items: flex-end; line-height: 20px; }
.menu-panel__foot strong { color: var(--c-ink); font-weight: 500; }
.menu-panel__image { width: 100%; height: 260px; object-fit: cover; border-radius: 22px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 56px 0 var(--s-2) !important; align-items: stretch !important; }
.hero__card {
  position: relative;
  min-height: calc(100svh - 58px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 136px var(--s-24);
  border-radius: var(--r-card);
  background: var(--c-white);
  color: var(--c-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: var(--s-24); text-align: center; }
.hero .display { max-width: 320px; }
.hero .muted { color: var(--c-grey-500); }
.status { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-500); }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-moss); }
.status__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--c-moss); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.lead { max-width: 330px; color: var(--c-grey-500); }
.hero__actions { display: flex; align-items: center; gap: var(--s-16); margin-top: var(--s-16); }

/* Twisting image ribbons — drawn on <canvas> by script.js; the <img>s are only the source list */
.ribbon { position: absolute; z-index: 1; pointer-events: none; }
.ribbon img { display: none; }
.ribbon canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* mobile: horizontal bands above and below the copy */
.ribbon--left { top: 0; left: 0; right: 0; height: 180px; }
.ribbon--right { bottom: 0; left: 0; right: 0; height: 170px; }
@keyframes ribbon-x { to { translate: -50% 0; } }
@keyframes ribbon-y { to { translate: 0 -50%; } }

/* =========================================================
   Section scaffolding
   ========================================================= */
main > section { padding: var(--section-pad-y) var(--section-pad-x); display: flex; flex-direction: column; align-items: center; gap: var(--section-gap); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: var(--s-16); text-align: center; }
.section-head p { max-width: 100%; color: var(--c-grey-600); text-wrap: balance; }
.section-head .btn { margin-top: var(--s-24); }

/* =========================================================
   About
   ========================================================= */
.about { position: relative; padding-top: var(--s-64); }
.about .section-head h2 { max-width: 290px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; gap: var(--s-24) var(--s-16); width: 100%; max-width: 360px; text-align: center; }
.stats__col { display: contents; }
.stat { display: flex; flex-direction: column-reverse; align-items: center; gap: var(--s-4); }
.stat dt { color: var(--c-grey-600); }
.stat dd { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: var(--tracking-soft); font-variant-numeric: tabular-nums; }
.stats .stat:nth-child(1)::after { content: none; }

.logo-wall {
  width: 200px; height: 330px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
}
.logo-wall__track { display: grid; grid-template-columns: repeat(2, 98px); gap: 4px; animation: ribbon-y 24s linear infinite; }
.tile { display: grid; place-items: center; width: 98px; height: 98px; border-radius: 28px; background: var(--c-ink-2); }
.tile--round { border-radius: 50%; }
.tile img { max-width: 56px; max-height: 32px; filter: invert(1); opacity: .28; }

/* =========================================================
   Work
   ========================================================= */
.work { padding-left: var(--s-2) !important; padding-right: var(--s-2) !important; padding-top: 0 !important; }
.project-grid { width: 100%; grid-template-columns: 1fr; }
.project {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-16);
  height: 470px;
  padding: var(--s-24);
  border-radius: var(--r-card);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-ink-2);
}
.project__img { position: absolute; left: 0; top: -15%; z-index: -2; width: 100%; height: 130%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
.project__info h3 { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--tracking-snug); }
.meta { margin-top: var(--s-8); color: var(--c-grey-300); }
.project__tags { position: absolute; top: var(--s-24); right: var(--s-24); left: var(--s-24); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-8); transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
.project__tags li { padding: 4px 12px 4px 10px; border-radius: var(--r-pill); background: var(--c-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.project:hover .project__img { transform: scale(1.04); }

/* =========================================================
   Services
   ========================================================= */
.service-grid { width: 100%; max-width: var(--w-narrow); grid-template-columns: 1fr; }
.service { position: relative; display: flex; flex-direction: column; gap: var(--s-24); min-height: 300px; }
.service__head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: var(--s-24); border-bottom: 1px solid var(--c-ink-3); }
.service__head h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tracking-snug); }
.service__head .index { margin-top: 6px; }
.service__body { display: flex; flex-direction: column; gap: var(--s-8); }
.service__label { color: var(--c-grey-600); }
.service .round-btn { margin-top: auto; align-self: flex-end; }

/* =========================================================
   Process
   ========================================================= */
.process .section-head p { max-width: 354px; }
.steps { display: flex; flex-direction: column; gap: var(--s-40); width: 100%; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-8); }
.step h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tracking-snug); }
.step p { max-width: 280px; color: var(--c-grey-600); }
.step .index { margin-top: var(--s-16); }

/* Glass lenses over glowing letters (approximation of the WebGL lens effect) */
.lens { position: relative; width: 230px; height: 230px; display: grid; place-items: center; }
.lens__glyph {
  font-size: 175px; line-height: 1; font-weight: 500; letter-spacing: -0.04em;
  background: linear-gradient(160deg, #f6ffd9 10%, #d8ef8e 45%, #e3c42c 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: blur(7px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 31%, transparent 32%), radial-gradient(circle at 76% 66%, #000 18%, transparent 19%);
  mask-image: radial-gradient(circle at 50% 50%, #000 31%, transparent 32%), radial-gradient(circle at 76% 66%, #000 18%, transparent 19%);
}
.lens__ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(240, 250, 210, .45); box-shadow: inset 0 0 22px rgba(240, 255, 200, .12), 0 0 18px rgba(200, 230, 140, .12); }
.lens__ring--a { width: 64%; height: 64%; left: 18%; top: 18%; }
.lens__ring--b { width: 38%; height: 38%; left: 57%; top: 47%; background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.lens__ring--c { width: 26%; height: 26%; left: 52%; top: 4%; border-color: rgba(240, 200, 60, .7); }
.lens--1 .lens__ring--b { animation: drift 7s ease-in-out infinite alternate; }
.lens--2 .lens__ring--b { left: 2%; top: 30%; animation: drift 8s ease-in-out infinite alternate-reverse; }
.lens--3 .lens__ring--b { width: 16%; height: 16%; left: 6%; top: 74%; animation: drift 6s ease-in-out infinite alternate; }
.lens--2 .lens__glyph { -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 31%, transparent 32%), radial-gradient(circle at 21% 49%, #000 18%, transparent 19%); mask-image: radial-gradient(circle at 50% 50%, #000 31%, transparent 32%), radial-gradient(circle at 21% 49%, #000 18%, transparent 19%); background: linear-gradient(90deg, #f0e246 0 45%, #e9f7c7 55%); -webkit-background-clip: text; background-clip: text; }
.lens--3 .lens__glyph { font-size: 130px; background: linear-gradient(180deg, #d9f5ff 10%, #e8f9c4 50%, #cfe86c 90%); -webkit-background-clip: text; background-clip: text; }
@keyframes drift { to { translate: -10px 8px; } }

/* =========================================================
   Showreel
   ========================================================= */
.showreel { padding-left: var(--s-2) !important; padding-right: var(--s-2) !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.showreel__card {
  position: relative;
  width: 100%;
  height: 477px;
  border-radius: var(--r-card);
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  padding: var(--s-24);
  text-align: center;
}
.showreel__poster, .showreel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.showreel__poster { top: -15%; height: 130%; }
.showreel__video { z-index: 3; background: #000; }
.showreel__content { display: flex; flex-direction: column; align-items: center; gap: var(--s-8); }
.showreel__content h2 { max-width: 360px; }
.showreel__content p { max-width: 260px; margin-top: var(--s-8); }
.play-btn { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--c-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--c-white); transition: transform var(--dur) var(--ease-out), background-color var(--dur); }
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.play-btn:hover { transform: scale(1.08); background: rgba(31,31,31,.45); }
.showreel__logo { position: absolute; bottom: var(--s-24); left: 50%; translate: -50% 0; width: 84px; height: 24px; }
.showreel.is-playing .play-btn, .showreel.is-playing .showreel__logo { display: none; }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials__layout { width: 100%; grid-template-columns: 1fr; }
.testimonials__aside { display: grid; gap: var(--s-2); }
.orbit-card { position: relative; height: 250px; padding: var(--s-24); display: flex; align-items: flex-end; overflow: hidden; }
.orbit { position: absolute; inset: 0; }
.orbit__ring { position: absolute; left: 50%; top: 44%; width: 200px; height: 200px; translate: -50% -50%; animation: spin 26s linear infinite; }
.orbit canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit.is-live .orbit__ring, .lens.is-live > span, .sphere.is-live .sphere__dot { display: none; }
.orbit__ring img { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--c-ink-2); animation: spin 26s linear infinite reverse; }
.orbit__ring img:nth-child(1) { transform: rotate(0deg) translateY(-72px) rotate(0deg); }
.orbit__ring img:nth-child(2) { transform: rotate(72deg) translateY(-72px) rotate(-72deg); }
.orbit__ring img:nth-child(3) { transform: rotate(144deg) translateY(-72px) rotate(-144deg); }
.orbit__ring img:nth-child(4) { transform: rotate(216deg) translateY(-72px) rotate(-216deg); }
.orbit__ring img:nth-child(5) { transform: rotate(288deg) translateY(-72px) rotate(-288deg); }
@keyframes spin { to { rotate: 360deg; } }
.rating { position: relative; font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 500; letter-spacing: var(--tracking-label); color: var(--c-grey-500); }
.rating strong { color: var(--c-paper); font-weight: 500; }
.rating .slash { color: var(--c-grey-600); }
.stars { color: var(--c-paper); letter-spacing: 0; font-size: 9px; margin-left: 4px; }
.worked-card { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-24); }
.worked-card__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: var(--tracking-soft); }
.worked-card .btn { align-self: flex-start; }

.quotes {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 560px;
  padding: var(--s-24);
  border-radius: var(--r-card);
  background: var(--c-ink) center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.quotes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,20,20,.92), rgba(20,20,20,.78)); }
.quotes__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.quote { display: none; flex-direction: column; gap: var(--s-24); }
.quote.is-active { display: flex; animation: quote-in .7s var(--ease-out); }
@keyframes quote-in { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
.quote__logo { height: 22px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.quote blockquote { margin-top: var(--s-16); font-size: var(--fs-quote); line-height: var(--lh-quote); font-weight: 500; letter-spacing: var(--tracking-snug); }
.quote .dim { color: rgba(245, 245, 245, .55); }
.quote figcaption { display: flex; align-items: center; gap: var(--s-16); }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: var(--tracking-soft); }
.quote figcaption > span > span { display: block; font-size: var(--fs-sm); line-height: 18px; color: var(--c-grey-500); }

.clients { margin-top: auto; padding-top: var(--s-24); font-size: 13px; line-height: 19.5px; }
.clients__head { display: flex; justify-content: space-between; color: rgba(245,245,245,.55); }
.clients__head span:last-child { color: var(--c-grey-500); }
.clients__head b { color: var(--c-paper); font-weight: 500; }
.clients__list { margin-top: var(--s-12); }
.clients__list li { position: relative; border-bottom: 1px solid var(--c-line); }
.clients__list li[hidden] { display: none; }
.clients__list button { display: flex; align-items: flex-start; gap: var(--s-16); width: 100%; padding: 14px 0; text-align: left; color: rgba(245,245,245,.36); transition: color var(--dur); }
.clients__list .n { width: 20px; padding-top: 4px; }
.clients__list b { display: block; font-size: 18px; line-height: 27px; font-weight: 500; letter-spacing: var(--tracking-soft); }
.clients__list small { display: none; font-size: 13px; color: rgba(245,245,245,.55); }
.clients__list button:hover { color: rgba(245,245,245,.7); }
.clients__list li.is-active button { color: var(--c-paper); }
.clients__list li.is-active small { display: block; }
.clients__list li.is-active::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--c-paper); transform-origin: left; animation: progress var(--quote-ms, 6000ms) linear both; }
@keyframes progress { from { transform: scaleX(0); } }

/* =========================================================
   Approach
   ========================================================= */
.approach__grid { width: 100%; grid-template-columns: 1fr; }
.leader-card { position: relative; display: flex; flex-direction: column; gap: var(--s-24); }
.tag-line { color: var(--c-grey-600); }
.leader-card__photo { width: min(240px, 80%); aspect-ratio: 1; margin: var(--s-16) auto; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.leader-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-16); }
.leader-card__foot h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 400; letter-spacing: var(--tracking-soft); }
.leader-card__foot p { color: var(--c-grey-500); }
.leader-card__foot .btn { display: none; }
.approach__side { display: grid; gap: var(--s-2); }
.poster-card { position: relative; display: flex; flex-direction: column; gap: var(--s-24); min-height: 447px; overflow: hidden; }
.poster-card__brand { font-size: var(--fs-md); line-height: var(--lh-md); font-weight: 600; color: var(--c-ink-4); }
.sphere {
  position: relative;
  width: 250px; height: 250px; margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #1b1b1b 0%, #0c0c0c 55%, #000 100%);
  box-shadow: inset 0 -20px 50px rgba(120, 180, 60, .08), 0 0 0 1px rgba(255,255,255,.02);
  overflow: hidden;
}
.sphere__dot { position: absolute; left: 50%; bottom: 22px; width: 12px; height: 9px; margin-left: -6px; border-radius: 50%; background: #9fd84a; box-shadow: 0 0 16px 4px rgba(150, 220, 70, .55); animation: dot-glow 3.2s ease-in-out infinite; }
@keyframes dot-glow { 50% { box-shadow: 0 0 26px 8px rgba(150, 220, 70, .35); transform: scale(1.15); } }
.poster-card__text { margin-top: auto; font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--tracking-soft); color: var(--c-grey-600); }
.poster-card__text strong { font-weight: 500; color: var(--c-paper); }

.stat-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; }
.stat-card__note { align-self: flex-end; color: var(--c-grey-600); }
.stat-card__value { font-size: 40px; line-height: 48px; font-weight: 400; letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.stat-card__label { color: var(--c-grey-600); }
.mini-quote { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-24); min-height: 300px; }
.rating--right { align-self: flex-end; }
.rating--right .stars { margin: 0 4px 0 0; }
.mini-quote blockquote { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--tracking-soft); color: var(--c-grey-500); }
.mini-quote blockquote strong { font-weight: 500; color: var(--c-paper); }
.mini-quote figcaption, .author { display: flex; align-items: center; gap: var(--s-8); margin-top: var(--s-24); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.mini-quote figcaption img, .author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.mini-quote figcaption b, .author b { display: block; font-weight: 500; color: var(--c-paper); }
.mini-quote figcaption > span > span, .author > span > span { display: block; color: var(--c-grey-500); }
.mini-quote em, .author em { font-style: normal; font-weight: 500; }

/* =========================================================
   Pricing
   ========================================================= */
.pricing__grid { width: 100%; grid-template-columns: 1fr; }
.plan { display: flex; flex-direction: column; gap: var(--s-24); }
.plan h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tracking-snug); }
.plan p { color: var(--c-grey-600); }
.plan__top { display: flex; justify-content: space-between; color: var(--c-grey-600); }
.plan__num { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 500; letter-spacing: var(--tracking-label); }
.pips { display: inline-flex; gap: 2px; }
.pips i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-ink-4); }
.pips i.on { background: var(--c-paper); }
.plan--featured { min-height: 470px; border: 1px solid rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), var(--shadow-glow); }
.plan--featured h3 { font-size: var(--fs-title); line-height: var(--lh-title); }
.checklist { display: flex; flex-direction: column; gap: var(--s-16); color: var(--c-grey-600); }
.checklist li { display: flex; align-items: center; gap: var(--s-16); }
.checklist svg { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--c-ink-3); color: var(--c-grey-300); }
.plan__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-16); flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: var(--s-8); font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 500; letter-spacing: var(--tracking-snug); color: var(--c-paper) !important; }
.price span { font-size: var(--fs-md); line-height: 19px; font-weight: 400; letter-spacing: 0; color: var(--c-grey-600); }
.price--sm { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.pricing__side { display: grid; gap: var(--s-2); }
.plan__row { display: flex; flex-direction: column; gap: var(--s-16); }
.plan__row h3 + p { margin-top: 4px; }
.plan--help { gap: var(--s-24); }
.plan--help h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.plan--help .btn { align-self: flex-start; }

/* =========================================================
   Journal
   ========================================================= */
.journal__grid { width: 100%; grid-template-columns: 1fr; }
.post { position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.post--featured { padding: var(--s-2); }
.post__cover { width: 100%; height: 232px; object-fit: cover; border-radius: 30px; }
.post__body { padding: var(--s-24) 22px 22px; display: flex; flex-direction: column; }
.post__meta { display: flex; align-items: center; gap: var(--s-8); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-500); }
.chip { padding: 4px 12px; border-radius: var(--r-sm); background: var(--c-ink-2); color: var(--c-grey-300); }
.post h3 { margin-top: var(--s-16); font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--tracking-soft); }
.post h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.post__excerpt { margin-top: var(--s-4); max-width: 341px; color: var(--c-grey-500); }
.post--featured .author { padding-top: var(--s-24); border-top: 1px solid var(--c-ink-3); }
.author { margin-top: var(--s-40); }
.author .round-btn { margin-left: auto; }
.journal__list { display: grid; gap: var(--s-2); }
/* hover: a strip of the article image fades in behind the card */
.post__banner { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s, transform 1s var(--ease-out); }
.journal__list .post::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,20,20,.72); opacity: 0; transition: opacity .5s; }
@media (hover: hover) {
  .journal__list .post:hover .post__banner { opacity: 1; transform: none; }
  .journal__list .post:hover::before { opacity: 1; }
  .post--featured:hover .post__cover { filter: brightness(1.05); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__list { width: 100%; max-width: var(--w-narrow); }
.faq__item { display: grid; grid-template-columns: 1fr 76px; gap: var(--s-2); }
.faq__item h3 { grid-column: 1; grid-row: 1; }
.faq__item h3 button, .faq__answer { background: var(--c-ink); }
.faq__item h3 button { display: block; width: 100%; padding: var(--s-24); padding-bottom: var(--s-24); border-radius: var(--r-card); text-align: left; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 400; letter-spacing: var(--tracking-soft); transition: border-radius var(--dur); }
.faq__answer { grid-column: 1; grid-row: 2; display: grid; grid-template-rows: 0fr; margin-top: -2px; border-radius: 0 0 var(--r-card) var(--r-card); transition: grid-template-rows .45s var(--ease-out); }
.faq__answer > div { overflow: hidden; }
.faq__answer p { padding: 0 var(--s-24) var(--s-24); color: var(--c-grey-500); }
.faq__icon { grid-column: 2; grid-row: 1; align-self: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 76px; height: 76px; border-radius: var(--r-card); background: var(--c-ink); pointer-events: none; transition: gap var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.faq__icon i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-paper); }
.faq__item.is-open h3 button { border-radius: var(--r-card) var(--r-card) 0 0; }
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__item.is-open .faq__icon { transform: rotate(90deg); }
.faq__item:hover .faq__icon { gap: 5px; }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding-left: var(--s-2) !important; padding-right: var(--s-2) !important; padding-bottom: var(--s-2) !important; }
.cta__card {
  position: relative;
  width: 100%;
  min-height: 760px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 250px var(--s-24);
  border-radius: var(--r-card);
  background: var(--c-paper);
  color: var(--c-ink);
  overflow: hidden;
  isolation: isolate;
}
.cta__content { display: flex; flex-direction: column; align-items: center; gap: var(--s-16); text-align: center; }
.cta__content h2 { max-width: 300px; }
.cta__content p { max-width: 300px; color: var(--c-grey-600); }
.cta__content .btn { margin-top: var(--s-24); }
/* Curved image decks — drawn on <canvas> by script.js */
.deck { position: absolute; left: 0; right: 0; height: 150px; z-index: -1; pointer-events: none; }
.deck--top { top: 0; }
.deck--bottom { bottom: 0; }
.deck img { display: none; }
.deck canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { position: relative; padding-top: var(--s-2); overflow: hidden; }
.footer__grid { grid-template-columns: 1fr; gap: var(--s-24); padding-top: var(--s-24); }
.footer__contact { display: flex; flex-direction: column; gap: var(--s-24); padding: 0 var(--s-24) var(--s-24); }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--s-8); padding: 4px 12px 4px 8px; border-radius: var(--r-pill); background: var(--c-ink); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); }
.footer__lines { display: flex; flex-direction: column; gap: 4px; }
.footer__phone { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-500); }
.footer__email { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 500; letter-spacing: var(--tracking-snug); transition: opacity var(--dur); }
.footer__email:hover { opacity: .7; }
.footer__address { padding-bottom: var(--s-24); border-bottom: 1px solid var(--c-ink-3); color: var(--c-grey-600); }
.footer__address .clock-line { display: inline-flex; align-items: center; gap: 6px; color: var(--c-paper); font-size: var(--fs-sm); }
.socials { display: flex; gap: var(--s-12); }
.socials a { display: block; color: var(--c-grey-500); transition: color var(--dur); }
.socials a:hover { color: var(--c-paper); }
.socials svg { width: 20px; height: 20px; }
.footer__menu { display: flex; flex-direction: column; gap: var(--s-24); padding: var(--s-24); }
.footer__label { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: var(--s-8) var(--s-24); padding-bottom: var(--s-24); border-bottom: 1px solid var(--c-ink-3); }
.footer__links a { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 500; letter-spacing: var(--tracking-snug); display: inline-block; transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
.footer__links a:hover { opacity: .6; transform: translateX(4px); }
.newsletter { padding-bottom: var(--s-24); border-bottom: 1px solid var(--c-ink-3); }
.newsletter__sub { margin-top: 2px; color: var(--c-grey-500); }
.newsletter__field { position: relative; display: flex; align-items: center; max-width: 460px; height: 52px; margin-top: var(--s-24); padding: 6px 6px 6px 16px; border-radius: var(--r-pill); background: var(--c-ink-2); }
.newsletter__field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: var(--fs-sm); }
.newsletter__field input::placeholder { color: var(--c-ink-4); opacity: 1; }
.newsletter__field .round-btn { background: var(--c-ink-4); }
.newsletter__field .round-btn:hover { background: var(--c-paper); color: var(--c-ink); }
.newsletter__sent { margin-top: var(--s-8); color: var(--c-grey-300); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8) var(--s-16); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-500); }
.footer__legal p { color: var(--c-grey-600); }
.footer__legal strong { color: var(--c-paper); font-weight: 500; }
.footer__legal a:hover, .footer__credit a:hover { color: var(--c-paper); }
.footer__built { display: inline-flex; align-items: center; gap: var(--s-8); flex-basis: 100%; }
.footer__built img { filter: invert(1); width: 14px; height: 14px; }
.footer__credit { display: flex; align-items: center; gap: var(--s-8); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); }
.footer__credit a { display: inline-flex; align-items: center; gap: var(--s-8); color: var(--c-paper); }
.footer__credit img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* Giant outlined wordmark: letters light up one after another */
.wordmark { display: flex; justify-content: center; height: 120px; margin-top: var(--s-24); font-size: 104px; line-height: 1; font-weight: 400; letter-spacing: -0.02em; user-select: none; color: transparent; }
.wordmark span {
  -webkit-text-stroke: 1.4px rgba(214, 226, 180, .22);
  animation: letter-glow 5.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * .32s);
}
@keyframes letter-glow {
  0%, 100% { -webkit-text-stroke-color: rgba(214, 226, 180, .2); filter: none; opacity: .9; }
  18% { -webkit-text-stroke-color: #f6ffde; filter: drop-shadow(0 0 3px rgba(235, 250, 190, .95)) drop-shadow(0 0 14px rgba(205, 235, 120, .55)); opacity: 1; }
  55% { -webkit-text-stroke-color: rgba(240, 252, 205, .85); filter: drop-shadow(0 0 6px rgba(205, 235, 120, .35)); opacity: 1; }
  80% { -webkit-text-stroke-color: rgba(214, 226, 180, .12); filter: none; opacity: .35; }
}

/* =========================================================
   Scroll reveal (driven by script.js)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
.js [data-split] .word { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(8px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-visible .word { opacity: 1; transform: none; filter: none; }

/* Rolling digits (built by script.js from [data-count]) */
.roll { display: inline-flex; align-items: flex-start; height: 1lh; overflow: hidden; vertical-align: top; }
.roll__col { flex: none; display: flex; flex-direction: column; transition: transform 1.1s var(--ease-out); }
.roll__col span { height: 1lh; }

/* =========================================================
   Tablet ≥ 810px
   ========================================================= */
@media (min-width: 810px) {
  .site-header { padding: 0 var(--s-40); }
  .menu-panel { left: auto; width: 536px; right: var(--s-40); }

  .hero__card { padding: var(--s-40); }
  .hero .display { max-width: 520px; }
  .lead { max-width: 384px; }
  /* ribbons become vertical columns either side */
  .ribbon--left, .ribbon--right { top: 0; bottom: 0; height: auto; right: auto; left: auto; width: 180px; }
  .ribbon--left { left: 8px; }
  .ribbon--right { right: 8px; }

  .section-head p { max-width: 384px; }
  .about { padding: var(--s-64) var(--s-40) !important; gap: var(--s-64); }
  .about .section-head h2 { max-width: none; }
  /* stats sit in the outer columns */
  .stats { position: absolute; inset: 0 40px; max-width: none; width: auto; display: flex; justify-content: space-between; align-items: center; pointer-events: none; text-align: left; }
  .stats__col { display: flex; flex-direction: column; gap: var(--s-24); width: 150px; padding-top: 140px; }
  .stats__col .stat:first-child::after { content: ""; display: block; order: -1; width: 50px; height: 1px; margin-top: var(--s-24); background: var(--c-ink-4); }
  .stat { align-items: flex-start; gap: 6px; }
  .stat dd { font-size: 24px; line-height: 32px; }
  .logo-wall { width: 300px; height: 100px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
  .logo-wall__track { display: flex; width: max-content; gap: 2px; animation-name: ribbon-x; }
  .tile { width: 100px; height: 100px; }


  .project-grid { grid-template-columns: 1fr 1fr; }
  .project { height: 640px; padding: var(--s-24) var(--s-24) var(--s-24) var(--s-24); }
  .project__info { padding-left: 6px; padding-bottom: 6px; }
  /* fade each glass pill itself (not the list), so the blur renders from the first frame */
  .project__tags li { opacity: 0; transform: translateY(-6px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); will-change: opacity, transform; }
  .project__tags li:nth-child(2) { transition-delay: .04s; }
  .project__tags li:nth-child(3) { transition-delay: .08s; }
  .project__tags li:nth-child(4) { transition-delay: .12s; }
  .project:hover .project__tags li, .project:focus-visible .project__tags li { opacity: 1; transform: none; }

  .service-grid { grid-template-columns: 1fr 1fr; }
  .service { min-height: 300px; }

  .steps { gap: var(--s-40); }
  .lens { width: 300px; height: 300px; }
  .lens__glyph { font-size: 230px; }
  .lens--3 .lens__glyph { font-size: 170px; }

  .showreel__card { height: 560px; padding: var(--s-24) var(--s-24); }
  .showreel__content h2 { max-width: 360px; }

  .testimonials__aside { grid-template-columns: 1fr 1fr; }
  .quotes { min-height: 600px; padding: var(--s-32); }

  .leader-card__photo { width: 360px; height: 360px; max-width: 100%; margin: auto; }
  .leader-card__foot .btn { display: inline-flex; }
  .approach__side { grid-template-columns: 1fr 1fr; }
  .poster-card { grid-column: 1 / -1; }
  .stat-card__value { font-size: 48px; line-height: 54px; }
  .stat-card { min-height: 447px; }
  .orbit-card, .worked-card { height: 299px; min-height: 299px; }

  .pricing__grid { grid-template-columns: 1fr; }
  .plan--featured { min-height: 492px; }
  .plan__row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .plan--help { flex-direction: row; align-items: center; justify-content: space-between; }
  .plan--help .btn { align-self: center; }
  .plan--help h3 { font-size: 24px; line-height: 32px; letter-spacing: var(--tracking-soft); }

  .journal__grid { grid-template-columns: 1fr; }
  .post__cover { height: 316px; }
  .post h3 { font-size: 24px; line-height: 32px; }

  .cta__card { min-height: 802px; }
  .cta__content h2 { max-width: 560px; }
  .cta__content p { max-width: 281px; }

  .footer__contact { padding: var(--s-24) 28px; }
  .footer__email { font-size: 40px; line-height: 48px; }
  .footer__links a { font-size: 32px; line-height: 40px; }
  .wordmark { height: 260px; font-size: 230px; margin-top: 30px; }
  .ap-narrow { display: none; }
  .ap-wide { display: inline; }
}

/* =========================================================
   Desktop ≥ 1200px
   ========================================================= */
@media (min-width: 1200px) {
  .site-nav { display: block; }
  .site-header__tagline { display: block; }
  .site-header .menu-toggle { margin-left: var(--s-32); }
  .site-header { justify-content: flex-start; }
  .site-header__brand { margin-right: auto; }

  .hero .display { max-width: 720px; }
  .lead { max-width: var(--w-copy); }
  .ribbon--left { left: 131px; width: 229px; }
  .ribbon--right { right: 131px; width: 229px; }

  .section-head p { max-width: var(--w-copy-sm); }
  .about .section-head p, .process .section-head p { max-width: var(--w-copy); }
  .about { align-items: center; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project { height: 800px; }

  .steps { flex-direction: row; justify-content: space-between; gap: var(--s-64); }
  .step { flex: 1; }
  .lens { margin-bottom: var(--s-16); }

  .testimonials__layout { grid-template-columns: 350px 1fr; }
  .testimonials__aside { grid-template-columns: 1fr; }

  .approach__grid { grid-template-columns: 1fr 1fr; }
  .leader-card { min-height: 896px; }
  .leader-card__photo { width: 500px; height: 500px; }
  .about { min-height: 800px; justify-content: center; padding: var(--s-16) var(--s-40) !important; }
  .showreel__card { height: 900px; }
  .steps { gap: var(--s-64); }
  .leader-card__photo { margin: var(--s-64) auto auto; }
  .stat-card__value { font-size: 64px; line-height: 72px; }

  .pricing__grid { grid-template-columns: 1fr 1fr; }
  .pricing__side { grid-template-rows: auto auto 1fr; }

  .journal__grid { grid-template-columns: 1fr 1fr; }
  .post--featured .author { margin-top: var(--s-24); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-2); padding-top: 0; }
  .footer__contact { padding: var(--s-24) 26px; }
  .footer__email { font-size: 48px; line-height: 56px; }
  .footer__address { margin-top: auto; }
  .footer__links { grid-template-columns: 296px 1fr; gap: var(--s-8) 0; padding-right: var(--s-24); }
  .footer__built { flex-basis: auto; margin-left: auto; }
  .wordmark { height: 300px; font-size: 300px; margin-top: 0; }
}

/* =========================================================
   Canvas / WebGL effect hosts (see script.js "Effects")
   ========================================================= */
.lens canvas, .sphere canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sphere.is-live { background: none; box-shadow: none; overflow: visible; }
.ap-wide { display: none; }

/* =========================================================
   Preloader (shown once per session)
   ========================================================= */
.preloader { display: none; }
.js .preloader { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50%; background: var(--c-ink); transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.preloader__panel--top { top: 0; border-radius: 0 0 var(--r-card) var(--r-card); }
.preloader__panel--bottom { bottom: 0; border-radius: var(--r-card) var(--r-card) 0 0; }
.preloader__content { position: absolute; left: var(--s-16); right: var(--s-16); top: 50%; translate: 0 -60%; transition: opacity .4s; }
.preloader__logo { width: 168px; height: 48px; }
.preloader__line { position: relative; height: 1px; margin-top: var(--s-24); background: var(--c-ink-3); overflow: visible; }
.preloader__line span { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: linear-gradient(90deg, rgba(214,226,180,.15), #e9f3cf); box-shadow: 0 0 6px rgba(233, 243, 207, .5); }
.preloader__line span::after { content: ""; position: absolute; right: -12px; top: -2px; width: 24px; height: 5px; border-radius: 50%; background: radial-gradient(#fff, rgba(255,255,255,0) 70%); }
.preloader__meta { display: flex; justify-content: space-between; margin-top: var(--s-16); font-size: 13px; color: var(--c-grey-600); font-variant-numeric: tabular-nums; }
.preloader.is-opening .preloader__content { opacity: 0; }
.preloader.is-opening .preloader__panel--top { transform: translateY(-101%); }
.preloader.is-opening .preloader__panel--bottom { transform: translateY(101%); }
.preloader.is-done { display: none; }
@media (min-width: 810px) {
  .preloader__content { left: var(--s-40); right: var(--s-40); }
  .preloader__logo { width: 252px; height: 72px; }
}

/* =========================================================
   Video modal
   ========================================================= */
.video-modal { width: min(1000px, calc(100vw - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--r-lg); background: #000; overflow: visible; }
.video-modal::backdrop { background: rgba(10, 10, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-modal[open] { animation: modal-in .45s var(--ease-out); }
.video-modal[open]::backdrop { animation: fade-in .45s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
.video-modal__frame { aspect-ratio: 16 / 9; border-radius: inherit; overflow: hidden; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--c-ink-2); color: var(--c-paper); font-size: 22px; line-height: 1; }
.video-modal__close:hover { background: var(--c-paper); color: var(--c-ink); }

/* =========================================================
   Inner pages (work, blogs, studio, contact, 404,
   case studies, articles, legal)
   ========================================================= */
.inner main > section { align-items: stretch; }
.inner main > .faq, .inner main > .testimonials { align-items: center; }
.inner main > .faq .faq__list, .inner .testimonials__layout { width: 100%; }
.eyebrow { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--c-grey-600); font-weight: 400; }
.site-nav a[aria-current="page"] { opacity: .55; }

/* page hero: left-aligned title, filters on the right */
.page-hero { padding-top: 136px !important; padding-bottom: var(--s-64) !important; gap: var(--s-40) !important; }
.page-hero__text { display: flex; flex-direction: column; gap: var(--s-24); }
.page-hero h1 { position: relative; display: inline-block; align-self: flex-start; }
.page-hero__count { position: absolute; left: 100%; top: 4px; margin-left: 6px; font-size: var(--fs-sm); line-height: 1; letter-spacing: 0; color: var(--c-grey-600); font-weight: 400; }
.page-hero__text p { max-width: 465px; color: var(--c-grey-600); }
.filters { display: flex; align-items: center; gap: var(--s-8); }
.filters__search { display: flex; align-items: center; gap: var(--s-8); height: 36px; width: 36px; padding: 0 11px; border-radius: var(--r-pill); background: var(--c-ink-2); color: var(--c-grey-300); overflow: hidden; cursor: text; transition: width var(--dur) var(--ease-out); }
.filters__search svg { flex: none; width: 14px; height: 14px; }
.filters__search input { min-width: 0; flex: 1; border: 0; outline: 0; background: none; font-size: var(--fs-sm); }
.filters__search:focus-within, .filters__search.has-value { width: 200px; }
.filters__select { position: relative; display: block; }
.filters__select select { appearance: none; height: 36px; width: 220px; padding: 0 36px 0 16px; border: 0; border-radius: var(--r-pill); background: var(--c-ink-2); color: var(--c-paper); font: inherit; font-size: var(--fs-sm); cursor: pointer; }
.filters__select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid var(--c-paper); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.filters__empty { padding: var(--s-40) 0; text-align: center; color: var(--c-grey-500); }
[data-filter-list] > li[hidden], [data-group][hidden] { display: none; }
.work--list { padding-top: 0 !important; }
.project-grid--single { grid-template-columns: 1fr !important; }
.project-grid--single .project { height: 520px; }

/* journal */
.journal-newest { padding-top: 0 !important; padding-bottom: 0 !important; }
.newest-grid { grid-template-columns: 1fr; }
.newest-grid__side { display: grid; gap: var(--s-2); }
.post--side { min-height: 300px; }
.post--side .author { margin-top: auto; padding-top: var(--s-40); }
.post--side .post__banner { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s, transform 1s var(--ease-out); }
.post--side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,20,20,.72); opacity: 0; transition: opacity .5s; }
@media (hover: hover) { .post--side:hover .post__banner { opacity: 1; transform: none; } .post--side:hover::before { opacity: 1; } }
.post--lg .post__cover { height: 260px; }
.post--md { padding: var(--s-2); }
.post--md .post__cover { height: 220px; border-radius: 30px; }
.post--md .post__body { padding: var(--s-24) 22px 22px; }
.post--md h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.post--lg h3, .post--side h3 { font-size: 24px; line-height: 32px; }
.journal-group { padding-top: var(--s-64) !important; padding-bottom: 0 !important; gap: var(--s-24) !important; }
.journal-group__head h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tracking-snug); }
.journal-group__head p { margin-top: 4px; color: var(--c-grey-600); }
.journal-group__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-16); }
.journal-grid { grid-template-columns: 1fr; }
.journal-group--more { padding-bottom: var(--s-64) !important; }
.text-link--light { color: var(--c-paper); }
.text-link--light .text-link__icon { background: var(--c-ink-2); color: var(--c-paper); }
.text-link--light:hover { color: var(--c-grey-300); }
.text-link--dark { color: var(--c-paper); font-size: var(--fs-sm); }
.text-link--dark .text-link__icon { background: var(--c-ink-2); color: var(--c-paper); }

/* studio */
.studio-hero { display: grid !important; grid-template-columns: 1fr; gap: var(--s-40) !important; padding-top: 120px !important; padding-bottom: 0 !important; }
.studio-hero__intro { display: flex; flex-direction: column; gap: var(--s-24); }
.status--dark { align-self: flex-start; padding: 4px 12px 4px 8px; border-radius: var(--r-pill); background: var(--c-ink-2); color: var(--c-paper); }
.stats--grid { position: static !important; display: grid !important; grid-template-columns: 1fr 1fr; grid-auto-flow: row; max-width: 380px; margin: var(--s-24) 0 0; text-align: left; pointer-events: auto; }
.stats--grid .stats__col { display: flex !important; flex-direction: column; gap: var(--s-24); width: auto !important; padding: 0 !important; }
.stats--grid .stat { align-items: flex-start; }
.studio-hero__media { display: flex; flex-direction: column; gap: var(--s-24); }
.studio-hero__media > p { max-width: 414px; color: var(--c-grey-600); }
.studio-hero__media .btn { align-self: flex-start; }
.studio-photo { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 620 / 452; }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; }
.studio-photo figcaption { position: absolute; top: var(--s-16); right: var(--s-24); font-weight: 600; font-size: var(--fs-md); }
.split { padding-top: var(--s-96) !important; padding-bottom: 0 !important; gap: var(--s-40) !important; }
.split__body { display: flex; flex-direction: column; gap: var(--s-24); }
.split__body > p { max-width: 600px; color: var(--c-grey-600); }
.split__body .btn { align-self: flex-start; }
.split__body .service-grid { max-width: none; margin-top: var(--s-16); }
.step-cards { grid-template-columns: 1fr; }
.step-card { position: relative; display: flex; flex-direction: column; gap: var(--s-24); min-height: 380px; }
.step-card__q { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: var(--tracking-soft); max-width: 340px; }
.step-card > div:last-child { margin-top: auto; display: flex; flex-direction: column; gap: var(--s-8); }
.step-card h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; }
.step-card > div p { color: var(--c-grey-600); }
.lens--mini { position: absolute !important; top: -34px; right: 6px; width: 80px !important; height: 80px !important; margin: 0 !important; }
.logo-tiles { grid-template-columns: repeat(3, 1fr); margin-top: var(--s-16); }
.logo-tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-card); background: var(--c-ink); }
.logo-tile img { max-width: 60px; max-height: 34px; filter: invert(1); opacity: .3; }
.tile-year { position: absolute; bottom: var(--s-16); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-label); color: var(--c-ink-4); }
.awards { margin-top: var(--s-24); }
.awards__head, .awards li a { display: grid; grid-template-columns: 1.5fr 1fr 60px; gap: var(--s-16); align-items: center; }
.awards__head { padding-bottom: var(--s-16); color: var(--c-grey-600); }
.awards__head span:last-child, .award__year { text-align: right; }
.awards li { border-top: 1px solid var(--c-ink-3); }
.awards li a { padding: 24px 0; transition: opacity var(--dur); }
.awards li a:hover { opacity: .65; }
.award__name { display: flex; align-items: center; gap: var(--s-16); font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: var(--tracking-soft); }
.award__name svg { width: 16px; height: 16px; flex: none; color: var(--c-grey-500); }
.award__nom, .award__year { color: var(--c-grey-600); }
.team-grid { grid-template-columns: 1fr; }
.team-grid__side, .team-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.team-card { display: flex; flex-direction: column; gap: var(--s-24); min-height: 380px; }
.team-card { min-width: 0; }
.team-card__top { display: flex; flex-wrap: wrap; gap: var(--s-8); justify-content: space-between; align-items: center; }
.team-card__social { display: flex; gap: 6px; }
.team-card__social a { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-ink-2); color: var(--c-paper); transition: background-color var(--dur), color var(--dur); }
.team-card__social a:hover { background: var(--c-paper); color: var(--c-ink); }
.team-card__social svg { width: 12px; height: 12px; }
.team-card__photo { width: 120px; aspect-ratio: 152 / 197; margin: auto; border-radius: 50% / 40%; object-fit: cover; object-position: 50% 25%; }
.team-card--lead .team-card__photo { width: min(500px, 85%); aspect-ratio: 1; border-radius: 50%; }
.team-card__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-8); }
.team-card__foot h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 400; letter-spacing: var(--tracking-soft); }
.team-card__foot p { color: var(--c-grey-500); }

/* contact */
.contact-hero { padding: 56px var(--s-2) var(--s-2) !important; }
.contact-hero__card { display: flex; flex-direction: column; gap: var(--s-40); padding: var(--s-40) var(--s-8) var(--s-8); border-radius: var(--r-card); background: radial-gradient(120% 80% at 50% 0%, #070707 0%, #000 60%), #000; }
.contact-hero__head { display: flex; flex-direction: column; align-items: center; gap: var(--s-24); text-align: center; }
.contact-hero__head .status--dark { align-self: center; background: rgba(255,255,255,.06); }
.contact-hero__head p:last-child { max-width: 300px; color: var(--c-grey-500); }
.contact-grid { display: grid; gap: var(--s-2); }
.contact-form { display: flex; flex-direction: column; gap: var(--s-24); background: #0e0e0e; }
.contact-form h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tracking-snug); }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: var(--s-24); }
.field { display: flex; flex-direction: column; gap: var(--s-8); border-bottom: 1px solid var(--c-ink-3); padding-bottom: var(--s-8); }
.field > span:first-child { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); }
.field input, .field select, .field textarea { width: 100%; border: 0; outline: 0; background: none; color: var(--c-paper); font: inherit; font-size: var(--fs-md); padding: 4px 0; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-grey-600); opacity: 1; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--c-ink); }
.field__select { position: relative; }
.field__select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 6px; height: 6px; margin-top: -6px; border: solid var(--c-grey-300); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.field:focus-within { border-color: var(--c-grey-500); }
.field--area textarea { min-height: 120px; }
.contact-form__foot { display: flex; align-items: center; gap: var(--s-24); margin-top: auto; }
.contact-form__foot p { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); }
.contact-form__foot a { color: var(--c-paper); }
.send-btn { display: inline-flex; align-items: center; gap: var(--s-16); font-size: var(--fs-sm); white-space: nowrap; }
.send-btn:hover .round-btn { background: var(--c-paper); color: var(--c-ink); transform: rotate(45deg); }
.contact-form__sent { color: var(--c-grey-300); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.contact-card { display: flex; flex-direction: column; gap: var(--s-8); background: #0e0e0e; }
.contact-card h2 { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); font-weight: 400; letter-spacing: 0; }
.contact-card__value { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 500; letter-spacing: var(--tracking-snug); }
.contact-card__value--sm { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.contact-card__note { color: var(--c-grey-600); }
.contact-card .btn { align-self: flex-start; margin-top: auto; }
.contact-card--email { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.contact-card--email .btn { margin-top: 0; }
.contact-card--studio { grid-column: 1 / -1; flex-direction: row; padding: var(--s-2); gap: var(--s-24); }
.contact-card--studio img { width: 46%; aspect-ratio: 297 / 200; object-fit: cover; border-radius: 30px; }
.contact-card--studio > div { display: flex; flex-direction: column; gap: var(--s-8); padding: var(--s-24) var(--s-16) var(--s-16) 0; }
.contact-card__address { font-size: 17px; line-height: 24px; }
.contact-card--studio .text-link { margin-top: auto; }
.follow-list li { border-bottom: 1px solid var(--c-ink-3); }
.follow-list li:last-child { border: 0; }
.follow-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: var(--fs-h4); line-height: var(--lh-h4); }
.follow-list .round-btn { width: 28px; height: 28px; }

/* 404 */
.notfound { padding: 56px var(--s-2) var(--s-2) !important; }
.notfound__card { position: relative; min-height: calc(100svh - 58px); display: grid; place-items: center; border-radius: var(--r-card); background: radial-gradient(120% 90% at 70% 10%, #23251f 0%, #0b0b0b 55%, #050505 100%); overflow: hidden; isolation: isolate; }
.notfound__glass { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.notfound__content { display: flex; flex-direction: column; align-items: center; gap: var(--s-24); padding: var(--s-24); text-align: center; }
.notfound__content p { max-width: 406px; color: var(--c-grey-300); }
.btn--glass { --btn-bg: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* case study */
.case-hero { display: grid !important; grid-template-columns: 1fr; gap: var(--s-40) !important; padding-top: 136px !important; }
.case-hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-24); }
.case-tags { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.case-tags li { padding: 4px 12px; border-radius: var(--r-pill); background: var(--c-ink-2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.case-hero__logo { height: 40px; width: auto; }
.back-link { display: inline-flex; align-items: center; gap: var(--s-16); color: var(--c-grey-600); transition: color var(--dur); }
.back-link:hover { color: var(--c-paper); }
.round-btn--back { width: 24px; height: 24px; }
.round-btn--back svg { transform: rotate(-135deg); width: 10px; height: 10px; }
.case-hero__main { display: flex; flex-direction: column; gap: var(--s-16); }
.case-lead { max-width: 465px; }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--s-24); border-top: 1px solid var(--c-ink-3); }
.case-meta > div { padding: var(--s-16) 0; border-bottom: 1px solid var(--c-ink-3); display: flex; flex-direction: column; gap: var(--s-8); }
.case-meta dt { color: var(--c-grey-600); }
.gallery { display: grid; gap: var(--s-2); width: auto; margin: 0 var(--s-2); }
.gallery--pair { grid-template-columns: 1fr; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 635 / 551; }
.gallery--full figure { aspect-ratio: 1270 / 929; }
.gallery--tall figure { aspect-ratio: 635 / 1031; }
.gallery img, .gallery video { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.case-block { padding-top: var(--s-64) !important; padding-bottom: var(--s-64) !important; }
.case-block__inner { display: flex; flex-direction: column; gap: var(--s-16); }
.case-body { max-width: 560px; }
.case-note { color: var(--c-grey-600); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-16); margin: var(--s-16) 0; }
.result { display: flex; flex-direction: column-reverse; gap: var(--s-8); }
.result dd { font-size: 32px; line-height: 40px; font-weight: 500; letter-spacing: var(--tracking-snug); font-variant-numeric: tabular-nums; }
.result dt { color: var(--c-grey-600); }
.case-rating { font-size: var(--fs-xs); color: var(--c-grey-500); }
.case-rating strong { color: var(--c-paper); font-weight: 500; }
.case-quote { max-width: 600px; font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: var(--tracking-soft); }
.case-quote__by { display: flex; align-items: center; gap: var(--s-8); color: var(--c-grey-500); }
.case-quote__by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.case-quote__by b { color: var(--c-paper); font-weight: 500; }
.deliverables li { padding: 22px 0; border-bottom: 1px solid var(--c-ink-3); }
.team-mini { margin-top: var(--s-16); padding: var(--s-2); }
.more-work { padding-bottom: var(--s-64) !important; }

/* article */
.article { padding: 104px var(--s-16) 0 !important; display: flex !important; flex-direction: column; gap: var(--s-40); }
.article__hero { display: grid; gap: var(--s-40); }
.article__intro { display: flex; flex-direction: column; gap: var(--s-24); }
.article__intro .back-link { align-self: flex-start; }
.article__intro h1 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tracking-snug); max-width: 600px; }
.article__lead { max-width: 384px; color: var(--c-grey-600); }
.article__meta > div { display: flex; justify-content: space-between; gap: var(--s-16); padding: 16px 0; border-bottom: 1px solid var(--c-ink-3); }
.article__meta > div:last-child { border: 0; flex-direction: column; }
.article__meta { padding-top: var(--s-8); padding-bottom: var(--s-8); }
.article__meta dt { color: var(--c-grey-600); }
.article__meta .author { margin-top: 0; }
.article__cover img { width: 100%; aspect-ratio: 1240 / 697; object-fit: cover; border-radius: var(--r-card); }
.article__cover figcaption, .article__figure figcaption { margin-top: var(--s-16); font-size: var(--fs-xs); color: var(--c-grey-600); }
.article__cover figcaption { color: var(--c-paper); text-align: center; }
.article__body { width: 100%; max-width: 930px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-24); }
.article__body > p, .legal__body p, .legal__body li { font-size: 17px; line-height: 28px; color: var(--c-grey-500); }
.article__body > h2, .legal__body h2 { margin-top: var(--s-16); font-size: 24px; line-height: 32px; letter-spacing: var(--tracking-soft); }
.article__body ul, .legal__body ul { list-style: disc; padding-left: 20px; }
.article__figure img { width: 100%; border-radius: var(--r-card); }
.pullquote { padding: var(--s-24) 0; border-top: 1px solid var(--c-ink-3); border-bottom: 1px solid var(--c-ink-3); }
.pullquote blockquote { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: var(--tracking-soft); }
.author--md { font-size: var(--fs-sm); line-height: 20px; }
.author--md img { width: 40px !important; height: 40px !important; }
.pullquote .author { margin-top: var(--s-16); }
.bio { margin: var(--s-40) 0 0; display: flex; flex-direction: column; gap: var(--s-16); border: 1px solid var(--c-ink-3); }
.bio__top { display: flex; justify-content: space-between; gap: var(--s-16); }
.bio__top .author { margin-top: 0; }
.bio > p { max-width: 465px; color: var(--c-grey-400); }
.up-next { padding-top: var(--s-96) !important; padding-bottom: 0 !important; }
.up-next__link { display: grid; gap: var(--s-24); }
.up-next__link > img { width: 100%; aspect-ratio: 580 / 412; object-fit: cover; border-radius: var(--r-card); transition: transform .8s var(--ease-out); }
.up-next__link:hover > img { transform: scale(1.02); }
.up-next__link > div { display: flex; flex-direction: column; gap: var(--s-16); }
.up-next h3 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tracking-snug); font-weight: 500; }
.up-next__lead { color: var(--c-grey-500); max-width: 557px; }

/* legal */
.legal { padding: 120px var(--s-16) var(--s-64) !important; width: 100%; max-width: 832px; margin: 0 auto; display: flex !important; flex-direction: column; align-items: stretch !important; gap: var(--s-24) !important; }
.legal__tabs { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--c-ink-2); }
.legal__tabs a { padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); color: var(--c-grey-300); }
.legal__tabs a[aria-current="page"] { background: var(--c-paper); color: var(--c-ink); }
.legal__effective { display: flex; align-items: center; gap: var(--s-12); padding-bottom: var(--s-40); border-bottom: 1px solid var(--c-ink-3); color: var(--c-grey-600); }
.legal__body { display: flex; flex-direction: column; gap: var(--s-24); }
.legal__contact { margin-top: var(--s-40); }
.legal__contact > div { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--c-ink-3); }
.legal__contact > div:last-child { border: 0; }
.legal__contact dt { color: var(--c-grey-600); }
.legal__also { position: relative; display: flex; flex-direction: column; gap: 8px; margin: var(--s-40) var(--s-40) 0; }
.legal__also b { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; }
.legal__also > span:not(.round-btn) { color: var(--c-grey-600); }
.legal__also .round-btn { position: absolute; right: var(--s-24); top: 50%; translate: 0 -50%; }

@media (min-width: 810px) {
  .page-hero { flex-direction: row !important; align-items: flex-end !important; justify-content: space-between; }
  .project-grid--single .project { height: 700px; }
  .journal-grid--2, .journal-grid--3 { grid-template-columns: 1fr 1fr; }
  .post--lg .post__cover { height: 400px; }
  .post--md .post__cover { height: 294px; }
  .studio-hero { grid-template-columns: 1fr 1fr; padding-top: 140px !important; }
  .split { display: grid !important; grid-template-columns: 1fr 1fr; }
  .split__body { grid-column: 2; }
  .split--wide > .frame, .more-work > .frame { grid-column: 1 / -1; }
  .step-cards { grid-template-columns: repeat(3, 1fr); }
  .contact-form__row { grid-template-columns: 1fr 1fr; }
  .case-hero { grid-template-columns: 1fr 1fr; }
  .case-block { display: grid !important; grid-template-columns: 1fr 1fr; padding-top: var(--s-96) !important; padding-bottom: var(--s-96) !important; }
  .case-block__inner { grid-column: 2; }
  .gallery--pair { grid-template-columns: 1fr 1fr; }
  .up-next__link { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-40); }
  .team-card--lead { min-height: 760px; }
  .bio { margin: var(--s-40) var(--s-40) 0; }
}
@media (min-width: 1200px) {
  .newest-grid { grid-template-columns: 1fr 305px; }
  .post--lg .post__cover { height: 465px; }
  .newest-grid .post--side { min-height: 374px; }
  .journal-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .journal-grid--3 .post__cover { height: 294px; }
  .journal-grid--2 .post__cover { height: 354px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .stats--grid { margin-top: 140px; }
}

/* Header behaves like the original: fixed, inverts over light backgrounds,
   fades out while scrolling down and back in on any scroll up. */
.site-header { mix-blend-mode: difference; transition: opacity .2s ease; }
.site-header.is-hidden { opacity: 0; pointer-events: none; }
/* logo layer: same box as the header, normal colours, follows the header's hide/show */
.site-brand-layer { position: fixed; top: 0; left: 0; z-index: 21; height: 56px; display: flex; align-items: center; padding: 0 var(--s-16); transition: opacity .2s ease; }
.site-brand-layer.is-hidden { opacity: 0; pointer-events: none; }
@media (min-width: 1200px) { .site-brand-layer { padding: 0 var(--s-40); } }
.site-header.is-open { mix-blend-mode: normal; opacity: 1; pointer-events: auto; }
@media (min-width: 810px) and (max-width: 1199px) {
  .site-header { padding: 0 var(--s-16); }
  .menu-panel { right: var(--s-16); }
}

/* Page heroes (work, blog): spacing measured from the original */
.page-hero { padding-top: 96px !important; gap: var(--s-24) !important; }
.page-hero__text { gap: var(--s-16); }
@media (min-width: 810px) { .page-hero__text { gap: var(--s-24); } }
@media (max-width: 1199px) { .page-hero { flex-direction: column !important; align-items: flex-start !important; } }
@media (min-width: 1200px) { .page-hero { padding-top: 192px !important; padding-bottom: 96px !important; } }

/* Blog index featured card: measured from the original */
.newest-grid .post--lg { padding: var(--s-2); gap: var(--s-8); }
.newest-grid .post--lg .post__cover { height: 233px; }
.newest-grid .post--lg .post__body { padding: var(--s-24); }
.author b { font-weight: 400; }
@media (min-width: 810px) { .newest-grid .post--lg .post__cover { height: 432px; } }
@media (min-width: 1200px) {
  .newest-grid { grid-template-columns: 2fr 1fr; }
  .newest-grid .post--lg .post__cover { height: 465px; }
}

/* Blog index on phones/tablets: measured from the original */
@media (max-width: 809.98px) {
  .newest-grid .post--lg h3, .newest-grid .post--side h3 { font-size: 20px; line-height: 28px; }
  .page-hero { padding-bottom: 48px !important; }
}
@media (max-width: 1199.98px) { .newest-grid .post--side { min-height: 240px; } }
@media (min-width: 810px) and (max-width: 1199.98px) { .newest-grid__side { grid-template-columns: 1fr 1fr; } }
.page-hero { padding-left: 18px !important; padding-right: 18px !important; }
.journal-group__head { padding: 0 2px; }

/* Fine film grain over the work photos (SVG noise, no extra image request) */
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0  1 0 0 0 0  1 0 0 0 0  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px; }

@media (min-width: 810px) { .project-grid__wide { grid-column: 1 / -1; } }

/* Nav hover dot, as on the original: 5px dot fades in and rises 3px under the hovered link */
.site-nav a { position: relative; display: inline-block; }
.site-nav a::after { content: ""; position: absolute; left: 50%; top: 26px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; opacity: 0; transform: translateY(3px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); pointer-events: none; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { opacity: 1; transform: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }

/* Homepage blog list: no photo behind the card on hover, just a calm lift in tone and the arrow turning */
.journal__list .post__banner, .journal__list .post::before { display: none !important; }
.journal__list .post { transition: background-color .35s var(--ease-out); }
.journal__list .post h3 { transition: color .35s var(--ease-out); }
.journal__list .post .round-btn { transition: background-color .35s var(--ease-out), color .35s var(--ease-out), transform .45s var(--ease-out); }
@media (hover: hover) {
  .journal__list .post:hover { background: #1c1c1c; }
  .journal__list .post:hover .round-btn { background: var(--c-paper); color: var(--c-ink); transform: rotate(45deg); }
}

/* Closed: sleeping Z Z Z in place of the sun icon */
.zzz { position: relative; display: none; width: 12px; height: 12px; flex-shrink: 0; vertical-align: -1px; }
html.is-closed .zzz { display: inline-block; }
html.is-closed .icon-sun { display: none; }
.zzz i { position: absolute; left: 44%; bottom: 0; font-style: normal; font-weight: 700; line-height: 1; color: currentColor; opacity: 0; animation: zzz 2.4s ease-in-out infinite; }
.zzz i:nth-child(1) { font-size: 8.64px; }
.zzz i:nth-child(2) { font-size: 6.72px; animation-delay: .8s; }
.zzz i:nth-child(3) { font-size: 5.04px; animation-delay: 1.6s; }
@keyframes zzz {
  0%   { transform: translate(-1px, 2px) scale(.55); opacity: 0; }
  25%  { opacity: .9; }
  70%  { opacity: .7; }
  100% { transform: translate(2px, -7px) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .zzz i { animation: none; opacity: .8; } .zzz i:nth-child(2) { transform: translate(1px,-3px); } .zzz i:nth-child(3) { transform: translate(2px,-6px); } }

/* Wide screens: like the original, content sits in a centred 1440px column;
   photo grids, galleries and the big photo cards stay full width. */
@media (min-width: 1441px) {
  .page-hero, .journal-newest, .journal-group, .studio-hero, .split, .case-hero, .notfound, .up-next, .article,
  .about, .services, .process, .testimonials, .approach, .pricing, .journal, .faq {
    padding-left: calc((100% - 1440px) / 2 + var(--section-pad-x)) !important;
    padding-right: calc((100% - 1440px) / 2 + var(--section-pad-x)) !important;
  }
  .contact-hero__card > * { width: 100%; max-width: 1400px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 1200px) { .case-block, .split, .studio-hero, .case-hero { column-gap: 0 !important; } }

/* Hero call button with a handwritten note + arrow in the brand teal (draws itself on after the hero reveals) */
@font-face { font-family: "Caveat"; src: url("/assets/caveat-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
.hero__cta { position: relative; display: inline-flex; }
.hero__note { position: absolute; top: calc(50% - 8px); right: calc(100% + 2px); display: flex; flex-direction: column; align-items: flex-end; color: #04ba97; pointer-events: none; white-space: nowrap; }
.hero__note-arrow { flex: none; width: 52px; height: 37px; }
.hero__note-text { margin-top: 2px; margin-right: 34px; font-family: "Caveat", "Segoe Print", cursive; font-weight: 600; font-size: 22px; line-height: 1; transform: rotate(-4deg); opacity: 0; transition: opacity .5s 1.2s ease; }
.hero__note path { stroke-dasharray: 90; stroke-dashoffset: 90; }
.hero__actions.is-visible .hero__note .doodle-line { animation: doodle-draw .7s .7s cubic-bezier(.6,.05,.3,1) forwards; }
.hero__actions.is-visible .hero__note .doodle-head { animation: doodle-draw .3s 1.3s ease-out forwards; }
.hero__actions.is-visible .hero__note-text { opacity: 1; }
@keyframes doodle-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__note path { stroke-dashoffset: 0; animation: none !important; } .hero__note-text { transition: none; } }
@media (max-width: 809.98px) {
  .hero__actions { margin-bottom: 64px; }
  .hero__note { top: calc(100% + 2px); right: auto; left: 10px; flex-direction: row; align-items: flex-start; gap: 4px; }
  .hero__note-arrow { width: 34px; height: 26px; transform: scaleX(-1) rotate(-25deg); margin: 0; }
  .hero__note-text { margin: 18px 0 0; font-size: 20px; }
}

/* Blog post layout, measured from the original:
   tablet: 577px text column centred; desktop: 349px sticky "On this page" column + 699px text column (starts 467px in) */
.article__aside { display: none; }
.article__columns { width: 100%; }
@media (min-width: 810px) { .article__body { max-width: 577px; } }
@media (min-width: 1200px) {
  .article__cover img { aspect-ratio: auto; height: 600px; }
  .article__columns { display: grid; grid-template-columns: 349px 699px; column-gap: 118px; align-items: start; }
  .article__body { max-width: 699px; margin: 0; }
  .article__aside { display: flex; flex-direction: column; gap: var(--s-16); position: sticky; top: 104px; }
  .article__aside-label { font-size: 14px; line-height: 20px; color: var(--c-grey-600); }
  .toc { display: flex; flex-direction: column; border-left: 1px solid var(--c-ink-3); margin-bottom: var(--s-24); }
  .toc a { display: block; padding: 8px 0 9px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 20px; color: var(--c-grey-600); transition: color .25s, border-color .25s; }
  .toc a:hover { color: var(--c-paper); }
  .toc a.is-active { color: var(--c-paper); border-left-color: var(--c-paper); }
  .share { display: flex; gap: var(--s-8); }
  .share a, .share button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-ink-2); color: var(--c-paper); border: 0; cursor: pointer; transition: background-color .25s, color .25s; }
  .share a:hover, .share button:hover, .share .is-done { background: var(--c-paper); color: var(--c-ink); }
  .share svg { width: 14px; height: 14px; }
}

/* Case studies: coloured client logos (bigger), live-site links, device mockups, FC AutoBuyer brand showcase */
.case-hero__logo { height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.case-hero__logo--redman-decorating { height: 96px; padding: 14px 18px; background: #fff; border-radius: 16px; }
.case-hero__logo--seans-lawns { height: 120px; border-radius: 16px; }
.case-hero__logo--harris-lee { height: 72px; }
.case-hero__logo--beyond-typical-training { height: 84px; }
.case-hero__logo--fc-autobuyer { height: 46px; }
@media (min-width: 810px) {
  .case-hero__logo { height: 80px; }
  .case-hero__logo--redman-decorating { height: 120px; }
  .case-hero__logo--seans-lawns { height: 150px; }
  .case-hero__logo--harris-lee { height: 90px; }
  .case-hero__logo--beyond-typical-training { height: 104px; }
  .case-hero__logo--fc-autobuyer { height: 58px; }
}
.case-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-16) var(--s-24); }
.case-meta dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245,245,245,.35); }
.case-meta dd a:hover { text-decoration-color: currentColor; }
.case-block--visit .btn { align-self: flex-start; margin-top: var(--s-8); }
.gallery--mock figure.mock, .brand-board figure.mock { aspect-ratio: auto; border-radius: var(--r-card); overflow: hidden; }
.gallery--mock img, .brand-board img { position: static; display: block; width: 100%; height: auto; }
.brand-board { margin: 0 var(--s-2); }
.brand-marks { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); margin: var(--s-2) var(--s-2) 0; }
.brand-marks figure { border-radius: var(--r-card); overflow: hidden; }
.brand-marks figure:first-child { grid-column: 1 / -1; }
.brand-marks img { display: block; width: 100%; height: auto; }
@media (min-width: 810px) { .brand-marks { grid-template-columns: repeat(5, 1fr); } .brand-marks figure:first-child { grid-column: auto; } }
@font-face { font-family: "Unbounded"; src: url("/assets/unbounded-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
.brand-type { display: grid; gap: var(--s-2); margin: var(--s-2) var(--s-2) 0 !important; padding: 0 !important; }
.brand-type__specimen { padding: var(--s-40) var(--s-24); border-radius: var(--r-card); background: #0a0a0a; font-family: "Unbounded", sans-serif; color: #fff; display: flex; flex-direction: column; gap: var(--s-16); }
.brand-type__specimen .eyebrow { font-family: var(--font); }
.brand-type__aa { font-size: clamp(96px, 16vw, 220px); line-height: .9; font-weight: 600; color: #C8FF2E; letter-spacing: -.02em; }
.brand-type__name { font-size: 28px; font-weight: 600; }
.brand-type__set { font-size: clamp(13px, 1.4vw, 18px); line-height: 1.7; color: #bdbdbd; letter-spacing: .02em; word-break: break-all; }
.brand-type__weights { display: flex; flex-wrap: wrap; gap: var(--s-24); font-size: 18px; color: #fff; }
.brand-type__colours { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.swatch { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 180px; padding: var(--s-24); border-radius: var(--r-card); font-family: "Unbounded", sans-serif; }
.swatch span { font-size: 13px; opacity: .8; }
.swatch b { font-size: 18px; font-weight: 600; }
.swatch--lime { background: #C8FF2E; color: #000; }
.swatch--black { background: #000; color: #fff; box-shadow: inset 0 0 0 1px #262626; }
.swatch--white { background: #fff; color: #000; }
@media (min-width: 1200px) {
  .brand-type { grid-template-columns: 1.4fr 1fr; }
  .brand-type__specimen { padding: var(--s-64); }
  .brand-type__colours { grid-template-columns: 1fr; }
}
.brand-lockups { display: grid; gap: var(--s-2); margin: var(--s-2) var(--s-2) 0; }
.brand-lockups figure { border-radius: var(--r-card); overflow: hidden; }
.brand-lockups img { display: block; width: 100%; height: auto; }
@media (min-width: 810px) { .brand-lockups { grid-template-columns: 1fr 1fr; } .brand-lockups figure:first-child { grid-column: 1 / -1; } }

/* Reviews: Google rating card (replaces the photo bubbles) */
.review-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-24); min-height: 250px; overflow: hidden; }
.review-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(251,188,5,.16), transparent); pointer-events: none; }
.review-card__top { display: flex; align-items: center; gap: var(--s-8); font-size: var(--fs-sm); color: var(--c-grey-500); }
.review-card__g { width: 22px; height: 22px; }
.review-card__score { display: flex; align-items: flex-end; gap: var(--s-16); }
.review-card__score strong { font-size: 72px; line-height: .85; font-weight: 500; letter-spacing: -.04em; color: var(--c-paper); font-variant-numeric: tabular-nums; }
.review-card__stars { display: flex; gap: 3px; padding-bottom: 4px; }
.review-card__stars svg { width: 20px; height: 20px; fill: #FBBC05; opacity: .18; transform: scale(.7); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.review-card.is-visible .review-card__stars svg { opacity: 1; transform: none; }
.review-card.is-visible .review-card__stars svg:nth-child(2) { transition-delay: .08s; }
.review-card.is-visible .review-card__stars svg:nth-child(3) { transition-delay: .16s; }
.review-card.is-visible .review-card__stars svg:nth-child(4) { transition-delay: .24s; }
.review-card.is-visible .review-card__stars svg:nth-child(5) { transition-delay: .32s; }
.review-card__people { display: flex; align-items: center; gap: var(--s-16); font-size: var(--fs-sm); color: var(--c-grey-500); }
.review-card__avatars { display: flex; }
.review-card__avatars i { display: grid; place-items: center; width: 32px; height: 32px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--c-ink); font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: #fff; background: #2a2a2a; }
.review-card__avatars i:first-child { margin-left: 0; }
.review-card__avatars i:nth-child(2) { background: #04ba97; }
.review-card__avatars i:nth-child(3) { background: #3b4a7a; }
.review-card__avatars i:nth-child(4) { background: #6b7d55; }
.review-card__avatars i:nth-child(5) { background: #8a5a44; }
.review-card__avatars i:nth-child(6) { background: #1f5c4a; }
@media (min-width: 810px) { .review-card { height: 299px; min-height: 299px; } .review-card__score strong { font-size: 88px; } }
@media (prefers-reduced-motion: reduce) { .review-card__stars svg { opacity: 1; transform: none; transition: none; } }

/* Case study story: the whole write-up grouped into numbered steps so it reads top to bottom */
.case-story { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 0 !important; padding-top: var(--s-64) !important; padding-bottom: var(--s-64) !important; }
.story-step { display: grid; gap: var(--s-16); padding: var(--s-40) 0; border-top: 1px solid var(--c-ink-3); }
.story-step:last-child { border-bottom: 1px solid var(--c-ink-3); }
.story-step__head { display: flex; align-items: baseline; gap: var(--s-16); }
.story-step__n { font-size: var(--fs-sm); color: var(--c-grey-600); font-variant-numeric: tabular-nums; min-width: 22px; }
.story-step__head h2 { font-size: 24px; line-height: 32px; letter-spacing: var(--tracking-soft); font-weight: 500; }
.story-step__body { display: flex; flex-direction: column; gap: var(--s-16); }
.story-step__body .case-body { max-width: 600px; color: var(--c-grey-500); }
.story-step__body .deliverables { margin-top: var(--s-8); }
.story-step__body .deliverables li { padding: 16px 0; }
@media (min-width: 810px) { .story-step__head h2 { font-size: 32px; line-height: 40px; } }
@media (min-width: 1200px) {
  .case-story { padding-top: var(--s-96) !important; padding-bottom: var(--s-96) !important; }
  .story-step { grid-template-columns: 1fr 1fr; column-gap: 0; padding: var(--s-64) 0; }
  .story-step__head { position: sticky; top: 104px; align-self: start; }
}

/* Case hero: client logo in a brand tile at the top of the right column */
.case-hero__brand { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; margin-bottom: var(--s-24); padding: 22px 28px; border-radius: 20px; background: var(--c-ink-2); box-shadow: inset 0 0 0 1px var(--c-ink-3); }
.case-hero__brand img { display: block; height: 52px; width: auto; max-width: 260px; object-fit: contain; }
.case-hero__brand--redman-decorating { background: #fff; box-shadow: none; padding: 16px 26px; }
.case-hero__brand--redman-decorating img { height: 64px; }
.case-hero__brand--seans-lawns { padding: 0; overflow: hidden; background: #0b3a33; }
.case-hero__brand--seans-lawns img { height: 104px; max-width: none; }
.case-hero__brand--beyond-typical-training img { height: 60px; }
.case-hero__brand--fc-autobuyer { background: #000; }
.case-hero__brand--fc-autobuyer img { height: 34px; }
@media (min-width: 810px) {
  .case-hero__brand img { height: 60px; }
  .case-hero__brand--redman-decorating img { height: 72px; }
  .case-hero__brand--seans-lawns img { height: 120px; }
  .case-hero__brand--beyond-typical-training img { height: 70px; }
  .case-hero__brand--fc-autobuyer img { height: 40px; }
}

/* =========================================================
   Cribbar brand tweaks
   ========================================================= */
.logo--cribbar img { width: 110px; height: auto; }
.preloader__logo--cribbar { width: 220px !important; height: auto !important; }
.showreel__logo--cribbar { width: 140px !important; height: auto !important; z-index: 2; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); }
.status.is-closed .status__dot::after { display: none; }
.status.is-closed .status__dot { background: var(--c-grey-500); }
.tile img { filter: none; opacity: .42; max-width: 64px; max-height: 36px; object-fit: contain; }
.tile img[src*="/stack/"] { width: 34px; height: 34px; }
.quote__source { font-size: var(--fs-xs); line-height: var(--lh-xs); color: rgba(245,245,245,.55); }
.quote__initials { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--c-ink-2); color: var(--c-paper); font-weight: 500; letter-spacing: .04em; }
.quote--long blockquote { font-size: calc(var(--fs-quote) * .62); line-height: 1.35; }
.mini-quote .quote__initials { width: 32px; height: 32px; font-size: 11px; }
/* Project photos graded darker to match the template's moody cards */
.project__img { filter: none; }
.project__cta { flex: none; display: inline-flex; align-items: center; gap: var(--s-8); height: 40px; padding: 0 6px 0 16px; border-radius: var(--r-pill); background: var(--c-paper); color: var(--c-ink); font-size: var(--fs-sm); white-space: nowrap; transition: background-color var(--dur), color var(--dur); }
.project__cta-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-paper); transition: transform var(--dur) var(--ease-out); }
.project__cta-icon svg { width: 11px; height: 11px; }
.project:hover .project__cta { background: var(--c-ink); color: var(--c-paper); }
.project:hover .project__cta-icon { background: var(--c-paper); color: var(--c-ink); transform: rotate(45deg); }
@media (max-width: 809.98px) { .project { flex-direction: column; align-items: flex-start; justify-content: flex-end; } }
.project--bright .project__img { filter: none; }
/* photos stay natural; only a soft shade in the bottom-left corner behind the title */
.project::after { background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 22%, rgba(0,0,0,.16) 42%, rgba(0,0,0,0) 58%); }
@media (min-width: 810px) { .project::after { background: radial-gradient(ellipse 110% 62% at 0% 100%, rgba(0,0,0,.74) 0%, rgba(0,0,0,.52) 38%, rgba(0,0,0,.18) 68%, rgba(0,0,0,0) 88%); } }
@media (min-width: 810px) { .project__info { max-width: calc(100% - 190px); } }
/* Blog hover: keep text readable over the photo */
.journal__list .post::before { background: linear-gradient(90deg, rgba(14,14,14,.94) 0%, rgba(14,14,14,.86) 55%, rgba(14,14,14,.78) 100%) !important; }
.journal__list .post .post__banner { filter: brightness(.55) saturate(.85); }
/* Story card (replaces the showreel video) */
.btn--glass { --btn-bg: rgba(20, 20, 20, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.showreel__btn { margin-top: var(--s-16); }
.showreel .pill { background: rgba(31, 31, 31, .45); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); padding: 4px 12px; }


.showreel__content h2 { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.showreel__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.28) 40%, rgba(10,10,10,0) 62%, rgba(10,10,10,.15) 78%, rgba(10,10,10,.7) 100%); pointer-events: none; }
@media (min-width: 810px) { .showreel .showreel__content h2 { max-width: 620px; } .showreel .showreel__content p { max-width: 380px; } }
.price small { font-size: var(--fs-sm); font-weight: 400; letter-spacing: 0; color: var(--c-grey-600); margin-left: 2px; }
/* Closing section: two calm, still photos fading into the card */
.cta__band { position: absolute; left: 0; right: 0; height: 30%; z-index: -1; pointer-events: none; overflow: hidden; }
.cta__band img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.cta__band--top { top: 0; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.85) 35%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.85) 35%, transparent 100%); }
.cta__band--bottom { bottom: 0; -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0,0,0,.85) 35%, transparent 100%); mask-image: linear-gradient(0deg, #000 0%, rgba(0,0,0,.85) 35%, transparent 100%); }
/* Pricing: wide "Not sure which?" row */
.price { white-space: nowrap; flex: none; }
.plan--wide { grid-column: 1 / -1; padding: var(--s-32) var(--s-24); gap: var(--s-24); }
.plan--wide h3 { font-size: 24px !important; line-height: 32px !important; }
.plan--wide p { margin-top: 6px; }
@media (min-width: 810px) { .plan--wide { padding: var(--s-40); flex-direction: row; align-items: center; justify-content: space-between; } }
.pricing__side { grid-template-rows: none !important; }
@media (max-width: 809.98px) { .quote blockquote { font-size: 18px; line-height: 24px; } .quotes { min-height: 500px; } }
/* Mobile layout matching the original */
@media (max-width: 809.98px) { .footer__email { font-size: 26px !important; line-height: 34px !important; overflow-wrap: anywhere; } }
.leader-card__arrow { display: none; }
@media (max-width: 809.98px) {
  .plan--featured .plan__foot { flex-direction: column; align-items: flex-start; gap: var(--s-24); }
  .leader-card__arrow { display: grid; }
  .plan--wide { flex-direction: column; align-items: flex-start; }
}
/* Closing section: one full-bleed photo behind white text */
.cta__card--photo { background: #0d0d0d; color: var(--c-paper); }
.cta__photo { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; z-index: -2; filter: brightness(.82) saturate(.92); }
.cta__card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 50%, rgba(8,10,12,.78) 0%, rgba(8,10,12,.5) 60%, rgba(8,10,12,.35) 100%); }
.cta__card--photo .muted { color: rgba(245,245,245,.72); }
.cta__card--photo .cta__content p { color: rgba(245,245,245,.85); }
.btn--light { --btn-bg: var(--c-paper); --btn-fg: var(--c-ink); --btn-bg-hover: var(--c-ink); --btn-fg-hover: var(--c-paper); }
/* Footer: the Cribbar logo, calm and fully visible */
.footer-logo { display: flex; justify-content: center; padding: var(--s-64) var(--s-16) var(--s-64); }
.footer-logo img { width: min(70%, 260px); height: auto; }
@media (min-width: 810px) { .footer-logo img { width: 360px; } }
/* Process: clean line icons */
.step__icon { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: var(--s-24); border-radius: 50%; background: var(--c-ink-2); color: var(--c-paper); }
.step__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
/* Story card: shorter, text centred now there's no video */
.showreel .showreel__card { justify-content: center; height: 480px; padding-bottom: 72px; }
@media (min-width: 810px) { .showreel .showreel__card { height: 560px; } }
@media (min-width: 1200px) { .showreel .showreel__card { height: 640px; } }
.price--quote { font-size: var(--fs-h3) !important; line-height: var(--lh-h3) !important; }
.price--quote.price--sm { font-size: 24px !important; line-height: 32px !important; }

/* =========================================================
   Page transitions (cross-document View Transitions)
   1s, cubic-bezier(.7,0,.25,1), shrink .94,
   lift 11%, dim to 15%, backdrop #0D1013, reversed on Back.
   ========================================================= */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation: none; background: #0d1013; }
::view-transition-image-pair(root) { isolation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  mix-blend-mode: normal;
  transform-origin: 50% 50%;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(.7, 0, .25, 1);
  animation-fill-mode: both;
}
::view-transition-old(root) { animation-name: pt-sink; z-index: 0; }
::view-transition-new(root) { animation-name: pt-sheet-in; z-index: 1; }
html.pt-back::view-transition-old(root) { animation-name: pt-sheet-out; z-index: 1; }
html.pt-back::view-transition-new(root) { animation-name: pt-rise; z-index: 0; }
@keyframes pt-sink { to { transform: translateY(-11%) scale(.94); opacity: .15; } }
@keyframes pt-rise { from { transform: translateY(-11%) scale(.94); opacity: .15; } }
@keyframes pt-sheet-in { from { transform: translateY(100%); } }
@keyframes pt-sheet-out { to { transform: translateY(100%); } }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .word { opacity: 1; transform: none; filter: none; }
}

/* ==========================================================================
   About page on phone and tablet, matched to the template's studio page.
   Desktop (1200px and up) is untouched.
   ========================================================================== */
@media (max-width: 1199px) {
  /* hero: one column, photo full width */
  .studio-hero { grid-template-columns: 1fr; }
  .studio-photo { aspect-ratio: 3 / 2; }
  .stats--grid .stat + .stat::before { content: ""; display: block; width: 40px; height: 1px; margin-bottom: var(--s-24); background: var(--c-ink-3); }

  /* steps: stacked, each with its own visual panel above the text */
  .step-cards { --step-visual: 196px; --step-lens: 84px; grid-template-columns: 1fr; }
  .step-card { min-height: 0; gap: var(--s-16); padding-top: calc(var(--step-visual) + var(--s-24)); }
  .step-card::before { content: ""; position: absolute; inset: 2px 2px auto; height: var(--step-visual); border-radius: var(--r-card); background: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink-3); }
  .step-card .lens--mini { top: calc((var(--step-visual) - var(--step-lens)) / 2 + 2px); right: auto; left: calc(50% - var(--step-lens) / 2); width: var(--step-lens) !important; height: var(--step-lens) !important; }
  .step-card .index { display: flex; justify-content: space-between; width: 100%; }
  .step-card .index::before { content: "You ask"; }
  .step-card__q { max-width: none; margin-bottom: var(--s-16); font-size: 15px; line-height: 22px; font-weight: 400; color: var(--c-grey-600); }
  .step-card h3 { font-size: 24px; line-height: 32px; }
  .step-card > div:last-child { margin-top: 0; }

  /* client logos: bigger tiles, logos at full strength (no hover on touch) */
  .logo-tiles { grid-template-columns: repeat(2, 1fr); }
  .logo-tile img { max-width: 96px; max-height: 44px; opacity: 1; }

  /* team: everyone gets the same card, one per row on a phone */
  .team-grid__side { grid-template-columns: 1fr; }
  .team-card--lead { min-height: 380px; }
  .team-card__photo, .team-card--lead .team-card__photo { width: 150px; }
}

/* phone only */
@media (max-width: 809px) {
  .awards__head { display: none; }
  .awards li a { grid-template-columns: 1fr auto; row-gap: 4px; align-items: start; padding: 20px 0; }
  .award__name { grid-column: 1; grid-row: 1; }
  .award__year { grid-column: 2; grid-row: 1; padding-top: 4px; }
  .award__nom { grid-column: 1; grid-row: 2; padding-left: calc(16px + var(--s-16)); font-size: var(--fs-sm); }
}

/* tablet only */
@media (min-width: 810px) and (max-width: 1199px) {
  /* the intro text and button sit in the right half, under the full-width photo */
  .studio-hero__media > p, .studio-hero__media .btn { margin-left: calc(50% + var(--s-40) / 2); }
  .step-cards { --step-visual: 262px; --step-lens: 110px; }
  /* these blocks break out of the right-hand text column to span the page */
  .split__body .logo-tiles, .split__body .awards, .split__body .service-grid { width: calc(200% + var(--s-40)); max-width: none; margin-left: calc(-100% - var(--s-40)); }
  .logo-tiles { grid-template-columns: repeat(3, 1fr); }
  .awards__head, .awards li a { grid-template-columns: 1fr 1fr 60px; }
  .award__name { font-size: 20px; line-height: 28px; }
  .team-grid__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card--lead { min-height: 510px; }
  .team-card--lead .team-card__photo { width: 240px; }
}

/* Logo over light backgrounds: the top layer shows only the mint mark and lets clicks through
   to the header underneath, whose wordmark inverts with the rest of the menu. */
.site-brand-layer--mark { pointer-events: none; }
.site-brand-layer--mark .site-header__tagline { visibility: hidden; }

/* About page, tablet: keep the two columns equal even when a wide block sits in one */
@media (min-width: 810px) and (max-width: 1199px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1199px) {
  .step-card { gap: var(--s-24); padding-bottom: var(--s-40); }
  .step-card__q { margin-bottom: var(--s-8); }
  .step-card > div:last-child p { max-width: 560px; }
}

/* About page tool tiles: larger logos at full strength, no caption (asked for by Sam) */
.logo-tile img[src*="/logos/tiles/"] { width: 56px; height: 56px; max-width: none; max-height: none; opacity: .92; }
@media (min-width: 810px) { .logo-tile img[src*="/logos/tiles/"] { width: 64px; height: 64px; } }

/* ==========================================================================
   About page: service popups, results hover preview, arrow hover
   (all three follow the template's studio page)
   ========================================================================== */
/* Service cards: the whole card opens its popup */
.service:has([data-svc]) { cursor: pointer; }
.service .round-btn { overflow: hidden; }
.service .round-btn svg { width: 16px; height: 16px; }
/* arrow hover: grey disc, the arrow flies out top-right and comes back in from bottom-left */
.service.card:hover .round-btn, .service .round-btn:hover { background: #333; color: var(--c-paper); }
.service.card:hover .round-btn svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); }
@keyframes arrow-fly {
  0% { transform: translate(0, 0); }
  50% { transform: translate(130%, -130%); }
  50.01% { transform: translate(-130%, 130%); }
  100% { transform: translate(0, 0); }
}

.svc-modal { position: fixed; inset: 10px auto 10px 16px; width: min(560px, calc(100vw - 32px)); height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--c-ink); overflow: hidden; }
.svc-modal::backdrop { background: rgba(20, 20, 20, .45); }
.svc-modal[open] { animation: svc-in .5s var(--ease-out); }
.svc-modal[open]::backdrop { animation: fade-in .4s ease; }
@keyframes svc-in { from { opacity: 0; transform: translateX(-24px); } }
.svc-modal__inner { position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 24px 24px 40px; overflow-y: auto; overscroll-behavior: contain; font-size: 14px; line-height: 20px; }
/* the panel scrolls, so nothing inside it may be squeezed to fit */
.svc-modal__inner > * { flex-shrink: 0; }
.svc-modal h3 { padding-right: 48px; font-size: 32px; line-height: 40px; font-weight: 400; letter-spacing: var(--tracking-snug); }
.svc-modal__intro, .svc-modal__label { color: #7a7a7a; }
.svc-modal__intro { margin-top: 8px; max-width: 420px; }
.svc-modal__img { width: 100%; aspect-ratio: 512 / 320; margin: 24px 0 8px; border-radius: 20px; object-fit: cover; }
.svc-modal__label { margin-top: 24px; }
.svc-modal__close { position: absolute; top: 24px; right: 24px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ebebeb; color: var(--c-ink); font-size: 20px; line-height: 1; transition: background-color var(--dur), color var(--dur); }
.svc-modal__close:hover { background: var(--c-ink); color: #fff; }
.svc-modal__works { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 16px; overflow: hidden; }
.svc-modal__works a { position: relative; display: block; aspect-ratio: 255 / 125; background: #f5f5f5; overflow: hidden; }
.svc-modal__works img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.svc-modal__works a:hover img { transform: scale(1.05); }
.svc-modal__works a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 60%); }
.svc-modal__works span { position: absolute; left: 16px; bottom: 12px; z-index: 1; color: #f5f5f5; font-size: 20px; line-height: 28px; }
.svc-modal__more { margin-top: 24px; align-self: flex-start; color: var(--c-ink); }
.svc-modal__more .text-link__icon { background: #ebebeb; color: var(--c-ink); }
@media (prefers-reduced-motion: reduce) {
  .svc-modal[open], .svc-modal[open]::backdrop { animation: none; }
  .service.card:hover .round-btn svg { animation: none; }
}

/* Results rows: the hovered row stays bright, the rest dim, and a preview follows the cursor */
@media (hover: hover) {
  .awards ul:hover li a { opacity: .45; }
  .awards ul li a:hover { opacity: 1; }
}
.award-preview { position: fixed; left: 0; top: 0; z-index: 30; width: 240px; height: 160px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .25s ease; will-change: transform; }
.award-preview.is-on { opacity: 1; }
.award-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Hover behaviour, matched to the template across the site
   ========================================================================== */
/* Arrow buttons: on hover the disc goes grey (it used to turn white) and the arrow flies out to
   the top right and back in from the bottom left (it used to rotate). Hovering the card it sits
   in triggers it, as on the template. The small "back" arrows keep their own behaviour. */
.round-btn:not(.round-btn--back) { overflow: hidden; }
.round-btn:not(.round-btn--back) svg { width: 16px; height: 16px; }
.follow-list .round-btn svg { width: 12px; height: 12px; }
.round-btn:not(.round-btn--back):not(.round-btn--light):hover,
.card:hover .round-btn:not(.round-btn--back):not(.round-btn--light),
.send-btn:hover .round-btn,
.follow-list a:hover .round-btn,
.newsletter__field .round-btn:hover { background: #333; color: var(--c-paper); transform: none; }
.round-btn--light:hover, .project:hover .round-btn--light { background: var(--c-paper); color: var(--c-ink); transform: none; }
.round-btn:not(.round-btn--back):hover svg,
.card:hover .round-btn:not(.round-btn--back) svg,
.project:hover .round-btn svg,
.send-btn:hover .round-btn svg,
.follow-list a:hover .round-btn svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); }

/* Text links: the small disc darkens a shade and its arrow does the same fly, with no rotation */
.text-link__icon { overflow: hidden; }
.text-link:hover .text-link__icon { transform: none; background: #c9c9c9; color: var(--c-ink); }
.text-link--light:hover .text-link__icon, .text-link--dark:hover .text-link__icon { background: #333; color: var(--c-paper); }
.text-link:hover .text-link__icon svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); }

/* Pill buttons: the light fill wipes across from the leading dot instead of fading in */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::after { content: ""; position: absolute; z-index: -1; left: 20px; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--btn-bg-hover); transform: scale(0); transition: transform .6s cubic-bezier(.45, 0, .2, 1); pointer-events: none; }
@media (hover: hover) {
  .btn:hover { background: var(--btn-bg); }
  .btn:hover::after { transform: scale(56); }
}
@media (prefers-reduced-motion: reduce) {
  .round-btn:hover svg, .card:hover .round-btn svg, .project:hover .round-btn svg, .send-btn:hover .round-btn svg, .follow-list a:hover .round-btn svg, .text-link:hover .text-link__icon svg { animation: none; }
  .btn::after { transition: none; }
}

/* Lists inside the service popups: plain ruled rows, same type as the paragraphs */
.svc-modal__list { display: grid; }
.svc-modal__list li { padding: 10px 0; border-top: 1px solid #ebebeb; }
.svc-modal__list li:last-child { border-bottom: 1px solid #ebebeb; }

/* Project cards: the arrow in the "Read case study" button flies like the others instead of rotating */
.project__cta-icon { overflow: hidden; }
.project:hover .project__cta-icon { transform: none; }
.project:hover .project__cta-icon svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .project:hover .project__cta-icon svg { animation: none; } }

/* Blog rows: hover image, matched to the template. The article photo fades in from nothing on the
   left to full strength on the right, so the title stays readable. No dark overlay is needed. */
.post__banner { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 35.28%, rgba(0, 0, 0, .55) 65.23%, #000 100%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 35.28%, rgba(0, 0, 0, .55) 65.23%, #000 100%); }
.journal__list .post__banner { display: block !important; }
.post--side::before, .journal__list .post::before { display: none !important; }

/* Article body: the pieces real blog posts need that the template posts did not use */
.article__body > h3 { font-size: 20px; line-height: 28px; letter-spacing: var(--tracking-soft); }
.article__body ol { list-style: decimal; padding-left: 22px; }
.article__body li { margin-bottom: 8px; font-size: 17px; line-height: 28px; color: var(--c-grey-500); }
.article__body li:last-child { margin-bottom: 0; }
.article__body > p a, .article__body li a, .article__table a { color: var(--c-paper); text-decoration: underline; text-decoration-color: var(--c-grey-600); text-underline-offset: 3px; transition: text-decoration-color var(--dur); }
.article__body > p a:hover, .article__body li a:hover, .article__table a:hover { text-decoration-color: var(--c-paper); }
.article__body strong { color: var(--c-paper); font-weight: 500; }
.article__table { overflow-x: auto; border: 1px solid var(--c-ink-3); border-radius: 16px; }
.article__table table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.article__table th, .article__table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-ink-3); color: var(--c-grey-500); }
.article__table th { color: var(--c-paper); font-weight: 500; }
.article__table tr:last-child td { border-bottom: 0; }
.pullquote > figcaption { margin-top: var(--s-16); font-size: var(--fs-sm); color: var(--c-grey-600); }

/* Footer: breathing room under the email address, as on the template. There the menu card beside
   it is taller, which pushes the address line to the bottom; here the column gets a minimum height. */
@media (min-width: 1200px) { .footer__contact { min-height: 440px; } }

/* Form dropdowns: roomier options in a rounded dark panel (browsers that support styled selects),
   with plain padding as the fallback elsewhere */
.field select option { padding: 10px 14px; }
@supports (appearance: base-select) {
  .field select, .field select::picker(select) { appearance: base-select; }
  .field select::picker-icon { display: none; }
  .field select::picker(select) { margin-top: 10px; padding: 6px; border: 1px solid var(--c-ink-3); border-radius: 16px; background: var(--c-ink-2); color: var(--c-paper); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
  .field select option { padding: 11px 14px; border-radius: 10px; background: transparent; font-size: var(--fs-md); cursor: pointer; }
  .field select option:hover, .field select option:focus-visible { background: var(--c-ink-3); outline: 0; }
  .field select option:checked { background: #2c2c2c; }
  .field select option::checkmark { display: none; }
}

/* Blog grids: every card in a row is the same height, whether its title runs to one line or two.
   The author row sits at the bottom of each card. */
.journal-grid > li { display: flex; }
.journal-grid > li > .post { flex: 1; }
.journal-grid .post__body { display: flex; flex-direction: column; flex: 1; }
.journal-grid .post__body .author { margin-top: auto; padding-top: var(--s-40); }

/* Reviews page: the existing rating card and quote cards in the blog grid, all equal height per row */
.reviews-grid > li > .card { flex: 1; }
.reviews-grid .mini-quote { min-height: 0; }
.reviews-grid .mini-quote blockquote { font-size: 17px; line-height: 27px; }
.reviews { padding-bottom: var(--s-64) !important; }

/* Reviews page rating card: fills its row like the quote cards, and no glow on the reviews page (flat, no gradients) */
.reviews-grid .review-card { height: auto; min-height: 0; }
.reviews-grid .review-card::before { display: none; }

/* Rating card: flat everywhere, no glow (Sam: no gradients) */
.review-card::before { display: none; }

/* Project cards: hover matched to the template. Image eases up to 1.05 and the tags slide in from the right out of a blur */
.project:hover .project__img { transform: scale(1.05); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project__tags li { transform: translateX(8px); filter: blur(8px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), filter .45s var(--ease-out); will-change: opacity, transform, filter; }
  .project:hover .project__tags li, .project:focus-visible .project__tags li { transform: none; filter: none; }
}

/* Pill buttons: hover rebuilt from frame-by-frame measurements of the template.
   The leading dot is the fill: it grows across the pill while the label slides left into the dot's place and the
   arrow chip pops in on the right. The pill itself never changes width. */
.btn { padding: 0 24px 0 44px; transition: padding .42s cubic-bezier(.4, .05, 0, .85) .1s, background-color .45s cubic-bezier(.35, .05, .4, .55) .12s, color .43s cubic-bezier(.35, .4, 0, .95) .1s; }
.btn::before { display: none; }
.btn::after { left: 16px; top: 50%; width: 8px; height: 8px; margin: -4px 0 0; background: var(--btn-bg-hover); transform: none; transition: transform .5s cubic-bezier(.5, .25, .05, 1.05) .065s; }
.btn--ink { --btn-bg-hover: var(--c-paper); }
.btn__icon { position: absolute; right: 12px; top: 50%; width: 24px; height: 24px; margin: -12px 0 0; opacity: 1; transform: scale(0); transition: transform .42s cubic-bezier(.3, .05, 0, 1.05); }
@media (hover: hover) {
  .btn:hover { padding: 0 52px 0 16px; background: var(--btn-bg-hover); color: var(--btn-fg-hover); transition: padding .41s cubic-bezier(.35, .15, 0, .85) .015s, background-color .45s cubic-bezier(.35, .45, .35, .95) .105s, color 0s; }
  .btn:hover::before { display: none; }
  .btn:hover::after { transform: translateX(var(--btn-x, 80px)) scale(var(--btn-s, 26)); }
  .btn:hover .btn__icon { width: 24px; margin: -12px 0 0; opacity: 1; transform: none; transition: transform .36s cubic-bezier(.3, .1, 0, .95) .11s; }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn::after, .btn__icon, .btn:hover .btn__icon { transition: none; } }

/* Pricing cards: a light on the card's border that follows the cursor round the edge, as on the template.
   Card 01 is always lit; the others light up on hover. The layer is added by script.js. */
.plan { position: relative; }
.plan__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.plan .btn { z-index: 2; }
.edge-light { position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s cubic-bezier(.1, .6, .3, 1); }
.plan--featured .edge-light { opacity: 1; box-shadow: 0 0 24px rgba(180, 204, 151, .063); }
.plan--featured { border: 0; box-shadow: none; }
@media (hover: hover) { .plan:hover .edge-light { opacity: 1; } }
.edge-light i { position: absolute; inset: 0; border-radius: inherit; box-sizing: border-box; padding: 1px; background-origin: border-box; background-clip: border-box; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0); mask-composite: exclude; }
.edge-light__ring { -webkit-mask-clip: content-box, border-box; mask-clip: content-box, border-box;
  background-image:
    radial-gradient(circle 64px at var(--gx) var(--gy), rgb(246 253 206 / calc(1 * var(--lit, 1))) 0%, rgb(246 253 206 / calc(.92 * var(--lit, 1))) 9%, rgb(208 245 192 / calc(.66 * var(--lit, 1))) 21%, rgb(177 199 146 / calc(.3 * var(--lit, 1))) 38%, rgb(138 143 90 / calc(.1 * var(--lit, 1))) 62%, rgb(138 143 90 / 0) 100%),
    radial-gradient(circle 35px at calc(100% - var(--gx)) calc(100% - var(--gy)), #e9dbb4e6 0%, #e9dbb499 8%, #d3b66959 22%, #d3b6691a 60%, #d3b66900 100%),
    conic-gradient(from calc(var(--ang, 190) * 1deg + 90deg) at 50% 50%, #bfdca79e 0deg, #b7d19c88 10deg, #a6b88357 20deg, #96a16c29 30deg, #8e945f0f 40deg, #8b905b06 50deg, #8a8f5a02 70deg, #8a8f5a01 90deg, #8a8f5a02 110deg, #8a8f5a04 130deg, #9a975d0e 150deg, #b4a5621e 160deg, #d3b66930 170deg, #d3b66939 180deg, #d3b66930 190deg, #b4a5621e 200deg, #9a975d0e 210deg, #8a8f5a04 230deg, #8a8f5a02 250deg, #8a8f5a01 270deg, #8a8f5a02 290deg, #8b905b06 310deg, #8e945f0f 320deg, #96a16c29 330deg, #a6b88357 340deg, #b7d19c88 350deg, #bfdca79e 360deg); }
.edge-light__bevel { border: 4px solid transparent; -webkit-mask-clip: content-box, padding-box; mask-clip: content-box, padding-box;
  background-image:
    radial-gradient(circle 64px at var(--gx) var(--gy), rgb(246 253 206 / calc(.15 * var(--lit, 1))) 0%, rgb(246 253 206 / calc(.138 * var(--lit, 1))) 9%, rgb(208 245 192 / calc(.099 * var(--lit, 1))) 21%, rgb(177 199 146 / calc(.045 * var(--lit, 1))) 38%, rgb(138 143 90 / calc(.015 * var(--lit, 1))) 62%, rgb(138 143 90 / 0) 100%),
    conic-gradient(from calc(var(--ang, 190) * 1deg + 90deg) at 50% 50%, #bfdca721 0deg, #b7d19c1e 10deg, #a6b88316 20deg, #96a16c0e 30deg, #8e945f09 40deg, #8b905b06 50deg, #8a8f5a04 70deg, #8a8f5a02 90deg, #8a8f5a04 110deg, #8a8f5a06 130deg, #9a975d0a 150deg, #b4a5620e 160deg, #d3b66912 170deg, #d3b66914 180deg, #d3b66912 190deg, #b4a5620e 200deg, #9a975d0a 210deg, #8a8f5a06 230deg, #8a8f5a04 250deg, #8a8f5a02 270deg, #8a8f5a04 290deg, #8b905b06 310deg, #8e945f09 320deg, #96a16c0e 330deg, #a6b88316 340deg, #b7d19c1e 350deg, #bfdca721 360deg); }
/* Hovering a pricing card anywhere plays its button's hover */
@media (hover: hover) {
  .plan:hover .btn { padding: 0 52px 0 16px; background: var(--btn-bg-hover); color: var(--btn-fg-hover); transition: padding .41s cubic-bezier(.35, .15, 0, .85) .015s, background-color .45s cubic-bezier(.35, .45, .35, .95) .105s, color 0s; }
  .plan:hover .btn::after { transform: translateX(var(--btn-x, 80px)) scale(var(--btn-s, 26)); }
  .plan:hover .btn .btn__icon { transform: none; transition: transform .36s cubic-bezier(.3, .1, 0, .95) .11s; }
}
@media (prefers-reduced-motion: reduce) { .edge-light, .plan:hover .btn, .plan:hover .btn .btn__icon { transition: none; } }

/* Loading screen, matched to the template: two square panels that meet on the progress line at the exact
   middle of the screen, logo sharpening in above the line, then everything fades and the panels part. */
.preloader__panel { height: calc(50% + 1px); border-radius: 0; transition: transform .9s cubic-bezier(.76, 0, .24, 1), border-radius .35s ease; }
.preloader.is-opening .preloader__panel--top { border-radius: 0 0 var(--r-card) var(--r-card); }
.preloader.is-opening .preloader__panel--bottom { border-radius: var(--r-card) var(--r-card) 0 0; }
.preloader__content { top: 50%; translate: none; transition: opacity .3s ease; }
.preloader__logo, .preloader__logo--cribbar { position: absolute; left: 0; bottom: 100%; margin-bottom: 23px; animation: pre-logo .7s cubic-bezier(.2, .6, .2, 1) both; }
.preloader__line { margin-top: 0; background: rgba(255, 255, 255, .12); animation: pre-fade .5s ease .15s both; }
.preloader__line span { background: linear-gradient(90deg, rgba(138, 143, 90, .62), rgba(190, 219, 166, .62) 55%, rgba(246, 253, 206, .8)); box-shadow: none; }
.preloader__line span::after { right: -18px; top: -4px; width: 36px; height: 9px; background: radial-gradient(closest-side, rgba(180, 204, 151, .28), rgba(0, 0, 0, 0)); }
.preloader__meta { margin-top: 15px; line-height: 16px; animation: pre-fade .5s ease .15s both; }
.preloader__meta span:last-child { color: #7a7a7a; }
.preloader.is-fading .preloader__content, .preloader.is-opening .preloader__content { opacity: 0; }
@keyframes pre-logo { from { opacity: 0; filter: blur(10px); transform: translateY(8px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes pre-fade { from { opacity: 0; } to { opacity: 1; } }

/* Reviews page in the "Our Services" card layout: two across, rating pinned to the foot of each card */
.services.reviews { padding-top: 0 !important; align-items: center !important; }
.reviews-list .service { min-height: 0; }
.reviews-list .service__body { margin: 0; }
.reviews-list .rating { margin-top: auto; padding-top: var(--s-24); }

/* FAQ rows: no stray line under closed questions (the closed answer was peeking out 2px below each one),
   and the dots button is the template's oval rather than a rounded square */
.faq__item { grid-template-columns: 1fr 70px; row-gap: 0; }
.faq__answer { margin-top: 0; }
.faq__icon { width: 70px; border-radius: 999px; }
/* Reviews page: Google mark beside each "Google review" label */
.reviews-list .service__label { display: flex; align-items: center; gap: var(--s-8); }
.reviews-list .service__label .review-card__g { width: 16px; height: 16px; flex: none; }

/* Legal pages: the pieces the live terms use that the template's legal page has no style for */
.legal__body h3 { margin-top: var(--s-8); font-size: 19px; line-height: 28px; font-weight: 500; letter-spacing: var(--tracking-soft); }
.legal__body .legal__part { margin-top: var(--s-40); padding-top: var(--s-40); border-top: 1px solid var(--c-ink-3); font-size: var(--fs-sm); line-height: var(--lh-sm); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-grey-600); }
.legal__body .legal__part:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body .legal__note { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--c-grey-600); }
.legal__body a, .legal__contact a { color: var(--c-paper); text-decoration: underline; text-decoration-color: rgba(245, 245, 245, .35); text-underline-offset: 3px; }
.legal__body strong { color: var(--c-paper); font-weight: 500; }
.legal__body ul { display: flex; flex-direction: column; gap: var(--s-8); }
.legal__body code { padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, .06); font-size: 14px; }

/* Legal pages: numbered overview, each line jumps to its section */
.legal__toc { display: flex; flex-direction: column; gap: var(--s-16); }
.legal__toc ol { display: grid; grid-template-columns: 1fr; column-gap: var(--s-40); }
.legal__toc li { border-bottom: 1px solid var(--c-ink-3); }
.legal__toc a { display: flex; align-items: baseline; gap: var(--s-16); padding: 10px 0; color: var(--c-grey-300); transition: color var(--dur); }
.legal__toc a span { flex: none; width: 20px; font-size: var(--fs-xs); letter-spacing: var(--tracking-label); color: var(--c-grey-600); font-variant-numeric: tabular-nums; }
.legal__toc a:hover, .legal__toc a:focus-visible { color: var(--c-paper); }
.legal__body h2[id] { scroll-margin-top: 96px; }
@media (min-width: 810px) { .legal__toc ol { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(var(--toc-rows), auto); } }

/* Services page: the four service cards as an index, then one section per service built from cards */
.services.svc-index { padding-top: 0 !important; align-items: center !important; }
.svc { scroll-margin-top: 0; }
.svc-blocks { grid-template-columns: 1fr; }
.svc-block { display: flex; flex-direction: column; gap: var(--s-16); }
.svc-block h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: var(--tracking-soft); }
.svc-block > p { color: var(--c-grey-600); }
.svc-block .checklist li { align-items: flex-start; }
.svc-works { display: flex; flex-wrap: wrap; gap: var(--s-16) var(--s-32); }
@media (min-width: 810px) {
  .svc-blocks { grid-template-columns: 1fr 1fr; }
  .svc-block--wide { grid-column: 1 / -1; }
  .svc-block--wide .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16) var(--s-40); }
}

/* The Menu button is for phones and tablets; on desktop every link is already in the header */
@media (min-width: 1200px) { .site-header .menu-toggle { display: none; } }

/* Services mega menu: same light card as the Menu panel, opened from the Services link on desktop */
.mega { position: fixed; top: 52px; left: 0; z-index: 25; display: grid; grid-template-columns: 420px 260px; gap: var(--s-2); width: 686px; padding: var(--s-2); border-radius: var(--r-lg); background: var(--c-paper-2); color: var(--c-ink); transform-origin: top left; animation: menu-in .4s var(--ease-out); }
.mega[hidden] { display: none; }
.mega__card { display: flex; flex-direction: column; padding: var(--s-16); }
.mega__top, .mega__foot { display: flex; justify-content: space-between; gap: var(--s-16); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); }
.mega__list { margin: var(--s-8) 0 var(--s-16); }
.mega__list li { border-bottom: 1px solid rgba(20, 20, 20, .08); }
.mega__list li:last-child { border-bottom: 0; }
.mega__list a { display: grid; grid-template-columns: 24px 1fr 28px; align-items: center; gap: var(--s-12); padding: 12px 0; transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
.mega__n { font-size: var(--fs-xs); letter-spacing: var(--tracking-label); color: var(--c-grey-600); }
.mega__text b { display: block; font-size: 20px; line-height: 28px; font-weight: 400; letter-spacing: var(--tracking-soft); }
.mega__text small { display: block; font-size: 13px; line-height: 18px; color: var(--c-grey-600); }
.mega__go { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-paper); overflow: hidden; opacity: 0; transform: scale(.6); transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
.mega__go svg { width: 12px; height: 12px; }
.mega__list a:hover, .mega__list a:focus-visible { transform: translateX(4px); }
.mega__list a:hover .mega__go, .mega__list a:focus-visible .mega__go { opacity: 1; transform: none; }
.mega__list a:hover .mega__go svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); }
.mega__foot { margin-top: auto; }
.mega__foot a { color: var(--c-ink); font-weight: 500; }
.mega__foot a:hover { opacity: .55; }
.mega__image { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 22px; }
@media (prefers-reduced-motion: reduce) { .mega { animation: none; } .mega__list a, .mega__go { transition: none; } .mega__list a:hover .mega__go svg { animation: none; } }
/* Service sections are link targets: stop a little below the fixed header */
.svc { scroll-margin-top: 0; }

/* Service card titles sized so the longest one, Search Engine Optimisation, stays on one line like the others */
.service__head h3 { font-size: 22px; line-height: 1.2; }
@media (min-width: 810px) { .service__head h3 { font-size: 26px; } }

/* Header links that open a panel get a small chevron, so it is clear there is more inside */
.site-nav a.has-mega { padding-right: 14px; }
.site-nav a.has-mega::before { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform var(--dur) var(--ease-out); }
.site-nav a.has-mega[aria-expanded="true"]::before { transform: translateY(3px) rotate(225deg); }
.site-nav a.has-mega::after { margin-left: -9.5px; }

/* Services page, second pass: answers in short, a reel that scrolls through everything on offer, three service
   cards, and the process as numbered cards. Flat cards on the dark page, no gradients. */
.svc-short { padding-top: 0 !important; align-items: stretch !important; }
.svc-short > h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tracking-snug); max-width: 520px; }
.svc-qs, .svc-picks, .svc-steps { width: 100%; grid-template-columns: 1fr; }
.svc-q { display: flex; flex-direction: column; gap: var(--s-12); }
.svc-q__n { display: flex; align-items: center; gap: var(--s-12); margin-bottom: var(--s-12); }
.svc-q__n i { flex: 1; height: 1px; background: var(--c-ink-3); }
.svc-q h3, .svc-step h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: var(--tracking-soft); }
.svc-q > p:last-child, .svc-step p, .svc-pick > p { color: var(--c-grey-600); }
.svc-q a { color: var(--c-paper); text-decoration: underline; text-decoration-color: rgba(245, 245, 245, .35); text-underline-offset: 3px; }

.svc-reel { display: block !important; padding: 0 var(--section-pad-x) !important; }
.svc-reel__card { display: grid; gap: var(--s-40); align-items: center; padding: var(--s-40) var(--s-24); box-shadow: 0 0 0 2px var(--c-ink-2); }
.svc-reel__dial { position: relative; width: min(100%, 240px); aspect-ratio: 1; margin: 0 auto; }
.svc-reel__dial svg { width: 100%; height: 100%; }
.svc-reel__ring { fill: none; stroke: var(--c-ink-3); stroke-width: 1; }
.svc-reel__ticks line { stroke: var(--c-ink-4); stroke-width: 1.4; stroke-linecap: round; }
.svc-reel__needle { transform-origin: 100px 100px; transition: transform .5s var(--ease-out); }
.svc-reel__needle line { stroke: var(--c-paper); stroke-width: 2; stroke-linecap: round; }
.svc-reel__num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.svc-reel__side { display: flex; flex-direction: column; gap: var(--s-24); min-width: 0; }
.svc-reel__lead { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 400; color: var(--c-grey-500); }
.svc-reel__list { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-24); color: var(--c-grey-300); }
.svc-reel__count { display: none; align-items: center; gap: var(--s-16); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-600); font-variant-numeric: tabular-nums; }
.svc-reel__count b { color: var(--c-paper); font-weight: 500; }
.svc-reel__bar { position: relative; flex: 1; height: 1px; background: var(--c-ink-3); }
.svc-reel__bar i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--c-paper); transition: width .5s var(--ease-out); }
/* with scripting on, the section is tall and the card stays put while the list steps through */
.js .svc-reel { height: calc(100svh + var(--reel-n) * 70px); }
.js .svc-reel__stick { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: 72px 0 var(--s-16); }
.js .svc-reel__card { width: 100%; }
.js .svc-reel__window { --reel-line: 44px; height: calc(var(--reel-line) * 2); overflow: hidden; }
.js .svc-reel__list { display: block; transition: transform .5s var(--ease-out); will-change: transform; }
.js .svc-reel__list li { height: var(--reel-line); font-size: 30px; line-height: var(--reel-line); font-weight: 500; letter-spacing: var(--tracking-snug); white-space: nowrap; color: var(--c-paper); opacity: .22; transition: opacity .4s; }
.js .svc-reel__list li.is-on { opacity: 1; }
.js .svc-reel__count { display: flex; }

.svc-pick { position: relative; display: flex; flex-direction: column; gap: var(--s-24); }
.svc-pick__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); }
.svc-pick__head h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: var(--tracking-soft); }
.svc-pick__head h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-pick__head .round-btn { overflow: hidden; }
.svc-pick__head .round-btn svg { width: 16px; height: 16px; }
.svc-pick__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md, 16px); }
.svc-pick__chips { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: auto; font-size: var(--fs-sm); line-height: var(--lh-sm); }
.svc-picks__wide { display: grid; }
@media (hover: hover) {
  .svc-pick:hover .round-btn { background: #333; color: var(--c-paper); }
  .svc-pick:hover .round-btn svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); }
}
.svc-step { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-64); min-height: 260px; }
.svc-step__n { font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.svc-step > div { display: flex; flex-direction: column; gap: var(--s-8); }
.svc-process, .svc-what { padding-bottom: 0 !important; }

@media (min-width: 810px) {
  .svc-qs, .svc-steps { grid-template-columns: 1fr 1fr; }
  .svc-reel__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); padding: var(--s-64) var(--s-40); }
  .svc-reel__dial { width: min(100%, 360px); }
  .svc-reel__num { font-size: 96px; }
  .js .svc-reel__window { --reel-line: 72px; }
  .js .svc-reel__list li { font-size: 52px; }
}
@media (min-width: 1200px) {
  .svc-qs, .svc-picks, .svc-steps { grid-template-columns: repeat(3, 1fr); }
  .svc-picks__wide { grid-column: 1 / -1; }
  .svc-reel__card { min-height: 560px; padding: var(--s-64); }
  .js .svc-reel__window { --reel-line: 88px; }
  .js .svc-reel__list li { font-size: 64px; }
}
@media (min-width: 1441px) { .svc-short, .svc-reel { padding-left: calc((100% - 1440px) / 2 + var(--section-pad-x)) !important; padding-right: calc((100% - 1440px) / 2 + var(--section-pad-x)) !important; } }
@media (prefers-reduced-motion: reduce) { .svc-reel__needle, .svc-reel__bar i, .js .svc-reel__list, .js .svc-reel__list li { transition: none; } }

/* Services page, third pass: a smaller reel, and each service as a short tab instead of a long section */
.svc-reel__card { gap: var(--s-24); padding: var(--s-32) var(--s-24); }
.svc-reel__dial { width: 150px; }
.svc-reel__num { font-size: 44px; }
.js .svc-reel { height: auto; padding-bottom: calc(var(--reel-n) * 56px) !important; }
.js .svc-reel__stick { top: 88px; height: auto; display: block; padding: 0; }
.js .svc-reel__window { --reel-line: 32px; }
.js .svc-reel__list li { font-size: 21px; }
.svc-tabs__grid { width: 100%; grid-template-columns: minmax(0, 1fr); }
.svc-tabs__nav { display: flex; gap: var(--s-8); padding: var(--s-12); overflow-x: auto; scrollbar-width: none; }
.svc-tabs__nav button { flex: none; display: inline-flex; align-items: center; gap: var(--s-12); padding: 10px 16px; border-radius: var(--r-pill); color: var(--c-grey-300); white-space: nowrap; transition: background-color var(--dur), color var(--dur); }
.svc-tabs__nav button .index { color: inherit; opacity: .5; }
.svc-tabs__nav button:hover { color: var(--c-paper); }
.svc-tabs__nav button[aria-selected="true"] { background: var(--c-paper); color: var(--c-ink); }
.svc-tabs__panels { display: grid; gap: var(--s-2); min-width: 0; }
.svc-panel { display: flex; flex-direction: column; gap: var(--s-24); scroll-margin-top: 96px; }
.svc-panel[hidden] { display: none; }
.svc-panel__head { display: flex; flex-direction: column; gap: var(--s-16); }
.svc-panel__head h3 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: var(--tracking-soft); }
.svc-panel__head p { margin-top: 6px; max-width: 520px; color: var(--c-grey-600); }
.svc-panel__head .btn { align-self: flex-start; flex: none; }
.svc-panel__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md, 16px); }
.svc-panel__list li { align-items: flex-start; }
.svc-panel__note { display: flex; flex-direction: column; gap: 6px; padding-top: var(--s-24); border-top: 1px solid var(--c-ink-3); color: var(--c-grey-500); }
.svc-work { padding-top: var(--section-pad-y) !important; padding-bottom: 0 !important; }
.svc-tabs { padding-bottom: 0 !important; }
@media (min-width: 810px) {
  .svc-reel__card { grid-template-columns: 180px minmax(0, 1fr); padding: var(--s-40); }
  .svc-reel__dial { width: 180px; }
  .svc-reel__num { font-size: 56px; }
  .js .svc-reel__window { --reel-line: 48px; }
  .js .svc-reel__list li { font-size: 32px; }
  .svc-panel__head { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .svc-panel__img { aspect-ratio: 16 / 7; }
  .svc-panel__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16) var(--s-40); }
}
@media (min-width: 1200px) {
  .svc-reel__card { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-64); min-height: 0; padding: var(--s-40) var(--s-64); }
  .svc-reel__dial { width: 200px; }
  .js .svc-reel__window { --reel-line: 56px; }
  .js .svc-reel__list li { font-size: 40px; }
  .svc-tabs__grid { grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
  .svc-tabs__nav { position: sticky; top: 88px; flex-direction: column; gap: 4px; padding: var(--s-16); overflow: visible; }
  .svc-tabs__nav button { justify-content: flex-start; padding: 14px 16px; border-radius: var(--r-md, 16px); font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--tracking-soft); white-space: normal; text-align: left; }
  .svc-panel { padding: var(--s-40); }
}

/* Services page "What we do" cards: the same border light on hover as the homepage pricing cards */
@media (hover: hover) { .svc-pick:hover .edge-light { opacity: 1; } }

/* Services page cards: six tags each and the tags sit at the foot, so they line up across the three cards */
@media (min-width: 1200px) { .svc-pick > p { min-height: calc(var(--lh-body) * 2); } }

/* Services page hero: text and figures on the left, three client mockups on the right. And the reel fixed so the
   card stays in view while it steps through (the scroll room now sits inside the section, after the card). */
.svc-hero { padding-bottom: 0 !important; align-items: start; }
.svc-hero__lead { max-width: 440px; color: var(--c-grey-600); }
.svc-hero .studio-hero__intro .btn { align-self: flex-start; }
.svc-hero .stats--grid { margin-top: var(--s-24); }
.svc-mosaic { grid-template-columns: 1fr 1fr; align-self: start; }
.svc-mosaic a { display: block; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 4 / 3; }
.svc-mosaic a.svc-mosaic__big { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.svc-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
@media (hover: hover) { .svc-mosaic a:hover img { transform: scale(1.04); } }
.svc-reel { padding-top: var(--s-64) !important; }
.js .svc-reel { padding-bottom: 0 !important; }
.js .svc-reel::after { content: ""; display: block; height: calc(var(--reel-n) * 56px); }
@media (min-width: 1200px) { .svc-hero { column-gap: var(--s-40) !important; } .svc-hero .stats--grid { margin-top: var(--s-40); } .svc-reel { padding-top: var(--s-96) !important; } }
@media (prefers-reduced-motion: reduce) { .svc-mosaic img { transition: none; } }

/* Services page "Each service, in detail": the homepage pricing layout, with the rows acting as the chooser */
.svc-tabs__panels { display: grid; min-width: 0; }
.svc-plan[hidden] { display: none; }
.svc-plan { scroll-margin-top: 96px; }
.svc-plan__intro { max-width: 460px; margin-top: calc(var(--s-8) * -1); }
.svc-plan__note { flex: 1 1 260px; max-width: 420px; font-size: var(--fs-sm); line-height: var(--lh-sm); }
.svc-plan .plan__foot { align-items: center; padding-top: var(--s-24); border-top: 1px solid var(--c-ink-3); }
.svc-row { width: 100%; text-align: left; cursor: pointer; }
.svc-row .plan__top, .svc-row .plan__row { width: 100%; }
.svc-row .plan__row { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--s-16); }
.svc-row__name { display: block; font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tracking-snug); color: var(--c-paper); transition: opacity var(--dur); }
.svc-row__line { display: block; margin-top: 4px; color: var(--c-grey-600); }
.svc-row .round-btn { flex: none; overflow: hidden; }
.svc-row .round-btn svg { width: 16px; height: 16px; }
.svc-row__state::after { content: "View"; }
.svc-row[aria-selected="true"] .svc-row__state::after { content: "Showing"; color: var(--c-paper); }
.svc-row[aria-selected="false"] .svc-row__name { opacity: .5; }
.svc-row[aria-selected="true"] .edge-light { opacity: 1; }
.svc-row[aria-selected="true"] .round-btn { background: var(--c-paper); color: var(--c-ink); }
@media (hover: hover) {
  .svc-row:hover .svc-row__name { opacity: 1; }
  .svc-row[aria-selected="false"]:hover .round-btn { background: #333; color: var(--c-paper); }
  .svc-row:hover .round-btn svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); }
}
@media (max-width: 1199.98px) { .svc-tabs__grid .pricing__side { order: -1; } }
@media (prefers-reduced-motion: reduce) { .svc-row:hover .round-btn svg { animation: none; } }

/* Services page spacing, matched to the homepage: sections with a heading get the full gap above and below, the
   project cards follow straight on from the section before them, and the detail block uses the pricing grid's
   two equal columns. */
.svc-what, .svc-tabs, .svc-process { padding-bottom: var(--section-pad-y) !important; }
.svc-work { padding-top: 0 !important; padding-bottom: var(--section-pad-y) !important; }
.svc-tabs__grid { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 1200px) { .svc-tabs__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Footer: copyright and legal links sit under the big logo, centred */
.site-footer > .footer__legal { justify-content: center; text-align: center; padding: 0 var(--s-16) var(--s-40); }
.footer__links { padding-bottom: 0; border-bottom: 0; }
.svc-mosaic { grid-template-columns: 1fr; }

/* Detail card: the note sits above the foot, and the foot holds the starting price and the button like the homepage pricing card */
.svc-plan__note { flex: none; max-width: 460px; padding-top: var(--s-24); border-top: 1px solid var(--c-ink-3); }
.svc-plan .plan__foot { align-items: flex-end; padding-top: 0; border-top: 0; }

/* Services page reel, made bigger: a taller card, a larger dial and number, and larger lines */
.svc-reel__card { gap: var(--s-32); padding: var(--s-40) var(--s-24); }
.svc-reel__dial { width: 190px; }
.svc-reel__num { font-size: 64px; }
.svc-reel__lead { font-size: 20px; line-height: 28px; }
.js .svc-reel::after { height: calc(var(--reel-n) * 70px); }
.js .svc-reel__window { --reel-line: 38px; }
.js .svc-reel__list li { font-size: 26px; }
@media (min-width: 810px) {
  .svc-reel__card { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-40); padding: var(--s-64) var(--s-40); }
  .svc-reel__dial { width: 240px; }
  .svc-reel__num { font-size: 80px; }
  .js .svc-reel__window { --reel-line: 52px; }
  .js .svc-reel__list li { font-size: 36px; }
}
@media (min-width: 1200px) {
  .svc-reel__card { grid-template-columns: 320px minmax(0, 1fr); gap: var(--s-96, 96px); min-height: 480px; padding: var(--s-64) var(--s-96, 96px); }
  .svc-reel__dial { width: 320px; }
  .svc-reel__num { font-size: 112px; }
  .svc-reel__lead { font-size: 24px; line-height: 32px; }
  .js .svc-reel__window { --reel-line: clamp(60px, 5.2vw, 84px); }
  .js .svc-reel__list li { font-size: clamp(43px, 3.7vw, 60px); }
}

/* Process as a timeline: numbered points joined by a line. Five across on desktop, running down the page below that. */
.svc-timeline .svc-step { position: relative; min-height: 0; justify-content: flex-start; gap: var(--s-24); padding-left: calc(var(--s-24) + 44px + var(--s-24)); }
.svc-timeline .svc-step__n { position: absolute; left: var(--s-24); top: var(--s-24); z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-ink-4); background: var(--c-ink); font-size: var(--fs-sm); line-height: 1; font-weight: 500; letter-spacing: var(--tracking-label); transition: background-color var(--dur), color var(--dur), border-color var(--dur); }
.svc-timeline .svc-step::before { content: ""; position: absolute; left: calc(var(--s-24) + 21.5px); top: 0; bottom: 0; width: 1px; background: var(--c-ink-3); }
.svc-timeline .svc-step:first-child::before { top: calc(var(--s-24) + 22px); }
.svc-timeline .svc-step:last-child::before { bottom: auto; height: calc(var(--s-24) + 22px); }
.svc-timeline .svc-step > div { padding-top: 10px; }
@media (hover: hover) { .svc-timeline .svc-step:hover .svc-step__n { background: var(--c-paper); border-color: var(--c-paper); color: var(--c-ink); } }
@media (min-width: 1200px) {
  .svc-steps.svc-timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .svc-timeline .svc-step { min-height: 300px; padding-left: var(--s-24); padding-top: calc(var(--s-24) + 44px + var(--s-40)); }
  .svc-timeline .svc-step::before { left: 0; right: 0; top: calc(var(--s-24) + 21.5px); bottom: auto; width: auto; height: 1px; }
  .svc-timeline .svc-step:first-child::before { top: calc(var(--s-24) + 21.5px); left: calc(var(--s-24) + 22px); }
  .svc-timeline .svc-step:last-child::before { height: 1px; right: auto; width: calc(var(--s-24) + 22px); }
  .svc-timeline .svc-step > div { padding-top: 0; }
}

/* Services hero: a project card instead of a flat picture, and the timeline stays in one column until there is room for five across */
.svc-hero__work { align-self: start; grid-template-columns: 1fr; }
.svc-hero__work .project { height: 380px; }
@media (min-width: 810px) { .svc-hero__work .project { height: 460px; } }
@media (min-width: 1200px) { .svc-hero__work .project { height: min(560px, 62vh); min-height: 420px; } }
@media (max-width: 1199.98px) { .svc-steps.svc-timeline { grid-template-columns: 1fr; } }

/* Chooser rows: a labelled button says what a click does ("Show details") and which one is open ("Showing") */
.svc-row__pill { flex: none; display: inline-flex; align-items: center; gap: var(--s-8); height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--c-ink-2); color: var(--c-paper); font-size: var(--fs-sm); line-height: 1; white-space: nowrap; transition: background-color var(--dur), color var(--dur); }
.svc-row__pill svg { display: none; width: 14px; height: 14px; }
.svc-row__pill span::after { content: "Show details"; }
.svc-row[aria-selected="true"] .svc-row__pill { background: var(--c-paper); color: var(--c-ink); }
.svc-row[aria-selected="true"] .svc-row__pill svg { display: block; }
.svc-row[aria-selected="true"] .svc-row__pill span::after { content: "Showing"; }
@media (hover: hover) { .svc-row[aria-selected="false"]:hover .svc-row__pill { background: #333; } }
.svc-hero__work .project__img { object-position: 50% 60%; }

/* Header tagline: same treatment as the menu links, so it changes colour with them over light and dark backgrounds.
   It is the menu colour at reduced strength, which reads as the same mid grey on both. */
.site-header .site-header__tagline { color: var(--c-paper); opacity: .55; border-left-color: rgba(245, 245, 245, .35); }

/* Footer: "See what AI thinks" row under the menu links. Each button opens that assistant with a question about the business typed in. */
.footer__ai { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-12) var(--s-16); margin-top: var(--s-40); padding-top: var(--s-24); border-top: 1px solid var(--c-ink-3); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--c-grey-500); }
.footer__ai ul { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.footer__ai a { display: inline-flex; align-items: center; gap: var(--s-8); height: 36px; padding: 0 12px 0 14px; border-radius: var(--r-pill); background: var(--c-ink-2); color: var(--c-paper); transition: background-color var(--dur), color var(--dur); }
.footer__ai a svg { width: 12px; height: 12px; }
.footer__ai a:hover, .footer__ai a:focus-visible { background: var(--c-paper); color: var(--c-ink); }
@media (hover: hover) { .footer__ai a:hover svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); } .footer__ai a { overflow: hidden; } }
@media (prefers-reduced-motion: reduce) { .footer__ai a:hover svg { animation: none; } }

/* Footer AI buttons: each assistant's logo beside its name, in the button's own colour */
.footer__ai a { padding: 0 14px 0 12px; }
.footer__ai a .footer__ai-logo { width: 16px; height: 16px; fill: currentColor; animation: none !important; }

/* Footer, tidied: three columns of links on the right (Explore, Services, Resources), each with a ruled heading,
   and the "See what AI thinks" row under the email on the left */
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-40) var(--s-24); }
.footer__head { padding-bottom: var(--s-12); margin-bottom: var(--s-12); border-bottom: 1px solid var(--c-ink-3); font-size: 18px; line-height: 27px; font-weight: 500; letter-spacing: var(--tracking-soft); color: var(--c-paper); }
.footer__list { display: flex; flex-direction: column; gap: 2px; }
.footer__list a { display: inline-block; padding: 5px 0; font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-grey-300); transition: color var(--dur), transform var(--dur) var(--ease-out); }
.footer__list a:hover, .footer__list a:focus-visible { color: var(--c-paper); transform: translateX(4px); }
.footer__contact .footer__ai { margin-top: var(--s-8); padding-top: 0; border-top: 0; }
.footer__contact .footer__ai a { background: var(--c-ink); }
.footer__contact .footer__ai a:hover, .footer__contact .footer__ai a:focus-visible { background: var(--c-paper); }
@media (min-width: 810px) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-40); } .footer__menu { padding: var(--s-40); } }

/* Footer: the AI row sits under the link columns, pinned to the foot of the card; email icon matches the Facebook one */
.footer__menu .footer__ai { margin-top: auto; }
.footer__menu { gap: var(--s-40); }
.socials { align-items: center; }

/* Footer copyright: a little more room between the year and the name */
.footer__legal strong { margin-left: 6px; }

/* Header links that open a panel: two small dots beside the word, like the Menu button's dots on the template.
   They turn upright while the panel is open. */
.site-nav a.has-mega { padding-right: 19px; }
.site-nav a.has-mega::before { display: none; }
.site-nav a.has-mega::after { left: auto; right: 7px; top: 50%; width: 4px; height: 4px; margin: -2px 0 0; border-radius: 50%; background: currentColor; box-shadow: 7px 0 0 currentColor; opacity: 1; transform: none; transform-origin: 5.5px 2px; transition: transform var(--dur) var(--ease-out); }
.site-nav a.has-mega:hover::after, .site-nav a.has-mega:focus-visible::after, .site-nav a.has-mega[aria-expanded="true"]::after { opacity: 1; transform: rotate(90deg); }

/* Phone and tablet menu: fills the screen below the header bar. Links large, then the email address and a
   Start a project button, with the photo taking whatever height is left. */
.menu-panel__foot { flex-direction: column; align-items: flex-start; gap: var(--s-16); padding-top: var(--s-24); border-top: 1px solid rgba(20, 20, 20, .1); }
.menu-panel__email { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: var(--tracking-soft); color: var(--c-ink); }
.menu-panel__email:hover { opacity: .6; }
@media (max-width: 1199.98px) {
  .site-header.is-open { background: var(--c-ink); }
  .menu-panel { position: fixed; top: 56px; right: 0; bottom: 0; left: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; grid-template-rows: auto minmax(120px, 1fr); overflow-y: auto; overscroll-behavior: contain; transform-origin: top center; }
  .menu-panel__card { padding: var(--s-24); }
  .menu-panel__links { margin: var(--s-16) 0 var(--s-24); }
  .menu-panel__links a { font-size: 36px; line-height: 48px; }
  .menu-panel__image { height: 100%; min-height: 120px; }
}
@media (max-width: 1199.98px) and (max-height: 700px) { .menu-panel__links a { font-size: 28px; line-height: 38px; } .menu-panel__links { margin: var(--s-8) 0 var(--s-16); } }

/* Tablet: the open menu spans the full width too */
@media (max-width: 1199.98px) { .menu-panel { width: auto; max-width: none; margin: 0; } }

/* Open menus, positioned like the template: a rounded card just inside the screen edges that scrolls inside itself
   when it is taller than the screen. The phone menu has no label, clock or location line. */
.menu-panel__top { display: none; }
.mega { max-height: calc(100vh - 64px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(20, 20, 20, .25) transparent; }
@media (max-width: 1199.98px) {
  .menu-panel { top: 56px; right: 4px; bottom: 4px; left: 4px; border-radius: var(--r-lg); scrollbar-width: thin; scrollbar-color: rgba(20, 20, 20, .25) transparent; }
  .menu-panel__links { margin-top: 0; }
}
/* Footer, measured against the template: same card height, same distance from the status pill to the lines below it,
   regular-weight email, and the right-hand card on the same 24px inset as the left */
.footer__email { font-weight: 400; }
.footer__lines { margin-top: 20px; }
@media (min-width: 810px) { .footer__menu { padding: var(--s-24); } }
@media (min-width: 1200px) { .footer__contact { min-height: 504px; } .footer__menu { padding: 26px var(--s-24) var(--s-24); } }

/* Phone menu links as option rows: each is a full-width row with its number, a rule under it and an arrow at the end */
@media (max-width: 1199.98px) {
  .menu-panel__links { counter-reset: opt; margin: 0 0 var(--s-24); }
  .menu-panel__links li { counter-increment: opt; border-bottom: 1px solid rgba(20, 20, 20, .1); }
  .menu-panel__links li:first-child { border-top: 1px solid rgba(20, 20, 20, .1); }
  .menu-panel__links a { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; gap: var(--s-12); width: 100%; padding: 13px 0; font-size: 26px; line-height: 34px; }
  .menu-panel__links a::before { content: "0" counter(opt); font-size: var(--fs-xs); line-height: 1; letter-spacing: var(--tracking-label); color: var(--c-grey-600); }
  .menu-panel__links a::after { content: ""; justify-self: end; width: 8px; height: 8px; margin-right: 6px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); opacity: .45; transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
  .menu-panel__links a:hover, .menu-panel__links a:active { opacity: 1; transform: none; background: rgba(20, 20, 20, .04); }
  .menu-panel__links a:hover::after, .menu-panel__links a:active::after { opacity: 1; transform: translateX(3px) rotate(45deg); }
  .menu-panel__foot { border-top: 0; padding-top: 0; }
}
@media (max-width: 1199.98px) and (max-height: 700px) { .menu-panel__links a { padding: 9px 0; font-size: 22px; line-height: 30px; } .menu-panel__links { margin: 0 0 var(--s-16); } }

/* Services panel without a picture: one column, and a line icon in a soft circle beside each option */
.mega--plain { grid-template-columns: 1fr; width: 440px; }
.mega__list a:has(.mega__icon) { grid-template-columns: 44px 1fr 28px; gap: var(--s-16); padding: 14px 0; }
.mega__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(20, 20, 20, .06); color: var(--c-ink); transition: background-color var(--dur), color var(--dur); }
.mega__icon svg { width: 20px; height: 20px; }
.mega__list a:hover .mega__icon, .mega__list a:focus-visible .mega__icon { background: var(--c-ink); color: var(--c-paper); }

/* Services panel icons: plain line icons, no circle behind them */
.mega__list a:has(.mega__icon) { grid-template-columns: 26px 1fr 28px; gap: var(--s-16); }
.mega__icon { width: 26px; height: 26px; border-radius: 0; background: none; color: var(--c-ink); opacity: .7; transition: opacity var(--dur); }
.mega__icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.mega__list a:hover .mega__icon, .mega__list a:focus-visible .mega__icon { background: none; color: var(--c-ink); opacity: 1; }

/* Menus in the site's own dark card style (the light panels did not fit): a dark frame holding dark cards, like the
   pricing and service cards. Applies to the desktop Services panel and the phone and tablet menu. */
.mega, .menu-panel { background: var(--c-ink-2); color: var(--c-paper); padding: var(--s-2); gap: var(--s-2); border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); scrollbar-color: rgba(245, 245, 245, .25) transparent; }
.mega--plain { width: 460px; }
.mega__card { display: grid; gap: var(--s-2); padding: 0; background: none; }
.mega__top { display: none; }
.mega__list { display: grid; gap: var(--s-2); margin: 0; }
.mega__list li, .mega__list li:last-child { border: 0; border-radius: calc(var(--r-card) - 2px); background: var(--c-ink); }
.mega__list a:has(.mega__icon), .mega__list a { padding: 20px var(--s-24); }
.mega__list a:hover, .mega__list a:focus-visible { transform: none; }
.mega__text b { color: var(--c-paper); }
.mega__text small { color: var(--c-grey-600); }
.mega__icon, .mega__list a:hover .mega__icon, .mega__list a:focus-visible .mega__icon { color: var(--c-paper); }
.mega__go { opacity: 1; transform: none; width: 36px; height: 36px; background: var(--c-ink-2); color: var(--c-paper); transition: background-color var(--dur), color var(--dur); }
.mega__list a:has(.mega__icon) { grid-template-columns: 26px 1fr 36px; }
.mega__list a:hover .mega__go, .mega__list a:focus-visible .mega__go { background: var(--c-paper); color: var(--c-ink); }
.mega__foot { margin: 0; padding: 18px var(--s-24); border-radius: calc(var(--r-card) - 2px); background: var(--c-ink); }
.mega__foot a { color: var(--c-paper); font-weight: 400; }
.menu-panel__card { border-radius: calc(var(--r-card) - 2px); background: var(--c-ink); }
.menu-panel__image { border-radius: calc(var(--r-card) - 2px); }
.menu-panel__email { color: var(--c-paper); }
@media (max-width: 1199.98px) {
  .menu-panel { border-radius: var(--r-card); }
  .menu-panel__links li, .menu-panel__links li:first-child { border-color: var(--c-ink-3); }
  .menu-panel__links a { color: var(--c-paper); }
  .menu-panel__links a:hover, .menu-panel__links a:active { background: rgba(245, 245, 245, .04); }
}

/* Phone and tablet menu, back to the template's panel (Sam liked it): a light rounded card as tall as its content,
   a small top line, large plain links, then the email and a Start a project button along the bottom, with the photo
   card underneath. The desktop Services panel keeps the dark card style. */
@media (max-width: 1199.98px) {
  .menu-panel { bottom: auto; max-height: calc(100dvh - 60px); background: var(--c-paper-2); color: var(--c-ink); box-shadow: none; border-radius: var(--r-lg); grid-template-rows: auto auto; scrollbar-color: rgba(20, 20, 20, .25) transparent; }
  .menu-panel__card { padding: var(--s-16) var(--s-16) var(--s-24); background: none; }
  .menu-panel__top { display: flex; }
  .menu-panel__links { counter-reset: none; margin: var(--s-12) 0 var(--s-32); }
  .menu-panel__links li, .menu-panel__links li:first-child { border: 0; }
  .menu-panel__links a { display: inline-block; width: auto; padding: 0; font-size: 36px; line-height: 52px; color: var(--c-ink); }
  .menu-panel__links a::before, .menu-panel__links a::after { content: none; }
  .menu-panel__links a:hover, .menu-panel__links a:active { background: none; opacity: .55; transform: translateX(4px); }
  .menu-panel__foot { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-12); padding-top: 0; border-top: 0; }
  .menu-panel__email { font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 400; letter-spacing: 0; color: var(--c-grey-600); }
  .menu-panel__image { height: 220px; min-height: 0; border-radius: 22px; }
}
@media (max-width: 1199.98px) and (max-height: 700px) { .menu-panel__links a { font-size: 28px; line-height: 40px; padding: 0; } .menu-panel__links { margin: var(--s-8) 0 var(--s-24); } .menu-panel__image { height: 140px; } }

/* Hero note on phones and tablets: it sits under the button at every width below desktop (beside the button it was
   hidden behind the photo ribbons on tablets), and the arrow lands on the button itself rather than its rounded corner */
@media (max-width: 1199.98px) {
  .hero__actions { margin-bottom: 64px; }
  .hero__note { top: calc(100% - 1px); right: auto; left: 38px; flex-direction: row; align-items: flex-start; gap: 6px; }
  .hero__note-arrow { width: 34px; height: 26px; transform: scaleX(-1) rotate(-25deg); margin: 0; }
  .hero__note-text { margin: 20px 0 0; font-size: 20px; }
}

/* Header links: hovering one dims the others to 40%, as on the template (same curve and timing). The same holds
   while the Services panel is open, so Services stays lit and the rest stay dimmed. */
.site-nav a { transition: opacity .5s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  .site-nav ul:has(a:hover) a:not(:hover),
  .site-nav ul:has(a[aria-expanded="true"]) a:not([aria-expanded="true"]):not(:hover) { opacity: .4; }
  .site-nav ul:has(a:hover) a:hover { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .site-nav a { transition: none; } }

/* Research Centre question cards: topic chip, the question, and an arrow, used on the index and under each article */
.rq-grid > li { display: flex; }
.rq { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-24); min-height: 200px; }
.rq .chip { font-size: var(--fs-xs); line-height: var(--lh-xs); }
.rq__q { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: var(--tracking-soft); padding-right: var(--s-40); }
.rq .round-btn { margin-top: auto; align-self: flex-end; overflow: hidden; }
.rq .round-btn svg { width: 16px; height: 16px; }
@media (hover: hover) { .rq:hover .round-btn { background: #333; color: var(--c-paper); } .rq:hover .round-btn svg { animation: arrow-fly .3s cubic-bezier(.4, 0, .2, 1); } }
@media (prefers-reduced-motion: reduce) { .rq:hover .round-btn svg { animation: none; } }

/* Sales pages brought over from the live site: a card that is a single line of text, and section headings a size down */
.svc-block--note > p { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--tracking-soft); color: var(--c-paper); }
.svc-block > p strong { color: var(--c-paper); font-weight: 500; }
.svc-block > p + p { margin-top: calc(var(--s-8) * -1); }
.pricing#prices { padding-top: 0 !important; }

/* Free-check pages: the request form sits in the hero beside the headline */
.tool-hero { padding-bottom: 0 !important; align-items: start; }
.tool-facts { display: flex; flex-wrap: wrap; gap: var(--s-8); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.tool-form { align-self: start; width: 100%; padding: var(--s-32) var(--s-24); box-shadow: 0 0 0 2px var(--c-ink-2); }
.tool-form__note { margin-top: calc(var(--s-16) * -1); color: var(--c-grey-600); }
.tool-form .contact-form__foot { flex-wrap: wrap; margin-top: var(--s-8); }
.tool-form .contact-form__error { color: #e9a08f; }
.svc-block > .index { margin-bottom: calc(var(--s-8) * -1); }
#request { scroll-margin-top: 96px; }
@media (min-width: 1200px) { .tool-hero { column-gap: var(--s-64) !important; } .tool-form { padding: var(--s-40); } }

/* Free-check pages: a moving example in the report section. HTML and CSS only; stills when motion is reduced. */
.tool-art { position: relative; grid-column: 1 / -1; padding: var(--s-24); overflow: hidden; }
.tool-art__label { position: absolute; top: var(--s-16); right: var(--s-16); padding: 4px 10px; border-radius: 999px; background: var(--c-ink-3); color: var(--c-grey-400); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.ta { --acc: #00e5be; display: grid; gap: var(--s-32); align-items: center; min-height: 260px; padding-top: var(--s-24); }
.ta i, .ta b, .ta em, .ta u { font-style: normal; font-weight: 400; text-decoration: none; }
@keyframes ta-pop { 0%, 3% { opacity: 0; transform: translateY(8px) scale(.94); } 9%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ta-grow { 0%, 3% { width: 0; } 14%, 86% { width: var(--w); } 94%, 100% { width: 0; } }
.ta [style*="--d"] { animation: ta-pop 9s var(--d) infinite both; }

.ta-dial { position: relative; width: 190px; height: 190px; margin: 0 auto; }
.ta-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ta-dial circle { fill: none; stroke-width: 7; }
.ta-dial__track { stroke: var(--c-ink-3); }
.ta-dial__fill { stroke: var(--acc); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 45.7; animation: ta-ring 9s infinite both; }
@keyframes ta-ring { 0%, 3% { stroke-dashoffset: 326.7; } 30%, 86% { stroke-dashoffset: 45.7; } 96%, 100% { stroke-dashoffset: 326.7; } }
.ta-dial__n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
@property --ta-n { syntax: "<integer>"; initial-value: 86; inherits: false; }
.ta-dial__n b { --ta-n: 86; counter-reset: n var(--ta-n); font-size: 56px; line-height: 60px; font-weight: 500; letter-spacing: -.03em; color: var(--c-paper); animation: ta-count 9s infinite both; }
.ta-dial__n b::after { content: counter(n); }
@keyframes ta-count { 0%, 3% { --ta-n: 0; } 30%, 86% { --ta-n: 86; } 96%, 100% { --ta-n: 0; } }
.ta-dial__n span { font-size: var(--fs-xs); color: var(--c-grey-500); }
.ta-rows { display: grid; gap: var(--s-16); }
.ta-rows li { display: grid; grid-template-columns: 150px 1fr 22px; align-items: center; gap: var(--s-16); font-size: var(--fs-sm); color: var(--c-grey-300); }
.ta-rows li > i { height: 6px; border-radius: 6px; background: var(--c-ink-3); overflow: hidden; }
.ta-rows li > i b { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--c-paper); animation: ta-grow 9s var(--d) infinite both; }
.ta-rows em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--acc); color: var(--c-ink); }
.ta-rows em svg { width: 12px; height: 12px; }

.ta--ai { grid-template-columns: 1fr; }
.ta-chat { display: grid; gap: var(--s-16); width: 100%; max-width: 560px; margin: 0 auto; }
.ta-chat__q { justify-self: end; padding: 12px 18px; border-radius: 20px 20px 4px 20px; background: var(--c-paper); color: var(--c-ink); font-size: var(--fs-md); }
.ta-chat__q span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 24ch; animation: ta-type 9s steps(24) infinite both; }
@keyframes ta-type { 0%, 2% { max-width: 0; } 18%, 86% { max-width: 24ch; } 94%, 100% { max-width: 0; } }
.ta-chat__tools { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.ta-chat__tools li { padding: 6px 12px; border-radius: 999px; background: var(--c-ink-3); color: var(--c-paper); font-size: var(--fs-sm); }
.ta-chat__a { position: relative; display: grid; gap: 10px; padding: 18px; border-radius: 4px 20px 20px 20px; background: var(--c-ink-2); }
.ta-chat__a i { display: block; height: 8px; width: var(--w); border-radius: 8px; background: var(--c-ink-4); animation: ta-grow 9s var(--d) infinite both !important; }
.ta-chat__a i.is-you { background: var(--acc); }
.ta-chat__tag { position: absolute; left: calc(46% + 30px); top: 30px; padding: 2px 10px; border-radius: 999px; background: var(--acc); color: var(--c-ink); font-size: var(--fs-xs); line-height: 18px; font-weight: 500; }

.ta-site { border-radius: 14px; background: var(--c-ink-2); overflow: hidden; }
.ta-site__bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--c-ink-3); }
.ta-site__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-ink-4); }
.ta-site__page { position: relative; display: grid; gap: 12px; padding: 22px; }
.ta-site__h { height: 18px; width: 62%; border-radius: 6px; background: var(--c-paper); }
.ta-site__t { height: 8px; width: 80%; border-radius: 6px; background: var(--c-ink-4); }
.ta-site__btn { height: 26px; width: 110px; border-radius: 999px; background: var(--c-ink-4); }
.ta-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.ta-site__cards i { height: 62px; border-radius: 10px; background: var(--c-ink-3); }
.ta-site__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--acc); opacity: .9; animation: ta-scan 9s linear infinite both; }
@keyframes ta-scan { 0% { top: 0; opacity: 0; } 4% { opacity: .9; } 46% { top: 100%; opacity: .9; } 50%, 100% { top: 100%; opacity: 0; } }
.ta-pin { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: var(--c-ink); font-size: 13px; font-weight: 600 !important; box-shadow: 0 0 0 6px rgba(0, 229, 190, .18); }
.ta-pin--1 { left: 58%; top: 16px; } .ta-pin--2 { left: 128px; top: 74px; } .ta-pin--3 { right: 14%; bottom: 40px; }
.ta-notes { display: grid; gap: var(--s-16); }
.ta-notes li { display: grid; grid-template-columns: 26px 1fr; gap: var(--s-16); align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--c-ink-2); }
.ta-notes li > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-ink-3); color: var(--c-paper); font-size: 13px; }
.ta-notes span { display: grid; gap: 8px; }
.ta-notes span i { display: block; height: 7px; width: var(--w); border-radius: 7px; background: var(--c-ink-4); }
.ta-notes span i:first-child { background: var(--c-grey-400); }

@media (min-width: 810px) { .tool-art { padding: var(--s-40); } .ta--score { grid-template-columns: 220px 1fr; gap: var(--s-64); } .ta--review { grid-template-columns: 1.2fr 1fr; gap: var(--s-40); } }
@media (max-width: 480px) { .ta-rows li { grid-template-columns: 112px 1fr 22px; gap: var(--s-8); } }
@media (prefers-reduced-motion: reduce) { .ta *, .ta [style*="--d"] { animation: none !important; } .ta-site__scan { display: none; } }

/* Free-check pages, second pass (.tool-v2): the form is a card inside a frame like every other card on the site */
.tool-hero .svc-hero__work { display: block; }
.tool-form, .tool-form.card { box-shadow: none; width: 100%; }
.tool-groups .svc-blocks, .tool-report .svc-blocks { width: 100%; }

/* Free-check pages: photos on the "what we check" cards (they drift slowly), and colour in the example graphic */
.tool-pick__img { overflow: hidden; border-radius: var(--r-md, 16px); aspect-ratio: 16 / 8; margin-bottom: var(--s-8); }
.tool-pick__img img { width: 100%; height: 100%; object-fit: cover; animation: tool-drift 14s var(--d, 0s) ease-in-out infinite alternate; }
@keyframes tool-drift { from { transform: scale(1.02) translate3d(-1%, 0, 0); } to { transform: scale(1.14) translate3d(2%, -2%, 0); } }
.ta-rows li:nth-child(1) > i b { background: #00e5be; } .ta-rows li:nth-child(2) > i b { background: #e6f25a; }
.ta-rows li:nth-child(3) > i b { background: #b7a6ff; } .ta-rows li:nth-child(4) > i b { background: #ff9d7a; }
.ta-chat__tools li:nth-child(1) { background: #00e5be; color: var(--c-ink); } .ta-chat__tools li:nth-child(2) { background: #ff9d7a; color: var(--c-ink); } .ta-chat__tools li:nth-child(3) { background: #b7a6ff; color: var(--c-ink); }
.ta-pin--2, .ta-notes li:nth-child(2) > b { background: #e6f25a; color: var(--c-ink); box-shadow: 0 0 0 6px rgba(230, 242, 90, .18); }
.ta-pin--3, .ta-notes li:nth-child(3) > b { background: #b7a6ff; color: var(--c-ink); box-shadow: 0 0 0 6px rgba(183, 166, 255, .18); }
.ta-notes li:nth-child(1) > b { background: #00e5be; color: var(--c-ink); box-shadow: 0 0 0 6px rgba(0, 229, 190, .18); }
.ta-site__cards i:nth-child(1) { background: rgba(0, 229, 190, .22); } .ta-site__cards i:nth-child(2) { background: rgba(230, 242, 90, .2); } .ta-site__cards i:nth-child(3) { background: rgba(183, 166, 255, .22); }
@media (prefers-reduced-motion: reduce) { .tool-pick__img img { animation: none; } }

/* shown if a form fails to send, so the visitor is not left guessing */
.contact-form__error { color: #e9a08f; }
/* Hero note on phones and tablets: arrow flipped so it sweeps up from the words to the button */
@media (max-width: 1199.98px) {
  .hero__note-arrow { transform: rotate(-62deg) translate(2px, -2px); }
  .hero__note { left: 30px; gap: 2px; }
}
/* AI visibility example (.ta-ai2): the question, an answer that names the business, and which tools mention it */
.ta-ai2 .ta-chat__q { display: grid; gap: 2px; font-size: var(--fs-md); }
.ta-ai2 small { display: block; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--c-grey-500); }
.ta-ai2 .ta-chat__a { gap: 8px; color: var(--c-paper); font-size: var(--fs-md); line-height: var(--lh-md); }
.ta-ai2 .ta-chat__a p { margin: 0; }
.ta-ai2 .ta-chat__a p b { font-weight: 600; color: #00e5be; }
.ta-ai2 .ta-chat__tag { position: static; justify-self: start; }
.ta-ai2 .ta-chat__tools { display: grid; gap: var(--s-8); }
.ta-ai2 .ta-chat__tools li, .ta-ai2 .ta-chat__tools li:nth-child(n) { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--c-ink-2); color: var(--c-paper); font-size: var(--fs-sm); }
.ta-ai2 .ta-chat__tools b { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #00e5be; color: var(--c-ink); font-size: 14px; line-height: 1; }
.ta-ai2 .ta-chat__tools b.is-no { background: #ff9d7a; }
.ta-ai2 .ta-chat__tools b svg { width: 12px; height: 12px; }
.ta-ai2 .ta-chat__tools em { margin-left: auto; color: var(--c-grey-400); }
/* Website review example: the three notes carry real example changes (.ta-notes strong) */
.ta-notes span { gap: 2px; }
.ta-notes strong { display: block; font-size: var(--fs-md); line-height: var(--lh-md); font-weight: 500; color: var(--c-paper); }
.ta-notes small { display: block; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--c-grey-400); }

/* Standalone service pages (.svc-one): what is included beside a photo, in one frame */
.svc-one { display: grid; grid-template-columns: 1fr; gap: var(--s-2); width: 100%; }
.svc-one .svc-plan { display: flex !important; }
.svc-one__img { min-height: 280px; padding: 0; overflow: hidden; }
.svc-one__img img { width: 100%; height: 100%; object-fit: cover; animation: tool-drift 16s ease-in-out infinite alternate; }
.mg-chips--left { justify-content: flex-start; }
@media (min-width: 1000px) { .svc-one { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .svc-one__img img { animation: none; } }
/* Hero placement measured from Origin's studio page: the status line starts 192px down on desktop with the
   headline at 240px, the picture's top level with the status line, and the paragraph and button under the picture */
@media (min-width: 1200px) { .studio-hero { padding-top: 192px !important; } }
@media (max-width: 809.98px) { .studio-hero { padding-top: 100px !important; } .studio-hero__intro > .status { margin-bottom: -12px; } }
.svc-hero--bare .studio-hero__intro { padding-top: 48px; }
@media (max-width: 809.98px) { .svc-hero--bare .studio-hero__intro { padding-top: 36px; } }
.svc-hero .studio-hero__media > .frame { width: 100%; }

/* 404: the headline is drawn inside the broken glass, so the page's own copy is kept but not shown; the second
   link is quieter with a light button, as on the original */
.notfound__card.is-glassed h1, .notfound__card.is-glassed h1 * { color: transparent !important; }
.notfound__card { background: #050505; overflow: hidden; isolation: isolate; }
.notfound .text-link--light { color: var(--c-grey-500); }
.notfound .text-link--light .text-link__icon { background: var(--c-paper); color: var(--c-ink); }
/* Headings promoted from h3 to h2 so every page runs h1, h2, h3 in order: they keep the look they had */
.project__info h2 { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--tracking-snug); font-weight: inherit; }
.service__head h2 { font-size: 22px; line-height: 1.2; letter-spacing: var(--tracking-snug); font-weight: inherit; }
@media (min-width: 810px) { .service__head h2 { font-size: 26px; } }
/* Hero note on phones and tablets: dropped a little so the arrowhead stops short of the button */
@media (max-width: 1199.98px) { .hero__note { top: calc(100% + 9px); } }
/* Article opening (blog and research), set out as on Origin's journal posts: back link 240px down and headline at
   288px on desktop, headline and summary 582px wide on the left, the details card 465px wide on the right with
   its foot level with the summary. One deliberate difference: the summary is a size up and lighter than theirs,
   because it carries the answer and was hard to read. */
.article__lead { max-width: 582px; font-size: 16px; line-height: 26px; color: var(--c-grey-400); }
.article__lead strong { color: var(--c-paper); font-weight: 500; }
.article__intro h1 { max-width: 582px; }
@media (min-width: 1200px) {
  .article { padding-top: 240px !important; }
  .article__hero { grid-template-columns: minmax(0, 1fr) 465px; align-items: end; column-gap: var(--s-40); }
  .article__intro h1 { font-size: 48px; line-height: 56px; }
}
@media (max-width: 809.98px) {
  .article__meta > div { flex-direction: column; gap: 4px; }
}

/* Blog listing, featured post: the title keeps to the same narrow column as on Origin (431px), so it wraps
   above the summary instead of running the full width of the card */
@media (min-width: 810px) { .newest-grid .post--lg h3 { max-width: 431px; } }
/* Blog posts: "Add as a preferred source on Google", under the share buttons */
.prefer { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-16); padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--c-ink-2); color: var(--c-paper); font-size: var(--fs-sm); line-height: var(--lh-sm); transition: background var(--dur), color var(--dur); }
.prefer svg { flex: none; width: 14px; height: 14px; }
.prefer:hover, .prefer:focus-visible { background: var(--c-paper); color: var(--c-ink); }

/* The small "01" index numbers were almost invisible on the dark background: brightened with the paragraph text */
.index { color: #5c5c5c; }

/* Statistics blocks: both columns start level, even when a label in one of them wraps onto two lines */
.stats--grid { align-items: start !important; }
/* ...and each row lines up across the two columns too (a wrapped label used to push one side down) */
.stats--grid { grid-template-rows: auto auto; grid-auto-flow: column; row-gap: var(--s-24); }
.stats--grid .stats__col { display: contents !important; }
/* Service page heroes with statistics (web design, SEO, paid ads), set to the measurements of Origin's studio page:
   headline at 240px, statistics 103px under it in two 190px columns with rows 103px apart, the picture starting
   at the half-way line, level with 192px and 452px tall. The paragraph and button follow the statistics on the
   left, at the heights Origin has them (684px and 792px), instead of sitting under the picture. */
@media (min-width: 1200px) {
  .svc-hero--stats { column-gap: 0 !important; }
  .svc-hero--stats .stats--grid { margin-top: 79px !important; max-width: 380px; grid-template-columns: 190px 190px; column-gap: 0; row-gap: 14px; }
  .svc-hero--stats .svc-hero__lead { margin-top: 12px; }
  .svc-hero--stats .studio-hero__intro .btn { margin-top: 24px; }
  .svc-hero--stats .svc-hero__work .project { height: 448px; }
}
@media (max-width: 809.98px) { .svc-hero--stats .stats--grid { margin-top: 16px !important; row-gap: 12px; } }
/* Contact page, set up like Origin's: a black card with an olive glow from the bottom right, moving glass orbs
   behind everything, a see-through form card with a light that runs round its border, solid cards beside it */
.contact-hero__card { position: relative; overflow: hidden; isolation: isolate; padding-top: 48px; background: radial-gradient(60% 45% at 95% 120%, rgba(138, 143, 90, .4), rgba(0, 0, 0, 0)), #000; }
.contact-hero__bg { position: absolute; inset: 0; z-index: -1; width: 100% !important; max-width: none !important; height: 100%; margin: 0 !important; pointer-events: none; }
.contact-form.card { position: relative; background: rgba(20, 20, 20, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.contact-form .edge-light { opacity: 1; box-shadow: 0 0 24px rgba(180, 204, 151, .063); }
.contact-form > *:not(.edge-light) { position: relative; z-index: 2; }
.contact-cards .card { background: var(--c-ink); }
.contact-hero__head p:last-child { max-width: 300px; color: var(--c-grey-400); }

/* Phone and tablet menu: Services and Resources fold open to show their pages */
.mp-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); }
.mp-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; width: 48px; height: 48px; margin-right: -12px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; transition: transform var(--dur) var(--ease-out), background var(--dur); }
.mp-toggle i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mp-toggle[aria-expanded="true"] { transform: rotate(90deg); background: rgba(20, 20, 20, .07); }
.mp-sub { margin: 0 0 var(--s-12); padding-left: var(--s-16); border-left: 1px solid rgba(20, 20, 20, .16); }
.mp-sub[hidden] { display: none; }
.menu-panel__links .mp-sub li { border: 0; }
.menu-panel__links .mp-sub a { display: block; width: auto; padding: 6px 0; font-size: 20px; line-height: 28px; opacity: .72; }
.menu-panel__links .mp-sub a::before, .menu-panel__links .mp-sub a::after { content: none; }
.menu-panel__links .mp-sub a:hover, .menu-panel__links .mp-sub a:active { opacity: 1; transform: none; background: none; }
@media (max-width: 1199.98px) and (max-height: 700px) { .menu-panel__links .mp-sub a { font-size: 17px; line-height: 24px; padding: 4px 0; } .mp-toggle { width: 40px; height: 40px; } }
/* Showcase of built sites (.svc-show): one wide card per site, big line-up beside a phone shot and the details */
.svc-show__list { display: grid; gap: var(--s-2); width: 100%; }
.svc-site { display: grid; grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-2); }
.svc-site__shot { display: block; overflow: hidden; border-radius: calc(var(--r-lg) - 2px); background: var(--c-ink-2); }
.svc-site__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.svc-site__shot--main { aspect-ratio: 16 / 10; }
.svc-site__side { display: grid; gap: var(--s-2); grid-template-rows: auto 1fr; }
.svc-site__side .svc-site__shot { aspect-ratio: 16 / 9; }
.svc-site__info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-12); padding: var(--s-24); }
.svc-site__info h3 { font-size: var(--fs-h3-lg); line-height: var(--lh-h3-lg); letter-spacing: var(--tracking-snug); }
.svc-site__info .meta { color: var(--c-grey-500); }
.svc-site__info .btn { margin-top: auto; }
.svc-site__tags { display: flex; flex-wrap: wrap; gap: var(--s-8); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.svc-site__tags li:first-child { background: var(--c-paper); color: var(--c-ink); }
@media (hover: hover) { .svc-site:hover .svc-site__shot img { transform: scale(1.04); } }
@media (min-width: 1000px) {
  .svc-site { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
  .svc-site--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
  .svc-site--flip .svc-site__shot--main { order: 2; }
  .svc-site__shot--main { aspect-ratio: auto; min-height: 520px; }
  .svc-site__info { padding: var(--s-32); }
}
.project__img--whole { transform: none !important; object-position: 50% 50%; }
@media (prefers-reduced-motion: reduce) { .svc-site__shot img { transition: none; } }
/* Pictures of built sites are shown whole: in the hero the line-up fills its card without the oversize used for the
   slow-moving photos, and beside "what's included" it sits still and links to the case study */
.project__img--whole { top: 0 !important; height: 100% !important; transform: none !important; object-position: 50% 50% !important; }
.project:hover .project__img--whole { transform: none !important; }
.svc-one__img--site { display: block; min-height: 320px; }
.svc-one__img--site img { animation: none !important; object-position: 50% 50%; transition: transform .9s var(--ease-out); }
@media (hover: hover) { .svc-one__img--site:hover img { transform: scale(1.03); } }
/* ...and never cropped: the whole line-up fits inside its card at every width */
.svc-one__img--site { display: grid; place-items: center; }
.svc-one__img--site img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.svc-hero__work .project:has(.project__img--whole) { height: auto !important; aspect-ratio: 16 / 10; }
/* Hero text widths, the same on every page with this layout and taken from Origin's studio page: the headline
   keeps clear of the picture, the paragraph is 414px wide, and statistic labels stay on one line where they fit */
@media (min-width: 1200px) {
  .studio-hero__intro h1 { max-width: 640px; }
  .svc-hero__lead, .studio-hero__media > p { max-width: 414px; }
}
/* Site picture beside "what's included": the space above and below the line-up is filled with a soft, blurred copy
   of the same picture, so there is no hard band where the picture's own background stops */
.svc-one__img--site { position: relative; overflow: hidden; isolation: isolate; }
.svc-one__img--site::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--shot) center / cover no-repeat; filter: blur(36px); transform: scale(1.15); }
.svc-one__img--site img { position: relative; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%); }
/* Site pictures now use line-ups re-rendered on the site's own card colour (lineup-dark), so the picture and its
   card are one surface: no blurred fill or fade is needed any more */
.svc-one__img--site { background: var(--c-ink) !important; }
.svc-one__img--site::before { content: none; }
.svc-one__img--site img { -webkit-mask-image: none; mask-image: none; }
/* Hero: where the left side (headline, paragraph, button, statistics) runs longer than the picture, the picture
   card stretches to the same height, so both sides finish level */
@media (min-width: 1200px) {
  .svc-hero:not(.tool-hero) { align-items: stretch !important; }
  .svc-hero:not(.tool-hero) .svc-hero__work { align-self: stretch; display: grid; grid-template-rows: 1fr; }
  .svc-hero:not(.tool-hero) .svc-hero__work .project:not(:has(.project__img--whole)) { height: 100%; min-height: 460px; }
  .svc-hero:not(.tool-hero) .svc-hero__work .project:has(.project__img--whole) { align-self: start; }
}
/* A case study card that shows the built website on its devices: the whole picture sits inside the card, on the
   card's own colour, between the tags at the top and the name at the bottom. Nothing is cropped. */
.project.project--site { background: #141414; }
.project.project--site .project__img { position: absolute; inset: 0; top: 0 !important; width: 100%; height: 100% !important; padding: 64px 20px 104px; box-sizing: border-box; object-fit: contain; object-position: 50% 50%; transform: none !important; filter: none; }
.project.project--site:hover .project__img { transform: none !important; }
.project.project--site::before, .project.project--site::after { display: none; }
@media (max-width: 809px) { .svc-hero__work .project.project--site { height: auto; aspect-ratio: 4 / 3.4; } .project.project--site .project__img { padding: 52px 12px 92px; } }
/* No page scrolls sideways on a phone */
html, body { overflow-x: clip; }   /* clip, not hidden: hidden on body would make it its own scroll box and stop sticky sections (the services reel) sticking */
/* ...its labels are solid dark pills (the frosted white ones are made for photographs), and on a phone the card is
   tall enough for the devices to sit clear of the labels above and the name below */
.project.project--site .project__tags li { background: #242424; color: #f5f5f5; -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid #333; opacity: 1 !important; filter: none !important; transform: none !important; }
@media (max-width: 809px) { .svc-hero__work .project.project--site { aspect-ratio: auto; height: 470px !important; min-height: 0; } .project.project--site .project__img { padding: 70px 14px 128px; } }
.brand-type > * { min-width: 0; } .brand-type__specimen { overflow-wrap: anywhere; }
/* RG-START Research Centre: a moving diagram at the top of each article (.article__explain) */
.article__explain { position: relative; margin: 0 0 var(--s-40); padding: var(--s-16); }
.article__explain .mg { min-height: 300px; margin: 0; }
.article__explain .tool-art__label { z-index: 1; top: var(--s-24); right: var(--s-24); }
.mg-label--bad { color: #c2410c; font-weight: 500; }
.mg-warn { display: grid; place-items: center; flex: none; width: 14px; height: 14px; border-radius: 50%; background: #ff9d7a; color: #141414; font-size: 10px; font-weight: 700; font-family: inherit; }
.mg-url--plain .mg-warn { display: none; }
.mg-up { position: relative; height: 12px; border-radius: 12px; background: #ff9d7a; overflow: hidden; }
.mg-up i { height: 100%; background: #00e5be; }
.mg-up b { position: absolute; right: 0; top: 0; width: 1%; min-width: 3px; height: 100%; background: #ff9d7a; }
.mg-two { display: flex; justify-content: space-between; font-size: 10px; color: #7a7a7a; }
.mg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 420px; }
.mg-pair .mg-card { padding: 14px; }
.article__explain-wrap { margin: 0 0 var(--s-40); }
.article__explain-wrap .article__explain { margin: 0; }
.article__explain-cap { margin: var(--s-16) var(--s-8) 0; color: var(--c-grey-300); font-size: var(--fs-md); line-height: var(--lh-md); text-align: center; }
.mg-pair { max-width: 520px; }
.mg-pair .mg-place { font-size: 11px; }
.mg-card--lock { padding: 20px 22px; gap: 12px; }
.mg-card--lock .mg-url { font-size: 15px; gap: 10px; }
.mg-card--lock .mg-lock { width: 16px; height: 12px; margin-top: 7px; }
.mg-card--lock .mg-lock::before { left: 3px; bottom: 11px; width: 10px; height: 10px; }
.mg-card--lock .mg-tag { font-size: 12px; line-height: 18px; padding: 2px 10px; }
/* RG-END */
/* MG-START Free-check pages: a small moving mock-up on each "what we check" card (.mg). CSS only; loops every nine seconds. */
.mg { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 250px; margin-bottom: var(--s-8); padding: var(--s-24); border-radius: var(--r-md, 16px); background: var(--c-ink-2); overflow: hidden; font-size: 12px; line-height: 16px; color: #141414; }
.mg i, .mg b, .mg u, .mg small, .mg em { display: block; font-style: normal; font-weight: 400; text-decoration: none; }
.mg p { margin: 0; }
@keyframes mg-pop { 0%, 3% { opacity: 0; transform: translateY(8px) scale(.94); } 9%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes mg-grow { 0%, 3% { width: 0; } 14%, 86% { width: var(--w); } 94%, 100% { width: 0; } }
@keyframes mg-rise { 0%, 3% { height: 0; } 14%, 86% { height: var(--h); } 94%, 100% { height: 0; } }
@keyframes mg-type { 0%, 3% { max-width: 0; } 22%, 86% { max-width: calc(var(--n) * 1ch); } 94%, 100% { max-width: 0; } }
.mg .pop { animation: mg-pop 9s var(--d, 0s) infinite both; }
.mg .grow { width: var(--w); animation: mg-grow 9s var(--d, 0s) infinite both; }
.mg .rise { height: var(--h); animation: mg-rise 9s var(--d, 0s) infinite both; }
.mg .type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: calc(var(--n) * 1ch); animation: mg-type 9s var(--d, 0s) steps(30) infinite both; }
.mg-card { display: grid; gap: 8px; width: 100%; max-width: 330px; padding: 14px 16px; border-radius: 14px; background: var(--c-paper); }
.mg-card--slim { padding: 10px 14px; }
.mg-card--left { border-radius: 4px 14px 14px 14px; }
.mg-label { font-size: 10px; line-height: 12px; letter-spacing: .02em; color: #7a7a7a; }
.mg-bar { height: 7px; border-radius: 7px; background: var(--c); }
.mg-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--c-ink); color: var(--c-paper); font-size: 11px; line-height: 14px; }
.mg-chip b, .mg-link b, .mg-dot { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--c); color: #141414; }
.mg-chip svg, .mg-link svg, .mg-dot svg { width: 9px; height: 9px; }
.mg-meter { display: grid; grid-template-columns: 96px 1fr 38px; align-items: center; gap: 10px; }
.mg-meter em { height: 7px; border-radius: 7px; background: #dcdcdc; }
.mg-meter small { font-size: 10px; color: #5a5a5a; text-align: right; }
.mg-url { display: flex; align-items: center; gap: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.mg-lock { position: relative; flex: none; width: 12px; height: 9px; margin-top: 5px; border-radius: 3px; background: #0a8f78; }
.mg-lock::before { content: ""; position: absolute; left: 2px; bottom: 8px; width: 8px; height: 8px; border: 2px solid #0a8f78; border-bottom: 0; border-radius: 6px 6px 0 0; box-sizing: border-box; }
.mg-result { display: grid; gap: 6px; }
.mg-result b { font-size: 13px; line-height: 18px; font-weight: 500; color: #1a3fd1; }
.mg-result u { font-size: 10px; color: #0a7a3a; }
.mg-link { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; border-top: 1px solid #dedede; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; }
.mg-ask { align-self: flex-end; max-width: 220px; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--c-ink); color: var(--c-paper); font-size: 12px; }
.mg-ask small { font-size: 10px; color: var(--c-grey-400); }
.mg-answer { font-size: 13px; line-height: 18px; font-weight: 500; }
.mg-tag { justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--c); font-size: 10px; line-height: 14px; font-weight: 500; }
.mg-code { display: grid; gap: 4px; margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; line-height: 16px; white-space: nowrap; }
.mg-code span { display: block; } .mg-code i, .mg-code b { display: inline; }
.mg-stars { display: flex; gap: 4px; }
.mg-stars span { width: 22px; height: 22px; } .mg-stars svg { width: 100%; height: 100%; }
.mg-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 380px; }
.mg-trio .mg-card { padding: 12px; }
.mg-same { font-size: 11px; line-height: 15px; font-weight: 500; }
.mg-devices { display: flex; align-items: flex-end; gap: 12px; width: 100%; max-width: 330px; }
.mg-card--phone { width: 86px; flex: none; border-radius: 16px; padding: 12px 10px; }
.mg-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mg-block { display: block; height: 34px; border-radius: 7px; background: var(--c); }
.mg-old { position: relative; justify-self: start; font-size: 13px; color: #8a8a8a; }
.mg-old u { position: absolute; left: 0; top: 8px; height: 2px; background: #e0532a; }
.mg-new { font-size: 14px; line-height: 20px; font-weight: 600; }
.mg-tree { display: grid; justify-items: center; width: 100%; max-width: 300px; }
.mg-node { display: grid; place-items: center; min-width: 78px; height: 32px; padding: 0 12px; border-radius: 9px; background: var(--c); font-size: 12px; font-weight: 500; color: #141414; }
.mg-stem { width: 2px; background: var(--c-grey-600); }
.mg-branch { height: 2px; max-width: 214px; margin-bottom: 14px; background: var(--c-grey-600); }
.mg-nodes { display: flex; gap: 14px; }
.mg-cta { position: relative; display: grid; place-items: center; height: 76px; }
.mg-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 999px; background: #141414; color: #f5f5f5; font-size: 13px; font-weight: 500; animation: mg-press 9s infinite both; }
@keyframes mg-press { 0%, 38% { transform: none; } 41% { transform: scale(.94); } 46%, 100% { transform: none; } }
.mg-ring { position: absolute; left: 50%; top: 50%; width: 124px; height: 40px; margin: -20px 0 0 -62px; border-radius: 999px; border: 2px solid #00b899; opacity: 0; animation: mg-ring 9s infinite both; }
@keyframes mg-ring { 0%, 41% { opacity: 0; transform: scale(1); } 43% { opacity: .9; } 62%, 100% { opacity: 0; transform: scale(1.4, 1.8); } }
.mg-cursor { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #00b899; box-shadow: 0 0 0 4px rgba(0, 184, 153, .25); animation: mg-cursor 9s infinite both; z-index: 2; }
@keyframes mg-cursor { 0% { transform: translate(90px, 40px); opacity: 0; } 8% { opacity: 1; } 36%, 46% { transform: translate(30px, 4px); opacity: 1; } 60%, 100% { transform: translate(30px, 4px); opacity: 0; } }
@media (max-width: 480px) { .mg { padding: var(--s-16); } .mg-trio { gap: 6px; } .mg-trio .mg-card { padding: 9px; } .mg-meter { grid-template-columns: 84px 1fr 34px; } }
@media (prefers-reduced-motion: reduce) { .mg *, .mg .pop, .mg .grow, .mg .rise, .mg .type { animation: none !important; } .mg-cursor, .mg-ring { display: none; } }
.mg { height: auto; min-height: 250px; }
.mg-ask small, .mg-reply small { display: block; font-size: 10px; line-height: 13px; }
.mg-reply { align-self: flex-start; max-width: 250px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: #00e5be; color: #141414; font-size: 12px; font-weight: 500; }
.mg-reply small { font-weight: 400; color: #0b5a4c; }
.mg-place { font-family: inherit; font-size: 12px; }
.mg-place em { display: inline-block; width: 68px; color: #7a7a7a; }
.mg-path { display: flex; align-items: center; }
.mg-step { flex: none; padding: 6px 9px; border-radius: 8px; background: var(--c); font-size: 11px; line-height: 14px; font-weight: 500; }
.mg-join { flex: 1; min-width: 8px; height: 2px; background: #dcdcdc; }
.mg-join b { height: 2px; background: #141414; }
.mg-goal { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; border-radius: 10px; background: #141414; color: #f5f5f5; font-size: 12px; font-weight: 500; }
.mg-goal b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #00e5be; color: #141414; }
.mg-goal svg { width: 9px; height: 9px; }
.mg-head { display: flex; align-items: center; gap: 9px; }
.mg-ico { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--c); color: #141414; }
.mg-ico svg { width: 16px; height: 16px; }
.mg-em { display: inline-flex !important; align-items: center; gap: 6px; width: 96px !important; }
.mg-em i { display: grid; place-items: center; flex: none; width: 16px; height: 16px; color: #141414; }
.mg-em svg { width: 14px; height: 14px; }
.mg-si { display: inline-grid !important; place-items: center; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
.mg-si svg { width: 13px; height: 13px; }
.mg-step, .mg-node { display: inline-flex; align-items: center; }
.mg-si--ai { width: 16px; height: 16px; margin: 0; color: var(--c-paper); }
.mg-si--ai svg { width: 15px; height: 15px; }
.mg-trio .mg-head { gap: 6px; } .mg-trio .mg-ico { width: 22px; height: 22px; border-radius: 7px; } .mg-trio .mg-ico svg { width: 13px; height: 13px; }
.mg-card:has(.mg-path) { gap: 14px; padding: 20px 22px; max-width: 380px; }
.mg-card:has(.mg-path) .mg-step { padding: 7px 10px; }
.mg-card:has(.mg-path) .mg-goal { padding: 10px; margin-top: 2px; }
.mg-card--phone .mg-head { gap: 5px; } .mg-card--phone .mg-ico { width: 20px; height: 20px; border-radius: 6px; } .mg-card--phone .mg-ico svg { width: 12px; height: 12px; }
.mgd { position: relative; width: 100%; max-width: 360px; height: 206px; }
.mgd i, .mgd b, .mgd em { display: block; }
.mgd-desk { position: absolute; left: 0; top: 0; width: 290px; border-radius: 12px; background: #f5f5f5; overflow: hidden; }
.mgd-chrome { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid #dedede; }
.mgd-chrome i { width: 6px; height: 6px; border-radius: 50%; background: #cfcfcf; }
.mgd-nav { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0; }
.mgd-nav b { width: 14px; height: 14px; border-radius: 50%; background: #00e5be; margin-right: auto; }
.mgd-nav span { width: 22px; height: 4px; border-radius: 4px; background: #bdbdbd; }
.mgd-nav em { width: 34px; height: 12px; border-radius: 12px; background: #141414; }
.mgd-hero { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; padding: 14px; }
.mgd-copy { display: grid; gap: 6px; justify-items: start; }
.mgd-copy .mg-bar { height: 5px; } .mgd-copy .mgd-h, .mgd-phone .mgd-h { height: 9px; border-radius: 5px; }
.mgd-btn { display: block; width: 52px; height: 15px; margin-top: 4px; border-radius: 15px; background: #00e5be; }
.mgd-pic { display: grid; place-items: center; height: 70px; border-radius: 9px; background: #b7a6ff; color: #141414; }
.mgd-pic svg { width: 30px; height: 30px; }
.mgd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 14px 14px; }
.mgd-cards i { height: 26px; border-radius: 7px; background: #e2e2e2; }
.mgd-cards i:nth-child(2) { background: #e6f25a; }
.mgd-phone { position: absolute; right: 6px; bottom: 0; display: grid; gap: 6px; justify-items: start; width: 86px; padding: 12px 10px; border-radius: 16px; background: #f5f5f5; box-shadow: 0 0 0 4px #1e1e1e; }
.mgd-phone b { width: 12px; height: 12px; border-radius: 50%; background: #00e5be; }
.mgd-phone .mg-bar { height: 4px; } .mgd-phone .mgd-btn { width: 40px; height: 12px; margin: 0; }
.mgd-phone .mgd-pic { width: 100%; height: 34px; border-radius: 7px; }
.mgd-swatch { position: absolute; right: 0; top: 6px; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: #141414; }
.mgd-swatch i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.mgd-type { position: absolute; right: 12px; top: 38px; display: grid; place-items: center; width: 40px; height: 34px; border-radius: 10px; background: #f5f5f5; color: #141414; font-size: 17px; font-weight: 600; font-family: var(--font); }
@media (max-width: 480px) { .mgd { transform: scale(.86); transform-origin: center; } }
.mg-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mg-kpis p { display: grid; gap: 7px; padding: 10px 12px; border-radius: 10px; background: #eaeaea; font-size: 11px; line-height: 14px; font-weight: 500; }
.mg-kpis i { height: 6px; border-radius: 6px; background: #d3d3d3; overflow: hidden; }
.mg-kpis b { height: 100%; border-radius: 6px; background: var(--c); }
.mg-card--read { gap: 6px; }
.mg-card--read .mg-url { font-size: 11px; color: #5a5a5a; }
.mg-cite { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: #141414; color: #f5f5f5; font-size: 10px; line-height: 14px; font-weight: 500; }
.mg-reply { max-width: 290px; } .mg-ask { max-width: 250px; }
.mg-plats { display: grid; gap: 8px; width: 100%; max-width: 380px; }
.mg-plats p { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; row-gap: 3px; align-items: center; margin: 0; padding: 14px 18px; border-radius: 14px; background: #fff; }
.mg-plats i { grid-row: 1 / 3; display: grid !important; place-items: center; width: 40px; height: 40px; }
.mg-plats svg { width: 34px; height: 34px; }
.mg-plats b { align-self: end; font-size: 14px; line-height: 18px; font-weight: 600 !important; }
.mg-plats span { align-self: start; font-size: 12px; line-height: 16px; color: #5a5a5a; }
.mg-kpis strong { font-size: 16px; line-height: 18px; font-weight: 600; }
.mg-three { display: grid; gap: 10px; width: 100%; max-width: 340px; }
.mg-three .mg-ask, .mg-three .mg-reply, .mg-three .mg-card { box-sizing: border-box; width: 100%; max-width: none; align-self: stretch; margin: 0; padding: 10px 14px; border-radius: 14px; }
.mg-three .mg-cite { display: block; width: max-content; }
.mg-you { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: #00e5be; color: #141414; font-family: var(--font); font-size: 10px; line-height: 15px; font-weight: 600; }
.mg-ai { display: grid; gap: 10px; width: 100%; max-width: 350px; font-family: var(--font); }
.mg-ai p { margin: 0; }
.mg-ai__q { justify-self: end; max-width: 86%; padding: 9px 13px; border-radius: 16px; background: #2f2f2f; color: #f5f5f5; font-size: 12.5px; line-height: 17px; }
.mg-ai__a { display: grid; gap: 7px; justify-items: start; padding: 12px 14px; border-radius: 16px; background: #f5f4ee; color: #141414; }
.mg-ai__who { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; }
.mg-ai__who svg { display: block !important; flex: none; width: 18px; height: 18px; color: #d97757; fill: #d97757; }
.mg-ai__read { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #e8e6dc; color: #5a5a5a; font-size: 10.5px; line-height: 15px; }
.mg-ai__read svg { width: 10px; height: 10px; }
.mg-ai__text { font-size: 13px; line-height: 18px; font-weight: 500; min-height: 18px; }
.mg-ai__text .type { font-family: inherit; font-size: 13px; }
.mg-ai__src { padding: 2px 9px; border-radius: 999px; background: #141414; color: #f5f5f5; font-size: 10.5px; line-height: 15px; }
.mg-score { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
.mg-score b { display: grid !important; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 5px solid #ff8a4c; font-size: 22px; line-height: 1; font-weight: 600 !important; font-family: var(--font); }
.mg-score span { font-size: 13px; line-height: 17px; font-weight: 600; }
.mg-score small { display: block !important; font-size: 10.5px; line-height: 14px; font-weight: 400; color: #5a5a5a; }
.mg-ba { display: grid; gap: 10px; width: 100%; max-width: 400px; font-family: Arial, system-ui, sans-serif; }
.mg-ba p { margin: 0; }
.mg-ba { box-sizing: border-box; padding: 14px; border-radius: 16px; background: #fff; }
.mg-ba__g { display: flex; align-items: center; gap: 12px; margin-bottom: 4px !important; }
.mg-ba__g > svg { width: 28px; height: 28px; flex: none; }
.mg-ba__q { flex: 1; display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border: 1px solid #dfe1e5; border-radius: 999px; box-shadow: 0 1px 4px rgba(32, 33, 36, .12); color: #202124; font-size: 12.5px; }
.mg-ba__box { box-shadow: none !important; border: 2px solid #ff8a4c; } .mg-ba__box--good { border-color: #00e5be; }
.mg-ba__box { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: #fff; color: #202124; }
.mg-ba__box--bad { box-shadow: 0 0 0 2px #ff8a4c; }
.mg-ba__box--good { box-shadow: 0 0 0 2px #00e5be; }
.mg-ba__site { display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 15px; }
.mg-ba__site b { display: grid !important; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; color: #5f6368; font-size: 12px; font-weight: 600 !important; }
.mg-ba__site small { display: block !important; font-size: 10.5px; line-height: 14px; color: #4d5156; }
.mg-ba__site em { display: block !important; margin-left: auto; padding: 1px 10px; border-radius: 999px; background: #ff8a4c; color: #141414; font-family: var(--font); font-size: 10.5px; line-height: 17px; font-weight: 600; font-style: normal; }
.mg-ba__box--good .mg-ba__site em { background: #00e5be; }
.mg-ba__t { font-size: 16px; line-height: 21px; color: #1a0dab; }
.mg-ba__d { font-size: 12px; line-height: 17px; color: #4d5156; }
.mg-ba__n { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px !important; font-family: var(--font); }
.mg-ba__n span { padding: 1px 8px; border-radius: 999px; background: #ffe6d8; color: #8a3b0c; font-size: 10px; line-height: 16px; font-weight: 500; }
.mg-ba__box--good .mg-ba__n span { background: #d6fbf4; color: #06604f; }
.mg-ico:has(path[fill="#fbbc04"]) { background: #fff; box-shadow: inset 0 0 0 1px #e3e3e3; }
.mg-aud { display: grid; gap: 0; }
.mg-aud p { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: center; margin: 0; padding: 7px 0; border-top: 1px solid #dedede; font-size: 11.5px; line-height: 16px; }
.mg-aud em { color: #6a6a6a; font-style: normal; }
.mg-aud span { display: flex; flex-wrap: wrap; gap: 5px; }
.mg-aud u { padding: 1px 9px; border-radius: 999px; background: var(--c, #e2e2e2); color: #141414; text-decoration: none; font-weight: 500; white-space: nowrap; }
.bing { box-sizing: border-box; width: 100%; max-width: 360px; padding: 14px 16px 16px; border-radius: 14px; background: #fff; color: #111; font-family: "Segoe UI", Roboto, Arial, sans-serif; }
.bing p { margin: 0; }
.bing-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px !important; font-size: 12.5px; line-height: 16px; font-weight: 600; color: #444; white-space: nowrap; }
.bing-top svg { flex: none; width: 18px; height: 18px; }
.bing-box { flex: 1; min-width: 0; margin-left: 4px; padding: 6px 12px; border: 1px solid #dcdcdc; border-radius: 999px; font-weight: 400; font-size: 11.5px; color: #111; overflow: hidden; text-overflow: ellipsis; }
.bing-site { display: flex; align-items: center; gap: 8px; font-size: 11.5px; line-height: 15px; }
.bing-site b { display: grid !important; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #17324d; color: #fff; }
.bing-site b svg { width: 15px; height: 15px; }
.bing-site small { display: block !important; font-size: 10.5px; line-height: 14px; color: #006d21; }
.bing-site em { display: block !important; margin-left: auto; padding: 0 7px; border: 1px solid #c8c8c8; border-radius: 4px; font-size: 10px; line-height: 16px; font-style: normal; color: #444; }
.bing-t { margin-top: 7px !important; font-size: 15px; line-height: 20px; color: #001ba0; }
.bing-d { margin-top: 3px !important; font-size: 11.5px; line-height: 16px; color: #444; }
.bing-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px !important; }
.bing-links span { padding: 3px 10px; border: 1px solid #d2d2d2; border-radius: 999px; font-size: 10.5px; line-height: 15px; color: #001ba0; }
.mg-ba__stack { display: grid; }
.mg-ba__stack > * { grid-area: 1 / 1; align-content: start; align-self: start; }
.mg-ba__box--bad { animation: ba-out 10s both infinite; } .mg-ba__box--good { animation: ba-in 10s both infinite; }
@keyframes ba-out { 0%, 3% { opacity: 0; transform: translateY(8px); } 8%, 42% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes ba-in { 0%, 48% { opacity: 0; transform: translateY(8px); } 54%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mg-ba__box--bad { display: none; } }
.gbp { box-sizing: border-box; display: grid; gap: 7px; width: 100%; max-width: 340px; padding: 12px 14px 14px; border-radius: 14px; background: #fff; color: #202124; font-family: Arial, system-ui, sans-serif; }
.gbp p { margin: 0; }
.gbp-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3px; height: 78px; margin-bottom: 3px; border-radius: 10px; overflow: hidden; }
.gbp-photo { display: grid; place-items: center; background: linear-gradient(135deg, #f6c58f, #e9965a); color: #fff; }
.gbp-photo svg { width: 34px; height: 34px; }
.gbp-map { display: grid; place-items: center; background: linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%), linear-gradient(0deg, transparent 56%, #fff 56%, #fff 64%, transparent 64%), linear-gradient(135deg, #d5ead8 0 38%, #e8eef3 38%); }
.gbp-map svg { width: 26px; height: 26px; }
.gbp-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 17px; line-height: 22px; }
.gbp-name i { display: block !important; flex: none; width: 18px; height: 18px; } .gbp-name svg { display: block; width: 18px; height: 18px; }
.gbp-rate { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: #4d5156; }
.gbp-rate b { font-weight: 400 !important; }
.gbp-stars { display: inline-flex; color: #fbbc04; } .gbp-stars svg { width: 13px; height: 13px; }
.gbp-rate u { color: #1a0dab; text-decoration: none; }
.gbp-cat { font-size: 12px; line-height: 16px; color: #4d5156; }
.gbp-btns { display: flex; flex-wrap: wrap; gap: 6px; margin: 3px 0 !important; }
.gbp-btns span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid #dadce0; border-radius: 999px; font-size: 11.5px; line-height: 15px; color: #1a73e8; }
.gbp-btns svg { width: 13px; height: 13px; }
.gbp-hours { padding-top: 8px; border-top: 1px solid #e3e6ea; font-size: 12px; line-height: 16px; }
.gbp-hours b { font-weight: 600 !important; } .gbp-hours em { color: #188038; font-style: normal; }
.au { box-sizing: border-box; display: grid; gap: 9px; width: 100%; max-width: 350px; padding: 16px; border-radius: 16px; background: #161616; border: 1px solid #333; color: #f5f5f5; font-family: var(--font); }
.au p { margin: 0; }
.au-top { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.au-ring { position: relative; flex: none; width: 76px; height: 76px; }
.au-ring svg { display: block; width: 76px; height: 76px; transform: rotate(-90deg); }
.au-ring circle { fill: none; stroke: #2e2e2e; stroke-width: 7; }
.au-ring .au-arc { stroke: #ff8a4c; stroke-linecap: round; stroke-dasharray: 213.600; stroke-dashoffset: 89.700; animation: au-ring 9s both; }
.au-ring b { position: absolute; inset: 0; display: grid !important; place-items: center; font-size: 25px; line-height: 1; font-weight: 600 !important; }
@keyframes au-ring { 0%, 6% { stroke-dashoffset: 213.600; } 32%, 100% { stroke-dashoffset: 89.700; } }
.au-head { display: grid; gap: 2px; font-size: 15px; line-height: 19px; font-weight: 600; }
.au-head small { display: block !important; font-size: 10.500px; line-height: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #00e5be; }
.au-head span { font-size: 11.500px; line-height: 15px; font-weight: 400; color: #9a9a9a; }
.au-row { display: grid; grid-template-columns: 92px 1fr 46px; align-items: center; gap: 10px; font-size: 12px; line-height: 16px; }
.au-row em { display: block !important; height: 6px; border-radius: 6px; background: #2e2e2e; }
.au-row em .mg-bar { display: block; height: 6px; border-radius: 6px; }
.au-row b { display: block !important; padding: 1px 0; border-radius: 999px; background: var(--c); color: #141414; font-size: 10px; line-height: 15px; font-weight: 600 !important; text-align: center; }
.au-fix { display: flex; align-items: center; gap: 10px; margin-top: 4px !important; padding: 10px 12px; border-radius: 12px; background: #f5f5f5; color: #141414; font-size: 12.500px; line-height: 16px; font-weight: 600; }
.au-fix i { display: grid !important; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #00e5be; font-style: normal; font-size: 12px; font-weight: 600; }
.au-fix small { display: block !important; font-size: 10px; line-height: 13px; font-weight: 500; color: #6a6a6a; }
.gbp-hours b, .gbp-hours em { display: inline !important; }
.mg-ba__site b { background: #1a73e8 !important; } .mg-ba__site b svg { width: 15px; height: 15px; }
.mg-ba__site span, .bing-site span { min-width: 0; } .mg-ba__site small, .bing-site small { overflow-wrap: anywhere; }
.mg-ba, .gbp, .bing, .au { min-width: 0; } .mg-ba__q { min-width: 0; }
/* Fit every screen: a mock-up never makes its page wider than the phone or tablet it is on. The box and everything
   in it may shrink, long labels and typed lines wrap, and rows of steps fold onto a second line. */
.mg { box-sizing: border-box; max-width: 100%; min-width: 0; }
.mg > * { min-width: 0; }
.mg-card, .mg-head, .mg-label, .mg-result, .mg-result b { min-width: 0; }
.mg-head .mg-label { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .mg > * { box-sizing: border-box; }
  .mg .type { max-width: none; white-space: normal; animation-name: mg-pop; }
  .mg-path { flex-wrap: wrap; row-gap: 8px; justify-content: center; }
  .mg-card:has(.mg-path) { padding: 16px; }
  .mg-plats p { padding: 12px 14px; column-gap: 12px; }
  .mg-ba__t { font-size: 14.5px; line-height: 19px; }
}
/* The advertising page mixes dark panels with the white ones, so it is not a wall of white cards. */
.mg-plats p { background: #161616; border: 1px solid #333; color: #f5f5f5; }
.mg-plats i { border-radius: 10px; background: #fff; } .mg-plats svg { width: 26px; height: 26px; }
.mg-plats span { color: #9a9a9a; }
.aud { box-sizing: border-box; display: grid; gap: 14px; width: 100%; max-width: 340px; padding: 20px; border-radius: 16px; background: #161616; border: 1px solid #333; color: #f5f5f5; font-family: var(--font); }
.aud p { margin: 0; }
.aud-h { font-size: 15px; line-height: 20px; font-weight: 600; }
.aud-row { display: flex; align-items: center; gap: 14px; }
.aud-row i { display: grid !important; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--c); color: #141414; }
.aud-row i svg { width: 19px; height: 19px; }
.aud-row span { display: grid; gap: 1px; min-width: 0; font-size: 14px; line-height: 19px; font-weight: 500; }
.aud-row small { display: block !important; font-size: 11px; line-height: 15px; font-weight: 400; color: #9a9a9a; }
.mgcta { gap: 10px; max-width: 350px; }
.mgcta .aud-h { margin-bottom: 4px; }
.mgcta-row { display: grid; grid-template-columns: 32px 1fr 16px auto; align-items: center; gap: 10px; font-size: 13.500px; line-height: 18px; font-weight: 500; }
.mgcta-row i { display: grid !important; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--c); color: #141414; }
.mgcta-row i svg { width: 16px; height: 16px; }
.mgcta-row em { display: grid !important; place-items: center; color: #5a5a5a; } .mgcta-row em svg { width: 14px; height: 14px; }
.mgcta-row b { display: block !important; padding: 5px 12px; border-radius: 999px; background: #f5f5f5; color: #141414; font-size: 11.500px; line-height: 16px; font-weight: 600 !important; white-space: nowrap; }
.mgcta-goal { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px !important; padding: 10px; border-radius: 12px; background: #00e5be; color: #141414; font-size: 13px; line-height: 18px; font-weight: 600; }
.mgcta-goal u { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #141414; color: #00e5be; text-decoration: none; } .mgcta-goal u svg { width: 10px; height: 10px; }
@media (max-width: 400px) { .mgcta-row { gap: 7px; font-size: 12.500px; } .mgcta-row b { padding: 4px 9px; font-size: 10.500px; } }
/* Room to breathe on a phone. Each of these was touching or overlapping its neighbour at phone width. */
/* the design mock-up keeps its own proportions and is scaled down as one piece, so its parts never slide over each other */
.mgd { width: 360px; max-width: none; flex: none; }
.mgd-desk { width: 276px; }
@media (max-width: 480px) { .mgd { transform: none; zoom: .68; } }
@media (max-width: 370px) { .mgd { zoom: .62; } }
/* rows of "where: what": the label keeps its own column and the words wrap beside it, not under it */
.mg-place > span { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.mg-place > span em { flex: none; }
.mg-link { gap: 10px; }
/* the visitor's path: on a phone the four pages sit two by two, with no connecting lines left dangling */
@media (max-width: 600px) {
  .mg-path { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mg-path .mg-join { display: none; }
  .mg-path .mg-step { justify-content: center; text-align: center; }
}
/* search results: the before and after label sits on the corner of the result, leaving the name and address the full width */
.mg-ba__stack { margin-top: 10px; }
.mg-ba__box { position: relative; }
.mg-ba__site em { position: absolute; top: -11px; right: 12px; margin: 0; }
.bing-spon { font-size: 10.500px; line-height: 14px; font-weight: 600; color: #444; margin-bottom: 5px !important; }
/* Play once, then stay: every mock-up animation runs a single time when it scrolls into view and holds its
   finished picture. (These keyframes replace the looping ones defined earlier, which faded back out.) */
@keyframes mg-pop { 0%, 3% { opacity: 0; transform: translateY(8px) scale(.94); } 9%, 100% { opacity: 1; transform: none; } }
@keyframes mg-grow { 0%, 3% { width: 0; } 14%, 100% { width: var(--w); } }
@keyframes mg-rise { 0%, 3% { height: 0; } 14%, 100% { height: var(--h); } }
@keyframes mg-type { 0%, 3% { max-width: 0; } 22%, 100% { max-width: calc(var(--n) * 1ch); } }
@keyframes mg-press { 0%, 38% { transform: none; } 41% { transform: scale(.94); } 46%, 100% { transform: none; } }
@keyframes mg-ring { 0%, 41% { opacity: 0; transform: scale(1); } 43% { opacity: .9; } 62%, 100% { opacity: 0; transform: scale(1.4, 1.8); } }
@keyframes mg-cursor { 0% { transform: translate(90px, 40px); opacity: 0; } 8% { opacity: 1; } 36%, 100% { transform: translate(30px, 4px); opacity: 1; } }
@keyframes ta-pop { 0%, 3% { opacity: 0; transform: translateY(8px) scale(.94); } 9%, 100% { opacity: 1; transform: none; } }
@keyframes ta-grow { 0%, 3% { width: 0; } 14%, 100% { width: var(--w); } }
@keyframes ta-ring { 0%, 3% { stroke-dashoffset: 326.7; } 30%, 100% { stroke-dashoffset: 45.7; } }
@keyframes ta-count { 0%, 3% { --ta-n: 0; } 30%, 100% { --ta-n: 86; } }
@keyframes ta-type { 0%, 2% { max-width: 0; } 18%, 100% { max-width: 24ch; } }
@keyframes ta-scan { 0% { top: 0; opacity: 0; } 4% { opacity: .9; } 46% { top: 100%; opacity: .9; } 50%, 100% { top: 100%; opacity: 0; } }
.mg *, .ta *, .ta [style*="--d"] { animation-iteration-count: 1 !important; animation-fill-mode: both !important; }
.mg-caret { animation: none !important; }
[data-reveal]:not(.is-visible) .mg *, [data-reveal]:not(.is-visible) .ta * { animation-play-state: paused !important; }
.mg .mg-ba .mg-ba__box { animation-iteration-count: infinite !important; }
/* A still mock-up: the finished picture, with nothing moving. Each page mixes these with the moving ones. */
.mg--still *, .mg--still .pop, .mg--still .grow, .mg--still .rise, .mg--still .type { animation: none !important; }
/* MG-END */
/* Legal pages: the title starts where Origin's does (248px down at desktop), level with the other page heroes */
@media (min-width: 810px) { .legal { padding-top: 192px !important; } }

/* Hero images, plain style (HERO_STYLE in script.js): our client websites on laptops, tablets and phones, and a few
   coast photos, as rounded cards gliding slowly up the left and down the right (across the top and bottom on a phone
   or portrait tablet).
   Smooth by design: the strip is two identical copies of the list, every card carries its own trailing space (not a
   flex gap) so the copy lines up exactly when the loop restarts, only transform is animated, and the soft fade at the
   ends is a white overlay rather than a mask, so the movement stays on the graphics card. */
.ribbon--plain { overflow: hidden; contain: paint; }
.ribbon--plain .rp-track { display: flex; width: max-content; padding: 12px 0; opacity: 0; transition: opacity .8s ease; will-change: transform; backface-visibility: hidden;
  animation: rp-x 70s linear infinite; }
.ribbon--plain.is-ready .rp-track { opacity: 1; }
.ribbon--right.ribbon--plain .rp-track { animation-direction: reverse; }
.ribbon--plain .rp-card { position: relative; flex: none; display: block; width: 150px; height: 108px; margin-right: 12px; border-radius: 12px; overflow: hidden; background: var(--c-white);
  transform: translateZ(0); }
/* a hairline drawn inside the card, not a drop shadow: the strip clips anything outside the cards, and a clipped
   shadow showed as a grey band along the strip */
.ribbon--plain .rp-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .07); pointer-events: none; }
.ribbon--plain .rp-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ribbon--plain::before, .ribbon--plain::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: 48px; pointer-events: none; }
.ribbon--plain::before { left: 0; background: linear-gradient(90deg, var(--c-white), rgba(255, 255, 255, 0)); }
.ribbon--plain::after { right: 0; background: linear-gradient(270deg, var(--c-white), rgba(255, 255, 255, 0)); }
@keyframes rp-x { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes rp-y { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
/* phone and portrait tablet: a strip above and below the words, which keep a clear 36px from both */
.ribbon--plain.ribbon--left { top: 36px; bottom: auto; left: 0; right: 0; width: auto; height: 132px; }
.ribbon--plain.ribbon--right { top: auto; bottom: 36px; left: 0; right: 0; width: auto; height: 132px; }
@media (max-width: 999.98px) { .hero__card:has(.ribbon--plain) { padding-top: 204px; padding-bottom: 204px; } }
/* from 1000px: a slim column against each side of the white card */
@media (min-width: 1000px) {
  .ribbon--plain.ribbon--left, .ribbon--plain.ribbon--right { top: 12px; bottom: 12px; height: auto; width: 176px; }
  .ribbon--plain.ribbon--left { left: 12px; right: auto; }
  .ribbon--plain.ribbon--right { right: 12px; left: auto; }
  .ribbon--plain .rp-track { flex-direction: column; width: 100%; padding: 0; animation-name: rp-y; animation-duration: 60s; }
  .ribbon--plain .rp-card { width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0 0 12px; }
  .ribbon--plain::before, .ribbon--plain::after { left: 0; right: 0; width: auto; height: 64px; }
  .ribbon--plain::before { top: 0; bottom: auto; background: linear-gradient(180deg, var(--c-white), rgba(255, 255, 255, 0)); }
  .ribbon--plain::after { top: auto; bottom: 0; background: linear-gradient(0deg, var(--c-white), rgba(255, 255, 255, 0)); }
}
@media (min-width: 1200px) { .ribbon--plain.ribbon--left, .ribbon--plain.ribbon--right { width: 204px; } }
@media (prefers-reduced-motion: reduce) { .ribbon--plain .rp-track { animation: none; } }

/* Service pages: a client website on a device in a real setting, filling its card and framed on the device */
.svc-one__img--scene { display: block; position: relative; min-height: 320px; padding: 0; overflow: hidden; background: var(--c-ink-2); }
.svc-one__img--scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: none !important; transition: transform .9s var(--ease-out); }
@media (hover: hover) { .svc-one__img--scene:hover img { transform: scale(1.03); } }
/* Project cards (tools/set_project_cards.py): the client's brand colour, their homepage in a clean browser window and
   the phone version in front. Hover (or scroll into view on a phone) and the window scrolls down their whole
   homepage. Sizes come from the card itself (container units), so the panel suits tall, wide and small cards alike. */
.project.has-pc { background: var(--brand); color: var(--ink); }
.project.has-pc::after { display: none; }
.project.has-pc::before { opacity: .14; }
.pc { position: absolute; inset: 0; z-index: -1; container-type: size; pointer-events: none; }
.pc__stage { position: absolute; left: 50%; top: 44%; width: min(74cqw, 84cqh); aspect-ratio: 16 / 11; transform: translate(-50%, -50%); transition: transform .9s var(--ease-out); }
.pc__desk { position: absolute; left: 0; top: 0; width: 100%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 24px 60px rgba(0, 0, 0, .28), 0 4px 14px rgba(0, 0, 0, .16); }
.pc__bar { display: flex; gap: 5px; align-items: center; height: 22px; padding: 0 10px; background: #f2f2f2; border-bottom: 1px solid #e4e4e4; }
.pc__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4d4; }
.pc__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.pc__page { display: block; width: 100%; height: auto; transform: translate3d(0, 0, 0); transition: transform 1s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.pc__phone { position: absolute; right: -7%; bottom: -16%; width: 24%; aspect-ratio: 390 / 844; padding: 2.2%; border-radius: 14% / 6.5%; background: #111; box-shadow: 0 18px 44px rgba(0, 0, 0, .34); }
.pc__phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12% / 5.6%; }
/* the scroll: down the whole page at a steady reading pace, and quickly back to the top afterwards */
.project.has-pc:hover .pc__page, .pc.is-playing .pc__page { transform: translate3d(0, calc(var(--pc-dist, 0px) * -1), 0); transition: transform var(--pc-time, 12s) cubic-bezier(.45, 0, .55, 1); }
.project.has-pc:hover .pc__stage { transform: translate(-50%, -50%) scale(1.02); }
/* text on the brand colour */
.project.has-pc .project__tags li { background: color-mix(in srgb, var(--ink) 12%, transparent); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; }
.project.has-pc .meta { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.project__result { display: inline-block; margin: 0 0 10px; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: var(--brand); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 600; }
.project.has-pc .project__cta { background: var(--ink); color: var(--brand); }
.project.has-pc .project__cta-icon { background: var(--brand); color: var(--ink); }
/* a phone-width card: the devices sit a little higher, clear of the name below */
@media (max-width: 809.98px) { .pc__stage { top: 38%; width: min(78cqw, 76cqh); } }
@media (prefers-reduced-motion: reduce) { .project.has-pc:hover .pc__page, .pc.is-playing .pc__page { transform: none; } .project.has-pc:hover .pc__stage { transform: translate(-50%, -50%); } }
/* a phone-width card with a "Read case study" button: smaller devices, kept between the labels and the name */
@media (max-width: 809.98px) { .project.has-pc:has(.project__cta) .pc__stage { top: 37%; width: min(74cqw, 58cqh); } }
@media (max-width: 809.98px) {
  .project.has-pc:has(.project__cta) .pc__stage { top: 35%; width: min(70cqw, 52cqh); }
  .project.has-pc:has(.project__result):not(:has(.project__cta)) .pc__stage { top: 36%; width: min(74cqw, 60cqh); }
}

/* the cards measure their own free space (script.js sets the panel's top and bottom); the devices are centred in it.
   The stage with the phone hanging below it is about 0.8 of its width tall, so 1.2 x the height always fits. */
.js .pc__stage, .js .project.has-pc:has(.project__cta) .pc__stage, .js .project.has-pc:has(.project__result):not(:has(.project__cta)) .pc__stage { top: 45%; width: min(78cqw, 118cqh); }

/* Case studies (tools/set_project_cards.py): a large brand-colour panel whose browser window tours the client's whole
   homepage once when it comes into view (down, a pause, and back to the top; hover replays it), and a row of three
   phone screens from down the page, also on the brand colour. Same gaps and corners as the galleries around them. */
.case-pc { position: relative; margin: 0 var(--s-2); border-radius: var(--r-card); overflow: hidden; background: var(--brand); aspect-ratio: 4 / 5; isolation: isolate; }
@media (min-width: 810px) { .case-pc { aspect-ratio: 16 / 9; } }
.case-pc .pc { inset: 6% 0 4%; }
.case-pc .pc__stage { top: 47%; width: min(80cqw, 118cqh); }
.case-pc .pc__bar { height: clamp(18px, 2.2cqw, 30px); }
.case-pc .pc__bar i { width: clamp(7px, .8cqw, 11px); height: clamp(7px, .8cqw, 11px); }
.case-pc .pc__desk { border-radius: clamp(10px, 1.2cqw, 16px); }
.case-pc.is-touring .pc__page { animation: pc-tour var(--pc-tour, 30s) cubic-bezier(.45, 0, .55, 1) 1 both; transition: none; }
@keyframes pc-tour { 0%, 4% { transform: translate3d(0, 0, 0); } 48%, 56% { transform: translate3d(0, calc(var(--pc-dist, 0px) * -1), 0); } 96%, 100% { transform: translate3d(0, 0, 0); } }
.case-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 3vw, 48px); margin: 0 var(--s-2); padding: clamp(28px, 6vw, 96px) clamp(16px, 7vw, 140px); border-radius: var(--r-card); background: var(--brand); }
.case-phones__p { margin: 0; aspect-ratio: 390 / 844; padding: 3.5%; border-radius: 16% / 7.4%; background: #111; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.case-phones__p img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 13.5% / 6.2%; }
.case-phones__p:nth-child(2) { transform: translateY(clamp(10px, 3vw, 44px)); }
@media (prefers-reduced-motion: reduce) { .case-pc.is-touring .pc__page { animation: none; } }
@media (max-width: 809.98px) { .case-pc { aspect-ratio: 1 / 1; } .case-pc .pc { inset: 4% 0 6%; } .case-pc .pc__stage { top: 45%; width: min(90cqw, 118cqh); } }
@media (max-width: 809.98px) { .case-pc .pc__stage { width: min(82cqw, 118cqh); left: 47%; } }
/* FC AutoBuyer brand colours: on a phone the three swatches share the width without spilling off the screen */
@media (max-width: 809.98px) {
  .brand-type__colours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-type__colours .swatch { min-width: 0; min-height: 140px; padding: 14px 12px; }
  .brand-type__colours .swatch b { font-size: 14px; overflow-wrap: anywhere; }
  .brand-type__colours .swatch span { font-size: 11px; }
}
/* card grids never grow wider than the screen because of what is inside a card */
.svc-blocks > *, .svc-block { min-width: 0; }
@media (max-width: 809.98px) { .svc-blocks { grid-template-columns: minmax(0, 1fr); } }
/* the Bing advert example on the smallest phones: a touch smaller so the search fits in full */
@media (max-width: 400px) { .mg .bing { padding: 12px; } .mg .bing-top { gap: 6px; font-size: 11px; } .mg .bing-box { margin-left: 2px; padding: 5px 9px; font-size: 10.5px; } }

/* Phones on the project cards and case studies: a modern phone rather than a flat black block. A slim black bezel
   inside a thin metal edge, the camera pill at the top, and a status bar in the site's own top colour (set per
   screenshot by set_project_cards.py) so the website starts below it, as it would on a real phone. */
.phone { container-type: inline-size; box-sizing: border-box; padding: 3.2cqw; background: #0a0a0a; border-radius: 15% / 7%;
  box-shadow: 0 0 0 1px #57575a, 0 0 0 2.5px #1d1d1f, inset 0 0 0 1px #2c2c2e, 0 22px 50px rgba(0, 0, 0, .32), 0 6px 14px rgba(0, 0, 0, .18); }
.pc__phone.phone { padding: 0; }
.pc__phone.phone .phone__screen { position: absolute; inset: 3.4cqw; }
.phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: var(--sb, #000); }
.phone__screen::before { content: ""; position: absolute; z-index: 2; top: 2.6cqw; left: 50%; width: 30cqw; height: 8.4cqw; border-radius: 99px; background: #000; transform: translateX(-50%); }
.phone__sb { flex: none; display: flex; align-items: center; justify-content: space-between; height: 12.5cqw; padding: 1.6cqw 7cqw 0 8.5cqw; color: var(--sbi, #fff); font: 600 4.3cqw/1 -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em; }
.phone__sb b { font-weight: 600; }
.phone__sb i { position: relative; width: 6.6cqw; height: 3.2cqw; border: .45cqw solid currentColor; border-radius: 1cqw; opacity: .9; }
.phone__sb i::after { content: ""; position: absolute; inset: .45cqw; right: 1.4cqw; border-radius: .5cqw; background: currentColor; }
.phone__screen img { flex: 1 1 auto; display: block; width: 100%; min-height: 0; height: auto; object-fit: cover; object-position: top; border-radius: 0; }
/* gentle glass sheen */
.phone__screen::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 38%); }
.case-phones__p.phone { padding: 3.4cqw; }
.case-phones__p.phone .phone__screen { border-radius: 12.5% / 5.8%; }
/* the screen sits a fixed share of the phone's own width inside the frame (padding cannot measure the phone itself) */
.phone { padding: 0 !important; }
.case-phones__p.phone { position: relative; }
.phone > .phone__screen { position: absolute; inset: 3.4cqw; height: auto; }

/* web design: beside "what's included", the Beyond Typical Training site in its brand-colour panel (tours the homepage once when seen) */
.svc-one .svc-one__img--pc { display: block; position: relative; margin: 0; padding: 0; aspect-ratio: auto; min-height: 320px; background: var(--brand); overflow: hidden; isolation: isolate; }
.svc-one .svc-one__img--pc .pc { inset: 7% 0 9%; }
.svc-one .svc-one__img--pc .pc__stage { top: 47%; width: min(78cqw, 112cqh); }
@media (max-width: 1099px) { .svc-one .svc-one__img--pc { min-height: 0; aspect-ratio: 16 / 11; } }
@media (max-width: 599px) { .svc-one .svc-one__img--pc { aspect-ratio: 1 / 1; } }
/* web design: the iMac office photo needs a taller card on tablets and phones so the whole screen shows */
@media (max-width: 1099px) { .svc-one .svc-one__img--scene:has(img[src*="studio-imac"]) { min-height: 0; aspect-ratio: 3 / 2; } }
@media (max-width: 599px) { .svc-one .svc-one__img--scene:has(img[src*="studio-imac"]) { aspect-ratio: 5 / 4; } }

/* BIG-START Service pages: a larger moving mock-up beside "what's included" (.svc-one__art), in place of a photo */
.svc-one__art { position: relative; display: grid; padding: var(--s-16); }
.svc-one__art .tool-art__label { z-index: 1; top: var(--s-24); right: var(--s-24); }
.mg.mg--big { height: 100%; min-height: 420px; margin: 0; gap: 14px; }
.mgb-browser { width: 100%; max-width: 400px; border-radius: 14px; background: var(--c-paper); overflow: hidden; }
.mgb-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #dedede; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; }
.mgb-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfcfcf; }
.mgb-bar span { margin-left: 8px; }
.mgb-page { display: grid; gap: 10px; justify-items: start; padding: 20px; }
.mgb-h { height: 16px; }
.mgb-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 999px; background: #141414; color: #f5f5f5; font-size: 12px; font-weight: 500; }
.mgb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 4px; }
.mgb-cards span { height: 58px; border-radius: 9px; background: var(--c); }
.mgb-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 380px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--c-paper); font-size: 13px; }
.mg--big .mg-card { max-width: 380px; }
.mgb-hit { box-shadow: 0 0 0 2px #00e5be; }
.mgb-other { padding: 12px 16px; opacity: .55; }
.mgb-phone { display: grid; gap: 10px; width: 230px; padding: 16px 14px 18px; border-radius: 26px; background: var(--c-paper); }
.mgb-post { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; }
.mgb-post b { width: 26px; height: 26px; border-radius: 50%; background: #00e5be; }
.mgb-post small { display: block; font-size: 10px; font-weight: 400; color: #7a7a7a; }
.mgb-pic { display: grid; place-items: center; height: 130px; border-radius: 12px; background: #b7a6ff; }
.mgb-pic span { padding: 6px 12px; border-radius: 8px; background: #141414; color: #f5f5f5; font-size: 13px; font-weight: 600; }
.mgb-copy { font-size: 12px; min-height: 16px; }
.mgb-phone .mgb-btn { justify-self: stretch; justify-content: center; }
.mgb-meta { display: grid; width: 100%; max-width: 330px; border-radius: 12px; background: #fff; color: #050505; font-family: system-ui, "Segoe UI", Helvetica, Arial, sans-serif; overflow: hidden; }
.mgb-meta p { margin: 0; }
.mgb-meta__head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px; font-size: 13px; font-weight: 600; line-height: 16px; }
.mgb-meta__head b { display: grid !important; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #00e5be; color: #141414; font-size: 12px; font-weight: 700 !important; }
.mgb-meta__head small { display: flex !important; align-items: center; gap: 4px; font-size: 11px; font-weight: 400; color: #65676b; }
.mgb-meta__head small svg { width: 11px; height: 11px; }
.mgb-meta__head em { margin-left: auto; color: #65676b; font-size: 16px; letter-spacing: 1px; }
.mgb-meta__text { padding: 0 12px 10px; font-size: 13px; line-height: 18px; min-height: 28px; }
.mgb-meta__text .type { font-family: inherit; font-size: 13px; max-width: none; white-space: normal; animation-name: mg-pop; }
.mgb-meta__pic { display: grid; place-items: center; height: 150px; background: #b7a6ff; }
.mgb-meta__pic span { padding: 8px 14px; border-radius: 10px; background: #141414; color: #f5f5f5; font-size: 15px; font-weight: 700; }
.mgb-meta__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #f0f2f5; font-size: 13px; font-weight: 600; line-height: 17px; }
.mgb-meta__link small { display: block !important; font-size: 10px; font-weight: 400; letter-spacing: .02em; color: #65676b; }
.mgb-meta__link b { flex: none; padding: 7px 12px; border-radius: 6px; background: #e4e6eb; font-size: 13px; font-weight: 600 !important; }
.mgb-meta__acts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px 12px; border-top: 1px solid #e4e6eb; text-align: center; font-size: 12px; font-weight: 600; color: #65676b; }
.mgb-meta__brand { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; background: #0866ff; color: #fff; font-family: system-ui, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 600; }
.mgb-meta__brand svg { width: 18px; height: 18px; }
.mgb-meta__head img { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #141414; padding: 6px; box-sizing: border-box; }
.mgb-meta__pic { height: auto; aspect-ratio: 1.91 / 1; background: #ddd; }
.mgb-meta__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.mgb-meta__link b { background: #e4e6eb; color: #050505; }
/* mgb-meta fit */
.mgb-meta__text { white-space: normal !important; overflow: visible; min-height: 0; }
.mgb-meta__pic { display: block; height: 172px !important; aspect-ratio: auto; overflow: hidden; }
.mgb-meta__pic img { height: 172px; }
.mg.mg--big:has(.mgb-meta) { min-height: 520px; }
.gads { width: 100%; max-width: 640px; border-radius: 14px; background: #fff; color: #202124; font-family: "Google Sans", Roboto, system-ui, "Segoe UI", Arial, sans-serif; overflow: hidden; }
.gads p, .gads ul { margin: 0; list-style: none; }
.gads ul { padding: 0; }
.gads-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e3e6ea; }
.gads-logo { flex: none; width: 20px; height: 20px; color: #1a73e8; }
.gads-top b { font-size: 14px; font-weight: 500 !important; color: #5f6368; white-space: nowrap; }
.gads-top span { flex: 1; height: 26px; padding: 0 12px; border: 1px solid #dadce0; border-radius: 6px; font-size: 10px; line-height: 26px; color: #80868b; white-space: nowrap; overflow: hidden; }
.gads-top i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #e3e6ea; }
.gads-body { display: grid; grid-template-columns: 128px 1fr; }
.gads-nav { padding: 10px 8px; background: #f8f9fa; font-size: 10.5px; line-height: 14px; }
.gads-nav li { padding: 7px 10px; border-radius: 999px; color: #3c4043; white-space: nowrap; }
.gads-nav li.on { background: #1a73e8; color: #fff; font-weight: 500; }
.gads-main { display: grid; gap: 10px; padding: 12px 14px 14px; min-width: 0; }
.gads-h { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.gads-h span { padding: 3px 8px; border: 1px solid #dadce0; border-radius: 4px; font-size: 9.5px; color: #3c4043; }
.gads-tiles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e3e6ea; border-radius: 6px 6px 0 0; overflow: hidden; }
.gads-tile { display: grid; gap: 4px; padding: 9px 10px; border-right: 1px solid #e3e6ea; font-size: 17px; line-height: 20px; }
.gads-tile:last-child { border-right: 0; }
.gads-tile small { display: block !important; font-size: 9.5px; line-height: 12px; color: #5f6368; white-space: nowrap; }
.gads-tile--blue { background: #1a73e8; color: #fff; } .gads-tile--red { background: #d93025; color: #fff; }
.gads-tile--blue small, .gads-tile--red small { color: #fff; }
.gads-chart { display: block; width: 100%; height: 120px; margin-top: -10px; border: 1px solid #e3e6ea; border-top: 0; border-radius: 0 0 6px 6px; }
.gads-grid { fill: none; stroke: #eceff1; stroke-width: 1; }
.gads-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: gad-wipe 9s both; animation-iteration-count: 1; }
.gads-line--blue { stroke: #1a73e8; animation-delay: 2.2s; } .gads-line--red { stroke: #d93025; animation-delay: 2.7s; }
@keyframes gads-draw { 0% { stroke-dashoffset: 1; } 22%, 100% { stroke-dashoffset: 0; } }
@media (max-width: 480px) { .gads-body { grid-template-columns: 1fr; } .gads-nav { display: none; } .gads-tile { font-size: 14px; padding: 8px 7px; } .gads-top span { display: none; } }
.rk-search { max-width: 440px; }
.rk { position: relative; width: 100%; max-width: 440px; height: 286px; font-family: Arial, system-ui, sans-serif; }
.rk-row { position: absolute; left: 0; right: 0; box-sizing: border-box; border-radius: 12px; background: var(--c-paper); }
.rk-other { display: grid; gap: 6px; height: 54px; padding: 10px 14px; opacity: .55; }
.rk-other b { font-size: 12px; line-height: 14px; font-weight: 600 !important; color: #3c4043; }
.rk-other i { height: 5px; border-radius: 5px; background: #cfcfcf; } .rk-other i:last-child { width: 62%; }
.rk-you { display: grid; gap: 5px; height: 112px; padding: 12px 44px 12px 14px; box-shadow: 0 0 0 2px #00e5be; }
.rk-you small { font-size: 10.5px; line-height: 13px; color: #188038; }
.rk-you p { margin: 0; }
.rk-title { font-size: 14px; line-height: 18px; color: #1a0dab; }
.rk-desc { font-size: 11px; line-height: 15px; color: #4d5156; }
.rk-you em { display: inline-block !important; margin-right: 6px; padding: 0 6px; border-radius: 999px; background: #141414; color: #f5f5f5; font-size: 8.500px; line-height: 14px; font-weight: 600; vertical-align: 1px; white-space: nowrap; }
.rk-desc em { background: #e6f25a; color: #141414; }
.rk-up { position: absolute; right: 10px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: #00e5be; color: #141414; }
.rk-up svg { width: 14px; height: 14px; }
.rk-a { animation: rk-a 9s both; } .rk-b { animation: rk-b 9s both; } .rk-c { animation: rk-c 9s both; } .rk-you { animation: rk-you 9s both; }
@keyframes rk-you { 0%, 22% { top: 174px; } 36%, 44% { top: 116px; } 58%, 66% { top: 58px; } 80%, 100% { top: 0; } }
@keyframes rk-c { 0%, 22% { top: 116px; } 36%, 100% { top: 232px; } }
@keyframes rk-b { 0%, 44% { top: 58px; } 58%, 100% { top: 174px; } }
@keyframes rk-a { 0%, 66% { top: 0; } 80%, 100% { top: 116px; } }
@media (max-width: 480px) { .rk-you em { display: none !important; } .rk-title { font-size: 13px; } }
.gad { box-sizing: border-box; width: 100%; max-width: 640px; padding: 18px; border-radius: 16px; background: #fff; color: #202124; font-family: "Google Sans", Roboto, system-ui, "Segoe UI", Arial, sans-serif; }
.gad p { margin: 0; }
.gad-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px !important; }
.gad-logo { flex: none; width: 26px; height: 26px; color: #1a73e8; }
.gad-top b { font-size: 18px; font-weight: 500 !important; color: #5f6368; }
.gad-top span { margin-left: auto; padding: 6px 12px; border: 1px solid #dadce0; border-radius: 6px; font-size: 12px; line-height: 16px; color: #3c4043; white-space: nowrap; }
.gad-tiles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e3e6ea; border-radius: 8px 8px 0 0; overflow: hidden; }
.gad-tile { display: grid; gap: 6px; padding: 14px 14px 16px; border-right: 1px solid #e3e6ea; font-size: 26px; line-height: 28px; }
.gad-tile:last-child { border-right: 0; }
.gad-tile small { display: block !important; font-size: 12px; line-height: 15px; color: #5f6368; white-space: nowrap; }
.gad-tile--blue { background: #1a73e8; color: #fff; } .gad-tile--red { background: #d93025; color: #fff; }
.gad-tile--blue small, .gad-tile--red small { color: #fff; }
.gad-chart { padding: 14px 14px 12px; border: 1px solid #e3e6ea; border-top: 0; border-radius: 0 0 8px 8px; }
.gad-chart svg { display: block; width: 100%; height: 170px; }
.gad-grid { fill: none; stroke: #eceff1; stroke-width: 1; vector-effect: non-scaling-stroke; }
.gad-line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: gad-wipe 9s both; animation-iteration-count: 1; }
.gad-line--blue { stroke: #1a73e8; animation-delay: 2.1s; } .gad-line--red { stroke: #d93025; animation-delay: 2.6s; }
.gad-axis { display: flex; justify-content: space-between; margin-top: 6px !important; font-size: 10.5px; line-height: 14px; color: #80868b; }
.gad-key { display: flex; gap: 16px; margin-top: 10px !important; font-size: 11.5px; line-height: 14px; color: #3c4043; }
.gad-key span::before { content: ""; display: inline-block; width: 14px; height: 3px; margin-right: 6px; border-radius: 3px; vertical-align: middle; background: #1a73e8; }
.gad-key .r::before { background: #d93025; }
@media (max-width: 480px) { .gad { padding: 12px; } .gad-tiles { grid-template-columns: 1fr 1fr; } .gad-tile { font-size: 20px; line-height: 22px; padding: 10px; border-bottom: 1px solid #e3e6ea; } .gad-chart svg { height: 120px; } .gad-top b { font-size: 15px; } .gad-top span { font-size: 10.5px; padding: 4px 8px; } }
.gs { box-sizing: border-box; width: 100%; max-width: 480px; padding: 16px 18px 18px; border-radius: 16px; background: #fff; color: #202124; font-family: Arial, system-ui, sans-serif; }
.gs p { margin: 0; }
.gs-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px !important; }
.gs-logo { flex: none; font-family: "Product Sans", "Google Sans", Arial, sans-serif; font-size: 24px; font-weight: 500; letter-spacing: -1px; line-height: 1; }
.gs-logo i { display: inline !important; }
.gs-box { flex: 1; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border: 1px solid #dfe1e5; border-radius: 999px; font-size: 13px; box-shadow: 0 1px 4px rgba(32, 33, 36, .12); }
.gs .rk { max-width: none; height: 302px; }
.gs .rk-row { background: #fff; border-radius: 10px; }
.gs-site { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 15px; color: #202124; }
.gs-site b { display: grid !important; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #f1f3f4; color: #5f6368; font-size: 11px; font-weight: 600 !important; }
.gs-site small { display: block !important; font-size: 10.5px; color: #4d5156; }
.gs .rk-other { gap: 7px; height: 62px; padding: 8px 12px; opacity: 1; border: 1px solid #eceff1; }
.gs .rk-other i { background: #e3e6ea; } .gs .rk-other .gs-site span { color: #5f6368; }
.gs .rk-you { height: 110px; padding: 10px 44px 10px 12px; gap: 4px; box-shadow: 0 0 0 2px #00e5be; }
.gs .rk-you .gs-site b { background: #00e5be; color: #141414; }
.gs .rk-title { font-size: 15px; line-height: 19px; color: #1a0dab; }
.gs .rk-desc { font-size: 11.5px; line-height: 15px; color: #4d5156; }
@keyframes rk-you { 0%, 22% { top: 192px; } 36%, 44% { top: 128px; } 58%, 66% { top: 64px; } 80%, 100% { top: 0; } }
@keyframes rk-c { 0%, 22% { top: 128px; } 36%, 100% { top: 240px; } }
@keyframes rk-b { 0%, 44% { top: 64px; } 58%, 100% { top: 176px; } }
@keyframes rk-a { 0%, 66% { top: 0; } 80%, 100% { top: 112px; } }
@media (max-width: 480px) { .gs { padding: 12px; } .gs-logo { font-size: 19px; } .gs .rk-title { font-size: 13px; line-height: 17px; } .gs .rk-you { height: 122px; } }
@media (max-width: 480px) { .gs .rk-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.gs-logo { display: block; width: 34px; height: 34px; letter-spacing: 0; } .gs-logo svg { display: block; width: 34px; height: 34px; }
@keyframes gad-wipe { 0% { clip-path: inset(-10% 100% -10% 0); } 22%, 100% { clip-path: inset(-10% 0 -10% 0); } }
@media (max-width: 400px) { .gs .rk-you { height: 132px; } .gs-box { padding: 0 12px; font-size: 12px; } }
.mgf-h { margin: 0; color: var(--c-paper); font-size: 15px; line-height: 20px; font-weight: 500; }
.mgf { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.mgf p { position: relative; display: grid; grid-template-columns: 48px 1fr 26px; column-gap: 16px; row-gap: 3px; align-items: center; margin: 0; padding: 18px 20px; border-radius: 16px; background: #fff; color: #141414; }
.mgf i { grid-row: 1 / 3; display: grid !important; place-items: center; width: 48px; height: 48px; }
.mgf i svg { width: 38px; height: 38px; }
.mgf-ai { display: flex; gap: 3px; } .mgf .mgf-ai svg { width: 22px; height: 22px; }
.mgf b { grid-column: 2; align-self: end; font-size: 15px; line-height: 19px; font-weight: 600 !important; }
.mgf span:not(.mgf-ai) { grid-column: 2; align-self: start; font-size: 12.5px; line-height: 17px; color: #5a5a5a; }
.mgf em { grid-column: 3; grid-row: 1 / 3; display: grid !important; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #00e5be; color: #141414; }
.mgf em svg { width: 14px; height: 14px; }
@media (max-width: 480px) { .mgf p { grid-template-columns: 40px 1fr 22px; column-gap: 12px; padding: 14px; } .mgf i { width: 40px; height: 40px; } .mgf i svg { width: 32px; height: 32px; } .mgf .mgf-ai svg { width: 18px; height: 18px; } .mgf em { width: 22px; height: 22px; } }
@media (max-width: 480px) { .gs .rk-you { height: 110px !important; padding-right: 40px; } .gs .rk-desc { display: none !important; } .gs .rk-title { font-size: 13.500px; line-height: 18px; } }
/* BIG-END */

/* Service page hero card with the brand-colour site preview: on phones and tablets the card was too short, so the
   devices shrank to half its width. Taller here, so they fill the card like the cards on the work page. */
@media (max-width: 809.98px) { .svc-hero .svc-hero__work .project.has-pc { height: clamp(440px, 126vw, 560px) !important; } }
@media (min-width: 810px) and (max-width: 1199.98px) { .svc-hero .svc-hero__work .project.has-pc { height: clamp(560px, 78vw, 700px) !important; } }

/* Project cards: clip the photo to the rounded corners from the very first paint. With overflow alone, the photo
   (moved by the parallax and the hover zoom) showed square corners until the browser caught up. */
.project { clip-path: inset(0 round var(--r-card)); }
