/**
 * No Noise — blog, catalog, project & article pages
 * Scope: html.theme-no-noise
 */

html.theme-no-noise .logo-with-img:not(.logo-rockmont) .logo-img,
html.theme-no-noise .site-header .logo-with-img:not(.logo-rockmont) .logo-img {
  display: block !important;
  visibility: visible;
  opacity: 1;
  height: auto;
  max-height: 44px;
  width: auto;
  max-width: 180px;
}

html.theme-no-noise .logo-with-img:not(.logo-wordmark)::after,
html.theme-no-noise .site-header .logo-with-img:not(.logo-wordmark)::after {
  content: none !important;
  display: none !important;
}

/* ── Breadcrumbs ────────────────────────────────── */
html.theme-no-noise .blog-breadcrumb,
html.theme-no-noise .project-breadcrumb,
html.theme-no-noise .catalog-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
}

html.theme-no-noise .blog-breadcrumb a:hover {
  color: var(--accent);
}

/* ── Blog listing ───────────────────────────────── */
html.theme-no-noise .blog-hero h1,
html.theme-no-noise .catalog-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

html.theme-no-noise .object-body h3,
html.theme-no-noise .catalog-empty-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

html.theme-no-noise .catalog-grid .object-card-total {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

html.theme-no-noise .blog-filter {
  border-color: var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: var(--font);
  text-transform: none;
}

html.theme-no-noise .blog-filter:hover {
  border-color: rgba(128, 120, 112, 0.35);
  background: rgba(128, 120, 112, 0.06);
  color: var(--text);
}

html.theme-no-noise .blog-filter.is-active {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: none;
}

html.theme-no-noise .blog-topic-chip.is-active {
  border-color: var(--cta-bg);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: 600;
}

/* Тег рубрики — компактная плашка, не на всю ширину карточки */
html.theme-no-noise .blog-card-body {
  align-items: flex-start;
  gap: 0.45rem;
}

html.theme-no-noise .blog-card-body h2,
html.theme-no-noise .blog-card-body h3,
html.theme-no-noise .blog-card-body p,
html.theme-no-noise .blog-card-body .blog-card-cta {
  align-self: stretch;
  width: 100%;
}

html.theme-no-noise .blog-card-body > .tag {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0;
}

html.theme-no-noise .blog-card {
  border-color: var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

html.theme-no-noise .blog-card-visual {
  background: #121214;
  border-radius: 0;
}

html.theme-no-noise .blog-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

html.theme-no-noise .post-cover {
  border: 1px solid var(--border);
  background: #121214;
}

html.theme-no-noise .blog-card:hover {
  border-color: rgba(128, 120, 112, 0.28);
  box-shadow: var(--shadow-card-hover);
}

html.theme-no-noise .blog-card-body h2,
html.theme-no-noise .blog-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

html.theme-no-noise .blog-card-cta {
  color: var(--accent-ink);
  font-family: var(--font-ui);
  font-weight: 600;
  margin-top: auto;
  padding-top: 0.35rem;
}

html.theme-no-noise .blog-card-link:hover .blog-card-cta {
  color: var(--accent);
}

html.theme-no-noise .blog-capture-panel--primary {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: var(--shadow-card);
}

html.theme-no-noise .blog-capture-panel--primary .blog-capture-panel__title {
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
}

html.theme-no-noise .blog-capture-panel--primary .blog-capture-panel__hint {
  color: var(--text-muted);
}

html.theme-no-noise .blog-capture-input {
  background: var(--form-control);
  border: 1px solid var(--border);
  color: var(--text);
}

html.theme-no-noise .blog-capture-panel--primary .blog-capture-submit {
  background: var(--cta-bg);
  color: var(--cta-text);
}

html.theme-no-noise .blog-capture-panel--primary .blog-capture-submit:hover {
  background: var(--cta-bg-hover);
  color: var(--cta-text);
}

html.theme-no-noise .blog-capture-note {
  color: var(--text-dim);
}

html.theme-no-noise .input-text {
  background: var(--form-control);
  border: 0;
  color: var(--text);
}

html.theme-no-noise .input-text:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--accent-soft);
  outline: none;
}

/* ── Blog article ───────────────────────────────── */
html.theme-no-noise .post-header h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

html.theme-no-noise .post-prose h2 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--text);
}

html.theme-no-noise .post-prose h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text);
}

html.theme-no-noise .post-prose a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

html.theme-no-noise .post-prose a:hover {
  color: var(--accent);
}

html.theme-no-noise .post-callout {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

html.theme-no-noise .post-toc a.is-active,
html.theme-no-noise .post-toc a:hover {
  color: var(--accent);
}

html.theme-no-noise .post-sidebar-card {
  border: 0;
  background: var(--bg-elevated);
}

html.theme-no-noise .post-sidebar-card--lead {
  background: var(--bg-elevated);
  border: 0;
  color: var(--text);
}

html.theme-no-noise .post-sidebar-card--lead .post-sidebar-title {
  color: var(--text);
}

/* ── Catalog ────────────────────────────────────── */
html.theme-no-noise .catalog-search:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--accent-soft);
}

html.theme-no-noise .catalog-search-clear:hover,
html.theme-no-noise .filter-select-clear:hover:not(:disabled) {
  background: rgba(128, 120, 112, 0.08);
}

html.theme-no-noise .filter-select:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--accent-soft);
}

html.theme-no-noise .filter-chip,
html.theme-no-noise .filter-region-btn {
  border: 0;
  background: var(--bg-elevated);
  color: var(--text-muted);
}

html.theme-no-noise .filter-chip.is-active,
html.theme-no-noise .filter-chip:hover,
html.theme-no-noise .filter-region-btn.is-active,
html.theme-no-noise .filter-region-btn:hover {
  background: var(--cta-bg);
  border: 0;
  color: var(--cta-text);
}

html.theme-no-noise .filter-apply,
html.theme-no-noise .catalog-toolbar .btn-primary {
  background: var(--cta-bg);
  color: var(--cta-text);
}

html.theme-no-noise .filter-reset {
  color: var(--text-muted);
}

html.theme-no-noise .filter-reset:hover {
  color: var(--text);
}

html.theme-no-noise .object-card {
  border: 0;
  border-color: transparent;
  background: var(--bg-elevated);
  box-shadow: none;
}

html.theme-no-noise .object-visual:not(:has(img)) {
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  color: var(--text-dim);
}

html.theme-no-noise .object-card-cta {
  color: var(--accent-deep);
  font-weight: 600;
}

html.theme-no-noise .object-card-link:hover .object-card-cta {
  color: var(--accent);
}

html.theme-no-noise .catalog-count strong {
  color: var(--text);
}

