/* lobod.rocks — content pages (rendered by scripts/content.mjs from content/*.md). Loaded after site.css, which owns the
   chrome: topbar, burger menu, footer, sheets with the modernisme roofline, .kicker, .lead, .faq, .btn, .contact, .archart.
   This file only adds the article layout: a 68ch measure on the site's type scale. Mobile first.
   Display face: var(--display) (Bricolage; site.css swaps it to Rubik for html[lang=uk|ru]). Body: Geist. Mono: kickers, dates, tables. */
.cpage{--measure:68ch}
.cwrap{max-width:var(--measure);margin:0 auto}

/* ---------- page header on the cream ground ---------- */
.chead{position:relative;padding:112px 5vw 40px;overflow:hidden}
.chead .cwrap{position:relative;z-index:1}
/* the header art ("art:" in the front matter, or the type's default): the trencadis sun of the home page or the contact arch,
   cut off by the corner of the title block. No fade and no blur: the site's art is drawn at full strength and cropped. */
.chead .cart{position:absolute;pointer-events:none;z-index:0}
.chead .cart img{width:100%;height:auto;display:block}
.chead .cart.sun{right:-22vw;top:-13vh;width:min(70vw,660px)}
.chead .cart.arch{position:static;width:74vw;margin:22px -5vw -44px auto}
@media(min-width:861px){.chead .cart.sun{right:-11vw;top:-15vh;width:min(44vw,540px)}.chead .cart.arch{position:absolute;right:-11vw;bottom:-12vh;width:min(38vw,520px);margin:0}}
/* the page's icon (js/icons.js), above the kicker */
.chead .cico{display:block;width:52px;height:52px;margin-bottom:16px}
.crumbs{margin-bottom:26px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px 8px;font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.crumbs li+li::before{content:"›";margin-right:8px;opacity:.5}
.crumbs a{text-decoration:none;opacity:.8}.crumbs a:hover{opacity:1;color:var(--blue-ink)}
.crumbs li[aria-current]{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60vw}
.chead .kicker{margin-bottom:18px}
.chead h1{font-family:var(--display);font-weight:800;font-variation-settings:"opsz" 96;font-size:clamp(34px,5vw,60px);line-height:1.02;letter-spacing:-.03em;text-wrap:balance;margin-bottom:20px}
.chead h1 em{font-style:normal;color:var(--blue)}
html[lang="uk"] .chead h1,html[lang="ru"] .chead h1{font-weight:900}
.chead .lead{max-width:none}
.cmeta{margin-top:22px;font-family:var(--mono);font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);display:flex;flex-wrap:wrap;gap:6px 14px;max-width:none}
.cmeta a{color:inherit;text-decoration:none;border-bottom:1px solid var(--line-l)}.cmeta a:hover{color:var(--blue-ink);border-color:var(--blue-ink)}
.cmeta span+span::before{content:"·";margin-right:14px;opacity:.6}
/* the facts row: a brief's steps and minutes, a service's days and rounds, in the counter style of the home page */
.cfacts{position:relative;display:flex;flex-wrap:wrap;gap:10px 30px;margin-top:30px}
.cfacts div{display:flex;align-items:baseline;gap:8px}
.cfacts b{font-family:var(--display);font-weight:800;font-variation-settings:"opsz" 40;font-size:clamp(30px,4vw,42px);line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--blue);white-space:nowrap}
html[lang="uk"] .cfacts b,html[lang="ru"] .cfacts b{font-family:var(--display-cyr);font-weight:900}
.cfacts span{font-family:var(--mono);font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-2);max-width:12ch;line-height:1.35}
.cfacts.small{gap:8px 22px;margin-top:0}
.cfacts.small b{font-size:26px}
.cfacts.small span{font-size:10.5px}
@media(min-width:721px){.chead{padding:150px 5vw 64px}.crumbs{margin-bottom:32px}}

