/* Brandmelon. The panel writes every colour, font, size and movement into custom properties in the page head.
   The values below are only what shows if that block is ever missing. */

:root {
  --bg: #0b0b0b; --bg-rgb: 11, 11, 11;
  --panel: #141414; --panel-2: #1e1e1e; --panel-3: #2c2c2c;
  --line: #2a2a2a;
  --ink: #ffffff; --muted: #a6a6a6; --dim: #8f8f8f;
  --red: #ed1c24; --doodle: #ed1c24;
  --accent: #ed1c24; --accent-ink: #ffffff; --accent-deep: #c7171e;
  --card: #ffffff; --card-ink: #0b0b0b; --card-soft: #4a4a4a; --card-hint: #6a6a6a; --card-fill: #f0f0f0; --card-fill-2: #e2e2e2; --card-dim: #dcdcdc;
  --footer: #ed1c24; --footer-ink: #ffffff; --footer-logo: brightness(0) invert(1);
  --header-bg: rgba(11, 11, 11, 0.96); --scrim: rgba(11, 11, 11, 0.75);
  --logo-filter: none;
  --font: "Amsi Pro", system-ui, sans-serif; --font-head: "Amsi Pro", system-ui, sans-serif;
  --head-weight: 800; --head-tight: -0.02em; --scale: 1;
  --head-ws: 0em; --head-lh: 1; --body-ls: 0em; --body-ws: 0em; --body-lh: 1;
  --radius-px: 24px; --space: 1; --wrapx: 1; --dw: 1;

  /* the type steps (-0) and the ones in use: a section with its own text sizes scales those (bm_ts_css) */
  --step-small-0: 1rem;
  --step-body-0: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  --step-lead-0: clamp(1.25rem, 1.05rem + 0.8vw, 1.875rem);
  --step-head-0: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem);
  --step-hero-0: clamp(3rem, 0.8rem + 5.6vw, 6.75rem);
  --step-display-0: clamp(3rem, 1rem + 5vw, 6rem);
  --step-small: var(--step-small-0); --step-body: var(--step-body-0); --step-lead: var(--step-lead-0);
  --step-head: var(--step-head-0); --step-hero: var(--step-hero-0); --step-display: var(--step-display-0);

  --margin: calc(clamp(1rem, 3vw, 3rem) * var(--wrapx));
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: calc(clamp(6rem, 11vw, 11rem) * var(--space));
  --radius: var(--radius-px);
  --radius-lg: calc(var(--radius-px) * 1.33);
  --radius-sm: calc(var(--radius-px) * 0.75);
  --header-h: 5rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--scale)); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: calc(1.55 * var(--body-lh)); letter-spacing: var(--body-ls); word-spacing: var(--body-ws); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tight); word-spacing: var(--head-ws); line-height: var(--head-lh); text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: inherit; color: var(--red); }
/* [words] in a headline: a red box behind them, its words in a colour that reads on it (--mark-ink, set with the
   colours: where the background is red itself, the box takes the words' colour and its words the red).
   The box sits behind the headline's letters, so a tall headline's line above keeps its descenders whole */
mark { position: relative; z-index: -1; padding: 0 0.14em; margin-inline: 0.02em; background: var(--red); color: var(--mark-ink, #fff); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark em, em mark { color: var(--mark-ink, #fff); }
:is(h1, h2, h3, p, li):has(mark) { isolation: isolate; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 60; padding: 0.6rem 1rem; background: var(--ink); color: var(--bg); }
.skip:focus { top: 1rem; }
.wrap { padding-inline: var(--margin); }
.section { padding-block: calc(var(--section) / 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- buttons & links. Shape, size, fill and hover are chosen in the panel ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: calc(3.25rem * var(--btn-s, 1)); padding: calc(0.8rem * var(--btn-s, 1)) calc(1.6rem * var(--btn-s, 1)); border-radius: var(--btn-r, 999px); background: var(--accent); color: var(--accent-ink); font-size: calc(1em * var(--btn-s, 1)); font-weight: 600; line-height: 1.2; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease, box-shadow 200ms ease, filter 180ms ease, outline-offset 180ms ease; }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: var(--panel-2); color: var(--ink); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--outline, .bm-btn-outline .btn:not(.btn--light):not(.btn--ghost):not(.btn--wa):not(:where(.brief__card .btn, .mbar .btn)) { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.btn--wa { background: #1fa855; color: #fff; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.bm-btn-case-upper .btn { text-transform: uppercase; letter-spacing: 0.07em; font-size: calc(0.86em * var(--btn-s, 1)); }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.link { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; }
.arrow-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform 200ms var(--ease-out); }
.arrow-link--back::after { content: none; }
.arrow-link--back::before { content: "←"; }
.bm-bx-arrow .btn::after { content: "→"; display: inline-block; max-width: 0; margin-left: -0.6rem; opacity: 0; overflow: hidden; transition: max-width 220ms var(--ease-out), margin 220ms var(--ease-out), opacity 180ms ease; }
.bm-bx-shine .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; } /* taste-skill-ignore: light sweep the owner picked as a hover effect */
@keyframes bm-wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
@media (hover: hover) and (pointer: fine) {
  .bm-bc-swap .btn:hover { background: var(--ink); color: var(--bg); }
  .bm-bc-swap .btn--light:hover, .bm-bc-swap .btn--ghost:hover, .bm-bc-swap .btn--outline:hover, .bm-bc-swap.bm-btn-outline .btn:not(.btn--light):not(.btn--ghost):not(.btn--wa):hover { background: var(--accent); color: var(--accent-ink); }
  .bm-bc-darken .btn:hover { filter: brightness(0.86); }
  .bm-bc-darken .btn--outline:hover, .bm-bc-darken.bm-btn-outline .btn:not(.btn--light):not(.btn--ghost):not(.btn--wa):hover { filter: none; background: var(--panel-2); }
  .btn--wa:hover, .bm-bc-swap .btn--wa:hover { background: #18914a; color: #fff; }
  .bm-bm-lift .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.55); }
  .bm-bm-grow .btn:hover { transform: scale(1.05); }
  .bm-bm-press .btn:hover { transform: scale(0.96); }
  .bm-bm-wobble .btn:hover { animation: bm-wobble 420ms ease-in-out; }
  .bm-bx-arrow .btn:hover::after { max-width: 1.2em; margin-left: 0; opacity: 1; }
  .bm-bx-shine .btn:hover::after { transform: translateX(120%); transition: transform 700ms ease; }
  .bm-bx-ring .btn:hover { outline: 2px solid var(--accent); outline-offset: 4px; }
  .arrow-link:hover { color: var(--red); }
  .arrow-link:hover::after { transform: translateX(4px); }
}

/* ---------- header (always visible) ---------- */
.site-header { position: fixed; inset: 0 0 auto; top: var(--nh, 0px); z-index: 30; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--gutter); padding-inline: var(--margin); background: transparent; transition: background-color 250ms ease, height 250ms var(--ease-out); }
.site-header.is-scrolled, body:not(.page-home) .site-header { background: var(--header-bg); }
.site-header.is-scrolled { height: 4.25rem; }
.wordmark { width: calc(clamp(8rem, 10vw, 9.5rem) * var(--logo-k, 1)); }
.wordmark img { width: 100%; height: auto; filter: var(--logo-filter); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a:not(.btn) { text-decoration: none; }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { min-height: calc(2.75rem * var(--btn-s, 1)); padding-block: calc(0.55rem * var(--btn-s, 1)); }
.menu-toggle, .nav-close { display: none; font-weight: 600; min-height: 2.75rem; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--red); } }
.nav__logo, .nav__mark, .nav__contact { display: none; }
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 50; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.25rem; padding: var(--margin); background: var(--bg); font-size: 2.25rem; font-weight: 800; transform: translateY(-100%); visibility: hidden; transition: transform 380ms var(--ease-out), visibility 0s 380ms; }
  .nav.is-open { transform: none; visibility: visible; transition: transform 380ms var(--ease-out); }
  .nav .btn { font-size: 1.125rem; margin-top: 1rem; }
  .nav-close { display: block; position: absolute; top: calc((var(--header-h) - 2.75rem) / 2); right: var(--margin); font-size: 1rem; }
  .nav { padding-block: calc(var(--header-h) + 1rem) 6.5rem; overflow-y: auto; }
  .nav__logo { display: block; position: absolute; top: calc((var(--header-h) - 1.25rem) / 2); left: var(--margin); width: 8rem; line-height: 0; }
  .nav__logo img { width: 100%; height: auto; filter: var(--logo-filter); }
  .nav__mark { display: block; position: absolute; z-index: -1; right: -9vw; bottom: -5vh; width: min(64vw, 22rem); color: var(--red); opacity: 0.16; pointer-events: none; }
  .nav__mark svg { display: block; width: 100%; height: auto; }
  .nav__contact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.15rem; position: absolute; left: var(--margin); right: var(--margin); bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; font-weight: 500; }
  .nav__contact a { color: var(--muted); }
}
body:not(.page-home) main { padding-top: var(--header-h); }
.admin-bar .site-header { top: calc(32px + var(--nh, 0px)); }
@media (max-width: 782px) { .admin-bar .site-header { top: calc(46px + var(--nh, 0px)); } }
/* logged in on a phone, the full-screen menu starts below WordPress's own bar, so its logo and Close stay clear */
@media (max-width: 760px) { .admin-bar .nav { top: 46px; } }

/* ---------- red line art ---------- */
.art { display: block; width: 100%; height: auto; overflow: visible; }
.art .ln { fill: none; stroke: var(--doodle); stroke-width: calc(3 * var(--dw) * var(--vb, 1)); stroke-linecap: round; stroke-linejoin: round; }
.art .ln--thick { stroke-width: calc(5 * var(--dw) * var(--vb, 1)); }
.art .seed { fill: none; stroke: var(--doodle); stroke-width: calc(3 * var(--dw) * var(--vb, 1)); }
.art .seed--fill { fill: currentColor; stroke: none; }
.art .fillpart { fill: var(--doodle); }
.art--icon .ln { stroke-width: 4; }
.art--icon .ln--thick { stroke-width: 5.5; }

