/* ==========================================================================
   Express Facades: roof and wall profiles on Home (T-040)
   Loaded on Home only (front matter "css"), before facades.css; it uses the Facades tokens and adds only
   .prange classes. Markup: src/partials/profile-range.html; behaviour: assets/js/facades-profiles.js.

   - Phones and tablets (and any screen without a mouse): the two groups as lists of links, each row with its
     profile glyph on a small drawing tile. Wall and roof side by side from 768.
   - 1024 and up with a mouse: the list on the left (wall above roof; each row on one line from 1280) and the
     stage on the right: a drawing sheet that shows the selected profile, with its description, facts and link
     under it. The selected row carries a brass bar and full ink; the rest are quieter.
   - The stage's images and captions share one cell each, so changing profile never moves the page.
   - Reduced motion: no crossfade and no settle.
   Shape rule kept: sheet 26px (as the renders), tiles 10px, focus rings 12px.
   ========================================================================== */

.prange { display: grid; gap: 28px; }

/* The list */
.prange__index { display: grid; gap: 28px; align-content: start; min-width: 0; }
.prange__group { min-width: 0; }
.prange__group-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line-2);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}
.prange__count { color: var(--c-muted); letter-spacing: 0.04em; }
.prange__item { border-bottom: 1px solid var(--c-line); }
.prange__link {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 11px 2px 11px 0;
  color: var(--c-ink);
  text-decoration: none;
}
.prange__glyph {
  display: grid;
  place-items: center;
  width: 72px;
  height: 48px;
  border-radius: 10px;
  background:
    linear-gradient(rgba(28, 32, 36, 0.045) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(90deg, rgba(28, 32, 36, 0.045) 1px, transparent 1px) 0 0 / 8px 8px,
    #fff;
  box-shadow: inset 0 0 0 1px var(--c-line);
  color: var(--c-ink-2);
  transition: color 0.25s ease;
}
.prange__glyph-svg { display: block; width: 54px; height: 18px; overflow: visible; }
.prange__text { display: grid; gap: 3px; min-width: 0; }
.prange__name {
  font-size: 1.0625rem;
  font-weight: 600;
  font-stretch: var(--wd-head);
  line-height: 1.2;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}
.prange__shape { font-family: var(--f-mono); font-size: 0.75rem; line-height: 1.35; letter-spacing: 0.01em; color: var(--c-muted); }
.prange__arrow { width: 18px; height: 18px; color: var(--c-accent-ink); transition: transform 0.4s var(--ease), opacity 0.25s ease; }
.prange__link:hover .prange__arrow { transform: translateX(3px); }
.prange__link:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; border-radius: 12px; }

