/* =====================================================================
   Vikas Bendha — styled after creativeans.com
   Tokens first, then components in page order.
   ===================================================================== */

/*
 * Display face. Creativeans sets headings in "Memogram" (Letterena Studios),
 * a commercial typeface that needs a webfont licence. Noto Serif Display
 * stands in until one is bought. To switch: buy the licence, put the two
 * files in assets/fonts/ and uncomment this block. Nothing else changes,
 * because --font-display already lists "memogram" first.
 *
 * @font-face { font-family: memogram; src: url(../fonts/Memogram-Regular.otf) format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
 * @font-face { font-family: memogram; src: url(../fonts/Memogram-Italic.otf) format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
 */

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --ink: #1b1b1b;
  --brand-white: #ebebe6;
  --paper: #e9e9e4;
  --cream: #fffbf3;
  --dark-bg: #161616;
  --cyan: #27fcf2;
  --blue: #3064d0;
  --violet: #8739d5;
  --hover-cyan: #5de6ff;
  --cyan-400: #00d2ef;
  --sky-600: #0084cc;
  --emerald: #00bb7f;

  --font-sans: "Roboto", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "memogram", "Noto Serif Display", Georgia, "Times New Roman", serif;
  --font-word: "Comfortaa", "Quicksand", ui-rounded, ui-sans-serif, sans-serif;

  --max: 75rem;      /* max-w-300 */
  --max-5xl: 64rem;
  --ease-ca: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);

  /* theme-dependent (dark defaults) */
  --fg: var(--brand-white);
  --line: #fff;
  --btn-fill: #fff;
  --btn-arrow: #000;
  --btn-hover-text: #000;
}
html:not(.dark) {
  --fg: var(--ink);
  --line: #000;
  --btn-fill: #000;
  --btn-arrow: var(--brand-white);
  --btn-hover-text: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(14px, 7.36px + .65vw, 24px); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  background-color: var(--dark-bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html[data-home-light="true"] body { background-color: var(--light-bg, var(--brand-white)); }
html[data-page]:not([data-page="home"]) { --light-bg: var(--cream); }
html.is-loading body { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
p, h1, h2, h3, h4, ul, ol, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
hr { border: 0; margin: 0; }
[hidden] { display: none !important; }
/* No scrollbars anywhere on the site (the owner's choice). Scrolling still works with the wheel,
   trackpad, touch and keyboard. */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 30000; background: #fff; color: #000; padding: .5rem 1rem; border-radius: 99px; }
.skip:focus { top: 1rem; }
.sr-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

.display { font-family: var(--font-display); font-weight: 400; }
.label { font-size: 1.125rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--fg); transition: color 1s; }
.label--center { text-align: center; }

/* The link hit-area helper Creativeans uses on small footer links */
.hit { position: relative; }
.hit::after { content: ""; position: absolute; top: 50%; left: 50%; height: 2.75rem; width: 100%; min-width: 2.75rem; transform: translate(-50%, -50%); }

/* fade-up utility (FadeUpInView): 20px, 1.5s, expo-like ease */
html.js [data-fade] { opacity: 0; transform: translateY(20px); transition: opacity 1.5s var(--ease-ca) var(--fade-delay, .2s), transform 1.5s var(--ease-ca) var(--fade-delay, .2s); }
html.js [data-fade="above"] { opacity: 1; }
html.js [data-fade].is-in { opacity: 1; transform: none; }
html.js [data-fade].is-instant { transition: none; }

/* ---------- ArrowButton ---------- */

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.25rem; padding: .5rem .75rem .5rem 1rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .875rem; font-weight: 400; line-height: 1.25; white-space: nowrap; color: var(--fg);
  -webkit-mask-image: radial-gradient(white, black); mask-image: radial-gradient(white, black);
  transition: color .3s, border-color 1s;
}
.btn__label { position: relative; z-index: 10; transition: color .3s; }
.btn__dot { position: relative; display: flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; pointer-events: none; }
.btn__fill {
  position: absolute; left: 50%; top: 50%; z-index: 0; width: 1.375rem; height: 1.375rem;
  margin: -.6875rem 0 0 -.6875rem; border-radius: 50%; background: var(--btn-fill);
  transition: transform .5s cubic-bezier(0, 0, .58, 1), background-color 1s;
}
.btn__dot svg { position: relative; z-index: 1; width: 1rem; height: 1rem; color: var(--btn-arrow); transition: color 1s; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__fill { transform: scale(var(--fill-scale, 25)); }
  .btn:hover .btn__label { color: var(--btn-hover-text); }
}
/* light-surface variant (dialog) */
.btn--ink { --line: #000; --btn-fill: #000; --btn-arrow: var(--brand-white); --btn-hover-text: #fff; color: #1a1a1a; }
/* always-light variants */
.hero .btn, .wonder .btn, .accordion .btn, .case .btn { --line: var(--brand-white); --btn-fill: var(--brand-white); --btn-arrow: #000; --btn-hover-text: var(--ink); color: var(--brand-white); }

.round-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; color: #fff;
  transition: transform .3s cubic-bezier(0, 0, .2, 1), background-color .3s;
}
.round-btn svg { width: 1.125rem; height: 1.125rem; transition: transform .3s; }
.round-btn:hover { transform: translateY(-2px); }
.round-btn:hover svg { transform: scale(1.05); }
.round-btn--chat { background: var(--emerald); }
.round-btn--lolli { padding: .5rem; background: linear-gradient(to top left, var(--violet), var(--blue), var(--cyan)); }
.lolli-icon { position: relative; display: block; width: 1.25rem; height: 1.25rem; }
.lolli-icon__spin { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lolli-icon__spin svg { width: 1.15rem; height: 1.15rem; }
.round-btn--lolli:hover .lolli-icon__spin { animation: spin 1s linear infinite; }
.round-btn--lolli:hover svg { transform: none; }
.lolli-icon__handle { position: absolute; left: .82rem; top: .86rem; width: .42rem; height: .42rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav-circle {
  display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--ink); color: var(--fg); transition: all .15s var(--ease-io);
}
.nav-circle svg { width: 1.25rem; height: 1.25rem; }
.nav-circle:hover { background: var(--ink); color: var(--brand-white); }
html.dark .nav-circle { border-color: rgba(255, 255, 255, .3); }
html.dark .nav-circle:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); }
.nav-circle .arrow-h { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span {
  border: 1px solid var(--brand-white); border-radius: 999px; background: rgba(255, 255, 255, .1);
  padding: .375rem 1rem; font-size: .75rem; color: #fff;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* ---------- gradient border card ---------- */

.gradient-border { isolation: isolate; --mouse-x: 50%; --mouse-y: 50%; position: relative; }
.gradient-border::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -2; pointer-events: none;
  background: conic-gradient(from var(--angle), #27fcf2, #3064d0, #8739d5, #27fcf2);
  animation: gradient-spin 3s linear infinite; transition: opacity .3s ease-in-out;
}
.gradient-border::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, #27fcf2, #3064d0, #8739d5);
  -webkit-mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), white 0%, transparent 300px);
  mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), white 0%, transparent 300px);
  transition: opacity .3s;
}
.gradient-border:hover::before { opacity: .1; }
.gradient-border:hover::after { opacity: 1 !important; }
@keyframes gradient-spin { to { --angle: 360deg; } }

/* =====================================================================
   PRELOADER
   ===================================================================== */

