/* Блог homely space — лента и статьи.
   Токены (цвета, шрифты, движение) приходят из /styles.css, здесь только раскладка.
   Язык тот же, что на главной: кремовый фон, Unbounded Light капсом, Onest в тексте,
   волосяные линии, номера в квадратных скобках и оранжевая плашка «Связаться». */

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px }
body {
  margin: 0;
  background: var(--cream-1);
  color: var(--ink-1);
  font-family: Onest, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px }
::selection { background: var(--accent); color: var(--cream-1) }
::-webkit-scrollbar { width: 10px; height: 10px }
::-webkit-scrollbar-track { background: var(--cream-1) }
::-webkit-scrollbar-thumb { background: #cfc9bc; border: 3px solid var(--cream-1); border-radius: 10px }
::-webkit-scrollbar-thumb:hover { background: var(--accent) }
* { scrollbar-color: #cfc9bc var(--cream-1) }
h1, h2, h3 { margin: 0; font-weight: inherit; overflow-wrap: break-word; hyphens: manual }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 72px; padding-right: 72px }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px }
.caps { font-size: 12px; line-height: 12px; letter-spacing: .17em; text-transform: uppercase }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  padding: 12px 18px; background: var(--ink-1); color: var(--cream-1); font-size: 13px;
}
.skip:focus { top: 12px }

/* ——— шапка ——— */
.top {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream-1);
  border-bottom: 1px solid var(--cream-hair);
}
.top-in { position: relative; display: flex; align-items: center; height: 72px }
.brand { display: flex; align-items: flex-start; gap: 5px; margin-right: auto }
.brand .slash { font-size: 24px; line-height: 24px; color: var(--accent); margin-top: 3px }
.brand img { width: 80px; height: 36px }
.menu { display: flex; align-items: center; gap: 30px; margin-right: 44px }
.menu a {
  font-size: 13px; line-height: 13px; letter-spacing: .17em; color: var(--ink-1);
  padding: 8px 0; position: relative;
  transition: opacity var(--dur-hover) var(--ease-slide), color var(--dur-hover) var(--ease-slide);
}
.menu a:hover { opacity: .55 }
.menu a.is-current { color: var(--accent) }
.menu a.is-current:hover { opacity: 1 }
.cta {
  align-self: flex-start;
  display: flex; align-items: center; justify-content: center;
  width: 186px; height: 42px;
  background: var(--accent); color: var(--cream-1);
  border-radius: 0 0 0 28px;
  font-size: 12px; letter-spacing: .17em; white-space: nowrap;
  transition: background .22s ease, transform .22s var(--ease-slide);
}
.cta:hover { background: var(--accent-hover); transform: translateY(2px) }
.burger {
  display: none; align-self: stretch;
  width: 54px; margin-right: -18px; padding: 0 18px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 1px; background: var(--ink-1) }

/* Прогресс чтения: та же оранжевая линия, что подчёркивает «Связаться» на главной. */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent);
  transform: scaleX(var(--read, 0)); transform-origin: 0 50%;
}

