/* ============================================================
   Argo Studio — ver2 (Direction B, static build)
   Sections: base · language · image shield · nav · menu ·
             bottom bar · splash · canvas · project page ·
             footer · breakpoints · motion
   Colours / fonts come from tokens.css only.
   ============================================================ */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); -webkit-font-smoothing: antialiased;
}
/* Scroll lock for the mobile menu. `position: fixed` rather than
   `overflow: hidden` — overflow on body breaks touch scrolling on phones. */
body.menu-open { position: fixed; left: 0; right: 0; width: 100%; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
img { display: block; max-width: 100%; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- language ---------- */
html:not([data-lang="zh"]) .zh { display: none; }
html[data-lang="zh"] .en { display: none; }

/* ---------- image shield ----------
   A transparent div sits on top of every photo so right-click / long-press
   hits the div, not the <img>. See js/site.js for the context-menu block. */
.shield-wrap { position: relative; -webkit-touch-callout: none; }
.shield-wrap img {
  pointer-events: none; -webkit-user-select: none; user-select: none;
  -webkit-user-drag: none; -webkit-touch-callout: none;
}
.img-shield { position: absolute; inset: 0; z-index: 2; }

/* Homepage without JS: the canvas stays empty and the mobile menu cannot
   open, so list the inner pages in its place. */
.noscript-links {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-size: var(--fs-h3);
}
.noscript-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
}
.nav-scrim {
  position: absolute; left: 0; right: 0; top: 0; height: 130%; z-index: -1; pointer-events: none;
  background: var(--scrim-top); opacity: 0; transition: opacity .6s ease;
}
/* Homepage scrim stays hover-driven; detail pages always have a solid bar. */
.nav.is-menu-open .nav-scrim { opacity: 1; }
.page-project .nav {
  background: var(--bg);
}
.page-project .nav-scrim,
.page-content .nav-scrim { display: none; }
/* Touch targets: nav items grow to 44px with no visual change — the nav
   centres them vertically, and horizontal padding is cancelled by an equal
   negative margin. */
.nav-logo { display: flex; align-items: center; min-height: 44px; line-height: 0; transition: opacity .35s ease; flex: 0 0 auto; }
.nav-logo:hover { opacity: .7; }
.nav-logo img { height: 30px; width: auto; }
.nav-right { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav-link {
  color: var(--ink); font-size: var(--fs-ui); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
  background: none;
  transition: opacity .35s ease, color .35s ease;
}
.nav-link:hover, .nav-link:active, .nav-link[aria-current="page"] {
  color: var(--gold); text-decoration: none; background: none;
}
.nav-link[aria-current="page"]:not(:hover) { color: var(--gold-text); }
.nav-link .zh { letter-spacing: 4px; }
/* Unapproved projects remain visual catalogue entries, without link affordance. */
.float.is-unavailable { cursor: default; }

.lang {
  display: flex; align-items: center; gap: 7px; background: none; border: 0;
  padding: 0 5px; margin: 0 -5px;
  cursor: pointer; font-family: var(--f-body); font-size: var(--fs-ui); font-weight: 700;
  letter-spacing: .14em; color: var(--ink); min-height: 44px;
  transition: opacity .35s ease, color .35s ease;
}
.lang:hover { color: var(--gold); }
.lang svg { display: block; }

.burger {
  display: none; width: 44px; height: 44px; margin-right: -12px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 4vh, 30px);
  padding: calc(var(--nav-h) + env(safe-area-inset-top)) var(--gutter) calc(40px + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.menu.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s;
}
.menu-item {
  display: block; font-family: var(--f-display); font-size: var(--fs-menu);
  line-height: 1.2; color: var(--ink);
}
a.menu-item:hover, a.menu-item:active, a.menu-item[aria-current="page"] { color: var(--gold); text-decoration: none; }
.menu-meta { margin-top: clamp(20px, 5vh, 40px); font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 2.2; }
/* Email and phone keep their real casing: the label style above is uppercase,
   but info@argostudiohk.com must read lowercase like the footer. */
.menu-meta a { font-family: var(--f-body); font-size: var(--fs-meta); letter-spacing: .12em; text-transform: none; display: block; }

/* ---------- bottom bar (homepage) ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  font-size: var(--fs-meta); line-height: 1.2; letter-spacing: .1em; color: var(--muted);
  /* Kept tight so the fixed bar covers as little of the canvas as possible. */
  padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom));
}
.bar-scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 180%; z-index: -1; pointer-events: none;
  background: var(--scrim-bottom); opacity: 0; transition: opacity .6s ease;
}
/* Copyright bottom-left, contact links bottom-right (same text as .foot). */
.bar-credit { min-width: 0; }
.bar-links { display: flex; flex-direction: row; align-items: baseline; gap: 28px; margin-left: auto; }
.bar-links a {
  /* 44px tap target; the negative margin cancels the extra height so the
     bar is only as tall as one 1.2 line box plus padding. */
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: calc((1.2em - 44px) / 2) 0;
  color: var(--muted); letter-spacing: .14em; transition: color .35s ease;
}
.bar-links a:hover { color: var(--gold); }
/* Mail / phone icons, shared by the home .bar and the inner-page .foot.
   Hidden on phones (see the 560px block). */
