/* Lauren B. Pipari: the Design section, the hub and the nine service pages (v4, editorial round, Nov 2026, iOLab Digital).
   Loaded after site.css on /design/ and /design/<service>/ only; reuses its tokens, grid, surfaces, type
   and the editorial components (.hero, .quote, .split, .steps, .band-over, .band-text: see site.css).

   SERVICE PAGE ANATOMY (design/lighting/ is the template)
   1. .hero.hero--bleed (hero-21x9 wide, opener-3x4 on phones) — or .hero--held for holiday/patio —
      eyebrow "<a>Design</a> · n of 9", H1 = service name, .hero-lede = the existing lede.
   2. .quote: one sentence lifted out of the intro paragraph (not repeated in it), detail-1x1 right.
   3. .split: opener-3x4 left (.wide-only when the phone hero already shows the opener), eyebrow
      "Services provided", H2 = a phrase from the intro, the rest of the intro, the provided list (.split-list).
   4. .split.split--flip: eyebrow "Questions I’ll ask you", H2 = the theme line, the numbered questions
      run in (.runin), then .split-sub "What we might use" + the sentence; second-3x4 right.
   5. .split.split--text with .rule-top on .split-in: H2 "Together we’ll" left, .steps right.
   6. .close-line: the .onward line to Contact.
   7. .band-over.band-link.band-next: the next service (its hero-21x9, tile-4x5 on phones), eyebrow
      "Next · n of 9", H2 = its name, its one-line from the hub, "View". When the next service is
      holiday or patio (no 21:9), use .split.split--flip.next-split wrapped in one link (see below).
   8. .pager: "Previous: …" and "All nine services".

   HUB COMPONENTS
   .tiles          2-up service tiles (1-up under 600): <ul class="tiles" role="list"><li><a class="tile" href
                   aria-labelledby="…"><div class="frame"><img tile-4x5 …></div><div class="tile-copy">
                   <h3 id="…">Name</h3><p>One line.</p><span class="view">View</span></div></a></li></ul>
   .tiles-head     the section heading block above the tiles (hgroup or h2).
   The pre-editorial layouts (.svc-open, .crumbs, .svc-read, .svc-nav, .hub-open, .help/.toc) were removed on
   2026-11-07: every page is on the editorial anatomy above. */

/* ---------- numbered questions, run into one paragraph; still a list underneath ---------- */
.runin{counter-reset:q;text-wrap:pretty}
.runin li{display:inline;counter-increment:q}
.runin li::before{content:counter(q) ".";margin-right:.35em;font-style:italic;color:var(--accent);font-variant-numeric:lining-nums}
.runin li + li{margin-left:.45em}

/* ---------- the current section in the header and the menu (sub-pages say "true", the hub says "page") ---------- */
.u[aria-current="true"]{background-size:100% 1px}
.menu-main a[aria-current="true"]{font-style:italic}

/* ---------- typography across the section ---------- */
main :is(h1,h2,h3){text-wrap:balance}
main :is(p,li,figcaption){text-wrap:pretty}

/* ---------- editorial: closing line, next-service teaser, pager ---------- */
.close-line{padding-block:var(--space-2) var(--space-2)}
.band-next{margin-bottom:0}
/* when the next service has no wide crop: a flipped split whose whole row is the link */
.next-split{display:block;color:inherit}
.next-split .view{background-image:linear-gradient(var(--line),var(--line))}
.next-split:hover .view,.next-split:focus-visible .view{background-size:100% 2px}
/* a split picture never wider than its file: --ow on .split-fig (holiday's 438 opener in the next-split,
   the 600px seconds on tall windows); without --ow nothing changes */
.split-fig{max-width:min(var(--ow,100vw),(100vh - 7rem) * .75)}
@supports (height:1svh){.split-fig{max-width:min(var(--ow,100vw),(100svh - 7rem) * .75)}}
@media (max-width:860px){.split-fig{max-width:var(--ow,none)}}
.pager{padding-block:1.5rem var(--space-2)}
.pager .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.75rem 2rem;font-size:1rem}
.pager .dir{font-style:italic;color:var(--fg-soft);margin-right:.35em}

/* ---------- hub: tiles ---------- */
.tiles-sec{padding-block:var(--space-2)}
.tiles-head{margin-bottom:var(--space-1)}
.tiles-head h2{font-size:clamp(1.875rem,2.9vw,2.75rem);font-weight:320;line-height:1.1;letter-spacing:-.014em}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.5rem,1vw,.875rem)}
.tile{position:relative;display:block;color:var(--limewash);background:var(--night-2)}
.tile .frame{position:relative;aspect-ratio:4 / 5;overflow:hidden}
.tile .frame picture{display:block;width:100%;height:100%}
.tile .frame img{display:block;width:100%;height:100%;object-fit:cover}
.tile .frame::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,rgb(15 31 28 / .84) 0,rgb(15 31 28 / .48) 30%,rgb(15 31 28 / 0) 58%)}
.tile-copy{position:absolute;left:0;right:0;bottom:0;padding:clamp(1.25rem,2.6vw,2.25rem)}
.tile h3{font-size:clamp(1.5rem,2.3vw,2.125rem);font-weight:330;line-height:1.1;letter-spacing:-.012em;max-width:14em}
.tile p{margin-top:.6rem;font-size:.9375rem;line-height:1.45;max-width:30em}
.tile .view{margin-top:1rem}
.tile:hover .view,.tile:focus-visible .view{background-size:100% 2px}
.tile:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
/* The lead tile (Accents & Décor, first of nine): full row on the service's 21:9 hero, so the other eight stay 2-up
   with no orphan. 16:9 on narrow two-column screens so the copy has room; an ordinary 4:5 tile on phones. */