/* ---------- a picture in its shape, with its doodle ---------- */
.pframe { position: relative; display: block; margin: 0; transform: rotate(var(--tilt, 0deg)); }
.pframe__img { position: absolute; inset: 0; display: block; overflow: hidden; }
.pframe__img img { width: 100%; height: 100%; object-fit: cover; }
.pframe.has-doodle .pframe__img { inset: 4%; }
.pframe.shape-slice .pframe__img { inset: 5.88% 5% 14.72% 5%; }
.shape-card .pframe__img { border-radius: var(--radius); }
.pframe__doodle { position: absolute; inset: 0; pointer-events: none; transform: translate(var(--dx, 0%), var(--dy, 0%)) scale(var(--ds, 1)); }
.pframe__doodle > .art--doodle { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 50%; }
/* a picture's size from the panel; two classes, so a section's own width for its picture never cancels it */
.pframe.pframe--sized { width: var(--psize); margin-left: calc((100% - var(--psize)) / 2); }
@media (max-width: 760px) { .pframe.pframe--sized { width: min(var(--psize), 100%); margin-left: calc((100% - min(var(--psize), 100%)) / 2); } }
.pframe__cap { position: absolute; right: 6%; bottom: -1.75rem; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--panel-2); font-size: 0.9375rem; transform: rotate(-2deg); }
.pframe--hero { aspect-ratio: 600 / 340; }
.pframe--team { aspect-ratio: 1000 / 850; }
.pframe--studio { aspect-ratio: 1; }
.pframe--cases, .pframe--culture, .pframe--work { aspect-ratio: 4 / 3; }
.pframe--offers { aspect-ratio: 16 / 10; }
.pframe--custom { aspect-ratio: 4 / 3; }
.pframe--team.shape-blob .pframe__img { -webkit-mask-size: 108% 108%; mask-size: 108% 108%; }

/* ---------- home hero ----------
   The headline is sized to sit in the clear space beside the picture, with room to spare; the panel scales it
   (--hero-k) and the line under it (--hero-lk) from there */
.hero { --hero-fs: clamp(2.25rem, 0.7rem + 4.15vw, 5.25rem); --hero-ls: clamp(1.125rem, 0.98rem + 0.5vw, 1.5rem); position: relative; min-height: min(100svh, 980px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-content: center; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3rem; overflow-x: clip; }
.hero__text { grid-column: 1 / 8; display: grid; gap: 1.5rem; align-content: center; position: relative; z-index: 2; }
.hero h1 { font-size: calc(var(--hero-fs) * var(--hero-k, 1)); line-height: calc(0.9 * var(--head-lh)); letter-spacing: calc(var(--head-tight) * 1.5); }
.hero__lede { font-size: calc(var(--hero-ls) * var(--hero-lk, 1)); font-weight: var(--sec-bw, 300); line-height: calc(1.3 * var(--body-lh)); max-width: 26ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.hero__slice { grid-column: 8 / 13; align-self: center; width: 100%; }
.hero__art { position: absolute; right: var(--margin); top: calc(var(--header-h) + 1rem); width: clamp(5.5rem, 9vw, 9rem); z-index: 3; }
.hero--center { justify-items: center; text-align: center; row-gap: 2.5rem; }
.hero--center .hero__text { grid-column: 2 / 12; justify-items: center; }
.hero--center .hero__actions { justify-content: center; }
.hero--center .hero__slice { grid-column: 3 / 11; }
.hero--center .trust { justify-content: center; }
/* "Words left, picture right": the picture's width is part fixed and part screen, so it grows and shrinks with the
   browser's zoom (Ctrl and the mouse wheel) as the words do. The panel's Picture size (--pk) scales it from the
   right margin, so it resizes in place instead of sliding */
@media (min-width: 901px) {
  .hero.hero--slice .hero__slice { justify-self: end; margin-left: 0; width: calc(min(20rem + 16vw, 100% + 3vw) * var(--pk, 1)); }
}
.hero--text .hero__text { grid-column: 1 / -1; }
.hero--text h1 { font-size: calc(var(--step-hero) * 1.4 * var(--hero-k, 1)); }
.trust { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; margin-top: clamp(2.5rem, 6vw, 5rem); color: var(--muted); }
.trust strong { color: var(--ink); font-weight: 600; }
.trust ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; list-style: none; padding: 0; margin: 0; }
.trust li { font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); color: var(--dim); }
.trust a { text-decoration: none; color: inherit; transition: color 180ms ease; }
.trust-wrap .trust { margin-top: 0; padding-block: calc(var(--section) / 4); }
@media (hover: hover) and (pointer: fine) { .trust a:hover { color: var(--red); } }
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; gap: 2.5rem; min-height: 0; align-items: stretch; }
  .hero--center { align-items: center; }
  .hero__slice { width: 100%; }
  /* the picture, at the size set for it, sits in the middle (its own centring margin alone set it off to the right) */
  .hero .hero__slice.pframe--sized { margin-inline: auto; }
  .trust { margin-top: 0; }
  .hero__art { position: static; }
}