html.theme-no-noise .catalog-region-seo-panel {
  border-color: var(--border);
  background: var(--bg-elevated);
}

html.theme-no-noise .catalog-region-seo-title,
html.theme-no-noise .catalog-region-seo-panel h3 {
  font-family: var(--font-display);
  color: var(--text);
}

/* ── Project detail ─────────────────────────────── */
html.theme-no-noise .project-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

html.theme-no-noise .project-subtitle {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: -0.25rem 0 1.1rem;
  line-height: 1.45;
}

html.theme-no-noise .project-wide-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

html.theme-no-noise .project-wide-head p {
  font-family: var(--font-ui);
  font-weight: 400;
}

html.theme-no-noise .project-kicker {
  margin: 0 0 1rem;
}

html.theme-no-noise .project-meta-pill {
  border-color: var(--border);
  background: var(--bg-elevated);
}

html.theme-no-noise .project-meta-pill-label {
  font-family: var(--font-ui);
  font-weight: 500;
}

html.theme-no-noise .project-meta-pill-value {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
}

html.theme-no-noise .project-card-cta .price-big {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
}

html.theme-no-noise .project-body-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}

html.theme-no-noise .project-body {
  background: var(--bg-elevated);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
  color: var(--text-muted);
}

html.theme-no-noise .project-body .project-desc,
html.theme-no-noise .project-desc-rich,
html.theme-no-noise .project-desc-rich h3 {
  color: var(--text);
}

html.theme-no-noise .project-body .project-body-note {
  color: var(--text-muted);
  border-top-color: var(--border);
}

/* Убираем изумрудные «хвосты» legacy styles.css на странице объекта */
html.theme-no-noise .project-wide {
  background: var(--bg) !important;
  background-image: none !important;
  border-top-color: var(--border);
}

html.theme-no-noise .project-table-fog {
  background: linear-gradient(to top, var(--bg) 40%, transparent) !important;
}

html.theme-no-noise .project-table-scroll thead {
  background: var(--surface-2);
  color: var(--text);
}

html.theme-no-noise .project-table-scroll table {
  box-shadow: var(--shadow-card);
}

html.theme-no-noise .project-lots-table tbody tr:hover {
  background: var(--accent-tint);
}

html.theme-no-noise[data-theme="dark"] .project-wide {
  background: var(--bg) !important;
}

html.theme-no-noise .project-address-map-btn {
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
}

html.theme-no-noise .project-address-map-btn:hover {
  background: var(--cta-bg-hover);
}

html.theme-no-noise .project-address-map-preview {
  background: var(--surface, var(--bg-elevated));
  border-color: var(--border);
}

html.theme-no-noise .project-address-map-preview:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}

html.theme-no-noise .project-address-map-preview-pin {
  background: var(--accent);
  border-color: var(--bg-elevated);
}

html.theme-no-noise .project-gallery-thumbs button.is-active,
html.theme-no-noise .project-gallery-thumbs button:focus-visible {
  outline-color: var(--accent);
  border-color: var(--accent);
}

html.theme-no-noise .region-hub-card,
html.theme-no-noise .region-pill {
  border-color: var(--border);
}

html.theme-no-noise .region-hub-card:hover {
  border-color: rgba(128, 120, 112, 0.35);
}

html.theme-no-noise .footer-brand--img {
  display: inline-block;
  line-height: 0;
}

html.theme-no-noise .footer-brand--img img {
  display: block;
  height: auto;
  max-height: 34px;
  width: auto;
  max-width: 140px;
}

/* ── Project rich content (overlay blocks) ─────── */
html.theme-no-noise .project-content-stack--rich {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  font-family: var(--font-ui);
}

html.theme-no-noise .project-content-stack--rich > .project-panel,
html.theme-no-noise .project-content-stack--rich .project-panel {
  margin: 0;
  padding: 1.35rem 1.4rem 1.4rem !important;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

html.theme-no-noise .project-content-stack--rich .project-panel__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent-deep);
}

html.theme-no-noise .project-content-stack--rich .project-panel__title {
  margin: 0;
  padding-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

html.theme-no-noise .project-content-stack--rich .project-panel__intro,
html.theme-no-noise .project-content-stack--rich .project-panel__text {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.68;
  color: var(--text-muted);
}

html.theme-no-noise .project-content-stack--rich .project-panel__text:last-child,
html.theme-no-noise .project-content-stack--rich .project-panel__intro:last-child {
  margin-bottom: 0;
}

html.theme-no-noise .project-content-stack--rich .project-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

html.theme-no-noise .project-content-stack--rich .project-panel__head:only-child,
html.theme-no-noise .project-content-stack--rich .project-panel--lead .project-panel__head {
  margin-bottom: 0;
}

html.theme-no-noise .project-content-stack--rich .project-panel--lead {
  border-color: var(--accent-border);
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, var(--accent-tint), var(--bg-elevated) 65%);
}

html.theme-no-noise .project-content-stack--rich .project-panel--about,
html.theme-no-noise .project-content-stack--rich .project-panel--location,
html.theme-no-noise .project-content-stack--rich .project-panel--expert {
  background: var(--bg-elevated);
  border-color: var(--border);
}

/* FAQ: transparent panel shell; each .rm-faq__item is its own surface */
html.theme-no-noise .project-content-stack--rich .project-panel--faq {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html.theme-no-noise .project-content-stack--rich .project-panel--infra,
html.theme-no-noise .project-content-stack--rich .project-panel--audience {
  background: var(--surface);
  border-color: rgba(20, 18, 16, 0.12);
}

html.theme-no-noise .project-content-stack--rich .project-panel--investment {
  border-color: var(--accent-border);
  background: linear-gradient(160deg, var(--accent-tint), var(--bg-elevated) 72%);
}

html.theme-no-noise .project-content-stack--rich .project-panel__lead-text {
  margin: 0;
  padding-top: 0.15rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
}

html.theme-no-noise .project-content-stack--rich .project-panel__text--quote {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.68;
  color: var(--text);
}

html.theme-no-noise .project-content-stack--rich .project-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

html.theme-no-noise .project-content-stack--rich .project-fact-card {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 18, 16, 0.1);
  background: var(--bg);
  box-shadow: 0 1px 0 rgba(20, 18, 16, 0.03);
}

html.theme-no-noise .project-content-stack--rich .project-fact-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--accent-deep);
}

html.theme-no-noise .project-content-stack--rich .project-fact-card__body {
  min-width: 0;
}

html.theme-no-noise .project-content-stack--rich .project-fact-card__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.25rem;
}

html.theme-no-noise .project-content-stack--rich .project-fact-card p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.52;
  color: var(--text);
}

