/* Layout: a product-site grid. Framed sections on hairlines, square-cornered buttons, numbered cells. Section labels sit in the left margin, the
   body runs in one wide column, and the only colour is a line of blue ink. */
:root {
  --paper: #000000;
  --sheet: #0C0E16;
  --ink: #EEEFF4;
  --ink-soft: #9399AB;
  --rule: #171A23;
  --blue: #53E6D4;
  --on-blue: #000000;
  --band-bg: #FFFFFF;               /* the opposite surface: black blocks on the white page (white on black in the dark theme) */
  --band-fg: #ffffff;
  --band-soft: #393D4B;
  --band-rule: #C0C3CC;
  --band-blue: #8EA1FF;
  --sky-1: transparent;
  --sky-2: transparent;
  --sky-glow: transparent;
  --sheet-shadow: rgba(238, 239, 244, 0.28);   /* under the card that lies over the ribbons */
  --cast: .17;                      /* strength of the shadows the 3D marks drop on the page */
  --obj-a: #ece6da;                 /* 3D shapes: five soft, low-key colours */
  --obj-b: #e3c98a;
  --obj-c: #e0a79c;
  --obj-d: #a9c5a8;
  --obj-e: #bdabcb;
  --rib-1: #e7a79a;                 /* the three ideas: creativity, strategy, performance */
  --rib-2: #a3c6a4;
  --rib-3: #b9a6d0;
  --why-base: #1C0F3A;              /* the picture card: white words on a shaded image, the same in both themes */
  --why-dim: rgba(255, 255, 255, .42);
  --why-soft: rgba(0, 0, 0, 0.88);
  --why-shade: 10, 6, 26;
  --shot-black: #FFFFFF;            /* the challenge section: pure black and pure white, the same in both themes */
  --shot-white: #ffffff;
  --shot-on-black: rgba(0, 0, 0, 0.84);
  --shot-on-white: rgba(255, 255, 255, 0.7);
  --top-h: 5rem;

  --display: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;   /* headings: a sturdy geometric grotesque, set medium and large */
  --hw: 500;                        /* the weight of every headline */
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;   /* running text and interface */
  --serif: var(--display);
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;   /* numbers, small labels, the console */
  --radius: .75rem;
  --accent: #9EF0E4;                /* the one warm colour: main buttons and the highlighted word in the banner */
  --nav-box: #14151c;               /* the dark block that holds the header links, and the dark buttons */
  --nav-fg: #ffffff;
  --pale: #151A26;
  --grad-a: #53E6D4;                /* highlighted words: a warm-to-violet gradient, deep enough for a white page */
  --grad-b: #0A0A0A;
  --band-grad-a: #9EF0E4; --band-grad-b: #B9A6D0;   /* the same gradient on the performance band, which is black here */
  --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .2 .7 0 0 0 -.325'/%3E%3C/filter%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.018 0.42' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .2 .26 0 0 0 -.12'/%3E%3C/filter%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .2 .2 0 0 0 -.09'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23m%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23f%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29'/%3E%3C/svg%3E");             /* paper: fine grain, faint fibres and a little mottling, laid over every white sheet */
  --caps-sky: #cbd4ea;              /* services: the soft sky the sheet fades down from */
  --card-dark: #0c0c11;             /* the dark picture cards */

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4rem, 9vw, 7.5rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #FFFFFF; --sheet: #E0E2EA; --ink: #000000; --ink-soft: #474C5C;
    --rule: #C7CAD6; --blue: #8EA1FF; --on-blue: #EDEEF3;
    --band-bg: #000000; --band-fg: #FFFFFF; --band-soft: #979CAA;
    --band-rule: #252830; --band-blue: #53E6D4; --grad-a: #9EF0E4; --grad-b: #B9A6D0; --band-grad-a: #53E6D4; --band-grad-b: #53E6D4; --caps-sky: #171B2B; --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .34 0 0 0 -.15'/%3E%3C/filter%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.018 0.42' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .12 0 0 0 -.056'/%3E%3C/filter%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .1 0 0 0 -.046'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23m%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23f%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29'/%3E%3C/svg%3E");
  --sky-1: transparent; --sky-2: transparent; --sky-glow: transparent; --cast: 0; --sheet-shadow: rgba(255, 255, 255, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #FFFFFF; --sheet: #E0E2EA; --ink: #000000; --ink-soft: #474C5C;
  --rule: #C7CAD6; --blue: #8EA1FF; --on-blue: #EDEEF3;
  --band-bg: #000000; --band-fg: #FFFFFF; --band-soft: #979CAA;
  --band-rule: #252830; --band-blue: #53E6D4; --grad-a: #9EF0E4; --grad-b: #B9A6D0; --band-grad-a: #53E6D4; --band-grad-b: #53E6D4; --caps-sky: #171B2B; --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .34 0 0 0 -.15'/%3E%3C/filter%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.018 0.42' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .12 0 0 0 -.056'/%3E%3C/filter%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .1 0 0 0 -.046'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23m%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23f%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29'/%3E%3C/svg%3E");
  --sky-1: transparent; --sky-2: transparent; --sky-glow: transparent; --cast: 0; --sheet-shadow: rgba(255, 255, 255, 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 6.25rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 999px; z-index: 30; }
.skip:focus { top: .75rem; }

.wrap { max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.2vw, 6rem); font-weight: var(--hw); line-height: 1; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); font-weight: var(--hw); line-height: 1.08; letter-spacing: -.028em; }
h3 { font-size: 1.375rem; font-weight: var(--hw); line-height: 1.2; letter-spacing: -.018em; }
/* the stressed words in a headline: the warm-to-violet gradient */
.em, .grad { font-style: normal; padding-bottom: .08em; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.55; color: var(--ink-soft); max-width: 34rem; text-wrap: pretty; }
/* small labels: mono, upper case, led by a square */
.label { display: flex; align-items: center; gap: .6rem; font: 500 .8125rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.label::before { content: ""; flex: none; width: .5rem; height: .5rem; background: currentColor; }
/* Markers: the banner's two shapes drawn small, as extruded blocks, wherever a list needs a marker. */
.ico { flex: none; display: inline-block; width: 1.75rem; height: 1.75rem; color: var(--ic, currentColor); transform: rotate(var(--r, 0deg)); }
.dots { display: inline-flex; align-items: center; gap: .3rem; }
.dots .ico { width: 1.5rem; height: 1.5rem; opacity: .3; transition: opacity .3s; }
.dots .ico.on { opacity: 1; }
.n { font: 500 .8125rem/1 var(--mono); letter-spacing: .04em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- buttons: mono capitals on square blocks ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font: 500 .8125rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: 1.15rem 1.4rem; border-radius: .375rem; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-line:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: .85rem 1rem; }
.btn-accent, .btn-accent:hover { background: var(--accent); border-color: var(--accent); color: var(--shot-black); }
.btn-accent:hover { background: var(--shot-white); border-color: var(--shot-white); }
.btn-dark { background: var(--nav-box); border-color: var(--nav-box); color: var(--nav-fg); }
.btn-dark:hover { background: var(--nav-fg); border-color: var(--nav-fg); color: var(--nav-box); }
.btn-pale { background: var(--pale); border-color: var(--pale); color: var(--shot-black); }
.btn-pale:hover { background: var(--shot-white); border-color: var(--shot-white); color: var(--shot-black); }

/* ---------- header: wordmark at the left; at the right a dark block of links and two block buttons.
   Clear over the dark banner, a solid bar once the banner has scrolled away. ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; color: var(--shot-white);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, color .25s;
}
.top.scrolled { background: rgba(255, 255, 255, 0.8); }                     /* still over the banner, but its words are passing underneath */
.top.past-hero { background: var(--tex) var(--paper); color: var(--ink); border-bottom-color: var(--rule); }
.top nav { display: flex; align-items: center; gap: .6rem; min-height: var(--top-h); max-width: none; padding-inline: clamp(16px, 2.6vw, 3rem); }
.top-logo { display: block; flex: none; width: 8.75rem; margin-right: auto; color: inherit; }
.top-logo svg { display: block; width: 100%; height: auto; }
.top ul { display: flex; align-items: center; gap: .15rem; height: 3.25rem; padding-inline: .5rem; border-radius: .5rem; background: var(--nav-box); }
.top ul a { display: block; padding: .65rem .85rem; border-radius: .375rem; font: 500 .8125rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: var(--nav-fg); white-space: nowrap; transition: background-color .15s; }
.top ul a:hover { background: color-mix(in srgb, var(--nav-fg) 14%, transparent); }
.top-cta { display: flex; gap: .6rem; }
.top-cta .btn { height: 3.25rem; padding-block: 0; }
/* Narrow screens: the links move into a full-screen menu behind a square menu button. */
.burger { display: none; position: relative; flex: none; width: 3.25rem; height: 3.25rem; padding: 0; border: 0; border-radius: .375rem; background: var(--nav-box); color: var(--nav-fg); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.burger span { position: absolute; left: 50%; top: 50%; width: 1.125rem; height: 1.5px; margin: -.75px 0 0 -.5625rem; background: currentColor; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.burger span:first-child { transform: translateY(-.22rem); }
.burger span:last-child { transform: translateY(.22rem); }
.top.menu-open .burger span:first-child { transform: rotate(45deg); }
.top.menu-open .burger span:last-child { transform: rotate(-45deg); }
.burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* the menu: a black sheet under the header. Numbered links in the headline face on hairlines; the two
   buttons and the address at the foot. */
.menu { display: none; }
@media (max-width: 1100px) {
  .top ul { display: none; }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: -1; display: grid; grid-template-rows: 1fr auto; gap: 2rem; overflow-y: auto; overscroll-behavior: contain;
    padding: calc(var(--top-h) + env(safe-area-inset-top, 0px) + 1.25rem) clamp(16px, 2.6vw, 3rem) calc(1.5rem + env(safe-area-inset-bottom, 0px));
    color: var(--shot-white); background: var(--shot-black) radial-gradient(90% 60% at 80% 100%, color-mix(in srgb, var(--rib-3) 22%, transparent) 0%, transparent 70%);
    visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s .3s;
  }
  .top.menu-open .menu { visibility: visible; opacity: 1; transition-delay: 0s; }
  .top.menu-open, .top.menu-open.scrolled, .top.menu-open.past-hero { background: transparent; color: var(--shot-white); border-bottom-color: transparent; }
  .top.menu-open .top-cta { visibility: hidden; }
  html.menu-lock { overflow: hidden; }
}
.menu ol { display: grid; align-content: center; list-style: none; margin: 0; padding: 0; }
.menu li { border-top: 1px solid color-mix(in srgb, var(--shot-white) 18%, transparent); opacity: 0; transform: translateY(.75rem); transition: opacity .25s ease, transform .25s ease; }
.menu li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--shot-white) 18%, transparent); }
.top.menu-open .menu li { opacity: 1; transform: none; transition: opacity .45s ease calc(var(--i) * 50ms + 90ms), transform .55s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 50ms + 90ms); }
.menu li a { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; align-items: center; padding-block: clamp(.8rem, 2.5vh, 1.35rem); text-decoration: none; color: inherit; font: var(--hw) clamp(1.75rem, 7.5vw, 3rem)/1.1 var(--display); letter-spacing: -.028em; }
.menu li .ico { width: 1.875rem; height: 1.875rem; }
.menu li .arr { font: 400 1.125rem/1 var(--mono); opacity: .45; transition: transform .2s, opacity .2s; }
.menu li a:hover .arr, .menu li a:focus-visible .arr { opacity: 1; transform: translateX(3px); }
.menu li a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.menu-foot { display: grid; gap: 1.25rem; }
.menu-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.menu-btns .btn { justify-content: center; }
.menu-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--shot-on-black); }
.menu-meta a { color: inherit; text-decoration: none; }
@media (max-width: 560px) { :root { --top-h: 4.5rem; } .top-cta .btn-pale { display: none; } .top-logo { width: 7rem; } .top-cta .btn { height: 2.9rem; padding-inline: 1rem; } .burger { width: 2.9rem; height: 2.9rem; } }
@media (max-width: 440px) { .top nav { gap: .5rem; } .top-logo { width: 6.25rem; } .top-cta .btn { padding-inline: .7rem; font-size: .75rem; letter-spacing: .04em; } .menu-btns { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 350px) { .top-cta { display: none; } }

/* ---------- hero: a dark banner. A very large light headline at the left, the supporting line and two
   buttons at the right, the 3D shapes sweeping up behind them, and a ruled strip along the bottom. ---------- */
.hero-pin { position: relative; margin-top: calc(var(--top-h) * -1 - 1px); }
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh; padding-top: var(--top-h);
  color: var(--shot-white);
  background: var(--shot-black) radial-gradient(70% 80% at 78% 55%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 70%);
}
#hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
#hero-3d.ready { opacity: 1; }
.hero::after {                                                      /* shade over the shapes so the words stay readable */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.6) 36%, rgba(255, 255, 255, 0.28) 62%, rgba(255, 255, 255, 0.46) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.78) 0%, transparent 34%);
}
.hero-main { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7.5rem); align-items: center; padding: clamp(2rem, 6vh, 5rem) clamp(16px, 2.6vw, 3rem); }
.hero-head { display: grid; gap: clamp(1rem, 2.4vh, 1.75rem); }
.hero .label { color: var(--shot-on-black); }
.hero h1 { font: var(--hw) clamp(2.375rem, min(5.3vw, 10.5vh), 5.75rem)/1.06 var(--display); letter-spacing: -.028em; text-wrap: balance; }
.hero h1 .grad { background-image: linear-gradient(90deg, var(--accent), var(--rib-3)); }
.hero-copy { display: grid; gap: clamp(1.25rem, 3vh, 2rem); justify-items: start; max-width: 27rem; }
.hero .lede { max-width: none; color: var(--shot-white); font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.45; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-cta .btn { padding-block: 1.35rem; }
.hero-strip { position: relative; z-index: 2; margin-bottom: 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem clamp(1.25rem, 3vw, 3rem); margin-inline: clamp(16px, 2.6vw, 3rem); padding-block: clamp(1.5rem, 4.5vh, 3.25rem); border-top: 1px solid color-mix(in srgb, var(--shot-white) 26%, transparent); }
.hero-strip li { font: var(--hw) clamp(1rem, 1.4vw, 1.375rem)/1.2 var(--display); letter-spacing: -.015em; color: var(--shot-white); }
@media (max-width: 900px) {
  .hero-main { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: center; gap: 1.75rem; }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 4.5rem); }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- section frame: every standard section sits in one column bounded by hairlines, with a
   two-part head (label and headline at the left, supporting line at the right) ---------- */
