/* БашМаг: композиция вступления по референсу Вероники. */
.bashmak-overview{--bashmak-text:#f4f3f5;--bashmak-secondary:#d2ced6;--bashmak-number:#83a4ff;color:var(--bashmak-text);padding-top:40px;padding-bottom:32px}
:root[data-theme="light"] .bashmak-overview{--bashmak-text:#28252d;--bashmak-secondary:#514b58;--bashmak-number:#315fcd}
.bashmak-overview>h1{font-size:clamp(44px,5.2vw,76px);font-weight:750;letter-spacing:-.055em;line-height:1.04;margin:0 0 22px}
.bashmak-overview .letoile-position{display:grid;gap:5px;margin:0 0 30px;font-size:clamp(16px,1.2vw,19px);line-height:1.5;color:var(--bashmak-secondary)}
.bashmak-overview .letoile-role{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,96px);border-top:1px solid var(--line);padding:28px 0 0;margin:0;align-items:start}
.bashmak-overview .letoile-eyebrow{font-size:14px!important;line-height:1.5!important;letter-spacing:.1em;margin:0 0 24px!important;color:var(--bashmak-secondary)}
.bashmak-overview .letoile-role-copy h2{font-size:clamp(27px,2.4vw,38px);font-weight:750;line-height:1.12;letter-spacing:-.04em;margin:0 0 28px;text-wrap:balance}
.bashmak-overview .letoile-role-copy>p:not(.letoile-eyebrow){max-width:650px;font-size:clamp(16px,1.2vw,19px);line-height:1.55;color:var(--bashmak-secondary);margin:0}
.bashmak-overview .letoile-responsibilities{display:grid;gap:24px;min-width:0}
.bashmak-overview .letoile-responsibilities>p{display:grid;grid-template-columns:36px minmax(0,1fr);gap:24px;padding:0;margin:0;border:0;font-size:clamp(16px,1.2vw,19px);line-height:1.5;color:var(--bashmak-secondary)}
.bashmak-overview .letoile-responsibilities .letoile-step{position:static;width:auto;height:auto;padding:5px 0 0;margin:0;overflow:visible;clip-path:none;white-space:normal;font-size:18px;line-height:1.5;font-weight:700;color:var(--bashmak-number)}
.bashmak-duty-copy{display:grid;gap:10px;min-width:0}
.bashmak-duty-copy strong{font-size:clamp(19px,1.5vw,23px);font-weight:700;line-height:1.25;letter-spacing:-.025em;color:var(--bashmak-text)}
.bashmak-duty-copy>span{text-wrap:pretty}
.bashmak-overview .bashmak-formats{margin-top:40px;padding-top:32px;border-top:1px solid var(--line)}
.bashmak-overview .bashmak-formats-heading{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,96px);margin-bottom:28px;align-items:start}
.bashmak-overview .bashmak-formats-heading .letoile-eyebrow{margin:6px 0 0!important}
.bashmak-overview .bashmak-formats-heading h2{font-size:clamp(25px,2.1vw,33px);line-height:1.15;font-weight:700;color:var(--bashmak-text);text-wrap:balance}
.bashmak-overview .bashmak-format-grid{gap:24px}
.bashmak-overview .bashmak-format-grid article{border:0;border-radius:26px;background:#202127;padding:26px 24px;min-width:0}
.bashmak-overview .bashmak-format-grid h3{font-size:clamp(19px,1.5vw,23px);line-height:1.25;font-weight:700;color:#f4f3f5;margin:0 0 18px}
.bashmak-overview .bashmak-format-grid p{color:#d2ced6;font-size:16px;line-height:1.55;margin:0;text-wrap:pretty}
:root[data-theme="light"] .bashmak-overview .bashmak-format-grid article{background:#eae8ee}
:root[data-theme="light"] .bashmak-overview .bashmak-format-grid h3{color:#28252d}
:root[data-theme="light"] .bashmak-overview .bashmak-format-grid p{color:#514b58}
.bashmak-overview .letoile-tools{padding:0;border:0;margin-top:32px;grid-template-columns:150px minmax(0,1fr);gap:24px}
.bashmak-overview .tool-group .tools.resume-tools{flex-wrap:wrap;overflow:visible;gap:8px;padding:0}
.bashmak-overview .letoile-tools>h2{font-size:15px;line-height:1.5;color:var(--bashmak-text)}
.bashmak-overview .tools:focus-visible{outline:3px solid var(--bashmak-number)!important;outline-offset:4px}
@media(max-width:1100px){.bashmak-overview .bashmak-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 .bashmak-overview{padding-top:28px}
 .bashmak-overview>h1{margin-bottom:22px}
 .bashmak-overview .letoile-position{margin-bottom:28px}
 .bashmak-overview .letoile-role{grid-template-columns:minmax(0,1fr);gap:32px;padding-top:28px}
 .bashmak-overview .letoile-role-copy h2{font-size:clamp(26px,4.5vw,34px);margin-bottom:20px}
 .bashmak-overview .letoile-role-copy h2 br{display:none}
 .bashmak-overview .letoile-responsibilities{gap:24px}
 .bashmak-overview .letoile-responsibilities>p{grid-template-columns:28px minmax(0,1fr);gap:16px}
 .bashmak-overview .letoile-responsibilities .letoile-step{font-size:16px;padding-top:2px}
 .bashmak-duty-copy{gap:8px}
 .bashmak-overview .bashmak-formats{margin-top:32px;padding-top:28px}
 .bashmak-overview .bashmak-formats-heading{grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:24px}
 .bashmak-overview .bashmak-formats-heading .letoile-eyebrow{margin:0!important}
 .bashmak-overview .letoile-tools{grid-template-columns:minmax(0,1fr);gap:16px}
}
@media(max-width:480px){.bashmak-overview .bashmak-format-grid{grid-template-columns:minmax(0,1fr);gap:16px}.bashmak-overview .bashmak-format-grid article{padding:24px}.bashmak-overview .tool-group .resume-tools .tool{max-width:100%}}

/* Синие акценты БашМаг — согласованная палитра портфолио. */
.bashmak-company .project-open{background:#315fcd;color:#fff}
.bashmak-company .project-entry:hover .project-open{background:#284fae;filter:none}
.bashmak-company .project-entry:active .project-open{background:#234695;filter:none}
.bashmak-company .project-entry:focus-visible{outline-color:#83a4ff}
:root[data-theme="light"] .bashmak-company .project-entry:focus-visible{outline-color:#315fcd}

/* 6 ноября: вводная строка и равномерная сетка обязанностей. */
.bashmak-overview .letoile-role{grid-template-columns:minmax(0,1fr);gap:36px}
.bashmak-overview .letoile-role-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(32px,5vw,80px);row-gap:16px;align-items:start;min-width:0}
.bashmak-overview .letoile-role-copy .letoile-eyebrow{grid-column:1/-1;margin:0!important;font-size:12px!important}
.bashmak-overview .letoile-role-copy h2{margin:0;max-width:580px;font-size:clamp(28px,2.6vw,40px);line-height:1.15;text-wrap:balance}
.bashmak-overview .letoile-role-copy>p:not(.letoile-eyebrow){margin:0;max-width:620px;font-size:clamp(16px,1.15vw,18px);line-height:1.6}
.bashmak-overview .letoile-responsibilities{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,5vw,80px);row-gap:28px}
.bashmak-overview .letoile-responsibilities>p{grid-template-columns:28px minmax(0,1fr);gap:16px;border-top:1px solid var(--line);padding-top:22px;font-size:clamp(16px,1.1vw,18px);line-height:1.6;align-content:start}
.bashmak-overview .letoile-responsibilities .letoile-step{font-size:14px;line-height:1.5;padding-top:3px}
.bashmak-overview .bashmak-duty-copy{gap:10px}
.bashmak-overview .bashmak-duty-copy strong{font-size:clamp(19px,1.4vw,22px);line-height:1.3;font-weight:650}
@media(max-width:760px){
 .bashmak-overview .letoile-role{gap:28px}
 .bashmak-overview .letoile-role-copy{grid-template-columns:minmax(0,1fr);gap:16px}
 .bashmak-overview .letoile-role-copy h2{max-width:580px;font-size:clamp(27px,5vw,34px)}
 .bashmak-overview .letoile-responsibilities{grid-template-columns:minmax(0,1fr);gap:22px}
 .bashmak-overview .letoile-responsibilities>p{padding-top:20px;gap:12px;grid-template-columns:26px minmax(0,1fr)}
}