html.theme-no-noise .project-content-stack--rich .project-infra-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.theme-no-noise .project-content-stack--rich .project-infra-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 18, 16, 0.1);
  background: var(--bg-elevated);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}

html.theme-no-noise .project-content-stack--rich .project-infra-list__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 7px;
  background: var(--accent-tint);
  color: var(--accent-deep);
}

html.theme-no-noise .project-content-stack--rich .project-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

html.theme-no-noise .project-content-stack--rich .project-audience-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 18, 16, 0.1);
  background: var(--bg-elevated);
  box-shadow: 0 1px 0 rgba(20, 18, 16, 0.03);
}

html.theme-no-noise .project-content-stack--rich .project-audience-card__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
}


html.theme-no-noise .project-content-stack--rich .project-audience-card__title {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--headline);
}

html.theme-no-noise .project-content-stack--rich .project-audience-card p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.52;
  color: var(--text-muted);
}

html.theme-no-noise .project-content-stack--rich .faq details {
  border-color: var(--border);
  background: var(--bg-elevated);
}

html.theme-no-noise .project-content-stack--rich .faq summary {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--text);
}

html.theme-no-noise .project-content-stack--rich .faq p {
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--text-muted);
}

html.theme-no-noise .project-content-stack--rich .faq details + details {
  margin-top: 0.5rem;
}

html.theme-no-noise .project-content-stack--rich .project-content-note {
  margin: 0.25rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.55;
  text-align: center;
}

/* Legacy stack (non-rich pages) */
html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-panel {
  margin: 0;
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-panel__title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-panel__intro,
html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-panel__text {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-panel--lead {
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, rgba(75, 90, 243, 0.07), var(--bg-elevated) 55%);
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-panel--accent {
  border-color: var(--accent-border);
  background: linear-gradient(160deg, rgba(75, 90, 243, 0.1), var(--bg-elevated) 70%);
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-fact-card {
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (max-width: 900px) {
  html.theme-no-noise .project-content-stack--rich .project-fact-grid {
    grid-template-columns: 1fr;
  }

  html.theme-no-noise .project-content-stack--rich .project-audience-grid,
  html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-fact-grid,
  html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html.theme-no-noise .project-content-stack--rich .project-audience-grid,
  html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-fact-grid,
  html.theme-no-noise .project-content-stack:not(.project-content-stack--rich) .project-audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Застройщики ────────────────────────────────── */
html.theme-no-noise .developers-page .developers-hero {
  margin-bottom: 1.5rem;
}

html.theme-no-noise .developers-page .developers-hero p {
  max-width: 42rem;
  color: var(--text-muted);
  line-height: 1.55;
}

html.theme-no-noise .developers-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
}

html.theme-no-noise .developers-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

html.theme-no-noise .developers-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  color: var(--text);
}

html.theme-no-noise .developers-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.45rem;
}

html.theme-no-noise .developers-card__head .developers-card__title {
  margin: 0;
}

html.theme-no-noise .developers-card__logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg);
}

html.theme-no-noise .developers-card__teaser {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

html.theme-no-noise .developers-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
}

html.theme-no-noise .developers-card__note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

html.theme-no-noise .developers-cta {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(160deg, rgba(75, 90, 243, 0.08), var(--bg-elevated) 72%);
}

html.theme-no-noise .developers-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

html.theme-no-noise .developers-cta p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

html.theme-no-noise .developers-empty {
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-elevated);
}

html.theme-no-noise .developers-empty h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

html.theme-no-noise .developers-empty p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 42rem;
}

@media (max-width: 900px) {
  html.theme-no-noise .developers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  html.theme-no-noise .developers-grid {
    grid-template-columns: 1fr;
  }
}

html.theme-no-noise .developers-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

html.theme-no-noise .developers-card__link:hover .developers-card__title {
  color: var(--accent);
}

html.theme-no-noise .developers-detail-hero .catalog-hero-intro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

html.theme-no-noise .developers-detail-logo {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

html.theme-no-noise .developers-detail-meta {
  margin-top: 0.25rem;
}

html.theme-no-noise .developers-detail-projects h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

html.theme-no-noise .developers-detail-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

html.theme-no-noise .developers-detail-list a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

html.theme-no-noise .developers-detail-list a:hover {
  text-decoration: underline;
}

html.theme-no-noise .developers-detail-back {
  margin: 2rem 0 0;
  padding-bottom: 3.5rem;
}

html.theme-no-noise .developers-detail-back a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

html.theme-no-noise .developers-detail-back a:hover {
  color: var(--accent);
}

html.theme-no-noise .developers-page .developers-cta {
  margin-top: 0.5rem;
}

html.theme-no-noise main.developers-page ~ .site-footer {
  border-top: none;
  padding-top: 0.5rem;
}

html.theme-no-noise .project-related {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

html.theme-no-noise .project-related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  html.theme-no-noise .project-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  html.theme-no-noise .project-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Профиль застройщика (Morein-style) ── */
html.theme-no-noise .developers-profile-page .developers-profile-hero {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

html.theme-no-noise .developers-profile-hero__intro {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

html.theme-no-noise .developers-profile-hero__logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

html.theme-no-noise .developers-profile-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  line-height: 1.15;
}

html.theme-no-noise .developers-profile-hero__lead {
  margin: 0;
  max-width: 46rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 1rem;
}

html.theme-no-noise .developers-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

html.theme-no-noise .developers-profile-stat {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-elevated);
}

html.theme-no-noise .developers-profile-stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.2rem;
}

html.theme-no-noise .developers-profile-stat__label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

html.theme-no-noise .developers-profile-about,
html.theme-no-noise .developers-profile-highlights,
html.theme-no-noise .developers-profile-projects,
html.theme-no-noise .developers-profile-faq {
  margin-bottom: 2rem;
}

html.theme-no-noise .developers-profile-about h2,
html.theme-no-noise .developers-profile-highlights h2,
html.theme-no-noise .developers-profile-projects h2,
html.theme-no-noise .developers-profile-faq h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
}

html.theme-no-noise .developers-profile-about p {
  margin: 0 0 0.75rem;
  max-width: 46rem;
  line-height: 1.6;
  color: var(--text-muted);
}

html.theme-no-noise .developers-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-elevated);
}

html.theme-no-noise .developers-profile-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0;
}

html.theme-no-noise .developers-profile-facts dd {
  margin: 0.15rem 0 0.65rem;
  font-weight: 600;
  color: var(--text);
}

html.theme-no-noise .developers-profile-highlights ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

html.theme-no-noise .developers-profile-highlights li {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated);
  border-radius: 0 calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0;
  line-height: 1.45;
}

html.theme-no-noise .developers-profile-grid {
  margin-top: 0.5rem;
}