/* ——— мобильное меню ——— */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink-1); color: var(--cream-1);
  padding: 18px 24px 32px; overflow-y: auto; overscroll-behavior: contain;
  animation: drawerIn .32s var(--ease-slide);
}
@keyframes drawerIn { from { opacity: 0; transform: translateY(-12px) } to { opacity: 1; transform: none } }
.drawer-top { display: flex; align-items: center; justify-content: space-between }
.drawer-top .brand img { width: 58px; height: 26px }
.drawer-top .brand .slash { font-size: 18px; line-height: 18px; margin-top: 2px }
.round {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #6e6c69; background: none; color: var(--cream-1);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color var(--dur-hover), color var(--dur-hover);
}
.round:hover { border-color: var(--accent); color: var(--accent) }
.round svg { width: 14px; height: 14px }
.drawer nav { margin-top: 46px; border-bottom: 1px solid var(--field-line-dark) }
.drawer nav a {
  display: block; padding: 20px 0; border-top: 1px solid var(--field-line-dark);
  font-family: Unbounded, sans-serif; font-weight: 300; font-size: 26px; line-height: 26px;
  letter-spacing: -.02em; color: var(--cream-1);
}
.drawer nav a.is-current { color: var(--accent) }
.drawer .plate {
  margin-top: 34px; height: 56px; border-radius: 24px 0 0 0;
  background: var(--accent); color: var(--cream-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: .17em;
}
.drawer .contacts { margin-top: 26px; font-size: 14px; line-height: 24px; color: var(--ink-invert-quiet) }
.drawer .contacts a:hover { color: var(--accent) }

/* ——— лента: заголовок ——— */
.bhero { padding-top: 84px; padding-bottom: 72px; align-items: end }
.bhero h1 {
  grid-column: 1 / 8;
  font-family: Unbounded, sans-serif; font-weight: 300;
  font-size: clamp(96px, 13.4vw, 196px); line-height: .86; letter-spacing: -.035em;
  margin-left: -.06em;
}
.bhero h1 span { color: var(--accent) }
/* ключевая фраза внутри H1 — мелкой строкой под большим словом */
.h1-sub { display: block; margin: 28px 0 0 .06em; max-width: 34ch; font: 400 12px/18px Onest, sans-serif; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-secondary) }
.bhero .lede {
  grid-column: 8 / 13; margin: 0 0 6px;
  font-size: 22px; line-height: 31px; color: var(--ink-1); max-width: 30ch;
}

/* ——— лента: главная статья ——— */
.lead { padding-top: 88px; padding-bottom: 104px }
.lead-photo { grid-column: 1 / 8; overflow: hidden; background: var(--cream-card) }
.lead-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease-slide) }
.lead:hover .lead-photo img { transform: scale(1.025) }
.lead-body { grid-column: 8 / 13; display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0 2px 24px }
.lead-body h2 {
  margin-top: 0; text-transform: uppercase;
  font-family: Unbounded, sans-serif; font-weight: 300;
  font-size: clamp(28px, 2.5vw, 36px); line-height: 1.14; letter-spacing: -.022em;
}
.lead-body h2 a { transition: color var(--dur-hover) var(--ease-slide) }
.lead-body h2 a:hover { color: var(--accent) }
.lead-body h2 .accent { color: var(--accent) }
.lead-body p { margin: 26px 0 0; font-size: 18px; line-height: 29px; color: var(--ink-secondary) }
.more {
  display: inline-flex; align-items: baseline; gap: 12px; margin-top: 40px; align-self: flex-start;
  font-size: 13px; line-height: 13px; letter-spacing: .17em; color: var(--ink-1);
  padding-bottom: 12px; border-bottom: 1px solid var(--accent);
  transition: opacity var(--dur-hover) var(--ease-slide);
}
.more .arr { color: var(--accent); font-weight: 600; letter-spacing: 0; font-size: 18px; line-height: 10px; display: inline-block; transition: transform var(--dur-hover) var(--ease-slide) }
.more:hover .arr { transform: translateX(5px) }

/* ——— карточки: тот же рисунок, что у кейсов на главной ——— */
.cards-wrap { padding-bottom: 120px }
.cards-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 88px 0 44px; border-top: 1px solid var(--cream-hair) }
.cards-head h2 { font-family: Unbounded, sans-serif; font-weight: 300; font-size: clamp(40px, 4.6vw, 66px); line-height: 1; letter-spacing: -.026em }
.cards-head a { font-size: 12px; letter-spacing: .17em; color: var(--ink-secondary); transition: color var(--dur-hover) }
.cards-head a:hover { color: var(--accent) }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.card { display: flex; flex-direction: column; background: var(--cream-card) }
.card figure { margin: 0; overflow: hidden; background: #ddd6c8 }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--ease-slide) }
.card:hover img { transform: scale(1.03) }
.card-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 22px 24px 26px }
.card-body h3 {
  text-transform: uppercase;
  font-family: Unbounded, sans-serif; font-weight: 300; font-size: 22px; line-height: 28px; letter-spacing: -.016em;
  text-decoration: underline 1px transparent; text-underline-offset: 6px;
  transition: text-decoration-color var(--dur-hover) var(--ease-slide);
}
.card:hover h3 { text-decoration-color: var(--accent) }
.card-body p { margin: 14px 0 0; font-size: 15px; line-height: 24px; color: var(--ink-secondary) }

