/* «Порядок действий» — design system. Direction «Ясная практика», adapted: deep green ink + ochre on warm paper.
   Mobile-first. Breakpoints: 620 / 760 / 960 / 1040 / 1360. Tokens first, components after. */

:root {
  --paper: #FAF8F3;
  --paper-2: #F2EFE6;
  --white: #FFFFFF;
  --ink: #15241E;
  --ink-2: #2B3B34;
  --muted: #52615A;
  --faint: #7B8A83;
  --green: #1E4D3D;
  --green-d: #133528;
  --green-dd: #0D261D;
  --green-m: #2E6A55;
  --green-t: #E3ECE5;
  --green-tt: #EFF4EF;
  --ochre: #D5A94E;
  --ochre-d: #8A6414;
  --ochre-t: #F4E7C4;
  --ochre-tt: #FBF5E4;
  --line: #DCD8CA;
  --line-2: #E9E5D9;
  --danger: #A0402F;
  --danger-t: #F6E4DF;

  --f-display: "Lora", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --f-text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --sh-1: 0 1px 2px rgba(21, 36, 30, .06), 0 8px 20px -10px rgba(21, 36, 30, .14);
  --sh-2: 0 2px 4px rgba(21, 36, 30, .05), 0 28px 54px -24px rgba(19, 53, 40, .32);
  --gut: clamp(16px, 4.2vw, 40px);
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.62 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-m); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ochre-t); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green-d); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; transition: top .2s; }
.skip:focus { top: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 8vw, 112px); position: relative; overflow-x: clip; }
@media (max-width: 860px) { .nx-ribbon__note { display: none; } }
.section--tint { background: var(--green-tt); }
.section--paper2 { background: var(--paper-2); }
.section--deep { background: var(--green-d); color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section__head h2, .h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem); line-height: 1.1; }
.section__head p:not(.kicker) { color: var(--muted); font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); margin: 18px 0 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 12.5px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--ochre); border-radius: 2px; }
.section--deep .kicker { color: var(--ochre); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.disc { font-size: 13px; line-height: 1.55; color: var(--muted); }
.stack > * + * { margin-top: 1em; }
.stack > .kicker + * { margin-top: 0; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* editorial: text column + margin notes */
.ed { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .ed { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 8%; } .ed--rev { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.mnote {
  position: relative; margin: 0; padding: 16px 18px 16px 20px; border-left: 3px solid var(--ochre);
  background: var(--ochre-tt); border-radius: 0 var(--r-m) var(--r-m) 0;
  font: italic 500 1.04rem/1.52 var(--f-display); color: var(--ink-2);
}
.mnote cite { display: block; margin-top: 10px; font: 600 12px/1.35 var(--f-text); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-d); }
@media (min-width: 960px) { .ed > aside { position: sticky; top: 96px; } }
.mnote--green { border-color: var(--green); background: var(--green-tt); }
.mnote--green cite { color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 600 15.5px/1.1 var(--f-text); letter-spacing: .005em; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(19, 53, 40, .7); }
.btn--primary:hover { background: var(--green-d); color: #fff; transform: translateY(-1px); }
.btn--ochre { background: var(--ochre); color: var(--ink); }
.btn--ochre:hover { background: #E2B964; color: var(--ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green-tt); color: var(--green-d); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn--light:hover { background: #fff; color: var(--green-d); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 243, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 10px 28px -20px rgba(21, 36, 30, .4); }
.site-header__in { display: flex; align-items: center; gap: 12px; min-height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--green); }
.brand__name { font: 600 19px/1.05 var(--f-display); letter-spacing: -.01em; }
.brand__sub { display: block; margin-top: 4px; font: 500 10.5px/1.1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 440px) { .brand { gap: 10px; } .brand__name { font-size: 18px; } .brand__sub { font-size: 9.5px; letter-spacing: .08em; white-space: nowrap; } }
.nav { display: none; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--green-t); color: var(--green-d); }
.nav a[aria-current="page"] { background: var(--green-t); color: var(--green-d); font-weight: 600; }
.site-header__cta { display: none; }
.burger { width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); display: inline-grid; place-items: center; padding: 0; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), background .2s; content: ""; position: relative; }
.burger span::before { position: absolute; top: -6px; left: 0; }
.burger span::after { position: absolute; top: 6px; left: 0; }
.site-header.is-open .burger span { background: transparent; }
.site-header.is-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 22px; box-shadow: 0 30px 50px -30px rgba(21, 36, 30, .4); }
.site-header.is-open .menu { display: block; }
.menu a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font: 500 19px/1.2 var(--f-display); }
.menu a[aria-current="page"] { color: var(--green); }
.menu .btn { margin-top: 18px; width: 100%; }
@media (min-width: 760px) { .site-header__cta { display: inline-flex; } }
@media (min-width: 1040px) { .nav { display: flex; } .burger, .menu { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(26px, 4.5vw, 60px) 0 clamp(36px, 5vw, 64px); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(52% 46% at 88% 8%, var(--green-t), transparent 72%), radial-gradient(38% 38% at 0% 100%, var(--ochre-tt), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(30, 77, 61, .16) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(115deg, transparent 22%, #000 70%, transparent 100%); mask-image: linear-gradient(115deg, transparent 22%, #000 70%, transparent 100%); }
.hero__grid { display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 1.1rem + 4.7vw, 4.6rem); line-height: 1.04; letter-spacing: -.022em; font-weight: 500; }
.hero__lead { margin: 26px 0 0; max-width: 560px; font-size: clamp(1.05rem, 1rem + .35vw, 1.24rem); line-height: 1.58; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero__meta b { color: var(--green); font-weight: 600; }
.hero__meta i { display: none; width: 4px; height: 4px; border-radius: 50%; background: var(--ochre); }
.hl { background: linear-gradient(transparent 64%, var(--ochre-t) 64% 93%, transparent 93%) no-repeat left / 100% 100%; transition: background-size 1s var(--ease) .95s; }
.js [data-words]:not(.is-in) .hl { background-size: 0% 100%; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transition: transform .95s var(--ease), opacity .8s ease; }
.js [data-words]:not(.is-in) .w > span { transform: translateY(108%); opacity: 0; }

.hero__visual { position: relative; display: grid; gap: 14px; }
.hero__photo { position: relative; overflow: hidden; border-radius: 28px 28px 28px 120px; aspect-ratio: 5 / 4; background: var(--paper-2); box-shadow: var(--sh-2); }
.hero__photo img { width: 100%; height: 114%; object-fit: cover; object-position: 60% 40%; margin-top: -7%; filter: saturate(.85) contrast(1.02); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(30, 77, 61, .0) 40%, rgba(19, 53, 40, .22)); pointer-events: none; }
.ucard { position: relative; z-index: 2; max-width: 400px; margin: -70px 0 0 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-2); padding: 16px 18px 15px; font-size: 13.5px; line-height: 1.4; }
.ucard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px; background: var(--ochre-t); color: #5C430B; font: 600 11px/1.2 var(--f-text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag--green { background: var(--green-t); color: var(--green-d); }
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.ucard__title { margin: 10px 0 0; font: 600 15px/1.3 var(--f-text); }
.steps { display: flex; gap: 5px; margin: 13px 0 6px; }
.steps i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.steps i.on { background: var(--green); }
.steps i.cur { background: var(--ochre); }
.ucard dl, .case dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 10px 0 0; }
.ucard dt, .case dt { color: var(--muted); }
.ucard dd, .case dd { margin: 0; font-weight: 500; }
.hnote { position: relative; z-index: 2; max-width: 400px; margin-left: 14px; }
.hnote.mnote { box-shadow: var(--sh-1); font-size: .95rem; background: var(--white); border-radius: 14px; border: 1px solid var(--line); border-left: 3px solid var(--ochre); }
@media (min-width: 760px) { .hero__meta i { display: block; } }
@media (min-width: 620px) and (max-width: 959px) { .hero__photo { aspect-ratio: 16 / 10; } .ucard { margin-left: 28px; } }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .hero__photo { aspect-ratio: 1 / 1.04; }
  .hero__visual { display: block; padding-bottom: 38px; }
  .ucard { position: absolute; left: -9%; bottom: 0; width: min(330px, 84%); max-width: none; margin: 0; }
  .hnote { position: absolute; right: -4%; top: 7%; width: min(250px, 66%); max-width: none; margin: 0; }
}

