/* Studio of Solutions 2026 — site styles */
:root {
  --ink: #0a0a0a;
  --text: #1a1a1a;
  --body: #333333;
  --muted: #555555;
  --muted-2: #767676;
  --line: #dcdcdc;
  --line-2: #d4d4d4;
  --soft: #f5f5f3;
  --soft-line: #e4e4e0;
  --ph: #f2f2f0;
  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #ffffff; color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 12px; color: #fff; }

.wrap { max-width: 1288px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
.label { margin: 0; font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink); }
.label--muted { color: var(--muted); }
.h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5vw, 68px); line-height: 1.03; letter-spacing: -1.6px; color: var(--ink); }
.h1--xl { font-size: clamp(46px, 6vw, 84px); line-height: 1; letter-spacing: -2px; }
.h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.8px; color: var(--ink); }
.h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.6px; color: var(--ink); }
.lede { margin: 0; font-size: 19px; line-height: 1.6; color: var(--body); max-width: 640px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.4px; background: var(--ink); color: #ffffff; border: 1.5px solid var(--ink); border-radius: 0; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: #2b2b2b; border-color: #2b2b2b; color: #ffffff; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.btn--white { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.btn--white:hover { background: #e9e9e9; border-color: #e9e9e9; color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 13.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.link-arrow { font-family: var(--display); font-weight: 600; font-size: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.link-arrow--start { align-self: flex-start; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: #ffffff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); line-height: 1; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { display: block; width: 46px; height: 46px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; gap: 2px; }
.brand-mark { display: block; width: clamp(56px, 6vw, 84px); height: auto; aspect-ratio: 1; color: var(--ink); }
.site-footer .brand-mark { color: #ffffff; }
.logo__big { font-weight: 800; font-size: 22px; letter-spacing: -0.2px; }
.logo__row { display: flex; align-items: center; gap: 5px; }
.logo__of { font-size: 9px; font-weight: 700; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; padding: 1px; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 14.5px; }
.nav a:not(.btn) { padding: 10px 0 6px; border-bottom: 2px solid transparent; }
.nav a.is-active { border-bottom-color: var(--ink); font-weight: 600; }
.nav .nav__search { width: 44px; height: 44px; padding: 0 !important; border: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: transparent; border: 1.5px solid var(--ink); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle__bars i { display: block; width: 18px; height: 2px; background: currentColor; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active { border-bottom: 1px solid var(--line); text-decoration: underline; text-underline-offset: 5px; }
  .nav .nav__search { width: auto; justify-content: flex-start; border-bottom: 1px solid var(--line) !important; }
  .nav .btn { margin-top: 14px; }
}

/* ---------- Sections ---------- */
.sec { padding: 0 0 104px; }
.page-hero { padding: 80px 0 56px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-hero--split .wrap { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 56px; }
.page-hero__text { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-hero--flush { padding-bottom: 104px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.sec-head__text { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Home: hero ---------- */
.hero { padding: 88px 0 80px; }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.hero__main { flex: 1 1 580px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.svc-index { flex: 0 1 300px; min-width: 0; border-left: 1.5px solid var(--ink); padding-left: 28px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.svc-index__title { font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.svc-index a { display: flex; gap: 12px; padding: 5px 0; }
.svc-index a span { color: var(--muted-2); font-variant-numeric: tabular-nums; }
.svc-index .svc-index__tools { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; }

/* ---------- Home: workflow ---------- */
.flow { padding: 0 0 104px; }
.flow__title { margin: 0 0 22px; font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stage { border-top: 2px solid var(--ink); padding: 16px 20px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.stage__name { font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: 2px; text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; padding-right: 4px; }
.stage__note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.stage a { display: flex; gap: 8px; font-size: 14px; line-height: 1.45; }
.stage a b { font-family: var(--display); font-size: 12px; padding-top: 1px; }
.auto-bar { background: var(--ink); color: #ffffff; padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.auto-bar:hover { background: #222222; color: #ffffff; }
.auto-bar__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.auto-bar__text b { font-family: var(--display); font-size: 13.5px; letter-spacing: 2px; text-transform: uppercase; }
.auto-bar__text span { font-size: 15px; color: #cfcfcf; }

/* ---------- Home: service map ---------- */
.map { background: var(--soft); border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); padding: 96px 0 104px; }
.map .sec-head { margin-bottom: 64px; }
.svc5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.map-item { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.map-item:hover { color: var(--ink); }
.map-item:hover .map-item__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.map-item__num { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: 2px; color: var(--muted-2); }
.map-item__title { font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 1.4px; line-height: 1.25; text-transform: uppercase; }
.map-item ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--body); }
.rule-short { display: block; width: 56px; height: 2px; background: var(--ink); }
.rule-short--sm { width: 44px; }

.conn { position: relative; height: 76px; }
.conn--down { margin-top: 22px; }
.conn--up { margin-bottom: 22px; }
.conn__stubs { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; height: 30px; }
.conn__stubs span { display: block; width: 1.5px; height: 30px; background: var(--ink); margin-left: 28px; }
.conn--down .conn__stubs { top: 0; }
.conn--up .conn__stubs { top: 46px; }
.conn__bar { position: absolute; left: 28px; right: calc((100% - 112px) / 5 - 29.5px); height: 1.5px; background: var(--ink); }
.conn--down .conn__bar { top: 30px; }
.conn--up .conn__bar { top: 46px; }
.conn__mid { position: absolute; left: 50%; width: 1.5px; height: 46px; background: var(--ink); }
.conn--down .conn__mid { top: 30px; }
.conn--up .conn__mid { top: 0; }

.wordmark-block { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 26px 0; text-align: center; }
.wordmark { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: clamp(34px, 5.6vw, 76px); line-height: 0.95; letter-spacing: -1px; }
.wordmark__of { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.24em; font-weight: 700; letter-spacing: 1px; }
.wordmark__of i { display: block; width: 2.2em; height: 2px; background: currentColor; }
.subline { margin: 0; font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 5px; color: var(--body); }
.tagline { width: 100%; display: flex; align-items: center; gap: 20px; color: var(--ink); }
.tagline i { flex: 1 1 auto; height: 1.5px; background: currentColor; }
.tagline span { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 6px; white-space: nowrap; color: var(--ink); }

/* ---------- Stats / clients ---------- */
.stats-sec { padding: 80px 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { border-left: 1.5px solid var(--ink); padding: 4px 24px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: -1px; color: var(--ink); }
.stat span { font-size: 15px; color: var(--muted); }
.band { background: var(--soft); border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); padding: 72px 0; }
.with { border-top: 1px solid var(--line); padding-top: 40px; display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: baseline; }
.with h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.with p { margin: 0; flex: 1 1 600px; min-width: 0; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; letter-spacing: -0.3px; color: var(--ink); }
.with p i { font-style: normal; color: #b0b0b0; }

/* ---------- Cards ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid3--tight { gap: 20px; }
.grid3--wide { gap: 40px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ph { display: flex; align-items: center; justify-content: center; background: var(--ph); border: 1px solid var(--soft-line); font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-2); }
.fmt { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: var(--soft); border: 1px solid var(--soft-line); color: var(--ink); }
.fmt__mark { width: 30px; height: 30px; display: block; }
.fmt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.fmt__list span { border: 1.5px solid var(--ink); padding: 6px 10px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; background: #ffffff; }
a.work-card:hover .fmt, a.work-card:hover .card-title { text-decoration: underline; text-underline-offset: 5px; }
.work-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.work-card[hidden] { display: none; }
.work-card img { width: 100%; height: 250px; object-fit: cover; border: 1px solid var(--soft-line); }
.card-title { font-family: var(--display); font-weight: 700; font-size: 19px; }
.card-meta { font-size: 14.5px; color: var(--muted); }
.center { display: flex; justify-content: center; padding-top: 44px; }

/* ---------- Resource rows ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.split__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.split__main { flex: 2 1 620px; min-width: 0; display: flex; flex-direction: column; }
.res-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink); }
.res-row:first-child { border-top: 1.5px solid var(--ink); }
.res-row:last-child { border-bottom: 1px solid var(--line); }
.res-row__body { display: flex; flex-direction: column; gap: 4px; }
.res-row__type { font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.res-row__title { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.3; }
.res-row__more { font-size: 14.5px; font-weight: 500; }
.res-row__more--soon { color: var(--muted-2); font-weight: 500; }

/* ---------- CTA ---------- */
.cta-box { border: 1.5px solid var(--ink); padding: 56px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-box__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-box__text p { margin: 0; font-size: 18px; color: var(--body); }
.cta-dark { background: var(--ink); color: #ffffff; padding: 44px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-dark__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; color: #ffffff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d4d4d4; padding: 72px 0 32px; }
.site-footer a { color: #d4d4d4; }
.site-footer a:hover { color: #ffffff; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 56px; }
.site-footer .wordmark { color: #ffffff; font-size: clamp(36px, 6.4vw, 88px); }
.site-footer .subline { color: #bdbdbd; }
.site-footer .tagline { color: #5a5a5a; }
.site-footer .tagline span { color: #ffffff; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.footer-col { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.footer-col--wide { flex: 2 1 420px; }
.footer-col h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 3px; color: #ffffff; }
.footer-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 32px; }
.site-footer .footer-email { color: #ffffff; }
.footer-note { color: #a3a3a3; }
.footer-bottom { border-top: 1px solid #333333; margin-top: 56px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: #a3a3a3; }

/* ---------- Services page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; }
.page-hero--split .chips { flex: 0 1 380px; }
.chip { border: 1.5px solid var(--ink); padding: 7px 12px; }
.chip--dark { background: var(--ink); color: #ffffff; }
.chips--lg { font-size: 13px; letter-spacing: 1.4px; }
.chips--lg .chip { padding: 10px 14px; }
.svc-card { border: 1px solid var(--line-2); padding: 28px; display: flex; flex-direction: column; gap: 16px; color: var(--ink); transition: border-color .15s; }
.svc-card:hover { border-color: var(--ink); color: var(--ink); }
.svc-card__top { display: flex; justify-content: space-between; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); }
.svc-card__top b { color: var(--ink); font-weight: 600; }
.svc-card__title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.svc-card__items { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14.5px; color: var(--body); }
.svc-card__items li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--muted-2); }
.svc-card__text { font-size: 14.5px; color: var(--body); }
.svc-card__more { margin-top: auto; padding-top: 10px; font-family: var(--display); font-weight: 600; font-size: 13.5px; }
.svc-card--soft { background: var(--soft); border-color: var(--ink); }
.svc-card--dark { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.svc-card--dark:hover { color: #ffffff; background: #222222; }
.svc-card--dark .svc-card__top { color: #bdbdbd; }

/* ---------- Single service ---------- */
.crumbs { padding-top: 22px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); }
.svc-layout { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 56px; padding-bottom: 104px; }
.svc-main { flex: 1 1 700px; min-width: 0; display: flex; flex-direction: column; gap: 88px; }
.svc-intro { display: flex; flex-direction: column; gap: 22px; }
.svc-num { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 2px; }
.svc-block { display: flex; flex-direction: column; gap: 24px; border-top: 1.5px solid var(--ink); padding-top: 36px; }
.svc-block--faq { gap: 6px; }
.svc-block--faq .h3 { margin-bottom: 16px; }
.svc-block__lede { margin: 0; font-size: 18px; color: var(--body); max-width: 720px; }
.box { border: 1px solid var(--line-2); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.box h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 17px; }
.box ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.75; color: var(--body); }
.box p { margin: 0; font-size: 15px; color: var(--body); }
.steps5 { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps5 li { border-top: 2px solid var(--ink); padding: 14px 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.steps5 .n { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--muted-2); }
.steps5 .t { font-family: var(--display); font-weight: 700; font-size: 17px; }
.steps5 .d { font-size: 14.5px; color: var(--body); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related a { border: 1px solid var(--line-2); padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.related a:hover { border-color: var(--ink); color: var(--ink); }
.related a span span { color: var(--muted-2); }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.faq-item h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 17px; }
.faq-item p { margin: 0; font-size: 16px; color: var(--body); }
.onpage { flex: 0 1 220px; min-width: 0; align-self: flex-start; position: sticky; top: 24px; border-left: 1.5px solid var(--ink); padding-left: 22px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.onpage__title { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.onpage a { padding: 5px 0; }

/* ---------- Portfolio / resources tabs ---------- */
.filters, .tabs-line { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.filters button { background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 0; min-height: 44px; cursor: pointer; font-family: var(--sans); font-size: 15px; color: var(--ink); }
.filters button[aria-pressed="true"] { border-bottom-color: var(--ink); font-weight: 600; }
.tabs-line a { padding: 12px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 15px; }
.tabs-line a.is-active { border-bottom-color: var(--ink); font-weight: 600; }

/* ---------- Tools ---------- */
.tools { border-top: 1.5px solid var(--ink); padding-top: 40px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.tools__tabs { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tools__tabs button { text-align: left; background: #ffffff; color: var(--ink); border: 1px solid var(--line-2); padding: 0 18px; min-height: 52px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 14.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tools__tabs button:hover { border-color: var(--ink); }
.tools__tabs button[aria-selected="true"] { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.tools__panel { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.tools__panel[hidden] { display: none; }
.ticks { margin: 8px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.ticks li { border-bottom: 1px solid var(--line); padding: 13px 0; font-size: 16px; display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; display: inline-block; flex-shrink: 0; width: 7px; height: 7px; background: var(--ink); transform: translateY(-2px); }

/* ---------- About ---------- */
.col-rule { border-top: 1.5px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.col-rule h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; }
.col-rule p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--body); }
.statement-sec { padding: 104px 0; }
.statement { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.statement .tagline span { font-size: 13px; }
.statement p { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -1.2px; color: var(--ink); max-width: 960px; }

/* ---------- Process ---------- */
.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 28px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.tl-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 14px; }
.tl-line { flex: 1 1 auto; width: 1.5px; min-height: 24px; background: var(--ink); }
.timeline li:last-child .tl-line { background: transparent; }
.tl-body { flex: 1 1 auto; min-width: 0; padding: 8px 0 52px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.tl-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tl-text h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.4px; }
.tl-text p { margin: 0; font-size: 17px; color: var(--body); }
.tl-meta { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); padding-left: 22px; font-size: 15.5px; }
.tl-meta .k { font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.tl-meta .k + span { margin-bottom: 10px; }

/* ---------- Resources / posts ---------- */
.post-row { display: flex; flex-wrap: wrap; gap: 20px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
a.post-row:hover { color: var(--ink); }
a.post-row:hover .post-row__title { text-decoration: underline; text-underline-offset: 5px; }
.post-row > .ph, .post-row__img, .post-row__fmt { flex: 0 0 220px; height: 140px; }
.post-row__fmt { padding: 16px; }
.post-row__img img { width: 220px; height: 140px; object-fit: cover; }
.post-row__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.post-row__title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.25; }
.post-row__excerpt { font-size: 16px; color: var(--body); }
.post-row__more { font-size: 15px; font-weight: 600; }
.pager { display: flex; justify-content: center; gap: 14px; padding-top: 40px; }
.pager a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--ink); font-family: var(--display); font-weight: 600; font-size: 14px; }
.search-form { display: flex; flex-wrap: wrap; gap: 12px; max-width: 640px; }
.search-form input { flex: 1 1 280px; min-width: 0; height: 52px; padding: 0 14px; border: 1.5px solid var(--ink); font: inherit; font-size: 16px; border-radius: 0; }

/* ---------- Article ---------- */
.article { padding-bottom: 104px; }
.crumbs--flush { padding-left: 0; padding-right: 0; max-width: 760px; }
.article__head { max-width: 760px; margin: 0 auto; padding: 48px 24px 36px; display: flex; flex-direction: column; gap: 18px; }
.article .crumbs { margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.article__image { max-width: 1040px; margin: 0 auto 40px; padding: 0 24px; }
.entry-content { max-width: 760px; margin: 0 auto; padding: 0 24px; font-size: 18px; line-height: 1.75; color: var(--text); }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.2; margin: 1.8em 0 0.6em; }
.entry-content h2 { font-size: 30px; letter-spacing: -0.5px; }
.entry-content h3 { font-size: 22px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--ink); font-size: 20px; color: var(--body); }
.entry-content pre, .entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--soft); }
.entry-content pre { padding: 18px; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content img { height: auto; }
.alignwide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px 72px; border-top: 1.5px solid var(--ink); padding-top: 44px; margin-top: 32px; scroll-margin-top: 24px; }
.form { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 0; background: #ffffff; font: inherit; font-size: 16px; font-weight: 400; color: var(--text); }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0; padding: 14px 18px; border: 1.5px solid var(--ink); font-size: 15px; }
.notice--ok { background: var(--soft); }
.notice--err { border-color: #b00020; color: #8a0019; }
.contact-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.kv { display: flex; flex-direction: column; gap: 6px; }
.kv .k { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--muted); }
.kv .v { font-size: 18px; min-height: 30px; }
.kv .n { font-size: 15px; color: var(--muted); }
.kv--rule { border-top: 1px solid var(--line); padding-top: 24px; }
.kv .list { font-size: 16px; line-height: 1.85; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .svc5 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .conn { display: none; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .steps5 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .onpage { position: static; }
  .svc-main { gap: 64px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .svc5, .stages, .grid3, .grid2, .stats, .steps5 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 56px; }
  .page-hero { padding: 56px 0 40px; }
  .sec, .flow { padding-bottom: 72px; }
  .map { padding: 64px 0 72px; }
  .cta-box, .cta-dark { padding: 32px 24px; }
  .subline { letter-spacing: 2.5px; font-size: 11.5px; }
  .tagline { gap: 12px; }
  .tagline span { white-space: normal; letter-spacing: 3px; font-size: 12px; }
  .post-row > .ph, .post-row__img, .post-row__img img { flex-basis: 100%; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
