/* Marketing Plus landing page styles
   Palette: deep espresso, warm cream, vibrant violet accent. Change colours here. */

:root {
  --ink: #16161A;            /* near black: main buttons, dark details */
  --ink-2: #24359E;          /* raised surfaces on cobalt */
  --ink-3: #3246B8;
  --cream: #FFFFFF;          /* page background */
  --soft: #E6EAFB;           /* pale periwinkle */
  --warm: #F0E9FD;           /* pale lavender */
  --white: #FFFFFF;
  --violet: #B9A8F7;         /* pastel lavender highlight */
  --blue: #5A60DC;           /* periwinkle accent text */
  --on-accent: #16161A;      /* text on lavender */
  --violet-deep: #9C88F2;
  --violet-light: #CFC3FA;
  --text: #15162A;
  --muted: #575C7E;
  --line: rgba(20, 26, 61, 0.12);
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.74);
  --line-dark: rgba(255, 255, 255, 0.16);
  --error: #B42318;
  --success: #1F8A4C;

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1120px;
  --shadow: 0 24px 60px -24px rgba(20, 26, 61, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(800px 600px at 0% 12%, rgba(160, 150, 240, 0.12), transparent 70%),
    radial-gradient(800px 600px at 100% 40%, rgba(150, 178, 248, 0.12), transparent 70%),
    radial-gradient(800px 600px at 0% 75%, rgba(182, 168, 244, 0.1), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FBFBFF 45%, #F6F7FE 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
input, select, textarea, button { font: inherit; }
h1, h2, h3, p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--violet); color: var(--on-accent); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.03em;
}
.heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(25px, 2.9vw, 36px); line-height: 1.1; letter-spacing: -0.025em;
  max-width: 760px;
}
.heading-light { color: var(--on-dark); }
.accent { color: var(--blue); }
.section-dark .accent { color: var(--violet-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow-light { color: var(--violet-light); }
.sub { font-size: 16px; color: var(--muted); max-width: 520px; }
.sub-light { color: var(--on-dark-muted); }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.3s ease;
}
/* Every button pops up on hover */
@media (hover: hover) {
  .btn:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 30px -14px rgba(20, 26, 61, 0.35); }
  .btn-primary:hover { box-shadow: 0 0 0 1px rgba(160, 150, 245, 0.8), 0 18px 34px -12px rgba(47, 43, 143, 0.6); }
  .btn:hover .wa-logo { transform: scale(1.15) rotate(-8deg); }
}
.btn .wa-logo { transition: transform 0.35s cubic-bezier(0.3, 1.8, 0.5, 1); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn svg { flex: none; }
.btn svg path:not(.fill) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg .fill { fill: currentColor; }
.btn-primary { background: #2F2B8F; color: #FFFFFF; box-shadow: 0 0 0 1px rgba(160, 150, 245, 0.55), 0 12px 26px -12px rgba(47, 43, 143, 0.6); }
.btn-primary:hover { background: #24207A; }
.btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--on-dark); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-outline { color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--white); }
.btn-ghost-dark { color: var(--text); border-color: rgba(20, 26, 61, 0.25); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); color: var(--text); position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.site-header .btn-light { background: #2F2B8F; color: var(--white); box-shadow: 0 0 0 1px rgba(160, 150, 245, 0.55); }
.site-header .btn-light:hover { background: #24207A; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.brand { color: var(--ink); font-family: "Schibsted Grotesk", var(--font-display); font-weight: 600; letter-spacing: -0.025em; font-size: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-tag { font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #5A60DC; margin-top: 3px; }
.brand-plus { color: inherit; }
.brand-small { font-size: 18px; }
.brand-small .brand-tag { font-size: 10px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--muted); padding: 8px 0; }
.site-nav a:not(.btn):hover { color: var(--blue); }

.menu-toggle {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 12px;
  background: transparent; color: #2F2B8F; cursor: pointer; position: relative; outline: none; -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}
.menu-toggle:active { transform: scale(0.94); }
.menu-toggle:focus, .menu-toggle:focus-visible { outline: none; box-shadow: none; }
.menu-toggle-bar { position: absolute; left: 11px; top: 15px; width: 20px; height: 12px; }
.menu-toggle-bar::before, .menu-toggle-bar::after {
  content: ""; position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: top 0.3s ease, width 0.3s ease, transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.menu-toggle-bar::before { top: 0; width: 20px; }
.menu-toggle-bar::after { top: 10px; width: 13px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar::before { top: 5px; width: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar::after { top: 5px; width: 20px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: 72px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px; color: var(--text); }
  .site-nav .btn { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  background: transparent; color: var(--text);
  padding: 28px 0 40px; position: relative; overflow-x: clip;
}
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 201, 60, 0.28), transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; align-self: start; padding-top: 12px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(43, 68, 217, 0.18);
  background: var(--soft); color: var(--blue); font-size: 13px; font-weight: 600;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(255, 201, 60, 0.25); }
.hero .display .accent { display: block; color: var(--text); }
.hero .btn-ghost { color: var(--text); border-color: rgba(20, 26, 61, 0.25); }
.hero .btn-ghost:hover { background: var(--soft); border-color: var(--blue); color: var(--blue); }
.hero-lead { font-size: 16px; color: var(--muted); max-width: 540px; }
.hero-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: var(--text); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }

/* Hero illustration */
.hero-visual { position: relative; height: 470px; }

.ad-head { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.2; }
.ad-head b { display: block; }
.ad-head small { color: var(--muted); }
.ad-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); flex: none; }
.ad-media { margin: 8px 0; height: 90px; border-radius: 12px; background: linear-gradient(150deg, #7F8CF0, #B4A4F5); display: grid; place-items: center; }
.ad-media svg { width: 70%; }
.ad-media path { fill: var(--violet-light); }
.ad-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ad-cta { background: var(--violet); color: var(--on-accent); padding: 6px 12px; border-radius: 8px; font-size: 11px; }


/* ---------- Sections ---------- */
.section { padding: 56px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-warm { background: var(--warm); }

/* What you get */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer {
  background: var(--white); border: 0; border-radius: var(--radius); box-shadow: 0 20px 50px -30px rgba(20, 26, 61, 0.3), 0 1px 6px rgba(20, 26, 61, 0.05);
  padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 8px;
}
.offer > :not(.offer-visual) { padding: 0 12px; }
.offer-text { display: flex; flex-direction: column; gap: 8px; }
.offer h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.offer-text p:last-child { color: var(--muted); }
.offer-num { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: 0.1em; margin-top: 8px; }
@media (min-width: 881px) {
  .section-head.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: 48px; row-gap: 10px; align-items: end; }
  .section-head.split .eyebrow { grid-column: 1 / -1; }
  .section-head.split .sub { padding-bottom: 6px; }
}

/* Card pictures: each tells its own three step story */
.offer-visual { height: 224px; border-radius: 14px; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 16px 18px 14px; }
.v-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.v-steps { list-style: none; margin: 0; padding: 12px 0 0; display: flex; position: relative; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #2F2B8F; }
.v-steps li { flex: 1; }
.v-steps li:nth-child(2) { text-align: center; }
.v-steps li:nth-child(3) { text-align: right; }
.v-steps::before, .v-steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(47, 43, 143, 0.14); }
.v-steps::after { background: #2F2B8F; transform-origin: left center; }

.v-brand { background: var(--warm); }
.logo-tile { width: 100px; height: 100px; flex: none; border-radius: 18px; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 13px; box-shadow: 0 14px 26px -18px rgba(20, 26, 61, 0.4); }
.logo-tile svg { width: 38px; height: 38px; overflow: visible; }
.logo-tile path { fill: var(--blue); stroke: var(--blue); stroke-width: 2; stroke-dasharray: 100; }
.type-name { display: block; }
.vb-side { display: flex; flex-direction: column; gap: 12px; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 20px; height: 40px; border-radius: 6px; transform-origin: bottom center; }
.swatches i:nth-child(1) { background: #6E78E8; --n: 0; }
.swatches i:nth-child(2) { background: var(--violet-light); --n: 1; }
.swatches i:nth-child(3) { background: var(--violet); --n: 2; }
.swatches i:nth-child(4) { background: var(--ink); --n: 3; }
.type-sample { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.type-sample small { font-family: Inter, system-ui, sans-serif; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0; }

.v-store { background: var(--soft); }
.browser { width: 100%; max-width: 290px; background: var(--white); border-radius: 12px; box-shadow: 0 16px 30px -16px rgba(20, 26, 61, 0.4); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #EEF1F8; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C6CCDD; flex: none; }
.browser-bar .url { flex: 1; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--white); font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.browser-bar .cart { width: 18px; height: 18px; border-radius: 50%; background: #2F2B8F; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; flex: none; }
.browser-body { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px; align-items: center; }
.product-img { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(150deg, #B9A8F7, #E6EAFB); }
.product-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.product-info .line { width: 80%; height: 8px; border-radius: 999px; background: #E6EAF4; }
.product-info .price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); line-height: 1; }
.product-info .buy { background: #2F2B8F; color: #fff; font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 8px; }

.v-ads { background: linear-gradient(150deg, #DCE3FF, var(--soft)); }
.mini-ad { width: 132px; flex: none; background: var(--white); border-radius: 12px; padding: 8px; box-shadow: 0 16px 30px -16px rgba(20, 26, 61, 0.4); }
.mini-ad .ad-head { font-size: 11px; gap: 6px; }
.mini-ad .ad-avatar { width: 22px; height: 22px; }
.mini-ad-media { height: 46px; margin: 7px 0; border-radius: 8px; background: linear-gradient(150deg, var(--violet), var(--violet-light)); }
.mini-ad .ad-foot { font-size: 11px; }
.mini-ad .ad-cta { padding: 4px 8px; font-size: 10px; }
.ad-stats { width: 128px; display: flex; flex-direction: column; gap: 8px; }
.stat { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 3px; }
.stat:nth-child(1) { --n: 0; }
.stat:nth-child(2) { --n: 1; }
.stat:nth-child(3) { --n: 2; }
.stat small { font-size: 11px; color: var(--muted); }
.stat b { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.stat i { grid-column: 1 / -1; height: 4px; width: var(--w); border-radius: 2px; background: #2F2B8F; transform-origin: left center; }
.ad-stats em { font-style: normal; font-size: 10px; color: var(--muted); }

/* Story animation, replays every visit. --c is when each card starts; its steps follow at +0.1s, +0.9s and +1.7s */
.offer-grid .offer:nth-child(1) { --c: 0s; }
.offer-grid .offer:nth-child(2) { --c: 0.5s; }
.offer-grid .offer:nth-child(3) { --c: 1s; }
@media (max-width: 880px) { .offer-grid .offer:nth-child(n) { --c: 0s; } }
.anim .offer.is-in .v-steps::after { transition: transform 2s linear var(--c); }
.anim .offer.is-in .v-steps li { transition: opacity 0.3s ease; }
.anim .offer.is-in .v-steps li:nth-child(1) { transition-delay: calc(var(--c) + 0.1s); }
.anim .offer.is-in .v-steps li:nth-child(2) { transition-delay: calc(var(--c) + 0.9s); }
.anim .offer.is-in .v-steps li:nth-child(3) { transition-delay: calc(var(--c) + 1.7s); }
.anim .offer:not(.is-in) .v-steps::after { transform: scaleX(0); transition: none; }
.anim .offer:not(.is-in) .v-steps li { opacity: 0.35; transition: none; }

.anim .offer.is-in .logo-tile path { transition: stroke-dashoffset 0.8s ease calc(var(--c) + 0.1s), fill-opacity 0.4s ease calc(var(--c) + 0.8s); }
.anim .offer.is-in .type-name { transition: clip-path 0.6s steps(9) calc(var(--c) + 0.5s); }
.anim .offer.is-in .swatches i { transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--c) + 0.9s + var(--n) * 0.08s); }
.anim .offer.is-in .type-sample { transition: opacity 0.4s ease calc(var(--c) + 1.7s), transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--c) + 1.7s); }
.anim .offer:not(.is-in) .logo-tile path { stroke-dashoffset: 100; fill-opacity: 0; transition: none; }
.anim .offer:not(.is-in) .type-name { clip-path: inset(0 100% 0 0); transition: none; }
.anim .offer:not(.is-in) .swatches i { transform: scaleY(0); transition: none; }
.anim .offer:not(.is-in) .type-sample { opacity: 0; transform: translateY(12px); transition: none; }

.anim .offer.is-in .browser { transition: opacity 0.4s ease calc(var(--c) + 0.1s), transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) calc(var(--c) + 0.1s); }
.anim .offer.is-in .browser-bar .url { transition: clip-path 0.6s steps(13) calc(var(--c) + 0.4s); }
.anim .offer.is-in .product-img { transition: opacity 0.3s ease calc(var(--c) + 0.9s), transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--c) + 0.9s); }
.anim .offer.is-in .product-info .line { transition: opacity 0.3s ease calc(var(--c) + 1.05s), transform 0.4s ease calc(var(--c) + 1.05s); }
.anim .offer.is-in .product-info .price { transition: opacity 0.3s ease calc(var(--c) + 1.2s), transform 0.4s ease calc(var(--c) + 1.2s); }
.anim .offer.is-in .product-info .buy { transition: opacity 0.3s ease calc(var(--c) + 1.7s), transform 0.5s cubic-bezier(0.3, 1.8, 0.5, 1) calc(var(--c) + 1.7s); }
.anim .offer.is-in .browser-bar .cart { transition: transform 0.5s cubic-bezier(0.3, 2, 0.5, 1) calc(var(--c) + 2.2s); }
.anim .offer:not(.is-in) .browser { opacity: 0; transform: translateY(16px); transition: none; }
.anim .offer:not(.is-in) .browser-bar .url { clip-path: inset(0 100% 0 0); transition: none; }
.anim .offer:not(.is-in) .product-img { opacity: 0; transform: scale(0.6); transition: none; }
.anim .offer:not(.is-in) .product-info .line,
.anim .offer:not(.is-in) .product-info .price { opacity: 0; transform: translateX(-10px); transition: none; }
.anim .offer:not(.is-in) .product-info .buy { opacity: 0; transform: scale(0.5); transition: none; }
.anim .offer:not(.is-in) .browser-bar .cart { transform: scale(0); transition: none; }

.anim .offer.is-in .mini-ad { transition: opacity 0.4s ease calc(var(--c) + 0.1s), transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) calc(var(--c) + 0.1s); }
.anim .offer.is-in .stat { transition: opacity 0.3s ease calc(var(--c) + 0.7s + var(--n) * 0.4s); }
.anim .offer.is-in .stat i { transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) calc(var(--c) + 0.9s + var(--n) * 0.4s); }
.anim .offer.is-in .ad-stats em { transition: opacity 0.4s ease calc(var(--c) + 2.2s); }
.anim .offer:not(.is-in) .mini-ad { opacity: 0; transform: translateY(16px); transition: none; }
.anim .offer:not(.is-in) .stat { opacity: 0; transition: none; }
.anim .offer:not(.is-in) .stat i { transform: scaleX(0); transition: none; }
.anim .offer:not(.is-in) .ad-stats em { opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) { .anim .offer:not(.is-in) *, .anim .offer:not(.is-in) *::after { opacity: 1 !important; transform: none !important; clip-path: none !important; stroke-dashoffset: 0 !important; fill-opacity: 1 !important; } }

/* How it works: one connected track, stage 1 in blue, stage 2 in yellow */
.track { display: grid; grid-template-columns: 4fr 3fr; gap: 20px; }
.stage {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.stage span {
  font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
}
.g2 .stage span { color: #7F5AF0; }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.g2 .track-steps { grid-template-columns: repeat(3, 1fr); }
.track-steps::before {
  content: ""; position: absolute; top: 21px; left: 22px; right: -20px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #8494F8);
}
.g2 .track-steps::before { left: 0; right: calc((100% - 40px) / 3 - 22px); background: linear-gradient(90deg, #AA90FC, #7F5AF0); }
.track-steps li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.node {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  background: var(--white); color: var(--blue); border: 2.5px solid var(--blue); margin-bottom: 8px;
}
.g1 li:first-child .node { background: var(--blue); color: var(--white); box-shadow: 0 0 0 6px rgba(43, 68, 217, 0.14); }
.g2 .node { background: #7F5AF0; border-color: #7F5AF0; color: #FFFFFF; }
.g2 li:last-child .node { box-shadow: 0 0 0 6px rgba(127, 90, 240, 0.2); }
.track-steps h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.track-steps p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.timeline-cta { display: flex; justify-content: center; margin-top: 36px; }

/* Timeline animation: the line draws left to right and each step pops in as the line reaches it */
.g1 li:nth-child(1) { --d: 0s; } .g1 li:nth-child(2) { --d: 0.25s; } .g1 li:nth-child(3) { --d: 0.5s; } .g1 li:nth-child(4) { --d: 0.75s; }
.g2 li:nth-child(1) { --d: 1.05s; } .g2 li:nth-child(2) { --d: 1.3s; } .g2 li:nth-child(3) { --d: 1.55s; }
.anim .track-steps::before { transform-origin: left center; transition: transform 1s cubic-bezier(0.5, 0, 0.3, 1); }
.anim .g2 .track-steps::before { transition-duration: 0.8s; transition-delay: 0.95s; }
.anim .track:not(.is-in) .track-steps::before { transform: scaleX(0); transition: none; }
.anim .track .stage { transition: opacity 0.5s ease, transform 0.5s ease; }
.anim .track .g2 .stage { transition-delay: 0.95s; }
.anim .track:not(.is-in) .stage { opacity: 0; transform: translateY(10px); transition: none; }
.anim .track .node { transition: opacity 0.35s ease var(--d), transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) var(--d); }
.anim .track:not(.is-in) .node { opacity: 0; transform: scale(0.2); transition: none; }
.anim .track-steps h3, .anim .track-steps p { transition: opacity 0.5s ease calc(var(--d) + 0.15s), transform 0.5s ease calc(var(--d) + 0.15s); }
.anim .track:not(.is-in) .track-steps h3, .anim .track:not(.is-in) .track-steps p { opacity: 0; transform: translateY(14px); transition: none; }
@media (prefers-reduced-motion: reduce) {
  .anim .track:not(.is-in) .track-steps::before, .anim .track:not(.is-in) .node, .anim .track:not(.is-in) .stage, .anim .track:not(.is-in) .track-steps h3, .anim .track:not(.is-in) .track-steps p { opacity: 1; transform: none; }
}

/* Why: text on the left, staggered cards with icons on the right */
.why-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.why-top { display: flex; flex-direction: column; gap: 12px; }
.teams { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.teams li { font-weight: 600; font-size: 15px; color: var(--blue); }
.why-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-grid::before {
  content: ""; position: absolute; inset: 8% -6% -4% 12%; z-index: 0; border-radius: 48% 52% 44% 56%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 201, 60, 0.28), transparent 60%), radial-gradient(circle at 75% 70%, rgba(43, 68, 217, 0.12), transparent 60%);
  filter: blur(8px);
}
.why-item { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 18px 40px -28px rgba(20, 26, 61, 0.35); }
.why-item { --y: 0px; transform: translateY(var(--y)); }
.why-item:nth-child(even) { --y: 28px; }
/* Animation 1: cards rise in one by one when the section scrolls into view */
.anim .why-item { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.anim .why-grid:not(.is-in) .why-item { opacity: 0; transform: translateY(calc(var(--y) + 32px)); transition: none; }
.anim .why-item:nth-child(2) { transition-delay: 0.1s; }
.anim .why-item:nth-child(3) { transition-delay: 0.2s; }
.anim .why-item:nth-child(4) { transition-delay: 0.3s; }
/* Animation 2: cards lift on hover */
.why-item h3 { transition: color 0.2s ease; }
.anim .why-grid.done .why-item { transition: transform 0.25s ease, box-shadow 0.25s ease; transition-delay: 0s; }
@media (hover: hover) {
  .why-item:hover { transform: translateY(calc(var(--y) - 6px)); box-shadow: 0 26px 50px -24px rgba(20, 26, 61, 0.35); }
  .why-item:hover h3 { color: var(--blue); }
}
/* After rising in, each card does the hover pop once on its own, one after another */
.why-item:nth-child(1) { --pd: 0.8s; } .why-item:nth-child(2) { --pd: 1.05s; } .why-item:nth-child(3) { --pd: 1.3s; } .why-item:nth-child(4) { --pd: 1.55s; }
@keyframes whyPop {
  0%, 100% { transform: translateY(var(--y)); box-shadow: 0 18px 40px -28px rgba(20, 26, 61, 0.35); }
  45% { transform: translateY(calc(var(--y) - 10px)); box-shadow: 0 30px 56px -24px rgba(20, 26, 61, 0.4); }
}
@keyframes whyPopTitle { 0%, 100% { color: var(--text); } 30%, 70% { color: var(--blue); } }
.anim .why-grid.is-in:not(.done) .why-item { animation: whyPop 0.8s ease-in-out var(--pd); }
.anim .why-grid.is-in:not(.done) .why-item h3 { animation: whyPopTitle 0.8s ease-in-out var(--pd); }
@media (prefers-reduced-motion: reduce) { .anim .why-grid.is-in:not(.done) .why-item, .anim .why-grid.is-in:not(.done) .why-item h3 { animation: none; } }
@media (prefers-reduced-motion: reduce) { .anim .why-grid:not(.is-in) .why-item { opacity: 1; transform: translateY(var(--y)); } .anim .why-item { transition: none; } }
.why-item h3 { font-size: 16px; font-weight: 600; color: var(--text); }
.why-item p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Enquiry ---------- */
.enquiry-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.enquiry-copy { display: flex; flex-direction: column; gap: 14px; }
.wa-card {
  display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 16px 20px;
  background: var(--white); border: 0; border-radius: var(--radius); box-shadow: 0 20px 50px -30px rgba(20, 26, 61, 0.3), 0 1px 6px rgba(20, 26, 61, 0.05);
  text-decoration: none; transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.3s ease;
}
@media (hover: hover) {
  .wa-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 28px 50px -24px rgba(37, 211, 102, 0.55), 0 2px 10px rgba(20, 26, 61, 0.06); }
  .wa-card:hover .wa-icon { transform: scale(1.12) rotate(-6deg); }
  .wa-card:hover .wa-arrow { transform: translateX(5px); color: #1DA851; }
  .wa-card:hover b { color: #1DA851; }
}
.wa-card b { display: block; }
.wa-card small { color: var(--muted); font-size: 14px; }
.wa-icon { width: 46px; height: 46px; border-radius: 14px; background: #25D366; display: grid; place-items: center; flex: none; transition: transform 0.35s cubic-bezier(0.3, 1.8, 0.5, 1); }
.wa-icon svg { width: 26px; height: 26px; }
.wa-icon .fill { fill: var(--white); }
.wa-arrow { margin-left: auto; font-size: 20px; color: var(--muted); transition: transform 0.25s ease, color 0.25s ease; }
.wa-card b { transition: color 0.25s ease; }

.form-card { background: var(--white); border-radius: 28px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 90px -50px rgba(20, 26, 61, 0.28), 0 2px 10px rgba(20, 26, 61, 0.04); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1.5px solid #D5DAE8; border-radius: var(--radius-sm);
  background: #F8F9FD; color: var(--text); transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9AA1BB; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(43, 68, 217, 0.15); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error, .form-error { font-size: 14px; color: var(--error); }
.form-error { padding: 12px 14px; border-radius: var(--radius-sm); background: #FDECEA; }
.form-error a { color: var(--error); }
.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.check label { font-weight: 400; color: var(--muted); }
.check a { color: var(--text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: flex; flex-direction: column; gap: 16px; padding: 12px 0; }
.form-success:focus { outline: none; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: #E3F5EA; display: grid; place-items: center; }
.success-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--success); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success-title { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.form-success p { color: var(--muted); }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* ---------- Footer ---------- */
.site-footer { background: #E2E8FF; color: var(--muted); padding: 44px 0 0; font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .brand { color: var(--text); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 32px; }
.footer-about { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-about p { max-width: 300px; }
.footer-social { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #FFFFFF; background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); box-shadow: none; transition: transform 0.15s ease; }
.site-footer .footer-social:hover { color: #FFFFFF; transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.footer-social .dot { fill: currentColor; stroke: none; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.footer-col a { color: var(--text); font-size: 12px; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Phone action bar ---------- */
.action-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer:last-child { grid-column: 1 / -1; }
  .why-layout { grid-template-columns: 1fr; gap: 32px; }
  .track { grid-template-columns: 1fr; gap: 8px; }
  .stage { margin-bottom: 14px; }
  .track-steps, .g2 .track-steps { grid-template-columns: 1fr; gap: 0; }
  .track-steps::before, .g2 .track-steps::before { top: 0; bottom: 0; left: 20px; right: auto; width: 3px; height: auto; }
  .track-steps::before { background: linear-gradient(180deg, var(--blue), #6F86FF); }
  .anim .track-steps::before { transform-origin: center top; }
  .anim .track:not(.is-in) .track-steps::before { transform: scaleY(0); transition: none; }
  .g2 .track-steps::before { background: linear-gradient(180deg, #AA90FC, #7F5AF0); bottom: 64px; }
  .track-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; padding-bottom: 22px; }
  .track-steps li .node { grid-row: span 2; margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 880px) {
  .hero { padding: 20px 0 28px; }
  .hero-copy { padding-top: 0; }
  .hero-grid, .enquiry-grid { grid-template-columns: 1fr; gap: 28px; }

  .hero-visual { height: 440px; margin: 0 -8px; }

  .ad-media { height: 84px; }
  
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; }
}

@media (max-width: 640px) {
  body { font-size: 14px; padding-bottom: 84px; }
  .container { padding: 0 18px; }
  .hero-lead { font-size: 15px; }
  .hero-copy { gap: 14px; }
  .hero .display { font-size: 32px; }
  .lead-more, .hide-sm { display: none; }
  .hero .actions { flex-wrap: nowrap; gap: 10px; margin-top: 4px; }
  .hero .actions .btn { min-height: 50px; padding: 12px 16px; font-size: 14px; gap: 8px; }
  .hero .actions .btn-primary { flex: 1 1 auto; }
  .hero .actions .btn-ghost { flex: 0 0 auto; background: #FFFFFF; border: 1.5px solid rgba(47, 43, 143, 0.16); }
  .hero-points { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 8px 36px; margin-top: 4px; font-size: 13px; color: var(--muted); }
  .hero-visual { height: 350px; margin: 8px 0 0; }

  .ad-media { height: 56px; margin: 8px 0; }

  .offer-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-item:nth-child(even) { --y: 0px; }
  .offer:last-child { grid-column: auto; }
  .offer { padding: 12px 12px 22px; gap: 6px; }
  .offer > :not(.offer-visual) { padding: 0 8px; }
  .offer-visual { height: 212px; padding: 14px 14px 12px; }
  .logo-tile { width: 88px; height: 88px; }
  .v-stage { gap: 12px; }
  .timeline-cta .btn { flex: 1 1 100%; }
  .why-item { padding: 20px; gap: 6px; }
  .section { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .site-footer { padding-top: 48px; }
  .form-card { border-radius: 22px; margin: 0; }

  .action-bar {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(20, 26, 61, 0.35);
    transform: translateY(110%); transition: transform 0.25s ease;
  }
  .action-bar.is-visible { transform: none; }
  .action-bar .btn { min-height: 50px; padding: 12px 16px; }
}

/* ---------- Legal page ---------- */
.legal { padding: 56px 0 96px; }
.legal .container { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.03em; line-height: 1; }
.legal h2 { font-size: 20px; font-weight: 600; margin-top: 16px; }
.legal ul { margin: 0; padding-left: 20px; }
.placeholder { background: var(--soft); padding: 0 4px; border-radius: 4px; }

/* ---------- Periwinkle glass look (from the reference design) ---------- */
.site-header { background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.7); }
.why-item, .form-card, .wa-card {
  background:
    radial-gradient(160px 120px at 100% 0%, var(--tint, rgba(214, 190, 255, 0.45)), transparent 70%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 50px -30px rgba(70, 80, 170, 0.5);
}
.why-item:nth-child(2) { --tint: rgba(186, 228, 255, 0.55); }
.why-item:nth-child(3) { --tint: rgba(255, 214, 196, 0.55); }
.why-item:nth-child(4) { --tint: rgba(200, 210, 255, 0.6); }
.form-card { --tint: rgba(200, 190, 255, 0.5); }
.wa-card { --tint: rgba(190, 240, 210, 0.5); }
.field input, .field select, .field textarea { background: rgba(255, 255, 255, 0.7); border-color: rgba(120, 125, 190, 0.25); }
.btn-ghost, .hero .btn-ghost, .btn-ghost-dark { background: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.9); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-footer { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, 0.7); }
.action-bar { background: rgba(255, 255, 255, 0.7) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* What you get: no card boxes, the picture and text sit straight on the page */
.offer-grid { gap: 32px 28px; }
.offer { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.offer > :not(.offer-visual) { padding: 0 2px; }
@media (max-width: 640px) { .offer-grid { gap: 36px; } }

.offer-dots { display: none; }

/* ---------- Phone arrangement: shorter page, swipe through services, quick list of reasons ---------- */
@media (max-width: 640px) {
  .section { padding: 36px 0; }
  .section-head { margin-bottom: 20px; gap: 8px; }

  /* What you get: one card at a time, swipe sideways, next card peeks in */
  .offer-grid {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -18px; padding: 0 18px 4px; scroll-padding: 0 18px; scrollbar-width: none;
  }
  .offer-grid::-webkit-scrollbar { display: none; }
  .offer { scroll-snap-align: start; }
  .offer-visual { height: 200px; }
  .offer h3 { font-size: 19px; }
  .offer-text { gap: 6px; }
  .offer-text p:last-child { font-size: 14px; }
  .offer-dots { display: flex; align-items: center; gap: 6px; margin-top: 16px; }
  .offer-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(47, 43, 143, 0.2); transition: width 0.25s ease, background 0.25s ease; }
  .offer-dots i.on { width: 18px; background: #2F2B8F; }
  .offer-dots span { margin-left: 8px; font-size: 12px; color: var(--muted); }

  /* How it works: tighter steps; the bottom bar already offers the call, so no extra button here */
  .track-steps li { padding-bottom: 16px; }
  .track-steps p { font-size: 13px; }
  .timeline-cta { display: none; }

  /* Why us: a clean list instead of four big boxes */
  .why-grid { gap: 0; }
  .why-grid::before { display: none; }
  .why-item { background: none; border: 0; border-bottom: 1px solid rgba(47, 43, 143, 0.1); border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 14px 0; gap: 4px; }
  .why-item:last-child { border-bottom: 0; }
  .why-item h3 { font-size: 15px; }
  .why-item p { font-size: 13px; }
  .anim .why-grid.is-in:not(.done) .why-item { animation-name: whyNudge; }
}
@keyframes whyNudge { 0%, 100% { transform: none; } 45% { transform: translateX(8px); } }

/* ---------- Editorial theme (from the user's red and cream references, Nov 2026) ----------
   Bold condensed type mixed with an italic serif word in red, bracket labels,
   hand drawn red marks, polaroid style pictures and a warm cream page. */
:root {
  --red: #2350D8;
  --red-deep: #1A3BA8;
  --font-condensed: 'Anton', 'Bricolage Grotesque', Impact, sans-serif;
  --font-script: 'Instrument Serif', Georgia, serif;
}
body {
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(35, 80, 216, 0.06), transparent 70%),
    radial-gradient(800px 600px at 0% 60%, rgba(90, 96, 220, 0.05), transparent 70%),
    linear-gradient(180deg, #FFFDFA 0%, #FBF7F1 50%, #F8F2EA 100%);
}
.site-header { background: rgba(255, 252, 247, 0.72); }

/* Italic serif accent word, used once in each heading */
.script { font-family: var(--font-script); font-style: italic; font-weight: 400; color: var(--red); letter-spacing: -0.01em; }
.heading .script { font-size: 1.12em; line-height: 0.9; }

/* Bracket labels: [ WHAT YOU GET ] */
.eyebrow { color: var(--red); }
.eyebrow::before { content: "["; font-weight: 500; }
.eyebrow::after { content: "]"; font-weight: 500; }
.offer-num { color: var(--red); }

/* Hero: big condensed headline with a red italic word */
.hero::before { background: radial-gradient(closest-side, rgba(35, 80, 216, 0.1), transparent); }
.hero-blur {
  position: absolute; right: -3%; top: -2%; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-condensed); font-size: clamp(160px, 30vw, 440px); line-height: 0.8; letter-spacing: -0.01em;
  color: var(--red); opacity: 0.11; filter: blur(26px);
}
.hero-grid { z-index: 1; }
.hero .display {
  font-family: var(--font-condensed); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 5vw, 70px); line-height: 0.98; letter-spacing: 0.005em;
}
.hero .display .accent { display: block; color: var(--text); }
.hero .display .script { text-transform: none; font-size: 1.08em; line-height: 0.85; letter-spacing: -0.01em; }

/* Hand drawn red circle around 1,000 */
.circled { position: relative; display: inline-block; }
.scribble { position: absolute; left: -12px; top: -8px; width: calc(100% + 24px); height: calc(100% + 16px); overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: scribbleDraw 0.9s ease 0.5s both; }
@keyframes scribbleDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.underscribble { position: relative; display: inline-block; }
.underscribble svg { position: absolute; left: -4%; bottom: -0.12em; width: 108%; height: 0.32em; overflow: visible; pointer-events: none; }
.underscribble path { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; }
.anim .enquiry .underscribble path { transition: stroke-dashoffset 0.8s ease 0.3s; }
.anim .enquiry:not(.is-in) .underscribble path { stroke-dashoffset: 100; transition: none; }
@media (prefers-reduced-motion: reduce) { .scribble path { animation: none; } .anim .enquiry:not(.is-in) .underscribble path { stroke-dashoffset: 0; } }

/* Spread red caps line under the hero buttons */
.hero-points { justify-content: space-between; max-width: 540px; gap: 8px 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }

/* Polaroid pictures for What you get */
.offer-visual { background: #FFFFFF; padding: 10px 10px 0; border-radius: 4px; box-shadow: 0 20px 36px -22px rgba(20, 30, 70, 0.35), 0 1px 3px rgba(20, 30, 70, 0.08); transition: rotate 0.35s ease, translate 0.35s ease; }
.offer:nth-child(1) .offer-visual { rotate: -1.4deg; }
.offer:nth-child(2) .offer-visual { rotate: 1.1deg; }
.offer:nth-child(3) .offer-visual { rotate: -0.9deg; }
@media (hover: hover) { .offer:hover .offer-visual { rotate: 0deg; translate: 0 -4px; } }
.v-brand, .v-store, .v-ads { background: #FFFFFF; }
.v-stage { border-radius: 2px; padding: 0 12px; }
.v-brand .v-stage { background: #EAF0FD; }
.v-store .v-stage { background: #EEF0FB; }
.v-ads .v-stage { background: linear-gradient(150deg, #E8EEFC, #EEF0FB); }
.v-steps { padding: 11px 4px 12px; color: var(--red-deep); }
.v-steps::before { background: rgba(35, 80, 216, 0.16); }
.v-steps::after { background: var(--red); }
.offer-dots i { background: rgba(35, 80, 216, 0.22); }
.offer-dots i.on { background: var(--red); }

@media (max-width: 640px) {
  .hero .display { font-size: 42px; }
  .hero-points { color: var(--red); font-size: 11px; justify-content: start; gap: 8px 36px; }
  .hero-blur { top: 4%; font-size: 190px; }
  .offer-visual { padding: 8px 8px 0; }
}

/* ---------- Hero picture: how we help in four steps ---------- */
.hero-visual { height: 540px; }
.hv-art { position: absolute; inset: 0 0 64px 0; }

.step-tag {
  position: absolute; left: 8px; top: -24px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red);
}
.step-tag b { width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font-size: 10px; letter-spacing: 0; display: grid; place-items: center; }

/* The piece being explained lights up, the rest step back */
.hv-piece { transition: opacity 0.4s ease, filter 0.4s ease, scale 0.45s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.4s ease; }
.hero-visual.playing .hv-piece { opacity: 0.6; filter: saturate(0.7); }
.hero-visual.playing .hv-piece.is-on { opacity: 1; filter: none; scale: 1.06; z-index: 4; }

/* Caption under the picture */
.hv-caption { position: absolute; left: 0; right: 0; bottom: 0; min-height: 56px; display: flex; align-items: flex-start; justify-content: center; gap: 14px; }
.hv-num { font-family: var(--font-condensed); font-size: 40px; line-height: 0.9; color: var(--red); min-width: 22px; }
.hv-text { max-width: 330px; font-size: 14px; line-height: 1.45; color: var(--muted); transition: opacity 0.3s ease, translate 0.3s ease; }
.hv-text b { color: var(--text); font-weight: 600; }
.hv-caption.swap .hv-text, .hv-caption.swap .hv-num { opacity: 0; translate: 0 6px; }
.hv-num { transition: opacity 0.3s ease, translate 0.3s ease; }

/* Service labels under the buttons pick a step */
.hero-points button { all: unset; cursor: pointer; padding: 2px 0; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.hero-points button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.hero-points button.is-on { color: var(--text); border-bottom-color: var(--red); }
@media (hover: hover) { .hero-points button:hover { color: var(--text); } }

@media (prefers-reduced-motion: reduce) { .hero-visual.playing .hv-piece.is-on { scale: 1; } }

@media (max-width: 880px) {
  .hero-visual { height: 520px; }
}
@media (max-width: 640px) {
  .hero-visual { height: 470px; margin-top: 14px; }
  .hv-art { inset: 0 0 70px 0; }

  .step-tag { font-size: 10px; top: -21px; }
  .step-tag b { width: 16px; height: 16px; font-size: 9px; }
  .hv-caption { justify-content: flex-start; gap: 12px; }
  .hv-num { font-size: 36px; }
  .hv-text { font-size: 13px; max-width: none; }
}

/* ---------- Why us: no boxes, points sit straight on the page ---------- */
.why-grid { gap: 0 40px; }
.why-grid::before { display: none; }
.why-item {
  --y: 0px; background: none; border: 0; border-top: 1px solid rgba(35, 80, 216, 0.18); border-radius: 0;
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 18px 0 22px; gap: 6px;
}
.why-item:nth-child(even) { --y: 0px; }
.why-item h3 { font-size: 17px; }
.anim .why-grid.is-in:not(.done) .why-item { animation-name: whyNudge; }
@media (hover: hover) { .why-item:hover { transform: translateX(6px); box-shadow: none; } }
@media (max-width: 640px) {
  .why-item { border-top: 0; border-bottom: 1px solid rgba(35, 80, 216, 0.14); padding: 14px 0; }
  .why-item h3 { font-size: 15px; }
}

/* ---------- Buttons in the red editorial look: sharp corners, spaced capitals ---------- */
.btn {
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; font-weight: 700;
}
.btn-small { font-size: 11.5px; letter-spacing: 0.12em; }
.btn-primary, .site-header .btn-light {
  background: var(--red); color: #FFFFFF; border-color: var(--red);
  box-shadow: 0 12px 24px -14px rgba(26, 59, 168, 0.7);
}
.btn-primary:hover, .site-header .btn-light:hover { background: var(--red-deep); border-color: var(--red-deep); }
@media (hover: hover) {
  .btn-primary:hover, .site-header .btn-light:hover { box-shadow: 0 18px 30px -14px rgba(26, 59, 168, 0.75); }
}
a.btn-primary::after { content: "\2192"; font-size: 1.15em; letter-spacing: 0; line-height: 1; transition: translate 0.25s ease; }
@media (hover: hover) { a.btn-primary:hover::after { translate: 4px 0; } }
.btn-ghost, .hero .btn-ghost, .btn-ghost-dark, .hero .actions .btn-ghost {
  background: transparent; color: var(--text); border: 1.5px solid var(--text);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.btn-ghost:hover, .hero .btn-ghost:hover, .btn-ghost-dark:hover { background: var(--text); color: #FFFFFF; border-color: var(--text); }
.btn-outline { border-radius: 4px; }
.action-bar .btn-ghost-dark { background: #FFFFFF; }
@media (max-width: 640px) {
  .hero .actions .btn { font-size: 11.5px; letter-spacing: 0.06em; padding: 12px 12px; gap: 6px; }
  .hero .actions .btn-primary { min-width: 0; }
}

/* ---------- What you get pictures: more useful content, red and cream colours ---------- */
.logo-tile { gap: 4px; }
.logo-tile path { fill: var(--red); stroke: var(--red); }
.type-name { font-family: var(--font-script); font-style: italic; font-weight: 400; font-size: 19px; color: var(--text); line-height: 1; }
.logo-note { font-family: var(--font-body); font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.vb-side { gap: 6px; }
.swatches i { width: 22px; height: 26px; border-radius: 4px; }
.swatches i:nth-child(1) { background: var(--red); }
.swatches i:nth-child(2) { background: #C9D7FA; }
.swatches i:nth-child(3) { background: var(--ink); }
.swatches i:nth-child(4) { background: #F8F2EA; box-shadow: inset 0 0 0 1px rgba(20, 30, 70, 0.15); }
.swatch-names, .voice { font-size: 10px; color: var(--muted); line-height: 1.2; }
.voice b { color: var(--red-deep); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-right: 4px; }
.type-sample { flex-direction: row; align-items: baseline; gap: 8px; font-size: 30px; }
.type-sample span { font-family: var(--font-condensed); font-weight: 400; }
.type-sample small { font-size: 10px; }
.anim .offer.is-in .swatch-names { transition: opacity 0.4s ease calc(var(--c) + 1.3s); }
.anim .offer.is-in .voice { transition: opacity 0.4s ease calc(var(--c) + 2s), transform 0.4s ease calc(var(--c) + 2s); }
.anim .offer:not(.is-in) .swatch-names { opacity: 0; transition: none; }
.anim .offer:not(.is-in) .voice { opacity: 0; transform: translateY(6px); transition: none; }

.browser-bar { padding: 6px 10px; }
.browser-body { grid-template-columns: 74px 1fr; padding: 10px 12px 8px; gap: 12px; }
.product-img { background: linear-gradient(150deg, #9DB5F2, #EAF0FD); }
.product-info { gap: 5px; }
.pname { font-size: 11px; font-weight: 600; color: var(--text); }
.product-info .price { font-size: 17px; }
.product-info .price s { font-family: var(--font-body); font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.product-info .buy, .browser-bar .cart { background: var(--red); }
.pay-row { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 12px 10px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-deep); }
.anim .offer.is-in .pname { transition: opacity 0.3s ease calc(var(--c) + 1.05s), transform 0.4s ease calc(var(--c) + 1.05s); }
.anim .offer.is-in .pay-row span { transition: opacity 0.3s ease calc(var(--c) + 1.9s + var(--n) * 0.12s); }
.pay-row span:nth-child(1) { --n: 0; } .pay-row span:nth-child(2) { --n: 1; } .pay-row span:nth-child(3) { --n: 2; } .pay-row span:nth-child(4) { --n: 3; }
.anim .offer:not(.is-in) .pname { opacity: 0; transform: translateX(-10px); transition: none; }
.anim .offer:not(.is-in) .pay-row span { opacity: 0; transition: none; }

.mini-ad .ad-avatar { background: linear-gradient(135deg, var(--red), #C9D7FA); }
.mini-ad-media { background: linear-gradient(150deg, #6E8FF0, #C9D7FA); }
.mini-ad .ad-cta { background: var(--red); color: #FFFFFF; }
.ad-stats { gap: 6px; }
.aud { display: flex; flex-direction: column; line-height: 1.2; padding-bottom: 4px; border-bottom: 1px solid rgba(35, 80, 216, 0.15); }
.aud small { font-size: 10px; color: var(--muted); }
.aud b { font-size: 11px; color: var(--text); }
.stat i { background: var(--red); }
.anim .offer.is-in .aud { transition: opacity 0.4s ease calc(var(--c) + 0.5s); }
.anim .offer:not(.is-in) .aud { opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) { .anim .offer:not(.is-in) .swatch-names, .anim .offer:not(.is-in) .voice, .anim .offer:not(.is-in) .pname, .anim .offer:not(.is-in) .pay-row span, .anim .offer:not(.is-in) .aud { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .browser-body { grid-template-columns: 62px 1fr; }
  .type-sample { font-size: 26px; }
  .offer-visual { height: 222px; }
}

/* ---------- Logo in the editorial theme: condensed capitals with an italic serif Plus ---------- */
.brand .brand-name { font-family: var(--font-condensed); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; font-size: 23px; line-height: 1; color: var(--text); }
.brand .brand-plus { font-family: var(--font-script); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.18em; color: inherit; margin-left: 1px; }
.brand .brand-tag { font-family: var(--font-body); font-weight: 700; font-size: 9.5px; letter-spacing: 0.18em; color: var(--red); margin-top: 4px; }
.brand-small .brand-name { font-size: 21px; }
.brand-small .brand-tag { font-size: 9px; }

/* ---------- Section labels become real section titles: no brackets, big condensed red capitals ---------- */
.eyebrow::before, .eyebrow::after { content: none; }
.section .eyebrow {
  font-family: var(--font-condensed); font-weight: 400; font-size: clamp(34px, 3.6vw, 48px);
  line-height: 0.95; letter-spacing: 0.01em; color: var(--red); margin-bottom: 4px;
}
.section .heading { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.2; }
.section .heading .script { font-size: 1.15em; }
@media (max-width: 640px) {
  .section .eyebrow { font-size: 34px; margin-bottom: 2px; }
  .section .heading { font-size: 21px; }
}

/* ---------- Old periwinkle and violet colours replaced with the red, ink and cream theme ---------- */
:root {
  --blue: #2350D8;          /* accent text, links, focus: now red */
  --violet: #C9D7FA;        /* soft blush highlight */
  --violet-light: #DCE5FB;
  --violet-deep: #6E8FF0;
  --soft: #EEF3FD;
  --warm: #EAF0FD;
}

.ad-media { background: linear-gradient(150deg, #6E8FF0, #C9D7FA); }
.ad-media path { fill: #FFF1EC; }
.ad-avatar { background: linear-gradient(135deg, var(--red), #C9D7FA); }
.menu-toggle { color: var(--ink); }

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(35, 80, 216, 0.12); }
.field input, .field select, .field textarea { border-color: rgba(20, 30, 70, 0.16); }

/* How it works timeline: stage 1 in red, stage 2 in ink */
.stage span { color: var(--red); }
.g2 .stage span { color: var(--ink); }
.track-steps::before { background: var(--red); }
.g2 .track-steps::before { background: var(--ink); }
.node { color: var(--red); border-color: var(--red); background: #FFFDFA; font-family: var(--font-condensed); font-weight: 400; font-size: 17px; letter-spacing: 0.02em; }
.g1 li:first-child .node { background: var(--red); color: #FFFFFF; box-shadow: 0 0 0 6px rgba(35, 80, 216, 0.14); }
.g2 .node { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.g2 li:last-child .node { box-shadow: 0 0 0 6px rgba(22, 22, 26, 0.14); }
@media (max-width: 880px) {
  .track-steps::before { background: var(--red); }
  .g2 .track-steps::before { background: var(--ink); }
}

/* ---------- Hero label: bigger, in the same condensed red as the section titles ---------- */
.hero-copy .eyebrow {
  font-family: var(--font-condensed); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1; letter-spacing: 0.02em; color: var(--red); gap: 12px; margin-bottom: 2px;
}
.hero-copy .eyebrow .scribble { left: -10px; top: -9px; width: calc(100% + 20px); height: calc(100% + 18px); }
.hero-copy .eyebrow .scribble path { stroke-width: 2.6; }
@media (max-width: 640px) { .hero-copy .eyebrow { font-size: 22px; gap: 9px; } }
.hero-copy .eyebrow .circled { margin: 0 6px; }
.hero-copy .eyebrow .scribble { left: -13px; top: -10px; width: calc(100% + 26px); height: calc(100% + 20px); }
@media (max-width: 640px) { .hero-copy .eyebrow .circled { margin: 0 4px; } .hero-copy .eyebrow { gap: 7px; } }
.hero-copy .eyebrow .circled { margin: 0 0.22em; }
.hero-copy .eyebrow .scribble { left: -0.5em; top: -0.38em; width: calc(100% + 1em); height: calc(100% + 0.76em); }

/* ---------- Stock photos (Unsplash) ---------- */
/* Hero: founder photo, faded and blended into the cream page behind the headline */
.hero-photo {
  position: absolute; inset: 0 auto 0 0; width: 62%; z-index: 0; pointer-events: none;
  background: url("../img/photos/hero-office.jpg") 45% center / cover no-repeat;
  opacity: 0.16; filter: saturate(0.75) sepia(0.15);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 95%);
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 95%);
}

/* What you get: the real photo fills the polaroid, the details float on top */
.v-stage.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.v-stage.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 250, 255, 0.25), rgba(15, 25, 60, 0.18)); pointer-events: none; }
.v-stage.has-photo > * { position: relative; }
.v-brand .vb-side, .v-ads .ad-stats { background: rgba(255, 253, 250, 0.94); padding: 8px 10px; border-radius: 6px; box-shadow: 0 10px 22px -14px rgba(15, 25, 60, 0.5); }

/* Polaroids */
.polaroid { margin: 0; background: #FFFFFF; padding: 8px 8px 0; box-shadow: 0 18px 34px -20px rgba(20, 30, 70, 0.45), 0 1px 3px rgba(20, 30, 70, 0.1); transition: rotate 0.35s ease, translate 0.35s ease; }
.polaroid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.polaroid figcaption { font-family: var(--font-script); font-style: italic; font-size: 17px; color: var(--text); text-align: center; padding: 8px 4px 10px; line-height: 1; }
@media (hover: hover) { .polaroid:hover { rotate: 0deg; translate: 0 -6px; z-index: 2; } }
.polaroids { display: flex; margin-top: 18px; padding: 6px 0 4px; }
.polaroids .polaroid { width: 34%; position: relative; }
.polaroids .polaroid:nth-child(1) { rotate: -5deg; }
.polaroids .polaroid:nth-child(2) { rotate: 3deg; margin-left: -4%; translate: 0 10px; z-index: 1; }
.polaroids .polaroid:nth-child(3) { rotate: -2deg; margin-left: -4%; }
.polaroid-call { width: 230px; rotate: -3deg; margin-top: 10px; align-self: flex-start; }
.polaroid-call img { aspect-ratio: 7 / 8; }

@media (max-width: 880px) {
  .hero-photo { width: 100%; height: 520px; inset: 0 0 auto 0; opacity: 0.13; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); }
  .polaroid-call { width: 190px; margin-left: auto; margin-right: auto; align-self: center; }
}
@media (max-width: 640px) {
  .polaroids { margin-top: 14px; }
  .polaroid figcaption { font-size: 14px; padding: 6px 2px 8px; }
  .polaroid-call { width: 170px; }
}
@media (max-width: 640px) { .offer-visual { height: 234px; } }

/* ---------- More breathing room between the header and the hero ---------- */
.hero { padding-top: 72px; }
.hero-visual { margin-top: 12px; }
@media (max-width: 880px) { .hero { padding-top: 44px; } .hero-visual { margin-top: 18px; } }
@media (max-width: 640px) { .hero { padding-top: 36px; } }

/* ---------- Menu links in the editorial style ---------- */
.site-nav a:not(.btn) { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left center; transition: transform 0.25s ease; }
.site-nav a:not(.btn):hover { color: var(--red); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 880px) { .site-nav a:not(.btn)::after { display: none; } }

/* ---------- Less red: red stays for buttons, italic accent words, hand drawn marks and the hero step tags ---------- */
.section .eyebrow, .hero-copy .eyebrow { color: var(--text); }
.hero-points { color: var(--muted); }
.hero-points button.is-on { color: var(--text); }
.teams li { color: var(--text); }
.footer-col h3 { color: var(--text); }
.offer-num { color: var(--muted); }
.v-steps { color: var(--muted); }
.pay-row { color: var(--muted); }
.voice b { color: var(--text); }
.stage span { color: var(--muted); }
.g2 .stage span { color: var(--muted); }
.why-item { border-top-color: rgba(22, 22, 26, 0.12); }
@media (max-width: 640px) { .why-item { border-bottom-color: rgba(22, 22, 26, 0.1); } }
/* Softer pink wash behind the hero */
.hero-blur { opacity: 0.06; }
.hero::before { background: radial-gradient(closest-side, rgba(35, 80, 216, 0.05), transparent); }
body {
  background:
    radial-gradient(800px 600px at 0% 60%, rgba(90, 96, 220, 0.03), transparent 70%),
    linear-gradient(180deg, #FFFDFA 0%, #FBF8F3 50%, #F8F4EE 100%);
}

.hero-blur { opacity: 0.035; }

/* ---------- Services ticker (moves sideways, no colour band) ---------- */
.ticker { overflow: hidden; border-top: 1px solid rgba(22, 22, 26, 0.1); border-bottom: 1px solid rgba(22, 22, 26, 0.1); padding: 14px 0; margin-top: 8px; }
.ticker-track { display: flex; align-items: baseline; gap: 22px; width: max-content; animation: tickerMove 32s linear infinite; }
.ticker span { font-family: var(--font-condensed); font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; letter-spacing: 0.01em; color: var(--text); white-space: nowrap; line-height: 1; }
.ticker em { font-family: var(--font-script); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); color: var(--red); white-space: nowrap; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) { .ticker:hover .ticker-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Who we build for ---------- */
.industry-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.industry-list li { border-top: 1px solid rgba(22, 22, 26, 0.12); padding: 20px 0 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px; transition: transform 0.3s ease; }
.ind-num { grid-row: span 2; font-family: var(--font-condensed); font-size: 22px; color: var(--red); line-height: 1.1; }
.industry-list h3 { font-family: var(--font-condensed); font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; }
.industry-list p { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (hover: hover) { .industry-list li:hover { transform: translateX(6px); } .industry-list li:hover h3 { color: var(--red); } }

/* ---------- Our teams ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.team { border-top: 2px solid var(--text); padding: 18px 0 8px; display: flex; flex-direction: column; gap: 10px; }
.team-num { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.team h3 { font-family: var(--font-condensed); font-weight: 400; font-size: 38px; text-transform: uppercase; line-height: 1; }
.team ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.team li { font-size: 14px; color: var(--muted); padding-left: 14px; position: relative; }
.team li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
@media (hover: hover) { .team:hover { border-top-color: var(--red); } .team:hover h3 { color: var(--red); } }
.team, .team h3 { transition: border-color 0.25s ease, color 0.25s ease; }

/* ---------- Questions ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { border-top: 1px solid rgba(22, 22, 26, 0.12); }
.faq { border-bottom: 1px solid rgba(22, 22, 26, 0.12); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat; transition: rotate 0.3s ease; }
.faq[open] summary::after { rotate: 45deg; }
.faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.faq p { color: var(--muted); font-size: 15px; line-height: 1.6; padding: 0 32px 18px 0; }
@media (hover: hover) { .faq summary:hover { color: var(--red); } }

/* Reveal: items rise in one after another each time the section comes into view */
.anim .reveal .industry-list li, .anim .reveal .team, .anim .reveal .faq { transition: opacity 0.5s ease calc(var(--i, 0) * 0.08s), transform 0.5s ease calc(var(--i, 0) * 0.08s); }
.anim .reveal:not(.is-in) .industry-list li, .anim .reveal:not(.is-in) .team, .anim .reveal:not(.is-in) .faq { opacity: 0; transform: translateY(18px); transition: none; }
.faq:nth-child(1) { --i: 0; } .faq:nth-child(2) { --i: 1; } .faq:nth-child(3) { --i: 2; } .faq:nth-child(4) { --i: 3; } .faq:nth-child(5) { --i: 4; } .faq:nth-child(6) { --i: 5; }
@media (prefers-reduced-motion: reduce) { .anim .reveal:not(.is-in) .industry-list li, .anim .reveal:not(.is-in) .team, .anim .reveal:not(.is-in) .faq { opacity: 1; transform: none; } }

@media (max-width: 880px) {
  .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .ticker { padding: 10px 0; }
  .industry-list { grid-template-columns: 1fr; }
  .industry-list li { padding: 14px 0 16px; }
  .industry-list h3 { font-size: 22px; }
  .industry-list p { font-size: 13px; }
  .team-grid { gap: 22px 18px; }
  .team h3 { font-size: 30px; }
  .team li { font-size: 13px; }
  .faq summary { font-size: 15px; padding: 15px 0; }
  .faq p { font-size: 14px; padding-right: 8px; }
}
.ticker em { font-size: clamp(28px, 3.2vw, 44px); line-height: 1; }

/* ---------- Even spacing: hero, ticker and the next section ---------- */
.hero { padding-bottom: 56px; }
.ticker { margin-top: 0; }
.ticker + .section { padding-top: 64px; }
/* Section titles: the line under the title sits close to it, the side text lines up with that line */
.section-head.split { align-items: start; row-gap: 8px; }
.section-head.split .sub { padding-bottom: 0; padding-top: 4px; }
.section-head { margin-bottom: 36px; }
/* Hero photo fades out at the bottom too, so there is no hard edge above the ticker */
.hero-photo {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 95%), linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 95%), linear-gradient(180deg, #000 55%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 880px) {
  .hero-photo { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 40px; }
  .ticker + .section { padding-top: 44px; }
  .section-head { margin-bottom: 24px; }
}


/* ---------- Instagram icon in the current Instagram colours (yellow, orange, pink, magenta, purple) ---------- */
.footer-social { width: 32px; height: 32px; border-radius: 9px; background: radial-gradient(circle at 25% 110%, #FFD600 0%, #FF7A00 22%, #FF0069 48%, #D300C5 72%, #7638FA 100%); }
.footer-social svg { width: 19px; height: 19px; stroke-width: 1.9; }

/* ---------- Fresh white page instead of cream ---------- */
body { background: #FFFFFF; }
.site-header { background: rgba(255, 255, 255, 0.85); }
.node { background: #FFFFFF; }
.site-footer { background: #FAFAFA; }
.hero-photo { filter: saturate(0.85); }



/* ---------- Logo: one bold condensed wordmark with a red full stop ---------- */
.brand .brand-name { font-family: var(--font-condensed); font-size: 25px; letter-spacing: 0.015em; color: var(--text); white-space: nowrap; }
.brand .brand-plus { font-family: inherit; font-style: normal; font-size: 1em; letter-spacing: inherit; text-transform: uppercase; margin-left: 0; }
.brand .brand-name::after { content: "."; color: var(--red); margin-left: 1px; }
.brand .brand-tag { color: var(--muted); font-weight: 600; letter-spacing: 0.2em; font-size: 9px; margin-top: 5px; }
.brand-small .brand-name { font-size: 23px; }
@media (max-width: 640px) { .brand .brand-name { font-size: 23px; } }

/* Logo: wider letter spacing */
.brand .brand-name { letter-spacing: 0.07em; word-spacing: 0.06em; }
.brand .brand-name::after { margin-left: -0.04em; }

/* Logo: no full stop */
.brand .brand-name::after { content: none; }

/* Logo: lighter condensed font (Oswald 500) instead of the heavy Anton */
.brand .brand-name { font-family: "Oswald", var(--font-condensed); font-weight: 500; font-size: 23px; letter-spacing: 0.08em; }
.brand-small .brand-name { font-size: 21px; }
@media (max-width: 640px) { .brand .brand-name { font-size: 21px; } }

/* Logo: tighter letter spacing */
.brand .brand-name { letter-spacing: 0.03em; word-spacing: 0.02em; }

/* Hero label: lighter, same family as the logo */
.hero-copy .eyebrow { font-family: "Oswald", var(--font-condensed); font-weight: 400; letter-spacing: 0.06em; }
@media (max-width: 640px) { .hero-copy .eyebrow { font-size: 18px; letter-spacing: 0.03em; gap: 6px; white-space: nowrap; } }

/* Hero label: tighter letter spacing */
.hero-copy .eyebrow { letter-spacing: 0.01em; }
@media (max-width: 640px) { .hero-copy .eyebrow { letter-spacing: 0; } }

/* Hero headline: lighter Oswald with tight letter spacing (the italic word keeps its serif) */
.hero .display { font-family: "Oswald", var(--font-condensed); font-weight: 500; letter-spacing: -0.012em; line-height: 1.02; }
.hero .display .script { font-family: var(--font-script); letter-spacing: -0.01em; }
@media (max-width: 640px) { .hero .display { font-size: 37px; } }
@media (max-width: 360px) { .hero .display { font-size: 33px; } }

/* No extra gaps between letters in the Oswald text (logo, hero label, hero headline) */
.brand .brand-name { letter-spacing: 0; word-spacing: 0; }
.hero-copy .eyebrow { letter-spacing: -0.01em; }
.hero .display { letter-spacing: -0.03em; }
@media (max-width: 640px) { .hero-copy .eyebrow { letter-spacing: -0.01em; } }

/* Normal word spaces around the circled 1,000 (no flex gaps) and a tighter tagline */
.hero-copy .eyebrow { display: block; gap: 0; }
.hero-copy .eyebrow .circled { margin: 0 0.18em; }
.brand .brand-tag { letter-spacing: 0.08em; }
@media (max-width: 640px) { .hero-copy .eyebrow { gap: 0; } .hero-copy .eyebrow .circled { margin: 0 0.18em; } }
.hero .display { font-size: clamp(40px, 4.4vw, 60px); }
@media (max-width: 640px) { .hero .display { font-size: 37px; } }
@media (max-width: 360px) { .hero .display { font-size: 33px; } }

/* ---------- Second accent: warm amber to complement the blue (used on marks and small details, never on big blocks) ---------- */
:root { --amber: #F2A93B; --amber-deep: #C9770A; }
.scribble path, .underscribble path { stroke: var(--amber); }
.ticker em { color: var(--amber); }
.ind-num { color: var(--amber-deep); }
.team li::before { background: var(--amber); }
.faq summary::after { background: linear-gradient(var(--amber-deep), var(--amber-deep)) center / 14px 2px no-repeat, linear-gradient(var(--amber-deep), var(--amber-deep)) center / 2px 14px no-repeat; }
/* Timeline: stage 1 blue, stage 2 amber */
.g2 .stage span { color: var(--amber-deep); }
.g2 .track-steps::before { background: var(--amber); }
.g2 .node { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.g2 li:last-child .node { box-shadow: 0 0 0 6px rgba(242, 169, 59, 0.22); }
@media (max-width: 880px) { .g2 .track-steps::before { background: var(--amber); } }
/* Brand board swatches include the amber */
.swatches i:nth-child(2) { background: var(--amber); }
.v-brand .v-stage { background-color: #FDF3E3; }
/* Polaroid captions get a small amber tick of colour */
.polaroid figcaption { color: var(--text); }
.polaroid:hover figcaption { color: var(--amber-deep); }

/* ---------- Second accent changed from amber to a fresh teal ---------- */
:root { --amber: #14B8A6; --amber-deep: #0B8174; }
.g2 .node { color: #FFFFFF; }
.g2 li:last-child .node { box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.2); }
.v-brand .v-stage { background-color: #E6F7F4; }

/* ---------- Hero background: the user's own portrait photo, a little more visible ---------- */
.hero-photo { background: url("../img/photos/hero-office.jpg") center 22% / cover no-repeat; opacity: 0.3; filter: saturate(0.9); width: 52%; }
@media (max-width: 880px) { .hero-photo { width: 100%; background-position: center 18%; opacity: 0.22; } }
.hero-photo { opacity: 0.4; }
@media (max-width: 880px) { .hero-photo { opacity: 0.3; } }

/* ---------- Second accent changed from teal to electric lime (user's pick to pair with cobalt) ---------- */
:root { --lime: #C8F04A; --lime-mid: #9BC21A; --lime-deep: #6F950C; --amber: var(--lime-mid); --amber-deep: var(--lime-deep); }
.scribble path, .underscribble path { stroke: var(--lime-mid); stroke-width: 3; }
.ticker em { color: var(--lime-mid); }
.team li::before { background: var(--lime-mid); }
.g2 .track-steps::before { background: var(--lime); }
.g2 .node { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.g2 li:last-child .node { box-shadow: 0 0 0 6px rgba(200, 240, 74, 0.3); }
@media (max-width: 880px) { .g2 .track-steps::before { background: var(--lime); } }
.swatches i:nth-child(2) { background: var(--lime); }
.v-brand .v-stage { background-color: #F4FBE0; }

/* ---------- Hero background: bright agency studio (replaces the portrait) ---------- */
.hero-photo { background: url("../img/photos/hero-office.jpg") center center / cover no-repeat; opacity: 0.3; filter: saturate(0.8); width: 62%; }
@media (max-width: 880px) { .hero-photo { width: 100%; background-position: center 30%; opacity: 0.22; } }
.hero-photo { background-position: center 12%; }
@media (max-width: 880px) { .hero-photo { background-position: center 10%; } }
.hero-photo { background-position: 92% center; opacity: 0.26; }

/* Ticker removed: the hero flows straight into What you get */
.hero + .section { padding-top: 24px; }
@media (max-width: 640px) { .hero + .section { padding-top: 12px; } }

/* ---------- Second accent changed from lime to sky blue (all blue look with cobalt) ---------- */
:root { --sky: #8EC5FF; --sky-mid: #4FA3F7; --sky-deep: #1E7BD6; --lime: var(--sky); --lime-mid: var(--sky-mid); --lime-deep: var(--sky-deep); --amber: var(--sky-mid); --amber-deep: var(--sky-deep); }
.scribble path, .underscribble path { stroke: var(--sky-mid); }
.ind-num { color: var(--sky-deep); }
.g2 .stage span { color: var(--sky-deep); }
.g2 .track-steps::before { background: var(--sky); }
.g2 .node { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.g2 li:last-child .node { box-shadow: 0 0 0 6px rgba(142, 197, 255, 0.35); }
@media (max-width: 880px) { .g2 .track-steps::before { background: var(--sky); } }
.swatches i:nth-child(2) { background: var(--sky); }
.v-brand .v-stage { background-color: #EAF4FF; }

/* ---------- Second accent changed from sky blue to yellow ---------- */
:root { --yellow: #FFD23F; --yellow-mid: #F5B800; --yellow-deep: #A67C00; --sky: var(--yellow); --sky-mid: var(--yellow-mid); --sky-deep: var(--yellow-deep); --lime: var(--yellow); --lime-mid: var(--yellow-mid); --lime-deep: var(--yellow-deep); --amber: var(--yellow-mid); --amber-deep: var(--yellow-deep); }
.g2 li:last-child .node { box-shadow: 0 0 0 6px rgba(255, 210, 63, 0.35); }
.v-brand .v-stage { background-color: #FFF8E0; }

/* Industry numbers: cobalt instead of the muddy deep gold; yellow stays on shapes only */
.ind-num { color: var(--red); }
.g2 .stage span { color: var(--text); }

/* Industry numbers: same bright yellow as the timeline circles */
.ind-num { color: #FFD23F; }

/* Industry numbers: yellow circles with dark numbers, like the timeline, so they read clearly */
.ind-num { width: 36px; height: 36px; border-radius: 50%; background: #FFD23F; color: var(--ink); display: grid; place-items: center; font-size: 16px; line-height: 1; align-self: start; margin-top: 1px; }
@media (max-width: 640px) { .ind-num { width: 32px; height: 32px; font-size: 14px; } }

/* Industry numbers: same round yellow nodes as the timeline, with a soft ring around each */
.ind-num { width: 40px; height: 40px; font-family: var(--font-condensed); font-size: 17px; letter-spacing: 0.02em; box-shadow: 0 0 0 6px rgba(255, 210, 63, 0.3); margin: 4px 6px 0 4px; }
@media (max-width: 640px) { .ind-num { width: 34px; height: 34px; font-size: 15px; box-shadow: 0 0 0 5px rgba(255, 210, 63, 0.3); } }

/* Industry numbers: plain numbers again (no circles), in a richer golden yellow that still reads on white */
.ind-num { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; display: block; margin: 0; font-family: var(--font-condensed); font-size: 26px; line-height: 1; letter-spacing: 0.01em; color: #EBA900; align-self: start; }
@media (max-width: 640px) { .ind-num { width: auto; height: auto; box-shadow: none; font-size: 23px; } }

/* Who we build for: lighter titles and numbers (Oswald instead of heavy Anton) */
.industry-list h3 { font-family: "Oswald", var(--font-condensed); font-weight: 500; letter-spacing: 0; font-size: 24px; }
.ind-num { font-family: "Oswald", var(--font-condensed); font-weight: 500; font-size: 24px; }
@media (max-width: 640px) { .industry-list h3 { font-size: 21px; } .ind-num { font-size: 21px; } }

/* Industry numbers: yellow halfway between #FFD23F and #EBA900 */
.ind-num { color: #F5BE20; }
.ind-num { color: #F2B714; }

/* Italic accent words in emerald green for contrast with the cobalt buttons */
:root { --emerald: #0E9F6E; }
.script, .hero .display .script, .heading .script { color: var(--emerald); }

/* Italic accent words: sage green instead of emerald */
:root { --emerald: #6E9473; }
:root { --emerald: #4F7356; }
:root { --emerald: #5FA37A; }

/* Italic accent words: deep turquoise */
:root { --emerald: #0B8A8F; }

/* ---------- Hover colour on text: the turquoise contrast colour instead of cobalt (buttons keep their own hover) ---------- */
@media (hover: hover) {
  .site-nav a:not(.btn):hover { color: var(--emerald); }
  .industry-list li:hover h3 { color: var(--emerald); }
  .team:hover h3 { color: var(--emerald); }
  .team:hover { border-top-color: var(--emerald); }
  .faq summary:hover { color: var(--emerald); }
  .why-item:hover h3 { color: var(--emerald); }
  .hero-points button:hover { color: var(--emerald); }
  .site-footer a:hover { color: var(--emerald); }
  .polaroid:hover figcaption { color: var(--emerald); }
}
.site-nav a:not(.btn)::after { background: var(--emerald); }

/* Hero word "customers." only: darker turquoise */
.hero .display .script { color: #076A6E; }

/* All contrast colour uses: the darker turquoise, same as "customers." */
:root { --emerald: #076A6E; }

/* ---------- Pictures and animations use the turquoise contrast colour, not cobalt (buttons and links stay cobalt) ---------- */
:root { --tq: #076A6E; --tq-mid: #2C9A9C; --tq-soft: #BFE3E2; --tq-pale: #E6F4F3; }
/* Hero picture: step tags, lit outline, caption number, active service label */
.step-tag { color: var(--tq); }
.step-tag b { background: var(--tq); }

.hv-num { color: var(--tq); }
.hero-points button.is-on { border-bottom-color: var(--tq); }
/* What you get pictures */
.v-steps::before { background: rgba(7, 106, 110, 0.16); }
.v-steps::after { background: var(--tq); }
.logo-tile path { fill: var(--tq); stroke: var(--tq); }
.swatches i:nth-child(1) { background: var(--tq); }
.product-info .buy, .browser-bar .cart { background: var(--tq); }
.product-img { background: linear-gradient(150deg, var(--tq-soft), var(--tq-pale)); }
.v-store .v-stage { background-color: var(--tq-pale); }
.v-ads .v-stage { background: linear-gradient(150deg, #DDEFEE, var(--tq-pale)); }
.mini-ad .ad-avatar { background: linear-gradient(135deg, var(--tq), var(--tq-soft)); }
.mini-ad-media { background: linear-gradient(150deg, var(--tq-mid), var(--tq-soft)); }
.mini-ad .ad-cta { background: var(--tq); color: #FFFFFF; }
.stat i { background: var(--tq); }
.offer-dots i { background: rgba(7, 106, 110, 0.22); }
.offer-dots i.on { background: var(--tq); }
/* How it works timeline: stage 1 in turquoise */
.stage span { color: var(--tq); }
.track-steps::before { background: var(--tq); }
.node { color: var(--tq); border-color: var(--tq); }
.g1 li:first-child .node { background: var(--tq); color: #FFFFFF; box-shadow: 0 0 0 6px rgba(7, 106, 110, 0.15); }
@media (max-width: 880px) { .track-steps::before { background: var(--tq); } }
.hero-blur { color: var(--tq); }

/* How it works timeline stage 1 back to cobalt (user's choice) */
.g1 .stage span { color: var(--red); }
.g1 .track-steps::before { background: var(--red); }
.g1 .node { color: var(--red); border-color: var(--red); }
.g1 li:first-child .node { background: var(--red); color: #FFFFFF; box-shadow: 0 0 0 6px rgba(35, 80, 216, 0.14); }
@media (max-width: 880px) { .g1 .track-steps::before { background: var(--red); } }

/* Consent line turns dark once ticked */
.check label { transition: color 0.2s ease; }
.check:has(input:checked) label { color: var(--text); font-weight: 500; }

/* ---------- Hero picture: our work for a sample client (brand, website, ad, result). Colours --c1 to --c4 are set in main.js ---------- */
.hw { --c1: #8A4B1F; --c2: #D8B58C; --c3: #33241A; --c4: #F5EFE6; --hw-font: var(--font-script); position: relative; height: 100%; max-width: 520px; margin: 0 auto; color: var(--c3); }
.hw[data-font="display"] { --hw-font: var(--font-display); }
.hw[data-font="condensed"] { --hw-font: 'Oswald', var(--font-condensed); }
.hw-card { position: absolute; background: #FFFFFF; border-radius: 14px; box-shadow: 0 0 0 1px rgba(22, 22, 26, 0.06), 0 18px 40px -20px rgba(20, 26, 61, 0.35); }
.hw-mark { fill: var(--c1); flex: none; }
.hw-name { font-family: var(--hw-font); font-weight: 600; line-height: 1.1; white-space: nowrap; }
.hw-btn { display: inline-block; background: var(--c1); color: #FFFFFF; font-family: var(--font-body); font-weight: 600; white-space: nowrap; border-radius: 4px; }
.hw-photo { position: relative; overflow: hidden; background: var(--c4); }
.hw-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Brand board */
.hw-brand { left: 0; top: 24px; width: 236px; padding: 10px; display: flex; gap: 12px; align-items: center; transform: rotate(-3deg); z-index: 2; }
.hw-logo { position: relative; width: 88px; height: 88px; flex: none; border-radius: 8px; background: var(--c4); display: grid; place-items: center; }
.hw-logo .hw-mark { position: relative; width: 48px; height: 48px; }
.hw-guides { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--c1); stroke-width: 0.6; stroke-dasharray: 2 2; opacity: 0.5; }
.hw-board { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hw-board .hw-name { font-size: 20px; }
.hw-colours { display: flex; gap: 4px; }
.hw-colours i { width: 24px; height: 18px; border-radius: 4px; background: var(--c1); }
.hw-colours i:nth-child(2) { background: var(--c2); }
.hw-colours i:nth-child(3) { background: var(--c3); }
.hw-colours i:nth-child(4) { background: var(--c4); box-shadow: inset 0 0 0 1px rgba(22, 22, 26, 0.12); }
.hw-type { display: flex; align-items: baseline; gap: 7px; }
.hw-type span { font-family: var(--hw-font); font-size: 22px; line-height: 1; }
.hw-type small { font-size: 10px; line-height: 1.25; color: var(--muted); }

/* Website: desktop window and phone */
.hw-site { position: absolute; left: 14px; right: 0; top: 128px; height: 228px; z-index: 1; }
.hw-site > .step-tag { left: auto; right: 8px; top: -62px; }
.hw-kinds { position: absolute; right: 0; top: -36px; display: flex; gap: 4px; font-size: 10px; font-weight: 600; }
.hw-kinds span { padding: 4px 8px; border-radius: 999px; color: var(--muted); background: #FFFFFF; box-shadow: 0 0 0 1px rgba(22, 22, 26, 0.1); transition: background 0.3s ease, color 0.3s ease; white-space: nowrap; }
.hw-kinds span.is-on { background: var(--tq); color: #FFFFFF; box-shadow: none; }
.hw-window { position: absolute; inset: 0; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(22, 22, 26, 0.08), 0 30px 60px -28px rgba(20, 26, 61, 0.45); display: flex; flex-direction: column; overflow: hidden; }
.hw-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #F1F2F6; flex: none; }
.hw-bar i { width: 7px; height: 7px; border-radius: 50%; background: #CDD0DC; }
.hw-url { margin-left: auto; width: 46%; padding: 1px 10px; border-radius: 999px; background: #FFFFFF; font-size: 10px; color: var(--muted); }
.hw-page { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #FFFFFF; transition: opacity 0.28s ease; }
.hw-nav { display: flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px; }
.hw-nav .hw-mark { width: 15px; height: 15px; }
.hw-links { margin-left: auto; font-size: 9.5px; color: var(--c3); opacity: 0.75; white-space: nowrap; }
.hw-hero { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--c4); }
.hw-hero .hw-photo { order: 2; }
.hw-hero .hw-copy { order: 1; padding: 0 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.hw-head { font-family: var(--hw-font); font-size: 23px; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.hw[data-font="display"] .hw-head { font-size: 19px; font-weight: 700; }
.hw[data-font="condensed"] .hw-head { font-size: 20px; line-height: 1.15; }
.hw-copy .hw-btn { font-size: 10px; padding: 5px 11px; }
.hw-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 14px 10px; }
.hw-tiles i { height: 30px; border-radius: 4px; background: var(--c4); }
.hw-tiles i:nth-child(2) { background: var(--c2); opacity: 0.6; }
/* Business site: photo across the page with the words on it */
.hw[data-kind="business"] .hw-site .hw-hero { display: block; }
.hw[data-kind="business"] .hw-hero .hw-photo { position: absolute; inset: 0; }
.hw[data-kind="business"] .hw-hero .hw-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c1) 8%, transparent 85%); opacity: 0.92; }
.hw[data-kind="business"] .hw-hero .hw-copy { position: relative; height: 100%; width: 58%; color: #FFFFFF; }
.hw[data-kind="business"] .hw-hero .hw-btn { background: #FFFFFF; color: var(--c1); }
/* Portfolio: gallery first, words beside it */
.hw[data-kind="portfolio"] .hw-hero { grid-template-columns: 1.15fr 1fr; background: #FFFFFF; }
.hw[data-kind="portfolio"] .hw-hero .hw-photo { order: 1; margin-left: 14px; border-radius: 4px; }
.hw[data-kind="portfolio"] .hw-hero .hw-copy { order: 2; padding-right: 10px; justify-content: flex-start; padding-top: 8px; }
.hw[data-kind="portfolio"] .hw-copy .hw-head { font-size: 19px; }
.hw[data-kind="portfolio"] .hw-tiles i:nth-child(1) { background: var(--c2); }
.hw[data-kind="portfolio"] .hw-tiles i:nth-child(3) { background: var(--c1); opacity: 0.8; }

.hw-phone { position: absolute; right: -8px; top: 98px; width: 100px; height: 204px; border-radius: 18px; background: #16161A; padding: 5px; box-shadow: 0 20px 40px -16px rgba(20, 26, 61, 0.5); display: flex; }
.hw-phone .hw-page { border-radius: 13px; overflow: hidden; padding-bottom: 8px; }
.hw-phone .hw-nav { padding: 8px 8px 6px; font-size: 11px; gap: 4px; }
.hw-phone .hw-nav .hw-mark { width: 11px; height: 11px; }
.hw-phone .hw-photo { flex: 1; min-height: 0; }
.hw .hw-phone .hw-head { font-size: 14px; padding: 7px 8px 6px; }
.hw-phone .hw-btn { margin: 0 8px; font-size: 9px; padding: 4px 0; text-align: center; }

/* Designer's selection box and cursor, shown while the website step is on */
.hw-select { position: absolute; left: 8px; top: 72px; width: 47%; height: 96px; border: 1.5px solid var(--red); opacity: 0; transition: opacity 0.3s ease 0.2s; }
.hw-select i { position: absolute; width: 6px; height: 6px; background: #FFFFFF; border: 1.5px solid var(--red); left: -4px; top: -4px; }
.hw-select i:nth-child(2) { left: auto; right: -4px; }
.hw-select i:nth-child(3) { top: auto; bottom: -4px; }
.hw-select i:nth-child(4) { left: auto; right: -4px; top: auto; bottom: -4px; }
.hw[data-kind="portfolio"] .hw-select { left: 9px; top: 52px; width: 52%; height: 124px; }
.hw-cursor { position: absolute; left: 46%; top: 160px; opacity: 0; translate: 46px 34px; transition: opacity 0.3s ease, translate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hw-cursor svg { width: 14px; height: 14px; fill: var(--red); stroke: #FFFFFF; stroke-width: 1.2; }
.hw-cursor em { display: block; margin: -1px 0 0 11px; padding: 2px 7px; border-radius: 4px; background: var(--red); color: #FFFFFF; font-style: normal; font-size: 9.5px; font-weight: 600; white-space: nowrap; }
.hw-site.is-on .hw-select { opacity: 1; }
.hw-site.is-on .hw-cursor { opacity: 1; translate: 0 0; }

/* Ad and result */
.hw-ad { left: 0; top: 390px; width: 200px; padding: 8px; display: flex; gap: 10px; z-index: 2; }
.hw-ad .hw-photo { width: 70px; height: 70px; border-radius: 8px; flex: none; }
.hw-adtext { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.hw-adtext .hw-name { font-size: 15px; }
.hw-adtext small { font-size: 10px; color: var(--muted); }
.hw-adtext .hw-btn { margin-top: auto; font-size: 10px; padding: 5px 10px; }
.hw-sale { left: 216px; top: 390px; padding: 10px 14px 10px 10px; display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.25; z-index: 2; }
.hw-sale-title, .hw-sale-note { display: block; white-space: nowrap; color: var(--text); font-weight: 600; }
.hw-sale-note { font-size: 10.5px; font-weight: 400; color: var(--muted); }
.hw-sale-icon { width: 30px; height: 30px; border-radius: 50%; background: #E3F5EA; display: grid; place-items: center; flex: none; }
.hw-sale-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--success); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* The step being explained lights up; the others stay solid and only lose colour, so nothing shows through */
.hero-visual.playing .hw .hv-piece { opacity: 1; filter: saturate(0.4) contrast(0.86) brightness(1.04); }
.hero-visual.playing .hw .hv-piece.is-on { filter: none; scale: 1.04; }
.hero-visual.playing .hw .hw-site.is-on { scale: 1.015; z-index: 1; }
.hero-visual.playing .hw-card.is-on { box-shadow: 0 0 0 2px var(--tq), 0 24px 50px -20px rgba(7, 106, 110, 0.4); }
.hero-visual.playing .hw-site.is-on .hw-window { box-shadow: 0 0 0 2px var(--tq), 0 30px 60px -24px rgba(7, 106, 110, 0.45); }
.hw-card > *:not(.step-tag) { transition: opacity 0.28s ease; }
.hw.is-swapping .hw-card > *:not(.step-tag), .hw.is-swapping .hw-page { opacity: 0; }

.hero-visual { height: 556px; }
.hw[data-font="display"] .hw-phone .hw-nav { font-size: 10px; padding-left: 6px; padding-right: 4px; }

/* Compact layout: phones, and the narrow two column width */
@media (max-width: 640px), (min-width: 881px) and (max-width: 1080px) {
  .hero-visual { height: 500px; }
  .hw-brand { width: 206px; top: 20px; padding: 8px; gap: 10px; }
  .hw-logo { width: 70px; height: 70px; }
  .hw-logo .hw-mark { width: 38px; height: 38px; }
  .hw-board { gap: 6px; }
  .hw-board .hw-name { font-size: 18px; }
  .hw-colours i { width: 22px; height: 15px; }
  .hw-site { left: 4px; right: 4px; top: 136px; height: 182px; }
  .hw-site > .step-tag { top: -48px; right: 0; }
  .hw-kinds { top: -25px; gap: 3px; font-size: 8.5px; }
  .hw-kinds span { padding: 3px 6px; line-height: 1.3; }
  .hw-head { font-size: 19px; }
  .hw[data-font="display"] .hw-head, .hw[data-font="condensed"] .hw-head { font-size: 16px; }
  .hw[data-kind="portfolio"] .hw-copy .hw-head { font-size: 15px; }
  .hw-tiles i { height: 18px; }
  .hw-phone { width: 80px; height: 154px; top: 46px; right: -8px; }
  .hw .hw-phone .hw-head { font-size: 12px; }
  .hw-select { top: 60px; height: 80px; }
  .hw[data-kind="portfolio"] .hw-select { top: 50px; height: 98px; }
  .hw-cursor { top: 132px; left: 42%; }
  .hw-ad { width: 154px; top: 350px; padding: 7px; gap: 8px; }
  .hw-ad .hw-photo { width: 58px; height: 58px; }
  .hw-adtext .hw-name { font-size: 13px; }
  .hw-adtext .hw-btn { font-size: 9px; padding: 4px 7px; }
  .hw-sale { left: auto; right: 0; top: 384px; padding: 7px 10px 7px 8px; gap: 8px; }
  .hw-sale-title { font-size: 12px; }
  .hw-sale .step-tag { left: auto; right: 2px; top: -21px; }
  .hw-sale-icon { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual.playing .hw .hv-piece.is-on { scale: 1; }
  .hw-cursor { transition: none; }
}

/* The Meta Ads card shows our Meta Ads poster as its picture. It highlights the same way as the other steps */
.mg-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* The highlighted step grows a little more. Each card grows away from the nearest edge, so it stays inside the picture */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual.playing .hw .hv-piece.is-on { scale: 1.15; }
  .hero-visual.playing .hw .hw-site.is-on { scale: 1.05; }
  .hw .hw-brand { transform-origin: left center; }
  .hw .hw-ad { transform-origin: left center; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 640px), (prefers-reduced-motion: no-preference) and (min-width: 881px) and (max-width: 1080px) {
  .hero-visual.playing .hw .hv-piece.is-on { scale: 1.12; }
  .hero-visual.playing .hw .hw-site.is-on { scale: 1.025; }
  .hw .hw-sale { transform-origin: right center; }
}

/* Steps 3 and 4 are the smallest cards, so they grow the most. They grow upwards, clear of the caption */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual.playing .hw .hw-ad.is-on, .hero-visual.playing .hw .hw-sale.is-on { scale: 1.35; }
  .hw .hw-ad { transform-origin: left bottom; }
  .hw .hw-sale { transform-origin: center bottom; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 640px), (prefers-reduced-motion: no-preference) and (min-width: 881px) and (max-width: 1080px) {
  .hero-visual.playing .hw .hw-ad.is-on, .hero-visual.playing .hw .hw-sale.is-on { scale: 1.3; }
  .hw .hw-sale { transform-origin: right bottom; }
}