/* ---------- facts strip ---------- */
.facts { display: grid; gap: 0; border-block: 1px solid var(--line); background: var(--white); }
.fact { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.fact:last-child { border-bottom: 0; }
.fact svg { grid-row: span 2; width: 40px; height: 40px; color: var(--green); }
.fact b, .fact span { display: block; }
.fact b { font: 500 1.35rem/1.15 var(--f-display); letter-spacing: -.01em; }
.fact span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } .fact { padding: 26px 24px 26px 0; } .fact:nth-child(odd) { border-right: 1px solid var(--line-2); } .fact:nth-child(even) { padding-left: 24px; } .fact:nth-last-child(-n+2) { border-bottom: 0; } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, 1fr); } .fact { padding: 28px 22px; border-bottom: 0; border-right: 1px solid var(--line-2); } .fact:first-child { padding-left: 0; } .fact:last-child { border-right: 0; } .fact:nth-child(even) { padding-left: 22px; } }

/* ---------- signature: route tool ---------- */
.rt { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); overflow: hidden; }
.rt__inputs { display: grid; gap: 26px; padding: clamp(18px, 3vw, 34px); background: linear-gradient(180deg, var(--green-tt), var(--paper)); border-bottom: 1px solid var(--line); }
.rt__label { display: block; margin: 0 0 12px; padding: 0; font: 600 12.5px/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.rt__label em { font-style: normal; color: var(--ochre-d); margin-right: 8px; }
.rt fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rt__types { display: grid; gap: 8px; grid-template-columns: 1fr; }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip > span { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 58px; padding: 11px 15px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--white); transition: border-color .2s, background .2s, box-shadow .2s, transform .25s var(--ease); }
.chip b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.chip small { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.chip:hover > span { border-color: var(--green-m); transform: translateY(-1px); }
.chip input:checked + span { border-color: var(--green); background: var(--green-t); box-shadow: inset 0 0 0 1px var(--green); }
.chip input:focus-visible + span { outline: 3px solid var(--ochre); outline-offset: 2px; }
.rt__dates { display: grid; gap: 14px; align-content: start; }
.fld { display: grid; gap: 6px; }
.fld > label { font-weight: 600; font-size: 14px; }
.fld input, .fld select { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--white); color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.fld input:hover, .fld select:hover { border-color: var(--green-m); }
.fld input:focus-visible, .fld select:focus-visible { outline: 3px solid var(--ochre); outline-offset: 1px; border-color: var(--green); }
.fld small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.rt__err { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--danger-t); color: var(--danger); font-size: 14px; font-weight: 500; }
.rt__err[hidden] { display: none; }
@media (min-width: 620px) { .rt__types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .rt__inputs { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 44px; } }
@media (min-width: 1100px) { .rt__types { grid-template-columns: repeat(3, 1fr); } }

.rt__route { --g: 22px; position: relative; display: grid; padding: clamp(24px, 3vw, 36px) clamp(18px, 3vw, 34px) 6px; }
.st { position: relative; min-width: 0; padding: 0 0 30px 56px; }
.st__dot { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); color: var(--muted); font: 600 17px/1 var(--f-display); transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease); }
.st::before, .st::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--line); }
.st::after { background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.st:last-child::before, .st:last-child::after { display: none; }
.st.is-done .st__dot { background: var(--green); border-color: var(--green); color: #fff; }
.st.is-done::after { transform: scaleY(1); }
.st--final.is-done .st__dot { background: var(--ochre); border-color: var(--ochre); color: var(--ink); transform: scale(1.12); }
.st.is-pulse .st__dot { animation: st-pulse .8s var(--ease); }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(213, 169, 78, .7); } 100% { box-shadow: 0 0 0 16px rgba(213, 169, 78, 0); } }
.st__k { margin: 0 0 4px; font: 600 12px/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.st__v { margin: 0; font: 500 clamp(1.2rem, 1.05rem + .5vw, 1.45rem)/1.2 var(--f-display); letter-spacing: -.01em; }
.st__p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.st__p b { font-weight: 600; }
.ms { list-style: none; margin: 14px 0 0; display: grid; gap: 0; }
.ms li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; line-height: 1.4; }
.ms time { font: 600 14px/1.3 var(--f-text); color: var(--green); white-space: nowrap; }
.ms li.is-final time { color: var(--ochre-d); }
.ms li.is-final span { font-weight: 500; }
.docs { list-style: none; margin: 12px 0 0; display: grid; gap: 0; }
.tick { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; min-height: 44px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 14px; line-height: 1.4; cursor: pointer; }
.docs li:first-child .tick { border-top: 0; }
.tick input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border: 1.5px solid var(--faint); border-radius: 7px; background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.tick input::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .25s var(--ease); }
.tick input:checked { background: var(--green); border-color: var(--green); }
.tick input:checked::after { transform: rotate(-45deg) scale(1); }
.tick input:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.tick:hover input:not(:checked) { border-color: var(--green); }
.meter { height: 6px; margin: 12px 0 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--ochre); border-radius: 3px; transition: width .6s var(--ease); }
.meter-label { margin: 0; font-size: 13px; color: var(--muted); }
.roles { list-style: none; margin: 14px 0 0; display: grid; gap: 0; }
.roles li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 14px; line-height: 1.4; }
.roles li:first-child { border-top: 0; }
.roles .ava { width: 34px; height: 34px; font-size: 13px; }
.roles b { display: block; font-weight: 600; }
.roles li > div > span { color: var(--muted); font-size: 13px; }
.roles li.is-opt .ava { background: var(--paper); color: var(--muted); border: 1.5px dashed var(--faint); }
.roles li.is-off { opacity: .55; }
.ava { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font: 600 15px/1 var(--f-display); letter-spacing: .02em; }
.ava--ochre { background: var(--ochre); color: var(--ink); }
.ava--tint { background: var(--green-t); color: var(--green-d); }
@media (min-width: 960px) {
  .rt__route { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); padding-bottom: 14px; }
  .st { padding: 54px 0 22px 0; }
  .st::before, .st::after { left: 46px; right: calc(var(--g) * -1 + 8px); top: 18px; bottom: auto; width: auto; height: 2px; }
  .st::after { transform: scaleX(0); transform-origin: left; }
  .st.is-done::after { transform: scaleX(1); }
}
.rt__sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px clamp(18px, 3vw, 34px); background: var(--green-d); color: #fff; }
.rt__sum p { flex: 1 1 420px; margin: 0; max-width: 62ch; font: 500 clamp(1.05rem, .95rem + .45vw, 1.28rem)/1.4 var(--f-display); }
.rt__sum p small { display: block; margin-top: 6px; font: 400 13px/1.45 var(--f-text); color: rgba(255, 255, 255, .72); }
.rt__acts { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 auto; max-width: 100%; }
.rt__legal { padding: 20px clamp(18px, 3vw, 34px) 26px; background: var(--paper); border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.rt__legal dl { display: grid; gap: 8px; margin: 0; }
.rt__legal dt { color: var(--ink); font-weight: 600; }
.rt__legal dd { margin: 0; }
.rt__legal p { margin: 0; }
@media (min-width: 960px) { .rt__legal dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; } .rt__legal dl div { display: grid; gap: 2px; align-content: start; } }

