/* DevNet — shared design system (static site + WordPress theme)
   Concept: web sits on top of the network, joined by one cable.
   Cobalt = web. Amber = network. */

:root {
  --bg: #eef1f4;
  --bg-alt: #e2e7ec;
  --panel: #f8fafb;
  --text: #0f1720;
  --muted: #4d5967;
  --line: #c9d1da;
  --web: #2447f5;
  --on-web: #ffffff;
  --web-text: #2447f5;
  --net: #ffbe0b;
  --on-net: #0f1720;
  --net-text: #845400;
  --accent: var(--web);
  --on-accent: var(--on-web);
  --accent-text: var(--web-text);
  --radius: 4px;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --header-h: 68px;
}
:root[data-theme="dark"] {
  --bg: #0b1118;
  --bg-alt: #121b25;
  --panel: #101922;
  --text: #e8edf2;
  --muted: #9aa7b5;
  --line: #243140;
  --web: #6f8bff;
  --on-web: #0b1118;
  --web-text: #8da2ff;
  --net: #ffc933;
  --on-net: #0b1118;
  --net-text: #ffc933;
}
body.section-web { --accent: var(--web); --on-accent: var(--on-web); --accent-text: var(--web-text); }
body.section-net { --accent: var(--net); --on-accent: var(--on-net); --accent-text: var(--net-text); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); letter-spacing: -0.03em; line-height: 1; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-head); font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-mark { width: 26px; height: 26px; border-radius: 4px; background: linear-gradient(var(--web) 0 50%, var(--net) 50% 100%); position: relative; }
.brand-mark::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 3px; margin-left: -1.5px; background: var(--bg); border-radius: 2px; }
.brand-name { font-weight: 500; }
.brand-name b { font-weight: 800; }
.primary-nav { margin-inline: auto 0; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu a { display: block; padding: 10px 14px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: var(--radius); }
.nav-menu a:hover { background: var(--bg-alt); }
.nav-menu > li.active > a, .nav-menu > .current-menu-item > a, .nav-menu > .current-menu-ancestor > a, .nav-menu > .current-menu-parent > a { box-shadow: inset 0 -3px 0 var(--web); border-radius: 0; }
.nav-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub-menu { list-style: none; margin: 0; padding: 6px; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(8, 14, 22, .14); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu, .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu li:nth-child(1) a { border-left: 4px solid var(--web); }
.sub-menu li:nth-child(2) a { border-left: 4px solid var(--net); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--bg-alt); }
.nav-toggle { display: none; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: var(--radius); border: 2px solid var(--text); background: var(--text); color: var(--bg); font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--sm { padding: 9px 16px; font-size: .95rem; }
.btn--web { background: var(--web); border-color: var(--web); color: var(--on-web); }
.btn--net { background: var(--net); border-color: var(--net); color: var(--on-net); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.stack { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; display: grid; gap: 10px; }
.stack::before { content: ""; position: absolute; left: 13px; top: 20px; bottom: 20px; width: 4px; border-radius: 2px; background: linear-gradient(var(--web) 0 45%, var(--net) 55% 100%); transform-origin: top; animation: cable 1.1s .1s cubic-bezier(.6, .1, .2, 1) both; }
.stack-caption { font-size: .85rem; color: var(--muted); padding-left: 44px; margin: 0; }
.layer { position: relative; display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 18px 20px; border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); animation: plug .5s both; }
.layer::before { content: ""; position: absolute; left: -41px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bg); border: 4px solid var(--c1, var(--web)); }
.layer::after { content: ""; position: absolute; left: -19px; top: 50%; width: 19px; height: 4px; margin-top: -2px; background: var(--c1, var(--web)); }
.layer strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; display: block; line-height: 1.2; }
.layer span { font-size: .92rem; color: var(--muted); }
.layer .icon { color: var(--muted); transition: transform .15s; }
.layer:hover { border-color: var(--text); text-decoration: none; }
.layer:hover .icon { transform: translateX(4px); color: var(--text); }
.layer--web { --c1: var(--web); box-shadow: inset 6px 0 0 var(--web); }
.layer--net { --c1: var(--net); box-shadow: inset 6px 0 0 var(--net); }
.layer--mix { --c1: var(--web); box-shadow: inset 6px 0 0 var(--web); background: linear-gradient(90deg, transparent 60%, color-mix(in srgb, var(--net) 28%, transparent)), var(--panel); }
.layer--mix::before { border-color: var(--web); border-bottom-color: var(--net); }
.layer:nth-child(1) { animation-delay: .15s; } .layer:nth-child(2) { animation-delay: .3s; } .layer:nth-child(3) { animation-delay: .45s; } .layer:nth-child(4) { animation-delay: .6s; } .layer:nth-child(5) { animation-delay: .75s; }
@keyframes cable { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes plug { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 40rem; margin-bottom: 40px; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.split__col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; padding-bottom: 14px; margin: 0; border-bottom: 4px solid var(--c1); }
.split__col--web { --c1: var(--web); }
.split__col--net { --c1: var(--net); }
.split__col > p { color: var(--muted); margin: 14px 0 0; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.row .icon { width: 26px; height: 26px; margin-top: 3px; color: var(--accent-text); }
.row h3, .row h4 { margin: 0 0 4px; font-size: 1.15rem; }
.row p { margin: 0; color: var(--muted); font-size: .98rem; }
a.row:hover h3, a.row:hover h4 { text-decoration: underline; text-underline-offset: 4px; }
.row__go { align-self: center; color: var(--muted); }
a.row:hover .row__go { color: var(--text); transform: translateX(3px); }
.split__col--web .row .icon { color: var(--web-text); }
.split__col--net .row .icon { color: var(--net-text); }
.rows--tight .row { padding: 14px 0; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { display: block; text-decoration: none; color: var(--text); }
.work h3 { margin: 14px 0 4px; font-size: 1.2rem; }
.work p { margin: 0; color: var(--muted); font-size: .96rem; }
.work:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.thumb { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c1, var(--web)); color: var(--on-c, #fff); isolation: isolate; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--web { --c1: var(--web); --on-c: var(--on-web); }
.thumb--net { --c1: var(--net); --on-c: var(--on-net); }
.thumb--web:not(:has(img))::before { content: ""; position: absolute; inset: 14% 12%; border-radius: 4px; background: var(--bg); opacity: .94; box-shadow: inset 0 14px 0 var(--line); }
.thumb--web:not(:has(img))::after { content: ""; position: absolute; left: 20%; right: 20%; top: 38%; height: 8%; border-radius: 3px; background: var(--c1); box-shadow: 0 24px 0 -2px var(--line), 0 48px 0 -2px var(--line); }
.thumb--net:not(:has(img))::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--on-c) 3px, transparent 4px); background-size: 34px 34px; opacity: .35; }
.thumb--net:not(:has(img))::after { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 5px; background: var(--on-c); box-shadow: 0 -34px 0 var(--on-c), 0 34px 0 var(--on-c); opacity: .85; border-radius: 3px; }
.thumb-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: var(--bg); color: var(--text); font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 3px; }

