/* Dossier One v3 — business-intelligence firm look.
   Light pages with dark photographic heroes and bands; one brand colour (deep crimson). */
:root {
  --ink: #0F1317;
  --ink-2: #4A535B;
  --rule: #DCE0E3;
  --band: #F2F4F5;
  --stamp: #A3151E;          /* brand crimson: buttons, labels, links */
  --stamp-ink: #FFFFFF;
  --dark: #0F1317;
  --dark-2: #171C21;
  /* Typography: high-contrast serif for headlines (editorial, financial-press tone) +
     Golos Text, a ParaType grotesque drawn for Cyrillic first. */
  --f-display: "Noto Serif Display", "Times New Roman", Georgia, serif;
  --f-text: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --w: 1240px;
}
body { font: 400 17px/1.62 var(--f-text); }
h1, h2 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.012em; }
h3 { font-family: var(--f-text); font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; }
h3 { font-size: 1.15rem; line-height: 1.3; }
a { color: var(--stamp); }
.label { color: var(--stamp); font-weight: 600; letter-spacing: .14em; font-size: .75rem; }
.lead { color: var(--ink-2); }

/* justified body text with hyphenation (owner's request) */
main p, main li, main dd { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
main .label, main .label-d, main .tag, main .crumb, main .crumb-d, main .form-note, main .hero3-facts span,
main .pa-short, main .sectors span, main .src, main .mono, main .legend li, main .btn, main .tool li, main .ar-row,
main .dc-opts, main .langs, main figcaption, main .hero-actions, main .st-big { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

/* header */
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.005em; }
.brand-mark { border-color: var(--ink); border-radius: 0; font-family: var(--f-text); font-weight: 700; font-size: .95rem; }
.brand-mark span + span { background: var(--stamp); border-left-color: var(--stamp); color: #fff; }
.nav a { font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--stamp); }
.btn { border-radius: 2px; font-weight: 600; letter-spacing: .01em; }
.btn-solid { background: var(--stamp); border-color: var(--stamp); color: #fff; }
.btn-solid:hover { background: #7E0F16; border-color: #7E0F16; color: #fff; }
.btn-line:hover { border-color: var(--stamp); color: var(--stamp); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.langs span { background: var(--ink); }
.arrow { font-weight: 600; text-decoration: none; }
.arrow::after { content: " →"; }
.arrow:hover { text-decoration: underline; }

/* hero */
.hero3 { position: relative; overflow: hidden; color: #fff; padding-block: clamp(4rem, 9vw, 7.5rem) 0;
  background-color: var(--dark); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-net { position: absolute; left: 57%; top: 4%; width: 66%; max-width: 1000px; height: auto; opacity: .9; pointer-events: none; }
.h-coast { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: .8; }
.h-border { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: .6; }
.h-arc { fill: none; stroke: #E0414A; stroke-width: 1.1; opacity: .7; }
.h-dot { fill: #fff; }
.h-home { fill: #E0414A; stroke: #fff; stroke-width: 2; }
.hero3-in { position: relative; display: grid; gap: 1.5rem; max-width: var(--w); }
.hero3 h1 { color: #fff; max-width: 15em; }
.label-d { font: 600 .75rem var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: #F08A90; }
.lead-d { font-size: 1.2rem; color: rgba(255, 255, 255, .82); max-width: 38em; }
.hero3-facts { position: relative; list-style: none; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .2); }
.hero3-facts li { padding: 1.4rem 1.2rem 1.8rem 0; display: grid; gap: .3rem; align-content: start; }
.hero3-facts li + li { padding-left: 1.2rem; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero3-facts b { font: 500 1.85rem/1.1 var(--f-display); color: #fff; }
.hero3-facts span { color: rgba(255, 255, 255, .7); font-size: .9rem; }
@media (max-width: 900px) { .hero-net { width: 150%; left: 10%; top: 38%; opacity: .35; } .hero3-facts { grid-template-columns: 1fr 1fr; } .hero3-facts li:nth-child(3) { padding-left: 0; border-left: 0; } .hero3-facts li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .2); } }

/* statement */
.statement { padding-block: clamp(4rem, 8vw, 6.5rem); }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 2rem 4rem; }
.st-grid > div { display: grid; gap: 1.4rem; align-content: start; }
.st-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); align-items: start; }
.st-photo { display: grid; gap: 1.2rem; }
.st-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; filter: none; border-top: 4px solid var(--stamp); }
@media (max-width: 860px) { .st-photo img { aspect-ratio: 16 / 10; } }
.st-big { font: 400 clamp(1.6rem, 2.7vw, 2.4rem)/1.28 var(--f-display); letter-spacing: -0.008em; color: var(--ink); }
.st-sub { color: var(--ink-2); font-size: 1.1rem; max-width: 46em; }
@media (max-width: 860px) { .st-grid { grid-template-columns: 1fr; } }

/* practice cards */
.pa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.pa-card { position: relative; display: block; min-height: 340px; overflow: hidden; border-radius: 2px; color: #fff; text-decoration: none; background: var(--dark); isolation: isolate; }
.pa-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.8); transition: transform .5s ease, filter .5s ease; z-index: -2; }
.pa-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 19, 23, .15) 0%, rgba(15, 19, 23, .55) 45%, rgba(15, 19, 23, .95) 100%); z-index: -1; }
.pa-card::after { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 4px; background: var(--stamp); }
.pa-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; display: grid; gap: .5rem; }
.pa-name { font: 500 1.6rem/1.12 var(--f-display); letter-spacing: -0.008em; }
.pa-short { color: rgba(255, 255, 255, .8); font-size: .95rem; }
.pa-more { font-weight: 600; font-size: .9rem; color: #fff; margin-top: .3rem; }
.pa-card:hover img { transform: scale(1.04); filter: grayscale(.3) brightness(.85); }
.pa-card:hover .pa-more { text-decoration: underline; }
@media (max-width: 980px) { .pa-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pa-grid { grid-template-columns: 1fr; } .pa-card { min-height: 280px; } }

/* dark band */
.dark { background: var(--dark); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .sec-head { margin-bottom: 2.5rem; }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.why > div { padding: 1.6rem 1.5rem 0 0; display: grid; gap: .7rem; align-content: start; }
.why > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.why h3 { font-size: 1.2rem; }
.why h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--stamp); margin-bottom: 1rem; }
.why p { color: rgba(255, 255, 255, .72); font-size: .95rem; }
@media (max-width: 980px) { .why { grid-template-columns: 1fr 1fr; } .why > div:nth-child(3) { padding-left: 0; border-left: 0; } .why > div { padding-bottom: 1.6rem; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why > div, .why > div + div { padding: 1.3rem 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); } }