.tiles .tile-lead{grid-column:1 / -1}
.tile-lead .frame{aspect-ratio:21 / 9}
@media (max-width:900px){.tile-lead .frame{aspect-ratio:16 / 9}}
@media (max-width:600px){.tiles{grid-template-columns:minmax(0,1fr)}.tile-lead .frame{aspect-ratio:4 / 5}}
@media (max-width:860px){
  /* the hub hero is the door scene; its phone file is 4:5: show all of it (as on About) */
  .hub-hero .hero-media{aspect-ratio:4 / 5}
}

@media print{
  .pager,.band-next{display:none}
}

/* ---------- hub: her words, over the wide portrait ----------
   <section class="band-over band-voice"><div class="band-media"><picture>wide-16x9 (wide-4x5 on phones)</picture></div>
   <figure class="band-copy">eyebrow, blockquote, figcaption, .more</figure></section>
   Wide screens: the picture fills a 16:9 band (capped 88svh); the quote sits on a limewash panel at 90% over the
   empty room to her left, a brass rule down the panel's edge. Phones: the 4:5 cut round her, the panel pulled up
   over its foot. Motion (site.js gives the band .pf parallax and the panel .rv): the panel slides in from the left
   with its lines staggered and the rule drawing down; the picture drifts from 1.06 to 1 while the band is in view. */
.band-voice{margin-top:var(--space-2);color:var(--night)}
.band-voice .band-media{width:100%;aspect-ratio:16 / 9;max-height:min(88vh,56rem);min-height:26rem} /* width set, so the height cap never narrows the box */
@supports (height:1svh){.band-voice .band-media{max-height:min(88svh,56rem)}}
.band-voice .band-media img{object-position:72% 22%}
.band-voice .band-media::after{background:linear-gradient(to right,rgb(15 31 28 / .24),rgb(15 31 28 / 0) 55%)}
.band-voice .band-copy{--pad:clamp(1.75rem,3.4vw,3rem);position:absolute;left:clamp(1.5rem,5vw,5rem);top:50%;bottom:auto;translate:0 -50%;
  width:min(34rem,46%);max-width:none;margin:0;padding:var(--pad) var(--pad) var(--pad) calc(var(--pad) + .25rem);
  background:rgb(237 227 208 / .9);color:var(--night);--fg-soft:var(--jade)}
.band-voice .band-copy::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--brass)}
.band-voice .band-copy .eyebrow{margin-bottom:1.1rem;color:var(--jade)}
.band-voice blockquote p{position:relative;font-size:clamp(1.5rem,2.3vw,2.125rem);font-weight:300;line-height:1.2;letter-spacing:-.014em;text-wrap:pretty}
.band-voice blockquote em{font-weight:280}
.band-voice .q{position:absolute;right:100%;padding-right:.06em}
.band-voice figcaption{margin-top:1.4rem;font-size:1.0625rem;font-variant-caps:all-small-caps;letter-spacing:.09em;color:var(--jade)}
.band-voice .more{display:inline-block;margin-top:1.2rem;font-size:1rem}
@media (max-width:860px){
  .band-voice{margin-top:var(--space-1)}
  .band-voice .band-media{aspect-ratio:4 / 5;max-height:none;min-height:0}
  .band-voice .band-media img{object-position:50% 20%}
  .band-voice .band-media::after{background:none}
  .band-voice .band-copy{position:relative;z-index:1;left:auto;top:auto;translate:none;width:auto;margin:-4rem var(--inset) 0;
    padding:1.5rem 1.5rem 1.5rem 1.75rem;background:rgb(237 227 208 / .94)}
}
@media (prefers-reduced-motion:no-preference){
  .band-voice .band-copy.rv{transform:translate3d(-28px,0,0);transition:opacity .9s var(--enter),transform .9s var(--enter);transition-delay:var(--rd,0ms)}
  .band-voice .band-copy.rv.in{transform:none}
  .band-voice .band-copy.rv::before{transform:scaleY(0);transform-origin:50% 0;transition:transform .8s var(--enter) .2s}
  .band-voice .band-copy.rv.in::before{transform:none}
  .band-voice .band-copy.rv > *{opacity:0;transform:translate3d(0,10px,0);transition:opacity .6s var(--enter),transform .6s var(--enter)}
  .band-voice .band-copy.rv.in > *{opacity:1;transform:none}
  .band-voice .band-copy.rv.in > :nth-child(2){transition-delay:.12s}
  .band-voice .band-copy.rv.in > :nth-child(3){transition-delay:.24s}
  .band-voice .band-copy.rv.in > :nth-child(4){transition-delay:.36s}
  .band-voice .band-media.pf > picture > img{scale:1.06;transition:scale 2.6s var(--enter),opacity .4s var(--enter)}
  .band-voice .band-media.pf.pv-on > picture > img{scale:1}
}