html.theme-no-noise .developers-profile-faq details {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--bg-elevated);
}

html.theme-no-noise .developers-profile-faq summary {
  font-weight: 600;
  cursor: pointer;
}

html.theme-no-noise .developers-profile-faq p {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}

html.theme-no-noise .object-visual--placeholder {
  min-height: 10rem;
  background: linear-gradient(145deg, var(--bg-elevated), var(--border));
}

@media (max-width: 900px) {
  html.theme-no-noise .developers-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html.theme-no-noise .developers-profile-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html.theme-no-noise .developers-profile-hero__intro {
    flex-direction: column;
  }
  html.theme-no-noise .developers-profile-stats {
    grid-template-columns: 1fr 1fr;
  }
}

html.theme-no-noise .developers-profile-badges {
  margin-bottom: 1.75rem;
}

html.theme-no-noise .developers-profile-badges h2,
html.theme-no-noise .developers-profile-catalog h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

html.theme-no-noise .developers-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

html.theme-no-noise .developers-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text);
}

html.theme-no-noise .developers-profile-stats {
  margin-bottom: 2rem;
}

html.theme-no-noise .developers-profile-catalog {
  margin-bottom: 2.5rem;
}

html.theme-no-noise .developers-profile-catalog__intro {
  margin: 0 0 1.25rem;
  max-width: 46rem;
  color: var(--text-muted);
  line-height: 1.55;
}

html.theme-no-noise .developers-catalog-layout.catalog-layout {
  align-items: start;
}

@media (max-width: 900px) {
  html.theme-no-noise .developers-catalog-layout.catalog-layout {
    grid-template-columns: 1fr;
  }
}

/* Hallmark · pre-emit critique: P5 H4 E5 S5 R5 V4 */
/* Hallmark · genre: editorial · macrostructure: Catalogue · theme: Bronze Hour · enrichment: real photography · nav/footer: existing */
/* ── Podborki (visual catalogue + intent landings) ── */
html.theme-no-noise,
html.theme-no-noise body {
  overflow-x: clip;
}

html.theme-no-noise .podborki-hero .podborki-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

html.theme-no-noise .podborki-lead {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

html.theme-no-noise .podborki-hero h1,
html.theme-no-noise .podborki-collection-copy h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

html.theme-no-noise .podborki-article {
  margin: 3.5rem 0 2.5rem;
}

html.theme-no-noise .podborki-prose {
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

html.theme-no-noise .podborki-prose h2 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

html.theme-no-noise .podborki-prose ul {
  margin: 0;
  padding-left: 1.2rem;
}

html.theme-no-noise .podborki-prose li + li {
  margin-top: 0.35rem;
}

html.theme-no-noise .podborki-prose p {
  margin: 0 0 1rem;
}

html.theme-no-noise .podborki-seo {
  padding-top: 2.5rem;
  margin-bottom: 4rem;
  border-top: 1px solid var(--border);
}

html.theme-no-noise .podborki-faq {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

html.theme-no-noise .podborki-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  padding: 0.85rem 1rem;
}

html.theme-no-noise .podborki-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

html.theme-no-noise .podborki-faq-item summary::-webkit-details-marker {
  display: none;
}

html.theme-no-noise .podborki-faq-item p {
  margin: 0.65rem 0 0;
}

html.theme-no-noise .podborki-objects-head {
  display: grid;
  gap: 0.5rem 1rem;
  margin: 0 0 1.25rem;
}

html.theme-no-noise .podborki-objects-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

html.theme-no-noise .podborki-objects-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Object cards in подборки: same footprint as catalog (not full-bleed wider tiles).
   Beat theme .grid-objects 3×1fr on full-width layout. */
@media (min-width: 700px) {
  html.theme-no-noise .podborki-objects .catalog-grid.grid-objects:not(.objects-track),
  html.theme-no-noise .podborki-objects .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 305px));
    justify-content: start;
    gap: 1rem;
  }
}

html.theme-no-noise .podborki-more-catalog {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

html.theme-no-noise .podborki-related {
  margin: 2rem 0 1.5rem;
}

html.theme-no-noise .podborki-related h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

html.theme-no-noise .podborki-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

html.theme-no-noise .podborki-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color var(--dur-micro) var(--ease-out),
    background-color var(--dur-micro) var(--ease-out);
}

html.theme-no-noise .podborki-chip span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}

html.theme-no-noise .podborki-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

html.theme-no-noise .podborki-hub-section {
  margin: 1.5rem 0 4rem;
}

html.theme-no-noise .podborki-collection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

html.theme-no-noise .podborki-collection-card {
  min-width: 0;
}

html.theme-no-noise .podborki-collection-link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--photo-ink);
  text-decoration: none;
  isolation: isolate;
}

html.theme-no-noise .podborki-collection-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

html.theme-no-noise .podborki-collection-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  background: var(--surface);
}

html.theme-no-noise .podborki-collection-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      var(--photo-overlay) 0%,
      var(--photo-mid) 42%,
      var(--photo-clear) 100%
    );
}

html.theme-no-noise .podborki-collection-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform var(--dur-short) var(--ease-out);
}

html.theme-no-noise .podborki-collection-copy {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 0.55rem;
  padding: clamp(1rem, 4vw, 1.5rem);
  color: var(--photo-ink);
}

html.theme-no-noise .podborki-collection-copy h2,
html.theme-no-noise .podborki-collection-copy p {
  margin: 0;
}

html.theme-no-noise .podborki-collection-copy h2 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

html.theme-no-noise .podborki-collection-copy > p:not(.podborki-collection-meta) {
  max-width: 32ch;
  color: var(--photo-ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

html.theme-no-noise .podborki-collection-meta {
  color: var(--photo-ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0.78;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  html.theme-no-noise .podborki-chip:hover {
    border-color: var(--accent-border);
    background: var(--accent-tint);
  }

  html.theme-no-noise .podborki-collection-link:hover .podborki-collection-visual img {
    transform: scale(1.025);
  }
}

@media (min-width: 40rem) {
  html.theme-no-noise .podborki-objects-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
  }

  html.theme-no-noise .podborki-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 60rem) {
  html.theme-no-noise .podborki-collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html.theme-no-noise .podborki-collection-visual img {
    transition-duration: 0ms;
  }
}

html.theme-no-noise .region-hub-prose {
  max-width: 62ch;
  margin: 0 0 2rem;
}

html.theme-no-noise .region-hub-zones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

html.theme-no-noise .region-hub-zone {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--stroke-secondary, #e6e2d9);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elevated, transparent);
}

html.theme-no-noise .region-hub-zone strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

html.theme-no-noise .region-hub-zone span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

html.theme-no-noise .region-hub-featured,
html.theme-no-noise .region-hub-catalog {
  margin: 2rem 0 1.5rem;
}

html.theme-no-noise .region-catalog-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
}

@media (min-width: 800px) {
  html.theme-no-noise .region-hub-zones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4
 * Hallmark · macrostructure: Catalogue · tone: utilitarian-luxury
 * theme: existing No Noise (linen / bronze)
 * structure: photo hero + glass filter card → object grid → FAQ → CTA
 */
html.theme-no-noise .dir-page {
  background: var(--bg);
}

html.theme-no-noise .dir-hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--photo-ink);
  overflow-x: clip;
}

