/* Alicia Loy Griffin: site stylesheet.
 *
 * No build step: edit and save. Pages link this file with ?v=<mtime>, so
 * changes reach visitors immediately.
 *
 * Layers, lowest priority first. Base rules use :where() (zero specificity),
 * components use single classes, and nothing uses IDs or !important (except
 * the reduced-motion override), so later rules win predictably.
 */
@layer reset, base, layout, components, utilities;

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens */
:root {
  /* Colour: the art is shot on black, so the page is true black. */
  --black: #000000;     /* ground; must stay pure black (images have black bars) */
  --white: #ffffff;     /* name, headings, nav, links */
  --paper: #e6e6e3;     /* long-form text only, softer than white */
  --steel: #8c8f91;     /* captions, footer, labels, field borders (6.5:1) */
  --graphite: #2e2f30;  /* hairline rules only */
  --corten: #b65f38;    /* focus ring and current-page marker only */

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Spacing in steps of the 27px body leading. */
  --s1: 0.75rem;
  --s2: 1.5rem;
  --s3: 2.25rem;
  --s4: 3rem;
  --s6: 4.5rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --frame: 75rem;
  --measure: 66ch;
  --rule: 1px solid var(--graphite);
}

/* ---------------------------------------------------------------- reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, svg, picture { display: block; max-inline-size: 100%; block-size: auto; }
  input, button, textarea { font: inherit; color: inherit; }
  ul[class], ol[class] { list-style: none; padding: 0; }
}

/* ----------------------------------------------------------------- base */
@layer base {
  :where(html) {
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    font-size: 100%;
    line-height: 1.5;
    scrollbar-color: var(--graphite) var(--black);
  }
  :where(body) {
    min-block-size: 100dvh;
    display: flex;
    flex-direction: column;
    font-size: 1.125rem;
  }
  :where(h1, h2, h3) {
    font-family: var(--sans);
    font-weight: 500;
    line-height: 1.15;
    text-wrap: balance;
  }
  :where(h1) {
    font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
    font-stretch: 112%;
    margin-block-end: var(--s3);
  }
  :where(h2) { font-size: 1.5rem; font-stretch: 108%; margin-block-end: var(--s1); }
  :where(h3) { font-size: 1.3125rem; margin-block-end: var(--s1); }
  :where(p, ul, ol, dl, table, address) { margin-block-end: var(--s2); }
  :where(p) { text-wrap: pretty; }
  :where(address) { font-style: normal; }

  :where(a) {
    color: inherit;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
  :where(a:hover) { text-decoration-thickness: 2px; }

  :where(:focus-visible) {
    outline: 2px solid var(--corten);
    outline-offset: 3px;
  }
  :where(::selection) { background: var(--white); color: var(--black); }
}

/* --------------------------------------------------------------- layout */
@layer layout {
  .frame {
    inline-size: min(100% - 2 * var(--gutter), var(--frame));
    margin-inline: auto;
  }
  main.frame {
    flex: 1;
    padding-block: var(--s4) var(--s6);
  }

  /* Home: art beside the studio card, then full-width rows, each with its
     heading in the art's column and its content lined up with the card's text.
     Each row sizes itself, so opening the essay never leaves a gap beside it.
     The first column is the photos' own width (518px), so they are never enlarged. */
  .home {
    display: grid;
    gap: var(--s4) var(--s6);
    align-content: start; /* main stretches to the window height; keep rows tight */
  }
  @media (min-width: 56rem) {
    .home {
      grid-template-columns: minmax(0, 32.375rem) minmax(0, 1fr);
      align-items: start;
    }
  }
  /* Below the art, each section is one centered reading column, so its
     length (the essay opens in place) never unbalances the page. */
  .home__row {
    grid-column: 1 / -1;
    padding-block-start: var(--s3);
    border-block-start: var(--rule);
  }
  .home__column { margin-inline: auto; }

  /* Architectural Renderings: renderings, then the story beside the card. */
  .renderings { display: grid; gap: var(--s4) var(--s6); align-content: start; }
  .renderings h1 { margin-block-end: 0; }
  @media (min-width: 56rem) {
    .renderings { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); align-items: start; }
    .renderings > h1,
    .renderings__grid,
    .renderings__teaser { grid-column: 1 / -1; }
  }

  /* About: portrait beside the statement; three lists below. */
  .about__intro { display: grid; gap: var(--s2) var(--s4); }
  @media (min-width: 48rem) {
    .about__intro { grid-template-columns: minmax(12rem, 20rem) minmax(0, 1fr); align-items: start; }
  }
  .about__lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: var(--s4);
    margin-block-start: var(--s4);
    padding-block-start: var(--s3);
    border-block-start: var(--rule);
  }

  /* Contact: form beside phone and QR. */
  .contact__layout { display: grid; gap: var(--s4) var(--s6); }
  @media (min-width: 48rem) {
    .contact__layout { grid-template-columns: minmax(0, 32rem) auto; justify-content: start; }
  }
}

