/* Layout: one 1180px column, left-aligned type, grey "desk" bands alternate with white.
   Rule: nothing eases. State changes are instant; buttons press like keys. */
:root {
  --paper: #ffffff;
  --desk: #f3f5f8;          /* light grey with a slight blue bias */
  --desk-deep: #e8ecf2;
  --line: #dfe4eb;
  --ink: #141922;
  --ink-2: #4c5665;
  --ink-3: #7b8594;
  --blue: #1f4fd1;
  --blue-deep: #163aa1;
  --blue-wash: #eaf0fd;
  --red: #d7263d;
  --red-wash: #fdecee;
  --green: #1d8a4e;
  --shadow-soft: 0 1px 2px rgba(20, 25, 34, .06), 0 8px 24px -8px rgba(20, 25, 34, .14);
  --shadow-lift: 0 2px 4px rgba(20, 25, 34, .06), 0 24px 48px -16px rgba(20, 25, 34, .22);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; transition: none !important; animation: none !important; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } body { font-size: 16px; } }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.kicker { font-size: .95rem; font-weight: 600; color: var(--blue); }

/* ---------- Buttons: a soft key with a lip that collapses on press ---------- */
.btn {
  --b-bg: var(--blue); --b-fg: #fff; --b-lip: var(--blue-deep);
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 1rem/1 var(--font);
  padding: .95em 1.3em .9em;
  border-radius: 12px;
  border: 0;
  background: var(--b-bg);
  color: var(--b-fg);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--b-lip), 0 10px 20px -10px rgba(31, 79, 209, .7), inset 0 1px 0 rgba(255,255,255,.18);
  position: relative; top: 0;
}
.btn:hover { --b-bg: #2557e0; color: #fff; }
.btn:active { top: 3px; box-shadow: 0 0 0 var(--b-lip), 0 4px 10px -6px rgba(31, 79, 209, .6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn .ico { width: 1.6em; height: 1.6em; border-radius: 7px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.btn .ico svg { width: 1em; height: 1em; }
.btn--ghost {
  --b-bg: var(--paper); --b-fg: var(--ink); --b-lip: var(--line);
  box-shadow: 0 3px 0 var(--b-lip), inset 0 0 0 1.5px var(--line), 0 8px 18px -12px rgba(20,25,34,.3);
}
.btn--ghost:hover { --b-bg: var(--desk); color: var(--ink); }
.btn--ghost:active { box-shadow: 0 0 0 var(--b-lip), inset 0 0 0 1.5px var(--line); }
.btn--ghost .ico { background: var(--desk-deep); }
.btn--small { font-size: .92rem; padding: .7em 1em .65em; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Availability chip ---------- */
.avail {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .88rem; font-weight: 600; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .38em .85em .38em .7em; white-space: nowrap;
}
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--red-wash); }

/* ---------- Header + nav ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--red); }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--blue); display: grid; place-items: center; box-shadow: 0 2px 0 var(--blue-deep); }
.brand-mark svg { width: 18px; height: 18px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav > .dd > button {
  font: 600 .95rem/1 var(--font); color: var(--ink-2); text-decoration: none;
  padding: .62em .9em; border-radius: 9px; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35em;
}
.nav > a:hover, .nav > .dd > button:hover { color: var(--ink); background: var(--desk); }
.nav > a[aria-current="page"] { background: var(--blue-wash); color: var(--blue-deep); }
.nav .chev { width: 12px; height: 12px; }
.head-right { margin-left: 8px; display: flex; align-items: center; gap: 14px; }

/* Dropdown: white panel, thin border, soft shadow, opens on click, no underlines */
.dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: -8px; width: 560px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: var(--shadow-lift); padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px;
}
.dd-group { display: grid; align-content: start; gap: 2px; }
.dd-label { font-size: .78rem; font-weight: 600; color: var(--ink-3); padding: 8px 12px 4px; }
.dd-panel a { display: block; text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 9px; }
.dd-panel a:hover { background: var(--desk); color: var(--ink); }
.dd-panel a small { display: block; color: var(--ink-3); font-size: .84rem; line-height: 1.35; }
.dd-panel a strong { font-weight: 600; font-size: .96rem; }
.dd button[aria-expanded="true"] { background: var(--desk); color: var(--ink); }

.menu-btn { display: none; }
@media (max-width: 1020px) {
  .nav, .head-right .avail { display: none; }
  .menu-btn { display: inline-flex; margin-left: 10px; }
  .head-right { margin-left: auto; }
  .site-head.open .nav {
    display: grid; position: absolute; top: 72px; left: 16px; right: 16px; margin: 0;
    background: var(--paper); box-shadow: var(--shadow-lift); border-radius: var(--r-m); padding: 8px;
  }
  .site-head.open .nav > a, .site-head.open .nav > .dd > button { width: 100%; padding: .9em 1em; font-size: 1.05rem; }
  .dd-panel { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 6px; }
}
@media (max-width: 480px) { .head-right .btn { display: none; } .menu-btn { margin-left: auto; } }

/* ---------- Sections ---------- */
.band { padding-block: 104px; }
.band--desk { background: var(--desk); border-block: 1px solid var(--line); }
.band--tight { padding-block: 72px; }
@media (max-width: 700px) { .band { padding-block: 64px; } }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.sec-head p { color: var(--ink-2); font-size: 1.12rem; }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 88px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { max-width: 13ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-3); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45em; }
.hero-meta svg { width: 16px; height: 16px; color: var(--green); }
.portrait {
  aspect-ratio: 4 / 5; width: 100%; max-width: 420px; justify-self: end; margin: 0;
  border-radius: var(--r-l); background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, var(--desk) 60%, var(--desk-deep) 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-lift);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.portrait-ph { text-align: center; color: var(--ink-3); display: grid; gap: 10px; justify-items: center; padding: 24px; }
.portrait-ph .face { width: 132px; height: 132px; border-radius: 50%; background: var(--paper); border: 2px dashed var(--line); display: grid; place-items: center; font-weight: 800; font-size: 2.6rem; color: var(--ink-3); letter-spacing: -0.04em; }
.portrait-tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: var(--paper); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-soft);
  display: grid; grid-template-columns: 1fr; gap: 2px; font-size: .92rem;
}
.portrait-tag b { font-size: 1rem; }
.portrait-tag .avail { grid-row: span 2; border: 0; padding: 0; background: none; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 320px; }
  .portrait-tag { grid-template-columns: 1fr; }
  .portrait-tag .avail { grid-row: auto; order: 3; }
}

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof .wrap > div { padding: 32px 24px; border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.proof .wrap > div:first-child { border-left: 0; padding-left: 0; }
.proof b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--blue); margin-bottom: 8px; }
.proof strong { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.proof span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
@media (max-width: 760px) {
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .proof .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Featured build (laptop mockup, used once) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.device-stage { position: relative; padding: 0 5% 40px; }
.laptop { position: relative; }
.laptop-lid {
  background: #1d2129; border-radius: 18px 18px 6px 6px; padding: 14px 14px 18px;
  box-shadow: inset 0 0 0 1px #2c323d, var(--shadow-lift);
}
.laptop-lid img { border-radius: 4px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.laptop-base {
  height: 18px; margin: 0 -5%; border-radius: 0 0 16px 16px;
  background: linear-gradient(#d9dde4, #b9bfc9); box-shadow: 0 14px 30px -12px rgba(20,25,34,.45);
  position: relative;
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 7px; transform: translateX(-50%); background: #a7aeb9; border-radius: 0 0 8px 8px; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 25%;
  background: #1d2129; border-radius: 26px; padding: 8px; box-shadow: var(--shadow-lift), inset 0 0 0 1px #2c323d;
}
.phone img { border-radius: 19px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; }
.pin {
  position: absolute; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: .9rem;
  display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.95), 0 6px 14px -4px rgba(215,38,61,.6);
}
.notes { display: grid; gap: 22px; }
.notes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.notes li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.notes li .pin { position: static; box-shadow: 0 0 0 3px var(--red-wash); color: #fff; font-size: .9rem; }
.notes li b { display: block; }
.notes li span { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } .phone { right: 0; } }

/* ---------- Horizontal work rows ---------- */
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.row-head h3 { font-size: 1.3rem; }
.row-head p { color: var(--ink-2); font-size: .98rem; }
.rail {
  --show: 3.4; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px * (var(--show) - 1)) / var(--show)); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 6px 2px 22px; margin-bottom: 40px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail > * { scroll-snap-align: start; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m);
  overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.card:hover { color: var(--ink); border-color: #c8d0db; box-shadow: var(--shadow-lift); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--line); }
.card-body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.card-body h4 { margin: 0; font-size: 1.05rem; letter-spacing: -0.01em; }
.card-body p { color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.tag { justify-self: start; font-size: .78rem; font-weight: 600; color: var(--blue); background: var(--blue-wash); border-radius: 6px; padding: .2em .55em; }
.card--private { background: var(--ink); color: #fff; border-color: var(--ink); grid-template-rows: 1fr; }
.card--private:hover { color: #fff; }
.card--private .card-body { padding: 26px; gap: 12px; align-content: space-between; height: 100%; }
.card--private p { color: #c3cad6; }
.card--private .lock { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.card--private .lock svg { width: 20px; height: 20px; }
.card--private .tag { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- After the click ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-bottom: 44px; counter-reset: step; }
.flow li { list-style: none; position: relative; padding: 20px 18px 0 0; display: grid; gap: 6px; }
.flow li::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; box-shadow: var(--shadow-soft);
}
.flow li::after { content: ""; position: absolute; top: 37px; left: 42px; right: 8px; height: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow li.is-you::before { background: var(--blue); color: #fff; border-color: var(--blue); }
.flow b { font-size: 1.02rem; }
.flow span { color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.flow { padding: 0; margin-top: 0; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow li { grid-template-columns: 34px 1fr; column-gap: 14px; padding: 0; }
  .flow li::before { grid-row: span 2; }
  .flow li::after { display: none; }
}

.report { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-lift); overflow: hidden; }
.report-top { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.report-top h3 { font-size: 1.08rem; }
.report-top .muted { font-size: .9rem; }
.sample { font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--desk); border: 1px solid var(--line); border-radius: 6px; padding: .2em .6em; }
.report-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.report-sum div { padding: 16px 24px; border-left: 1px solid var(--line); }
.report-sum div:first-child { border-left: 0; }
.report-sum b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.report-sum span { font-size: .88rem; color: var(--ink-2); }
.table-scroll { overflow-x: auto; }
.report table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 680px; }
.report th { text-align: left; font-weight: 600; font-size: .82rem; color: var(--ink-3); padding: 12px 24px; background: var(--desk); border-bottom: 1px solid var(--line); }
.report td { padding: 13px 24px; border-bottom: 1px solid var(--line); }
.report tr:last-child td { border-bottom: 0; }
.report td.page { color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: .4em; font-size: .84rem; font-weight: 600; border-radius: 999px; padding: .22em .7em; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--job { color: var(--green); background: #e7f5ed; }
.pill--quote { color: var(--blue); background: var(--blue-wash); }
.pill--missed { color: #a35a00; background: #fff3e0; }
.pill--spam { color: var(--ink-3); background: var(--desk); }
@media (max-width: 640px) { .report-sum { grid-template-columns: 1fr 1fr; } .report-sum div:nth-child(3) { border-left: 0; } .report-sum div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Toolkit desk ---------- */
.desk {
  background: var(--desk); border: 1px solid var(--line); border-radius: 28px; padding: 28px;
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start;
}
.widget { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-soft); padding: 18px; }
.w-clock { display: grid; gap: 4px; }
.w-clock .time { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.w-clock .city { font-size: .9rem; color: var(--ink-2); }
.w-clock .status { margin-top: 10px; font-size: .86rem; font-weight: 600; display: inline-flex; align-items: center; gap: .45em; }
.w-clock .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.w-clock .status.off::before { background: var(--ink-3); }
.w-cal .mon { font-size: .82rem; font-weight: 700; color: var(--red); }
.w-cal .big { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 10px; }
.w-cal .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-size: .72rem; text-align: center; color: var(--ink-3); }
.w-cal .grid i { font-style: normal; padding: 3px 0; border-radius: 5px; }
.w-cal .grid .x { background: var(--desk); color: var(--ink-3); text-decoration: line-through; }
.w-cal .grid .open { background: var(--blue); color: #fff; font-weight: 700; }
.w-cal .note { font-size: .82rem; color: var(--ink-2); margin-top: 10px; }
.w-now { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; grid-column: 1 / 3; }
.w-now img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; object-position: top left; }
.w-now small { color: var(--ink-3); font-size: .8rem; }
.w-now b { display: block; font-size: 1rem; }
.w-now span { color: var(--ink-2); font-size: .88rem; }
.dock { grid-column: 2; grid-row: 1; display: grid; gap: 16px; }
.dock-group { display: grid; gap: 8px; }
.dock-group h4 { margin: 0; font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.apps { display: flex; flex-wrap: wrap; gap: 8px; }
.app {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--paper); border-radius: 12px; padding: .5em .8em .5em .6em;
  font-size: .9rem; font-weight: 600; box-shadow: 0 1px 2px rgba(20,25,34,.08), 0 0 0 1px var(--line);
}
.app img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.app i {
  font-style: normal; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: var(--ink); background: var(--desk);
}
@media (max-width: 960px) {
  .desk { grid-template-columns: 1fr; }
  .w-now { grid-column: 1 / -1; }
  .dock { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 520px) { .desk { grid-template-columns: 1fr; padding: 16px; border-radius: 20px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px;
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; box-shadow: var(--shadow-soft);
}
.plan--main { border: 2px solid var(--blue); box-shadow: var(--shadow-lift); position: relative; }
.plan-flag { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 700; padding: .3em .75em; border-radius: 8px; }
.plan h3 { font-size: 1.25rem; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan .for { color: var(--ink-2); font-size: .97rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; font-size: .96rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.plan .btn { justify-content: center; }
.draft-note { display: inline-block; font-size: .78rem; font-weight: 600; color: #a35a00; background: #fff3e0; border-radius: 6px; padding: .15em .5em; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

.compare-scroll { overflow-x: auto; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-soft); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .95rem; background: var(--desk); }
.compare thead th.me { color: var(--blue); }
.compare td:first-child { font-weight: 600; width: 34%; }
.compare td { font-size: .96rem; color: var(--ink-2); }
.compare td.me { color: var(--ink); background: #f7f9fe; }
.compare tr:last-child td { border-bottom: 0; }

/* ---------- Steps + FAQ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: "Step " counter(s); font-size: .85rem; font-weight: 700; color: var(--blue); }
.steps li span { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 600; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- Closing CTA ---------- */
.closer { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.closer h2 { color: #fff; }
.closer p { color: #c3cad6; margin-top: 12px; max-width: 34em; }
.closer .avail { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.closer .avail::before { box-shadow: 0 0 0 3px rgba(215,38,61,.3); }
.closer-act { display: grid; gap: 14px; justify-items: start; }
@media (max-width: 860px) { .closer { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--desk); border-top: 1px solid var(--line); padding-block: 64px 32px; margin-top: 104px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-id { display: grid; gap: 16px; align-content: start; justify-items: start; }
.foot-id .who { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.foot-id .mini { width: 56px; height: 56px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--ink-3); }
.foot-id p { color: var(--ink-2); font-size: .96rem; max-width: 30em; }
.foot-col h4 { margin: 0 0 12px; font-size: .9rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: .96rem; }
.foot-col a:hover { color: var(--blue); text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--ink-3); font-size: .88rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-id { grid-column: 1 / -1; } }

/* ---------- Apply form ---------- */
.apply-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.apply-side { display: grid; gap: 22px; position: sticky; top: 104px; }
.apply-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.apply-side li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.apply-side li svg { width: 18px; height: 18px; color: var(--blue); margin-top: 4px; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; box-shadow: var(--shadow-lift); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: .98rem; }
.field .hint { font-size: .88rem; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8em .9em; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-wash); }
.field textarea { min-height: 120px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { font-weight: 600; font-size: .94rem; position: relative; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; padding: .6em .95em; border-radius: 10px; border: 1.5px solid var(--line); cursor: pointer; background: var(--paper); }
.choices span:hover { background: var(--desk); }
.choices input:checked + span { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-deep); }
.choices input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.notice { border-radius: 12px; padding: 16px 18px; font-size: .96rem; }
.notice--soft { background: var(--desk); border: 1px solid var(--line); color: var(--ink-2); }
.notice--ok { background: #e7f5ed; border: 1px solid #bfe3cd; color: #155f37; }
@media (max-width: 860px) { .apply-wrap { grid-template-columns: 1fr; } .apply-side { position: static; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } .form { padding: 22px 18px; } }

.page-hero { padding-block: 72px 56px; }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero h1 { max-width: 20ch; }

/* ---------- Service pages ---------- */
.page-hero .btn-row { margin-top: 6px; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.benefits > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; row-gap: 6px; align-content: start; }
.benefits > div > svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; grid-row: span 2; }
.benefits h3 { font-size: 1.1rem; }
.benefits p { color: var(--ink-2); font-size: .98rem; }
.benefits--list { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .steps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps--4 { grid-template-columns: 1fr; } }

/* ---------- Portfolio: sticky sidebar filters + grid ---------- */
.portfolio { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 32px; }
.filters { position: sticky; top: 96px; display: grid; gap: 24px; }
.filter-group h4 { margin: 0 0 8px; font-size: .85rem; font-weight: 600; color: var(--ink-3); }
.filter-list { display: grid; gap: 2px; }
.filter {
  font: 600 .95rem/1.2 var(--font); color: var(--ink-2); text-align: left;
  background: none; border: 0; border-radius: 9px; padding: .6em .75em; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.filter span { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.filter:hover { background: var(--desk); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--blue-wash); color: var(--blue-deep); }
.filter[aria-pressed="true"] span { color: var(--blue); }
.result-count { color: var(--ink-3); font-size: .92rem; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .portfolio { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .filters, .filter-group { min-width: 0; }
  .filters { position: static; gap: 12px; }
  .filter-list { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .filter { white-space: nowrap; border: 1px solid var(--line); background: var(--paper); }
}
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.nav-contact { display: none !important; }
@media (max-width: 1020px) { .site-head.open .nav .nav-contact { display: inline-flex !important; } }

/* Rails: always leave a partly visible card at the edge so scrolling is obvious */
@media (max-width: 1100px) { .rail { --show: 2.4; } }
@media (max-width: 640px) { .rail { --show: 1.25; } }

/* ---------- Pro bono ---------- */
.probono { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.probono-copy { display: grid; gap: 18px; justify-items: start; }
.probono-copy p { color: var(--ink-2); font-size: 1.12rem; max-width: 34em; }
.probono-who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.probono-who > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: grid; gap: 6px; align-content: start; box-shadow: var(--shadow-soft); }
.probono-who h3 { font-size: 1.05rem; }
.probono-who p { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 900px) { .probono { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .probono-who { grid-template-columns: 1fr; } }

.hero .lede .no { color: var(--ink); font-weight: 700; }
.hero .lede + .lede { margin-top: -10px; color: var(--ink); }

.portrait { place-items: end center; }
.portrait-img { width: 88%; height: auto; margin-bottom: 0; align-self: end; }
.portrait .portrait-tag { z-index: 1; }
.portrait-img { width: 100%; }
.portrait .portrait-tag { top: 16px; bottom: auto; right: auto; left: 16px; padding: 10px 14px; }
.portrait { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
/* Puppet stands on the proof strip */
.hero { padding-bottom: 0; }
.hero .wrap { align-items: end; }
.hero-copy { padding-bottom: 88px; }
.portrait-img { display: block; }
@media (max-width: 860px) { .hero-copy { padding-bottom: 8px; } .portrait { max-width: 360px; } }

/* ---------- Felt accents: badge, primary buttons, active nav underline ---------- */
:root {
  --felt-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 -0.36'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --felt-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0.1  0 0 0 0.7 -0.34'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.btn:not(.btn--ghost), .brand-mark { background: transparent; isolation: isolate; position: relative; }
.btn:not(.btn--ghost)::before, .brand-mark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--felt-light), var(--felt-dark), var(--b-bg, var(--blue));
  filter: url(#felt-edge);
}
.btn:not(.btn--ghost)::after {
  content: ""; position: absolute; inset: 4px; border-radius: 8px; pointer-events: none;
  border: 1.5px dashed rgba(255, 255, 255, .42);
}
.btn--small:not(.btn--ghost)::after { inset: 3px; border-radius: 7px; border-width: 1.25px; }
/* Gentle press on hover, deeper on click. Instant, no easing. */
.btn:hover { top: 1px; box-shadow: 0 2px 0 var(--b-lip), 0 8px 16px -10px rgba(31, 79, 209, .6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--ghost:hover { box-shadow: 0 2px 0 var(--b-lip), inset 0 0 0 1.5px var(--line), 0 6px 14px -12px rgba(20,25,34,.3); }
.btn:active { top: 3px; }

.nav > a { position: relative; }
.nav > a[aria-current="page"] { background: none; color: var(--ink); }
.nav > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -3px; height: 5px; border-radius: 5px;
  background: var(--felt-light), var(--felt-dark), var(--blue);
  filter: url(#felt-edge);
}
.nav > a:hover { background: var(--desk); }
@media (max-width: 1020px) {
  .site-head.open .nav > a[aria-current="page"]::after { left: 1em; right: auto; width: 2.5em; bottom: 4px; }
}

/* Mobile hero: puppet beside the copy, on screen at load, pointing up at the headline */
@media (max-width: 860px) {
  .hero { padding-block: 28px 36px; }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    grid-template-areas: "title title" "lede pup" "btns btns" "meta meta";
    column-gap: 4px; row-gap: 20px; align-items: end;
  }
  .hero-copy { display: contents; }
  .hero h1 { grid-area: title; max-width: none; font-size: clamp(2.05rem, 8.4vw, 3.2rem); }
  .hero .lede { grid-area: lede; align-self: center; font-size: 1rem; line-height: 1.55; }
  .hero .btn-row { grid-area: btns; }
  .hero-meta { grid-area: meta; }
  .portrait { grid-area: pup; max-width: none; width: auto; justify-self: stretch; margin-right: -16px; aspect-ratio: auto; }
  .portrait-img { width: 100%; }
}
.hero h1 span { display: block; }

/* ---------- Hero: puppet points at the three services (desktop) ---------- */
@media (min-width: 861px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; }
  .portrait { position: relative; display: block; max-width: 600px; width: 100%; justify-self: end; aspect-ratio: auto; }
  .portrait-img { width: 92%; margin: 24px 0 0 auto; }
  .hero-props { position: absolute; top: 0; left: 0; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; justify-items: start; }
  .hero-props li {
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
    padding: 9px 14px 9px 10px; font-weight: 700; font-size: 1.05rem; box-shadow: var(--shadow-soft);
  }
  .hero-props svg { width: 18px; height: 18px; color: var(--blue); }
}
@media (max-width: 860px) { .hero-props { display: none; } }

/* ---------- Featured: benefits called out on the mockup ---------- */
.showcase { position: relative; }
.stage { position: relative; width: 60%; margin: 0 10% 0 auto; padding-bottom: 96px; }
.stage .laptop { width: 100%; }
.stage .phone { position: absolute; right: -9%; bottom: 0; width: 24%; background: #1d2129; border-radius: 26px; padding: 7px; box-shadow: var(--shadow-lift), inset 0 0 0 1px #2c323d; }
.stage .phone img { border-radius: 19px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; }
.screen { position: relative; }
.laptop-lid .screen img { border-radius: 4px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }

.co { position: absolute; top: var(--y); display: flex; align-items: center; transform: translateY(-50%); pointer-events: none; z-index: 2; }
.co--left { right: calc(100% - 10.5%); left: -300px; }
.co--below { left: 50%; transform: translateX(-50%); flex-direction: column; }
.co--below .co-line { flex: none; min-width: 0; width: 2px; height: 104px; }
.co-line { flex: 1; min-width: 24px; height: 2px; background: var(--blue); opacity: .55; }
.co-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 0 7px rgba(31,79,209,.25); flex: none; }
.co-chip {
  flex: none; width: max-content; max-width: 300px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--shadow-soft); display: grid; gap: 2px;
}
.co-chip b { font-size: .93rem; line-height: 1.25; white-space: nowrap; }
.co-chip span { white-space: nowrap; }
.co-chip span { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.co-list { display: none; }

@media (max-width: 1100px) {
  .stage { width: 88%; margin: 0 auto; padding-bottom: 36px; }
  .stage .phone { right: -4%; }
  .co { display: none; }
  .co-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; padding: 0; margin: 40px 0 0; }
  .co-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--blue); }
  .co-list b { font-size: 1rem; }
  .co-list span { color: var(--ink-2); font-size: .94rem; }
}
@media (max-width: 560px) { .co-list { grid-template-columns: 1fr; } .stage { width: 92%; } }
@media (min-width: 861px) { .hero-meta { flex-wrap: nowrap; gap: 10px 20px; white-space: nowrap; } }

/* Mobile: puppet floats behind the copy and the text wraps around his outline */
.hero-float { display: none; }
@media (max-width: 860px) {
  .hero .wrap { display: block; }
  .hero-copy { display: block; }
  .hero-copy > * + * { margin-top: 20px; }
  .portrait { display: none; }
  .hero-float {
    display: block; float: right; width: 58%; max-width: 300px; height: auto;
    margin: -48px -16px 0 8px; position: relative; z-index: 0;
    shape-outside: url(img/portrait.webp); shape-image-threshold: 0.4; shape-margin: 6px;
  }
  .hero h1 { font-size: clamp(2.05rem, 8.6vw, 3.2rem); }
  .hero .lede { font-size: 1rem; }
  .hero .btn-row { padding-top: 4px; }
  .hero-meta { clear: both; }
}
.hero h1 { position: relative; z-index: 1; }

/* ---------- Toolkit: puppet leans on the logo panel ---------- */
/* Image is 640x1297. In avatar widths (W): elbow underside 0.70W from top,
   hand x 0.69-0.86W / bottom 0.94W, hoodie right edge 0.66W, total height 2.03W. */
#desk .wrap { container-type: inline-size; }
.kit { --a: 36cqi; }
.kit-h {
  margin: 0; padding-left: calc(var(--a) * 0.78); min-height: calc(var(--a) * 0.70);
  display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-bottom: 20px; box-sizing: border-box;
}
.kit-h h2 { margin: 0; font-size: clamp(1.7rem, 2.55vw, 2.3rem); text-wrap: wrap; }
.kit-h p { margin: 0; color: var(--ink-2); font-size: 1.08rem; max-width: 46em; }
.kit-panel {
  position: relative; margin-left: calc(var(--a) * 0.64);
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft);
  padding: 18px 28px 28px 24px;
  min-height: calc(var(--a) * 1.33);
}
.kit-av { position: absolute; left: calc(var(--a) * -0.64); top: calc(var(--a) * -0.70); width: var(--a); height: auto; z-index: 2; pointer-events: none; }
.kit-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.kit-col { display: grid; gap: 18px; align-content: start; }
.kit-groups .dock-group { display: grid; gap: 8px; }
.kit-groups h4 { margin: 0; font-size: .82rem; font-weight: 600; color: var(--ink-3); }
/* The hand rests on the first badge; its label starts just past the fingers */
.kit-col:first-child .dock-group:first-child h4 { padding-left: calc(var(--a) * 0.20); }
@media (max-width: 1100px) { .kit-groups { grid-template-columns: 1fr; } .kit-col + .kit-col { margin-top: 18px; } }

.kit-toggle { display: none; }
/* Avatar keeps the same share of the width at every size; badges scale smoothly with it */
.kit-groups .apps { gap: clamp(4px, 0.7cqi, 8px); }
.kit-groups .app { font-size: clamp(.72rem, 0.55cqi + .6rem, .9rem); padding: .42em .7em .42em .5em; border-radius: clamp(8px, 1cqi, 12px); gap: .45em; }
.kit-groups .app img { width: clamp(14px, 1cqi + 10px, 22px); height: clamp(14px, 1cqi + 10px, 22px); }
.kit-groups h4 { font-size: clamp(.7rem, 0.3cqi + .62rem, .82rem); }
.kit-panel { padding: clamp(10px, 1.5cqi, 18px) clamp(10px, 2.4cqi, 28px) clamp(12px, 2.4cqi, 28px) clamp(10px, 2cqi, 24px); border-radius: clamp(16px, 2cqi, 24px); }
@media (max-width: 760px) {
  .kit-h { padding: 0 0 12px; min-height: 0; align-items: flex-end; text-align: right; gap: 0; }
  .kit-h h2 { font-size: clamp(1.25rem, 5.6vw, 1.5rem); line-height: 1.15; margin-bottom: 8px; }
  .kit-h p { font-size: .86rem; line-height: 1.45; padding-left: calc(var(--a) * 0.80); min-height: calc(var(--a) * 0.56); text-wrap: pretty; }
  .kit-col { gap: 12px; }
  .kit-col + .kit-col { margin-top: 12px; }
  .kit-groups .dock-group { gap: 5px; }
}
@media (min-width: 761px) { .kit-h { align-items: flex-end; text-align: right; justify-content: flex-end; padding-bottom: 26px; } .kit-h p { max-width: none; text-wrap: pretty; } }
@media (min-width: 761px) { .kit-h { padding-left: calc(var(--a) * 0.98); } .kit-h h2 { font-size: clamp(1.45rem, 2.55cqi + .3rem, 2.3rem); } .kit-h p { font-size: clamp(.92rem, .6cqi + .7rem, 1.08rem); } }

/* Phones: one-sentence intro, key tools only, the rest behind "Show all" */
@media (max-width: 760px) {
  .kit-more-text { display: none; }
  .kit:not(.open) .kit-groups .app:not(.key) { display: none; }
  .kit-groups .apps { gap: 4px; }
  .kit-groups .app { font-size: .68rem; padding: .3em .5em .3em .38em; border-radius: 7px; gap: .32em; }
  .kit-groups .app img { width: 12px; height: 12px; }
  .kit-groups h4 { font-size: .66rem; }
  .kit-col, .kit-col + .kit-col { gap: 9px; margin-top: 0; }
  .kit-col + .kit-col { margin-top: 9px; }
  .kit-groups .dock-group { gap: 4px; }
  .kit-toggle {
    display: flex; justify-content: center; width: 100%; margin-top: 12px;
    font: 700 .78rem/1 var(--font); color: var(--blue-deep); background: var(--blue-wash);
    border: 0; border-radius: 9px; padding: 10px; cursor: pointer;
  }
  .kit .t-less, .kit.open .t-more { display: none; }
  .kit.open .t-less { display: inline; }
}

/* ---------- Footer CTA: the crew stands taller than the box ---------- */
.closer { position: relative; display: block; margin-top: 110px; padding: 56px 56px; min-height: 300px; overflow: visible; }
.closer-copy { position: relative; z-index: 1; max-width: 46%; display: grid; gap: 0; }
.closer-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.closer-act { margin-top: 26px; }
.closer-crew { position: absolute; right: 2%; bottom: 0; width: 52%; height: auto; max-width: 640px; pointer-events: none; }
@media (max-width: 860px) {
  .closer { margin-top: 70px; padding: 0 22px 30px; min-height: 0; display: flex; flex-direction: column-reverse; }
  .closer-crew { position: static; width: 108%; max-width: 480px; margin: -78px auto 6px; align-self: center; }
  .closer-copy { max-width: none; }
}

/* Footer CTA: blue felt */
.closer { background: #1f4fd1 url(img/felt-blue.webp) center / cover; }
.closer h2 { color: #fff; text-shadow: 0 1px 2px rgba(0, 20, 80, .3); }
.closer p { color: #e6ecff; text-shadow: 0 1px 2px rgba(0, 20, 80, .3); }
.closer .btn { --b-bg: #fff; --b-lip: #b9c8f5; color: var(--blue-deep); }
.closer .btn:hover { color: var(--blue-deep); }
.closer .btn:not(.btn--ghost)::before { background: #fff; }
.closer .btn:not(.btn--ghost)::after { border-color: rgba(22, 58, 161, .28); }
.closer .btn .ico { background: var(--blue-wash); }
/* Hero: tighter top, puppet 10% smaller */
@media (min-width: 861px) {
  .hero { padding-top: 32px; }
  .portrait-img { width: 83%; margin-top: 0; }
  .hero-copy { align-self: center; padding-block: 24px 40px; }
}

.proof strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.015em; color: var(--blue); }
@media (max-width: 860px) { .hero-float { margin-top: 4px; } }
@media (max-width: 560px) {
  .proof .wrap { grid-template-columns: 1fr; }
  .proof .wrap > div, .proof .wrap > div:nth-child(3) { border-left: 0; padding: 20px 0; }
  .proof .wrap > div + div { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) { .hero .btn-row { clear: both; } .hero .btn { white-space: nowrap; } }

/* ---------- Featured: one workspace scene, callouts on the left ---------- */
/* Design grid 1200 x 675. Laptop lid x 432-1128, screen image x 446-1114 / y 74-491.5, deck to y 558. */
.scene {
  position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden;
  container-type: inline-size; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.scene-wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    linear-gradient(115deg, rgba(255,255,255,0) 52%, rgba(255,255,255,.55) 60%, rgba(255,255,255,0) 68%),
    linear-gradient(180deg, #eef1f5 0%, #e6eaf0 70%);
  filter: blur(2px);
}
.scene-desk {
  position: absolute; left: 0; right: 0; bottom: 0; height: 23%;
  background: linear-gradient(180deg, #f6f7f9 0%, #e9ecf0 18%, #dfe3e9 100%);
  box-shadow: 0 -1px 0 rgba(255,255,255,.9), 0 -14px 30px -18px rgba(20,25,34,.18);
}
.rig { position: absolute; left: 36%; width: 58%; top: 8.9%; }
.rig-lid { background: #22262e; border-radius: 1.6cqi 1.6cqi .4cqi .4cqi; padding: 1.17cqi 1.17cqi 1.4cqi; box-shadow: inset 0 0 0 1px #343a45, 0 2cqi 4cqi -1.5cqi rgba(20,25,34,.35); }
.rig-screen { position: relative; }
.rig-screen img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: .3cqi; }
.rig-deck { position: relative; height: 3cqi; margin: 0 -3%; }
.rig-deck::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #c9ced6, #b6bcc6 60%, #a9b0bb);
  clip-path: polygon(1.5% 0, 98.5% 0, 100% 100%, 0 100%); border-radius: 0 0 .6cqi .6cqi;
}
.rig-deck i { position: absolute; left: 6%; right: 6%; top: 12%; height: 52%; border-radius: .3cqi;
  background: repeating-linear-gradient(90deg, #8f96a2 0 2.6%, #a5acb7 2.6% 3.3%); opacity: .55;
  clip-path: polygon(0.8% 0, 99.2% 0, 100% 100%, 0 100%); }
.rig::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -1.6cqi; height: 2cqi; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,25,34,.28), rgba(20,25,34,0)); z-index: -1; }

.hot {
  position: absolute; transform: translate(-50%, -50%); width: 1.25cqi; height: 1.25cqi; min-width: 12px; min-height: 12px;
  border-radius: 50%; background: var(--blue); font-size: 0; color: #fff; font-weight: 800;
  box-shadow: 0 0 0 .35cqi rgba(255,255,255,.95), 0 0 0 .7cqi rgba(31,79,209,.28);
  display: grid; place-items: center; z-index: 2;
}
.scene-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.scene-lines path { fill: none; stroke: var(--blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .7; }
.scene-notes { list-style: none; margin: 0; padding: 0; }
.scene-notes li {
  position: absolute; left: 4%; width: 28%; top: calc(var(--y) / 675 * 100%); transform: translateY(-50%);
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 1.1cqi; box-shadow: var(--shadow-soft);
  padding: 1.1cqi 1.4cqi; display: grid; gap: .25cqi; z-index: 2;
}
.scene-notes b { font-size: clamp(.85rem, 1.45cqi, 1.1rem); line-height: 1.25; }
.scene-notes span { font-size: clamp(.78rem, 1.15cqi, .95rem); color: var(--ink-2); line-height: 1.4; }

/* Phones and narrow tablets: same scene, numbered markers, notes listed underneath */
@media (max-width: 900px) {
  .scene { aspect-ratio: 4 / 3; overflow: visible; border-radius: 22px; }
  .scene-wall, .scene-desk { border-radius: inherit; }
  .scene-wall { inset: 0; overflow: hidden; }
  .rig { left: 7%; width: 86%; top: 12%; }
  .scene-lines { display: none; }
  .hot { width: 22px; height: 22px; font-size: .72rem; box-shadow: 0 0 0 3px rgba(255,255,255,.95); }
  .scene-notes { position: absolute; left: 0; right: 0; top: calc(100% + 18px); display: grid; gap: 12px; counter-reset: n; }
  .scene-notes li { position: static; transform: none; width: auto; padding: 0 0 0 36px; background: none; border: 0; box-shadow: none; gap: 2px; counter-increment: n; position: relative; }
  .scene-notes li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
  .scene-notes b { font-size: 1rem; } .scene-notes span { font-size: .94rem; }

}
@media (max-width: 900px) {
  .hot--l { transform: translate(-100%, -50%); }
  .hot--r { transform: translate(0, -50%); }

}

/* ---------- Featured: annotated FindSolar scene ---------- */
/* Image is 1774 x 887; hotspots, lines and cards are placed in those image coordinates. */
.ann { position: relative; margin: 0; container-type: inline-size; }
.ann-stage { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.ann-img { display: block; width: 100%; height: auto; }
.ann-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ann-lines path { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ann-hot {
  position: absolute; width: clamp(14px, 1.5cqi, 24px); height: clamp(14px, 1.5cqi, 24px); transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; border: clamp(3px, .38cqi, 6px) solid var(--red);
  box-shadow: 0 0 0 clamp(3px, .3cqi, 5px) rgba(215, 38, 61, .22), 0 2px 6px rgba(20,25,34,.25);
}
.ann-cards { list-style: none; margin: 0; padding: 0; }
.ann-card {
  position: absolute; width: 17.5%; transform: translateY(-50%);
  display: grid; grid-template-columns: auto 1fr; gap: .8cqi; align-items: start;
  background: rgba(255,255,255,.97); border-radius: 1.2cqi; padding: 1cqi 1.2cqi;
  box-shadow: 0 1px 2px rgba(20,25,34,.08), 0 10px 26px -12px rgba(20,25,34,.28);
}
.ann-card--4 { width: 25%; transform: none; }
.ann-num {
  width: clamp(22px, 2.1cqi, 36px); height: clamp(22px, 2.1cqi, 36px); border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: clamp(.8rem, 1.2cqi, 1.2rem);
}
.ann-card b { display: block; font-size: clamp(.84rem, 1.28cqi, 1.2rem); line-height: 1.2; letter-spacing: -0.01em; }
.ann-card div span { display: block; margin-top: .3cqi; font-size: clamp(.74rem, .98cqi, .95rem); line-height: 1.4; color: var(--ink-2); }
#featured .wrap { padding-bottom: 40px; }

/* Narrow screens: full image, then the four notes as a list. No connector lines. */
@media (max-width: 1000px) {
  .ann-lines { display: none; }
  .ann-hot { display: none; }
  .ann-cards { display: grid; gap: 14px; margin-top: 22px; }
  .ann-card, .ann-card--4 { position: static; width: auto; transform: none; padding: 14px 16px; border-radius: 14px; gap: 12px; border: 1px solid var(--line); box-shadow: none; }
  .ann-num { width: 28px; height: 28px; font-size: .85rem; }
  .ann-card b { font-size: 1.02rem; } .ann-card div span { font-size: .94rem; margin-top: 3px; }
  #featured .wrap { padding-bottom: 0; }
}
@media (min-width: 640px) and (max-width: 1000px) { .ann-cards { grid-template-columns: 1fr 1fr; } }
.sec-head--wide { max-width: none; }

/* ---------- Portfolio rows (homepage + portfolio page) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#work .sec-head { margin-bottom: 44px; }
#work .row-head { align-items: end; margin: 0 0 18px; }
#work .row-head h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.02em; }
#work .row-head p { color: var(--ink-2); font-size: .98rem; margin-top: 4px; }
#directories { margin-top: 28px; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--paper); color: var(--blue); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn:hover { background: var(--blue-wash); }
.rail-btn:not(:disabled):last-child { background: var(--blue); color: #fff; border-color: var(--blue); }
.rail-btn:disabled { color: var(--ink-3); cursor: default; box-shadow: none; opacity: .6; }
.rail { scrollbar-width: auto; scrollbar-color: #c3c9d2 #e6e9ee; padding-bottom: 18px; }
.rail::-webkit-scrollbar { height: 10px; }
.rail::-webkit-scrollbar-track { background: #e6e9ee; border-radius: 10px; }
.rail::-webkit-scrollbar-thumb { background: #c3c9d2; border-radius: 10px; }
.rail::-webkit-scrollbar-thumb:hover { background: #aab1bc; }
.card { grid-template-rows: auto 1fr; position: relative; border-radius: 16px; }
.card:hover { box-shadow: var(--shadow-lift); }
.card img { aspect-ratio: 16 / 7.6; }
.card-body { padding: 18px 22px 22px; gap: 8px; grid-template-rows: auto auto 1fr auto; }
.card-meta { font-size: .86rem; color: var(--ink-2); }
.card-body h4 { font-size: clamp(1.2rem, 1.55vw, 1.4rem); line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
.card-body p:not(.card-meta) { font-size: .98rem; color: var(--ink-2); line-height: 1.5; }
.card-link { font-weight: 700; font-size: .98rem; color: var(--blue); text-decoration: none; margin-top: 6px; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { text-decoration: underline; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 640px) { .rail-nav { display: none; } }

/* ---------- Benefit strip under the hero ---------- */
.proof { background: #f6f7f9; border: 0; }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 40px 44px; }
.proof .wrap > .benefit { border: 0 !important; padding: 0 !important; display: grid; gap: 8px; align-content: start; }
.benefit .b-ico { width: 26px; height: 26px; color: var(--blue); margin-bottom: 4px; }
.benefit h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.benefit p { color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
@media (max-width: 1100px) { .proof .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; } .benefit p { max-width: 40ch; } }
@media (max-width: 600px) {
  .proof .wrap { grid-template-columns: 1fr; gap: 20px; padding-block: 28px 30px; }
  .proof .wrap > .benefit { grid-template-columns: 24px 1fr; column-gap: 14px; row-gap: 3px; }
  .proof .wrap > .benefit + .benefit { border-top: 0 !important; }
  .benefit .b-ico { grid-row: span 2; width: 22px; height: 22px; margin: 1px 0 0; }
  .benefit h3 { font-size: 1.08rem; }
  .benefit p { max-width: none; }
}

/* Pro bono gets its own colour: green, so it never reads as a sales button */
.btn--give { --b-bg: #1f8a4c; --b-lip: #146a38; box-shadow: 0 3px 0 var(--b-lip), 0 10px 20px -10px rgba(31, 138, 76, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--give:hover { --b-bg: #239654; }
.btn--give:hover { box-shadow: 0 2px 0 var(--b-lip), 0 8px 16px -10px rgba(31, 138, 76, .6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--give:active { box-shadow: 0 0 0 var(--b-lip), 0 4px 10px -6px rgba(31, 138, 76, .6); }
.tag--give { color: #17723f; background: #e3f4ea; }

/* Phones: toolkit shows logos only, every tool, no toggle */
@media (max-width: 760px) {
  .kit-toggle { display: none !important; }
  .kit:not(.open) .kit-groups .app:not(.key) { display: inline-flex; }
  .kit-groups .apps { gap: 5px; }
  .kit-groups .app { padding: 5px; border-radius: 8px; gap: 0; }
  .kit-groups .app img { width: 20px; height: 20px; }
  .kit-groups .app-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kit-groups h4 { font-size: .7rem; }
}
@media (max-width: 760px) { .kit .kit-groups .app:not(.m20) { display: none; } }

/* ---------- Stages: what every project includes ---------- */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stage-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 24px; display: grid; gap: 10px; align-content: start; }
.stage-n { font-size: .82rem; font-weight: 700; color: var(--blue); }
.stage-card h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.015em; }
.stage-card > p { color: var(--ink-2); font-size: .96rem; line-height: 1.5; }
.stage-card ul { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.stage-card ul li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .93rem; color: var(--ink); }
.stage-card ul svg { width: 16px; height: 16px; color: var(--green); margin-top: 3px; }
.stages-cta { margin-top: 32px; }
@media (max-width: 1000px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .stages { grid-template-columns: 1fr; gap: 14px; } .stage-card { padding: 20px; } }
.sec-head .sub-h { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; color: var(--ink); letter-spacing: -0.015em; margin-top: -4px; }

/* Phones: 20 key logos only, one flowing grid, no category headings */
@media (max-width: 760px) {
  .kit .kit-groups .app:not(.m20) { display: none !important; }
  .kit .kit-groups h4 { display: none; }
  .kit .kit-groups, .kit .kit-col, .kit .kit-groups .dock-group, .kit .kit-groups .apps { display: contents; }
  .kit .kit-groups { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; padding-top: 0; }
  .kit .kit-groups .app.m20 { padding: 4.5px; }
  .kit .kit-groups .app.m20 img { width: 18px; height: 18px; }
  .kit .kit-groups .app.m20-first { margin-left: calc(var(--a) * 0.24); }
  .kit .kit-panel { padding-top: 10px; min-height: 0; }
}

/* Pro bono: the giver puppet stands on the section's bottom edge */
#pro-bono { padding-bottom: 0; overflow: hidden; }
#pro-bono .probono { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; align-items: end; }
.probono-main { display: grid; gap: 36px; padding-bottom: 72px; }
.probono-main .probono-who { grid-template-columns: 1fr 1fr; max-width: 680px; }
.probono-giver { width: 100%; height: auto; display: block; align-self: end; }
@media (max-width: 1100px) { .probono-main .probono-who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  #pro-bono .probono { grid-template-columns: 1fr; gap: 0; }
  .probono-main { padding-bottom: 8px; }
  .probono-giver { max-width: 260px; margin: 8px auto 0; }
}
@media (max-width: 480px) { .probono-main .probono-who { grid-template-columns: 1fr; } }

/* Pro bono v2: copy | puppet | cards, puppet standing on the section's bottom edge */
#pro-bono { background: #f6f7f9; padding-block: 72px 0; overflow: hidden; }
.pb { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .72fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.pb .probono-copy { padding-bottom: 72px; align-self: center; gap: 16px; }
.pb .probono-copy h2 { font-size: clamp(1.9rem, 2.6vw, 2.35rem); }
.pb .probono-copy p { font-size: 1.05rem; }
.pb .probono-copy .pb-aside { font-style: italic; color: var(--ink-3); font-size: .98rem; }
.pb-figure { position: relative; align-self: end; }
.pb-figure .probono-giver { width: 100%; max-width: none; margin: 0; }
.pb-ghost { position: absolute; width: 27%; left: 0%; top: 38%; z-index: 1; transform: rotate(-6deg); filter: drop-shadow(0 6px 10px rgba(20,25,34,.15)); }
.pb-shock { position: absolute; width: 10%; left: -3%; top: 33%; }
.pb .probono-who { grid-template-columns: 1fr 1fr; gap: 14px; align-self: center; padding-bottom: 72px; }
.pb .probono-who > div { box-shadow: 0 1px 2px rgba(20,25,34,.05); }
@media (max-width: 1100px) {
  .pb { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .pb .probono-who { grid-column: 1 / -1; grid-row: 2; padding-bottom: 48px; }
  .pb-figure { grid-row: 1; grid-column: 2; }
}
@media (max-width: 700px) {
  .pb { grid-template-columns: 1fr; gap: 24px; }
  .pb .probono-copy { padding-bottom: 0; }
  .pb .probono-who { grid-row: auto; grid-column: auto; padding-bottom: 0; grid-template-columns: 1fr; }
  .pb-figure { grid-row: auto; grid-column: auto; max-width: 280px; margin: 0 auto; }
}
.pb .probono-who h3 { font-size: 1.02rem; } .pb .probono-who p { font-size: .9rem; } .pb .probono-who > div { padding: 18px; }

/* Giving back v3: three columns, compact band, puppet rises above the band */
#pro-bono { background: #eaf4ec; border-block: 1px solid #d5e8d9; padding-block: 0; overflow: visible; position: relative; z-index: 2; }
#pro-bono .pb { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, .75fr); gap: 40px; align-items: stretch; }
#pro-bono .probono-copy { padding-block: 40px; padding-bottom: 40px; gap: 14px; align-self: center; }
#pro-bono .probono-copy p { max-width: 32em; }
.pb-list { list-style: none; margin: 0; padding: 40px 0; display: grid; gap: 14px; align-content: center; }
.pb-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.pb-list svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: #fff; color: #1f7a3d; box-shadow: 0 1px 2px rgba(20,25,34,.08); }
#pro-bono .pb-figure { position: relative; align-self: stretch; min-height: 260px; }
#pro-bono .pb-figure .probono-giver { position: absolute; right: 0; bottom: 0; height: calc(100% + 90px); width: auto; max-width: none; margin: 0; }
@media (max-width: 1100px) { #pro-bono .pb { gap: 28px; } }
@media (max-width: 900px) {
  #pro-bono .pb { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 0 20px; }
  #pro-bono .probono-copy { grid-column: 1 / -1; padding-block: 36px 8px; }
  .pb-list { grid-column: 1; grid-row: 2; padding: 16px 0 32px; align-content: center; }
  #pro-bono .pb-figure { grid-column: 2; grid-row: 2; min-height: 0; }
  #pro-bono .pb-figure .probono-giver { position: static; width: 100%; max-width: 220px; height: auto; margin: 0 0 0 auto; display: block; }
  #pro-bono .pb-figure { align-self: end; }
}
@media (max-width: 480px) { .pb-list li { font-size: 1rem; gap: 10px; } .pb-list svg { width: 22px; height: 22px; padding: 4px; } }
@media (min-width: 901px) { #pro-bono .pb-figure { grid-row: auto; grid-column: auto; max-width: none; margin: 0; } }
@media (max-width: 900px) { #pro-bono .pb-figure { max-width: none; margin: 0; } }
#pro-bono .tag--give { background: #fff; }
@media (max-width: 900px) and (min-width: 561px) {
  #pro-bono .pb { grid-template-columns: minmax(0, 1fr) minmax(0, 230px); gap: 0 24px; }
  #pro-bono .probono-copy { grid-column: 1; grid-row: 1; padding-block: 36px 4px; }
  .pb-list { grid-column: 1; grid-row: 2; padding: 16px 0 36px; }
  #pro-bono .pb-figure { grid-column: 2; grid-row: 1 / 3; align-self: stretch; }
  #pro-bono .pb-figure .probono-giver { position: absolute; right: 0; bottom: 0; height: calc(100% + 60px); width: auto; max-width: none; }
}
@media (max-width: 560px) { #pro-bono .pb-figure .probono-giver { margin-top: -50px; } }
/* Stages v2: "01 — Research" title row, bullets only */
.stage-card { grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.stage-card .stage-n { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.015em; }
.stage-card .stage-n::after { content: " —"; color: var(--ink-3); font-weight: 600; }
.stage-card ul { grid-column: 1 / -1; }
@media (min-width: 701px) { .stages-cta { justify-content: flex-end; } }
/* Pro bono page hero with the top-hat puppet */
.pb-hero { background: #eaf4ec; border-bottom: 1px solid #d5e8d9; padding-block: 56px 0; overflow: hidden; }
.pb-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; align-items: end; }
.pb-hero-copy { display: grid; gap: 18px; justify-items: start; padding-bottom: 56px; align-self: center; }
.pb-hero .tag--give { background: #fff; }
.pb-hero-giver { width: 100%; height: auto; display: block; }
.pb-hero + .wrap { margin-top: 56px; }
@media (max-width: 700px) {
  .pb-hero { padding-top: 40px; }
  .pb-hero .wrap { grid-template-columns: minmax(0, 1fr) 130px; gap: 12px; }
  .pb-hero-copy { padding-bottom: 32px; gap: 14px; }
  .pb-hero-copy .lede { grid-column: 1 / -1; }
}
/* Portfolio page: no sidebar, logo cards */
.pf { display: grid; gap: 56px; padding-bottom: 40px; }
.pf-group { display: grid; gap: 20px; }
.pf-h { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.02em; }
.pf .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-logo { aspect-ratio: 16 / 7.6; display: grid; place-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.card .card-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; border: 0; }
@media (max-width: 1000px) { .pf .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pf .grid { grid-template-columns: minmax(0, 1fr); } .pf { gap: 40px; } }
.pf .card { min-width: 0; }
.card-logo { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.card .card-logo img { justify-self: center; max-width: 82%; max-height: 96px; }
@media (max-width: 640px) { .card .card-logo img { max-height: 84px; } }
.card .card-logo img { max-height: 124px; }
@media (max-width: 640px) { .card .card-logo img { max-height: 110px; } }
/* Numbered pins on the scene image, phones and tablets only */
.ann-pin { display: none; }
@media (max-width: 1000px) {
  .ann-pin { display: grid; place-items: center; position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; font-weight: 800; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(20,25,34,.3); }
}
@media (max-width: 480px) { .ann-pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: .72rem; } }
/* Project cards: arrow never wraps; no bold headline on phones */
.card-link { white-space: nowrap; }
@media (max-width: 640px) { .card .card-body h4 { display: none; } }
/* AI Automation page */
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proof-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 10px; align-content: start; box-shadow: 0 1px 2px rgba(20,25,34,.04); }
.proof-stat { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--blue); line-height: 1; }
.proof-card h3 { font-size: 1.15rem; }
.proof-card p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.proof-tags { font-size: .8rem; font-weight: 600; color: var(--ink-3); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.who-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 6px; align-content: start; }
.who-grid h3 { font-size: 1.05rem; }
.who-grid p { color: var(--ink-2); font-size: .94rem; }
.tool-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tool-row span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.tool-row img { width: 18px; height: 18px; object-fit: contain; }
@media (max-width: 1000px) { .proof-grid, .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .proof-grid, .who-grid { grid-template-columns: 1fr; } .proof-card { padding: 22px; } .tool-row span { padding: 6px 10px; font-size: .82rem; } }
/* Phones: niche only, bold, instead of "Business · Niche" */
.card-niche { display: none; }
@media (max-width: 640px) {
  .card .card-meta { display: none; }
  .card .card-niche { display: block; font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
}
/* Speed to lead */
.speed { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.speed-copy { display: grid; gap: 16px; justify-items: start; }
.speed-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.speed-copy p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; }
.speed-stat { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 12px; box-shadow: var(--shadow-soft); }
.speed-num { font-size: clamp(3.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; color: var(--blue); line-height: .9; }
.speed-stat p { font-size: 1.02rem; color: var(--ink); line-height: 1.5; }
.speed-src { font-size: .8rem; color: var(--ink-3); }
.lastclick { margin-top: 40px; padding: 28px 30px; border-radius: 18px; background: var(--desk); border: 1px solid var(--line); display: grid; gap: 10px; }
.lastclick h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.lastclick p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 70em; }
@media (max-width: 860px) { .speed { grid-template-columns: 1fr; gap: 24px; } .lastclick { padding: 22px; } }
/* AI Automation hero robot */
.ai-hero { padding-block: 48px 40px; }
.ai-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; align-items: center; }
.ai-hero-copy { display: grid; gap: 20px; justify-items: start; }
.ai-hero-bot { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .ai-hero .wrap { grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; align-items: start; }
  .ai-hero-copy .lede, .ai-hero-copy .btn-row { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ai-hero .wrap { grid-template-columns: 1fr; }
  .ai-hero-bot { max-width: 220px; justify-self: center; grid-row: 1; }
}
/* Web Design page */
.wd-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.wd-split .sec-head { display: grid; gap: 14px; justify-items: start; }
.wd-split .sec-head p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; }
.wd-personas { display: grid; gap: 14px; }
.wd-personas > div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 6px; box-shadow: 0 1px 2px rgba(20,25,34,.04); }
.wd-personas b { font-size: 1rem; }
.wd-personas span { color: var(--ink-2); font-style: italic; font-size: .98rem; }
.wd-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wd-three > div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.wd-three b { font-size: 1.12rem; letter-spacing: -0.01em; }
.wd-three p { color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.calc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 10px; box-shadow: var(--shadow-soft); max-width: 420px; justify-self: center; width: 100%; }
.calc-k { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.calc-h { font-size: 1.2rem; letter-spacing: -0.01em; }
.calc-l { font-size: .88rem; font-weight: 600; margin-top: 4px; }
.calc-in { font: inherit; font-size: 1.1rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; width: 100%; }
.calc-in:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.calc-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink-2); }
.calc-out { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.calc-out span { font-weight: 600; }
.calc-out strong { font-size: 2rem; letter-spacing: -0.03em; color: var(--blue); }
.calc-cta { justify-self: start; font-weight: 700; color: var(--blue); font-size: .95rem; }
@media (max-width: 900px) { .wd-split { grid-template-columns: 1fr; gap: 28px; } .wd-three { grid-template-columns: 1fr; } }
/* AI Automation: four outcome blocks */
.oc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.oc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 10px; align-content: start; box-shadow: 0 1px 2px rgba(20,25,34,.04); }
.oc-n { font-size: .85rem; font-weight: 800; color: var(--blue); }
.oc h3 { font-size: 1.45rem; letter-spacing: -0.02em; }
.oc-intro { color: var(--ink-2); font-size: 1rem; }
.oc ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.oc li { display: grid; gap: 3px; }
.oc li b { font-size: 1rem; }
.oc li span { color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.speed-copy h2 { margin-top: 0; }
@media (max-width: 860px) { .oc-grid { grid-template-columns: 1fr; } .oc { padding: 22px; } }
/* Consulting page */
.prob-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.prob-list li { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 12px; padding: 16px 18px; font-weight: 600; font-size: .98rem; line-height: 1.45; }
.prob-after { margin-top: 24px; font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.area { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.area-h { display: grid; gap: 6px; align-content: start; }
.area-n { font-size: .85rem; font-weight: 800; color: var(--blue); }
.area-k { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.area-h h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
.area-b { display: grid; gap: 14px; }
.area-b p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.area-b .area-get { background: var(--desk); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--ink); font-size: .96rem; }
.area-get b, .ex-rec b { display: block; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ex { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.ex-k { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.ex p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.ex .ex-rec { color: var(--ink); padding-top: 12px; border-top: 1px solid var(--line); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eng-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; margin-top: 28px; }
.eng-get, .eng-who { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 12px; align-content: start; }
.eng-get h3, .eng-who h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.eng-get ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eng-get li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .98rem; }
.eng-get li svg { width: 16px; height: 16px; color: var(--green); margin-top: 3px; }
.eng-note { color: var(--ink-3); font-size: .9rem; }
.eng-who p { color: var(--ink-2); line-height: 1.6; }
.eng-who a { color: var(--blue); font-weight: 600; }
.ads-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ads-split .sec-head { display: grid; gap: 14px; justify-items: start; }
.ads-split .sec-head p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; }
.ads-split .ads-fee { font-size: .96rem; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.ads-q { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 14px; }
.ads-q h3 { font-size: 1.15rem; }
.ads-q ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink); }
.ads-q p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) {
  .area { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .ex-grid, .steps--3, .eng-split, .ads-split { grid-template-columns: 1fr; }
  .ads-split { gap: 24px; }
}
@media (min-width: 1100px) { .prob-list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* ===== Web Design page graphics (handoff 2 Oct) ===== */
.wd-cap { font-size: .78rem; color: var(--ink-3); margin-top: 8px; }
.wd-hero { padding-block: 40px 32px; }
.wd-hero .wrap { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 32px; align-items: center; }
.wd-hero-copy { display: grid; gap: 20px; justify-items: start; }
.wd-hero-copy h1 { max-width: none; }
.wd-hero-fig { margin: 0; }
.wd-hero-fig img { width: 100%; height: auto; object-fit: contain; display: block; }
.wd-hero-fig .wd-cap { text-align: right; margin-top: 0; }
.wd-intro { margin-bottom: 28px; }
.wd-intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.wd-intro-cols p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; }
.wd-fig { margin: 0; }
.wd-fig img { width: 100%; height: auto; display: block; }
.wd-fig--wide { margin-top: 32px; }
.wd-desk img { border-radius: 18px; }
.wd-mob { display: none; }
.wd-qa, .wd-ann { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wd-qa li { display: grid; gap: 8px; }
.wd-q { justify-self: start; background: #e7efff; color: var(--ink); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-weight: 600; }
.wd-a { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 1.05rem; display: grid; gap: 2px; }
.wd-a small { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.wd-ann li { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; row-gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.wd-ann-n { grid-row: span 2; font-size: 1.4rem; font-weight: 800; color: var(--blue); }
.wd-ann span:last-child { color: var(--ink-2); }
.wd-design { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.wd-design-fig { margin: 0; grid-column: 2; grid-row: 1; }
.wd-design-fig img { width: 100%; height: auto; display: block; }
.wd-design-list { grid-column: 1; grid-row: 1; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.wd-tree { display: grid; gap: 12px; position: relative; padding-left: 18px; border-left: 2px solid #b9c8f5; }
.wd-tree-root { font-weight: 800; background: var(--blue); color: #fff; border-radius: 10px; padding: 10px 14px; justify-self: start; margin-left: -18px; }
.wd-tree-g { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; position: relative; }
.wd-tree-g::before { content: ""; position: absolute; left: -19px; top: 50%; width: 18px; border-top: 2px solid #b9c8f5; }
.wd-tree-g b { width: 100%; font-size: 1rem; }
.wd-tree-g span { font-size: .86rem; background: var(--desk); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.wd-tree-next { justify-self: start; font-size: .9rem; font-weight: 700; color: var(--blue); border: 1px dashed #9db3ee; border-radius: 999px; padding: 6px 12px; }
.wd-process-fig { max-width: 860px; margin: 0 auto 32px; }
/* calculator layout */
.calc-top { display: flex; justify-content: space-between; gap: 10px; }
.calc-k--r { color: var(--blue); }
.calc-step { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; }
.calc-btn { font: inherit; font-size: 1.3rem; font-weight: 700; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; cursor: pointer; color: var(--ink); min-height: 44px; }
.calc-btn:focus-visible, .calc-range:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.calc-step .calc-in { text-align: center; }
.calc-range { width: 100%; accent-color: var(--blue); margin: 4px 0 0; }
.calc-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); margin-top: -4px; }
.calc-note { font-size: .8rem; color: var(--ink-3); }
.calc-go { justify-self: stretch; justify-content: center; }
/* closer for this page: group right, copy left; mobile copy first */
.closer--wd .closer-crew { width: 50%; max-width: 600px; }
@media (max-width: 1000px) {
  .wd-design { grid-template-columns: 1fr; gap: 24px; }
  .wd-design-fig, .wd-design-list { grid-column: auto; grid-row: auto; }
  .wd-design-fig { max-width: 640px; }
}
@media (max-width: 900px) {
  .wd-hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .wd-hero-fig .wd-cap { text-align: left; }
  .wd-intro-cols { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 860px) {
  .closer--wd { flex-direction: column; padding: 32px 22px 0; margin-top: 40px; overflow: hidden; }
  .closer--wd .closer-crew { position: static; width: 100%; max-width: 460px; margin: 22px auto 0; }
}
@media (max-width: 760px) {
  .wd-desk { display: none; }
  .wd-mob { display: grid; }
  .wd-desk-only { display: none; }
  .wd-design-list { grid-template-columns: 1fr; }
}
.wd-fig .wd-mob { display: none; }
@media (max-width: 760px) { .wd-fig .wd-mob { display: grid; } }
.wd-fig { margin-bottom: 24px; }
/* ===== Consulting page visuals (handoff 2 Oct) ===== */
.ill { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); background: var(--blue-wash); border-radius: 5px; padding: .15em .5em; vertical-align: middle; }
.view-btn { font: inherit; font-size: .88rem; font-weight: 700; color: var(--blue); background: none; border: 1px solid #c7d3f4; border-radius: 8px; padding: 4px 10px; cursor: pointer; margin-left: 4px; white-space: nowrap; }
.view-btn:focus-visible, .cx-btn:focus-visible, .viewer-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* hero */
.cs-hero { padding-block: 40px 0; overflow: hidden; }
.cs-hero .wrap { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 32px; align-items: end; }
.cs-hero-copy { display: grid; gap: 20px; justify-items: start; padding-bottom: 56px; align-self: center; }
.cs-hero-copy h1 { max-width: none; }
.cs-hero-dino { display: block; width: auto; height: auto; max-height: 470px; max-width: 100%; justify-self: center; object-fit: contain; }
@media (max-width: 860px) {
  .cs-hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .cs-hero-copy { padding-bottom: 8px; }
  .cs-hero-dino { width: 270px; max-height: none; justify-self: center; }
}
/* service selector */
.cx { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); gap: 40px; align-items: start; }
.cx-list { border-top: 1px solid var(--line); }
.cx-item { border-bottom: 1px solid var(--line); }
.cx-h { margin: 0; font-size: inherit; }
.cx-btn { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: auto 1fr 24px; column-gap: 10px; row-gap: 4px; align-items: center; padding: 18px 4px; }
.cx-btn .area-n { grid-column: 1; }
.cx-btn .area-k { grid-column: 2; }
.cx-btn .cx-t { grid-column: 1 / 3; font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); }
.cx-ico { grid-column: 3; grid-row: 1 / 3; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.cx-ico::before, .cx-ico::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; border-top: 2px solid var(--blue); }
.cx-ico::after { transform: rotate(90deg); }
.cx-item.is-open .cx-ico::after { display: none; }
.cx-item.is-open .cx-t { color: var(--blue-deep, var(--blue)); }
.cx-panel { padding: 0 4px 22px; display: grid; gap: 12px; }
.cx-panel p { color: var(--ink-2); line-height: 1.6; }
.cx-panel .area-get { background: var(--desk); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-size: .95rem; }
.cx-viewer { position: sticky; top: 96px; }
.cx-vfig, .cx-mfig { margin: 0; }
.cx-vfig img, .cx-mfig img { width: 100%; height: auto; object-fit: contain; display: block; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cx-vfig figcaption, .cx-mfig figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.cx-mfig { display: none; }
@media (max-width: 959px) {
  .cx { grid-template-columns: 1fr; gap: 0; }
  .cx-viewer { display: none; }
  .cx-mfig { display: block; }
}
/* recommendation cards rebuilt in HTML */
.rx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rx { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.rx-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rx-k { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); border: 1px solid #c7d3f4; border-radius: 6px; padding: 3px 8px; }
.rx-top .ill { background: none; color: var(--ink-3); padding: 0; }
.rx h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.rx p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.rx .rx-act { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink); padding-top: 12px; border-top: 1px solid var(--line); }
.rx-act b { display: block; }
.rx-arrow { width: 28px; height: 28px; border-radius: 50%; background: #f0a127; color: #fff; display: grid; place-items: center; font-weight: 800; }
.mini { border: 1px solid var(--line); border-radius: 10px; background: #f8f9fb; overflow: hidden; }
.mini-bar { display: flex; gap: 4px; padding: 6px 8px; background: #eef1f6; }
.mini-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c9d0dc; }
.mini-bar i:first-child { background: #ef6b6b; } .mini-bar i:nth-child(2) { background: #f3c14b; } .mini-bar i:nth-child(3) { background: #5cc27a; }
.mini-body { padding: 10px; display: grid; gap: 8px; }
.mini-lbl { font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-grid b { height: 26px; background: #e3e7ee; border-radius: 4px; }
.mini-grid .mini-add { background: #fff7ea; border: 1.5px dashed #f0a127; color: #f0a127; display: grid; place-items: center; font-weight: 800; }
.mini-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; }
.mini-hero b { height: 44px; background: #e3e7ee; border-radius: 4px; }
.mini-hero span { display: grid; gap: 5px; align-content: center; }
.mini-hero span i, .mini-row i { display: block; height: 5px; background: #e3e7ee; border-radius: 3px; }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-cta { justify-self: end; font-size: .68rem; font-weight: 700; color: #fff; background: var(--blue); border-radius: 4px; padding: 3px 7px; }
.mini--merge { padding: 10px; display: grid; justify-items: center; gap: 4px; background: #f8f9fb; }
.mini-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.mini-sm { border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; display: grid; gap: 4px; padding-bottom: 6px; }
.mini-sm .mini-bar { padding: 4px 6px; } .mini-sm .mini-bar i { width: 4px; height: 4px; }
.mini-sm b { height: 14px; margin: 0 6px; background: #e3e7ee; border-radius: 3px; }
.mini-sm > i { height: 4px; margin: 0 6px; background: #e3e7ee; border-radius: 2px; }
.mini-one { width: 60%; }
.mini-arrow { color: var(--blue); font-weight: 800; line-height: 1; }
/* monthly cycle */
.cyc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.cyc-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 10px; align-content: start; position: relative; }
.cyc-card + .cyc-card::before { content: "→"; position: absolute; left: -30px; top: 44px; color: var(--blue); font-weight: 800; font-size: 1.3rem; }
.cyc-when { font-size: .78rem; font-weight: 700; color: var(--blue); }
.cyc-card h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.cyc-card p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.cyc-prev { border: 1px solid var(--line); border-radius: 12px; background: #f8f9fb; padding: 12px; display: grid; gap: 8px; margin-top: 4px; }
.cyc-pri, .cyc-tasks { display: grid; gap: 6px; }
.cyc-pri span, .cyc-tasks span { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: .8rem; font-weight: 600; }
.cyc-pri span.on { background: #fff7ea; border-color: #f6d39a; }
.cyc-pri b { width: 20px; height: 20px; border-radius: 50%; background: #eef1f6; display: grid; place-items: center; font-size: .72rem; }
.cyc-pri .on b { background: var(--blue); color: #fff; }
.cyc-tasks em { margin-left: auto; font-style: normal; font-size: .7rem; color: var(--blue); background: var(--blue-wash); border-radius: 999px; padding: 2px 8px; }
.cyc-bars { display: flex; align-items: flex-end; gap: 8px; height: 56px; padding: 0 6px; border-bottom: 1px solid #d6dbe4; }
.cyc-bars i { flex: 1; background: #b9c8f5; border-radius: 3px 3px 0 0; }
.cyc-bars i:nth-child(1) { height: 30%; } .cyc-bars i:nth-child(2) { height: 45%; } .cyc-bars i:nth-child(3) { height: 40%; } .cyc-bars i:nth-child(4) { height: 60%; } .cyc-bars i:nth-child(5) { height: 72%; background: var(--blue); }
.cyc-loop { margin-top: 16px; text-align: center; color: var(--ink-2); font-weight: 600; }
@media (max-width: 900px) {
  .cyc { grid-template-columns: 1fr; gap: 28px; }
  .cyc-card + .cyc-card::before { content: "↓"; left: 50%; top: -26px; transform: translateX(-50%); }
  .rx-grid { grid-template-columns: 1fr; }
}
/* ads */
.ads-head { margin-bottom: 20px; }
.ads-head p { color: var(--ink-2); font-size: 1.04rem; max-width: 46em; }
.ads-fig { margin: 0 0 28px; }
.ads-desk img { display: block; width: 100%; max-width: 1000px; height: auto; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.ads-cap { text-align: center; margin-top: 8px; }
.ads-mob { display: none; }
#ads .ads-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.ads-side { display: grid; }
@media (max-width: 760px) {
  .ads-desk { display: none; }
  .ads-mob { display: grid; gap: 12px; }
  .ads-cap { text-align: left; }
  .ads-sum { font-weight: 700; color: var(--ink); }
  .ads-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: a; }
  .ads-steps li { counter-increment: a; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
  .ads-steps li::before { content: counter(a); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
  .ads-steps span { color: var(--ink-2); font-size: .94rem; }
  .ads-loop { color: var(--ink-2); font-size: .94rem; }
  #ads .ads-split { grid-template-columns: 1fr; }
}
/* dialog */
.viewer-dlg { border: 0; border-radius: 18px; padding: 0; width: min(1200px, 94vw); max-height: 92vh; background: #fff; box-shadow: 0 20px 60px rgba(10,15,30,.35); }
.viewer-dlg::backdrop { background: rgba(15, 20, 32, .6); }
.viewer-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 10px 20px; border-bottom: 1px solid var(--line); }
.viewer-top h2 { font-size: 1rem; letter-spacing: 0; }
.viewer-x { font: inherit; font-size: 1.6rem; line-height: 1; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.viewer-dlg img { display: block; width: 100%; height: auto; max-height: calc(92vh - 66px); object-fit: contain; }
.cx-panel[hidden] { display: none; }
/* ===== AI Automation visuals (handoff 2 Oct) ===== */
.ai-hero-bot { max-height: 470px; width: auto; max-width: 100%; object-fit: contain; justify-self: center; }
@media (max-width: 860px) { .ai-hero .wrap { grid-template-columns: 1fr; } .ai-hero-copy .lede, .ai-hero-copy .btn-row { grid-column: auto; } .ai-hero-bot { width: 270px; max-height: none; grid-row: auto; justify-self: center; } }
@media (max-width: 560px) { .ai-hero-bot { grid-row: auto; max-width: 270px; } }
.aa-fig { margin: 0; }
.aa-pic img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.aa-fig figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.aa-fig--wide { margin-top: 32px; }
.aa-fig--wide .aa-pic img { max-width: 960px; margin: 0 auto; }
.aa-fig--wide figcaption { max-width: 960px; margin-left: auto; margin-right: auto; }
.aa-fig--card { margin: 6px 0 4px; }
.aa-fig--proc { max-width: 900px; margin: 0 auto 28px; }
.aa-mob { display: none; }
.aa-chat { gap: 8px; padding: 14px; background: #f6f8fc; border: 1px solid var(--line); border-radius: 14px; }
.aa-msg { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: .94rem; line-height: 1.45; display: grid; gap: 2px; }
.aa-msg b { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.aa-msg--in { justify-self: start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.aa-msg--out { justify-self: end; background: #e7efff; border-bottom-right-radius: 4px; }
.aa-task { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #f6d39a; border-left: 4px solid #f0a127; font-size: .92rem; display: grid; gap: 2px; }
.aa-task--ok { border-color: #bfe3c9; border-left-color: #2f9d57; }
.aa-task b { font-size: .95rem; }
.aa-step { justify-self: start; font-size: .82rem; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.aa-step--ok { color: #1f7a3d; border-color: #bfe3c9; }
.aa-fakebtn { display: inline-block; margin-top: 6px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--blue); border-radius: 6px; padding: 4px 10px; justify-self: start; }
@media (max-width: 760px) {
  .aa-pic { display: none; }
  .aa-fig .aa-mob { display: grid; }
  .aa-fig--proc { display: none; }
}
/* Consulting: static image layout */
.srows { list-style: none; margin: 0; padding: 0; display: grid; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.srow:nth-child(even) .srow-copy { order: 2; }
.srow-copy { display: grid; gap: 10px; align-content: start; }
.srow-copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.2; }
.srow-copy p { color: var(--ink-2); line-height: 1.6; }
.srow-copy .area-get { background: var(--desk); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-size: .95rem; }
.srow-fig, .cs-wide { margin: 0; }
.srow-fig img, .cs-wide img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.srow-fig figcaption, .cs-wide figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.cs-wide { max-width: 1000px; margin: 0 auto; }
.cs-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin: 24px auto 0; }
.cs-notes b { display: block; font-size: 1rem; margin-bottom: 4px; }
.cs-notes p { color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
.cs-steps { list-style: none; padding: 0; margin: 24px auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cs-steps li { display: grid; gap: 4px; }
.cs-steps span { color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
#ads .cs-wide { margin-bottom: 28px; }
@media (max-width: 900px) {
  .srow { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .srow:nth-child(even) .srow-copy { order: 0; }
  .cs-notes, .cs-steps { grid-template-columns: 1fr; gap: 14px; }
}
/* Consulting: static image layout */
.srows { list-style: none; margin: 0; padding: 0; display: grid; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.srow:nth-child(even) .srow-copy { order: 2; }
.srow-copy { display: grid; gap: 10px; align-content: start; }
.srow-copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.2; }
.srow-copy p { color: var(--ink-2); line-height: 1.6; }
.srow-copy .area-get { background: var(--desk); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-size: .95rem; }
.srow-fig, .cs-wide { margin: 0; }
.srow-fig img, .cs-wide img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.srow-fig figcaption, .cs-wide figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.cs-wide { max-width: 1000px; margin: 0 auto; }
.cs-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin: 24px auto 0; }
.cs-notes b { display: block; font-size: 1rem; margin-bottom: 4px; }
.cs-notes p { color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
.cs-steps { list-style: none; padding: 0; margin: 24px auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cs-steps li { display: grid; gap: 4px; }
.cs-steps span { color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
#ads .cs-wide { margin-bottom: 28px; }
@media (max-width: 900px) {
  .srow { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .srow:nth-child(even) .srow-copy { order: 0; }
  .cs-notes, .cs-steps { grid-template-columns: 1fr; gap: 14px; }
}
/* Process cards with their own illustration */
.stage-card .stage-img { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 640 / 440; object-fit: contain; display: block; margin-bottom: 6px; border-radius: 10px; background: #fefefe; }
#process .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { #process .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { #process .stages { grid-template-columns: 1fr; } }
/* FAQ + fixed-price card in two columns */
.faqp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.faqp .faq { max-width: none; }
.faqp-sticky { position: sticky; top: 96px; display: grid; gap: 18px; }
.faqp-head { display: grid; gap: 8px; }
.faqp-head h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.15; }
.faqp-head p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 960px) {
  .faqp { grid-template-columns: 1fr; gap: 36px; }
  .faqp-price { order: -1; }
  .faqp-sticky { position: static; }
}
.faqp-price { align-self: stretch; }
/* Price card: rests at the bottom of its column, pinned to the viewport bottom until it gets there */
@media (min-width: 961px) {
  .faqp-price { display: flex; flex-direction: column; justify-content: flex-end; }
  .faqp-sticky { position: sticky; top: auto; bottom: 24px; }
}
/* Portfolio page: one project per row */
.pf { max-width: calc(1280px + 48px); }
.prows { display: grid; gap: 16px; }
.prow { position: relative; display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,25,34,.04); }
.prow-logo { display: grid; place-items: center; padding: 20px 24px; border-right: 1px solid var(--line); min-height: 100%; }
.prow-logo img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.prow-info { padding: 24px; display: grid; gap: 4px; align-content: center; }
.prow-meta { font-size: .84rem; color: var(--ink-3); }
.prow-info h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
.prow-info p:last-child { color: var(--ink-2); font-size: .96rem; line-height: 1.5; }
.prow-link { align-self: center; margin: 24px 24px 24px 0; padding-left: 24px; border-left: 1px solid var(--line); font-weight: 700; color: var(--blue); white-space: nowrap; text-decoration: none; }
.prow-link::after { content: ""; position: absolute; inset: 0; }
.prow-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.prow:hover { border-color: #c7d3f4; }
@media (max-width: 760px) {
  .prow { grid-template-columns: 1fr; }
  .prow-logo { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .prow-info { padding: 20px 20px 8px; }
  .prow-link { margin: 0 20px 20px; padding: 0; border-left: 0; align-self: start; }
}
.pf-hero .wrap { max-width: calc(1280px + 48px); }
/* Consulting v3 */
.h1-sub { display: block; color: var(--blue); }
.cs-hero-copy h1 span:first-child { display: block; }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tri > div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 8px; align-content: start; }
.tri h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.tri p { color: var(--ink-2); line-height: 1.55; }
.ex1 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ex1-copy { display: grid; gap: 14px; justify-items: start; }
.ex1-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ex1-copy p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; }
.ex1-copy .ex1-rec { color: var(--ink); background: var(--desk); border: 1px solid var(--line); border-left: 4px solid #f0a127; border-radius: 12px; padding: 14px 16px; }
.ex1-rec b { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #b26b00; margin-bottom: 4px; }
.ex1-fig { margin: 0; justify-self: center; max-width: 420px; width: 100%; }
.ex1-fig img { width: 100%; height: auto; display: block; }
.ex1-fig figcaption { margin-top: 8px; text-align: center; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scope-note { margin-top: 20px; color: var(--ink-2); font-size: .95rem; }
.ads-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; }
.ads-strip h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
.ads-strip p { color: var(--ink-2); margin-top: 4px; }
.ads-strip-link { font-weight: 700; color: var(--blue); white-space: nowrap; }
@media (max-width: 900px) {
  .tri, .steps--3 { grid-template-columns: 1fr; }
  .ex1 { grid-template-columns: 1fr; gap: 24px; }
  .ads-strip { flex-direction: column; align-items: flex-start; }
}
/* AI Automation v4 */
.ai-hero-copy h1 span { display: block; }
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.quad > div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.quad svg { width: 22px; height: 22px; color: var(--blue); }
.quad h3 { font-size: 1.12rem; letter-spacing: -0.015em; }
.quad p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.blk { display: block; }
.wflow { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.wflow li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .95rem; }
.wflow li:last-child { background: #fff7ea; border-color: #f6d39a; }
.wflow li + li::before { content: "→"; color: var(--blue); margin-right: 10px; font-weight: 800; }
.wflow li + li { position: relative; }
.aa-main { margin: 0 auto; max-width: 1000px; }
.aa-main img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.aa-main figcaption { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1000px) { .quad { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .quad { grid-template-columns: 1fr; } .wflow { flex-direction: column; align-items: flex-start; } .wflow li + li::before { content: "↓"; } }
@media (max-width: 400px) { .ads-strip { padding: 20px; } .ads-strip-link { white-space: normal; } }
/* Feature sections: copy left, workflow graphic right */
.feat-band.band { padding-block: 64px; }
.feat-wrap { max-width: calc(1200px + 48px); }
.feat { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 48px; align-items: center; }
.feat-copy { display: grid; gap: 14px; justify-items: start; }
.feat-copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.feat-copy > p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feat-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-weight: 600; }
.feat-list svg { width: 16px; height: 16px; color: var(--green); margin-top: 4px; }
.feat-copy .feat-ex { font-size: .95rem; color: var(--ink); background: var(--desk); border: 1px solid var(--line); border-left: 4px solid #f0a127; border-radius: 12px; padding: 12px 14px; line-height: 1.55; }
.band--desk .feat-copy .feat-ex { background: var(--paper); }
.feat-ex b { display: block; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #b26b00; margin-bottom: 2px; }
.feat-link { font-weight: 700; color: var(--blue); }
.feat-fig { margin: 0; }
.feat-desk img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.feat-fig figcaption { margin-top: 8px; }
.feat-mob { display: none; }
@media (max-width: 1060px) { .feat { grid-template-columns: 1fr; gap: 24px; } .feat-copy { max-width: 640px; } }
@media (max-width: 860px) {
  .feat-band.band { padding-block: 36px; }
  .feat-desk { display: none; }
  .feat-mob { display: grid; gap: 6px; }
  .fp { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
  .band--desk .fp { background: #fff; }
  .fp b { font-size: 1rem; }
  .fp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .fp li { font-size: .92rem; color: var(--ink-2); background: var(--desk); border-radius: 8px; padding: 6px 10px; }
  .fp-arrow { justify-self: center; color: var(--blue); font-weight: 800; line-height: 1; }
}
.wflow li:last-child { background: #e3f4ea; border-color: #9fd3b2; color: #17723f; }
.aa-main { max-width: 820px; margin-left: 0; }
.prow-logo { background: #fff; }
.wd-hero .wrap { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
@media (max-width: 900px) { .wd-hero .wrap { grid-template-columns: 1fr; } }
/* Window budget demo (Web Design page) — all rules scoped to .wb */
.wb { display: grid; gap: 14px; max-width: 480px; width: 100%; justify-self: center; }
.wb [hidden] { display: none !important; }
.wb-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.wb-modes button { font: inherit; font-size: .9rem; font-weight: 700; border: 0; border-radius: 9px; padding: 10px 8px; background: transparent; color: var(--ink-2); cursor: pointer; min-height: 44px; }
.wb-modes button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.wb-modes button:focus-visible, .wb button:focus-visible, .wb input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wb-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 0; box-shadow: var(--shadow-soft); }
.wb-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }
.wb-card h3 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 16px 0 6px; }
.wb-intro { color: var(--ink-2); font-size: .95rem; margin-bottom: 18px; }
.wb-card label { display: block; font-size: .9rem; font-weight: 600; }
.wb-counter { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; margin: 10px 0; }
.wb-counter button { font: inherit; font-size: 1.4rem; font-weight: 700; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; min-height: 48px; cursor: pointer; }
.wb-counter button:disabled { opacity: .4; cursor: default; }
.wb-counter input { width: 100%; text-align: center; font: inherit; font-size: 1.3rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); min-width: 0; }
.wb-slider { width: 100%; accent-color: var(--blue); margin: 6px 0; }
.wb-limits { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); }
.wb-gate { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; display: grid; gap: 12px; }
.wb-gate h4 { font-size: 1.05rem; }
.wb-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wb-fields input { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 1rem; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: var(--paper); color: var(--ink); }
.wb-fields input:invalid:not(:placeholder-shown) { border-color: var(--red); }
.wb-action { display: block; width: 100%; font: inherit; font-size: .95rem; font-weight: 700; border: 0; border-radius: 10px; background: #2f6b47; color: #fff; padding: 13px 12px; min-height: 48px; cursor: pointer; }
.wb-sample { justify-self: start; font: inherit; font-size: .85rem; border: 0; background: none; color: var(--blue); text-decoration: underline; padding: 6px 0; min-height: 44px; cursor: pointer; }
.wb-reveal { display: grid; gap: 12px; margin-top: 20px; }
.wb-result { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.wb-result span { font-weight: 700; }
.wb-result strong { font-size: 2.1rem; letter-spacing: -0.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.wb-result small { grid-column: 1 / -1; color: var(--ink-3); font-size: .85rem; }
.wb-status, .wb-note { font-size: .78rem; color: var(--ink-3); line-height: 1.45; }
.wb-card > .wb-note { margin-top: 14px; }
.wb-cta { justify-self: stretch; justify-content: center; }
@media (max-width: 420px) { .wb-card { padding: 20px 16px; } .wb-fields { grid-template-columns: 1fr; } .wb-result strong { font-size: 1.8rem; } .wb-modes button { font-size: .82rem; } }
.wflow--v { flex-direction: column; align-items: flex-start; gap: 8px; margin: 4px 0 0; }
.wflow--v li + li::before { content: "↓"; }
.wb-action { background: var(--red); }
.wb-split .sec-head .btn-row { margin-top: 6px; }
.wb-offer { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.wb-offer b { color: var(--ink); }
.wb-result strong { font-variant-numeric: normal; letter-spacing: -0.02em; }
.tag--logo { display: inline-flex; align-items: center; gap: 8px; padding: .3em .7em; font-size: .85rem; }
.tag--logo img { width: 18px; height: 18px; }
.wb-show { margin-top: 18px; }
.wb-reveal .wb-gate { margin-top: 4px; padding-top: 16px; }
.wb-props { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wb-props li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: .92rem; color: var(--ink); }
.wb-props svg { width: 16px; height: 16px; color: var(--green); margin-top: 3px; }
.wb-status { font-size: .95rem; color: var(--ink); background: #e3f4ea; border: 1px solid #9fd3b2; border-radius: 10px; padding: 12px 14px; }
/* Advice page */
.adv-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.adv-topic { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.adv-topic b { font-size: 1.12rem; }
.adv-topic span { color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.adv-topic:hover { border-color: #c7d3f4; }
.adv-empty { display: grid; gap: 12px; justify-items: start; max-width: 640px; }
.adv-empty p { color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 1000px) { .adv-topics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adv-topics { grid-template-columns: 1fr; } }
/* Portfolio niche filters */
.nfs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.nf { font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 38px; }
.nf span { font-size: .78rem; color: var(--ink-3); font-weight: 700; }
.nf[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.nf[aria-pressed="true"] span { color: #dfe6ff; }
.nf:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pf-group[hidden], .prow[hidden] { display: none; }
.pf-empty { color: var(--ink-2); font-size: 1.05rem; padding: 24px; background: var(--desk); border: 1px solid var(--line); border-radius: 16px; }
/* Keep the closing banner from jumping up when a filter shows few projects */
.pf[data-pf] { min-height: max(640px, calc(100vh - 260px)); align-content: start; }
/* Calculator: result row always in place, offer as its own highlighted panel */
.wb-card > .wb-result { margin-top: 18px; }
.wb-result strong.is-hidden { filter: blur(9px); user-select: none; }
.wb-show { margin-top: 14px; }
.wb-reveal { margin-top: 16px; }
.wb-offer-box { background: #fff8e6; border: 2px solid #f2c45a; border-radius: 16px; padding: 20px; display: grid; gap: 12px; }
.wb-badge { justify-self: start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7a4b00; background: #ffe2a3; border-radius: 999px; padding: 4px 10px; }
.wb-offer-box h4 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
.wb-offer-box h4 svg { width: 28px; height: 28px; flex: none; color: #b26b00; }
.wb-offer-sub { color: var(--ink-2); font-size: .95rem; margin-top: -6px; }
.wb-offer-box .wb-fields input { background: #fff; }
.wb-offer-box h4, .wb-offer-box p, .wb-offer-box ul { margin: 0; }
.wb-offer-box .wb-offer-sub { margin-top: -6px; }

/* ---------- Contact: two-step enquiry ---------- */
.ct { padding: 56px 0 72px; }
.ct-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: start; }
.ct-intro { display: grid; gap: 24px; align-content: start; }
.ct-head { display: flex; gap: 16px; align-items: flex-start; }
.ct-head-copy { min-width: 0; }
.ct h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 16px; }
.ct-lede { font-size: 1.18rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
.ct-avatar-sm { display: none; }
.ct-reassure { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0; font-weight: 600; color: var(--ink); }
.ct-reassure svg { width: 18px; height: 18px; color: var(--green); margin-top: 4px; }
.ct-next { border-top: 1px solid var(--line); padding-top: 22px; }
.ct-next h2 { font-size: 1.25rem; margin: 0 0 8px; }
.ct-next p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.ct-avatar { width: 340px; max-width: 100%; height: auto; object-fit: contain; margin-top: 4px; }

.ct-form { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; }
.ct-step { display: grid; gap: 22px; }
.ct-step[hidden], .ct-form [hidden] { display: none !important; }
.ct-progress { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ct-h { font-size: 1.5rem; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.ct-h:focus { outline: none; }
.ct-goals { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.ct-goals legend { padding: 0; margin: 0 0 4px; }
.ct-help { margin: 0; font-size: .95rem; color: var(--ink-3); }
.ct-opt { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 600; font-size: 1rem; cursor: pointer; box-sizing: border-box; }
.ct-opt:hover { background: var(--desk); }
.ct-opt input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--blue); cursor: pointer; }
.ct-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-deep); }
.ct-opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.ct-goals.is-invalid .ct-opt { border-color: var(--red); }
.ct-field { display: grid; gap: 8px; }
.ct-field label { font-weight: 700; font-size: 1rem; }
.ct-opt-tag { font-weight: 400; font-size: .88rem; color: var(--ink-3); margin-left: 4px; }
.ct-field input, .ct-field textarea { font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; box-sizing: border-box; }
.ct-field textarea { min-height: 112px; resize: vertical; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-wash); }
.ct-field input[aria-invalid="true"] { border-color: var(--red); }
.ct-err { margin: 0; font-size: .92rem; font-weight: 600; color: #b3182c; }
.ct-count { margin: 0; font-size: .86rem; color: var(--ink-3); text-align: right; }
.ct-actions { display: flex; justify-content: flex-start; }
.ct-actions .btn { min-height: 48px; }
.ct-actions--2 { gap: 12px; flex-wrap: wrap; }
.ct-send[aria-busy="true"] { opacity: .65; cursor: progress; }
.ct-summary { background: var(--desk); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.ct-summary-label { margin: 0; font-size: .86rem; color: var(--ink-3); font-weight: 600; }
.ct-summary ul { margin: 0; padding-left: 1.1em; font-weight: 600; }
.ct-link { justify-self: start; background: none; border: 0; padding: 4px 0; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font: 700 .96rem var(--font); color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ct-errsum { border: 1.5px solid #e9a5ae; background: var(--red-wash); border-radius: 12px; padding: 14px 16px; }
.ct-errsum:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.ct-errsum-h { margin: 0; font-weight: 700; color: #8f1323; }
.ct-errsum ul { margin: 6px 0 0; padding-left: 1.1em; }
.ct-errsum ul:empty { display: none; }
.ct-errsum a { color: #8f1323; font-weight: 600; }
.ct-note { margin: 0; font-size: .92rem; color: var(--ink-3); }
.ct-done p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .ct { padding: 32px 0 48px; }
  .ct-wrap { display: flex; flex-direction: column; gap: 22px; padding: 0 16px; }
  .ct-intro { display: contents; }
  .ct-head { order: 1; }
  .ct-reassure { order: 2; }
  .ct-form { order: 3; width: 100%; box-sizing: border-box; }
  .ct-next { order: 4; }
  .ct-avatar { display: none; }
  .ct-avatar-sm { display: block; width: 92px; height: auto; flex: 0 0 92px; object-fit: contain; }
  .ct-lede { font-size: 1.06rem; }
}
@media (max-width: 520px) { .ct-form { padding: 22px 16px; } .ct-h { font-size: 1.3rem; } .ct-actions .btn { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 400px) { .ct-avatar-sm { display: none; } }
.foot-grid--min { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 860px) { .foot-grid--min { grid-template-columns: 1fr; } }
.ct-errsum, .ct-field input, .ct-opt input, .ct-h { scroll-margin-top: 96px; }

/* Brand maple leaf (replaces the period) */
.brand .dot { display: inline-block; margin-left: .06em; }
.brand .leaf { width: .56em; height: .56em; display: block; transform: translateY(.16em); }

/* Header: a little larger on every page. */
.site-head .wrap { height: 84px; }
.site-head .brand { font-size: 1.5rem; }
.site-head .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.site-head .brand-mark svg { width: 21px; height: 21px; }
.site-head .nav > a, .site-head .nav > .dd > button { font-size: 1.02rem; }
.site-head .btn--small { font-size: 1rem; padding: .78em 1.1em .72em; }
@media (max-width: 1100px) { .site-head .nav > a, .site-head .nav > .dd > button { font-size: .95rem; } }
@media (max-width: 860px) { .site-head .wrap { height: 72px; } .site-head .brand { font-size: 1.35rem; } .site-head .brand-mark { width: 32px; height: 32px; } .site-head .brand-mark svg { width: 19px; height: 19px; } .site-head .btn--small { font-size: .92rem; padding: .7em 1em .65em; } }

/* Brand logo (vector lockup from the logo kit) */
.brand-logo { display: block; height: 44px; width: auto; }
.site-foot .brand-logo { height: 40px; }
@media (max-width: 860px) { .brand-logo { height: 36px; } }
@media (max-width: 360px) { .brand-logo { height: 32px; } }
.nf-wrap { grid-template-columns: 1fr; } .nf-wrap .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