/* Under the list: the shop line and, while the range is provisional, the TBC note */
.prange__foot { display: grid; gap: 12px; }
.prange__shop {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--c-text-2);
}
.prange__shop > .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--c-accent-ink); }
.prange__shop-link {
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(28, 32, 36, 0.3);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.prange__shop-link:hover { color: var(--c-accent-ink); text-decoration-color: currentColor; }
.prange__shop-link .icon { width: 0.85em; height: 0.85em; margin-left: 3px; vertical-align: -0.06em; color: var(--c-accent-ink); }
.prange__note { font-size: 0.8125rem; line-height: 1.5; color: var(--c-muted); }
.prange__note .tbc { margin-right: 6px; }

/* Very narrow phones: a smaller tile, so the names keep their width */
@media (max-width: 389.98px) {
  .prange__link { grid-template-columns: 60px minmax(0, 1fr) 18px; gap: 12px; }
  .prange__glyph { width: 60px; height: 44px; }
  .prange__glyph-svg { width: 46px; height: 16px; }
}

/* The stage: only where a mouse can point at the list */
.prange__stage { display: none; }

@media (min-width: 768px) {
  .prange__index { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 44px); }
  .prange__foot { grid-column: 1 / -1; max-width: 46rem; }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .prange {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(36px, 4.4vw, 72px);
    align-items: stretch;
  }
  .prange__index {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    row-gap: 26px;
  }
  .prange__foot { grid-column: auto; align-self: end; max-width: none; padding-top: 4px; }

  /* Rows: the glyph sits in the line, no tile; the selected row (aria-current, set by the script) is full ink
     with a brass bar; the others are quieter until hovered or focused */
  .prange__link {
    grid-template-columns: 50px minmax(0, 1fr) 18px;
    gap: 16px;
    min-height: 58px;
    padding: 9px 4px 9px 18px;
  }
  .prange__link::before {
    content: "";
    position: absolute;
    top: 13px;
    bottom: 13px;
    left: 0;
    width: 3px;
    border-radius: 3px;
    background: var(--c-accent);
    transform: scaleY(0);
    transition: transform 0.35s var(--ease);
  }
  .prange__glyph { width: 50px; height: 22px; border-radius: 0; background: none; box-shadow: none; color: var(--c-muted); }
  .prange__glyph-svg { width: 50px; height: 17px; }
  .prange__name { color: var(--c-text-2); }
  .prange__arrow { opacity: 0; transform: translateX(-6px); }
  .prange__link:hover .prange__name,
  .prange__link[aria-current] .prange__name { color: var(--c-ink); }
  .prange__link:hover .prange__glyph,
  .prange__link[aria-current] .prange__glyph { color: var(--c-ink); }
  .prange__link[aria-current]::before { transform: scaleY(1); }
  .prange__link[aria-current] .prange__arrow { opacity: 1; transform: none; }
  .prange__link[aria-current]:hover .prange__arrow { transform: translateX(3px); }

  .prange__stage { display: grid; align-content: start; gap: 20px; min-width: 0; }
  .prange__sheet {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: var(--r-xl);
    background:
      linear-gradient(rgba(28, 32, 36, 0.045) 1px, transparent 1px) 0 0 / 20px 20px,
      linear-gradient(90deg, rgba(28, 32, 36, 0.045) 1px, transparent 1px) 0 0 / 20px 20px,
      #fff;
    box-shadow: inset 0 0 0 1px var(--c-line);
  }
  .prange__media {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .prange__media.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s var(--ease), visibility 0s;
  }
  .prange__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .prange__media--render .prange__img { padding: 3%; }
  .prange__kind {
    position: absolute;
    top: 20px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-ink-2);
  }
  .prange__kind::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c-accent); }

  /* Captions: all in one cell, the block keeps the height of the longest */
  .prange__caps { display: grid; }
  .prange__cap {
    grid-area: 1 / 1;
    display: grid;
    align-content: start;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .prange__cap.is-active { visibility: visible; opacity: 1; transition: opacity 0.45s var(--ease) 0.06s, visibility 0s; }
  .prange__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-family: var(--f-mono);
    font-size: 0.71875rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-muted);
  }
  .prange__meta > span:first-child { color: var(--c-accent-ink); }
  .prange__title {
    margin-top: 10px;
    font-size: clamp(1.375rem, 1.05rem + 0.6vw, 1.75rem);
    font-weight: 600;
    font-stretch: var(--wd-head);
    line-height: 1.1;
    letter-spacing: -0.025em;
  }
  .prange__line { margin-top: 8px; max-width: 54ch; font-size: var(--fs-small); line-height: 1.5; color: var(--c-text-2); }
  .prange__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 28px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--c-line);
  }
  .prange__facts { display: flex; flex-wrap: wrap; gap: 8px clamp(20px, 2.4vw, 36px); }
  .prange__facts dt {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-muted);
  }
  .prange__facts dd { margin-top: 3px; font-family: var(--f-mono); font-size: 0.875rem; font-weight: 500; line-height: 1.35; color: var(--c-ink); }
  .prange__more { font-weight: 600; white-space: nowrap; }
}

