/* Kairo — le futur, au bon moment.
   Layout: one motif, the open ring (the O of Kairo with its gap: kairos is the opening), at four scales:
   the 3D instrument, the wordmark, the button, the bullet. Equal tight margins, 12 columns, flat fields. */
:root {
  /* colour: cool grey ground, near-black ink, one cobalt */
  --bg: #eef0f3;
  --surface: #e2e5ea;
  --surface-2: #cfd4dc;
  --white: #f9fafb;
  --ink: #0b0c0e;
  --ink-2: #1a1c21;
  --muted: #565d69;
  --accent: #1f2de6;
  --accent-2: #3644ee;
  --accent-ink: #ffffff;
  /* what a component reads: these change with the field it sits on */
  --fg: var(--ink);
  --fg-soft: var(--muted);
  --ground: var(--bg);
  --tile: var(--surface);
  --mark: var(--accent);
  --focus: var(--accent);
  /* type: League Spartan for display, Figtree for text; five steps */
  --display: 'League Spartan', 'Century Gothic', 'Avenir Next', 'Trebuchet MS', sans-serif;
  --text: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1rem + 5.2vw, 5.875rem);
  /* frame */
  --g: clamp(16px, 2.2vw, 32px);
  --gl: max(var(--g), env(safe-area-inset-left, 0px));
  --gr: max(var(--g), env(safe-area-inset-right, 0px));
  --section: clamp(88px, 11vw, 184px);
  --head-h: 68px;
  --arc: clamp(56px, 9vw, 150px);
  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  /* names the inner pages still use */
  --paper: var(--bg);
  --paper-2: var(--surface);
  --ink-soft: var(--muted);
  --accent-text: var(--accent);
  --action: var(--accent);
  --sea: var(--accent);
  --t-head: var(--step-lead);
  --t-display: var(--step-display);
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.on-ink { --fg: var(--bg); --fg-soft: #a9afbb; --ground: var(--ink); --tile: var(--ink-2); --mark: #8f9bff; --focus: #ffffff; background: var(--ink); color: var(--fg); }
.on-cobalt { --fg: #ffffff; --fg-soft: #dfe2ff; --ground: var(--accent); --tile: var(--accent-2); --mark: #ffffff; --focus: #ffffff; background: var(--accent); color: var(--fg); }
.on-surface { --ground: var(--surface); --tile: var(--surface-2); background: var(--surface); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); }
img, svg, canvas, video { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.on-cobalt ::selection { background: #fff; color: var(--accent); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gl); top: -100px; z-index: 60; background: var(--ink); color: var(--bg); padding: 12px 16px; text-decoration: none; border-radius: 999px; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
[hidden] { display: none !important; }

/* frame */
.wrap { padding-left: var(--gl); padding-right: var(--gr); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
main > section > .wrap, .cta > .wrap, .site-foot > .wrap { position: relative; z-index: 2; }

/* type */
.display, .page-head h1, .hero h1 { font-family: var(--display); font-weight: 700; font-size: var(--step-display); line-height: 0.88; letter-spacing: -0.04em; overflow-wrap: break-word; }
.head { font-family: var(--display); font-weight: 700; font-size: var(--step-head); line-height: 0.94; letter-spacing: -0.035em; }
.statement { font-family: var(--display); font-weight: 600; font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.02em; max-width: 26ch; }
.lede { font-size: var(--step-lead); line-height: 1.38; max-width: 44ch; }
.small { font-size: var(--step-small); line-height: 1.5; }
.soft { color: var(--fg-soft); }
.nb { white-space: nowrap; }
.measure { max-width: 62ch; }
.name { font-family: var(--display); font-weight: 700; letter-spacing: -0.05em; line-height: 0.8; }

/* ---------- the open ring ---------- */
.ring { width: 1em; height: 1em; flex: none; transform: rotate(var(--rot, -38deg)); transition: transform 0.5s var(--ease-expo); }
.ring circle { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-dasharray: 88 12; stroke-dashoffset: -6; transition: stroke-dasharray 0.5s var(--ease-expo); }
.ring.done circle { stroke-dasharray: 100 0; }
.flat-rings { display: block; width: 100%; height: 100%; overflow: visible; }
.flat-rings circle { fill: none; stroke-dashoffset: 47.6; }
.flat-rings .fr1 { stroke: var(--accent); stroke-width: 0.155; stroke-dasharray: 95.2 4.8; }
.flat-rings .fr2 { stroke: var(--ink); stroke-width: 0.11; stroke-dasharray: 94.3 5.7; stroke-dashoffset: 47.15; }
.flat-rings .fr3 { stroke: #c9ced8; stroke-width: 0.045; stroke-dasharray: 92.7 7.3; stroke-dashoffset: 46.35; }
.flat-rings.pair circle { stroke-width: 0.1; }
.ring-anchor { position: absolute; aspect-ratio: 1; pointer-events: none; }
.ring-anchor .flat-rings { transition: opacity 0.5s ease; }
.ring-live .ring-anchor .flat-rings { opacity: 0; }
/* the 3D layer starts under the header: an opaque bar across a WebGL layer makes Chrome clip the layer */
.ring-layer { position: fixed; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); right: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; }
.ring-layer canvas { display: block; width: 100%; height: 100%; }
.ring-live .ring-layer { opacity: 1; }

/* ---------- actions ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 22px 0 26px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--text); font-size: 1rem; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.18s var(--ease-out);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(0.97); }
.btn-l { min-height: 60px; padding: 0 26px 0 30px; font-size: var(--step-body); }
.btn-s { min-height: 44px; padding: 0 16px 0 20px; font-size: 1rem; gap: 10px; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--ink); color: #fff; }
.on-ink .btn:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: var(--tile); color: inherit; }
.btn-ic { position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; }
.btn-ic .ring { position: absolute; inset: 0; width: 100%; height: 100%; --rot: -118deg; }
.btn-ic .ring circle { stroke-width: 2.6; }
.btn-ic .arr { position: relative; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease-expo); }
.btn:hover .btn-ic .ring, .btn:focus-visible .btn-ic .ring { --rot: 0deg; }
.btn:hover .btn-ic .arr, .btn:focus-visible .btn-ic .arr { transform: translateX(9px); }
.btn > svg:not(.ring) { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease-out); }
.btn:hover > svg:not(.ring) { transform: translateX(4px); }
.btn.kick { animation: kick 0.7s var(--ease-out); }
@keyframes kick { 0% { transform: scale(1.06); } 100% { transform: none; } }
.btn.kick .btn-ic .ring { animation: kickRing 0.7s var(--ease-expo); }
@keyframes kickRing { 0% { transform: rotate(0deg) scale(1.7); } 100% { transform: rotate(-118deg) scale(1); } }
.btn-light.kick { --kick: #ffffff; }
.tlink { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-underline-offset 0.2s ease; }
.tlink:hover { text-underline-offset: 8px; }
.arrow { display: inline-block; transition: transform 0.3s var(--ease-out); }
a:hover > .arrow { transform: translateX(5px); }
a:hover > .arrow.down { transform: translateY(4px); }

/* ---------- header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--hb, var(--bg)); color: var(--hf, var(--ink)); transition: background-color 0.3s ease, color 0.3s ease; }
.site-head.is-ink { --hb: var(--ink); --hf: var(--bg); --focus: #fff; }
.site-head.is-cobalt { --hb: var(--accent); --hf: #fff; --focus: #fff; }
.site-head.is-surface { --hb: var(--surface); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--head-h); }
.wordmark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 2.125rem; letter-spacing: -0.02em; line-height: 1; text-decoration: none; padding-block: 8px 2px; }
/* the o of the wordmark: drawn to the measures of the typeface's own o (0.459em wide, 0.145em stroke), with its gap */
.wordmark .ring.o, .foot-mark .ring.o { width: 0.4575em; height: 0.4575em; margin-left: 0.012em; align-self: baseline; transform: translateY(0.015em) rotate(var(--rot, -38deg)); }
.wordmark .ring.o circle, .foot-mark .ring.o circle { stroke-width: 7.6; r: 8px; stroke-dasharray: 93.6 6.4; stroke-dashoffset: -3.2; }
.wordmark:hover .ring.o { --rot: 322deg; transition-duration: 0.9s; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.site-nav a:not(.btn) { font-size: 1rem; font-weight: 500; text-decoration: none; padding-block: 12px; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.site-nav .lang { font-weight: 600; }
.site-head.is-cobalt .btn { background: #fff; color: var(--accent); }
.site-head.is-cobalt .btn:hover, .site-head.is-ink .btn:hover { background: #fff; color: var(--ink); }
.head-cta { display: none; }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; background: rgba(128, 132, 140, 0.2); border: 0; border-radius: 999px; font-weight: 600; font-size: 1rem; cursor: pointer; }
@media (max-width: 900px) {
  :root { --head-h: 60px; }
  .wordmark { font-size: 1.75rem; }
  .js .head-cta { display: inline-flex; margin-left: auto; }
  .js .menu-btn { display: inline-flex; align-items: center; }
  .js .site-nav { position: fixed; inset: 0; z-index: 45; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
    padding: 96px var(--gr) 48px var(--gl); background: var(--ink); color: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0s linear 0.25s; }
  .js .site-nav a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 9vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.05; padding-block: 8px; }
  .js .site-nav a:not(.btn)::after { display: none; }
  .js .site-nav .btn { margin-top: 28px; min-height: 56px; font-size: var(--step-body); padding: 0 22px 0 26px; }
  .js .menu-open .site-nav { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
  .js .menu-open .menu-btn { position: relative; z-index: 46; color: var(--bg); }
  .js .menu-open .head-cta { visibility: hidden; }
  html:not(.js) .site-nav { flex-wrap: wrap; justify-content: flex-end; }
  html:not(.js) .head-in { flex-wrap: wrap; padding-block: 8px; }
}
@media (max-width: 420px) { .js .head-cta { padding: 0 14px; font-size: 0.9375rem; } }

/* ---------- entrances ---------- */
.ln { display: block; overflow: hidden; padding-block: 0.12em 0.2em; margin-block: -0.12em -0.2em; }
.ln > span { display: block; }
.js .hero .ln > span, .js .page-head .mask-line > span, .js .pin-hero .mask-line > span { animation: rise 1s var(--ease-expo) both; }
.js .hero .ln.l2 > span, .js .mask-line.l2 > span { animation-delay: 0.09s; }
.js .rise, .js .rise-after { animation: fadeUp 0.8s var(--ease-out) 0.35s both; }
.js .rise.r2 { animation-delay: 0.44s; } .js .rise.r3 { animation-delay: 0.53s; }
.mask-line { display: block; overflow: hidden; padding-block: 0.12em 0.2em; margin-block: -0.12em -0.2em; }
.mask-line > span { display: block; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js [data-reveal].rv-wait { opacity: 0; transform: translateY(22px); }
.js [data-reveal].rv-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="lines"].rv-wait { opacity: 1; transform: none; }
.js [data-reveal="lines"].rv-wait .ln > span { transform: translateY(105%); }
.js [data-reveal="lines"].rv-in .ln > span { transform: none; transition: transform 1s var(--ease-expo); }
.js [data-reveal="lines"].rv-in .ln + .ln > span { transition-delay: 0.09s; }

/* ============ HOME ============ */
/* hero: the giant ring, cropped by the screen; the statement on bare ground */
.hero { position: relative; overflow: clip; display: grid; align-items: center; min-height: min(calc(100svh - var(--head-h)), 880px); }
.hero-in { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-block: clamp(56px, 9vh, 112px); }
.hero h1 { max-width: 12ch; }
.hero .lede { max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.hero-foot { font-size: var(--step-small); color: var(--muted); max-width: 46ch; }
.hero-ring { width: min(112svh, 68vw); left: 84.5%; top: 53%; transform: translate(-50%, -50%); }
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; padding-bottom: 73vw; }
  .hero-in { padding-block: 40px 0; gap: 22px; }
  .hero .lede { font-size: var(--step-body); }
  .hero-actions .btn { width: 100%; }
  .hero-ring { width: 128vw; left: 50%; top: auto; bottom: -70vw; transform: translateX(-50%); }
}

/* agents: the night shift, playing */
.agents { position: relative; overflow: clip; padding-block: var(--section); }
.agents-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: clamp(40px, 5vw, 72px); align-items: start; }
.agents-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.agents-copy .lede { max-width: 36ch; }
.ag-p2 { color: var(--fg-soft); max-width: 44ch; }
.ag-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; margin-block: 8px; }
.ag-agent { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 12px 16px 12px 12px; background: var(--tile); color: var(--fg-soft); border: 0; border-radius: 999px; text-align: left; cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease; }
.ag-agent span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ag-agent b { font-weight: 600; font-size: 1rem; line-height: 1.15; color: var(--fg); }
.ag-agent i { font-style: normal; font-size: var(--step-small); line-height: 1.25; }
.ag-agent:hover { background: #24272e; }
.ag-agent[aria-pressed="true"] { background: var(--accent); color: #e4e7ff; }
.ag-glyph { width: 48px; height: 48px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--fg); }
.ag-glyph .ag-ring { stroke-dasharray: 90 10; stroke-dashoffset: -5; transform-origin: 12px 12px; transform: rotate(-50deg); }
.ag-glyph .g-dots circle { fill: currentColor; stroke: none; }
.is-live .ag-glyph .ag-ring, .ag-agent[aria-pressed="true"] .ag-ring { animation: turn 5s linear infinite; }
.ag-agent[aria-pressed="true"] .g-bars path, .is-live .g-bars path { animation: bars 0.9s ease-in-out infinite; transform-origin: 12px 12px; }
.g-bars path:nth-child(2) { animation-delay: -0.3s !important; } .g-bars path:nth-child(3) { animation-delay: -0.6s !important; }
.ag-agent[aria-pressed="true"] .g-dots circle, .is-live .g-dots circle { animation: dots 1.2s ease-in-out infinite; }
.g-dots circle:nth-child(2) { animation-delay: 0.15s !important; } .g-dots circle:nth-child(3) { animation-delay: 0.3s !important; }
.ag-agent[aria-pressed="true"] .g-loop, .is-live .g-loop { animation: turn 2.4s var(--ease-in-out) infinite; transform-origin: 12px 12px; }
.ag-agent[aria-pressed="true"] .g-lines path, .is-live .g-lines path { animation: lines 1.8s var(--ease-out) infinite; stroke-dasharray: 8; }
.g-lines path:nth-child(2) { animation-delay: 0.2s !important; } .g-lines path:nth-child(3) { animation-delay: 0.4s !important; }
@keyframes turn { to { transform: rotate(310deg); } }
@keyframes bars { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1.1); } }
@keyframes dots { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-1.6px); } }
@keyframes lines { 0% { stroke-dashoffset: 8; } 40%, 100% { stroke-dashoffset: 0; } }

.agents-stage { grid-column: 7 / span 6; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: clamp(600px, 78svh, 760px); }
.agents-ring { width: min(108%, 80svh); left: 50%; top: 61%; transform: translate(-50%, -50%); z-index: -1; }
.ag-clock { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-self: flex-start; }
.ag-clock b { font-family: var(--display); font-weight: 700; font-size: var(--step-display); line-height: 0.82; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ag-clock span { font-size: var(--step-lead); font-weight: 600; line-height: 1.15; max-width: 16ch; }
.ag-clock.tick b { animation: tick 0.6s var(--ease-expo); }
@keyframes tick { from { transform: translateY(0.18em); opacity: 0.2; } to { transform: none; opacity: 1; } }
/* the conversation: a real piece of the product, with its own chrome */
.ag-phone { position: relative; z-index: 2; align-self: flex-end; width: min(372px, calc(100% - 20px)); margin-right: 20px; padding: 9px; background: #23262c; border-radius: 54px; font-family: var(--text); transform-style: preserve-3d; transform: perspective(1500px) rotateY(-9deg) rotateX(2.5deg); }
.ag-phone::before, .ag-phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #565d69; transform: translateZ(-5px); }
.ag-phone::after { background: #33373f; transform: translateZ(-10px); }
.ag-screen { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 12px 18px; background: #f3f4f7; color: #0b0c0e; border-radius: 45px; overflow: hidden; }
.ag-isl { position: absolute; left: 50%; top: 11px; width: 98px; height: 28px; margin-left: -49px; border-radius: 99px; background: #0b0c0e; }
.ag-status { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 8px 14px 0 20px; font-size: 0.9375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ag-status i { display: flex; align-items: center; gap: 5px; }
.ag-status i::before { content: ""; width: 17px; height: 10px; background: currentColor; clip-path: polygon(0 70%, 20% 70%, 20% 100%, 0 100%, 0 70%, 27% 46%, 47% 46%, 47% 100%, 27% 100%, 27% 46%, 54% 24%, 74% 24%, 74% 100%, 54% 100%, 54% 24%, 81% 0, 100% 0, 100% 100%, 81% 100%, 81% 0); }
.ag-status i::after { content: ""; width: 24px; height: 11px; border-radius: 3.5px; background: currentColor; }
.ag-head { display: flex; align-items: center; gap: 12px; margin: 0 -12px; padding: 4px 18px 12px; background: #ffffff; }
.ag-head .ag-glyph { width: 40px; height: 40px; color: var(--accent); }
.ag-head div { display: flex; flex-direction: column; min-width: 0; }
.ag-head b { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.ag-head span { font-size: 0.875rem; color: #565d69; line-height: 1.3; }
.ag-strip { display: none; align-items: center; gap: 10px; padding: 9px 13px; border-radius: 13px; background: #0b0c0e; color: #ffffff; font-size: 0.8125rem; font-weight: 600; line-height: 1.25; }
.ag-strip i { display: none; align-items: center; gap: 3px; height: 16px; flex: none; }
.ag-strip s { width: 3px; height: 100%; border-radius: 2px; background: #8f9bff; transform: scaleY(0.4); }
.ag-phone[data-kind="call"] .ag-strip, .ag-phone[data-kind="mail"] .ag-strip { display: flex; }
.ag-phone[data-kind="call"] .ag-strip i { display: flex; }
.ag-phone[data-kind="mail"] .ag-strip { background: #ffffff; color: #0b0c0e; }
.ag-phone.is-live[data-kind="call"] .ag-strip s { animation: bars 0.8s ease-in-out infinite; }
.ag-strip s:nth-child(2) { animation-delay: -0.2s !important; } .ag-strip s:nth-child(3) { animation-delay: -0.45s !important; } .ag-strip s:nth-child(4) { animation-delay: -0.1s !important; } .ag-strip s:nth-child(5) { animation-delay: -0.6s !important; }
.ag-msgs { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 236px; padding: 6px 2px; }
.msg { max-width: 84%; padding: 10px 14px; font-size: 0.9375rem; line-height: 1.38; border-radius: 18px; }
.msg.them { align-self: flex-start; background: #ffffff; color: #0b0c0e; border-bottom-left-radius: 6px; }
.msg.ai, .msg.me { align-self: flex-end; background: var(--accent); color: #ffffff; border-bottom-right-radius: 6px; }
.msg.in { animation: msgIn 0.45s var(--ease-expo) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
.msg.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: dots 1.1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; } .msg.typing i:nth-child(3) { animation-delay: 0.3s; }
.ag-acts { display: flex; flex-direction: column; gap: 4px; min-height: 76px; }
.ag-acts li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #0b0c0e; color: #ffffff; border-radius: 12px; font-size: 0.875rem; font-weight: 600; line-height: 1.25; }
.ag-acts .ring { width: 18px; height: 18px; color: #8f9bff; --rot: -90deg; }
.ag-acts li.in { animation: msgIn 0.45s var(--ease-expo) both; }
.ag-acts li.in .ring circle { animation: closeRing 0.7s var(--ease-expo) 0.15s both; }
@keyframes closeRing { from { stroke-dasharray: 20 80; } to { stroke-dasharray: 100 0; } }
.ag-bar { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 18px; }
.ag-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ag-ev { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; height: 100%; min-height: 104px; padding: 18px 18px 22px; background: var(--tile); color: var(--fg-soft); border: 0; border-radius: 0; text-align: left; cursor: pointer; overflow: hidden; transition: background-color 0.25s ease, color 0.25s ease; }
.ag-track li:first-child .ag-ev { border-bottom-left-radius: 28px; } .ag-track li:last-child .ag-ev { border-top-right-radius: 28px; }
.ag-ev b { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1; letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.ag-ev span { font-size: var(--step-small); line-height: 1.3; }
.ag-ev:hover { background: #24272e; }
.ag-ev[aria-pressed="true"] { background: #24272e; color: var(--fg); }
.ag-prog { position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.ag-ev[aria-pressed="true"] .ag-prog { transform: scaleX(var(--p, 1)); }
.ag-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg-soft); }
.ag-toggle { min-height: 44px; padding: 0 18px; background: var(--tile); color: var(--fg); border: 0; border-radius: 999px; font-weight: 600; font-size: 1rem; cursor: pointer; }
.ag-toggle:hover { background: var(--fg); color: var(--ink); }
@media (max-width: 1000px) {
  /* on a narrow screen the stage comes right after the heading, so the ring never rests behind running text */
  .agents-in { display: flex; flex-direction: column; row-gap: 0; gap: 28px; align-items: stretch; }
  .agents-copy { display: contents; }
  .agents-copy > h2 { order: 1; }
  .agents-stage { order: 2; }
  .ag-bar { order: 3; }
  .agents-copy > .lede { order: 4; margin-top: 20px; }
  .agents-copy > .ag-list { order: 5; margin-block: 0; }
  .agents-copy > .ag-p2 { order: 6; }
  .agents-copy > p:last-child { order: 7; }
  .agents-stage { min-height: 0; gap: 24px; padding-top: 4px; }
  .agents-ring { width: min(104vw, 520px); left: 56%; top: 60%; }
  .ag-phone { align-self: center; margin-right: 0; transform: perspective(1500px) rotateY(-5deg) rotateX(2deg); }
  .ag-track { grid-template-columns: 1fr; }
  .ag-ev { min-height: 0; flex-direction: row; align-items: baseline; gap: 14px; padding: 16px 18px 20px; }
  .ag-ev b { min-width: 3.4em; }
  .ag-track li:first-child .ag-ev { border-bottom-left-radius: 0; border-top-right-radius: 28px; } .ag-track li:last-child .ag-ev { border-top-right-radius: 0; border-bottom-left-radius: 28px; }
}
@media (max-width: 520px) { .ag-list { grid-template-columns: 1fr; } .ag-agent { min-height: 64px; } }

/* one studio: three stepped tiles and a notch for the words */
.studio { padding-block: var(--section); }
.studio-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 8px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(20px, 2.2vw, 32px); background: var(--tile); color: var(--fg); }
.tile b { font-family: var(--display); font-weight: 700; font-size: var(--step-display); line-height: 0.8; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; padding-top: 0.08em; }
.tile p { font-size: var(--step-body); font-weight: 500; max-width: 20ch; line-height: 1.3; }
.tile.on-cobalt { background: var(--accent); } .tile.on-ink { background: var(--ink); }
.t1 { grid-column: 1 / span 6; grid-row: 1 / span 2; min-height: min(76svh, 680px); border-top-right-radius: var(--arc); }
.t1 b { font-size: clamp(6rem, 17vw, 17rem); }
.t1 p { font-size: var(--step-lead); max-width: 16ch; line-height: 1.2; }
.studio-head { grid-column: 7 / span 6; grid-row: 1; display: flex; flex-direction: column; gap: 20px; padding: 0 0 clamp(40px, 5vw, 72px) clamp(8px, 1.6vw, 24px); }
.t2 { grid-column: 7 / span 3; grid-row: 2; min-height: 300px; border-bottom-right-radius: var(--arc); }
.t3 { grid-column: 10 / span 3; grid-row: 2; margin-top: clamp(48px, 9svh, 96px); background: var(--surface-2); border-top-left-radius: var(--arc); }
@media (max-width: 900px) {
  .studio-in { grid-template-rows: none; }
  .studio-head { grid-column: 1 / -1; grid-row: auto; order: -1; padding: 0 0 32px; }
  .t1 { grid-column: 1 / -1; grid-row: auto; min-height: 56vw; }
  .t2 { grid-column: 1 / span 6; grid-row: auto; min-height: 220px; }
  .t3 { grid-column: 7 / span 6; grid-row: auto; margin-top: 32px; }
  .tile:not(.t1) p { font-size: 1rem; }
}

/* two practices: two rings, linked */
.poles { position: relative; overflow: clip; padding-block: var(--section); }
.poles-ring { width: min(50svh, 29vw); left: 21%; top: 50%; transform: translate(-50%, -50%); }
.poles-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: clamp(40px, 5vw, 64px); }
.poles-head { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 16px; }
.poles-cols { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(24px, 3vw, 48px); }
.pole { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.pole h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1; letter-spacing: -0.025em; }
.pole h3 a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.pole h3 .ring { width: 1.15em; height: 1.15em; color: var(--accent); }
.pole h3 .ring circle { stroke-width: 4.4; }
.pole-crea h3 .ring { color: var(--ink); }
.pole h3 a:hover .ring { --rot: 322deg; transition-duration: 0.9s; }
.pole ul { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.pole li a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; margin-inline: -16px; text-decoration: none; border-radius: 18px; transition: background-color 0.2s ease; }
.pole li a:hover { background: var(--surface); }
.pole li b { font-weight: 600; font-size: var(--step-body); }
.pole li span { color: var(--muted); font-size: 1rem; line-height: 1.4; }
@media (max-width: 900px) {
  .poles { padding-top: calc(var(--section) + 62vw); }
  .poles-ring { width: 50vw; left: 50%; top: calc(var(--section) + 28vw); }
  .poles-head, .poles-cols { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .poles-cols { grid-template-columns: 1fr; } }

/* what we deliver: a row of moving demos, held on screen while it slides sideways with the scroll */
.reel { padding-block: var(--section); overflow: clip; }
.reel > .wrap, .reel-stage > .wrap { position: relative; z-index: 2; }
@media (min-width: 761px) and (min-height: 600px) {
  .reel.pinned { padding-bottom: 0; }
  .reel.pinned .reel-pin { height: calc(100svh - var(--head-h) + var(--travel, 1000px)); }
  .reel.pinned .reel-stage { position: sticky; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); height: calc(100svh - var(--head-h)); display: flex; flex-direction: column; justify-content: center; overflow: clip; z-index: 2; }
  .reel.pinned .reel-head { padding-bottom: clamp(20px, 3vh, 36px); }
  .reel.pinned .strip-row { --row: min(66svh, 640px); }
  .reel.pinned .reel-note { padding-top: 18px; }
  .strip.driven figcaption { opacity: 0; transform: translateX(var(--cx, 0px)); transition: opacity 0.35s ease; white-space: nowrap; max-width: none; align-self: flex-start; }
  .strip.driven .mod.seen figcaption { opacity: 1; }
}
.reel-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 16px; align-items: end; padding-bottom: clamp(40px, 5vw, 72px); }
.reel-head h2 { grid-column: 1 / span 5; } .reel-head p { grid-column: 7 / span 6; color: var(--fg); }
.strip { overflow-x: auto; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip.driven { overflow-x: clip; }
.strip-row { --row: min(66svh, 620px); display: flex; gap: 28px; width: max-content; padding-inline: var(--gl) var(--gr); will-change: transform; }
.mod { margin: 0; flex: none; display: flex; flex-direction: column; gap: 12px; }
.mod figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mod figcaption { font-size: 1rem; line-height: 1.35; color: var(--fg-soft); max-width: 36ch; }
.strip .m-tall .mk { height: var(--row); width: auto; aspect-ratio: 3 / 4.6; }
.strip .m-wide .mk { height: var(--row); width: auto; aspect-ratio: 16 / 10.4; }
.reel-note { padding-top: 28px; color: var(--fg-soft); }
@media (max-width: 760px) {
  .reel-head h2, .reel-head p { grid-column: 1 / -1; }
  .strip { overflow: visible; }
  .strip-row { flex-direction: column; width: auto; gap: 28px; }
  .strip .m-tall .mk { height: auto; width: min(76vw, 340px); aspect-ratio: 9 / 15; }
  .strip .m-wide .mk { height: auto; width: 100%; aspect-ratio: 16 / 11; }
}

/* work: folders that pile up as the page scrolls */
.work { padding-top: var(--section); }
.work-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 16px; align-items: end; padding-bottom: clamp(72px, 8vw, 112px); }
.work-head h2 { grid-column: 1 / span 5; } .work-head p { grid-column: 7 / span 5; }
.folders { --strip: 60px; --band: min(640px, calc(100svh - var(--head-h) - 4 * var(--strip) - 12px)); position: relative; }
.folder { position: relative; background: var(--ground); color: var(--fg); }
.folder.f1, .folder.f4 { --ground: var(--surface); --tile: var(--surface-2); }
.folder.f4 { --ground: var(--surface-2); }
.folder.f2, .folder.f5 { --ground: var(--ink); --fg: var(--bg); --fg-soft: #a9afbb; --focus: #fff; }
.folder.f3 { --ground: var(--accent); --fg: #fff; --fg-soft: #dfe2ff; --focus: #fff; }
.folder-tab { position: absolute; left: var(--gl); bottom: calc(100% - 1px); height: 46px; max-width: calc(100% - var(--gl) - var(--gr)); padding: 0 34px 0 22px; display: flex; align-items: center; background: var(--ground); border-radius: 18px 0 0 0; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 100%, 0 100%); }
.folder-tab h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1; letter-spacing: -0.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 0.12em; }
.folder-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: var(--strip) auto; column-gap: var(--g); padding-bottom: 28px; }
.folder-cat { grid-column: 1 / -1; align-self: center; text-align: right; font-size: 1rem; font-weight: 600; }
.folder-art { grid-column: 1 / span 7; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tile); }

.folder-copy { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; font-size: var(--step-lead); line-height: 1.32; }
.folder-copy .tlink { font-size: var(--step-body); }
.work-all { padding-block: 40px var(--section); }
@media (min-width: 901px) and (min-height: 640px) {
  .folder { position: sticky; top: calc(var(--head-h) + env(safe-area-inset-top, 0px) + var(--i) * var(--strip) + 46px); min-height: var(--band); }
  .folder-art { height: calc(var(--band) - var(--strip) - 28px); width: auto; max-width: 100%; aspect-ratio: 16 / 10; }
  .folders { padding-top: 46px; margin-top: -46px; }
}
@media (max-width: 900px) {
  .folders { display: flex; flex-direction: column; gap: 46px; padding-top: 46px; }
  .folder-in { grid-template-rows: auto; row-gap: 18px; padding-block: 18px 32px; }
  .folder-cat { text-align: left; }
  .folder-art, .folder-copy { grid-column: 1 / -1; }
  .folder-copy { font-size: var(--step-body); gap: 14px; }
  .folder-tab { height: 46px; }
  .work-head h2, .work-head p { grid-column: 1 / -1; }
}

/* your demo: the object on a disc */
.demo { background: var(--surface); --tile: var(--surface-2); padding-block: var(--section); overflow: clip; }
.demo-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 56px; align-items: center; }
.demo-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.demo-copy .lede { font-size: var(--step-body); max-width: 46ch; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 1rem; font-weight: 600; width: 100%; }
.field-l { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 8px; width: 100%; }
.input, .select, .textarea { width: 100%; min-height: 56px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 16px; background: var(--white); color: var(--ink); font: 500 var(--step-body) var(--text); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline-offset: 2px; }
.demo .field { max-width: 420px; margin-top: 8px; }
.demo-sectors { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 16px 6px 12px; background: var(--surface); border: 0; border-radius: 999px; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--ink); transition: background-color 0.2s ease, color 0.2s ease; }
.chip .ring { display: none; }
.chip[aria-pressed="true"], .chip:hover { background: var(--ink); color: var(--bg); }
.demo-sectors .chip { padding: 2px 14px 2px 0; min-height: 48px; font-family: var(--display); font-weight: 700; font-size: clamp(var(--step-lead), 2.6vw, 2.125rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--muted); background: transparent; border-radius: 12px; }
.demo-sectors .chip .ring { display: block; width: 0.62em; height: 0.62em; color: var(--accent); opacity: 0; transform: rotate(-120deg) scale(0.4); transition: opacity 0.3s ease, transform 0.5s var(--ease-expo); margin-right: -0.9em; }
.demo-sectors .chip:hover { color: var(--ink); background: transparent; }
.demo-sectors .chip[aria-pressed="true"] { color: var(--ink); background: transparent; }
.demo-sectors .chip[aria-pressed="true"] .ring { opacity: 1; transform: rotate(-38deg) scale(1); margin-right: 0; }
.demo-stage { grid-column: 7 / span 6; position: relative; display: grid; place-items: center; min-height: min(72svh, 640px); padding-block: 40px; }
.disc { position: absolute; width: min(66svh, 96%); aspect-ratio: 1; border-radius: 50%; background: var(--disc, #b9c9bd); left: 54%; top: 50%; transform: translate(-50%, -50%); transition: background-color 0.5s ease; }
.demo-fact { position: relative; justify-self: start; align-self: end; max-width: 26ch; margin-top: 36px; padding: 14px 18px; background: var(--ink); color: var(--bg); border-radius: 18px 18px 18px 0; font-size: 1rem; font-weight: 500; line-height: 1.35; }
/* the preview is a small piece of a real site: it keeps its own chrome */
.pv-scene { position: relative; width: min(590px, 84%); margin-right: 16%; perspective: 1700px; }
.pv { --pbg: #f1f4f1; --pink: #1d2a24; --pfield: #b9c9bd; position: relative; transform-style: preserve-3d; transform: rotateY(-8deg) rotateX(2.5deg); border-radius: 14px; }
.pv::before, .pv::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #aab0bb; transform: translateZ(-4px); }
.pv::after { background: #8f96a3; transform: translateZ(-8px); }
.pv-face { position: relative; background: var(--pbg); color: var(--pink); border-radius: 14px; overflow: hidden; transition: background-color 0.5s ease, color 0.5s ease; }
.pv-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: #ffffff; color: #0b0c0e; font-size: 0.8125rem; }
.pv-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd4dc; }
.pv-url { margin-left: 10px; padding: 4px 12px; background: #eef0f3; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); min-height: 400px; }
.pv-copy { padding: 26px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pv-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.8125rem; }
.pv-brand { font-weight: 700; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; margin-right: auto; }
.pv-h { font-family: var(--display); font-weight: 600; font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1; letter-spacing: -0.03em; margin-top: auto; }
.pv-cta { align-self: flex-start; padding: 12px 18px; background: var(--pink); color: var(--pbg); font-size: 0.875rem; font-weight: 600; border-radius: 999px; }
.pv-pic { position: relative; background: var(--pfield); overflow: hidden; transition: background-color 0.5s ease; }
.pv-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.pv-phone { position: absolute; right: -13%; bottom: -13%; width: 42%; min-width: 196px; padding: 7px; background: #23262c; border-radius: 38px; transform-style: preserve-3d; transform: translateZ(80px) rotateY(-13deg) rotateX(2deg); }
.pv-phone::before, .pv-phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #565d69; transform: translateZ(-4px); }
.pv-phone::after { background: #33373f; transform: translateZ(-8px); }
.pv-ps { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 330px; padding: 0 10px 12px; background: #f3f4f7; color: #0b0c0e; border-radius: 31px; overflow: hidden; }
.pv-ps .ag-isl { top: 8px; width: 70px; height: 20px; margin-left: -35px; }
.pv-ps .ag-status { height: 36px; padding: 6px 8px 0 12px; font-size: 0.8125rem; }
.pv-ps .ag-status i::before { width: 14px; height: 8px; } .pv-ps .ag-status i::after { width: 19px; height: 9px; }
.pv-who { display: flex; flex-direction: column; gap: 1px; margin: 0 -10px; padding: 4px 14px 10px; background: #ffffff; }
.pv-who b { font-size: 0.875rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.pv-who span { font-size: 0.8125rem; color: #565d69; }
.pv-bubble { align-self: flex-start; max-width: 96%; margin-top: auto; background: var(--accent); color: #ffffff; padding: 10px 12px; font-size: 0.875rem; line-height: 1.38; border-radius: 16px 16px 16px 5px; overflow-wrap: anywhere; }
.pv-in { display: flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px; background: #ffffff; color: #565d69; font-size: 0.8125rem; }
.pv.swap .pv-h, .pv-scene.swap .pv-bubble, .pv.swap .pv-pic img { animation: fadeUp 0.5s var(--ease-out) both; }
.pv[data-sector="ecom"] .pv-h { font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
.pv[data-sector="clinique"] .pv-h { font-weight: 600; }
.pv[data-sector="avocats"] .pv-h { font-family: var(--text); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.08; }
@media (max-width: 1000px) {
  .demo-copy, .demo-stage { grid-column: 1 / -1; }
  .demo-stage { min-height: 0; padding-block: 24px; }
  .disc { width: min(110vw, 620px); left: 60%; }
}
@media (max-width: 560px) { .pv-scene { width: 100%; margin-right: 0; } .pv { transform: rotateY(-5deg) rotateX(2deg); } .pv-body { grid-template-columns: minmax(0, 1fr); min-height: 0; } .pv-pic { min-height: 300px; } .pv-h { margin-top: 36px; } .pv-phone { right: -2%; bottom: -9%; width: 58%; transform: translateZ(50px) rotateY(-8deg) rotateX(2deg); } .demo-fact { margin-top: 64px; } }

/* how we work: one file, five fields */
.how { padding-top: var(--section); }
.how-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 16px; align-items: end; padding-bottom: clamp(40px, 5vw, 72px); }
.how-top h2 { grid-column: 1 / span 6; } .how-top p { grid-column: 8 / span 5; }
.how-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.how-field { display: flex; flex-direction: column; gap: 28px; min-height: clamp(540px, 76svh, 700px); padding: clamp(18px, 1.8vw, 28px); background: var(--ground); color: var(--fg); }
.hf1 { --ground: var(--surface); }
.hf2 { --ground: var(--surface-2); }
.hf3 { --ground: var(--accent); --fg: #fff; --fg-soft: #dfe2ff; }
.hf4 { --ground: var(--ink); --fg: var(--bg); --fg-soft: #a9afbb; }
.hf5 { --ground: var(--white); }
.how-when { font-size: 1rem; font-weight: 600; }
.how-text { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.how-text h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1; letter-spacing: -0.025em; max-width: 11ch; }
.how-text p { font-size: 1rem; line-height: 1.4; color: var(--fg-soft); }
.hf1 .how-text p, .hf2 .how-text p, .hf5 .how-text p { color: var(--ink); }
.hc { width: 100%; max-width: 260px; background: #ffffff; color: #0b0c0e; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; font-family: var(--text); transition: transform 0.2s var(--ease-out); }
.hf5 .hc { background: var(--surface); }
.how-field:hover .hc { transform: translateY(-6px); }
.hc-top { display: flex; flex-direction: column; gap: 2px; }
.hc-top b { font-size: 1rem; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-top span { font-size: 0.8125rem; color: #565d69; }
.hc-rows { display: flex; flex-direction: column; gap: 4px; }
.hc-rows li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; background: #eef0f3; border-radius: 10px; font-size: 0.8125rem; line-height: 1.2; }
.hf5 .hc-rows li { background: #ffffff; }
.hc-rows .ring { width: 16px; height: 16px; color: #565d69; }
.hc-rows li.done .ring { color: var(--accent); }
.hc-rows li.now { background: var(--accent); color: #fff; }
.hc-rows li.now .ring { color: #fff; animation: turn 4s linear infinite; }
.hc-rows b { font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16ch; }
.hc-check { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.hc-check li { padding: 6px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #eef0f3; font-size: 0.8125rem; font-weight: 500; color: #565d69; }
.hc-check li.ok { background: #0b0c0e; color: #fff; }
.hc-note { font-size: 0.8125rem; font-weight: 600; color: #565d69; padding-inline: 2px; }
@media (max-width: 1100px) {
  .how-fields { grid-template-columns: 1fr; }
  .how-field { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--g); row-gap: 14px; padding: 28px var(--gr) 32px var(--gl); align-items: start; }
  .how-when { grid-column: 1 / -1; }
  .how-text { margin-top: 0; grid-column: 1; grid-row: 2; }
  .how-text h3 { max-width: none; }
  .hc { grid-column: 2; grid-row: 2; justify-self: end; }
  .how-top h2, .how-top p { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .how-field { grid-template-columns: 1fr; } .how-text, .hc { grid-column: 1; grid-row: auto; justify-self: start; } }

/* the catalogue */
.catalog { padding-block: var(--section); }
.catalog .head { margin-bottom: clamp(40px, 5vw, 64px); }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 5vw, 88px); align-items: start; }
.table-scroll { overflow-x: auto; }
.lineup { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.3; }
.lineup caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.025em; line-height: 1; padding-bottom: 18px; }
.lineup caption .ring { display: inline-block; width: 0.95em; height: 0.95em; margin-right: 12px; vertical-align: -0.12em; color: var(--accent); }
.lineup caption .ring circle { stroke-width: 4.4; }
.lineup.crea caption .ring { color: var(--ink); }
.lineup th, .lineup td { text-align: left; padding: 9px 12px 9px 0; vertical-align: baseline; font-weight: 400; }
.lineup tbody th { font-weight: 600; width: 40%; padding-left: 12px; border-radius: 10px 0 0 10px; }
.lineup td:last-child { text-align: right; white-space: nowrap; color: var(--muted); padding-right: 12px; border-radius: 0 10px 10px 0; }
.lineup tbody tr { transition: background-color 0.15s ease; }
.lineup tbody tr:nth-child(odd) { background: var(--surface); }
.lineup tbody tr:hover { background: var(--surface-2); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .lineup, .lineup tbody, .lineup tr, .lineup td, .lineup th, .lineup caption { display: block; width: auto !important; }
  .lineup tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 12px; border-radius: 10px; }
  .lineup tbody th { grid-column: 1 / -1; padding: 0; }
  .lineup td { padding: 0; font-size: 0.9375rem; }
}

/* questions */
.faq-sec { padding-bottom: var(--section); }
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 32px; align-items: start; }
.faq > h2 { grid-column: 1 / span 4; }
.faq-list { grid-column: 5 / span 8; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border-radius: 22px; transition: background-color 0.25s ease, color 0.25s ease; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 14px 24px; font-size: var(--step-lead); font-weight: 600; line-height: 1.2; border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i, .faq summary svg { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 18px; height: 3px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq summary svg { transition: transform 0.3s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details:not([open]):hover { background: var(--surface-2); }
.faq details[open] { background: var(--accent); color: #fff; --focus: #fff; }
.faq details p { padding: 0 24px 24px; max-width: 56ch; }
@media (min-width: 901px) { .faq > h2 { position: sticky; top: calc(var(--head-h) + 32px); } }
@media (max-width: 900px) { .faq > h2, .faq-list { grid-column: 1 / -1; } .faq summary { min-height: 64px; padding: 12px 20px; } .faq details p { padding: 0 20px 20px; } }

/* ============ the close: the ring returns ============ */
.cta { position: relative; overflow: clip; min-height: min(92svh, 860px); display: grid; align-items: center; padding-block: clamp(72px, 9vw, 128px); }
.cta-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 24px; }
.cta-in > * { grid-column: 8 / span 5; justify-self: start; }
.cta h2 { font-family: var(--display); font-weight: 700; font-size: var(--step-display); line-height: 0.88; letter-spacing: -0.04em; }
.cta h2 .ln { display: block; }
.cta-p { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.cta .btn { margin-top: 8px; }
.cta-direct { font-size: 1rem; line-height: 1.5; }
.sel { user-select: all; font-weight: 600; }
.cta-ring { position: absolute; aspect-ratio: 1; width: min(112svh, 62vw); left: 19%; top: 60%; transform: translate(-50%, -50%); pointer-events: none; }
.cta .flat-rings .fr1 { stroke: #ffffff; } .cta .flat-rings .fr3 { stroke: #aab2ff; }
.flat-rings.turn .fr1 { animation: spin 70s linear infinite; transform-origin: 0 0; }
.flat-rings.turn .fr2 { animation: spin 46s linear infinite reverse; transform-origin: 0 0; }
.flat-rings.turn .fr3 { animation: spin 30s linear infinite; transform-origin: 0 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .cta { display: block; min-height: 0; padding-block: 72px 78vw; }
  .cta-in > * { grid-column: 1 / -1; }
  .cta .btn { width: 100%; }
  .cta-ring { width: 130vw; left: 50%; top: auto; bottom: -62vw; transform: translateX(-50%); }
}

/* ============ footer: the mark, large ============ */
.site-foot { position: relative; overflow: clip; padding-block: clamp(48px, 6vw, 88px) 28px; }
.foot-mark { display: flex; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: calc((100vw - var(--gl) - var(--gr)) / 2.13); line-height: 0.74; letter-spacing: -0.02em; padding-top: 0.06em; margin-left: -0.028em; white-space: nowrap; user-select: none; }
.foot-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; margin-top: clamp(40px, 5vw, 72px); }
.foot-places { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 2px; }
.foot-places li { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.025em; line-height: 1.15; }
.foot-write { color: var(--mark); text-decoration: none; }
.foot-write:hover { text-decoration: underline; text-underline-offset: 6px; }
.foot-cols { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--fg-soft); }
.foot-cols a { display: inline-block; font-size: 1rem; text-decoration: none; padding-block: 6px; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); font-size: var(--step-small); color: var(--fg-soft); }
.foot-legal a { text-decoration: none; color: var(--fg); padding-block: 4px; }
.foot-clock b { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .foot-places, .foot-cols { grid-column: 1 / -1; } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ============ INNER PAGES ============ */
/* pinned hero with a scene (tech, créa) */
.pin { position: relative; }
.pin-stage { position: sticky; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); height: calc(100svh - var(--head-h)); min-height: 520px; overflow: hidden; }
.pin-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pin-chapters { position: relative; z-index: 2; margin-top: calc(-1 * (100svh - var(--head-h))); }
.pin-hero { min-height: max(calc(100svh - var(--head-h)), 520px); display: grid; grid-template-rows: 1fr; }
.pin-hero-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-content: space-between; padding-block: 48px 56px; }
.pin-hero h1 { grid-column: 1 / -1; }
.pin-hero .pin-lede { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; margin-top: 48px; }
.pin-second { min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-content: center; }
.pin-second .statement { grid-column: 1 / span 5; font-size: clamp(1.4rem, 1.05rem + 1.35vw, 2.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; max-width: 19ch; }
.pin-second p.small-note { grid-column: 1 / span 4; margin-top: 24px; font-size: var(--step-lead); line-height: 1.35; }
.pin.tech { background: var(--bg); }
.pin.crea { background: var(--surface); color: var(--ink); }
@media (max-width: 900px) {
  .pin-hero .pin-lede, .pin-second .statement, .pin-second p.small-note { grid-column: 1 / -1; }
  .pin-second { align-content: end; padding-bottom: 12svh; }
  .pin-hero .btn { white-space: normal; text-align: left; padding-block: 12px; }
}

/* offers on the practice pages */
.offer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; align-items: start; }
.offer-copy { display: flex; flex-direction: column; gap: 22px; }
.offer-copy .for { font-size: 1rem; font-weight: 600; color: var(--mark); }
.offer-copy h2 { font-family: var(--display); font-weight: 700; font-size: var(--step-head); line-height: 0.94; letter-spacing: -0.035em; overflow-wrap: break-word; }
.offer-copy .claim { font-size: var(--step-lead); font-weight: 600; line-height: 1.25; max-width: 26ch; }
.deliv { display: flex; flex-direction: column; gap: 4px; }
.deliv li { display: grid; grid-template-columns: minmax(0, 1fr); padding: 14px 18px; gap: 2px; background: var(--tile); border-radius: 16px; }
.deliv b { font-weight: 600; }
.deliv span { color: var(--fg); font-size: 1rem; line-height: 1.4; }
.formats { display: flex; flex-wrap: wrap; gap: 6px; }
.formats span { padding: 8px 16px; background: var(--tile); border-radius: 999px; font-size: 1rem; font-weight: 500; }
.o-left .offer-copy { grid-column: 1 / span 5; }
.o-left .offer-fig { grid-column: 7 / span 6; }
.o-right .offer-copy { grid-column: 8 / span 5; grid-row: 1; }
.o-right .offer-fig { grid-column: 1 / span 6; grid-row: 1; }
.field-band { padding-block: var(--section); }
.field-band.navy, .field-band.red { --fg: #ffffff; --fg-soft: #dfe2ff; --ground: var(--accent); --tile: var(--accent-2); --mark: #ffffff; --focus: #ffffff; background: var(--accent); color: #ffffff; }
.field-band.night { --fg: var(--bg); --fg-soft: #a9afbb; --ground: var(--ink); --tile: var(--ink-2); --mark: #8f9bff; --focus: #ffffff; background: var(--ink); color: var(--bg); }
.field-band.red { --fg: var(--bg); --fg-soft: #a9afbb; --ground: var(--ink); --tile: var(--ink-2); --mark: #8f9bff; background: var(--ink); color: var(--bg); }
.field-band.sky { --ground: var(--surface); --tile: var(--surface-2); background: var(--surface); color: var(--ink); }
.field-band .tlink { color: inherit; }
@media (min-width: 961px) { .offer-fig { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; } }
@media (max-width: 960px) { .o-left .offer-copy, .o-left .offer-fig, .o-right .offer-copy, .o-right .offer-fig { grid-column: 1 / -1; grid-row: auto; } }

/* interface fragments: the product's own chrome, kept on purpose */
[data-ui] { font-family: var(--text); }
.ui { background: #FFFFFF; color: #0b0c0e; border-radius: 18px; overflow: hidden; }
.ui-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #0b0c0e; color: #ffffff; font-size: 0.9375rem; font-weight: 600; }
.ui-bar small { font-size: 0.8125rem; font-weight: 500; color: #a9afbb; }
.ui-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ui-note { font-size: 0.875rem; color: #565d69; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ui-table th { text-align: left; font-size: 0.8125rem; font-weight: 600; color: #565d69; padding: 12px; border-bottom: 2px solid #0b0c0e; }
.ui-table td { padding: 12px; border-bottom: 1px solid #e2e5ea; vertical-align: top; }
.ui-table td:last-child, .ui-table th:last-child { text-align: right; }
.pill { display: inline-block; padding: 3px 12px; font-size: 0.8125rem; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.pill.hi { background: #1f2de6; color: #FFFFFF; }
.pill.md { background: #0b0c0e; color: #ffffff; }
.pill.lo { background: #e2e5ea; color: #0b0c0e; }

.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 20px; }
.flow div { background: var(--tile); padding: 16px 18px; font-size: 1rem; line-height: 1.35; border-radius: 16px; color: var(--fg-soft); }
.flow b { display: block; font-size: 1rem; margin-bottom: 4px; color: var(--fg); }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.timeline div { padding: 16px 14px; background: var(--tile); font-size: 0.9375rem; line-height: 1.35; border-radius: 14px; }
.timeline div.now { background: var(--accent); color: #FFFFFF; }
.timeline b { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } }
.stack { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--step-lead); font-weight: 600; }
.stack span { padding: 10px 22px; background: var(--surface); border-radius: 999px; line-height: 1.2; }

/* project cards */
.proj { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.proj .pname { font-size: 1rem; color: var(--muted); font-weight: 500; }
.proj .pdesc { font-size: 1rem; max-width: 52ch; }
.proj .ptitle { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.02; letter-spacing: -0.025em; }
.art { position: relative; display: block; overflow: hidden; background: var(--surface); }
.art svg { display: block; width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.proj:hover .art svg, .index-item:hover .art svg { transform: scale(1.035); }
.art.r32 { aspect-ratio: 3 / 2; } .art.r45 { aspect-ratio: 4 / 5; } .art.r169 { aspect-ratio: 16 / 9; } .art.r11 { aspect-ratio: 1 / 1; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.related .proj { gap: 14px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
.how-top.grid { padding-bottom: 0; margin-bottom: 56px; }

/* mockups on the practice pages */
.offer-fig .mk.is-phone { aspect-ratio: 1 / 1.08; max-width: 560px; margin-inline: auto; }
.art.shot { aspect-ratio: 4 / 5; border-radius: 14px; }
.art.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #ffffff; }
.art .play::after { content: ""; position: absolute; left: 21px; top: 16px; width: 18px; height: 22px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* niche demos (créa page) */
.niches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.niche { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 380px; padding: 24px; border-radius: 22px; overflow: hidden; }
.niche-pic { display: block; margin: -24px -24px 0; aspect-ratio: 4 / 3.4; overflow: hidden; }
.niche-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.niche h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.02; letter-spacing: -0.025em; }
.niche ul { display: flex; flex-direction: column; gap: 6px; font-size: 1rem; }
.niche .who { font-size: 1rem; font-weight: 600; }
@media (max-width: 1100px) { .niches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .niches { grid-template-columns: 1fr; } .niche { min-height: 0; } }

/* sectors, principles, formats (studio) */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sector { background: var(--surface); padding: 24px; border-radius: 22px; }
.sector h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 12px; }
.sector p { font-size: 1rem; }
.sector ul { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; font-size: 1rem; color: var(--muted); }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }
.founder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; align-items: start; }
.founder-mark { grid-column: 1 / span 5; aspect-ratio: 4 / 5; background: var(--accent); position: relative; overflow: hidden; border-top-right-radius: var(--arc); }
.founder-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.founder-mark .flat-rings { inset: 9%; width: 82%; height: 82%; }
.founder-mark .flat-rings .fr1 { stroke: #ffffff; } .founder-mark .flat-rings .fr3 { stroke: #aab2ff; }
.founder-copy { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 22px; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.founders p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.founders b { display: block; font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.02; letter-spacing: -0.025em; color: var(--ink); }
.founders span { display: block; margin: 6px 0 12px; font-size: 1rem; font-weight: 600; color: var(--accent); }
@media (max-width: 600px) { .founders { grid-template-columns: 1fr; } }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px var(--g); }
.principles h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 12px; }
.formats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.formats-grid div { background: var(--surface); padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border-radius: 22px; }
.formats-grid div:nth-child(2) { background: var(--accent); color: #fff; } .formats-grid div:nth-child(3) { background: var(--ink); color: var(--bg); } .formats-grid div:nth-child(4) { background: var(--surface-2); }
.formats-grid h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.02; letter-spacing: -0.025em; }
@media (max-width: 960px) { .founder-mark, .founder-copy { grid-column: 1 / -1; } .founder-mark { aspect-ratio: 16 / 10; } .formats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles, .formats-grid { grid-template-columns: 1fr; } }

/* page heads (projects, studio, contact, cases) */
.page-head { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.page-head .lede { margin-top: 36px; }
.section-title { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.02; letter-spacing: -0.025em; }

/* filters + project index */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.index { display: flex; flex-direction: column; gap: clamp(72px, 10vw, 140px); }
.index-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 24px; align-items: end; text-decoration: none; }
.index-item .art { grid-column: 1 / span 7; }
.index-item .meta { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 14px; }
.index-item:nth-child(even) .art { grid-column: 6 / span 7; }
.index-item:nth-child(even) .meta { grid-column: 1 / span 4; grid-row: 1; }
.index-item[hidden] { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 6px 14px; background: var(--surface); border-radius: 999px; font-size: var(--step-small); font-weight: 500; }
@media (max-width: 860px) { .index-item .art, .index-item .meta, .index-item:nth-child(even) .art, .index-item:nth-child(even) .meta { grid-column: 1 / -1; grid-row: auto; } }

/* case study */
.case-h1 { font-size: clamp(2.125rem, 6vw, 6.25rem) !important; }
.case-facts { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px; margin-top: 64px; }
.case-facts div b { display: block; font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.05; letter-spacing: -0.025em; }
.case-facts div span { display: block; font-size: 1rem; color: var(--muted); margin-top: 6px; }
.case-art { aspect-ratio: 16 / 9; max-height: 82svh; width: 100%; }
.case-note { margin-top: 14px; }
.case-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 72px; }
.case-body > h2 { grid-column: 1 / span 4; }
.case-body > .cb { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 18px; }
.case-body ol.steps { counter-reset: s; display: flex; flex-direction: column; gap: 4px; }
.case-body ol.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 14px 18px; font-size: var(--step-body); background: var(--surface); border-radius: 16px; }
.case-body ol.steps li::before { content: counter(s); font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.next-case { display: block; text-decoration: none; padding-block: var(--section); background: var(--surface); }
.next-case span { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 18px; }
.next-case b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 6.2vw, 6.25rem); line-height: 0.9; letter-spacing: -0.04em; transition: transform 0.5s var(--ease-out); overflow-wrap: break-word; }
.next-case:hover b { transform: translateX(16px); }
@media (max-width: 860px) { .case-body > h2, .case-body > .cb { grid-column: 1 / -1; } .case-body { row-gap: 24px; } .case-body > h2:not(:first-child) { margin-top: 48px; } }
@media (max-width: 560px) { .case-h1, .next-case b { hyphens: auto; -webkit-hyphens: auto; } }
.ads { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 56px; }
.contact-form { grid-column: 1 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 36px; }
.contact-side .big { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.textarea { min-height: 150px; padding: 16px 20px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; background-image: none; padding-right: 48px; cursor: pointer; }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; font-weight: 500; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.needs legend { font-size: 1rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.needs label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; background: var(--surface); border-radius: 999px; cursor: pointer; font-size: 1rem; font-weight: 500; }
.needs label:has(input:checked) { background: var(--ink); color: var(--bg); }
.needs input { accent-color: var(--accent); width: 18px; height: 18px; }
.sent { grid-column: 1 / -1; background: var(--ink); color: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 16px; border-radius: 22px; --focus: #fff; }
.sent pre { margin: 0; white-space: pre-wrap; font-family: var(--text); font-size: 1rem; line-height: 1.5; background: var(--ink-2); padding: 16px; max-height: 260px; overflow: auto; border-radius: 14px; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sent .btn-ghost { background: var(--ink-2); color: var(--bg); }
.sent .btn-ghost:hover { background: #fff; color: var(--ink); }
.direct { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 960px) { .contact-form, .contact-side { grid-column: 1 / -1; } }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }

/* video loops */
.vid-wrap { position: relative; display: block; overflow: hidden; background: var(--tile); border-radius: 18px; }
.vid-wrap.r169 { aspect-ratio: 16 / 9; } .vid-wrap.r1610 { aspect-ratio: 16 / 10; } .vid-wrap.r916 { aspect-ratio: 9 / 16; }
.vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.phone { width: min(320px, 78%); margin-inline: auto; border: 10px solid #0b0c0e; border-radius: 40px; overflow: hidden; background: #0b0c0e; }
.field-band.navy .phone { border-color: #0b0c0e; }
.phone .vid-wrap { border-radius: 30px; }

@media (max-width: 560px) { .statement { font-size: 1.25rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal].rv-wait { opacity: 1; transform: none; }
  .js [data-reveal="lines"].rv-wait .ln > span { transform: none; }
}
