/* Fabitat — steel building systems. Zinc paper, graphite ink, one red-oxide accent (the primer on fabricated steel).
   Archivo (variable width): expanded bold for headings, normal width for reading, condensed for drawing labels. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo.woff2) format('woff2'); }

:root {
  --paper: #eef0ef;
  --paper-2: #e3e7e7;
  --white: #ffffff;
  --ink: #1b1e21;
  --ink-2: #2a2f34;
  --steel: #545e67;
  --line: #c3cacd;
  --line-2: #d6dbdd;
  --oxide: #b5401f;
  --oxide-d: #96331a;
  --on-dark: #e8ebec;
  --on-dark-2: #a3adb5;
  --wrap: 1240px;
  --gut: 20px;
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (min-width: 760px) { :root { --gut: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-stretch: 112%; font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--oxide); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--steel); max-width: 62ch; }
.statement { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.35; font-stretch: 104%; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); max-width: 34ch; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; font: 600 15px/1 var(--f); font-stretch: 108%; text-decoration: none; border: 1.5px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-oxide { background: var(--oxide); color: #fff; }
.btn-oxide:hover { background: var(--oxide-d); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link { display: inline-block; font-weight: 600; font-stretch: 108%; font-size: 15px; text-decoration: none; border-bottom: 1.5px solid var(--oxide); padding-bottom: 2px; }
.link:hover { color: var(--oxide); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(238,240,239,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; flex: none; }
.logo img { width: auto; height: 22px; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 10px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--oxide); }
.nav a[aria-current] { border-bottom-color: var(--oxide); }
.top-cta { display: none; min-height: 42px; padding: 0 18px; }
.burger { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ''; transition: transform .2s, top .2s; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.menu { border-top: 1px solid var(--line-2); padding: 8px var(--gut) 24px; background: var(--paper); max-height: calc(100vh - 68px); overflow-y: auto; }
.menu a:not(.btn) { display: block; padding: 13px 0; font-size: 20px; font-weight: 600; font-stretch: 108%; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.menu a[aria-current] { color: var(--oxide); }
.menu .btn { width: 100%; margin-top: 20px; }
.menu p { margin-top: 16px; font-size: 15px; color: var(--steel); }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .top-cta { display: inline-flex; }
  .burger, .menu { display: none !important; }
}

/* hero: a drawing sheet — the photo with a title block, on a faint grid */
.hero { position: relative; padding: 28px 0 56px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); opacity: .7; pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 32px; }
.kicker { font-stretch: 80%; font-weight: 600; font-size: 15px; color: var(--oxide); margin-bottom: 14px; }
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: clamp(40px, 9.6vw, 96px); font-size: min(11.6cqi, 104px); font-stretch: 118%; font-weight: 800; line-height: .94; letter-spacing: -0.035em; }
.hero h1 span { display: block; color: var(--steel); }
.hero .lead { margin-top: 22px; color: var(--ink-2); max-width: 30ch; }
.sheet { position: relative; background: var(--white); padding: 10px; border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line-2), 0 24px 48px -32px rgba(27,30,33,.35); }
.sheet-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.sheet-ph img { width: 100%; height: 100%; object-fit: cover; }
.sheet-ph::before, .sheet-ph::after { content: ''; position: absolute; width: 22px; height: 22px; border: 1.5px solid #fff; z-index: 1; opacity: .9; }
.sheet-ph::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.sheet-ph::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.tblock { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; margin-top: 10px; border: 1px solid var(--ink); font-size: 15px; }
.tblock > div { padding: 8px 10px; border-left: 1px solid var(--ink); min-width: 0; }
.tblock > div:first-child { border-left: 0; }
.tblock small { display: block; font-stretch: 75%; font-size: 12px; font-weight: 600; color: var(--steel); line-height: 1.2; }
.tblock b { font-stretch: 108%; }
.tblock span { white-space: nowrap; }
@media (max-width: 560px) {
  .tblock { grid-template-columns: 1fr 1fr 1fr; }
  .tblock .tb-name { grid-column: 1 / -1; border-bottom: 1px solid var(--ink); }
  .tblock > div:nth-child(2) { border-left: 0; }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 88px; }
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: sheetIn .9s cubic-bezier(.2,.7,.2,1) both .1s; }
  .tblock { animation: rule .8s ease-out both .6s; }
  @keyframes sheetIn { from { opacity: 0; transform: translateY(18px); } }
  @keyframes rule { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}