/* ---------- moving band of names ---------- */
.band { overflow: hidden; background: var(--accent); color: var(--accent-ink); padding-block: clamp(0.9rem, 1.6vw, 1.4rem); }
.band .tape__track { animation-duration: 60s; }
.band .art--seed { display: inline-block; width: 0.42em; height: 0.5em; margin: 0 0.4em; vertical-align: 0.05em; color: currentColor; }
.tape__track { display: flex; width: max-content; animation: band 52s linear infinite; }
.tape__track--rev { animation-direction: reverse; animation-duration: 64s; }
.tape__run { display: block; white-space: nowrap; font-size: clamp(1.375rem, 2.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; padding-right: 0.45em; }
@keyframes band { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .band:hover .tape__track, .tapes__box:hover .tape__track { animation-play-state: paused; } }

/* ---------- section heads ---------- */
.shead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.shead h2 { font-size: var(--step-head); max-width: 16ch; }
.shead p { max-width: 34rem; color: var(--muted); }

/* ---------- selected work ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.cases--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cases--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cases--feature .case:first-child { grid-column: 1 / -1; }
.cases--feature .case:first-child .case__media { aspect-ratio: 21 / 9; }
.case { position: relative; display: grid; align-content: start; text-decoration: none; color: inherit; }
.case__media { background: var(--panel); transition: transform 500ms var(--ease-out); }
.case__media img { transition: transform 900ms var(--ease-soft); }
.case__body { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-top: 1.1rem; }
.case h3 { font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); }
.case__line { display: block; margin-top: 0.35rem; color: var(--muted); max-width: 34ch; }
.case__tag { flex: none; padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--panel-2); font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) {
  a.case:hover h3 { color: var(--red); }
  .bm-hover-zoom a.case:hover .case__media img { transform: scale(1.04); }
  .bm-hover-lift a.case:hover .case__media { transform: translateY(-6px) rotate(var(--tilt, 0deg)); }
  .bm-hover-tilt a.case:hover .case__media { transform: rotate(calc(var(--tilt, 0deg) - 1.2deg)); }
}
@media (max-width: 900px) { .cases--three, .cases--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cases, .cases--three, .cases--feature { grid-template-columns: 1fr; } .case__body { flex-direction: column; } .cases--feature .case:first-child .case__media { aspect-ratio: 4 / 3; } }

/* ---------- three offers ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.offer { display: grid; align-content: start; gap: 1.1rem; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius); background: var(--panel); }
.offer__words { display: grid; gap: 1.1rem; }
.offer__media { margin-bottom: 0.25rem; }
.offer h3 { font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); }
.offer p { color: var(--muted); }
.offer ul { display: grid; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.offer li { display: flex; gap: 0.6rem; align-items: baseline; }
.offer li::before { content: ""; flex: none; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--red); transform: translateY(-0.12em); }
.offer .arrow-link { margin-top: 0.5rem; }
.offers--rows { grid-template-columns: 1fr; }
.offers--rows .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } .offers--rows .offer { grid-template-columns: 1fr; } }

/* ---------- the brief builder ---------- */
.brief { scroll-margin-top: var(--header-h); }
.brief__card { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.75rem, 5vw, 4.5rem); border-radius: var(--radius-lg); background: var(--card); color: var(--card-ink); overflow: hidden; }
.brief--stack .brief__card { grid-template-columns: 1fr; }
.brief--stack .brief__art { display: none; }
.brief__intro { display: grid; align-content: start; gap: 1.25rem; }
.brief__intro h2 { font-size: var(--step-head); }
.brief__intro p { color: var(--card-soft); }
.brief__direct { display: grid; gap: 0.5rem; margin-top: 1rem; color: var(--card-soft); }
.brief__direct a { color: var(--card-ink); font-weight: 600; }
.brief__art { width: min(100%, 320px); margin-top: auto; transform: rotate(-10deg); }
.brief__progress { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; font-weight: 600; }
.brief__dots { display: flex; gap: 0.4rem; }
.brief__dots span { width: 2.25rem; height: 0.4rem; border-radius: 999px; background: var(--card-dim); transition: background-color 300ms ease; }
.brief__dots span.is-done { background: var(--accent); }
.brief__step { display: grid; gap: 1.25rem; }
.js .brief__step:not(.is-current) { display: none; }
.brief__step legend { font-size: var(--step-lead); font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: calc(var(--head-tight) * 0.66); word-spacing: var(--head-ws); line-height: calc(1.15 * var(--head-lh)); margin-bottom: 1.25rem; }
.brief__done { font-size: var(--step-lead); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.75rem; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile span { display: grid; gap: 0.75rem; height: 100%; padding: 1.1rem 1.15rem; border-radius: 1.1rem; background: var(--card-fill); font-weight: 600; line-height: calc(1.25 * var(--body-lh)); transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease-out); }
.tile .art { width: 2.25rem; }
.tile input:checked + span { background: var(--accent); color: var(--accent-ink); }
.tile input:checked + span .ln { stroke: var(--accent-ink); }
.tile input:focus-visible + span { outline: 3px solid var(--card-ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .tile input:not(:checked):hover + span { background: var(--card-fill-2); transform: translateY(-2px); } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 0.9rem 1rem; border: 0; border-radius: 0.9rem; background: var(--card-fill); color: var(--card-ink); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.brief__nav { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.75rem; }
.brief__nav .btn--ghost { background: var(--card-fill); color: var(--card-ink); }
.brief__hint { color: var(--card-hint); font-size: 0.9375rem; }
.brief__summary { display: grid; gap: 0.6rem; padding: 1.25rem 1.4rem; border-radius: 1.1rem; background: var(--card-fill); }
.brief__summary dt { font-weight: 700; }
.brief__summary dd { margin: 0 0 0.4rem; color: var(--card-soft); }
.brief__send { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (hover: hover) and (pointer: fine) { .bm-bc-swap .brief__card .btn:hover { background: var(--card-ink); color: var(--card); } .brief__card .btn--wa:hover { background: #18914a; color: #fff; } }
@media (max-width: 900px) {
  .brief__card { grid-template-columns: 1fr; }
  .brief__art { display: none; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr 1fr; } .tile span { padding: 0.9rem; font-size: 0.9375rem; } }

/* ---------- sticky phone bar ---------- */
.mbar { position: fixed; right: 0.75rem; bottom: 0.75rem; z-index: 25; display: none; gap: 0.5rem; padding: 0.5rem; border-radius: 999px; background: var(--panel); transform: translateY(140%); transition: transform 350ms var(--ease-out); }
.mbar .btn { min-height: 3rem; padding-inline: 1.2rem; }
.mbar .btn--wa { flex: 0 0 auto; width: 3rem; padding: 0; }
.mbar.is-on { transform: none; }
@media (max-width: 760px) { .mbar { display: flex; } }

/* ---------- page heads ---------- */
.phead { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.25rem; }
.phead h1 { font-size: calc(clamp(3.5rem, 1rem + 8vw, 9rem) * var(--sec-hk, 1)); line-height: calc(0.88 * var(--head-lh)); letter-spacing: calc(var(--head-tight) * 1.6); }
.phead--calm h1 { font-size: var(--step-head); line-height: var(--head-lh); letter-spacing: var(--head-tight); }
.phead p { font-size: var(--step-lead); font-weight: var(--sec-bw, 300); line-height: calc(1.3 * var(--body-lh)); max-width: 34ch; }
/* the line under the title on one line (everywhere, or on computers only): it gets smaller where the screen is too
   narrow for it at full size (--fit, from the script beside it and main.js). Its line keeps the height it has at
   full size, so nothing under it moves when it is fitted */
.phead p.fitline--all { max-width: none; min-width: 0; white-space: nowrap; font-size: calc(var(--step-lead) * var(--fit, 1)); line-height: calc(var(--step-lead) * 1.3 * var(--body-lh)); }
@media (min-width: 761px) { .phead p.fitline--desktop { max-width: none; min-width: 0; white-space: nowrap; font-size: calc(var(--step-lead) * var(--fit, 1)); line-height: calc(var(--step-lead) * 1.3 * var(--body-lh)); } }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.chip { min-height: 2.75rem; padding: 0.5rem 1.15rem; border-radius: 999px; background: var(--panel-2); font-weight: 500; transition: background-color 180ms ease, color 180ms ease; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { background: var(--panel-3); } }
.filters__count { margin-left: auto; color: var(--muted); }
.filters--count .filters__count { margin-left: 0; }
.no-js .filters, .no-js .work__filters { display: none; }

/* ---------- work grid ---------- */
.wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem); padding-bottom: calc(var(--section) / 2); }
.wgrid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wgrid--rows { grid-template-columns: 1fr; gap: 0; }
.wgrid--rows .wcard__open { grid-template-columns: clamp(6rem, 14vw, 11rem) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding-block: 1rem; }
.wgrid--rows .wcard__name { margin-top: 0; font-size: var(--step-lead); }
.wcard[hidden] { display: none; }
.wcard__open { display: grid; text-decoration: none; color: inherit; }
.wcard__words { display: block; }
.wcard__media { background: var(--panel); transition: transform 500ms var(--ease-out); }
.wcard__media img { transition: transform 800ms var(--ease-soft); }
.wcard__name { margin-top: 0.9rem; font-size: 1.375rem; font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); line-height: calc(1.15 * var(--head-lh)); }
.wcard__client { color: var(--muted); }
.js .wcard__more { display: none; }
.wcard__more { display: grid; gap: 0.6rem; margin-top: 0.75rem; }
.wcard__gallery { display: none; }
@media (hover: hover) and (pointer: fine) {
  .wcard__open:hover .wcard__name { color: var(--red); }
  .bm-hover-zoom .wcard__open:hover img { transform: scale(1.05); }
  .bm-hover-lift .wcard__open:hover .wcard__media { transform: translateY(-6px) rotate(var(--tilt, 0deg)); }
  .bm-hover-tilt .wcard__open:hover .wcard__media { transform: rotate(calc(var(--tilt, 0deg) - 1.2deg)); }
}
@media (max-width: 1000px) { .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wgrid--rows { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .wgrid, .wgrid--two { grid-template-columns: 1fr; } }

/* ---------- project viewer: a popup (pictures beside or above the words) or full screen, with simple arrows
   either side to move between projects. On phones it fills the screen and the arrows sit in a bar below ---------- */
.viewer { --vw: min(1180px, calc(100vw - 9rem)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.viewer[open] { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; display: grid; place-items: center; }
.viewer::backdrop { background: rgba(5, 5, 5, 0.86); }
.viewer__frame { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); width: var(--vw); height: min(78svh, 740px); border-radius: var(--radius-lg); background: var(--panel); overflow: hidden; }
.viewer__gallery { position: relative; min-height: 0; background: #000; }
.viewer__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; padding: 0; margin: 0; }
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__track:focus-visible { outline-offset: -4px; }
.viewer__track li { flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }
.viewer__track img { width: 100%; height: 100%; object-fit: cover; }
.viewer--whole .viewer__track img { object-fit: contain; }
.viewer__nav { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; justify-content: space-between; }
.viewer__count { padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--scrim); }
.round { width: 3rem; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transition: background-color 180ms ease, color 180ms ease; }
.round svg { width: 46%; overflow: visible; }
.round path { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .round:hover { background: var(--ink); color: var(--red); } }
.viewer__info { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); overflow-y: auto; }
.viewer__main, .viewer__side { display: contents; }
.viewer__close { align-self: flex-end; min-height: 2.5rem; padding: 0.4rem 1.1rem; border-radius: 999px; background: var(--panel-2); font-weight: 600; }
.viewer__title { font-size: clamp(2rem, 1rem + 2.5vw, 3.25rem); }
.viewer__labels, .wcard__labels { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.viewer__labels li, .wcard__labels li { padding: 0.25rem 0.8rem; border-radius: 999px; background: var(--panel-2); font-size: 0.9375rem; }
.viewer__labels:empty, .viewer__link:empty { display: none; }
.viewer__cta { margin-top: auto; display: grid; gap: 0.75rem; padding-top: 1.25rem; }
.viewer__arrows { display: contents; }
.viewer__arrow { position: fixed; z-index: 4; top: 50%; width: 3.5rem; height: 3.5rem; margin-top: -1.75rem; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background-color 180ms ease, transform 160ms var(--ease-out); }
.viewer__arrow svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.viewer__arrow:active { transform: scale(0.92); }
.viewer__arrow--prev { left: max(0.5rem, calc((100vw - var(--vw)) / 2 - 4.25rem)); }
.viewer__arrow--next { right: max(0.5rem, calc((100vw - var(--vw)) / 2 - 4.25rem)); }
.viewer__arrowtext, .viewer__where { display: none; }
@media (hover: hover) and (pointer: fine) {
  .viewer__arrow:hover { background: rgba(255, 255, 255, 0.14); }
  .viewer__close:hover { background: var(--ink); color: var(--bg); }
}
/* wide: the pictures across the top, the words in two columns below */
.viewer--wide { --vw: min(1320px, calc(100vw - 9rem)); }
.viewer--wide .viewer__frame { display: block; height: auto; max-height: calc(100svh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
.viewer--wide .viewer__gallery { height: min(68svh, 760px); }
.viewer--wide .viewer__info { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 1fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: start; overflow: visible; }
.viewer--wide .viewer__main, .viewer--wide .viewer__side { display: grid; gap: 1rem; align-content: start; }
.viewer--wide .viewer__close { position: absolute; z-index: 3; top: 1rem; right: 1rem; background: var(--scrim); }
.viewer--wide .viewer__cta { margin-top: 0; padding-top: 0.25rem; }
/* full screen on a computer: the arrows sit on the edges of the screen */
.viewer--full .viewer__frame { width: 100%; height: 100%; border-radius: 0; }
.viewer--full .viewer__info { padding-right: 5.5rem; }
.viewer--full .viewer__arrow { background: var(--scrim); }
.viewer--full .viewer__arrow--prev { left: 1rem; }
.viewer--full .viewer__arrow--next { right: 1rem; }
@media (max-width: 860px) {
  .viewer .viewer__frame { display: grid; width: 100%; height: 100%; max-height: none; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: 42svh minmax(0, 1fr); overflow: hidden; }
  .viewer .viewer__gallery { height: auto; }
  .viewer .viewer__info { display: flex; overflow-y: auto; padding: 1.5rem var(--margin) 5.75rem; }
  .viewer .viewer__main, .viewer .viewer__side { display: contents; }
  .viewer .viewer__close { position: static; background: var(--panel-2); }
  .viewer .viewer__cta { margin-top: auto; padding-top: 1rem; }
  .viewer__arrows { position: fixed; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.6rem var(--margin) calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: var(--panel); border-top: 1px solid var(--line); }
  .viewer .viewer__arrow { position: static; margin: 0; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--panel-2); color: var(--ink); }
  .viewer__arrow svg { width: 1.3rem; height: 1.3rem; stroke-width: 2.4; }
  .viewer__where { display: block; color: var(--muted); font-size: 0.9375rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
}

/* ---------- one project on its own page ---------- */
.project { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: calc(var(--section) / 2); }
.project__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.project__head h1 { font-size: clamp(3rem, 1rem + 6.5vw, 7.5rem); line-height: calc(0.92 * var(--head-lh)); letter-spacing: calc(var(--head-tight) * 1.5); }
.project__client { color: var(--muted); font-size: var(--step-lead); font-weight: 300; }
.project__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.project__story { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.project__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.project__gallery { grid-column: 5 / 13; display: grid; gap: var(--gutter); list-style: none; padding: 0; margin: 0; }
.project__gallery img { width: 100%; border-radius: var(--radius); }
.project__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.project__arrows { display: flex; gap: 0.5rem; }
.project__arrow { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; background: var(--panel-2); color: var(--ink); transition: background-color 180ms ease, color 180ms ease; }
.project__arrow svg, .project__pg svg { flex: none; width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.project__pager { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.project__pg { display: flex; align-items: center; gap: 1rem; min-width: 0; text-decoration: none; }
.project__pg > span { display: grid; gap: 0.2rem; min-width: 0; }
.project__pg b { font-family: var(--font-head); font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); line-height: calc(1.15 * var(--head-lh)); transition: color 180ms ease; }
.project__pg svg { width: 1.6rem; height: 1.6rem; }
.project__pg--next { justify-content: flex-end; text-align: right; }
@media (hover: hover) and (pointer: fine) { .project__arrow:hover { background: var(--accent); color: var(--accent-ink); } .project__pg:hover b { color: var(--red); } }
@media (max-width: 600px) { .project__pager { grid-template-columns: 1fr; } .project__pg--next { justify-content: space-between; } }
@media (max-width: 900px) { .project__body { display: block; } .project__story { position: static; margin-bottom: 2rem; } }

/* ---------- a project laid out like a case study on Behance (chosen with each project in the panel) ----------
   One column of blocks with an even space between them (--flow-gap). A row's pictures each take a width in
   proportion to their shape (--r, width over height), so they share one height and none is cut. On a background of
   its own the column sits on a band across the page. */
.flow { --flow-w: 87.5rem; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); }
.flow--narrow { --flow-w: 62.5rem; }
.flow--page { --flow-w: none; }
.flow--edge { --flow-w: none; padding-inline: 0; }
.flow--bg { padding-block: clamp(1.5rem, 4vw, 3.5rem); }
.flow__col { display: grid; gap: var(--flow-gap, 14px); max-width: var(--flow-w); margin-inline: auto; }
.flow__row { display: flex; align-items: flex-start; gap: var(--flow-gap, 14px); }
.flow__pic { flex: var(--r, 1) 1 0; min-width: 0; margin: 0; overflow: hidden; background: var(--panel); }
.flow__pic img { width: 100%; height: 100%; object-fit: cover; }
.flow--round .flow__pic { border-radius: var(--radius); }
.flow__text { display: grid; gap: 1rem; padding: clamp(1.75rem, 4.5vw, 4rem) clamp(0rem, 4vw, 4.5rem); }
.flow__text > * { max-width: 46rem; }
.flow__text--center { justify-items: center; text-align: center; }
.flow__text h2 { font-size: var(--step-lead); line-height: calc(1.15 * var(--head-lh)); }
.flow__text p { line-height: calc(1.6 * var(--body-lh)); }
.flow__text--s { font-size: var(--step-small); }
.flow__text--l { font-size: var(--step-lead); font-weight: var(--sec-bw, 300); }
.flow__text--l h2 { font-size: var(--step-head); }
.flow__text--l > * { max-width: 52rem; }
.project--flow .project__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.project__end { display: grid; justify-items: center; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.project__end .facts, .project__end .project__actions { justify-content: center; }
@media (max-width: 760px) {
  .flow__row--stack { flex-direction: column; }
  .flow__row--stack .flow__pic { flex: none; width: 100%; }
}

/* ---------- services explorer ---------- */
.sx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; padding-bottom: calc(var(--section) / 2); }
.sx__tabs { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 0.3rem; }
/* on a page other than Services, the services are spaced like any other section, with their own headline */
.sx--away, .tl.tl--away { padding-top: calc(var(--section) / 2); }
.sx > .sx__head { grid-column: 1 / -1; }
.svc--intro .sx__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sx__tab { display: grid; grid-template-columns: 2.25rem 1fr; align-items: center; gap: 0.5rem; padding: 0.95rem 1.15rem; border-radius: 1.1rem; text-align: left; font-size: 1.25rem; font-weight: 700; color: var(--muted); transition: background-color 200ms ease, color 200ms ease; }
.sx__num { color: var(--red); }
.sx__tab[aria-selected="true"] { background: var(--panel-2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .sx__tab:hover { color: var(--ink); } }
.sx__stage { grid-column: 6 / 13; }
.sx--stack .sx__stage { grid-column: 1 / -1; }
.sx--stack .sx__panel { display: grid; margin-bottom: clamp(3rem, 6vw, 5rem); }
.sx--stack .sx__visual img { aspect-ratio: 21 / 9; }
.sx__panel { display: none; gap: 1.4rem; }
.sx__panel.is-active { display: grid; }
.sx__icon { width: 4rem; }
.sx__title { font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem); max-width: 18ch; }
.sx__deliver { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.sx__deliver li { padding: 0.45rem 1rem; border-radius: 999px; background: var(--panel-2); }
.sx__examples { display: flex; flex-wrap: wrap; gap: 1rem; }
.sx__ex { display: grid; gap: 0.4rem; width: 7rem; text-decoration: none; }
.sx__ex img { aspect-ratio: 1; object-fit: cover; border-radius: 1rem; }
.sx__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.sx__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
@media (max-width: 900px) {
  .sx { display: block; }
  .sx__tabs { display: none; }
  .sx__panel { display: grid; margin-bottom: 4rem; }
}

/* ---------- services down a line, as on the Instagram highlight. Every choice comes from the panel ----------
   Each service is a grid: the line's column (the rail), then its words; rows for an icon above the title, the
   title, the words, room for a picture, and the space before the next one. The line runs the whole list; small
   caps in the page colour hide it above the first mark and below the last, so it starts and ends on them. */
.tl {
  --tl-track: var(--line);
  --tl-icon: calc(clamp(3.75rem, 2.6rem + 2.2vw, 4.75rem) * var(--tl-ik, 1));
  --tl-msize: calc(0.875rem * var(--tl-mk, 1));
  --tl-rail: max(1.25rem, var(--tl-msize));
  --tl-ring: max(2px, var(--tl-thick, 2px));
  --tl-gutter: clamp(1.25rem, 3.2vw, 3.25rem);
  --tl-gap: calc(clamp(3rem, 1.75rem + 3.8vw, 5.75rem) * var(--tl-gk, 1));
  --tl-ts: clamp(1.5rem, 1.05rem + 1.5vw, 2.5rem);
  --tl-measure: 44rem;
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
  padding-bottom: calc(var(--section) / 2);
}
@supports (color: color-mix(in srgb, red, red)) { .tl { --tl-track: color-mix(in srgb, var(--ink) 20%, var(--bg)); } }
.tl--mark-ring { --tl-msize: calc(1.125rem * var(--tl-mk, 1)); }
.tl--mark-number { --tl-msize: calc(2.5rem * var(--tl-mk, 1)); }
.tl--mark-icon { --tl-msize: var(--tl-icon); }
.tl--mark-none { --tl-msize: 0px; }
.tl--ts-s { --tl-ts: var(--step-lead); }
.tl--ts-l { --tl-ts: clamp(1.875rem, 1rem + 2.9vw, 3.625rem); }
.tl--w-narrow { --tl-measure: 32rem; }
.tl--w-wide { --tl-measure: 62rem; }

.tl__box { position: relative; }
.tl__track, .tl__fill { position: absolute; top: 0; bottom: 0; left: calc(var(--tl-rail) / 2 - var(--tl-thick, 2px) / 2); width: var(--tl-thick, 2px); background: var(--tl-lc); pointer-events: none; }
.tl__track { --tl-lc: var(--tl-track); }
.tl__fill { --tl-lc: var(--tl-c, var(--red)); transform-origin: 50% 0; will-change: transform; }
.tl--dashed .tl__track, .tl--dashed .tl__fill { background: repeating-linear-gradient(to bottom, var(--tl-lc) 0 calc(var(--tl-thick, 2px) * 4), transparent 0 calc(var(--tl-thick, 2px) * 7)); }
.tl--dotted .tl__track, .tl--dotted .tl__fill { background: radial-gradient(circle closest-side, var(--tl-lc) 88%, transparent) 50% 0 / var(--tl-thick, 2px) calc(var(--tl-thick, 2px) * 2.5) repeat-y; }

.tl__list { display: grid; margin: 0; padding: 0; list-style: none; }
.tl__step { display: grid; grid-template-columns: var(--tl-rail) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr var(--tl-gap); column-gap: var(--tl-gutter); }
.tl__step:last-child { grid-template-rows: auto auto auto 1fr 0px; }
.tl--noline .tl__step { grid-template-columns: minmax(0, 1fr); }
.tl__top, .tl__head, .tl__body, .tl__pic { grid-column: 2; min-width: 0; }
.tl--noline :is(.tl__top, .tl__head, .tl__body, .tl__pic) { grid-column: 1; }
.tl__top { grid-row: 1; margin-bottom: clamp(0.85rem, 1.5vw, 1.25rem); }
.tl__head { grid-row: 2; align-self: center; display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.5rem); max-width: var(--tl-measure); }
.tl__body { grid-row: 3; display: grid; justify-items: start; gap: 1rem; margin-top: clamp(0.9rem, 1.5vw, 1.35rem); max-width: var(--tl-measure); }
.tl__pic { grid-row: 4; margin: 1.5rem 0 0; }
.tl__pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.tl__title { font-size: var(--tl-ts); line-height: calc(1.04 * var(--head-lh)); transition: color 300ms ease; }
.tl--caps .tl__title { text-transform: uppercase; letter-spacing: calc(var(--head-tight) * 0.5 + 0.01em); }
.tl__desc { color: var(--muted); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: calc(1.5 * var(--body-lh)); max-width: 54ch; }
.tl__cta { margin-top: 0.1rem; }

/* the caps that end the line on the first and last marks */
.tl__cap { grid-column: 1; justify-self: center; z-index: 1; width: calc(var(--tl-thick, 2px) + 4px); background: var(--bg); }
.tl__cap--a { grid-row: 1; }
.tl__cap--b { grid-row: 2; align-self: start; height: 50%; }
.tl__cap--c { grid-row: 2; align-self: end; height: 50%; }
.tl__cap--d { grid-row: 3 / -1; }

/* the marks: as drawn here, a mark is reached; while the line fills in, the ones ahead are open circles */
.tl__mark { --m: var(--tl-msize); --now: 1.3; grid-column: 1; grid-row: 2; align-self: center; justify-self: center; z-index: 2; display: grid; place-items: center; width: var(--m); height: var(--m); border-radius: 50%; background: var(--tl-c, var(--red)); box-shadow: inset 0 0 0 var(--tl-ring) var(--tl-c, var(--red)); color: var(--bg); transition: background-color 300ms ease, box-shadow 300ms ease, color 300ms ease, transform 420ms var(--ease-out); }
.tl__mark--dot { --m: calc(0.875rem * var(--tl-mk, 1)); }
.tl__mark--ring { --m: calc(1.125rem * var(--tl-mk, 1)); background: var(--bg); }
.tl__mark--number { --m: calc(2.5rem * var(--tl-mk, 1)); --now: 1.12; font-family: var(--font-head); font-weight: 700; font-size: calc(0.9375rem * var(--tl-mk, 1)); line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.tl__mark--icon { --m: var(--tl-icon); --now: 1.06; background: var(--bg); box-shadow: 0 0 0 var(--tl-ring) var(--tl-c, var(--red)); }
.tl__mark--icon .tl__ic { width: 100%; height: 100%; padding: 15%; }
@media (prefers-reduced-motion: no-preference) {
  .js body:not(.bm-still) .tl--fill-scroll .tl__fill { transform: scaleY(0); }
  .js body:not(.bm-still) .tl--fill-scroll:not(.tl--solid) .tl__fill { transform: none; clip-path: inset(0 0 100% 0); }
  .js body:not(.bm-still) .tl--fill-scroll .tl__step:not(.is-reached) .tl__mark { background: var(--bg); box-shadow: inset 0 0 0 var(--tl-ring) var(--tl-track); color: var(--muted); }
  .js body:not(.bm-still) .tl--fill-scroll .tl__step:not(.is-reached) .tl__mark--icon { box-shadow: 0 0 0 var(--tl-ring) var(--tl-track); }
  .js body:not(.bm-still) .tl--fill-scroll.tl--light .tl__step.is-now .tl__mark { transform: scale(var(--now)); }
  .js body:not(.bm-still) .tl--fill-scroll.tl--light .tl__step.is-now .tl__mark:not(.tl__mark--icon) { box-shadow: inset 0 0 0 var(--tl-ring) var(--tl-c, var(--red)), 0 0 0 calc(var(--tl-ring) * 2.5) color-mix(in srgb, var(--tl-c, var(--red)) 26%, transparent); }
  .js body:not(.bm-still) .tl--fill-scroll.tl--light .tl__step.is-now .tl__title { color: var(--tl-c, var(--red)); }
}

/* the icons: their colours as a picture, their lines painted in the colour that reads on what is behind them */
.tl__ic { --ic-ink: var(--tl-icon-ink, var(--ink)); position: relative; flex: none; display: block; width: var(--tl-icon); height: var(--tl-icon); border-radius: 50%; }
.tl__ic-in { position: relative; display: block; width: 100%; height: 100%; }
.tl__ic-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tl__ink { position: absolute; inset: 0; background: var(--ic-ink); -webkit-mask: var(--ic-mask) center / contain no-repeat; mask: var(--ic-mask) center / contain no-repeat; }
.tl--ibg-card .tl__ic, .tl--ibg-accent .tl__ic { padding: 17%; }
.tl--ibg-card .tl__ic { background: var(--card); --ic-ink: var(--tl-icon-ink, var(--card-ink)); }
.tl--ibg-accent .tl__ic { background: var(--accent); --ic-ink: var(--tl-icon-ink, var(--accent-ink)); }
.tl__ic--dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.75rem; height: 0.75rem; margin: -0.375rem 0 0 -0.375rem; border-radius: 50%; background: var(--tl-c, var(--red)); }

@media (min-width: 761px) {
  /* the line in the middle: the services take turns on either side, their pictures across from them */
  .tl--middle .tl__track, .tl--middle .tl__fill { left: calc(50% - var(--tl-thick, 2px) / 2); }
  .tl--middle .tl__step { grid-template-columns: minmax(0, 1fr) var(--tl-rail) minmax(0, 1fr); }
  .tl--middle.tl--noline .tl__step { grid-template-columns: minmax(0, 1fr) 0px minmax(0, 1fr); }
  .tl--middle .tl__mark, .tl--middle .tl__cap { grid-column: 2; }
  .tl--middle .tl__step:nth-child(odd) > :is(.tl__top, .tl__head, .tl__body) { grid-column: 3; }
  .tl--middle .tl__step:nth-child(even) > :is(.tl__top, .tl__head, .tl__body) { grid-column: 1; justify-self: end; text-align: right; }
  .tl--middle .tl__step:nth-child(even) .tl__head { flex-direction: row-reverse; }
  .tl--middle .tl__step:nth-child(even) .tl__body { justify-items: end; }
  .tl--middle .tl__step:nth-child(even) :is(.sx__deliver, .sx__examples) { justify-content: flex-end; }
  .tl--middle .tl__pic { grid-row: 1 / 5; align-self: center; margin: 0; }
  .tl--middle .tl__step:nth-child(odd) .tl__pic { grid-column: 1; }
  .tl--middle .tl__step:nth-child(even) .tl__pic { grid-column: 3; }
  /* on the left, a picture sits beside the words */
  .tl--left.tl--pics .tl__step { grid-template-columns: var(--tl-rail) minmax(0, 1fr) minmax(0, 0.8fr); }
  .tl--left.tl--pics.tl--noline .tl__step { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .tl--left .tl__pic { grid-column: 3; grid-row: 1 / 5; align-self: start; margin: 0; }
  .tl--left.tl--noline .tl__pic { grid-column: 2; }
}
@media (min-width: 901px) {
  /* the title and its words side by side, on one top line. The words run on into a stretchy row of their own,
     so however long they are, the title's row (and the mark centred on it) keeps its height */
  .tl--left.tl--side .tl__step { grid-template-columns: var(--tl-rail) minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-rows: auto auto 1fr auto var(--tl-gap); }
  .tl--left.tl--side .tl__step:last-child { grid-template-rows: auto auto 1fr auto 0px; }
  .tl--left.tl--side.tl--noline .tl__step { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .tl--left.tl--side .tl__body { grid-column: 3; grid-row: 2 / 4; align-self: start; margin-top: 0; }
  .tl--left.tl--side .tl__pic { grid-column: 3; grid-row: 4; align-self: start; margin-top: 1.25rem; }
  .tl--left.tl--side.tl--noline :is(.tl__body, .tl__pic) { grid-column: 2; }
}
@media (max-width: 760px) {
  .tl { --tl-gutter: 1rem; --tl-icon: calc(3.25rem * var(--tl-ik, 1)); }
  .tl__head { gap: 0.85rem; }
}

/* ---------- about & contact ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.split__text { grid-row: 1; grid-column: 1 / 7; display: grid; gap: 1.25rem; }
.split__text h2 { font-size: var(--step-head); }
.split__media { grid-row: 1; grid-column: 7 / 13; }
.split--rev .split__media { grid-column: 1 / 6; }
.split--rev .split__text { grid-column: 7 / 13; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.facts li { padding: 0.45rem 1rem; border-radius: 999px; background: var(--panel-2); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 2rem); }
.office { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); background: var(--panel); display: grid; gap: 0.75rem; align-content: start; }
.offices--plain .office { padding: 0; background: none; }
.office h3 { font-size: var(--step-lead); }
.office address { font-style: inherit; color: var(--muted); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.trio--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trio--two .case:nth-child(n+3) { display: none; }
.trio--one { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trio--one .case:first-child { grid-column: 1 / -1; }
.trio--one .case:first-child .case__media { aspect-ratio: 21 / 9; }
.trio .case__line { margin-top: 0.75rem; }
@media (max-width: 800px) {
  .split { display: flex; flex-direction: column; gap: 2rem; align-items: stretch; }
  .split__text { order: 1; }
  .split__media { order: 2; }
  .offices { grid-template-columns: 1fr; }
  .pframe__cap { bottom: -1.25rem; }
}
@media (max-width: 760px) { .trio, .trio--two, .trio--one { grid-template-columns: 1fr; } .trio--one .case:first-child .case__media { aspect-ratio: 4 / 3; } }
/* the picture before the words on phones, chosen with the section (its look: On phones, the picture) */
@media (max-width: 800px) { .sec--pic-first .split__media { order: 0; } }
@media (max-width: 900px) { .sec--pic-first .own--split .own__media { order: -1; } }

/* ---------- full-width slideshow ---------- */
.showcase { position: relative; width: 100%; height: min(92svh, 56vw); min-height: 34rem; overflow: hidden; background: var(--bg); margin-block: calc(var(--section) / 2); }
.showcase__slides { position: absolute; inset: 0; }
.showcase__slides::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.98) 0%, rgba(var(--bg-rgb), 0.92) 26%, rgba(var(--bg-rgb), 0.45) 48%, rgba(var(--bg-rgb), 0) 66%); } /* taste-skill-ignore: scrim that keeps the words readable over the photo */
.showcase__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1200ms ease-in-out; }
.showcase__slide.is-active { opacity: 1; }
.showcase__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 7000ms linear; }
.showcase__slide.is-active img { transform: scale(1); }
.showcase--slide .showcase__slide { opacity: 0; transform: translateX(8%); transition: opacity 700ms ease, transform 900ms var(--ease-out); }
.showcase--slide .showcase__slide.is-active { opacity: 1; transform: none; }
.showcase--slide .showcase__slide img { transform: none; transition: none; }
.showcase__text { position: absolute; z-index: 2; left: var(--margin); top: 0; bottom: 0; width: min(40%, 36rem); display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.showcase__heading { font-size: var(--step-display); max-width: 9ch; }
.showcase__lede { font-size: var(--step-lead); line-height: calc(1.3 * var(--body-lh)); font-weight: var(--sec-bw, 300); max-width: 24ch; }
.showcase__now { display: grid; gap: 0.15rem; margin-top: 1rem; }
.showcase__now strong { font-size: var(--step-lead); font-weight: 700; color: var(--red); }
.showcase__now span { color: var(--muted); }
.showcase--plain .showcase__slides::after { display: none; }
.showcase--plain .showcase__text { justify-content: flex-end; padding-bottom: 2.5rem; }
.showcase--plain .showcase__now { width: fit-content; padding: 0.7rem 1.1rem; border-radius: 1rem; background: var(--scrim); }
.showcase__controls { position: absolute; z-index: 3; right: var(--margin); bottom: calc(var(--margin) + 1.25rem); display: flex; gap: 0.85rem; }
.showcase__arrow { width: clamp(3.75rem, 5.5vw, 5.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.showcase__arrow svg { width: 46%; overflow: visible; }
.showcase__arrow path { fill: none; stroke: var(--accent-ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 180ms ease; }
.showcase__arrow:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .showcase__arrow:hover { background: var(--ink); } .showcase__arrow:hover path { stroke: var(--red); } }
.showcase__progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.12); }
.showcase__progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.showcase.is-running .showcase__progress span { animation: showcase-progress var(--slide-s, 5s) linear forwards; }
.showcase.is-paused .showcase__progress span { animation-play-state: paused; }
@keyframes showcase-progress { to { transform: scaleX(1); } }
@media (max-width: 860px) {
  .showcase { height: 82svh; min-height: 30rem; }
  .showcase__slides::after { background: linear-gradient(0deg, rgba(var(--bg-rgb), 0.98) 0%, rgba(var(--bg-rgb), 0.9) 58%, rgba(var(--bg-rgb), 0.62) 76%, rgba(var(--bg-rgb), 0.15) 100%); } /* taste-skill-ignore: scrim over photo */
  .showcase__text { right: var(--margin); width: auto; justify-content: flex-end; padding-bottom: 6.5rem; gap: 1rem; }
  .showcase__heading { font-size: calc(10vw * var(--sec-hk, 1)); }
  .showcase__arrow { width: 3.5rem; }
}

/* ---------- brands on crossing strips of tape ---------- */
.tapes { margin-top: clamp(1rem, 2vw, 1.5rem); }
.tapes__box { position: relative; height: clamp(11rem, 17vw, 16rem); overflow: hidden; border-radius: var(--radius-lg); background: var(--panel); }
.tapes--single .tapes__box { height: clamp(6rem, 9vw, 9rem); }
.tape { position: absolute; left: -4%; right: -4%; padding-block: clamp(0.6rem, 1.1vw, 1rem); }
.tape--red { top: 30%; background: var(--accent); color: var(--accent-ink); transform: translateY(-50%) rotate(-2.4deg); z-index: 2; }
.tapes--single .tape--red { top: 50%; }
.tape--white { top: 72%; background: var(--ink); color: var(--bg); transform: translateY(-50%) rotate(1.8deg); z-index: 1; }
.tape .art--seed { display: inline-block; width: 0.42em; height: 0.5em; margin: 0 0.4em; vertical-align: 0.05em; color: currentColor; }
.tape--white .art--seed { color: var(--red); }

/* ---------- brands we grew ---------- */
.slice { position: relative; display: inline-block; width: 0.82em; height: 0.82em; border-radius: 50%; overflow: hidden; vertical-align: -0.06em; background: var(--panel); }
.slice img { width: 100%; height: 100%; object-fit: cover; }
.slice::after { content: ""; position: absolute; left: 50%; top: 50%; width: 62%; height: 13%; border-radius: 999px; background: var(--bg); transform-origin: 0 50%; transform: translate(0, -50%) rotate(135deg); }
.work__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.names { font-size: clamp(2.25rem, 0.6rem + 4.6vw, 4.875rem); font-weight: 800; letter-spacing: calc(var(--head-tight) * 1.17); word-spacing: var(--head-ws); line-height: calc(1.12 * var(--head-lh)); font-family: var(--font-head); }
.names h2 { display: inline; font-size: inherit; letter-spacing: inherit; line-height: inherit; }
.names ul { display: inline; padding: 0; margin: 0; }
.names li { display: inline; }
.names a { white-space: nowrap; text-decoration: none; color: var(--dim); transition: color 180ms ease, opacity 300ms ease; }
.names a .slice { margin-left: 0.12em; margin-right: 0.04em; transition: transform 320ms var(--ease-out); transform-origin: 0 60%; }
.names a:focus-visible, .names a.is-match { color: var(--ink); }
.names.is-filtered a:not(.is-match) { opacity: 0.22; }
@media (hover: hover) and (pointer: fine) { .names a:hover { color: var(--ink); } .names a:hover .slice { transform: scale(1.45); } }
.work__count { margin-top: 2.5rem; font-size: var(--step-small); color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.work__count a { color: var(--ink); }
@media (max-width: 760px) { .names { font-size: 9vw; line-height: calc(1.22 * var(--head-lh)); } .names li:nth-child(n+4) .slice { display: none; } }
.work-field--red { background: var(--accent); color: var(--accent-ink); padding-block: clamp(4.5rem, 8vw, 8rem); margin-block: calc(var(--section) / 2); }
.work-field--red .names a { color: var(--bg); }
.work-field--red .names a:focus-visible, .work-field--red .names a.is-match { color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .work-field--red .names a:hover { color: var(--accent-ink); } .work-field--red .chip:not([aria-pressed="true"]):hover { background: var(--bg); color: var(--ink); } }
.work-field--red .names.is-filtered a:not(.is-match) { opacity: 0.35; }
.work-field--red .slice::after { background: var(--accent); }
.work-field--red .chip { background: var(--accent-deep); color: var(--accent-ink); }
.work-field--red .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.work-field--red .work__count, .work-field--red .work__count a { color: var(--accent-ink); }
.work-field--red :focus-visible { outline-color: var(--ink); }

/* ---------- numbered service blocks ---------- */
.svc__heading { font-size: var(--step-head); text-align: center; margin-inline: auto; }
.svc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.75rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); list-style: none; padding: 0; }
.svc__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc--intro .svc__grid { margin-top: 0; margin-bottom: clamp(3rem, 6vw, 5rem); }
.svc-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: clamp(1.25rem, 2.4vw, 2.25rem); min-height: 100%; padding: clamp(1.5rem, 2.6vw, 2.5rem) clamp(1.5rem, 3vw, 2.75rem); border-radius: var(--radius-lg); background: var(--accent); color: var(--accent-ink); text-decoration: none; transition: transform 220ms var(--ease-out), background-color 180ms ease; }
.svc-card__num { font-size: clamp(2.75rem, 1.5rem + 3vw, 4.5rem); font-family: var(--font-head); font-weight: var(--head-weight); line-height: var(--head-lh); letter-spacing: calc(var(--head-tight) * 1.33); min-width: 1.1ch; }
.svc-card h3 { font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); line-height: calc(1.1 * var(--head-lh)); }
.svc-card__body > span { display: block; margin-top: 0.5rem; }
.svc-card__icon { width: clamp(2.75rem, 4vw, 3.75rem); }
.svc-card .art .ln { stroke: var(--accent-ink); }
.svc-card:active { transform: scale(0.98); }
.svc-card .art--icon { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .svc-card:hover { transform: translateY(-4px); background: var(--accent-deep); } .svc-card:hover .art--icon { transform: rotate(-8deg); } }
@media (max-width: 1000px) { .svc__grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .svc__grid, .svc__grid--three { grid-template-columns: 1fr; } }

/* ---------- how a brand grows ---------- */
.process__heading { font-size: var(--step-head); max-width: 14ch; }
.process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(3rem, 5vw, 4.5rem); list-style: none; padding: 0; }
.process--pairs .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3.5rem; }
.step .art--step { width: 100%; max-width: 15rem; margin-bottom: 1.75rem; transition: transform 300ms var(--ease-out); }
.step h3 { font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); }
.step p { margin-top: 0.75rem; color: var(--muted); max-width: 28ch; }
@media (hover: hover) and (pointer: fine) { .step:hover .art--step { transform: translateY(-4px) rotate(-1deg); } }
@media (max-width: 900px) { .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3.5rem; } }
@media (max-width: 520px) { .process__steps, .process--pairs .process__steps { grid-template-columns: 1fr; } .step .art--step { max-width: 12rem; } }

