/* ---------- fonts: self-hosted (no requests to Google), variable files, latin + latin-ext for Czech/Polish ---------- */
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 600 900; font-display: swap; src: url(assets/fonts/league-spartan-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 600 900; font-display: swap; src: url(assets/fonts/league-spartan-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/dm-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/dm-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0A1A33;
  --ink-2: #13284A;
  --paper: #FFFFFF;
  --mist: #F2F5FB;
  --aqua: #DCD6FA;             /* soft lilac tint (was mint) */
  --violet: #5443D6;           /* brand violet: text, logo, lines, buttons */
  --violet-deep: #3D2E9E;      /* large violet surfaces */
  --petrol: #12405A;           /* third accent, from the original logo */
  --coral: #FF5E5B;
  --lemon: #FFE14A;
  --muted: #4A5872;
  --on-dark-muted: #A9B6CE;
  --rule: #DCE2EE;
  --violet-soft: #ABA0F2;      /* violet on dark backgrounds */
  --on-violet-muted: #DAD3FF;  /* small print on the violet section */
  --on-lemon-muted: #5B5420;   /* labels on the lemon section */
  --focus: rgba(84, 67, 214, .22);
  --ring-a: #5B3DF5;           /* big hero C gradient, start */
  --ring-b: #14D6C4;           /* big hero C gradient, end (the logo itself is flat) */
  /* colour roles: --violet / --violet-deep / --petrol are strong colours (white text on them);
     --aqua (lilac), --coral and --lemon are light accents (ink text on them); yellow is kept for Contact and small details */

  --display: "League Spartan", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --g: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 76px;           /* header once scrolled */
  --header-top: 96px;         /* taller header at the top of the page, with the bigger logo */
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.035em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--g); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.wise { color: var(--violet); }

/* ---------- logo (recoloured per surface) ---------- */
.logo { height: 44px; width: auto; aspect-ratio: 367.19 / 94.77; }
.logo .l-ring { fill: var(--violet); }
.logo .l-cur, .logo .l-lick, .logo .l-dig { fill: var(--ink); }
.logo .l-wise { fill: var(--violet); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 1.75rem;
  border: 2.5px solid var(--ink); border-radius: 999px;
  font: 800 1.0625rem/1 var(--display); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.95); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--violet); border-color: var(--violet); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--lemon); }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--lemon); border-color: var(--lemon); }
.btn-small { min-height: 44px; padding: 0 1.2rem; font-size: 1rem; }