/* ——— тёмная плашка «Обсудим объект» ——— */
.talk { background: var(--ink-1); color: var(--cream-1); padding: 104px 0 96px }
.talk h2 {
  grid-column: 1 / 6;
  font-family: Unbounded, sans-serif; font-weight: 300;
  font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.026em;
}
.talk h2 span { color: var(--accent) }
.talk-body { grid-column: 1 / 6 }
.talk-body p { margin: 36px 0 0; font-size: 18px; line-height: 28px; color: var(--ink-invert-quiet); max-width: 34ch }
.talk .contacts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 14px; line-height: 22px; color: var(--ink-invert-quiet) }
.talk .contacts a:hover { color: var(--accent) }

/* Форма заявки — та же, что на главной: поля-строчки на тёмном, подчёркнутые
   тонкой линией, и плашка отправки. Логика — в blog.js. */
.talk-form { grid-column: 7 / 13; grid-row: 1 / span 2 }
.talk-form .f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px }
.talk-form .field { display: block; margin-top: 30px }
.talk-form .f-pair .field { margin-top: 0 }
.talk-form .field > span { display: block; font-size: 10px; line-height: 10px; letter-spacing: .17em; color: var(--ink-invert-quiet) }
.talk-form input, .talk-form textarea {
  display: block; width: 100%; margin-top: 16px; padding: 0 0 12px;
  border: 0; border-bottom: 1px solid var(--field-line-dark); background: transparent;
  font-family: inherit; font-size: 15px; line-height: 26px; color: var(--cream-1);
  outline: none; border-radius: 0; transition: border-color var(--dur-hover) ease;
}
.talk-form textarea { line-height: 24px; resize: vertical; min-height: 54px }
.talk-form input::placeholder, .talk-form textarea::placeholder { color: var(--ink-invert-quiet); opacity: .75 }
.talk-form input:focus, .talk-form textarea:focus { border-bottom-color: var(--accent) }
/* Автозаполнение в WebKit/Blink подменяет фон и цвет текста своими — гасим,
   как на главной, иначе заполненное поле выпадает светлой плашкой из тёмной формы. */
.talk-form input:-webkit-autofill, .talk-form input:-webkit-autofill:hover,
.talk-form input:-webkit-autofill:focus, .talk-form input:-webkit-autofill:active,
.talk-form textarea:-webkit-autofill, .talk-form textarea:-webkit-autofill:hover,
.talk-form textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream-1);
  -webkit-box-shadow: 0 0 0 100px var(--ink-1) inset;
  box-shadow: 0 0 0 100px var(--ink-1) inset;
  caret-color: var(--accent);
  transition: background-color 600000s 0s, color 600000s 0s, border-color var(--dur-hover) ease;
}
.talk-form input:autofill, .talk-form textarea:autofill { background: transparent; color: var(--cream-1) }

.talk-form .ways { margin: 32px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px }
.talk-form .ways legend { float: left; width: 100%; padding: 0 0 18px; font-size: 15px; line-height: 15px; color: var(--ink-invert-quiet) }
.talk-form .ways label { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 10px; letter-spacing: .17em; color: var(--accent) }
.talk-form .ways input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0 }
.talk-form .ways .box { width: 15px; height: 15px; border: 1px solid var(--accent); transition: background var(--dur-hover) ease }
.talk-form .ways input:checked + .box { background: var(--accent) }
.talk-form .ways input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 3px }

.talk-form .f-send { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px }
.talk .plate {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 32px; border: 0; border-radius: 24px 0 0 0;
  background: var(--accent); color: var(--cream-1);
  font-family: inherit; font-size: 12px; letter-spacing: .17em; cursor: pointer;
  transition: background .22s ease;
}
.talk .plate:hover { background: var(--accent-hover) }
.talk .plate[disabled] { cursor: default; opacity: .75 }
.talk-form .f-msg { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-invert-quiet) }
.talk-form .f-legal { margin: 26px 0 0; font-size: 12px; line-height: 20px; color: var(--ink-invert-quiet) }
.talk-form .f-legal a { color: var(--cream-1); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent) }
.talk-form .f-legal a:hover { color: var(--accent) }