/* ---------- sliding shelf ---------- */
.shelf__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.shelf__head h2 { font-size: var(--step-head); }
.shelf__arrows { display: flex; gap: 0.75rem; }
.shelf__arrows .showcase__arrow { width: 3.5rem; }
.shelf__track { display: flex; gap: clamp(1rem, 2vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding-bottom: 0.5rem; margin: 0; list-style: none; scrollbar-width: none; cursor: grab; }
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shelf__track li { flex: 0 0 min(78vw, 36rem); scroll-snap-align: start; }
.shelf--small .shelf__track li { flex-basis: min(60vw, 22rem); }
.shelf__item { display: grid; gap: 0.35rem; text-decoration: none; user-select: none; }
.shelf__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); transition: transform 500ms var(--ease-out); pointer-events: none; }
.shelf__name { margin-top: 0.6rem; font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); }
.shelf__what { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .shelf__item:hover img { transform: scale(1.025) rotate(-0.6deg); } .shelf__item:hover .shelf__name { color: var(--red); } }
@media (max-width: 760px) { .shelf__head { flex-direction: column; align-items: flex-start; } }

/* ---------- footer ----------
   Small words, scaled together by the panel (--ft-k), and the logo at the bottom left at the width chosen there
   (--fl-w, a share of the footer's width: 100% runs it across, as the footer first shipped) */