html.theme-no-noise .dir-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.78) brightness(0.72);
}

html.theme-no-noise .dir-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(14, 12, 10, 0.34) 0%,
      rgba(14, 12, 10, 0.46) 40%,
      rgba(14, 12, 10, 0.7) 100%
    );
  pointer-events: none;
}

html.theme-no-noise .dir-hero__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
  padding: var(--space-2xl) 0 var(--space-xl);
  max-width: var(--layout-max);
}

html.theme-no-noise .dir-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin: 0 0 var(--space-md);
  font-size: 0.8rem;
  color: rgba(240, 236, 226, 0.72);
}

html.theme-no-noise .dir-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

html.theme-no-noise .dir-breadcrumb a:hover,
html.theme-no-noise .dir-breadcrumb a.is-hover {
  color: var(--photo-ink);
}

html.theme-no-noise .dir-breadcrumb a:focus-visible,
html.theme-no-noise .dir-breadcrumb a.is-focus {
  outline: 2px solid var(--bronze-400);
  outline-offset: 3px;
}

html.theme-no-noise .dir-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  min-width: 0;
  color: var(--photo-ink);
  max-width: 16ch;
  text-shadow: 0 1px 18px rgba(14, 12, 10, 0.55);
}

html.theme-no-noise .dir-hero__lead {
  margin: 0 0 var(--space-lg);
  min-width: 0;
  max-width: 44ch;
  overflow-wrap: anywhere;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(240, 236, 226, 0.94);
  text-shadow: 0 1px 14px rgba(14, 12, 10, 0.5);
}

html.theme-no-noise .dir-hero-filter {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  padding: var(--space-lg);
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(14, 12, 10, 0.42);
  border: 0;
  box-shadow: 0 18px 48px rgba(12, 10, 8, 0.22);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

html.theme-no-noise .dir-hero-filter__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

html.theme-no-noise .dir-hero-filter .filter-label {
  color: var(--photo-ink);
  font-weight: 500;
  font-size: 0.82rem;
}

html.theme-no-noise .dir-hero-filter .filter-select,
html.theme-no-noise .dir-hero-filter .filter-input {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--text);
}

html.theme-no-noise .dir-hero-filter .filter-select-wrap::after {
  border-color: var(--text-muted);
}

html.theme-no-noise .dir-hero-filter .filter-input-suffix {
  background: var(--bg-elevated);
  border-radius: var(--radius-pill);
  border-color: transparent;
  overflow: hidden;
}

html.theme-no-noise .dir-hero-filter .filter-input-suffix:focus-within {
  box-shadow: none;
  outline: 2px solid var(--bronze-400);
  outline-offset: 2px;
}

html.theme-no-noise .dir-hero-filter .filter-select:hover,
html.theme-no-noise .dir-hero-filter .filter-input:hover,
html.theme-no-noise .dir-hero-filter .filter-select.is-hover,
html.theme-no-noise .dir-hero-filter .filter-input.is-hover {
  background: var(--bg);
}

html.theme-no-noise .dir-hero-filter .filter-select:focus,
html.theme-no-noise .dir-hero-filter .filter-input:focus,
html.theme-no-noise .dir-hero-filter .filter-select:focus-visible,
html.theme-no-noise .dir-hero-filter .filter-input:focus-visible {
  outline: 2px solid var(--bronze-400);
  outline-offset: 2px;
}

html.theme-no-noise .dir-hero-filter__reset-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

html.theme-no-noise .dir-hero-filter__reset {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--space-lg);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

html.theme-no-noise .dir-hero-filter__reset:hover,
html.theme-no-noise .dir-hero-filter__reset.is-hover {
  background: var(--bg);
}

html.theme-no-noise .dir-hero-filter__reset:focus-visible,
html.theme-no-noise .dir-hero-filter__reset.is-focus {
  outline: 2px solid var(--bronze-400);
  outline-offset: 2px;
}

html.theme-no-noise .dir-hero-filter__reset:active,
html.theme-no-noise .dir-hero-filter__reset.is-pressed {
  transform: translateY(1px);
}

html.theme-no-noise .dir-body {
  padding: var(--space-2xl) 0 var(--space-xl);
}

html.theme-no-noise .dir-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

html.theme-no-noise .dir-count strong {
  color: var(--text);
  font-family: var(--font-display);
}

html.theme-no-noise .dir-squares {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 0 var(--space-2xl);
  padding: var(--space-sm) 0 var(--space-md);
  scrollbar-width: none;
}

html.theme-no-noise .dir-squares::-webkit-scrollbar {
  display: none;
}

html.theme-no-noise .dir-square {
  position: relative;
  flex: 0 0 min(78vw, 280px);
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: var(--photo-ink);
  background: var(--surface);
  scroll-snap-align: start;
}

html.theme-no-noise .dir-square__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-short) var(--ease-out);
}

html.theme-no-noise .dir-square__glass {
  position: absolute;
  left: var(--space-sm);
  right: var(--space-sm);
  bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  text-align: left;
}

html.theme-no-noise .dir-square__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  min-width: 0;
}

html.theme-no-noise .dir-square__meta {
  font-size: 0.8rem;
  color: rgba(240, 236, 226, 0.78);
}

html.theme-no-noise .dir-square__count {
  margin-top: var(--space-xs);
  font-size: 0.75rem;
  color: var(--bronze-400);
}

@media (hover: hover) {
  html.theme-no-noise .dir-square:hover .dir-square__photo,
  html.theme-no-noise .dir-square.is-hover .dir-square__photo {
    transform: scale(1.03);
  }
}

html.theme-no-noise .dir-square:focus-visible,
html.theme-no-noise .dir-square.is-focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

html.theme-no-noise .dir-square:active,
html.theme-no-noise .dir-square.is-pressed {
  transform: translateY(1px);
}