/* inner-page intro */
.intro { padding: 32px 0 36px; border-bottom: 1px solid var(--line-2); }
.intro h1 { font-size: clamp(38px, 6.4vw, 72px); font-stretch: 116%; font-weight: 800; letter-spacing: -0.03em; line-height: .98; margin-top: 18px; max-width: 18ch; }
.intro .lead { margin-top: 18px; }
@media (min-width: 960px) { .intro { padding: 48px 0 56px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--steel); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--oxide); }
.crumbs [aria-current] { color: var(--ink); }

/* sections */
.sec { padding: 64px 0; }
.sec-s { padding: 48px 0; }
.sec-top0 { padding-top: 40px; }
.sec-tint { background: var(--paper-2); }
@media (min-width: 960px) { .sec { padding: 96px 0; } .sec-top0 { padding-top: 56px; } }
.sec-head { display: grid; gap: 10px; margin-bottom: 32px; align-items: end; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.025em; font-weight: 800; }
.sec-head p { color: var(--steel); max-width: 56ch; }
.sec-head .link { justify-self: start; }
@media (min-width: 960px) { .sec-head { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; } .sec-head h2, .sec-head p { grid-column: 1; } .sec-head .link { grid-column: 2; grid-row: 1 / span 2; align-self: end; } }
.sec h2:not(.sec-head h2) { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; margin-bottom: 20px; }
.ph { overflow: hidden; background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* what is fabitat */
.what { display: grid; gap: 20px; }
.what h2 { font-size: 15px !important; font-stretch: 80% !important; font-weight: 600; color: var(--oxide); letter-spacing: 0 !important; }
.what p:not(.statement) { color: var(--steel); max-width: 62ch; }
.what .statement { margin-bottom: 24px; max-width: 30ch; font-size: clamp(24px, 3vw, 36px); }
@media (min-width: 960px) { .what { grid-template-columns: 3fr 9fr; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border-top: 1px solid var(--ink); }
.facts li { padding: 18px 16px 0 0; border-right: 1px solid var(--line); }
.facts li:nth-child(2n) { border-right: 0; padding-left: 16px; }
.facts li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
.facts b { display: block; font-size: clamp(34px, 4.6vw, 54px); font-stretch: 116%; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 8px; color: var(--steel); font-size: 15px; line-height: 1.35; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li, .facts li:nth-child(2n) { padding: 20px 20px 0; border-right: 1px solid var(--line); }
  .facts li:first-child { padding-left: 0; }
  .facts li:last-child { border-right: 0; }
  .facts li:nth-child(n+3) { border-top: 0; margin-top: 0; }
}

/* categories */
.cats { display: grid; gap: 28px; }
@media (min-width: 700px) { .cats { grid-template-columns: 1fr 1fr; gap: 40px 28px; } }
.cat { display: block; text-decoration: none; }
.cat .ph { aspect-ratio: 4 / 3; }
.cat .ph img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cat:hover .ph img { transform: scale(1.03); }
.cat-t { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.cat h3 { font-size: clamp(22px, 2.4vw, 30px); }
.cat:hover h3 { color: var(--oxide); }
.count { font-stretch: 80%; font-weight: 600; font-size: 14px; color: var(--steel); white-space: nowrap; }
.cat p { margin-top: 10px; color: var(--steel); max-width: 48ch; }

/* featured */
.featured { display: grid; gap: 32px; }
.feat { display: grid; gap: 14px; text-decoration: none; align-content: start; }
.feat .ph { aspect-ratio: 4 / 3; }
.feat h3 { font-size: 24px; margin-bottom: 6px; }
.feat:hover h3 { color: var(--oxide); }
.feat p { color: var(--steel); font-size: 16px; }
@media (min-width: 900px) {
  .featured { grid-template-columns: 3fr 2fr; grid-template-rows: auto auto; gap: 28px 32px; }
  .feat.big { grid-row: 1 / span 2; }
  .feat.big h3 { font-size: 32px; }
  .feat:not(.big) { grid-template-columns: 5fr 6fr; gap: 20px; }
  .feat:not(.big) .meta div { padding-right: 10px; margin-right: 10px; }
  .feat:not(.big) .ph { aspect-ratio: 1; }
}

/* meta: drawing-label style */
.meta { display: flex; flex-wrap: wrap; margin: 12px 0 0; border-top: 1px solid var(--line); }
.meta div { padding: 8px 14px 0 0; margin-right: 14px; border-right: 1px solid var(--line); }
.meta div:last-child { border-right: 0; margin-right: 0; }
.meta dt { font-stretch: 75%; font-size: 12px; font-weight: 600; color: var(--steel); line-height: 1.2; }
.meta dd { margin: 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* projects grid */
.grid { display: grid; gap: 40px 28px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } .grid-few { grid-template-columns: repeat(2, 1fr); max-width: 820px; } }
.proj .ph { aspect-ratio: 4 / 3; margin-bottom: 14px; }
.proj h2, .proj h3 { font-size: 22px !important; margin: 0 0 6px !important; letter-spacing: -0.015em !important; }
.proj p { color: var(--steel); font-size: 16px; line-height: 1.5; }
.proj[hidden] { display: none; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 calc(-1 * var(--gut)) 32px; padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: none; }
.filters button { flex: none; min-height: 44px; padding: 0 16px; font: 500 15px var(--f); border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 2px; cursor: pointer; }
.filters button span { margin-left: 4px; font-stretch: 80%; color: var(--steel); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters button[aria-pressed="true"] span { color: var(--on-dark-2); }
.cats-more { margin-top: 48px; color: var(--steel); }

/* steps: four drawings of the same cottage */
.steps { display: grid; gap: 36px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 48px; } .step + .step { position: relative; } .step + .step::before { content: ''; position: absolute; left: -24px; top: 0; bottom: 0; border-left: 1px solid var(--line); } }
.step figure { background: var(--white); border: 1px solid var(--line); padding: 14px 10px 6px; margin-bottom: 18px; }
.step-n { display: block; font-stretch: 80%; font-weight: 600; font-size: 14px; color: var(--oxide); margin-bottom: 6px; }
.step h2, .step h3 { font-size: 22px !important; margin: 0 0 8px !important; letter-spacing: -0.015em !important; }
.step p { color: var(--steel); font-size: 16px; }
.stage { width: 100%; height: auto; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.stage .gl { stroke: var(--steel); stroke-dasharray: 2 4; }
.stage .ghost, .stage .todo { stroke: var(--line); stroke-dasharray: 4 4; }
.stage .done { stroke: var(--ink); }
.stage .cur { stroke: var(--oxide); stroke-width: 2; }
.stage .fill { fill: var(--paper-2); stroke: none; }
.stage .dim { stroke-width: 1; stroke-dasharray: none; }

/* engineered to code: graphite band */
.band { background: var(--ink); color: var(--on-dark); padding: 64px 0; }
@media (min-width: 960px) { .band { padding: 96px 0; } }
.sec-head.light p { color: var(--on-dark-2); }
.codes { display: grid; gap: 40px; }
.code-is { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.25); }
.code-is div { padding: 18px 0 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.code-is div:nth-child(odd) { padding-right: 16px; border-right: 1px solid rgba(255,255,255,.12); }
.code-is div:nth-child(even) { padding-left: 16px; }
.code-is b { display: block; font-size: clamp(30px, 4.4vw, 52px); font-stretch: 116%; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.code-is span { color: var(--on-dark-2); font-size: 15px; }
.codes h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.codes p { color: var(--on-dark-2); font-size: 16px; }
.zones { display: flex; gap: 6px; margin-bottom: 14px; }
.zones span { flex: 1; text-align: center; padding: 12px 4px; border: 1px solid rgba(255,255,255,.3); font-stretch: 90%; font-weight: 600; font-size: 15px; }
.zones span:last-child { background: var(--oxide); border-color: var(--oxide); }
.code-notes { display: grid; gap: 24px; }
@media (min-width: 960px) { .codes { grid-template-columns: 6fr 3fr 3fr; gap: 48px; } }

/* applications + why */
.two { display: grid; gap: 56px; }
@media (min-width: 960px) { .two { grid-template-columns: 1fr 1fr; gap: 72px; } }
.uses { border-top: 1px solid var(--ink); margin-bottom: 24px; }
.uses li { border-bottom: 1px solid var(--line); }
.uses a { display: block; padding: 18px 0; text-decoration: none; }
.uses h3 { font-size: 20px; margin-bottom: 4px; }
.uses a:hover h3 { color: var(--oxide); }
.uses p { color: var(--steel); font-size: 16px; }
.feats { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.feats li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.feats h3 { font-size: 19px; margin-bottom: 4px; }
.feats p { color: var(--steel); font-size: 16px; }
.sec > .wrap > .feats { }
@media (min-width: 760px) { .wrap > .feats { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1080px) { .wrap > .feats { grid-template-columns: repeat(3, 1fr); } }

/* posts */
.posts { display: grid; gap: 36px 28px; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: block; text-decoration: none; }
.post .ph { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.post h3 { font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.post:hover h3 { color: var(--oxide); }
.post p { color: var(--steel); font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
.post-meta { font-size: 14px; color: var(--steel); }

/* cta */
.cta { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-in { display: grid; gap: 28px; }
.cta h2 { font-size: clamp(32px, 4.6vw, 56px); font-stretch: 116%; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.cta p { color: var(--on-dark-2); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.cta-direct { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: 15px; }
.cta-direct a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); text-decoration: none; min-height: 32px; }
.cta-direct a:hover { color: #fff; text-decoration: underline; }
.cta-direct svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 960px) { .cta { padding: 80px 0; } .cta-in { grid-template-columns: 7fr 5fr; align-items: end; gap: 56px; } }

/* category pages */
.banner { margin-top: 0; }
.banner img { width: 100%; max-height: 520px; object-fit: cover; }
.banner .wrap { padding-top: 0; }
@media (max-width: 759px) { .banner .wrap { padding: 0; } .banner img { aspect-ratio: 16 / 9; } }
.split { display: grid; gap: 36px; align-items: start; }
.split > div > p:not(.statement) { color: var(--steel); max-width: 60ch; }
.split .ph { aspect-ratio: 4 / 3; }
.split .ph.portrait { aspect-ratio: 2 / 3; max-height: 640px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.specs { display: grid; border-top: 1px solid var(--ink); margin: 0; }
.specs div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 700; font-stretch: 108%; }
.specs dd { margin: 0; color: var(--steel); }
@media (min-width: 760px) { .specs:not(.specs-1) { grid-template-columns: 1fr 1fr; column-gap: 40px; } .specs div { grid-template-columns: 180px 1fr; gap: 20px; } }
.drawing { background: var(--white); border: 1px solid var(--line); padding: 20px; margin-bottom: 32px; }
.drawing figcaption { margin-top: 8px; font-stretch: 80%; font-size: 13px; color: var(--steel); }
.plans { width: 100%; max-width: 760px; height: auto; margin: 0 auto; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.plans text, .wall text { fill: var(--ink); stroke: none; font: 600 13px var(--f); font-stretch: 80%; }
.plans .dim, .wall .dim { stroke: var(--oxide); stroke-width: 1; }
.more-cats { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.more-cats a { text-decoration: none; font-weight: 600; font-stretch: 108%; }
.more-cats .ph { aspect-ratio: 4 / 3; margin-bottom: 10px; }
.more-cats a:hover span { color: var(--oxide); }
@media (max-width: 560px) { .more-cats { grid-template-columns: 1fr; } .more-cats a { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; } .more-cats .ph { margin: 0; } }

/* prefab systems */
.parts { counter-reset: p; border-top: 1px solid var(--ink); margin-top: 28px; }
.parts li { counter-increment: p; display: grid; grid-template-columns: 36px 1fr; column-gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.parts li::before { content: counter(p); grid-row: span 2; width: 26px; height: 26px; border: 1.5px solid var(--oxide); border-radius: 50%; color: var(--oxide); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.parts h3 { font-size: 19px; margin-bottom: 4px; }
.parts p { color: var(--steel); font-size: 16px; }
.wall { width: 100%; height: auto; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.wall .gl { stroke: var(--steel); stroke-dasharray: 2 4; }
.wall .p2 rect { fill: url(#hatch); }
.wall .p4 rect { fill: var(--paper); }
.wall .p3 path { stroke: var(--oxide); stroke-width: 3; }
.wall .cl { stroke: var(--steel); stroke-width: 1; }
.wide-ph { margin-top: 40px; aspect-ratio: 16 / 9; }
@media (min-width: 960px) { .wide-ph { aspect-ratio: 21 / 9; } }

/* knowledge */
.topics { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.topics li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.topics h2 { font-size: clamp(22px, 2.6vw, 28px) !important; margin-bottom: 8px !important; }
.topics p { color: var(--steel); max-width: 60ch; margin-bottom: 12px; }
@media (min-width: 900px) { .topics { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* form */
.form-wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .form-wrap { grid-template-columns: 5fr 7fr; gap: 64px; } }
.form-side h2 { font-size: clamp(26px, 3vw, 34px) !important; }
.form-side > p { color: var(--steel); }
.ticks { margin: 22px 0 32px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ticks svg { width: 20px; height: 20px; color: var(--oxide); flex: none; }
.direct { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.direct > * { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.direct svg { width: 22px; height: 22px; flex: none; color: var(--oxide); margin-top: 2px; }
.direct small { display: block; font-stretch: 80%; font-weight: 600; font-size: 13px; color: var(--steel); }
.direct a:hover span { color: var(--oxide); }
.form { background: var(--white); border: 1px solid var(--line); padding: 24px 20px; }
@media (min-width: 760px) { .form { padding: 36px; } }
.fields { display: grid; gap: 18px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--f); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 12px 12px; min-height: 48px; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--oxide); box-shadow: 0 0 0 1px var(--oxide); background: #fff; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 24px; }
.form-foot p { font-size: 14px; color: var(--steel); flex: 1 1 220px; }
.form-msg:empty { display: none; }
.form-msg { margin-top: 18px; padding: 14px 16px; font-weight: 500; border-left: 3px solid var(--steel); background: var(--paper); }
.form-msg.ok { border-color: #2f7d4a; }
.form-msg.err { border-color: var(--oxide); }

/* article */
.art-head { padding-top: 32px; padding-bottom: 28px; max-width: calc(860px + 2 * var(--gut)); }
.art-head h1 { font-size: clamp(32px, 5vw, 56px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.025em; margin: 18px 0 16px; }
.art-cover { max-width: calc(1000px + 2 * var(--gut)); }
.art-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.prose { max-width: calc(720px + 2 * var(--gut)); padding-top: 40px; padding-bottom: 72px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(25px, 3vw, 31px); margin: 48px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 22px; margin: 36px 0 12px; }
.prose h4 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul { list-style: square; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--oxide); }
.prose a { color: var(--oxide-d); text-underline-offset: 2px; }
.prose img { width: 100%; margin: 28px 0; border: 1px solid var(--line-2); }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: 14px; color: var(--steel); }
.table { overflow-x: auto; margin: 24px 0; border-top: 1px solid var(--ink); }
.table table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; min-width: 520px; }
.table th, .table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th, .table tr:first-child td strong { font-stretch: 108%; }
.faq { margin-top: 56px; border-top: 1px solid var(--ink); }
.faq h2 { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; font-stretch: 104%; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 400; color: var(--oxide); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 18px; color: var(--steel); }
.art-cta { margin-top: 56px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--oxide); }
.art-cta h2 { margin: 0 0 10px !important; font-size: 26px !important; }
.art-cta p { color: var(--steel); font-size: 17px; }
.art-cta .actions { margin-top: 18px; }

/* footer */
.foot { background: #141719; color: var(--on-dark); padding: 64px 0 28px; font-size: 15px; }
.foot-top { display: grid; gap: 40px; }
.foot-brand p { color: var(--on-dark-2); margin: 16px 0 20px; max-width: 32ch; }
.foot .logo img { height: 24px; }
.foot h2 { font-size: 13px; font-stretch: 80%; font-weight: 600; color: var(--on-dark-2); letter-spacing: 0; margin-bottom: 14px; }
.foot ul { display: grid; gap: 4px; }
.foot ul a { text-decoration: none; color: var(--on-dark); display: inline-flex; align-items: center; gap: 10px; min-height: 30px; }
.foot ul a:hover { color: #fff; text-decoration: underline; }
.contact-list svg { width: 17px; height: 17px; flex: none; color: var(--on-dark-2); }
.contact-list li > span { display: flex; gap: 10px; color: var(--on-dark-2); line-height: 1.5; padding-top: 4px; }
.contact-list li > span svg { margin-top: 3px; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: var(--on-dark-2); font-size: 14px; }
@media (min-width: 760px) { .foot-top { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .foot-top { grid-template-columns: 4fr 2fr 2fr 3fr; } .foot-brand { grid-column: auto; } }

/* WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #17844a; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.crumbs li:last-child span { display: inline-block; max-width: 30ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