.site-footer { background: var(--footer); color: var(--footer-ink); padding: clamp(2.75rem, 5.5vw, 4.5rem) var(--margin) clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: clamp(2rem, 4vw, 3rem); font-size: calc(0.9375rem * var(--ft-k, 1)); line-height: calc(1.55 * var(--body-lh)); }
/* the big line first, then one column for each office and one for "Say hello", however many offices there are */
.footer__cols { display: grid; grid-template-columns: minmax(0, 1.4fr); grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; align-items: start; gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.footer__cols h2 { font-size: calc(clamp(1.75rem, 1.1rem + 1.9vw, 2.875rem) * var(--ft-k, 1) * var(--sec-hk, 1)); max-width: 11ch; }
.footer__cols h3 { font-size: 1em; font-weight: 700; letter-spacing: 0; margin-bottom: 0.5rem; }
.footer__cols ul { display: grid; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
.footer__cols a { text-decoration: none; }
.footer__cols address { font-style: inherit; }
.footer__cta { margin-top: 1.25rem; }
.footer__phones { margin-top: 0.5rem !important; }
.footer__art { width: clamp(5rem, 7vw, 7.5rem); margin-top: 1.25rem; }
@media (hover: hover) and (pointer: fine) { .footer__cols a:not(.btn):hover { text-decoration: underline; } }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem clamp(1.5rem, 3vw, 2.5rem); }
.footer__name { flex: none; width: clamp(6.5rem, var(--fl-w, 18%), 100%); height: auto; filter: var(--footer-logo); }
.footer__legal { flex: 1 1 18rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0.35rem 2rem; font-size: 0.875em; }
.footer__bottom--wide .footer__legal { flex-basis: 100%; }
/* WhatsApp and the social links as icons (set with the footer in the panel): a row under "Say hello" or at the end of
   the bottom row; or an icon beside each word, one under another. --si scales them */
.footer__social { list-style: none; padding: 0; margin: 0; }
.site-footer .footer__social--icons { display: flex; flex-wrap: wrap; align-items: center; gap: calc(0.55rem * var(--si, 1)); }
.footer__hello .footer__social { margin-top: 0.9rem; }
.site-footer .footer__social--both { display: grid; gap: 0.45rem; }
.footer__social a { display: inline-flex; align-items: center; gap: 0.65rem; color: inherit; text-decoration: none; }
.footer__si { flex: none; display: inline-grid; place-items: center; width: calc(2.6em * var(--si, 1)); aspect-ratio: 1; border-radius: 50%; transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out); }
.footer__si svg { width: 56%; height: 56%; overflow: visible; }
.footer__social--both .footer__si { width: calc(2.1em * var(--si, 1)); }
.footer__social--plain .footer__si { width: calc(1.6em * var(--si, 1)); border-radius: 0; }
.footer__social--plain .footer__si svg { width: 100%; height: 100%; }
.footer__social--plain.footer__social--both .footer__si { width: calc(1.3em * var(--si, 1)); }
.footer__social--ring .footer__si { box-shadow: inset 0 0 0 1.5px currentColor; }
.footer__social--solid .footer__si { background: var(--footer-ink); color: var(--footer); }
.footer__bottom--social .footer__legal { flex: 1 1 14rem; }
.footer__bottom .footer__social { flex: none; margin-left: auto; }
/* on tablets and phones, two columns: a row of icons takes both, so it stays on one line; along the bottom they lead
   the row, above the logo and the small print */