.bar-links svg, .foot-links svg { display: block; flex: 0 0 auto; }

/* ---------- splash (homepage) ----------
   Hidden by default so a return visit (or #projects) never paints the
   logo overlay before deferred canvas.js runs. index.html's head script
   adds html.splash-pending only for the first home load of the session. */
.splash {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(16px, 3vh, 26px); transition: opacity .8s ease; pointer-events: none;
  padding: var(--gutter); opacity: 0;
}
html.splash-pending .splash {
  display: flex; opacity: 1;
}
html.splash-pending .splash.is-hidden { opacity: 0; }
.no-js .splash { display: none; }
.splash img { width: clamp(150px, 22vw, 300px); height: auto; animation: fadeUp 1s .1s var(--ease) both; }
.splash p {
  font-size: var(--fs-splash); letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); text-align: center; animation: fadeUp 1s .45s var(--ease) both;
}

/* ---------- floating canvas (homepage) ---------- */
.page-canvas { overscroll-behavior: none; }
.canvas { position: fixed; inset: 0; z-index: 0; background: var(--bg); overflow: hidden; }
/* Projects grid scrolls like a normal page: the canvas joins the flow and
   js/canvas.js sets its height to the grid, so the document scrolls natively
   (no wheel hijack, no eased lag). Overscroll bounce comes back with it. */
.canvas.is-grid { position: relative; inset: auto; min-height: 100vh; }
.page-canvas:has(.canvas.is-grid) { overscroll-behavior: auto; }

/* left / width / opacity are set per item by js/canvas.js; transform is
   driven every frame by the rAF loop. */
.float {
  position: absolute; top: 0; display: block; color: var(--ink); will-change: transform;
  transition: left .9s var(--ease), width .9s var(--ease), opacity .7s ease;
  /* iOS paints a blue tap highlight on the link and the view transition
     stretches it across the project cover. */
  -webkit-tap-highlight-color: transparent;
}
/* Extras glide with the same left/width timing as the floats.
   Opacity is not transitioned: they are fully visible only once Projects
   mode parks them below the fold, then the rAF loop eases them into row. */
.float.is-grid-extra {
  transition: left .9s var(--ease), width .9s var(--ease);
}
.float:hover { color: var(--ink); }
.float:focus-visible { outline-offset: 6px; }
.float-inner { position: relative; animation: fadeUp 1.2s var(--ease) both; }
.float-frame { overflow: hidden; border-radius: 14px; transition: border-radius .5s ease; }
/* Hidden until the bitmap exists. An unloaded <img> paints WebKit's
   broken-image glyph; opacity 0 keeps that off the --bg frame. */