/* ---------- the brief hub: a chip row and four cards on the cream sheet ---------- */
.hub{padding-top:clamp(40px,6vh,64px);padding-bottom:clamp(40px,6vh,64px)}
.hubpick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:24px}
.hubpick span{font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin-right:6px}
.hubpick a{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;padding:7px 12px;border:1px solid var(--line-l);border-radius:999px;text-decoration:none;color:var(--ink);display:inline-flex;align-items:center;gap:8px;background:var(--paper);transition:border-color .2s,color .2s}
.hubpick a::before{content:"";width:9px;height:9px;background:var(--blue);-webkit-mask:var(--panot) center/contain no-repeat;mask:var(--panot) center/contain no-repeat}
.hubpick a:hover{border-color:var(--blue);color:var(--blue-ink)}
.hubcards{display:grid;grid-template-columns:1fr;gap:12px}
.hubcard{background:var(--paper);border-radius:24px;padding:24px 22px 22px;display:flex;flex-direction:column;gap:10px;border:1px solid rgba(20,23,28,.06);scroll-margin-top:90px;transition:transform .25s var(--ease),box-shadow .3s}
.hubcard:hover{transform:translateY(-3px);box-shadow:0 22px 40px -26px rgba(20,23,28,.45)}
.hubcard .ico-s{width:44px;height:44px}
.hubcard h2{font-family:var(--display);font-weight:700;font-variation-settings:"opsz" 40;font-size:clamp(22px,2vw,26px);line-height:1.12;letter-spacing:-.02em;margin-top:4px}
.hubcard h2 a{color:inherit;text-decoration:none}
.hubcard p{font-size:15px;line-height:1.5;color:var(--ink-2);flex:1}
.hubcard .cfacts{margin-top:6px}
.hubcard .btn{align-self:flex-start;margin-top:8px}
.hubcard .hubdate{font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);flex:none}
.hubnone{font-size:16px;line-height:1.55;color:var(--ink-2);max-width:52ch}
@media(min-width:721px){.hubcards{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.hubcard:hover{transform:none}}

/* ---------- article ---------- */
.cbody{padding-top:clamp(56px,8vh,88px)}
.prose{font-size:17px;line-height:1.6;color:var(--ink)}
.prose>*+*{margin-top:1.1em}
.prose h2{font-family:var(--display);font-weight:700;font-variation-settings:"opsz" 60;font-size:clamp(26px,3vw,38px);line-height:1.1;letter-spacing:-.025em;text-wrap:balance;max-width:none;margin-top:2em}
.prose h3{font-family:var(--display);font-weight:700;font-variation-settings:"opsz" 40;font-size:clamp(20px,2vw,24px);line-height:1.2;letter-spacing:-.02em;margin-top:1.7em}
.prose h2+*,.prose h3+*{margin-top:.6em}
.prose h2 em,.prose h3 em{font-style:normal;color:var(--blue)}
.prose a{color:var(--blue-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:rgba(27,47,217,.35);transition:text-decoration-color .2s}
.prose a:hover{text-decoration-color:currentColor}
.prose strong{font-weight:600}
.prose code{font-family:var(--mono);font-size:.86em;background:var(--ground-2);padding:.12em .42em;border-radius:6px}
.prose pre{background:var(--dark);color:var(--chalk);padding:18px 20px;border-radius:16px;overflow-x:auto;font-family:var(--mono);font-size:13.5px;line-height:1.55}
.prose pre code{background:none;padding:0;font-size:inherit;color:inherit}
.prose hr{border:0;height:1px;background:var(--line-l);margin:2.4em 0}
.prose img{display:block;border-radius:16px;height:auto}
/* lists: the panot flower as the bullet, mono counters */
.prose ul,.prose ol{list-style:none;padding-left:1.6em}
.prose li+li{margin-top:.45em}
.prose li{position:relative}
.prose ul>li::before{content:"";position:absolute;left:-1.6em;top:.5em;width:.62em;height:.62em;background:var(--terra);-webkit-mask:var(--panot) center/contain no-repeat;mask:var(--panot) center/contain no-repeat}
.prose ol{counter-reset:li;padding-left:2.1em}
.prose ol>li{counter-increment:li}
.prose ol>li::before{content:counter(li,decimal-leading-zero);position:absolute;left:-2.1em;top:.28em;font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--blue-ink)}
.prose li>ul,.prose li>ol{margin-top:.45em}
.prose li>p+p{margin-top:.5em}
/* quotes and callouts */
.prose blockquote{border-left:3px solid var(--sun);padding:4px 0 4px 20px;font-family:var(--display);font-weight:500;font-size:clamp(19px,1.8vw,23px);line-height:1.35;letter-spacing:-.01em;text-wrap:pretty}
.prose blockquote p+p{margin-top:.6em}
.prose .note,.prose aside{max-width:none;font-family:var(--sans);font-size:15.5px;line-height:1.55;color:var(--ink);background:var(--sun-tint);border-radius:16px;padding:16px 20px 16px 50px;position:relative}
.prose .note::before,.prose aside::before{content:"";position:absolute;left:18px;top:19px;width:16px;height:16px;background:var(--terra);-webkit-mask:var(--panot) center/contain no-repeat;mask:var(--panot) center/contain no-repeat}
.prose .note p+p,.prose aside p+p{margin-top:.6em}
.prose .note a,.prose aside a{color:inherit}
/* glossary: "also called" line under a term */
.prose .also{font-family:var(--mono);font-size:12.5px;line-height:1.5;color:var(--ink-2);margin-top:.35em}
.prose .also span{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;margin-right:6px}
.prose .also+*{margin-top:.6em}
/* tables: mono, scroll inside their own wrapper */
.prose .tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line-l);border-radius:16px;box-shadow:none;margin-top:1.3em;background:var(--paper)}
.prose table{width:100%;border-collapse:collapse;font-family:var(--mono);font-size:13.5px;line-height:1.45}
.prose th,.prose td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line-l);min-width:9em}
.prose th{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);font-weight:500;background:var(--ground);white-space:nowrap}
.prose tbody tr:last-child td{border-bottom:0}
.prose td:first-child{font-family:var(--sans);font-weight:500;font-size:15px}
.prose .tablewrap+*{margin-top:1.3em}