.sec { border-top: 1px solid var(--rule); }
.sec > .wrap { display: grid; gap: clamp(2rem, 4vw, 3.5rem); padding-block: var(--section); padding-inline: clamp(16px, 3.4vw, 3rem); border-inline: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.25rem clamp(2rem, 5vw, 5rem); align-items: end; }
.sec-head .label { grid-column: 1 / -1; }
.sec-head .lede { justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } .sec-head .lede { justify-self: start; } }
@media (max-width: 82rem) { .sec > .wrap { border-inline: 0; } }   /* the side rules only show where the page is wider than the column */
/* a block that is black in both themes: these overrides repaint everything inside it */
.on-black {
  --paper: var(--shot-black); --ink: var(--shot-white); --ink-soft: var(--shot-on-black); --rule: #C7CAD4;
  --blue: #8EA1FF; --on-blue: var(--shot-black); --sheet: #E0E2EA; --grad-a: var(--accent); --grad-b: var(--rib-3);
  background: var(--paper); color: var(--ink);
}
/* The Cerebrium rhythm: a white sheet ends in rounded corners over a black section (.under), and the
   next white sheet rises over that black section with rounded shoulders (.rise). */
.sec.under { position: relative; z-index: 1; margin-top: -2rem; border-top: 0; }
.sec.under > .wrap { padding-block: calc(var(--section) + 2rem); }
.sec.rise { position: relative; z-index: 2; margin-top: -2rem; border-top: 0; border-radius: 2rem 2rem 0 0; background: var(--tex) var(--paper); }