/* ---------- expert insight accordion ---------- */
.insights { display: grid; gap: 10px; }
.insight { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); transition: border-color .25s, box-shadow .25s; }
.insight[open] { border-color: var(--green-m); box-shadow: var(--sh-1); }
.insight summary { display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 16px; align-items: center; min-height: 66px; padding: 16px 20px; cursor: pointer; list-style: none; font: 500 clamp(1.08rem, 1rem + .4vw, 1.36rem)/1.3 var(--f-display); letter-spacing: -.008em; }
.insight summary::-webkit-details-marker { display: none; }
.insight summary::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(var(--green), var(--green)) center / 12px 2px no-repeat, linear-gradient(var(--green), var(--green)) center / 2px 12px no-repeat, var(--green-tt); transition: background-size .3s var(--ease), transform .3s var(--ease); }
.insight[open] summary::after { background-size: 12px 2px, 2px 0, auto; transform: rotate(180deg); }
.insight summary:hover { color: var(--green-d); }
.insight__a { display: grid; gap: 16px; padding: 0 20px 22px; }
.insight__a p { margin: 0; color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--green-tt); font-size: 13.5px; line-height: 1.35; }
.byline b { display: block; font-weight: 600; }
.byline span { color: var(--muted); }
@media (min-width: 760px) { .insight__a { grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: start; padding: 0 24px 26px; } .insight summary { padding: 18px 24px; } }

/* ---------- case card (interface fragment) ---------- */
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); overflow: hidden; }
.case__bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.case__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.case__bar span { margin-left: auto; }
.case__body { padding: clamp(18px, 2.6vw, 28px); font-size: 14.5px; }
.case__title { margin: 12px 0 0; font: 500 clamp(1.2rem, 1.05rem + .6vw, 1.5rem)/1.25 var(--f-display); }
.case dl { gap: 8px 18px; margin-top: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border-radius: 999px; background: var(--green-t); color: var(--green-d); font: 500 12.5px/1.2 var(--f-text); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pill--wait { background: var(--ochre-t); color: #5C430B; }
.pill--wait::before { background: var(--ochre-d); }
.timeline { list-style: none; margin: 20px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); padding-top: 6px; }
.timeline li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0 9px 0; font-size: 13.5px; line-height: 1.4; }
.timeline time { color: var(--muted); font-variant-numeric: tabular-nums; }

/* responsibility list */
.resp { list-style: none; counter-reset: r; display: grid; gap: 0; }
.resp li { counter-increment: r; position: relative; padding: 20px 0 20px 58px; border-top: 1px solid var(--line); }
.resp li:last-child { border-bottom: 1px solid var(--line); }
.resp li::before { content: counter(r); position: absolute; left: 0; top: 20px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green); font: 600 17px/1 var(--f-display); }
.resp h3 { font: 600 17px/1.3 var(--f-text); letter-spacing: 0; }
.resp p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.demo-field { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1.5px dashed var(--ochre); border-radius: 10px; background: var(--ochre-tt); font-size: 13.5px; font-weight: 500; color: #5C430B; }

/* ---------- scope table ---------- */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); overflow-x: auto; overflow-y: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tbl caption { text-align: left; padding: 16px 20px; font: 500 1.15rem/1.3 var(--f-display); border-bottom: 1px solid var(--line); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 15px 20px; border-top: 1px solid var(--line-2); }
.tbl thead th { border-top: 0; background: var(--green-tt); font: 600 12px/1.2 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--green-d); }
.tbl tbody th { font-weight: 600; width: 24%; }
.tbl td:nth-child(2) { width: 38%; }
.tbl .yes::before, .tbl .no::before { display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0 9px -4px 0; border-radius: 50%; font: 700 12px/1 var(--f-text); }
.tbl .yes::before { content: "\2713"; background: var(--green); color: #fff; }
.tbl .no::before { content: "+"; background: var(--ochre); color: var(--ink); font-size: 15px; }
.tbl .lim { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 759px) {
  .tbl, .tbl tbody, .tbl tr, .tbl td, .tbl th { display: block; width: 100% !important; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { padding: 16px 18px; border-top: 1px solid var(--line); }
  .tbl th, .tbl td { padding: 4px 0; border: 0; }
  .tbl caption { display: block; width: 100%; }
  .tbl td.yes::before, .tbl td.no::before { width: auto; height: auto; margin: 0; border-radius: 0; background: none; box-shadow: none; }
  .tbl td[data-label]::before { content: attr(data-label); display: block; margin-top: 8px; font: 600 11.5px/1.2 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- prices ---------- */
.prices { display: grid; gap: 16px; }
.price { display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.price:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--green-m); }
.price h3 { font: 600 17px/1.3 var(--f-text); letter-spacing: 0; }
@media (min-width: 700px) { .price h3 { min-height: 2.6em; } }
.price .price__v { margin: 14px 0 2px; font: 500 clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem)/1.1 var(--f-display); letter-spacing: -.02em; color: var(--green-d); }
.price .price__v small { font: 400 14px/1 var(--f-text); color: var(--muted); letter-spacing: 0; }
.price p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 10px 0 0; }
.price__drv { margin-top: auto !important; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted) !important; font-size: 13px !important; }
.price__drv b { color: var(--ink); font-weight: 600; }
.price--accent { background: var(--green-d); color: #fff; border-color: var(--green-d); }
.price--accent .price__v, .price--accent .price__v small { color: var(--ochre); }
.price--accent p, .price--accent .price__drv { color: rgba(255, 255, 255, .78) !important; }
.price--accent .price__drv { border-color: rgba(255, 255, 255, .25); }
.price--accent .price__drv b { color: #fff; }
@media (min-width: 700px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .prices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fineprint { margin-top: 22px; display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); }
.fineprint p { margin: 0; }

/* ---------- deadlines strip ---------- */
.dates { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); overflow: hidden; }
.date { display: grid; grid-template-columns: 96px 1fr; gap: 6px 20px; align-items: start; padding: 20px 22px; border-top: 1px solid var(--line-2); }
.date:first-child { border-top: 0; }
.date__d { font: 500 2.2rem/1 var(--f-display); letter-spacing: -.02em; color: var(--green-d); }
.date__d small { display: block; margin-top: 4px; font: 600 12px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-d); }
.date p { margin: 0; font-size: 15px; line-height: 1.45; }
.date p b { display: block; font-weight: 600; }
.date__left { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .dates { grid-template-columns: repeat(3, 1fr); } .date { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); padding: 26px 26px 24px; } .date:first-child { border-left: 0; } }