html.theme-no-noise .dir-square.is-active {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

html.theme-no-noise .dir-square.is-active .dir-square__glass {
  border-color: var(--bronze-400);
}

html.theme-no-noise .dir-page .catalog-card[hidden] {
  display: none !important;
}

html.theme-no-noise .dir-page .object-card {
  overflow: hidden;
  border: 0;
}

html.theme-no-noise .dir-page .object-visual {
  aspect-ratio: 4 / 3;
}

html.theme-no-noise .dir-page #catalog-grid {
  scroll-margin-top: 7rem;
}

html.theme-no-noise .dir-empty {
  margin: var(--space-lg) 0;
  color: var(--text-muted);
}

html.theme-no-noise .dir-empty__link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent-deep);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

html.theme-no-noise .dir-empty__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

html.theme-no-noise .dir-faq {
  margin: var(--space-2xl) 0 0;
  max-width: 42rem;
}

html.theme-no-noise .dir-faq h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
}

html.theme-no-noise .dir-faq-item {
  border-top: 1px solid var(--border);
}

html.theme-no-noise .dir-faq-item summary {
  cursor: pointer;
  padding: var(--space-md) 0;
  font-weight: 600;
}

html.theme-no-noise .dir-faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

html.theme-no-noise .dir-faq-item p {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
}

html.theme-no-noise .dir-cta {
  background: #141210;
  color: var(--photo-ink);
  padding: var(--space-2xl) 0;
}

html.theme-no-noise .dir-cta__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

html.theme-no-noise .dir-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  min-width: 0;
}

html.theme-no-noise .dir-cta p {
  margin: 0;
  max-width: 36ch;
  color: rgba(240, 236, 226, 0.78);
}

html.theme-no-noise .dir-hub__intro {
  padding: var(--space-xl) 0 var(--space-2xl);
}

html.theme-no-noise .dir-hub__head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-sm);
}

html.theme-no-noise .dir-hub__head p {
  margin: 0 0 var(--space-2xl);
  max-width: 40ch;
  color: var(--text-muted);
}

html.theme-no-noise .dir-hub-group {
  margin: 0 0 var(--space-2xl);
}

html.theme-no-noise .dir-hub-group h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 var(--space-md);
}

html.theme-no-noise .dir-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

html.theme-no-noise .dir-hub-card {
  min-height: 0;
  aspect-ratio: 2.15 / 1;
  text-decoration: none;
}

@media (min-width: 700px) {
  html.theme-no-noise .dir-hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
  }
  html.theme-no-noise .dir-hub-card {
    aspect-ratio: 2.15 / 1;
  }
}
html.theme-no-noise .dir-hub-card .region-card__body p {
  display: none;
}

html.theme-no-noise .dir-hub-card__count {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 800px) {
  html.theme-no-noise .dir-hero-filter__fields {
    align-items: end;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(7.25rem, 0.7fr);
  }
}

@media (max-width: 799px) {
  html.theme-no-noise .dir-hero-filter__reset-wrap .filter-label {
    display: none;
  }
}

@media (min-width: 700px) {
  html.theme-no-noise .dir-squares {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    gap: var(--space-xl);
  }
  html.theme-no-noise .dir-square {
    flex: none;
    width: auto;
  }
  html.theme-no-noise .dir-hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  html.theme-no-noise .dir-hub-group h2,
  html.theme-no-noise .dir-hub__head {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.theme-no-noise .dir-square,
  html.theme-no-noise .dir-square__photo,
  html.theme-no-noise .dir-hero-filter__reset {
    transition: none;
  }
  html.theme-no-noise .dir-square:hover .dir-square__photo,
  html.theme-no-noise .dir-square.is-hover .dir-square__photo {
    transform: none;
  }
}


/* catalog type tiles — one horizontal row, icon chips */
.catalog-type-tiles {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  width: 100%;
}
.catalog-type-tile {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  min-height: 48px;
  height: auto;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-elevated);
  color: inherit;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.catalog-type-tile:hover {
  background: var(--surface);
  border-color: var(--accent-border);
}
.catalog-type-tile.is-active {
  background: var(--accent-tint);
  border-color: var(--accent);
  box-shadow: none;
}
.catalog-type-tile__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-deep, var(--accent));
}
.catalog-type-tile.is-active .catalog-type-tile__icon {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
}
.catalog-type-tile__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.catalog-type-tile__name {
  font-family: var(--font-ui, sans-serif);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.15;
  color: var(--headline, var(--text));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-type-tile__count {
  font-family: var(--font-ui, sans-serif);
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-muted);
  margin: 0;
}
.catalog-type-tile__visual { display: none !important; }
@media (max-width: 640px) {
  .catalog-type-tiles {
    flex-wrap: wrap;
  }
  .catalog-type-tile {
    flex: 1 1 calc(50% - 0.25rem);
  }
}


/* catalog filters sidebar scrollbar */
.catalog-filters {
  scrollbar-width: thin;
  scrollbar-color: rgba(75, 90, 243, 0.35) transparent;
}
.catalog-filters::-webkit-scrollbar { width: 6px; }
.catalog-filters::-webkit-scrollbar-track { background: transparent; }
.catalog-filters::-webkit-scrollbar-thumb {
  background: rgba(75, 90, 243, 0.35);
  border-radius: 999px;
}
html[data-theme="dark"] .catalog-filters {
  scrollbar-color: rgba(75, 90, 243, 0.4) transparent;
}
html[data-theme="dark"] .catalog-filters::-webkit-scrollbar-thumb {
  background: rgba(75, 90, 243, 0.4);
}

/* ── FINAL: kill outlines + keep cool dark (cache-safe) ── */
html.theme-no-noise[data-theme="dark"],
html.theme-no-noise[data-theme="dark"] body {
  --bg: #121214 !important;
  --bg-elevated: #1c1c1f !important;
  --surface: #242428 !important;
  --surface-2: #2e2e33 !important;
  --form-panel: #1c1c1f !important;
  --form-control: #242428 !important;
  --border: rgba(242, 242, 244, 0.08) !important;
  background-color: #121214 !important;
}
html.theme-no-noise .catalog-filters,
html.theme-no-noise .catalog-search,
html.theme-no-noise .filter-select,
html.theme-no-noise .filter-chip,
html.theme-no-noise .filter-region-btn,
html.theme-no-noise .catalog-type-tile,
html.theme-no-noise .input-text,
html.theme-no-noise .lead-input,
html.theme-no-noise .lead-select,
html.theme-no-noise .lead-card,
html.theme-no-noise .object-card,
html.theme-no-noise .blog-card,
html.theme-no-noise .scenario-card,
html.theme-no-noise .developers-card,
html.theme-no-noise .developers-cta,
html.theme-no-noise .step,
html.theme-no-noise .why-item,
html.theme-no-noise .catalog-region-seo-panel,
html.theme-no-noise .project-body,
html.theme-no-noise .project-meta-pill,
html.theme-no-noise .post-sidebar-card,
html.theme-no-noise .blog-capture-panel--primary,
html.theme-no-noise .post-callout,
html.theme-no-noise .blog-filter,
html.theme-no-noise .site-lead-panel,
html.theme-no-noise .site-lead-panel-close,
html.theme-no-noise .project-inquire-panel,
html.theme-no-noise .project-inquire-close,
html.theme-no-noise .project-inquire-topic,
html.theme-no-noise .rm-lead__panel,
html.theme-no-noise .rm-lead__field input,
html.theme-no-noise .rm-lead__channel,
html.theme-no-noise .rm-contact,
html.theme-no-noise .rm-pay,
html.theme-no-noise .rm-pay__card,
html.theme-no-noise .rm-pay__option,
html.theme-no-noise .tempo-program,
html.theme-no-noise .project-panel,
html.theme-no-noise .project-fact-card,
html.theme-no-noise .project-audience-card {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none;
}

