/* PD Architects — дизайн главной (по PDF Павла 20.10 и созвону 19.10) */
:root {
  --bg: #F3F0E9; --bg2: #ECE6DB; --sand: #E0D7C9; --wood: #AD8F68; --green: #213634; --green2: #1A2B29;
  --ink: #1E2522; --text: #3B403C; --muted: #8A8174; --line: #DDD4C5; --line2: #CFC4B2;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif; --sans: 'Inter', system-ui, sans-serif;
  --top: 76px;
  --cmt: #b98900; --cmt-bg: #fffbf0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top); }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; margin: 0; }
h1 { font-size: clamp(46px, 6.4vw, 100px); line-height: .94; }
h2 { font-size: clamp(34px, 4vw, 62px); line-height: 1.02; margin: 0 0 26px; max-width: 980px; }
h2.xl { font-size: clamp(38px, 5vw, 78px); }
h3 { font-size: 26px; line-height: 1.12; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; max-width: 640px; }
.kicker { display: block; font: 400 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.tagline { margin: 22px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ulink { display: inline-block; font: 400 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding-bottom: 7px; border-bottom: 1px solid var(--ink); transition: color .2s, border-color .2s; margin-top: 10px; }
.ulink:hover { color: var(--wood); border-color: var(--wood); }
.ulink.big { font-size: 15px; }
.sec-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243,240,233,.93); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1440px; margin: 0 auto; height: var(--top); display: flex; align-items: center; gap: 32px; padding: 0 40px; }
.logo { font: 500 25px/1 var(--serif); letter-spacing: .06em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo small { font: 400 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.top nav { margin-left: auto; display: flex; gap: 30px; }
.top nav a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.top nav a:hover { color: var(--wood); }
.top .ulink { margin: 0; font-size: 12px; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 10px 8px; }
.burger i { display: block; height: 1px; background: var(--ink); margin: 6px 0; transition: transform .25s; }

/* сетка: секции, вертикальные линии, крупные слова слева */
main section { position: relative; border-bottom: 1px solid var(--line); }
.sec-in { position: relative; max-width: 1440px; margin: 0 auto; padding: 120px 64px 120px 190px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.tone { background: var(--bg2); }
.rail { position: absolute; top: 0; bottom: 0; left: max(0px, calc(50% - 720px)); width: 126px; border-right: 1px solid var(--line); z-index: 1; pointer-events: none; }
.rail span { position: sticky; top: calc(var(--top) + 40px); display: block; margin: 110px auto 0; width: max-content; writing-mode: vertical-rl; transform: rotate(180deg);
  font: 400 86px/1 var(--serif); text-transform: uppercase; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px var(--line2); }
.row-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.row-foot a { color: var(--ink); text-decoration: none; }
.row-foot a:hover { color: var(--wood); }
.gold { color: var(--wood); text-transform: none; letter-spacing: .02em; font-size: 16px; }

/* первый экран */
.hero-sec .sec-in { padding: 64px 64px 40px; }
.hero { display: grid; grid-template-columns: 5fr 7fr; gap: 0; align-items: center; min-height: calc(100vh - var(--top) - 150px); }
.hero-txt { position: relative; z-index: 2; padding: 40px 0; }
.hero-txt h1 { width: 135%; margin-bottom: 34px; }
.hero-lead { font-size: 21px; line-height: 1.5; max-width: 420px; color: var(--ink); margin-bottom: 44px; }
.hero-q { font-size: 15px; margin-bottom: 4px; }
.hero-pic { margin: 0; position: relative; }
.hero-pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-pic figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-hint { display: inline-block; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; text-decoration: none; color: var(--text); }

/* три колонки */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; }
.col { padding: 34px 34px 38px; border-left: 1px solid var(--line); }
.col:first-child { border-left: 0; padding-left: 0; }
.col .num { display: block; font: 300 66px/1 var(--serif); color: var(--muted); margin-bottom: 18px; }
.col h3 { margin-bottom: 12px; }
.col p { margin: 0; font-size: 16px; }
.cols3.small .num { font: 400 15px var(--sans); letter-spacing: .1em; color: var(--wood); margin-bottom: 10px; }
.cols3.small h3 { font-size: 22px; }
.cols3.small p { font-size: 15px; }
.grid-lines .col { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }

/* кейсы */
.cases { margin-top: 56px; }
.case { position: sticky; top: calc(var(--top) + 24px); display: grid; grid-template-columns: 1.55fr 1fr; background: var(--bg); border: 1px solid var(--line); margin-bottom: 48px; box-shadow: 0 30px 60px -40px rgba(33,54,52,.35); }
.case-side { position: absolute; left: -50px; top: 50%; transform: rotate(-90deg); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.case-pic { display: block; overflow: hidden; }
.case-pic img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; transition: transform .8s ease; }
.case:hover .case-pic img { transform: scale(1.03); }
.case-body { padding: 42px 40px 40px; display: flex; flex-direction: column; }
.case-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.case h3 { font-size: clamp(36px, 3.4vw, 54px); line-height: 1; margin-bottom: 20px; }
.mark { background: linear-gradient(transparent 72%, var(--sand) 72%); padding: 0 4px; }
.case-sub { font-size: 18px; color: var(--ink); margin-bottom: 26px; }
.tags { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--bg2); border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px; font-size: 14px; line-height: 1.3; color: var(--ink); }
.case-facts { margin-top: auto; font-size: 15px; color: var(--ink); padding-top: 18px; border-top: 1px solid var(--line); }

/* сплит и фото */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split.head { align-items: end; margin-bottom: 48px; }
.split.head h2 { margin: 0; }
.pic { margin: 0; overflow: hidden; }
.pic img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.ph { background: var(--sand); display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* команда */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person .ph { aspect-ratio: 4/5; }
.person b { display: block; margin-top: 18px; font: 500 24px/1.15 var(--serif); color: var(--ink); }
.person > span { font-size: 14px; color: var(--muted); }

/* ЧПВ */
.feat { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; }
.feat.mirror .pic { order: -1; }
.feat .pic img { aspect-ratio: 1/1; }

/* портфолио на всю ширину */
.wide .sec-in { max-width: none; padding: 120px 48px; border: 0; }
.wide .split.head { grid-template-columns: 220px 1fr; max-width: 1440px; }
.pf { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.pf-card { display: block; text-decoration: none; color: var(--ink); padding: 28px 24px 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.pf-card:nth-child(3n) { border-right: 0; }
.pf-card:nth-child(3n+1) { padding-left: 0; }
.pf-card:nth-child(3n) { padding-right: 0; }
.pf-img { display: block; overflow: hidden; }
.pf-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .8s ease; }
.pf-card:hover .pf-img img { transform: scale(1.04); }
.pf-meta { display: block; margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pf-card b { display: flex; justify-content: space-between; gap: 16px; font: 500 26px/1.1 var(--serif); text-transform: uppercase; margin-top: 6px; }
.pf-card b i { font-style: normal; font-family: var(--sans); font-weight: 300; transition: transform .3s; }
.pf-card:hover b i { transform: translateX(6px); }

/* журнал */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.jr { display: flex; flex-direction: column; text-decoration: none; background: #F8F5EF; border: 1px solid var(--line); padding: 30px 28px 26px; min-height: 520px; transition: background .3s; }
.jr:nth-child(2) { background: var(--sand); }
.jr:hover { background: #fff; }
.jr-n { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.jr b { font: 500 30px/1.08 var(--serif); text-transform: uppercase; color: var(--ink); margin: 18px 0 20px; }
.jr-img { margin-top: auto; mix-blend-mode: multiply; }
.jr-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center bottom; }
.jr-go { margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* вопросы */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 500 25px/1.2 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .25s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq p { margin: 0 0 24px; max-width: 560px; }

/* заявка */
.final { background: var(--green); border-bottom: 0; }
.final .sec-in { border-color: rgba(255,255,255,.08); padding: 130px 64px; text-align: center; }
.final .kicker { color: #A9B5AE; }
.final h2 { color: var(--bg); margin: 0 auto 20px; }
.final p { color: #C9D1CC; max-width: 520px; margin: 0 auto 36px; }
.btn-light { display: inline-block; background: var(--bg); color: var(--ink); text-decoration: none; padding: 18px 34px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s; }
.btn-light:hover { background: var(--sand); }

/* подвал */
.foot { background: var(--green2); color: #B9C3BD; font-size: 14px; }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 70px 64px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.logo.light { color: var(--bg); }
.foot p { margin: 14px 0 0; }
.foot nav, .foot-c { display: grid; gap: 10px; align-content: start; }
.foot a { text-decoration: none; color: #DDE3DF; }
.foot-b { max-width: 1440px; margin: 0 auto; padding: 22px 64px 30px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #8E9C95; }

/* этапы (разметка из прототипа) */
.stages-intro { margin-bottom: 30px; }
.spaced { letter-spacing: .14em; font-size: clamp(30px, 3.6vw, 56px); margin-bottom: 10px; }
.stages-intro .sub { font: 400 22px/1.3 var(--serif); color: var(--text); }
.path { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 330px); gap: 40px; margin-top: 30px; }
.path-l, .path-r { position: sticky; top: calc(var(--top) + 30px); align-self: start; }
.pl-item { display: none; min-height: 460px; flex-direction: column; justify-content: space-between; gap: 18px; }
.pl-item.on { display: flex; animation: pfade .45s ease; }
.pl-n { font: 400 34px/1 var(--serif); color: var(--muted); letter-spacing: .1em; }
.pl-title { font: 500 34px/1.05 var(--serif); color: var(--ink); }
.pl-cap { margin: 0; background: var(--sand); padding: 14px 16px; font: 400 19px/1.3 var(--serif); color: var(--ink); }
.path-c { list-style: none; margin: 0; padding: 0; position: relative; }
.path-c::before { content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 1px; background: var(--line2); }
.pstep { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; min-height: 24vh; padding: 18px 0; cursor: pointer; opacity: .35; transition: opacity .35s; }
.pstep.near { opacity: .6; } .pstep.on { opacity: 1; }
.ps-svc { grid-column: 1 / -1; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0 0 6px 68px; }
.ps-n { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--wood); background: var(--bg2); display: flex; align-items: center; justify-content: center; font: 500 18px var(--serif); color: var(--wood); position: relative; z-index: 1; transition: background .35s, color .35s; }
.pstep.on .ps-n { background: var(--green); border-color: var(--green); color: var(--bg); }
.ps-t b { display: block; font: 500 27px/1.12 var(--serif); color: var(--wood); margin: 8px 0 8px; }
.ps-t span { display: block; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.pr-group { display: none; background: #E6DFD2; padding: 24px 22px; }
.pr-group.on { display: block; animation: pfade .45s ease; }
.pr-group .eyebrow { font: 500 22px/1.2 var(--serif); color: var(--ink); }
.pr-group ul { list-style: none; margin: 14px 0 0; padding: 0; }
.pr-group li { border-top: 1px solid var(--line2); transition: background .3s; }
.pr-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; background: none; border: 0; font: 500 19px/1.2 var(--serif); cursor: pointer; padding: 14px 6px; color: var(--text); }
.pr-group li.hl { background: var(--bg); }
.pr-group li.hl .pr-row { color: var(--ink); }
.pr-exp { display: none; margin: 0; padding: 0 6px 14px; font-size: 14px; line-height: 1.5; }
.pr-group li.open .pr-exp { display: block; animation: pfade .3s ease; }
.chev { flex: none; width: 9px; height: 9px; border-right: 1px solid var(--wood); border-bottom: 1px solid var(--wood); transform: rotate(45deg); margin: 0 6px 4px; transition: transform .25s; }
.pr-group li.open .chev, .ps-ben[open] .chev, .psum details[open] .chev { transform: rotate(-135deg); margin-bottom: -4px; }
.ps-ben, .psum { display: none; }
@keyframes pfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* окно «Обсудить проект» */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(26,43,41,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { position: relative; background: var(--bg); width: 100%; max-width: 560px; padding: 40px 34px 32px; max-height: 92vh; overflow: auto; }
.modal-box .eyebrow { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.modal-box h2 { font-size: 36px; margin: 0 0 8px; } .modal-box .lead { font-size: 16px; margin: 8px 0 22px; }
.modal-x { position: absolute; right: 16px; top: 10px; border: 0; background: none; font-size: 30px; cursor: pointer; color: var(--muted); }
.chan { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chan button { text-align: left; border: 1px solid var(--line2); background: transparent; padding: 18px; cursor: pointer; font: inherit; color: var(--ink); transition: background .2s; }
.chan button:hover { background: var(--green); color: var(--bg); border-color: var(--green); }
.chan button b { display: block; font: 500 22px var(--serif); } .chan button span { font-size: 13px; opacity: .75; }
.back { border: 0; background: none; cursor: pointer; font: inherit; color: var(--muted); padding: 0; margin-bottom: 10px; }
.chat { background: var(--bg2); padding: 16px; margin-bottom: 18px; }
.bubble { background: #fff; border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.m-in { width: 100%; border: 1px solid var(--line2); background: #fff; padding: 14px; font: inherit; margin-bottom: 14px; }
.modal .btn-primary { display: inline-block; background: var(--green); color: var(--bg); border: 0; padding: 16px 26px; font: 400 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; }

/* адаптив */
@media (max-width: 1200px) {
  .sec-in { padding: 100px 40px 100px 150px; }
  .rail { width: 100px; } .rail span { font-size: 66px; }
  .top nav { gap: 20px; }
  .path { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 270px); gap: 26px; }
  .pl-title { font-size: 27px; }
  .case-pic img { min-height: 480px; }
}
@media (max-width: 1000px) {
  .top nav, .top .ulink { display: none; }
  .burger { display: block; margin-left: auto; }
  .top.open nav { display: flex; position: absolute; left: 0; right: 0; top: var(--top); flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .top.open nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .top.open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .top.open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .rail { display: none; }
  .sec-in { padding: 84px 32px; border: 0; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-txt h1 { width: auto; }
  .hero-pic { order: -1; }
  .case { grid-template-columns: 1fr; position: relative; top: 0; }
  .case-side { display: none; }
  .case-pic img { min-height: 0; aspect-ratio: 3/2; }
  .split, .feat { grid-template-columns: 1fr; gap: 36px; }
  .feat.mirror .pic { order: 0; }
  .wide .split.head { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .pf, .journal { grid-template-columns: 1fr 1fr; }
  .pf-card, .pf-card:nth-child(3n+1), .pf-card:nth-child(3n) { padding: 22px 14px; border-right: 1px solid var(--line); }
  .pf-card:nth-child(2n+1) { padding-left: 0; } .pf-card:nth-child(2n) { padding-right: 0; border-right: 0; }
  .jr { min-height: 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --top: 64px; }
  body { font-size: 16px; }
  .top-in { padding: 0 16px; }
  .logo { font-size: 21px; } .logo small { display: none; }
  .sec-in, .wide .sec-in { padding: 64px 16px; }
  .hero-sec .sec-in { padding: 24px 16px 32px; }
  .hero-txt { padding: 26px 0 0; }
  .hero-lead { font-size: 18px; margin-bottom: 30px; }
  h2 { margin-bottom: 20px; }
  .lead { font-size: 16.5px; }
  .cols3 { grid-template-columns: 1fr; margin-top: 36px; }
  .col, .col:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .col:first-child { border-top: 0; }
  .col .num { font-size: 48px; }
  .grid-lines .col { min-height: 0; }
  .case-body { padding: 26px 20px 24px; }
  .case { margin-bottom: 28px; }
  .tags li { font-size: 13.5px; padding: 7px 12px; }
  .team { gap: 14px; }
  .person b { font-size: 19px; }
  .pf, .journal { grid-template-columns: 1fr; }
  .pf-card, .pf-card:nth-child(n) { padding: 22px 0; border-right: 0; }
  .pf-card b { font-size: 23px; }
  .faq summary { font-size: 21px; }
  .final .sec-in { padding: 84px 16px; }
  .foot-in { grid-template-columns: 1fr; padding: 50px 16px 30px; gap: 26px; }
  .foot-b { padding: 20px 16px 26px; }
  .chan { grid-template-columns: 1fr; }
  /* этапы: одна колонка, как в согласованном прототипе */
  .path { display: block; margin-top: 18px; }
  .path-r { display: none; }
  .path-l { position: sticky; top: var(--top); z-index: 6; background: var(--bg2); margin: 0 -16px 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .pl-item { min-height: 0; }
  .pl-item.on { display: flex; flex-direction: row; align-items: center; gap: 12px; }
  .pl-n { font-size: 15px; color: var(--bg); background: var(--green); border-radius: 50%; width: 36px; height: 36px; flex: none; display: flex; align-items: center; justify-content: center; letter-spacing: 0; }
  .pl-title { font-size: 21px; }
  .pl-cap { display: none; }
  .path-c::before { left: 18px; }
  .pstep { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; min-height: 0; padding: 14px 0; }
  .ps-n { width: 38px; height: 38px; font-size: 15px; }
  .ps-svc { padding-left: 50px; }
  .ps-t b { font-size: 22px; }
  .pstep:not(.on) .ps-t span { display: none; }
  .pstep.on .ps-ben { display: block; margin-top: 12px; background: #E6DFD2; padding: 12px 14px; animation: pfade .35s ease; }
  .ps-ben summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 2px 10px; align-items: center; }
  .ps-ben summary::-webkit-details-marker { display: none; }
  .ps-ben summary small { grid-column: 1 / -1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .ps-ben summary b { font: 500 19px/1.2 var(--serif); color: var(--ink); margin: 0; }
  .ps-ben p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
  .psum { display: block; list-style: none; margin: 6px 0 26px 50px; }
  .psum details { border: 1px solid var(--line2); padding: 12px 14px; }
  .psum summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font: 500 18px var(--serif); color: var(--ink); }
  .psum summary::-webkit-details-marker { display: none; }
  .psum ul { list-style: none; margin: 10px 0 0; padding: 0; }
  .psum ul li { border-top: 1px solid var(--line); padding: 10px 0; }
  .psum ul li b { display: block; font: 500 18px var(--serif); color: var(--ink); margin-bottom: 3px; }
  .psum ul li span { font-size: 14px; line-height: 1.45; }
}

/* слой комментариев (prototype-kit) */
.cmt-btn {
  position: absolute; top: 14px; right: 14px;
  font-size: 13px; cursor: pointer;
  background: var(--cmt-bg); color: var(--cmt);
  border: 1px solid var(--cmt); border-radius: 99px;
  padding: 6px 12px;
}
.cmt-btn:hover { background: var(--cmt); color: #fff; }

.cmt-list { margin-top: 16px; display: grid; gap: 10px; }
.cmt-item {
  background: var(--cmt-bg); border: 1px solid #f0e2b8; border-left: 3px solid var(--cmt);
  border-radius: 8px; padding: 10px 14px;
}
.cmt-item p { margin: 4px 0 0; }
.cmt-meta { font-size: 12px; color: var(--muted); }
.cmt-donelabel { font-size: 12px; color: #237a23; margin-left: 8px; font-weight: 600; }
.cmt-done { opacity: 0.6; }
.cmt-done p { text-decoration: line-through; }
.cmt-removed { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* панель «страница в целом» */
#cmt-page-panel {
  border: 1px dashed var(--cmt); background: var(--cmt-bg);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px;
}
.cmt-panel-title { cursor: pointer; font-weight: 700; color: var(--cmt); }
.cmt-count {
  display: inline-block; min-width: 20px; text-align: center;
  background: var(--cmt); color: #fff; border-radius: 99px; font-size: 12px; padding: 1px 7px;
}

/* форма */
.cmt-form { margin-top: 14px; display: grid; gap: 8px; }
.cmt-form textarea, .cmt-name {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font: inherit;
}
.cmt-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmt-row .cmt-name { flex: 1 1 180px; width: auto; }
.cmt-form button {
  background: var(--cmt); color: #fff; border: none; border-radius: 8px;
  padding: 9px 18px; cursor: pointer; font: inherit;
}
.cmt-form button:disabled { opacity: 0.6; }
.cmt-x { color: var(--muted); cursor: pointer; font-size: 13px; }

/* плавающая кнопка */
.cmt-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 30;
  background: var(--cmt-bg); color: var(--cmt);
  border: 1px solid var(--cmt); border-radius: 99px;
  padding: 11px 18px; cursor: pointer; font: inherit; font-size: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

/* тост */
#proto-toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%);
  background: #1d1d1d; color: #fff; padding: 12px 22px; border-radius: 99px;
  font-size: 13.5px; z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  max-width: 88vw; text-align: center; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
#proto-toast.show { opacity: 1; }

/* мобильная адаптация */
@media (max-width: 640px) {
  .cmt-btn { top: 10px; right: 10px; font-size: 12px; padding: 5px 10px; }
  .cmt-list { padding: 0 16px 24px; }
}
.cmt-btn { z-index: 5; } .cmt-list { position: relative; z-index: 3; max-width: 1440px; margin: 0 auto; padding: 0 64px 30px; }
/* заголовок первого экрана заходит на фото — под строками молочная подложка, как в PDF */
.hero-txt h1 .hl { background: var(--bg); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .14em .04em 0; line-height: 1.04; }
@media (max-width: 1000px) { .hero-txt h1 .hl { background: none; padding: 0; } }
.split h2, .feat h2 { font-size: clamp(32px, 3.2vw, 50px); }
.pl-item { justify-content: flex-start; gap: 14px; }
.pl-cap { margin-top: auto; }
@media (max-width: 760px) { .pl-item.on { gap: 12px; } }
@media (max-width: 760px) { h1 { font-size: clamp(36px, 11.5vw, 46px); } h2, .split h2, .feat h2, h2.xl { font-size: clamp(28px, 8.4vw, 38px); } .spaced { letter-spacing: .06em; } }
.split > *, .feat > *, .hero > * { min-width: 0; } h1, h2 { overflow-wrap: break-word; } @media (max-width: 760px) { h1 { font-size: clamp(34px, 10.8vw, 44px); } }
.top .ulink { white-space: nowrap; } @media (max-width: 1240px) { .logo small { display: none; } .top nav a { font-size: 12px; } .top-in { gap: 24px; } }
.cols3 > * { min-width: 0; } @media (max-width: 1000px) { .cols3 { grid-template-columns: 1fr; } .col, .col:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; } .col:first-child { border-top: 0; } .grid-lines .col { min-height: 0; } }
.wide .split.head { grid-template-columns: 1fr; } .jr b { margin-top: 0; }
.wide .split.head h2 { margin-bottom: 22px; }

/* 23.10 по референсам: заголовки в два тона, тёмные блоки, наложение заголовка на фото, большой логотип в подвале */
h2.two-tone .w { color: #C2B7A6; transition: color .5s ease; }
h2.two-tone .w.on { color: var(--ink); }
.dark { background: var(--green); border-color: rgba(255,255,255,.08); color: #C9D1CC; }
.dark .sec-in { border-color: rgba(255,255,255,.08); }
.dark .rail { border-color: rgba(255,255,255,.08); }
.dark .rail span { -webkit-text-stroke-color: rgba(243,240,233,.22); }
.dark h2.two-tone .w { color: rgba(243,240,233,.32); }
.dark h2.two-tone .w.on, .dark h2, .dark h3 { color: var(--bg); }
.dark .row-foot { border-color: rgba(255,255,255,.12); color: #A9B5AE; }
.dark .row-foot a { color: var(--bg); }
.dark .cols3 { border-color: rgba(255,255,255,.14); }
.dark .col { border-color: rgba(255,255,255,.14); }
.dark .col .num { color: var(--wood); }
.dark .case { border-color: transparent; box-shadow: 0 30px 70px -30px rgba(0,0,0,.55); }
.dark .case h3 { color: var(--ink); }
.dark .case-side { color: #A9B5AE; }
.overlap { position: relative; }
.overlap .feat-txt { position: relative; z-index: 2; }
.overlap h2 { font-size: clamp(40px, 4.6vw, 72px); width: 128%; }
.overlap.mirror h2 { margin-left: -28%; }
.overlap.mirror .feat-txt > :not(h2) { margin-left: 0; }
.overlap h2 .hl { background: var(--bg2); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .16em .04em; }
.overlap h2 .hl .w { background: transparent; }
.foot-mark { max-width: 1440px; margin: 0 auto; padding: 10px 40px 0; font: 400 11.4vw/0.85 var(--serif); letter-spacing: .01em; color: rgba(243,240,233,.9); white-space: nowrap; text-align: center; overflow: hidden; }
@media (min-width: 1440px) { .foot-mark { font-size: 164px; } }
@media (max-width: 1000px) {
  .overlap h2, .overlap.mirror h2 { width: auto; margin-left: 0; font-size: clamp(28px, 8.4vw, 50px); }
  .overlap h2 .hl { background: none; padding: 0; }
  .foot-mark { padding: 10px 16px 0; font-size: 11.2vw; }
}
.overlap:not(.mirror) h2 { width: 150%; }
@media (max-width: 1000px) { .overlap:not(.mirror) h2 { width: auto; } }

/* ============ v2 (23.10, правки Веры): единая типографика и отступы ============ */
/* шкала: h1 64/40, h2 48/30, h3 24/20, текст 17/16; секция 104px сверху и снизу (64 на телефоне); после заголовка блока 44px */
h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1; }
h2, h2.xl, .split h2, .feat h2, .spaced { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.06; margin: 0 0 24px; letter-spacing: .01em; }
h3 { font-size: 24px; line-height: 1.15; }
.lead { font-size: 17px; line-height: 1.6; }
.sec-in { padding-top: 104px; padding-bottom: 104px; }
.rail { padding-bottom: 72px; }            /* вертикальное слово не упирается в следующий блок */
.rail span { margin-top: 104px; }
.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { margin: 0; }
.sec-head .lead { margin: 0; max-width: 520px; justify-self: end; }
.cols3 { margin-top: 0; }
.row-foot { margin-top: 36px; }

/* шапка: кнопка — настоящая кнопка */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--green); color: var(--bg); text-decoration: none; padding: 16px 28px; font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--green); transition: background .2s, color .2s; white-space: nowrap; }
.btn:hover { background: transparent; color: var(--green); }
.btn-top { padding: 12px 20px; font-size: 12px; margin-left: 8px; }
.top nav a { color: var(--text); }

/* первый экран: заголовок меньше, без наезда на фото, кнопки в одну строку */
.hero-sec .sec-in { padding: 56px 64px 64px; }
.hero { grid-template-columns: 1fr 1.25fr; gap: 64px; min-height: calc(100vh - var(--top) - 120px); }
.hero-txt h1 { width: auto; margin-bottom: 26px; }
.hero-lead { font-size: 19px; margin-bottom: 36px; max-width: 440px; }
.hero-act { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-more { font-size: 14px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line2); padding-bottom: 4px; }
.hero-more:hover { color: var(--wood); border-color: var(--wood); }
.hero-pic img { aspect-ratio: 5/4; }

/* кейсы */
.case-pic { position: relative; }
.case-st { position: absolute; left: 20px; top: 20px; background: rgba(243,240,233,.92); color: var(--ink); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; }
.case-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.case-meta { margin: 6px 0 0; }
.case-num { font: 300 64px/0.8 var(--serif); color: var(--wood); }
.case-num small { font-size: 22px; color: var(--muted); margin-left: 4px; }
.case-side { display: none; }
.case-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.case-bottom .case-facts { margin: 0; padding: 0; border: 0; font-size: 14px; }
.case-bottom .ulink { margin: 0; }
.tags li { transition: background .25s, border-color .25s; }
.case:hover .tags li { border-color: var(--line2); }

/* ЧПВ и «О бюро»: одинаковая сетка */
.feat { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feat .pic img, .feat .ph { aspect-ratio: 4/3; }
.feat-n { display: block; font: 300 56px/1 var(--serif); color: var(--wood); margin-bottom: 18px; }
.feat-txt .lead:last-of-type { margin-bottom: 28px; }
.cols3.small { margin-top: 64px; }

/* команда */
.team { gap: 20px; }
.person .ph { aspect-ratio: 3/4; }

/* бюджет */
.budget { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.blist { list-style: none; margin: 10px 0 36px; padding: 0; }
.blist li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); font: 500 26px/1.2 var(--serif); color: var(--bg); text-transform: uppercase; }
.blist li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.blist span { font: 300 18px var(--sans); color: var(--wood); }
.budget-pic img { aspect-ratio: 4/5; }
.dark .ulink { color: var(--bg); border-color: rgba(243,240,233,.6); }
.dark .ulink:hover { color: var(--wood); border-color: var(--wood); }
.dark .lead { color: #C9D1CC; }

/* услуги: контраст и спокойная правая колонка */
.pstep { opacity: .55; }
.pstep.near { opacity: .75; }
.ps-t b { color: var(--ink); }
.pstep.on .ps-t b { color: var(--wood); }
.ps-n { background: var(--bg); color: var(--ink); border-color: var(--line2); }
.pl-cap { background: none; border-top: 1px solid var(--line2); padding: 14px 0 0; font-style: italic; }
.pr-group { background: var(--bg); border: 1px solid var(--line); padding: 26px 24px; }
.pr-group .eyebrow { display: block; font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pr-group li { border-color: var(--line); }
.pr-row { font: 400 17px/1.3 var(--serif); color: var(--text); }
.pr-group li.hl { background: transparent; box-shadow: inset 2px 0 0 var(--wood); }
.pr-group li.hl .pr-row { color: var(--ink); font-weight: 600; padding-left: 14px; }

/* журнал: одинаковые карточки, без лишней высоты */
.jr, .jr:nth-child(2) { background: #F8F5EF; min-height: 0; padding: 28px 26px 24px; }
.jr:hover { background: #fff; }
.jr b { margin: 0 0 22px; font-size: 27px; }
.jr-img img { aspect-ratio: 16/11; }

/* финальная заявка */
.final .sec-in { padding: 0 64px; text-align: left; }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.final-txt { padding: 104px 72px 96px 0; }
.final h2 { margin: 0 0 20px; text-align: left; }
.final p { margin: 0 0 36px; max-width: 480px; text-align: left; }
.chan-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.chan-tiles a { position: relative; display: block; background: var(--green); padding: 24px 22px; text-decoration: none; color: var(--bg); transition: background .25s; }
.chan-tiles a:hover { background: #2A4441; }
.chan-tiles b { display: block; font: 500 26px/1.1 var(--serif); }
.chan-tiles span { font-size: 13px; color: #A9B5AE; }
.chan-tiles i { position: absolute; right: 20px; top: 24px; font-style: normal; color: var(--wood); transition: transform .25s; }
.chan-tiles a:hover i { transform: translateX(5px); }
.final-phone { display: inline-block; margin-top: 26px; font: 500 28px var(--serif); color: var(--bg); text-decoration: none; }
.final-pic { margin: 0; position: relative; }
.final-pic img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }

@media (max-width: 1000px) {
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .sec-head .lead { justify-self: start; }
  .hero { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .feat, .budget { grid-template-columns: 1fr; gap: 36px; }
  .final .sec-in { padding: 0 32px; }
  .final-grid { grid-template-columns: 1fr; }
  .final-txt { padding: 84px 0 48px; }
  .final-pic { margin: 0 -32px; }
  .final-pic img { min-height: 0; aspect-ratio: 16/10; }
}
@media (max-width: 760px) {
  .sec-in { padding-top: 64px; padding-bottom: 64px; }
  .hero-sec .sec-in { padding: 20px 16px 40px; }
  h1 { font-size: clamp(34px, 10.4vw, 42px); }
  h2, h2.xl, .split h2, .feat h2, .spaced { font-size: clamp(27px, 7.8vw, 34px); }
  .sec-head { margin-bottom: 30px; }
  .hero-act { gap: 18px; }
  .btn { padding: 15px 22px; }
  .case-num { font-size: 46px; }
  .blist li { font-size: 21px; grid-template-columns: 48px 1fr; padding: 18px 0; }
  .feat-n { font-size: 44px; }
  .final .sec-in { padding: 0 16px; }
  .final-txt { padding: 64px 0 36px; }
  .final-pic { margin: 0 -16px; }
  .chan-tiles { grid-template-columns: 1fr; }
  .cols3.small { margin-top: 40px; }
}
.wide .sec-in { padding-top: 104px; padding-bottom: 104px; }
@media (max-width: 1000px) { .top .btn-top { display: none; } .sec-in, .wide .sec-in { padding-top: 84px; padding-bottom: 84px; } }
@media (max-width: 760px) { .sec-in, .wide .sec-in { padding-top: 64px; padding-bottom: 64px; } }
.rail { clip-path: inset(0); }
.pstep.on .ps-t b { color: var(--ink); } .pstep.on .ps-n { background: var(--wood); border-color: var(--wood); color: #fff; }
/* правая колонка услуг: заголовок и раскрытый текст на одной линии, полоса слева только у текущей выгоды */
.pr-row, .pr-group li.hl .pr-row { padding: 15px 8px 15px 16px; font-weight: 500; }
.pr-group li.hl .pr-row { font-weight: 600; }
.pr-exp { padding: 0 16px 16px; font-size: 14.5px; color: var(--text); }
.pr-group li.open { background: var(--bg2); }

/* бургер и полноэкранное меню (телефон и планшет) */
.burger { width: 52px; height: 52px; border-radius: 50%; background: var(--green); padding: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; position: relative; z-index: 61; transition: background .25s; }
.burger i { width: 22px; height: 1.5px; margin: 0; background: var(--bg); border-radius: 2px; transition: transform .3s ease, opacity .2s; }
.burger i:nth-child(2) { width: 14px; align-self: center; transform: translateX(4px); }
.top.open .burger { background: var(--wood); }
.top.open .burger i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.top.open .burger i:nth-child(2) { opacity: 0; }
.top.open .burger i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.top.open nav { display: none !important; }
.mm[hidden] { display: none; }
.mm { position: fixed; inset: var(--top) 0 0 0; z-index: 55; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 20px 24px 28px; overflow-y: auto; animation: pfade .3s ease; }
.mm-nav a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 500 30px/1.1 var(--serif); text-transform: uppercase; letter-spacing: .02em; }
.mm-nav a span { font: 400 13px var(--sans); color: var(--wood); letter-spacing: .08em; min-width: 22px; }
.mm-foot { display: grid; gap: 10px; padding-top: 28px; }
.mm-phone { font: 500 26px var(--serif); color: var(--ink); text-decoration: none; }
.mm-foot span { font-size: 13px; color: var(--muted); }
.mm-btn { margin-top: 10px; width: 100%; padding: 18px; }
@media (max-width: 1000px) { .burger { display: flex; margin-left: auto; } }
@media (max-width: 760px) { .burger { width: 46px; height: 46px; } .mm-nav a { font-size: 26px; padding: 14px 0; } }
/* без двойных линий: у сетки уже есть нижняя граница */ .cols3 + .row-foot, .pf + .row-foot { border-top: 0; margin-top: 0; padding-top: 24px; }
.sec-in > .cols3:last-child { border-bottom: 0; }
.tags li { white-space: nowrap; max-width: 100%; } @media (max-width: 760px) { .tags li { padding: 7px 12px; } }
.case > *, .case-body, .tags { min-width: 0; }
.tags { width: 100%; }
/* подписи под именами и мелкий текст — плотнее межстрочка */
.person > span { display: block; line-height: 1.4; margin-top: 4px; }
.case-meta, .pf-meta, .chan-tiles span, .mm-foot span, .case-facts { line-height: 1.45; }
main section { overflow-x: clip; }
/* ссылки-стрелки всегда в одну строку (шрифт подгоняется скриптом) */
main .ulink, .row-foot a { white-space: nowrap; }
@media (max-width: 760px) {
  .row-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .row-foot > span:not(.gold) { display: none; }   /* перечень направлений на телефоне лишний */
  .row-foot > span.gold:empty { display: none; }
  .team { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .person > span { font-size: 13px; }
}
@media (max-width: 760px) { main .ulink, .row-foot a { letter-spacing: .09em; } }
.case { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } @media (max-width: 1000px) { .case { grid-template-columns: minmax(0, 1fr); } }
.tags li { max-width: none; }
.dark .case .ulink { color: var(--ink); border-color: var(--ink); } .dark .case .ulink:hover { color: var(--wood); border-color: var(--wood); }
@media (max-width: 1200px) { .case { grid-template-columns: minmax(0, 1fr); } .case-pic img { min-height: 0; aspect-ratio: 16/9; } }

/* ============ v3 (26.10, комментарии Павла): шрифт как в логотипе, лёгкий текст, больше воздуха ============ */
:root { --serif: 'Unbounded', 'Inter', system-ui, sans-serif; }
body { font-weight: 400; line-height: 1.75; }
.lead { line-height: 1.75; font-size: 17px; }
h1, h2, h3 { font-weight: 300; letter-spacing: 0; }
h1 { font-size: clamp(32px, 3.7vw, 56px); line-height: 1.12; }
h2, h2.xl, .split h2, .feat h2, .spaced { font-size: clamp(24px, 2.45vw, 38px); line-height: 1.22; letter-spacing: 0; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 400; }
.spaced { letter-spacing: .04em; }
.logo img { height: 34px; width: auto; display: block; }
.foot .logo img { height: 40px; }
.rail span { font-weight: 200; letter-spacing: .02em; }
.case h3 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; }
.case-num, .feat-n, .col .num { font-weight: 200; }
.person b { font-weight: 400; font-size: 17px; }
.pf-card b { font-weight: 300; font-size: 18px; line-height: 1.3; }
.jr b { font-weight: 300; font-size: 20px; line-height: 1.3; }
.faq summary { font-weight: 300; font-size: 18px; line-height: 1.4; }
.blist li { font-weight: 300; font-size: 19px; line-height: 1.35; }
.chan-tiles b, .chan button b { font-weight: 400; font-size: 19px; }
.final-phone, .mm-phone { font-weight: 300; font-size: 22px; }
.mm-nav a { font-weight: 300; font-size: 22px; }
.foot-mark { font-weight: 200; font-size: 8.4vw; letter-spacing: -.01em; }
@media (min-width: 1440px) { .foot-mark { font-size: 120px; } }
.stages-intro .sub { font-family: var(--sans); font-size: 18px; }
.pl-n { font-weight: 200; font-size: 30px; }
.pl-title { font-weight: 300; font-size: 24px; line-height: 1.25; }
.pl-cap { font-family: var(--sans); font-style: normal; font-size: 15px; line-height: 1.5; }
.ps-n { font-weight: 300; font-size: 14px; }
.ps-t b { font-weight: 300; font-size: 20px; line-height: 1.3; }
.hero-lead { line-height: 1.6; }

/* подход: акцент на словах, цифры меньше */
#approach .col .num { font-size: 22px; color: var(--wood); margin-bottom: 14px; }
#approach .col h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 300; margin-bottom: 12px; }

/* этапы: правая колонка «Что вы получаете» шире и заметнее */
.path { grid-template-columns: 210px minmax(0, 1fr) minmax(0, 400px); }
.pr-group { background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(33,54,52,.4); padding: 28px 26px; }
.pr-group .eyebrow { font-size: 13px; color: var(--wood); margin-bottom: 6px; }
.pr-row, .pr-group li.hl .pr-row { font: 400 16px/1.4 var(--sans); color: var(--ink); padding: 15px 8px 15px 16px; }
.pr-row span::before { content: "✓"; color: var(--wood); margin-right: 10px; font-weight: 600; }
.pr-group li.hl { background: var(--bg2); box-shadow: inset 3px 0 0 var(--wood); }
.pr-group li.hl .pr-row { font-weight: 600; }
@media (max-width: 1200px) { .path { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 300px); } }

/* новый блок «Услуги» */
.svc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--bg2); border: 1px solid var(--line); padding: 30px 28px 26px; transition: background .25s, transform .25s; }
.svc-card:hover { background: #fff; transform: translateY(-4px); }
.svc-n { font: 200 40px/1 var(--serif); color: var(--wood); margin-bottom: 20px; }
.svc-card h3 { font-size: 21px; font-weight: 300; margin-bottom: 10px; }
.svc-cap { font-size: 15px; color: var(--muted); margin: 0 0 18px; line-height: 1.5; }
.svc-card ol { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: s; }
.svc-card li { counter-increment: s; font-size: 14.5px; line-height: 1.45; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); position: relative; }
.svc-card li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-size: 11px; color: var(--wood); letter-spacing: .06em; }
.svc-go { margin-top: auto; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.svc3 + .row-foot { border-top: 0; margin-top: 0; padding-top: 24px; }

/* полоса с кнопкой */
.strip-sec { background: var(--wood); border-color: transparent; }
.strip-sec .sec-in { padding-top: 56px; padding-bottom: 56px; border-color: rgba(255,255,255,.18); }
.strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.strip-t { margin: 0; font: 300 clamp(20px, 2vw, 28px)/1.35 var(--serif); color: #fff; max-width: 760px; }
.btn-light2 { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-light2:hover { background: transparent; color: #fff; border-color: #fff; }

@media (max-width: 1000px) { .svc3 { grid-template-columns: 1fr; } .strip { flex-direction: column; align-items: flex-start; } }
@media (max-width: 760px) {
  h1 { font-size: clamp(28px, 8.6vw, 36px); }
  h2, h2.xl, .split h2, .feat h2, .spaced { font-size: clamp(22px, 6.6vw, 28px); }
  .logo img { height: 26px; }
  .case h3 { font-size: 24px; }
  .strip-sec .sec-in { padding-top: 44px; padding-bottom: 44px; }
  .mm-nav a { font-size: 20px; }
  .foot-mark { font-size: 8.6vw; }
}
.cols3.small h3 { font-size: clamp(16px, 1.4vw, 20px); } h3 { overflow-wrap: break-word; }

/* 26.10: крупнее шапка и первый экран (Вера: «слишком мелко») */
:root { --top: 88px; }
.logo img { height: 48px; }
.top nav { gap: 34px; }
.top nav a { font-size: 14px; letter-spacing: .1em; }
.btn { font-size: 14px; padding: 18px 32px; }
.btn-top { font-size: 13px; padding: 15px 24px; }
body, .lead { font-size: 18px; }
.hero { min-height: calc(100vh - var(--top) - 80px); max-height: 860px; gap: 56px; }
.hero-txt h1 { font-size: clamp(36px, 4.2vw, 64px); }
.hero-lead { font-size: 21px; max-width: 480px; }
.hero-more { font-size: 15px; }
.hero-pic img { aspect-ratio: 4/3.4; }
@media (max-width: 1240px) { .top nav { gap: 22px; } .top nav a { font-size: 13px; } .logo img { height: 42px; } }
@media (max-width: 760px) { :root { --top: 68px; } .logo img { height: 32px; } body, .lead { font-size: 16.5px; } .hero-txt h1 { font-size: clamp(30px, 9vw, 38px); } .hero-lead { font-size: 18px; } .btn { font-size: 13px; padding: 16px 24px; } }
/* слова в заголовках не переносим по буквам (подгоняет скрипт fitH) */
h1, h2, h3, .pf-card b, .jr b { overflow-wrap: normal !important; word-break: normal; hyphens: manual; }
.hero-txt h1 { font-size: clamp(34px, 3.6vw, 58px); }
.hero-txt { min-width: 0; }
@media (max-width: 1000px) { .hero { min-height: 0; max-height: none; gap: 24px; align-items: start; } .hero-txt { padding: 8px 0 0; } }
/* первый экран на всю ширину, как портфолио */
.hero-sec.wide .sec-in { max-width: none; border: 0; padding: 40px 48px 64px; }
.hero-sec.wide .hero { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; max-height: none; }
.hero-sec.wide .hero-txt { padding-left: max(0px, calc((100vw - 1440px) / 2 + 16px)); }
.hero-sec.wide .hero-txt h1 { font-size: clamp(34px, 3.4vw, 60px); }
.hero-sec.wide .hero-pic img { aspect-ratio: 16/11; }
@media (max-width: 1000px) { .hero-sec.wide .sec-in { padding: 24px 32px 48px; } .hero-sec.wide .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; } .hero-sec.wide .hero-txt { padding-left: 0; } }
@media (max-width: 760px) { .hero-sec.wide .sec-in { padding: 16px 16px 40px; } }
/* портфолио: одинаковые карточки — равные отступы, без вертикальных линий */
.pf { column-gap: 40px; }
.pf-card, .pf-card:nth-child(n) { padding: 28px 0 26px; border-right: 0; }
@media (max-width: 1000px) { .pf { column-gap: 24px; } }

/* ============ v4 (27.10, Павел): заголовки шрифтом как в меню — Inter, без Unbounded ============ */
:root { --serif: 'Inter', system-ui, sans-serif; }
h1, h2, h3 { font-family: var(--sans); font-weight: 300; letter-spacing: .02em; }
h1, .hero-txt h1, .hero-sec.wide .hero-txt h1 { font-size: clamp(36px, 4vw, 64px); line-height: 1.08; letter-spacing: .01em; }
h2, h2.xl, .split h2, .feat h2, .spaced { font-size: clamp(26px, 2.7vw, 42px); line-height: 1.18; }
.spaced { letter-spacing: .08em; }
h3 { font-weight: 400; letter-spacing: .03em; }
.rail span { font-weight: 200; letter-spacing: .06em; }
.foot-mark { font-weight: 200; letter-spacing: .04em; font-size: 9.4vw; }
@media (min-width: 1440px) { .foot-mark { font-size: 134px; } }
.pl-title, .ps-t b, .case h3, .pf-card b, .jr b, .faq summary, .blist li, .person b, .svc-card h3, .strip-t, .chan-tiles b, .mm-nav a, .final-phone, .mm-phone { letter-spacing: .02em; }
.case h3 { font-weight: 300; }
@media (max-width: 760px) {
  h1, .hero-txt h1, .hero-sec.wide .hero-txt h1 { font-size: clamp(30px, 9.4vw, 40px); }
  h2, h2.xl, .split h2, .feat h2, .spaced { font-size: clamp(23px, 7vw, 30px); }
  .foot-mark { font-size: 9.6vw; }
}
.budget { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.budget > *, .feat > * { min-width: 0; }
@media (max-width: 1000px) { .budget { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .tags li { padding: 6px 10px; letter-spacing: -.01em; } main .ulink, .row-foot a { letter-spacing: .04em; } .case-body { padding: 22px 14px 20px; } }

/* ============ страница проекта (журнал) ============ */
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 28px; padding-left: max(0px, calc((100vw - 1440px) / 2 + 16px)); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--wood); } .crumbs i { font-style: normal; opacity: .6; }
.pj-cover { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.pj-cover-txt { padding-left: max(0px, calc((100vw - 1440px) / 2 + 16px)); min-width: 0; }
.pj-cover h1 { margin-bottom: 22px; }
.pj-facts { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line); }
.pj-facts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.pj-facts b { display: block; font: 300 22px/1.2 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.pj-facts span { font-size: 14px; color: var(--muted); }
.pj-cover-pic { margin: 0; }
.pj-cover-pic img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.pj-quote { margin: 72px 0 0; padding: 40px 0 0; border-top: 1px solid var(--line); max-width: 1000px; }
.pj-quote p { margin: 0 0 14px; font: 200 clamp(26px, 2.8vw, 44px)/1.2 var(--sans); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.pj-quote cite { font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); }
.dark .pj-quote { border-color: rgba(255,255,255,.14); }
.dark .pj-quote p { color: var(--bg); }
/* галерея: асимметричная сетка как в журнале */
.pj-gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.pj-gal figure { margin: 0; position: relative; overflow: hidden; }
.pj-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.pj-gal figure:hover img { transform: scale(1.03); }
.pj-gal .g-a { grid-column: span 7; aspect-ratio: 16/10; }
.pj-gal .g-b { grid-column: span 5; aspect-ratio: auto; }
.pj-gal .g-c { grid-column: span 4; aspect-ratio: 3/4; }
.pj-gal .g-d { grid-column: span 4; aspect-ratio: 3/4; }
.pj-gal .g-e { grid-column: span 4; aspect-ratio: 3/4; }
.pj-gal .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(20,30,28,.78)); color: #E9EDE9; font-size: 14px; line-height: 1.5; }
.pj-gal .cap b { display: block; font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
/* планировки с цифрами */
.plan { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.plan-pic { position: relative; background: #F7F4EE; border: 1px solid var(--line); }
.plan-pic img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.pdot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--bg); font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(173,143,104,.28); }
.plan-leg { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plan-leg li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.plan-leg b { display: flex; gap: 14px; align-items: baseline; font: 400 16px/1.3 var(--sans); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.plan-leg b span { color: var(--wood); font-size: 13px; min-width: 22px; }
.plan-leg p { margin: 0 0 0 36px; font-size: 15px; line-height: 1.6; }
.pj-section { margin: 36px 0 0; max-width: 620px; }
.pj-section img { width: 100%; display: block; border: 1px solid var(--line); }
.pj-section .cap { font-size: 13px; color: var(--muted); margin-top: 10px; letter-spacing: .06em; text-transform: uppercase; }
/* автор и видео */
.pj-author { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: center; }
.pj-author h3 { font-size: 26px; color: var(--bg); margin-bottom: 6px; }
.pj-role { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--wood); margin-bottom: 22px; }
.pj-video { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.pj-video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: transform .8s, filter .3s; }
.pj-video:hover img { transform: scale(1.03); filter: brightness(.7); }
.pj-video .play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.pj-video .play::after { content: ""; position: absolute; left: 36px; top: 30px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.pj-video-cap { position: absolute; left: 22px; bottom: 18px; color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 1000px) {
  .pj-cover, .plan, .pj-author { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pj-cover-pic { order: -1; }
  .pj-cover-txt, .crumbs { padding-left: 0; }
  .pj-gal { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pj-gal .g-a { grid-column: span 2; } .pj-gal .g-b, .pj-gal .g-c, .pj-gal .g-d { grid-column: span 1; aspect-ratio: 3/4; } .pj-gal .g-e { grid-column: span 2; aspect-ratio: 16/10; }
}
@media (max-width: 760px) {
  .pj-facts { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .pj-facts b { font-size: 18px; }
  .pj-quote { margin-top: 48px; padding-top: 28px; }
  .pj-quote p { font-size: clamp(22px, 6.6vw, 28px); }
  .pj-gal { grid-template-columns: 1fr; }
  .pj-gal figure, .pj-gal .g-a, .pj-gal .g-b, .pj-gal .g-c, .pj-gal .g-d, .pj-gal .g-e { grid-column: auto; aspect-ratio: 4/3; }
  .pdot { width: 26px; height: 26px; font-size: 12px; box-shadow: 0 0 0 4px rgba(173,143,104,.28); }
  .plan-leg p { margin-left: 0; }
  .pj-video .play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .pj-video .play::after { left: 26px; top: 21px; border-left-width: 16px; border-top-width: 11px; border-bottom-width: 11px; }
}
/* галерея: верхний ряд одной высоты, без пустоты под широким фото */
.pj-gal .g-a, .pj-gal .g-b { aspect-ratio: auto; height: clamp(320px, 33vw, 560px); }
.pj-gal .g-c, .pj-gal .g-d, .pj-gal .g-e { aspect-ratio: auto; height: clamp(300px, 30vw, 520px); }
.pj-gal img { position: absolute; inset: 0; }
@media (max-width: 1000px) {
  .pj-gal .g-a, .pj-gal .g-e { height: auto; aspect-ratio: 16/10; }
  .pj-gal .g-b, .pj-gal .g-c, .pj-gal .g-d { height: auto; aspect-ratio: 3/4; }
}
@media (max-width: 760px) { .pj-gal figure, .pj-gal .g-a, .pj-gal .g-b, .pj-gal .g-c, .pj-gal .g-d, .pj-gal .g-e { height: auto; aspect-ratio: 4/3; } }
button, input, textarea, select { font-family: var(--sans); }
/* 28.10 правки страницы проекта */
.nw { white-space: nowrap; }
.sec-head.solo { grid-template-columns: 1fr; }
.sec-head.solo h2 { max-width: none; }
.plan { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.plan-side { display: flex; flex-direction: column; }
.plan-leg { display: flex; flex-direction: column; flex: 1; }
.plan-leg li { flex: 1; padding: 12px 0; display: flex; flex-direction: column; justify-content: center; }
.plan-leg b { font-size: 15px; margin-bottom: 4px; }
.plan-leg p { font-size: 14.5px; line-height: 1.5; }
.plan-side .pj-section { margin: 20px 0 0; max-width: none; }
@media (max-width: 1000px) { .plan { gap: 28px; } .plan-leg li { flex: none; } }
.plan { align-items: start; } .plan-leg li { flex: none; }
/* планы: пояснения по высоте картинки */
.plan { align-items: stretch; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.plan.p2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.plan-pic { align-self: start; }
.plan-leg li { flex: 1 1 auto; }
@media (max-width: 1300px) {
  .plan, .plan.p2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plan-leg { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .plan-leg li { border-top: 1px solid var(--line); border-bottom: 0; }
  .plan.p2 .plan-side { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .plan.p2 .plan-leg { grid-template-columns: 1fr; }
  .plan.p2 .pj-section { margin-top: 0; }
}
@media (max-width: 760px) { .plan-leg, .plan.p2 .plan-side { grid-template-columns: 1fr; } .plan.p2 .pj-section { margin-top: 20px; } }
@media (min-width: 1301px) { .plan.p2 { grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); } .plan.p2 .plan-leg li { padding: 10px 0; } .plan.p2 .plan-leg p { font-size: 14px; } .plan.p2 .pj-section { margin-top: 16px; } .plan.p2 .pj-section .cap { margin-top: 6px; } }
@media (max-width: 1300px) { .plan.p2 { grid-template-columns: minmax(0, 1fr); gap: 28px; } .plan.p2 .plan-side { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; } .plan.p2 .pj-section { margin-top: 0; } } @media (max-width: 760px) { .plan.p2 .plan-side { grid-template-columns: 1fr; } .plan.p2 .pj-section { margin-top: 20px; } }
/* описание сотрудника в «Команде» (заполняется в админке) */
.person .pdesc { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
/* «Бюджет» без изображения — цельный текстовый блок */
.budget.no-pic { grid-template-columns: minmax(0,1fr); }
.budget.no-pic .budget-txt { max-width: 760px; }
/* скрытые блоки главной должны скрываться даже при авторских display-правилах */
[hidden]{display:none!important}
