  /* ============================================================
     Self-hosted type. Marcellus (display) + Spectral (body),
     served from /assets/fonts/ — same weights the site has always
     used. latin loads for English copy; latin-ext only if an
     accented glyph appears. All font-display:swap.
     ============================================================ */
  @font-face {
    font-family: "Marcellus";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/marcellus-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "Marcellus";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/marcellus-400-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/assets/fonts/spectral-300.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/assets/fonts/spectral-300-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/spectral-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/spectral-400-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/spectral-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/spectral-500-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/spectral-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/spectral-600-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/spectral-400-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/spectral-400-italic-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/spectral-500-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/spectral-500-italic-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }

  /* ============================================================
     Legacy Stained Glass — a dim room where the glass is the
     light source. Single dark theme by design. All colours are
     painted explicitly on :root so the page holds on any ground.
     ============================================================ */
  :root {
    --ink:        #050506;
    --ink-raise:  #131319;
    --ink-deep:   #000000;
    --came:       #0c0b11;
    --came-line:  #524f62;
    --parch:      #efe8dd;
    --parch-dim:  #c6c3d1;
    --muted:      #8d8fa2;

    --amber:   #e8a13c;
    --amber-lo:#b97c26;
    --cobalt:  #3f6fb0;
    --verd:    #2f8f83;
    --rose:    #c25a6b;

    --accent:  var(--amber);

    --measure: 62ch;
    --wrap: 1200px;
    --edge: clamp(1.25rem, 5vw, 3.25rem);
    --band: clamp(5rem, 12vh, 9rem);

    --fs-eyebrow: .72rem;
    --fs-meta:    .8rem;
    --fs-body:    1.0625rem;
    --fs-lead:    clamp(1.15rem, 1.8vw, 1.35rem);
    --fs-quote:   clamp(1.5rem, 3.4vw, 2.45rem);
    --fs-h3:      clamp(1.15rem, 2vw, 1.4rem);
    --fs-h2:      clamp(1.95rem, 4.2vw, 3.05rem);
    --fs-display: clamp(2.7rem, 6vw, 4.5rem);

    --line-hair: 1px solid color-mix(in oklab, var(--came-line) 70%, transparent);
  }

  *, *::before, *::after { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  html, body { overflow-x: clip; }

  body {
    margin: 0;
    background: var(--ink);
    color: var(--parch);
    font-family: "Spectral", Georgia, "Times New Roman", serif;
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9;
    mix-blend-mode: overlay;
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  h1, h2, h3, .wordmark, .display {
    font-family: "Marcellus", "Marcellus Pro", Georgia, serif;
    font-weight: 400;
    line-height: 1.08;
    text-wrap: balance;
    letter-spacing: .005em;
  }

  p { margin: 0; }
  a { color: inherit; }
  img, svg { display: block; max-width: 100%; }
  ::selection { background: var(--amber); color: var(--ink); }

  :focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

  .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--edge); }
  .col { max-width: var(--measure); }
  .bleed { width: 100vw; margin-left: 50%; transform: translateX(-50%); }

  .eyebrow {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: var(--fs-eyebrow);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 1.4rem;
  }
  .eyebrow .mark { color: var(--amber); }

  .meta { font-size: var(--fs-meta); letter-spacing: .04em; color: var(--muted); }

  .lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--parch); }

  .body-copy { color: var(--parch-dim); }
  .body-copy + .body-copy { margin-top: 1.1rem; }

  /* ---------- buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    padding: .95em 1.7em;
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--amber);
    border-radius: 1px;
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
  }
  .btn--solid {
    background: var(--amber);
    color: var(--ink);
    box-shadow: 0 0 0 rgba(232,161,60,0);
  }
  .btn--ghost { background: transparent; color: var(--amber); }
  /* hover-only so the lift/tint doesn't stick after a tap on touch devices */
  @media (hover: hover) {
    .btn--solid:hover {
      transform: translateY(-2px);
      background: color-mix(in oklab, var(--amber) 88%, white);
      box-shadow: 0 14px 40px -12px rgba(232,161,60,.5);
    }
    .btn--ghost:hover { transform: translateY(-2px); background: color-mix(in oklab, var(--amber) 12%, transparent); }
  }

  .link-more {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--amber);
    border-bottom: 1px solid color-mix(in oklab, var(--amber) 45%, transparent);
    padding-bottom: .25em;
    transition: border-color .25s ease, gap .25s ease;
  }
  @media (hover: hover) {
    .link-more:hover { border-color: var(--amber); gap: .85em; }
  }

  /* ---------- nav ---------- */
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    /* safe-area keeps the bar clear of the notch / status bar (portrait) and
       the rounded corners (landscape); falls back to the plain values when
       env() is 0 or unsupported. Needs viewport-fit=cover on the meta. */
    padding:
      max(1.15rem, env(safe-area-inset-top))
      max(var(--edge), env(safe-area-inset-right))
      1.15rem
      max(var(--edge), env(safe-area-inset-left));
    transition: padding .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
  }
  /* The scrolled-state blur/tint lives on a pseudo, NOT on .nav itself:
     backdrop-filter establishes a containing block for position:fixed
     descendants (Blink + WebKit), which would trap the full-screen mobile
     .nav-links drawer inside the ~77px bar once the page is scrolled. */
  .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity .3s ease;
    background: color-mix(in oklab, var(--ink) 90%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .nav[data-scrolled="true"] {
    padding-top: max(.7rem, env(safe-area-inset-top));
    padding-bottom: .7rem;
    border-bottom-color: color-mix(in oklab, var(--came-line) 55%, transparent);
  }
  .nav[data-scrolled="true"]::before { opacity: 1; }
  .nav-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--parch);
  }
  .nav-brand img { height: 32px; width: auto; }
  .nav-brand .wordmark {
    font-size: 1rem;
    letter-spacing: .17em;
    text-transform: uppercase;
  }
  .nav-brand .wordmark span { color: var(--amber); }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links a {
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--parch-dim);
    transition: color .2s ease;
  }
  .nav-links a:hover { color: var(--amber); }
  .nav-links .btn { padding: .7em 1.2em; }
  /* .nav-links a sets a light colour (0,0,1,1) which would otherwise beat
     .btn--solid (0,0,1,0) and make the solid CTA grey-on-amber */
  .nav-links .btn--solid { color: var(--ink); }

  .nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--parch);
    padding: .4rem;
    cursor: pointer;
  }
  .nav-toggle svg { width: 26px; height: 26px; }

  @media (max-width: 880px) {
    /* z-index 41 keeps the toggle above the z-index:40 drawer so it stays
       tappable as the close control once the menu is open (its aria-label
       flips to "Close menu" in app.js). Without this the opaque drawer
       swallows the tap and the menu can only be dismissed by following a
       link. */
    .nav-toggle { display: inline-flex; position: relative; z-index: 41; }
    .nav-links {
      position: fixed;
      inset: 0;
      z-index: 40;
      flex-direction: column;
      justify-content: center;
      gap: 2.2rem;
      padding:
        env(safe-area-inset-top) env(safe-area-inset-right)
        env(safe-area-inset-bottom) env(safe-area-inset-left);
      background: color-mix(in oklab, var(--ink) 97%, black);
      transform: translateY(-100%);
      transition: transform .4s cubic-bezier(.4,0,.2,1);
    }
    .nav-links[data-open="true"] { transform: none; }
    .nav-links a { font-size: 1rem; letter-spacing: .2em; }
    .nav-links .btn { font-size: .82rem; }
    body.menu-open { overflow: hidden; }
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: clamp(6rem, 12vh, 9rem) var(--edge) var(--band);
    max-width: var(--wrap);
    margin-inline: auto;
    overflow: clip;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    width: 70vw;
    height: 150%;
    background: linear-gradient(105deg,
      transparent 34%,
      rgba(232,161,60,.06) 46%,
      rgba(232,161,60,.02) 54%,
      transparent 66%);
    filter: blur(30px);
    transform: translateX(-30%) rotate(4deg);
    pointer-events: none;
    animation: drift 20s ease-in-out infinite alternate;
  }
  @keyframes drift {
    from { transform: translateX(-38%) rotate(2deg); opacity: .7; }
    to   { transform: translateX(-18%) rotate(7deg); opacity: 1; }
  }
  .hero-text { position: relative; z-index: 2; }
  .hero h1 { font-size: var(--fs-display); margin: 0 0 1.6rem; text-wrap: pretty; }
  .hero h1 em { font-style: normal; color: var(--amber); }
  .hero .lead { max-width: 42ch; margin-bottom: 2.4rem; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

  .hero-figure {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: min(100%, 560px);
    margin: 0;
  }
  .hero-glass {
    width: 100%;
    height: auto;
    animation: illuminate 2.2s ease-out both;
  }
  @keyframes illuminate {
    from { opacity: .14; filter: brightness(.38) saturate(.55); }
    to   { opacity: 1;   filter: none; }
  }

  @media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; text-align: left; min-height: auto; gap: 2.5rem; }
    .hero-figure { width: min(74%, 320px); order: -1; }
  }

  /* ---------- section frame ---------- */
  section { position: relative; }
  .band { padding-block: var(--band); }
  .band-tight { padding-block: clamp(3.5rem, 8vh, 6rem); }

  .divider {
    display: block;
    width: min(680px, 82%);
    margin: 0 auto;
    color: var(--came-line);
    opacity: .8;
  }

  .section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
  .section-head h2 { font-size: var(--fs-h2); margin: 0; max-width: 20ch; }
  .section-head .lead { margin-top: 1.3rem; }

  /* ---------- services ---------- */
  .services { border-top: var(--line-hair); }
  .service {
    display: grid;
    grid-template-columns: 2.2rem 1fr auto;
    gap: 1.6rem;
    align-items: start;
    padding: 2.1rem 0;
    border-bottom: var(--line-hair);
  }
  .service .ico { color: var(--amber); margin-top: .2rem; }
  .service h3 { font-size: var(--fs-h3); margin: 0 0 .5rem; }
  .service p { color: var(--parch-dim); max-width: 52ch; }
  .service .link-more { align-self: center; white-space: nowrap; }
  @media (max-width: 720px) {
    .service { grid-template-columns: 2rem 1fr; }
    .service .link-more { grid-column: 2; margin-top: .9rem; }
  }

  /* ---------- portfolio tiles ---------- */
  .tiles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(.6rem, 1.4vw, 1.1rem);
  }
  @media (max-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

  .tile {
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--parch);
    aspect-ratio: 3 / 5;
    overflow: hidden;
    background: var(--ink-deep);
    border: 1px solid color-mix(in oklab, var(--came-line) 45%, transparent);
    border-radius: 1px;
    isolation: isolate;
  }
  .tile svg { width: 100%; height: 100%; }
  .tile .tile-glass { transition: filter .4s ease, transform .5s ease; }
  .tile::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(to top, var(--ink) 6%, color-mix(in oklab, var(--ink) 55%, transparent) 45%, transparent);
    z-index: 1;
  }
  .tile-legend {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 1rem .95rem 1.05rem;
  }
  .tile-legend .name {
    display: block;
    font-family: "Marcellus", serif;
    font-size: var(--fs-h3);
    line-height: 1.15;
  }
  .tile-legend .count {
    display: block;
    margin-top: .3rem;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .tile:focus-visible .tile-glass {
    filter: brightness(1.16) saturate(1.12);
    transform: scale(1.03);
  }
  .tile:focus-visible .tile-legend .name { color: var(--amber); }
  @media (hover: hover) {
    .tile:hover .tile-glass {
      filter: brightness(1.16) saturate(1.12);
      transform: scale(1.03);
    }
    .tile:hover .tile-legend .name { color: var(--amber); }
  }

  /* ---------- featured ---------- */
  .featured {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
  }
  .featured-figure {
    border: 1px solid color-mix(in oklab, var(--came-line) 45%, transparent);
    border-radius: 1px;
    overflow: hidden;
    background: var(--ink-deep);
    filter: drop-shadow(0 30px 70px rgba(0,0,0,.5));
    margin: 0;
  }
  .featured-figure svg { width: 100%; height: auto; }
  .featured-figure img { width: 100%; height: auto; display: block; }
  .featured-figure.is-photo {
    position: relative;
    z-index: 10; /* lift the photo above the fixed grain overlay (z-index 9) */
  }
  .pull {
    font-size: var(--fs-quote);
    font-style: italic;
    font-weight: 400;
    line-height: 1.32;
    color: var(--parch);
    margin: 1.8rem 0;
    padding-left: 1.4rem;
    border-left: 2px solid var(--amber);
  }
  @media (max-width: 820px) { .featured { grid-template-columns: 1fr; } }

  /* ---------- process ---------- */
  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.4rem, 3vw, 2.6rem);
  }
  @media (max-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
  .step {
    position: relative;
    padding-top: 2.6rem;
    border-top: 1px solid color-mix(in oklab, var(--amber) 40%, transparent);
  }
  .step .num {
    position: absolute;
    top: .9rem; left: 0;
    font-size: .72rem;
    letter-spacing: .2em;
    color: var(--amber);
  }
  .step .ico { color: var(--came-line); margin-bottom: 1rem; }
  .step h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
  .step p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

  /* ---------- testimonial ---------- */
  .testimonial { text-align: center; }
  .testimonial blockquote {
    margin: 0 auto;
    max-width: 30ch;
    font-family: "Marcellus", serif;
    font-size: var(--fs-quote);
    line-height: 1.34;
    color: var(--parch);
  }
  .testimonial .cite {
    display: block;
    margin-top: 1.8rem;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    font-style: normal;
  }
  .credits {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.4rem;
    justify-content: center;
    align-items: center;
    color: var(--muted);
    font-size: .82rem;
    letter-spacing: .1em;
  }
  .credits span { white-space: nowrap; }
  .credits .dot { color: color-mix(in oklab, var(--came-line) 80%, transparent); }

  /* ---------- enquire ---------- */
  .enquire {
    position: relative;
    background: var(--ink-deep);
    border-block: 1px solid color-mix(in oklab, var(--came-line) 50%, transparent);
    overflow: hidden;
    padding-block: clamp(4.5rem, 12vh, 8rem);
  }
  .enquire .bg {
    position: absolute;
    inset: 0 auto auto 50%;
    width: min(1100px, 130%);
    transform: translateX(-50%);
    color: color-mix(in oklab, var(--amber) 22%, transparent);
    pointer-events: none;
  }
  .enquire .inner { position: relative; z-index: 1; }
  .enquire-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
  .enquire-head h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 0 0 1rem; }
  .enquire-head p { color: var(--parch-dim); max-width: 46ch; margin: 0 auto; }

  .form {
    max-width: 680px;
    margin-inline: auto;
    display: grid;
    gap: 1.4rem;
  }
  .field { display: grid; gap: .5rem; }
  .field.row-2 { grid-column: 1 / -1; }
  @media (min-width: 620px) {
    .form { grid-template-columns: 1fr 1fr; }
    .field.half { grid-column: span 1; }
    .field.full { grid-column: 1 / -1; }
  }
  .field label {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--parch-dim);
  }
  .field label .opt { color: var(--muted); letter-spacing: .1em; }
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    background: color-mix(in oklab, var(--parch) 5%, transparent);
    border: 1px solid color-mix(in oklab, var(--came-line) 65%, transparent);
    border-radius: 1px;
    color: var(--parch);
    font-family: "Spectral", serif;
    font-size: 1rem;
    padding: .8em .9em;
    transition: border-color .2s ease, background-color .2s ease;
  }
  .field textarea { min-height: 8rem; resize: vertical; }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--amber);
    background: color-mix(in oklab, var(--amber) 6%, transparent);
  }
  .field input::placeholder, .field textarea::placeholder { color: var(--muted); }
  .field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
  /* the select's near-transparent background bleeds into the native
     option popup on Windows (pale text on pale) — paint the options solid */
  .field select option { background-color: var(--ink-raise); color: var(--parch); }
  .field select option:disabled { color: var(--muted); }
  .field input[type="file"] { padding: .6em .9em; cursor: pointer; }
  .field input[type="file"]::file-selector-button {
    margin-right: .9em;
    background: transparent;
    border: 1px solid var(--amber);
    color: var(--amber);
    font-family: "Spectral", serif;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .5em 1em;
    border-radius: 1px;
    cursor: pointer;
  }
  .field .hint { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
  .hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
  .form-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin-top: .4rem;
  }
  .form-actions .meta { max-width: 34ch; }

  /* ---------- footer ---------- */
  .foot { background: var(--ink-deep); padding-block: clamp(3.5rem, 8vh, 5.5rem) 2rem; }
  .foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
  @media (max-width: 720px) { .foot-cols { grid-template-columns: 1fr; gap: 2rem; } }
  .foot .wordmark {
    font-size: 1.1rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
  }
  .foot .wordmark span { color: var(--amber); }
  .foot p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
  .foot h2 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--parch-dim);
    margin: 0 0 1rem;
  }
  .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
  .foot ul a, .foot ul span {
    text-decoration: none;
    color: var(--muted);
    font-size: .92rem;
    letter-spacing: .04em;
    transition: color .2s ease;
  }
  .foot ul a:hover { color: var(--amber); }
  .foot-base {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid color-mix(in oklab, var(--came-line) 45%, transparent);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
  }
  .foot-base .meta { color: var(--muted); }
  .foot-base .credit { text-align: center; }
  .foot-base a { color: var(--muted); text-decoration: none; }
  .foot-base a:hover { color: var(--amber); }

  /* ---------- reveal ----------
     JS adds .in as sections scroll into view. If the observer never
     runs (JS disabled / error / non-scrolling crawler), the fallback
     animation forces every .reveal visible after a short delay. */
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s ease, transform .9s ease;
    animation: reveal-fallback .4s ease 2s forwards;
  }
  .reveal.in { opacity: 1; transform: none; animation: none; }
  @keyframes reveal-fallback { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  /* ============================================================
     Typographic craft. The self-hosted Spectral/Marcellus woff2
     carry case-sensitive punctuation (`case`) but NOT oldstyle
     figures or true small-caps — so those are left alone rather
     than synthesised.
     ============================================================ */
  .pull, .testimonial blockquote { text-wrap: balance; }
  .body-copy, .lead, .qa p, .pf-item p, .cell p { text-wrap: pretty; }
  .pull { hanging-punctuation: first last; }

  /* nudge parens, ampersands and dashes onto the cap height in
     the uppercase runs */
  .eyebrow, .btn, .link-more, .nav-links a, .nav-brand .wordmark,
  .meta, .crumb, .sub, .tile-legend .count, .foot h2, .foot .wordmark,
  .split .aside h3, .pf-filter button, .ba-figure figcaption,
  .testimonial .cite {
    font-feature-settings: "case" 1;
  }

  /* drop cap — opening of the About narrative */
  .drop-cap::first-letter {
    float: left;
    margin: .02em .14em 0 0;
    font-family: "Marcellus", Georgia, serif;
    font-size: 3.1em;
    line-height: .78;
    color: var(--amber);
  }

  /* ============================================================
     Cross-page View Transitions. Progressive: Chromium morphs the
     persistent chrome and cross-fades the rest; other engines get
     an ordinary navigation. Motion-gated.
     ============================================================ */
  @view-transition { navigation: auto; }

  @media not (prefers-reduced-motion: reduce) {
    .nav       { view-transition-name: site-nav; }
    .nav-brand { view-transition-name: site-brand; }
    .enquire   { view-transition-name: enquire-band; }
    .hero h1,
    .page-hero h1 { view-transition-name: page-title; }

    ::view-transition-old(root),
    ::view-transition-new(root) { animation-duration: .4s; }
    ::view-transition-group(page-title) { animation-duration: .42s; }
    ::view-transition-old(page-title),
    ::view-transition-new(page-title) {
      animation-timing-function: cubic-bezier(.2, 0, 0, 1);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-glass { animation: none; opacity: 1; filter: none; }
    .hero::before { animation: none; }
  }

  .skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--amber);
    color: var(--ink);
    padding: .8em 1.2em;
    z-index: 50;
    text-decoration: none;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .skip:focus { left: 1rem; top: 1rem; }

  /* ============================================================
     Inner pages (Repairs & Restoration, Commissions).
     Adds to the shared system above; nothing here is used by
     the single-page home.
     ============================================================ */

  /* ---------- breadcrumb ---------- */
  .crumb {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: clamp(6.5rem, 13vh, 8.5rem) var(--edge) 0;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .crumb a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
  .crumb a:hover { color: var(--amber); }
  .crumb i { font-style: normal; color: color-mix(in oklab, var(--came-line) 90%, transparent); margin: 0 .55em; }
  .crumb em { font-style: normal; color: var(--parch-dim); }

  /* ---------- page hero ---------- */
  .page-hero {
    position: relative;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 2rem var(--edge) clamp(3rem, 7vh, 4.5rem);
    overflow: clip;
  }
  .page-hero::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 58%;
    width: 60vw;
    height: 170%;
    background: linear-gradient(105deg,
      transparent 34%,
      rgba(232,161,60,.06) 46%,
      rgba(232,161,60,.02) 54%,
      transparent 66%);
    filter: blur(32px);
    transform: translateX(-30%) rotate(5deg);
    pointer-events: none;
    animation: drift 20s ease-in-out infinite alternate;
  }
  .page-hero > * { position: relative; z-index: 1; }
  .page-hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    margin: .4rem 0 1.5rem;
    max-width: 18ch;
  }
  .page-hero h1 em { font-style: normal; color: var(--amber); }
  .page-hero .lead { max-width: 54ch; }
  .page-hero .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.3rem;
  }

  /* ---------- card grid (what we take on / what we make) ---------- */
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.9rem, 2vw, 1.4rem);
  }
  @media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
  .cell {
    border: 1px solid color-mix(in oklab, var(--came-line) 40%, transparent);
    border-radius: 1px;
    padding: 1.5rem 1.4rem 1.6rem;
    background: color-mix(in oklab, var(--parch) 2.5%, transparent);
  }
  .cell .ico { color: var(--amber); margin-bottom: .95rem; }
  .cell h3 { font-size: 1.06rem; margin: 0 0 .45rem; }
  .cell p { color: var(--muted); font-size: .94rem; line-height: 1.62; margin: 0; }

  /* ---------- Q&A ---------- */
  .qa { display: grid; gap: 0; max-width: var(--measure); }
  .qa > div { border-top: var(--line-hair); padding: 1.5rem 0; }
  .qa > div:last-child { border-bottom: var(--line-hair); }
  .qa h3 { font-size: 1.1rem; margin: 0 0 .55rem; }
  .qa p { color: var(--parch-dim); margin: 0; }
  .qa p + p { margin-top: .8rem; }

  /* ---------- before / after panel ---------- */
  .ba-figure {
    border: 1px solid color-mix(in oklab, var(--came-line) 45%, transparent);
    border-radius: 1px;
    overflow: hidden;
    background: var(--ink-deep);
    filter: drop-shadow(0 30px 70px rgba(0,0,0,.5));
    margin: 0;
  }
  .ba-figure svg { width: 100%; height: auto; display: block; }
  .ba-figure figcaption {
    display: flex;
    justify-content: space-between;
    padding: .85rem 1.1rem 1rem;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid color-mix(in oklab, var(--came-line) 40%, transparent);
  }

  /* ---------- two-column prose + aside ---------- */
  .split {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: start;
  }
  @media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
  .split .aside {
    border: 1px solid color-mix(in oklab, var(--came-line) 40%, transparent);
    border-radius: 1px;
    padding: 1.6rem 1.5rem;
    background: color-mix(in oklab, var(--parch) 2.5%, transparent);
  }
  .split .aside h3 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--parch-dim);
    margin: 0 0 1rem;
  }
  .split .aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
  .split .aside li { color: var(--muted); font-size: .95rem; line-height: 1.5; padding-left: 1.1rem; position: relative; }
  .split .aside li::before { content: "\2014"; position: absolute; left: 0; color: var(--amber); }

  /* ---------- portrait (About) ---------- */
  .portrait {
    position: relative;
    z-index: 10; /* above the fixed grain overlay (z-index 9) */
    margin: 0;
    max-width: 460px;
    border: 1px solid color-mix(in oklab, var(--came-line) 45%, transparent);
    border-radius: 1px;
    overflow: hidden;
    background: var(--ink-deep);
    filter: drop-shadow(0 30px 70px rgba(0,0,0,.5));
  }
  .portrait img { width: 100%; height: auto; display: block; }
  .portrait figcaption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1.05rem .95rem;
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid color-mix(in oklab, var(--came-line) 40%, transparent);
  }

  /* steps: allow a 5-up row on inner pages */
  .steps.five { grid-template-columns: repeat(5, 1fr); }
  @media (max-width: 980px) { .steps.five { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 640px) { .steps.five { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 420px) { .steps.five { grid-template-columns: 1fr; } }

  /* ---------- portfolio (filterable) ---------- */
  .pf-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
  }
  .pf-filter button {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--parch-dim);
    background: transparent;
    border: 1px solid color-mix(in oklab, var(--came-line) 55%, transparent);
    border-radius: 1px;
    padding: .6em 1.1em;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  }
  .pf-filter button:hover { color: var(--amber); border-color: var(--amber); }
  .pf-filter button[aria-pressed="true"] {
    color: var(--ink);
    background: var(--amber);
    border-color: var(--amber);
  }
  .pf-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(1.4rem, 3vw, 2.4rem);
  }
  .pf-item {
    display: flex;
    flex-direction: column;
    border: 1px solid color-mix(in oklab, var(--came-line) 40%, transparent);
    border-radius: 1px;
    overflow: hidden;
    background: var(--ink-deep);
  }
  .pf-item[hidden] { display: none; }
  .pf-item .body { padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2rem) 1.3rem; max-width: 70ch; }
  .pf-item h2 { font-size: var(--fs-h3); margin: 0 0 .25rem; }
  .pf-item .sub {
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 1rem;
  }
  .pf-item p { color: var(--parch-dim); font-size: .95rem; line-height: 1.62; margin: 0; }
  .pf-item p + p { margin-top: .8rem; }

  /* per-idiom image row — mixed aspect ratios, uniform height */
  .pf-shots {
    position: relative;
    z-index: 10; /* lift photos above the fixed grain overlay (z-index 9) */
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    background: var(--ink-deep);
    border-top: 1px solid color-mix(in oklab, var(--came-line) 40%, transparent);
  }
  .pf-shot {
    flex: 0 0 auto;
    height: clamp(150px, 24vw, 250px);
    padding: 0;
    border: 0;
    background: none;
    border-radius: 1px;
    overflow: hidden;
    cursor: zoom-in;
  }
  .pf-shot img {
    height: 100%;
    width: auto;
    display: block;
    transition: filter .25s ease, transform .25s ease;
  }
  .pf-shot:focus-visible img { filter: brightness(1.12) saturate(1.08); transform: scale(1.03); }
  .pf-shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (hover: hover) {
    .pf-shot:hover img { filter: brightness(1.12) saturate(1.08); transform: scale(1.03); }
  }
  @media (max-width: 560px) {
    .pf-shots { flex-direction: column; }
    .pf-shot { height: auto; width: 100%; }
    .pf-shot img { width: 100%; height: auto; }
  }

  .pf-empty { color: var(--muted); margin-top: 1.5rem; }
  .pf-empty[hidden] { display: none; }

  /* lightbox (created by app.js) */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    overflow: auto;
    background: color-mix(in oklab, var(--ink) 92%, #000);
  }
  .lightbox[hidden] { display: none; }
  .lightbox img {
    --lb-drop: 0 24px 70px rgba(0, 0, 0, .6); /* base panel shadow, reused by the lit state */
    max-width: 100%;
    max-height: 100%;
    /* margin:auto keeps it centred, and lets it scroll fully into view
       if it is ever taller than the viewport (flex + align-items:center
       alone would clip the top) */
    margin: auto;
    border: 1px solid color-mix(in oklab, var(--came-line) 55%, transparent);
    box-shadow: var(--lb-drop);
  }
  .lightbox-close {
    position: absolute;
    top: clamp(.5rem, 2.5vw, 1.3rem);
    right: clamp(.5rem, 2.5vw, 1.3rem);
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--parch);
    background: var(--ink-deep);
    border: 1px solid var(--came-line);
    border-radius: 50%;
    cursor: pointer;
  }
  .lightbox-close:hover { color: var(--accent); border-color: var(--accent); }

  /* "Hold it to the light" — once a panel is open a slow warm backlight
     blooms in behind it, the way glass reads when it is lifted to a
     window. The .is-lit class is toggled by app.js; the global
     reduced-motion block zeroes these transitions, leaving the glow
     present but static. */
  .lightbox::before,
  .lightbox::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.1s ease;
  }
  /* edge fall-off: sink the corners so the eye travels to the glass */
  .lightbox::before {
    background: radial-gradient(ellipse 68% 68% at 50% 47%,
      transparent 38%, rgba(0, 0, 0, .58) 100%);
  }
  /* warm bloom: light spilling around the panel */
  .lightbox::after {
    background: radial-gradient(circle at 50% 50%,
      color-mix(in oklab, var(--amber) 24%, transparent) 0%,
      transparent 58%);
    mix-blend-mode: screen;
  }
  .lightbox.is-lit::before,
  .lightbox.is-lit::after { opacity: 1; }

  /* keep the panel and the close control above the z-index:1 glow layers,
     and the close control above the panel so a wide image can't cover it */
  .lightbox img { position: relative; z-index: 2; transition: box-shadow 1.1s ease; }
  .lightbox-close { z-index: 3; }
  .lightbox.is-lit img {
    box-shadow:
      var(--lb-drop),
      0 0 90px 10px color-mix(in oklab, var(--amber) 20%, transparent),
      0 0 30px color-mix(in oklab, var(--rose) 14%, transparent);
  }

  /* ==========================================================================
     Motion layers promoted from the /lab sandbox (reviewed 2026-08-30). Both
     are feature-detected and motion-gated: on an engine without scroll-driven
     animation, or under prefers-reduced-motion, or on a touch device, the
     site falls back to the plain app.js IntersectionObserver reveals and a
     fixed hero glow.
       B — scroll-driven reveals, Art-Deco divider self-draw, photo parallax
       C — hero "raking light" tracking the pointer
     ========================================================================== */

  /* ---- C: hero raking light ---- */
  @property --lx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
  @property --ly { syntax: "<percentage>"; inherits: true; initial-value: 30%; }

  .hero { isolation: isolate; }

  /* screen-space highlight following the pointer (light.js writes --lx/--ly).
     Sits above the hero content at low opacity so the lockup and headline
     read as if lit, not covered. */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3; /* above hero-text (2) and hero-figure (1) */
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .85;
    background:
      radial-gradient(16rem 16rem at var(--lx) var(--ly),
        rgba(244, 196, 120, .30) 0%, rgba(232, 161, 60, .12) 38%, transparent 70%),
      radial-gradient(46rem 40rem at var(--lx) var(--ly),
        rgba(232, 161, 60, .12) 0%, rgba(63, 111, 176, .05) 42%, transparent 66%);
    transition: opacity .6s ease;
  }
  /* hidden until the pointer is actually over the hero — the resting hero
     is plain near-black, the highlight only appears on deliberate hover */
  .hero:not([data-lit="true"])::after { opacity: 0; }

  /* touch (no hover) or reduced-motion: no highlight at all (it can never be
     activated without a pointer, so a static glow would just read as noise). */
  @media (hover: none), (prefers-reduced-motion: reduce) {
    .hero::after { opacity: 0; transition: none; }
  }

  /* ---- B: scroll-driven animation ---- */
  @supports (animation-timeline: view()) {
    @media not (prefers-reduced-motion: reduce) {

      /* entry fade + rise — takes over from the app.js `.in` toggle. The
         `from` state (opacity 0 / translateY) is inherited from `.reveal`;
         `.reveal.in` is matched too so the IntersectionObserver adding `.in`
         can't cancel the scroll-linked animation. */
      .reveal, .reveal.in {
        animation: sda-rise linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 44%;
      }
      @keyframes sda-rise { to { opacity: 1; transform: none; } }

      /* Art-Deco line geometry draws itself in on scroll. Only elements the
         markup opts in with pathLength="1" — not the solid fill dots. */
      .divider [pathLength] {
        stroke-dasharray: 1 1;
        stroke-dashoffset: 1;
        animation: sda-draw linear both;
        animation-timeline: view();
        animation-range: entry 8% cover 26%;
      }
      @keyframes sda-draw { to { stroke-dashoffset: 0; } }

      /* gentle counter-scroll parallax on the opted-in photo elements.
         No will-change: the scroll-linked transform already promotes these
         to their own layer while in range, and there can be 5+ per page. */
      [data-sda="parallax"] {
        animation: sda-parallax linear both;
        animation-timeline: view();
        animation-range: cover;
      }
      @keyframes sda-parallax {
        from { transform: translateY(2.5%); }
        to   { transform: translateY(-2.5%); }
      }

      /* an element that wants BOTH the entry reveal and the parallax needs a
         single comma-list declaration — two `animation` rules would just
         override each other. */
      .reveal[data-sda="parallax"], .reveal.in[data-sda="parallax"] {
        animation: sda-rise linear both, sda-parallax linear both;
        animation-timeline: view(), view();
        animation-range: entry 0% entry 44%, cover;
      }
    }
  }