.preloader { position: fixed; inset: 0; z-index: 10050; background: #000; visibility: hidden; }
html.is-loading .preloader { visibility: visible; }
.preloader__black { position: absolute; inset: 0; background: #000; }
.preloader__particles, .preloader__mask { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.preloader__mask { display: none; opacity: 0; }
.preloader__logo {
  position: absolute; top: 50%; left: 50%; pointer-events: none; user-select: none;
  width: var(--logo-w, 450px); height: auto; max-width: none;
  transform: translate(-50%, -50%); opacity: 0; will-change: transform, opacity;
}

/* =====================================================================
   STAGE (fixed background)
   ===================================================================== */

.stage { position: fixed; inset: 0; z-index: -10; width: 100vw; overflow: hidden; pointer-events: none; }
.stage__mark { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__overlay {
  position: absolute; inset: 0; background-color: rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
@media (pointer: coarse) { .stage__overlay { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); } }
.stage__solid { position: absolute; inset: 0; background-color: var(--brand-white); opacity: 0; }
html.no-webgl .stage__mark { display: none; }
html.no-webgl .stage {
  background:
    radial-gradient(38% 46% at 42% 42%, rgba(135, 57, 213, .5), transparent 70%),
    radial-gradient(34% 42% at 58% 52%, rgba(39, 252, 242, .32), transparent 70%),
    radial-gradient(30% 40% at 50% 60%, rgba(255, 47, 192, .22), transparent 70%);
}

/* =====================================================================
   TICKER
   ===================================================================== */

/* An announcement bar in the site's own voice: dark glass tinted with the spectrum, a gradient
   line drifting along the bottom, serif-italic phrases with spaced capitals, sparkle separators
   and a pill for the call to action. The text fades in and out at the edges. */
:root { --ticker-h: 2.4rem; }
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999; height: var(--ticker-h);
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(90deg, rgba(39, 252, 242, .07), rgba(48, 100, 208, .05) 50%, rgba(135, 57, 213, .1)), rgba(9, 9, 11, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  transition: opacity .3s var(--ease-io);
}
.ticker::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; opacity: .65;
  background-image: linear-gradient(90deg, #27fcf2, #3064d0, #8739d5, #3064d0, #27fcf2);
  background-size: 50% 100%;
  animation: tk-line 22s linear infinite;
}
@keyframes tk-line { to { background-position: 100% 0; } }
html.is-scrolled .ticker { opacity: 0; pointer-events: none; }
/* inner pages open on cream, which would show through as grey: go almost solid there */
html[data-home-light="true"] .ticker { background: linear-gradient(90deg, rgba(39, 252, 242, .07), rgba(48, 100, 208, .05) 50%, rgba(135, 57, 213, .1)), rgba(9, 9, 11, .95); }
.ticker__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker__track { display: flex; width: max-content; align-items: center; will-change: transform; }
.ticker__set { display: flex; flex-shrink: 0; align-items: center; gap: 1.5rem; padding-right: 1.5rem; white-space: nowrap; }
.tk-item { display: inline-flex; align-items: baseline; gap: .8rem; }
.tk-serif { font-family: var(--font-display); font-style: italic; font-size: .92rem; line-height: 1; letter-spacing: .005em; color: var(--brand-white); }
.tk-caps { font-size: .6rem; font-weight: 500; line-height: 1; letter-spacing: .24em; text-transform: uppercase; color: rgba(235, 235, 230, .55); }
.tk-star { flex-shrink: 0; width: .82rem; height: .82rem; filter: drop-shadow(0 0 6px rgba(39, 252, 242, .5)); }
.tk-star::before {
  content: ""; display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, #b8fffb, #27fcf2 30%, #3064d0 68%, #8739d5);
  clip-path: polygon(100% 50%, 98.4% 49.6%, 93.9% 47.6%, 87% 43.6%, 78.8% 37.4%, 70.3% 29.7%, 62.6% 21.2%, 56.4% 13%, 52.4% 6.1%, 50.4% 1.6%, 50% 0%, 49.6% 1.6%, 47.6% 6.1%, 43.6% 13%, 37.4% 21.2%, 29.7% 29.7%, 21.2% 37.4%, 13% 43.6%, 6.1% 47.6%, 1.6% 49.6%, 0% 50%, 1.6% 50.4%, 6.1% 52.4%, 13% 56.4%, 21.2% 62.6%, 29.7% 70.3%, 37.4% 78.8%, 43.6% 87%, 47.6% 93.9%, 49.6% 98.4%, 50% 100%, 50.4% 98.4%, 52.4% 93.9%, 56.4% 87%, 62.6% 78.8%, 70.3% 70.3%, 78.8% 62.6%, 87% 56.4%, 93.9% 52.4%, 98.4% 50.4%);
}
.tk-cta {
  display: inline-flex; align-items: center; gap: .5rem; padding: .16rem .18rem .16rem .75rem;
  border: 1px solid transparent; border-radius: 999px; color: #fff;
  font-size: .58rem; font-weight: 500; line-height: 1; letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(rgba(14, 14, 18, .95), rgba(14, 14, 18, .95)) padding-box, linear-gradient(90deg, #27fcf2, #3064d0, #8739d5) border-box;
  transition: color .3s;
}
.tk-cta__dot {
  display: flex; align-items: center; justify-content: center; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: #fff; color: #000; transition: transform .45s var(--ease-ca), background-color .3s, color .3s;
}
.tk-cta__dot svg { width: .62rem; height: .62rem; }
.tk-cta:hover, .tk-cta:focus-visible { color: #000; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #27fcf2, #3064d0, #8739d5) border-box; }
.tk-cta:hover .tk-cta__dot, .tk-cta:focus-visible .tk-cta__dot { background: #000; color: #fff; transform: rotate(45deg); }
@media (max-width: 767px) {
  :root { --ticker-h: 2.5rem; }
  .ticker__set { gap: 1.1rem; padding-right: 1.1rem; }
  .tk-item { gap: .6rem; }
  .tk-serif { font-size: .95rem; }
  .tk-caps { font-size: .64rem; letter-spacing: .18em; }
  .tk-cta { font-size: .62rem; letter-spacing: .16em; }
}

/* =====================================================================
   DESKTOP HEADER
   ===================================================================== */

.brandbar {
  position: fixed; top: calc(var(--ticker-h) - .333rem); left: 0; right: 0; z-index: 999;
  max-width: var(--max); margin-inline: auto; padding: 1.167rem 0;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none; transition: all .3s var(--ease-io);
}
.brandbar > * { pointer-events: auto; }
html.is-scrolled .brandbar { visibility: hidden; opacity: 0; }
.brand { display: flex; align-items: center; gap: .875rem; }
.brand__mark { height: 3rem; width: auto; }
.brand__word { font-family: var(--font-word); font-weight: 300; font-size: 1.62rem; line-height: 1; letter-spacing: -.01em; color: var(--fg); transition: color 1s; white-space: nowrap; }
.brandbar__actions { display: flex; align-items: center; gap: .75rem; }
.brandbar__actions > .round-btn + .round-btn { margin-left: -.25rem; }

.navtop {
  position: fixed; top: calc(var(--ticker-h) - .333rem); left: 0; right: 0; z-index: 9999;
  display: flex; justify-content: center; padding: 1.167rem 0; pointer-events: none;
}
.navzone { pointer-events: auto; position: relative; display: flex; flex-direction: column; align-items: center; }

.pill-nav { display: flex; width: 100%; min-width: 38.75rem; align-items: center; border-radius: 999px; background: transparent; padding: 1px; }
.pill-nav ul {
  position: relative; z-index: 10; display: flex; width: 100%; min-width: 37rem; align-items: center; justify-content: space-evenly;
  border-radius: 999px; padding: .25rem; background: rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pill-nav a, .pill-nav__more {
  display: inline-flex; align-items: center; gap: .333rem; border-radius: 999px; padding: .417rem 1rem;
  color: var(--brand-white); font-size: .833rem; font-weight: 500; letter-spacing: .025em;
  transition: all .15s var(--ease-io);
}
.pill-nav__more { text-transform: uppercase; }
.pill-nav__more svg { width: 1rem; height: 1rem; }
.pill-nav a:hover, .pill-nav__more:hover, .pill-nav [aria-expanded="true"] { background: rgba(255, 255, 255, .1); }

.dd-bridge { position: absolute; left: 0; right: 0; top: 100%; height: .75rem; }
.navzone[data-dir="up"] .dd-bridge { top: auto; bottom: 100%; height: 1.5rem; }
.dd {
  position: absolute; left: 50%; top: 100%; margin-top: .5rem; width: 48vw; max-width: 39.25rem;
  border-radius: 1.5rem; padding: .125rem; transform: translateX(-50%);
  background: linear-gradient(to left, var(--violet), var(--blue), var(--cyan));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.navzone[data-dir="up"] .dd { top: auto; bottom: 100%; margin-top: 0; margin-bottom: .75rem; }
.dd__inner { border-radius: 1rem; background: rgba(0, 0, 0, .9); padding: 1.25rem; color: var(--brand-white); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.dd__inner--services { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; }
.dd__label { font-size: 1.125rem; text-transform: uppercase; line-height: 1.4; }
.dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.5rem; }
.dd__grid a { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; transition: color .5s; }
.dd__grid a svg { width: .9rem; height: .9rem; opacity: 0; transition: opacity .5s; }
.dd__grid a:hover { color: var(--hover-cyan); }
.dd__grid a:hover svg { opacity: 1; }
.dd__inner--more { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; gap: .5rem; }
.dd__col { display: flex; flex-direction: column; gap: .35rem; }
.dd__link { transition: color .5s; }
.dd__link:hover, .dd__sub:hover { color: var(--hover-cyan); }
.dd__sub { font-size: .875rem; transition: color .5s; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 2rem; z-index: 9999;
  display: flex; align-items: center; justify-content: center; gap: .75rem; pointer-events: none;
}
.dock > * { pointer-events: auto; }
.dock__ring { border-radius: 999px; padding: .125rem; background: linear-gradient(to left, var(--violet), var(--blue), var(--cyan)); }
.dock__top { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #000; color: var(--brand-white); }
.dock__top svg { width: 1rem; height: 1rem; transition: transform .5s; }
.dock__top:hover svg { transform: translateY(-.25rem); }
.dock__ring--chat { display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; }
.dock__ring--chat .round-btn { width: 2.5rem; height: 2.5rem; }
.dock__ring--chat .round-btn:hover svg { transform: translate(.125rem, -.125rem); }

/* =====================================================================
   MOBILE HEADER + MENU
   ===================================================================== */

.mhead { display: none; }
.mmenu { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */

.hero { position: relative; z-index: 20; display: flex; height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 0 1.5rem; }
.hero__row { margin-inline: auto; display: flex; flex-direction: row; align-items: flex-end; column-gap: 2.5rem; }
.hero__titlewrap { color: var(--brand-white); font-size: 5rem; line-height: 6rem; }
.hero__title { display: flex; width: fit-content; flex-direction: column; row-gap: .75rem; font-size: inherit; font-weight: 400; line-height: inherit; }
.hero__rule { display: inline-block; width: 11rem; height: .125rem; border: none; background: #fff; vertical-align: middle; }
.hero__end { place-self: end; font-style: italic; }
.hero__side { width: 25rem; margin-bottom: 1.5rem; color: var(--brand-white); }
.hero__side p { font-size: 1rem; line-height: 1.625; text-align: left; }
.hero__cta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.logo-marquee {
  position: relative; width: 100%; min-width: 0; overflow: hidden; flex: 1;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-marquee__track { display: flex; width: max-content; align-items: center; will-change: transform; }
.logo-marquee__set { display: flex; flex-shrink: 0; align-items: center; gap: 4rem; padding-right: 4rem; }

/* =====================================================================
   SELECTED WORK
   ===================================================================== */

.works { position: relative; z-index: 20; overflow: hidden; padding: 8rem 0; }
.container { margin-inline: auto; padding: 0 3rem; }
.works__title { margin-bottom: 2.5rem; }
.works__rows > * + * { margin-top: 3rem; }
.works__row--last { margin-bottom: 6rem; }
.works__viewport { overflow: hidden; padding: 0 2rem; }
.works__track {
  display: flex; width: max-content; white-space: nowrap;
  animation: portfolio-left var(--portfolio-duration, 40s) linear infinite;
}
.works__track--right { animation-name: portfolio-right; }
.works__track.is-paused { animation-play-state: paused; }
@keyframes portfolio-left { 0% { transform: translate(0); } to { transform: translate(-50%); } }
@keyframes portfolio-right { 0% { transform: translate(-50%); } to { transform: translate(0); } }
.works__set { display: flex; flex-shrink: 0; gap: 2rem; padding-right: 2rem; }

.work-card { position: relative; flex-shrink: 0; overflow: hidden; width: 450px; height: 24rem; border-radius: 32px; background: rgba(255, 255, 255, .05); text-align: left; cursor: pointer; }
.work-card--wide { width: 600px; }
/* Cards with a 16:9 cover (every Selected Work project) take its shape at the row's height, so it shows whole. */
.work-card.work-card--banner { width: calc(24rem * 1672 / 941); }
.work-card__base, .work-card__reveal { position: absolute; inset: 0; display: block; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-user-drag: none; }
.work-card__reveal { z-index: 10; clip-path: circle(0% at 50% 100%); transition: clip-path .7s var(--ease-io); }
.work-card:hover .work-card__reveal, .work-card:focus-visible .work-card__reveal, .work-card.is-open .work-card__reveal { clip-path: circle(120% at 50% 100%); }
.work-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, #000, transparent); }
.work-card__info { position: relative; display: flex; height: 100%; flex-direction: column; justify-content: flex-end; gap: .75rem; padding: 2.5rem; white-space: normal; }
.work-card__head { display: flex; align-items: center; column-gap: .5rem; color: #fff; }
.work-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; }
.work-card__head svg { width: 20px; height: 20px; }
.works__cta { display: flex; justify-content: center; }

/* =====================================================================
   ABOUT + STATS
   ===================================================================== */

.about { position: relative; z-index: 20; margin-inline: auto; max-width: var(--max); color: var(--fg); transition: color 1s; }
.about__copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.about__lead { margin-bottom: 2rem; font-size: 1.25rem; line-height: 1.25; }
.about__big { font-size: 2.25rem; line-height: 1.25; }
.stats { margin: 8rem auto 0; display: grid; grid-template-columns: repeat(4, 1fr); place-items: center; gap: 2rem; }
.stat { display: flex; flex-direction: column; align-items: center; gap: .25rem; opacity: 0; transform: translateY(20px); }
.stat__num { font-size: 3.33rem; line-height: .9; color: var(--fg); transition: color 1s; font-variant-numeric: lining-nums; }
.stat__plus { margin-left: .5rem; }
.stat__label { margin-top: .5rem; text-align: center; font-size: .938rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); transition: color 1s; }
html:not(.js) .stat { opacity: 1; transform: none; }

/* =====================================================================
   PROCESS — the wonderland scene
   ===================================================================== */

.wonder { position: relative; z-index: 20; margin-top: 7.5rem; overflow-x: clip; padding: 6.5rem 0; perspective: 1400px; color: var(--brand-white); }
.wonder__tilt { position: relative; transform-style: preserve-3d; will-change: transform; }

.wonder__text {
  pointer-events: auto; position: relative; z-index: 10; margin-inline: auto;
  display: flex; min-height: 90vh; max-width: 56rem; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 1.5rem; text-align: center;
}
.wonder__eyebrow { margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .75rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: rgba(235, 235, 230, .7); }
.wonder__titlewrap { width: 100%; }
.wonder__title { font-size: 5.5rem; line-height: 6rem; }
.wonder__subwrap { margin-top: 1.5rem; width: 100%; max-width: 36rem; }
.wonder__sub { font-size: 1.125rem; line-height: 1.625; color: rgba(235, 235, 230, .75); }
.wonder__ctawrap { margin-top: 2.5rem; }
.btn--wonder { height: auto; padding: .75rem 1.1rem .75rem 1.5rem; font-size: 1.05rem; }

.lensable { position: relative; }
.lensable > :first-child { position: relative; z-index: 10; transition: color .5s; }
.wonder.is-flashlight .lensable > :first-child { color: rgba(235, 235, 230, .25); }
.lens-copy {
  position: absolute; inset: 0; z-index: 11; pointer-events: none; color: var(--brand-white) !important; opacity: 0;
  transform: scale(var(--lens-scale, 1.1)); transform-origin: var(--lx, 50%) var(--ly, 50%);
  text-shadow: .6px 0 0 rgba(255, 120, 120, .35), -.6px 0 0 rgba(120, 210, 255, .35), 0 0 8px rgba(0, 0, 0, .5), 0 0 16px rgba(0, 0, 0, .3);
  filter: url(#vb-lens-filter);
  -webkit-mask-image: radial-gradient(circle 220px at var(--lx, -999px) var(--ly, -999px), #000 0%, #000 48%, transparent 78%);
  mask-image: radial-gradient(circle 220px at var(--lx, -999px) var(--ly, -999px), #000 0%, #000 48%, transparent 78%);
}
.wonder.is-flashlight .lens-copy { opacity: 1; }
.lens-copy * { color: inherit !important; }

.wcard { position: absolute; z-index: 1; pointer-events: none; }
.wcard--1 { left: 3%; top: 0; transform: translateY(-2.5rem); }
.wcard--2 { right: 3%; top: 0; transform: translateY(-2.5rem); }
.wcard--3 { left: 3%; bottom: 0; transform: translateY(2.5rem); }
.wcard--4 { right: 3%; bottom: 0; transform: translateY(2.5rem); }
.wcard__float { position: relative; }
.wcard__persp { position: relative; width: fit-content; perspective: 1200px; pointer-events: auto; }
/* A soft halo in each card's own colours, breathing slowly, so the four phases
   read as the things to hover. It glows steadier while a card is turned over. */
.wcard--1 { --glow: #27fcf2; }
.wcard--2 { --glow: #b44dff; }
.wcard--3 { --glow: #ffa11f; }
.wcard--4 { --glow: #4dff8a; }
.wcard__persp::before {
  content: ""; position: absolute; inset: 6% -10%; z-index: -1; border-radius: 2rem; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); opacity: .32;
  animation: wcard-breathe 3.4s ease-in-out infinite;
}
.wcard--2 .wcard__persp::before { animation-delay: -.85s; }
.wcard--3 .wcard__persp::before { animation-delay: -1.7s; }
.wcard--4 .wcard__persp::before { animation-delay: -2.55s; }
.wcard.is-flipped .wcard__persp::before { animation: none; opacity: .55; }
@keyframes wcard-breathe { 0%, 100% { opacity: .22; transform: scale(.94); } 50% { opacity: .5; transform: scale(1.04); } }
.wcard__rot { position: relative; width: fit-content; transform: rotate(var(--rot)); }
.wcard__shell {
  position: relative; width: var(--card-w); aspect-ratio: 990 / 1589; transform-style: preserve-3d;
  border-radius: 1rem; border: 1px solid rgba(255, 255, 255, .34); box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), border-color .6s, box-shadow .6s; cursor: pointer;
}
.wcard.is-flipped .wcard__shell { transform: rotateY(180deg) scale(1.02); border-color: transparent; box-shadow: none; }
.wcard__face { position: absolute; inset: 0; overflow: hidden; border-radius: 1rem; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* The back is sized from the card itself, not the page: padding in % of the card's width and
   type in cqw (1% of the back's content width), so the list and the Output line keep the same
   proportions at every card size and can't run off the bottom. */
.wcard__back {
  container-type: inline-size;
  transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: space-between;
  padding: 28% 8% 9%; background: #0f0f12; color: var(--brand-white);   /* top room for the name tag */
}
.wcard__back::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, transparent 42%); }
.wcard__back ul { position: relative; display: grid; gap: 4.1cqw; font-size: 7.3cqw; line-height: 1.3; }
.wcard__back li { position: relative; padding-left: 8.1cqw; }
.wcard__back li::before { content: ""; position: absolute; left: 0; top: .42em; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet)); }
.wcard__out { position: relative; z-index: 1; font-family: var(--font-display); font-style: italic; font-size: 11.6cqw; line-height: 1.12; }
.wcard__out span { display: block; margin-bottom: 2.4cqw; font-family: var(--font-sans); font-style: normal; font-size: 5.5cqw; letter-spacing: .22em; text-transform: uppercase; color: rgba(235, 235, 230, .55); }

.phase-art { display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem; padding: 1.1rem 1.1rem 1.25rem; color: #fff; background: #09090b; }
.phase-art::before { content: ""; position: absolute; inset: -25%; z-index: 0; filter: blur(26px) saturate(1.15); }
.phase-art::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent 55%); }
.phase-art > * { position: relative; z-index: 1; }
.phase-art--1::before { background: radial-gradient(45% 32% at 30% 28%, #27fcf2, transparent 70%), radial-gradient(55% 40% at 72% 70%, #3064d0, transparent 70%), radial-gradient(30% 25% at 50% 50%, #8739d5, transparent 70%); }
.phase-art--2::before { background: radial-gradient(45% 32% at 70% 25%, #8739d5, transparent 70%), radial-gradient(55% 42% at 30% 72%, #ff2fc0, transparent 70%), radial-gradient(30% 25% at 45% 45%, #3064d0, transparent 70%); }
.phase-art--3::before { background: radial-gradient(45% 32% at 35% 30%, #ffd21f, transparent 70%), radial-gradient(55% 42% at 65% 72%, #ff6a1a, transparent 70%), radial-gradient(30% 25% at 55% 50%, #ff2fc0, transparent 70%); }
.phase-art--4::before { background: radial-gradient(45% 32% at 65% 30%, #4dff6a, transparent 70%), radial-gradient(55% 42% at 35% 72%, #27fcf2, transparent 70%), radial-gradient(30% 25% at 50% 50%, #3064d0, transparent 70%); }
.phase-art__num { margin-bottom: auto; padding-top: 2.4rem; font-size: 3.4rem; line-height: 1; }
.phase-art__name { font-size: 1.9rem; line-height: 1; font-style: italic; }
.phase-art__time { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
/* "Hover to flip" on desktops, "Tap to flip" wherever hovering doesn't turn the card
   (touch, narrow windows, reduced motion — the same test that switches the flashlight on). */
.phase-art__hint {
  display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; margin-top: .4rem;
  padding: .32rem .62rem .32rem .45rem; border-radius: 999px; white-space: nowrap;
  font-size: .56rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .45);
}
.phase-art__hint svg { width: .78rem; height: .78rem; flex-shrink: 0; animation: hint-turn 2.8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes hint-turn { 0%, 55% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.hint-tap { display: none; }
.wonder:not(.is-flashlight) .hint-hover { display: none; }
.wonder:not(.is-flashlight) .hint-tap { display: inline; }
html:not(.js) .phase-art__hint { display: none; }

.wtitle { pointer-events: none; position: absolute; z-index: 30; }
.wtitle--center { transform: translateX(-50%); }
.wtitle__rot {
  position: relative; display: block; overflow: hidden; transform: rotate(var(--rot));
  padding: .35rem 1rem; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, rgba(39, 252, 242, .28), rgba(48, 100, 208, .3), rgba(135, 57, 213, .34));
  border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.wdeco { position: absolute; z-index: 5; pointer-events: none; cursor: none; }
.wdeco__rot { display: block; transform: rotate(var(--rot)); }
/* Each caption sits just outside its card (cards are 3% in from the edge, 12.25rem or 11.35rem
   wide), clear of the card's number. Below 1024px there isn't room beside the cards. */
.wdeco--1 { left: calc(3% + 13.5rem); top: 14%; }
.wdeco--2 { right: calc(3% + 14rem); top: 10%; }
.wdeco--3 { left: calc(3% + 12.6rem); bottom: 14%; }
.wdeco--4 { right: calc(3% + 13.1rem); bottom: 12%; }
@media (max-width: 1023px) { .wdeco { display: none; } }
.agent {
  display: flex; align-items: center; gap: .55rem; white-space: nowrap;
  padding: .6rem 1.1rem .6rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.agent__dot { width: .6rem; height: .6rem; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet)); box-shadow: 0 0 12px rgba(39, 252, 242, .8); }

/* the lollipop cursor */
.lolli { position: fixed; top: 0; left: 0; z-index: 10060; pointer-events: none; opacity: 0; transition: opacity .2s; }
.lolli.is-on { opacity: 1; }
.lolli__glow {
  position: absolute; left: -9rem; top: -9rem; width: 18rem; height: 18rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 214, .2) 0%, rgba(255, 244, 214, .08) 38%, transparent 72%);
  filter: blur(12px);
}
.lolli__stick {
  position: absolute; left: -3px; top: 18px; width: 6px; height: 54px; border-radius: 3px;
  background: linear-gradient(90deg, #8f9ec9, #f6f8ff 24%, #fff 50%, #e8eeff 76%, #7a86b9);
  transform: rotate(-15deg); transform-origin: top center;
}
.lolli__candy { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; animation: spin 1.4s linear infinite; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.lolli__candy svg { width: 100%; height: 100%; }
body.lolli-cursor, body.lolli-cursor * { cursor: none !important; }

/* =====================================================================
   SERVICES INTRO + ACCORDION  (light band)
   ===================================================================== */

.sintro { position: relative; z-index: 20; margin: 10rem auto 0; max-width: var(--max); }
.sintro__row { display: flex; flex-direction: row; align-items: center; gap: 3rem; text-align: left; }
.sintro__head { display: flex; width: 50%; flex-direction: column; align-items: flex-start; }
.sintro__title { font-size: 3rem; line-height: 1.25; color: #000; transition: color .5s; }
html.dark .sintro__title { color: var(--brand-white); }
.sintro__italic { font-style: italic; }
.sintro__cta { margin-top: 1.25rem; }
.sintro__copy { width: 50%; display: grid; gap: 1.25rem; font-size: 1rem; line-height: 1.625; color: #000; transition: color .5s; }
html.dark .sintro__copy { color: var(--brand-white); }
.sintro__copy a { color: var(--sky-600); transition: color .15s; }
.sintro__copy a:hover { text-decoration: underline; text-underline-offset: 2px; }
html.dark .sintro__copy a { color: var(--cyan); }
.sintro__copy strong { font-weight: 700; }

/* The pinned list reserves room for the tallest open service, so its box ends well below
   the last card (--acc-tail, set in main.js). The page is pulled up over that empty tail,
   so the cream has to stop where the content does: otherwise it covers the heading of the
   section beneath, which by then is on a dark page. The tail must not take the pointer
   either; only the service cards do. */
.accordion { position: relative; z-index: 20; pointer-events: none; }
.accordion::before { content: ""; position: absolute; z-index: -1; inset: 0 0 var(--acc-tail, 0px); background: var(--brand-white); }
.accordion .acc { pointer-events: auto; }
.accordion__list { margin-top: 8rem; }
.acc { position: relative; color: var(--brand-white); transition: background-color .3s; }
.acc + .acc { border-top: 1px solid var(--brand-white); }
.acc:last-child { border-bottom: 1px solid var(--brand-white); }
.acc__hover { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgba(255, 255, 255, 0); transition: background-color .3s; }
.acc:hover .acc__hover { background: rgba(255, 255, 255, .12); }
.acc__head { position: relative; z-index: 10; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: .5rem 2.5rem; text-align: left; }
.acc__name { font-family: var(--font-display); font-style: italic; font-size: 1.45rem; color: var(--brand-white); transition: opacity .5s; }
.acc.is-open .acc__name { opacity: 0; }
.acc__icon { margin-left: 1rem; display: flex; width: 4rem; height: 4rem; flex-shrink: 0; align-items: center; justify-content: center; overflow: hidden; }
.acc__icon svg { width: 2.5rem; height: 2.5rem; }
.acc__panel { position: relative; z-index: 10; height: 0; overflow: hidden; padding: 0 2.5rem; opacity: 0; }
.acc__content { display: flex; flex-direction: row; align-items: center; gap: 3rem; padding-bottom: 4rem; }
.acc__text { display: flex; width: 55%; flex-direction: column; align-items: flex-start; gap: 2rem; }
.acc__num { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #fff; font-size: 1.5rem; font-weight: 300; color: var(--brand-white); }
.acc__title { font-family: var(--font-display); font-style: italic; font-size: 3rem; line-height: 1.08; color: var(--paper); }
.acc__sub { margin-top: -1rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(233, 233, 228, .7); }
.acc__body { font-size: 1.167rem; line-height: 1.25; color: var(--paper); }
.acc__body p { margin-bottom: 1rem; font-size: 1rem; line-height: 1.25; }
.acc__body p:last-child { margin-bottom: 0; }
.acc__meta { display: flex; align-items: center; gap: 1rem; }
.acc__badge { padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-white); }
/* The service's photo, shown whole at its own proportions (--ratio) with nothing laid over it,
   zooming a touch on hover as Creativeans' does. Until a photo is added: a quiet glow panel with the tools. */
.acc__visual {
  position: relative; isolation: isolate; width: 45%; aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; border-radius: 1rem;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
  background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .18);
}
.acc__visual::before {
  content: ""; position: absolute; z-index: -1; width: 75%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%;
  background: conic-gradient(from 200deg, #27fcf2, #3064d0, #8739d5, #ff2fc0, #27fcf2); filter: blur(50px); opacity: .45;
}
.acc__visual--photo { padding: 0; background: #161616; }
.acc__visual--photo::before { content: none; }
.acc__visual .acc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-ca); }
.acc__visual--photo:hover .acc__img { transform: scale(1.04); }
.acc__tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.acc__tools span { padding: .38rem .85rem; border-radius: 999px; font-size: .75rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */

.quotes { position: relative; z-index: 20; margin: 10rem auto 0; max-width: var(--max); }
.quotes__title { margin-inline: auto; text-align: center; text-transform: uppercase; font-size: 2.25rem; line-height: 1.5; color: #000; transition: all .5s; }
html.dark .quotes__title { color: var(--brand-white); }
.quotes__wrap { position: relative; margin-inline: auto; display: flex; min-height: 37.5rem; width: 100%; max-width: var(--max); align-items: center; padding: 8rem 0; }
.quotes__body { display: flex; width: 100%; flex-direction: row; align-items: center; gap: 3.5rem; }
.quotes__wheel {
  position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 11.25rem; height: 31.25rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, white 20%, white 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, white 20%, white 80%, transparent);
}
.quote-dot {
  position: absolute; top: 50%; left: 50%; width: 11.25rem; height: 11.25rem; margin: -5.625rem 0 0 -5.625rem;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid #e5e7eb; background: #fff; color: #1b1b1b; transition: border-color .5s, background-color .5s;
}
html.dark .quote-dot { border-color: transparent; }
.quote-dot__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; letter-spacing: -.02em; }
.quote-dot.is-active { cursor: default; }
.quotes__stage { position: relative; flex: 1; padding: 2.5rem 0; }
.quotes__item { display: flex; flex-direction: column; gap: 2rem; text-align: left; color: var(--brand-white); }
.quotes__text { font-size: 2.25rem; line-height: 1.25; letter-spacing: .025em; color: #000; }
html.dark .quotes__text { color: var(--brand-white); }
.quotes__who { display: flex; flex-direction: column; color: var(--ink); }
html.dark .quotes__who { color: var(--brand-white); }
.quotes__name { font-weight: 600; letter-spacing: .025em; }
.quotes__nav { display: flex; flex-shrink: 0; flex-direction: column; justify-content: center; gap: 1rem; }

/* =====================================================================
   TOOLCHAIN ("brands that trust us")
   ===================================================================== */

.brands { position: relative; z-index: 20; margin: 2.5rem auto 0; max-width: var(--max); }
.brands__inner { overflow: hidden; text-align: center; }
.brands__title { margin-bottom: 2.5rem; }
.logo-marquee--brands {
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}
.logo-marquee__set--brands { gap: 6rem; padding-right: 6rem; white-space: nowrap; }
.tool { display: flex; height: 3rem; align-items: center; gap: .65rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; color: var(--fg); transition: color .5s; }
.tool img { width: 1.9rem; height: 1.9rem; transition: filter .5s; }
html.dark .tool img { filter: invert(1) brightness(.92); }

/* =====================================================================
   YOU CAN EXPECT (drag)
   ===================================================================== */

.expect { position: relative; overflow: hidden; padding: 8rem 0; transition: color 1s; }
.expect__wrap { padding: 0 3rem; margin-left: 5rem; }
.expect__row { display: flex; flex-direction: row; align-items: center; gap: 4rem; }
.expect__headcol { width: 30%; padding-top: .625rem; flex-shrink: 0; }
.expect__title { font-style: italic; font-size: 3rem; line-height: 1.1; color: #fff; text-align: left; transition: color 1s; }
html:not(.dark) .expect__title { color: #000; }
.expect__big { font-size: 5rem; }
.expect__viewport {
  position: relative; width: 100%; flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.expect__track { display: flex; width: max-content; gap: 1.5rem; padding: 2.5rem 3rem; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.expect__track:active { cursor: grabbing; }
/* Wide screens move the row with the page scroll (main.js), so there's nothing to grab. */
.expect--scroll .expect__track, .expect--scroll .expect__track:active { cursor: auto; }
.xcard {
  position: relative; flex-shrink: 0; width: 21.75rem; height: 24rem; overflow: hidden;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .7); background: #1a1a1a;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1); transition: box-shadow .15s var(--ease-io);
}
.xcard:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.xcard__art {
  position: relative; display: flex; height: 48%; width: 100%; align-items: center; justify-content: center; overflow: hidden;
  border-radius: 22px 22px 72px 0; background: #fff; color: #0c0c0c;
}
.xcard__art::before {
  content: ""; position: absolute; width: 62%; aspect-ratio: 1; right: -14%; bottom: -34%; border-radius: 50%;
  background: conic-gradient(from 90deg, #27fcf2, #3064d0, #8739d5, #ff2fc0, #27fcf2); filter: blur(34px); opacity: .5;
}
.xcard__big { position: relative; font-family: var(--font-display); font-size: 5.2rem; line-height: 1; letter-spacing: -.02em; }
.xcard__icon { position: relative; width: 5rem; height: 5rem; }
.xcard__text { display: flex; height: 52%; align-items: center; padding: 2rem; }
.xcard__text p { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.33; color: #fff; }

.drag-bubble {
  position: fixed; top: 0; left: 0; z-index: 30; display: flex; width: 5rem; height: 5rem; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(111, 111, 111, .4); color: #fff; font-size: .75rem; letter-spacing: .025em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
  pointer-events: none; opacity: 0; transform: scale(.85); transition: opacity .18s cubic-bezier(0, 0, .58, 1), transform .18s cubic-bezier(0, 0, .58, 1);
}
.drag-bubble.is-on { opacity: 1; transform: scale(1); }

/* =====================================================================
   CONTACT CARD
   ===================================================================== */

.contact { position: relative; z-index: 20; margin-inline: auto; max-width: var(--max-5xl); }
.contact__center { display: flex; justify-content: center; }
.contact__card { width: 100%; max-width: 56rem; border-radius: 1rem; padding: 1px; background: transparent; }
.contact__inner { position: relative; z-index: 10; display: flex; flex-direction: row; overflow: hidden; border-radius: 1rem; background: var(--cream); color: var(--ink); }
html.dark .contact__inner { background: #1b1b1b; color: var(--brand-white); -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); }
.contact__portrait { position: relative; width: 17rem; flex-shrink: 0; overflow: hidden; background: #0a0a0c; }
.contact__portrait img { width: 17rem; height: 20rem; object-fit: cover; object-position: center 10%; transform: scale(.92); transform-origin: bottom; }
.contact__who { pointer-events: none; position: absolute; left: 0; right: 0; bottom: 0; padding: 6rem 1.5rem 2rem; text-align: center; color: var(--cream); background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .45), transparent); }
.contact__who h3 { font-size: 1.5rem; line-height: 1; }
.contact__who p { margin: .5rem auto 0; max-width: 17.5rem; font-size: .875rem; line-height: 1.25; font-weight: 500; }
.contact__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.75rem; text-align: left; }
.contact__title { font-size: 2.33rem; line-height: 1.25; }
.contact__lede { font-size: 1rem; font-weight: 300; }
.contact__foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.contact__offer { font-size: 1.45rem; line-height: 1.35; }
.contact__cta { display: flex; align-items: center; gap: 1.5rem; width: 100%; }
/* The orbit (assets/rive/orbit.riv). The ring drawn here stands in until Rive
   has loaded, and for anyone who never gets it: reduced motion, saved data. */
.contact__orbit { position: relative; margin-left: auto; width: 6.25rem; height: 6.25rem; flex: none; }
.contact__orbit::before { content: ""; position: absolute; inset: 8%; border: 1px solid currentColor; border-radius: 50%; opacity: .3; }
.contact__orbit.is-live::before { display: none; }
.contact__orbit canvas { display: block; width: 100%; height: 100%; }
/* Tablets: 56rem is wider than the screen at 768px, so keep the card (and its
   1px gradient border, drawn outside the box) off the viewport edges. */
@media (max-width: 1023px) { .contact { padding-inline: 1.5rem; } }

/* =====================================================================
   FOOTER
   ===================================================================== */

.footer { position: relative; z-index: 20; margin: 5rem auto 0; max-width: var(--max); padding-bottom: 5rem; color: var(--fg); }
.footer__top { border-top: 1px solid #000; padding-top: 2.5rem; }
html.dark .footer__top { border-color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem; }
.footer__connect { grid-column: span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; text-align: left; }
.footer__h2 { font-size: 2.33rem; line-height: 1; }
.footer__connect p { font-size: 1rem; font-weight: 300; }
.footer__actions { display: block; }
.footer__social { margin: 1.25rem 0; display: flex; gap: .5rem; }
.footer__social a { display: flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #000; transition: all .15s var(--ease-io); }
html.dark .footer__social a { border-color: #fff; }
.footer__social a:hover { background: #fff; color: #000; }
.footer__social svg { width: 1.15rem; height: 1.15rem; }
.footer__cols { grid-column: span 6; display: grid; grid-template-columns: 200px 1fr 1fr 1fr; gap: 1.5rem; }
.footer__feature > * + * { margin-top: 1.25rem; }
.footer__feature p { margin-top: .5rem; font-size: .75rem; line-height: 1.25; }
.footer__h { display: inline-block; font-size: .9rem; text-transform: uppercase; transition: color .15s var(--ease-io); }
.footer__col { justify-self: center; }
.footer__col ul { margin-top: .5rem; display: grid; gap: .5rem; font-size: .75rem; line-height: 1.3; }
.footer__nav { grid-column: span 3; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; font-size: .9rem; text-transform: uppercase; }
.footer__nav a, .footer__col a { transition: color .15s var(--ease-io); }
html.dark .footer__h:hover, html.dark .footer__h a:hover, html.dark .footer__col a:hover, html.dark .footer__nav a:hover, html.dark .footer__legal a:hover { color: var(--hover-cyan); }
.footer__base { margin-top: 4rem; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 2.5rem; }
.brand__word--footer { font-size: 2rem; }
.footer__meta p, .footer__legal { font-size: .75rem; line-height: 1.5; }
.footer__legal { text-align: right; }
.footer__legal div { display: flex; justify-content: flex-end; gap: 1rem; }
.fl-line-mask { padding-bottom: .14em; margin-bottom: -.14em; }

.footer__powered { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #000; display: flex; justify-content: center; }
html.dark .footer__powered { border-color: var(--paper); }
.footer__badge { display: inline-flex; border-radius: .9rem; transition: opacity .15s var(--ease-io); }
.footer__badge:hover { opacity: .8; }
.footer__badge img { display: block; width: 190px; height: auto; }

/* =====================================================================
   DIALOGS (Start a Project + case sheet)
   ===================================================================== */

.dialog { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.dialog__overlay { position: absolute; inset: 0; z-index: 0; background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .15s; }
.dialog.is-open .dialog__overlay { opacity: 1; }
.dialog__content {
  position: relative; z-index: 1; width: 100%; max-width: 48rem; max-height: calc(100svh - 2rem); overflow-y: auto;
  border-radius: .75rem; background: var(--cream); color: #1a1a1a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5);
  opacity: 0; transform: scale(.95); transition: opacity .2s, transform .2s;
}
.dialog.is-open .dialog__content { opacity: 1; transform: none; }
.dialog__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 5; display: flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); color: #1a1a1a; transition: background-color .2s;
}
.dialog__close:hover { background: rgba(0, 0, 0, .06); }
.dialog__close svg { width: 1rem; height: 1rem; }
.dialog__close--dark { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(0, 0, 0, .35); }
.dialog__close--dark:hover { background: rgba(0, 0, 0, .6); }
.dialog__grid { display: grid; grid-template-columns: 16rem 1fr; }
.dialog__aside { display: flex; flex-direction: column; gap: .9rem; padding: 2rem 1.75rem; background: #111; color: var(--brand-white); }
.dialog__aside img { width: 4.5rem; height: auto; }
.dialog__kicker { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(235, 235, 230, .6); }
.dialog__title { font-size: 1.9rem; line-height: 1.1; }
.dialog__aside > p { font-size: .85rem; line-height: 1.5; color: rgba(235, 235, 230, .8); }
.dialog__steps { margin-top: auto; display: grid; gap: .75rem; font-size: .75rem; line-height: 1.45; color: rgba(235, 235, 230, .75); counter-reset: s; }
.dialog__steps strong { color: var(--brand-white); font-weight: 600; }

.pform { display: grid; gap: 1.1rem; padding: 2.25rem 2rem 2rem; }
.pform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pform__field { display: grid; gap: .35rem; font-size: .78rem; font-weight: 500; color: #3a3a3a; }
.pform__field input, .pform__field textarea {
  width: 100%; border: 1px solid rgba(0, 0, 0, .18); border-radius: .6rem; background: #fff; padding: .7rem .85rem;
  font: inherit; font-size: .9rem; font-weight: 400; color: #1a1a1a; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.pform__field input:focus, .pform__field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48, 100, 208, .15); }
.pform__field input[aria-invalid="true"] { border-color: #e40014; }
.pform__chips legend { margin-bottom: .5rem; font-size: .78rem; font-weight: 500; color: #3a3a3a; }
.pform__chipset { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .42rem .85rem; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .2); font-size: .78rem; background: #fff; transition: all .2s; }
.chip:hover span { border-color: #000; }
.chip input:checked + span { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.pform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.pform__note { font-size: .78rem; color: #555; }
.pform__note a { text-decoration: underline; text-underline-offset: 2px; }
.pform__status { font-size: .85rem; color: #0a7a52; min-height: 1.2em; }
.pform__status.is-error { color: #bf000f; }
/* enquiry form: honeypot, errors, privacy line, sent panel */
.dialog__link { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.pform__done { align-content: center; justify-items: start; min-height: 24rem; outline: none; }
.pform__done[hidden] { display: none; }
.pform__donetitle { margin: 0; font-size: 1.9rem; line-height: 1.15; }
.pform__done > p { margin: 0; max-width: 30rem; font-size: .9rem; line-height: 1.6; color: #3a3a3a; }
.pform__again { border: 0; background: none; padding: .4rem 0; font: inherit; font-size: .82rem; color: #555; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pform [aria-busy="true"] { opacity: .6; pointer-events: none; }

.pform__field textarea[aria-invalid="true"] { border-color: #e40014; }
.pform__error { font-size: .75rem; font-weight: 400; color: #bf000f; }
.pform__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pform__privacy { margin: 0; font-size: .78rem; line-height: 1.5; color: #555; }
.pform__privacy a { text-decoration: underline; text-underline-offset: 2px; }
.pform__tick {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--violet)); box-shadow: 0 18px 40px -18px rgba(48, 100, 208, .8);
}
.pform__tick svg { width: 1.7rem; height: 1.7rem; }

.dialog--case .dialog__content { max-width: 64rem; display: flex; background: #111; color: var(--brand-white); border: 1px solid rgba(255, 255, 255, .1); border-radius: 1.25rem; }
.case__media { width: 55%; min-height: 26rem; }
.case__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 3rem 2.5rem 2.5rem; }
.case__num { font-size: .72rem; letter-spacing: .28em; color: rgba(235, 235, 230, .55); }
.case__title { font-size: 2.5rem; line-height: 1.05; }
.case__sector { font-style: italic; font-size: 1.2rem; color: var(--hover-cyan); }
.case__summary { font-size: 1rem; line-height: 1.6; color: rgba(235, 235, 230, .85); }
.case__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .75rem; }

/* =====================================================================
   SOUND
   ===================================================================== */

.sound {
  position: fixed; right: 1.75rem; bottom: 1.75rem; z-index: 10040; display: flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem; border-radius: 50%; color: #fff;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .75); box-shadow: 0 8px 30px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.sound:hover { border-color: rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .9); }
.sound:active { transform: scale(.96); }
.sound svg { width: 1.25rem; height: 1.25rem; }
.sound__on { display: none; }
.sound[aria-pressed="true"] .sound__on { display: block; }
.sound[aria-pressed="true"] .sound__off { display: none; }

/* =====================================================================
   SERVICE PAGES  (modelled on Creativeans' solution pages)
   Light = cream #fffbf3, the process block = #1b1b1b, and the page turns
   dark with the blurred mark from the testimonials down.
   ===================================================================== */

/* every inner page (services, articles) starts on cream */
html[data-page]:not([data-page="home"]) .stage__solid { opacity: 1; background-color: var(--cream); }
html[data-page]:not([data-page="home"]) .stage__overlay { opacity: 0; }

.kicker { font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--fg); opacity: .75; transition: color 1s; }
.kicker--light { color: var(--brand-white); }

.svc { position: relative; z-index: 20; }

/* hero */
.svc-hero { position: relative; margin-inline: auto; max-width: var(--max); padding: 10rem 0 0; }
.svc-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.svc-hero__copy { display: flex; flex-direction: column; color: var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.crumbs a { opacity: .6; transition: opacity .2s; }
.crumbs a:hover { opacity: 1; }
.crumbs span[aria-hidden] { opacity: .4; }
.svc-tier { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.svc-tier__dot { width: .55rem; height: .55rem; border-radius: 50%; }
.svc-hero__title { font-size: 3.75rem; line-height: 1.15; color: var(--ink); }
.svc-hero__title em { font-style: italic; }
.svc-hero__lede { margin-top: 2rem; max-width: 32rem; font-size: 1.05rem; line-height: 1.625; color: rgba(27, 27, 27, .85); }
.svc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; padding-top: 2.25rem; border-top: 1px solid rgba(27, 27, 27, .18); }
.svc-stat { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
.svc-stat__v { font-size: 3rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.svc-stat__l { max-width: 13rem; font-size: .8rem; line-height: 1.35; color: rgba(27, 27, 27, .75); }
.svc-hero__cta { display: flex; justify-content: center; margin-top: 3.5rem; }

.svc-visual {
  position: relative; overflow: hidden; height: 38rem; border-radius: 1rem; color: #fff; isolation: isolate;
  background: var(--svc); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .35); will-change: transform;
}
.svc-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(255, 255, 255, .14), transparent 45%, rgba(0, 0, 0, .35)); }
.svc-visual__glow {
  position: absolute; z-index: -1; width: 90%; aspect-ratio: 1; right: -30%; top: -20%; border-radius: 50%;
  background: conic-gradient(from 200deg, #27fcf2, #3064d0, #8739d5, #ff2fc0, #27fcf2); filter: blur(70px); opacity: .55;
  animation: svc-glow 14s linear infinite;
}
@keyframes svc-glow { to { transform: rotate(360deg); } }
.svc-visual__num { position: absolute; left: 2rem; top: 1.6rem; font-size: 4.5rem; line-height: 1; opacity: .9; }
.svc-visual__tier { position: absolute; right: 2rem; top: 2.2rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.svc-visual__icon {
  position: absolute; left: 50%; top: 46%; width: 15rem; height: 15rem; stroke-width: 1.1;
  transform: translate(calc(-50% + var(--px, 0) * 6px), calc(-50% + var(--py, 0) * 6px));
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25));
}
.svc-visual__chips span {
  position: absolute; padding: .5rem 1rem; border-radius: 999px; font-size: .8rem; white-space: nowrap;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translate(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 14px));
  animation: svc-chip 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s);
}
.svc-visual__chips span:nth-child(1) { left: 8%; top: 24%; }
.svc-visual__chips span:nth-child(2) { right: 7%; top: 30%; }
.svc-visual__chips span:nth-child(3) { left: 12%; top: 64%; }
.svc-visual__chips span:nth-child(4) { right: 10%; top: 60%; }
.svc-visual__chips span:nth-child(5) { left: 34%; top: 15%; }
.svc-visual__chips span:nth-child(6) { right: 26%; top: 74%; }
@keyframes svc-chip { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
.svc-visual__name { position: absolute; left: 2rem; right: 2rem; bottom: 1.8rem; font-size: 2rem; line-height: 1.1; font-style: italic; }

/* the #1b1b1b block: statement + process carousel */
.svc-ink { position: relative; margin-top: 5rem; padding: 8rem 1.5rem; background: #1b1b1b; color: var(--brand-white); }
.svc-ink__inner { margin-inline: auto; max-width: var(--max); display: flex; flex-direction: column; align-items: center; text-align: center; }
.svc-ink__statement { margin-top: 1.5rem; max-width: 62rem; font-size: 2.35rem; line-height: 1.3; }
.svc-ink__statement em { font-style: italic; color: #fff; }
.svc-ink__more { margin-top: 1.25rem; max-width: 52rem; font-size: .95rem; line-height: 1.6; color: rgba(235, 235, 230, .75); }
.svc-ink__statement + .svc-ink__more { margin-top: 2.25rem; }
.svc-ink .btn { --line: var(--brand-white); --btn-fill: var(--brand-white); --btn-arrow: #000; --btn-hover-text: var(--ink); color: var(--brand-white); }

.svc-process { width: 100%; margin-top: 5rem; padding: 2.5rem 0 2.75rem; border-radius: 1.5rem; background: var(--cream); color: var(--ink); overflow: hidden; }
.svc-process__head { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 0 2rem; }
.svc-process .kicker { color: var(--ink); }
.svc-process__title { font-size: 2.25rem; line-height: 1.2; }
.svc-process__nav { display: flex; gap: .6rem; margin-top: .25rem; }
.svc-arrow { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: #1b1b1b; color: #fff; transition: background-color .2s, opacity .2s; }
.svc-arrow:hover { background: rgba(27, 27, 27, .8); }
.svc-arrow:disabled { opacity: .3; cursor: default; }
.svc-arrow svg { width: 1.1rem; height: 1.1rem; }

.svc-carousel { position: relative; overflow: hidden; margin-top: 2.25rem; padding: 0 2.5rem; cursor: grab; touch-action: pan-y; }
.svc-carousel:active { cursor: grabbing; }
.svc-carousel.is-native { overflow-x: auto; touch-action: auto; }
.svc-carousel.is-fit { cursor: default; }
.svc-carousel.is-fit .svc-carousel__track { margin-inline: auto; transform: none !important; }
.carousel-fits .svc-process__nav { display: none; }
.svc-carousel__track { display: flex; gap: 1.25rem; width: max-content; user-select: none; -webkit-user-select: none; }

/* up to four phases: a fixed grid that fills the card exactly */
.svc-phases { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; padding: 0 2.5rem; }
.svc-phases .phase-card { width: auto; }

.phase-card {
  position: relative; flex-shrink: 0; width: 17.5rem; height: 24rem; overflow: hidden; border-radius: 1.1rem;
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem; text-align: left;
}
.phase-card--g1 { background: radial-gradient(70% 55% at 80% 18%, #fff 0%, transparent 60%), linear-gradient(165deg, #f4ecff 0%, #d8c8ff 48%, #b9d8ff 100%); }
.phase-card--g2 { background: radial-gradient(70% 55% at 20% 20%, #fff 0%, transparent 60%), linear-gradient(165deg, #fff1f7 0%, #ffcfe6 48%, #d6ccff 100%); }
.phase-card--g3 { background: radial-gradient(70% 55% at 80% 20%, #fff 0%, transparent 60%), linear-gradient(165deg, #ecfff9 0%, #c3f1e7 48%, #cbd9ff 100%); }
.phase-card--g4 { background: radial-gradient(70% 55% at 25% 18%, #fff 0%, transparent 60%), linear-gradient(165deg, #fff8e8 0%, #ffe0b8 48%, #ffc6d8 100%); }
.phase-card--g5 { background: radial-gradient(70% 55% at 75% 20%, #fff 0%, transparent 60%), linear-gradient(165deg, #f3f5ff 0%, #d4dcff 48%, #f0cfff 100%); }
.phase-card__num { font-size: 1.4rem; color: rgba(27, 27, 27, .45); }
.phase-card__icon { position: absolute; left: 50%; top: 42%; width: 8.5rem; height: 8.5rem; color: #111; stroke-width: 1.3; transform: translate(-50%, -50%); transition: transform .8s var(--ease-ca); }
.phase-card:hover .phase-card__icon { transform: translate(-50%, -58%) scale(1.06); }
.phase-card__bar { position: relative; padding: .95rem 1.1rem; border-radius: .8rem; background: #1b1b1b; color: var(--cream); }
.phase-card__title { font-size: 1.3rem; line-height: 1.2; }
.phase-card__body { max-height: 0; overflow: hidden; opacity: 0; font-size: .8rem; line-height: 1.45; color: rgba(255, 251, 243, .78); transition: max-height .6s var(--ease-ca), opacity .4s, margin .6s var(--ease-ca); }
.phase-card:hover .phase-card__body, .phase-card:focus-within .phase-card__body { max-height: 8rem; opacity: 1; margin-top: .45rem; }
@media (hover: none) { .phase-card__body { max-height: 8rem; opacity: 1; margin-top: .45rem; } }

/* the service's photo, whole and large, then what you get */
.svc-deliver { margin-inline: auto; max-width: var(--max); padding: 8rem 0 4rem; color: var(--ink); }
.svc-art { margin: 0 auto 6rem; max-width: 64rem; overflow: hidden; border-radius: 1.25rem; background: #161616; box-shadow: 0 40px 80px -40px rgba(27, 27, 27, .55); }
.svc-art img { width: 100%; height: auto; transition: transform 1.2s var(--ease-ca); }
.svc-art:hover img { transform: scale(1.02); }
.svc-deliver__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
.svc-deliver__title { font-size: 3rem; line-height: 1.15; }
.svc-deliver__title em { font-style: italic; }
.svc-deliver__list { margin-top: 2.25rem; display: grid; gap: 2rem; }
.deliver-list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2rem; }
.deliver-list li { display: flex; align-items: flex-start; gap: .75rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(27, 27, 27, .12); font-size: 1rem; line-height: 1.4; }
.deliver-list svg { flex-shrink: 0; width: 1.4rem; height: 1.4rem; padding: .22rem; margin-top: -.05rem; border-radius: 50%; color: #fff; background: var(--svc, #1b1b1b); }
.deliver-group__title { margin-bottom: 1rem; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; }

/* stack */
.svc-stack { margin-inline: auto; max-width: var(--max); padding: 4rem 0; text-align: center; color: var(--ink); }
.svc-stack__title { margin-top: 1rem; font-size: 2.6rem; line-height: 1.2; }
.svc-stack__title em { font-style: italic; }
.stack-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 2.25rem auto 0; max-width: 56rem; }
.stack-chips li { padding: .7rem 1.35rem; border-radius: 999px; border: 1px solid rgba(27, 27, 27, .22); font-size: 1rem; background: rgba(255, 255, 255, .5); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-ca); }
.stack-chips li:hover { background: #1b1b1b; border-color: #1b1b1b; color: var(--cream); transform: translateY(-2px); }

/* related services */
.svc-related { padding: 4rem 0 9rem; color: var(--ink); }
.svc-related__head { margin-inline: auto; max-width: var(--max); text-align: center; }
.svc-related__title { margin-top: 1rem; font-size: 2.6rem; line-height: 1.2; }
.svc-related__title em { font-style: italic; }
.svc-carousel--related { margin-top: 2.75rem; padding: 0 max(1.5rem, calc((100vw - var(--max)) / 2)); }
.svc-carousel--related .svc-carousel__track { gap: 1.25rem; padding-bottom: .5rem; }
.rel-card { position: relative; display: flex; flex-direction: column; flex-shrink: 0; width: 20rem; border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .35); -webkit-user-drag: none; transition: transform .5s var(--ease-ca), box-shadow .5s; }
.rel-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.rel-card__art { position: relative; display: flex; align-items: center; justify-content: center; height: 13rem; overflow: hidden; color: var(--svc); background: radial-gradient(60% 60% at 70% 25%, #fff, transparent 70%), linear-gradient(160deg, #f5f0ff, #e7efff 50%, #ffeef6); }
.rel-card__icon { width: 7rem; height: 7rem; stroke-width: 1.4; transition: transform .8s var(--ease-ca); }
.rel-card:hover .rel-card__icon { transform: scale(1.08) rotate(-4deg); }
.rel-card__tier { position: absolute; left: 1rem; top: 1rem; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(27, 27, 27, .55); }
.rel-card__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: var(--svc); color: #fff; min-height: 5.5rem; }
.rel-card__text { display: flex; flex-direction: column; gap: .3rem; }
.rel-card__name { font-size: 1.2rem; line-height: 1.15; }
.rel-card__sub { font-size: .72rem; line-height: 1.35; opacity: .8; }
.rel-card__arrow { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: #000; transition: transform .4s var(--ease-ca); }
.rel-card__arrow svg { width: .9rem; height: .9rem; }
.rel-card:hover .rel-card__arrow { transform: rotate(45deg); }

/* dark part: testimonials, work, FAQ, contact */
.svc-dark { position: relative; }
.svc-dark .quotes { margin-top: 2rem; }

.svc-work { margin: 2rem 0 8rem; }
.svc-work__panel { margin-inline: auto; padding: 6rem 1.5rem; border-radius: 1rem 1rem 0 0; background: var(--cream); color: #1a1a1a; }
.svc-work__title { text-align: center; font-size: 3rem; line-height: 1.2; color: #000; }
.svc-work__grid { margin: 3rem auto 0; max-width: var(--max); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-work__card.work-card { width: auto; height: 27.25rem; border-radius: 1rem; background: #252525; }
.svc-work__cta { display: flex; justify-content: center; margin-top: 3rem; }

.svc-faq { margin-inline: auto; max-width: var(--max); padding: 2rem 0 6rem; color: var(--brand-white); }
.svc-faq__title { margin-top: 1rem; font-size: 2.6rem; line-height: 1.2; }
.svc-faq__sub { margin-top: .75rem; font-size: .95rem; color: rgba(235, 235, 230, .7); }
.faq { margin-top: 2.5rem; border: 1px solid rgba(235, 235, 230, .28); border-radius: 1rem; padding: 0 1.5rem; background: rgba(0, 0, 0, .15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.faq__item + .faq__item { border-top: 1px solid rgba(235, 235, 230, .2); }
.faq__h { margin: 0; }
.faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; text-align: left; font-size: 1.3rem; line-height: 1.3; color: var(--brand-white); }
.faq__icon { position: relative; flex-shrink: 0; width: 1.2rem; height: 1.2rem; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s var(--ease-ca); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 3rem 1.5rem 0; font-size: .95rem; line-height: 1.65; color: rgba(235, 235, 230, .8); }

/* =====================================================================
   ARTICLES  (modelled on Creativeans' resources listing and guide pages)
   Cream like the service pages; the page turns dark at the contact card.
   ===================================================================== */

.arts { --art-max: var(--max); --art-pad: 0rem; position: relative; z-index: 20; color: var(--ink); }
.ahero, .alib, .arthero__inner, .artbody { margin-inline: auto; max-width: calc(var(--art-max) + 2 * var(--art-pad)); padding-inline: var(--art-pad); }

/* chips: area colour, or ink for the article type */
.achip {
  display: inline-flex; align-items: center; gap: .25rem; width: fit-content; padding: .125rem .5rem; border-radius: 999px;
  background: var(--chip, var(--ink)); color: #fff; font-size: .75rem; line-height: 1.35; white-space: nowrap;
}
.achip svg { width: .75rem; height: .75rem; }

/* ---- listing: hero ---- */
.ahero { padding-top: 10rem; padding-bottom: 4rem; }
.ahero__grid { display: flex; gap: 1.5rem; }
.ahero__copy { width: 55%; }
.ahero__side { display: flex; width: 45%; flex-direction: column; gap: 2.5rem; }
.ahero__title { font-size: 3rem; line-height: 1.25; }
.ahero__title i { font-style: italic; }
.asearch { width: 25rem; max-width: 100%; margin-top: 2rem; }
.asearch__box { position: relative; display: block; }
.asearch__icon { position: absolute; left: 1rem; top: 50%; width: 1.25rem; height: 1.25rem; transform: translateY(-50%); pointer-events: none; }
.asearch__input {
  display: block; width: 100%; padding: .75rem 1.25rem .75rem 3rem; border: 1px solid var(--ink); border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5; transition: box-shadow .3s;
}
.asearch__input::placeholder { color: rgba(27, 27, 27, .5); }
.asearch__input:focus { outline: none; box-shadow: 0 0 0 4px rgba(48, 100, 208, .16); }
.asearch__hint { margin-top: .25rem; padding-left: 1rem; font-size: .875rem; color: rgba(27, 27, 27, .5); }
.asearch__hint button { color: inherit; text-decoration: underline; text-decoration-color: rgba(27, 27, 27, .25); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.asearch__hint button:hover { color: var(--ink); text-decoration-color: currentColor; }
.ahero__lede { max-width: 44rem; margin-left: auto; font-size: 1rem; line-height: 1.5; }
.astats { display: flex; justify-content: flex-end; gap: 3.5rem; }
.astat { display: flex; flex-direction: column; align-items: center; }
html.js .astat { opacity: 0; transform: translateY(18px); }
.astat__num { font-size: 3rem; line-height: 1; letter-spacing: -.025em; font-variant-numeric: lining-nums; }
.astat__label { margin-top: .5rem; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* ---- listing: type tabs, areas, grid ---- */
.alib { padding-bottom: 8rem; }
.atabs { display: flex; flex-wrap: wrap; gap: .75rem; padding: 1.25rem 0; border-block: .5px solid var(--ink); }
.atab {
  display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; transition: background-color .25s, color .25s;
}
.atab svg { width: .8rem; height: .8rem; }
.atab:hover, .atab.is-active { background: var(--ink); color: #fff; }
.alib__body { display: flex; align-items: flex-start; gap: 2rem; margin-top: 2.75rem; }
.aareas-wrap { position: sticky; top: 6rem; flex: 0 0 15rem; padding: .5rem; }
.aareas__label { margin-bottom: 1rem; padding-left: .625rem; font-size: .875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(27, 27, 27, .6); }
.aareas { display: flex; flex-direction: column; gap: .375rem; }
.aareas__all { margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: .5px solid var(--ink); }
.aarea {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; padding: .625rem .75rem;
  border-radius: .5rem; font-size: .875rem; text-align: left; transition: background-color .25s, color .25s, opacity .25s;
}
.aarea__n { color: rgba(27, 27, 27, .5); font-variant-numeric: tabular-nums; }
.aarea:hover { background: rgba(27, 27, 27, .06); }
.aarea.is-active { background: var(--ink); color: #fff; }
.aarea.is-active .aarea__n { color: rgba(255, 255, 255, .95); }
.aarea.is-empty { opacity: .45; }
.alib__main { flex: 1; min-width: 0; }
.alib__status { margin: -.5rem 0 1.25rem; font-size: .875rem; line-height: 1.5; color: rgba(27, 27, 27, .7); }
.alib__status:empty { display: none; }
.alib__status strong { font-weight: 500; color: var(--ink); }
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
/* Without the script every card is listed, so the filter controls step aside. */
html:not(.js) .asearch, html:not(.js) .atabs, html:not(.js) .aareas-wrap { display: none; }
html:not(.js) .alib__body { margin-top: 0; }

/* ---- article card ---- */
.acard {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid transparent; border-radius: 1rem; background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); transition: border-color .7s;
}
.acard:hover { border-color: rgba(0, 0, 0, .8); }
.acard:has(.acard__link:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.acard__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0d0d10; }
.acard__media img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; transition: transform .5s; }
.acard:hover .acard__media img { transform: scale(1.1); }
.acard__type {
  position: absolute; top: .75rem; right: .75rem; display: inline-flex; align-items: center; gap: .3rem; padding: .125rem .5rem;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: .25rem; background: rgba(27, 27, 27, .5); color: #fff;
  font-size: .75rem; font-weight: 500; text-transform: uppercase; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: border-radius .7s, background-color .7s;
}
.acard__type svg { width: .75rem; height: .75rem; }
.acard:hover .acard__type { border-radius: 1.5rem; background: rgba(27, 27, 27, .8); }
.acard__body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1.25rem; }
.acard__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .375rem; }
.acard__time { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(27, 27, 27, .5); }
.acard__title { margin-top: .25rem; font-size: 1.25rem; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.acard__link { -webkit-user-drag: none; }
.acard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.acard__link:focus-visible { outline: none; }
.acard__dek { margin-top: .25rem; font-size: .875rem; line-height: 1.4; color: #595959; transition: color .5s; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.acard:hover .acard__dek { color: var(--ink); }
.acard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(27, 27, 27, .1); }
.acard__cta { font-size: .875rem; color: #c8c6c0; transition: color .5s; }
.acard:hover .acard__cta { color: #000; }
.acard__arrow { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid rgba(0, 0, 0, .2); border-radius: 50%; transition: background-color .3s, border-color .3s, color .3s; }
.acard__arrow svg { width: 1rem; height: 1rem; }
.acard:hover .acard__arrow { border-color: var(--ink); background: var(--ink); color: #fff; }

.aempty { padding: 4rem 1.5rem; border: 1px dashed rgba(27, 27, 27, .25); border-radius: 1rem; text-align: center; }
.aempty__title { font-size: 2rem; line-height: 1.2; }
.aempty__sub { margin: .6rem auto 1.75rem; max-width: 26rem; color: rgba(27, 27, 27, .7); }
.apager { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 3rem; }
.apager__arrow { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: #fff; transition: opacity .2s, transform .2s; }
.apager__arrow svg { width: 1rem; height: 1rem; }
.apager__arrow:not(:disabled):hover { transform: scale(1.06); }
.apager__arrow:disabled { opacity: .2; cursor: default; }
.apager__nums { display: flex; align-items: center; gap: .25rem; padding: .25rem; border: 1px solid var(--ink); border-radius: 999px; }
.apager__num { min-width: 2rem; height: 2rem; padding: 0 .5rem; border-radius: 999px; font-size: .875rem; text-align: center; transition: background-color .2s, color .2s; }
.apager__num:hover { background: rgba(27, 27, 27, .08); }
.apager__num[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---- article page: hero + cover ---- */
.arthero__inner { padding-top: 10rem; padding-bottom: 2.5rem; }
.arthero__back { display: flex; width: fit-content; align-items: center; gap: .5rem; font-size: .875rem; letter-spacing: .02em; text-transform: uppercase; opacity: .5; transition: opacity .3s; }
.arthero__back svg { width: 1rem; height: 1rem; }
.arthero__back:hover { opacity: 1; }
.arthero__title { max-width: 64rem; margin-top: 1.5rem; font-size: 3.75rem; line-height: 1.2; }
.arthero__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.arthero__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.arthero__chips .achip { text-transform: uppercase; transition: transform .25s, filter .25s; }
.arthero__chips .achip:hover { transform: translateY(-1px); filter: brightness(1.2); }
.arthero__meta { display: flex; gap: .5rem; margin-top: 1.25rem; font-size: .875rem; letter-spacing: .03em; text-transform: uppercase; color: rgba(27, 27, 27, .55); }

.ashare { position: relative; display: flex; gap: .5rem; }
.ashare__btn { position: relative; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid var(--ink); border-radius: 50%; transition: background-color .3s, color .3s; }
.ashare__btn svg { width: 1rem; height: 1rem; }
.ashare__btn:hover, .ashare__btn[aria-expanded="true"] { background: #000; color: #fff; }
.ashare__tip { position: absolute; bottom: calc(100% + .4rem); left: 50%; transform: translateX(-50%); font-size: .75rem; white-space: nowrap; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .3s; }
.ashare__btn:hover .ashare__tip, .ashare__btn.is-done .ashare__tip { opacity: 1; }
.ashare__pop {
  position: absolute; top: calc(100% + .6rem); right: 0; z-index: 40; display: grid; min-width: 11rem; padding: .4rem; border-radius: .9rem;
  background: rgba(0, 0, 0, .9); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.ashare__pop a { padding: .55rem .8rem; border-radius: .55rem; font-size: .85rem; color: var(--brand-white); transition: background-color .2s; }
.ashare__pop a:hover { background: rgba(255, 255, 255, .12); }

/* The cover starts inset like a card and opens to full bleed as it scrolls up (--cover-p 0 → 1). */
.artcover { --cover-p: 1; --edge: max(var(--art-pad), calc((100% - var(--art-max)) / 2)); margin: 0; }
html.js .artcover { --cover-p: 0; }
.artcover__frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-height: 100vh; background: #0d0d10;
  -webkit-clip-path: inset(0 calc(var(--edge) * (1 - var(--cover-p))) round calc(1rem * (1 - var(--cover-p))));
  clip-path: inset(0 calc(var(--edge) * (1 - var(--cover-p))) round calc(1rem * (1 - var(--cover-p))));
}
.artcover__frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }

/* ---- article page: contents + body ---- */
.artbody { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 5rem; padding-top: 4rem; padding-bottom: 2rem; }
.arttoc { position: sticky; top: 6rem; align-self: start; max-height: calc(100vh - 8rem); overflow-y: auto; scrollbar-width: none; }
.arttoc::-webkit-scrollbar { display: none; }
.arttoc__label { margin-bottom: 1rem; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: #a09d96; }
.arttoc__list { display: flex; flex-direction: column; gap: .25rem; }
.arttoc__list a { display: block; padding: .5rem 1rem; border-radius: .5rem; font-size: .875rem; line-height: 1.35; color: rgba(27, 27, 27, .72); transition: background-color .3s, color .3s; }
.arttoc__list a:hover { background: rgba(27, 27, 27, .05); color: var(--ink); }
.arttoc__list a.is-active { background: var(--ink); color: #fff; }

.artprose { max-width: 46rem; font-size: 1.125rem; line-height: 1.8; color: rgba(27, 27, 27, .86); }
.artprose > * + * { margin-top: 1.25em; }
.artprose__dek { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.45; color: var(--ink); }
.artprose__dek + * { margin-top: 2rem; }
.artprose h2 { margin-top: 2.1em; font-size: 2.25rem; line-height: 1.2; color: var(--ink); }
.artprose h3 { margin-top: 1.8em; font-size: 1.6rem; line-height: 1.25; color: var(--ink); }
.artprose h2 + *, .artprose h3 + * { margin-top: .8em; }
.artprose ul, .artprose ol { padding-left: 1.4em; }
.artprose ul { list-style: disc; }
.artprose ol { list-style: decimal; }
.artprose li { padding-left: .3em; }
.artprose li + li { margin-top: .6em; }
.artprose li::marker { color: rgba(27, 27, 27, .4); }
.artprose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(48, 100, 208, .35); text-underline-offset: .2em; transition: text-decoration-color .2s; }
.artprose a:hover { text-decoration-color: currentColor; }
.artprose strong { font-weight: 600; color: var(--ink); }
.artprose blockquote { padding-left: 1.25rem; border-left: 2px solid var(--ink); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.45; color: var(--ink); }
.artprose code { padding: .1em .35em; border-radius: .3em; background: rgba(27, 27, 27, .07); font-size: .88em; }

.artprose .artsources { margin-top: 3.5rem; padding: 1.6rem 2rem; border: 1px solid rgba(27, 27, 27, .14); border-radius: 1rem; background: rgba(255, 255, 255, .55); }
.artprose .artsources__title { margin: 0; font-family: var(--font-sans); font-size: .75rem; font-weight: 500; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: rgba(27, 27, 27, .6); }
.artprose .artsources__list { margin-top: .75rem; padding: 0; list-style: none; }
.artprose .artsources__list li { padding: 0; margin: 0; }
.artprose .artsources__list li + li { border-top: 1px solid rgba(27, 27, 27, .1); }
.artprose .artsources__list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; font-size: 1rem; line-height: 1.4; color: var(--ink); text-decoration: none; }
.artsources__list svg { flex-shrink: 0; width: 1rem; height: 1rem; transition: transform .35s var(--ease-ca); }
.artsources__list a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.artsources__list a:hover svg { transform: translate(2px, -2px); }
.artprose .arttags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.artprose .arttag { padding: .3rem .8rem; border: 1px solid rgba(27, 27, 27, .2); border-radius: 999px; font-size: .8rem; line-height: 1.4; color: rgba(27, 27, 27, .7); text-decoration: none; transition: background-color .25s, border-color .25s, color .25s; }
.artprose .arttag:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---- article page: read next ---- */
.artnext { padding: 6rem 0 8rem; }
.artnext__title { text-align: center; font-size: 3rem; line-height: 1.2; text-transform: uppercase; }
.art-carousel { margin-top: 2rem; padding: .75rem max(1.5rem, calc((100vw - var(--max)) / 2)) 1.5rem; }
.art-carousel .svc-carousel__track { gap: 1.5rem; }
.art-carousel .acard { flex-shrink: 0; width: 21.25rem; border-color: rgba(0, 0, 0, .1); }
.art-carousel .acard:hover { border-color: rgba(0, 0, 0, .8); }
.arts-dark { position: relative; padding-top: 1rem; }

/* ---- 404 page (tools/build_extras.py) ---- */
.nf { margin-inline: auto; max-width: var(--max); padding: 12rem 1.5rem 8rem; text-align: center; }
.nf .kicker { color: var(--ink); }
.nf__title { margin-top: 1.25rem; font-size: 4rem; line-height: 1.15; }
.nf__title em { font-style: italic; }
.nf__lede { margin: 1.5rem auto 0; max-width: 34rem; font-size: 1.05rem; line-height: 1.6; color: rgba(27, 27, 27, .75); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.5rem; }
@media (max-width: 767px) {
  .nf { padding: 9rem 1.25rem 5rem; }
  .nf__title { font-size: 2.6rem; }
}

/* =====================================================================
   RESPONSIVE (Tailwind breakpoints in px: md 768, lg 1024, xl 1280)
   ===================================================================== */

@media (max-width: 1279px) {
  .brandbar { max-width: 64rem; }
  .about, .sintro, .quotes, .brands, .footer { max-width: 64rem; }
  .expect__wrap { margin-left: 5rem; }
}

@media (max-width: 1023px) {
  .hero__titlewrap { font-size: 3.5rem; }
  .wonder { padding: 5rem 0; padding-top: 4rem; }
  .wonder__title { font-size: 3.5rem; }
  .wonder__text { min-height: 96vh; }
  .sintro__row { flex-direction: column; align-items: center; gap: 3rem; text-align: center; }
  .sintro__head, .sintro__copy { width: 100%; align-items: center; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .expect__wrap { margin-left: 0; padding: 0 1.5rem; }
  .expect__row { flex-direction: column; align-items: stretch; gap: 4rem; }
  .expect__headcol { width: auto; padding-top: 0; }
  .expect__title { text-align: left; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__connect, .footer__cols, .footer__nav { grid-column: auto; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .5rem 1.5rem; }
  .footer__base { grid-template-columns: 1fr; gap: 1rem; }
  .footer__legal, .footer__legal div { text-align: left; justify-content: flex-start; }
  .drag-bubble { display: none; }
}

/* Small desktops: the centred pill and the brand row would collide, so the
   row spans the full width, the wordmark drops and the pill sizes to content. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .brandbar { max-width: none; padding-left: 1.5rem; padding-right: 1.5rem; }
  .brandbar .brand__word { display: none; }
  .pill-nav, .pill-nav ul { min-width: 0; }
  .pill-nav a, .pill-nav__more { padding-left: .85rem; padding-right: .85rem; }
}

/* The VB nav is longer than Creativeans', so the pill header takes over at
   tablet widths instead of only on phones. */
@media (max-width: 1023px) {
  .brandbar, .navtop, .dock { display: none; }

  .mhead { display: block; position: fixed; top: calc(var(--ticker-h) - .333rem); left: 0; right: 0; z-index: 9999; padding: 1rem; transition: all .3s var(--ease-io); pointer-events: none; }
  html.is-scrolled .mhead { top: 0; }
  /* Once the page scrolls, a dark band behind the pill (the whole header strip, softening at
     its lower edge), so the page doesn't show around it while it moves underneath. */
  .mhead::before {
    content: ""; position: absolute; inset: 0 0 -.75rem; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(10, 10, 10, .97) 0, rgba(10, 10, 10, .97) calc(100% - .75rem), rgba(10, 10, 10, 0));
    opacity: 0; transition: opacity .3s var(--ease-io);
  }
  html.is-scrolled .mhead::before, html.menu-open .mhead::before { opacity: 1; }
  .mhead__pill {
    pointer-events: auto; display: flex; align-items: center; justify-content: space-between;
    border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(5, 5, 5, .85);
    padding: .5rem .75rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .3);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); transition: background-color .3s;
  }
  html.is-scrolled .mhead__pill, html.menu-open .mhead__pill { background: rgba(5, 5, 5, .95); }
  .brand--m { gap: .5rem; }
  .brand--m .brand__mark { height: 2.25rem; }
  .brand--m .brand__word { font-size: 1.3rem; color: var(--brand-white); }
  .mhead__actions { display: flex; align-items: center; gap: .5rem; }
  .mhead .round-btn { width: 2.5rem; height: 2.5rem; }
  .round-btn--burger { background: rgba(255, 255, 255, .15); color: var(--brand-white); }
  .round-btn--burger:hover { background: rgba(255, 255, 255, .2); transform: none; }
  .round-btn--burger .icon-close { display: none; }
  html.menu-open .round-btn--burger .icon-open { display: none; }
  html.menu-open .round-btn--burger .icon-close { display: block; }

  .mmenu { display: block; position: fixed; inset: 0; z-index: 9998; }
  .mmenu__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; }
  .mmenu__panel { position: absolute; left: 1rem; right: 1rem; top: 6.25rem; border-radius: 2rem; padding: 1px; opacity: 0; }
  .mmenu__inner { position: relative; z-index: 10; display: flex; flex-direction: column; max-height: calc(100svh - 8rem); overflow-y: auto; border-radius: 1.9rem; background: rgba(0, 0, 0, .9); padding: .75rem; color: var(--brand-white); }
  .mmenu__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .95rem 1rem; border-radius: 1.25rem; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
  .mmenu__link:hover { background: rgba(255, 255, 255, .06); }
  .mmenu__acc svg { width: 1.25rem; height: 1.25rem; transition: transform .24s; }
  .mmenu__acc[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mmenu__sub { height: 0; overflow: hidden; opacity: 0; display: grid; gap: .1rem; padding: 0 1rem; }
  .mmenu__sub a { display: block; padding: .5rem 0; font-size: .95rem; color: rgba(235, 235, 230, .85); }
  .mmenu__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .5rem; padding: .75rem .5rem .25rem; border-top: 1px solid rgba(255, 255, 255, .12); }
  .mmenu__top { padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); font-size: .85rem; }
  .mmenu .btn { --line: var(--brand-white); --btn-fill: var(--brand-white); --btn-arrow: #000; color: var(--brand-white); }
  .mhead__pill { max-width: 40rem; margin-inline: auto; }
  .mmenu__panel { max-width: 40rem; margin-inline: auto; }

  .hero__row { flex-direction: column; align-items: center; }
  .hero__side { width: auto; max-width: 34rem; margin: 1.75rem 0 0; }
  .hero__side p { text-align: center; }
  .hero__cta { justify-content: center; }
}

@media (max-width: 767px) {
  .hero { padding-top: 5rem; }
  .hero__row { flex-direction: column; align-items: center; }
  .hero__titlewrap { font-size: 2.9rem; line-height: 1.25; }
  .hero__title { row-gap: 0; }
  .hero__rule { width: 5rem; }
  .hero__side { width: auto; margin: 1.5rem 0; }
  .hero__side p { text-align: center; }
  .hero__cta { justify-content: center; }

  .works { padding: 3rem 0; }
  .container { padding: 0 1.5rem; }
  .works__rows > * + * { margin-top: 2rem; }
  .works__row--last { margin-bottom: 2rem; }
  .works__viewport { padding: 0 1rem; }
  .works__set { gap: 1rem; padding-right: 1rem; }
  .work-card { width: 300px; height: 18rem; border-radius: 2rem; }
  .work-card--wide { width: 400px; }
  .work-card.work-card--banner { width: calc(18rem * 1672 / 941); }
  .work-card__info { padding: 1.5rem; }

  .about { padding: 0 1.5rem; }
  .about__copy { align-items: center; text-align: center; }
  .about__big { font-size: 1.25rem; }
  .stats { margin-top: 5rem; padding: 0 1rem; }

  .wonder { padding: 7rem 0; }
  .wonder__text { pointer-events: none; min-height: 84vh; }
  .wonder__text a, .wonder__text button { pointer-events: auto; }
  .wonder__eyebrow { font-size: .7rem; }
  .wonder__title { font-size: 3.5rem; line-height: 1.2; }
  .wonder__subwrap { margin-top: 1.25rem; }
  .wonder__sub { font-size: 1rem; }
  .wonder__ctawrap { margin-top: 2rem; }
  .btn--wonder { font-size: 1rem; }
  .wcard--1 { left: 1%; transform: translateY(-2rem); }
  .wcard--2 { right: 1%; transform: translateY(-2rem); }
  .wcard--3 { left: 1%; transform: translateY(2rem); }
  .wcard--4 { right: 1%; transform: translateY(2rem); }
  .wcard__shell { width: min(34vw, var(--card-w)); }
  .phase-art { padding: .7rem .7rem .8rem; gap: .3rem; }
  .phase-art__num { font-size: 2rem; padding-top: 1.6rem; }
  .phase-art__name { font-size: 1.3rem; }
  .phase-art__hint { margin-top: .25rem; padding: .26rem .5rem .26rem .38rem; gap: .28rem; font-size: .5rem; letter-spacing: .1em; }
  .phase-art__hint svg { width: .66rem; height: .66rem; }
  /* small cards: no room above the list, so the name tag steps aside while a card is turned,
     and the type is set a little larger relative to the card so it stays readable */
  .wcard__back { padding: 11% 8% 9%; }
  .wcard__back ul { gap: 3cqw; font-size: 9cqw; line-height: 1.25; }
  .wcard__back li { padding-left: 8.5cqw; }
  .wcard__back li::before { width: 3.6cqw; height: 3.6cqw; }
  .wcard__out { font-size: 12.5cqw; }
  .wcard__out span { font-size: 6.5cqw; margin-bottom: 2cqw; }
  .wtitle__rot { transition: opacity .4s; }
  .wcard.is-flipped .wtitle__rot { opacity: 0; }
  .wtitle__rot { font-size: .8rem; padding: .25rem .7rem; }
  .wdeco { display: none; }

  .sintro { margin-top: 0; padding: 0 1.5rem; }
  .sintro__title { font-size: 2.25rem; }
  .accordion__list { margin-top: 3rem; }
  .acc__head { padding: .5rem 1.5rem; }
  .acc__icon { width: 3.5rem; height: 3.5rem; }
  .acc__panel { padding: 0 1.5rem; }
  .acc__content { flex-direction: column; }
  .acc__text { width: 100%; gap: 1rem; }
  .acc__title { margin-top: 1rem; font-size: 2.25rem; }
  .acc__sub { margin-top: -.35rem; }   /* the gap is only 1rem here, so -1rem would sit on two-line titles */
  .acc__body p { font-size: 14px; }
  .acc__visual { width: 100%; padding: 1.25rem; }
  .acc__meta { gap: .75rem; }

  .quotes { margin-top: 5rem; padding: 0 1.5rem; }
  .quotes__wrap { padding: 3rem 0; }
  .quotes__body { flex-direction: column; gap: 1.75rem; }
  .quotes__wheel {
    width: 100%; height: 10rem;
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
  }
  .quote-dot { width: 7.5rem; height: 7.5rem; margin: -3.75rem 0 0 -3.75rem; }
  .quote-dot__mark { font-size: 2.2rem; }
  .quotes__stage { padding: 1rem 0; }
  .quotes__item { gap: 1.5rem; text-align: center; }
  .quotes__text { font-size: 1.5rem; }
  .quotes__nav { flex-direction: row; }
  .nav-circle .arrow-v { display: none; }
  .nav-circle .arrow-h { display: block; }

  .brands { margin-top: 2.5rem; }
  .logo-marquee__set--brands { gap: 4rem; padding-right: 4rem; }

  .expect { padding: 5rem 0 0; }
  .expect__title { text-align: center; font-size: 3rem; line-height: 1.5; }
  .expect__big { font-size: 4.5rem; }
  .expect__row { gap: 0; }
  .expect__track { gap: 1rem; }
  .xcard { width: 19.5rem; height: 21.75rem; }
  .xcard__art { border-bottom-right-radius: 64px; }
  .xcard__text { padding: 2rem 1.75rem; }
  .xcard__text p { font-size: 1.4rem; }

  .contact { padding: 4rem 1.5rem 0; }
  .contact__inner { flex-direction: column; }
  .contact__portrait { width: 100%; }
  .contact__portrait img { width: 100%; height: 25rem; transform: scale(.9); }
  .contact__body { align-items: center; gap: 1.75rem; text-align: center; }
  .contact__foot { align-items: center; }
  .contact__cta { flex-direction: column; gap: 1rem; }
  .contact__orbit { margin: 0; width: 4.5rem; height: 4.5rem; }

  .footer { padding: 0 1.5rem 1.25rem; }
  .footer__connect { align-items: center; text-align: center; }
  .footer__actions { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; }
  .footer__social { justify-content: flex-end; margin: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__col { justify-self: start; }

  .dialog__grid { grid-template-columns: 1fr; }
  .dialog__aside { padding: 1.75rem 1.5rem; }
  .dialog__steps { display: none; }
  .pform { padding: 1.5rem; }
  .pform__row { grid-template-columns: 1fr; }
  .dialog--case .dialog__content { flex-direction: column; }
  .case__media { width: 100%; min-height: 13rem; height: 13rem; }
  .case__body { padding: 1.75rem 1.5rem; }
  .sound { right: 1.25rem; bottom: 1.25rem; width: 3rem; height: 3rem; }
}

/* service pages: responsive */
@media (max-width: 1279px) {
  .svc-hero, .svc-deliver, .svc-stack, .svc-faq, .svc-related__head, .svc-work__grid { max-width: 64rem; }
  .svc-hero, .svc-deliver, .svc-stack, .svc-faq { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 1023px) {
  .svc-hero { padding-top: 8rem; }
  .svc-hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .svc-hero__title { font-size: 3rem; }
  .svc-visual { height: 30rem; }
  .svc-ink { padding: 6rem 1.5rem; }
  .svc-ink__statement { font-size: 1.85rem; }
  .svc-deliver__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .svc-art { margin-bottom: 4rem; }
  .svc-work__grid { grid-template-columns: 1fr 1fr; }
  .svc-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 2rem; }
}
@media (max-width: 767px) {
  .svc-hero { padding-top: 7rem; }
  .svc-hero__title { font-size: 2.4rem; }
  .svc-hero__lede { margin-top: 1.5rem; font-size: 1rem; }
  .svc-stats { gap: 1.25rem; }
  .svc-stat__v { font-size: 2.2rem; }
  .svc-visual { height: 24rem; }
  .svc-visual__num { font-size: 3rem; left: 1.25rem; top: 1.1rem; }
  .svc-visual__tier { right: 1.25rem; top: 1.5rem; }
  .svc-visual__icon { width: 10rem; height: 10rem; }
  .svc-visual__chips span { font-size: .7rem; padding: .4rem .75rem; }
  .svc-visual__chips span:nth-child(n+5) { display: none; }
  .svc-visual__name { left: 1.25rem; bottom: 1.25rem; font-size: 1.5rem; }
  .svc-hero__cta { margin-top: 2.5rem; }
  .svc-ink { margin-top: 4rem; padding: 4.5rem 1rem; }
  .svc-ink__statement { font-size: 1.45rem; }
  .svc-process { margin-top: 3rem; padding: 2rem 0; }
  .svc-process__title { font-size: 1.7rem; }
  .svc-carousel { padding: 0 1.25rem; }
  .phase-card { width: 15rem; height: 21rem; }
  /* phones: the grid becomes a native swipe row (touch devices need no arrows) */
  .svc-phases {
    display: flex; gap: 1rem; padding: 0 1.25rem .25rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; scrollbar-width: none;
  }
  .svc-phases::-webkit-scrollbar { display: none; }
  .svc-phases .phase-card { flex: 0 0 78%; scroll-snap-align: start; }
  .svc-deliver { padding: 5rem 1.5rem 3rem; }
  .svc-art { margin-bottom: 3rem; border-radius: 1rem; }
  .svc-deliver__title { font-size: 2.3rem; }
  .deliver-list { grid-template-columns: 1fr; }
  .svc-stack__title, .svc-related__title, .svc-faq__title { font-size: 2rem; }
  .svc-related { padding: 3rem 0 6rem; }
  .rel-card { width: 16.5rem; }
  .svc-work { margin-bottom: 5rem; }
  .svc-work__panel { padding: 4rem 1rem; }
  .svc-work__title { font-size: 2.2rem; }
  .svc-work__grid { grid-template-columns: 1fr; }
  .svc-work__card.work-card { height: 20rem; }
  .svc-faq { padding: 1rem 1.5rem 4rem; }
  .faq { padding: 0 1rem; }
  .faq__q { font-size: 1.1rem; }
  .faq__a p { padding-right: 0; }
}

/* articles: responsive */
@media (max-width: 1279px) {
  .arts { --art-max: 61rem; --art-pad: 1.5rem; }
  .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artbody { gap: 3.5rem; }
  .arthero__title { font-size: 3.25rem; }
}
@media (max-width: 1023px) {
  .ahero { padding-top: 8rem; }
  .ahero__grid { flex-direction: column; gap: 2.5rem; }
  .ahero__copy, .ahero__side { width: auto; }
  .ahero__lede { margin-left: 0; max-width: 40rem; }
  .astats { justify-content: flex-start; }
  .alib__body { flex-direction: column; gap: 1.75rem; margin-top: 2rem; }
  .aareas-wrap { position: static; flex: none; width: 100%; padding: 0; }
  .aareas { flex-direction: row; flex-wrap: wrap; gap: .4rem; }
  .aareas__all { margin: 0; padding: 0; border: 0; }
  .aarea { width: auto; gap: .5rem; padding: .45rem .85rem; border: 1px solid rgba(27, 27, 27, .18); border-radius: 999px; }
  .aarea.is-active { border-color: var(--ink); }
  .arthero__inner { padding-top: 8rem; }
  .arthero__title { font-size: 2.75rem; }
  .artbody { grid-template-columns: minmax(0, 1fr); padding-top: 3rem; }
  .arttoc { display: none; }
  .artprose { max-width: 44rem; }
  .artnext { padding: 4.5rem 0 6rem; }
  .artnext__title { font-size: 2.5rem; }
}
@media (max-width: 767px) {
  .arts { --art-pad: 1.25rem; }
  .ahero { padding-top: 7rem; padding-bottom: 2.5rem; }
  .ahero__copy, .ahero__lede { text-align: center; }
  .ahero__title { font-size: 2.4rem; }
  .asearch { width: 100%; }
  .asearch__hint { padding-left: 0; }
  .astats { justify-content: center; gap: 2.25rem; }
  .astat__num { font-size: 2.4rem; }
  .atabs { justify-content: center; gap: .4rem; padding: 1rem 0; }
  .aareas__label { text-align: center; padding-left: 0; }
  .aareas { justify-content: center; }
  .agrid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .alib { padding-bottom: 5rem; }
  .alib__status { text-align: center; margin-top: 0; }
  .arthero__inner { padding-top: 7rem; padding-bottom: 2rem; }
  .arthero__title { margin-top: 1.1rem; font-size: 2.15rem; line-height: 1.22; }
  .arthero__row { flex-direction: column; align-items: flex-start; gap: 1.1rem; margin-top: 1.1rem; }
  .ashare__pop { right: auto; left: 0; }
  .artbody { padding-top: 2.25rem; }
  .artprose { font-size: 1.05rem; line-height: 1.75; }
  .artprose__dek { font-size: 1.35rem; }
  .artprose h2 { font-size: 1.8rem; }
  .artprose h3 { font-size: 1.35rem; }
  .artprose .artsources { padding: 1.25rem 1.25rem .75rem; }
  .artnext { padding: 3.5rem 0 5rem; }
  .artnext__title { font-size: 2rem; }
  .art-carousel { padding-inline: 1.25rem; }
  .art-carousel .acard { width: 17rem; }
}

/* articles: print / "Save as PDF" keeps the article and drops the site around it */
@media print {
  .stage, .ticker, .brandbar, .navtop, .dock, .mhead, .mmenu, .sound, .lolli, .preloader, .skip, .dialog,
  .arttoc, .ashare, .arthero__back, .artnext, .arts-dark, .footer, .arttags { display: none !important; }
  html, html body { background: #fff !important; }
  .arts { --art-pad: 0rem; color: #000; }
  html.js [data-fade] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .arthero__inner { max-width: none; padding: 0 0 1rem; }
  .arthero__title { font-size: 26pt; }
  .artcover__frame { -webkit-clip-path: none !important; clip-path: none !important; max-height: none; border-radius: 0; }
  .artbody { display: block; max-width: none; padding: 1.5rem 0 0; }
  .artprose { max-width: none; font-size: 11pt; line-height: 1.6; color: #000; }
  .artprose__dek { font-size: 15pt; }
  .artprose h2 { font-size: 17pt; break-after: avoid; }
  .artprose a { color: #000; }
  .artprose .artsources { break-inside: avoid; background: none; }
  .artsources__list a::after { content: " — " attr(href); font-size: 8.5pt; color: #555; }
  @page { margin: 16mm; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  .works__track { animation: none !important; }
  .marquee-viewport { overflow-x: auto !important; }
  .work-card__reveal { transition: none !important; }
  .gradient-border::before { animation: none; }
  html.js [data-fade] { opacity: 1; transform: none; transition: none; }
  .stat { opacity: 1; transform: none; }
  .expect__viewport { overflow-x: auto; touch-action: pan-x; }
  .lolli__candy { animation: none; }
  .ticker::after { animation: none; }
  .svc-visual__glow, .svc-visual__chips span { animation: none; }
  .phase-card__body { max-height: 8rem; opacity: 1; margin-top: .45rem; }
  .wcard__shell { transition: opacity .2s cubic-bezier(.23, 1, .32, 1); }
  .wcard__persp::before { animation: none; opacity: .4; }
  .phase-art__hint svg { animation: none; }
  html.js .astat { opacity: 1; transform: none; }
  .acard__media img, .acard__type { transition: none; }
}