/* ---------- team ---------- */
.person-hero { display: grid; gap: 28px; align-items: center; }
.person-hero figure { margin: 0; position: relative; }
.person-hero img { width: 100%; border-radius: 24px 24px 24px 90px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--sh-2); }
.person-hero figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); font-size: 14px; line-height: 1.35; }
.person-hero figcaption b { display: block; font: 500 1.15rem/1.2 var(--f-display); }
.person-hero figcaption span { color: var(--muted); }
.creds { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.creds li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px dashed var(--ochre); border-radius: 12px; background: var(--ochre-tt); font-size: 14px; line-height: 1.35; font-weight: 500; color: #4A3608; }
.creds li svg { width: 20px; height: 20px; flex: none; color: var(--ochre-d); }
.team-grid { display: grid; gap: 16px; }
.person { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.person .ava { width: 56px; height: 56px; font-size: 18px; grid-row: span 3; }
.person h3 { font: 500 1.2rem/1.2 var(--f-display); }
.person__role { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--green); }
.person p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 900px) { .person-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .team-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- scenarios + mini route ---------- */
.scenarios { display: grid; gap: 16px; }
.scenario { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.scenario .tag { align-self: flex-start; }
.scenario h3 { font: 500 1.3rem/1.22 var(--f-display); }
.scenario p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.mini-route { list-style: none; display: grid; gap: 0; margin: 4px 0 0; padding: 0; }
.mini-route li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 0 0 12px; font-size: 13.5px; line-height: 1.4; }
.mini-route li::before { content: ""; width: 12px; height: 12px; margin: 3px 0 0 5px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper); }
.mini-route li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: -3px; width: 2px; background: var(--line); }
.mini-route li:last-child { padding-bottom: 0; }
.mini-route li:last-child::after { display: none; }
.mini-route li:last-child::before { background: var(--ochre); border-color: var(--ochre); }
.mini-route b { display: block; font: 600 11.5px/1.2 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
@media (min-width: 900px) { .scenarios { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- publications ---------- */
.pubs { display: grid; gap: 28px; align-items: start; }
.pubs__img { margin: 0; position: relative; }
.pubs__img img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--sh-1); }
.pub-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pub { display: grid; grid-template-columns: 1fr 24px; gap: 4px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .3s var(--ease), color .2s; }
.pub:hover { padding-left: 10px; color: var(--green-d); }
.pub__t { font: 500 clamp(1.1rem, 1rem + .5vw, 1.4rem)/1.3 var(--f-display); letter-spacing: -.01em; }
.pub__m { grid-column: 1; font-size: 13px; color: var(--muted); }
.pub svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--green); transition: transform .3s var(--ease); }
.pub:hover svg { transform: translate(4px, -4px); }
@media (min-width: 900px) { .pubs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; } }

/* ---------- contact band: form, channels, map ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--green-d); color: #fff; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; opacity: .22; mix-blend-mode: luminosity; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, var(--green-d) 30%, rgba(19, 53, 40, .82)); }
.cta__grid { display: grid; gap: clamp(28px, 5vw, 56px); }
.cta h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem); line-height: 1.1; }
.cta .kicker { color: var(--ochre); }
.cta .lead { color: rgba(255, 255, 255, .84); margin-top: 18px; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.channels .btn { min-width: 0; padding: 0 16px; }
@media (min-width: 620px) { .channels { gap: 12px; } .channels .btn { padding: 0 24px; min-width: 128px; } }
.contact-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15.5px; line-height: 1.45; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--ochre); margin-top: 1px; }
.contact-list a { color: #fff; }
.contact-list small { display: block; color: rgba(255, 255, 255, .66); font-size: 13px; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; margin-top: 4px; padding: 3px 12px 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font: 600 13px/1.2 var(--f-text); color: #fff; }
.open-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.open-badge.is-open::before { background: #5EDB9A; box-shadow: 0 0 0 4px rgba(94, 219, 154, .25); animation: blink 2.4s ease-in-out infinite; }
.open-badge.is-closed::before { background: var(--ochre); }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(94, 219, 154, 0); } }
.open-badge--light { background: var(--green-t); color: var(--green-d); }
.open-badge--light.is-open::before { background: #1F9D61; box-shadow: 0 0 0 4px rgba(31, 157, 97, .22); }
.form { padding: clamp(20px, 3vw, 34px); border-radius: var(--r-l); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .55); display: grid; gap: 16px; }
.form h3 { font: 500 1.5rem/1.2 var(--f-display); }
.form > p { margin: 0; font-size: 14.5px; color: var(--muted); }
.form .row { display: grid; gap: 16px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; min-height: 44px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--faint); border-radius: 7px; background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .25s var(--ease); }
.check input:checked { background: var(--green); border-color: var(--green); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--ochre-tt); border: 1px solid var(--ochre-t); font-size: 13.5px; line-height: 1.45; color: #4A3608; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--ochre-d); }
.map { margin: 28px 0 0; border-radius: var(--r-m); overflow: hidden; background: #EDF0E6; border: 1px solid rgba(255, 255, 255, .2); }
.map svg { width: 100%; height: auto; }
.map figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.4; }
.map figcaption b { display: block; font-weight: 600; }
.map figcaption span { color: var(--muted); font-size: 13px; }
.map--plain { border-color: var(--line); }
@media (min-width: 620px) { .form .row--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cta__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } .cta .form { position: sticky; top: 96px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--green-dd); color: rgba(255, 255, 255, .78); padding: clamp(44px, 6vw, 72px) 0 28px; font-size: 14.5px; line-height: 1.6; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: var(--ochre); }
.site-footer__grid { display: grid; gap: 34px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { color: var(--ochre); }
.site-footer .brand__sub { color: rgba(255, 255, 255, .6); }
.site-footer h4 { margin: 0 0 12px; font: 600 12px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__legal { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.site-footer__legal p { margin: 0; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; } }

/* ---------- sticky contact bar (phones) ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 248, 243, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.bar.is-on { transform: none; }
.bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.bar a:nth-child(2) { background: var(--green-m); }
.bar a:nth-child(3) { background: var(--ochre); color: var(--ink); }
.bar svg { width: 18px; height: 18px; }
body.has-bar { padding-bottom: 76px; }
@media (min-width: 900px) { .bar { display: none; } body.has-bar { padding-bottom: 0; } }

/* ---------- route rail (desktop, index) ---------- */
.rail { position: fixed; left: 18px; top: 50%; z-index: 30; display: none; transform: translateY(-50%); }
.rail ol { position: relative; list-style: none; display: grid; gap: 20px; }
.rail ol::before, .rail ol::after { content: ""; position: absolute; left: 6px; top: 6px; width: 2px; border-radius: 2px; }
.rail ol::before { bottom: 6px; background: var(--line); }
.rail ol::after { height: calc((100% - 12px) * var(--p, 0)); background: var(--green); transition: height .25s linear; }
.rail a { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); z-index: 1; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.rail a.is-seen { border-color: var(--green); }
.rail a[aria-current="true"] { background: var(--ochre); border-color: var(--ochre); transform: scale(1.35); }
.rail a span { position: absolute; left: 26px; top: 50%; transform: translateY(-50%) translateX(-6px); padding: 5px 11px; border-radius: 8px; background: var(--green-d); color: #fff; font: 500 12.5px/1.2 var(--f-text); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.rail a::after { content: ""; position: absolute; inset: -14px; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translateY(-50%); }
@media (min-width: 1360px) { .rail { display: block; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(36px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: radial-gradient(50% 80% at 95% 0%, var(--green-t), transparent 70%), var(--paper); }
.page-hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.8vw, 3.9rem); line-height: 1.06; letter-spacing: -.02em; max-width: 18ch; }
.page-hero .lead { margin: 22px 0 0; max-width: 62ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--faint); }
.crumbs a { color: var(--muted); }