/* ——— футер ——— */
.foot { background: var(--ink-1); color: var(--ink-invert-quiet); border-top: 1px solid var(--dark-hair) }
.foot .wrap { display: flex; align-items: flex-start; gap: 40px; padding-top: 43px; padding-bottom: 42px }
.foot .mark { margin-right: auto }
.foot .mark .label { display: block; font-size: 10px; letter-spacing: .13em; margin-bottom: 8px }
.foot .mark .logo { display: flex; align-items: flex-start; gap: 3px }
.foot .mark .slash { font-size: 22px; line-height: 22px; color: var(--accent); margin-top: 3px }
.foot .mark img { width: 76px; height: 34px }
.foot .city, .foot .copy { font-size: 10px; line-height: 10px; margin-top: 17px; white-space: nowrap }
.foot .links { display: flex; flex-direction: column; gap: 12px; margin-top: 9px; font-size: 10px; line-height: 10px }
.foot .links a:hover { color: var(--accent) }
.foot .city { width: 120px }

/* ——— статья ——— */
.ahero { padding-top: 56px }
.back {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 12px; line-height: 12px; letter-spacing: .17em; color: var(--ink-secondary);
  transition: color var(--dur-hover) var(--ease-slide);
}
.back .arr { color: var(--accent); font-size: 16px; letter-spacing: 0; transition: transform var(--dur-hover) var(--ease-slide) }
.back:hover { color: var(--ink-1) }
.back:hover .arr { transform: translateX(-4px) }
.ahero h1 {
  margin-top: 44px; max-width: 19ch; text-transform: uppercase;
  font-family: Unbounded, sans-serif; font-weight: 300;
  font-size: clamp(36px, 4.7vw, 68px); line-height: 1.04; letter-spacing: -.028em;
  text-wrap: balance;
}
.ahero h1 span { color: var(--accent) }
.ameta { margin-top: 64px; border-top: 1px solid var(--cream-hair) }
.ameta .lede { grid-column: 1 / 9; margin: 0; padding: 30px 0 56px; font-size: 22px; line-height: 32px; color: var(--ink-1); max-width: 36ch }
.cover { margin: 0 }
.cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--cream-card) }
.cover figcaption, .prose figcaption { margin-top: 12px; font-size: 12px; line-height: 18px; color: var(--ink-secondary) }

.abody { padding-top: 96px; padding-bottom: 72px }
.toc { grid-column: 1 / 4; align-self: start; position: sticky; top: 112px }
.toc p { margin: 0 0 20px; font-size: 11px; line-height: 11px; letter-spacing: .17em; color: var(--ink-secondary) }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cream-hair) }
.toc li { border-bottom: 1px solid var(--cream-hair) }
.toc a {
  display: grid; grid-template-columns: 34px 1fr; padding: 12px 0;
  font-size: 14px; line-height: 20px; color: var(--ink-secondary);
  transition: color var(--dur-hover) var(--ease-slide);
}
.toc a .n { font-size: 11px; line-height: 20px; color: var(--accent) }
.toc a:hover, .toc a.is-on { color: var(--ink-1) }
.toc a.is-on .n::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; background: var(--accent); vertical-align: 2px }

.prose { grid-column: 5 / 13; font-size: 18px; line-height: 30px; color: var(--ink-secondary) }
.prose > * { max-width: 680px }
.prose > figure.wide { max-width: none }
.prose p { margin: 0 0 20px }
.prose strong { font-weight: 500; color: var(--ink-1) }
.prose a { color: var(--ink-1); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color var(--dur-hover) }
.prose a:hover { color: var(--accent) }
.prose section { position: relative; scroll-margin-top: 104px }
.prose section + section { margin-top: 72px }
.prose h2 {
  position: relative; margin: 0 0 24px;
  font-family: Unbounded, sans-serif; font-weight: 300;
  font-size: 28px; line-height: 35px; letter-spacing: -.019em; color: var(--ink-1);
  text-wrap: balance;
}
.prose h2 .n { position: absolute; left: -64px; top: 8px; font-family: Onest, sans-serif; font-size: 11px; line-height: 11px; letter-spacing: 0; color: var(--accent) }
.prose h3 { margin: 32px 0 12px; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--ink-1) }
.prose ul { list-style: none; margin: 0 0 20px; padding: 0 }
.prose ul > li { position: relative; padding-left: 26px; margin-bottom: 10px }
.prose ul > li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent) }
.prose ul.check > li { padding-left: 0; margin-bottom: 0 }
.prose ul.check > li::before { content: none }
.prose ol.steps { list-style: none; margin: 8px 0 24px; padding: 0; counter-reset: s; border-top: 1px solid var(--cream-hair) }
.prose ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-bottom: 1px solid var(--cream-hair) }
.prose ol.steps > li::before { content: "[" counter(s) "]"; font-size: 11px; line-height: 30px; color: var(--accent) }
.prose ol.steps strong { display: block }