.float-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
}
.float-img.is-ready { opacity: 1; }
.project-transition-ghost {
  position: fixed; z-index: 40; margin: 0; pointer-events: none;
  overflow: hidden; background: var(--bg);
  -webkit-tap-highlight-color: transparent;
}
.project-transition-ghost img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  margin: 0; object-fit: cover; background: var(--bg); opacity: 0;
}
.project-transition-ghost img.is-ready { opacity: 1; }
.float-veil { position: absolute; inset: 0; z-index: 1; background: var(--bg); pointer-events: none; }

.float-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 10px; opacity: 0; transform: translateY(6px);
  transition: opacity .5s, transform .5s;
}
.float-name {
  font-size: var(--fs-card); font-weight: 500; letter-spacing: .04em;
  transition: color .35s ease;
}
.float-meta {
  font-size: var(--fs-card-meta); color: var(--muted); letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap; transition: color .35s ease;
}
/* Gold rule that sweeps in under the label — Direction A's card effect,
   brought across at the client's request. Absolutely positioned so it adds
   no height: the drift spacing (spanFor) is measured from offsetHeight. */
.float-rule {
  position: absolute; left: 0; right: 0; bottom: -10px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}

/* grid mode + touch: labels always visible */
.canvas.is-grid .float-label { opacity: 1; transform: none; }

/* Hover / keyboard focus: square corners, label in, text turns gold.
   Catalogue cards without a page (.is-unavailable) get the same treatment.
   They are not links — cursor stays default (also set on the nav block). */
.float:focus-visible .float-frame { border-radius: 0; }
.float:focus-visible .float-label { opacity: 1; transform: none; }
.float:focus-visible .float-name,
.float:focus-visible .float-meta { color: var(--gold); }
.float:focus-visible .float-rule { transform: scaleX(1); }

@media (hover: hover) {
  .nav:hover .nav-scrim { opacity: 1; }
  .bar:hover .bar-scrim { opacity: 1; }

  /* Hovering one nav item dims the others (ver-1b behaviour). */
  .nav-right:has(.nav-link:hover, .lang:hover) :is(.nav-link, .lang):not(:hover) { opacity: .7; }

  .float.is-hover .float-frame { border-radius: 0; }
  .float.is-hover .float-label { opacity: 1; transform: none; }
  .float.is-hover .float-name,
  .float.is-hover .float-meta { color: var(--gold); }
  .float.is-hover .float-rule { transform: scaleX(1); }
}

/* Touch has no hover, so the label stays visible. The gold rule does not:
   the old rule here set scaleX(1) on every card. It grows only while pressed. */
@media (hover: none) {
  .float-label { opacity: 1; transform: none; }
  .float:active .float-rule { transform: scaleX(1); }
  .float:active .float-name,
  .float:active .float-meta { color: var(--gold); }
}

