/* MAIN STAGE pack: the look of a PLAIN TEXT PAGE (build/pages/: "Shipping, returns and privacy" and the pages that follow).
   Loaded by kit/modules/pages/module.php on a plain page only, after stage.css. Every rule starts with .slmg-dir-stage
   and names the page's own classes, so nothing here reaches any other page. Structure: a head section (breadcrumb, H1,
   contents line), then one section per part (id = the address a link jumps to: #shipping), each holding Text modules. */

/* one readable column, inside the page's side gutter */
.slmg-dir-stage .slmg-page .slmg-page__col { max-width: calc(68ch + 2 * var(--slmg-gut)); padding: 0 var(--slmg-gut); }

/* head: breadcrumb, the one H1, the contents line */
.slmg-dir-stage .slmg-page--head .slmg-page__col { padding-top: var(--slmg-s4); padding-bottom: var(--slmg-s6); }
.slmg-dir-stage .slmg-page__crumbs { margin-bottom: var(--slmg-s5); }
.slmg-dir-stage .slmg-page__title .et_pb_module_header { font-size: clamp(36px, calc(4.4vw / var(--vp-zoom, 1)), 72px); overflow-wrap: anywhere; }
.slmg-dir-stage .slmg-page__contents { margin-top: var(--slmg-s5); }
.slmg-dir-stage .slmg-page__contents p { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--slmg-s2);
  font: 500 13px/1.4 var(--slmg-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slmg-mute); }
.slmg-dir-stage .slmg-page__contents a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 var(--slmg-s1);
  color: var(--slmg-ink); text-decoration: underline; text-decoration-color: var(--slmg-line-strong); text-underline-offset: 4px; }
.slmg-dir-stage .slmg-page__contents a:hover { color: var(--slmg-orange); text-decoration-color: currentColor; }
.slmg-dir-stage .slmg-page__contents p > a:first-child { margin-left: calc(-1 * var(--slmg-s1)); }