/* From 1280 the list column is wide enough for each row on one line: glyph, name, then the shape to the right */
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .prange__link { grid-template-columns: 50px minmax(0, 1fr) 18px; min-height: 54px; padding-block: 8px; }
  .prange__text { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; }
  .prange__shape { text-align: right; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  @keyframes prange-settle { from { transform: scale(1.025); } to { transform: none; } }
  .js .prange__media.is-active .prange__img { animation: prange-settle 0.9s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  .prange__media,
  .prange__media.is-active,
  .prange__cap,
  .prange__cap.is-active { transition: none; }
  .prange__name,
  .prange__arrow,
  .prange__link::before { transition: none; }
}

/* No drawing yet (32/1000: none until Express supplies its own section): the empty sheet with one quiet line */
.prange__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ==========================================================================
   T-039 part 2: the profiles landing page (/profiles/) and the family pages (/profiles/<slug>/)
   Loaded on those pages and Home (front matter "css"). Markup: src/pages/profiles.html,
   src/partials/profile-card.html, src/templates/profile.html; the filter: assets/js/facades-profiles.js.
   Shape rule kept: cards 22px, drawing sheets and the "More views" thumbnails 16px, swatches 6 to 10px.
   ========================================================================== */

/* Hero: our drawing on the white studio sheet, a little inset so the dimensions breathe */
.page-hero__frame--profile img { padding: clamp(8px, 2vw, 22px); }

/* The range: the filter (one row from 1024: use, shape, count) */
@media (min-width: 1024px) {
  .pfilter { grid-template-columns: auto minmax(220px, 300px) minmax(0, 1fr); align-items: end; column-gap: 28px; }
  .pfilter .filter-bar__controls { grid-template-columns: minmax(0, 1fr); }
  .pfilter .filter-bar__summary { justify-content: flex-end; padding-top: 0; border-top: 0; min-height: 48px; }
}

/* The range: cards */
.pgrid { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  scroll-margin-top: 110px;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.pcard[hidden] { display: none; }
.pcard:not(.pcard--row):hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: var(--c-line-2); }
.pcard:target { border-color: var(--c-accent); box-shadow: 0 0 0 2px var(--c-accent); }
.pcard__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin: 8px 8px 0;
  border-radius: 14px;
  background:
    linear-gradient(rgba(28, 32, 36, 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(28, 32, 36, 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
    #fff;
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.pcard__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.pcard__media--render img { padding: 4%; }
.pcard:not(.pcard--row):hover .pcard__media img { transform: scale(1.03); }
.pcard__kind {
  position: absolute;
  top: 12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.pcard__kind::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--c-accent); }
.pcard__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.pcard__use {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-family: var(--f-mono);
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-ink);
}
.pcard__title { font-size: 1.375rem; font-weight: 600; font-stretch: var(--wd-head); line-height: 1.12; letter-spacing: -0.025em; }
.pcard__title a { color: var(--c-ink); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__title a:focus-visible { outline: none; }
.pcard:has(.pcard__link:focus-visible) { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.pcard__code { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--c-muted); }
.pcard__text { font-size: var(--fs-small); line-height: 1.5; color: var(--c-text-2); }
.pcard__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}
.pcard__facts dt { font-family: var(--f-mono); font-size: 0.625rem; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.pcard__facts dd { margin-top: 3px; font-family: var(--f-mono); font-size: 0.8125rem; font-weight: 500; line-height: 1.35; }
.pcard__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 12px;
}
.pcard__more { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 600; }
.pcard__more .round-icon { width: 34px; height: 34px; transition: transform 0.5s var(--ease); }
.pcard:hover .pcard__more .round-icon { transform: rotate(45deg); }
.pcard__buy {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(28, 32, 36, 0.3);
}
.pcard__buy:hover { color: var(--c-accent-ink); text-decoration-color: currentColor; }
.pcard__buy .icon { width: 0.95em; height: 0.95em; color: var(--c-accent-ink); }
.pcard--row .pcard__actions { justify-content: flex-start; }

/* Finishes: small chips (woodgrain shown as a flat tone with a fine grain line; screen colours are approximate) */
.pswatches { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.pswatch,
.pcolour__chip { background-color: var(--swatch); box-shadow: inset 0 0 0 1px rgba(28, 32, 36, 0.16); }
.pswatch { width: 20px; height: 20px; border-radius: 6px; }
.pswatch--wood,
.pcolour--wood .pcolour__chip {
  background-image: repeating-linear-gradient(97deg, rgba(40, 24, 10, 0.1) 0 1px, transparent 1px 5px, rgba(255, 255, 255, 0.08) 5px 6px, transparent 6px 9px);
}
.compare-table--profiles { min-width: 980px; }
.compare-table--profiles .pswatches { margin-top: 0; }
.compare-table--profiles .pswatch { width: 16px; height: 16px; border-radius: 5px; }

@media (min-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Family page: the end-on section, and the end render beside it once it exists */
.profile-section { display: grid; gap: 14px; }
.profile-section__note { flex-basis: 100%; }
.profile-section__paper { overflow-x: auto; overscroll-behavior-x: contain; }
.profile-section__paper img { display: block; min-width: 700px; max-height: 540px; object-fit: contain; }
.profile-section__paper:focus-visible { outline: 2px solid var(--c-ink); outline-offset: -2px; }
@media (min-width: 768px) {
  .profile-section__paper img { min-width: 0; }
  .profile-section__hint { display: none; }
}
@media (min-width: 1024px) {
  .profile-section--pair { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
}

/* Family page: colours */
.pcolours {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-surface);
}
.pcolours__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 18px 12px; }
@media (min-width: 640px) { .pcolours__list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 14px; } }
.pcolour { display: grid; gap: 3px; align-content: start; }
.pcolour__chip { aspect-ratio: 4 / 3; margin-bottom: 7px; border-radius: 10px; }
.pcolour__code { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; }
.pcolour__name { font-size: 0.875rem; color: var(--c-text-2); }
.pcolour__buy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: start;
  min-height: 44px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(28, 32, 36, 0.3);
}
.pcolour__buy:hover { color: var(--c-accent-ink); text-decoration-color: currentColor; }
.pcolour__buy .icon { width: 0.95em; height: 0.95em; color: var(--c-accent-ink); }
@media (min-width: 1024px) {
  .pcolours { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
}

/* Buy online, or ask us for a quote */
.pbuy {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-surface);
}
.pbuy__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; font-stretch: var(--wd-head); line-height: 1.12; letter-spacing: -0.025em; }
.pbuy__route { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--c-line); }
.pbuy__route > p:not(.pbuy__label) { max-width: 44ch; font-size: var(--fs-small); color: var(--c-text-2); }
.pbuy__label { font-family: var(--f-mono); font-size: 0.71875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent-ink); }
.pbuy__link { justify-self: start; }
.pbuy__btn { justify-self: start; margin-top: 4px; }
@media (min-width: 900px) {
  .pbuy { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 28px; }
  .pbuy__route { padding-top: 0; padding-left: 24px; border-top: 0; border-left: 1px solid var(--c-line); }
}