/* Native cross-document transitions progressively enhance normal links.
   Ease-in-out on the cover travel; the root crossfade stays short so the
   page does not sit half-opaque for the whole morph. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  /* The ghost is position:fixed at the thumbnail's on-screen box so the
     morph starts where the photo is, not at the untransformed layout box.
     The name sits only on a decoded image (.is-ready). Naming an img that
     has no bitmap snapshots the broken-image glyph. */
  .project-transition-ghost img.is-ready,
  .p-cover img.is-ready { view-transition-name: project-cover; }

  /* Home nav is transparent; inner nav is solid --bg. Naming it keeps the
     bar out of the root crossfade. plus-lighter would bloom the wordmark,
     so the incoming snapshot is held instead of crossfaded. */
  .nav { view-transition-name: site-nav; }
  ::view-transition-group(site-nav) {
    animation-duration: .9s;
    animation-timing-function: cubic-bezier(.65, 0, .35, 1);
  }
  ::view-transition-old(site-nav) { display: none; }
  ::view-transition-new(site-nav) { animation: none; }

  ::view-transition-group(project-cover) {
    background: var(--bg);
    animation-duration: .9s;
    animation-timing-function: cubic-bezier(.65, 0, .35, 1);
    overflow: clip;
  }
  /* Both sides named: the thumbnail and the cover are different crops of
     one photo, so cover-fitting both into the morphing box and
     crossfading them showed two misaligned copies mid-way. Instead each
     keeps its own aspect, both are centred on the side the cover shows
     in full (width, or height with .cover-fit-height), so the photo
     lines up; the thumbnail stays opaque underneath while the cover
     fades in on top. The group's overflow: clip trims the excess. */
  /* Chromium drops :not(:only-child) on these pseudos, so the paired
     case is the default and :only-child (thumbnail with no named cover,
     e.g. a cold cache) goes back to a plain fade-out. */
  ::view-transition-old(project-cover),
  ::view-transition-new(project-cover) {
    object-fit: fill; width: 100%; height: auto;
    inset: 50% auto auto 0; transform: translateY(-50%);
  }
  .cover-fit-height::view-transition-old(project-cover),
  .cover-fit-height::view-transition-new(project-cover) {
    width: auto; height: 100%;
    inset: 0 auto auto 50%; transform: translateX(-50%);
  }
  ::view-transition-old(project-cover) { animation: none; }
  ::view-transition-new(project-cover) {
    animation: project-cover-in .9s cubic-bezier(.65, 0, .35, 1) both;
  }
  ::view-transition-old(project-cover):only-child {
    animation: project-cover-out .45s ease both;
  }
  /* Unpaired (cover still loading): the group stays at the thumbnail rect
     for the whole transition, so its --bg backing would be a blank box
     over the new page after the thumbnail fades. Let it fade to the page. */
  .cover-unpaired::view-transition-group(project-cover) { background: none; }
  @keyframes project-cover-in {
    from { opacity: 0; }
    60% { opacity: 1; }
    to { opacity: 1; }
  }
  @keyframes project-cover-out { to { opacity: 0; } }
  /* Old page fades out; new page fades in while rising 12px, on the
     [data-reveal] easing. Both start at 0 with the same .3s opacity span,
     and the reveal curve runs ahead of `ease` the whole way, so their
     plus-lighter sum never drops below full opacity (a delayed or slower
     fade-in let --bg show through on every page change). Only the rise
     runs longer. Nav and project cover are named, so they stay out of it.
     On a homepage project tap this .3s fade is the leftover fade: the other
     floats, the tapped card's label / gold rule and the bar stay in the old
     root snapshot and fade out from t = 0, concurrently with the .9s cover
     morph. The root group is always the first (bottom) child of
     ::view-transition, so they never paint over the growing cover. */
  ::view-transition-old(root) {
    animation: page-fade-out .3s ease both;
  }
  /* Homepage tap (type set in project.html pagereveal): linear, so the
     leftovers are ~2/3 and ~1/3 at 100 / 200ms instead of mostly gone by
     100ms. The reveal curve still runs ahead of linear, so the plus-lighter
     sum stays >= 1. */
  html:active-view-transition-type(cover-open)::view-transition-old(root) {
    animation-timing-function: linear;
  }
  ::view-transition-new(root) {
    animation:
      page-fade-in .3s cubic-bezier(.2, .7, .2, 1) both,
      page-rise .45s cubic-bezier(.2, .7, .2, 1) both;
  }
  @keyframes page-fade-out { to { opacity: 0; } }
  @keyframes page-fade-in { from { opacity: 0; } }
  @keyframes page-rise { from { transform: translateY(12px); } }
}

/* ---------- project page ---------- */
.page-project .project { padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); }
.p-cover {
  height: 75vh; height: 75svh; max-height: 1000px;
  background: var(--bg);
}
.p-cover img {
  width: 100%; height: 100%; object-fit: cover; background: var(--bg); opacity: 0;
}
.p-cover img.is-ready { opacity: 1; }
/* Leave room for the title on short landscape phones (~55–60svh). */
@media (max-height: 500px) {
  .p-cover { height: 58vh; height: 58svh; }
}