/* ---------- the idea: a white sheet with rounded shoulders that rises over the dark banner. A short
   statement and a very large two-line headline on top; under them the three ideas as a big list at the
   left and the three dark picture cards in one stack at the right. ---------- */
.idea { position: relative; z-index: 2; margin-top: -2rem; border-radius: 2rem; background: var(--tex) var(--paper); color: var(--ink); padding-inline: clamp(16px, 2.6vw, 3rem); }
.idea-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: start; padding-block: clamp(4rem, 9vw, 7.5rem) clamp(2.5rem, 5vw, 4.5rem); }
.idea-say { font: var(--hw) clamp(1.25rem, 1.9vw, 1.75rem)/1.28 var(--display); letter-spacing: -.015em; max-width: 19ch; text-wrap: balance; padding-top: .5em; }
.idea-head h2 { font: var(--hw) clamp(2.125rem, 4vw, 5rem)/1.1 var(--display); letter-spacing: -.028em; }
.idea-head h2 span { display: block; padding-bottom: .08em; }       /* room for descenders inside the gradient clip */
/* list at the left, cards at the right */
.work { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: var(--section); }
.work-side { padding-top: 2.75rem; display: grid; gap: clamp(2rem, 6vh, 4.5rem); justify-items: start; }
.work-side .label { color: var(--ink); }
.work-side .label::before { border-radius: 50%; width: .375rem; height: .375rem; }
.work-filter { display: grid; justify-items: start; }
.work-filter button { all: unset; cursor: pointer; font: var(--hw) clamp(1.875rem, 3.3vw, 3.5rem)/1.22 var(--display); letter-spacing: -.026em; color: color-mix(in srgb, var(--ink) 24%, transparent); transition: color .3s; }
.work-filter button:hover { color: color-mix(in srgb, var(--ink) 60%, transparent); }
.work-filter button.on { color: var(--ink); }
.work-filter button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.work-view { min-width: 0; }
.work-cards { display: grid; gap: clamp(.75rem, 1.2vw, 1rem); }
/* each card: a dark panel with a group of the banner's 3D shapes, and a light slip at the bottom carrying its line */
.work-card { position: relative; overflow: hidden; aspect-ratio: 10 / 7; max-height: calc(100vh - var(--top-h) - 3rem); width: 100%; border-radius: clamp(1rem, 1.6vw, 1.5rem); color: var(--shot-white); background: var(--card-dark) radial-gradient(90% 70% at 70% 40%, color-mix(in srgb, var(--c) 26%, transparent) 0%, transparent 70%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--shot-white) 10%, transparent); }
.work-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.work-card .tag { position: absolute; top: clamp(1rem, 2vw, 1.5rem); left: clamp(1rem, 2vw, 1.5rem); padding: .55rem .8rem; border-radius: .375rem; background: var(--shot-white); color: var(--shot-black); font: 500 .75rem/1 var(--mono); letter-spacing: .07em; }
.work-card .tag:has(.ico) { display: grid; padding: .4rem; }
.work-card .cap { position: absolute; left: clamp(.75rem, 1.6vw, 1.5rem); right: clamp(.75rem, 1.6vw, 1.5rem); bottom: clamp(.75rem, 1.6vw, 1.5rem); display: grid; gap: .6rem; padding: clamp(1rem, 1.8vw, 1.5rem); border-radius: .75rem; background: color-mix(in srgb, var(--shot-white) 94%, transparent); color: var(--shot-black); }
.work-card h3 { font: 500 .8125rem/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.work-card p { font: var(--hw) clamp(1.25rem, 2vw, 1.875rem)/1.15 var(--display); letter-spacing: -.022em; }
.work-cards.flat .work-card { background: var(--c); }               /* no 3D available: plain colour cards */
/* The three cards sit in one stack: the chosen one in front, the other two peeking out above it.
   Without scripting they simply follow one another down the page. */
.work-cards.deck { padding-top: 2.25rem; }
.work-cards.deck .work-card { grid-area: 1 / 1; cursor: pointer; transform-origin: 50% 0; transform: translateY(calc(var(--pos, 0) * -1.125rem)) scale(calc(1 - var(--pos, 0) * .055)); z-index: calc(3 - var(--pos, 0)); transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.work-cards.deck .work-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--shot-black); opacity: calc(var(--pos, 0) * .3); transition: opacity .55s; pointer-events: none; }
.work-cards.deck .work-card .tag { transition: opacity .3s; }
.work-cards.deck .work-card:not(.on) .tag { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .work-cards.deck .work-card, .work-cards.deck .work-card::after { transition: none; } }
@media (max-width: 1000px) {
  .idea-head { grid-template-columns: minmax(0, 1fr); }
  .idea-say { max-width: none; }
  .work { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .work-side { padding-top: 0; gap: 1.25rem; }
  .work-filter { display: flex; flex-wrap: wrap; gap: .4rem; }
  .work-filter button, .work-filter button:hover { border: 1px solid var(--rule); border-radius: .375rem; padding: .7rem .9rem; font: 500 .8125rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
  .work-filter button.on { color: var(--paper); background: var(--ink); border-color: var(--ink); }
  .work-card { aspect-ratio: 4 / 3.6; max-height: none; }
}

/* ---------- the challenge: black in both themes. The white sheets before and after it have rounded
   corners that overlap it. Label, large headline and two buttons at the left; the three problems as a
   list at the right; behind both a large glowing orb holding the banner's 3D shapes. ---------- */
.shot { position: relative; z-index: 1; isolation: isolate; overflow: hidden; margin-top: -2rem; color: var(--shot-white); --grad-a: var(--accent); --grad-b: var(--rib-3); --orb: var(--rib-3);
  background: var(--shot-black) radial-gradient(80% 90% at 55% 60%, color-mix(in srgb, var(--orb) 9%, transparent) 0%, transparent 70%); }
.shot-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem clamp(2rem, 4vw, 4rem); align-items: start;
  min-height: clamp(36rem, 100vh, 54rem); padding-block: calc(clamp(4.5rem, 9vw, 7.5rem) + 2rem); padding-inline: clamp(16px, 2.6vw, 3rem);
}
.shot :focus-visible { outline-color: var(--shot-white); }
/* left */
.shot-copy { display: grid; gap: 1.5rem; justify-items: start; min-width: 0; }
.shot .label { color: var(--shot-white); margin-bottom: clamp(1rem, 4vh, 2.75rem); }
.shot .label::before { border-radius: 50%; width: .375rem; height: .375rem; }
.shot-copy h2 { font: var(--hw) clamp(2.125rem, 3.9vw, 4.25rem)/1.1 var(--display); letter-spacing: -.028em; max-width: 13ch; text-wrap: balance; }
.shot-copy h2 .grad { padding-bottom: .08em; }
.shot-copy .lede { color: var(--shot-on-black); max-width: 26rem; }
.shot-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
/* right */
.shot-points { text-shadow: 0 1px .9rem rgba(0, 0, 0, 0.88); display: grid; gap: clamp(2rem, 5.5vh, 3.5rem); max-width: 34rem; padding-top: clamp(0rem, 4vh, 2.75rem); }
.shot-points li { display: grid; gap: .6rem; }
.shot-points h3 { display: flex; align-items: center; gap: .7rem; font: var(--hw) clamp(1.5rem, 2.1vw, 2rem)/1.15 var(--display); letter-spacing: -.026em; }
.shot-points svg { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.shot-points p { color: var(--shot-on-black); font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.5; max-width: 30rem; }
/* behind: the orb. It rides at its own depth as the section scrolls past (--par runs from -0.5 entering to 0.5 leaving). */
.shot-orb {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: min(64vw, 62rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  transform: translate3d(-50%, calc(-50% + var(--par, 0) * -5rem), 0);
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--orb) 19%, transparent) 0%, color-mix(in srgb, var(--orb) 12%, transparent) 58%, color-mix(in srgb, var(--orb) 24%, transparent) 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--orb) 36%, transparent), inset 0 0 4.5rem color-mix(in srgb, var(--orb) 20%, transparent), 0 0 7rem color-mix(in srgb, var(--orb) 12%, transparent);
}
#mark-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
#mark-3d.ready { opacity: .68; }                                     /* dim: words sit on top of it */
@media (max-width: 1000px) {
  .shot-in { grid-template-columns: minmax(0, 1fr); gap: 3rem; min-height: 0; }
  .shot-copy h2 { max-width: 16ch; }
  .shot-points { padding-top: 0; }
  .shot-orb { width: min(135vw, 44rem); top: 46%; transform: translate3d(-50%, -50%, 0); }
  #mark-3d.ready { opacity: .45; }
}