/* a part: a rule above it, its H2, its paragraphs */
.slmg-dir-stage .slmg-page--part .slmg-page__col { padding-top: var(--slmg-s7); padding-bottom: var(--slmg-s4); }
.slmg-dir-stage .slmg-page--part .slmg-page__h2 { padding-top: var(--slmg-s5); border-top: 1px solid var(--slmg-line); }
.slmg-dir-stage .slmg-page__h2 .et_pb_module_header { font-size: clamp(28px, calc(2.6vw / var(--vp-zoom, 1)), 44px); margin-bottom: var(--slmg-s5); }
.slmg-dir-stage .slmg-page__text { font-size: 17px; line-height: 1.6; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-page__text + .slmg-page__text { margin-top: var(--slmg-s4); }
.slmg-dir-stage .slmg-page__text p + p, .slmg-dir-stage .slmg-page__text p + ul, .slmg-dir-stage .slmg-page__text ul + p { margin-top: var(--slmg-s4); }
.slmg-dir-stage .slmg-page__text strong { font-weight: 700; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-page__text ul { padding-left: 0; list-style: none; }
.slmg-dir-stage .slmg-page__text li { position: relative; padding-left: 1.2em; }
.slmg-dir-stage .slmg-page__text li + li { margin-top: var(--slmg-s2); }
.slmg-dir-stage .slmg-page__text li::before { content: ""; position: absolute; left: 0; top: .72em; width: .45em; height: 2px; background: var(--slmg-orange); }
.slmg-dir-stage .slmg-page__text a { color: var(--slmg-ink); text-decoration: underline; text-decoration-color: var(--slmg-orange); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.slmg-dir-stage .slmg-page__text a:hover { color: var(--slmg-orange); }

/* the store's live figures ([slmg_page part=...]) */
.slmg-dir-stage .slmg-page__tablewrap { max-width: 100%; overflow-x: auto; margin: var(--slmg-s2) 0 var(--slmg-s4); }
.slmg-dir-stage .slmg-page__table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.slmg-dir-stage .slmg-page__table caption { caption-side: top; text-align: left; padding-bottom: var(--slmg-s2); font: 500 12px/1.4 var(--slmg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slmg-dim); }
.slmg-dir-stage .slmg-sec .slmg-page__table { border: 0; margin: 0; }   /* Divi's own table rule draws a box around it */
.slmg-dir-stage .slmg-sec .slmg-page__table th, .slmg-dir-stage .slmg-sec .slmg-page__table td { padding: 10px var(--slmg-s3) 10px 0; border: 0; border-bottom: 1px solid var(--slmg-line); text-align: left; vertical-align: top; }
.slmg-dir-stage .slmg-page__table thead th { font: 500 12px/1.4 var(--slmg-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slmg-dim); border-bottom-color: var(--slmg-line-strong); }
.slmg-dir-stage .slmg-page__table tbody th { font-weight: 400; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-page__table td { white-space: nowrap; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-page__table td:last-child, .slmg-dir-stage .slmg-page__table th:last-child { padding-right: 0; }
.slmg-dir-stage .slmg-page__fact { color: var(--slmg-ink); }

/* ---------- Contact, Demos, Support (build/pages/data/contact.json, demos.json, support.json) ---------- */

/* the lead under the H1 */
.slmg-dir-stage .slmg-page__lead { margin-top: var(--slmg-s5); font-size: 19px; line-height: 1.55; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-page__lead p + p { margin-top: var(--slmg-s3); }
.slmg-dir-stage .slmg-page__lead em { color: var(--slmg-mute); }

/* a part with no heading of its own (the uploader) sits closer under the head, with no rule above it */
.slmg-dir-stage .slmg-page--bare .slmg-page__col { padding-top: 0; }

/* a short design label inside a part ("Click below to donate directly") */
.slmg-dir-stage .slmg-page__text .slmg-page__label { margin-top: var(--slmg-s6); font: 500 13px/1.4 var(--slmg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slmg-mute); }

/* a row of link buttons (Divi Button modules in a Group); the look of each button is the pack's .slmg-btn */
.slmg-dir-stage .slmg-page__buttons { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--slmg-s3); margin-top: var(--slmg-s5); }   /* Divi's Group stacks its children (column): one row here (V12) */
.slmg-dir-stage .slmg-page__buttons .et_pb_button_module_wrapper { flex: 0 0 auto; width: auto !important; margin: 0; }
.slmg-dir-stage .slmg-page__text + .slmg-page__buttons { margin-top: var(--slmg-s4); }

/* pictures: one, or a row of them side by side, never cropped */
.slmg-dir-stage .slmg-page__pics { display: grid; grid-template-columns: repeat(var(--slmg-pics, 1), minmax(0, 1fr)); gap: var(--slmg-s3); margin-top: var(--slmg-s5); }
.slmg-dir-stage .slmg-page__pics--2 { --slmg-pics: 2; }
.slmg-dir-stage .slmg-page__pics--3 { --slmg-pics: 3; }
.slmg-dir-stage .slmg-page__pic img { width: 100%; height: auto; border-radius: var(--slmg-r); background: var(--slmg-raised); }

/* a donation goal: its name, a bar, the figures (live from the donation counter; the bar is the native <progress>) */
.slmg-dir-stage .slmg-goal { padding: var(--slmg-s4) 0; border-bottom: 1px solid var(--slmg-line); }
.slmg-dir-stage .slmg-page__live + .slmg-page__live .slmg-goal { border-top: 0; }
.slmg-dir-stage .slmg-goal__name { font-weight: 700; font-size: 18px; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-goal__bar { display: block; width: 100%; height: 12px; margin: var(--slmg-s2) 0; border: 0; border-radius: 6px; overflow: hidden;
  background: var(--slmg-raised); color: var(--slmg-orange); -webkit-appearance: none; appearance: none; }
.slmg-dir-stage .slmg-goal__bar::-webkit-progress-bar { background: var(--slmg-raised); border-radius: 6px; }
.slmg-dir-stage .slmg-goal__bar::-webkit-progress-value { background: var(--slmg-orange); border-radius: 6px; }
.slmg-dir-stage .slmg-goal__bar::-moz-progress-bar { background: var(--slmg-orange); border-radius: 6px; }
.slmg-dir-stage .slmg-goal__figs { font: 500 14px/1.4 var(--slmg-mono); letter-spacing: .04em; color: var(--slmg-mute); font-variant-numeric: tabular-nums; }

/* an outside embed (the LabelRadar uploader): the page's width, a fixed height it scrolls inside */
.slmg-dir-stage .slmg-page__embed { margin-top: var(--slmg-s2); }
.slmg-dir-stage .slmg-page__embed iframe { display: block; width: 100%; height: 800px; max-height: calc(100vh - var(--slmg-pap-h, 56px) - 120px); min-height: 560px;
  border: 1px solid var(--slmg-line); border-radius: var(--slmg-r); background: #fff; }
.slmg-dir-stage .slmg-page__embed iframe:focus, .slmg-dir-stage .slmg-page__embed iframe:focus-visible { outline: 2px solid var(--slmg-ink); outline-offset: 3px; border-color: var(--slmg-orange); }

/* Divi's Contact Form: LAYOUT only (where the fields sit, the send row). How a field, its label, its error and the send
   button look is the flow's shared forms.css (handle slmg-forms), never this file. */
.slmg-dir-stage .slmg-page__form { margin-top: 0; }
.slmg-dir-stage .slmg-page__form .et_pb_contact_main_title:empty { display: none; }
.slmg-dir-stage .slmg-page__form .et_pb_contact_form { display: flex; flex-wrap: wrap; gap: var(--slmg-s4) var(--slmg-s3); margin: 0; }
.slmg-dir-stage .slmg-page__form .et_pb_contact_field { flex: 1 1 100%; width: auto; margin: 0 !important; padding: 0 !important; }
.slmg-dir-stage .slmg-page__form .et_pb_contact_field_half { flex: 1 1 calc(50% - var(--slmg-s3)); }
.slmg-dir-stage .slmg-page__form .et_contact_bottom_container { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--slmg-s3); float: none; margin: 0; }
.slmg-dir-stage .slmg-page__form .et_pb_contact_right { float: none; margin: 0; }
.slmg-dir-stage .slmg-page__form .et_contact_bottom_container .et_pb_contact_submit { margin: 0; }
/* the message box's size in the layout (its look stays forms.css's) */
.slmg-dir-stage .slmg-page__form textarea.et_pb_contact_message { height: 180px; }
.slmg-dir-stage .slmg-page__form .et-pb-contact-message:not(:empty) { margin-bottom: var(--slmg-s4); }

/* Google's reCAPTCHA badge (Divi's spam protection on the forms, as on the old pages): Google parks it 186 px past the
   right edge and slides it in on hover, and puts it over the player bar's buttons. Kept whole inside the window (its
   icon part, 70 px; Google's own inline styles need !important) and above the player bar. */
body.slmg-dir-stage .grecaptcha-badge { right: 0 !important; width: 70px !important; overflow: hidden !important; bottom: calc(var(--slmg-pap-h, 56px) + 14px) !important; transition: none !important; }
body.slmg-dir-stage .grecaptcha-badge .g-recaptcha-response { font-size: 16px !important; }   /* Google's own hidden answer box */

/* two parts side by side on a desktop (a data file's "beside": the form and the studio hours on Contact, the story and
   the goals on Support; repair round V12): the page's full width, the first part two thirds, the second a third. One
   under the other on a tablet and a phone (Divi's own column widths there). */
@media (min-width: 981px) {
  .slmg-dir-stage .slmg-page--duo .slmg-page__duo { display: grid !important; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--slmg-s8);
    width: 100%; max-width: calc(1440px + 2 * var(--slmg-gut)); margin: 0; padding: 0 var(--slmg-gut); box-sizing: border-box; }
  .slmg-dir-stage .slmg-page--duo .slmg-page__duo > .slmg-page__col { width: auto !important; max-width: none; margin: 0 !important; padding-left: 0; padding-right: 0; }
  /* a lone jump button to the part that now sits beside it ("Contribute now" on Support) has nothing to jump to here */
  .slmg-dir-stage .slmg-page--duo .slmg-page__col--main .slmg-page__buttons:has(> .et_pb_button_module_wrapper:only-child a.et_pb_button[href^="#"]) { display: none; }
}
@media (max-width: 980px) {
  /* stacked by this file (loaded in the head), not only by Divi's own phone column widths, which can arrive after the
     first paint and made the whole first screen jump (gate: layout shift 0.609 at 390 on Support) */
  .slmg-dir-stage .slmg-page--duo .slmg-page__duo { flex-wrap: wrap !important; }
  .slmg-dir-stage .slmg-page--duo .slmg-page__duo > .slmg-page__col { flex: 0 0 100% !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
  .slmg-dir-stage .slmg-page--duo .slmg-page__col--side { padding-top: var(--slmg-s6); }
}

/* ---------- a part as wide as the page, and a grid of cards (the Artists page, build/pages/data/artists.json) ---------- */

/* a "wide" part: the page's full width (1440 at most) instead of the reading column */
.slmg-dir-stage .slmg-page--wide .slmg-page__col { max-width: calc(1440px + 2 * var(--slmg-gut)); }
.slmg-dir-stage .slmg-page--head + .slmg-page--wide .slmg-page__col { padding-top: 0; }

/* the grid: as many columns as fit at about 200 px each (6 at 1440 and wider, so no picture is blown up much), two on any
   phone down to 320; every card the same width in its row */
.slmg-dir-stage .slmg-page__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: var(--slmg-s6) var(--slmg-s4); margin: 0; }
.slmg-dir-stage .slmg-page__cards > .slmg-page__card { position: relative; margin: 0 !important; min-width: 0; }

/* one card: the picture whole (its own shape, never cropped), the name, the lines as written, the small second link */
.slmg-dir-stage .slmg-page__card-pic { aspect-ratio: 11 / 5; overflow: hidden; border-radius: var(--slmg-r); background: var(--slmg-raised);
  border: 1px solid var(--slmg-line); }
.slmg-dir-stage .slmg-page__card-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.slmg-dir-stage .slmg-page__card-name { margin: var(--slmg-s2) 0 0; padding: 0; font-size: 19px; font-weight: 700; line-height: 1.25;
  color: var(--slmg-ink); overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }
.slmg-dir-stage .slmg-page__card-line { margin: var(--slmg-s1) 0 0; padding: 0; font-size: 15px; line-height: 1.45; color: var(--slmg-mute); }
.slmg-dir-stage .slmg-page__card-line strong { font-weight: 600; color: var(--slmg-mute); }
.slmg-dir-stage .slmg-page__card-more { margin: var(--slmg-s1) 0 0; padding: 0; }
.slmg-dir-stage .slmg-page__card-more a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px;
  font: 500 13px/1.2 var(--slmg-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slmg-ink);
  text-decoration: underline; text-decoration-color: var(--slmg-orange); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.slmg-dir-stage .slmg-page__card-more a:hover { color: var(--slmg-orange); }

/* a card with its own page: the name's link covers the whole card (one link, one tab stop; the second link sits above it) */
.slmg-dir-stage .slmg-page__card-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: inherit; text-decoration: none; }   /* a 44 px target in itself too (the gate measures the link's own box) */
.slmg-dir-stage .slmg-page__card-link::after { content: ""; position: absolute; inset: calc(-1 * var(--slmg-s2)); border-radius: var(--slmg-r); }
.slmg-dir-stage .slmg-page__card--linked:hover .slmg-page__card-name { color: var(--slmg-orange); }
.slmg-dir-stage .slmg-page__card--linked:hover .slmg-page__card-pic { border-color: var(--slmg-line-strong); }
.slmg-dir-stage .slmg-page__card-link:focus { outline: none; }
.slmg-dir-stage .slmg-page__card-link:focus-visible::after { outline: 2px solid var(--slmg-ink); outline-offset: 2px; }

@media (max-width: 600px) {
  .slmg-dir-stage .slmg-page__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--slmg-s5) var(--slmg-s3); }
  .slmg-dir-stage .slmg-page__card-name { font-size: 17px; }
  .slmg-dir-stage .slmg-page__card-line { font-size: 16px; }
}

/* the last part keeps room above the footer */
.slmg-dir-stage .slmg-page--part:last-of-type .slmg-page__col { padding-bottom: var(--slmg-s8); }

@media (max-width: 900px) {
  .slmg-dir-stage .slmg-page__text { font-size: 16px; }
  .slmg-dir-stage .slmg-page__lead { font-size: 17px; }
  .slmg-dir-stage .slmg-page--part .slmg-page__col { padding-top: var(--slmg-s6); }
  .slmg-dir-stage .slmg-page__table th, .slmg-dir-stage .slmg-page__table td { padding-right: var(--slmg-s2); }
}

@media (max-width: 600px) {
  .slmg-dir-stage .slmg-page__pics--2, .slmg-dir-stage .slmg-page__pics--3 { --slmg-pics: 1; }
  .slmg-dir-stage .slmg-page__form .et_pb_contact_field_half { flex-basis: 100%; }
  .slmg-dir-stage .slmg-page__buttons .et_pb_button_module_wrapper { flex: 1 1 100%; }
  .slmg-dir-stage .slmg-page__buttons a.et_pb_button { width: 100%; white-space: normal; text-align: center; }
}

/* ---------- a SERVICE PAGE, the flashier look (a data file's "variant": "showcase": the Design page, 2026-11-21) ----------
   The same pack, louder: a head beside a collage of the work, kickers above every heading, big picture tiles, a wall of
   the work shown whole, the person behind it, the contact form on a raised band. Everything here starts with
   .slmg-page--showcase, so no other plain page changes. */

/* the small label above the H1 and above each part's heading (the pack's kicker: mono, capitals, spaced) */
.slmg-dir-stage .slmg-page__kicker p { margin: 0; padding: 0; font: 500 12px/1.4 var(--slmg-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--slmg-orange); }
.slmg-dir-stage .slmg-page--showcase .slmg-page__kicker { margin-bottom: var(--slmg-s3); }
.slmg-dir-stage .slmg-page--showcase.slmg-page--part .slmg-page__kicker { padding-top: var(--slmg-s5); border-top: 1px solid var(--slmg-line); }
.slmg-dir-stage .slmg-page--showcase.slmg-page--part .slmg-page__kicker + .slmg-page__h2 { padding-top: 0; border-top: 0; }

/* the head: the title big, the lead, the two buttons; on a desktop the collage of the work on the right */
.slmg-dir-stage .slmg-page--hero { overflow: hidden; }
.slmg-dir-stage .slmg-page--hero .slmg-page__hero { width: 100%; max-width: calc(1440px + 2 * var(--slmg-gut)); margin: 0 auto; padding: 0 var(--slmg-gut); box-sizing: border-box; }
.slmg-dir-stage .slmg-page--hero .slmg-page__hero > .slmg-page__col { max-width: none; padding-left: 0; padding-right: 0; }
.slmg-dir-stage .slmg-page--hero .slmg-page__title .et_pb_module_header { font-size: clamp(56px, calc(9vw / var(--vp-zoom, 1)), 148px); line-height: .84; letter-spacing: -.01em; }
.slmg-dir-stage .slmg-page--hero .slmg-page__title { flex-wrap: wrap; }
.slmg-dir-stage .slmg-page--hero .slmg-page__title::after { content: ""; display: block; width: 72px; height: 6px; flex: 0 0 auto; align-self: flex-start; margin-top: var(--slmg-s5); background: var(--slmg-orange); }   /* on the module, not the H1: the builder wraps the H1 for editing */
.slmg-dir-stage .slmg-page--hero .slmg-page__lead { max-width: 34ch; font-size: clamp(19px, calc(1.6vw / var(--vp-zoom, 1)), 24px); line-height: 1.45; }
.slmg-dir-stage .slmg-page--hero .slmg-page__buttons { margin-top: var(--slmg-s6); }

/* the collage: the work as a loose stack of sleeves, tilted, lifting and straightening under the pointer */
.slmg-dir-stage .slmg-page__collage { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--slmg-s4); margin: 0; padding: var(--slmg-s6) 0; }
.slmg-dir-stage .slmg-page__collage > .slmg-page__collage-pic { margin: 0 !important; transform: rotate(var(--slmg-tilt, 0deg)) translateY(var(--slmg-drop, 0)); transition: transform .4s var(--slmg-ease); }
.slmg-dir-stage .slmg-page__collage-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--slmg-r);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55); outline: 1px solid var(--slmg-line); }
.slmg-dir-stage .slmg-page__collage > :nth-child(1) { --slmg-tilt: -4deg; --slmg-drop: 18px; }
.slmg-dir-stage .slmg-page__collage > :nth-child(2) { --slmg-tilt: 2deg; --slmg-drop: -10px; }
.slmg-dir-stage .slmg-page__collage > :nth-child(3) { --slmg-tilt: 5deg; --slmg-drop: 26px; }
.slmg-dir-stage .slmg-page__collage > :nth-child(4) { --slmg-tilt: 3deg; --slmg-drop: 0px; }
.slmg-dir-stage .slmg-page__collage > :nth-child(5) { --slmg-tilt: -3deg; --slmg-drop: -16px; }
.slmg-dir-stage .slmg-page__collage > :nth-child(6) { --slmg-tilt: -6deg; --slmg-drop: 10px; }
@media (hover: hover) {
  .slmg-dir-stage .slmg-page__collage > .slmg-page__collage-pic:hover { transform: rotate(0deg) translateY(-6px) scale(1.06); z-index: 1; }
}
@media (min-width: 981px) {
  .slmg-dir-stage .slmg-page--hero .slmg-page__hero { display: grid !important; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--slmg-s8); align-items: center; }
  .slmg-dir-stage .slmg-page--hero .slmg-page__hero > .slmg-page__col { width: auto !important; margin: 0 !important; }
}
@media (max-width: 980px) {
  .slmg-dir-stage .slmg-page--hero .slmg-page__hero { flex-wrap: wrap !important; }
  .slmg-dir-stage .slmg-page--hero .slmg-page__hero > .slmg-page__col { flex: 0 0 100% !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
  .slmg-dir-stage .slmg-page--hero .slmg-page__col--collage { padding-top: 0; padding-bottom: var(--slmg-s5); }
  .slmg-dir-stage .slmg-page__collage { gap: var(--slmg-s3); padding: var(--slmg-s3) 0 var(--slmg-s5); }
}
@media (prefers-reduced-motion: reduce) {
  .slmg-dir-stage .slmg-page__collage > .slmg-page__collage-pic, .slmg-dir-stage .slmg-page__tile-pic img { transition: none; }
}

/* big picture tiles (the services): the picture, the name in the pack's display face, a short line; the tile is one link */
.slmg-dir-stage .slmg-page__tiles { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--slmg-s4); margin: 0; }
.slmg-dir-stage .slmg-page__tiles > .slmg-page__tile { position: relative; margin: 0 !important; min-width: 0; background: var(--slmg-surface); border: 1px solid var(--slmg-line); border-radius: var(--slmg-r); overflow: hidden; transition: border-color .2s; }
.slmg-dir-stage .slmg-page__tile-pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--slmg-raised); }
.slmg-dir-stage .slmg-page__tile-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform .5s var(--slmg-ease), filter .3s; filter: saturate(.85); }
.slmg-dir-stage .slmg-page__tile-name { margin: 0; padding: var(--slmg-s4) var(--slmg-s4) 0; font: 800 26px/1 var(--slmg-display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.005em; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-page__tile-link { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.slmg-dir-stage .slmg-page__tile-link::after { content: ""; position: absolute; inset: 0; }
.slmg-dir-stage .slmg-page__tile-line { margin: 0; padding: 0 var(--slmg-s4) var(--slmg-s4); font: 500 12px/1.4 var(--slmg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slmg-mute); }
.slmg-dir-stage .slmg-page__tile:hover { border-color: var(--slmg-orange); }
.slmg-dir-stage .slmg-page__tile:hover .slmg-page__tile-pic img { transform: scale(1.06); filter: none; }
.slmg-dir-stage .slmg-page__tile:hover .slmg-page__tile-line { color: var(--slmg-orange); }
.slmg-dir-stage .slmg-page__tile-link:focus { outline: none; }
.slmg-dir-stage .slmg-page__tile-link:focus-visible::after { outline: 2px solid var(--slmg-ink); outline-offset: -4px; }

/* the wall of the work: every picture whole (its own shape), in columns that fill top to bottom */
.slmg-dir-stage .slmg-page__gallery { display: block !important; columns: 4 220px; column-gap: var(--slmg-s4); margin: 0; }
.slmg-dir-stage .slmg-page__gallery > .slmg-page__shot { break-inside: avoid; margin: 0 0 var(--slmg-s4) !important; }
.slmg-dir-stage .slmg-page__shot img { display: block; width: 100%; height: auto; border-radius: var(--slmg-r); background: var(--slmg-raised); outline: 1px solid var(--slmg-line); transition: outline-color .2s; }
.slmg-dir-stage .slmg-page__shot img:hover { outline-color: var(--slmg-orange); }

/* one picture as wide as the page (the clients' marks) */
.slmg-dir-stage .slmg-page--showcase .slmg-page__pics { max-width: 1080px; }

/* the person: the picture, the name, the role, their words */
.slmg-dir-stage .slmg-page__person { display: flex; flex-wrap: wrap; gap: var(--slmg-s5); margin-top: var(--slmg-s6); padding: var(--slmg-s5); background: var(--slmg-surface); border: 1px solid var(--slmg-line); border-left: 4px solid var(--slmg-orange); border-radius: var(--slmg-r); }
.slmg-dir-stage .slmg-page__person-pic img { display: block; width: 220px; max-width: 100%; height: auto; border-radius: var(--slmg-r); }
.slmg-dir-stage .slmg-page__person-text { flex: 1 1 280px; min-width: 0; }
.slmg-dir-stage .slmg-page__person-name { margin: 0; padding: 0; font: 800 28px/1 var(--slmg-display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.005em; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-page__person-role { margin: var(--slmg-s1) 0 var(--slmg-s4); padding: 0; font: 500 12px/1.4 var(--slmg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slmg-mute); }

/* the contact part on a raised band */
.slmg-dir-stage .slmg-page--showcase#contact { background: var(--slmg-surface); border-top: 1px solid var(--slmg-line); }
.slmg-dir-stage .slmg-page--showcase#contact .slmg-page__kicker { border-top: 0; }

@media (max-width: 600px) {
  .slmg-dir-stage .slmg-page__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--slmg-s3); }
  .slmg-dir-stage .slmg-page__tile-name { padding: var(--slmg-s3) var(--slmg-s3) 0; font-size: 20px; }
  .slmg-dir-stage .slmg-page__tile-line { padding: 0 var(--slmg-s3) var(--slmg-s3); }
  .slmg-dir-stage .slmg-page__gallery { columns: 2; column-gap: var(--slmg-s3); }
  .slmg-dir-stage .slmg-page__gallery > .slmg-page__shot { margin-bottom: var(--slmg-s3) !important; }
  .slmg-dir-stage .slmg-page__person { padding: var(--slmg-s4); }
}
.slmg-dir-stage .slmg-page__person-text p:not(.slmg-page__person-role) { font-size: 17px; line-height: 1.6; color: var(--slmg-ink); }
@media (max-width: 900px) { .slmg-dir-stage .slmg-page__person-text p:not(.slmg-page__person-role) { font-size: 16px; } }

/* ---------- reference pages (AI-visibility build, 2026-11-22: About, the label fact sheets, the FAQ; notes/ai-visibility.md) ----------
   A fact table: a name column and its value, values wrap (the shipping table's cells do not). A question of the FAQ:
   its H3 in the body face, sentence case (section titles stay in capitals); the answer is ordinary running text. */
.slmg-dir-stage .slmg-page__table--facts td { white-space: normal; }
.slmg-dir-stage .slmg-sec .slmg-page__table--facts tbody th { width: 34%; padding-right: var(--slmg-s4); font: 500 12px/1.5 var(--slmg-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slmg-dim); }
.slmg-dir-stage .slmg-page__qa + .slmg-page__qa { margin-top: var(--slmg-s6); }
.slmg-dir-stage .slmg-page__qa .slmg-page__q { margin: 0 0 var(--slmg-s2); padding: 0; font: 700 20px/1.3 var(--slmg-display); letter-spacing: 0; text-transform: none; color: var(--slmg-ink); }
.slmg-dir-stage .slmg-page__sources { font-size: 16px; line-height: 1.5; color: var(--slmg-dim); }
.slmg-dir-stage .slmg-page__sources li + li { margin-top: var(--slmg-s1); }
@media (max-width: 600px) {
  .slmg-dir-stage .slmg-sec .slmg-page__table--facts tbody th { width: 40%; }
  .slmg-dir-stage .slmg-page__qa .slmg-page__q { font-size: 18px; }
}
/* on touch-sized screens a link that stands on its own in a fact table, a list or the sources gets a 44 px tall target
   (the gate's touch-targets rule); the negative margin keeps the lines where they were */
@media (max-width: 980px) {
  .slmg-dir-stage .slmg-page__table--facts td a, .slmg-dir-stage .slmg-page__text li a { display: inline-block; padding: 12px 0; margin: -12px 0; }
}
