/* Linerra Architects - site stylesheet
   Hand-written for the static site that replaced Squarespace (Oct 2026).
   Sizes and colours match the old Squarespace design settings:
   type scale h1 4 / h2 2.6 / h3 1.8 / h4 1.2, text 1.2 / 1.1 / .9,
   max page width 1400px, page gutter 4vw (6vw on phones). */

/* ---------- tokens ---------- */
:root {
  --max: 1400px;
  --pad: 4vw;
  --pad-m: 6vw;
  --gap: 11px;
  --head-font: "Helvetica Neue", Arial, sans-serif;
  --body-font: Arial, Helvetica, sans-serif;
  --head-weight: 500;
  --head-lh: 1.4;
  --body-lh: 1.8;
  --radius: 10px;
  --grey: #dcdcdc;
  --off-white: #fafafa;
  --header-h: 87px;

  /* theme defaults (section theme "" and "light") */
  --bg: #fff;
  --text: #000;
  --head: #000;
  --link: #000;
  --rule: #000;
  --btn1-bg: transparent; --btn1-text: #000; --btn1-border: #000;
  --btn2-bg: #000;        --btn2-text: var(--grey); --btn2-border: var(--grey);
  --btn3-bg: transparent; --btn3-text: #000; --btn3-border: transparent;
}