/* ---------- why us: a picture panel laid out like a presentation slide. The headline stays; the four reasons
   run along the bottom as numbered tabs, and picking one changes the picture and the supporting line. ---------- */
.why { position: relative; z-index: 2; margin-top: -2rem; border-radius: 2rem; background: var(--tex) var(--paper); padding-block: var(--section); padding-inline: clamp(12px, 4.5vw, 5rem); }
.why-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(.5rem, 1vw, .875rem);
  color: var(--shot-white); background: var(--why-base); --grad-a: var(--accent); --grad-b: var(--rib-3);
  display: grid; grid-template-rows: auto 1fr auto; gap: clamp(2rem, 4vw, 3.5rem);
  min-height: clamp(33rem, 84vh, 46rem); padding: clamp(1.5rem, 3.2vw, 3rem);
}
.why-card :focus-visible { outline-color: var(--shot-white); }
/* four pictures stacked; the chosen one fades in and settles. A heavy, even shade keeps them in the background. */
.why-bg { position: absolute; inset: 0; z-index: -1; }
.why-bg i { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.05); transition: opacity .7s ease, transform 1.5s cubic-bezier(.2, .7, .2, 1); }
.why-bg i.on { opacity: 1; transform: none; }
.why-bg i:nth-child(1) { background-image: var(--p5); }
.why-bg i:nth-child(2) { background-image: var(--p1); }
.why-bg i:nth-child(3) { background-image: var(--p6); }
.why-bg i:nth-child(4) { background-image: var(--p7); }
.why-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--why-shade), .58) 0%, rgba(var(--why-shade), .5) 45%, rgba(var(--why-shade), .78) 100%); }
/* top line: section label, and a counter with previous / next */
.why-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.why-top .label { color: var(--why-soft); }
.why-step { display: flex; align-items: center; gap: .5rem; }
.why-count { margin-right: .75rem; }
.why-arrow { all: unset; cursor: pointer; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--why-dim); transition: background-color .2s, border-color .2s, color .2s; }
.why-arrow:hover { background: var(--shot-white); border-color: var(--shot-white); color: var(--shot-black); }
.why-arrow:focus-visible { outline: 2px solid var(--shot-white); outline-offset: 3px; }
/* middle: the headline on the left, the chosen reason's line and the call to action on the right */
.why-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.why-main h2 { font-size: clamp(2.125rem, 4vw, 3.875rem); max-width: 11ch; }
.why-side { display: grid; gap: clamp(1.25rem, 3vh, 2rem); justify-items: start; }
.why-panels { display: grid; width: 100%; }
.why-panel { grid-area: 1 / 1; display: grid; gap: .75rem; align-content: end; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }   /* all four share one cell, so the panel never changes height */
.why-panel.on { opacity: 1; visibility: visible; transition: opacity .5s ease .12s, visibility 0s; }
.why-kicker { display: flex; align-items: center; gap: .6rem; font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--why-soft); }
.why-kicker span { font-variant-numeric: tabular-nums; }
.why-desc { font-size: clamp(1.1875rem, 1.7vw, 1.5rem); line-height: 1.35; max-width: 30rem; text-wrap: pretty; }
.why-cta { background: var(--shot-white); border-color: var(--shot-white); color: var(--shot-black); }
.why-cta:hover { background: transparent; border-color: var(--shot-white); color: var(--shot-white); }
/* bottom: the four reasons as numbered tabs on one rule; the chosen one is marked with a solid line */
.why-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1rem, 2.4vw, 2.5rem); border-top: 1px solid var(--why-dim); }
.why-tabs li { position: relative; color: var(--why-dim); transition: color .25s; }
.why-tabs li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--shot-white); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.why-tabs li.on::before { transform: none; }
.why-tabs li:hover { color: var(--why-soft); }
.why-tabs li.on { color: var(--shot-white); }
.why-tabs h3 { font: 500 clamp(1rem, 1.35vw, 1.1875rem)/1.3 var(--body); letter-spacing: -.01em; }
.why-tabs button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: .45rem; width: 100%; padding-top: 1.1rem; }
.why-tabs button:focus-visible { outline: 2px solid var(--shot-white); outline-offset: 4px; border-radius: 4px; }
.why-tabs .ico { width: 1.5rem; height: 1.5rem; opacity: .55; transition: opacity .2s; }
.why-tabs li.on .ico, .why-tabs li:hover .ico { opacity: 1; }
@media (max-width: 900px) {
  .why-card { min-height: 0; padding-block: 1.75rem 2rem; }
  .why-main { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .why-main h2 { max-width: none; }
  .why-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; row-gap: 1.25rem; }
  .why-tabs li { border-top: 1px solid var(--why-dim); }
}
@media (max-width: 520px) { .why-count { display: none; } .why-top .label { white-space: nowrap; } }   /* the tabs already show which of the four is chosen */