/* ---------- header + scroll progress ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.header-inner { height: var(--header-top); display: flex; align-items: center; gap: 2rem; transition: height .35s ease; }
/* big logo at the top, shrinks once you scroll; the margin keeps the page from jumping */
.site-header { transition: margin-bottom .35s ease; }
.site-header .logo { height: 58px; transition: height .35s ease; }
.scrolled .header-inner { height: var(--header-h); }
.scrolled .site-header .logo { height: 44px; }
.scrolled .site-header { margin-bottom: calc(var(--header-top) - var(--header-h)); }
.site-header nav { margin-left: auto; }
/* menu: outlined pill; a coloured pill slides behind the current section's link */
.nav-links { position: relative; display: flex; list-style: none; margin: 0; padding: 5px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.nav-links a { --c: var(--violet); --t: #fff; position: relative; z-index: 1; display: block; padding: .5rem 1.15rem; border-radius: 999px; text-decoration: none; font: 700 1rem var(--display); letter-spacing: -0.01em; color: var(--ink); transition: color .3s; }
.nav-links li:nth-child(2) a { --c: var(--petrol); --t: #fff; }
.nav-links li:nth-child(3) a { --c: var(--coral); --t: var(--ink); }
.nav-links li:nth-child(4) a { --c: var(--lemon); --t: var(--ink); }
.nav-links a[aria-current="true"] { color: var(--t); }
.nav-links a:not([aria-current="true"]):hover { color: var(--violet); }
.nav-pill {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px;
  background: var(--pill, var(--violet)); opacity: 0;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), width .5s cubic-bezier(.7, 0, .2, 1), background-color .4s, opacity .3s;
}
.nav-pill.on { opacity: 1; }
.site-header .btn-small { background: var(--violet); border-color: var(--violet); }
.site-header .btn-small:hover { background: var(--ink); border-color: var(--ink); }
/* phone menu button: two bars that turn into a cross; hidden on wide screens */
.menu-toggle { display: none; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: #fff; cursor: pointer; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s ease; }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }
.progress { position: relative; height: 5px; background: var(--rule); --p: 0; }
/* clipped rather than scaled, so the four colours stay put across the width */
.progress-fill { position: absolute; inset: 0; background: var(--violet); clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }

/* ---------- hero ---------- */
.hero {
  /* fills the first screen; grows instead of squeezing when the screen is short */
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-top) - 5px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(2rem, 5vh, 4rem) clamp(2rem, 5vh, 3.5rem);
}
.hero > .wrap { width: 100%; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
}
.hero h1 { font-size: clamp(3.2rem, min(1.2rem + 6.6vw, 12vh), 7.8rem); font-weight: 900; line-height: .86; letter-spacing: -0.045em; }
.lead { margin-top: 1.5rem; max-width: 30rem; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--muted); font-weight: 500; }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-mark { position: relative; aspect-ratio: 1; max-width: min(640px, 50vh); width: 100%; justify-self: center; }
.bigmark { width: 100%; height: 100%; overflow: visible; }
.big-cur { fill: var(--ink); transform-box: fill-box; transform-origin: 50% 50%; }
.dot { position: absolute; border-radius: 50%; }
.d1 { width: 22%; aspect-ratio: 1; background: var(--lemon); right: 2%; top: 4%; }
.d2 { width: 9%; aspect-ratio: 1; background: var(--coral); left: 4%; bottom: 10%; }
.d3 { width: 5%; aspect-ratio: 1; background: var(--violet); right: 16%; bottom: 2%; }

/* the one orchestrated load: C draws, cursor drops in, dots pop */
@media (prefers-reduced-motion: no-preference) {
  .drawc { animation: draw 1.4s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
  .big-cur { animation: drop .8s cubic-bezier(.2, .9, .3, 1.2) 1.35s both; }
  .dot { animation: pop .6s cubic-bezier(.2, 1.5, .4, 1) both; }
  .d1 { animation-delay: 1.8s; } .d2 { animation-delay: 1.95s; } .d3 { animation-delay: 2.1s; }
}
@media (prefers-reduced-motion: reduce) { .drawc { stroke-dashoffset: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop { from { transform: translate(220px, -260px) rotate(-20deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: scale(0); } }

/* platforms we run, floating around the mark */
.chip { position: absolute; z-index: 2; padding: .45rem .95rem .4rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 800 clamp(.8rem, .6rem + .5vw, 1.05rem) var(--display); letter-spacing: -0.01em; white-space: nowrap; box-shadow: 4px 4px 0 var(--ink); }
.chip::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .45em; border-radius: 50%; background: var(--c, var(--violet)); vertical-align: .05em; }
.c1 { --c: var(--violet); left: -6%; top: 14%; }
.c2 { --c: var(--coral); right: -4%; top: 34%; }
.c3 { --c: var(--lemon); left: 2%; top: 58%; }
.c4 { --c: var(--violet); right: 6%; bottom: 14%; }
.c5 { --c: var(--coral); left: 30%; top: -3%; }
.c6 { --c: var(--lemon); left: 34%; bottom: -4%; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: chip-in .6s cubic-bezier(.2, 1.5, .4, 1) both, chip-float 5s ease-in-out infinite; }
  .c1 { animation-delay: 2.2s, 2.8s; } .c2 { animation-delay: 2.35s, 3.4s; } .c3 { animation-delay: 2.5s, 2.2s; }
  .c4 { animation-delay: 2.65s, 3.9s; } .c5 { animation-delay: 2.8s, 3.1s; } .c6 { animation-delay: 2.95s, 2.5s; }
}
@keyframes chip-in { from { opacity: 0; transform: scale(.4); } }
@keyframes chip-float { 50% { translate: 0 -8px; } }

/* big but quiet sign low on the first screen: pale lilac, full stop in soft violet */
.hero-sign { position: relative; z-index: 1; margin-top: clamp(3rem, 10vh, 7rem); font: 900 clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem)/1 var(--display); letter-spacing: -0.04em; color: var(--aqua); }
.hero-sign .p { color: var(--violet-soft); }


/* ---------- delicate logo pattern behind white sections ---------- */
/* a grid of tiny C marks, tinted, fading out in a soft cloud */
.pattern { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pattern i {
  position: absolute; inset: 0;
  background: var(--pattern-c, var(--violet)); opacity: var(--pattern-o, .13);
  -webkit-mask: url(assets/pattern-mark.svg) 0 0 / 46px 46px repeat;
          mask: url(assets/pattern-mark.svg) 0 0 / 46px 46px repeat;
}
.pattern + .wrap { position: relative; z-index: 1; }
.section { position: relative; }
.pattern-hero {
  -webkit-mask-image: radial-gradient(40% 62% at 76% 50%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
          mask-image: radial-gradient(40% 62% at 76% 50%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
}
.pattern-services {
  --pattern-c: var(--violet); --pattern-o: .13;
  -webkit-mask-image: radial-gradient(42% 55% at 8% 12%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%);
          mask-image: radial-gradient(42% 55% at 8% 12%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%);
}
.pattern-clients {
  --pattern-c: var(--violet); --pattern-o: .13;
  -webkit-mask-image: radial-gradient(40% 55% at 94% 92%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%);
          mask-image: radial-gradient(40% 55% at 94% 92%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%);
}

/* ---------- 2. the wise part ---------- */
.wise-part { background: var(--ink); color: #fff; padding-block: var(--section-y); }
/* agency profile: one large editorial sentence + a supporting column */
.profile { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.profile-lead { font: 700 clamp(1.75rem, 1rem + 2.1vw, 3.1rem)/1.14 var(--display); letter-spacing: -0.025em; color: var(--on-dark-muted); }
.profile-lead b { color: #fff; font-weight: 800; }
.profile-body { font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); line-height: 1.6; color: var(--on-dark-muted); max-width: 30rem; }
.wise-part .wise { color: var(--violet-soft); }
/* "We grow brands on [platform]": concept C's headline with the word swap */
.grow {
  margin-top: clamp(3.5rem, 8vw, 7rem); padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: clamp(3.2rem, 9.4vw, 9.4rem); font-weight: 900; line-height: .88; letter-spacing: -0.045em;
}
.swap {
  --c: var(--aqua); --t: var(--ink);
  /* even space around the word: .2em above the letters, .22em at the sides,
     .24em below the baseline so descenders (the g in Google) are not cut */
  display: inline-grid; vertical-align: bottom; height: 1.13em; overflow: hidden;
  padding: 0 .22em; border-radius: .16em; margin-top: .06em;
  background: var(--c); color: var(--t);
  transition: background-color .5s, color .5s, width .5s;
}
.swap > span { grid-area: 1 / 1; justify-self: start; width: max-content; line-height: 1.3; white-space: nowrap; transform: translateY(110%); transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.swap > span.on { transform: translateY(0); }
.swap > span.off { transform: translateY(-110%); }
/* ---------- shared section ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--mist); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.4rem); font-weight: 900; line-height: .92; }
.section-head p { font-size: 1.15rem; color: var(--muted); max-width: 30rem; }
.section-head .statement { font: 800 clamp(1.4rem, 1rem + 1vw, 1.9rem)/1.12 var(--display); color: var(--ink); margin-bottom: .9rem; }

/* ---------- 3. service cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card {
  --c: var(--aqua);
  display: flex; flex-direction: column; gap: .8rem;
  min-height: 380px; padding: 1.6rem;
  border: 2.5px solid var(--ink); border-radius: var(--radius);
  background: #fff;
  transition: background-color .25s, transform .25s, box-shadow .25s;
}
.c-aqua { --c: var(--aqua); } .c-violet { --c: var(--violet-deep); --on: #fff; } .c-coral { --c: var(--coral); } .c-lemon { --c: var(--petrol); --on: #fff; }
.card:hover { background: var(--c); color: var(--on, var(--ink)); transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.ico { width: 60px; height: 60px; border-radius: 18px; background: var(--c); display: grid; place-items: center; transition: background-color .25s, transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.ico svg { width: 26px; height: 27px; }
.ico use { fill: var(--ink); }
.c-violet .ico use, .c-lemon .ico use { fill: #fff; }
.card:hover .ico { background: var(--ink); transform: rotate(-8deg) scale(1.06); }
.card:hover .ico use { fill: #fff; }
/* petrol card: the icon tile flips to white on hover so it stays visible */
.c-lemon:hover .ico { background: #fff; }
.c-lemon:hover .ico use { fill: var(--petrol); }
.num { font: 900 3.2rem/.8 var(--display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .5; }
.card h3 { font-size: 1.75rem; line-height: 1; padding-top: 2.5rem; }
/* line up titles, texts and tags across cards; ::before keeps each card's min-height, spare space stays above the title */
@supports (grid-template-rows: subgrid) {
  .cards { grid-auto-rows: 1fr auto auto auto; }
  .card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: .8rem; }
  .card::before { content: ""; grid-area: 1 / 1 / span 4; min-height: calc(var(--card-min, 380px) - 3.2rem - 5px); }
  .card-top { grid-area: 1 / 1; }
  .card h3 { grid-area: 2 / 1; align-self: end; }
  .card p { grid-area: 3 / 1; }
  .card .tags { grid-area: 4 / 1; align-self: start; }
}
.card p { font-size: 1.05rem; }
.tags { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { padding: .25rem .7rem; border: 1.5px solid currentColor; border-radius: 999px; font-size: .85rem; font-weight: 700; }

/* ---------- 4. results ---------- */
.results { --violet: #5B3DF5; background: var(--violet); color: #fff; padding-block: var(--section-y); position: relative; overflow: hidden; }
.results::after { content: ""; position: absolute; width: 40vw; max-width: 620px; aspect-ratio: 1; right: -12vw; top: -16vw; border-radius: 50%; background: var(--coral); opacity: .9; }
.results .wrap { position: relative; z-index: 1; }
.results-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: center; }
.results-text { display: grid; gap: 1.25rem; }
.results-shot { display: block; border: 2.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 10px 10px 0 var(--ink); transform: rotate(2deg); transition: transform .3s; }
.results-shot:hover { transform: rotate(0) translate(-4px, -4px); }
.results-shot img { display: block; width: 100%; height: auto; }
.results h2 { font-size: clamp(2.8rem, 1.4rem + 5vw, 6rem); font-weight: 900; line-height: .9; }
.results-sub { font: 700 clamp(1.2rem, 1rem + .6vw, 1.5rem)/1.3 var(--display); }
.stats { margin: clamp(3rem, 6vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid rgba(255, 255, 255, .35); }
.stat { padding: 1.75rem 1.5rem 0 0; display: flex; flex-direction: column-reverse; gap: .5rem; }
.stat + .stat { padding-left: 1.5rem; border-left: 2px solid rgba(255, 255, 255, .35); }
.stat dt { font: 700 1.3rem var(--display); }
.stat dd { margin: 0; font: 900 clamp(3.6rem, 2rem + 6vw, 8rem)/.85 var(--display); letter-spacing: -0.05em; display: flex; align-items: baseline; gap: .1em; font-variant-numeric: tabular-nums; }
.stat small { font-size: .38em; letter-spacing: -0.02em; color: var(--lemon); }
.results-foot { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.fine { font-size: .9rem; color: var(--on-violet-muted); }

/* ---------- 5. clients: two columns hung on a budget line ---------- */
.mix-scale { position: relative; height: 92px; }
.mix-ends { display: flex; justify-content: space-between; font: 800 1.15rem var(--display); letter-spacing: -0.01em; color: var(--muted); }
.mix-ends span:first-child::before { content: "← "; }
.mix-ends span:last-child::after { content: " →"; }
.mix-track {
  position: absolute; left: 0; right: 0; bottom: 12px; height: 14px; border-radius: 14px;
  background: var(--violet);
}
.mix-dot {
  position: absolute; bottom: 0; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%;
  background: var(--c); border: 3px solid var(--ink); box-shadow: 0 0 0 5px #fff;
  transition: transform .4s cubic-bezier(.2, 1.6, .4, 1);
}
.mix-dot:nth-of-type(2) { left: calc(25% - .25rem); }
.mix-dot:nth-of-type(3) { left: calc(75% + .25rem); }
.mix[data-on="small"] .mix-dot:nth-of-type(2), .mix[data-on="big"] .mix-dot:nth-of-type(3) { transform: scale(1.25); }
.mix-cur {
  position: absolute; z-index: 2; bottom: -26px; left: calc(25% - .25rem); width: 34px; height: 36px; margin-left: 2px;
  filter: drop-shadow(0 0 3px #fff); transition: left 1.1s cubic-bezier(.7, 0, .2, 1);
}
.mix[data-on="big"] .mix-cur { left: calc(75% + .25rem); }
.mix-cur svg { width: 100%; height: 100%; }
.mix-cur use { fill: var(--ink); }

.mix-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); gap: 0 1rem; margin-top: 2rem; }
.mix-col {
  display: grid; grid-row: span 5; grid-template-rows: subgrid;
  padding: 0 clamp(1.5rem, 3vw, 2.75rem); background: var(--c);
  border: 2.5px solid var(--ink); border-radius: var(--radius); outline: none;
  transition: transform .3s, box-shadow .3s;
}
.mix[data-on="small"] .mix-col[data-side="small"], .mix[data-on="big"] .mix-col[data-side="big"] { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
/* bigger budgets: deep violet, white text */
.mix-col[data-side="big"] { color: #fff; }
.mix-col:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.mix-col[data-side="big"] p[data-label] { border-top-color: rgba(255, 255, 255, .22); }
.mix-col[data-side="big"] .mix-kick::before { border-color: #fff; }
.mix-kick { display: none; }
.mix-col h3 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.3rem); line-height: .95; letter-spacing: -0.035em; padding: clamp(1.75rem, 3vw, 2.5rem) 0 1.75rem; max-width: 12ch; }
.mix-col p[data-label] { font: 700 clamp(1.15rem, 1rem + .45vw, 1.45rem)/1.25 var(--display); letter-spacing: -0.01em; padding: 1.1rem 0 1.25rem; border-top: 2px solid rgba(10, 26, 51, .16); }
.mix-col p[data-label]::before { content: attr(data-label); display: block; font: 700 .8rem var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-bottom: .35rem; }
.mix-col p:last-child { padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
/* "Either way." band with the four values */
.either { position: relative; overflow: hidden; margin-top: 1.5rem; background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 4vw, 3.25rem); display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
.either-title { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: .95; color: var(--violet-soft); padding-top: .2rem; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.value { --c: var(--aqua); display: flex; flex-direction: column; gap: .5rem; }
.value::before { content: ""; width: 40px; height: 6px; border-radius: 8px; background: var(--c); margin-bottom: 1rem; }
/* the four value lines follow the four service cards: violet, lilac, coral, petrol (lifted for the dark band) */
.v-aqua { --c: #7B6CF0; } .v-violet { --c: var(--aqua); } .v-coral { --c: var(--coral); } .v-lemon { --c: #5C9DBA; }
.value h4 { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.65rem); line-height: 1; }
.value p { color: var(--on-dark-muted); font-size: 1rem; }
.sectors { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.sectors h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.sectors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.sectors li { padding: .7rem 1.3rem; border: 2.5px solid var(--ink); border-radius: 999px; font: 800 1.15rem var(--display); letter-spacing: -0.01em; transition: background-color .2s, color .2s; }
.sectors li:hover { background: var(--ink); color: #fff; }


/* ---------- 7. contact ---------- */
.contact { background: var(--lemon); padding-block: var(--section-y); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.contact h2 { font-size: clamp(3.4rem, 1.5rem + 7vw, 8.4rem); font-weight: 900; line-height: .86; letter-spacing: -0.045em; }
.contact .lead { color: var(--ink); }
.contact-points { margin-top: 3.5rem; }
/* the two office labels sit centred over the gaps between portraits 1–2 and 2–3:
   gap centre = portrait (140px) + half a gap ((100% - 3 × 140px) / 4) = 35px + 25% */
.offices { --gap-mid: calc(35px + 25%); margin: 0 var(--gap-mid); display: flex; justify-content: space-between; }
.offices dt { font-size: .9rem; color: var(--on-lemon-muted); }
.offices dd { margin: .15rem 0 0; font: 700 1.15rem var(--display); }
.offices > div { width: 0; display: flex; flex-direction: column; align-items: center; white-space: nowrap; text-align: center; }   /* zero width: the label centres on its point */
.offices dd { transform: translateX(2px); }   /* optical nudge: the bold city line with its comma reads slightly left of centre */
.team { display: grid; grid-template-columns: repeat(3, 140px); justify-content: space-between; margin-top: 2rem; }
.team a { display: block; border-radius: 50%; }
.team img { display: block; width: 140px; height: 140px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; transition: transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.team a:hover img { transform: rotate(-4deg) scale(1.05); }
/* email + reply promise, centred between the two portraits (column 2 starts at 50% + 1rem, portraits are 140px) */
.offices-reach { width: max-content; max-width: 100%; margin: 2rem 0 0 50%; transform: translateX(-50%); text-align: center; }   /* centred under the middle portrait */
.offices-email { font: 700 1.15rem var(--display); }
.offices-email a { text-underline-offset: 4px; }
.offices-reply { margin-top: .3rem; font-size: .95rem; color: var(--on-lemon-muted); }
.form { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.1rem; box-shadow: 10px 10px 0 var(--ink); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: .85rem 1rem; border: 2px solid var(--ink); border-radius: 14px; background: var(--mist); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--focus); }
.field [aria-invalid="true"] { border-color: #D62F2C; }
.field-error { color: #C21F1C; font-size: .9rem; font-weight: 500; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status.is-ok { color: #0B7D5B; }
.form-status.is-error { color: #C21F1C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: 2rem; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.site-footer .logo { height: 38px; }
.site-footer .logo .l-cur, .site-footer .logo .l-lick { fill: #fff; }
.site-footer .logo .l-wise, .site-footer .logo .l-dig { fill: var(--violet-soft); }
.footer-address { font-style: normal; font-size: .82rem; line-height: 1.5; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 320px; --card-min: 320px; }
  .nav-links a { padding-inline: .9rem; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  /* phone menu: the links drop down under the header as big coloured rows */
  .header-inner { gap: .6rem; }
  .site-header .btn-small { margin-left: auto; white-space: nowrap; }
  .menu-toggle { display: block; }
  .site-header nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    padding: 1rem var(--g) 1.5rem; background: #fff; border-bottom: 2px solid var(--ink);
    box-shadow: 0 18px 30px -18px rgba(10, 26, 51, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  }
  .menu-open .site-header nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-links { display: grid; gap: .6rem; padding: 0; border: 0; border-radius: 0; background: none; }
  .nav-links a { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border: 2px solid var(--ink); font-size: 1.45rem; }
  .nav-links a::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--c); }
  .nav-links a[aria-current="true"] { background: var(--c); }
  .nav-pill { display: none; }
  .hero-grid, .profile, .section-head, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { max-width: 340px; order: -1; justify-self: start; }
  .c1 { left: 0; }   /* the mark sits at the left edge here; keep the Meta label inside the page margin */
  .chip { padding: .28rem .6rem .24rem; font-size: .7rem; border-width: 1.5px; box-shadow: 2px 2px 0 var(--ink); }   /* smaller labels around the smaller mark */
  .stats { grid-template-columns: minmax(0, 1fr); }
  .results-head { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 2px solid rgba(255, 255, 255, .35); padding-top: 1.5rem; margin-top: 1.5rem; }
  .stat { padding-top: 1.5rem; }
  /* clients: line hidden, columns stack, each column says its budget */
  .mix-scale { display: none; }
  .mix-cols { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; margin-top: 0; }
  .mix-col { grid-row: auto; grid-template-rows: none; }
  .mix-kick { display: block; padding-top: 1.75rem; font: 800 1rem var(--display); }
  .mix-kick::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: .5rem; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; vertical-align: -1px; }
  .mix-col h3 { padding-top: .5rem; }
  .mix[data-on] .mix-col[data-side] { transform: none; box-shadow: none; }
  .either { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; --header-top: 74px; --radius: 22px; }
  .pattern-hero { -webkit-mask-image: radial-gradient(70% 40% at 30% 28%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%); mask-image: radial-gradient(70% 40% at 30% 28%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%); }
  .pattern i { -webkit-mask-size: 38px 38px; mask-size: 38px 38px; }
  .logo { height: 36px; }
  .site-header .logo { height: 44px; }
  .scrolled .site-header .logo { height: 36px; }
  .hero-mark { max-width: 220px; }
  .cards, .values { grid-template-columns: minmax(0, 1fr); }
  .offices { --gap-mid: calc(24px + 25%); }   /* 96px portraits: 96 + (100% - 288px) / 4 */
  .team { grid-template-columns: repeat(3, 96px); }
  .team img { width: 96px; height: 96px; }
  .offices-reach { margin-left: 0; transform: none; text-align: left; }
  .card { min-height: 0; --card-min: 0px; }
  .card h3 { padding-top: 1.5rem; }
  .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .header-inner { gap: .5rem; }
  .site-header .logo, .scrolled .site-header .logo { height: 34px; }
  .site-header .btn-small { min-height: 40px; padding: 0 .9rem; font-size: .9rem; }
}
@media (max-width: 350px) {
  .site-header .btn-small { display: none; }   /* the hero's own Contact button is right below */
  .menu-toggle { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .ico, .swap, .swap > span, .mix-cur, .mix-dot, .mix-col, .nav-pill, .menu-toggle span, .site-header nav, .team img, .header-inner, .site-header, .site-header .logo { transition: none; }
  .card:hover { transform: none; }
}

/* ---------- cookie consent ---------- */
.consent {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: min(440px, calc(100vw - 2.5rem)); max-height: calc(100vh - 2.5rem); overflow: auto;
  padding: 1.5rem; background: #fff; color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(10, 26, 51, .18);
  font-size: .95rem; line-height: 1.5;
}
.consent h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.consent a { color: var(--violet); font-weight: 700; }
.consent-options { display: grid; gap: .75rem; margin-top: 1rem; }
.consent-options[hidden] { display: none; }
.consent-options label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.consent-options input { flex: none; width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--violet); }
.consent-options b { display: block; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.25rem; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-more { border: 0; background: none; padding: .5rem 0; font: 700 .95rem var(--body); color: var(--ink); text-decoration: underline; cursor: pointer; }
.consent-more:hover { color: var(--violet); }
@media (max-width: 600px) {
  .consent { left: .75rem; right: .75rem; bottom: .75rem; width: auto; padding: 1.25rem; }
}

/* footer links + contact form note */
.footer-links a, .footer-links button { color: inherit; font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-note a { color: inherit; }

/* ---------- privacy policy pages ---------- */
.legal-header .header-inner { height: var(--header-h); }
.legal-header .logo { height: 44px; }
.legal-header .btn-small { margin-left: auto; }
.legal { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.legal-inner { max-width: 760px; }
.legal-404 { min-height: calc(100vh - var(--header-h) - 180px); }
.legal-langs { display: flex; gap: .5rem; margin-bottom: 1.5rem; list-style: none; padding: 0; }
.legal-langs a { display: block; padding: .3rem .8rem; border: 2px solid var(--ink); border-radius: 999px; font: 700 .9rem var(--display); text-decoration: none; }
.legal-langs a[aria-current="page"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.legal h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); line-height: 1; margin-bottom: .75rem; }
.legal-updated { color: var(--muted); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--violet); }
.legal a.btn { color: #fff; text-decoration: none; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--rule); }
.legal th { font-family: var(--display); font-weight: 700; }
@media (max-width: 600px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
  .legal td { border: 0; padding: .1rem 0; }
  .legal td:first-child { font-weight: 700; }
}
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--violet); text-decoration: underline; cursor: pointer; }
