/* Pentimento - frame components. Models never edit this file.

   The components (vitals, x-ray, gallery wall, detail dialog) are rendered by
   /frame/gallery.js into mount points in the model-owned index.html.

   Every rule below sits in the `pentimento` cascade layer, so ANY un-layered
   rule in site/ wins over it, whatever its specificity. Theme the components
   by setting --pm-* custom properties, or restyle the .pm-* classes directly. */

@font-face {
  font-family: "Nohemi";
  src: url("fonts/Nohemi-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  /* Subset: brush, close, open_in_new, palette, radiology */
  font-family: "Pentimento Symbols";
  src: url("fonts/material-symbols-subset.woff2") format("woff2");
  font-weight: 300 500;
  font-display: block;
}

@layer pentimento {
  .pm-icon {
    font-family: "Pentimento Symbols";
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    width: 1em;
    overflow: hidden;
    white-space: nowrap;
    flex: none;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
  }
  .pm-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }

  /* ---------- vitals */
  .pm-vitals { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 0; }
  .pm-vitals > div { min-width: 64px; }
  .pm-vitals dt {
    font: 500 .75rem/1.3 var(--pm-font-text, inherit);
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--pm-muted, #776f64);
  }
  .pm-vitals dd {
    margin: 4px 0 0;
    font: 500 2rem/1 var(--pm-font-display, inherit);
    letter-spacing: -.02em; font-variant-numeric: tabular-nums;
    color: var(--pm-ink, currentColor);
  }

  /* ---------- x-ray */
  .pm-xray {
    display: block;
    background: var(--pm-stage, #141210);
    color: var(--pm-stage-ink, #ece6dc);
    font-family: var(--pm-font-text, inherit);
    padding: clamp(28px, 4vw, 48px) var(--pm-gutter, clamp(20px, 5vw, 72px)) clamp(28px, 4vw, 40px);
  }
  .pm-xray > * { max-width: 1296px; margin-left: auto; margin-right: auto; }
  .pm-xray__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
  .pm-xray__title { margin: 0; font: 500 clamp(1.3rem, 2vw, 1.6rem)/1.1 var(--pm-font-display, inherit); letter-spacing: -.01em; }

  .pm-segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 99px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
  .pm-segmented button {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 36px; padding: 0 14px; border: 0; border-radius: 99px;
    background: transparent; color: color-mix(in srgb, var(--pm-stage-ink, #ece6dc) 72%, transparent);
    font: 600 .875rem/1 var(--pm-font-text, inherit); cursor: pointer;
  }
  .pm-segmented button[aria-pressed="true"] { background: var(--pm-stage-ink, #ece6dc); color: var(--pm-stage, #141210); }
  .pm-segmented button:not([aria-pressed="true"]):hover { color: var(--pm-stage-ink, #fff); }

  .pm-stage {
    position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
    isolation: isolate; background: #000;
    box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 30px 80px -30px #000;
  }
  .pm-stage img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    opacity: 0; transition: opacity .45s ease;
  }
  .pm-stage img.is-on, .pm-stage img.is-under { opacity: 1; }
  .pm-stage.is-xray img.is-on { mix-blend-mode: difference; }
  .pm-stage.is-xray::after {
    content: "Bright = painted over"; position: absolute; right: 14px; bottom: 14px; z-index: 5;
    padding: 6px 10px; border-radius: 99px; font: 600 .75rem/1 var(--pm-font-text, inherit);
    background: rgb(0 0 0 / .6); color: #fff;
  }
  .pm-stage__empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; opacity: .6; }
  .pm-scrubber { margin-top: 18px; }
  .pm-scrubber input[type="range"] { width: 100%; height: 28px; accent-color: var(--pm-accent, #b8401e); cursor: pointer; }
  .pm-scrubber input[disabled] { opacity: .35; cursor: default; }
  .pm-caption { margin: 8px 0 0; font-size: .9rem; min-height: 1.6em; color: color-mix(in srgb, var(--pm-stage-ink, #ece6dc) 75%, transparent); }
  .pm-caption strong { color: var(--pm-stage-ink, #fff); font-weight: 600; }

  /* ---------- the wall */
  .pm-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: clamp(20px, 3vw, 40px);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    font-family: var(--pm-font-text, inherit);
  }
  .pm-card {
    display: flex; flex-direction: column; width: 100%; height: 100%;
    padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: pointer;
  }
  .pm-card__frame {
    display: block; padding: 10px; border-radius: 6px;
    background: var(--pm-paper, #faf8f4);
    box-shadow: 0 1px 2px rgb(40 30 20 / .06), 0 8px 24px -8px rgb(40 30 20 / .18);
    transition: box-shadow .3s, transform .3s cubic-bezier(.2, .7, .2, 1);
  }
  .pm-card__frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 2px; background: var(--pm-line, #d6cdbf); }
  .pm-card:hover .pm-card__frame, .pm-card:focus-visible .pm-card__frame {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgb(40 30 20 / .08), 0 22px 44px -14px rgb(40 30 20 / .32);
  }
  .pm-card:focus-visible { outline: none; }
  .pm-card:focus-visible .pm-card__frame { outline: 2px solid var(--pm-accent, #b8401e); outline-offset: 4px; }

  .pm-plate { display: grid; gap: 2px; margin-top: 16px; padding-left: 2px; }
  .pm-plate__no { font: 600 .75rem/1.4 var(--pm-font-text, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--pm-accent-2, #8a4b2a); }

  /* An archived layer: the way back to the current version. Fixed to the viewport so it
     survives whatever layout the model painted, including pages that scroll sideways.
     Colours are hard-coded on purpose: a model may theme --pm-ink and --pm-paper to the same
     value (turn 004 does), which would leave this label invisible. */
  .pm-fab {
    position: fixed; z-index: 90;
    right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px);
    display: inline-flex; align-items: center; gap: .55em;
    padding: .78em 1.1em .8em;
    border-radius: 999px;
    background: #faf8f4; color: #1d1b18;
    box-shadow: 0 10px 28px rgb(0 0 0 / .3), 0 1px 2px rgb(0 0 0 / .2), inset 0 0 0 1px rgb(0 0 0 / .14);
    font: 600 .72rem/1 var(--pm-font-text, inherit); letter-spacing: .1em; text-transform: uppercase;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
  }
  .pm-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgb(0 0 0 / .34), 0 1px 2px rgb(0 0 0 / .2); }
  .pm-fab:focus-visible { outline: 2px solid var(--pm-accent, #b8401e); outline-offset: 3px; }
  .pm-fab__arrow { font-size: 1.05em; line-height: 1; transition: transform .16s ease; }
  .pm-fab:hover .pm-fab__arrow { transform: translateX(3px); }
  @media (prefers-reduced-motion: reduce) {
    .pm-fab, .pm-fab__arrow { transition: none; }
  }

  .pm-badge {
    justify-self: start; display: inline-flex; align-items: center; width: max-content;
    margin: 4px 0 2px; padding: 3px 9px; border-radius: 99px;
    font: 600 .6875rem/1.3 var(--pm-font-text, inherit); letter-spacing: .04em;
    color: var(--pm-ink, #1d1b18);
    background: color-mix(in srgb, var(--pm-accent, #b8401e) 12%, var(--pm-paper, #faf8f4));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pm-accent, #b8401e) 40%, transparent);
  }
  .pm-card__frame { position: relative; }
  .pm-card__frame .pm-badge {
    position: absolute; top: 18px; left: 18px; margin: 0;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pm-accent, #b8401e) 40%, transparent), 0 2px 8px rgb(0 0 0 / .18);
  }
  .pm-detail__head .pm-badge { margin-top: 8px; }
  .pm-plate__title { font: 500 1.25rem/1.25 var(--pm-font-display, inherit); letter-spacing: -.01em; color: var(--pm-ink, inherit); }
  .pm-plate__by { font-size: .925rem; color: var(--pm-muted, #776f64); }
  .pm-empty { padding: 48px; border: 1px dashed var(--pm-line, #d6cdbf); border-radius: 14px; text-align: center; color: var(--pm-muted, #776f64); }

  /* ---------- detail dialog */
  .pm-button {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px;
    border: 1px solid var(--pm-line, #d6cdbf); border-radius: 99px;
    background: var(--pm-paper, #faf8f4); color: var(--pm-ink, #1d1b18);
    font: 600 .95rem/1 var(--pm-font-text, inherit); text-decoration: none; cursor: pointer;
  }
  .pm-button:hover { border-color: var(--pm-ink, #1d1b18); }
  .pm-button--primary { background: var(--pm-ink, #1d1b18); color: var(--pm-paper, #faf8f4); border-color: var(--pm-ink, #1d1b18); }
  .pm-button--primary:hover { background: var(--pm-accent, #b8401e); border-color: var(--pm-accent, #b8401e); color: #fff; }

  .pm-detail {
    width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
    padding: 0; border: 0; border-radius: 18px;
    background: var(--pm-paper, #faf8f4); color: var(--pm-ink, #1d1b18);
    font-family: var(--pm-font-text, inherit);
    box-shadow: 0 40px 120px -20px rgb(0 0 0 / .5);
  }
  .pm-detail::backdrop { background: rgb(20 18 16 / .72); }
  .pm-detail[open] { animation: pm-rise .28s cubic-bezier(.2, .7, .2, 1); }
  @keyframes pm-rise { from { opacity: 0; transform: translateY(12px) scale(.99); } }
  .pm-detail__inner { padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; }
  .pm-detail__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
  .pm-detail__head h2 { margin: 4px 0 0; font: 500 clamp(1.6rem, 3vw, 2.4rem)/1.05 var(--pm-font-display, inherit); letter-spacing: -.02em; }
  .pm-detail__head p { margin: 0; }
  .pm-detail__by { margin-top: 6px !important; color: var(--pm-muted, #776f64); }
  .pm-icon-button {
    display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
    border: 1px solid var(--pm-line, #d6cdbf); border-radius: 99px;
    background: var(--pm-paper, #faf8f4); color: var(--pm-ink, #1d1b18); cursor: pointer;
  }
  .pm-shots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 180px); gap: 16px; align-items: start; }
  .pm-shots figure { margin: 0; }
  .pm-shots img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--pm-line, #d6cdbf); }
  .pm-shots figcaption { margin-top: 8px; font-size: .8rem; color: var(--pm-muted, #776f64); }
  .pm-detail__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 32px; }
  .pm-note p { margin: 0 0 1em; max-width: 64ch; }
  .pm-note p:last-child { margin-bottom: 0; }
  /* The maintainer's changelog, when a turn carries one: full width under the note and facts */
  .pm-changes { grid-column: 1 / -1; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--pm-line, #d6cdbf); }
  .pm-changes__kicker { margin: 0 0 12px; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--pm-muted, #776f64); }
  .pm-note--changes ul { margin: 0 0 1em; padding-left: 1.1em; max-width: 68ch; }
  .pm-note--changes li { margin: 0 0 .55em; }
  .pm-note--changes li::marker { color: var(--pm-muted, #776f64); }
  .pm-note--changes code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; padding: .08em .32em; border-radius: 3px; background: rgba(0, 0, 0, .06); }
  .pm-facts { margin: 0; display: grid; gap: 14px; align-content: start; }
  .pm-facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--pm-line, #d6cdbf); }
  .pm-facts dt { font-size: .875rem; color: var(--pm-muted, #776f64); }
  .pm-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
  .pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
  .pm-facts__none { margin: 0; font-size: .9rem; color: var(--pm-muted, #776f64); max-width: 36ch; }

  /* ---------- technical revision: a blank card, same size as a photographed one */
  .pm-card__blank {
    display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; border-radius: 2px;
    background:
      repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in srgb, var(--pm-line, #d6cdbf) 45%, transparent) 11px 12px),
      color-mix(in srgb, var(--pm-line, #d6cdbf) 35%, var(--pm-paper, #faf8f4));
  }
  .pm-card__frame .pm-card__blank .pm-badge { position: static; margin: 0; justify-self: center; align-self: center; }

  /* ---------- wall tools: painter filter + count, and the pager */
  .pm-wall-tools {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
    margin: 0 0 24px; font-family: var(--pm-font-text, inherit);
  }
  .pm-filter { display: inline-flex; align-items: center; gap: 10px; }
  .pm-filter__label { font: 600 .75rem/1 var(--pm-font-text, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--pm-muted, #776f64); }
  .pm-filter__select {
    min-height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--pm-line, #d6cdbf); border-radius: 99px;
    background: var(--pm-paper, #faf8f4); color: var(--pm-ink, #1d1b18); font: 500 .925rem/1 var(--pm-font-text, inherit);
    cursor: pointer;
  }
  .pm-filter__select:focus-visible { outline: 2px solid var(--pm-accent, #b8401e); outline-offset: 2px; }
  .pm-wall-count { margin: 0; font-size: .875rem; color: var(--pm-muted, #776f64); font-variant-numeric: tabular-nums; }

  .pm-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 32px 0 0; font-family: var(--pm-font-text, inherit); }
  .pm-pager[hidden] { display: none; }
  .pm-pager__pages { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .pm-pager__btn {
    min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--pm-line, #d6cdbf); border-radius: 99px;
    background: var(--pm-paper, #faf8f4); color: var(--pm-ink, #1d1b18);
    font: 600 .875rem/1 var(--pm-font-text, inherit); font-variant-numeric: tabular-nums; cursor: pointer;
  }
  .pm-pager__btn:hover:not([disabled]) { border-color: var(--pm-ink, #1d1b18); }
  .pm-pager__btn.is-current { background: var(--pm-ink, #1d1b18); color: var(--pm-paper, #faf8f4); border-color: var(--pm-ink, #1d1b18); }
  .pm-pager__btn[disabled] { opacity: .4; cursor: default; }
  .pm-pager__btn:focus-visible { outline: 2px solid var(--pm-accent, #b8401e); outline-offset: 2px; }
  .pm-pager__gap { padding: 0 2px; color: var(--pm-muted, #776f64); }

  /* ---------- the lineup table */
  .pm-lineup { display: block; margin-top: clamp(40px, 6vw, 72px); font-family: var(--pm-font-text, inherit); color: var(--pm-ink, inherit); }
  .pm-lineup__title { margin: 0 0 8px; font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--pm-font-display, inherit); letter-spacing: -.015em; }
  .pm-lineup__intro { margin: 0 0 20px; max-width: 64ch; font-size: .925rem; color: var(--pm-muted, #776f64); }
  .pm-lineup__scroll { overflow-x: auto; }
  .pm-lineup__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .925rem; }
  .pm-lineup__table th, .pm-lineup__table td { padding: 12px 16px 12px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--pm-line, #d6cdbf); }
  .pm-lineup__table thead th { font: 600 .75rem/1.3 var(--pm-font-text, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--pm-muted, #776f64); }
  .pm-lineup__table tbody th { font-weight: 600; }
  .pm-lineup__table code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85em; }
  .pm-lineup__time, .pm-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .pm-lineup__table .pm-num { text-align: right; padding-right: 0; }
  .pm-lineup__table tr.is-former { color: var(--pm-muted, #776f64); }
  .pm-lineup__table tr.is-former th { font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1px; }
  .pm-status { font-weight: 600; }
  .pm-status--new { color: var(--pm-accent, #b8401e); }
  .pm-status--former { color: inherit; }

  /* ---------- the credits (fixed text; painters style the container) */
  .pm-credits { display: block; font-family: var(--pm-font-text, inherit); }
  .pm-credits p { margin: 0 auto .75em; max-width: 72ch; }
  .pm-credits p:last-child { margin-bottom: 0; }
  /* The disclosure is read, not glanced at: keep it in sentence case even inside an all-caps footer. */
  .pm-credits__how { font-size: .9em; opacity: .8; text-transform: none; letter-spacing: normal; line-height: 1.6; }

  /* ---------- the top bar: Pentimento's navigation, added by the frame on every relay page.
     Hard-coded colours and !important on purpose: inside a cascade layer, !important beats any
     un-layered painter rule, so a painter's global `nav`, `header` or `a` styles can't break or hide it. */
  .pm-topbar {
    display: block !important; position: relative !important; z-index: 80 !important;
    margin: 0 !important; padding: 0 clamp(20px, 5vw, 72px) !important;
    background: #efeae2 !important; color: #1d1b18 !important;
    font: 400 .875rem/1.4 "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif !important;
    letter-spacing: normal !important; text-transform: none !important; text-align: left !important;
    transform: none !important; opacity: 1 !important; visibility: visible !important;
  }
  .pm-topbar__inner {
    display: flex !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: center !important;
    gap: 12px 24px !important; max-width: 1296px !important; margin: 0 auto !important; padding: 20px 0 !important;
    border-bottom: 1px solid #d6cdbf !important;
  }
  .pm-topbar a { color: #1d1b18 !important; background: none !important; text-underline-offset: .2em !important; }
  .pm-topbar__home { font: 600 1rem/1 "Nohemi", ui-sans-serif, system-ui, sans-serif !important; letter-spacing: -.01em !important; text-decoration: none !important; }
  .pm-topbar__nav { display: flex !important; flex-wrap: wrap !important; gap: 20px !important; position: static !important; }
  .pm-topbar__nav a { text-decoration: underline !important; font-weight: 400 !important; }
  .pm-topbar__nav a[aria-current="page"] { font-weight: 700 !important; text-decoration: none !important; }
  .pm-topbar a:focus-visible { outline: 2px solid #b8401e !important; outline-offset: 3px !important; }

  /* ---------- rooms: the way from the gallery to the Studio and the exhibitions */
  .pm-rooms {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
    margin: 0 0 20px; font-family: var(--pm-font-text, inherit);
  }
  .pm-rooms__now { margin: 0; flex: 1 1 320px; font-size: .925rem; color: var(--pm-muted, #776f64); }
  .pm-rooms__now strong { color: var(--pm-ink, inherit); font-weight: 600; }
  .pm-rooms__now a { color: inherit; text-underline-offset: .2em; }
  .pm-rooms__links { display: flex; flex-wrap: wrap; gap: 8px; }
  .pm-rooms .pm-button { min-height: 40px; padding: 0 16px; font-size: .875rem; }

  /* ---------- the critic: a review by the painter who was handed this version */
  .pm-critic { grid-column: 1 / -1; margin: 0; padding: 18px 20px; border-radius: 12px;
    background: color-mix(in srgb, var(--pm-accent, #b8401e) 7%, var(--pm-paper, #faf8f4));
    box-shadow: inset 3px 0 0 var(--pm-accent, #b8401e); }
  .pm-critic__kicker { margin: 0 0 8px; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--pm-muted, #776f64); }
  .pm-critic blockquote { margin: 0; font: 500 1.05rem/1.5 var(--pm-font-text, inherit); max-width: 70ch; }
  .pm-critic--own { background: none; box-shadow: inset 3px 0 0 var(--pm-line, #d6cdbf); }
  .pm-critic--own blockquote { font-weight: 400; font-size: .95rem; }

  /* ---------- the Studio: the fixed label and the version history on a painter's product page.
     The label's colours are hard-coded (like .pm-fab) so no theme can make it unreadable. */
  .pm-studio-label {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px;
    padding: 9px clamp(14px, 3vw, 28px);
    background: #1d1b18; color: #faf8f4;
    font: 500 .8125rem/1.45 var(--pm-font-text, "Plus Jakarta Sans", system-ui, sans-serif);
    letter-spacing: normal; text-transform: none;
  }
  .pm-studio-label p { margin: 0; }
  .pm-studio-label strong { font-weight: 700; }
  .pm-studio-label nav { display: flex; gap: 16px; }
  .pm-studio-label a { color: inherit; text-underline-offset: .2em; }
  .pm-studio-label a:focus-visible { outline: 2px solid #f0b38f; outline-offset: 2px; }

  .pm-studio-log { display: block; padding: clamp(32px, 5vw, 64px) var(--pm-gutter, clamp(20px, 5vw, 72px));
    font-family: var(--pm-font-text, "Plus Jakarta Sans", system-ui, sans-serif); color: var(--pm-ink, inherit); }
  .pm-studio-log__inner { max-width: 1100px; margin: 0 auto; }
  .pm-studio-log__title { margin-top: 0; margin-bottom: 6px; font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--pm-font-display, "Nohemi", system-ui, sans-serif); letter-spacing: -.015em; }
  .pm-studio-log__intro { margin-top: 0; margin-bottom: 24px; color: var(--pm-muted, #776f64); max-width: 64ch; }
  .pm-studio-log ol { list-style: none; padding: 0; display: grid; gap: 0; }
  .pm-studio-log li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--pm-line, #d6cdbf); }
  .pm-studio-log li img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 0 0 1px var(--pm-line, #d6cdbf); }
  .pm-studio-log__v { margin: 0 0 4px; font: 600 .75rem/1.4 var(--pm-font-text, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--pm-accent-2, #8a4b2a); }
  .pm-studio-log__text { margin: 0; max-width: 68ch; }
  .pm-studio-log__pivot { font-weight: 700; color: var(--pm-accent, #b8401e); }
  @media (max-width: 560px) { .pm-studio-log li { grid-template-columns: 1fr; } .pm-studio-log li img { max-width: 240px; } }

  @media (max-width: 720px) {
    .pm-shots, .pm-detail__body { grid-template-columns: 1fr; }
    .pm-shots figure + figure { max-width: 200px; }
    .pm-vitals dd { font-size: 1.6rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .pm-stage img, .pm-card__frame, .pm-detail[open] { transition: none; animation: none; }
  }
}