/* ---------- approach: black with the same soft glow as the challenge, in both themes. Headline at the left with a button opposite; under it the eight
   stages as cards, each a dark picture of the banner's 3D shapes with a line icon, over a dark foot
   carrying its number and name. ---------- */
.flow { position: relative; z-index: 1; margin-top: -2rem; color: var(--ink);
  background: var(--shot-black) radial-gradient(80% 90% at 55% 60%, color-mix(in srgb, var(--rib-3) 9%, transparent) 0%, transparent 70%); }
.flow .label { color: var(--ink); }
.flow .label::before { border-radius: 50%; width: .375rem; height: .375rem; }
.flow-in { display: grid; gap: clamp(2rem, 4vw, 3.5rem); padding: calc(var(--section) + 2rem) clamp(16px, 2.6vw, 3rem); }
.flow-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; }
.flow-head > div { display: grid; gap: 1.1rem; justify-items: start; }
.flow-head h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); max-width: 17ch; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.2vw, 1.5rem); }
.steps li { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius); background: var(--sheet); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--shot-white) 9%, transparent); }
.steps .pic { position: relative; display: grid; place-items: center; aspect-ratio: 1.18; overflow: hidden; color: var(--shot-white);
  background: var(--card-dark) radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--c) 30%, transparent) 0%, transparent 72%); }
.steps .pic canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.steps .pic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 46%); }   /* a little shade behind the icon */
.steps .pic svg { position: relative; z-index: 1; width: clamp(3rem, 5vw, 4.75rem); height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.steps .txt { display: grid; gap: .9rem; align-content: start; padding: 1.15rem 1.3rem 1.75rem; }
.steps .meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(1.375rem, 2.1vw, 2rem); letter-spacing: -.026em; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .steps .txt { padding: .9rem .9rem 1.25rem; gap: .6rem; } }

/* ---------- services: a sheet with rounded corners at both ends, rising over the black approach
   and ending over the performance band. It fades down from a soft sky.
   Label and a button on the top line, the headline under it, then the four services as rows on
   dotted rules, each led by a dotted icon. The banner's 3D shapes climb the right-hand side. ---------- */
.caps { position: relative; z-index: 2; isolation: isolate; overflow: hidden; margin-top: -2rem; border-radius: 2rem; color: var(--ink);
  background: var(--tex), var(--paper) linear-gradient(180deg, var(--caps-sky) 0%, transparent min(70%, 46rem)); }
