/* ZTOO — site stylesheet, v2
   Concept: a job sheet. White paper, black ink, orange used like a marker for what is
   chosen or included. One family (IBM Plex Sans, OFL — licence beside the files).
   Plain corners (4px), flat fills, ruled lists. No gradients, glows or shadows. */

/* --------------------------------------------------------------------------
   Fonts
   -------------------------------------------------------------------------- */
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/IBMPlexSans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/IBMPlexSans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/IBMPlexSans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
/* Arial resized to Plex's metrics, so the swap does not move the page. */
@font-face { font-family: 'Plex Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans'); size-adjust: 100.5%; ascent-override: 102%; descent-override: 27.4%; line-gap-override: 0%; }

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #ffffff;
  --concrete: #f1f1ee;
  --ink: #121212;
  --graphite: #4a4a47;
  --stone: #6c6b66;
  --rule: #dcdcd6;
  --rule-strong: #b9b8b1;
  --rule-dark: #34342f;
  --on-dark: #f4f4f1;
  --on-dark-muted: #b4b3ac;

  --signal: #f26a0d;
  --signal-hover: #dd5c06;
  --signal-deep: #b04607;
  --signal-bright: #ff8a3d;
  --success: #1b6e38;
  --danger: #b42318;

  --font: 'IBM Plex Sans', 'Plex Fallback', system-ui, 'Segoe UI', Arial, sans-serif;
  --container: 1200px;
  --gutter: 40px;
  --radius: 4px;
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--ink); }