/* Family page: "More views" (T-039 part 3; T-093: under the section, the colours being the image block's swatches):
   the other use's renders (Pro 53: the roof) and the joint variants, on the white studio sheet; each opens the photo
   viewer (main.js, the lightbox) */
.pviews { display: grid; gap: 12px; min-width: 0; }
.pviews--section { margin-top: clamp(28px, 3.4vw, 44px); }
.pviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.pviews__title { font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--c-ink); }
.pviews__label {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.pviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin: 0; padding: 0; list-style: none; }
.pviews__item { display: grid; gap: 8px; align-content: start; min-width: 0; }
.pviews__link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background:
    linear-gradient(rgba(28, 32, 36, 0.045) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(28, 32, 36, 0.045) 1px, transparent 1px) 0 0 / 20px 20px,
    #fff;
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.pviews__link img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.pviews__link:hover img { transform: scale(1.04); }
.pviews__link:focus-visible { outline: 3px solid var(--c-accent-ink); outline-offset: 3px; }
.pviews .gallery__zoom { right: 8px; bottom: 8px; width: 34px; height: 34px; box-shadow: inset 0 0 0 1px var(--c-line); }
.pviews .gallery__zoom .icon { width: 16px; height: 16px; }
.pviews__link:hover .gallery__zoom { transform: scale(1.08); }
.pviews__cap { font-size: var(--fs-xs); line-height: 1.45; color: var(--c-text-2); }
@media (min-width: 768px) {
  .pviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pviews__list--1,
  .pviews__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pviews__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .pcard,
  .pcard__media img,
  .pcard__more .round-icon,
  .pviews__link img,
  .pviews .gallery__zoom { transition: none; }
}