/* sectors */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.sectors a { display: grid; gap: .35rem; padding: 1.5rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.sectors a:not(:nth-child(3n+1)) { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.sectors b { font: 600 1.1rem/1.25 var(--f-text); }
.sectors b::after { content: " →"; color: var(--stamp); }
.sectors span { color: var(--ink-2); font-size: .93rem; }
.sectors a:hover b { color: var(--stamp); }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } .sectors a, .sectors a:not(:nth-child(3n+1)) { padding: 1.2rem 0; border-left: 0; } }

/* insight cards with image */
.ins-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.ins-card { display: grid; gap: 0; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.ins-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(.2); }
.ins-c-body { padding: 1.2rem 1.3rem 1.5rem; display: grid; gap: .6rem; }
.tag { font: 600 .72rem var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); }
.ins-c-t { font: 500 1.35rem/1.2 var(--f-display); }
.ins-card:hover .ins-c-t { color: var(--stamp); }
@media (max-width: 900px) { .ins-cards { grid-template-columns: 1fr; } }

/* practice page hero */
.pa-hero { color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem); background-color: var(--dark); background-position: center; background-size: cover; background-repeat: no-repeat; }
.pa-hero .wrap { display: grid; gap: 1rem; }
.pa-hero h1 { color: #fff; }
.crumb-d { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.crumb-d a { color: rgba(255, 255, 255, .85); }
.ticks { list-style: none; padding: 0 !important; display: grid; gap: .6rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .8rem; height: 2px; background: var(--stamp); }
.contact-box { background: var(--dark); color: #fff; padding: 1.6rem; display: grid; gap: 1rem; border-radius: 2px; }
.contact-box p { color: rgba(255, 255, 255, .8); }
.contact-box .label { color: #F08A90; }

/* inner page head: dark */
.page-head { background: var(--dark); color: #fff; border-bottom: 0; }
.page-head h1 { color: #fff; }
.page-head .lead { color: rgba(255, 255, 255, .78); }
.page-head .crumb, .page-head .crumb a { color: rgba(255, 255, 255, .7); font-family: var(--f-text); }

/* closing call */
.call { background: var(--stamp); }
.call p { color: rgba(255, 255, 255, .86); }
.call .btn-solid { background: #fff; color: var(--ink); border-color: #fff; }
.call .btn-solid:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.call .mono { color: rgba(255, 255, 255, .8); font-family: var(--f-text); }

/* footer */
.site-foot { background: var(--dark); color: rgba(255, 255, 255, .7); border-top: 0; }
.site-foot .brand, .site-foot .brand-name { color: #fff; }
.site-foot .brand-mark { border-color: #fff; }
.site-foot .brand-mark span:first-child { color: #fff; }
.foot-grid h4 { color: #fff; }
.foot-grid a { color: rgba(255, 255, 255, .7); }
.foot-grid a:hover { color: #fff; }
.foot-legal { border-top-color: rgba(255, 255, 255, .15); }
.site-foot .mono { color: rgba(255, 255, 255, .7); }

/* ---------- v3.1: one style across inner pages ---------- */
/* No visible draft notes for visitors; the owner's checklist lives in TODO.md. */
.draft, .hide-public { display: none !important; }
/* The monospace "technical" face only stays where it carries meaning: spellings in the name tool. */
.mono, .cyr, .crumb, .sheet dt, .fail-ex, .sample-stamp, .form label span, .ledger th, .depth, .tx-sys, .tx-sys small,
.finding .src, .rating, .country h3 .mono, .law .src, .dc-src, figcaption, .langs { font-family: var(--f-text) !important; }
.mono { font-size: .82rem; letter-spacing: .01em; }
.cyr { font-size: .8rem; color: var(--ink-2); }
.fail-ex { font-size: .88rem; border-left-color: var(--stamp); }
.sheet { border-radius: 0; border-top: 4px solid var(--stamp); }
.sample-stamp { color: var(--stamp); border-color: var(--stamp); letter-spacing: .12em; font-weight: 600; }
.rating { font-weight: 600; letter-spacing: .08em; }
.r-flag { background: #FBE9EA; border-color: var(--stamp); color: var(--stamp); }
.r-note { color: var(--ink); }
.ledger .name { font-weight: 500; }
.ledger tr.featured td { background: var(--band); }
.tool { border-radius: 0; border-top: 4px solid var(--stamp); }
.tool-foot b { color: var(--stamp); }
.tool mark, .sheet mark { background: #FBE3A1; }
.who > div h3 a { text-decoration: none; }
.who > div h3 a:hover { color: var(--stamp); }
.points { border-top-color: var(--ink); }
.case { gap: 1rem 3rem; }
.faq summary { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; }
.faq summary::after { color: var(--stamp); }
.obl { border-left-color: var(--stamp); }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.dc, .ar-row, .ins-card, .form { border-radius: 0; }
.dc { border-top: 4px solid var(--stamp); }
.form { border-top: 4px solid var(--stamp); }

/* practice page: steps, deliverables, faq */
.pa-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; border-top: 1px solid rgba(255, 255, 255, .2); }
.pa-steps li { counter-increment: s; padding: 1.4rem 1.3rem 0 0; display: grid; gap: .5rem; align-content: start; }
.pa-steps li + li { padding-left: 1.3rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.pa-steps li::before { content: counter(s, decimal-leading-zero); font: 500 1.6rem var(--f-display); color: #F08A90; }
.pa-steps h3 { color: #fff; }
.pa-steps p { color: rgba(255, 255, 255, .72); font-size: .95rem; text-align: left; }
@media (max-width: 900px) { .pa-steps { grid-template-columns: 1fr 1fr; } .pa-steps li:nth-child(3) { padding-left: 0; border-left: 0; } .pa-steps li { padding-bottom: 1.4rem; } }
@media (max-width: 560px) { .pa-steps { grid-template-columns: 1fr; } .pa-steps li, .pa-steps li + li { padding: 1.2rem 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); } }
.deliv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.deliv > div { background: #fff; border-top: 4px solid var(--stamp); padding: 1.4rem; display: grid; gap: .5rem; align-content: start; }
.deliv p { color: var(--ink-2); font-size: .95rem; text-align: left; }
@media (max-width: 900px) { .deliv { grid-template-columns: 1fr; } }
.ins-c-lead { color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.case { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
.case-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.35); grid-column: 1; grid-row: 1 / span 2; }
.case .label { grid-column: 2 / -1; }
.case h2 { grid-column: 2; }
.case dl { grid-column: 3; }
@media (max-width: 980px) { .case { grid-template-columns: 1fr; } .case-img, .case .label, .case h2, .case dl { grid-column: 1; grid-row: auto; } .case-img { aspect-ratio: 16 / 9; } }

/* map and misc */
.m-full { fill: #8E141C; } .m-std { fill: #C4545B; } .m-lim { fill: #E6B3B6; } .m-es { fill: #0F1317; }
.sw-full { background: #8E141C; } .sw-std { background: #C4545B; } .sw-lim { background: #E6B3B6; } .sw-es { background: #0F1317; }
.m-dot { fill: #fff; stroke: #0F1317; }
.depth { color: var(--stamp); }
.fail .label, .who .mono, .steps li::before { color: var(--stamp); }
.ledger tr.featured td:first-child { box-shadow: inset 3px 0 0 var(--stamp); }
.dc-opt[aria-pressed="true"] { background: var(--stamp); border-color: var(--stamp); }
.dc-r-ok::before { color: #2E7D4F; }
mark { background: #FBE3A1; }