a { color: var(--ink); text-decoration-color: var(--signal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal-deep); }
.copy a, .lead a, .prose a, .note a { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band--ink :focus-visible, .site-footer :focus-visible, .consent-banner :focus-visible, .cta :focus-visible { outline-color: var(--on-dark); }
.cta :focus-visible { outline-color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--radius); background: var(--ink); color: var(--paper); font-size: .9375rem; font-weight: 500; }
.skip-link:focus { left: 12px; color: var(--paper); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.sect { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.band { position: relative; }
.band--ink { background: var(--ink); color: var(--on-dark); }
.band--concrete { background: var(--concrete); }
.grid { display: grid; gap: 0 48px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.cards > * { min-width: 0; }
.stack { display: flex; flex-wrap: wrap; gap: 12px; }

/* vertical rhythm (names kept from the templates, values re-set) */
.pt-20 { padding-top: 24px; } .pt-40 { padding-top: 56px; } .pt-76 { padding-top: 96px; }
.pb-20 { padding-bottom: 24px; } .pb-24 { padding-bottom: 32px; } .pb-34 { padding-bottom: 48px; }
.pb-40 { padding-bottom: 56px; } .pb-76 { padding-bottom: 96px; }
.mt-12 { margin-top: 12px; } .mt-18 { margin-top: 18px; } .mt-22 { margin-top: 22px; } .mt-26 { margin-top: 26px; } .mt-30 { margin-top: 36px; }
.mb-12 { margin-bottom: 12px; } .mb-26 { margin-bottom: 32px; } .mb-34 { margin-bottom: 40px; }
.max-520 { max-width: 520px; } .max-600 { max-width: 600px; } .max-620 { max-width: 640px; } .max-660 { max-width: 660px; }
.max-700 { max-width: 700px; } .max-720 { max-width: 720px; } .max-780 { max-width: 780px; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.h1 { font-weight: 600; font-size: clamp(2.375rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.h1--contact { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.h2 { font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.h2--36, .h2--34, .h2--32 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
.h2--28 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--graphite); max-width: 44rem; }
.copy { color: var(--graphite); max-width: 62ch; }
.copy--sm { font-size: 1rem; line-height: 1.65; }
.note { font-size: .9375rem; line-height: 1.6; color: var(--stone); }
.mono { font-size: .9375rem; color: var(--stone); }
.h2 + .copy, .h2 + .lead { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius);
  font: 500 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { background: var(--signal-hover); color: var(--ink); }
.btn--secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }
.band--ink .btn--secondary, .consent-banner .btn--secondary { border-color: var(--on-dark); color: var(--on-dark); }
.band--ink .btn--secondary:hover, .consent-banner .btn--secondary:hover { background: var(--on-dark); color: var(--ink); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__left { display: flex; align-items: center; gap: 44px; min-width: 0; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; display: block; }
.nav { display: flex; gap: 28px; }
.nav__link { font-size: .9375rem; font-weight: 500; color: var(--graphite); text-decoration: none; padding: 6px 0; }
.nav__link:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 8px; }
.nav__link[aria-current='page'] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-header__right { display: flex; align-items: center; gap: 20px; }
.header-phone { font-size: .9375rem; color: var(--graphite); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--ink); text-decoration: underline; }

.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded='true'] .menu-btn__open { display: none; }
.menu-btn[aria-expanded='true'] .menu-btn__close { display: block; }

.drawer { display: none; border-top: 1px solid var(--rule); background: var(--paper); padding: 8px 24px 28px; }
.drawer[data-open='1'] { display: block; }
.drawer__link { display: block; font-size: 1.25rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.drawer__link[aria-current='page'] { color: var(--signal-deep); }
.drawer__foot { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.drawer__phone { text-align: center; color: var(--graphite); }

/* --------------------------------------------------------------------------
   Page heads and breadcrumbs
   -------------------------------------------------------------------------- */
.page-head { padding-top: 40px; padding-bottom: 48px; }
.page-head .h1 { max-width: 18em; }
.page-head .lead { margin-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; font-size: .9375rem; color: var(--stone); margin-bottom: 28px; }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--rule-strong); }
.crumbs a { color: var(--graphite); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current='page'] { color: var(--stone); }

/* --------------------------------------------------------------------------
   Hero + scope tool (the one memorable thing: tick it and it is on the sheet)
   -------------------------------------------------------------------------- */
.hero { padding-top: 64px; padding-bottom: 8px; }
.hero__title { font-weight: 600; font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.03; letter-spacing: -0.032em; max-width: 15em; text-wrap: balance; }
.hero__lead { margin-top: 26px; font-size: 1.25rem; line-height: 1.55; color: var(--graphite); max-width: 44rem; }

.scope { padding-top: 48px; padding-bottom: 88px; }
.scope__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 64px; align-items: start; }
.scope__grid > * { min-width: 0; }
.scope__card { border-top: 2px solid var(--ink); padding-top: 28px; }

.step { display: flex; align-items: baseline; gap: 12px; }
.step--2 { margin-top: 44px; }
.step__n { font-size: 1rem; font-weight: 500; color: var(--stone); font-variant-numeric: tabular-nums; }
.step__n::after { content: '.'; }
.step__title { font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; }
.step__count { margin-left: auto; font-size: .9375rem; color: var(--stone); font-variant-numeric: tabular-nums; }

.chips { display: inline-flex; flex-wrap: nowrap; margin-top: 18px; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; max-width: 100%; }
.chip { padding: 13px 22px; border: 0; border-right: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: 500 1rem/1.2 var(--font); cursor: pointer; transition: background-color .15s, color .15s; }
.chip:last-child { border-right: 0; }
.chip:hover { background: var(--concrete); }
.chip[aria-checked='true'] { background: var(--ink); color: var(--paper); }
.chip:focus-visible { outline-offset: -6px; outline-color: var(--signal); }

.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-top: 12px; }
.opts > * { min-width: 0; }
.opt {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  padding: 15px 10px; margin: 0 -10px; text-align: left;
  border: 0; border-bottom: 1px solid var(--rule); background: transparent; color: var(--ink);
  font-family: var(--font); cursor: pointer; transition: background-color .15s;
}
.opt::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px;
  border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper) center / 14px no-repeat;
  transition: background-color .15s;
}
.opt:hover { background: var(--concrete); }
.opt[aria-pressed='true'] { background: var(--concrete); }
.opt[aria-pressed='true']::before {
  background-color: var(--signal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.opt__icon, .opt__mark, .custom__icon { display: none; }
.opt__text { min-width: 0; }
.opt__label { display: block; font-size: 1rem; font-weight: 500; line-height: 1.35; }
.opt__note { display: block; font-size: .9375rem; line-height: 1.45; color: var(--graphite); margin-top: 2px; }

.custom { margin-top: 24px; }
.custom__input { width: 100%; font: 400 1rem/1.3 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 15px 16px; }
.custom__input::placeholder { color: var(--stone); }
.custom__input:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.scope__foot { margin-top: 20px; max-width: 46rem; }

/* the sheet */
.readout { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--ink); background: var(--paper); }
.readout__inner { display: block; }
.readout__label { font-size: .9375rem; font-weight: 600; }
.readout__inner > .readout__label { padding: 12px 24px; background: var(--ink); color: var(--paper); }
.readout__kind { font-weight: 600; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; padding: 24px 24px 0; }
.readout__sub { color: var(--graphite); padding: 6px 24px 0; }
.readout__block { margin: 22px 24px 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.readout__block .readout__label { color: var(--stone); font-weight: 500; }
.readout__list { display: flex; flex-direction: column; gap: 11px; margin-top: 14px; }
.readout__item { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.readout__tick { display: flex; flex: none; margin-top: 3px; color: var(--signal-deep); }
.readout__tick svg { width: 16px; height: 16px; stroke-width: 3; }
.progress { margin: 26px 24px 0; }
.progress__row { display: flex; align-items: center; gap: 10px; }
.progress__end { font-weight: 600; font-size: .9375rem; color: var(--stone); font-variant-numeric: tabular-nums; }
.progress__end--1 { color: var(--ink); }
.progress__track { flex: 1; height: 6px; display: flex; gap: 2px; }
.progress__seg { background: var(--signal); }
.progress__seg:nth-child(1) { width: 15%; } .progress__seg:nth-child(2) { width: 25%; } .progress__seg:nth-child(3) { width: 45%; } .progress__seg:nth-child(4) { width: 15%; }
.progress__labels { display: grid; grid-template-columns: 15% 25% 45% 15%; margin: 8px 43px 0; font-size: .8125rem; color: var(--stone); }
.readout__cta { padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.readout__fine { font-size: .875rem; line-height: 1.5; color: var(--stone); }

/* --------------------------------------------------------------------------
   Rows: practices, projects, posts
   -------------------------------------------------------------------------- */
.rows, .log { border-top: 1px solid var(--ink); }
.row { display: grid; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; }
a.row:hover { color: inherit; }
a.row:hover .row__title, a.row:hover .row__log-title, a.row:hover .row__post-title { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.row--svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 160px; align-items: baseline; }
a.row--svc .row__n, .row__n { display: none; }
div.row--svc { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.5fr); }
div.row--svc .row__n { display: block; font-weight: 600; color: var(--signal-deep); font-variant-numeric: tabular-nums; }
.row__title { font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.row__desc { color: var(--graphite); max-width: 60ch; }
.row__aside { font-size: .9375rem; color: var(--stone); text-align: right; }
.row--read { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: baseline; }
.row--read .row__title { font-size: 1.3125rem; }
.row--log { grid-template-columns: minmax(0, 1fr) 190px; align-items: baseline; }
.row__head { display: block; }
.row__log-title { font-weight: 600; font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.01em; }
.row__log-title + .row__desc, .row__head + .row__desc { margin-top: 6px; }
.row__kind { font-size: .9375rem; color: var(--stone); text-align: right; }
.row--post { grid-template-columns: 130px minmax(0, 1fr) 110px; padding: 30px 0; align-items: baseline; }
.row--post .row__kind { text-align: right; }
.row__date { font-size: .9375rem; color: var(--stone); font-variant-numeric: tabular-nums; }
.row__post-title { font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.row__post-title a { text-decoration: none; }
.row__excerpt { color: var(--graphite); margin-top: 8px; max-width: 62ch; }

/* --------------------------------------------------------------------------
   Process (the one dark band; 0 → 1 is a real sequence, so it is numbered)
   -------------------------------------------------------------------------- */
.process { padding-top: 96px; padding-bottom: 104px; }
.band--ink .h2 { color: var(--on-dark); }
.bar01 { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.bar01__end { font-weight: 600; font-size: 1rem; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.bar01__end--1 { color: var(--signal-bright); }
.bar01__track { flex: 1; height: 2px; background: var(--rule-dark); }
.bar01__fill { display: block; width: 100%; height: 100%; background: var(--signal); }
.process__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; margin-top: 32px; }
.process__list > * { min-width: 0; }
.process__step { padding-top: 24px; border-top: 1px solid var(--rule-dark); }
.process__num { font-weight: 600; font-size: 3.5rem; line-height: 1; letter-spacing: -0.03em; color: var(--signal-bright); font-variant-numeric: tabular-nums; }
.process__title { font-weight: 600; font-size: 1.3125rem; line-height: 1.25; color: var(--on-dark); margin: 16px 0 8px; }
.process__body { color: var(--on-dark-muted); }
.process__tag { margin-top: 12px; font-size: .9375rem; color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   Clients strip
   -------------------------------------------------------------------------- */
.clients { padding-top: 8px; padding-bottom: 8px; }
.clients__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.clients--strip { padding-top: 0; padding-bottom: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.logo-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
@keyframes ztoo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-marquee { display: flex; align-items: center; width: max-content; animation: ztoo-marquee 34s linear infinite; }
.logo-marquee:hover { animation-play-state: paused; }
/* every logo is trimmed to its artwork and shown at one height, so none reads bigger than another */
.logo-tile { flex: none; width: 224px; height: 120px; padding: 0 24px; display: flex; align-items: center; justify-content: center; }
.logo--asiajuta { --h: 60; } .logo--mycube { --h: 50; } .logo--yeotaskin { --h: 79; } .logo--mytea { --h: 84; } .logo--gbs { --h: 73; } .logo--guitarcollection { --h: 62; }
/* sized by visual area, not by height, so a wide wordmark and a narrow mark carry the same weight */
.logo-tile img { height: calc(var(--h) * 1px); width: auto; max-width: 196px; display: block; }
.clients__label { padding: 16px 0 0; font-size: .9375rem; color: var(--stone); }

/* --------------------------------------------------------------------------
   Open items (replace the old cards): principles, FAQs, "what goes in"
   -------------------------------------------------------------------------- */
.card { border-top: 1px solid var(--ink); padding: 22px 0 36px; }
.card .h2--28, .card h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.005em; }
.card .copy { margin-top: 10px; color: var(--graphite); max-width: 60ch; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; color: var(--ink); }
.card__list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.card__list li { position: relative; padding-left: 26px; }
.card__list li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b04607' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.card__tick, .card__icon { display: none; }
.card__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: .9375rem; color: var(--stone); }
.card--ink { border-top-color: var(--ink); }
.card--cta { border-top: 2px solid var(--ink); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.faq > * { min-width: 0; }
.faq .card { padding-bottom: 32px; }

/* --------------------------------------------------------------------------
   Feature panel (one real example on service pages)
   -------------------------------------------------------------------------- */
.feature { background: var(--concrete); padding: 44px 48px; }
.feature__grid { display: block; }
.feature__title { font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0 14px; }
.feature .copy { max-width: 62ch; }
.work-card__kind { font-size: .9375rem; color: var(--stone); }

/* --------------------------------------------------------------------------
   Work page: one ruled list of cases
   -------------------------------------------------------------------------- */
.cases { border-top: 1px solid var(--ink); }
.case { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 0 40px; padding: 36px 0; border-bottom: 1px solid var(--rule); }
.case__logo { width: 184px; height: 112px; border: 1px solid var(--rule); background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 0 18px; }
.case__logo img { height: calc(var(--h) * .8px); width: auto; max-width: 150px; display: block; }
.case__logo--dark { background: #000; border-color: #000; }
.case__kind { font-size: .9375rem; color: var(--stone); }
.case__title { font-weight: 600; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.015em; margin-top: 4px; }
.case__body { color: var(--graphite); margin-top: 12px; max-width: 64ch; }
.case__note { margin-top: 12px; font-size: .9375rem; font-weight: 500; }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; margin-top: 18px; max-width: 46rem; }
.checks li { position: relative; padding-left: 26px; font-size: 1rem; }
.checks li::before { content: ''; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b04607' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.case--next { grid-template-columns: minmax(0, 1fr); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 72px; align-items: start; }
.split > * { min-width: 0; }
.facts { border-top: 1px solid var(--ink); }
.facts__row { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--graphite); }
.facts dd { font-weight: 500; text-align: right; }

/* --------------------------------------------------------------------------
   Contact + form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 0 72px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--ink); }
.contact-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-row dt { color: var(--graphite); }
.contact-row dd { text-align: right; font-weight: 500; }
.form { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border: 1px solid var(--ink); padding: 32px; }
.form__head { display: block; }
.form__title { font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.form__sub { color: var(--graphite); margin: 8px 0 24px; }
.form__fields { display: flex; flex-direction: column; gap: 18px; }
.form__submit { margin-top: 26px; }
.form__fine { font-size: .875rem; color: var(--stone); margin-top: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-size: .9375rem; font-weight: 500; }
.field__req { color: var(--signal-deep); }
.field__box { display: flex; align-items: center; min-height: 48px; padding: 0 14px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.field__box:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field__box input, .field__box select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 1rem/1.3 var(--font); color: var(--ink); padding: 12px 0; }
.field__box input::placeholder { color: var(--stone); }
.field--select .field__box { position: relative; padding-right: 40px; }
.field--select select { appearance: none; cursor: pointer; height: 100%; }
.field__chev { position: absolute; right: 14px; pointer-events: none; color: var(--graphite); display: flex; }
.field__chev svg { width: 14px; height: 14px; }
.field__error { font-size: .875rem; color: var(--danger); }
.field[data-invalid='1'] .field__box { border-color: var(--danger); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* custom listbox that replaces the native <select> popup once JS runs */
.select-native { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.select-trigger { all: unset; box-sizing: border-box; display: flex; align-items: center; flex: 1; min-width: 0; min-height: 46px; font: 400 1rem/1.3 var(--font); color: var(--ink); cursor: pointer; }
.select-trigger:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 2px; }
.select-popup { position: absolute; top: calc(100% + 4px); left: -1px; right: -1px; z-index: 40; background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(18, 18, 18, .14); padding: 4px; list-style: none; margin: 0; max-height: 260px; overflow-y: auto; }
.select-popup[hidden] { display: none; }
.select-option { padding: 11px 12px; border-radius: 2px; cursor: pointer; }
.select-option--active { background: var(--concrete); }
.select-option--selected { font-weight: 600; }

.attached { border: 1px solid var(--rule-strong); background: var(--concrete); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; }
.attached__label { font-size: .875rem; font-weight: 600; }
.attached__body { font-size: .9375rem; line-height: 1.55; color: var(--graphite); margin-top: 4px; }
.result { padding: 8px 0; }
.result__icon { display: inline-flex; color: var(--signal-deep); }
.result__icon svg { width: 36px; height: 36px; stroke-width: 3; }
.result__title { font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; margin: 14px 0 8px; }
.result__body { color: var(--graphite); margin-bottom: 24px; }
.result__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form__alert { font-size: .9375rem; line-height: 1.55; color: var(--danger); margin-top: 18px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal-deep); cursor: pointer; }

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */
.cta { background: var(--signal); color: var(--ink); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.cta__title { font-weight: 600; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 18em; text-wrap: balance; }
.cta__text { margin-top: 14px; max-width: 46rem; font-size: 1.125rem; line-height: 1.55; }
.cta__text a { color: var(--ink); text-decoration-color: var(--ink); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta .btn--primary { background: var(--ink); color: var(--paper); }
.cta .btn--primary:hover { background: #000; color: var(--paper); }
.cta .btn--secondary { border-color: var(--ink); color: var(--ink); }
.cta .btn--secondary:hover { background: var(--ink); color: var(--signal); }

/* --------------------------------------------------------------------------
   Articles
   -------------------------------------------------------------------------- */
.article-head .h1 { max-width: 16em; }
.prose { max-width: 41rem; }
.prose .h2, .prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin-top: 52px; margin-bottom: 14px; }
.prose p { color: var(--ink); margin-bottom: 1.15em; font-size: 1.125rem; line-height: 1.72; max-width: none; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .5em; font-size: 1.125rem; line-height: 1.7; }
.prose .copy { max-width: none; color: var(--ink); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--signal-bright); text-decoration: underline; }
.site-footer__top { display: flex; justify-content: space-between; gap: 56px; padding-top: 72px; padding-bottom: 56px; }
.site-footer__brand { max-width: 340px; }
.site-footer__brand img { height: 52px; width: auto; display: block; margin-bottom: 20px; }
.site-footer__blurb { font-size: .9375rem; line-height: 1.7; }
.site-footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.site-footer__title { font-size: .9375rem; font-weight: 600; color: var(--on-dark); margin-bottom: 14px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: .9375rem; }
.site-footer__links span { color: var(--on-dark-muted); }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 40px; font-size: .875rem; }
.site-footer__bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule-dark); }

.site-footer__bottom > span:last-child { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.cookie-settings { background: none; border: 0; padding: 0; font: inherit; color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--rule-dark); text-underline-offset: 3px; cursor: pointer; }
.cookie-settings:hover { color: var(--signal-bright); text-decoration-color: var(--signal-bright); }

/* --------------------------------------------------------------------------
   Cookie consent
   -------------------------------------------------------------------------- */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 640px; margin: 0 auto; padding: 20px 22px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); border: 1px solid var(--rule-dark); box-shadow: 0 12px 32px rgba(0, 0, 0, .28); }
.consent-banner__text { font-size: .9375rem; line-height: 1.6; color: var(--on-dark-muted); margin: 0 0 16px; }
.consent-banner__text a { color: var(--on-dark); }
.consent-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-banner__actions .btn { flex: 1 1 auto; }

/* --------------------------------------------------------------------------
   Coverage map (Leaflet): greyscale tiles so the orange pins are the only colour
   -------------------------------------------------------------------------- */
.coverage-map { position: relative; z-index: 0; isolation: isolate; height: 440px; border: 1px solid var(--rule-strong); background: var(--concrete); }
.coverage-map .leaflet-container { font-family: var(--font); background: var(--concrete); }
.coverage-map .leaflet-tile-pane { filter: grayscale(1) contrast(.78) brightness(1.2); }
.coverage-map .leaflet-control-zoom { border: 1px solid var(--ink) !important; border-radius: var(--radius) !important; box-shadow: none !important; overflow: hidden; }
.coverage-map .leaflet-control-zoom a { background: var(--paper) !important; color: var(--ink) !important; width: 34px !important; height: 34px !important; line-height: 34px !important; }
.coverage-map .leaflet-control-zoom a:hover { background: var(--concrete) !important; }
.coverage-map .leaflet-popup-content-wrapper { border-radius: var(--radius); box-shadow: 0 8px 20px rgba(18, 18, 18, .18); font-family: var(--font); }
.coverage-map .leaflet-popup-content { margin: 12px 14px; font-size: .9375rem; line-height: 1.5; color: var(--ink); }
.coverage-map .leaflet-popup-content strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--signal-deep); margin-bottom: 2px; text-transform: none; letter-spacing: 0; }
.coverage-map .leaflet-control-attribution { background: rgba(255, 255, 255, .88) !important; font-size: 11px !important; color: var(--graphite) !important; }
.map-pin { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--signal); border: 3px solid var(--paper); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.map-pin svg { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .scope__grid, .contact-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .scope__grid { gap: 48px 0; }
  .contact-grid { gap: 56px 0; }
  .readout, .form { position: relative; top: auto; }
  .process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .cards, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav, .header-phone, .site-header__right .btn { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 820px) {
  :root { --gutter: 24px; --header-h: 64px; }
  .brand img { height: 38px; }
  .g2, .g3, .cards, .opts, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 40px; }
  .page-head { padding-top: 24px; padding-bottom: 36px; }
  .scope { padding-top: 32px; padding-bottom: 64px; }
  .pt-76 { padding-top: 64px; } .pb-76 { padding-bottom: 64px; } .pb-40 { padding-bottom: 40px; } .pt-40 { padding-top: 40px; }
  .process { padding-top: 64px; padding-bottom: 72px; }
  .process__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .row--svc, div.row--svc, .row--log, .row--post, .row--read { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  div.row--svc { grid-template-columns: 36px minmax(0, 1fr); }
  div.row--svc .row__desc { grid-column: 2; }
  .row__aside, .row__kind { text-align: left; }
  .clients__head, .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__inner { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .case { grid-template-columns: minmax(0, 1fr); gap: 20px 0; padding: 28px 0; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 28px 24px; }
  .form { padding: 24px; }
  .opts { column-gap: 0; }
  .site-footer__top { flex-direction: column; gap: 40px; padding-top: 56px; }
  .site-footer__cols { gap: 40px; }
  .coverage-map { height: 340px; }
  .chips { display: flex; width: 100%; }
  .chip { flex: 1 1 0; padding: 13px 8px; }
}
@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .step { flex-wrap: wrap; }
  .progress__labels { display: flex; justify-content: space-between; }
  .readout__kind { font-size: 1.75rem; }
  .lead, .hero__lead { font-size: 1.125rem; }
}

/* --------------------------------------------------------------------------
   Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .logo-marquee { animation: none; }
}
@media print {
  .site-header, .site-footer, .clients--strip, .no-print, .cta { display: none !important; }
  body { background: #fff; font-size: 11pt; }
}

/* --------------------------------------------------------------------------
   Chinese page (lang zh): system CJK fonts, no negative tracking, a header that keeps its language link and CTA on phones
   -------------------------------------------------------------------------- */
:lang(zh) body, body:lang(zh) { font-family: 'IBM Plex Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Hiragino Sans GB', system-ui, sans-serif; line-height: 1.8; }
:lang(zh) :is(h1, h2, h3, .hero__title, .cta__title, .process__num, .row__title) { letter-spacing: 0; }
:lang(zh) .hero__title { font-size: clamp(1.75rem, 4.6vw, 3.5rem); line-height: 1.25; max-width: 20em; }
:lang(zh) .hero__title span { display: inline-block; }
:lang(zh) :is(.row__desc, .copy, .card p, .process__body, .cta__text, .lead, .hero__lead) { text-wrap: pretty; }
:lang(zh) .h2 { line-height: 1.3; }
:lang(zh) .cta__title { line-height: 1.25; }
.header-lang { font-size: .9375rem; color: var(--graphite); text-decoration: none; }
.header-lang:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 980px) { .site-header__right a.header-cta { display: inline-flex; } }
@media (max-width: 520px) { .site-header__right { gap: 12px; } .site-header__right a.header-cta { padding: 0 12px; } .brand img { height: 34px; } }
