/* Desktop-only visual contract. Mobile remains owned by mobile-system.css. */
.service-atlas-hero-actions {
  display: none;
}

/* Desktop visual architecture v12.
   This corrective layer changes composition and rhythm, not only colour.
   It is intentionally isolated from mobile and from approved service journeys. */
@media (min-width: 1024px) {
  /* Compact editorial entrances for the shared index families. */
  body[data-route="/equipment"] .inner-hero,
  body[data-route="/specialists"] .inner-hero,
  body[data-route="/articles"] .inner-hero {
    min-height: clamp(470px, 54svh, 590px) !important;
  }

  body[data-route="/problems"] .inner-hero {
    min-height: clamp(590px, 66svh, 670px) !important;
  }

  body[data-route="/problems"] .inner-hero > .container,
  body[data-route="/equipment"] .inner-hero > .container,
  body[data-route="/specialists"] .inner-hero > .container,
  body[data-route="/articles"] .inner-hero > .container {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  body[data-route="/equipment"] .inner-hero h1,
  body[data-route="/specialists"] .inner-hero h1,
  body[data-route="/articles"] .inner-hero h1 {
    font-size: clamp(64px, 6.7vw, 104px) !important;
  }

  /* Problems: navigation and requests are editorial fields, not ruled forms. */
  body[data-route="/problems"] .inner-hero .task-entry-grid {
    counter-reset: problem-entry;
    margin-top: 38px;
    gap: clamp(10px, 1.25vw, 20px) !important;
  }

  body[data-route="/problems"] .inner-hero .task-entry {
    counter-increment: problem-entry;
    min-height: 132px;
    padding: 20px 20px 18px !important;
    border: 0 !important;
    background: rgba(244, 242, 238, 0.045) !important;
    transition: background-color 180ms ease, transform 180ms ease;
  }

  body[data-route="/problems"] .inner-hero .task-entry::before {
    content: counter(problem-entry, decimal-leading-zero);
    margin-bottom: 20px;
    color: rgba(244, 242, 238, 0.42);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
  }

  body[data-route="/problems"] .inner-hero .task-entry:is(:hover, :focus-visible) {
    background: rgba(244, 242, 238, 0.09) !important;
    transform: translateY(-3px);
  }

  body[data-route="/problems"] .inner-hero .task-entry strong {
    font-size: clamp(21px, 1.75vw, 29px) !important;
  }

  body[data-route="/problems"] .inner-hero .task-entry span {
    margin-top: 13px;
  }

  body[data-route="/problems"] .task-section {
    padding: clamp(74px, 7vw, 110px) 0 !important;
  }

  body[data-route="/problems"] .task-section:nth-of-type(even) {
    background: #0f1012 !important;
  }

  body[data-route="/problems"] .task-section h2 {
    font-size: clamp(48px, 4.7vw, 74px) !important;
  }

  body[data-route="/problems"] .task-grid {
    display: grid !important;
    gap: 9px;
  }

  body[data-route="/problems"] .task-card,
  body[data-route="/problems"] .task-card:last-child {
    border: 0 !important;
    background: rgba(244, 242, 238, 0.038) !important;
  }

  body[data-route="/problems"] .task-card > summary {
    min-height: 84px;
    padding: 18px 22px !important;
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 14px;
  }

  body[data-route="/problems"] .task-card summary strong {
    font-size: clamp(22px, 1.9vw, 31px);
  }

  body[data-route="/problems"] .task-card .task-content {
    padding: 0 44px 28px 74px !important;
  }

  body[data-route="/problems"] .task-card[open],
  body[data-route="/problems"] .task-card:hover {
    background: rgba(244, 242, 238, 0.085) !important;
  }

  /* Equipment: retain asymmetry but remove portrait-like stretching and dead rows. */
  body[data-route="/equipment"] .equipment.section,
  body[data-route="/equipment"] section.equipment {
    padding: clamp(74px, 7vw, 112px) 0 !important;
  }

  body[data-route="/equipment"] .catalog-toolbar {
    margin-bottom: clamp(46px, 5vw, 72px);
  }

  body[data-route="/equipment"] .equipment-grid {
    gap: clamp(48px, 5vw, 76px) clamp(20px, 2.2vw, 36px);
  }

  body[data-route="/equipment"] .equipment-card:nth-child(4n + 2) .equipment-visual,
  body[data-route="/equipment"] .equipment-card:nth-child(4n + 3) .equipment-visual {
    aspect-ratio: 4 / 3;
  }

  body[data-route="/equipment"] .equipment-visual {
    margin-bottom: 20px;
  }

  body[data-route="/equipment"] .equipment-card h3 {
    margin-top: 8px;
    font-size: clamp(34px, 3.3vw, 54px) !important;
  }

  /* Specialists keep a casting rhythm, but without artificially tall gaps. */
  body[data-route="/specialists"] main > .section {
    padding: clamp(74px, 7vw, 112px) 0 !important;
  }

  body[data-route="/specialists"] .specialist-grid {
    gap: clamp(48px, 5vw, 78px) clamp(18px, 2vw, 34px);
  }

  body[data-route="/specialists"] .specialist-card:nth-child(6n + 2) .specialist-portrait,
  body[data-route="/specialists"] .specialist-card:nth-child(6n + 4) .specialist-portrait {
    aspect-ratio: 3 / 4;
  }

  /* The aesthetic direction was the last cream equal-card board. It now uses
     three different editorial proportions inside the same graphite system. */
  body[data-route="/services/aesthetic-cosmetology"] .site-header {
    background: rgba(11, 11, 12, 0.94) !important;
    color: var(--desktop-ink) !important;
    border-bottom-color: var(--desktop-line) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-direction {
    padding: 118px 0 clamp(86px, 8vw, 124px) !important;
    background: var(--desktop-bg) !important;
    color: var(--desktop-ink) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-shell {
    width: var(--desktop-shell) !important;
    max-width: none !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-crumbs,
  body[data-route="/services/aesthetic-cosmetology"] .ae-crumbs a {
    color: rgba(244, 242, 238, 0.52) !important;
    border-color: rgba(244, 242, 238, 0.28) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-intro {
    margin: clamp(50px, 6vw, 84px) 0 clamp(66px, 7vw, 104px) !important;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 34px) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-intro > div {
    grid-column: 1 / 9;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-intro > p:last-child {
    grid-column: 10 / -1;
    align-self: end;
    color: var(--desktop-muted) !important;
    font-size: clamp(16px, 1.15vw, 19px) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-kicker,
  body[data-route="/services/aesthetic-cosmetology"] .ae-method-cue {
    color: rgba(244, 242, 238, 0.56) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-intro h1 {
    max-width: 8.5ch;
    color: var(--desktop-ink) !important;
    font: 400 clamp(68px, 7.3vw, 116px)/0.89 Arial, Helvetica, sans-serif !important;
    letter-spacing: -0.075em !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-methods {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: clamp(64px, 7vw, 108px) clamp(18px, 2vw, 34px) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method {
    display: block !important;
    min-width: 0;
    overflow: visible;
    background: transparent !important;
    color: var(--desktop-ink) !important;
    transform: none !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method:nth-child(1) {
    grid-column: 1 / 8;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method:nth-child(2) {
    grid-column: 9 / -1;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method:nth-child(3) {
    grid-column: 4 / 12;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-photo {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    background-color: var(--desktop-surface) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method:nth-child(2) .ae-photo {
    aspect-ratio: 4 / 5 !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method:nth-child(3) .ae-photo {
    aspect-ratio: 16 / 9 !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-photo-label {
    top: 14px;
    left: 14px;
    background: rgba(11, 11, 12, 0.78) !important;
    color: var(--desktop-ink) !important;
    backdrop-filter: blur(10px);
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method-body {
    padding: 24px 0 0 !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method h2 {
    max-width: 12ch;
    margin: 12px 0 16px;
    color: var(--desktop-ink) !important;
    font: 400 clamp(38px, 4vw, 64px)/0.96 Arial, Helvetica, sans-serif !important;
    letter-spacing: -0.06em !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method p,
  body[data-route="/services/aesthetic-cosmetology"] .ae-direction-note,
  body[data-route="/services/aesthetic-cosmetology"] .ae-help p {
    color: var(--desktop-muted) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method-foot {
    justify-content: flex-start;
    gap: 30px;
    padding-top: 24px;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-method-foot strong,
  body[data-route="/services/aesthetic-cosmetology"] .ae-method-foot span {
    color: var(--desktop-ink) !important;
    border-color: rgba(244, 242, 238, 0.46) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-direction-note {
    margin-top: 28px;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-help {
    margin-top: clamp(76px, 8vw, 124px);
    padding: clamp(42px, 5vw, 70px) !important;
    border: 0 !important;
    background: var(--desktop-surface) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-help h2 {
    color: var(--desktop-ink) !important;
    font: 400 clamp(36px, 4vw, 62px)/0.98 Arial, Helvetica, sans-serif !important;
    letter-spacing: -0.055em !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-help a {
    background: var(--desktop-ink) !important;
    color: var(--desktop-bg) !important;
  }

  /* Long reads keep breathing room without turning every heading into a new screen. */
  body[data-route^="/articles/"] .article-page > .section {
    padding: clamp(74px, 7vw, 112px) 0 !important;
  }

  body[data-route^="/articles/"] .article-body > img:first-child {
    margin-bottom: clamp(46px, 5vw, 72px) !important;
  }

  body[data-route^="/articles/"] .article-body h2 {
    margin-top: clamp(54px, 6vw, 86px) !important;
  }

  html body[data-visual-system="journal"][data-route="/problems"] main .task-section .task-grid > .task-card {
    border-top-width: 0 !important;
    border-right-width: 0 !important;
    border-bottom-width: 0 !important;
    border-left-width: 0 !important;
    background-color: rgba(244, 242, 238, 0.045) !important;
    background-image: none !important;
  }

  html body[data-visual-system="journal"][data-route="/problems"] main .task-section .task-grid > .task-card:is(:hover, [open]) {
    background-color: rgba(244, 242, 238, 0.085) !important;
  }

  body[data-route="/services/aesthetic-cosmetology"] .ae-methods {
    background: transparent !important;
  }

  body[data-visual-system="journal"] .booking {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (min-width: 1024px) {
  :root {
    --desktop-bg: #0b0b0c;
    --desktop-surface: #141519;
    --desktop-ink: #f4f2ee;
    --desktop-muted: rgba(244, 242, 238, 0.68);
    --desktop-line: rgba(244, 242, 238, 0.17);
    --desktop-focus: #d8e0ff;
  }

  body[data-visual-system="journal"] .site-header .container,
  body[data-visual-system="journal"] .site-footer .container {
    max-width: 1600px;
  }

  body[data-visual-system="journal"] :is(a, button, input):focus-visible {
    outline: 2px solid var(--desktop-focus);
    outline-offset: 5px;
  }

  body[data-visual-system="journal"] .footer-bottom p a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }

  /* The approved home film stays intact; only the empty desktop scroll range is reduced. */
  body[data-route="/"] .hm-manifesto {
    height: 240svh !important;
  }

  /* A first-visit decision must not cover the price, booking, or the next scene. */
  .consent-banner {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    min-height: 62px;
    padding: 11px clamp(28px, 4vw, 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 17, 21, 0.92);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
  }

  .consent-banner-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
  }

  .consent-banner-copy strong {
    margin: 0;
    white-space: nowrap;
  }

  .consent-banner-copy p {
    max-width: 76ch;
  }

  .consent-banner-actions {
    flex-wrap: nowrap;
    margin: 0;
  }

  /* /services: the image remains present, but the route becomes legible above the fold. */
  body[data-route="/services"] .service-atlas-hero {
    min-height: calc(100svh - 76px);
    padding: clamp(44px, 5vw, 78px) clamp(44px, 6vw, 96px);
  }

  body[data-route="/services"] .service-atlas-hero::after {
    background:
      linear-gradient(90deg, rgba(11, 11, 12, 0.98) 0 28%, rgba(11, 11, 12, 0.72) 48%, rgba(11, 11, 12, 0.1) 79%),
      linear-gradient(0deg, rgba(11, 11, 12, 0.82), transparent 48%);
  }

  body[data-route="/services"] .service-atlas-hero-copy {
    max-width: min(720px, 51vw);
    padding-top: 10vh;
  }

  body[data-route="/services"] .service-atlas-hero h1 {
    max-width: 8.8ch;
    font-size: clamp(70px, 7.4vw, 118px);
    line-height: 0.89;
  }

  body[data-route="/services"] .service-atlas-hero-copy > span {
    max-width: 44ch;
    color: rgba(245, 242, 237, 0.82);
    font-size: clamp(16px, 1.2vw, 19px);
  }

  .service-atlas-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
  }

  .service-atlas-hero-actions a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    border-bottom: 1px solid rgba(245, 242, 237, 0.78);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .service-atlas-hero-actions a:last-child {
    color: rgba(245, 242, 237, 0.66);
    border-bottom-color: rgba(245, 242, 237, 0.32);
  }

  body[data-route="/services"] .service-atlas-search {
    padding-top: clamp(90px, 9vw, 136px);
    padding-bottom: clamp(90px, 9vw, 136px);
  }

  body[data-route="/services"] .service-atlas-search input::placeholder {
    color: rgba(245, 242, 237, 0.52);
  }

  /* Hardware direction: six different editorial scenes instead of a ruled card grid. */
  body[data-route="/services/hardware-cosmetology"] .inner-hero {
    position: relative;
    min-height: calc(100svh - 76px) !important;
    padding: 0 !important;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--desktop-line) !important;
    background: var(--desktop-bg) !important;
  }

  body[data-route="/services/hardware-cosmetology"] .inner-hero::before {
    position: absolute;
    z-index: 0;
    content: "";
    inset: 0 46% 0 0;
    width: auto;
    height: auto;
    background: url("/static/design-review/rf-tverskaya-composites/face-session-v1.jpg") 48% center / cover no-repeat;
    filter: saturate(0.72) contrast(1.04);
  }

  body[data-route="/services/hardware-cosmetology"] .inner-hero::after {
    position: absolute;
    z-index: 1;
    display: block !important;
    content: "";
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(270deg, #0b0b0c 0 37%, rgba(11, 11, 12, 0.86) 49%, rgba(11, 11, 12, 0.16) 72%),
      linear-gradient(0deg, rgba(11, 11, 12, 0.54), transparent 48%);
  }

  body[data-route="/services/hardware-cosmetology"] .inner-hero .container {
    position: relative;
    z-index: 2;
    min-height: calc(100svh - 76px);
    max-width: 1600px;
    padding-top: clamp(54px, 7vh, 86px);
    padding-bottom: clamp(54px, 7vh, 86px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
  }

  body[data-route="/services/hardware-cosmetology"] .inner-hero .breadcrumbs {
    position: absolute;
    top: 38px;
    left: var(--container-gutter, 0);
    margin: 0;
    color: rgba(244, 242, 238, 0.58) !important;
  }

  body[data-route="/services/hardware-cosmetology"] .inner-hero .eyebrow {
    color: rgba(244, 242, 238, 0.62) !important;
  }

  body[data-route="/services/hardware-cosmetology"] .inner-hero h1 {
    width: min(520px, 40vw);
    max-width: none;
    margin: 18px 0 28px;
    color: var(--desktop-ink);
    font-size: clamp(68px, 6.3vw, 96px);
    font-weight: 400;
    line-height: 0.91;
    letter-spacing: -0.065em;
    overflow-wrap: normal;
  }

  body[data-route="/services/hardware-cosmetology"] .inner-hero-lead {
    max-width: 46ch;
    color: rgba(244, 242, 238, 0.76) !important;
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.55;
  }

  body[data-route="/services/hardware-cosmetology"] .inner-hero .btn {
    width: fit-content;
    min-height: 48px;
    margin-top: 32px;
    padding: 0 0 6px;
    border: 0;
    border-bottom: 1px solid rgba(244, 242, 238, 0.78);
    border-radius: 0;
    background: transparent;
    color: var(--desktop-ink);
    letter-spacing: 0.09em;
  }

  body[data-route="/services/hardware-cosmetology"] #method-list {
    padding: clamp(100px, 10vw, 150px) 0;
    background: var(--desktop-bg) !important;
  }

  body[data-route="/services/hardware-cosmetology"] #method-list > .container {
    max-width: 1600px;
  }

  body[data-route="/services/hardware-cosmetology"] #hardware-methods-title {
    max-width: 10ch;
    margin: 18px 0 24px;
    font-size: clamp(62px, 7vw, 112px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.065em;
  }

  body[data-route="/services/hardware-cosmetology"] #method-list > .container > .section-intro {
    max-width: 48ch;
    margin-bottom: clamp(72px, 8vw, 120px);
    color: var(--desktop-muted);
    font-size: 18px;
    line-height: 1.55;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid {
    display: block;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card {
    position: relative;
    min-height: clamp(560px, 76svh, 760px);
    margin: 0 0 30px;
    padding: clamp(44px, 5vw, 76px) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 0 !important;
    background: #111216 !important;
    isolation: isolate;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:hover {
    background: #111216 !important;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card::before,
  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card::after {
    position: absolute;
    content: "";
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    pointer-events: none;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card::before {
    z-index: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(0.76) contrast(1.03);
    transform: scale(1.01);
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:hover::before {
    transform: scale(1.035);
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card::after {
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(9, 10, 12, 0.94) 0 27%, rgba(9, 10, 12, 0.54) 48%, rgba(9, 10, 12, 0.04) 76%),
      linear-gradient(0deg, rgba(9, 10, 12, 0.58), transparent 56%);
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(even)::after {
    background:
      linear-gradient(270deg, rgba(9, 10, 12, 0.94) 0 27%, rgba(9, 10, 12, 0.54) 48%, rgba(9, 10, 12, 0.04) 76%),
      linear-gradient(0deg, rgba(9, 10, 12, 0.58), transparent 56%);
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(1)::before {
    background-image: url("/static/hardware-direction/smas-scroll/jaw-v1.png");
    background-position: 68% 38%;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(2)::before {
    background-image: url("/static/microneedle-rf-face/01-post-acne.png");
    background-position: 34% 42%;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(3)::before {
    background-image: url("/static/bbl-visual-direction-study-assets/forever-casting-v3.jpg");
    background-position: 54% 34%;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(4)::before {
    background-image: url("/static/microcurrents/request-series-2026-10-20/morning-puffiness.jpg");
    background-position: 48% 38%;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(5)::before {
    background-image: url("/static/facial-cleansing/requests-2026-11-25/clogged-pores.png");
    background-position: 50% 42%;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(6)::before {
    background-image: url("/static/facial-apparatus/led-procedure-study-v1.jpg");
    background-position: 50% 48%;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid .procedure-meta,
  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid .hardware-method-links {
    position: relative;
    z-index: 2;
    width: min(570px, 43%);
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid .procedure-meta {
    position: absolute;
    top: clamp(34px, 4vw, 58px);
    left: clamp(44px, 5vw, 76px);
    color: rgba(244, 242, 238, 0.62);
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(even) .procedure-meta {
    right: clamp(44px, 5vw, 76px);
    left: auto;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card:nth-child(even) .hardware-method-links {
    align-self: flex-end;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid h3 {
    max-width: 11ch;
    margin: 0 0 22px;
    color: var(--desktop-ink);
    font-size: clamp(52px, 5.2vw, 84px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.06em;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid p {
    max-width: 46ch;
    margin: 0 0 28px;
    color: rgba(244, 242, 238, 0.78);
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.55;
  }

  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid .link-arrow {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    border-bottom: 1px solid rgba(244, 242, 238, 0.7);
    color: var(--desktop-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* Injection direction: seven approved method worlds read as one scroll route,
     not as a composite catalogue board. The mobile board remains untouched. */
  body[data-route="/services/injection-cosmetology"] .ij-dir {
    padding: calc(76px + clamp(50px, 7vw, 96px)) 0 clamp(100px, 10vw, 150px);
    background: var(--desktop-bg) !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-dir-shell {
    width: min(calc(100% - 8vw), 1600px);
  }

  body[data-route="/services/injection-cosmetology"] .ij-dir nav {
    color: rgba(244, 242, 238, 0.56);
  }

  body[data-route="/services/injection-cosmetology"] .ij-dir-kicker {
    margin-top: clamp(48px, 7vw, 94px);
  }

  body[data-route="/services/injection-cosmetology"] .ij-dir h1 {
    max-width: 11ch;
    margin: 16px 0 clamp(64px, 8vw, 120px);
    font-size: clamp(72px, 8.2vw, 132px) !important;
    font-weight: 400 !important;
    line-height: 0.88 !important;
    letter-spacing: -0.075em !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-board {
    display: block;
    aspect-ratio: auto;
    background: transparent !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-board > img {
    display: none;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card {
    position: relative;
    min-height: clamp(560px, 76svh, 760px);
    margin: 0 0 30px;
    padding: clamp(44px, 5vw, 76px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--desktop-ink) !important;
    isolation: isolate;
    background-color: var(--desktop-surface) !important;
    background-position: center 32% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card::before,
  body[data-route="/services/injection-cosmetology"] .ij-card::after {
    position: absolute;
    content: "";
    inset: 0;
    width: auto;
    height: auto;
    pointer-events: none;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card::before {
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 9, 11, 0.95) 0 25%, rgba(8, 9, 11, 0.52) 48%, rgba(8, 9, 11, 0.04) 76%);
  }

  body[data-route="/services/injection-cosmetology"] .ij-card::after {
    z-index: -1;
    background: linear-gradient(0deg, rgba(8, 9, 11, 0.56), transparent 58%);
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(even)::before {
    background: linear-gradient(270deg, rgba(8, 9, 11, 0.95) 0 25%, rgba(8, 9, 11, 0.52) 48%, rgba(8, 9, 11, 0.04) 76%);
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(even) {
    align-items: flex-end;
    text-align: right;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(1) {
    background-image: url("/static/injection-casting-study-v2-assets/botulinum.jpg") !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(2) {
    background-image: url("/static/injection-casting-study-v2-assets/biorevitalization-wide-v1.png") !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(3) {
    background-image: url("/static/contour-plasty/casting/heroine-bob-front-v1.png") !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(4) {
    background-image: url("/static/injection-casting-study-v2-assets/mesotherapy.jpg") !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(5) {
    background-image: url("/static/collagen-therapy/casting/heroine-darkhair-v1.png") !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(6) {
    background-image: url("/static/injection-casting-study-v2-assets/plasmolifting-redhair-wide-v1.png") !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card:nth-of-type(7) {
    background-image: url("/static/injection-casting-study-v2-assets/lipolytics.jpg") !important;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card > span {
    position: relative;
    z-index: 1;
    width: min(8.7ch, 58%);
    height: auto;
    overflow: visible;
    clip-path: none;
    color: var(--desktop-ink);
    font-size: clamp(54px, 5.6vw, 90px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.065em;
    overflow-wrap: normal;
  }

  body[data-route="/services/injection-cosmetology"] .ij-card > small {
    position: relative;
    z-index: 1;
    display: block;
    width: min(48ch, 46%);
    margin-top: 24px;
    color: rgba(244, 242, 238, 0.76);
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.55;
  }

  body[data-route="/services/injection-cosmetology"] .ij-dir-note {
    max-width: 68ch;
    margin: 34px 0 0;
    color: rgba(244, 242, 238, 0.54);
  }

  /* The post-procedure routes are separate directions, not another card grid. */
  body[data-visual-system="journal"] .in-next {
    padding: clamp(100px, 10vw, 150px) 4vw;
  }

  body[data-visual-system="journal"] .in-next__inner {
    width: min(100%, 1480px);
  }

  body[data-visual-system="journal"] .in-next__head {
    margin-bottom: clamp(56px, 7vw, 96px);
  }

  body[data-visual-system="journal"] .in-next__grid {
    display: block;
  }

  body[data-visual-system="journal"] .in-next__card {
    height: clamp(320px, 28vw, 420px);
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
    border: 0 !important;
    border-top: 1px solid var(--desktop-line) !important;
    background: transparent !important;
    transform: none !important;
  }

  body[data-visual-system="journal"] .in-next__card:last-child {
    border-bottom: 1px solid var(--desktop-line) !important;
  }

  body[data-visual-system="journal"] .in-next__media {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: var(--desktop-surface) !important;
  }

  body[data-visual-system="journal"] .in-next__body {
    justify-content: center;
    padding: clamp(34px, 4vw, 70px);
  }

  body[data-visual-system="journal"] .in-next__body strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(42px, 4.8vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.06em;
  }

  body[data-route^="/services/injection-cosmetology/"] :is(
    .me-title,
    .pl-title,
    .bio-request-title,
    .bio-match-title,
    .me-panel > summary,
    .pl-panel > summary,
    .bio-panel > summary
  ) {
    font-family: Arial, Helvetica, sans-serif !important;
  }

  body[data-visual-system="journal"] .in-next__body > span {
    max-width: 48ch;
    margin: 20px 0 28px;
    font-size: 17px;
  }

  body[data-visual-system="journal"] .in-next__back {
    margin-top: 58px;
    padding: 28px 0;
    border: 0 !important;
    border-top: 1px solid var(--desktop-line) !important;
    border-bottom: 1px solid var(--desktop-line) !important;
    background: transparent !important;
  }

  body[data-visual-system="journal"] .in-next__back-copy strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(24px, 2.4vw, 38px);
    letter-spacing: -0.045em;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  body[data-route="/services/hardware-cosmetology"] .direction-procedure-grid > .procedure-card::before {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Global desktop editorial system
   --------------------------------------------------------------------------
   This layer is deliberately broader than the direction studies above. It
   resolves the remaining public templates into four related archetypes:
   index, detail, article and document. Approved cinematic/journey scenes keep
   their own composition; shared legacy templates no longer fall back to the
   old paper/card site.
*/
@media (min-width: 1024px) {
  body[data-visual-system="journal"] {
    --desktop-shell: min(calc(100% - 8vw), 1600px);
    --desktop-reading: min(100%, 72ch);
    --desktop-space: clamp(92px, 9vw, 148px);
  }

  body[data-visual-system="journal"] main {
    overflow: clip;
  }

  body[data-visual-system="journal"] main :is(.btn-outline, .btn.btn-outline) {
    border-color: var(--desktop-line) !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] main .btn:not(.filter-chip) {
    border: 1px solid var(--desktop-ink) !important;
    background: var(--desktop-ink) !important;
    color: var(--desktop-bg) !important;
    box-shadow: none !important;
  }

  body[data-visual-system="journal"] main .btn:not(.filter-chip):is(:hover, :focus-visible) {
    border-color: var(--desktop-focus) !important;
    background: var(--desktop-focus) !important;
    color: var(--desktop-bg) !important;
  }

  body[data-visual-system="journal"] main :is(.btn-outline, .btn.btn-outline) {
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] main :is(.link-arrow, .card-arrow) {
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] main :is(.section-intro, .detail-section > p, .task-content p) {
    color: var(--desktop-muted) !important;
  }

  /* Shared first screen for index, profile, problem, equipment and article
     routes. The approved service journeys use their own named hero classes. */
  body[data-route^="/problems"] .inner-hero,
  body[data-route^="/equipment"] .inner-hero,
  body[data-route^="/specialists"] .inner-hero,
  body[data-route^="/articles"] .inner-hero {
    min-height: clamp(540px, 68svh, 720px) !important;
    padding: 0 !important;
    display: flex;
    align-items: stretch;
    border: 0 !important;
    border-bottom: 1px solid var(--desktop-line) !important;
    background: var(--desktop-bg) !important;
  }

  body[data-route^="/problems"] .inner-hero > .container,
  body[data-route^="/equipment"] .inner-hero > .container,
  body[data-route^="/specialists"] .inner-hero > .container,
  body[data-route^="/articles"] .inner-hero > .container {
    width: var(--desktop-shell) !important;
    max-width: none !important;
    min-height: inherit;
    padding: 118px 0 82px;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-rows: min-content;
    gap: 0 clamp(18px, 2vw, 34px) !important;
    align-content: space-between;
  }

  body[data-route^="/problems"] .inner-hero .breadcrumbs,
  body[data-route^="/equipment"] .inner-hero .breadcrumbs,
  body[data-route^="/specialists"] .inner-hero .breadcrumbs,
  body[data-route^="/articles"] .inner-hero .breadcrumbs {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    color: rgba(244, 242, 238, 0.5) !important;
  }

  body[data-route^="/problems"] .inner-hero > .container > .eyebrow,
  body[data-route^="/equipment"] .inner-hero > .container > .eyebrow,
  body[data-route^="/specialists"] .inner-hero > .container > .eyebrow,
  body[data-route^="/articles"] .inner-hero > .container > .eyebrow {
    grid-column: 1 / -1 !important;
    align-self: end;
    margin: auto 0 18px;
  }

  body[data-route^="/problems"] .inner-hero h1,
  body[data-route^="/equipment"] .inner-hero h1,
  body[data-route^="/specialists"] .inner-hero h1,
  body[data-route^="/articles"] .inner-hero h1 {
    grid-column: 1 / 9 !important;
    max-width: 12ch !important;
    margin: 0 !important;
    color: var(--desktop-ink) !important;
    font-size: clamp(72px, 7.4vw, 118px) !important;
    font-weight: 400 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.075em !important;
    text-wrap: balance;
  }

  body[data-route^="/problems"] .inner-hero .inner-hero-lead,
  body[data-route^="/equipment"] .inner-hero .inner-hero-lead,
  body[data-route^="/specialists"] .inner-hero .inner-hero-lead,
  body[data-route^="/articles"] .inner-hero .inner-hero-lead {
    grid-column: 10 / -1 !important;
    align-self: end;
    max-width: 39ch;
    margin: 0 0 4px !important;
    color: var(--desktop-muted) !important;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.58;
  }

  /* Index controls are part of the page, not a dim utility strip. */
  body[data-visual-system="journal"] :is(.catalog-toolbar, .filter-chips) {
    border-color: var(--desktop-line) !important;
  }

  body[data-visual-system="journal"] .catalog-toolbar {
    margin-bottom: clamp(64px, 7vw, 104px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
    gap: 28px 60px;
    align-items: end;
  }

  body[data-visual-system="journal"] .filter-chips {
    display: flex;
    gap: clamp(22px, 2.4vw, 40px);
    overflow: visible;
  }

  body[data-visual-system="journal"] .filter-chip {
    min-height: 54px;
    padding: 0 0 12px;
    border: 0 !important;
    border-bottom: 1px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(244, 242, 238, 0.58) !important;
    font-size: 13px;
    white-space: nowrap;
  }

  body[data-visual-system="journal"] .filter-chip:is(:hover, :focus-visible),
  body[data-visual-system="journal"] .filter-chip.active {
    border-bottom-color: var(--desktop-ink) !important;
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] .catalog-search input {
    width: 100%;
    min-height: 54px;
    padding: 0 34px 12px 0;
    border: 0 !important;
    border-bottom: 1px solid var(--desktop-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] .catalog-search input::placeholder {
    color: rgba(244, 242, 238, 0.54);
    opacity: 1;
  }

  /* Problems hub: one legible decision list. No dark-on-dark headings and no
     notebook grid. */
  body[data-route="/problems"] .task-section {
    padding: var(--desktop-space) 0 !important;
    border: 0 !important;
    background: var(--desktop-bg) !important;
  }

  body[data-route="/problems"] .inner-hero .task-entry-grid {
    grid-column: 1 / -1;
    width: 100%;
    margin: 54px 0 0;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 34px) !important;
    align-self: end;
  }

  body[data-route="/problems"] .inner-hero .task-entry {
    min-height: 118px;
    padding: 22px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--desktop-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
    display: grid !important;
    grid-template-rows: auto 1fr auto;
    align-content: start;
    justify-content: stretch;
  }

  body[data-route="/problems"] .inner-hero .task-entry strong {
    color: var(--desktop-ink) !important;
    font: 400 clamp(24px, 2.2vw, 36px)/1 Arial, Helvetica, sans-serif !important;
    letter-spacing: -0.045em;
  }

  body[data-route="/problems"] .inner-hero .task-entry span {
    display: block;
    margin-top: 16px;
    color: var(--desktop-muted) !important;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.06em;
  }

  body[data-route="/problems"] .task-section > .container {
    width: var(--desktop-shell);
    max-width: none;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 clamp(18px, 2vw, 34px);
  }

  body[data-route="/problems"] .task-section > .container > :is(.eyebrow, h2, .section-intro, .task-laser-actions) {
    grid-column: 1 / 5;
  }

  body[data-route="/problems"] .task-section h2 {
    max-width: 8ch;
    margin: 18px 0 28px;
    color: var(--desktop-ink) !important;
    font-size: clamp(54px, 5.6vw, 88px) !important;
    font-weight: 400 !important;
    line-height: 0.94 !important;
  }

  body[data-route="/problems"] .task-section .section-intro {
    max-width: 37ch;
    margin: 0;
    font-size: 16px;
    line-height: 1.58;
  }

  body[data-route="/problems"] .task-grid {
    grid-column: 6 / -1;
    display: block !important;
    counter-reset: problem-row;
  }

  body[data-route="/problems"] .task-card {
    counter-increment: problem-row;
    border: 0 !important;
    border-top: 1px solid var(--desktop-line) !important;
    background: transparent !important;
  }

  body[data-route="/problems"] .task-card:last-child {
    border-bottom: 1px solid var(--desktop-line) !important;
  }

  body[data-route="/problems"] .task-card > summary {
    min-height: 102px;
    padding: 22px 0 !important;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    gap: 18px;
    align-items: center;
    color: var(--desktop-ink) !important;
  }

  body[data-route="/problems"] .task-card > summary::before {
    content: counter(problem-row, decimal-leading-zero);
    color: rgba(244, 242, 238, 0.42);
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  body[data-route="/problems"] .task-card summary strong {
    color: var(--desktop-ink) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(25px, 2.4vw, 38px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  body[data-route="/problems"] .task-card summary small {
    display: block;
    margin-top: 7px;
    color: var(--desktop-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  body[data-route="/problems"] .task-card .task-content {
    padding: 0 42px 34px 64px !important;
  }

  body[data-route="/problems"] .task-card .task-content p {
    max-width: 58ch;
    margin: 0 0 18px;
  }

  body[data-route="/problems"] .task-card .task-content a {
    display: table;
    margin-top: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(244, 242, 238, 0.5);
    color: var(--desktop-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  body[data-route="/problems"] .task-card[open],
  body[data-route="/problems"] .task-card:hover {
    background: linear-gradient(90deg, rgba(244, 242, 238, 0.035), transparent) !important;
  }

  body[data-route="/problems"] #laser .task-laser-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Equipment index: image-led staggered editorial field. */
  body[data-route="/equipment"] .equipment.section,
  body[data-route="/equipment"] section.equipment {
    padding: var(--desktop-space) 0 !important;
  }

  body[data-route="/equipment"] .equipment-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(70px, 8vw, 120px) clamp(20px, 2.2vw, 36px);
    background: transparent !important;
  }

  body[data-route="/equipment"] .equipment-card {
    grid-column: span 6;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(4n + 1),
  body[data-route="/equipment"] .equipment-card:nth-child(4n) {
    grid-column: span 7;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(4n + 2),
  body[data-route="/equipment"] .equipment-card:nth-child(4n + 3) {
    grid-column: span 5;
  }

  body[data-route="/equipment"] .equipment-visual {
    aspect-ratio: 16 / 10;
    margin: 0 0 26px;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      radial-gradient(circle at 58% 42%, rgba(221, 225, 238, 0.36), transparent 18%),
      linear-gradient(145deg, #282a31, #111216 58%, #1d1e23) !important;
    background-position: center !important;
    background-size: cover !important;
    filter: saturate(0.78) contrast(1.03);
  }

  body[data-route="/equipment"] .equipment-visual::before,
  body[data-route="/equipment"] .equipment-visual::after {
    display: none !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(1) .equipment-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.16), rgba(10, 11, 13, 0.02)), url("/static/body-correction-real/ems-applicator.jpg") !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(2) .equipment-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.18), rgba(10, 11, 13, 0.02)), url("/static/body-correction-real/velashape-session-selected-936A8462.jpg") !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(3) .equipment-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.16), rgba(10, 11, 13, 0.02)), url("/static/hardware-direction/smas-procedure/face-session-v1.jpg") !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(4) .equipment-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.16), rgba(10, 11, 13, 0.02)), url("/static/microneedle-rf-face/scenes/rf-preparation-assessment-v1.jpg") !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(5) .equipment-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.16), rgba(10, 11, 13, 0.02)), url("/static/facial-cleansing/methods-2026-11-25/hydrafacial-procedure.png") !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(6) .equipment-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.16), rgba(10, 11, 13, 0.02)), url("/static/hardware-direction/bbl-procedure/face-session.jpg") !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(7) .equipment-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.2), rgba(10, 11, 13, 0.04)), url("/static/catalog-card-study-assets/laser-hair-removal.png") !important;
  }

  body[data-route="/equipment"] .equipment-card:nth-child(4n + 2) .equipment-visual,
  body[data-route="/equipment"] .equipment-card:nth-child(4n + 3) .equipment-visual {
    aspect-ratio: 4 / 5;
  }

  body[data-route="/equipment"] .equipment-card h3 {
    max-width: 13ch;
    margin: 10px 0 15px;
    color: var(--desktop-ink) !important;
    font-size: clamp(38px, 4vw, 64px) !important;
    font-weight: 400 !important;
    line-height: 0.96 !important;
  }

  body[data-route="/equipment"] .equipment-card p:not(.article-meta) {
    max-width: 46ch;
    color: var(--desktop-muted) !important;
  }

  /* Specialist index: portraits keep prominence, but the repeated three-card
     catalogue becomes an editorial casting sequence. */
  body[data-route="/specialists"] main > .section {
    padding: var(--desktop-space) 0 !important;
  }

  body[data-route="/specialists"] .specialist-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(72px, 8vw, 124px) clamp(18px, 2vw, 34px);
    background: transparent !important;
  }

  body[data-route="/specialists"] .specialist-card {
    grid-column: span 4;
    border: 0 !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-route="/specialists"] .specialist-card:nth-child(6n + 1),
  body[data-route="/specialists"] .specialist-card:nth-child(6n + 6) {
    grid-column: span 5;
  }

  body[data-route="/specialists"] .specialist-card:nth-child(6n + 2),
  body[data-route="/specialists"] .specialist-card:nth-child(6n + 4) {
    grid-column: span 3;
  }

  body[data-route="/specialists"] .specialist-portrait {
    aspect-ratio: 3 / 4;
    margin: 0;
    overflow: hidden;
    border-radius: 0 !important;
  }

  body[data-route="/specialists"] .specialist-card:nth-child(6n + 2) .specialist-portrait,
  body[data-route="/specialists"] .specialist-card:nth-child(6n + 4) .specialist-portrait {
    aspect-ratio: 3 / 4.6;
  }

  body[data-route="/specialists"] .specialist-info {
    padding: 22px 0 0 !important;
  }

  body[data-route="/specialists"] .specialist-info h3 {
    color: var(--desktop-ink) !important;
    font-size: clamp(30px, 3.2vw, 52px) !important;
    font-weight: 400 !important;
    line-height: 0.98 !important;
  }

  body[data-route="/specialists"] .specialist-info p {
    color: var(--desktop-muted) !important;
  }

  /* Shared detail composition for problem, equipment and specialist pages. */
  body[data-visual-system="journal"] .detail-hero-grid,
  body[data-visual-system="journal"] .profile-hero-grid {
    grid-column: 1 / -1;
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 34px) !important;
    align-items: end;
  }

  body[data-visual-system="journal"] .detail-hero-grid > :first-child,
  body[data-visual-system="journal"] .profile-hero-grid > :first-child {
    grid-column: 1 / 8;
  }

  body[data-visual-system="journal"] .detail-hero-grid > :last-child,
  body[data-visual-system="journal"] .profile-hero-grid > :last-child {
    grid-column: 9 / -1;
  }

  body[data-visual-system="journal"] .detail-meta-card {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body[data-route^="/equipment/"] .equipment-detail-visual {
    height: clamp(440px, 56svh, 620px);
    border: 0 !important;
    border-radius: 0 !important;
    background-color: var(--desktop-surface) !important;
    background-position: center !important;
    background-size: cover !important;
    filter: saturate(0.78) contrast(1.03);
  }

  body[data-route^="/equipment/"] .equipment-detail-visual::before,
  body[data-route^="/equipment/"] .equipment-detail-visual::after {
    display: none !important;
  }

  body[data-route="/equipment/emsculpt"] .equipment-detail-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.14), rgba(10, 11, 13, 0.02)), url("/static/body-correction-real/ems-applicator.jpg") !important;
  }

  body[data-route="/equipment/velashape"] .equipment-detail-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.14), rgba(10, 11, 13, 0.02)), url("/static/body-correction-real/velashape-session-selected-936A8462.jpg") !important;
  }

  body[data-route="/equipment/smas-system"] .equipment-detail-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.14), rgba(10, 11, 13, 0.02)), url("/static/hardware-direction/smas-procedure/face-session-v1.jpg") !important;
  }

  body[data-route="/equipment/rf-platform"] .equipment-detail-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.14), rgba(10, 11, 13, 0.02)), url("/static/microneedle-rf-face/scenes/rf-preparation-assessment-v1.jpg") !important;
  }

  body[data-route="/equipment/hydrafacial"] .equipment-detail-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.14), rgba(10, 11, 13, 0.02)), url("/static/facial-cleansing/methods-2026-11-25/hydrafacial-procedure.png") !important;
  }

  body[data-route="/equipment/ipl-bbl-system"] .equipment-detail-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.14), rgba(10, 11, 13, 0.02)), url("/static/hardware-direction/bbl-procedure/face-session.jpg") !important;
  }

  body[data-route="/equipment/laser-system"] .equipment-detail-visual {
    background-image: linear-gradient(0deg, rgba(10, 11, 13, 0.18), rgba(10, 11, 13, 0.03)), url("/static/catalog-card-study-assets/laser-hair-removal.png") !important;
  }

  body[data-visual-system="journal"] .detail-meta-row {
    min-height: 72px;
    border-color: var(--desktop-line) !important;
    color: var(--desktop-muted) !important;
  }

  body[data-visual-system="journal"] .detail-meta-row strong {
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] .profile-hero-image {
    height: clamp(470px, 58svh, 650px);
    overflow: hidden;
    border-radius: 0 !important;
    background: var(--desktop-surface);
  }

  body[data-visual-system="journal"] .profile-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body[data-visual-system="journal"] .detail-layout {
    width: var(--desktop-shell);
    max-width: none !important;
    padding: var(--desktop-space) 0;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 0 clamp(18px, 2vw, 34px) !important;
    align-items: start;
  }

  body[data-visual-system="journal"] .detail-main {
    grid-column: 1 / 9;
  }

  body[data-visual-system="journal"] .detail-sidebar {
    grid-column: 10 / -1;
    position: sticky;
    top: 112px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body[data-visual-system="journal"] .detail-sidebar h3 {
    max-width: 12ch;
    margin: 16px 0 22px;
    color: var(--desktop-ink) !important;
    font-size: clamp(32px, 3.1vw, 50px) !important;
  }

  body[data-visual-system="journal"] .detail-section {
    padding: 0 0 clamp(90px, 9vw, 138px) !important;
    border: 0 !important;
    background: transparent !important;
  }

  body[data-visual-system="journal"] .detail-section + .detail-section {
    padding-top: 0 !important;
  }

  body[data-visual-system="journal"] .detail-section > h2 {
    max-width: 12ch;
    margin: 18px 0 30px;
    color: var(--desktop-ink) !important;
    font-size: clamp(48px, 5.3vw, 82px) !important;
    font-weight: 400 !important;
    line-height: 0.95 !important;
  }

  body[data-visual-system="journal"] .detail-section > p {
    max-width: 62ch;
    font-size: 17px;
  }

  body[data-visual-system="journal"] :is(.check-grid, .catalog-grid, .mini-location-grid, .compact-specialists) {
    display: block !important;
    background: transparent !important;
  }

  body[data-visual-system="journal"] :is(.check-item, .catalog-card, .mini-location, .compact-specialist) {
    min-height: 90px;
    padding: 26px 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--desktop-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] :is(.check-item, .catalog-card, .mini-location, .compact-specialist):last-child {
    border-bottom: 1px solid var(--desktop-line) !important;
  }

  body[data-visual-system="journal"] .catalog-card {
    display: grid !important;
    grid-template-columns: minmax(160px, 26%) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 70px);
    align-items: start;
  }

  body[data-visual-system="journal"] .catalog-card h3 {
    max-width: 17ch;
    margin: 0 0 12px;
    color: var(--desktop-ink) !important;
    font-size: clamp(28px, 3vw, 46px) !important;
    font-weight: 400 !important;
  }

  body[data-visual-system="journal"] .catalog-card p,
  body[data-visual-system="journal"] .mini-location p,
  body[data-visual-system="journal"] .compact-specialist span {
    color: var(--desktop-muted) !important;
  }

  /* Articles: long-form reading has its own quiet rhythm while remaining in
     the same graphite system. */
  body[data-route^="/articles/"] .article-page > .section {
    padding: var(--desktop-space) 0 !important;
    background: var(--desktop-bg) !important;
  }

  body[data-route^="/articles/"] .article-layout {
    width: var(--desktop-shell);
    max-width: none;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 0 clamp(18px, 2vw, 34px) !important;
  }

  body[data-route^="/articles/"] .article-body {
    grid-column: 1 / 9;
    max-width: 860px !important;
  }

  body[data-route^="/articles/"] .article-body > img:first-child {
    width: calc(100% + 8vw) !important;
    max-width: none;
    margin: 0 0 clamp(64px, 7vw, 100px) !important;
    border-radius: 0 !important;
  }

  body[data-route^="/articles/"] .article-body h2 {
    max-width: 15ch;
    margin: clamp(76px, 8vw, 118px) 0 28px !important;
    color: var(--desktop-ink) !important;
    font-size: clamp(42px, 4.5vw, 68px) !important;
    font-weight: 400 !important;
    line-height: 0.98 !important;
  }

  body[data-route^="/articles/"] .article-body h3 {
    margin-top: 54px !important;
    color: var(--desktop-ink) !important;
  }

  body[data-route^="/articles/"] .article-body p,
  body[data-route^="/articles/"] .article-body li {
    max-width: var(--desktop-reading);
    color: rgba(244, 242, 238, 0.76) !important;
    font-size: clamp(17px, 1.25vw, 19px) !important;
    line-height: 1.72 !important;
  }

  body[data-route^="/articles/"] .article-sidebar {
    grid-column: 10 / -1;
    position: sticky;
    top: 112px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body[data-route^="/articles/"] .article-sidebar h2 {
    color: var(--desktop-ink) !important;
    font-size: clamp(30px, 3vw, 46px) !important;
  }

  body[data-route^="/articles/"] .article-table-wrap table {
    border-color: var(--desktop-line) !important;
    color: var(--desktop-ink);
  }

  body[data-route^="/articles/"] .article-table-wrap :is(th, td) {
    border-color: var(--desktop-line) !important;
    background: transparent !important;
  }

  /* About and contacts: same system, different editorial arrangement. */
  body[data-route="/about"] :is(.info-hero, .info-section),
  body[data-route="/contacts"] :is(.contacts-hero, .contacts-section) {
    border: 0 !important;
    background: var(--desktop-bg) !important;
    color: var(--desktop-ink) !important;
  }

  body[data-route="/about"] .info-hero,
  body[data-route="/contacts"] .contacts-hero {
    min-height: clamp(540px, 68svh, 720px);
    padding: 118px 0 82px !important;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--desktop-line) !important;
  }

  body[data-route="/about"] .info-hero > .container,
  body[data-route="/contacts"] .contacts-hero > .container {
    width: var(--desktop-shell);
    max-width: none;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: min-content;
    gap: 0 clamp(18px, 2vw, 34px);
    align-content: space-between;
  }

  body[data-route="/about"] .info-hero .breadcrumbs,
  body[data-route="/contacts"] .contacts-hero .breadcrumbs,
  body[data-route="/about"] .info-hero .eyebrow,
  body[data-route="/contacts"] .contacts-hero .eyebrow {
    grid-column: 1 / -1;
  }

  body[data-route="/about"] .info-hero .eyebrow,
  body[data-route="/contacts"] .contacts-hero .eyebrow {
    margin: auto 0 18px;
  }

  body[data-route="/about"] .info-hero h1,
  body[data-route="/contacts"] .contacts-hero h1 {
    grid-column: 1 / 9;
    max-width: 11ch;
    margin: 0;
    color: var(--desktop-ink) !important;
    font: 400 clamp(72px, 7.4vw, 118px)/0.9 Arial, sans-serif !important;
    letter-spacing: -0.075em;
  }

  body[data-route="/about"] .info-lead,
  body[data-route="/contacts"] .contacts-hero > .container > p:last-child {
    grid-column: 10 / -1;
    align-self: end;
    margin: 0;
    color: var(--desktop-muted) !important;
    font-size: clamp(16px, 1.2vw, 19px);
  }

  body[data-route="/about"] .info-section,
  body[data-route="/contacts"] .contacts-section {
    padding: var(--desktop-space) 0 !important;
  }

  body[data-route="/about"] :is(.info-grid, .info-links),
  body[data-route="/contacts"] :is(.contacts-grid, .contacts-direct) {
    width: 100%;
  }

  body[data-route="/about"] .info-grid,
  body[data-route="/contacts"] .contacts-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(72px, 8vw, 124px) clamp(18px, 2vw, 34px);
  }

  body[data-route="/about"] .info-card,
  body[data-route="/contacts"] .contact-card {
    grid-column: span 6;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--desktop-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-route="/about"] .info-card h2,
  body[data-route="/about"] .info-card h3,
  body[data-route="/contacts"] .contact-card h2 {
    margin-top: 26px;
    color: var(--desktop-ink) !important;
    font: 400 clamp(40px, 4.4vw, 70px)/0.96 Arial, sans-serif !important;
    letter-spacing: -0.06em;
  }

  body[data-route="/contacts"] .contacts-direct {
    margin-top: clamp(80px, 9vw, 138px);
    padding: clamp(48px, 6vw, 88px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--desktop-surface) !important;
    color: var(--desktop-ink) !important;
  }

  /* Document routes stay compact; they should not look like a second cream
     website or create blank screens between short sections. */
  body[data-visual-system="journal"].journal-mode--document main :is(.legal-hero, .privacy-page, .consent-page, .patients-section, .legal-section) {
    padding-top: clamp(68px, 7vw, 108px) !important;
    padding-bottom: clamp(68px, 7vw, 108px) !important;
  }

  body[data-visual-system="journal"].journal-mode--document main :is(.legal-hero, .privacy-page, .consent-page, .patients-section, .legal-section) > .container {
    width: min(calc(100% - 12vw), 1160px);
    max-width: none;
  }

  body[data-visual-system="journal"].journal-mode--document main h1 {
    max-width: 13ch;
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"].journal-mode--document main :is(h2, h3) {
    color: var(--desktop-ink) !important;
  }

  /* Shared booking is a final editorial scene, not a boxed widget. */
  body[data-visual-system="journal"] .booking {
    padding: var(--desktop-space) 0 !important;
    border-top: 1px solid var(--desktop-line);
    background: var(--desktop-bg) !important;
  }

  body[data-visual-system="journal"] .booking-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 44%);
    gap: clamp(54px, 8vw, 130px);
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] .booking-copy,
  body[data-visual-system="journal"] .booking-contact {
    padding: 0 !important;
    background: transparent !important;
    color: var(--desktop-ink) !important;
  }

  body[data-visual-system="journal"] .booking-copy h2 {
    max-width: 9ch;
    margin: 18px 0 28px;
    color: var(--desktop-ink) !important;
    font-size: clamp(58px, 6vw, 94px) !important;
    font-weight: 400 !important;
    line-height: 0.92 !important;
  }

  body[data-visual-system="journal"] .booking-copy p,
  body[data-visual-system="journal"] .booking-contact p {
    color: var(--desktop-muted) !important;
  }

  body[data-visual-system="journal"] .booking-contact {
    border-top: 1px solid var(--desktop-line);
  }
}

/* v12 late overrides: these rules intentionally follow the previous global
   layer so the visual correction wins over the v10 index compositions. */
@media (min-width: 1024px) {
  body[data-route="/equipment"] .inner-hero,
  body[data-route="/specialists"] .inner-hero,
  body[data-route="/articles"] .inner-hero {
    min-height: clamp(470px, 54svh, 590px) !important;
  }

  body[data-route="/problems"] .inner-hero {
    min-height: clamp(590px, 66svh, 670px) !important;
  }

  body[data-route="/problems"] .inner-hero > .container,
  body[data-route="/equipment"] .inner-hero > .container,
  body[data-route="/specialists"] .inner-hero > .container,
  body[data-route="/articles"] .inner-hero > .container {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  body[data-route="/equipment"] .inner-hero h1,
  body[data-route="/specialists"] .inner-hero h1,
  body[data-route="/articles"] .inner-hero h1 {
    font-size: clamp(64px, 6.7vw, 104px) !important;
  }

  body[data-route="/problems"] .inner-hero .task-entry-grid {
    counter-reset: problem-entry;
    margin-top: 38px;
    gap: clamp(10px, 1.25vw, 20px) !important;
  }

  body[data-route="/problems"] .inner-hero .task-entry {
    counter-increment: problem-entry;
    min-height: 132px;
    padding: 20px 20px 18px !important;
    border: 0 !important;
    background: rgba(244, 242, 238, 0.045) !important;
    transition: background-color 180ms ease, transform 180ms ease;
  }

  body[data-route="/problems"] .inner-hero .task-entry::before {
    content: counter(problem-entry, decimal-leading-zero);
    margin-bottom: 20px;
    color: rgba(244, 242, 238, 0.42);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
  }

  body[data-route="/problems"] .inner-hero .task-entry:is(:hover, :focus-visible) {
    background: rgba(244, 242, 238, 0.09) !important;
    transform: translateY(-3px);
  }

  body[data-route="/problems"] .inner-hero .task-entry strong {
    font-size: clamp(21px, 1.75vw, 29px) !important;
  }

  body[data-route="/problems"] .inner-hero .task-entry span {
    margin-top: 13px;
  }

  body[data-route="/problems"] .task-section {
    padding: clamp(74px, 7vw, 110px) 0 !important;
  }

  body[data-route="/problems"] .task-section:nth-of-type(even) {
    background: #0f1012 !important;
  }

  body[data-route="/problems"] .task-section h2 {
    font-size: clamp(48px, 4.7vw, 74px) !important;
  }

  body[data-route="/problems"] .task-grid {
    display: grid !important;
    gap: 9px;
  }

  body[data-route="/problems"] .task-card,
  body[data-route="/problems"] .task-card:last-child {
    border: 0 !important;
    background: rgba(244, 242, 238, 0.038) !important;
  }

  body[data-route="/problems"] .task-card > summary {
    min-height: 84px;
    padding: 18px 22px !important;
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 14px;
  }

  body[data-route="/problems"] .task-card summary strong {
    font-size: clamp(22px, 1.9vw, 31px);
  }

  body[data-route="/problems"] .task-card .task-content {
    padding: 0 44px 28px 74px !important;
  }

  body[data-route="/problems"] .task-card[open],
  body[data-route="/problems"] .task-card:hover {
    background: rgba(244, 242, 238, 0.085) !important;
  }

  body[data-route="/equipment"] .equipment.section,
  body[data-route="/equipment"] section.equipment {
    padding: clamp(74px, 7vw, 112px) 0 !important;
  }

  body[data-route="/equipment"] .catalog-toolbar {
    margin-bottom: clamp(46px, 5vw, 72px);
  }

  body[data-route="/equipment"] .equipment-grid {
    gap: clamp(48px, 5vw, 76px) clamp(20px, 2.2vw, 36px);
  }

  body[data-route="/equipment"] .equipment-card:nth-child(4n + 2) .equipment-visual,
  body[data-route="/equipment"] .equipment-card:nth-child(4n + 3) .equipment-visual {
    aspect-ratio: 4 / 3;
  }

  body[data-route="/equipment"] .equipment-visual {
    margin-bottom: 20px;
  }

  body[data-route="/equipment"] .equipment-card h3 {
    margin-top: 8px;
    font-size: clamp(34px, 3.3vw, 54px) !important;
  }

  body[data-route="/specialists"] main > .section {
    padding: clamp(74px, 7vw, 112px) 0 !important;
  }

  body[data-route="/specialists"] .specialist-grid {
    gap: clamp(48px, 5vw, 78px) clamp(18px, 2vw, 34px);
  }

  body[data-route="/specialists"] .specialist-card:nth-child(6n + 2) .specialist-portrait,
  body[data-route="/specialists"] .specialist-card:nth-child(6n + 4) .specialist-portrait {
    aspect-ratio: 3 / 4;
  }

  body[data-route^="/articles/"] .article-page > .section {
    padding: clamp(74px, 7vw, 112px) 0 !important;
  }

  body[data-route^="/articles/"] .article-body > img:first-child {
    margin-bottom: clamp(46px, 5vw, 72px) !important;
  }

  body[data-route^="/articles/"] .article-body h2 {
    margin-top: clamp(54px, 6vw, 86px) !important;
  }
}

/* Problems route v15: four editorial category covers, using the approved
   homepage frame and a compact sticky stack. Desktop only. */
.problem-cover-stack {
  display: none;
}

@media (min-width: 1024px) {
  body[data-route="/problems"] .inner-hero {
    min-height: 0 !important;
    overflow: visible;
    border-bottom: 0 !important;
  }

  body[data-route="/problems"] .inner-hero > .container {
    min-height: 0 !important;
    padding-top: 118px !important;
    padding-bottom: 0 !important;
    align-content: start;
  }

  body[data-route="/problems"] .inner-hero .task-entry-grid {
    display: none !important;
  }

  body[data-route="/problems"] .problem-cover-stack {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: clamp(58px, 7vw, 92px);
    padding-bottom: 10svh;
  }

  body[data-route="/problems"] .problem-cover {
    position: sticky;
    top: 96px;
    display: block;
    width: min(1120px, calc(100vw - 128px), calc(68svh * 1.49));
    aspect-ratio: 2200 / 1476;
    margin: 0 auto 13svh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: #303039;
    color: #f5f5f3;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
    isolation: isolate;
    text-decoration: none;
    transform-origin: center top;
  }

  body[data-route="/problems"] .problem-cover:nth-child(1) { z-index: 1; }
  body[data-route="/problems"] .problem-cover:nth-child(2) { z-index: 2; }
  body[data-route="/problems"] .problem-cover:nth-child(3) { z-index: 3; }
  body[data-route="/problems"] .problem-cover:nth-child(4) { z-index: 4; }

  body[data-route="/problems"] .problem-cover > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.84) contrast(1.025);
    transition: transform 0.8s ease, filter 0.5s ease;
  }

  body[data-route="/problems"] .problem-cover-shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(270deg, rgba(8, 10, 14, 0.86) 0%, rgba(8, 10, 14, 0.63) 34%, rgba(8, 10, 14, 0.12) 66%, rgba(8, 10, 14, 0.03) 100%),
      linear-gradient(0deg, rgba(8, 10, 14, 0.5), transparent 50%);
  }

  body[data-route="/problems"] .problem-cover-meta {
    position: absolute;
    top: 28px;
    right: 30px;
    left: 30px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
    font: 700 10px/1.3 Arial, Helvetica, sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  body[data-route="/problems"] .problem-cover > strong {
    position: absolute;
    right: 34px;
    bottom: 34px;
    width: min(48%, 520px);
    color: #fff;
    font: 500 clamp(42px, 4.35vw, 70px)/0.96 Arial, Helvetica, sans-serif;
    letter-spacing: -0.065em;
    text-wrap: balance;
  }

  body[data-route="/problems"] .problem-cover:focus-visible {
    outline: 3px solid #b9c5ff;
    outline-offset: 5px;
  }

  @media (hover: hover) {
    body[data-route="/problems"] .problem-cover:hover > img {
      filter: saturate(0.94) contrast(1.035);
      transform: scale(1.012);
    }
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  body[data-route="/problems"] .problem-cover > img {
    transition: none;
  }
}

/* Body requests: category -> direction -> concrete request. */
.body-editorial-groups {
  display: none;
}

@media (min-width: 1024px) {
  /* The old request accordions are retained only as a source for the parallel
     mobile route. Desktop categories are rebuilt one by one and must not fall
     through into the former technical lists. */
  body[data-route="/problems"] #face,
  body[data-route="/problems"] #hair,
  body[data-route="/problems"] #laser {
    display: none !important;
  }

  body[data-route="/problems"] .body-editorial-groups [hidden] {
    display: none !important;
  }

  body[data-route="/problems"] #body .body-legacy-grid {
    display: none !important;
  }

  body[data-route="/problems"] #body .body-editorial-groups,
  body[data-route="/problems"] #face-catalog .body-editorial-groups {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: clamp(38px, 5vw, 68px);
    padding-bottom: 8svh;
  }

  body[data-route="/problems"] .body-group-overview {
    display: block;
  }

  body[data-route="/problems"] .body-group-scene,
  body[data-route="/problems"] .body-group-panel {
    position: sticky;
    top: 96px;
    display: block;
    width: min(1120px, 100%, calc(74svh * 1.49));
    aspect-ratio: 2200 / 1476;
    margin: 0 auto 13svh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: #41484b;
    padding: 0;
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.28);
    color: #fff;
    text-align: left;
    isolation: isolate;
  }

  body[data-route="/problems"] .body-group-scene:nth-child(1) { z-index: 1; }
  body[data-route="/problems"] .body-group-scene:nth-child(2) { z-index: 2; }
  body[data-route="/problems"] .body-group-scene:nth-child(3) { z-index: 3; }
  body[data-route="/problems"] .body-group-scene:nth-child(4) { z-index: 4; }

  body[data-route="/problems"] .body-group-scene:last-child {
    margin-bottom: 0;
  }

  body[data-route="/problems"] .body-group-scene > img,
  body[data-route="/problems"] .body-group-panel > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.82) contrast(1.035);
    transition: filter 240ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  body[data-route="/problems"] .body-group-shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(13, 16, 18, 0.92) 0%, rgba(13, 16, 18, 0.78) 37%, rgba(13, 16, 18, 0.28) 62%, rgba(13, 16, 18, 0.04) 100%),
      linear-gradient(0deg, rgba(10, 12, 14, 0.36), transparent 52%);
  }

  body[data-route="/problems"] .body-group-copy {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    display: flex;
    width: min(54%, 590px);
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3.2vw, 48px);
  }

  body[data-route="/problems"] .body-group-scene .body-group-copy {
    justify-content: center;
    width: min(56%, 620px);
  }

  body[data-route="/problems"] .body-group-scene .body-group-copy > span {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.72);
    font: 700 10px/1.3 Arial, Helvetica, sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  body[data-route="/problems"] .body-group-scene .body-group-copy > strong {
    display: block;
    max-width: 12ch;
    color: #fff;
    font: 500 clamp(48px, 5.6vw, 82px)/0.94 Arial, Helvetica, sans-serif;
    letter-spacing: -0.065em;
  }

  body[data-route="/problems"] .body-group-copy > p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.72);
    font: 700 10px/1.3 Arial, Helvetica, sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  body[data-route="/problems"] .body-group-copy h2,
  body[data-route="/problems"] .body-group-copy h3 {
    margin: 0 0 clamp(20px, 2.2vw, 30px);
    color: #fff;
    font: 500 clamp(38px, 4vw, 62px)/0.98 Arial, Helvetica, sans-serif;
    letter-spacing: -0.06em;
  }

  body[data-route="/problems"] .body-group-scene .body-group-copy h2 {
    margin-bottom: clamp(16px, 1.8vw, 24px);
    font-size: clamp(34px, 3.7vw, 58px);
  }

  body[data-route="/problems"] .body-group-detail {
    width: 100%;
  }

  body[data-route="/problems"] .body-group-back {
    display: block;
    margin: 0 auto 24px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    background: transparent;
    padding: 5px 0 8px;
    color: rgba(255, 255, 255, 0.82);
    font: 700 12px/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  body[data-route="/problems"] .body-group-back:hover,
  body[data-route="/problems"] .body-group-back:focus-visible {
    color: #fff;
    border-bottom-color: #fff;
  }

  body[data-route="/problems"] .body-group-panel {
    position: relative;
    top: auto;
    margin-bottom: 0;
  }

  body[data-route="/problems"] .body-group-requests {
    display: grid;
    gap: 7px;
  }

  body[data-route="/problems"] .body-group-requests a {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 9px 13px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.105);
    color: rgba(255, 255, 255, 0.9);
    font: 500 clamp(13px, 1.05vw, 16px)/1.25 Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  }

  body[data-route="/problems"] .body-group-requests a:hover,
  body[data-route="/problems"] .body-group-requests a:focus-visible {
    background: rgba(255, 255, 255, 0.94);
    color: #171a1c;
    transform: translateX(5px);
  }

  body[data-route="/problems"] .body-group-requests a:focus-visible {
    outline: 3px solid #c8d2ff;
    outline-offset: 2px;
  }

  @media (hover: hover) {
    body[data-route="/problems"] .body-group-scene:focus-within > img {
      filter: saturate(0.92) contrast(1.045);
      transform: scale(1.012);
    }
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  body[data-route="/problems"] .body-group-scene > img,
  body[data-route="/problems"] .body-group-requests a {
    transition: none;
  }
}