/* ----------------------------------------------------------- components */
@layer components {

  /* Skip link: hidden until focused from the keyboard. */
  .skip-link {
    position: absolute;
    inset-block-start: var(--s1);
    inset-inline-start: var(--s1);
    z-index: 10;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--black);
    font-weight: 600;
    transform: translateY(-200%);
  }
  .skip-link:focus { transform: none; }

  /* Header: the name set wide, like lettering on a fabricator's plate. */
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s1) var(--s3);
    padding-block: var(--s2);
    border-block-end: var(--rule);
  }
  .site-name {
    margin: 0;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
    font-weight: 500;
    font-stretch: 125%;
    letter-spacing: 0.01em;
    line-height: 1.2;
  }
  .site-name a { text-decoration: none; }

  .site-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem var(--s2);
    margin: 0;
  }
  .site-nav a {
    display: inline-block;
    padding-block: 0.25rem;
    font-size: 1rem;
    text-decoration: none;
  }
  .site-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
  .site-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--corten);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
  }

  /* Menu button: narrow screens only. Three bars that fold into an X. */
  .nav-toggle {
    display: none;
    place-items: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    margin-inline-end: -0.625rem; /* line the bars up with the frame edge */
    padding: 0;
    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;
  }
  .nav-toggle svg { stroke: currentColor; stroke-width: 1.5; overflow: visible; }
  .nav-toggle path { transform-origin: 12px 12px; transition: transform 200ms ease, opacity 200ms ease; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__top { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bottom { transform: translateY(-5px) rotate(-45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__middle { opacity: 0; }

  @media (max-width: 61.99rem) { /* below this the full menu would wrap under the name */
    .site-header:has(.nav-toggle[aria-expanded]) { align-items: center; }
    .nav-toggle[aria-expanded] { display: grid; }
    .site-header:has(.nav-toggle[aria-expanded="false"]) .site-nav { display: none; }
    /* Open: a full-width list under the name, with large tap targets. */
    .site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav { flex-basis: 100%; }
    .site-header:has(.nav-toggle[aria-expanded]) .site-nav ul { flex-direction: column; gap: 0; }
    .site-header:has(.nav-toggle[aria-expanded]) .site-nav li + li { border-block-start: var(--rule); }
    .site-header:has(.nav-toggle[aria-expanded]) .site-nav a {
      display: block;
      padding-block: var(--s1);
      font-size: 1.125rem;
    }
  }

  /* Long-form text. */
  .prose {
    max-inline-size: var(--measure);
    font-family: var(--serif);
    font-weight: 380;
    color: var(--paper);
    line-height: 1.55;
  }
  .prose :is(h2, h3) { color: var(--white); }
  .prose h3 { margin-block-start: var(--s3); font-size: 1.125rem; }
  .prose ul { padding-inline-start: 1.25em; }
  .prose li + li { margin-block-start: 0.5em; }

  /* Read More: expands in place without JavaScript. */
  .read-more summary {
    display: inline-block;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--white);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    list-style: none;
  }
  .read-more summary::-webkit-details-marker { display: none; }
  .read-more summary:hover { text-decoration-thickness: 2px; }
  .read-more__close,
  .read-more[open] .read-more__open { display: none; }
  .read-more[open] .read-more__close { display: inline; }
  .read-more[open] summary { margin-block-end: var(--s2); }
  /* When the details replace a teaser excerpt, hide the excerpt while open. */
  .excerpt:has(+ .read-more--replaces[open]) { display: none; }

  .essay { margin: 0; }

  /* Slideshow: one crossfade, with a pause control added by site.js. */
  .slideshow__slides { display: grid; margin: 0; }
  .slideshow__slide { grid-area: 1 / 1; }
  .slideshow__slide img { max-inline-size: 100%; }
  .slideshow:not([data-ready]) .slideshow__slide:not(:first-child) { display: none; }
  .slideshow[data-ready] .slideshow__slide {
    opacity: 0;
    transition: opacity 1000ms ease-in-out;
  }
  .slideshow[data-ready] .slideshow__slide.is-current { opacity: 1; }
  /* Caption row: each slide's title fades with its photo; the pause/play icon
     sits at the right end of the same line. The caption is aria-hidden because
     it repeats the image's alt text. */
  .slideshow { position: relative; }
  .slideshow figure { margin: 0; }
  /* The outgoing title vanishes at once, so two titles never overlap mid-fade. */
  .slideshow[data-ready] .slideshow__slide:not(.is-current) .slideshow__caption { visibility: hidden; }
  .slideshow__caption {
    padding-block: var(--s1) 0;
    padding-inline-end: 3rem; /* clear the icon */
    color: var(--steel);
    font-size: 0.875rem;
    line-height: 1.6;
  }
  .slideshow .slideshow__toggle {
    position: absolute;
    inset-block-end: 0;
    inset-inline-end: 0;
    display: grid;
    place-items: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    margin-block-end: calc((1.4rem - 2.75rem) / 2); /* centre on the caption line */
    margin-inline-end: -0.875rem;                    /* icon's edge on the photo's edge */
    padding: 0;
    border: 0;
    color: var(--steel);
  }
  .slideshow .slideshow__toggle:hover { color: var(--white); }
  .slideshow .slideshow__toggle:focus-visible { outline-offset: -2px; } /* stays on screen at the frame edge */
  .slideshow__toggle svg { fill: currentColor; }
  .slideshow__toggle .slideshow__icon-play,
  .slideshow__toggle[data-paused="true"] .slideshow__icon-pause { display: none; }
  .slideshow__toggle[data-paused="true"] .slideshow__icon-play { display: inline; }
  /* The button is in the HTML so its space is reserved; it only works once site.js runs. */
  .slideshow:not([data-ready]) .slideshow__toggle { visibility: hidden; }

  /* Buttons: quiet outlined controls; the form's submit is the one solid button. */
  .button,
  .slideshow__toggle,
  .lightbox__controls button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--steel);
    background: transparent;
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.875rem;
    cursor: pointer;
  }
  :is(.slideshow__toggle, .lightbox__controls button):hover { border-color: var(--white); }

  /* Studio card: set as type, unboxed; a hairline separates it on wide screens. */
  /* Centered on narrow screens, like the printed card; left-aligned beside the art. */
  .studio-card {
    font-family: var(--sans);
    margin-block-end: 0;
    text-align: center;
  }
  @media (min-width: 56rem) {
    .studio-card { padding-inline-start: var(--s3); border-inline-start: var(--rule); text-align: start; }
  }
  .studio-card h2 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    font-weight: 600;
    font-stretch: 125%;
    line-height: 1.05;
    margin-block-end: var(--s1);
  }
  .studio-card__fields {
    color: var(--steel);
    font-size: 0.875rem;
    line-height: 1.6;
  }
  .studio-card__name {
    font-size: 1.25rem;
    font-weight: 500;
    font-stretch: 125%;
    margin-block-end: var(--s1);
  }
  .studio-card__contact { margin: 0; }
  .studio-card__contact div + div { margin-block-start: var(--s1); }
  .studio-card__contact dt { color: var(--steel); font-size: 0.875rem; }
  .studio-card__contact dd {
    margin: 0;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
  }

  /* Home columns: one width for every section (beats .prose's measure),
     heading, then a one-line byline under it. */
  .home__column { max-inline-size: 38rem; }
  .home__column h2 { margin-block-end: 0.25rem; }
  .home__credit {
    margin-block-end: var(--s2);
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--steel);
  }
  .home__column > :last-child,
  .home__column .read-more > :last-child,
  .home__column .essay > :last-child { margin-block-end: 0; }
  .home__column.teaser h2 { margin-block-end: var(--s1); }
  .home__column.teaser > a { margin-inline: auto; }
  .home__column.teaser p { margin-block: var(--s1) 0; font-size: 1rem; }

  /* Read More below the text: the toggle follows what it opens and closes.
     Browsers that can't lay out <details> keep it above; nothing breaks. */
  .read-more--below[open] { display: flex; flex-direction: column; }
  .read-more--below[open] summary { order: 1; align-self: start; margin-block: var(--s2) 0; }

  /* Teaser image linking into the gallery. */
  .teaser a { display: block; inline-size: fit-content; }

  /* About page. */
  .about__portrait { inline-size: 100%; max-inline-size: 20rem; }
  .inquiries { font-family: var(--sans); font-size: 1rem; color: var(--white); }
  .about__lists section { font-size: 1rem; }
  .about__lists h3 {
    font-size: 1rem;
    color: var(--steel);
    margin-block: var(--s2) 0.5rem;
  }
  .about__lists h2 + h3 { margin-block-start: 0; }
  .about__lists ul { padding: 0; list-style: none; }
  .about__lists li + li { margin-block-start: 0.5rem; }

  /* Renderings. */
  .renderings__grid {
    display: grid;
    gap: var(--s2);
    margin: 0;
  }
  @media (min-width: 40rem) {
    .renderings__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  .renderings__grid a { display: block; }
  .renderings__grid img { max-inline-size: 100%; } /* shrink to fit, never enlarge */
  .renderings .studio-card { align-self: start; }

  /* Gallery. */
  .gallery section + section {
    margin-block-start: var(--s6);
    padding-block-start: var(--s3);
    border-block-start: var(--rule);
  }
  .for-sale {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: var(--s4) var(--s2);
    margin: 0;
  }
  .for-sale__item a { display: block; }
  .for-sale__item img { max-inline-size: 100%; } /* shrink to fit, never enlarge */
  .for-sale__item figcaption { margin-block-start: var(--s1); }
  .for-sale__item h3 { font-size: 1.0625rem; margin-block-end: 0.5rem; }
  .for-sale__item ul { list-style: none; padding: 0; color: var(--steel); font-size: 0.875rem; margin: 0; }

  .thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
    gap: var(--s1);
    margin: 0;
  }
  .thumbs a { display: block; }
  .thumbs img {
    inline-size: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;   /* never crop the art */
    background: var(--black);
  }
  .thumbs--classics { grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }
  .thumbs--classics img { aspect-ratio: 5 / 7; }

  /* Lightbox (native <dialog>). */
  .lightbox {
    inline-size: 100%;
    max-inline-size: 100%;
    block-size: 100%;
    max-block-size: 100%;
    padding: var(--s2) var(--gutter);
    border: 0;
    background: var(--black);
    color: var(--white);
  }
  .lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: var(--s1);
  }
  .lightbox::backdrop { background: var(--black); }
  .lightbox__figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    gap: var(--s1);
    min-block-size: 0;
  }
  .lightbox__image {
    max-inline-size: 100%;
    max-block-size: 100%;
    inline-size: auto;
    block-size: auto;
    min-block-size: 0;
    object-fit: contain;
    align-self: center;
  }
  .lightbox__caption,
  .lightbox__count { font-size: 0.875rem; color: var(--steel); margin: 0; }
  .lightbox__count { text-align: center; }
  .lightbox__controls {
    display: flex;
    justify-content: center;
    gap: var(--s1);
  }

  /* Price list. */
  .lead {
    max-inline-size: 40rem;
    font-size: 1.25rem;
    color: var(--paper);
    margin-block-end: var(--s4);
  }
  .price-entry {
    display: grid;
    gap: var(--s2) var(--s4);
    padding-block: var(--s4);
    border-block-start: var(--rule);
  }
  @media (min-width: 56rem) {
    .price-entry { grid-template-columns: minmax(0, 3fr) minmax(18rem, 2fr); align-items: start; }
  }
  .price-entry__art {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s1);
  }
  .price-entry__art img { max-inline-size: 100%; } /* shrink to fit, never enlarge */
  .price-entry table {
    inline-size: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    margin: 0;
  }
  .price-entry th,
  .price-entry td {
    padding: 0.5rem 1rem 0.5rem 0;
    text-align: start;
    border-block-end: var(--rule);
  }
  .price-entry th { color: var(--steel); font-weight: 500; font-size: 0.875rem; }
  .price-entry th a { text-decoration: none; padding-inline: 0.25rem; }
  .footnote {
    padding-block-start: var(--s2);
    border-block-start: var(--rule);
    font-size: 1rem;
    color: var(--paper);
  }

  /* Contact. */
  .contact-form .field { margin-block-end: var(--s2); }
  .contact-form label { display: block; margin-block-end: 0.375rem; font-size: 1rem; }
  .contact-form :is(input, textarea) {
    display: block;
    inline-size: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--steel);
    border-radius: 0;
    background: var(--black);
    color: var(--white);
    font-size: 1rem;
  }
  .contact-form textarea { resize: vertical; min-block-size: 10rem; }
  .contact-form :is(input, textarea):focus-visible { border-color: var(--white); }
  .contact-form ::placeholder { color: var(--steel); opacity: 1; }
  .contact-form button {
    padding: 0.75rem 1.75rem;
    border: 0;
    background: var(--white);
    color: var(--black);
    font-weight: 600;
    cursor: pointer;
  }
  .contact-form button:hover { background: var(--paper); }
  .hp {
    position: absolute;
    inset-inline-start: -9999px;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
  }
  .contact-form textarea { margin-block-end: 0.375rem; }
  .field__hint { display: block; font-size: 0.875rem; color: var(--steel); font-variant-numeric: tabular-nums; }
  .contact-form button:disabled { background: var(--steel); cursor: progress; }
  .contact-form__errors:empty { display: none; }
  .contact-form__errors {
    margin-block-end: var(--s2);
    padding: var(--s1) var(--s2);
    border-inline-start: 2px solid var(--corten);
    font-size: 1rem;
  }
  .contact-form__errors p { margin: 0; }
  .contact-form__errors ul { margin: 0.5rem 0 0; padding-inline-start: 1.25em; }
  .contact-form__actions { margin: 0; }
  .contact-form__sent { font-size: 1.125rem; margin: 0; }
  .contact-form__sent:focus { outline: none; }

  /* Contact modal (native <dialog>): a black panel, hairline-edged, over the dimmed page. */
  .contact-dialog {
    inline-size: min(100% - 2 * var(--gutter), 34rem);
    max-block-size: calc(100dvh - 2 * var(--gutter));
    margin: auto; /* the reset's margin: 0 would pin the dialog to the top left */
    padding: 0;
    border: 1px solid var(--graphite);
    background: var(--black);
    color: var(--white);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .contact-dialog::backdrop { background: rgb(0 0 0 / 0.8); }
  .contact-dialog__panel { padding: var(--s2) var(--s3) var(--s3); }
  .contact-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s1);
  }
  .contact-dialog__head h2 { margin: 0; font-stretch: 112%; }
  .contact-dialog__close {
    display: grid;
    place-items: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    margin-inline-end: -0.625rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--steel);
    cursor: pointer;
  }
  .contact-dialog__close:hover { color: var(--white); }
  .contact-dialog__close svg { stroke: currentColor; stroke-width: 1.5; }
  .contact-dialog__call { margin-block: 0.25rem var(--s2); font-size: 1rem; color: var(--steel); }
  .contact-dialog__call a { color: var(--white); }
  .contact-dialog .contact-form textarea { min-block-size: 8rem; }
  @media (max-width: 30rem) {
    .contact-dialog__panel { padding-inline: var(--s2); }
  }

  .contact__aside h2 { font-size: 1.125rem; color: var(--steel); }
  .contact__phone { font-size: 1.5rem; font-stretch: 112%; font-variant-numeric: tabular-nums; }
  .contact__qr { inline-size: 10rem; }

  /* Links page. */
  .links__list { font-size: 1.125rem; }
  .links__list li + li { margin-block-start: 0.5rem; }

  /* Footer. */
  .site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s1) var(--s2);
    padding-block: var(--s2) var(--s3);
    border-block-start: var(--rule);
    color: var(--steel);
    font-size: 0.875rem;
  }
  .site-footer p { margin: 0; }
  .social { display: flex; gap: var(--s1); margin: 0; }
  .social a {
    display: grid;
    place-items: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    color: var(--steel);
  }
  .social a:hover { color: var(--white); }
  .social svg { inline-size: 1.25rem; block-size: 1.25rem; }
}

/* ------------------------------------------------------------ utilities */
@layer utilities {
  .visually-hidden {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
