/* AM TECH ADS : layout concept: a collaborative "growth canvas". Expanded grotesk statements,
   halftone gradient panels as the visual signature, paper notes for the human touch.
   Radius rule: interactive = pill, surfaces = 20px, paper notes = 3px. */
:root {
  --bg: #F1F3F8;
  --surface: #FFFFFF;
  --panel: #E3E8F4;
  --ink: #0E1222;
  --muted: #4F5770;
  --line: #D3D8E6;
  --accent: #2342E0;
  --accent-ink: #FFFFFF;
  --accent-soft: #DDE3FF;
  --hot: #FF5B3A;
  --sky: #86A8FF;
  --mint: #2BC48A;
  --note: #FFEFA6;
  --note-ink: #1D1B0E;
  --shadow: 0 1px 0 rgba(14,18,34,.04), 0 18px 40px -18px rgba(35,66,224,.28);

  --f-display: "Anybody", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-surface: 20px;
  --r-note: 3px;
  --nav-h: 68px;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
:root[data-site-theme="dark"] {
  --bg: #0A0D19; --surface: #131729; --panel: #161B31; --ink: #EDEFF7; --muted: #A3AAC2;
  --line: #262C45; --accent: #7088FF; --accent-ink: #0A0D19; --accent-soft: #1D2550;
  --hot: #FF6B4D; --sky: #3D5AD6; --mint: #33D197; --note: #FFEBA0; --note-ink: #1D1B0E;
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 24px 50px -22px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 40; background: var(--bg);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%; max-width: 1320px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 112; text-wrap: balance; margin: 0;
}
h1 { font-size: clamp(2.3rem, 5.1vw, 4.6rem); line-height: 0.98; font-variation-settings: "wdth" 100; }
h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.04; font-variation-settings: "wdth" 104; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.12; font-variation-settings: "wdth" 104; letter-spacing: -0.01em; }
.xl { font-size: clamp(3rem, 10vw, 9.5rem); line-height: .9; font-variation-settings: "wdth" 130; letter-spacing: -0.035em; }
em, .it { font-style: italic; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); max-width: 52ch; line-height: 1.55; }
.body { color: var(--muted); max-width: 62ch; }
.eyebrow {
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; display: inline-flex; gap: 10px; align-items: center;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.mono { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .02em; }
.ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.ln > span { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 16px 24px; min-height: 52px; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--accent-ink);
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { padding: 11px 18px; min-height: 44px; font-size: .95rem; }
.textlink { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.textlink svg, .mobile-menu nav a small svg { width: 18px; height: 18px; flex: none; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--bg); } }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.logo {
  font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 135;
  font-size: 1.32rem; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
}
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); font-size: .72rem; font-variation-settings: "wdth" 100; letter-spacing: 0; }
.nav-links { display: flex; gap: 4px; align-items: center; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li > a, .nav-links > li > button {
  font: 500 .98rem/1 var(--f-body); color: var(--ink); text-decoration: none; background: none; border: 0;
  padding: 12px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links [aria-current="page"] { background: var(--panel); }
.nav-links svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-links button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: var(--panel); border: 0; width: 46px; height: 46px; border-radius: 999px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; width: min(760px, 92vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); box-shadow: var(--shadow);
  padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.mega a { text-decoration: none; border-radius: 14px; padding: 10px; display: grid; gap: 10px; transition: background .2s; }
.mega a:hover { background: var(--panel); }
.mega .ht { height: 74px; border-radius: 10px; }
.mega strong { font-family: var(--f-display); font-variation-settings: "wdth" 108; font-size: 1.02rem; display: block; }
.mega span { color: var(--muted); font-size: .86rem; line-height: 1.35; display: block; }

@media (max-width: 960px) {
  .nav-links, .nav > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 28px) max(20px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 24px;
}
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu nav a { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 115; font-size: 1.9rem; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav a small { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); font-weight: 400; }

/* ---------- Halftone panels ---------- */
.ht { position: relative; background: var(--panel); border-radius: var(--r-surface); overflow: hidden; }
.ht canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Sections ---------- */
section { padding-block: clamp(72px, 10vw, 140px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.canvas {
  position: relative; min-height: 540px; border-radius: 28px; background: var(--panel);
  overflow: hidden; isolation: isolate; border: 1px solid var(--line);
}
.canvas > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.canvas .grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; }
.bubble {
  position: absolute; display: flex; gap: 10px; align-items: flex-start; max-width: 270px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 12px 14px;
  box-shadow: var(--shadow); font-size: .93rem; line-height: 1.4;
}
.bubble .av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 800 .68rem/30px var(--f-display); text-align: center; font-variation-settings: "wdth" 100; }
.bubble b { display: block; font-size: .8rem; }
.bubble b small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.cursor { position: absolute; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.cursor i { width: 16px; height: 18px; background: var(--c, var(--accent)); clip-path: polygon(0 0, 100% 62%, 52% 66%, 30% 100%); display: block; }
.cursor span { margin-top: 14px; background: var(--c, var(--accent)); color: var(--ct, #fff); font: 500 .74rem/1 var(--f-mono); padding: 6px 9px; border-radius: 999px 999px 999px 3px; white-space: nowrap; }
.chip-row { position: absolute; display: flex; gap: 8px; flex-wrap: wrap; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; font: 500 .8rem/1 var(--f-mono); white-space: nowrap; }
.note {
  position: absolute; background: var(--note); color: var(--note-ink); border-radius: var(--r-note);
  padding: 18px 18px 16px; width: 220px; box-shadow: 0 16px 30px -14px rgba(29,27,14,.45);
  rotate: -3deg; text-decoration: none; display: grid; gap: 6px; transition: rotate .3s cubic-bezier(.16,1,.3,1), translate .3s;
}
.note::before { content: ""; position: absolute; top: -10px; left: 50%; translate: -50% 0; width: 70px; height: 20px; background: rgba(255,255,255,.55); rotate: 2deg; }
.note:hover { rotate: 0deg; translate: 0 -4px; }
.note strong { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-size: 1.2rem; line-height: 1.05; }
.note span { font-size: .88rem; line-height: 1.35; }
.note .mono { font-size: .72rem; opacity: .75; }

/* Services list (home) */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center;
  padding: clamp(20px, 2.6vw, 34px) 4px; text-decoration: none; position: relative;
}
.svc-row h3 { font-size: clamp(1.6rem, 3.3vw, 2.9rem); font-variation-settings: "wdth" 110; transition: transform .45s cubic-bezier(.16,1,.3,1), color .3s; }
.svc-row p { color: var(--muted); }
.svc-row .arrow { width: 52px; height: 52px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s, rotate .4s; }
.svc-row .arrow svg { width: 20px; height: 20px; }
.svc-row:hover h3, .svc-row:focus-visible h3 { transform: translateX(14px); color: var(--accent); }
.svc-row:hover .arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); rotate: -45deg; }
.svc-preview { position: fixed; left: 0; top: 0; width: 300px; height: 200px; pointer-events: none; z-index: 20; border-radius: 18px; opacity: 0; visibility: hidden; box-shadow: var(--shadow); }
@media (hover: none), (max-width: 900px) { .svc-preview { display: none; } }

/* Problems manifesto */
.problems { position: relative; }
.prob-statement { font-size: clamp(2.1rem, 5.6vw, 5rem); line-height: 1.02; max-width: 15ch; }
.prob-cloud { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: clamp(40px, 6vw, 72px); max-width: 1100px; }
.prob {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font: 600 clamp(.98rem, 1.6vw, 1.25rem)/1.2 var(--f-body); padding: 14px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.prob:nth-child(3n+2) { margin-left: clamp(0px, 4vw, 60px); }
.prob .x { position: relative; }
.prob .strike { position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; border-radius: 3px; }
.prob .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #08281B; display: grid; place-items: center; scale: 0; flex: none; }
.prob .tick svg { width: 13px; height: 13px; }
.prob-foot { margin-top: 40px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* Horizontal process */
.hpan { padding-block: clamp(72px, 10vw, 120px); overflow: hidden; }
.hpan .sec-head { margin-bottom: 40px; }
.htrack { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); scrollbar-width: thin; }
.hpan.pinned .htrack { overflow: visible; width: max-content; padding-left: max(20px, calc((100vw - 1320px)/2 + 20px)); }
.step {
  flex: none; width: min(84vw, 560px); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-surface); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; min-height: 440px;
}
.step .num { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 140; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .85; color: var(--accent); }
.step .ht { height: 110px; border-radius: 14px; }
.step .get { border-top: 1px dashed var(--line); padding-top: 14px; font-size: .95rem; }
.step .get b { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.step.end { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); align-content: space-between; }
.step.end h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cell { border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; align-content: end; position: relative; overflow: hidden; min-height: 280px; min-width: 0; }
.cell > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cell > * { position: relative; z-index: 1; }
.cell.c-a { grid-column: span 4; background: var(--panel); min-height: 360px; }
.cell.c-b { grid-column: span 2; }
.cell.c-c { grid-column: span 2; }
.cell.c-d { grid-column: span 4; background: var(--panel); }
.cell .tag { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font: 500 .76rem/1 var(--f-mono); }
.cell .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.cell .ico svg { width: 24px; height: 24px; }
.report { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.report li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.report li svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.promise-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.promise { display: inline-flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.promise svg { width: 18px; height: 18px; color: var(--accent); }

/* Marquee */
.marquee { padding-block: 34px; border-block: 1px solid var(--line); overflow: hidden; background: color-mix(in srgb, var(--surface) 80%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -0.02em; padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* Testimonials as paper notes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); align-items: start; }
.paper {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-note); padding: 28px 26px 24px;
  box-shadow: var(--shadow); display: grid; gap: 22px; position: relative;
}
.paper:nth-child(1) { rotate: -1.6deg; }
.paper:nth-child(2) { rotate: 1.2deg; margin-top: 46px; background: var(--note); color: var(--note-ink); border-color: transparent; }
.paper:nth-child(3) { rotate: -.6deg; margin-top: 14px; }
.paper .stars { color: var(--hot); letter-spacing: 3px; font-size: 1rem; }
.paper:nth-child(2) .stars { color: #C2410C; }
.paper blockquote { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 100; font-weight: 600; font-size: 1.22rem; line-height: 1.32; letter-spacing: -0.01em; }
.paper figcaption { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.paper figcaption .av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 800 1rem/1 var(--f-display); flex: none; }
.paper figcaption small { display: block; opacity: .75; }

/* About teaser */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.big-num { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 145; font-size: clamp(6rem, 18vw, 15rem); line-height: .8; letter-spacing: -0.05em; color: var(--accent); }
.big-num + p { font-family: var(--f-mono); color: var(--muted); margin-top: 18px; }
.stack { display: grid; gap: 22px; min-width: 0; }

/* Two ways in */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.way { border-radius: var(--r-surface); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; text-decoration: none; min-height: 320px; align-content: space-between; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.way:hover { transform: translateY(-4px); }
.way > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.way > * { position: relative; }
.way.w1 { background: var(--accent); color: var(--accent-ink); }
.way.w2 { background: var(--panel); border: 1px solid var(--line); }
.way h3 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-variation-settings: "wdth" 118; }
.way .go { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
.way .go svg { width: 22px; height: 22px; transition: transform .3s; }
.way:hover .go svg { transform: translateX(6px); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-grid h4 { font: 500 .76rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-word { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 118; font-size: clamp(2.4rem, 9.4vw, 8.6rem); line-height: .82; letter-spacing: -0.05em; margin-top: 64px; color: var(--ink); opacity: .96; white-space: nowrap; overflow: hidden; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: .9rem; }
.copy-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-btn { font: 500 .76rem/1 var(--f-mono); border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 0 14px; min-height: 36px; min-width: 64px; cursor: pointer; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.sel { user-select: all; }

/* ---------- Service branch pages ---------- */
.crumb { font-family: var(--f-mono); font-size: .82rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.svc-hero { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 80px); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
.svc-hero .ht { min-height: 380px; }
.svc-hero h1 { font-size: clamp(2.2rem, 4.8vw, 4.3rem); font-variation-settings: "wdth" 110; letter-spacing: -0.035em; }
.inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.inc { padding: 28px 28px 32px 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--line); min-width: 0; }
.inc:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.inc .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.inc .ico svg { width: 22px; height: 22px; }
.inc p { color: var(--muted); font-size: .98rem; }
.run { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.run-sticky { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 20px; }
.run-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: r; }
.run-steps li { counter-increment: r; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 26px 28px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
.run-steps li::before { content: counter(r, decimal-leading-zero); font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 135; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.run-steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.run-steps p { color: var(--muted); }
.channels { display: flex; flex-wrap: wrap; gap: 10px; }
.channels span { border: 1px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 999px; font: 500 .86rem/1 var(--f-mono); }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 106; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 38px; height: 38px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: rotate .3s, background .3s; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { rotate: 45deg; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 56px 28px 0; max-width: 70ch; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rel { text-decoration: none; border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 14px; align-items: center; transition: border-color .25s, transform .3s cubic-bezier(.16,1,.3,1); }
.rel:hover { border-color: var(--accent); transform: translateY(-3px); }
.rel .ht { height: 110px; border-radius: 12px; }
.rel h3 { font-size: 1.35rem; }
.rel p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.cta-band { background: var(--accent); color: var(--accent-ink); border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band > canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); max-width: 18ch; }
.cta-band .btn { --b: var(--accent-ink); color: var(--accent); }

/* About */
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.value h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-variation-settings: "wdth" 118; }
.value p { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); overflow: hidden; display: grid; }
.role .ht { height: 170px; border-radius: 0; }
.role div:last-child { padding: 18px 20px 22px; display: grid; gap: 4px; }
.role p { color: var(--muted); font-size: .92rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.brief { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 44px); display: grid; gap: 26px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress span { height: 6px; border-radius: 6px; background: var(--line); transition: background .3s; }
.progress span.on { background: var(--accent); }
.step-label { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
legend { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.05; margin-bottom: 6px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; cursor: pointer; font-weight: 600; min-height: 46px; transition: border-color .2s, background .2s, color .2s; background: var(--bg); }
.pill label:hover { border-color: var(--ink); }
.pill input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pill input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.field { display: grid; gap: 8px; }
.field label, .group-label { font-weight: 600; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .85rem; }
.field input, .field textarea, .field select {
  font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 14px 16px; width: 100%; min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .85; }
.err { color: #C9361A; font-size: .88rem; font-weight: 600; }
:root[data-site-theme="dark"] .err { color: #FF8A70; }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #C9361A; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.summary { background: var(--bg); border: 1px dashed var(--line); border-radius: 16px; padding: 20px; white-space: pre-wrap; font: 400 .92rem/1.6 var(--f-mono); overflow-x: auto; }
.side { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 24px); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 24px; display: grid; gap: 14px; }
.side-card h3 { font-size: 1.25rem; }
.side-card dl { margin: 0; display: grid; gap: 14px; }
.side-card dt { font: 500 .74rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.side-card dd { margin: 0; font-weight: 600; }
.side-card.call { background: var(--note); color: var(--note-ink); border-color: transparent; border-radius: var(--r-note); rotate: 1deg; }
.side-card.call ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell.c-a, .cell.c-d { grid-column: span 2; }
  .cell.c-b, .cell.c-c { grid-column: span 1; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero-grid, .svc-hero-grid, .split, .run, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .canvas { min-height: 460px; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 48px; }
  .svc-row p { grid-column: 1 / -1; grid-row: 2; }
  .svc-row .arrow { grid-row: 1; grid-column: 2; width: 46px; height: 46px; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .paper:nth-child(n) { margin-top: 0; }
  .ways, .related { grid-template-columns: minmax(0, 1fr); }
  .inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inc:nth-child(n) { padding: 24px 20px 26px 0; border-left: 0; }
  .inc:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .run-sticky, .side { position: static; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .value { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .svc-hero .ht { min-height: 240px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell.c-a, .cell.c-b, .cell.c-c, .cell.c-d { grid-column: span 1; min-height: 240px; }
  .inc-grid, .team, .two { grid-template-columns: minmax(0, 1fr); }
  .inc:nth-child(n) { padding: 22px 0; border-left: 0; }
  .rel { grid-template-columns: 96px minmax(0, 1fr); }
  .rel .ht { height: 96px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: auto; }
  .canvas { min-height: 430px; border-radius: 22px; }
  .canvas .chip-row { display: none; }
  .bubble { max-width: 220px; font-size: .86rem; }
  .run-steps li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .faq details p { padding-right: 0; }
  .prob:nth-child(3n+2) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track [aria-hidden] { display: none; }
}

/* ===== Motion & graphics layer ===== */
.mag { transition: box-shadow .2s, background .2s, color .2s, border-color .2s !important; }
.w { display: inline-block; }
.ch { display: inline-block; will-change: transform; }
.swash {
  background-image: linear-gradient(transparent 80%, var(--accent-soft) 80%, var(--accent-soft) 96%, transparent 96%);
  background-size: 100% 100%; background-repeat: no-repeat; padding-inline: .04em;
}

/* scroll progress under the header */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* page curtain (created by script only) */
.curtain { position: fixed; inset: 0; z-index: 90; background: var(--accent); display: grid; place-items: center; transform: translateY(100%); pointer-events: none; overflow: hidden; }
.curtain canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.curtain .logo-mark { position: relative; width: 72px; height: 72px; font-size: 1.5rem; border-radius: 18px; background: var(--accent-ink); color: var(--accent); }

/* hero growth curve */
.growth { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.growth .line, .growth .line-shadow { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.growth .line { stroke: var(--ink); stroke-width: 3; }
.growth .line-shadow { stroke: var(--surface); stroke-width: 9; opacity: .9; }
.growth .peak { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.growth .peak-ring { fill: none; stroke: var(--accent); stroke-width: 2; }
.growth .runner { fill: var(--hot); stroke: var(--surface); stroke-width: 2; }
.canvas > *:not(canvas):not(.grid-bg):not(.growth) { z-index: 1; }
.typing { display: none; gap: 4px; align-items: center; height: 20px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blip 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blip { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }

/* kinetic rows */
.kinetic { padding-block: clamp(48px, 7vw, 96px); overflow: hidden; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 72%, transparent); }
.krow { display: flex; gap: .32em; width: max-content; align-items: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -.04em;
  font-size: clamp(3rem, 10.5vw, 9.5rem); line-height: .98; }
.krow + .krow { margin-top: .06em; }
.krow .o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.krow .hl { color: var(--accent); }
.krow i { flex: none; width: .3em; height: .3em; border-radius: 50%; background: var(--hot); }
.krow i:nth-of-type(2n) { background: var(--accent); border-radius: .06em; rotate: 45deg; }
.kinetic .cap { margin-top: clamp(24px, 4vw, 44px); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

/* clients */
.clients-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.client { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; transform-style: preserve-3d; will-change: transform; }
.client.big { grid-column: span 3; }
.client-art { position: relative; height: 190px; background: var(--panel); overflow: hidden; }
.client.big .client-art { height: 240px; }
.client-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.client-art .mono-mark { position: absolute; left: 20px; bottom: 16px; font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 150; font-size: 3.4rem; line-height: .8; letter-spacing: -.05em; color: var(--surface); text-shadow: 0 2px 0 rgba(14,18,34,.08); -webkit-text-stroke: 1.5px var(--ink); }
.client-body { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.client-name { font-size: clamp(1.4rem, 2.4vw, 2rem); font-variation-settings: "wdth" 120; }
.client-person { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 600; }
.client-person .av { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 800 .9rem/1 var(--f-display); flex: none; }
.client blockquote { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 100; font-weight: 600; font-size: 1.1rem; line-height: 1.35; }

/* process progress */
.pan-progress { display: none; height: 4px; border-radius: 4px; background: var(--line); margin-top: 28px; overflow: hidden; }
.pan-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; }
.hpan.pinned .pan-progress { display: block; }

/* service run rail */
.run-list { position: relative; padding-left: 26px; }
.run-rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.run-rail i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; }

.marquee-track.js { animation: none; }

@media (max-width: 1080px) {
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client, .client.big { grid-column: span 1; }
  .client.big:first-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .clients-grid { grid-template-columns: minmax(0, 1fr); }
  .client, .client.big, .client.big:first-child { grid-column: span 1; }
  .krow .o { -webkit-text-stroke-width: 1.5px; }
  .run-list { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .typing { display: none !important; }
}

/* ===== Theme toggle ===== */
.theme-toggle { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: border-color .2s; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
:root[data-site-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-site-theme="dark"] .theme-toggle .moon { display: block; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
@media (max-width: 960px) { .nav-tools { margin-left: auto; } .nav-tools .menu-toggle { margin-left: 0; } }
@media (min-width: 961px) { .nav-tools { margin-left: 8px; } }

/* ===== Background story: idea to product ===== */
.story-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.story-chip {
  position: fixed; z-index: 25; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 6px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); pointer-events: none;
}
.story-chip li { font: 500 .72rem/1 var(--f-mono); color: var(--muted); padding: 8px 10px; border-radius: 999px; transition: background .35s, color .35s; white-space: nowrap; }
.story-chip li.on { background: var(--accent); color: var(--accent-ink); }
.story-chip li.done { color: var(--ink); }
@media (max-width: 899px) { .story-chip { display: none; } }

/* ===== Client testimonials ===== */
.client-body { gap: 14px; }
.client .work { justify-self: start; font: 500 .74rem/1 var(--f-mono); letter-spacing: .04em; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 7px 11px; }
.client blockquote { color: var(--ink); }
.client .draft { font: 400 .72rem/1.3 var(--f-mono); color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* ===== Hero canvas on small screens ===== */
@media (max-width: 600px) {
  .canvas .bubble.b1 { top: 14px !important; left: 14px !important; }
  .canvas .bubble.b2 { top: 128px !important; right: 14px !important; left: auto !important; }
  .canvas .note { left: 14px !important; bottom: 16px !important; width: 186px; padding: 14px 14px 12px; }
  .canvas .note strong { font-size: 1.05rem; }
  .canvas .cursor.c-ads, .canvas .cursor.c-design { display: none; }
}
.problems { background: color-mix(in srgb, var(--surface) 72%, transparent); border-block: 1px solid var(--line); }
@media (max-width: 960px) { .nav-tools .btn { display: none; } }

/* QA fixes */
.foot-grid ul a, .crumb a { display: inline-block; padding-block: 3px; }
@media (min-width: 901px) and (max-width: 1180px) { .canvas .chip-row { display: none; } }

.story-chip { gap: 6px; padding: 8px 14px 8px 12px; }
.story-chip li { padding: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--line); font-size: 0; color: transparent; overflow: hidden; }
.story-chip li.done { background: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.story-chip li.on { width: auto; height: auto; background: transparent; color: var(--ink); font: 500 .74rem/1 var(--f-mono); overflow: visible; padding-left: 4px; display: inline-flex; align-items: center; gap: 6px; }
.story-chip li.on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* Brand logo */
.logo img { height: 46px; width: auto; display: block; }
.logo .lg-d { display: none; }
:root[data-site-theme="dark"] .logo .lg-l { display: none; }
:root[data-site-theme="dark"] .logo .lg-d { display: block; }
.logo-foot img { height: 92px; }
.mobile-menu .mm-top .logo img { height: 40px; }
@media (max-width: 600px) { .nav .logo img { height: 40px; } }
.curtain img { position: relative; width: 120px; height: auto; }
.story-chip { transition: opacity .3s, translate .3s; }
.story-chip.away { opacity: 0; translate: 0 12px; }