.caps-in { display: grid; padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(16px, 2.6vw, 3rem) var(--section); }
.caps-top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.caps .label { color: var(--ink); }
.caps .label::before { border-radius: 50%; width: .375rem; height: .375rem; }
.caps-head { position: relative; z-index: 2; display: grid; gap: 1.1rem; max-width: 46rem; margin-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4.5rem); }
.caps-list { position: relative; z-index: 0; }
.caps-list > li { display: grid; grid-template-columns: clamp(3.5rem, 7vw, 6.5rem) minmax(0, 36rem); gap: clamp(1.25rem, 2.6vw, 2.75rem); align-items: start; padding-block: clamp(1.75rem, 3.2vw, 2.75rem); border-top: 1px dotted color-mix(in srgb, var(--ink) 38%, transparent); }
@media (min-width: 1001px) { .caps-list > li { padding-right: min(40%, 38rem); } }   /* the words stop where the shapes begin */
.caps-list > li:last-child { border-bottom: 1px dotted color-mix(in srgb, var(--ink) 38%, transparent); }
.caps-list svg { width: 100%; height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .01 1.15; opacity: .8; }   /* drawn in dots */
.caps-list h3 { font: 500 clamp(1.125rem, 1.45vw, 1.375rem)/1.3 var(--body); letter-spacing: -.02em; }
.caps-list .sub { margin-top: .6rem; color: var(--ink-soft); font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.4; }
.svc { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.svc li { padding: .5rem .65rem; border-radius: .25rem; background: color-mix(in srgb, var(--ink) 7%, transparent); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
/* the shapes: a tall column at the right, cut off by the edge of the sheet */
.caps-art { position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; width: min(40%, 38rem); pointer-events: none; }
@media (max-width: 1000px) {
  .caps-head { margin-bottom: 1.5rem; }
  .caps-art { position: relative; width: auto; height: clamp(11rem, 44vw, 17rem); margin: 0 calc(clamp(16px, 2.6vw, 3rem) * -1) 1.5rem; }   /* a band of shapes between the headline and the list */
}

/* ---------- performance growth: black in both themes, between two rounded sheets. The statement at the
   left; at the right a dark panel holding a 3D graph (five rising columns for the first five steps of
   the cycle and the brand mark above them for the sixth) with the six steps named underneath. ---------- */
.perf { position: relative; z-index: 1; margin-top: -2rem;
  background: var(--shot-black) radial-gradient(70% 90% at 72% 55%, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 70%); }
.perf-in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 3rem clamp(2rem, 4vw, 4rem); align-items: center; padding: calc(var(--section) + 2rem) clamp(16px, 2.6vw, 3rem); }
.perf .copy { display: grid; gap: clamp(1.25rem, 2.6vw, 2rem); justify-items: start; }
.perf .label { color: var(--ink); }
.perf .label::before { border-radius: 50%; width: .375rem; height: .375rem; }
.perf blockquote { font: var(--hw) clamp(1.875rem, 3.7vw, 3.5rem)/1.1 var(--display); letter-spacing: -.028em; max-width: 16ch; text-wrap: balance; }
.perf blockquote i { font-style: normal; padding-bottom: .08em; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.perf .lede { color: var(--ink-soft); }
.perf-chart { position: relative; overflow: hidden; border-radius: clamp(1rem, 1.6vw, 1.5rem); background: var(--card-dark) radial-gradient(90% 70% at 62% 38%, color-mix(in srgb, var(--rib-3) 22%, transparent) 0%, transparent 72%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--shot-white) 10%, transparent); }
.perf-chart .tag { position: absolute; z-index: 1; top: clamp(1rem, 2vw, 1.5rem); left: clamp(1rem, 2vw, 1.5rem); padding: .55rem .8rem; border-radius: .375rem; background: var(--shot-white); color: var(--shot-black); font: 500 .75rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.perf-art { position: relative; aspect-ratio: 1.42; }
.perf-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.perf-art canvas.ready { opacity: 1; }
/* the six steps, in the order of the graph; the rule over each is the colour of its column */
.perf-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem .75rem; padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2vw, 1.75rem); }
.perf-steps li { display: grid; gap: .45rem; align-content: start; padding-top: .8rem; border-top: 2px solid var(--c); font-size: clamp(.875rem, 1.05vw, 1rem); line-height: 1.25; }
.perf-steps .ico { width: 1.5rem; height: 1.5rem; }
@media (max-width: 1000px) { .perf-in { grid-template-columns: minmax(0, 1fr); } .perf blockquote { max-width: 20ch; } }
@media (max-width: 700px) { .perf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .perf-art { aspect-ratio: 1.2; } }

/* ---------- proof: a sheet with rounded corners at both ends, between the black performance and about
   sections. It fades down from the same soft sky as services. Three columns on dotted guides: the headline at the left, a tall picture card
   for the chosen case study in the middle, and the three case studies as tiles at the right. Choosing a
   tile changes the card's picture and words. ---------- */
.proof { position: relative; z-index: 2; margin-top: -2rem; border-radius: 2rem; color: var(--ink);
  background: var(--tex), var(--paper) linear-gradient(180deg, var(--caps-sky) 0%, transparent min(75%, 44rem));
  --case-1: var(--p8); --case-2: var(--p9); --case-3: var(--p2); --dot: color-mix(in srgb, var(--ink) 32%, transparent); }
