/* Box3 homepage templates: shared layout and motion styles.
   Structure and timing follow the blue2purple.com home page 1:1.
   Each of the three looks only sets the tokens at the top of its own page. */


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; }
img { max-width: 100%; height: auto; }   /* height: auto so the width/height attributes only reserve the space */
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; font-weight: inherit; font-size: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
input { font: inherit; border: 0; border-radius: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

:root {
  --gutter: max(clamp(1.5rem, 2vw, 2rem), env(safe-area-inset-left, 0px));
  --sp: 8rem;
  --ease-osmo: cubic-bezier(.625, .05, 0, 1);
  --ease-default: cubic-bezier(.525, 0, 0, 1);
  --ease-bar: cubic-bezier(.4, 0, .2, 1);
  --ease-tile: cubic-bezier(.16, 1, .3, 1);
  --ease-btn: cubic-bezier(.4, .15, 0, 1);
  --fs-h1: calc(var(--k1, 1) * clamp(1.8rem, 1.0727rem + 3.636vw, 5rem));
  --fs-h2: calc(var(--k2, 1) * clamp(1.5rem, .9886rem + 2.557vw, 3.75rem));
  --fs-h3: calc(var(--k3, 1) * clamp(1.4rem, 1.1216rem + 1.392vw, 2.625rem));
  --fs-h5: calc(var(--k5, 1) * clamp(1rem, .9716rem + .142vw, 1.125rem));
  --fs-h6: calc(var(--k6, 1) * clamp(.875rem, .8466rem + .142vw, 1rem));
}

/* Type */
.t-d:is(h1, h2, h3) { text-wrap: balance; }   /* design check: no lone last word on any screen */
.t-d { font-family: var(--font-display); font-weight: var(--w-display); font-stretch: var(--stretch-display, 100%); font-variation-settings: var(--fvs, normal); letter-spacing: var(--ls-display); text-transform: uppercase; }
.t-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.t-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.t-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.t-h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }
.mute { color: color-mix(in srgb, currentColor 60%, transparent); }   /* design check: 50% was 3.7:1 on white, 60% is 5.3:1 */
.num { font-family: var(--font-num); font-weight: 300; letter-spacing: -.02em; }
.hl { display: inline-block; padding: var(--hl-pad, 0 .16em); background: var(--hl); color: var(--hl-ink); transform: rotate(-1deg); }
.hl-a { --hl: var(--hl-a); --hl-ink: var(--hl-a-ink); }
.hl-b { --hl: var(--hl-b); --hl-ink: var(--hl-b-ink); }
/* Orlando, 5 Nov 2026: the line beside a text is brand red on white, and white on the red and black bands */
.rule { border-left: 1px solid var(--rule-line, var(--c1)); padding-left: 1.25rem; }
.band .rule { --rule-line: var(--band-ink, #FFFFFF); }
.row-gap { display: flex; flex-direction: column; }

/* Logo lockup: fixed, never restyled */
.lk { display: inline-flex; align-items: center; gap: .55em; line-height: 1; white-space: nowrap; }
.lk-tile { display: grid; place-items: center; width: 1.9em; height: 1.9em; flex: none; background: var(--tile-bg, #EA2828); color: var(--tile-fg, #fff); }
.lk-tile svg { width: 58%; height: auto; }
.lk-word { display: block; flex: none; height: .726em; width: auto; }

/* Underline link */
[data-ul] { position: relative; display: inline-block; }
[data-ul]::before, [data-ul="alt"]::after {
  content: ""; position: absolute; left: 0; bottom: -.11em; width: 100%; height: .12em; min-height: 2px;
  background: currentColor; transition: transform .6s var(--ease-osmo); transform-origin: right; transform: scaleX(0) rotate(.001deg);
}
[data-ul="alt"]::before { transform-origin: left; transform: scaleX(1) rotate(.001deg); transition-delay: .3s; }
[data-ul="alt"]::after { transform-origin: right; transform: scaleX(0) rotate(.001deg); transition-delay: 0s; }
[data-ul]:hover::before, a:hover > [data-ul]::before { transform-origin: left; transform: scaleX(1) rotate(.001deg); }
[data-ul="alt"]:hover::before, a:hover > [data-ul="alt"]::before { transform-origin: right; transform: scaleX(0) rotate(.001deg); transition-delay: 0s; }
[data-ul="alt"]:hover::after, a:hover > [data-ul="alt"]::after { transform-origin: left; transform: scaleX(1) rotate(.001deg); transition-delay: .3s; }
.go { display: inline-flex; align-items: center; gap: .75rem; padding-block: .5rem; margin-block: -.5rem; }   /* a 36 px tap target, same place */
.go svg { width: 1em; height: 1em; }

/* Button */
.btn {
  position: relative; display: inline-flex; align-items: center; padding: 1rem 1.5rem; cursor: pointer;
  font-family: var(--font-display); font-weight: var(--w-display); font-stretch: var(--stretch-display, 100%); font-variation-settings: var(--fvs, normal);
  font-size: var(--fs-btn); line-height: 1.5; letter-spacing: var(--ls-btn); text-transform: uppercase; white-space: nowrap; text-align: center;
  isolation: isolate;
}
.btn.is-sm { padding: .75rem 1rem; font-size: var(--fs-btn-sm); }
.btn-bg { position: absolute; inset: 0; background: var(--btn-bg); }
.btn-a { position: absolute; inset: 0; z-index: 4; }
.btn-in { position: relative; z-index: 3; display: flex; align-items: center; gap: .56rem; color: var(--btn-text); transition: color .55s var(--ease-btn); }
.btn-in svg { width: 1.1em; height: 1.1em; flex: none; }
.btn [data-l] { position: absolute; inset: -.5px; pointer-events: none; clip-path: polygon(140% 0%, 101% 0%, 101% 100%, 100% 100%); transition: clip-path .55s var(--ease-btn); }
.btn [data-l="hover"] { z-index: 2; background: var(--btn-hover-bg); }
.btn [data-l="between"] { z-index: 1; background: var(--btn-between); transition-delay: .05s; }
.btn:is(:hover, :focus-within) [data-l="between"] { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, -40% 100%); transition-delay: .05s; }
.btn:is(:hover, :focus-within) [data-l="hover"] { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, -40% 100%); transition-delay: .1s; }
.btn:is(:hover, :focus-within) .btn-in { color: var(--btn-hover-text); transition-delay: .1s; }
.on-light { --btn-bg: var(--light-btn-bg); --btn-text: var(--light-btn-text); --btn-hover-bg: var(--light-btn-hover-bg); --btn-hover-text: var(--light-btn-hover-text); --btn-between: var(--light-btn-between); }
.on-hero { --btn-bg: var(--hero-btn-bg); --btn-text: var(--hero-btn-text); --btn-hover-bg: var(--hero-btn-hover-bg); --btn-hover-text: var(--hero-btn-hover-text); --btn-between: var(--hero-btn-between); }
.on-a { --btn-bg: var(--a-btn-bg); --btn-text: var(--a-btn-text); --btn-hover-bg: var(--a-btn-hover-bg); --btn-hover-text: var(--a-btn-hover-text); --btn-between: var(--a-btn-between); }
.on-b { --btn-bg: var(--b-btn-bg); --btn-text: var(--b-btn-text); --btn-hover-bg: var(--b-btn-hover-bg); --btn-hover-text: var(--b-btn-hover-text); --btn-between: var(--b-btn-between); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--nav-ink); transition: transform .42s var(--ease-bar), background-color .5s var(--ease-bar), color .28s var(--ease-bar); }
.nav[data-tint="on"] { background-color: var(--bar-bg); color: var(--bar-ink); }
.nav[data-lift="up"]:not(:hover):not(:focus-within):not([data-menu="open"]) { transform: translateY(-100%); }
.ann { display: flex; justify-content: center; align-items: center; gap: .5rem; padding: .5rem var(--gutter); background: var(--ann-bg); color: var(--ann-ink); font-size: .875rem; line-height: 1.4; text-align: center; position: relative; z-index: 3; }
.bar { position: relative; display: flex; align-items: center; padding: 1.25rem var(--gutter); z-index: 2; }
.nav-bg { position: absolute; inset: 0 0 auto; height: 0; background: var(--bar-bg); transition: height .45s var(--ease-default); z-index: -1; }
.nav[data-dd-open="on"] .nav-bg { height: calc(100% + var(--dd-h, 0px)); }
.nav-dim { position: absolute; inset: 0 0 auto; height: 100vh; background: rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease-default); z-index: -2; }
.nav[data-dd-open="on"] .nav-dim, .nav[data-menu="open"] .nav-dim { opacity: 1; }
.nav-logo { display: flex; align-items: center; font-size: 1.0625rem; transition: color .28s var(--ease-bar); }
.nav-div { width: 1px; height: 1.75rem; margin: 0 1.63rem; background: currentColor; opacity: .16; flex: none; }
.nav-list { display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; gap: .375em; padding: .8125rem .875rem; opacity: var(--nav-link-op, .6); font-size: 1rem; line-height: 1; transition: opacity .2s, background-color .2s var(--ease-default); }
.nav-link:hover, [data-dd="open"].nav-link { opacity: 1; background-color: color-mix(in srgb, currentColor 7%, transparent); }
.nav-link svg { width: .5em; height: .5em; transition: transform .45s var(--ease-default); }
[data-dd="open"].nav-link svg { transform: rotate(180deg); }
/* Header links have no underline: the hover box is their highlight */
.ann-cta { font-weight: 500; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: .5em; }
/* Language tab (Orlando, 4 Nov 2026): the current language's code beside Book a call; a small white list of the five
   languages opens under it. Pages stay in English until the site is translated. */