/* ---------- legal documents ---------- */
.doc { max-width: 780px; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 100px); }
.doc h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); line-height: 1.1; margin: 14px 0 20px; }
.doc h2 { margin: 2.1em 0 .6em; font-size: 1.5rem; line-height: 1.25; }
.doc p, .doc li { color: var(--ink-2); }
.doc ol, .doc ul { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: .5em; }
.doc .notice { margin: 20px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1.4em; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--green-tt); font-weight: 600; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* ---------- motion helpers ---------- */
.is-pulse-soft { animation: soft .9s var(--ease); }
@keyframes soft { 0% { background-color: var(--ochre-t); } 100% { background-color: transparent; } }
[data-reveal] { will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .hero__photo img { height: 100%; margin-top: 0; }
}
@media print { .nx-ribbon, .site-header, .bar, .rail { display: none !important; } }

/* =====================================================================
   INNER PAGES: route / services / publications / team / contacts
   Appended after the index design system. Same tokens, same language.
   ===================================================================== */

/* ---------- page hero variants ---------- */
.page-hero__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-hero--wide h1 { max-width: 21ch; }
.page-hero .hero__cta { margin-top: 28px; }
.page-hero .hero__meta { margin-top: 22px; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); } }

.glance { list-style: none; display: grid; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh-2); overflow: hidden; counter-reset: g; }
.glance li + li { border-top: 1px solid var(--line-2); }
.glance a { display: grid; grid-template-columns: 38px minmax(0, 1fr) 20px; gap: 14px; align-items: center; min-height: 72px; padding: 14px 20px; text-decoration: none; color: var(--ink); transition: background .25s, padding .3s var(--ease); }
.glance a::before { counter-increment: g; content: counter(g); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green); font: 600 16px/1 var(--f-display); transition: background .25s, color .25s; }
.glance li:last-child a::before { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.glance a:hover { background: var(--green-tt); padding-left: 26px; color: var(--ink); }
.glance a:hover::before { background: var(--green); color: #fff; }
.glance li:last-child a:hover::before { background: var(--ochre); color: var(--ink); }
.glance b { display: block; font: 600 16px/1.3 var(--f-text); }
.glance small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.glance svg { width: 20px; height: 20px; color: var(--green); transition: transform .3s var(--ease); }
.glance a:hover svg { transform: translateY(3px); }

.phero-fig { position: relative; margin: 0; }
.phero-fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px 28px 110px 28px; box-shadow: var(--sh-2); background: var(--paper-2); }
.phero-fig--desk img { object-position: 74% 50%; filter: saturate(.8) contrast(1.02); }
.phero-fig--pen img { aspect-ratio: 4 / 3; border-radius: 110px 28px 28px 28px; }
.phero-fig figcaption { position: absolute; left: 14px; bottom: 14px; max-width: min(300px, calc(100% - 28px)); padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13.5px; line-height: 1.4; box-shadow: var(--sh-1); }
.phero-fig figcaption b { display: block; font: 500 1.05rem/1.2 var(--f-display); margin-bottom: 2px; }
.phero-fig figcaption span { color: var(--muted); }

.tower { position: relative; margin: 0; border-radius: 28px 120px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; box-shadow: var(--sh-2); background: var(--green-d); isolation: isolate; }
.tower img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(1.05); }
.tower::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(46, 106, 85, .78), rgba(13, 38, 29, .86)); mix-blend-mode: multiply; pointer-events: none; }
.tower figcaption { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); font-size: 13.5px; line-height: 1.4; }
.tower figcaption b { display: block; font: 500 1.05rem/1.2 var(--f-display); }
.tower figcaption span { color: var(--muted); }
@media (min-width: 960px) { .tower { max-height: none; } }