/* ---------- blocks after the article: FAQ, sources, related ---------- */
.cblock{margin-top:clamp(52px,8vh,80px);padding-top:clamp(28px,4vh,40px);border-top:1px solid var(--line-l)}
.cblock h2{font-family:var(--display);font-weight:700;font-variation-settings:"opsz" 60;font-size:clamp(24px,2.6vw,32px);line-height:1.1;letter-spacing:-.025em;margin-bottom:6px}
.cfaq .faq{border-top:0}
.cfaq .faq summary{font-size:clamp(17px,1.5vw,21px)}
.csources ol{list-style:none;counter-reset:s;margin-top:14px}
.csources li{counter-increment:s;display:grid;grid-template-columns:30px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line-l);font-size:15px;line-height:1.5}
.csources li::before{content:counter(s,decimal-leading-zero);font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--blue-ink);padding-top:3px}
.csources li:last-child{border-bottom:0}
.csources a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:var(--line-l)}
.csources a:hover{color:var(--blue-ink);text-decoration-color:currentColor}
.csources .src{display:block;min-width:0}
.csources .d{display:inline-block;font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--ink-2);margin-left:8px;white-space:nowrap;vertical-align:baseline}
.csources .caveat{display:block;color:var(--ink-2);font-size:13.5px;margin-top:4px;line-height:1.45}
.cnote{font-family:var(--mono);font-size:11.5px;letter-spacing:.04em;color:var(--mute);margin-top:14px}
.crelated ul{list-style:none;display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px}
.crelated a{display:block;background:var(--ground);border:1px solid rgba(20,23,28,.06);border-radius:16px;padding:14px 16px 15px;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .3s}
.crelated a:hover{border-color:var(--ink);transform:translateY(-2px);box-shadow:0 18px 30px -22px rgba(20,23,28,.4)}
.crelated small{display:block;font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin-bottom:6px}
.crelated b{font-family:var(--display);font-weight:700;font-size:18px;letter-spacing:-.02em;line-height:1.15;display:block;text-wrap:balance}
@media(min-width:721px){.crelated ul{grid-template-columns:1fr 1fr}}

/* ---------- closing CTA sheet (same .contact layout as the home page) ---------- */
@media(max-width:480px){.cpage #contact .btn{white-space:normal;text-align:left}}

/* no motion libraries on these pages: nothing waits for a class to appear */
@media(prefers-reduced-motion:reduce){.crelated a:hover{transform:none}}