@media (max-width: 900px) { .footer__cols > .footer__hello--icons { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer__bottom .footer__social { order: -1; flex-basis: 100%; margin-left: 0; } }
@media (hover: hover) and (pointer: fine) {
  .footer__social--ring a:hover .footer__si { background: var(--footer-ink); color: var(--footer); }
  .footer__social--solid a:hover .footer__si { background: transparent; color: var(--footer-ink); box-shadow: inset 0 0 0 1.5px currentColor; }
  .footer__social--plain a:hover .footer__si { transform: translateY(-2px); }
}
@media (max-width: 900px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; } .footer__cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .site-footer { padding-bottom: 6rem; } }

/* ---------- a section's own look, set on its row in Layout ---------- */
.sec { display: flow-root; }
.sec--tight { --section: calc(clamp(6rem, 11vw, 11rem) * var(--space) * 0.5); }
.sec--roomy { --section: calc(clamp(6rem, 11vw, 11rem) * var(--space) * 1.5); }
.sec--none { --section: 0px; }
@media (max-width: 760px) { .hide-on-phone { display: none !important; } }
@media (min-width: 761px) { .hide-on-desktop { display: none !important; } }
/* a row of buttons whose every button is left out on this kind of screen takes no room */
@media (max-width: 760px) { :is(.btns, .hero__actions):not(:has(> :not(.hide-on-phone))) { display: none; } }
@media (min-width: 761px) { :is(.btns, .hero__actions):not(:has(> :not(.hide-on-desktop))) { display: none; } }