.p-section { padding: 0 var(--gutter); }
.p-inner { max-width: 1200px; margin: 0 auto; }

.p-head { padding-top: clamp(20px, 3svh, 36px); }
.p-eyebrow { font-size: var(--fs-label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.p-title {
  font-family: var(--f-display); font-size: var(--fs-display); line-height: 1.1;
  margin-top: 18px;
}
.p-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin: clamp(32px, 5vw, 56px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--gold);
}
.p-facts dt { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.p-facts dd { margin: 8px 0 0; font-size: var(--fs-facts); letter-spacing: .04em; }

.p-intro {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 72px); align-items: start;
  padding-top: clamp(48px, 7vw, 96px);
}
.p-intro-photo { min-width: 0; }
.p-intro-shot { aspect-ratio: 2 / 3; overflow: hidden; background: var(--bg); }
.p-intro-shot img { width: 100%; height: 100%; object-fit: cover; }
/* Short intro beside a landscape photo (data.js LANDSCAPE_INTRO): keep the photo's own shape. */
.p-intro-shot.is-landscape-intro { aspect-ratio: 3 / 2; }
.p-intro-body p { font-size: var(--fs-body); line-height: 1.9; max-width: 38em; }
.p-intro-body p + p { margin-top: 1.2em; }
.p-intro-body .p-intro-list {
  margin: 1.2em 0 0; padding-left: 1.15em; max-width: 38em;
  font-size: var(--fs-body); line-height: 1.9;
}
.p-intro-body .p-intro-list li + li { margin-top: 0.9em; }
.p-intro-body .p-intro-list + p { margin-top: 1.2em; }
html[data-lang="zh"] .p-intro-body p,
html[data-lang="zh"] .p-intro-body .p-intro-list { letter-spacing: .06em; }

.p-gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px); padding-top: clamp(56px, 8vw, 120px);
  padding-bottom: clamp(72px, 10vw, 140px);
}
.p-shot { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.p-shot img { width: 100%; height: 100%; object-fit: cover; }

.p-back {
  display: inline-flex; align-items: center; margin-top: 16px; min-height: 44px;
  font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: color .35s ease;
}
.p-back:hover, .p-back:active { color: var(--gold); }

/* ---------- footer (project page) ---------- */
.foot {
  border-top: 1px solid var(--gold-soft);
  padding: 36px var(--gutter) calc(36px + env(safe-area-inset-bottom));
}
.foot-inner {
  max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: var(--fs-meta); letter-spacing: .1em; color: var(--muted);
}
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a {
  /* 44px tap target; the negative margin keeps the footer height as before. */
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -14.5px 0;
  color: var(--muted);
}
.foot-links a:hover { color: var(--gold); }

/* ---------- breakpoints ---------- */
@media (max-width: 900px) {
  .nav-logo img { height: 24px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .lang { font-size: var(--fs-label); }
  .bar { font-size: var(--fs-label); }
  .p-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Photo 6 stays beside the text down to 761px; stacked, it is capped
   instead of stretching to the full column. */
@media (max-width: 760px) {
  .p-intro { grid-template-columns: minmax(0, 1fr); }
  .p-intro-photo { max-width: min(100%, 420px); }
}
@media (min-width: 901px) { .menu { display: none; } }
@media (max-width: 560px) {
  /* Footers (home .bar + inner .foot): two rows, no icons.
     Row 1 copyright, row 2 contact links, both left-aligned. */
  .bar, .foot-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bar { gap: 8px; }
  .bar-links { margin-left: 0; flex-wrap: wrap; }
  .bar-links svg, .foot-links svg { display: none; }
  .p-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* short viewports (landscape phones) */
@media (max-height: 520px) {
  .splash img { width: clamp(120px, 18vh, 200px); }
  .menu { justify-content: flex-start; }
  .menu-item { font-size: clamp(20px, 6vh, 30px); }
  .bar { padding-top: 6px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