.theme-white { --bg: var(--off-white); }
.theme-light { --bg: #fff; }
.theme-black, .theme-black-bold {
  --bg: #000;
  --text: var(--off-white);
  --head: var(--off-white);
  --link: var(--grey);
  --rule: var(--grey);
  --btn1-bg: transparent; --btn1-text: var(--grey); --btn1-border: var(--grey);
  --btn2-bg: var(--grey); --btn2-text: #000;        --btn2-border: #000;
  --btn3-bg: transparent; --btn3-text: var(--grey); --btn3-border: transparent;
}
.theme-black-bold { --head: var(--grey); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--body-font);
  font-weight: 400;
  line-height: var(--body-lh);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background-color: red; color: #fff; }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 10000;
  background: #000; color: #fff; padding: .6rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

/* fluid type: same curve the old site used (scale value in --s) */
h1, h2, h3, h4, p, li, .fs {
  font-size: min(calc((var(--s) - 1) * 1.2vw + 1rem),
                 max(calc((var(--s) - 1) * 16.8px + 1rem), calc(var(--s) * 1rem)));
}
@media (max-width: 767px) and (orientation: portrait) {
  h1, h2, h3, h4, p, li, .fs { font-size: calc((var(--s) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
}
h1, h2, h3, h4 {
  font-family: var(--head-font);
  font-weight: var(--head-weight);
  letter-spacing: 0;
  line-height: calc(var(--head-lh) * (1 + (1 - var(--s)) / 25));
  color: var(--head);
}
h1 { --s: 4; }
h2 { --s: 2.6; }
h3 { --s: 1.8; }
h4 { --s: 1.2; }
p, li { --s: 1.1; }

/* SEO: one <h1> per page. These classes give an element the look of another heading level,
   so the tag can say what the text IS and the class says how big it LOOKS.
   <h1 class="h2"> = page title drawn at h2 size; <h2 class="h1"> = section title drawn at h1 size;
   <div class="hd h1"> = big decorative text that is not a heading (the step numbers on /process). */
.h1 { --s: 4; }
.h2 { --s: 2.6; }
.h3 { --s: 1.8; }
.hd {
  font-size: min(calc((var(--s) - 1) * 1.2vw + 1rem),
                 max(calc((var(--s) - 1) * 16.8px + 1rem), calc(var(--s) * 1rem)));
  font-family: var(--head-font);
  font-weight: var(--head-weight);
  letter-spacing: 0;
  line-height: calc(var(--head-lh) * (1 + (1 - var(--s)) / 25));
  color: var(--head);
}
@media (max-width: 767px) and (orientation: portrait) {
  .hd { font-size: calc((var(--s) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
}
.txt :where(.hd) { margin: 2rem 0; white-space: pre-wrap; }
/* visually hidden, still read by screen readers and crawlers */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.t-large { --s: 1.2; }
.t-small { --s: .9; }
p.t-large, p.t-small { font-size: min(calc((var(--s) - 1) * 1.2vw + 1rem), max(calc((var(--s) - 1) * 16.8px + 1rem), calc(var(--s) * 1rem))); }
li > p { font-size: inherit; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head-font);
  font-size: 1rem; font-weight: 500; letter-spacing: .02em; line-height: normal;
  padding: .85rem 1.7rem;
  border: 1px solid var(--btn1-border);
  border-radius: 999px; /* all buttons are pills (Nov 2026) */
  background: var(--btn1-bg);
  color: var(--btn1-text);
  text-align: center;
  cursor: pointer;
  transition: opacity .1s linear;
}
.btn:hover { opacity: .8; }
.btn--secondary { background: var(--btn2-bg); color: var(--btn2-text); border-color: var(--btn2-border); }
.btn--tertiary { background: var(--btn3-bg); color: var(--btn3-text); border-color: var(--btn3-border); }
.btn--small { font-size: .85rem; padding: .7rem 1.4rem; }
.btn--large { font-size: 1.1rem; padding: .95rem 2rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: #000;
}
/* no bar behind the header (Nov 2026): logo, glass pill nav and phone button float on the page */
.site-header .hdr-bg { display: none; }
.hdr-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .7vw var(--pad);
  min-height: var(--header-h);
}
.hdr-logo img { height: 48px; width: auto; }
.hdr-nav ul { list-style: none; margin: 0; padding: 0; }
.hdr-nav > ul { display: flex; gap: 1em; align-items: center; }
.hdr-nav li { position: relative; --s: 1.1; margin: 0; line-height: 1.3; }
.hdr-nav a, .hdr-nav .folder-title {
  display: inline-flex; align-items: center; gap: .3em;
  font-family: var(--body-font);
  padding: .1em 0;
  color: #000;
  background: none; border: 0; cursor: pointer;
  font-size: inherit;
}
.hdr-nav a:hover, .hdr-nav .folder-title:hover { color: #606060; }
/* current section = small pill inside the glass pill (black on light, white on dark) */
.hdr-nav > ul > li > a { padding: .35em .95em; border-radius: 999px; transition: background-color .2s, color .2s; }
.hdr-nav > ul > li > a:hover { background: rgba(0, 0, 0, .06); }
.hdr-nav > ul > li > a[aria-current="page"], .hdr-nav > ul > li > a.is-active { background: #000; color: #fff; }
.hdr-nav .chev { width: .6em; height: .6em; transition: transform .2s; }
.hdr-nav .sub {
  position: absolute; top: 100%; left: -1em;
  min-width: 90px;
  padding: .5em 1em;
  background: rgba(255, 255, 255, .5);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.hdr-nav .sub li { white-space: nowrap; }
.hdr-nav .has-sub:hover .sub, .hdr-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.hdr-actions { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.btn-cta { background: #000; color: var(--grey); border-color: var(--grey); }
/* glass pill around the 4 nav links */
.hdr-nav > ul {
  gap: .25em;
  padding: .3em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  transition: background-color .3s, border-color .3s;
}
.hdr-nav .sub {
  top: calc(100% + 16px); left: 0;
  padding: .7em 1.2em;
  border-radius: 16px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
.hdr-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.hdr-nav .sub li + li { margin-top: .35em; }
/* phone number: pill button. Black over white sections, white over dark photos (on-dark). */
.hdr-cta.btn-cta {
  background: #000; color: #fff;
  border: 1px solid #000;
  border-radius: 999px;
  padding: .8rem 1.4rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .1);
  transition: background-color .3s, color .3s, border-color .3s;
}
/* over a dark section (set by site.js): white logo, white text, darker glass */
.hdr-logo img { transition: filter .3s; }
.site-header.on-dark .hdr-logo img { filter: brightness(0) invert(1); }
.site-header.on-dark .hdr-nav > ul { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); box-shadow: 0 4px 24px rgba(0, 0, 0, .2); }
.site-header.on-dark .hdr-nav > ul > li > a { color: #fff; }
.site-header.on-dark .hdr-nav > ul > li > a:hover { color: #fff; background: rgba(255, 255, 255, .15); }
.site-header.on-dark .hdr-nav > ul > li > a[aria-current="page"], .site-header.on-dark .hdr-nav > ul > li > a.is-active { background: #fff; color: #000; }
.site-header.on-dark .hdr-nav .sub { background: rgba(20, 20, 20, .55); border-color: rgba(255, 255, 255, .2); }
.site-header.on-dark .hdr-nav .sub a { color: #fff; }
.site-header.on-dark .hdr-nav .sub a:hover { color: rgba(255, 255, 255, .7); }
.site-header.on-dark .hdr-cta.btn-cta { background: #fff; color: #000; border-color: transparent; }
.site-header.on-dark .hdr-burger span { background: #fff; }
.menu-open .site-header.on-dark .hdr-logo img { filter: none; }
.menu-open .site-header.on-dark .hdr-burger span { background: #000; }
.hdr-burger {
  display: none; width: 47px; height: 37px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.hdr-burger span { position: absolute; left: 6px; width: 35px; height: 1px; background: #000; transition: transform .25s, top .25s; }
.hdr-burger span:nth-child(1) { top: 13px; }
.hdr-burger span:nth-child(2) { top: 23px; }
.menu-open .hdr-burger span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-open .hdr-burger span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

/* mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--grey);
  padding: calc(var(--header-h) + 2rem) var(--pad-m) 1.5rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  overflow-y: auto;
}
.menu-open .mmenu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mmenu-panels { flex: 1; position: relative; display: flex; align-items: center; }
.mmenu-panel { width: 100%; }
.mmenu-panel[hidden] { display: none; }
.mmenu ul { list-style: none; margin: 0; padding: 0; }
.mmenu li { margin: 0; }
.mmenu-panel a, .mmenu button.mm-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--body-font); font-size: 2rem; line-height: 1.7; color: #000;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.mmenu .mm-chev { width: .5em; height: .5em; opacity: .6; }
.mmenu-cta { padding-top: 1rem; }
.mmenu-cta .btn { width: 210px; white-space: nowrap; }

/* ---------- sections ---------- */
main { display: block; }
.sec {
  position: relative;
  background: var(--bg);
  color: var(--text);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.sec.valign-top { justify-content: flex-start; }
.sec.valign-bottom { justify-content: flex-end; }
.sec-content { position: relative; width: 100%; padding-top: 4vmax; padding-bottom: 4vmax; }
.sec.h-small { min-height: 33vh; }
.sec.h-small > .sec-content { padding-top: 3.3vmax; padding-bottom: 3.3vmax; }
.sec.h-medium { min-height: 66vh; }
.sec.h-medium > .sec-content { padding-top: 6.6vmax; padding-bottom: 6.6vmax; }
.sec.h-large { min-height: 100vh; }
.sec.h-large > .sec-content { padding-top: 10vmax; padding-bottom: 10vmax; }
main > .sec:first-child > .sec-content { padding-top: max(var(--header-h), var(--pt, 0px)); }
main > .sec:first-child .blog-wrap, main > .sec:first-child .post-wrap,
main > .sec:first-child .pgrid-wrap, main > .sec:first-child .store-wrap { padding-top: calc(var(--header-h) + 46px); }
main > .sec.h-small:first-child > .sec-content { padding-top: calc(var(--header-h) + 3.3vmax); }
main > .sec.h-medium:first-child > .sec-content { padding-top: calc(var(--header-h) + 6.6vmax); }
main > .sec.h-large:first-child > .sec-content { padding-top: calc(var(--header-h) + 10vmax); }
.sec-bg { position: absolute; inset: 0; overflow: hidden; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-ov { position: absolute; inset: 0; background: var(--bg); }
.sec a:not(.btn):hover { color: grey; }

/* ---------- fluid grid (same grid the old layout engine used) ---------- */
.fe {
  --gutter: calc(var(--pad-m) - var(--gap));
  --cell: calc((var(--max) - var(--gap) * 7) / 8);
  position: relative;
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) repeat(8, minmax(0, var(--cell))) minmax(var(--gutter), 1fr);
  grid-template-rows: repeat(var(--rows-m), minmax(24px, auto));
  gap: var(--gap);
  overflow-x: clip;
}
@media (min-width: 768px) {
  .fe {
    --gutter: calc(var(--pad) - var(--gap));
    --cell: calc((var(--max) - var(--gap) * 23) / 24);
    --cw: min(var(--max), calc(100vw - var(--pad) * 2));
    grid-template-columns: minmax(var(--gutter), 1fr) repeat(24, minmax(0, var(--cell))) minmax(var(--gutter), 1fr);
    grid-template-rows: repeat(var(--rows-d), minmax(calc(var(--cw) * var(--rf, .0215)), auto));
  }
}
.fb {
  grid-area: var(--m);
  z-index: var(--zm, 0);
  display: flex; flex-direction: column;
  justify-content: var(--jm, flex-start);
  min-width: 0;
  position: relative;
}
@media (min-width: 768px) {
  .fb { grid-area: var(--d); z-index: var(--zd, 0); justify-content: var(--jd, flex-start); }
}
.fb.only-d { display: none; }
@media (min-width: 768px) { .fb.only-d { display: flex; } .fb.only-m { display: none; } }

/* text block */
.txt { color: var(--text); overflow-wrap: break-word; }
.txt > :first-child { margin-top: 0; }
.txt > :last-child { margin-bottom: 0; }
.txt p, .txt li { margin: 1rem 0; white-space: pre-wrap; }
.txt h1, .txt h2, .txt h3, .txt h4 { margin: 2rem 0; white-space: pre-wrap; }
.txt ul, .txt ol { margin: 1rem 0; padding-left: 1.5em; }
.txt li { margin: .5rem 0; }
.txt li p { white-space: normal; }
.txt a { color: var(--link); text-decoration: none; }
.txt blockquote { margin: 1rem 0; padding-left: 1em; border-left: 2px solid currentColor; }
.txt strong { font-weight: 700; }
.txt pre { margin: 0; padding: 0; white-space: pre-wrap; font: inherit; background: none; }
.txt pre code { font-family: var(--head-font); font-size: .9rem; line-height: 1.2; color: var(--text); }
.txt h1 strong, .txt h2 strong, .txt h3 strong, .txt h4 strong { font-weight: inherit; }

/* text block drawn as a card (border + radius + inner padding) */
.fb.boxed { border: var(--bw, 1px) var(--bs, solid) currentColor; border-radius: var(--br, 0); color: var(--text); }
.fb.boxed > .txt { padding: var(--tp, 0); }

/* button block: fills its grid cell like the old layout engine */
/* buttons are their natural size, centred in their grid cell (no longer stretched to fill it) */
.fb-button { align-items: center; }
.fb-button .btn { flex: 0 0 auto; width: auto; }
/* keep button labels on one line */
.btn { white-space: nowrap; }
@media (max-width: 767px) { .btn { padding-left: 1.4rem; padding-right: 1.4rem; } }
.fb-button.not-stretched { align-items: var(--align, flex-start); }
.fb-button.not-stretched .btn { flex: 0 0 auto; width: auto; padding: 1rem 1.3rem; }

/* image block */
.fb-image .imgbox { position: relative; flex: 1; overflow: hidden; min-height: 1px; }
.fb-image .imgbox img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: var(--fit, cover);
  object-position: var(--fp, 50% 50%);
}
.fb-image .imgbox .img-ov { position: absolute; inset: 0; background: var(--bg); pointer-events: none; }
.fb-image figcaption { padding-top: .5rem; }
.hover-zoom img { transition: all .8s ease; }
.hover-zoom:hover img { transform: scale(1.1); cursor: pointer; opacity: .5; }

/* rule */
.fb-hr { justify-content: center; }
.fb-hr hr { width: 100%; height: 1px; margin: 0; border: 0; background: var(--rule); }

/* accordion */
.acc { list-style: none; margin: 0; padding: 0; }
.acc-item { position: relative; }
.acc-item::after, .acc.has-divider .acc-item:first-child::before {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--rule); opacity: var(--acc-div-op, 1);
}
.acc-item::after { bottom: 0; }
.acc.has-divider .acc-item:first-child::before { top: 0; }
.acc:not(.has-divider) .acc-item::after { display: none; }
.acc-title { margin: 0; font-size: inherit; line-height: normal; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: var(--acc-pt, 15px) 0 var(--acc-pb, 15px); background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--head);
}
.acc-label {
  --s: 1.2; font-family: var(--head-font); font-weight: var(--head-weight); line-height: normal;
  font-size: min(calc((var(--s) - 1) * 1.2vw + 1rem), max(calc((var(--s) - 1) * 16.8px + 1rem), calc(var(--s) * 1rem)));
}
.acc-icon { position: relative; flex: 0 0 14px; height: 14px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: currentColor; }
.acc-icon::before { left: 0; right: 0; top: 50%; height: var(--acc-icon-t, 1px); transform: translateY(-50%); }
.acc-icon::after { top: 0; bottom: 0; left: 50%; width: var(--acc-icon-t, 1px); transform: translateX(-50%); transition: transform .2s; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translateX(-50%) rotate(90deg); }
.acc--arrow .acc-icon::before { display: none; }
.acc--arrow .acc-icon::after {
  top: 50%; left: 50%; bottom: auto; width: 9.9px; height: 9.9px; background: none;
  border: solid currentColor; border-width: 0 var(--acc-icon-t, 3px) var(--acc-icon-t, 3px) 0;
  transform: translate(-50%, -70%) rotate(45deg);
}
.acc--arrow .acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -30%) rotate(-135deg); }
.acc-panel { overflow: hidden; }
.acc-panel[hidden] { display: none; }
.acc-panel .txt { padding: 0 0 var(--acc-pb, 15px); max-width: var(--acc-desc-w, 100%); }

/* video */
.vid { position: relative; width: 100%; background: #000; }
.vid video { width: 100%; height: 100%; object-fit: contain; }

/* code block: user code keeps its own styling */
.fb-code { display: block; }

/* social icons */
.social { display: flex; gap: 12px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.social a { display: block; width: 20px; height: 20px; color: var(--text); }
.social svg { width: 100%; height: 100%; fill: currentColor; }

/* ---------- homepage carousel (list section) ---------- */
.carousel { padding: var(--cpt, 6.6vmax) 0 var(--cpb, 6.6vmax); justify-content: flex-start; }
.carousel-head { padding: 0 var(--pad); margin-bottom: 1.5rem; }
.carousel-viewport { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--cgap, 20px) * (var(--cols, 2) - 1)) / var(--cols, 2));
  gap: var(--cgap, 20px);
  padding: 0 var(--pad); scroll-padding: 0 var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; list-style: none; margin: 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; }
.carousel-media { width: 100%; aspect-ratio: var(--ar, 3 / 2); overflow: hidden; }
.carousel-media img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide h2 { --s: var(--ct, 2.2); margin: var(--cmedia-gap, 30px) 0 var(--ctitle-gap, 10px); }
.carousel-slide .btn { margin-top: 22px; }
.carousel-arrow {
  position: absolute; z-index: 2;
  top: calc((100vw - var(--pad) * 2 - var(--cgap, 20px) * (var(--cols, 2) - 1)) / var(--cols, 2) * var(--ar-inv, .6667) / 2);
  transform: translateY(-50%);
  width: 60px; height: 60px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(0, 0, 0, .7); color: var(--off-white); display: flex; align-items: center; justify-content: center;
}
.carousel-arrow svg { width: 26px; height: 12px; }
.carousel-arrow.prev { left: var(--nav-off, 8vw); }
.carousel-arrow.next { right: var(--nav-off, 8vw); }
@media (max-width: 767px) {
  .carousel { --cols: 1 !important; }
  .carousel-viewport { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 12px; }
  .carousel-track { order: -1; flex: 0 0 100%; padding: 0 var(--pad-m); scroll-padding: 0 var(--pad-m); grid-auto-columns: 100%; }
  .carousel-head { padding: 0 var(--pad-m); }
  .carousel-arrow { position: static; transform: none; margin-top: 24px; width: 36px; height: 36px; background: #000; }
  .carousel-arrow svg { width: 18px; height: 9px; }
}

/* ---------- gallery (project pages) ---------- */
.sec-gallery { justify-content: flex-start; }
.gallery { padding: 0 var(--pad); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; width: 100%; }
.gallery--bleed { padding: 0 6px; max-width: none; }
.masonry { display: flex; gap: 7px; align-items: flex-start; }
.masonry-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.masonry figure { margin: 0; }
.masonry a { display: block; cursor: zoom-in; }
.masonry img { width: 100%; height: auto; }
.masonry figcaption { padding-top: .5rem; font-size: .9rem; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(255, 255, 255, .97);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; cursor: pointer; color: #000; padding: 1rem;
}
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ---------- portfolio index ---------- */
.pgrid-wrap { padding: 3vmax var(--pad) 4vmax; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5vw; }
.pgrid a { display: block; }
.pgrid .pimg { aspect-ratio: 1 / 1; overflow: hidden; }
.pgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .8s ease; }
.pgrid a:hover img { transform: scale(1.05); opacity: .8; }
.pgrid h3 { --s: 1.2; margin: .8rem 0 0; }
@media (max-width: 767px) { .pgrid { grid-template-columns: 1fr; gap: 6vw; } }

/* ---------- blog list (Ideas, tags, categories) ---------- */
.blog-wrap { padding: 3.3vmax var(--pad); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; width: 100%; }
.post-row { display: grid; grid-template-columns: 40% 1fr; column-gap: 6%; align-items: center; margin-bottom: 30px; }
.post-media { aspect-ratio: 1 / 1; overflow: hidden; display: block; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { --s: 1.1; margin-bottom: 20px; line-height: 1; }
.post-meta time { font-size: inherit; }
.post-summary h2 { --s: 2.6; margin: 0 0 30px; line-height: 1.4; }
.post-summary .excerpt p { margin: 0 0 1rem; }
.post-more, .post-meta { font-size: min(calc(.1 * 1.2vw + 1rem), max(calc(.1 * 16.8px + 1rem), 1.1rem)); }
.post-more { display: inline-block; margin-top: 20px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.blog-pager { display: flex; justify-content: space-between; margin-top: 2rem; }
@media (max-width: 767px) {
  .post-row { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .blog-wrap { padding: 6vmax var(--pad-m); }
}

/* ---------- blog post ---------- */
.post-wrap { padding: 46px var(--pad) 4vmax; }
.post { width: 75%; margin: 0 auto; }
.post-top { margin-bottom: 49px; }
.post-byline { --s: 1.1; display: flex; gap: 1.2em; flex-wrap: wrap; margin-bottom: 32px; line-height: 1;
  font-size: min(calc(.1 * 1.2vw + 1rem), max(calc(.1 * 16.8px + 1rem), 1.1rem)); }
.post-top h1 { margin: 0; line-height: 1.4; }
.post-body .txt p { margin: 0 0 16px; }
.post-body .txt h1, .post-body .txt h2, .post-body .txt h3, .post-body .txt h4 { margin: 32px 0; }
.post-body .txt li { margin: 0; }
.post-body .blk { margin: 0 0 16px; }
.post-body .blk-image img { width: 100%; height: auto; position: static; }
.post-body .blk-image .imgbox { flex: none; }
.post-author { margin-top: 3rem; padding: 2rem 0; border-top: 1px solid rgba(0, 0, 0, .15); font-family: var(--head-font); font-weight: 500; }
.post-pager { border-top: 1px solid rgba(0, 0, 0, .15); }
.post-pager-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.5rem var(--pad); }
.post-pager a { display: block; font-family: var(--head-font); --s: 1.2; font-size: min(calc(.2 * 1.2vw + 1rem), max(calc(.2 * 16.8px + 1rem), 1.2rem)); line-height: 1.4; }
.post-pager a:hover { color: grey; }
.post-pager .next { text-align: right; }
.post-pager small { display: block; font-size: .8rem; opacity: .7; margin-bottom: .4rem; text-transform: none; }
@media (max-width: 767px) {
  .post { width: 100%; }
  .post-wrap { padding: 30px var(--pad-m) 6vmax; }
  .post-pager-inner { grid-template-columns: 1fr; padding: 2rem var(--pad-m); }
  .post-pager .next { text-align: left; }
}

/* previous / next project bar */
.item-pager { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem var(--pad); }
.item-pager a {
  display: inline-flex; align-items: center; gap: .9rem;
  --s: 1.8; font-family: var(--head-font); font-weight: var(--head-weight); line-height: 1.2;
  font-size: min(calc((var(--s) - 1) * 1.2vw + 1rem), max(calc((var(--s) - 1) * 16.8px + 1rem), calc(var(--s) * 1rem)));
}
.item-pager a:hover { color: grey; }
.item-pager .next { text-align: right; }
.item-pager svg { width: .45em; height: .8em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (max-width: 767px) { .item-pager { padding: 2rem var(--pad-m); } }

/* store */
.store-wrap { padding: 3vmax var(--pad) 6vmax; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }
.store-wrap h2 { margin: 0; }

/* ---------- forms (contact) ---------- */
.form { display: grid; gap: 1.9rem; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form .field { display: grid; gap: .2rem; }
.form label, .form legend {
  --s: 1.1; font-family: var(--body-font); font-weight: 400; padding: 0;
  font-size: min(calc((var(--s) - 1) * 1.2vw + 1rem), max(calc((var(--s) - 1) * 16.8px + 1rem), calc(var(--s) * 1rem)));
}
.form label.sub { font-size: 12px; }
.form .req { font-size: .9rem; opacity: .7; margin-left: .2em; }
.form label.sub .req { font-size: 12px; }
.form .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: .6rem; }
.form input:not([type=file]), .form select, .form textarea {
  width: 100%; font: inherit; color: inherit;
  font-size: min(calc(.1 * 1.2vw + 1rem), max(calc(.1 * 16.8px + 1rem), 1.1rem));
  padding: 5px 0; min-height: 42px;
  border: 0; border-bottom: 1px solid rgba(0, 0, 0, .45); border-radius: 0;
  background: transparent; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: #000; }
.form ::placeholder { color: rgba(0, 0, 0, .55); }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 22px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M1 1l10 10L21 1' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center / 14px 8px;
}
.form select:invalid { color: rgba(0, 0, 0, .55); }
.form textarea { height: 100px; resize: vertical; }
.form .btn { justify-self: start; }
.form-status { font-size: .95rem; margin: 0; }
.form-status:empty { display: none; }
.form-status.err { color: #b00020; }

/* ---------- footer (compact, replaced the old fluid-grid footer Nov 2026) ---------- */
.site-footer { background: var(--bg); color: var(--text); font-size: .9rem; line-height: 1.6; }
.ft { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 48px var(--pad) 24px; }
.ft-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr; gap: 32px; }
.ft-logo img { height: 40px; width: auto; }
.ft-tag { margin: 12px 0 16px; font-size: inherit; font-weight: 700; }
.ft h4 { margin: 0 0 10px; font-size: .95rem; color: var(--head); }
/* footer column titles are labels, not headings (keeps the heading outline clean for crawlers) */
.ft p.ft-h { --s: 1.2; margin: 0 0 10px; font-size: .95rem; color: var(--head); font-family: var(--head-font);
  font-weight: var(--head-weight); letter-spacing: 0; line-height: calc(var(--head-lh) * (1 + (1 - var(--s)) / 25)); }
.ft-col { display: flex; flex-direction: column; gap: 4px; }
.ft-col a, .ft-bottom a { color: var(--link); text-decoration: none; }
.ft-col a:hover, .ft-bottom a:hover { color: grey; }
.ft-info p { margin: 0 0 6px; font-size: inherit; }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }
.ft-bottom p { margin: 0; font-size: .85rem; }
.ft-sep { margin: 0 .6em; opacity: .5; }
.ft-oaa img { height: 42px; width: auto; }
@media (max-width: 899px) {
  .ft-top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .ft-brand, .ft-info { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .ft { padding: 40px var(--pad-m) 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- fixed contact box (from the old custom CSS) ---------- */
.fixed-contact-box {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  background: rgba(0, 0, 0, .8); color: #fff;
  padding: 12px 18px; font-size: 14px; font-family: "Arial", sans-serif;
  border-radius: 6px; box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
  width: auto; text-align: left; line-height: 1.6;
}
.fixed-contact-box a { color: #fff; text-decoration: none; }
.fixed-contact-box a:hover { text-decoration: underline; }
@media (max-width: 768px) { .fixed-contact-box { display: none; } }
/* home page: the box waits until the visitor scrolls past the hero photo (class set by site.js) */
.fixed-contact-box.after-hero { opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s; }
.fixed-contact-box.after-hero.is-shown { opacity: 1; visibility: visible; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 4rem) var(--pad) 4rem; }

/* ---------- small screens ---------- */
@media (max-width: 799px) {
  .hdr-inner { grid-template-columns: 1fr auto; padding: 11px var(--pad-m); min-height: 81px; }
  .hdr-logo img { height: 59px; }
  .hdr-nav, .hdr-actions .hdr-cta { display: none; }
  .hdr-burger { display: block; }
  :root { --header-h: 81px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* homepage hero title: typing effect + word swap (see site.js) */
.hero-type .tw-c { visibility: hidden; }
.hero-type .tw-c.tw-on { visibility: visible; }
.hero-type .tw-word { display: inline-block; text-align: left; white-space: nowrap; }
.hero-type .tw-probe { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; pointer-events: none; }
.hero-type .tw-caret { display: inline-block; position: relative; width: 0; height: 0.9em; vertical-align: -0.08em; }
.hero-type .tw-caret::after { content: ""; position: absolute; left: 0.04em; top: 0; bottom: 0; width: 0.06em; background: currentColor; }
.hero-type .tw-caret.tw-blink::after { animation: tw-blink 1s steps(1) infinite; }
.hero-type .tw-caret.tw-off { opacity: 0; transition: opacity 0.4s; }
@keyframes tw-blink { 50% { opacity: 0; } }
@keyframes pill-sub-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
/* word box has a fixed width (set by site.js); the word types left to right inside it and
   may run past its right edge, so "Architecture made" never moves */
.hero-type .tw-word { overflow: visible; }
/* narrow screens: the word box gets its own line, centred as a box (class set by site.js) */
.hero-type.tw-stack .tw-word { display: block; margin: 0 auto; }
/* title line break: shown on phones only (class tw-phone, set by site.js) */
.hero-type .tw-br { display: none; }
.hero-type.tw-phone .tw-br { display: inline; }
/* homepage hero subtitle: smaller than a normal h3 so the title leads */
.hero-sub { --s: 1.5; }

/* Projects page (/expertise): project tiles grouped by category */
.proj-intro { margin: 0 0 3.5rem; text-align: left; }
@media (min-width: 768px) { .proj-intro p { text-align: justify; } }
.proj-intro h1 { margin: 0 0 1rem; }
.proj-cat { margin-top: 3.5rem; }
.proj-cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  padding-bottom: 1rem; margin-bottom: 1.6rem; border-bottom: 1px solid rgba(0, 0, 0, .15); }
.proj-cat-head h2 { margin: 0 0 .4rem; }
.proj-cat-head p { margin: 0; max-width: 620px; }
@media (max-width: 767px) {
  .proj-intro { margin-bottom: 2rem; text-align: left; }
  .proj-cat { margin-top: 2.5rem; }
  .proj-cat-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (min-width: 768px) {
  .proj-wrap .pgrid { grid-template-columns: repeat(2, 1fr); gap: 2.5vw; }
  .proj-wrap .pgrid .pimg { aspect-ratio: 3 / 2; }
}
.proj-wrap .pgrid .pimg { border-radius: 16px; isolation: isolate; } /* isolation keeps corners round during hover zoom in Safari */

/* Contact page: simple 2-column layout, tighter form */
.contact-wrap {
  display: grid; grid-template-columns: 5fr 7fr; gap: 5vw; align-items: start;
  max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad);
}
.contact-info .txt h1 { margin: 0 0 1.6rem; }
.contact-lines h3 { --s: 1.3; margin: 0 0 .45em; }
.contact-form .form { gap: 1.15rem; }
.contact-form .form .field { gap: .05rem; }
.contact-form .form legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact-form .form .name-row { margin-top: 0; }
.contact-form .form label.sub, .contact-form .form label.sub .req { font-size: inherit; }
.contact-form .form label.sub { --s: 1.1; font-size: min(calc((var(--s) - 1) * 1.2vw + 1rem), max(calc((var(--s) - 1) * 16.8px + 1rem), calc(var(--s) * 1rem))); }
.contact-form .form label.sub .req { font-size: .9rem; }
.contact-form .form .field { gap: .4rem; }
.contact-form .form input:not([type=file]), .contact-form .form select, .contact-form .form textarea {
  min-height: 46px; padding: 10px 16px; border: 1px solid transparent; border-radius: 12px; background-color: #f2f2f2;
  font-size: 1rem; transition: border-color .2s, background-color .2s;
}
.contact-form .form input:focus, .contact-form .form select:focus, .contact-form .form textarea:focus { border-color: #000; background-color: #fff; }
.contact-form .form select { padding-right: 40px; background-position: right 16px center; }
.contact-form .form textarea { height: 96px; }
.contact-form .form .btn { margin-top: .4rem; }
@media (max-width: 767px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* guide pages (service and how-to pages added 2026-11-25). They reuse the blog post layout. */
.crumbs { margin: 0 0 28px; font-size: .9rem; color: rgba(0, 0, 0, .6); }
.crumbs a { color: inherit; }
.guide .post-top { margin-bottom: 32px; }
.guide-meta { margin: 18px 0 0; font-size: .95rem; color: rgba(0, 0, 0, .65); }
.guide .txt h3 { --s: 1.3; margin: 28px 0 10px; }
.guide .txt table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .97rem; }
.guide .txt th, .guide .txt td { padding: .65em .8em .65em 0; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, .15); }
.guide .txt th { font-weight: 700; }
.guide .tbl-scroll { overflow-x: auto; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.guide-src { font-size: .92rem; }
.guide-links { margin-top: 3vmax; }

/* Home page "Our Team": zoomed photo, name, title, Read Bio button (Nov 2026) */
.team-wrap { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.team-wrap > h2 { margin: 0 0 2.5rem; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: start; }
.team-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; isolation: isolate; }
/* zoom (--z) and offset (--x, --y) are set per photo so both faces sit at the same spot */
.team-img img { position: absolute; max-width: none; width: calc(var(--z, 1) * 100%); height: calc(var(--z, 1) * 100%);
  left: var(--x, 0%); top: var(--y, 0%); object-fit: cover; }
.team-card h3 { margin: 1.5rem 0 .2rem; }
.team-card .team-role { margin: 0 0 1.2rem; font-weight: 700; }
@media (max-width: 767px) {
  .team-wrap { padding: 0 var(--pad-m); }
  .team-wrap > h2 { margin-bottom: 1.5rem; }
  .team-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.guide .txt a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.form select:has(option[value=""]:checked) { color: rgba(0, 0, 0, .55); }

/* ---------- phones: hero (Nov 2026) ---------- */
@media (max-width: 767px) {
  /* title is 2 lines: "Architecture" / "made <word>.", each line centred (see site.js) */
  .hero-type.tw-phone .tw-l2 { white-space: nowrap; }
  .hero-type.tw-phone .tw-word { width: auto; }
  .hero-sub { --s: 1.2; }
  .hero-cta.btn--large { font-size: .95rem; padding: .7rem 1.5rem; }
}

/* ---------- phones: bottom pill nav (Nov 2026) ----------
   After the visitor scrolls down, the logo and menu button slide away and a glass pill
   with the 4 menu links shows at the bottom (built by site.js from the mobile menu).
   Home page: pill only after scrolling. Other pages (html.pill-always): pill always shown. */
.pillnav { display: none; }
@media (max-width: 799px) {
  .site-header { transition: transform .3s ease, opacity .3s ease; }
  .is-scrolled:not(.menu-open) .site-header { transform: translateY(-100%); opacity: 0; pointer-events: none; }
  .pillnav {
    display: block; position: fixed; left: 50%; z-index: 98;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, calc(100% + 30px)); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  .pillnav.no-anim { transition: none; }
  .is-scrolled:not(.menu-open) .pillnav,
  .pill-always:not(.menu-open) .pillnav { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
  .pillnav-bar {
    display: flex; gap: .2em; margin: 0; padding: .3em; list-style: none;
    border-radius: 999px;
    background: rgba(20, 20, 20, .62);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 6px 28px rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
  }
  .pillnav-bar li { margin: 0; font-size: 1rem; line-height: 1; }
  .pillnav-bar a, .pillnav-bar button {
    display: block; padding: .75em .9em; border: 0; border-radius: 999px;
    background: none; color: #fff; cursor: pointer; white-space: nowrap;
    font-family: var(--head-font); font-size: .9rem; font-weight: 500; line-height: 1;
  }
  /* white pill behind the current item; slides to the tapped item (site.js) */
  .pillnav-bar { position: relative; }
  .pillnav-bar > li:not(.pillnav-glide) { position: relative; z-index: 1; }
  .pillnav-bar a, .pillnav-bar button { transition: color .25s ease; }
  .pillnav-bar .is-on { color: #000; }
  .pillnav-glide {
    position: absolute; left: 0; top: .3em; bottom: .3em; width: 0;
    border-radius: 999px; background: #fff; pointer-events: none; opacity: 0;
    transition: transform .32s cubic-bezier(.3, .7, .2, 1), width .32s cubic-bezier(.3, .7, .2, 1), opacity .2s;
  }
  .pillnav-glide.is-shown { opacity: 1; }
  .pillnav-glide.no-anim { transition: none; }
  /* Studio list: small glass card centred over the Studio button */
  .pillnav-sub {
    position: absolute; left: 50%; bottom: calc(100% + 14px);
    width: max-content; margin: 0; padding: .35em; list-style: none;
    border-radius: 18px;
    background: rgba(20, 20, 20, .8);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    transform: translateX(-50%);
    animation: pill-sub-in .18s ease-out;
  }
  .pillnav-sub[hidden] { display: none; }
  .pillnav-sub li { margin: 0; font-size: 1rem; line-height: 1; }
  .pillnav-sub li + li { margin-top: 2px; }
  .pillnav-sub a {
    display: block; padding: .6em 1.1em; border-radius: 999px;
    color: #fff; text-align: center;
    font-family: var(--head-font); font-size: .9rem; font-weight: 500; line-height: 1;
  }
  .pillnav-sub a.is-active { background: #fff; color: #000; }
  /* room under the footer so the pill never covers the last line */
  .site-footer { padding-bottom: 80px; }
}

/* ---------- home hero: photo slideshow (Nov 2026, all screen sizes) ----------
   First photo is in the HTML (class "on"); the others wait in <template class="hero-slides-more">
   and site.js adds them one by one, so the page loads only one photo at first.
   Each photo fades in over the last one. */
.hero-slides { z-index: 0; } /* own layer, so photo z-index never covers the hero text */
.hero-slides > img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slides > img.top { z-index: 1; }
.hero-slides > .sec-ov { z-index: 2; }
.hero-slides > img.on { opacity: 1; }

/* page to page: quick cross-fade instead of a white flash (Chrome 126+, Safari 18.2+; others
   just load the page). The phone pill bar keeps its own layer so it stays still. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation-duration: .2s; }
  .pillnav { view-transition-name: pillnav; }
  ::view-transition-group(pillnav) { animation-duration: .2s; }
}
