/* The visitor share row ("Share this page"), just above the footer. SEO DESK 2026-11-12.
   Built only from the site's own tokens (site.css): Archivo, hairlines, the Aperture teal, the ghost-button treatment, the global
   focus ring. The row sits on Night (.s-night) like the footer under it. Three links work without script; the two buttons are
   <li hidden> until share.js confirms the browser can do them (an unsupported one is removed from the DOM, and the script sets
   data-ready on the section when it is done). The status line is always rendered (it is the aria-live region) and always keeps its
   slot (two lines), so a message never moves the page. */
.shr { position: relative; background: var(--c-night); color: var(--fg); }
.shr-in { padding-block: clamp(2.5rem, 1.6rem + 3vw, 4rem) 0; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "h l" "s s"; align-items: center; column-gap: 2.5rem; row-gap: .75rem; }
.shr-h { grid-area: h; margin: 0; font: 600 1rem/1.3 var(--font); font-stretch: 112%; letter-spacing: 0; text-wrap: auto; color: var(--fg); }
.shr-s { grid-area: s; align-self: start; margin: 0; min-height: 2.6em; max-width: 60ch; font-size: 1rem; line-height: 1.3; color: var(--acc); }
.shr-l { grid-area: l; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem .75rem; margin: 0; padding: 0; list-style: none; }
.shr-l li[hidden] { display: none; }
.shr-b { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding: .5rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--fg) 45%, transparent); border-radius: 2px; background: transparent; color: var(--fg);
  font: 600 1rem/1.2 var(--font); font-stretch: 105%; letter-spacing: -0.005em; text-align: center; text-decoration: none; cursor: pointer;
  -webkit-appearance: none; appearance: none; }
@media (hover: hover) { .shr-b:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); text-decoration: none; } }
.shr-b:active { background: color-mix(in srgb, var(--fg) 12%, transparent); }
@media (prefers-reduced-motion: no-preference) { .shr-b { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); } }
/* the footer's own top padding is large; with the row above it the footer's hairline does the separating */
.shr + .ft .wrap { padding-top: clamp(2.25rem, 1.5rem + 2vw, 3rem); }
/* phones: heading, then a two-column grid of full-width 44 px targets, then the status slot; labels may wrap rather than overflow */
@media (max-width: 39.99rem) {
  .shr-in { display: block; }
  .shr-h { margin-bottom: .9rem; }
  .shr-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .shr-b { width: 100%; padding: .5rem .6rem; }
  .shr-s { margin-top: .6rem; max-width: none; }
  /* a lone last item (the phone's own Share, once the script has settled the row) spans both columns */
  .shr[data-ready] .shr-l li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* no script: the three links are all there is (the two buttons stay hidden), so the third spans the row instead of sitting alone */
  .shr:not([data-ready]) .shr-l li:nth-child(3) { grid-column: 1 / -1; }
}
@media (forced-colors: active) { .shr-b { border-color: ButtonText; } }
@media print { .shr { display: none !important; } }