/* ---------- a section's own text, set with the section in the panel ----------
   Where its words (tsb-) and its headline (tsh-) line up. Its fonts, sizes, boldness, italic and spacing are
   written into the page head (bm_ts_css), under a class of its own (ts-...) */
.tsb-left { --tsb: left; } .tsb-center { --tsb: center; } .tsb-right { --tsb: right; } .tsb-justify { --tsb: justify; }
:is(.tsb-left, .tsb-center, .tsb-right, .tsb-justify) :is(p, li, address, h3, figcaption, blockquote, dd, dt) { text-align: var(--tsb); }
.tsb-center :is(.btns, .hero__actions, .facts, .filters) { justify-content: center; }
.tsb-right :is(.btns, .hero__actions, .facts, .filters) { justify-content: flex-end; }
.tsb-center :is(.hero__lede, .phead p, .own__text, .tl__desc) { margin-inline: auto; }
.tsb-right :is(.hero__lede, .phead p, .own__text, .tl__desc) { margin-left: auto; margin-right: 0; }
.tsh-left { --tsh: left; } .tsh-center { --tsh: center; } .tsh-right { --tsh: right; }
:is(.tsh-left, .tsh-center, .tsh-right) :is(h1, h2) { text-align: var(--tsh); }
.tsh-left :is(h1, h2) { margin-left: 0; margin-right: auto; justify-self: start; }
.tsh-center :is(h1, h2) { margin-inline: auto; justify-self: center; }
.tsh-right :is(h1, h2) { margin-left: auto; margin-right: 0; justify-self: end; }
.tsh-center .shead { flex-direction: column; align-items: center; }
.tsh-right .shead { flex-direction: column; align-items: flex-end; }

/* ---------- the announcement bar ---------- */
.notice { position: relative; z-index: 31; display: flex; align-items: center; justify-content: center; min-height: calc(2.75rem * var(--n-pad, 1)); padding: calc(0.55rem * var(--n-pad, 1)) 3.25rem calc(0.55rem * var(--n-pad, 1)) var(--margin); background: var(--accent); color: var(--accent-ink); font-size: var(--n-fs, 0.9375rem); line-height: 1.35; text-align: center; }
.notice__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.2rem 1rem; }
.notice .arrow-link { font-weight: 700; }
.notice__x { position: absolute; right: 0.4rem; top: 50%; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; transform: translateY(-50%); }
.notice__x svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .notice__x:hover { background: var(--panel-2); } }
.bm-notice-off .notice { display: none; }

/* ---------- your own sections ---------- */
.own { display: grid; gap: 1.5rem; align-content: start; }
.own em { font-style: inherit; color: var(--red); }
.own__title { font-size: var(--step-head); max-width: 18ch; }
.own--h-s .own__title { font-size: calc(var(--step-lead-0) * 1.25 * var(--sec-hk, 1)); }
.own--h-l .own__title { font-size: var(--step-display); }
.own--h-xl .own__title { font-size: var(--step-hero); line-height: calc(0.92 * var(--head-lh)); letter-spacing: calc(var(--head-tight) * 1.5); max-width: 14ch; }
.own__text { display: grid; gap: 1rem; max-width: 42rem; font-size: var(--step-body); }
.own--statement .own__text { font-size: var(--step-lead); font-weight: var(--sec-bw, 300); line-height: calc(1.35 * var(--body-lh)); }
.own__head { display: grid; gap: 1rem; margin-bottom: clamp(1rem, 3vw, 2.5rem); }
.own--center { text-align: center; justify-items: center; }
.own--center .own__title, .own--center .own__text, .own--center .own__head { margin-inline: auto; justify-items: center; }
.own--center .btns { justify-content: center; }
.own--w-narrow { padding-inline: max(var(--margin), calc((100% - 48rem) / 2)); }
.own--w-wide { padding-inline: calc(var(--margin) * 0.4); }
.own--statement { padding-block: calc(var(--section) * 0.7); }

.own--split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.own--split .own__words { grid-row: 1; grid-column: 1 / 7; display: grid; gap: 1.5rem; }
.own--split .own__media { grid-row: 1; grid-column: 8 / 13; }
.own--pic-left .own__words { grid-column: 7 / 13; }
.own--pic-left .own__media { grid-column: 1 / 6; }
.own--split.own--center .own__words { justify-items: center; }

.own--banner { position: relative; display: grid; align-items: end; min-height: min(72svh, 46rem); overflow: hidden; margin-block: calc(var(--section) / 2); }
.own--tall-s { min-height: min(48svh, 30rem); }
.own--tall-l { min-height: min(94svh, 60rem); }
.own--banner.own--center { align-items: center; }
.own__bg { position: absolute; inset: 0; }
.own__bg img { width: 100%; height: 100%; object-fit: cover; }
.own__bg::after { content: ""; position: absolute; inset: 0; background: rgba(var(--bg-rgb), var(--ov, 0.55)); }
.own__over { position: relative; z-index: 1; display: grid; gap: 1.5rem; padding-block: clamp(3rem, 8vw, 6rem); }

.own__grid--1 { grid-template-columns: 1fr; }
.own__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.own__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.own__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.own__grid { display: grid; gap: clamp(1rem, 2vw, 2rem); }
.own-card { display: grid; align-content: start; gap: 1rem; padding: clamp(1.5rem, 2.6vw, 2.25rem); border-radius: var(--radius); background: var(--panel); text-align: left; }
.own--center .own-card { text-align: center; justify-items: center; }
.own-card h3 { font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); line-height: calc(1.15 * var(--head-lh)); }
.own-card p { color: var(--muted); }
.own-card__media { margin-bottom: 0.25rem; width: 100%; }

.own__stats { display: grid; gap: var(--gutter); margin: 0; }
.own-stat { display: grid; gap: 0.4rem; align-content: start; padding-top: 1.25rem; border-top: 2px solid var(--line); }
.own-stat dt { font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-display); line-height: var(--head-lh); letter-spacing: var(--head-tight); color: var(--red); font-variant-numeric: tabular-nums; }
.own-stat dd { margin: 0; color: var(--muted); }