/* sequence — a true ordered process */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 4px solid var(--accent); }
.steps li { counter-increment: s; padding: 22px 22px 8px 0; position: relative; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 1rem var(--font-head); margin: -39px 0 14px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .96rem; }
body:not(.section-web):not(.section-net) .steps { border-top-color: transparent; border-image: linear-gradient(90deg, var(--web), var(--net)) 1; border-top-width: 4px; border-top-style: solid; }
body:not(.section-web):not(.section-net) .steps li::before { background: var(--text); color: var(--bg); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; background: var(--panel); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-head); font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 42rem; }

.cta-band { background: var(--text); color: var(--bg); padding: clamp(48px, 7vw, 80px) 0; position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--web) 50%, var(--net) 50%); }
.cta-band .container { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band p { margin: 8px 0 0; opacity: .75; }
.cta-band .btn { background: var(--bg); color: var(--text); border-color: var(--bg); }

/* ---------- Page hero, breadcrumbs ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); background: var(--bg-alt); border-top: 6px solid var(--accent); }
body:not(.section-web):not(.section-net) .page-hero { border-top-color: var(--text); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { color: var(--muted); font-size: 1.2rem; max-width: 40em; margin: 0; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }

/* ---------- Filters, gallery, posts ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: 600 .95rem var(--font-body); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.gallery { columns: 3 260px; column-gap: 20px; }
.g-item { break-inside: avoid; margin: 0 0 20px; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; color: var(--text); font: inherit; }
.g-item .thumb { aspect-ratio: 4 / 3; }
.g-item.tall .thumb { aspect-ratio: 3 / 4; }
.g-item.wide .thumb { aspect-ratio: 16 / 9; }
.g-item span.cap { display: block; margin-top: 8px; font-size: .95rem; color: var(--muted); }
[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6, 10, 15, .88); display: grid; place-items: center; padding: 24px; }
.lightbox figure { margin: 0; width: min(900px, 100%); color: #fff; }
.lightbox .thumb { aspect-ratio: 16 / 10; }
.lightbox img { max-height: 76vh; width: auto; margin: auto; }
.lightbox figcaption { margin-top: 12px; }
.lightbox .icon-btn { position: absolute; right: 18px; top: 18px; background: var(--bg); }

.post-list { list-style: none; margin: 0; padding: 0; }
.post { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post:first-child { border-top: 1px solid var(--line); }
.post time { color: var(--muted); font-size: .95rem; padding-top: 5px; }
.post h2, .post h3 { font-size: 1.5rem; margin-bottom: 6px; }
.post h2 a, .post h3 a { color: var(--text); text-decoration: none; }
.post h2 a:hover, .post h3 a:hover { text-decoration: underline; }
.post p { color: var(--muted); margin: 0; max-width: 42rem; }
.post .tag { display: inline-block; margin-bottom: 8px; font-size: .85rem; font-weight: 600; padding: 2px 10px; border-radius: 3px; background: var(--web); color: var(--on-web); }
.post .tag.net { background: var(--net); color: var(--on-net); }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.8rem; }
.prose pre { background: var(--text); color: var(--bg); padding: 16px; border-radius: var(--radius); overflow-x: auto; font-size: .92rem; line-height: 1.5; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.prose img { border-radius: var(--radius); }
.pagination, .nav-links { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.page-numbers.current { background: var(--text); color: var(--bg); }

/* ---------- Forms, contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); }
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--text); }
.field .error { color: #c0261d; font-size: .9rem; margin-top: 4px; min-height: 1em; }
:root[data-theme="dark"] .field .error { color: #ff8c84; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0261d; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: var(--radius); border-left: 6px solid var(--web); background: var(--bg-alt); margin-bottom: 20px; }
.notice.error { border-left-color: #c0261d; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .icon { margin-top: 3px; color: var(--web-text); }
.contact-list small { display: block; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-about p { color: var(--muted); max-width: 28em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; background: var(--bg); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top .icon { transform: rotate(-90deg); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .work-grid, .values { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .header-actions .btn { display: none; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 12px 24px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .22s, visibility .22s; margin: 0; }
  body.nav-open .primary-nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .header-actions { margin-left: auto; }
  .nav-menu { flex-direction: column; gap: 0; }
  .nav-menu a { padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu > li.active > a, .nav-menu > .current-menu-item > a, .nav-menu > .current-menu-ancestor > a, .nav-menu > .current-menu-parent > a { box-shadow: none; color: var(--accent-text); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; }
  .nav-menu .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .work-grid, .values, .form-row, .steps, .footer-grid { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; gap: 4px; }
  .row { grid-template-columns: 36px 1fr; }
  .row__go { display: none; }
  .container { width: min(100% - 32px, var(--wrap)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .cta-band, .to-top { display: none; } }