/* Чек-лист — скобки «[ ]» из блока «Забираем на себя». Пункты можно отмечать,
   отметки хранятся в браузере читателя. */
.check { list-style: none; margin: 8px 0 24px; padding: 0; border-top: 1px solid var(--cream-hair) }
.check li { border-bottom: 1px solid var(--cream-hair) }
.check button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: grid; grid-template-columns: 44px 1fr; width: 100%; padding: 14px 0;
  font-size: 17px; line-height: 27px; color: var(--ink-1);
  transition: color var(--dur-hover) var(--ease-slide);
}
.check button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.check .box { position: relative; font-size: 17px; line-height: 27px; color: var(--ink-secondary); white-space: nowrap }
.check .box::after {
  content: ""; position: absolute; left: 6.5px; top: 11px; width: 6px; height: 6px;
  background: var(--accent); transform: scale(0); transition: transform .24s var(--ease-slide);
}
.check button:hover .box { color: var(--accent) }
.check button[aria-pressed="true"] { color: var(--ink-secondary) }
.check button[aria-pressed="true"] .box::after { transform: scale(1) }
.check .txt small { display: block; font-size: 15px; line-height: 24px; color: var(--ink-secondary) }
.check-note { margin: -8px 0 24px; font-size: 13px; line-height: 20px; color: var(--ink-secondary) }
.check-note button { all: unset; cursor: pointer; color: var(--ink-1); border-bottom: 1px solid var(--accent) }
.check-note button:hover { color: var(--accent) }
.check-note button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }

.note { margin: 32px 0; padding: 30px 34px 32px; background: var(--cream-card); border-radius: 20px 0 0 0 }
.note b { display: block; margin-bottom: 10px; font-family: Unbounded, sans-serif; font-weight: 300; font-size: 19px; line-height: 25px; letter-spacing: -.012em; color: var(--ink-1) }
.note p { margin: 0; font-size: 17px; line-height: 28px }
.note p + p { margin-top: 12px }

.prose figure { margin: 48px 0 }
.prose figure.wide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cream-card) }
/* Пара «до / после», склеенная в один кадр: показываем целиком, без обрезки под 4:3 */
.prose figure.pair img { width: 100%; height: auto; background: var(--cream-card) }
.prose figure.side { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); gap: 24px; align-items: end; max-width: none }
.prose figure.side img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--cream-card) }
.prose figure.side figcaption { margin: 0; padding-top: 16px; border-top: 1px solid var(--cream-hair); font-size: 14px; line-height: 22px }

.afoot { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--cream-hair); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; line-height: 20px; color: var(--ink-secondary) }