.own__quote { display: grid; gap: 1.75rem; max-width: 58rem; margin: 0; }
.own__quote blockquote { margin: 0; display: grid; gap: 1rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 1rem + 1.9vw, 2.75rem); line-height: calc(1.18 * var(--head-lh)); letter-spacing: calc(var(--head-tight) * 0.66); word-spacing: var(--head-ws); }
.own__quote blockquote::before { content: "“"; display: block; height: 0.45em; font-size: 2.6em; line-height: 0.9; color: var(--red); }
.own__quote figcaption { display: flex; align-items: center; gap: 1rem; text-align: left; }
.own__quote figcaption b { display: block; }
.own__quote figcaption span span { display: block; color: var(--muted); }
.own__face { flex: none; width: 3.5rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--panel); }
.own__face img { width: 100%; height: 100%; object-fit: cover; }
.own--center .own__quote { margin-inline: auto; justify-items: center; }

.own__gallery { display: grid; gap: clamp(1rem, 2vw, 1.5rem); list-style: none; padding: 0; margin: 0; }
.own__gallery li { display: grid; gap: 0.6rem; align-content: start; }
.own__cap { color: var(--muted); font-size: 0.9375rem; }
.own__logo { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: clamp(1rem, 2vw, 1.75rem); border-radius: var(--radius-sm); background: var(--panel); }
.own__logo img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

.own__video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.own__video iframe, .own__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.own__empty { padding: 2rem; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.own__faq { display: grid; width: 100%; max-width: 58rem; }
.own__faq details { border-bottom: 1px solid var(--line); }
.own__faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.25rem; font-size: var(--step-lead); font-weight: 700; letter-spacing: calc(var(--head-tight) * 0.66); line-height: calc(1.2 * var(--head-lh)); }
.own__faq summary::-webkit-details-marker { display: none; }
.own__faq summary::after { content: "+"; flex: none; color: var(--red); font-size: 1.4em; line-height: 0.8; transition: transform 220ms var(--ease-out); }
.own__faq details[open] summary::after { transform: rotate(45deg); }
.own__answer { display: grid; gap: 0.8rem; max-width: 46rem; padding-bottom: 1.4rem; color: var(--muted); }
.own--center .own__faq { margin-inline: auto; text-align: left; }

@media (max-width: 1000px) { .own__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .own__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .own--split { display: flex; flex-direction: column; gap: 2rem; align-items: stretch; }
}
@media (max-width: 600px) {
  .own__grid--2, .own__grid--3, .own__grid--4 { grid-template-columns: 1fr; }
  .own--fit-logos .own__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .own__stats.own__grid--3, .own__stats.own__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- pages WordPress itself still serves ---------- */
.prose { max-width: 60rem; }
.prose__body { display: grid; gap: 1.1rem; }
.prose__item { font-size: var(--step-lead); }

/* ---------- movement. Every value comes from the panel ---------- */
.js [data-reveal] { opacity: var(--rv-o, 0); transform: var(--rv-t, translateY(18px)); filter: var(--rv-f, none); transition: opacity var(--rv-d, 700ms) var(--rv-e, var(--ease-out)), transform var(--rv-d, 700ms) var(--rv-e, var(--ease-out)), filter var(--rv-d, 700ms) var(--rv-e, var(--ease-out)); transition-delay: var(--rv-delay, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .hero__text > *, .js .pframe--hero .pframe__img { opacity: 0; animation: bm-show 0s 1.4s forwards; }
@keyframes bm-show { to { opacity: 1; } }

@keyframes bm-wiggle { 0%, 100% { transform: rotate(-0.5deg); } 50% { transform: rotate(0.6deg) translate(1px, -1px); } }
@keyframes bm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bm-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.018); } }
.bm-loop-wiggle .art--doodle.is-drawn { animation: bm-wiggle 800ms steps(2, jump-none) infinite; }
.bm-loop-float .art--doodle.is-drawn { animation: bm-float 5s ease-in-out infinite; }
.bm-loop-breathe .art--doodle.is-drawn { animation: bm-breathe 4s ease-in-out infinite; }
@keyframes bm-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes bm-spin { to { transform: rotate(360deg); } }
.bm-loop-sway .art--doodle.is-drawn { animation: bm-sway 3.2s ease-in-out infinite; }
.bm-loop-spin .art--doodle.is-drawn { animation: bm-spin 40s linear infinite; }
/* a picture's own choice, set in the panel, wins over the site's */
.pframe__doodle.lp-none .art--doodle.is-drawn { animation: none; }
.pframe__doodle.lp-wiggle .art--doodle.is-drawn { animation: bm-wiggle 800ms steps(2, jump-none) infinite; }
.pframe__doodle.lp-float .art--doodle.is-drawn { animation: bm-float 5s ease-in-out infinite; }
.pframe__doodle.lp-breathe .art--doodle.is-drawn { animation: bm-breathe 4s ease-in-out infinite; }
.pframe__doodle.lp-sway .art--doodle.is-drawn { animation: bm-sway 3.2s ease-in-out infinite; }
.pframe__doodle.lp-spin .art--doodle.is-drawn { animation: bm-spin 40s linear infinite; }

/* Off in the panel, the preview's quiet reload, or the visitor's own setting: everything simply appears */
.bm-still [data-reveal], .bm-quiet [data-reveal], .bm-still .hero__text > *, .bm-quiet .hero__text > *, .bm-still .pframe--hero .pframe__img, .bm-quiet .pframe--hero .pframe__img { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; }
.bm-still .tape__track, .bm-still .art--doodle.is-drawn, .bm-still .btn:hover { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero__text > *, .js .pframe--hero .pframe__img { opacity: 1; transform: none; filter: none; animation: none; }
  .tape__track, .art--doodle.is-drawn { animation: none !important; }
  .showcase__slide img { transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
.js .no-js-only { display: none; }
.no-js [data-step="done"] { display: none; }
.brief__step:focus, .brief__step legend:focus, .brief__done:focus { outline: none; }

/* ---------- the opening's pictures taking turns. Timing and the change come from the panel ---------- */
.has-slides .pframe__img .hs { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity var(--hs-fx, 1.2s) ease; }
.has-slides .pframe__img .hs.is-on { z-index: 1; opacity: 1; }
.hs-slide .pframe__img .hs { opacity: 1; transform: translateX(101%); transition: transform var(--hs-fx, 1.2s) var(--ease-out); }
.hs-slide .pframe__img .hs.is-on { transform: none; }
.hs-slide .pframe__img .hs.is-out { z-index: 1; transform: translateX(-101%); }
.hs-zoom .pframe__img .hs { transform: scale(1.1); transition: opacity var(--hs-fx, 1.2s) ease, transform 0s linear var(--hs-fx, 1.2s); }
.hs-zoom .pframe__img .hs.is-on { transform: scale(1); transition: opacity var(--hs-fx, 1.2s) ease, transform var(--hs-run, 6s) linear; }
.hs-cut .pframe__img .hs, .has-slides .pframe__img .hs.no-anim { transition: none !important; }
/* The progress bar while they take turns (square or soft corners only). The page script shows it (is-live) only
   while the pictures really change, and fills each part (b) over that picture's own time. --hb-t is its thickness,
   --hb-c its colour, --hb-w its length beside the picture's width (the line along the edge always runs the width) */
.hsbar { position: absolute; z-index: 3; display: none; gap: max(3px, calc(var(--hb-t, 2px) * 1.5)); pointer-events: none; }
.has-slides.is-live .hsbar { display: flex; }
.hsbar i { position: relative; flex: 1; height: var(--hb-t, 2px); overflow: hidden; }
.hsbar--round i { border-radius: 999px; }
.hsbar--track i::before { content: ""; position: absolute; inset: 0; background: var(--hb-c, var(--red)); opacity: 0.3; }
.hsbar b { position: absolute; inset: 0; background: var(--hb-c, var(--red)); transform: scaleX(0); transform-origin: 0 50%; }
.hsbar b.is-done { transform: none; }
.hsbar--on.hsbar--line { left: 0; right: 0; bottom: 0; }
.hsbar--on:not(.hsbar--line) { left: 50%; bottom: clamp(10px, 4.5%, 24px); width: var(--hb-w, 30%); transform: translateX(-50%); }
.hsbar--under { left: 0; right: 0; top: calc(100% + clamp(10px, 1.1vw, 16px)); opacity: 0; transition: opacity 600ms ease 900ms; }
.hsbar--under:not(.hsbar--line) { left: 50%; right: auto; width: var(--hb-w, 30%); transform: translateX(-50%); }
.is-live > .hsbar--under { opacity: 1; }
.pframe.has-doodle > .hsbar--under { left: 4%; right: 4%; top: calc(96% + clamp(10px, 1.1vw, 16px)); }
.pframe.has-doodle > .hsbar--under:not(.hsbar--line) { left: 50%; right: auto; }

/* ---------- the brief: the inquiry form's questions ---------- */
.brief__group { display: grid; gap: 0.75rem; }
.brief__group + .brief__group, .fields + .brief__group, .brief__group + .fields { margin-top: 1.25rem; }
.brief__label { font-weight: 600; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0.6rem; }
.choice { position: relative; display: flex; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span { flex: 1; display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: 0.9rem; background: var(--card-fill); font-weight: 500; line-height: calc(1.3 * var(--body-lh)); transition: background-color 180ms ease, color 180ms ease; }
.choice span::before { content: ""; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 0.3rem; box-shadow: inset 0 0 0 2px var(--card-hint); transition: box-shadow 180ms ease; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { background: var(--accent); color: var(--accent-ink); }
.choice input:checked + span::before { box-shadow: inset 0 0 0 2px var(--accent-ink), inset 0 0 0 4px var(--accent), inset 0 0 0 10px var(--accent-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--card-ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .choice input:not(:checked):hover + span { background: var(--card-fill-2); } }
.brief__more { display: grid; gap: 1.25rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--card-dim); }
.brief__more[hidden] { display: none !important; }
.brief__dots span { width: clamp(1.1rem, 3.4vw, 2.25rem); }
.brief__step--done { gap: 1rem; }
.brief__thanks { color: var(--card-soft); max-width: 40rem; }
.brief__trap { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; clip-path: inset(50%); overflow: hidden; }
.brief__nav .btn[disabled] { opacity: 0.6; cursor: progress; }
