/* По месту · Точка. Roles consume the generated identity tokens. */
body.sloi-site {
  font-family: var(--font-ui);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.65;
}
h1, h2, h3, h4, strong, b { font-weight: 500; }
h1, h2, h3 { letter-spacing: -.035em; }
button, input, select, textarea { font-family: var(--font-ui); }
.eyebrow, .ordinal, .small-label, .mobile-menu nav > a span,
.project-stats dd, .deliverable dt, .range-labels, .album-cover p,
.album-mark, .admin-content th, .examples-tabs button {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}
.eyebrow, .small-label { letter-spacing: .065em; }
.desktop-nav, .button, .header-cta, .section-nav a, .text-link,
.field > span, .card-link { font-weight: 500; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { display: block; object-fit: contain; max-width: 100%; }
.brand-logo-wordmark { width: 180px; height: auto; }
.brand-logo-full { width: 240px; min-width: 220px; height: auto; }
.header-inner { min-height: var(--header-height); gap: 30px; }
.header-cta { min-height: 44px; }
.header-inner > .brand { padding: 16px 18px 16px 0; }
.menu-head { gap: 28px; }
.menu-head .brand-logo { width: 160px; height: auto; }
.footer-brand { align-self: flex-start; padding: 24px 24px 24px 0; }
.footer-grid > div:first-child { display: block; }
.footer-grid > div:first-child > p { text-align: left; margin-top: 8px; }
.site-bottom { background: var(--brand-paper); }
.button { background: var(--brand-accent); }
.button:hover { background: var(--brand-ink); }
.button-white { background: var(--brand-white); color: var(--brand-accent); }
.button-white:hover { background: var(--brand-paper); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.project-image, .service-hero figure, .project-hero figure,
.media-tile > img, .media-viewer { background: var(--brand-paper); }
.media-tile:hover > img { background: var(--brand-stone); }
.service-card { background: var(--brand-white); transition: background .15s; }
.service-card:hover { background: var(--brand-paper); }
.quote-panel { background: var(--brand-ink); }
.quote-panel .eyebrow { color: var(--brand-stone); }
.quote-panel .button-white { color: var(--brand-ink); }
.album-cover { background: var(--brand-paper); }
.album-cover .brand-logo { margin-bottom: 32px; }
.stage-current { background: var(--brand-paper); }
.examples-tabs button { background: var(--brand-paper); color: var(--brand-ink); }
.examples-tabs button[aria-selected="true"] {
  background: var(--brand-stone); color: var(--brand-ink);
  border-bottom-color: var(--brand-accent);
}
.example-image { background-color: transparent; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-accent); outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}
:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 5px; }
dialog::backdrop { background: rgba(41,45,47,.45); }
.admin-identity { grid-column: 1 / -1; }
.admin-identity dl { display: grid; grid-template-columns: 160px 1fr; gap: 12px 24px; }
.admin-identity dd { margin: 0; overflow-wrap: anywhere; }
@media(max-width:1100px) {
  .header-inner { gap: 22px; }
  .header-inner > .brand { padding-right: 8px; }
  .brand-logo-wordmark { width: 160px; }
}
@media(max-width:820px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { margin-left: auto; }
}
@media(max-width:900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media(max-width:580px) {
  .brand-logo-wordmark { width: 120px; }
  .header-inner { gap: 10px; }
  .header-inner > .brand { padding-right: 12px; }
  .header-cta { gap: 6px; }
  .header-cta .cta-arrow { display: none; }
  .brand-logo-full { width: 220px; }
  .footer-brand { padding: 22px 22px 22px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: 1; }
  .footer-grid > div:first-child > p { text-align: left; }
  .admin-identity dl { grid-template-columns: 1fr; gap: 4px; }
  .admin-identity dd { margin-bottom: 12px; }
}

/* Home: compact service choices and a quiet four-step explanation. */
main .home-services { padding-block: 40px; }
main .home-services .section-heading { margin-bottom: 24px; }
main .home-services .section-heading .eyebrow,
main .home-services .service-card .eyebrow { margin-bottom: 10px; }
main .home-services .service-card { min-height: 0; padding: 20px; }
main .home-services .service-card:last-child:nth-child(odd) { min-height: 0; }
main .home-services .service-card h3 { margin-bottom: 12px; }
main .home-services .service-card p {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 16px;
}
main .home-approach { padding-block: 48px; }
main .home-approach .section-heading { margin-bottom: 28px; }
main .home-approach .section-heading .eyebrow { margin-bottom: 12px; }
main .home-approach .home-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
main .home-approach .home-steps > div { min-width: 0; }
main .home-approach .home-steps h3 { margin-top: 14px; margin-bottom: 10px; }
main .home-approach .home-steps p { font-size: 15px; line-height: 1.6; }
@media(max-width:1100px) {
  main .home-approach .home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
  }
}
@media(max-width:820px) {
  main .home-services { padding-block: 32px; }
  main .home-services .section-heading { margin-bottom: 20px; }
  main .home-approach { padding-block: 40px; }
  main .home-approach .section-heading { margin-bottom: 24px; }
}
@media(max-width:580px) {
  main .home-services { padding-block: 28px; }
  main .home-services .section-heading { margin-bottom: 18px; }
  main .home-services .service-card { padding: 20px; }
  main .home-services .service-card h3 { margin-bottom: 10px; }
  main .home-services .service-card p { font-size: 16px; margin-bottom: 16px; }
  main .home-approach { padding-block: 36px; }
  main .home-approach .section-heading { margin-bottom: 22px; }
  main .home-approach .home-steps { grid-template-columns: 1fr; gap: 24px; }
  main .home-approach .home-steps h3 { margin-top: 10px; margin-bottom: 8px; }
  main .home-approach .home-steps p { font-size: 14px; line-height: 1.6; }
}