/* --- Directions hub SEO + region FAQ/sales + catalog-size cards (202609302245) --- */
html.theme-no-noise .dir-hub-seo {
  margin: var(--space-2xl) 0 0;
  max-width: 42rem;
}
html.theme-no-noise .dir-hub-seo__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}
html.theme-no-noise .dir-hub-seo__content {
  display: grid;
  gap: 0.85rem;
  color: var(--text-muted);
  font: 400 0.95rem/1.65 var(--font-ui);
}
html.theme-no-noise .dir-hub-seo__content p {
  margin: 0;
}

/* Region cards: catalog-sized tiles (not 3 full-bleed columns) */
html.theme-no-noise .dir-page .object-visual {
  aspect-ratio: 4 / 3;
}
html.theme-no-noise .dir-page #catalog-grid.region-catalog-grid,
html.theme-no-noise .dir-page .region-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  justify-content: center;
  gap: 1rem;
}
@media (max-width: 640px) {
  html.theme-no-noise .dir-page #catalog-grid.region-catalog-grid,
  html.theme-no-noise .dir-page .region-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hero filters — one row like homepage */
html.theme-no-noise .dir-hero-filter {
  padding: 12px 14px;
  border-radius: 20px;
}
html.theme-no-noise .dir-hero-filter__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
html.theme-no-noise .dir-hero-filter__select {
  flex: 0 1 140px;
  min-width: 120px;
  min-height: 44px;
  padding: 0 2.2rem 0 0.95rem;
  border: 0;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text);
  font: 500 0.9rem/1.2 var(--font-ui);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236a6660' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}
html.theme-no-noise .dir-hero-filter__select:hover {
  background-color: var(--bg);
}
html.theme-no-noise .dir-hero-filter__select:focus-visible {
  outline: 2px solid var(--bronze-400);
  outline-offset: 2px;
}
html.theme-no-noise .dir-hero-filter__search {
  flex: 1 1 180px;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.85rem 0 0.95rem;
  border-radius: 999px;
  background: var(--bg-elevated);
}
html.theme-no-noise .dir-hero-filter__search-icon {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  flex: 0 0 auto;
}
html.theme-no-noise .dir-hero-filter__search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 500 0.9rem/1.2 var(--font-ui);
  outline: none;
}
html.theme-no-noise .dir-hero-filter__search-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
@media (max-width: 720px) {
  html.theme-no-noise .dir-hero-filter__select {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }
  html.theme-no-noise .dir-hero-filter__search {
    flex: 1 1 100%;
  }
}

/* FAQ + Maria consult */
html.theme-no-noise .dir-consult {
  display: grid;
  gap: 1.25rem;
  margin: var(--space-2xl) 0 0;
  align-items: stretch;
}
@media (min-width: 900px) {
  html.theme-no-noise .dir-consult {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.5rem 1.75rem;
  }
  html.theme-no-noise .dir-consult__faq,
  html.theme-no-noise .dir-consult__lead {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  html.theme-no-noise .dir-consult__faq .dir-faq {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  html.theme-no-noise .dir-consult__faq .rm-faq {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  html.theme-no-noise .dir-consult__faq .rm-faq__item {
    flex: 1 1 auto;
  }
  html.theme-no-noise .dir-consult__lead .dir-lead {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  html.theme-no-noise .dir-consult__lead .dir-lead__form {
    margin-top: auto;
  }
}
html.theme-no-noise .dir-consult__faq .dir-faq {
  margin: 0;
  max-width: none;
}
html.theme-no-noise .dir-faq {
  margin: 0;
  max-width: none;
}
html.theme-no-noise .dir-faq h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
}
html.theme-no-noise .dir-faq .rm-faq {
  display: grid;
  gap: 10px;
}
html.theme-no-noise .dir-faq .rm-faq__item {
  border-radius: 14px;
  background: var(--bg-elevated, #fff);
  border: 0;
  overflow: hidden;
}
html.theme-no-noise .dir-faq .rm-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font: 500 15px/1.35 var(--font-ui);
  color: var(--text);
}
html.theme-no-noise .dir-faq .rm-faq__item summary::-webkit-details-marker { display: none; }
html.theme-no-noise .dir-faq .rm-faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(20, 18, 16, 0.06);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
}
html.theme-no-noise .dir-faq .rm-faq__item[open] summary::after { content: "−"; }
html.theme-no-noise .dir-faq .rm-faq__item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--text-muted);
  font: 14px/1.55 var(--font-ui);
}
html.theme-no-noise[data-theme="dark"] .dir-faq .rm-faq__item {
  background: var(--surface, #1c1a18);
}
html.theme-no-noise[data-theme="dark"] .dir-faq .rm-faq__item summary::after {
  background: rgba(255, 255, 255, 0.08);
}

html.theme-no-noise .dir-lead {
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: #ffffff;
  color: var(--text);
}
html.theme-no-noise[data-theme="dark"] .dir-lead {
  background: var(--bg-elevated);
}
html.theme-no-noise .dir-lead__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
html.theme-no-noise .dir-lead__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex: 0 0 auto;
}
html.theme-no-noise .dir-lead__name {
  margin: 0;
  font: 650 0.95rem/1.25 var(--font-display);
  color: var(--text);
}
html.theme-no-noise .dir-lead__role {
  margin: 0.15rem 0 0;
  font: 400 0.82rem/1.35 var(--font-ui);
  color: var(--text-muted);
}
html.theme-no-noise .dir-lead__title {
  margin: 0;
  font: 650 clamp(1.05rem, 2vw, 1.25rem)/1.25 var(--font-display);
  letter-spacing: -0.02em;
}
html.theme-no-noise .dir-lead__text {
  margin: 0 0 1rem;
  font: 400 0.9rem/1.5 var(--font-ui);
  color: var(--text-muted);
}
html.theme-no-noise .dir-lead__form {
  display: grid;
  gap: 0.65rem;
}
html.theme-no-noise .dir-lead__phone {
  min-height: 46px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0 1rem;
  background: var(--surface);
  color: var(--text);
  font: 500 0.95rem/1.2 var(--font-ui);
}
html.theme-no-noise .dir-lead__btn {
  min-height: 46px;
  width: 100%;
  border-radius: 999px;
}
html.theme-no-noise .dir-lead__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font: 400 0.75rem/1.4 var(--font-ui);
  color: var(--text-muted);
}
html.theme-no-noise .dir-lead__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
html.theme-no-noise .dir-lead__status {
  margin: 0;
  min-height: 1.2em;
  font: 400 0.82rem/1.35 var(--font-ui);
}