.crew { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.crew a { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 20px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font: 600 14.5px/1.2 var(--f-text); transition: transform .3s var(--ease), box-shadow .3s, border-color .25s; }
.crew a:hover { transform: translateY(-2px); border-color: var(--green-m); box-shadow: var(--sh-1); color: var(--ink); }
.crew small { display: block; margin-top: 2px; font: 400 12.5px/1.2 var(--f-text); color: var(--muted); }

/* ---------- shared: legal / method box for calendars, tools ---------- */
.legalbox { margin-top: 22px; padding: 20px clamp(16px, 3vw, 28px) 22px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); display: grid; gap: 14px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.legalbox h3 { font: 600 12px/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.legalbox dl { display: grid; gap: 8px; margin: 0; }
.legalbox dt { color: var(--ink); font-weight: 600; }
.legalbox dd { margin: 0; }
.legalbox p { margin: 0; }
@media (min-width: 960px) { .legalbox dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; } .legalbox dl div { display: grid; gap: 2px; align-content: start; } }

/* ---------- route.html ---------- */
.typecards { display: grid; gap: 16px; }
.typecard { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.typecard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--green-m); }
.typecard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.typecard__n { font: 500 2.6rem/1 var(--f-display); letter-spacing: -.02em; color: var(--ochre); }
.typecard h3 { font: 500 1.4rem/1.2 var(--f-display); }
.typecard dl { display: grid; gap: 0; margin: 0; }
.typecard dl > div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px dashed var(--line); }
.typecard dt { font: 600 11.5px/1.2 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.typecard dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.typecard .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 760px) { .typecards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .typecards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.dayplan { display: grid; gap: clamp(24px, 4vw, 52px); align-items: start; }
@media (min-width: 960px) { .dayplan { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); overflow: hidden; }
.cal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 14px 18px; background: var(--paper-2); border-bottom: 1px solid var(--line); font: 600 14px/1.2 var(--f-text); }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 16px 14px 18px; list-style: none; }
.cal__wd { text-align: center; padding: 2px 0 6px; font: 600 11px/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cal__d { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--green-tt); font: 500 1.05rem/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--ink); }
.cal__d.is-off { background: repeating-linear-gradient(135deg, transparent 0 4px, var(--line-2) 4px 5px); color: var(--faint); }
.cal__d.is-out { background: transparent; color: #C9C5B6; }
.cal__d.is-ms { background: var(--green-t); box-shadow: inset 0 0 0 1.5px var(--green); color: var(--green-d); font-weight: 600; }
.cal__d.is-end { background: var(--ochre); box-shadow: none; color: var(--ink); font-weight: 600; }
.cal__d i { position: absolute; top: -6px; right: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font: 600 11px/1 var(--f-text); font-style: normal; box-shadow: 0 0 0 2px var(--white); }
.cal__d.is-end i { background: var(--ink); }
.cal__note { margin: 0; padding: 0 18px 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.cal__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0 18px 16px; list-style: none; font-size: 12.5px; color: var(--muted); }
.cal__key li { display: inline-flex; align-items: center; gap: 7px; }
.cal__key span { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--green-tt); }
.cal__key .k-off { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--line) 3px 4px); border: 1px solid var(--line-2); }
.cal__key .k-ms { box-shadow: inset 0 0 0 1.5px var(--green); background: var(--green-t); }
.cal__key .k-end { background: var(--ochre); }
.dayplan__legend { list-style: none; display: grid; margin: 0; padding: 0; }
.dayplan__legend li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; padding: 17px 0; border-top: 1px solid var(--line); }
.dayplan__legend li:last-child { border-bottom: 1px solid var(--line); }
.dayplan__legend .n { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 2px; border-radius: 50%; background: var(--green); color: #fff; font: 600 13px/1 var(--f-text); }
.dayplan__legend li:last-child .n { background: var(--ochre); color: var(--ink); }
.dayplan__legend time { display: block; font: 600 13px/1.3 var(--f-text); color: var(--green); }
.dayplan__legend b { display: block; font: 600 16.5px/1.3 var(--f-text); }
.dayplan__legend p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.short { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
.short__c { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.short__c h3 { font: 500 1.2rem/1.25 var(--f-display); }
.short__c p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.wdbar { display: flex; gap: 4px; margin: 14px 0 0; padding: 0; list-style: none; }
.wdbar li { flex: 1 1 0; min-width: 0; display: grid; align-content: start; justify-items: center; gap: 3px; min-height: 52px; padding: 5px 2px; border-radius: 8px; background: var(--green-tt); font: 600 11px/1 var(--f-text); color: var(--green-d); }
.wdbar li b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--green); color: #fff; font-weight: 600; font-size: 10.5px; }
.wdbar li b.e { background: var(--ochre); color: var(--ink); }
.wdbar li em { font: 500 9.5px/1 var(--f-text); font-style: normal; color: var(--muted); letter-spacing: .02em; }
.wdkey { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.wdkey span { white-space: nowrap; }
.wdkey b { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 5px; border-radius: 5px; background: var(--green); color: #fff; font-size: 10.5px; font-weight: 600; vertical-align: 1px; }
.wdkey b.e { background: var(--ochre); color: var(--ink); }
@media (min-width: 900px) { .short { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.flow { list-style: none; display: grid; margin: 0; padding: 0; }
.flow__n { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding: 0 0 34px; }
.flow__n:last-child { padding-bottom: 0; }
.flow__i { position: relative; z-index: 1; grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--green-m); border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; }
.flow__i svg { width: 30px; height: 30px; }
.flow__n:nth-child(2) .flow__i { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.flow__n b { align-self: end; font: 500 1.3rem/1.2 var(--f-display); }
.flow__n p { margin: 0; align-self: start; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.5; }
.flow__n:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 68px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--ochre) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: flow-y 1.1s linear infinite; }
@keyframes flow-y { to { background-position: 0 12px; } }
@keyframes flow-x { to { background-position: 12px 0; } }
@media (min-width: 960px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; }
  .flow__n { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 0; }
  .flow__i { grid-row: auto; margin-bottom: 14px; }
  .flow__n:not(:last-child)::after { left: 80px; right: -14px; top: 31px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--ochre) 0 6px, transparent 6px 12px); background-size: 12px 2px; animation-name: flow-x; }
}
.rules { display: grid; gap: 16px; margin-top: clamp(34px, 5vw, 56px); }
.rules > div { padding: 22px 22px 20px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-m); background: rgba(255, 255, 255, .06); }
.rules h3 { font: 600 12px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); margin-bottom: 12px; }
.rules ul { list-style: none; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.rules li { position: relative; padding-left: 24px; }
.rules li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--ochre); font-weight: 700; }
.rules .is-no li::before { content: "\00D7"; font-size: 1.2em; line-height: 1.15; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section--deep .legalbox { color: var(--muted); }

/* ---------- services.html ---------- */
.stages { list-style: none; counter-reset: s; display: grid; margin: 0; padding: 0; }
.stage { counter-increment: s; position: relative; padding: 22px 0 24px; border-top: 2px solid var(--line); }
.stage::before { content: "0" counter(s); display: block; font: 500 3.2rem/1 var(--f-display); letter-spacing: -.02em; color: var(--green); }
.stage::after { content: ""; position: absolute; left: 0; top: -2px; width: 56px; height: 2px; background: var(--ochre); }
.stage h3 { margin: 14px 0 8px; font: 500 1.4rem/1.2 var(--f-display); }
.stage p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.stage .stage__out { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.stage .stage__out b { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) { .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.price .inc { list-style: none; display: grid; gap: 7px; margin: 14px 0 0; padding: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.price .inc li { position: relative; padding-left: 24px; }
.price .inc li::before { content: ""; position: absolute; left: 1px; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price--accent .inc { color: rgba(255, 255, 255, .88); }
.price--accent .inc li::before { border-color: var(--ochre); }
.price .price__no { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.price--accent .price__no { color: rgba(255, 255, 255, .7) !important; }

.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.tab { min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); font: 600 14.5px/1.2 var(--f-text); text-align: left; transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--green-m); }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tab:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel + .tabs__panel { margin-top: 28px; }
.is-tabs .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__h { margin: 0 0 12px; font: 500 1.4rem/1.2 var(--f-display); }
.is-tabs .tabs__h { display: none; }
.tabs__note { display: grid; gap: 4px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.tabs__note p { margin: 0; }
.tabs__note b { color: var(--ink); }

.est { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); overflow: hidden; }
.est fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.est__in { display: grid; gap: 24px; align-content: start; padding: clamp(18px, 3vw, 32px); background: linear-gradient(180deg, var(--green-tt), var(--paper)); }
.est__types { display: grid; gap: 8px; }
.est__row { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.est__row .chip > span { min-height: 52px; padding: 9px 10px; text-align: left; }
.est__out { display: grid; gap: 14px; align-content: start; padding: clamp(20px, 3vw, 34px); background: var(--green-d); color: #fff; }
.est__k { margin: 0; font: 600 12px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
.est__name { margin: 0; font: 500 clamp(1.3rem, 1.1rem + .8vw, 1.7rem)/1.2 var(--f-display); }
.est__price { margin: 0; font: 500 clamp(2.2rem, 1.7rem + 1.8vw, 3rem)/1.05 var(--f-display); letter-spacing: -.02em; color: var(--ochre); }
.est__price small { font: 400 15px/1 var(--f-text); color: rgba(255, 255, 255, .72); letter-spacing: 0; }
.est__list { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
.est__list li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.est__list li > span { font: 600 11.5px/1.2 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.est__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (min-width: 960px) { .est { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .est__in { border-right: 1px solid var(--line); } }
@media (max-width: 520px) { .est__row { grid-template-columns: 1fr; } }

/* ---------- publications.html ---------- */
.pubs-index { display: grid; gap: clamp(22px, 4vw, 40px); align-items: start; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fchip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); font: 600 14.5px/1 var(--f-text); transition: background .2s, color .2s, border-color .2s; }
.fchip:hover { border-color: var(--green-m); }
.fchip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.fchip:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.pubs-side { display: grid; gap: 16px; align-content: start; }
.pubs-side .disc { margin: 0; }
.filters__n { margin: 0; font-size: 13.5px; color: var(--muted); }
@media (min-width: 960px) { .pubs-index { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 56px; } .pubs-side { position: sticky; top: 96px; } .filters { flex-direction: column; align-items: stretch; } .fchip { justify-content: space-between; border-radius: 14px; } }
.pub-list li[hidden] { display: none; }
.pub .pub__m, .brief .pub__m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pub .pub__m .tag, .brief .pub__m .tag { min-height: 22px; font-size: 10.5px; padding: 1px 9px; }
.brief { border-bottom: 1px solid var(--line); }
.brief summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 4px 16px; align-items: center; min-height: 44px; padding: 20px 0; list-style: none; cursor: pointer; color: var(--ink); transition: padding .3s var(--ease), color .2s; }
.brief summary::-webkit-details-marker { display: none; }
.brief summary .pub__t { grid-column: 1; }
.brief summary .pub__m { grid-column: 1; }
.brief summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(var(--green), var(--green)) center / 11px 2px no-repeat, linear-gradient(var(--green), var(--green)) center / 2px 11px no-repeat, var(--green-tt); transition: background-size .3s var(--ease), transform .3s var(--ease); }
.brief[open] summary::after { background-size: 11px 2px, 2px 0, auto; transform: rotate(180deg); }
.brief summary:hover { padding-left: 10px; color: var(--green-d); }
.brief summary:focus-visible { outline: 3px solid var(--ochre); outline-offset: -3px; border-radius: 8px; }
.brief__b { max-width: 64ch; padding: 0 0 22px; }
.brief__b p { margin: 0 0 .8em; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.brief__b .disc { margin: 0; }

.read-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 90; height: 3px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.read-progress.is-on { opacity: 1; }
.read-progress i { display: block; height: 100%; background: var(--ochre); transform-origin: left; transform: scaleX(var(--p, 0)); }

.art-head { max-width: 860px; margin-bottom: clamp(22px, 3.4vw, 40px); }
.art-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem); line-height: 1.1; }
.art-head .lead { margin: 20px 0 0; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.art-meta .byline { padding: 0; background: none; }
.art-row { padding: clamp(20px, 3vw, 30px) 0; border-top: 1px solid var(--line); }
.art-row:first-of-type { border-top: 0; }
.prose p { max-width: 64ch; margin: 0 0 1.05em; font-size: clamp(1.05rem, 1rem + .25vw, 1.15rem); line-height: 1.72; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.qn { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 14px; align-items: start; margin: 0 0 14px; }
.qn__n { font: 500 2.7rem/1 var(--f-display); letter-spacing: -.02em; color: var(--ochre); }
.qn h3 { padding-top: 4px; font: 500 clamp(1.3rem, 1.1rem + .9vw, 1.8rem)/1.22 var(--f-display); }
h3.sub { margin: 0 0 14px; font: 500 clamp(1.3rem, 1.1rem + .9vw, 1.8rem)/1.22 var(--f-display); }
.art-end { display: grid; gap: 16px; margin-top: clamp(22px, 3vw, 34px); padding: 22px; border-radius: var(--r-m); background: var(--green-tt); border: 1px solid var(--green-t); }
.art-end p { margin: 0; }
.art-end .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cmp { margin-top: 8px; }
.cmp.tbl-wrap .tbl tbody th { width: 22%; }
.cmp .tbl td:nth-child(2) { width: auto; }
.facts26 { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts26 li { display: grid; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.facts26 b { font: 600 14.5px/1.35 var(--f-text); color: var(--ink); }
@media (min-width: 760px) { .facts26 li { grid-template-columns: 230px minmax(0, 1fr); } }
.link-out { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------- team.html ---------- */
.person-hero--rev figure { order: 0; }
.person-hero img { object-position: 50% 30%; }
.person-hero--desk img { object-position: 88% 50%; }
@media (min-width: 900px) { .person-hero--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } .person-hero--rev figure { order: 2; } }
.person-hero h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem); line-height: 1.1; }
.person__ro { margin: 10px 0 0; font: 600 13px/1.3 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pdl { display: grid; margin: 22px 0 0; }
.pdl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.pdl > div:last-child { border-bottom: 1px solid var(--line); }
.pdl dt { margin-bottom: 4px; font: 600 11.5px/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pdl dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.person--full { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; padding: 26px 24px; border-radius: var(--r-l); }
.person--full .ava { width: 64px; height: 64px; font-size: 20px; grid-row: span 2; }
.person--full h3 { font-size: 1.5rem; align-self: end; }
.person--full .person__role { align-self: start; }
.person--full .pdl { grid-column: 1 / -1; margin-top: 14px; }
.person--full .mnote { grid-column: 1 / -1; margin-top: 16px; font-size: .98rem; }
@media (min-width: 900px) { .team-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

.chain { list-style: none; display: grid; margin: 0; padding: 0; }
.chain li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 16px; padding: 0 0 28px; }
.chain li:last-child { padding-bottom: 0; }
.chain .ava { grid-row: span 2; width: 56px; height: 56px; font-size: 18px; position: relative; z-index: 1; }
.chain b { align-self: end; font: 600 16.5px/1.3 var(--f-text); }
.chain p { margin: 0; align-self: start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.chain li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 2px; background: var(--line); }
.chain .tag { margin-top: 6px; }
@media (min-width: 960px) {
  .chain { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 26px; }
  .chain li { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 4px; }
  .chain .ava { grid-row: auto; margin-bottom: 10px; }
  .chain li:not(:last-child)::after { left: 68px; right: -14px; top: 27px; bottom: auto; width: auto; height: 2px; }
}
.principles { display: grid; gap: 16px; margin-top: clamp(34px, 5vw, 56px); }
.principle { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.principle__n { display: block; font: 500 2.4rem/1 var(--f-display); color: var(--green-m); letter-spacing: -.02em; }
.principle h3 { margin: 12px 0 8px; font: 500 1.3rem/1.22 var(--f-display); }
.principle p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tbl--matrix tbody th { width: 28%; }
.tbl--matrix td:nth-child(2) { width: auto; }
.tbl--matrix thead th { text-align: center; }
.tbl--matrix thead th:first-child { text-align: left; }
.tbl--matrix td { text-align: center; vertical-align: middle; }
.rl { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 11px; border-radius: 999px; font: 600 12px/1.2 var(--f-text); white-space: nowrap; }
.rl--own { background: var(--green); color: #fff; }
.rl--part { background: var(--green-t); color: var(--green-d); }
.rl--none { color: var(--faint); font-weight: 500; }
@media (max-width: 759px) { .tbl--matrix td { text-align: left; } .tbl--matrix td.is-none { display: none; } .tbl--matrix td[data-label]::before { margin-top: 0; margin-bottom: 4px; } }
@media (min-width: 760px) and (max-width: 959px) { .tbl--matrix th, .tbl--matrix td { padding: 12px 6px; } .tbl--matrix thead th { letter-spacing: .03em; font-size: 11px; } .tbl--matrix tbody th { width: 27%; padding-left: 14px; font-size: 14px; } .tbl--matrix .rl { padding: 2px 7px; font-size: 11.5px; } }
.sumgrid { display: grid; gap: clamp(22px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .sumgrid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.sumcols { display: grid; gap: 14px; }
.sumcols > div { padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.sumcols h3 { font: 600 12px/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.sumcols ul { list-style: none; display: grid; gap: 7px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.sumcols li { position: relative; padding-left: 22px; }
.sumcols .yes li::before { content: ""; position: absolute; left: 1px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.sumcols .no li::before { content: "+"; position: absolute; left: 2px; top: -.05em; font-weight: 700; font-size: 1.1em; color: var(--ochre-d); }
@media (min-width: 620px) { .sumcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- contacts.html ---------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } .contact-grid .form { position: sticky; top: 96px; } }
.chan-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chan { display: grid; grid-template-columns: 52px minmax(0, 1fr) 22px; gap: 16px; align-items: center; min-height: 76px; padding: 14px 20px 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .25s; }
.chan:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: var(--sh-1); color: var(--ink); }
.chan__i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-t); color: var(--green-d); }
.chan--tg .chan__i { background: var(--green); color: #fff; }
.chan__i svg { width: 24px; height: 24px; }
.chan__t { display: grid; gap: 2px; min-width: 0; }
.chan b { font: 600 17px/1.2 var(--f-text); }
.chan small { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.chan > svg { width: 20px; height: 20px; color: var(--green); transition: transform .3s var(--ease); }
.chan:hover > svg { transform: translateX(4px); }
.phoneline { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; margin: 18px 0 0; font-size: 15.5px; line-height: 1.45; }
.phoneline svg { width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.phoneline small { display: block; color: var(--muted); font-size: 13px; }
.first-msg { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.first-msg h3 { font: 500 1.3rem/1.25 var(--f-display); }
.first-msg ol { list-style: none; counter-reset: m; display: grid; gap: 0; margin: 12px 0 0; padding: 0; }
.first-msg ol > li { counter-increment: m; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 14.5px; line-height: 1.45; }
.first-msg ol > li::before { content: counter(m); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-t); color: var(--green-d); font: 600 12px/1 var(--f-text); }
.first-msg .btn { margin-top: 14px; }
.form--light { background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.where-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
.where-grid .map { margin: 0; }
@media (min-width: 960px) { .where-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.hours { width: 100%; margin: 22px 0 0; border-collapse: collapse; font-size: 15px; }
.hours caption { text-align: left; padding: 0 0 8px; font: 600 12px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
.hours th, .hours td { padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .16); text-align: left; }
.hours th { font-weight: 500; color: rgba(255, 255, 255, .82); }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ochre); }
.hours tr.is-today th::after { content: " · сегодня"; font-weight: 400; }
.where-grid .contact-list { margin-top: 0; }
.reqs { display: grid; margin: 0; }
.reqs > div { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.reqs > div:last-child { border-bottom: 1px solid var(--line); }
.reqs dt { font: 600 12px/1.3 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.reqs dd { margin: 0; font-size: 15.5px; line-height: 1.45; }
.docs-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; }

@media print { .read-progress { display: none !important; } }

/* inner-page patches */
.section--deep .section__head p:not(.kicker) { color: rgba(255, 255, 255, .8); }
.cta .first-msg { margin-top: 0; align-self: start; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .55); color: var(--ink); }
.cta .first-msg h3 { color: var(--ink); }
.cta .link-arrow { color: #fff; }
.cta .link-arrow:hover { color: var(--ochre); }
.cta .first-msg ol { margin-bottom: 0; }
.section--deep .rules + p .btn, .section--deep .btn--light { backdrop-filter: none; }


/* ---------- index hero: route board (replaces the photo + floating cards) ---------- */
.hero__visual { display: grid; gap: 14px; padding-bottom: 0; }
.board { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; background: var(--green-d); color: #fff; box-shadow: var(--sh-2); }
.board__photo { position: relative; height: clamp(160px, 30vw, 240px); }
.board__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 42%; filter: grayscale(.25) contrast(1.04) brightness(1.04); }
.board__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 106, 85, .18), rgba(19, 53, 40, .3) 58%, var(--green-d) 100%); pointer-events: none; }
.board__tag { position: absolute; z-index: 1; left: 18px; top: 16px; }
.board__body { position: relative; z-index: 1; margin-top: -26px; padding: 0 clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px); }
.board__title { margin: 0 0 20px; font: 500 1.4rem/1.2 var(--f-display); letter-spacing: -.01em; }
.board__route { list-style: none; margin: 0; padding: 0; }
.board__route li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding-bottom: 20px; }
.board__route li:last-child { padding-bottom: 0; }
.board__route li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: rgba(255, 255, 255, .2); }
.board__route li.is-done:not(:last-child)::before { background: var(--ochre); }
.board__route i { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .42); background: var(--green-d); font: 600 15px/1 var(--f-display); font-style: normal; }
.board__route li.is-done i { background: var(--green-m); border-color: var(--green-m); }
.board__route li.is-cur i { background: var(--ochre); border-color: var(--ochre); color: var(--ink); animation: board-ring 2.4s ease-out infinite; }
@keyframes board-ring { 0% { box-shadow: 0 0 0 0 rgba(213, 169, 78, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(213, 169, 78, 0); } }
.board__route small { display: block; font: 600 11px/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.board__route b { display: block; margin-top: 3px; font: 500 15.5px/1.35 var(--f-text); }
.hero__visual .hnote { position: static; width: auto; max-width: 440px; margin: 0 0 0 14px; }
@media (min-width: 960px) { .hero__visual .hnote { max-width: 360px; margin-left: -28px; } }

/* ---------- facts: typographic ledger instead of an icon strip ---------- */
.facts { counter-reset: fact; background: transparent; border-block: 0; border-top: 3px solid var(--ink); }
.fact { grid-template-columns: 1fr; gap: 6px; counter-increment: fact; }
.fact svg { display: none; }
.fact::before { content: counter(fact, decimal-leading-zero); font: 600 12px/1 var(--f-text); letter-spacing: .16em; color: var(--ochre-d); }
.fact b { font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2rem); color: var(--green); }
@media (min-width: 1100px) { .fact b { min-height: 2.3em; } }
