@font-face {
  font-family: Manrope; src: url(/assets/manrope-lat.woff2) format("woff2");
  font-style: normal; font-weight: 200 800; font-display: swap;
}
@font-face {
  font-family: Manrope; src: url(/assets/manrope-cyr.woff2) format("woff2");
  font-style: normal; font-weight: 200 800; font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  --paper: #f2f2f2; --ink: #21211f; --white: #fff; --muted: #535350;
  --line: #a4a4a0; --soft: #e8e8e6; --gutter: clamp(1rem, 3.35vw, 3.75rem);
  --space: clamp(3.4rem, 7vw, 7rem);
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink); background: var(--paper); font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #376b94; outline-offset: 4px;
}
p { line-height: 1.6; margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.045em; line-height: 1.04; overflow-wrap: anywhere; }
.wrap { max-width: 1600px; width: 100%; padding-inline: var(--gutter); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 0; left: 1rem; padding: .8rem; background: var(--white); transform: translateY(-110%); }
.skip:focus { transform: none; }
[id] { scroll-margin-top: 1.2rem; }
.topbar { min-height: 5.1rem; padding-block: .9rem; display: flex; align-items: center; gap: clamp(.65rem, 1.4vw, 1.6rem); }
.brand { display: inline-block; flex: 0 0 auto; }
.brand img { width: clamp(5rem, 8vw, 7rem); }
.desktop-nav, .pills { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.desktop-nav a, .pills a, .mobile-nav summary {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  padding: .45rem .95rem; border-radius: 2rem; background: var(--white); text-decoration: none;
  text-transform: uppercase; font-size: .875rem; white-space: nowrap; line-height: 1.15;
}
.desktop-nav a:hover, .pills a:hover, .mobile-nav summary:hover { background: var(--soft); }
.desktop-nav a[aria-current], .desktop-nav a.current { background: var(--ink); color: var(--white); }
.top-social { margin-left: auto; display: flex; gap: .75rem; }
.top-social a { text-transform: uppercase; font-size: .875rem; text-decoration: none; }
.top-social a:hover { text-decoration: underline; }
.mobile-nav { display: none; position: relative; margin-right: auto; }
.mobile-nav summary { cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; margin-left: .6rem; font-size: 1.15rem; }
.mobile-nav[open] summary::after { content: "−"; }
.mobile-nav nav { position: absolute; z-index: 3; left: 0; top: calc(100% + .45rem); min-width: 12rem; padding: .4rem; background: var(--white); border: 1px solid var(--line); border-radius: .75rem; box-shadow: 0 12px 32px #21211f20; }
.mobile-nav nav a { display: block; padding: .75rem; border-radius: .4rem; text-decoration: none; }
.mobile-nav nav a:hover, .mobile-nav nav a[aria-current], .mobile-nav nav a.current { background: var(--soft); }
.button { display: inline-flex; min-height: 46px; justify-content: center; align-items: center; border: 1px solid var(--ink); border-radius: 3rem;
  padding: .66rem 1.38rem; background: var(--ink); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: .95rem; line-height: 1.3; text-align: center; cursor: pointer; }
.button:hover { background: #494945; border-color: #494945; color: var(--white); }
.button.outline { background: transparent; color: var(--ink); }
.button.outline:hover { background: var(--white); }
.button.light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button.light:hover { background: var(--soft); }
.header-cta { margin-left: 0; white-space: nowrap; }
.hero { position: relative; padding-top: .8rem; text-align: center; padding-bottom: clamp(3rem, 7vw, 7rem); container-type: inline-size; }
.hero h1 { text-transform: uppercase; text-align: left; }
.hero-title { display: block; font-size: 18.2cqw; line-height: .91; letter-spacing: -.071em; font-weight: 500; white-space: nowrap; }
.hero-sub { display: flex; justify-content: space-between; font-size: 5.25cqw; margin-top: .25em; }
.hero-tag { position: absolute; top: 19.65cqw; left: 50%; transform: translateX(-50%); font-size: clamp(.8rem, 1.18cqw, 1rem); line-height: 1.2; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hero-line { margin: clamp(2.4rem, 5vw, 4.3rem) auto clamp(2.2rem, 3.8vw, 3.5rem); width: 1px; height: clamp(2.7rem, 7.8vw, 6.3rem); display: block; background: var(--line); }
.hero-logo img { width: clamp(10rem, 26.5cqw, 24rem); margin: auto; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-actions { justify-content: center; margin-top: clamp(1.9rem, 3vw, 3rem); }
.page-head { padding-top: clamp(1.7rem, 4vw, 4rem); padding-bottom: clamp(2.4rem, 5.2vw, 5.7rem); }
.crumb { display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; margin-bottom: clamp(1.2rem, 3vw, 2.4rem); color: var(--muted); font-size: .875rem; }
.page-head h1 { text-transform: uppercase; font-size: clamp(2.25rem, 7.1vw, 8rem); max-width: 16ch; }
.page-head p, .intro { max-width: 54ch; font-size: clamp(1.06rem, 1.6vw, 1.4rem); color: var(--muted); }
.page-head p { margin-top: 1rem; }
.intro { margin-bottom: 1.25rem; }
.section { padding-block: var(--space); }
.section.compact { padding-top: 0; }
.section h2 { font-size: clamp(2.05rem, 5.55vw, 5.4rem); margin-bottom: clamp(1.5rem, 4vw, 3.2rem); text-transform: uppercase; }
.band { background: var(--soft); }
.service-grid, .case-grid, .text-grid, .price-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.5rem);
}
.service-card, .case-card { border: 1px solid var(--ink); padding: clamp(.95rem, 1.7vw, 1.6rem); text-decoration: none; min-width: 0; }
.service-card { aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 12rem; }
.service-card h3, .case-card h3, .text-card h3, .steps h3 { font-size: clamp(1.35rem, 2.35vw, 2.15rem); }
.service-card:hover, .case-card:hover { background: var(--ink); color: var(--white); }
.card-foot { display: flex; justify-content: space-between; align-items: end; gap: .75rem; margin-top: 1.2rem; }
.card-foot p { line-height: 1.25; text-align: right; max-width: 18ch; font-size: clamp(.875rem, 1.2vw, 1rem); }
.plus { display: grid; flex: 0 0 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 1.7rem; font-weight: 300; }
.after-grid, .actions { margin-top: 1.65rem; }
.case-grid, .text-grid, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-card { min-height: 15rem; display: flex; flex-direction: column; }
.metric { margin-top: auto; padding-top: 1.6rem; font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -.08em; line-height: 1; }
.metric-label { margin-top: .45rem; }
.text-card { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.text-card p { margin-top: .75rem; max-width: 48ch; color: var(--muted); }
.text-card a { display: inline-block; margin-top: 1rem; }
.price { display: block; margin-top: .75rem; font-size: clamp(1.6rem, 3vw, 2.7rem); letter-spacing: -.045em; font-weight: 600; }
.case-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-bottom: var(--space); border-block: 1px solid var(--line); padding: 1.6rem 0; }
.case-summary strong { display: block; font-size: clamp(1.35rem, 4vw, 3.7rem); line-height: 1.1; letter-spacing: -.055em; font-weight: 500; }
.case-summary span { display: block; margin-top: .45rem; color: var(--muted); }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.steps p { max-width: 66ch; margin-top: .6rem; color: var(--muted); }
.step-heading { display: flex; align-items: baseline; gap: .65rem; }
.step-heading span { flex: none; font-size: .875rem; font-variant-numeric: tabular-nums; }
.role-list { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 1.35rem 0 0; gap: .65rem; }
.role-list li { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 3rem; }
.split { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(1rem, 4vw, 4.5rem); align-items: center; }
.split img { width: 100%; max-height: 34rem; object-fit: cover; object-position: center 25%; }
.split h3 { font-size: clamp(1.8rem, 4vw, 3.8rem); margin-bottom: .7rem; }
.facts { padding-left: 1.2rem; margin-bottom: 0; line-height: 1.55; }
.facts li + li { margin-top: .5rem; }
.partner { display: flex; align-items: center; gap: 1rem; }
.partner img { width: clamp(3rem, 9vw, 6rem); }
.offer-visual { padding-bottom: var(--space); }
.offer-visual .pills { margin-bottom: 1.4rem; }
.offer-visual img { width: 100%; max-height: 31rem; aspect-ratio: 2.4 / 1; object-fit: cover; object-position: center; }
.prose { max-width: 78ch; line-height: 1.65; overflow-wrap: anywhere; }
.prose li + li { margin-top: .4rem; }
.privacy { padding-bottom: var(--space); }
.cta { background: var(--ink); color: var(--white); padding-block: clamp(2.1rem, 5.5vw, 5.6rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1.3rem; justify-content: space-between; align-items: center; }
.cta h2 { font-size: clamp(2rem, 5.25vw, 4.8rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(1.25rem, 6vw, 6rem); }
.contact-grid h2 { font-size: clamp(1.65rem, 3.4vw, 3.1rem); margin-bottom: 1rem; }
.contact-info > div { display: grid; justify-items: start; gap: .85rem; overflow-wrap: anywhere; }
.demo-note { background: var(--soft); padding: .7rem 1rem; margin-bottom: 1rem; }
.lead-form, .field { display: grid; gap: .85rem; }
.field { gap: .32rem; align-content: start; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.field label, fieldset legend { font-weight: 650; }
.field :is(input,select,textarea) { border: 1px solid #81817d; background: var(--white); color: var(--ink); border-radius: .25rem; min-height: 48px; width: 100%; padding: .65rem .8rem; }
.field select { appearance: none; padding-right: 2.15rem; background: var(--white) url(/assets/chevron.svg) no-repeat right .75rem center / .95rem; }
.field textarea { resize: vertical; }
.lead-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-hint { margin: .3rem 0 .55rem; }
.consent { display: flex; align-items: start; gap: .75rem; margin: .35rem 0; }
.consent input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; flex: 0 0 auto; accent-color: var(--ink); }
.consent label { cursor: pointer; display: block; }
.consent a { display: inline-block; margin-top: .35rem; }
.lead-form button { justify-self: start; }
.errors { border-left: 4px solid #a01824; padding: .75rem 1rem; margin-bottom: 1rem; color: #881924; background: #ffeded; }
.errors ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.field-error { display: block; color: #881924; }
.field [aria-invalid="true"] { border: 2px solid #a01824; }
.status { min-height: 58vh; padding-block: var(--space); text-align: center; display: grid; place-items: center; align-content: center; gap: 1.3rem; }
.status img { width: clamp(7rem,18vw,14rem); }
.status h1 { font-size: clamp(2.35rem, 6.8vw, 6rem); text-transform: uppercase; }
.status p { max-width: 48ch; }
.status .status-code { font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.07em; }
.footer { border-top: 1px solid var(--line); padding: 2.6rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr .7fr 1fr; gap: 1.8rem; }
.footer-grid nav, .footer-contacts { display: grid; justify-items: start; gap: .55rem; align-content: start; overflow-wrap: anywhere; }
.legal { color: var(--muted); font-size: .875rem; line-height: 1.55; margin-top: .75rem; }
@media (max-width: 1090px) { .top-social { display: none; } .header-cta { margin-left: auto; } }
@media (max-width: 820px) {
  .mobile-nav { display: block; }
  .desktop-nav { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { aspect-ratio: 1.3 / 1; }
  .hero-tag { position: static; transform: none; margin: 1.4rem auto 0; }
}
@media (max-width: 580px) {
  .topbar { min-height: 4.35rem; }
  .topbar .brand img { width: 3.45rem; }
  .header-cta, .mobile-nav summary { padding-inline: .65rem; font-size: .875rem; }
  .home .header-cta { display: none; }
  .hero { padding-top: 1.75rem; }
  .hero-title { font-size: 18cqw; }
  .hero-sub { font-size: 7.5cqw; }
  .case-grid, .text-grid, .price-grid, .split, .contact-grid, .field-row { grid-template-columns: 1fr; }
  .case-card { min-height: 12rem; }
  .service-card { aspect-ratio: auto; min-height: 10.4rem; }
  .card-foot { align-items: start; flex-direction: column-reverse; gap: .55rem; }
  .card-foot p { text-align: left; }
  .plus { flex: 0 0 auto; width: 2rem; height: 2rem; }
  .case-summary { grid-template-columns: 1fr 1fr; }
  .case-summary > div:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* Agency editorial layouts */
:root {
  --space: clamp(3.5rem, 6.1vw, 7rem);
  --border-soft: #cececa;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 4.75rem;
  background: var(--paper);
}
.skip { z-index: 20; }
[id] { scroll-margin-top: 5.25rem; }
.hero { padding-bottom: clamp(3.5rem, 6vw, 5.8rem); }
.hero-title { font-size: 18.8cqw; }
.hero-sub { margin-top: .16em; }
.hero-tag { top: 20cqw; }
.hero-line {
  height: clamp(2.4rem, 5vw, 4.2rem);
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: clamp(1.85rem, 3vw, 2.55rem);
}
.hero-logo img { width: clamp(9.5rem, 24cqw, 21rem); }
.hero-actions { margin-top: clamp(1.5rem, 2.5vw, 2.4rem); }
.service-card {
  background: #f9f9f8;
  border-color: var(--border-soft);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.service-card:hover { border-color: var(--ink); }
.service-grid { margin-top: .25rem; }
.service-card .plus { background: var(--soft); }
.service-card:hover .plus { background: var(--white); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 2rem); }
.product-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.product-card img {
  width: 100%; aspect-ratio: 2.05 / 1; height: auto;
  object-fit: cover; object-position: center 42%;
}
.product-card > div { padding: clamp(1.2rem, 2.7vw, 2.5rem); }
.product-card h3 { max-width: 18ch; font-size: clamp(1.65rem, 3.4vw, 3.1rem); }
.product-card p { color: var(--muted); margin-top: .65rem; }
.product-card span, .card-link { display: inline-block; text-decoration: underline; text-underline-offset: .22em; margin-top: 1.15rem; }
.product-card:hover { background: var(--white); }
.product-card:hover span, .case-card:hover .card-link { text-decoration-thickness: .13em; }
.team { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.25rem, 5vw, 5rem); }
.team-roles { margin: 0; padding: 0; list-style: none; }
.team-roles li { border-top: 1px solid var(--line); padding: .75rem 0; }
.team-roles li:last-child { border-bottom: 1px solid var(--line); }
.founder img { aspect-ratio: 4 / 3; }
.founder p { color: var(--muted); }
.founder .facts { padding: 0; list-style: none; margin-top: 1.3rem; }
.founder .facts li { border-top: 1px solid var(--border-soft); padding-block: .55rem; margin: 0; }
.case-section { background: var(--ink); color: var(--white); }
.case-section .intro { color: #d6d6d1; margin-top: -1.25rem; margin-bottom: 2rem; }
.case-section .case-card {
  background: #2a2a28;
  border-color: #62625c;
  padding: clamp(1.2rem, 2.6vw, 2.6rem);
  min-height: 100%;
}
.case-section .case-card:hover { background: #353531; border-color: #999992; }
.case-section .case-card h3 { max-width: 23ch; }
.case-section .metric {
  margin-top: 0;
  font-size: clamp(2.8rem, 8vw, 7.4rem);
  font-weight: 500;
}
.case-section .metric-label { color: #dddeda; }
.case-result { margin: 1.25rem 0; color: #f0f0ed; max-width: 53ch; }
.case-meta { display: flex; flex-wrap: wrap; gap: 1.7rem; margin: auto 0 0; padding: 1rem 0 0; border-top: 1px solid #777771; }
.case-meta dt { color: #dddeda; font-size: .875rem; }
.case-meta dd { margin: .2rem 0 0; }
.request-section { background: var(--soft); padding-block: var(--space); }
.request-section > .wrap > h2 { font-size: clamp(2.05rem, 5.55vw, 5.4rem); margin-bottom: clamp(1.5rem, 4vw, 3.2rem); text-transform: uppercase; }
.request-section .contact-info > p { max-width: 35ch; color: var(--muted); margin-bottom: 1.5rem; }
.request-panel { background: var(--paper); padding: clamp(1rem, 2.8vw, 2.75rem); }
.request-panel h2 { margin-bottom: 1.4rem; }
.partner { align-items: center; background: var(--paper); padding: clamp(1.15rem, 2.7vw, 2.5rem); max-width: 53rem; }
.partner img { width: clamp(4rem, 11vw, 9rem); height: auto; }
.partner div { min-width: 0; }
.partner a { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 650; }
.partner p { color: var(--muted); margin-top: .35rem; }
.blog-card {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap;
  gap: 1.25rem; border-block: 1px solid var(--border-soft); padding-block: 1.5rem;
}
.blog-card h3 { margin-block: .45rem .6rem; font-size: clamp(1.5rem, 3.1vw, 2.7rem); }
.blog-card p, .archive-note { color: var(--muted); max-width: 62ch; }
.blog-card p:first-child { font-size: .875rem; }
.archive-note { margin-top: 1rem; }
.intro-actions { margin-top: clamp(-3rem, -3vw, -1.35rem); }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.scope-card { background: #f9f9f8; border: 1px solid var(--border-soft); padding: clamp(1.1rem, 2.4vw, 2.15rem); }
.scope-card ul { padding: 0; margin: 1.15rem 0 0; list-style: none; }
.scope-card li { line-height: 1.5; padding-block: .7rem; border-top: 1px solid var(--border-soft); }
.outcome { font-size: clamp(1.35rem, 3vw, 2.75rem); line-height: 1.25; letter-spacing: -.035em; max-width: 33ch; }
.offer-head { background: var(--soft); padding-block: clamp(1.8rem, 4.6vw, 5rem); }
.offer-split { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(1rem, 3.4vw, 4rem); align-items: stretch; }
.offer-split > div { display: flex; flex-direction: column; align-items: start; justify-content: center; min-width: 0; }
.offer-split h1 { font-size: clamp(2rem, 5.5vw, 6rem); text-transform: uppercase; }
.offer-split p { color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.35rem); max-width: 47ch; margin-top: 1rem; }
.offer-split .pills { margin-top: 1.5rem; }
.offer-split img { width: 100%; height: 100%; min-height: 23rem; object-fit: cover; }
.bot-head { background: var(--ink); color: var(--white); }
.bot-head :is(p, .crumb) { color: #e3e3df; }
.bot-head :is(.button, .pills a) { color: var(--ink); background: var(--white); }
.bot-head :is(.button:hover,.pills a:hover) { background: var(--soft); }
.illustrated-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 1.8vw, 1.7rem); align-items: stretch;
}
.illustrated-card { background: #f9f9f8; border: 1px solid var(--border-soft); min-width: 0; }
.illustrated-card img { width: 100%; height: auto; aspect-ratio: 1.6 / 1; object-fit: cover; }
.illustrated-card > div { padding: clamp(1rem, 2vw, 1.8rem); }
.illustrated-card h3 { font-size: clamp(1.35rem, 2.4vw, 2.05rem); }
.illustrated-card p { margin-top: .65rem; color: var(--muted); }
.price-grid .illustrated-card { display: flex; flex-direction: column; }
.price-grid .illustrated-card > div { display: flex; flex-direction: column; align-items: start; flex: 1; }
.price-grid .illustrated-card p { padding-bottom: 1.2rem; }
.price-grid .illustrated-card .button { margin-top: auto; }
@media (max-width: 950px) {
  .scope-grid, .illustrated-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-split img { min-height: 20rem; }
}
@media (max-width: 820px) {
  .hero-title { font-size: 18.8cqw; }
  .team { grid-template-columns: 1fr; }
  .offer-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .offer-split img { height: auto; min-height: 0; aspect-ratio: 2 / 1; }
}
@media (max-width: 580px) {
  .topbar { min-height: 4.35rem; }
  [id] { scroll-margin-top: 4.8rem; }
  .hero-title { font-size: 18.5cqw; }
  .hero { padding-top: 1.25rem; padding-bottom: 2.6rem; }
  .hero-actions { gap: .55rem; }
  .hero-actions .button { font-size: .875rem; padding-inline: .85rem; }
  .product-grid, .scope-grid, .illustrated-grid { grid-template-columns: 1fr; }
  .request-panel { margin-inline: calc(var(--gutter) * -.25); }
  .case-section .intro { margin-top: -.5rem; }
  .case-meta { gap: 1rem; }
  .partner { align-items: start; flex-direction: column; }
  .founder img { max-height: 24rem; }
}
@media (prefers-reduced-motion: reduce) { .service-card { transition: none; } }

/* Service catalog and case navigation */
.catalog-shortcuts, .detail-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.catalog-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem .95rem;
  border: 1px solid var(--border-soft);
  border-radius: 2rem;
  background: var(--white);
  text-decoration: none;
  font-size: .9rem;
}
.catalog-shortcuts a:hover { border-color: var(--ink); }
#directions { padding-top: clamp(2.2rem, 5vw, 4.7rem); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem); }
.catalog-group { border: 1px solid var(--border-soft); background: #f9f9f8; }
.catalog-group h3 {
  padding: clamp(1.1rem, 2.5vw, 2.3rem);
  font-size: clamp(1.5rem, 3vw, 2.7rem);
}
.catalog-group ul { list-style: none; margin: 0; padding: 0; }
.catalog-group a {
  display: grid;
  gap: .3rem;
  border-top: 1px solid var(--border-soft);
  padding: .9rem clamp(1.1rem, 2.5vw, 2.3rem);
  text-decoration: none;
}
.catalog-group a:hover { background: var(--soft); }
.catalog-group a:hover strong { text-decoration: underline; }
.catalog-group a:focus-visible { outline-offset: -5px; }
.catalog-group strong { font-size: clamp(1rem, 1.6vw, 1.3rem); }
.catalog-group span { color: var(--muted); }
.case-filters { margin-bottom: 1.5rem; }
.case-filters a { color: var(--white); background: transparent; border: 1px solid #777771; }
.case-filters a:hover, .case-filters a[aria-current] { background: var(--white); color: var(--ink); border-color: var(--white); }
.mobile-nav nav { max-width: min(14rem, 90vw); max-height: calc(100dvh - 5.2rem); overflow-y: auto; }
.mobile-offers { border-top: 1px solid var(--border-soft); margin-top: .3rem; padding-top: .3rem; }
@media (max-width: 580px) {
  .catalog-grid { grid-template-columns: 1fr; }
}

/* Service dialogs, stage layout and blog author */
.service-dialog {
  width: min(55rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(88dvh, 48rem);
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: .45rem;
  background: var(--paper);
  color: var(--ink);
}
.service-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.service-dialog::backdrop { background: rgb(23 23 18 / 68%); }
body:has(.service-dialog[open]) { overflow: hidden; }
.dialog-header, .dialog-actions { display: flex; align-items: center; gap: .8rem; }
.dialog-header, .dialog-content, .dialog-actions { padding: clamp(1rem, 3vw, 2rem); }
.dialog-header { justify-content: space-between; border-bottom: 1px solid var(--border-soft); }
.dialog-header h3 { font-size: clamp(1.45rem, 4.5vw, 2.85rem); }
.dialog-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { border-color: var(--ink); }
.dialog-content { overflow-y: auto; overscroll-behavior: contain; }
.dialog-content > p { color: var(--muted); max-width: 62ch; margin-bottom: 1.2rem; }
.dialog-content .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dialog-content .scope-card h3 { font-size: clamp(1.15rem, 2.35vw, 1.7rem); }
.dialog-actions { flex-wrap: wrap; border-top: 1px solid var(--border-soft); }
.steps-timeline { border-bottom: 1px solid var(--ink); }
.steps-timeline li { border-color: var(--ink); }
.steps-timeline p { max-width: 34ch; margin-top: clamp(.8rem, 2.5vw, 2rem); }
.blog-byline { margin-bottom: 1.35rem; max-width: 60ch; color: var(--muted); }
.blog-author p { font-size: clamp(1.05rem, 1.75vw, 1.4rem); max-width: 47ch; }
.blog-author p + p { margin-top: 1.1rem; }
@media (min-width: 620px) {
  .steps-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background:
      linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat,
      linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
    grid-auto-rows: 1fr;
  }
  .steps-timeline li { border-top: 0; padding: clamp(1rem, 2vw, 2rem); }
  .steps-timeline li:nth-child(odd) { padding-left: 0; }
}
@media (min-width: 960px) {
  .steps-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background:
      linear-gradient(var(--ink), var(--ink)) 25% 0 / 1px 50% no-repeat,
      linear-gradient(var(--ink), var(--ink)) 50% 0 / 1px 100% no-repeat,
      linear-gradient(var(--ink), var(--ink)) 75% 0 / 1px 50% no-repeat,
      linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat;
  }
  .steps-timeline li { min-height: clamp(11rem, 17vw, 15rem); }
  .steps-timeline li:nth-child(3) { grid-area: 2 / 3; padding-left: clamp(1rem, 2vw, 2rem); }
  .steps-timeline li:nth-child(4) { grid-area: 1 / 4; padding-right: 0; }
}
@media (max-width: 580px) {
  .dialog-content .scope-grid { grid-template-columns: 1fr; }
  .dialog-actions { display: grid; }
}

/* Blog archive and long-form articles */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.65rem); }
.post-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  text-decoration: none;
  min-width: 0;
}
.post-card:hover { border-color: var(--ink); }
.post-card:hover :is(h3, h4) { text-decoration: underline; text-underline-offset: .15em; }
.post-card > div:not(.post-card-placeholder) { padding: clamp(1rem, 2.2vw, 1.8rem); }
.post-card img, .post-card-placeholder { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-placeholder { display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: clamp(2rem, 7vw, 4rem); letter-spacing: -.08em; }
.post-card time, .article-meta { color: var(--muted); font-size: .9rem; }
.post-card :is(h3, h4) { margin: .5rem 0 0; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.22; letter-spacing: -.025em; overflow-wrap: anywhere; }
.post-card p { margin-top: .7rem; color: var(--muted); }
.post-years { margin: 1.25rem 0 2rem; }
.post-year + .post-year { margin-top: var(--space); }
.post-year > h3 { font-size: clamp(2rem, 4.7vw, 4.2rem); margin-bottom: 1.25rem; }
.blog-article { max-width: 69rem; padding-block: clamp(2rem, 5vw, 5rem) var(--space); }
.article-head { margin-bottom: 2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .8rem; }
.article-head h1 { font-size: clamp(2.1rem, 6vw, 5.5rem); max-width: 22ch; line-height: 1.02; }
.article-cover { width: 100%; max-height: 36rem; object-fit: contain; object-position: left center; margin-top: 1.5rem; }
.article-content { max-width: 75ch; line-height: 1.7; overflow-wrap: anywhere; }
.article-content :is(h2, h3, h4, h5) { margin: 1.6em 0 .55em; line-height: 1.2; }
.article-content h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
.article-content h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.article-content h4 { font-size: 1.2rem; }
.article-content p + p, .article-content > div + div { margin-top: .75rem; }
.article-content li + li { margin-top: .35rem; }
.article-content figure { margin: 1.25rem 0; }
.article-content blockquote { margin: 1.4rem 0; padding-left: 1rem; border-left: 2px solid var(--ink); }
.article-table { max-width: 100%; overflow-x: auto; margin: 1.2rem 0; }
.article-table table { border-collapse: collapse; width: 100%; min-width: 28rem; }
.article-table :is(th, td) { border: 1px solid var(--border-soft); padding: .6rem; vertical-align: top; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .post-grid { grid-template-columns: 1fr; } }
.blog-navigation { padding-bottom: clamp(1.3rem, 3vw, 2.4rem); }