/* SEO below consult */
html.theme-no-noise .dir-seo {
  margin-top: var(--space-2xl);
}

/* Region analytics — object-page sales language */
html.theme-no-noise .dir-page .rm-sales,
html.theme-no-noise .dir-sales {
  margin: var(--space-2xl) 0 0;
}
html.theme-no-noise .dir-page .rm-sales__title {
  margin: 0 0 14px;
  font: 600 clamp(22px, 3vw, 28px)/1.2 var(--font-display);
  color: var(--text);
}
html.theme-no-noise .dir-page .rm-sales__card {
  position: relative;
  padding: 22px 22px 16px;
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  border: 0;
}
html.theme-no-noise .dir-page .rm-sales__top {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
html.theme-no-noise .dir-page .rm-sales__total {
  font: 700 clamp(36px, 5vw, 48px)/1 var(--font-display);
  color: var(--text);
  letter-spacing: -0.03em;
}
html.theme-no-noise .dir-page .rm-sales__meta {
  margin: 8px 0 0;
  max-width: 32ch;
  color: var(--text-muted);
  font: 14px/1.45 var(--font-ui);
}
html.theme-no-noise .dir-page .rm-sales__period {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.05);
}
html.theme-no-noise[data-theme="dark"] .dir-page .rm-sales__period {
  background: rgba(255, 255, 255, 0.06);
}
html.theme-no-noise .dir-page .rm-sales__period button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text-muted);
  font: 12px var(--font-ui);
}
html.theme-no-noise .dir-page .rm-sales__period button.is-active {
  background: #4b5af3;
  color: #f4f7fa;
}
html.theme-no-noise .dir-page .rm-sales__chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 180px;
  padding: 8px 0 4px;
  border-top: 0;
  box-shadow: inset 0 1px 0 rgba(20, 18, 16, 0.08);
}
html.theme-no-noise .dir-page .rm-sales__bar-wrap {
  display: grid;
  gap: 6px;
  align-content: end;
  justify-items: center;
  min-height: 160px;
}
html.theme-no-noise .dir-page .rm-sales__val {
  font: 600 11px/1 var(--font-ui);
  color: var(--text);
}
html.theme-no-noise .dir-page .rm-sales__bar {
  width: 100%;
  max-width: 28px;
  border-radius: 8px 8px 4px 4px;
  background: #4b5af3;
  min-height: 4px;
}
html.theme-no-noise .dir-page .rm-sales__label {
  font-size: 11px;
  color: var(--text-muted);
}
html.theme-no-noise .dir-page .rm-sales__year {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}
html.theme-no-noise .dir-page .rm-sales__source {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}
html.theme-no-noise .dir-page .rm-sales__source a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- dir-consult equal columns (202609302255) --- */
html.theme-no-noise .dir-consult {
  display: grid;
  gap: 1.25rem;
  margin: var(--space-2xl) 0 0;
  align-items: stretch;
}
@media (min-width: 900px) {
  html.theme-no-noise .dir-consult {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.5rem 1.75rem;
  }
}
html.theme-no-noise .dir-consult__faq {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
}
@media (min-width: 900px) {
  html.theme-no-noise .dir-consult__faq {
    height: 100%;
  }
}
html.theme-no-noise .dir-consult__faq-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}
html.theme-no-noise .dir-consult__faq .rm-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
}
@media (min-width: 900px) {
  html.theme-no-noise .dir-consult__faq .rm-faq {
    flex: 1;
  }
  html.theme-no-noise .dir-consult__faq .rm-faq__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
  }
  html.theme-no-noise .dir-consult__lead {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  html.theme-no-noise .dir-consult__lead .dir-lead {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  html.theme-no-noise .dir-consult__lead .dir-lead__form {
    margin-top: auto;
  }
}

/* --- FAQ+lead visual restore (202609302305) --- */
html.theme-no-noise .dir-consult__faq.dir-faq .rm-faq,
html.theme-no-noise .dir-consult__faq .rm-faq {
  display: grid !important;
  gap: 10px !important;
  flex: initial !important;
}
html.theme-no-noise .dir-consult__faq .rm-faq__item {
  flex: none !important;
  display: block !important;
  border-radius: 14px;
  background: var(--bg-elevated, #fff);
  border: 0;
  overflow: hidden;
}
html.theme-no-noise .dir-consult__faq .rm-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font: 500 15px/1.35 var(--font-ui);
  color: var(--text);
}
html.theme-no-noise .dir-consult__faq .rm-faq__item summary::-webkit-details-marker {
  display: none;
}
html.theme-no-noise .dir-consult__faq .rm-faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(20, 18, 16, 0.06);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
}
html.theme-no-noise .dir-consult__faq .rm-faq__item[open] summary::after {
  content: "−";
}
html.theme-no-noise .dir-consult__faq .rm-faq__item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--text-muted);
  font: 14px/1.55 var(--font-ui);
}
html.theme-no-noise[data-theme="dark"] .dir-consult__faq .rm-faq__item {
  background: var(--surface, #1c1a18);
}
html.theme-no-noise[data-theme="dark"] .dir-consult__faq .rm-faq__item summary::after {
  background: rgba(255, 255, 255, 0.08);
}
html.theme-no-noise .dir-lead {
  background: var(--bg-elevated, #ffffff);
}
html:not([data-theme="dark"]) .theme-no-noise .dir-lead,
html.theme-no-noise:not([data-theme="dark"]) .dir-lead {
  background: #ffffff;
}
@media (min-width: 900px) {
  html.theme-no-noise .dir-consult {
    align-items: start;
  }
  html.theme-no-noise .dir-consult__faq,
  html.theme-no-noise .dir-consult__lead {
    height: auto;
  }
  html.theme-no-noise .dir-consult__lead .dir-lead {
    height: auto;
  }
}