.lang { position: relative; display: flex; align-self: stretch; }   /* as tall as the button beside it (Book a call, or the menu button on phones) */
.lang-btn { gap: .375rem; height: 100%; padding: 0 .75rem; font-family: var(--font-body); font-size: .875rem; letter-spacing: .02em; opacity: 1; }   /* full strength, not faded like the menu links (Orlando, 5 Nov 2026) */
.lang-flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1rem; line-height: 1; letter-spacing: 0; }
.lang-btn[aria-expanded="true"] { opacity: 1; background-color: color-mix(in srgb, currentColor 7%, transparent); }
.lang-btn svg { transition: transform .45s var(--ease-default); }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-pop { position: absolute; z-index: 5; top: calc(100% + .375rem); right: 0; width: 6.75rem; visibility: hidden; opacity: 0; transform: translateY(-.5rem); transition: opacity .25s var(--ease-default), transform .4s var(--ease-osmo), visibility 0s .4s; background: #FFFFFF; color: #0A0A0A; border: 1px solid rgba(10, 10, 10, .1); box-shadow: 0 1.25rem 2.5rem rgba(10, 10, 10, .12); }
.lang.is-open .lang-pop { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease-default), transform .4s var(--ease-osmo), visibility 0s; }
.lang-pop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: .5rem; }   /* bridges the gap, so the mouse can move down onto the list */
.lang-list { padding: .375rem 0; list-style: none; margin: 0; }
.lang-list a { display: flex; align-items: center; gap: .5rem; padding: .55rem .75rem; font-size: .875rem; line-height: 1.2; transition: background-color .2s; }
.lang-list a:hover, .lang-list a:focus-visible { background: rgba(10, 10, 10, .06); outline: none; }
.lang-code { display: inline-flex; align-items: center; gap: .5rem; flex: 1; font-size: .875rem; color: #0A0A0A; }
.lang-list a[aria-current] .lang-code::after { content: ""; width: .375rem; height: .375rem; margin-left: auto; background: var(--c1); }
.menu-btn { display: none; flex-direction: column; justify-content: center; align-items: center; gap: .25em; width: 3em; height: 3em; padding: .75em; background: var(--bar-ink); color: var(--bar-bg); }
.menu-btn i { display: block; width: 100%; height: 1px; background: currentColor; transition: all .45s var(--ease-default); }
.nav[data-menu="open"] .menu-btn i:nth-child(1) { transform: translateY(.13em) rotate(135deg); }
.nav[data-menu="open"] .menu-btn i:nth-child(2) { transform: translateY(-.13em) rotate(-135deg); }

.dd { position: absolute; left: 0; right: 0; top: 100%; padding: 1em var(--gutter) 3em; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; color: var(--bar-ink); }
[data-dd="open"] + .dd { opacity: 1; visibility: visible; pointer-events: auto; }
.dd-over { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-default); }
[data-dd="open"] + .dd .dd-over { grid-template-rows: 1fr; }
.dd-in { overflow: hidden; min-height: 0; }
.dd-grid { display: flex; gap: 1em; }
.dd-grid > li { flex: 1; min-width: 0; opacity: 0; transform: translate(4em, 0); transition: all .45s var(--ease-default); transition-delay: .18s; }
.dd-grid > li:nth-child(2) { transition-delay: .24s; }
.dd-grid > li:nth-child(3) { transition-delay: .3s; }
.dd-grid > li:nth-child(4) { transition-delay: .36s; }
[data-dd="open"] + .dd .dd-grid > li { opacity: 1; transform: none; }
.dd-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 24.75rem; max-height: 44vh; padding: 1.5em; overflow: hidden; background: color-mix(in srgb, var(--bar-ink) 5%, transparent); transition: color .3s var(--ease-osmo); }
.dd-bg { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: var(--dd-c, var(--c1)); }
.dd-bg canvas { width: 100%; height: 100%; transition: transform .35s var(--ease-osmo); }
.dd-row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.dd-label { font-size: calc(var(--k4, 1) * 1.75rem); line-height: var(--lh-dd); }
.dd-bub { width: 2em; height: 2em; flex: none; opacity: 0; transition: opacity .3s; }
.dd-card:hover, .dd-card:focus-visible { color: var(--dd-ink, #fff); }
.dd-card:hover .dd-bg, .dd-card:focus-visible .dd-bg, .dd-card:hover .dd-bub, .dd-card:focus-visible .dd-bub { opacity: 1; }
.dd-card:hover .dd-bg canvas { transform: scale(1.1); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100dvh; padding-top: var(--sp); overflow: clip; background: var(--hero-bg); color: var(--hero-ink); }
.hero-in { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding: 2rem var(--gutter); }
.hero-title { position: relative; top: -2.5vh; z-index: 3; width: 85%; margin: auto; font-family: var(--font-display); font-weight: var(--w-display); font-stretch: var(--stretch-display, 100%); font-variation-settings: var(--fvs, normal); letter-spacing: var(--ls-display); text-transform: uppercase; }
.ht-line { display: flex; justify-content: space-between; align-items: flex-end; white-space: nowrap; height: calc(var(--cap, 1) * 1em); line-height: calc(var(--cap, 1) * 1em); }
.ht-text { display: block; flex: none; position: relative; top: calc(var(--shift, 0) * 1em); white-space: nowrap; }
.ht-1 { font-size: var(--s1, 9.5vw); }
.ht-2 { font-size: var(--s2, 11vw); margin-top: var(--ht-gap, 1.3vw); }
.ht-3 { flex: none; width: var(--mark-w, 1em); height: calc(var(--cap, 1) * 1em); color: var(--num); }
.strip { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1; pointer-events: none; }
.rail { position: absolute; left: 0; top: 0; width: var(--w, 150px); transform-origin: 0 0; }
.slot { position: absolute; left: 0; top: 0; width: var(--w, 150px); height: calc(var(--w, 150px) * 1.25); overflow: hidden; background: #111; will-change: transform; backface-visibility: hidden; transform-origin: 50% 50%; }
.slot img, .slot video { width: 100%; height: 100%; object-fit: cover; }
.hero-fade { position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.hero-fade.is-top { top: 0; height: 42vh; background-image: linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg) 22%, transparent 100%); }
.hero-fade.is-bottom { top: 55vh; height: 55vh; background-image: linear-gradient(180deg, transparent 0%, var(--hero-bg) 100%); }
.hero-bottom { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: 45%; }
.hero-text { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 992px) { .hero-bottom { padding-left: clamp(0rem, 4.6vw, 4.25rem); } }   /* a little in from the edge, as the About page text (Orlando, 6 Nov 2026) */
.hero-we { font-weight: 500; color: var(--hero-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rot { display: inline-grid; vertical-align: top; overflow: hidden; color: var(--rot); }
.rot > span { grid-area: 1 / 1; justify-self: start; text-align: left; opacity: 0; transform: translateY(70%); white-space: nowrap; }
.rot > span.on { opacity: 1; transform: none; transition: opacity .6s var(--ease-osmo), transform .6s var(--ease-osmo); }
.rot > span.off { opacity: 0; transform: translateY(-70%); transition: opacity .6s var(--ease-osmo), transform .6s var(--ease-osmo); }
.hero-p { color: color-mix(in srgb, var(--hero-ink) var(--hero-p-mix, 50%), transparent); }

/* Bands with halftone */
.band { position: relative; overflow: clip; isolation: isolate; background: var(--band-bg); color: var(--band-ink); --dot: var(--band-dot); }
.band-a { --band-bg: var(--a-bg); --band-ink: var(--a-ink); --band-dot: var(--a-dot); }
.band-b { --band-bg: var(--b-bg); --band-ink: var(--b-ink); --band-dot: var(--b-dot); }
.dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Company film */
.film-sec { padding-bottom: 0; }
.film-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }
.film-head .rule { max-width: 26ch; }
.film { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0A0A0A; }
.film-video { width: 100%; height: 100%; object-fit: cover; }
.film-cover { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 45%, rgba(10, 10, 10, .45) 100%); transition: opacity .45s var(--ease-default), visibility .45s; }
.film.is-playing .film-cover { opacity: 0; visibility: hidden; }
.film-play .btn-in svg { width: .9em; height: .9em; }
.dots.is-hover { --gx: 50%; --gy: 50%; --gs: 0px; -webkit-mask-image: radial-gradient(circle var(--gs) at var(--gx) var(--gy), #000 35%, transparent 100%); mask-image: radial-gradient(circle var(--gs) at var(--gx) var(--gy), #000 35%, transparent 100%); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.band-in { position: relative; z-index: 2; padding: var(--sp) var(--gutter); }
.cta-center { display: flex; flex-direction: column; align-items: center; gap: 3rem; text-align: center; }
.cta-left { display: flex; flex-direction: column; align-items: flex-start; gap: 3rem; }
.cta-row { display: flex; align-items: center; gap: 1.125rem; }
.cta-note { max-width: 74ch; color: color-mix(in srgb, currentColor 80%, transparent); }
.band .cta-note, .band .stat-t, .band .sv-lede { color: inherit; }   /* design check: dimmed white on red read at 3.2-3.5:1 */
[data-words] .wd { display: inline-block; }

/* Services list */
.sec { padding: var(--sp) 0; background: var(--bg); color: var(--ink); }
.wrap { padding-left: var(--gutter); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.dl { position: relative; display: flex; flex-direction: column; }
.dl-item { position: relative; display: block; overflow: hidden; transition: color .35s; }
.dl-tile { position: absolute; inset: 0; background: var(--tile); transform: translateY(-100%); transition: transform .5s var(--ease-tile); will-change: transform; }
.dl-line { position: absolute; left: 2%; right: 2%; height: 1px; background: currentColor; opacity: .1; z-index: 2; }
.dl-item .dl-line { top: 0; }
.dl > .dl-line { bottom: 0; }
.dl-row { position: relative; z-index: 1; display: grid; grid-template-columns: 50% minmax(0, 1fr) 22.4%; align-items: center; column-gap: .75rem; min-height: 10.63rem; padding: 0 var(--gutter); }
.dl-title { display: flex; gap: .75rem; flex: none; }
.dl-num { font-size: 1.75rem; line-height: 1.35; opacity: .6; }
.dl-name { white-space: nowrap; }
.dl-visual { position: relative; display: flex; gap: 1rem; justify-content: center; align-items: flex-start; align-self: flex-end; width: 100%; max-width: 27rem; height: 100%; max-height: 10.63rem; opacity: 0; transition: opacity .8s var(--ease-tile); will-change: opacity; }
.dl-visual.is-mq { transform: rotate(10deg); }
.dl-col { width: 7rem; flex: none; }
.dl-col.is-low { margin-top: -40px; }
.mq { overflow: hidden; }
.mq-track { display: flex; flex-direction: column; gap: 1rem; animation: mq-y 20s linear infinite; animation-play-state: paused; will-change: transform; }
.mq.rev .mq-track { animation-direction: reverse; }
.is-run .mq-track { animation-play-state: running; }
@keyframes mq-y { to { transform: translate3d(0, calc(-50% - .5rem), 0); } }
.mq-img { width: 100%; aspect-ratio: var(--ar, 9 / 16); object-fit: cover; background: #111; }
.dl-docs { position: relative; width: 100%; height: 100%; }
.dl-docs :is(img, video) { position: absolute; width: var(--doc-w, 9.5rem); box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }
.dl-docs video { aspect-ratio: 520 / 650; object-fit: cover; background: #111; }   /* logo animations: footage/brand/*-card.mp4 are made 4:5 (whole frame at card width, blurred edges above and below), so nothing is zoomed */
.dl-docs :is(img, video):first-child { left: calc(50% - 8rem); top: 1.1rem; }
.dl-docs :is(img, video):last-child { left: calc(50% - 3.4rem); top: 2.2rem; }
.dl-info { justify-self: end; text-align: right; max-width: 24rem; opacity: .6; transition: opacity .35s; }
.dl-item:hover { color: var(--tile-ink); }
.dl-item:hover .dl-visual { opacity: 1; }
.dl-item:hover .dl-info { opacity: 1; }

/* Work */
.works { display: grid; grid-template-columns: 1fr .5fr; gap: 8rem; position: relative; }
.w-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.w-col { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; }
.card { position: relative; display: block; }
.card-media { position: relative; display: flex; align-items: center; justify-content: center; overflow: clip; }
.card-img { width: 100%; object-fit: cover; background: #111; }
.card[data-v="base"] .card-img { aspect-ratio: 4 / 3; }
.card[data-v="port"] .card-img { aspect-ratio: 3 / 4; }
.card-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.card-logo { position: absolute; z-index: 1; width: 60%; height: 4rem; object-fit: contain; filter: brightness(0) invert(1); }
.card-body { padding-top: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { padding: .3rem .25rem .2rem; font-family: var(--font-display); font-weight: var(--w-tag, var(--w-display)); font-stretch: var(--stretch-display, 100%); font-variation-settings: var(--fvs, normal); font-size: var(--fs-tag, .5625rem); line-height: 1.4; text-transform: uppercase; background: var(--tag); color: var(--tag-ink); }
/* The category boxes on every page: the text font, bold, in capitals (Orlando, 5 Nov 2026 on the case study, 7 Nov 2026 everywhere) */
.tags .tag { padding: .3125rem .375rem .25rem; font-family: var(--font-body); font-weight: 700; font-stretch: normal; font-variation-settings: normal; letter-spacing: .04em; }
.tag-b { --tag: var(--tag-b); --tag-ink: var(--tag-b-ink); }
.tag-c { --tag: var(--tag-c); --tag-ink: var(--tag-c-ink); }
.tag-g { --tag: var(--tag-g); --tag-ink: var(--tag-g-ink); }
.tag-s { --tag: var(--tag-s); --tag-ink: var(--tag-s-ink); }
.w-side { position: sticky; top: 7rem; align-self: start; display: flex; flex-direction: column; align-items: flex-end; gap: 2rem; text-align: right; }

/* Lead band */
.lead-form { display: flex; gap: .75rem; width: 40rem; max-width: 100%; }
.lead-field { flex: 1; min-width: 0; min-height: 4rem; padding: 1.125rem; font-family: var(--font-body); font-weight: 400; font-size: 1rem; letter-spacing: var(--ls-body); color: #0A0A0A; background: #FFFFFF; }
.lead-field::placeholder { color: #6B7174; opacity: 1; }
.lead-note { font-size: .9375rem; min-height: 1.4em; }

/* Why us */
.why-head { display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; }
.icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem 1.5rem; max-width: 80%; margin: -1.25rem 0 0 auto; }
.icon-card { display: flex; flex-direction: column; align-items: flex-end; gap: 2.5rem; padding-right: 1.13rem; text-align: right; border-right: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
.icon-card svg { width: 55px; height: 55px; }
/* 3D icons: same boxes as the flat icons they replace, with a soft shadow under them */
.icon-body { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.icon-body p { max-width: 35ch; }
.icon-body h3 { font-size: calc(var(--fs-h6) * 1.36); line-height: 1.08; }

/* Trusted by */
.trust-sec { padding-top: 0; overflow: hidden; }
@media (min-width: 992px) { .trust-sec { padding-top: 5rem; } }
.trust-head { display: grid; grid-template-columns: minmax(auto, 1.5fr) 1fr 1fr; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.trust-head .btn-wrap { justify-self: end; }
.logos { display: flex; flex-direction: column; gap: 1rem; overflow: hidden; }
.lg-row { display: flex; overflow: hidden; }
.lg-track { display: flex; flex: none; width: max-content; animation: mq-x var(--mq, 30s) linear infinite; animation-play-state: paused; will-change: transform; }
.lg-row.rev .lg-track { animation-direction: reverse; }
.is-run .lg-track { animation-play-state: running; }
@keyframes mq-x { to { transform: translate3d(-50%, 0, 0); } }
.lg-set { display: flex; gap: 1rem; padding-right: 1rem; }
.lg-cell { width: 13.69rem; aspect-ratio: 1; flex: none; display: flex; align-items: center; justify-content: center; padding: 0 2.5rem; border: 1px solid var(--cell-line); background: var(--cell-bg); }
.lg-cell img { width: 100%; height: 5.5rem; object-fit: contain; filter: var(--logo-filter); }
/* Top row: every logo as tall as Rezone Estate (5.5rem); a little less side room so the wide ones can be as tall too */
.lg-row.is-even .lg-cell { padding: 0 1.75rem; }

/* Blog */
.blogs { display: grid; grid-template-columns: .5fr 1fr; gap: 7rem; }
.b-side { position: sticky; top: 7rem; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; }
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem .75rem; }
.b-card { position: relative; display: block; min-width: 0; }
.b-img { position: relative; aspect-ratio: 1.635; overflow: clip; background: var(--c1); }
.b-img img { width: 100%; height: 100%; object-fit: cover; }
.b-banner { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .9375rem; --tile-bg: #fff; --tile-fg: var(--c1); }
.b-body { padding-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.b-title { font-size: var(--fs-b-title); line-height: var(--lh-b-title); }
.b-text { font-size: .8125rem; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* Footer */
.foot { position: relative; overflow: clip; background: var(--foot-bg); color: var(--foot-ink); --dot: var(--foot-dot); }
.foot-in { position: relative; z-index: 2; padding: var(--sp) var(--gutter) 1rem; }
.foot-top { display: flex; gap: 3rem; margin-bottom: 14%; }
.foot-left { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: 20rem; flex: none; }
.foot-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
/* Google Cloud and Meta at one height (Orlando, 3 Nov): 42px, the Meta logo's own height. */
.foot-badges img { height: 2.625rem; width: auto; }

/* Book a call: the white 3 of the logo in 3D beside the form. Computers only; nothing loads on tablets and phones. */
.book-3d { display: none; }
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .book-3d { display: block; position: absolute; z-index: 1; top: 50%; right: var(--gutter); width: min(34vw, 36rem); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
  .book-3d canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1s cubic-bezier(.625, .05, 0, 1); }
  .book-3d[data-state="ready"] canvas { opacity: 1; }
}
.foot-logo { font-size: 1.1875rem; --tile-bg: var(--foot-tile-bg, #EA2828); --tile-fg: var(--foot-tile-fg, #fff); }
.foot-soc { display: flex; gap: .625rem; }
.foot-soc a { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; background: var(--soc-bg); color: var(--soc-ink); }
.foot-soc svg { width: 1rem; height: 1rem; }
.foot-right { display: flex; justify-content: flex-end; gap: 7rem; width: 100%; }
.foot-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem; text-align: right; font-size: calc(var(--fs-h5) * 1.04); line-height: 1.6; }   /* Big Shoulders again (Orlando, 5 Nov 2026: "the font they were before") */
/* Orlando, 5 Nov 2026: "© 2027 Box3 Creative. All rights reserved. See our Terms", centred; the text at 60%, the Terms link full */
.foot-bottom { display: flex; justify-content: center; text-align: center; font-size: .875rem; }
.foot-bottom p { color: color-mix(in srgb, currentColor 60%, transparent); }
.foot-bottom a { color: var(--foot-ink); }
.nw { white-space: nowrap; }   /* words that stay on one line: "15-minute", "90-day", "See our Terms" */   /* "See our Terms" stays together when the line breaks on phones */
.foot-mark { display: flex; align-items: center; gap: .3em; margin-top: 3.5rem; line-height: 1; white-space: nowrap; font-size: var(--mark-fs, 9.4vw); --tile-bg: var(--foot-tile-bg, #EA2828); --tile-fg: var(--foot-tile-fg, #fff); }
.foot-mark .lk-tile { width: .96em; height: .96em; }

/* Contact page: form and location cards, laid out like the reference's contact page */
.ct-hero { position: relative; overflow: clip; isolation: isolate; padding: 12rem 0 8rem; background: var(--bg); color: var(--ink); --dot: var(--c1); }
.ct-hero, .ct-loc, .wk-sec { --field-bg: color-mix(in srgb, var(--ink) 5%, var(--bg)); --field-hint: #6B7174; }
.ct-in { position: relative; z-index: 2; width: 100%; max-width: calc(68.375rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.ct-lede { max-width: 40ch; margin-top: 2.5rem; text-wrap: pretty; }
.ct-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 4.5rem; }
.ct-form .is-wide { grid-column: 1 / -1; }
.ct-field { display: block; width: 100%; min-width: 0; min-height: 3.125rem; padding: .875rem 1rem; font-family: var(--font-body); font-weight: 400; font-size: 1rem; line-height: 1.35; letter-spacing: var(--ls-body); color: var(--ink); background: var(--field-bg); border: 0; border-radius: 0; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .35s var(--ease-osmo); }
.ct-field::placeholder { color: var(--field-hint); opacity: 1; }
.ct-field:focus, .ct-phone:focus-within { outline: none; box-shadow: inset 0 -2px 0 var(--ink); }
textarea.ct-field { min-height: 8rem; resize: vertical; }
.ct-select { position: relative; }
.ct-select select { appearance: none; -webkit-appearance: none; padding-right: 3rem; cursor: pointer; }
.ct-select select.is-empty { color: var(--field-hint); }
.ct-chev { position: absolute; top: 50%; right: 1.25rem; width: .75rem; height: .75rem; transform: translateY(-50%); pointer-events: none; }
.ct-phone { display: flex; min-width: 0; background: var(--field-bg); box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .35s var(--ease-osmo); }
.ct-phone .ct-field { background: transparent; box-shadow: none; }
/* Phone country code (Orlando, 4 Nov 2026): a flag button; the list shows every country with its flag, name and code,
   the main ones in their own group on top, and a search box. Flags are emoji flags, so no image files. */
.ct-phone { position: relative; }
.cc { flex: none; display: flex; }
.cc-btn { position: relative; display: flex; align-items: center; gap: .5rem; padding: 0 2.25rem 0 1rem; font-family: var(--font-body); font-size: 1rem; letter-spacing: var(--ls-body); color: var(--ink); background: transparent; border: 0; border-radius: 0; cursor: pointer; }
.cc-btn::after { content: ""; position: absolute; right: 0; top: .75rem; bottom: .75rem; width: 1px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.cc-btn:focus { outline: none; }
.cc-btn:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.cc-btn .ct-chev { right: .9rem; transition: transform .35s var(--ease-osmo); }
.cc.is-open .cc-btn .ct-chev { transform: translateY(-50%) rotate(180deg); }
.cc-flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1.25rem; line-height: 1; letter-spacing: 0; }
.cc-pop { position: absolute; z-index: 30; top: calc(100% + .375rem); left: 0; width: min(100%, 26rem); background: #FFFFFF; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); box-shadow: 0 1.25rem 2.5rem rgba(10, 10, 10, .12); }
.cc-search { display: block; width: 100%; padding: .875rem 1rem; font-family: var(--font-body); font-size: 1rem; letter-spacing: var(--ls-body); color: var(--ink); background: var(--field-bg); border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); border-radius: 0; outline: none; -webkit-appearance: none; appearance: none; }
.cc-search::placeholder { color: var(--field-hint); opacity: 1; }
.cc-search::-webkit-search-cancel-button, .cc-search::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.cc-list { max-height: 19rem; overflow-y: auto; overscroll-behavior: contain; padding-bottom: .375rem; }
.cc-g + .cc-g { margin-top: .375rem; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.cc-group { padding: .875rem 1rem .375rem; font-family: var(--font-display); font-weight: var(--w-display); letter-spacing: var(--ls-display); text-transform: uppercase; font-size: .875rem; line-height: 1; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.cc-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: .75rem; padding: .5rem 1rem; font-size: .9375rem; line-height: 1.3; cursor: pointer; }
.cc-opt.is-active { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.cc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-num { display: inline-flex; align-items: center; gap: .5rem; color: color-mix(in srgb, var(--ink) 64%, transparent); font-variant-numeric: tabular-nums; }
.cc-opt[aria-selected="true"] .cc-num { color: var(--ink); }
.cc-opt[aria-selected="true"] .cc-num::after { content: ""; width: .375rem; height: .375rem; background: var(--c1); }
.cc-opt[hidden], .cc-g[hidden], .cc-group[hidden] { display: none; }
.cc-none { padding: 1rem; font-size: .9375rem; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.ct-send { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 1.75rem; }
.ct-note { font-size: .9375rem; min-height: 1.4em; }
.btn-bg { transition: background-color .4s var(--ease-osmo); }
.btn:disabled { cursor: not-allowed; }
.btn:disabled .btn-bg { background: #DADADA; }
.btn:disabled .btn-in { color: #FFFFFF; }
.btn:disabled [data-l] { display: none; }
.ct-loc { padding-top: 0; }
.ct-loc h2 { margin-bottom: 3rem; }
.ct-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ct-card { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-width: 0; }
.ct-map { position: relative; width: 100%; aspect-ratio: 349 / 271; overflow: hidden; background: var(--field-bg); margin-bottom: .125rem; }
/* Maps made only of dots (Orlando, 3 Nov): a faint layer, a full-strength copy around the cursor, the pin on top */
.ct-map { --map-dot: #FFFFFF; --map-dot-a: .3; --map-dot-hi: 1; }
.ct-map canvas, .ct-shape, .ct-pinlayer { position: absolute; inset: 0; width: 100%; height: 100%; }
.ct-shape path { fill: var(--map); }
.ct-svg { width: 100%; height: 100%; }
.ct-links { display: flex; flex-direction: column; align-items: flex-start; gap: .375rem; }
.ct-pulse { transform-box: fill-box; transform-origin: center; animation: ct-pulse 2.4s var(--ease-osmo) infinite; }
@keyframes ct-pulse { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(3.4); opacity: 0; } }
@media (max-width: 991px) { .ct-hero { padding: 9rem 0 6rem; } .ct-form { margin-top: 3rem; } }
@media (max-width: 767px) { .ct-form { grid-template-columns: 1fr; } .ct-cards { grid-template-columns: 1fr; gap: 3rem; } }
@media (prefers-reduced-motion: reduce) { .ct-pulse { animation: none; opacity: 0; } .wk-img, .sf-img, .sf-item, .fk-card, .jr-row::before, .vc-grid, .vc-l { transition: none; } .dock-track, .ab-track { animation: none; } }

/* Work page: 3D tornado, measured on the reference: card 22 x 27.5em, orbit 42em, perspective 75em, em = .75vw */
.wk-hero { position: relative; height: 100vh; height: 100dvh; min-height: 40rem; overflow: clip; background: var(--bg); color: var(--ink); }
.wk-in { position: relative; z-index: 3; height: 100%; display: flex; align-items: flex-end; padding: 0 var(--gutter) 7rem; pointer-events: none; }
.wk-text { width: 45%; max-width: 38rem; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; pointer-events: auto; }
.wk-text .rule { max-width: 44ch; }
.wk-3d { position: absolute; top: 0; bottom: 0; right: var(--gutter); width: 50%; z-index: 2; overflow: clip; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.wk-3d.is-drag { cursor: grabbing; }
.wk-list { position: absolute; inset: 0; font-size: max(9px, .75vw); perspective: 75em; transform-style: preserve-3d; }
.tn-card { position: absolute; left: 50%; top: 50%; width: 22em; height: 27.5em; margin: -13.75em 0 0 -11em; border-radius: .63rem; overflow: hidden; background: #EAEAEA; will-change: transform, filter; }
.tn-card img, .tn-card video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.wk-fade { position: absolute; left: 0; right: 0; height: 30%; z-index: 2; pointer-events: none; }
.wk-fade.is-top { top: 0; background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 0%, transparent) 100%); }
.wk-fade.is-bottom { bottom: 0; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 0%, transparent) 100%); }
/* Projects and filters */
.wk-sec { padding-top: 5rem; }
.wk-filters { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding-top: 3rem; border-top: 1px solid var(--cell-line); position: relative; z-index: 5; }
.wk-by { padding: .3rem .4rem .2rem; font-size: calc(var(--k6, 1) * var(--fs-h6)); }
.wk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.wk-dd { position: relative; }
.wk-tog { display: inline-flex; align-items: center; gap: .625rem; min-height: 2.875rem; padding: 0 1rem; background: var(--field-bg); font-size: calc(var(--k5, 1) * var(--fs-h5)); line-height: 1; }
.wk-tog svg { width: .6em; height: .6em; transition: transform .45s var(--ease-default); }
.wk-dd.is-open .wk-tog svg { transform: rotate(180deg); }
.wk-dd.is-set .wk-tog::before { content: ""; width: .5rem; height: .5rem; background: var(--c1); flex: none; }
.wk-menu { position: absolute; left: 0; top: 100%; min-width: 100%; display: none; flex-direction: column; gap: .25rem; padding: .625rem 0; background: color-mix(in srgb, var(--ink) 5%, var(--bg)); }
.wk-dd.is-open .wk-menu { display: flex; }
.wk-menu label { position: relative; display: flex; align-items: center; padding: .375rem 1rem; cursor: pointer; white-space: nowrap; font-size: 1rem; }
.wk-menu label:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.wk-menu input { position: absolute; opacity: 0; pointer-events: none; }
.wk-menu span::before { content: ""; display: inline-block; width: .625rem; height: .625rem; margin-right: .625rem; border: 1px solid currentColor; vertical-align: .02em; }
.wk-menu input:checked + span::before { background: var(--c1); border-color: var(--c1); }
.wk-menu input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 3px; }
.wk-clear { display: inline-flex; align-items: center; gap: .4rem; padding-block: .5rem; margin-block: -.5rem; font-size: 1rem; color: var(--field-hint); transition: color .2s; }
.wk-clear svg { width: .6rem; height: .6rem; }
.wk-clear:hover { color: var(--ink); }
.wk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem 1.25rem; margin-top: 3.5rem; transition: opacity .22s var(--ease-default); }
.wk-grid.is-swap { opacity: 0; }
.wk-card { display: flex; flex-direction: column; align-items: flex-start; gap: .875rem; min-width: 0; }
.wk-card[hidden] { display: none; }
.wk-media { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; display: grid; place-items: center; background: #111; }
.wk-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-osmo); }
.wk-card:hover .wk-img { transform: scale(1.15); }
.wk-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.wk-logo { position: relative; z-index: 1; width: 50%; height: 4rem; object-fit: contain; filter: brightness(0) invert(1); }
.wk-title { margin-top: .375rem; font-size: calc(var(--k5, 1) * var(--fs-h5)); line-height: 1.12; }
.t-d.wk-title { text-wrap: pretty; }   /* Orlando, 26 Nov 2026: card titles fill the first line (balance pushed words like AND down); beats .t-d:is(h3) */
.wk-desc { font-size: 1.125rem; line-height: 1.35; }
.wk-empty { margin-top: 3rem; }
.wk-cta { position: relative; overflow: clip; isolation: isolate; --dot: var(--c1); }
.wk-cta-in { position: relative; z-index: 2; padding: 0 var(--gutter); }
@media (max-width: 991px) {
  /* design check, 5 Nov 2026: tablets use the phone layout for the top block, and three project cards a row */
  .wk-hero { height: auto; min-height: 0; padding-top: 8.5rem; }
  .wk-in { height: auto; padding-bottom: 0; }
  .wk-text { width: 100%; }
  .wk-3d { position: relative; right: auto; width: auto; height: 32rem; margin: 2rem calc(-1 * var(--gutter)) 0; }
  .wk-list { font-size: 9px; }
  .wk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1rem; }
}
@media (max-width: 767px) {
  .wk-list { font-size: 8px; }
  .wk-grid { grid-template-columns: 1fr; gap: 3rem; }
  .wk-grid > .wk-card { order: var(--mo, 99); }   /* Work page on phones: Orlando's order (WORK_PHONE_ORDER in build.mjs) */
}

/* ---------- Case study and service pages (measured on the reference's /works/batman and /solutions pages) ---------- */
/* Numbers */
.stats-wrap { position: relative; max-width: 68.375rem; margin: 0 auto; }
.stats-band .band-in { padding-top: 6.5rem; padding-bottom: 6.5rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.stats.is-rows { row-gap: 5rem; }   /* several rows of numbers in one band (Consultancy, 12 Nov 2026) */
.stats.is-4 { display: flex; justify-content: space-between; }   /* four across (case study): equal space between them, edge to edge of the column, so the row sits exactly in the centre */
.stats.is-4 .stat { width: min-content; }   /* each one as wide as its number; the line under it wraps inside */
.stats.is-4 .stat-n { font-size: var(--fs-h1); }   /* as before: a size that leaves real space between four numbers on every screen */
/* Advertising stats (Orlando, 8 Nov 2026): the same space between the numbers, whatever their width; phones keep the stacked list */
@media (min-width: 768px) {
  .stats.is-even { display: flex; justify-content: space-between; }
  .stats.is-even .stat { width: min-content; }
}
@media (min-width: 768px) { .br-m { display: none; } }
/* 27 Nov 2026: on phones the words before a phone break stay on one line (Consultancy numbers: 2 lines, not 3) */
@media (max-width: 767px) { .stats.is-rows .stat-t .nw { white-space: nowrap; } }
.stats.is-lines .stat-t { white-space: nowrap; }   /* Lumora case (26 Nov 2026): the lines break only where the <br>s are, 3 lines each */
/* Case-study numbers in a mid-size window (Orlando, 26 Nov 2026): between phone and full desktop the row reached the band's
   edges (24 px). The row is at most 84% of the window wide, so it keeps real space left and right; from about 1300 px up
   the usual column is narrower anyway, so desktop and phone stay as they were */
@media (min-width: 768px) { .stats.is-even.is-lines { max-width: 84vw; margin-inline: auto; } }
/* Two rows of three in one band (Rezone, 26 Nov 2026: results on top, the monthly work under them). One grid, so each
   column lines up from row to row; each column as wide as its widest number, spread like the three-number case bands */
.stats.is-g6 { display: grid; grid-template-columns: repeat(3, max-content); justify-content: space-between; row-gap: 4.5rem; }
.stats.is-g6 .stat-t { white-space: nowrap; }
@media (min-width: 768px) { .stats.is-g6 { max-width: 84vw; margin-inline: auto; } }
@media (max-width: 767px) {
  .stats.is-g6 { justify-content: space-evenly; column-gap: .75rem; row-gap: 2.5rem; margin-inline: calc(-.5 * var(--gutter)); }
  .stats.is-g6 .stat-n { font-size: 3.25rem; }
  .stats.is-g6 .stat-t { font-size: .8125rem; padding-left: .625rem; }
}@media (max-width: 767px) { .br-d { display: none; } }
/* Home newsletter title (Orlando, 5 Nov 2026): two even lines on computers, the full width on phones */
@media (min-width: 992px) { .news-h { max-width: 80%; } }
.stat { display: flex; flex-direction: column; gap: 1.25rem; }
.stat-n { font-size: calc(var(--fs-h1) * 1.25); line-height: .88; white-space: nowrap; }   /* a range like 6–10 (TiranaKons, 27 Nov 2026) never breaks at the dash */
.stat-n sup { position: relative; top: .1em; margin-left: .05em; font-size: .42em; line-height: 0; vertical-align: top; }
.stat-t { max-width: 24ch; font-size: 1rem; line-height: 1.35; color: color-mix(in srgb, currentColor 85%, transparent); }
/* Case study */
.cs-hero { padding-top: 12rem; padding-bottom: clamp(2.5rem, 4.4vw, 4rem); background: var(--bg); color: var(--ink); }
.cs-head { display: flex; flex-direction: column; gap: 2.5rem; }
.cs-title { max-width: 17em; }
.cs-sub { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem 3rem; }
.cs-sub .rule { max-width: 32rem; }
.cs-hero-img { width: 100%; aspect-ratio: 2 / 1; margin-top: 4rem; object-fit: cover; background: #111; }
/* Revio (Orlando, 26 Nov 2026): the brand film loops silently under the short summary at 4:5 on computers;
   on phones it takes the header picture's place in the same square frame, and the one under the summary is hidden */
.cs-hero-vid { display: none; }
.cs-film { display: block; width: 100%; aspect-ratio: 4 / 5; margin: -1.5rem 0 3.5rem; object-fit: cover; background: #111; }
.cs-sec { --field-bg: color-mix(in srgb, var(--ink) 5%, var(--bg)); }
.cs-body { display: grid; grid-template-columns: minmax(0, 39rem) minmax(0, 1fr); gap: 4rem; align-items: start; }
.cs-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 0 0 2.5rem; }
.cs-meta div { padding-top: .75rem; border-top: 3px solid var(--c1); }
.cs-meta div:nth-child(2n) { border-color: var(--ink); }
.cs-meta dt { font-size: .8125rem; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.cs-meta dd { margin: .3rem 0 0; font-size: calc(var(--k6, 1) * var(--fs-h6)); line-height: 1.15; }
.cs-sum { margin-bottom: 3.5rem; padding: 1.75rem; background: var(--field-bg); }
.cs-sum h2, .cs-sum h3 { margin-bottom: .875rem; font-size: calc(var(--k6, 1) * var(--fs-h6)); }
.cs-art > h2, .cs-art > h3 { margin: 3.25rem 0 1.25rem; font-size: var(--fs-h3); line-height: var(--lh-h3); scroll-margin-top: 8rem; }
.cs-art > p, .cs-sum p, .cs-list li { color: color-mix(in srgb, var(--ink) 80%, transparent); }
.cs-art > p + p { margin-top: 1rem; }
.cs-list { display: flex; flex-direction: column; gap: .75rem; }
.cs-list li { position: relative; padding-left: 1.5rem; }
.cs-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; background: var(--c1); }
.cs-list b { font-weight: 500; color: var(--ink); }
/* Case study quote (Geely, 26 Nov 2026): the client's own words, approved */
.cs-quote { margin: 1.5rem 0 0; padding: 1.75rem 1.75rem 1.75rem 1.5rem; border-left: 3px solid var(--c1); background: var(--field-bg); }
.cs-quote p { margin: 0; font-size: 1.125rem; line-height: 1.55; color: var(--ink); }
.cs-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .9375rem; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.cs-list-gap { margin-top: 1.5rem; }   /* Lumora case (Orlando, 26 Nov 2026): room between the paragraph and the first square */
.cs-side { position: sticky; top: 7.5rem; justify-self: end; display: flex; flex-direction: column; gap: 2.5rem; width: 100%; max-width: 19.5rem; }
.toc { display: flex; flex-direction: column; gap: .875rem; }
.toc a { display: block; padding-left: 1rem; border-left: 3px solid transparent; font-family: var(--font-display); font-weight: var(--w-display); font-size: calc(var(--k6, 1) * var(--fs-h6)); line-height: 1.15; letter-spacing: var(--ls-display); text-transform: uppercase; opacity: .5; transition: opacity .35s var(--ease-default), border-color .35s var(--ease-default); }
.toc a:hover { opacity: .8; }
.toc a.is-on { opacity: 1; border-color: var(--c1); }
.cs-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem 1rem 1.25rem; background: var(--c1); color: #FFFFFF; }
.cs-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='2' height='2' fill='white'/%3E%3C/svg%3E"); opacity: .2; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.cs-cta span { display: flex; flex-direction: column; gap: .2rem; }
.cs-cta b { font-weight: inherit; font-size: calc(var(--k6, 1) * var(--fs-h6) * 1.1); line-height: 1.1; }
.cs-cta small { font-size: 1rem; }
.cs-cta i { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; background: #0A0A0A; transition: transform .45s var(--ease-osmo); }
.cs-cta i svg { width: 1.25rem; height: 1.25rem; }
.cs-cta:hover i { transform: translateX(.25rem); }
/* Flick cards: a fan of five white cards, as on the reference (423 x 634, 1 px border, side cards faded) */
.fk-sec { overflow: clip; }
.fk-head { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
/* Flick cards: the posters and a reel in a fan (4:5, as first built). motion.js moves them with the reference's own logic. */
.fk { position: relative; height: 37rem; margin-top: 3.5rem; outline: none; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.fk:focus-visible .fk-card.is-on { outline: 2px solid var(--ink); outline-offset: 6px; }
.fk.is-drag { cursor: grabbing; }
.fk-card { position: absolute; left: 0; right: 0; top: 0; width: 26.4rem; max-width: 72vw; aspect-ratio: 4 / 5; margin: 0 auto; overflow: hidden; background: #111; box-shadow: 0 1.5rem 3rem rgba(10, 10, 10, .18); will-change: transform; }
.fk-card img, .fk-card video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
/* Sales videos (Diellon, 26 Nov 2026): up to four 9:16 videos in a row under the cards; the play button starts one with
   sound and native controls, and stops any other that is playing */
.sv-sec { padding-top: 0; }
.sv-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 3rem; }
.sv-card { position: relative; flex: 0 0 calc((100% - 3.75rem) / 4); margin: 0; aspect-ratio: 9 / 16; overflow: hidden; background: #111; }
.sv-card video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sv-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: rgba(10, 10, 10, .18); color: #FFFFFF; cursor: pointer; transition: background-color .3s; }
.sv-play svg { width: 4.5rem; height: 4.5rem; padding: 1.35rem; background: var(--c1); transition: transform .3s var(--ease-default); }
.sv-play:hover { background: rgba(10, 10, 10, .05); }
.sv-play:hover svg { transform: scale(1.08); }
.sv-play:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -6px; }
.sv-card.is-on .sv-play { display: none; }
.sv-card.is-empty { background: color-mix(in srgb, var(--ink) 6%, var(--bg)); }   /* placeholder until the video arrives */
.sv-card.is-empty .sv-play { background: none; cursor: default; }
.sv-card.is-empty .sv-play svg { background: color-mix(in srgb, var(--ink) 14%, var(--bg)); transform: none; }
@media (min-width: 992px) { .sv-grid.is-3 .sv-card { flex-basis: calc((100% - 2.5rem) / 3); } }   /* three a row (Prestige, 26 Nov 2026) */
@media (max-width: 991px) { .sv-card { flex-basis: calc((100% - 1.25rem) / 2); } }
/* Video segments (Mundija, 26 Nov 2026): the video on the left, kicker + title + description on the right; one column on phones */
.vs-list { display: grid; gap: 5rem; margin-top: 3.5rem; }
.vs-row { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 32rem); justify-content: center; align-items: center; gap: 4.5rem; }
.vs-card { width: 100%; flex: none; }
.vs-kick { font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.vs-title { margin-top: .75rem; font-size: calc(var(--fs-h3) * .9); line-height: 1.05; text-wrap: balance; }
.vs-desc { margin-top: 1.25rem; color: color-mix(in srgb, var(--ink) 80%, transparent); }
@media (max-width: 767px) { .vs-list { gap: 3.5rem; } .vs-row { grid-template-columns: 1fr; gap: 1.75rem; } .vs-card { max-width: 20rem; } }
/* Square artwork slides (Slothy Music, 26 Nov 2026): the same flick cards, 1:1 */
.fk.is-square .fk-card { aspect-ratio: 1; }
/* Music videos (Slothy Music, 26 Nov 2026): two 16:9 videos side by side, stacked on phones */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.mv-card { width: 100%; flex: none; aspect-ratio: 4 / 3; }   /* Orlando, 26 Nov 2026: both music videos 4:3 (Lotet Thaji cropped to it) */
.mv-meta { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-top: 1rem; }   /* the YouTube link always under the title (Orlando, 26 Nov 2026) */
.mv-title { font-size: calc(var(--fs-h3) * .62); line-height: 1.1; }
.mv-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .9375rem; color: var(--ink); text-decoration: none; }
.mv-link svg { width: 1rem; height: 1rem; }
.mv-link:hover { color: var(--c1); }
.mv-link.is-empty { color: color-mix(in srgb, var(--ink) 40%, transparent); }   /* until the YouTube link arrives */
@media (max-width: 767px) { .mv-grid { grid-template-columns: 1fr; } }
.fk-who { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.fk-av { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; overflow: hidden; background: color-mix(in srgb, var(--ink) 6%, #FFFFFF); }
.fk-av img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.fk-av img.is-logo { width: 72%; height: 72%; object-fit: contain; }
.fk-who b { display: block; font-weight: inherit; font-size: calc(var(--k6, 1) * var(--fs-h6) * 1.15); line-height: 1.1; }
.fk-who small { display: block; margin-top: .2rem; font-size: .9375rem; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.more-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.more-head .rule { max-width: 30rem; }
/* Consultancy roadmap (Orlando, 4 Nov 2026): a winding road of square dots (4 px squares every 10 px) that curves left and
   right toward each stop; each stop's square sits on the road at the outer point of the curve, next to its card. The cards
   alternate sides, half a card apart. motion.js draws the curve; without it (and on phones) the road is a straight line. */
.rm-head { margin-bottom: 4.5rem; }
.rm-road { position: relative; }
.rm-path { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; clip-path: inset(0 0 calc(100% - var(--rm-p, 1) * 100%) 0); transition: clip-path 1.4s var(--ease-tile); }
.rm-path path { fill: none; stroke: var(--c1); stroke-width: 4; stroke-dasharray: 4 6; }
.rm-list { --lane: 12rem; --amp: 3.75rem; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--lane); row-gap: 3.5rem; grid-auto-rows: 1fr; margin: 0; padding: 0; list-style: none; }   /* equal rows: every card the same height, so the zigzag is even */
.rm-list::before { content: ""; position: absolute; top: 1.5rem; bottom: 1.5rem; left: 50%; width: 4px; margin-left: -2px; background: repeating-linear-gradient(to bottom, var(--c1) 0 4px, transparent 4px 10px); clip-path: inset(0 0 calc(100% - var(--rm-p, 1) * 100%) 0); transition: clip-path 1.4s var(--ease-tile); }
.rm-road.has-curve .rm-list::before { display: none; }
.rm-stop { position: relative; display: flex; flex-direction: column; grid-column: 1; grid-row: var(--r) / span 2; }
.rm-stop .rm-card { flex: 1 1 auto; }
.rm-stop.is-finish .rm-card { flex: 0 0 auto; }
.rm-stop:nth-child(even) { grid-column: 2; }
.rm-node { position: absolute; z-index: 2; top: 1.25rem; right: calc(var(--amp) - var(--lane) / 2 - 1.375rem); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--c1); color: #FFFFFF; font-size: 1.25rem; line-height: 1; }
.rm-stop:nth-child(even) .rm-node { right: auto; left: calc(var(--amp) - var(--lane) / 2 - 1.375rem); }
.rm-road:not(.has-curve) .rm-node { right: calc(var(--lane) / -2 - 1.375rem); }
.rm-road:not(.has-curve) .rm-stop:nth-child(even) .rm-node { right: auto; left: calc(var(--lane) / -2 - 1.375rem); }
.rm-stop.is-start .rm-node, .rm-stop.node-start .rm-node { background: #FFFFFF; box-shadow: inset 0 0 0 3px var(--ink); }
.rm-stop.is-finish .rm-node, .rm-stop.node-finish .rm-node { background: var(--ink); }
.rm-card { position: relative; isolation: isolate; overflow: hidden; background: #FFFFFF; border: 1px solid var(--cell-line); box-shadow: 0 1.25rem 2.5rem rgba(10, 10, 10, .06); }
.rm-img { aspect-ratio: 16 / 8; overflow: hidden; background: #111; }
.rm-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* The two stops without a picture get a drawn header, so every card has the same shape: a grey block of scattered
   squares with a question mark (guessing), and the red dotted block with "15 min" (the free call). */
.rm-mark { position: relative; isolation: isolate; display: grid; place-items: center; }
.rm-mark span { font-size: clamp(3.25rem, 6.2vw, 6rem); line-height: 1; }
.rm-stop.is-start .rm-mark { background: color-mix(in srgb, var(--ink) 7%, #FFFFFF) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='%230A0A0A' fill-opacity='.16'%3E%3Crect x='6' y='9' width='4' height='4'/%3E%3Crect x='37' y='4' width='4' height='4'/%3E%3Crect x='22' y='27' width='4' height='4'/%3E%3Crect x='51' y='33' width='4' height='4'/%3E%3Crect x='11' y='48' width='4' height='4'/%3E%3Crect x='42' y='54' width='4' height='4'/%3E%3C/g%3E%3C/svg%3E"); color: color-mix(in srgb, var(--ink) 28%, transparent); }
.rm-stop:nth-child(2) .rm-mark { background: var(--c1); color: #FFFFFF; }
.rm-stop:nth-child(2) .rm-mark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='2' height='2' fill='white'/%3E%3C/svg%3E"); opacity: .2; }
.rm-body { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.5rem 1.75rem 1.75rem; }
.rm-tag { padding: .3rem .45rem .2rem; font-size: calc(var(--k6, 1) * var(--fs-h6)); line-height: 1; background: var(--c1); color: #FFFFFF; }
.rm-title { font-size: calc(var(--k5, 1) * var(--fs-h5) * 1.4); line-height: 1.05; }
.rm-text { font-size: 1rem; line-height: 1.45; color: color-mix(in srgb, var(--ink) 75%, transparent); }
.rm-stop.is-start .rm-card { background: color-mix(in srgb, var(--ink) 4%, #FFFFFF); box-shadow: none; }
.rm-stop.is-start .rm-tag { background: var(--ink); }
.rm-stop.is-start .rm-title { color: color-mix(in srgb, var(--ink) 55%, transparent); }
.rm-stop.is-finish .rm-card { background: var(--c1); border-color: var(--c1); color: #FFFFFF; box-shadow: 0 1.5rem 3rem rgba(234, 40, 40, .22); }
.rm-stop.is-finish .rm-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='2' height='2' fill='white'/%3E%3C/svg%3E"); opacity: .14; -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%); mask-image: linear-gradient(120deg, transparent 30%, #000 100%); }
.rm-stop.is-finish .rm-tag { background: #0A0A0A; }
.rm-stop.is-finish .rm-text, .rm-note { color: #FFFFFF; }
.rm-proof { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: .75rem; }
.rm-proof p { display: flex; flex-direction: column; gap: .35rem; }
.rm-proof b { font-weight: inherit; font-size: calc(var(--fs-h1) * .85); line-height: .88; }
.rm-proof sup { position: relative; top: .1em; margin-left: .05em; font-size: .42em; line-height: 0; vertical-align: top; }
.rm-proof span { font-size: .9375rem; }
.rm-note { font-size: .875rem; line-height: 1.4; }
.rm-go { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 4.5rem; text-align: center; }
/* Shown once (Orlando, 4 Nov 2026): the first time a stop comes into view it rises in (4 rem, like the reference's reveal),
   its square pops onto the path and the path draws down to it. After that it stays; scrolling back does nothing. */
.rm-road.is-armed { --rm-p: 0; }
.rm-road.no-tr .rm-path, .rm-road.no-tr .rm-list::before, .rm-road.no-tr .rm-card, .rm-road.no-tr .rm-node { transition: none !important; }
.rm-road.is-armed .rm-card { opacity: 0; transform: translateY(4rem); transition: opacity 1s var(--ease-tile) var(--d, 0s), transform 1.6s var(--ease-tile) var(--d, 0s); }
.rm-road.is-armed .rm-node { transform: scale(0); transition: transform .7s var(--ease-tile) calc(var(--d, 0s) + .2s); }
.rm-road.is-armed .rm-stop.is-in .rm-card, .rm-road.is-armed .rm-stop.is-in .rm-node { opacity: 1; transform: none; }
@media (max-width: 767px) {
  .rm-list { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; row-gap: 2rem; padding-left: 3.25rem; }
  .rm-list::before { left: 1.375rem; }
  .rm-stop, .rm-stop:nth-child(even) { grid-column: 1; grid-row: auto; }
  .rm-node, .rm-stop:nth-child(even) .rm-node, .rm-road:not(.has-curve) .rm-node, .rm-road:not(.has-curve) .rm-stop:nth-child(even) .rm-node { right: auto; left: -3.25rem; top: 1rem; }
  .rm-body { padding: 1.25rem 1.25rem 1.5rem; }
}
/* Service pages: heroes */
.sv-hero { position: relative; overflow: clip; isolation: isolate; padding-top: 12rem; background: var(--bg); color: var(--ink); --dot: var(--c1); }
.sv-in { position: relative; z-index: 2; }
.sv-tag { margin-bottom: 1.25rem; }
.sv-tag .hl { padding: .05em .2em 0; }
.sv-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; margin-top: 2.5rem; }
.sv-row .rule { max-width: 38rem; }
.sv-band .band-in { padding-top: 12rem; padding-bottom: 6rem; }
.sv-giant { font-size: clamp(2.75rem, .04rem + 9.8vw, 9.5rem); line-height: .9; }
.sv-lede { max-width: 38rem; margin-top: 2.5rem; color: color-mix(in srgb, currentColor 85%, transparent); }
.sv-band .stats { margin-top: 6rem; }
.band-c { --band-bg: #A31C1C; --band-ink: #FFFFFF; --band-dot: #FFFFFF; }
.on-c { --btn-bg: #FFFFFF; --btn-text: #0A0A0A; --btn-hover-bg: #0A0A0A; --btn-hover-text: #FFFFFF; --btn-between: #EA2828; }
/* Consultancy hero with the sales video (Orlando, 4 Nov 2026): the title, text and numbers a bit smaller on the left;
   the video (a placeholder for now) on the right with Book an appointment under it. Phones: text, video, button, numbers. */
.vsl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "text media" "stats media"; column-gap: clamp(3rem, 6vw, 7rem); }
.vsl-text { grid-area: text; }
.vsl-media { grid-area: media; align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.sv-vsl .sv-tag { font-size: calc(var(--fs-h3) * .8); margin-bottom: 1rem; }
.sv-vsl .sv-giant { font-size: clamp(2.5rem, .3rem + 5.9vw, 6.5rem); }
.sv-vsl .sv-lede { max-width: 32rem; margin-top: 1.75rem; font-size: .9375rem; text-wrap: pretty; }
.sv-vsl .stats { grid-area: stats; margin-top: 3rem; gap: 1.5rem; }
.sv-vsl .stat { gap: 1rem; }
.sv-vsl .stat-n { font-size: calc(var(--fs-h1) * .8); }
.sv-vsl .stat-t { font-size: .875rem; }
.vsl-video { position: relative; width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #0A0A0A; }
.vsl-play { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; background: #FFFFFF; color: #0A0A0A; }
.vsl-play svg { width: 1.5rem; height: 1.5rem; margin-left: .15rem; }
.vsl-label { position: absolute; left: 1.25rem; bottom: 1rem; font-size: var(--fs-h6); line-height: 1; color: rgba(255, 255, 255, .7); }
/* Header over a dark hero: white until it tints, opens a menu or a dropdown */
.nav.is-on-dark { --nav-ink: #FFFFFF; }
.nav.is-on-dark[data-tint="on"], .nav.is-on-dark[data-dd-open="on"], .nav.is-on-dark[data-menu="open"] { --nav-ink: var(--bar-ink); }
.nav.is-on-dark:not([data-tint="on"]):not([data-dd-open="on"]):not([data-menu="open"]) .nav-end { --btn-bg: #FFFFFF; --btn-text: #0A0A0A; --btn-hover-bg: var(--c1); --btn-hover-text: #FFFFFF; --btn-between: #F0F5F7; }
.nav.is-on-dark:not([data-tint="on"]):not([data-menu="open"]) .menu-btn { background: #FFFFFF; color: #0A0A0A; }
/* Dock row: 9:16 cards, 16 px apart, about 92 px a second; the swell is set by motion.js */
.dock { position: relative; z-index: 2; overflow: hidden; margin-top: 2.5rem; padding: 4rem 0; }
.dock-track { display: flex; width: max-content; animation: mq-x var(--mq, 30s) linear infinite; animation-play-state: paused; will-change: transform; }
.is-run .dock-track { animation-play-state: running; }
.dock-set { display: flex; gap: 1rem; padding-right: 1rem; }
.dock-img { flex: none; width: 10rem; height: 17.625rem; object-fit: cover; background: #111; will-change: transform; }
/* Branding: the same row with 16:10 pictures at the same height (Orlando, 5 Nov 2026) */
.dock.is-wide .dock-img { width: 17.625rem; }   /* 1:1 boxes (Orlando, 10 Nov 2026) */
/* Advertising: 4:5 pictures at the same height (Orlando, 8 Nov 2026) */
.dock.is-45 .dock-img { width: 14.1rem; }
.sv-band.has-dock .band-in { padding-bottom: 0; }
.sv-band.has-dock .dock { margin-top: 1rem; padding-bottom: 5rem; }
/* Pinned features */
.sf { position: relative; height: calc(100vh + var(--n, 4) * 150vh); background: var(--bg); color: var(--ink); --field-bg: color-mix(in srgb, var(--ink) 5%, var(--bg)); }
.sf-pin { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; overflow: hidden; }
.sf-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; align-items: stretch; width: 100%; padding: 6.5rem var(--gutter) 2rem; }
.sf-items { position: relative; min-height: 18rem; }
.sf-item { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; opacity: 0; transform: translateY(30px); pointer-events: none; will-change: opacity, transform; }   /* motion.js moves it with the scroll */
.sf-item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sf-n { font-size: clamp(3.5rem, 6vw, 6.5rem); line-height: 1; opacity: .16; }
.sf-txt { display: flex; flex-direction: column; gap: 1.5rem; }
.sf-txt h2 { max-width: 13em; }
.sf-txt .rule { max-width: 34rem; }
.sf-media { position: relative; width: min(41.25rem, calc((100vh - 11rem) * 1.08), 50vw); }   /* design check: never more than half the screen */
.sf-imgs { position: relative; aspect-ratio: 660 / 611; overflow: hidden; background: var(--field-bg); }
.sf-img { position: absolute; inset: 0; clip-path: inset(50%); will-change: clip-path; }   /* motion.js opens it with the scroll */
.sf-img.is-on { z-index: 2; clip-path: inset(0); }
.sf-img img, .sf-img video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-bar { height: 5px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.sf-bar i { display: block; height: 100%; background: var(--c1); transform: scaleX(0); transform-origin: 0 50%; }
/* How it works: four tilted cards */
.pr-head { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; max-width: 46rem; }
.pr-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3rem; padding-bottom: 6rem; }
.pr-card { display: flex; flex-direction: column; gap: 1.25rem; min-height: 19rem; padding: 2rem 1.75rem; background: var(--bg); border: 1px solid var(--cell-line); box-shadow: 0 1.25rem 2.5rem rgba(10, 10, 10, .06); transform: translateY(var(--y, 0rem)) rotate(var(--r, 0deg)); transition: transform .6s var(--ease-osmo); }
.pr-card:nth-child(1) { --r: -5deg; --y: 6rem; }
.pr-card:nth-child(2) { --r: 3deg; }
.pr-card:nth-child(3) { --r: -2deg; --y: 6rem; }
.pr-card:nth-child(4) { --r: 4deg; }
.pr-card:hover { --r: 0deg; }
.pr-card svg { width: 3rem; height: 3rem; margin-bottom: auto; }
.pr-card h3 { font-size: calc(var(--k5, 1) * var(--fs-h5)); line-height: 1.1; }
/* Ways to work together: the left side stays while the cards pass */
.ww-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 4rem; align-items: start; }
.ww-left { position: sticky; top: 7.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.ww-gal { display: flex; gap: .75rem; width: 86%; margin-top: 1.5rem; transform: perspective(140rem) rotateY(-16deg); transform-origin: 0 50%; }   /* a gentle tilt: the pictures stay within 4% of their true shape (the old 60rem / 22deg stretched the last one by 12%) */
.ww-gal img, .ww-gal video { flex: 1 1 0; min-width: 0; max-width: 8.5rem; aspect-ratio: 9 / 13; object-fit: cover; box-shadow: 0 1rem 2rem rgba(0, 0, 0, .25); }   /* share the column (iPads), at most 8.5rem each */
.ww-cards { display: flex; flex-direction: column; gap: 4.5rem; }
.ww-card { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 24rem; padding: 2rem; background: #FFFFFF; color: #0A0A0A; --bg: #FFFFFF; }
.ww-card svg { width: 3.5rem; height: 3.5rem; }
.ww-card h3 { margin-bottom: .875rem; font-size: calc(var(--fs-h3) * .62); line-height: 1.05; }
.ww-card p { color: rgba(10, 10, 10, .7); }
/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: 5rem; align-items: start; }
.faq-h { margin-bottom: 2.5rem; font-size: calc(var(--fs-h1) * 1.3); line-height: .9; }
.acc-item { border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; padding: 1.5rem 0; text-align: left; font-size: calc(var(--k5, 1) * var(--fs-h5)); line-height: 1.15; }
.acc-ic { display: grid; place-items: center; flex: none; width: 1.25rem; height: 1.25rem; transition: transform .6s var(--ease-osmo); }
.acc-ic svg { width: .875rem; height: .875rem; }
.acc-q[aria-expanded="true"] .acc-ic { transform: rotate(45deg); }
.acc-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .6s var(--ease-osmo), visibility 0s .6s; }
.acc-item.is-open .acc-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .6s var(--ease-osmo); }
.acc-in { overflow: hidden; min-height: 0; }
.acc-in p { max-width: 42rem; padding: 0 3rem 1.75rem 0; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.faq-case { position: sticky; top: 7.5rem; }
.rel-card { display: flex; flex-direction: column; align-items: flex-start; gap: .875rem; }
.rel-card:hover .wk-img { transform: scale(1.15); }
.rel-go { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; padding: .7rem 1rem; background: var(--c1); color: #FFFFFF; font-size: var(--fs-btn-sm); line-height: 1.2; }
.rel-go svg { width: 1em; height: 1em; }
@media (max-width: 991px) {
  .stats.is-4 { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; column-gap: 6rem; row-gap: 3rem; }   /* tablets: two by two, centred */
  .stats.is-4 .stat { width: auto; }
  .stats.is-4 .stat-t { max-width: none; white-space: nowrap; }   /* one line each, so the pair is centred on what you see */
  .cs-hero, .sv-hero { padding-top: 9rem; }
  .sv-band .band-in { padding-top: 9rem; }
  .vsl { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "media" "stats"; }
  .vsl-media { margin-top: 2.5rem; }
  .cs-body { grid-template-columns: 1fr; }
  .cs-side { position: static; justify-self: start; max-width: 22rem; }
  .cs-side .toc { display: none; }
  .pr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .pr-card:nth-child(n) { --y: 0rem; }
  .ww-in { grid-template-columns: 1fr; }
  .ww-left { position: static; }
  /* design check, 5 Nov 2026: the 01-04 section in its phone layout up to 991 px; the work-together cards side by side */
  .sf { height: calc(100vh + var(--n, 4) * 100vh); }
  .sf-in { grid-template-columns: 1fr; align-content: start; gap: 1.5rem; height: 100%; padding-top: 6.5rem; padding-bottom: 1.5rem; }
  .sf-media { order: -1; width: 100%; }
  /* 7 Nov 2026: the frame always spans the full width; the height is 4:3 but never more than 52vh. The old max-height squeezed the 4:3 frame narrower and left a gap on the right (iPads). The picture covers the frame. */
  .sf-imgs { aspect-ratio: auto; width: 100%; height: min(calc((100vw - 2 * var(--gutter)) * .75), 52vh); }
  .sf-items { min-height: 17rem; }
  .sf-n { font-size: 2.75rem; }
  .ww-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .ww-card { min-height: 20rem; padding: 1.5rem; gap: 2rem; }
  .faq { grid-template-columns: 1fr; gap: 3rem; }
  .faq-case { position: static; max-width: 26rem; }
}
@media (max-width: 767px) {
  .stats { grid-template-columns: 1fr; }
  .stats.is-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem; }   /* phones: two across, or twelve numbers make a very long column */
  .stats.is-rows .stat-n { font-size: var(--fs-h1); }
  .stats.is-rows .stat-t { font-size: .875rem; }
  /* phones: two by two; the same space left, between and right, measured on the words and numbers themselves */
  .stats.is-4 { grid-template-columns: repeat(2, max-content); justify-content: space-evenly; column-gap: 0; margin-inline: calc(-1 * var(--gutter)); }
  .cs-head { padding-left: 0; }
  .cs-hero-img { aspect-ratio: 1; }
  .cs-hero-img.is-lumora { object-position: 72% 50%; }   /* Lumora (Orlando, 26 Nov 2026): the helmet moved in off the right edge */
  .cs-hero-img.is-revio, .cs-hero-wide, .cs-film { display: none; }   /* phones: the square film takes the header (Revio, Diellon) */
  .cs-hero-vid { display: block; }
  .cs-hero-vid.is-169 { aspect-ratio: 16 / 9; }   /* Geely (Orlando, 27 Nov 2026): the full 16:9 frame on phones, so the film's words are never cut */
  /* Lumora numbers on phones (26 Nov 2026): the three side by side, the same space left, between and right */
  .stats.is-lines { display: flex; justify-content: space-evenly; gap: .75rem; margin-inline: calc(-.5 * var(--gutter)); }
  .stats.is-lines .stat { width: min-content; }
  .stats.is-lines .stat-n { font-size: 3.25rem; }
  .stats.is-lines .stat-t { font-size: .8125rem; padding-left: .625rem; }
  /* Consultancy hero, phones (Orlando, 27 Nov 2026): the three numbers sit side by side like the case-study rows (Revio) */
  .sv-vsl .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: .75rem; margin-inline: calc(-.5 * var(--gutter)); }
  .sv-vsl .stat-n { font-size: 3.25rem; }
  .sv-vsl .stat-t { font-size: .8125rem; padding-left: .625rem; }
  .fk { height: 24rem; }
  .fk-card { width: 17rem; }
  .dock-img { width: 7.5rem; height: 13.2rem; }
  .dock.is-wide .dock-img { width: 13.2rem; }
  .dock.is-45 .dock-img { width: 10.56rem; }
  .pr-cards { grid-template-columns: 1fr; padding-bottom: 0; }
  /* Phones (Orlando, 27 Nov 2026: "not optimized for mobile"): compact cards, the icon beside the title, no empty middle */
  .ww-cards { display: flex; flex-direction: column; gap: 1rem; }
  .ww-card { min-height: 0; padding: 1.5rem; gap: 1.25rem; }
  .ww-card svg { width: 2.75rem; height: 2.75rem; }
  .ww-in { gap: 3rem; }
  .pr-card { min-height: 0; }
  .ww-gal img, .ww-gal video { max-width: 5rem; }
  /* Orlando, 5 Nov 2026: phones set THE and BOX at the size of THINK OUTSIDE, THE on the left, BOX on the right and the
     red 3 between them at the same height (motion.js gives both lines one size) */
  .ht-tb { display: contents; }
  .ht-the, .ht-box { display: block; flex: none; position: relative; top: calc(var(--shift, 0) * 1em); white-space: nowrap; }
  .ht-the { order: 1; }
  .ht-2 .ht-3 { order: 2; }
  .ht-box { order: 3; }
}
@media (max-width: 380px) {
  .sv-vsl .stat-t { font-size: .75rem; padding-left: .5rem; }   /* the longest German word (Wachstumsplan,) still fits its column */
}

/* Blog (reference: /blogs) */
.bl-hero { padding-top: 12rem; background: var(--bg); color: var(--ink); }
.bl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; }
.bl-lede { max-width: 24rem; }
.bl-sec { padding-top: 5rem; --field-bg: color-mix(in srgb, var(--ink) 5%, var(--bg)); --field-hint: #6B7174; }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 1.5rem; margin-top: 3.5rem; transition: opacity .22s var(--ease-default); }
.bl-grid.is-swap { opacity: 0; }
.bl-card { display: flex; flex-direction: column; align-items: flex-start; gap: .875rem; min-width: 0; }
.bl-card[hidden] { display: none; }
.bl-img { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c1); }
.bl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-osmo); }
.bl-card:hover .bl-img img { transform: scale(1.15); }
.bl-img .b-banner { font-size: 1.25rem; }
.bl-title { font-size: calc(var(--k6, 1) * var(--fs-h6) * 1.15); line-height: 1.12; }
.bl-text { display: -webkit-box; overflow: hidden; font-size: 1rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
/* Reveal groups: rise 4rem and fade in, 2 s expo out, 100 ms apart */
.can-reveal [data-reveal] { opacity: 0; transform: translateY(4rem); }
.can-reveal [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 2s cubic-bezier(.19, 1, .22, 1) var(--d, 0s), transform 2s cubic-bezier(.19, 1, .22, 1) var(--d, 0s); }
/* Privacy policy (reference: /policy) */
.pv { padding: 12rem 0 var(--sp); background: var(--bg); color: var(--ink); }
.pv-date { margin-top: 1.25rem; font-size: 1rem; }
.pv-body { max-width: 42rem; margin-top: 4.5rem; }   /* design check: ~84 characters a line (was ~95) */
/* Section titles stay modest on legal pages (Orlando, 3 Nov): about 30 px on a computer, 22 px on a phone */
.pv-body h2 { margin: 3rem 0 1.125rem; font-size: clamp(1.375rem, 1.05rem + .95vw, 2rem); line-height: 1.1; scroll-margin-top: 8rem; }
.pv-body h2:first-child { margin-top: 0; }
.pv-body p, .pv-list span { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.pv-body p + p, .pv-body p + .pv-list, .pv-list + p { margin-top: 1rem; }
.pv-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.pv-list li { position: relative; padding-left: 1.5rem; }
.pv-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; background: var(--c1); }
.pv-list b { display: block; margin-bottom: .2rem; font-weight: 500; color: var(--ink); }
.pv-contact b { font-weight: 500; color: var(--ink); }
@media (max-width: 991px) { .bl-hero, .pv { padding-top: 9rem; } .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bl-grid { grid-template-columns: 1fr; } }

/* About (reference: /about) */
.ab-hero { position: relative; overflow: clip; isolation: isolate; padding: 12rem 0 4rem; background: var(--bg); color: var(--ink); --dot: var(--c1); }
.ab-head { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2.5rem; padding-left: clamp(0rem, 4.6vw, 4.25rem); }
.ab-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.ab-row .rule { max-width: 41rem; }
.ab-film { background: #0A0A0A; }
.ab-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0A0A0A; }
.ab-brands { display: flex; align-items: center; gap: 2rem; padding: 3.5rem 0 3.5rem var(--gutter); overflow: hidden; background: var(--bg); color: var(--ink); }
.ab-brands-label { flex: none; max-width: 13rem; font-size: .9375rem; line-height: 1.35; }
.ab-mq { flex: 1; min-width: 0; overflow: hidden; padding: .8rem 0; margin: -.8rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ab-track { display: flex; width: max-content; animation: mq-x 40s linear infinite; animation-play-state: paused; will-change: transform; }
.is-run .ab-track { animation-play-state: running; }
.ab-set { display: flex; align-items: center; gap: 4.5rem; padding-right: 4.5rem; }
.ab-set img { width: auto; height: 3.25rem; flex: none; object-fit: contain; }   /* 8 Nov 2026: no width cap, so every logo is drawn at Diellon's height */
.ab-vals .vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.val { display: flex; flex-direction: column; gap: 1rem; }
.val-n { font-size: 1.75rem; opacity: .6; }
.val h3 { font-size: calc(var(--k5, 1) * var(--fs-h5) * 1.1); line-height: 1.1; }
/* Team: photos to come, brand-colour tiles until then */
.tm-in, .jr-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
.tm-side { position: sticky; top: 7.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.tm-side .rule, .jr-head .rule { max-width: 24rem; }
.tm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1rem; }
.tm-card { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.tm-ph { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 280 / 374; margin-bottom: .75rem; overflow: hidden; background: var(--tm); color: #FFFFFF; }
.tm-ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='2' height='2' fill='white'/%3E%3C/svg%3E"); opacity: .16; -webkit-mask-image: linear-gradient(180deg, transparent 15%, #000 100%); mask-image: linear-gradient(180deg, transparent 15%, #000 100%); }
.tm-ph span { font-size: calc(var(--fs-h1) * 1.2); line-height: 1; }
.tm-ph img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center top; }   /* team photos (Boxie first, 21 Nov 2026) */
.tm-name { font-size: calc(var(--k5, 1) * var(--fs-h5)); line-height: 1.1; }
.tm-role { font-size: .9375rem; }
/* The journey so far (Orlando, 5 Nov 2026): a history timeline in the style of kenan-flagler.unc.edu/about/history,
   measured there at 1440 px: a 1 px line down the middle; each row two columns of 43%, the text on one side and a 16:10
   picture on the other, swapping sides row by row; 120 px between rows; beside each heading a 26 px marker that pops in
   (0.2 s with a small overshoot) and fills when the row's top passes 64% of the screen height, then stays. In our look:
   a square marker that turns brand red, the date in red, Big Shoulders headings, a light grey line. Where the column is
   narrow (phones, and the right column below about 1300 px) the line runs down the left with the picture above the
   text, as the reference does on phones. */
.jr-side { position: sticky; top: 7.5rem; }
.jr-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.jr-tl { container-type: inline-size; --mk: 1.375rem; --tl-line: color-mix(in srgb, var(--ink) 18%, transparent); }
.jr-rows { --tl-x: .6875rem; position: relative; display: flex; flex-direction: column; gap: 3.5rem; margin: 0; padding: 2.5rem 0 2.5rem 3rem; list-style: none; }
.jr-rows::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--tl-x); width: 1px; background: var(--tl-line); }
.jr-row { --jr-hs: clamp(1.875rem, 5cqi, 2.75rem); position: relative; display: flex; flex-direction: column; gap: 1.5rem; }
.jr-row::before { content: ""; position: absolute; z-index: 1; top: .5rem; left: calc(var(--tl-x) - 3rem - var(--mk) / 2 + .5px); width: var(--mk); height: var(--mk); box-sizing: border-box; background: var(--c1); border: 1px solid var(--c1); transition: transform .2s cubic-bezier(.345, .6, .87, 1.65), background-color .2s, border-color .2s; }
.jr-tl.is-armed .jr-row:not(.is-on)::before { transform: scale(0); background: #F7F7F7; border-color: var(--tl-line); }
.jr-tl.no-tr .jr-row::before { transition: none; }
.jr-pic img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.jr-h { margin-bottom: .35em; font-size: var(--jr-hs); line-height: 1; }
.jr-when { color: var(--c1); }
.jr-copy p { font-size: 1.0625rem; line-height: 1.6; }
@container (min-width: 42rem) {
  .jr-rows { --tl-x: 50%; gap: 6rem; padding: 2.75rem 0; }
  .jr-row { flex-direction: row; justify-content: space-between; gap: 0; }
  .jr-row:nth-child(odd) { flex-direction: row-reverse; }
  .jr-row > * { flex: 0 0 43%; min-width: 0; }
  .jr-row::before { top: calc(var(--jr-hs) / 2 - var(--mk) / 2); left: calc(50% - var(--mk) / 2 + .5px); }
}
/* A client's words */
.qt { display: flex; flex-direction: column; gap: 2rem; max-width: 56rem; margin: 0; }
.qt-text { margin: 0; font-size: clamp(1.375rem, 1rem + 1.2vw, 2.25rem); font-style: italic; line-height: 1.3; letter-spacing: -.02em; color: color-mix(in srgb, var(--ink) 85%, transparent); }
.qt .fk-who { margin-top: 0; }
/* Clients' words as a slider (10 Nov 2026). Left: the slider of the current box3creative.com About page (a line, one
   mark per client, the one being read lit in red, short bars under it). Right: this site's quote block, one per client,
   all in the same cell so the block keeps the height of the longest and nothing under it moves. */
.ab-quote { overflow-x: clip; }
.rv { display: flex; align-items: flex-start; gap: clamp(3rem, 5.5vw, 5rem); --rv-line: color-mix(in srgb, var(--ink) 14%, transparent); }
.rv-side { position: relative; flex: none; width: 15rem; }
.rv-list { position: relative; margin: 0; padding: 0; list-style: none; }
.rv-list::before { content: ""; position: absolute; left: calc(1.25rem - .5px); top: 1.5rem; bottom: 1.5rem; width: 1px; background: var(--rv-line); }
.rv-item { position: relative; display: flex; align-items: center; gap: 1rem; width: 100%; padding: .875rem 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; opacity: .25; transition: opacity .4s ease; -webkit-tap-highlight-color: transparent; }
.rv-item:hover { opacity: .5; }
.rv-item.is-on { opacity: 1; cursor: default; }
.rv-item:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rv-av { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border: 2px solid color-mix(in srgb, var(--ink) 14%, #FFFFFF); background: #FFFFFF; transition: transform .3s ease, background-color .3s ease, border-color .3s ease, width .42s ease, height .42s ease; }
.rv-av img { width: 1.5rem; height: 1.5rem; object-fit: contain; filter: grayscale(1); transition: filter .3s ease, width .42s ease, height .42s ease; pointer-events: none; }
.rv-item.is-on .rv-av { border-color: var(--c1); background: var(--c1); transform: scale(1.1); }
.rv-item.is-on .rv-av img { filter: brightness(0) invert(1); }
.rv-who { min-width: 0; }
.rv-who b { display: block; font-weight: inherit; font-size: 1.0625rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-who small { display: block; margin-top: .2rem; font-size: .8125rem; line-height: 1.2; color: color-mix(in srgb, var(--ink) 64%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-dots { display: flex; gap: .375rem; margin-top: 1rem; padding-left: .25rem; }
.rv-dot { position: relative; width: .375rem; height: .25rem; padding: 0; border: 0; background: var(--rv-line); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.rv-dot::before { content: ""; position: absolute; inset: -.75rem -.1875rem; }
.rv-dot:hover { background: color-mix(in srgb, var(--ink) 30%, transparent); }
.rv-dot.is-on { width: 1.5rem; background: var(--c1); }
.rv-stage { display: grid; flex: 1; min-width: 0; --rv-from: 40px; }
.rv-stage > .qt { grid-area: 1 / 1; max-width: none; visibility: hidden; opacity: 0; }
.rv-stage > .qt.is-on { visibility: visible; opacity: 1; }
.qt.is-todo .qt-text { font-style: normal; color: color-mix(in srgb, var(--ink) 40%, transparent); }
.rv.is-live .rv-stage > .qt.is-on { animation: rv-in .5s var(--ease-tile) both; }
@keyframes rv-in { from { opacity: 0; transform: translateX(var(--rv-from)); } to { opacity: 1; transform: none; } }
@media (max-width: 991px) {
  /* Phones and tablets: the current site's strip. The client being read sits in the middle on the line, its
     neighbours smaller on both sides; the strip slides one place at a time and goes round. */
  .rv { flex-direction: column; align-items: stretch; gap: 2.5rem; --slot: min(8.125rem, 30vw); }
  .rv-side { width: 100%; }
  .rv-list { height: 6.25rem; }
  .rv-list::before { left: 0; right: 0; top: 1.75rem; bottom: auto; width: auto; height: 1px; }
  .rv-item { position: absolute; left: 50%; top: .5rem; flex-direction: column; gap: .5rem; width: auto; padding: 0; text-align: center; opacity: 0; pointer-events: none; transform: translateX(calc(-50% + var(--r, 0) * var(--slot))); transition: transform .42s var(--ease-bar), opacity .42s ease, top .42s ease; }
  .rv-item:hover { opacity: 0; }
  .rv-item.is-near, .rv-item.is-near:hover { opacity: .42; pointer-events: auto; }
  .rv-item.is-on, .rv-item.is-on:hover { top: 0; opacity: 1; pointer-events: auto; }
  .rv-item.is-on .rv-av { width: 3.5rem; height: 3.5rem; transform: none; }
  .rv-item.is-on .rv-av img { width: 2rem; height: 2rem; }
  .rv-who { max-width: 7rem; }
  .rv-who b { font-size: .8125rem; letter-spacing: .04em; line-height: 1.05; white-space: normal; overflow: visible; text-overflow: clip; }
  .rv-who small { display: none; }
  .rv-dots { display: none; }
  .rv-stage { --rv-from: 30px; }
  .rv[data-dir="prev"] .rv-stage { --rv-from: -30px; }
  .rv.is-live .rv-stage > .qt.is-on { animation-duration: .4s; animation-timing-function: ease-out; }
}
@media (prefers-reduced-motion: reduce) { .rv-item, .rv-av, .rv-av img, .rv-dot { transition: none; } .rv.is-live .rv-stage > .qt.is-on { animation: none; } }
@media (max-width: 991px) {
  .ab-hero { padding-top: 9rem; }
  .ab-head { padding-left: var(--gutter); }
  .ab-brands { flex-direction: column; align-items: flex-start; padding-right: var(--gutter); }
  .ab-mq { width: 100%; }
  .ab-vals .vals { grid-template-columns: 1fr; }
  .tm-in, .jr-in { grid-template-columns: 1fr; gap: 3rem; }
  .tm-side, .jr-side { position: static; height: auto; }
}
@media (max-width: 767px) { .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Vocabulary (reference: /glossary and its word pages) */
.vc-hero { position: relative; overflow: clip; isolation: isolate; padding: 13rem 0 5rem; background: var(--bg); color: var(--ink); --dot: var(--c1); }
.vc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; }
.vc-lede { max-width: 19.5rem; font-size: 1.125rem; line-height: 1.35; text-align: right; }
.vc-sec { padding-top: 0; }
.vc-list { display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); column-gap: 4.5rem; padding-top: 5rem; border-top: 1px solid var(--cell-line); }
.vc-filter { padding-right: 4.5rem; border-right: 1px solid var(--cell-line); }
.vc-side { position: sticky; top: 7.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .875rem; }
.vc-letters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.125rem; }
/* Search a word (Orlando, 4 Nov 2026): under "Letters", above Clear filters; works with the letters */
.vc-search { --field-hint: #6B7174; position: relative; display: block; width: 100%; margin-top: .25rem; }
.vc-search svg { position: absolute; left: .875rem; top: 50%; width: 1rem; height: 1rem; transform: translateY(-50%); color: var(--field-hint); pointer-events: none; }
.vc-search input { display: block; width: 100%; min-height: 3rem; padding: .75rem .875rem .75rem 2.5rem; font-family: var(--font-body); font-size: 1rem; line-height: 1.35; letter-spacing: var(--ls-body); color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); border: 0; border-radius: 0; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .35s var(--ease-osmo); -webkit-appearance: none; appearance: none; }
.vc-search input::placeholder { color: var(--field-hint); opacity: 1; }
.vc-search input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--ink); }
.vc-search input::-webkit-search-cancel-button, .vc-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.vc-empty { grid-column: 1 / -1; padding: 1rem 0; font-size: 1.125rem; }
.vc-l { display: inline-grid; place-items: center; min-width: 2.625rem; height: 2.875rem; padding: 0 .5rem; background: color-mix(in srgb, var(--ink) 5%, transparent); font-size: 1.375rem; line-height: 1; text-transform: none; transition: background-color .25s var(--ease-default), color .25s var(--ease-default); }
.vc-l:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); }
.vc-l[aria-pressed="true"] { background: var(--c1); color: #FFFFFF; }
.vc-l:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.vc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-content: start; transition: opacity .22s var(--ease-default); }
.vc-grid.is-swap { opacity: 0; }
.vc-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 17.5rem; padding: 1.5rem; border: 1px solid var(--cell-line); }
.vc-card[hidden] { display: none; }
.vc-top { display: flex; flex-direction: column; align-items: flex-start; max-width: 15rem; margin-bottom: auto; padding-bottom: 2rem; }
.vc-term { font-size: calc(var(--k5, 1) * var(--fs-h5) * 1.12); line-height: 1.12; }
.vc-div { display: block; width: 8rem; height: 1px; margin: 1rem 0; background: var(--cell-line); }
.vc-def { display: -webkit-box; overflow: hidden; font-size: 1rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.vc-go::after { content: ""; position: absolute; inset: 0; }
/* A word page: breadcrumb, title, the four parts, and the call card that stays in view */
.vt { padding: 12rem 0 0; background: var(--bg); color: var(--ink); }
.vt-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; font-size: calc(var(--k6, 1) * var(--fs-h6) * .9); line-height: 1.2; }
.vt-crumbs a, .ar-lang a { padding: .5rem .375rem; margin: -.5rem -.375rem; }   /* design check: bigger tap targets (at least 30 x 36 px), same look */
.vt-here { color: var(--c1); }
.vt-title { margin-top: .75rem; }
.vt-body { display: grid; grid-template-columns: minmax(0, 42rem) minmax(0, 1fr); gap: 4rem; align-items: start; margin-top: 5rem; padding-top: 5rem; border-top: 1px solid var(--cell-line); }
.vt-art > h2 { margin: 2.5rem 0 1.125rem; font-size: clamp(1.625rem, 1.1rem + 1.45vw, 2.625rem); line-height: 1.05; }
.vt-art > h2:first-child { margin-top: 0; }
.vt-art > p, .vt-list li { font-size: 1.125rem; line-height: 1.45; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.vt-list { gap: .875rem; }
.vt-list li::before { top: .55em; }
.vt-side { position: sticky; top: 7.5rem; justify-self: end; width: 100%; max-width: 21rem; }
.vt-more { padding-top: 9rem; }
.vt-more-lede { max-width: 39rem; margin-top: 1.5rem; }
.vt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; }
@media (max-width: 991px) {
  .vc-hero { padding: 9rem 0 3.5rem; }
  .vc-lede { text-align: left; }
  .vc-list { grid-template-columns: 1fr; row-gap: 3rem; padding-top: 3rem; }
  .vc-filter { padding-right: 0; border-right: 0; }
  .vc-side { position: static; }
  .vt { padding-top: 9rem; }
  .vt-body { grid-template-columns: 1fr; gap: 3rem; margin-top: 3rem; padding-top: 3rem; }
  .vt-side { position: static; justify-self: stretch; max-width: 24rem; }
  .vt-more { padding-top: 6rem; }
}
@media (max-width: 767px) {
  .vc-grid, .vt-grid { grid-template-columns: 1fr; }
  .vc-card { min-height: 0; }
  .vc-top { max-width: none; padding-bottom: 1.75rem; }
}

/* Blog article (reference: /blogs/<article>). Every field comes from Agency OS's public blog view. */
.ar-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; }
.bl-top { justify-content: flex-end; margin-bottom: 1.5rem; }
.ar-lang { display: flex; align-items: center; gap: .625rem; font-size: calc(var(--k6, 1) * var(--fs-h6) * .9); line-height: 1.2; }
.ar-lang [aria-current] { color: var(--c1); }
.ar-lang .is-off { opacity: .3; }
.ar-hero .cs-head { gap: 2rem; }
.ar-cover { aspect-ratio: 16 / 9; }
.ar-upd { display: block; margin-top: .4rem; font-family: var(--font-body); font-weight: 400; font-size: .8125rem; letter-spacing: 0; text-transform: none; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.ar-take .cs-list { gap: .625rem; }
.ar-md { font-size: 1.125rem; line-height: 1.6; }
.ar-md > * + * { margin-top: 1.125rem; }
.ar-md h2, .ar-md h3 { font-family: var(--font-display); font-weight: var(--w-display); font-stretch: var(--stretch-display, 100%); letter-spacing: var(--ls-display); text-transform: uppercase; color: var(--ink); scroll-margin-top: 8rem; }
.ar-md > h2 { margin-top: 3.25rem; font-size: var(--fs-h3); line-height: var(--lh-h3); }
.ar-md > h3 { margin-top: 2.25rem; font-size: calc(var(--k5, 1) * var(--fs-h5) * 1.3); line-height: 1.1; }
.ar-md > h2:first-child { margin-top: 0; }
.ar-md p, .ar-md li { color: color-mix(in srgb, var(--ink) 80%, transparent); }
.ar-md strong { font-weight: 500; color: var(--ink); }
.ar-md a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--c1); text-decoration-thickness: 2px; text-underline-offset: .2em; transition: color .2s; }
.ar-md a:hover { color: var(--c1); }
.ar-md ul, .ar-md ol { display: flex; flex-direction: column; gap: .75rem; padding: 0; list-style: none; }
.ar-md li { position: relative; padding-left: 1.75rem; }
.ar-md ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; background: var(--c1); }
.ar-md ol { counter-reset: ar; }
.ar-md ol > li { counter-increment: ar; }
.ar-md ol > li::before { content: counter(ar); position: absolute; left: 0; top: .02em; font-family: var(--font-display); font-weight: var(--w-display); color: var(--c1); }
.ar-md blockquote { margin: 2.25rem 0; padding-left: 1.5rem; border-left: 3px solid var(--c1); font-size: clamp(1.25rem, 1rem + .7vw, 1.625rem); line-height: 1.35; color: var(--ink); }
.ar-md blockquote + * { margin-top: 0; }
.ar-md img { display: block; width: 100%; height: auto; margin: 2rem 0; }
.ar-md code { padding: .1em .35em; background: var(--field-bg); font-family: var(--font-num); font-size: .88em; }
.ar-author { display: flex; align-items: flex-start; gap: 1.25rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--cell-line); }
.ar-av { display: grid; place-items: center; flex: none; width: 4rem; height: 4rem; background: var(--c1); color: #FFFFFF; font-size: 1.5rem; line-height: 1; }
img.ar-av { object-fit: cover; background: var(--c1); }   /* the author photo from Agency OS (12 Nov 2026); same square as the initials */
.ar-by { font-size: .8125rem; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.ar-name { margin-top: .25rem; font-size: calc(var(--k6, 1) * var(--fs-h6) * 1.2); line-height: 1.1; }
.ar-role { margin-top: .2rem; font-size: .9375rem; color: color-mix(in srgb, var(--ink) 65%, transparent); }
.ar-bio { margin-top: .875rem; max-width: 34rem; font-size: 1rem; line-height: 1.5; color: color-mix(in srgb, var(--ink) 75%, transparent); }
.ar-author .go { margin-top: 1rem; }
.ar-toc-h { margin-bottom: 1rem; font-size: .8125rem; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.ar-who { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.25rem; background: var(--field-bg); }
.ar-who b { font-weight: inherit; font-size: calc(var(--k6, 1) * var(--fs-h6) * 1.05); line-height: 1.1; }
.ar-who small { font-size: .875rem; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.ar-faq-in { max-width: 52rem; }
.ar-rel { padding-top: 2rem; }
.ar-rel-lede { max-width: 39rem; margin-top: 1.5rem; }
.bl-card { position: relative; }
.bl-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bl-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (max-width: 991px) {
  .ar-side { max-width: 24rem; }
  .ar-side .ar-toc, .ar-side .ar-who { display: none; }
  .ar-author { margin-top: 3rem; }
}
@media (max-width: 479px) { .ar-author { flex-direction: column; } }

/* Footer, dark version (Contact page) */
.foot.is-dark { --foot-bg: #0A0A0A; --foot-ink: #FFFFFF; --foot-dot: #EA2828; }

/* Review bar: only here to compare the templates, not part of the design */
.tpl { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; background: #0A0A0A; color: #F0F5F7; font: 500 12px/1 "Instrument Sans", "Helvetica Neue", Arial, sans-serif; letter-spacing: .01em; box-shadow: 0 8px 28px rgba(0, 0, 0, .3); }
.tpl { max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; }
.tpl::-webkit-scrollbar { display: none; }
.tpl a { display: block; padding: 9px 12px; white-space: nowrap; color: #AEB5B9; }
.tpl a:hover { color: #fff; }
.tpl a[aria-current="page"] { background: #EA2828; color: #fff; }
.tpl a.is-old { color: #7E868A; border-left: 1px solid #2A2A2A; margin-left: 2px; }
.tpl a.is-old[aria-current="page"] { background: #3A3A3A; color: #fff; }

/* Short laptop screens: the button stays above the fold */
@media (min-width: 992px) and (max-height: 840px) {
  .hero { padding-top: 6.25rem; }
  .hero-in { padding-top: 1rem; padding-bottom: 1.25rem; gap: 1rem; }
  .hero-bottom { gap: .875rem; }
  .hero-text { gap: .25rem; }
  .hero-text, .hero-we, .hero-p { font-size: 1rem; }
}

/* Responsive: same breakpoints as the reference */
@media (max-width: 1279px) {
  .dl-visual { display: none; }
  .dl-row { grid-template-columns: 1fr 34%; }
}
@media (max-width: 991px) {
  :root { --sp: 6rem; }
  /* Orlando, 5 Nov 2026: on tablets and phones the first screen fills the screen (the red band starts below it), and its
     parts share the height evenly: header to title, title to pictures, pictures to text, text to button, button to the end */
  .hero { min-height: 100vh; min-height: 100svh; padding-top: 7rem; }
  .hero-in { align-items: center; justify-content: space-evenly; gap: 1.25rem; padding-top: 1.5rem; }
  .hero-bottom { display: contents; }
  .hero-title { width: 100%; margin: 0; top: 0; }
  .hero-fade { display: none; }
  .strip { position: relative; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); height: calc(var(--w, 120px) * 1.25 + 1rem); perspective: 800px; overflow-x: clip; }
  .strip::before, .strip::after { content: ""; position: absolute; top: -1rem; bottom: -1rem; width: 12%; z-index: 2; }
  .strip::before { left: 0; background: linear-gradient(90deg, var(--hero-bg), transparent); }
  .strip::after { right: 0; background: linear-gradient(-90deg, var(--hero-bg), transparent); }
  .rail { position: absolute; left: 50%; top: .5rem; transform-style: preserve-3d; }
  .slot { top: 0; }
  .hero-bottom { max-width: 100%; align-items: center; text-align: center; }
  .hero-text { align-items: center; }
  .hero-we { transform: translateX(.9rem); }   /* the line is centred on its widest phrase, so the shorter ones look left: a little to the right to look centred (Orlando, 6 Nov 2026) */
  .cta-center { align-items: flex-start; text-align: left; }
  .cta-row { flex-wrap: wrap; }
  .dl-tile { transform: scaleY(var(--dl-scale, 0)); transform-origin: center var(--dl-origin, top); }
  .dl-item:hover { color: inherit; }
  .dl-item:hover .dl-info { opacity: .6; }
  .dl-item[data-dl-active="true"] { color: var(--tile-ink); }
  .dl-item[data-dl-active="true"] .dl-info { opacity: 1; }
  .dl-row { grid-template-columns: 1fr; row-gap: .75rem; padding-top: 2.5rem; padding-bottom: 2.5rem; min-height: 0; }
  .dl-title { flex-direction: column; gap: .75rem; }
  .dl-name { white-space: normal; }
  .dl-info { justify-self: start; text-align: left; max-width: none; }
  .works { grid-template-columns: 1fr; gap: 3rem; }
  .w-side { position: static; order: -1; align-items: flex-start; text-align: left; }
  .w-cols { grid-template-columns: 1fr; gap: 2.5rem; }
  .w-col { display: contents; }
  .card[data-mobile="hide"] { display: none; }
  .card[data-v="base"] .card-img, .card[data-v="port"] .card-img { aspect-ratio: 4 / 3; }
  .icons { grid-template-columns: repeat(2, 1fr); max-width: 100%; margin-top: 3rem; }
  .film-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-bottom: 2rem; }
  .film { margin: 0 calc(-1 * var(--gutter)); }
  .trust-head { grid-template-columns: 1fr; justify-items: start; }
  .trust-head .btn-wrap { justify-self: start; }
  .blogs { grid-template-columns: 1fr; gap: 3rem; }
  .b-side { position: static; }
  .b-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { flex-direction: column; gap: 3rem; margin-bottom: 4rem; }
  .foot-right { justify-content: flex-start; flex-wrap: wrap; gap: 3rem; }
  .foot-nav { align-items: flex-start; text-align: left; gap: 1rem; }
}
@media (max-width: 991px) {
  .nav-div, .nav-end .btn { display: none; }
  .menu-btn { display: flex; }
  .bar { padding-top: .875rem; padding-bottom: .875rem; }
  .ann { font-size: .75rem; }
  .ann .ann-cta { display: none; }
  .ann::after { content: "\2192"; }
  .nav-center { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 100%); overflow: auto; padding: 1rem var(--gutter) 6rem; opacity: 0; visibility: hidden; transform: translateY(1em); transition: all .45s var(--ease-default); color: var(--bar-ink); }
  .nav[data-menu="open"] .nav-center { opacity: 1; visibility: visible; transform: none; transition-delay: .1s; }
  .nav[data-menu="open"] { color: var(--bar-ink); }
  .nav[data-menu="open"] .nav-bg { height: 100dvh; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > .nav-link { width: 100%; justify-content: space-between; padding: 1.1rem .25rem; font-size: 1.25rem; opacity: 1; }
  /* Orlando, 19 Nov 2026: the Services and About arrows were 10px hairlines next to 20px words; now sized and weighted to the text */
  .nav-list > li > .nav-link svg { width: .9em; height: .9em; flex: none; margin-right: .125rem; }
  .nav-list > li > .nav-link svg path { stroke-width: 1; }
  .dd { position: static; padding: 0; opacity: 1; visibility: visible; pointer-events: auto; }
  .dd-grid { flex-direction: column; gap: .5em; padding-bottom: 1rem; }
  .dd-grid > li { opacity: 1; transform: none; transition: none; }
  .dd-card { height: 5.5rem; padding: 1em; }
  .dd-label { font-size: calc(var(--k4, 1) * 1.1rem); }
  .dd-bub { display: none; }
  .nav-mobile-cta { display: block; margin-top: 1.25rem; }
}
@media (max-width: 767px) {
  .icons { grid-template-columns: 1fr; gap: 3rem; }
  .icon-card { align-items: flex-start; text-align: left; border-right: 0; padding-right: 0; gap: 1.25rem; }
  .icon-body { align-items: flex-start; }
  .lead-form { flex-direction: column; width: 100%; }
  .lg-cell { width: 8.5rem; padding: 0 1.25rem; }
  .lg-row.is-even .lg-cell { padding: 0 .75rem; }
  .lg-row.is-even .lg-cell img { height: 5.2rem; }   /* Rezone Estate is 5.2rem tall here, the width of the box allows no more */
  .b-grid { grid-template-columns: 1fr; }
  .b-card:nth-child(n+4) { display: none; }
  .foot-right { gap: 2.5rem; flex-direction: column; }
  .btn { white-space: normal; }
  .btn-in { text-align: left; }
  .tpl a { padding: 9px 13px; }
  .tpl .nm { display: none; }
}
.nav-mobile-cta { display: none; }
@media (max-width: 991px) { .nav-mobile-cta { display: block; margin-top: 1.25rem; } }
@media (prefers-reduced-motion: reduce) {
  .mq-track, .lg-track { animation: none; }
  .rot > span.on, .rot > span.off, .dl-tile, .dl-visual, .btn [data-l], .btn-in { transition: none; }
}

/* ---------- Book page: pick a time in Calendly (11 Nov 2026) ---------- */
.bk { padding: 12rem 0 var(--sp); background: var(--bg); color: var(--ink); }
.bk-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; align-items: start; }
.bk-side { position: sticky; top: 8rem; }
.bk-step { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-bottom: 2rem; font-size: .9375rem; }
.bk-step .tag { font-size: 1.5rem !important; line-height: 1.2 !important; padding: 0; font-family: var(--font-body); font-weight: 400; font-stretch: normal; font-variation-settings: normal; font-size: inherit; line-height: inherit; text-transform: none; }
.bk-done::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; background: var(--c1); vertical-align: .1em; }
.bk-lede { max-width: 36ch; margin-top: 2.5rem; text-wrap: pretty; }
.bk-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.bk-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.bk-list b { font-weight: 600; }
.bk-alt { margin-top: 2.5rem; font-size: .9375rem; }
.bk-ways { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.bk-ways li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.bk-alt a { color: var(--ink); }
.bk-cal { min-height: 44rem; background: color-mix(in srgb, var(--ink) 5%, var(--bg)); }
.bk-cal.is-live { background: transparent; }
.bk-cal iframe { display: block; width: 100%; height: 44rem; border: 0; }
.bk-ph { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .75rem; min-height: 44rem; padding: 2rem; text-align: center; }
@media (max-width: 991px) {
  .bk { padding-top: 9rem; }
  .bk-in { grid-template-columns: 1fr; gap: 3rem; }
  .bk-side { display: contents; }
  .bk-in { gap: 0; }
  .bk-cal { order: 1; margin-top: 2.5rem; }
  .bk-list { order: 2; }
  .bk-alt { order: 3; }
  .bk-cal, .bk-ph { min-height: 30rem; }
  .bk-cal iframe { height: 68rem; }
}
@media (max-width: 479px) { .bk-list li { grid-template-columns: 1fr; gap: .25rem; } }

/* Pillar with several videos: one at a time, 1 s each (motion.js, initSeq) */
.sf-seq { position: absolute; inset: 0; }
.sf-seq video, .sf-seq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.sf-seq .is-cur { opacity: 1; }
.sf-seq img { transition: opacity .6s ease; }   /* images cross-fade; videos cut */
.sf-seq img[src$="modern-villa-pool-sunset-photographed-rezone-estate.webp"] { object-position: 50% 30%; }   /* villa: show the roof, not only the middle */

.bk-side h1 { text-wrap: balance; }

/* Thank-you page (11 Nov 2026): the Book page layout, with three "while you wait" links on the right */
.ty-next { display: grid; gap: .75rem; align-content: start; }
.ty-next > .tag { justify-self: start; margin-bottom: .75rem; }
.ty-card { position: relative; display: grid; gap: .5rem; padding: 1.75rem 4rem 1.75rem 1.75rem; color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, var(--bg)); transition: background .3s; }
.ty-card svg { position: absolute; right: 1.75rem; top: 50%; width: 1.25rem; height: 1.25rem; translate: 0 -50%; transition: translate .3s; }
.ty-card:hover { background: color-mix(in srgb, var(--ink) 9%, var(--bg)); }
.ty-card:hover svg { translate: .25rem -50%; }
@media (max-width: 991px) { .ty-next { order: 1; margin-top: 2.5rem; } }
/* Pick how we work together: show the whole left phone, and bring the laptop further left in its frame (Orlando, 11 Nov 2026) */
.ww-gal img[src$="four-phones-showing-social-media-ad-campaigns-lead-chart.webp"] { object-position: 100% 50%; }
.ww-gal img[src$="lumora-residence-website-laptop-home-keeps-light.webp"] { object-position: 0% 50%; }

/* Blog with no published posts yet (launch state, 12 Nov 2026) */
.bl-none { max-width: 40rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 3rem 0 1rem; border-top: 1px solid var(--cell-line); }
.bl-none .t-h4 { margin: 0; }
.bl-none-go { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: .5rem; }

/* Cookie banner (12 Nov 2026): a white card bottom-left, the site's red for the main button, square corners like the rest */
.ck { position: fixed; z-index: 90; left: 1rem; bottom: 1rem; width: min(26rem, calc(100vw - 2rem)); }
.ck[hidden] { display: none; }
.ck-box { display: flex; flex-direction: column; gap: .875rem; padding: 1.25rem; background: #FFFFFF; color: #0A0A0A; border: 1px solid rgba(10, 10, 10, .1); box-shadow: 0 1.25rem 2.5rem rgba(10, 10, 10, .14); }
.ck-title { margin: 0; font-size: 1.25rem; line-height: 1; }
.ck-text { margin: 0; font-size: .875rem; line-height: 1.45; color: rgba(10, 10, 10, .72); }
.ck-text a { color: #0A0A0A; }
.ck-set { display: flex; flex-direction: column; border-top: 1px solid rgba(10, 10, 10, .1); }
.ck-set[hidden] { display: none; }
.ck-row { position: relative; display: flex; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(10, 10, 10, .1); cursor: pointer; }
.ck-txt { display: flex; flex-direction: column; gap: .2rem; flex: 1; font-size: .8125rem; line-height: 1.4; color: rgba(10, 10, 10, .65); }
.ck-txt b { color: #0A0A0A; font-weight: 600; font-size: .875rem; }
.ck-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-sw { flex: none; position: relative; width: 2.25rem; height: 1.25rem; background: rgba(10, 10, 10, .18); transition: background .2s; }
.ck-sw::after { content: ""; position: absolute; top: .1875rem; left: .1875rem; width: .875rem; height: .875rem; background: #FFFFFF; transition: transform .25s var(--ease-osmo); }
.ck-row input:checked + .ck-sw { background: var(--c1, #EA2828); }
.ck-row input:checked + .ck-sw::after { transform: translateX(1rem); }
.ck-row input:disabled + .ck-sw { opacity: .45; }
.ck-row input:focus-visible + .ck-sw { outline: 2px solid #0A0A0A; outline-offset: 2px; }
.ck-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.ck-btn { flex: 1 1 auto; padding: .75rem 1rem; border: 1px solid #0A0A0A; background: #FFFFFF; color: #0A0A0A; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.ck-btn:hover { background: #0A0A0A; color: #FFFFFF; }
.ck-btn.is-main { background: var(--c1, #EA2828); border-color: var(--c1, #EA2828); color: #FFFFFF; }
.ck-btn.is-main:hover { background: #0A0A0A; border-color: #0A0A0A; }
.ck-btn.is-link { flex: 0 0 100%; padding: .25rem 0; border: 0; background: none; text-decoration: underline; text-underline-offset: .2em; font-weight: 500; }
.ck-btn.is-link:hover { background: none; color: var(--c1, #EA2828); }
.ck-btn[hidden] { display: none; }
.foot-ck { padding: 0; border: 0; background: none; font: inherit; color: var(--foot-ink); cursor: pointer; }
/* Form extras for the live site: hidden spam trap, the Turnstile check, the consent line, sending state */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ts-box:empty { display: none; }
.ts-box { margin-top: .25rem; }
.ct-legal, .news-legal { font-size: .8125rem; line-height: 1.45; opacity: .7; }
.ct-legal a, .news-legal a { color: inherit; }
.ct-note.is-err, .lead-note.is-err { color: var(--c1, #EA2828); }
.on-b .lead-note.is-err { color: #FFFFFF; font-weight: 600; }
.is-sending .btn-in span { opacity: .6; }
.cc-flag img { display: block; width: 1.25rem; height: .9375rem; object-fit: cover; box-shadow: 0 0 0 1px rgba(10, 10, 10, .08); }
.lang-flag img { display: block; width: 1.125rem; height: .84375rem; object-fit: cover; }
@media (max-width: 479px) { .ck { left: .5rem; right: .5rem; bottom: .5rem; width: auto; } }

/* Home Work with a single project (Orlando, 18 Nov 2026): one wide card instead of a narrow card and two empty columns. */
.w-cols.is-one { grid-template-columns: minmax(0, 36rem); }
/* Service FAQ with no work card beside it (work-shown.json lists none): the questions take the full width. */
.faq.is-solo { grid-template-columns: minmax(0, 1fr); }
.wk-filters[hidden] { display: none; }

/* Footer on tablets and phones (Orlando, 18 Nov 2026): logo, tagline, badges and socials centred; the three link lists side by side. */
@media (max-width: 991px) {
  /* Orlando, 18 Nov 2026: logo and tagline smaller on the left; Google Cloud, Meta and the socials on the right, same rows */
  .foot-left { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; column-gap: 1rem; row-gap: .875rem; max-width: none; width: 100%; }
  .foot-logo { font-size: .95rem; grid-column: 1; grid-row: 1; justify-self: start; }
  .foot-left > p { grid-column: 1; grid-row: 2; justify-self: start; text-align: left; font-size: .8125rem; line-height: 1.35; max-width: 11rem; }
  .foot-badges { grid-column: 2; grid-row: 1; justify-self: end; justify-content: flex-end; flex-wrap: nowrap; gap: .875rem; }
  .foot-badges img { height: 1.625rem; }
  .foot-soc { grid-column: 2; grid-row: 2; justify-self: end; justify-content: flex-end; gap: .375rem; }
  .foot-soc a { width: 1.5rem; height: 1.5rem; }
  .foot-soc svg { width: .875rem; height: .875rem; }
  .foot-right { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 1rem; row-gap: 1.25rem; width: 100%; }   /* middle list exactly in the centre of the page, the outer two on the edges */
  .foot-nav { align-items: flex-start; text-align: left; gap: .85rem; font-size: calc(var(--fs-h5) * .9); line-height: 1.3; }
  /* Orlando, 18 Nov 2026: first list aligned left, middle list centred, last list aligned right */
  .foot-nav:nth-child(2) { align-items: center; text-align: center; }
  .foot-nav:nth-child(3) { align-items: flex-end; text-align: right; }
}

/* Small phones (under 380px): the footer's top row and link lists a size smaller, so nothing is cut or broken mid-word. */
@media (max-width: 379px) {
  .foot-logo { font-size: .8rem; }
  .foot-left > p { font-size: .75rem; }
  .foot-badges { gap: .625rem; }
  .foot-badges img { height: 1.3rem; }
  .foot-soc { gap: .25rem; }
  .foot-soc a { width: 1.3rem; height: 1.3rem; }
  .foot-soc svg { width: .75rem; height: .75rem; }
  .foot-nav { font-size: calc(var(--fs-h5) * .78); }
  .foot-right { column-gap: .75rem; }
}

/* WhatsApp button (Orlando, 22 Nov 2026): round, bottom right, on every page, with a "Contact us on WhatsApp" label on hover. */
.wa { position: fixed; z-index: 80; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;   /* same size and centre line as the Tawk.to bubble above it */
  background: #25D366; color: #FFFFFF; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .25s var(--ease-default), box-shadow .25s var(--ease-default); }
.wa svg { width: 32px; height: 32px; }
.wa:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 24px rgba(0,0,0,.24); }
.wa:focus-visible { outline: 2px solid #0A0A0A; outline-offset: 3px; }
.wa-tip { position: absolute; right: calc(100% + .75rem); top: 50%; transform: translate(.25rem, -50%); white-space: nowrap;
  padding: .55rem .8rem; background: #0A0A0A; color: #FFFFFF; font-size: .875rem; line-height: 1; border-radius: .375rem;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease-default); }
.wa:hover .wa-tip, .wa:focus-visible .wa-tip { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .wa-tip { display: none; } }
@media (max-width: 767px) { .wa { right: max(19px, env(safe-area-inset-right, 0px)); } }
/* Orlando, 27 Nov 2026: the open mobile menu (nav, z-index 100) covered the button; it now stays on top of the menu. */
body:has(.nav[data-menu="open"]) .wa { z-index: 110; }
@media print { .wa { display: none; } }

/* ---------- Case study brandbook (Lumora, 25 Nov 2026): one page at a time, 16:9, swipe / arrows / keys / thumbnails ---------- */
.bb { margin-top: 3.5rem; }
.bb-stage { position: relative; }
.bb-track { display: flex; aspect-ratio: 16 / 9; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; background: #0A0A0A; outline: none; }
.bb-track::-webkit-scrollbar { display: none; }
.bb-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.bb-page { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.bb-page img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.bb-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding: 0; border: 0; background: #0A0A0A; color: #FFFFFF; cursor: pointer; translate: 0 -50%; transition: background-color .3s, opacity .3s; }
.bb-nav.is-prev { left: 1rem; }
.bb-nav.is-next { right: 1rem; }
.bb-nav:hover { background: var(--c1); }
.bb-nav:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -5px; }
.bb-nav[disabled] { opacity: 0; pointer-events: none; }
.bb-nav svg { width: 1.25rem; height: 1.25rem; }
.bb-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; margin-top: 1.25rem; }
.bb-count { font-size: calc(var(--k6, 1) * var(--fs-h6)); line-height: 1; }
.bb-count b { font-weight: inherit; color: var(--c1); }
.bb-count span { color: color-mix(in srgb, var(--ink) 64%, transparent); }
.bb-thumbs { position: relative; display: flex; gap: .5rem; margin-top: 1rem; padding: 4px; overflow-x: auto; scrollbar-width: thin; }
.bb-thumb { flex: 0 0 8rem; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #111; cursor: pointer; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.bb-thumb:hover { opacity: .85; }
.bb-thumb.is-on { opacity: 1; outline-color: var(--c1); }
.bb-thumb:focus-visible { outline-color: var(--ink); }
.bb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .bb { margin-top: 2.5rem; }
  .bb-nav { width: 2.75rem; height: 2.75rem; }
  .bb-nav.is-prev { left: .5rem; }
  .bb-nav.is-next { right: .5rem; }
  .bb-thumb { flex-basis: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) { .bb-thumb, .bb-nav { transition: none; } }

/* ---------- Poster rows (Rezone case, 26 Nov 2026): the old site's PostersCarousel, rebuilt. 4:5 posters, 4 px apart,
   5 px corners, clamp(150px, 25vw, 380px) tall, two rows 4 px apart; the movement is in initMarquee ---------- */
.pm-sec { display: flex; flex-direction: column; gap: 4px; overflow: hidden; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.pm { position: relative; width: 100%; height: clamp(150px, 25vw, 380px); overflow: hidden; -webkit-user-select: none; user-select: none; }
.pm-track { display: flex; gap: 4px; width: max-content; height: 100%; will-change: transform; }
.pm-card { flex: none; height: 100%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: 5px; background: linear-gradient(160deg, #1c1c1c 0%, #0d0d0d 100%); }
.pm-card.is-empty { background: color-mix(in srgb, var(--ink) 6%, var(--bg)); }   /* placeholder tile (Mundija, 26 Nov 2026) */
.pm-card img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
/* team cards waiting for their photos */
.fk-card.is-empty { background: color-mix(in srgb, var(--ink) 6%, var(--bg)); box-shadow: none; outline: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); outline-offset: -1px; }
/* 27 Nov 2026: the wide header picture sits in a <picture> whose phone source is a 1x1 gif, so phones (which hide it) never download it */
.cs-hero picture, .bb-page picture { display: contents; }   /* 27 Nov 2026: phone copies of the headers and brandbook pages */

/* Consultancy (28 Nov 2026, Orlando): until the sales video exists, the 3D logo floats on the red band (no box), large,
   with the booking button lower; phones hide it */
.vsl-video.is-3d { background: none; overflow: visible; aspect-ratio: 1 / .78; }
@media not all and (min-width: 992px) and (hover: hover) and (pointer: fine) { .vsl-video.is-3d { display: none; } }
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .vsl-video .book-3d.vsl-3d { position: absolute; top: 50%; left: 50%; right: auto; width: 128%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); }
  .vsl-video.is-3d + .btn { margin-top: 2.5rem; }
}