.proof-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: clamp(3.5rem, 7vw, 6rem) clamp(16px, 2.6vw, 3rem) var(--section); }
.proof-copy { position: relative; display: grid; align-content: space-between; gap: 2.5rem; padding: clamp(1.5rem, 2.4vw, 2.25rem) clamp(1rem, 2vw, 2rem) 0 0; border-top: 1px dotted var(--dot); }
.proof-copy::before { content: ""; position: absolute; top: -.22rem; left: 0; width: .4rem; height: .4rem; background: var(--blue); }
.proof-copy .label { color: var(--ink); margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.proof-copy .label::before { border-radius: 50%; width: .375rem; height: .375rem; }
.proof-copy h2 { font-size: clamp(2rem, 3.6vw, 3.75rem); line-height: 1.04; }
.soon { font: 500 .8125rem/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-soft); padding-bottom: .25rem; }
.case-col { padding-inline: clamp(1rem, 2vw, 2rem); border-inline: 1px dotted var(--dot); }
/* the card: the chosen case study's picture, a line of labels on top, its words and button at the foot */
.case { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto 1fr; height: 100%; min-height: clamp(30rem, 76vh, 46rem); border-radius: var(--radius); color: var(--shot-white); background: #F5F6FA; }
.case-bg { position: absolute; z-index: -1; inset: 0; }
.case-bg i { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.05); transition: opacity .7s ease, transform 1.5s cubic-bezier(.2, .7, .2, 1); }
.case-bg i.on { opacity: 1; transform: none; }
.case-bg i:nth-child(1) { background-image: var(--case-1); }
.case-bg i:nth-child(2) { background-image: var(--case-2); }
.case-bg i:nth-child(3) { background-image: var(--case-3); }
.case-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247, 248, 252, 0.82) 0%, rgba(247, 248, 252, 0.2) 30%, rgba(247, 248, 252, 0.15) 46%, rgba(247, 248, 252, 0.86) 82%); }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2vw, 1.75rem) 0; padding-bottom: clamp(1.25rem, 2vw, 1.75rem); border-bottom: 1px dotted color-mix(in srgb, var(--shot-white) 45%, transparent); font: 500 .8125rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.case-panels { display: grid; align-items: end; padding: clamp(1.25rem, 2vw, 1.75rem); }
.case-panel { grid-area: 1 / 1; display: grid; gap: .9rem; opacity: 0; visibility: hidden; transform: translateY(.6rem); transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1), visibility 0s .35s; }
.case-panel.on { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.case-panel .kicker { font: 500 .8125rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--shot-on-black); }
.case-panel h3, .case-panel .case-title { color: inherit; font: var(--hw) clamp(1.625rem, 2.5vw, 2.5rem)/1.08 var(--display); letter-spacing: -.028em; max-width: 14ch; text-wrap: balance; }
.case-panel p { color: var(--shot-on-black); max-width: 26rem; }
.case-go { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px; margin-top: .6rem; text-decoration: none; font: 500 .8125rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--shot-white); }
.case-go span { display: grid; place-items: center; padding: 1.05rem 1.1rem; background: color-mix(in srgb, var(--shot-white) 22%, transparent); transition: background-color .2s, color .2s; }
.case-go:hover span { background: var(--shot-white); color: var(--shot-black); }
.case-go:focus-visible { outline: 2px solid var(--shot-white); outline-offset: 3px; }
/* the tiles */
.case-tabs { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.5rem); padding-left: clamp(1rem, 2vw, 2rem); }
.case-tabs li { position: relative; overflow: hidden; min-height: 7.5rem; border-radius: var(--radius); background: color-mix(in srgb, var(--ink) 6%, transparent); transition: box-shadow .2s; }
.case-tabs li::after { content: ""; position: absolute; inset: 0 0 0 50%; background: var(--img) center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); pointer-events: none; }
.case-tabs li.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.case-tabs button { all: unset; box-sizing: border-box; position: relative; z-index: 1; display: grid; align-content: start; justify-items: start; gap: .9rem; width: 100%; height: 100%; padding: clamp(1rem, 1.6vw, 1.5rem) 44% clamp(1rem, 1.6vw, 1.5rem) clamp(1rem, 1.6vw, 1.5rem); cursor: pointer; }
.case-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; border-radius: var(--radius); }
.case-tabs .no { display: grid; padding: .35rem; background: var(--ink); }
.case-tabs .no .ico { width: 1.375rem; height: 1.375rem; }
.case-tabs .t { font-size: clamp(1rem, 1.3vw, 1.1875rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
@media (max-width: 1000px) {
  .proof-in { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .proof-copy { padding-right: 0; gap: 1.25rem; }
  .case-col { padding-inline: 0; border: 0; }
  .case { min-height: clamp(27rem, 118vw, 38rem); }
  .case-tabs { padding-left: 0; grid-template-rows: none; }
}

/* ---------- about: black in both themes, between two rounded sheets. The story at the left with the
   banner's 3D shapes beside it; three facts on one ruled line; then the team as four portrait cards. ---------- */
.about-sec { position: relative; z-index: 1; margin-top: -2rem;
  background: var(--shot-black) radial-gradient(80% 70% at 70% 28%, color-mix(in srgb, var(--rib-3) 10%, transparent) 0%, transparent 70%); }
.about-in { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); padding: calc(var(--section) + 2rem) clamp(16px, 2.6vw, 3rem); }
.about-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: center; }
.about-copy { display: grid; gap: 1.1rem; justify-items: start; }
.about-sec .label { color: var(--ink); margin-bottom: clamp(.5rem, 2vw, 1.5rem); }
.about-sec .label::before { border-radius: 50%; width: .375rem; height: .375rem; }
.about-copy h2 { font-size: clamp(2.125rem, 4vw, 4.25rem); line-height: 1.05; margin-bottom: clamp(.5rem, 1.5vw, 1.25rem); }
.about-copy p { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); max-width: 34rem; color: var(--ink-soft); }
.about-copy p.lead { color: var(--ink); }
.about-copy .btn { margin-top: .75rem; }
.about-art { position: relative; align-self: stretch; min-height: clamp(18rem, 34vw, 30rem); pointer-events: none; }
.about-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.about-art canvas.ready { opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.facts div { display: grid; gap: .45rem; padding: clamp(1.1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) clamp(1.1rem, 2vw, 1.75rem) 0; }
.facts div + div { padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.facts dt { font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { font-size: clamp(1.125rem, 1.7vw, 1.5rem); letter-spacing: -.02em; }
/* the team: a portrait over a name line */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.2vw, 1.5rem); }
.team li { display: grid; gap: .9rem; align-content: start; }
.team .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--card-dark) radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--rib-3) 28%, transparent) 0%, transparent 72%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--shot-white) 9%, transparent); }
.team .ph img, .team .ph > div, .team .ph canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.team .who { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.team h3 { font-size: clamp(1.125rem, 1.6vw, 1.5rem); letter-spacing: -.022em; }
@media (max-width: 1000px) {
  .about-top { grid-template-columns: minmax(0, 1fr); }
  .about-art { min-height: 0; height: clamp(11rem, 44vw, 17rem); margin-inline: calc(clamp(16px, 2.6vw, 3rem) * -1); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
}

/* ---------- faq: a picture sheet with rounded shoulders. The heading sits at the top left, in white on the
   picture; the questions run at the right on a card of the page colour. ---------- */
.sec.faq-sec { color: var(--shot-white); --grad-a: var(--shot-white); --grad-b: var(--shot-white);
  background: linear-gradient(100deg, rgba(10, 25, 90, 0.62) 0%, rgba(10, 25, 90, 0.18) 60%), var(--p3) center / cover no-repeat #C2356F; }
.sec.faq-sec > .wrap { border-inline: 0; padding-bottom: calc(var(--section) + 2rem); }
.faq-sec .label { color: var(--shot-white); }
.faq-sec .label::before { border-radius: 50%; width: .375rem; height: .375rem; }
.faq-sec h2 { font-size: clamp(2.125rem, 4vw, 4.25rem); text-shadow: 0 1px 2.5rem rgba(14, 6, 32, 0.56); }
.faq-sec .faq { padding: clamp(.5rem, 1.4vw, 1rem) clamp(1.25rem, 2.6vw, 2.25rem); border-radius: clamp(1rem, 1.6vw, 1.5rem); background: var(--tex) var(--paper); color: var(--ink); box-shadow: 0 2rem 4rem -2rem rgba(14, 6, 32, 0.88); }
.faq-sec .faq details:first-child { border-top: 0; }
.faq-sec .faq details:last-child { border-bottom: 0; }
#contact { margin-top: -2rem; border-top: 0; border-radius: 2rem; }   /* the contact sheet rises over the picture */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grid .sec-head { grid-template-columns: minmax(0, 1fr); }   /* stays where it is set: it does not follow the scroll */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.25rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 500 1.125rem/1.35 var(--body); letter-spacing: -.01em; }
.faq summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--mono); color: var(--ink-soft); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--blue); }
.faq details p { color: var(--ink-soft); max-width: 38rem; padding-bottom: 1.5rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact: the last sheet; it ends in rounded corners over the footer ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.contact .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
.contact .sec-head .lede { justify-self: start; }
.reach { display: grid; gap: 2rem; justify-items: start; }
.reach dl { display: grid; width: 100%; border: 1px solid var(--rule); border-radius: var(--radius); }
.reach dl div { display: grid; gap: .35rem; padding: 1rem 1.25rem; border-top: 1px solid var(--rule); }
.reach dl div:first-child { border-top: 0; }
.reach dt { font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.reach dd { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; font-weight: 600; font-size: 1.0625rem; }
.reach dd a { text-underline-offset: .2em; text-decoration-color: var(--rule); }
#email-text, #email-text:hover { text-decoration: none; color: inherit; }
.reach dd a:hover { color: var(--blue); text-decoration-color: var(--blue); }
.copy-btn { font: 500 .75rem/1 var(--mono); color: var(--ink-soft); background: none; border: 1px solid var(--rule); border-radius: .375rem; padding: .4rem .6rem; cursor: pointer; }
.copy-btn:hover { color: var(--ink); border-color: var(--ink); }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: clamp(1.25rem, 2.4vw, 2rem); border: 1px solid var(--rule); border-radius: var(--radius); }
.field { display: grid; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 500; }
.field label span { color: var(--ink-soft); font-weight: 400; }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: transparent; border: 1px solid var(--rule); border-radius: .5rem; padding: .8rem .9rem;
  transition: border-color .15s;
}
select option { color: #FFFFFF; background: #000000; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-soft); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
textarea { resize: vertical; min-height: 7rem; }
form .btn { grid-column: 1 / -1; justify-content: center; }
.status { grid-column: 1 / -1; font-size: .9375rem; padding: .9rem 1rem; border-radius: .5rem; border: 1px solid var(--rule); }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer: black in both themes, a full screen tall. The sheet above ends in rounded corners
   over it. Wordmark at the top left, the link columns at the top right; lower right a closing line with
   two buttons; the banner's 3D shapes gathered at the lower left; the small print on a rule. ---------- */
footer.end { position: relative; z-index: 1; isolation: isolate; overflow: hidden; margin-top: -2rem;
  background: var(--shot-black) radial-gradient(70% 80% at 28% 72%, color-mix(in srgb, var(--rib-3) 15%, transparent) 0%, transparent 70%); }
.end-in { display: grid; grid-template-rows: auto 1fr auto; gap: clamp(2.5rem, 5vw, 4rem); min-height: clamp(40rem, 100vh, 58rem); padding: calc(clamp(2.5rem, 5vw, 4rem) + 2rem) clamp(16px, 2.6vw, 3rem) 0; }
.end-top, .end-cta { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 4vw, 4rem); align-items: start; }
.end-brand { display: grid; gap: 1.1rem; justify-items: start; }
.end-brand svg { display: block; width: clamp(8.5rem, 11vw, 11rem); height: auto; color: var(--ink); }
.end-brand p { color: var(--ink-soft); font-size: .9375rem; max-width: 21rem; }
.end-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2vw, 2rem); }
.foot-col { display: grid; gap: 1.25rem; align-content: start; }
.foot-col .foot-h { font: 400 1rem/1.4 var(--body); letter-spacing: 0; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.foot-col ul { display: grid; gap: .85rem; }
.foot-col a, .foot-col span { font-size: clamp(.9375rem, 1.2vw, 1.0625rem); text-decoration: none; }
.foot-col a:hover { color: var(--accent); }
.end-cta { align-self: end; }
.end-cta > div { grid-column: 2; display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); justify-items: start; }
.end-say { font: var(--hw) clamp(1.75rem, 3.2vw, 3.25rem)/1.12 var(--display); letter-spacing: -.026em; max-width: 19ch; text-wrap: balance; }
.end-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; padding-block: 1.75rem 2rem; border-top: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
.foot p { font-size: 1.0625rem; }
.foot .made { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }   /* the maker's credit */
.foot ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font: 500 .8125rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }
/* the shapes: behind everything on wide screens, a band between the links and the closing line on narrow ones */
.end-art { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.end-art canvas, .caps-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.end-art canvas.ready, .caps-art canvas.ready { opacity: 1; }
/* the pile sinks into the dark towards the small print, and fades under the wordmark */
.end-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--shot-black) 0%, transparent 34%, transparent 66%, color-mix(in srgb, var(--shot-black) 88%, transparent) 94%); }
@media (max-width: 1000px) {
  .end-in { grid-template-rows: none; min-height: 0; gap: 2.5rem; }
  .end-top, .end-cta { grid-template-columns: minmax(0, 1fr); }
  .end-cta > div { grid-column: auto; }
  .end-art { position: relative; inset: auto; height: clamp(11rem, 44vw, 17rem); margin-inline: calc(clamp(16px, 2.6vw, 3rem) * -1); }
  .end-art::after { content: none; }
}
@media (max-width: 560px) { .end-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a sheet that ends in rounded corners over the black footer */
.sec.sheet-end { position: relative; z-index: 2; border-radius: 0 0 2rem 2rem; background: var(--tex) var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