/* ——— адаптив ——— */
@media (max-width: 1240px) {
  .wrap { padding-left: 48px; padding-right: 48px }
  .menu { gap: 22px; margin-right: 32px }
  .bhero h1 { grid-column: 1 / 13 }
  .bhero .lede { grid-column: 1 / 9; margin-top: 44px }
  .prose h2 .n { position: static; display: inline-block; margin-right: 14px; vertical-align: 6px }
}
@media (max-width: 1040px) {
  .toc { grid-column: 1 / 13; position: static; margin-bottom: 64px }
  .toc ol { columns: 2; column-gap: 24px; border-top: 0 }
  .toc li { break-inside: avoid; border-top: 1px solid var(--cream-hair); border-bottom: 0 }
  .prose { grid-column: 1 / 13 }
  .prose > * { max-width: 720px }
  .lead-photo, .lead-body { grid-column: 1 / 13 }
  .lead-body { margin-top: 32px; padding-left: 0 }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .ameta .lede { grid-column: 1 / 13; padding-bottom: 48px }
  .talk h2, .talk-body, .talk-form { grid-column: 1 / 13 }
  .talk-form { grid-row: auto; margin-top: 44px }
}
@media (max-width: 900px) {
  .menu, .top .cta span.full { display: none }
  .burger { display: flex }
  .cta { width: auto; padding: 0 16px; height: 100%; align-self: stretch; border-radius: 0 0 0 24px; font-size: 11px; letter-spacing: .15em }
  .top-in { height: 64px }
  .brand img { width: 58px; height: 26px }
  .brand .slash { font-size: 18px; line-height: 18px; margin-top: 2px }
}
@media (min-width: 901px) { .top .cta span.short { display: none } }
@media (max-width: 640px) {
  html { scroll-padding-top: 80px }
  .wrap { padding-left: 24px; padding-right: 24px }
  .bhero { padding-top: 44px; padding-bottom: 44px }
  .bhero h1 { font-size: 27vw }
  .bhero .lede { margin-top: 28px; font-size: 18px; line-height: 26px }
  .lead { padding-top: 48px; padding-bottom: 64px }
  .lead-body h2 { font-size: 27px; line-height: 32px }
  .lead-body p { font-size: 16px; line-height: 26px; margin-top: 18px }
  .more { margin-top: 28px }
  .cards, .cards.two { grid-template-columns: 1fr; gap: 14px }
  .cards-wrap { padding-bottom: 72px }
  .cards-head { padding: 56px 0 28px; flex-direction: column; gap: 14px }
  .cards-head h2 { font-size: 34px }
  .card-body h3 { font-size: 19px; line-height: 25px; padding-right: 0 }
  .talk { padding: 64px 0 56px }
  .talk h2 { font-size: 38px; line-height: 40px }
  .talk .plate { height: 52px; padding: 0 26px; font-size: 12px }
  .talk-form .f-pair { grid-template-columns: 1fr; gap: 0 }
  .talk-form .f-pair .field + .field { margin-top: 30px }
  .foot .wrap { flex-direction: column; gap: 22px; padding-top: 28px; padding-bottom: 30px }
  .foot .city, .foot .copy { margin-top: 0 }
  .foot .links { margin-top: 0; font-size: 11px; line-height: 11px; gap: 14px }
  .ahero { padding-top: 36px }
  .ahero h1 { margin-top: 30px; font-size: 29px; line-height: 34px; max-width: none; letter-spacing: -.022em }
  .ameta { margin-top: 36px }
  .ameta .lede { font-size: 18px; line-height: 27px; padding-top: 22px }
  .cover img { aspect-ratio: 4 / 3 }
  .cover figcaption { padding: 0 24px }
  .abody { padding-top: 56px; padding-bottom: 48px }
  .toc { margin-bottom: 48px }
  .toc ol { columns: 1 }
  .prose { font-size: 17px; line-height: 28px }
  .prose section + section { margin-top: 56px }
  .prose h2 { font-size: 22px; line-height: 28px }
  .prose h2 .n { display: block; margin: 0 0 12px }
  .prose figure { margin: 36px 0 }
  .prose figure.side { grid-template-columns: 1fr; gap: 0 }
  .prose figure.side figcaption { border-top: 0; padding-top: 12px; font-size: 12px; line-height: 18px }
  .note { padding: 24px 22px 26px }
  .check button { grid-template-columns: 38px 1fr; font-size: 16px; line-height: 25px }
  .afoot { flex-direction: column; gap: 6px }
}
@media (max-width: 640px) { .cover.bleed { margin: 0 -24px } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important }
}

/* ——— 404 ——— */
.nf-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; font-size: 21px; line-height: 31px }
.nf-links a { color: var(--ink-1); text-decoration-color: var(--accent); text-underline-offset: 5px }
.nf-links a:hover, .nf-links a:focus-visible { color: var(--accent) }
