/* CAAT Studio — current-parity rebuild stylesheet (doc 15).
   Reproduces the current live site's actual design, NOT the shelved
   redesign (see build/static.redesign-shelved/assets/css/style.css for
   that). Palette/tokens kept minimal and shared with preloader.css. */

:root{
  --paper:#FFFFFF;
  --ink:#16140F;
  --ink-soft:#6B6660;
  --line:#E3E0D8;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{ background:var(--paper); color:var(--ink); font-family:var(--site-font, Calibri, sans-serif); font-size:15px; line-height:1.5; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* Skip-to-content link (a11y bundle): first child of <body>, visually parked
   above the viewport until keyboard-focused — then it drops into view at the
   top-left and jumps to #main-content (base.html's <main>). z-index sits above
   the preloader overlay (500) so it's reachable even while that plays. */
.skip-link{ position:absolute; top:-48px; left:0; background:var(--ink); color:var(--paper); padding:8px 16px; z-index:1000; }
.skip-link:focus{ top:0; }

/* Screen-reader-only utility. Keep live regions/accessibility labels in the
   accessibility tree without letting them leak into the visual layout. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;clip-path:inset(50%)!important}

/* Global keyboard-focus ring (a11y bundle). Deliberately early in the cascade
   and element-level: the component-specific .logo-mark:focus-visible and
   .footer-totop:focus-visible rules below carry higher specificity (class +
   pseudo-class), so they keep their own outline treatment untouched. */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }

/* Shared utility classes. These used to live in preloader.css, but that file
   is now homepage-only (perf bundle) while .cap/.tnum are used on every page
   (sidebar logo caption, news meta) — so they belong in the global sheet. */
.cap{ text-transform:uppercase; letter-spacing:.08em; }
.tnum{ font-variant-numeric:tabular-nums; }

/* Page-navigation cross-fade (doc 15 follow-up: "subtle, minimal, sometimes
   imperceptible" motion). Native browser API, no JS/library — a supporting
   browser cross-fades the old and new page automatically on every
   same-origin navigation; browsers without it just navigate normally, no
   fallback code needed. */
@view-transition{ navigation:auto; }
@media (prefers-reduced-motion: reduce){
  @view-transition{ navigation:none; }
}

/* Scroll-reveal (doc 15 follow-up: "subtle, sometimes imperceptible" —
   short distance, short duration, on purpose). main.js adds .reveal-in via
   IntersectionObserver the first time an element scrolls into view; with
   JS disabled or on prefers-reduced-motion, .reveal elements are still
   fully visible by default (progressive enhancement, never content that
   depends on JS to appear). */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.reveal.reveal-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* Shared-element continuity, grid tile -> project hero (doc 15 follow-up):
   home.html tags each tile's thumbnail with view-transition-name via an
   inline style (per-project, so Twig can set the exact same name on the
   project.html hero image); the browser then morphs the small grid image
   into the big hero image in place instead of a hard cut. Scoped with
   contain so it only ever activates on that exact matching pair, never
   accidentally on an unrelated shape mid-transition. */
@media (prefers-reduced-motion: no-preference){
  ::view-transition-group(*){ animation-duration:.5s; }
}

/* ---------------- Layout: fixed left sidebar + main content ----------------
   Matches the real live site's desktop layout (logo + vertical nav on the
   left, content on the right) — confirmed directly against caatstudio.com
   at desktop width; earlier passes only ever captured it at narrow/mobile
   widths, which show a collapsed hamburger version instead. */
:root{ --sidebar-w:230px; }

.layout{ display:flex; min-height:100vh; }

.sidebar{
  position:fixed; top:0; left:0; bottom:0; width:var(--sidebar-w);
  padding:32px 26px; display:flex; flex-direction:column; gap:36px;
  border-right:1px solid var(--line); overflow-y:auto;
}
.sidebar-logo{ display:flex; flex-direction:column; gap:2px; }
.logo-text-link{ display:block; }
.logo-caption{ font-size:10px; letter-spacing:.1em; color:var(--ink); margin-top:6px; }
.logo-sub{ font-size:9px; color:var(--ink-soft); letter-spacing:.02em; }

/* Logo mark: 4 real shapes (not a flattened image), kept as their actual
   silhouettes (K-arrow, square, square, downward triangle) always —
   geometry measured pixel-by-pixel from the real
   httpdocs/images/logo/intro1.gif's final frame (not eyeballed): each
   shape's box is 46x45 (basically square, kept 1:1 here) with a 16px gap
   between boxes — a gap-to-width ratio of ~35%, much wider than the first
   attempt's 4px. The triangle's own ink only fills the TOP HALF of its
   box (tapering to a point at 50% height, not 100%) — confirmed by a
   row-by-row scan: real dark pixels stop dead at the vertical midpoint,
   the bottom half is genuinely empty in the source. That's what read as
   "too small" before, when it was stretched to a full-height point instead.
   Doc 15 follow-up (corrected repeatedly): the click toy does NOT flatten
   these into plain squares and does NOT navigate anywhere — it's a
   standalone, repeatable, click-to-toggle plaything, decoupled from the
   "go home" link (the sidebar's own PROJECTS nav item already goes home,
   since home *is* the projects grid). */
.logo-mark{
  position:relative; width:172px; height:34px; flex:0 0 auto; cursor:pointer;
  border:none; background:none; padding:0; margin:0; display:block; -webkit-tap-highlight-color:transparent;
}
.logo-mark:focus-visible{ outline:2px solid var(--ink); outline-offset:4px; }
.lm-shape{
  position:absolute; width:34px; height:34px; top:0; background:var(--ink);
  transition:left .5s cubic-bezier(.34,1.56,.64,1), top .5s cubic-bezier(.34,1.56,.64,1), transform .5s cubic-bezier(.34,1.56,.64,1);
}
.lm-arrow{ left:0; clip-path:polygon(0 0, 100% 0, 52% 47%, 100% 100%, 0 100%); }
.lm-sq1{ left:46px; clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.lm-sq2{ left:92px; clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.lm-tri{ left:138px; clip-path:polygon(0 0, 100% 0, 50% 50%); }

/* Toggled state (main.js flips .lm-open on/off on every click — a real
   toggle, not a timed one-shot): the trailing two shapes drop below the
   first two, keeping their own real silhouettes the whole time. A slight
   overshoot (cubic-bezier above) is the one bit of "playful" personality;
   everything else stays plain and minimal. */
.logo-mark.lm-open{ height:80px; }
.logo-mark.lm-open .lm-sq2{ left:0; top:46px; }
.logo-mark.lm-open .lm-tri{ left:46px; top:46px; }

.sidebar-nav{ display:flex; flex-direction:column; gap:14px; font-size:13px; letter-spacing:.04em; }
.sidebar-nav a{ color:var(--ink-soft); }
.sidebar-nav a.active{ color:var(--ink); font-weight:700; }
.sidebar-nav a:hover{ color:var(--ink); }

.site-body{ flex:1; margin-left:var(--sidebar-w); min-width:0; }
main{ padding:32px 40px 60px; }

.mobile-nav-toggle{ display:none; }
.mobile-nav-backdrop{display:none;}

.site-footer{
  display:flex; align-items:center; justify-content:space-between; gap:12px 20px;
  padding:20px 40px; border-top:1px solid var(--line); margin-top:48px;
  font-size:11px; letter-spacing:.04em; color:var(--ink-soft);
}
.footer-copyright{ text-align:center; flex:1; }
.footer-copyright:hover{ color:var(--ink); }
.footer-totop{
  flex:0 0 auto; display:inline-flex; align-items:center; gap:6px;
  border:1px solid var(--line); background:none; color:var(--ink-soft);
  font:inherit; font-size:10px; letter-spacing:.08em; padding:6px 10px; cursor:pointer;
  transition:color .2s ease, border-color .2s ease;
}
.footer-totop:hover{ color:var(--ink); border-color:var(--ink); }
.footer-totop:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }
@media (max-width:600px){
  .site-footer{ flex-direction:column; padding:20px; }
}

/* Collapse to a top bar below ~880px (doc 15 follow-up: the real site
   itself falls back to a hamburger-collapsed top bar at this kind of
   width, confirmed on caatstudio.com's own mobile view). */
@media (max-width:880px){
  .layout{ display:block; }
  .sidebar{
    position:fixed; top:0; left:0; right:0; bottom:auto; width:auto; height:auto;
    flex-direction:row; align-items:center; gap:12px; padding:12px 56px 12px 16px;
    border-right:none; border-bottom:1px solid var(--line); background:var(--paper); z-index:100;
    overflow:visible;
  }
  .sidebar-logo{ flex-direction:row; align-items:center; gap:10px; }
  .logo-mark{ width:91px; height:18px; transform:scale(.53); transform-origin:left center; }
  .logo-mark.lm-open{ height:18px; } /* height override so the scaled-down mobile toggle doesn't reserve the full-size expanded height */
  .logo-caption{ font-size:9px; margin-top:0; }
  .logo-sub{ font-size:8px; display:block; }
  .sidebar-nav{
    position:fixed; top:var(--mobile-topbar-h,64px); left:0; right:0; bottom:0; background:var(--paper);
    flex-direction:column; padding:clamp(24px,7vh,64px) max(24px,env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left)); gap:10px; font-size:clamp(17px,5vw,24px); letter-spacing:.025em;
    /* visibility:hidden hides the closed panel visually; it flips to visible
       immediately on open and back to hidden only once the fade-out finishes.
       Focus order is NOT left to this transition: main.js sets inert +
       tabindex="-1" on the panel synchronously with the same class toggle
       (WCAG 2.4.3, vision-audit P0-01), so the closed menu is deterministically
       out of tab order and out of the accessibility tree. */
    transform:translateY(-8px); opacity:0; pointer-events:none; visibility:hidden;
    transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .sidebar.nav-open{height:100dvh;min-height:100vh;background:var(--paper);}
  .sidebar.nav-open .sidebar-nav{ opacity:1; transform:none; pointer-events:auto; visibility:visible; z-index:104; }
  .sidebar.nav-open .sidebar-logo{position:relative;z-index:106;}
  body.mobile-nav-open .mobile-nav-toggle{z-index:107;}
  .mobile-nav-backdrop{display:none;}
  .sidebar.nav-open .mobile-nav-backdrop{display:block;position:fixed;inset:0;z-index:103;border:0;background:rgba(255,255,255,.98);backdrop-filter:blur(10px);}
  html.mobile-nav-open,body.mobile-nav-open{overflow:hidden!important;overscroll-behavior:none;}
  body.mobile-nav-open .sidebar-nav{touch-action:pan-y;}
  body.mobile-nav-open .site-body{pointer-events:none;user-select:none;}
  .sidebar-nav a{width:100%;justify-content:flex-start;border-bottom:1px solid rgba(22,20,15,.08);padding:6px 0;}

  /* Touch targets (a11y bundle P1): every interactive control on touch-sized
     layouts gets a >=44px hit area. Menu links grow real height; the burger
     button grows to a 44px square positioned so the 28px burger glyph keeps
     its exact previous visual spot (center was top:34px/right:30px); the
     scaled-down logo mark gets an invisible ::after hit-area extension
     (coordinates are pre-scale, so they overshoot to survive scale(.53)).
     Vision-audit P1-01 adds the contact submit button (.btn) and the
     project/news "back" links (.back-link) to the same regime. */
  .sidebar-nav a{ min-height:44px; display:flex; align-items:center; }
  .project-filters button{ min-height:44px; }
  .footer-totop{ min-height:44px; }
  .btn{ min-height:44px; }
  .back-link{ display:inline-flex; align-items:center; min-height:44px; }
  .logo-mark::after{ content:''; position:absolute; inset:-32px -16px; }
  .mobile-nav-toggle{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
    position:fixed; top:12px; right:8px; z-index:101; width:44px; height:44px; padding:0;
    background:none; border:none; cursor:pointer;
  }
  .mobile-nav-toggle span{ display:block; width:28px; height:2px; background:var(--ink); transition:transform .24s ease,opacity .18s ease; transform-origin:center; }
  body.mobile-nav-open .mobile-nav-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg);}
  body.mobile-nav-open .mobile-nav-toggle span:nth-child(2){opacity:0;}
  body.mobile-nav-open .mobile-nav-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
  .site-body{ margin-left:0; margin-top:64px; }
}

/* Touch devices at desktop-ish widths (tablets, touch laptops) don't hit the
   mobile media query above but still need >=44px targets on the dense
   controls — same treatment, keyed off the primary pointer instead. */
@media (pointer:coarse){
  .project-filters button{ min-height:44px; }
  .footer-totop{ min-height:44px; }
  .btn{ min-height:44px; }
  .back-link{ display:inline-flex; align-items:center; min-height:44px; }
  .sidebar-nav a{ min-height:44px; display:flex; align-items:center; }
}

/* ---------------- Projects grid + filter bar (home.html) ---------------- */
main h1{ font-size:15px; font-weight:700; letter-spacing:.06em; margin:0 0 20px; }

.project-filters{ display:flex; flex-wrap:wrap; gap:4px 14px; margin-bottom:32px; }
.project-filters button{ background:none; border:none; padding:6px 2px; font:inherit; font-size:12px; letter-spacing:.03em; color:var(--ink-soft); cursor:pointer; white-space:nowrap; }
.project-filters button:hover{ color:var(--ink); }
.project-filters button.active{ color:var(--ink); font-weight:700; }
.pf-sep{ flex-basis:100%; height:0; }
@media (min-width:640px){ .pf-sep{ flex-basis:auto; width:1px; height:auto; align-self:stretch; background:var(--line); margin:0 4px; } }
/* Vision-audit P1-04: at very narrow widths the wrapping rows produced
   extreme button-width jitter ("All" 18px vs "Under Construction" 106px,
   wrapping across 7 rows at 375px). Below 640px the bar becomes a single
   horizontally-scrollable strip instead: consistent button padding, group
   separators as thin vertical rules (the <640px row-break basis is undone),
   no wrap. 4px padding keeps the keyboard focus ring inside the scroll
   container so it isn't clipped at the edges. */
@media (max-width:640px){
  .project-filters{ flex-wrap:nowrap; overflow-x:auto; padding:4px; scrollbar-width:thin; -webkit-overflow-scrolling:touch; }
  .project-filters button{ flex:0 0 auto; padding:6px 8px; }
  .pf-sep{ flex:0 0 1px; width:1px; height:auto; align-self:stretch; background:var(--line); margin:0 4px; }
}

/* Doc 15 follow-up: fixed small tile size (not stretched to fill columns)
   — much closer to the real site's actual density/proportions than the
   earlier attempt, which stretched thumbnails up to 280px+ on wide
   screens. 128px is a modest bump from the live site's literal 105px
   (retina-friendlier) without losing the original's dense-grid feel. */
.project-grid{ display:grid; grid-template-columns:repeat(auto-fill, 128px); gap:28px 22px; }
.project-tile{ display:block; }
.project-thumb-wrap{
  position:relative; width:128px; height:128px; display:flex; align-items:center; justify-content:center;
  /* Inline-SVG loading placeholder: the CAAT mark (square + triangle) on the
     paper field, shown until the real thumbnail fades in (main.js adds
     .img-loaded on load). Zero extra requests — it's a data URI. */
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Crect width='128' height='128' fill='%23faf9f7'/%3E%3Crect x='45' y='45' width='17' height='17' fill='none' stroke='%23e3e0d8' stroke-width='2'/%3E%3Cpath d='M68 62 L85 62 L68 45 Z' fill='%23e3e0d8'/%3E%3C/svg%3E") center/cover no-repeat #faf9f7;
  border:1px solid transparent; overflow:hidden; transition:border-color .15s ease;
}
.project-tile:hover .project-thumb-wrap{ border-color:var(--ink); }
.project-thumb{ width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .4s ease, transform .35s ease; }
.project-thumb.img-loaded{ opacity:1; }
.no-js .project-thumb{ opacity:1; }
.project-tile:hover .project-thumb{ transform:scale(1.05); }
.project-thumb-empty{ width:100%; height:100%; }
/* Filter transitions (doc 15 follow-up: "very subtle, minimal" motion) —
   fade+scale instead of an instant display:none toggle. pf-hidden still
   ends at display:none (via transitionend) so hidden tiles don't block
   clicks/tab order, but the change itself is now a soft fade. */
.project-tile{ transition:opacity .25s ease, transform .25s ease; }
.project-tile.pf-hiding{ opacity:0; transform:scale(.96); }
.project-tile.pf-hidden{ display:none; }

/* ---------------- Project detail (project.html) ---------------- */
.project-detail h1{ font-size:22px; font-weight:700; letter-spacing:.02em; display:flex; align-items:center; gap:10px; }
.award-badge{ width:28px; height:28px; }
.project-spec{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px 24px; margin:20px 0 28px; padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.project-spec > div{ display:flex; flex-direction:column; gap:2px; }
.project-spec dt{ font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:var(--ink-soft); }
.project-spec dd{ margin:0; font-size:14px; }
.project-description{ max-width:70ch; line-height:1.7; white-space:pre-line; margin-bottom:32px; text-align:justify; text-justify:inter-word; }

.project-slider{ display:flex; align-items:center; gap:20px; margin-bottom:20px; }
.ps-viewport{ position:relative; flex:1; min-width:0; max-width:700px; aspect-ratio:3/2; background:#fff; }
/* Doc 15 follow-up: a soft crossfade instead of an instant swap — every
   slide is stacked in the same spot (position:absolute) and only opacity
   changes, so the old and new image briefly overlap-fade rather than
   popping. */
.ps-slide{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .5s ease; }
.ps-slide.ps-active{ opacity:1; }
.ps-arrow{
  flex:0 0 auto; min-width:44px; min-height:44px; border:none; background:none; color:var(--ink-soft);
  font-size:40px; line-height:1; cursor:pointer; padding:0 4px; align-self:center;
}
.ps-arrow:hover{ color:var(--ink); }
.award-badge{ width:36px; height:36px; margin-bottom:20px; }

/* ---------------- Static page text (about.html, awards.html intro) ---------------- */
.page-text{ max-width:70ch; line-height:1.75; white-space:pre-line; }

/* ---------------- About team section ---------------- */
.team{ margin-top:48px; border-top:1px solid var(--line); padding-top:28px; white-space:normal; }
.team-heading{ font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-soft); margin:0 0 22px; }
.team-member{ margin-bottom:26px; }
.team-member h3{ margin:0 0 4px; font-size:15px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.team-role{ margin:0 0 3px; font-size:12px; color:var(--ink-soft); letter-spacing:.04em; text-transform:uppercase; }
.team-email{ margin:0; font-size:13px; }
.team-email a{ color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line); }
.team-email a:hover{ color:var(--ink-soft); border-color:var(--ink-soft); }

/* ---------------- Awards (awards.html) ---------------- */
.awards-list{ list-style:none; margin:0; padding:0; max-width:70ch; }
.awards-list li{ padding:14px 0; border-bottom:1px solid var(--line); display:flex; flex-wrap:wrap; gap:4px 10px; align-items:baseline; }
.awards-year{ font-size:12px; color:var(--ink-soft); flex:0 0 auto; }
.awards-project{ font-weight:700; font-size:14px; flex:1 1 240px; min-width:0; overflow-wrap:anywhere; }
.awards-desc{ font-size:13px; color:var(--ink-soft); flex:1 1 100%; }

/* ---------------- Contact form (contact.html) ---------------- */
.contact-info{ max-width:480px; margin-bottom:28px; display:flex; flex-wrap:wrap; gap:22px 40px; }
.contact-info p{ margin:0; font-size:14px; line-height:1.6; }
.contact-info strong{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); margin-bottom:4px; }
.contact-info a{ color:var(--ink); }
.contact-info a:hover{ color:var(--ink-soft); }
.contact-map{ max-width:480px; margin-bottom:32px; }
.contact-map iframe{ width:100%; height:280px; border:1px solid var(--line); display:block; }
.contact-map a{ display:inline-block; margin-top:8px; font-size:12px; color:var(--ink-soft); }
.contact-map a:hover{ color:var(--ink); }
.contact-form{ max-width:480px; }
.contact-field{ margin-bottom:16px; }
.contact-field label{ display:block; font-size:12px; font-weight:600; margin-bottom:4px; }
.contact-field input, .contact-field textarea{ width:100%; padding:9px 11px; border:1px solid var(--line); border-radius:4px; font:inherit; font-size:14px; }
.contact-honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.btn{ display:inline-block; padding:10px 24px; background:var(--ink); color:var(--paper); border:none; border-radius:4px; font-size:13px; letter-spacing:.04em; cursor:pointer; }
.btn:hover{ background:#000; }
.form-status{ font-size:13px; margin-top:10px; }
.form-status-ok{ color:#2c5e30; }
.form-status-err{ color:#8a2c22; }
.contact-social{ margin-top:32px; display:flex; gap:16px; font-size:13px; }
.contact-social a{ color:var(--ink-soft); }
.contact-social a:hover{ color:var(--ink); }

/* ---------------- News (news.html) ---------------- */
.journal-grid{ display:grid; grid-template-columns:1fr; gap:28px; max-width:1000px; }
@media (min-width:640px){ .journal-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .journal-grid{ grid-template-columns:repeat(3,1fr); } }
.journal-card{ display:flex; flex-direction:column; }
.journal-card-media{
  aspect-ratio:16/10; overflow:hidden; margin-bottom:12px;
  /* Same inline-SVG placeholder as the project grid (see .project-thumb-wrap),
     scaled to the 16/10 news card. */
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Crect width='160' height='100' fill='%23faf9f7'/%3E%3Crect x='62' y='34' width='15' height='15' fill='none' stroke='%23e3e0d8' stroke-width='2'/%3E%3Cpath d='M83 49 L98 49 L83 34 Z' fill='%23e3e0d8'/%3E%3C/svg%3E") center/cover no-repeat var(--line);
}
.journal-card-media img{ width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .4s ease, transform .3s ease; }
.journal-card-media img.img-loaded{ opacity:1; }
.no-js .journal-card-media img{ opacity:1; }
.journal-card:hover .journal-card-media img{ transform:scale(1.04); }
.journal-card-media-empty{ background:linear-gradient(135deg,var(--line),var(--paper)); }
.journal-card-body{ display:flex; flex-direction:column; gap:6px; }
.journal-byline{ font-size:10px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; font-weight:600; margin:0; }
.journal-date{ color:var(--ink-soft); font-weight:400; }
.journal-dot{ color:var(--ink-soft); margin:0 4px; }
.journal-title{ font-weight:700; font-size:15px; line-height:1.4; margin:0; }
.journal-title a{ color:inherit; text-decoration:none; }
.journal-title a:hover{ text-decoration:underline; }
.journal-ext{ font-size:12px; color:var(--ink-soft); }
.journal-excerpt{ font-size:13px; color:var(--ink-soft); margin:0; line-height:1.6; }

/* News detail page */
.news-detail{ max-width:760px; }
.news-back{ margin:0 0 18px; font-size:13px; }
.news-back a{ color:var(--ink-soft); text-decoration:none; }
.news-back a:hover{ color:var(--ink); text-decoration:underline; }
.news-detail h1{ font-size:26px; line-height:1.25; margin:0 0 10px; }
.news-meta{ font-size:11px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; margin:0 0 20px; }
.news-dot{ margin:0 6px; }
.news-hero{ margin:0 0 24px; background:#faf9f7; }
.news-hero img{ width:100%; height:auto; display:block; opacity:0; transition:opacity .4s ease; }
.news-hero img.img-loaded{ opacity:1; }
.no-js .project-thumb,
.no-js .journal-card-media img,
.no-js .news-hero img{ opacity:1; }
/* Image fade-ins respect reduced motion: show instantly. */
@media (prefers-reduced-motion: reduce){
  .project-thumb, .journal-card-media img, .news-hero img{ transition:none; opacity:1; }
}
.news-body{ line-height:1.7; font-size:15px; }
.news-body p{ margin:0 0 1em; }
.news-body a{ color:var(--ink); text-decoration:underline; }
.news-body img{ max-width:100%; height:auto; }
.news-external{ margin-top:28px; font-size:14px; }
.news-external a{ color:var(--ink); font-weight:600; text-decoration:none; border-bottom:1px solid var(--ink); }
.news-external a:hover{ color:var(--ink-soft); border-color:var(--ink-soft); }

/* ========================================================================
   CAAT CMS v2 — archive interaction layer
   Keeps the original white/black typographic identity, while adding a
   reversible INDEX / IMAGE archive, compact filters, and generated text
   tiles for new projects that do not have photography yet.
   ======================================================================== */
.projects-heading-row{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:22px}.projects-heading-row h1{margin-bottom:0}.project-view-switch{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.08em;color:var(--ink-soft)}.project-view-switch button{border:0;background:none;padding:4px 1px;font:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}.project-view-switch button.active,.project-view-switch button:hover{color:var(--ink);font-weight:700}.project-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);margin-bottom:34px;padding-bottom:12px}.project-filters{margin:0;align-items:center}.project-toolbar-compact .project-filters{gap:5px 13px}.pf-group{position:relative}.pf-group summary{cursor:pointer;list-style:none;font-size:11px;letter-spacing:.04em;color:var(--ink-soft);padding:6px 1px}.pf-group summary::-webkit-details-marker{display:none}.pf-group summary:after{content:' +';font-size:9px}.pf-group[open] summary{color:var(--ink);font-weight:700}.pf-group[open] summary:after{content:' −'}.pf-popover{position:absolute;z-index:25;left:-10px;top:100%;min-width:190px;background:#fff;border:1px solid var(--ink);padding:9px;display:flex;flex-direction:column;align-items:stretch;box-shadow:0 10px 24px rgba(0,0,0,.06)}.pf-popover button{text-align:left!important;min-height:30px!important;padding:5px 8px!important}.pf-popover button.active{background:var(--ink);color:#fff}.project-search{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.08em;color:var(--ink-soft);white-space:nowrap}.project-search input{width:80px;border:0;border-bottom:1px solid var(--line);outline:0;background:none;padding:4px 2px;font:inherit;font-size:11px;transition:width .2s ease,border-color .2s ease}.project-search input:focus{width:160px;border-color:var(--ink)}

/* One semantic tile per project. The view switch changes only presentation. */
.project-grid{display:grid;transition:opacity .16s ease}.project-grid[data-view="index"]{grid-template-columns:repeat(6,minmax(90px,1fr));column-gap:34px;row-gap:48px;padding:12px 0 54px}.project-grid[data-view="index"] .project-tile{min-height:58px;display:grid;place-items:center;text-align:center;position:relative}.project-index-label{display:none;max-width:130px;font-size:11px;line-height:1.08;text-transform:uppercase;overflow-wrap:anywhere;white-space:pre-line}.project-grid[data-view="index"] .project-index-label{display:block}.project-grid[data-view="index"] .project-image-tile{display:none}.project-hover-preview{display:none}.project-grid[data-view="index"] .project-hover-preview{position:fixed;display:block;left:50%;top:50%;width:min(300px,25vw);max-height:48vh;transform:translate(-10%,-46%) scale(.985);opacity:0;visibility:hidden;pointer-events:none;background:#fff;z-index:20;transition:opacity .14s ease,transform .14s ease,visibility .14s}.project-grid[data-view="index"] .project-hover-preview img{width:100%;height:auto;max-height:48vh;object-fit:contain}.project-grid[data-view="index"] .project-tile:hover .project-hover-preview,.project-grid[data-view="index"] .project-tile:focus-visible .project-hover-preview{opacity:1;visibility:visible;transform:translate(-10%,-50%) scale(1)}.project-grid[data-view="index"] .project-tile:hover .project-index-label{text-decoration:underline;text-underline-offset:3px}
.project-grid[data-view="image"]{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:38px 26px;align-items:start}.project-grid[data-view="image"] .project-index-label{display:none}.project-image-tile{display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:#fafaf8;position:relative}.project-image-tile .project-thumb{width:100%;height:100%;object-fit:cover;opacity:1;transition:transform .25s ease,opacity .2s ease}.project-grid[data-view="image"] .project-tile:hover .project-thumb{transform:scale(1.025)}.project-generated-label{display:grid;place-items:center;text-align:center;width:100%;height:100%;padding:20px;font-size:11px;line-height:1.08;text-transform:uppercase;background:#fff;white-space:pre-line}.project-image-tile-text{border:1px solid transparent}.project-grid[data-view="image"] .project-tile:hover .project-image-tile-text{border-color:var(--ink)}.project-empty-state{font-size:12px;color:var(--ink-soft);padding:30px 0}.project-tile.pf-hiding{opacity:0;transform:translateY(3px)}

/* Dynamic project reading width and media size from Appearance. */
.project-description{max-width:var(--project-text-width,70ch);white-space:normal}.media-width-large .ps-viewport{max-width:900px}.media-width-full .project-slider{max-width:none}.media-width-full .ps-viewport{max-width:calc(100vw - var(--sidebar-w) - 160px)}.project-documentation{margin:45px 0 35px;border-top:1px solid var(--line);padding-top:18px}.project-documentation h2,.related-projects h2{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:var(--ink-soft);font-weight:600;margin:0 0 18px}.documentation-group{margin:0 0 34px}.documentation-group h3{font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px}.documentation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,320px));gap:16px}.documentation-grid figure{margin:0}.documentation-grid img{width:100%;height:auto;background:#fafaf8}.documentation-grid figcaption{font-size:10px;color:var(--ink-soft);margin-top:5px}.related-projects{margin:48px 0 24px;border-top:1px solid var(--line);padding-top:18px}.related-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;list-style:none;margin:0;padding:0}.related-list a{font-size:11px;text-transform:uppercase;line-height:1.1}.related-list a:hover{text-decoration:underline;text-underline-offset:3px}

/* News returns to CAAT's type-first editorial archive. */
.journal-grid{display:block;max-width:1180px;border-top:1px solid var(--line)}.journal-card{display:block;position:relative;border-bottom:1px solid var(--line);padding:0}.journal-card-media{display:none}.journal-card-body{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:28px;align-items:baseline}.journal-byline{grid-column:2;grid-row:1;margin:0;padding:13px 0;text-align:right;font-size:9px;line-height:1.35}.journal-title{grid-column:1;grid-row:1;font-size:14px;line-height:1.25;margin:0;font-weight:600}.journal-title a,.journal-title .journal-title-static{display:block;padding:12px 8px 12px 0;transition:background .12s ease,color .12s ease,padding .12s ease}.journal-excerpt{display:none}.news-hover-invert .journal-title a:hover,.news-hover-invert .journal-title a:focus-visible,.news-hover-preview .journal-title a:hover,.news-hover-preview .journal-title a:focus-visible{background:#111;color:#fff;padding-left:8px;text-decoration:none}.news-hover-underline .journal-title a:hover{text-decoration:underline;text-underline-offset:3px}.journal-preview{display:none}.news-hover-preview .journal-card .journal-preview{display:block;position:fixed;left:53%;top:51%;width:min(360px,28vw);max-height:52vh;transform:translate(-5%,-50%) scale(.99);opacity:0;visibility:hidden;pointer-events:none;z-index:25;background:#fff;transition:opacity .14s ease,transform .14s ease}.news-hover-preview .journal-card:hover .journal-preview{opacity:1;visibility:visible;transform:translate(-5%,-50%) scale(1)}.journal-preview img{width:100%;height:auto;max-height:52vh;object-fit:contain}.journal-ext{font-size:10px;color:currentColor}

.motion-off *{transition:none!important;animation:none!important;scroll-behavior:auto!important}.motion-normal .project-tile,.motion-normal .journal-title a{transition-duration:.25s}
@media(max-width:1100px){.project-grid[data-view="index"]{grid-template-columns:repeat(4,1fr)}.project-grid[data-view="image"]{grid-template-columns:repeat(3,1fr)}.project-grid[data-view="index"] .project-hover-preview{width:260px;left:55%}}
@media(max-width:880px){.project-toolbar{align-items:stretch;flex-direction:column}.project-filters{overflow:visible;flex-wrap:wrap}.pf-popover{position:fixed;left:16px;right:16px;top:auto;min-width:0}.project-search{align-self:flex-end}.project-grid[data-view="index"]{grid-template-columns:repeat(3,1fr);row-gap:34px}.project-grid[data-view="image"]{grid-template-columns:repeat(2,1fr);gap:20px 14px}.project-hover-preview,.news-hover-preview .journal-card .journal-preview{display:none!important}.journal-card-body{grid-template-columns:1fr}.journal-byline{grid-column:1;grid-row:2;text-align:left;padding:0 0 10px}.journal-title{grid-column:1;grid-row:1}.media-width-full .ps-viewport{max-width:100%}.related-list{grid-template-columns:1fr}}
@media(max-width:520px){.projects-heading-row{align-items:center}.project-grid[data-view="index"]{grid-template-columns:repeat(2,1fr);column-gap:18px;row-gap:28px}.project-index-label,.project-generated-label{font-size:10px}.project-grid[data-view="image"]{grid-template-columns:1fr 1fr}.project-view-switch{font-size:9px}.documentation-grid{grid-template-columns:1fr}}

/* CAAT CMS v3 — archive-only, timeline and internal map views */
.project-tile-static{cursor:default;color:inherit}.project-tile-static:hover .project-index-label{text-decoration:none!important}.project-index-label small,.project-generated-label small{display:block;margin-top:6px;font-size:7px;letter-spacing:.11em;color:var(--ink-soft);font-weight:500}.project-tile-coming .project-index-label,.project-tile-coming .project-generated-label{opacity:.78}
.project-timeline{max-width:960px;padding:16px 0 80px}.project-timeline h2{font-size:10px;letter-spacing:.08em;color:var(--ink-soft);font-weight:500;border-top:1px solid var(--line);padding-top:12px;margin:28px 0 4px}.project-timeline h2:first-child{margin-top:0}.timeline-item{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,.35fr);gap:30px;align-items:baseline;padding:9px 0}.timeline-item a,.timeline-item>span{font-size:12px;text-transform:uppercase;line-height:1.15}.timeline-item a:hover{background:#111;color:#fff;text-decoration:none}.timeline-item small{font-size:10px;color:var(--ink-soft);text-align:right}
.project-map{padding:12px 0 70px}.project-map-plane{position:relative;height:min(62vh,620px);min-height:420px;border:1px solid var(--line);background-image:linear-gradient(to right,transparent 24.8%,var(--line) 25%,transparent 25.2%,transparent 49.8%,var(--line) 50%,transparent 50.2%,transparent 74.8%,var(--line) 75%,transparent 75.2%),linear-gradient(to bottom,transparent 24.8%,var(--line) 25%,transparent 25.2%,transparent 49.8%,var(--line) 50%,transparent 50.2%,transparent 74.8%,var(--line) 75%,transparent 75.2%);background-color:#fff}.project-map-point{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;border:0;background:transparent;padding:0;cursor:pointer;display:grid;place-items:center}.project-map-point:before{content:"";width:8px;height:8px;border:1px solid #111;border-radius:50%;background:#111}.project-map-point span{position:absolute;left:28px;top:13px;white-space:nowrap;font:9px/1.15 var(--site-font,Arial,sans-serif);text-transform:uppercase;background:#fff;padding:2px 4px;opacity:0;pointer-events:none;transition:opacity .12s ease}.project-map-point:hover span,.project-map-point:focus-visible span{opacity:1}.map-note{font-size:10px;color:var(--ink-soft);margin:9px 0 0}.projects-archive [hidden]{display:none!important}
@media(max-width:900px){.project-view-switch{flex-wrap:wrap;justify-content:flex-end}.project-grid[data-view="index"]{grid-template-columns:repeat(3,minmax(90px,1fr));gap:36px 22px}.timeline-item{grid-template-columns:1fr}.timeline-item small{text-align:left}.project-map-plane{min-height:360px}}
@media(max-width:560px){.projects-heading-row{align-items:flex-start}.project-view-switch{font-size:9px;max-width:160px}.project-grid[data-view="index"]{grid-template-columns:repeat(2,minmax(90px,1fr))}.project-toolbar{display:block}.project-search{margin-top:12px}.project-search input{width:min(220px,65vw)}}

/* -------------------------------------------------------------------------
   CAAT CMS v2.2 — parity fixes requested after production review
   ------------------------------------------------------------------------- */

/* Keep the studio name as a complete second line under the descriptor.
   The two spans used to remain inline, so the leading "C/" could wrap up to
   the first line at this sidebar width. */
.logo-caption,.logo-sub{display:block}

/* One width control now governs the actual reading measure across About,
   project descriptions, news details and page intros. */
.page-text,.project-description,.news-detail{max-width:var(--content-text-width,70ch)}
.page-intro{margin:0 0 28px}

/* Original CAAT project INDEX hover: a fine rectangular keyline around the
   tile, not an underline under the project name. The photography preview is
   intentionally suppressed in INDEX mode to preserve the original interaction;
   IMAGE mode remains the visual/photo archive. */
.project-grid[data-view="index"] .project-tile{
  min-height:100px;
  border:1px solid transparent;
  padding:10px 8px;
  transition:border-color .12s ease,opacity .25s ease,transform .25s ease;
}
.project-grid[data-view="index"] .project-tile:not(.project-tile-static):hover,
.project-grid[data-view="index"] .project-tile:not(.project-tile-static):focus-visible{
  border-color:#77736d;
  outline:none;
}
.project-grid[data-view="index"] .project-tile:hover .project-index-label,
.project-grid[data-view="index"] .project-tile:focus-visible .project-index-label{
  text-decoration:none!important;
}
.project-grid[data-view="index"] .project-hover-preview{display:none!important}

/* Restore the image-led News / Publications / Workshops card system from the
   earlier CAAT build. Later v2.1 list-view overrides affected every journal
   grid globally; these final rules intentionally restore cards. */
.journal-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:34px 28px;
  max-width:1180px;
  border-top:0;
}
@media (min-width:640px){.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:960px){.journal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.journal-card{
  display:flex;
  flex-direction:column;
  position:relative;
  border:0;
  padding:0;
  min-width:0;
}
.journal-card-media{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  margin:0 0 12px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Crect width='160' height='100' fill='%23f5f3ee'/%3E%3Crect x='62' y='34' width='15' height='15' fill='none' stroke='%23d6d2c8' stroke-width='2'/%3E%3Cpath d='M83 49 L98 49 L83 34 Z' fill='%23d6d2c8'/%3E%3C/svg%3E") center/cover no-repeat #f5f3ee;
}
.journal-card-media-empty{background:#f4f2ed}
.journal-image-link{display:block;width:100%;height:100%}
.journal-card-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .35s ease,transform .28s ease;
}
.journal-card-media img.img-loaded{opacity:1}
.journal-card:hover .journal-card-media img{transform:scale(1.025)}
.journal-card-body{display:flex;flex-direction:column;gap:6px}
.journal-byline{
  display:block;
  margin:0;
  padding:0;
  text-align:left;
  font-size:10px;
  line-height:1.35;
  color:var(--ink-soft);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:600;
}
.journal-title{
  display:block;
  margin:0;
  font-weight:700;
  font-size:15px;
  line-height:1.38;
}
.journal-title a,.journal-title .journal-title-static{
  display:inline;
  padding:2px 3px;
  margin-left:-3px;
  color:inherit;
  background:transparent;
  transition:background .12s ease,color .12s ease;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
.news-hover-invert .journal-page .journal-title a:hover,
.news-hover-invert .journal-page .journal-title a:focus-visible,
.news-hover-invert .journal-page .journal-title:hover .journal-title-static,
.news-hover-preview .journal-page .journal-title a:hover,
.news-hover-preview .journal-page .journal-title a:focus-visible,
.news-hover-preview .journal-page .journal-title:hover .journal-title-static{
  background:#111;
  color:#fff;
  text-decoration:none;
  outline:none;
}
.news-hover-underline .journal-page .journal-title a:hover,
.news-hover-underline .journal-page .journal-title a:focus-visible,
.news-hover-underline .journal-page .journal-title:hover .journal-title-static{
  text-decoration:underline;
  text-underline-offset:3px;
}
.journal-excerpt{font-size:13px;color:var(--ink-soft);margin:2px 0 0;line-height:1.55}
.journal-preview{display:none!important}

@media(max-width:880px){
  .project-grid[data-view="index"] .project-tile{min-height:86px}
  .journal-card-body{display:flex}
  .journal-byline{padding:0;text-align:left}
}
@media(max-width:520px){
  .journal-grid{gap:28px 16px}
}

/* Keep the neutral placeholder visible if an image fails before main.js can
   observe its error event. Successful publishes also validate every generated
   local asset reference, so this is only a graceful runtime fallback. */
.journal-card-media img.img-error,
.news-hero img.img-error,
.project-thumb.img-error{opacity:0!important}

/* ========================================================================
   CAAT CMS v2.4 — logo reveal entrance, hover art direction, archive scale,
   chronological timeline and real-map presentation.
   ======================================================================== */
.sidebar-divider-off .sidebar{border-right-color:transparent}
.sidebar-divider-on .sidebar{border-right-color:var(--line)}

/* Logo reveal entrance. The closed state intentionally leaves only the
   compact 2x2 CAAT mark visible. The actual content remains in the DOM for
   SEO/progressive enhancement but is removed from focus/interaction until
   the user opens the studio shell. */
.logo-gate .logo-text-link,.logo-gate .sidebar-nav,.logo-gate .site-body{
  transition:opacity .38s ease,transform .46s cubic-bezier(.22,.8,.25,1),visibility 0s linear .46s;
}
.logo-gate.logo-gate-closed .logo-mark{width:80px;height:80px}
.logo-gate.logo-gate-closed .logo-mark .lm-sq2{left:0;top:46px}
.logo-gate.logo-gate-closed .logo-mark .lm-tri{left:46px;top:46px}
.logo-gate.logo-gate-closed .logo-text-link,
.logo-gate.logo-gate-closed .sidebar-nav,
.logo-gate.logo-gate-closed .site-body,
.logo-gate.logo-gate-closed .mobile-nav-toggle{opacity:0;visibility:hidden;pointer-events:none}
.logo-gate.logo-gate-closed .logo-text-link{transform:translateY(-5px)}
.logo-gate.logo-gate-closed .sidebar-nav{transform:translateY(-8px)}
.logo-gate.logo-gate-closed .site-body{transform:translateX(12px)}
.logo-gate.logo-gate-open .logo-text-link,
.logo-gate.logo-gate-open .sidebar-nav,
.logo-gate.logo-gate-open .site-body{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:.10s,.10s,0s}
.logo-gate.logo-gate-open .sidebar-nav{transition-delay:.18s,.18s,0s}
.logo-gate.logo-gate-open .site-body{transition-delay:.28s,.28s,0s}
.logo-gate.logo-gate-open .sidebar-nav a{animation:caatNavIn .34s both}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(2){animation-delay:.04s}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(3){animation-delay:.08s}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(4){animation-delay:.12s}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(5){animation-delay:.16s}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(6){animation-delay:.20s}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(7){animation-delay:.24s}
@keyframes caatNavIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.logo-gate-no-transition *{transition:none!important;animation:none!important}
html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-text-link,
html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .sidebar-nav,
html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .site-body{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:none}
html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark{width:172px;height:34px}
html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark .lm-sq2{left:92px;top:0}
html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark .lm-tri{left:138px;top:0}

/* INDEX stays typographic, but now art-directed imagery appears only on
   intentional hover/focus. The image itself is lazy-created by main.js. */
.project-grid[data-view="index"] .project-hover-preview{
  display:block!important;position:fixed;z-index:30;
  left:calc(var(--sidebar-w) + (100vw - var(--sidebar-w))/2);top:52%;
  width:min(340px,28vw);aspect-ratio:4/3;overflow:hidden;background:#f7f6f2;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate(-50%,-48%) scale(.985);
  transition:opacity .16s ease,transform .2s ease,visibility 0s linear .2s;
}
.project-grid[data-view="index"] .project-hover-preview img{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .18s ease}
.project-grid[data-view="index"] .project-hover-preview.is-ready img{opacity:1}
.project-grid[data-view="index"] .project-tile:hover .project-hover-preview,
.project-grid[data-view="index"] .project-tile:focus-visible .project-hover-preview,
.project-grid[data-view="index"] .project-tile:focus-within .project-hover-preview{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1);transition-delay:0s}
.project-grid[data-view="index"] .project-hover-preview.is-error{display:none!important}

/* IMAGE keeps the compact archive scale on desktop only. Mobile owns its
   own responsive grid instead of fighting this legacy tile cap with !important. */
@media (min-width:881px){
  .project-grid[data-view="image"]{grid-template-columns:repeat(auto-fill,var(--image-tile-size,107px));gap:34px 30px;justify-content:start;align-items:start}
  .project-grid[data-view="image"] .project-tile{width:var(--image-tile-size,107px)}
  .project-grid[data-view="image"] .project-image-tile{width:var(--image-tile-size,107px);height:var(--image-tile-size,107px);aspect-ratio:1/1;background:#f7f6f2}
  .project-grid[data-view="image"] .project-image-tile .project-thumb{object-fit:cover}
  .project-grid[data-view="image"] .project-generated-label{font-size:9px;padding:10px}
}

/* Chronological timeline: generator now sends grouped/sorted data; these
   rules make the hierarchy read clearly without turning it into a dashboard. */
.project-timeline{max-width:1060px;padding-top:4px}
.project-timeline h2{position:sticky;top:0;background:rgba(255,255,255,.96);z-index:2;margin:30px 0 5px;padding:10px 0 5px;font-size:11px;color:var(--ink);border-top:1px solid var(--line)}
.timeline-item{min-height:34px;border-bottom:1px solid rgba(227,224,216,.5)}
.timeline-item:last-of-type{border-bottom:0}

/* Real map via Leaflet 1.9.4, initialized only when MAP is opened. If the
   library/tile layer is unavailable, main.js falls back to the local
   coordinate plane so the archive remains functional. */
.project-map{padding:4px 0 70px}
.project-map-stage{position:relative;min-height:520px}
.project-map-leaflet,.project-map-fallback{height:min(66vh,650px);min-height:520px;border:1px solid var(--line);background:#f7f6f2}
.project-map-leaflet[hidden],.project-map-fallback[hidden]{display:none!important}
.project-map-meta{display:flex;justify-content:space-between;gap:18px;padding-top:8px;color:var(--ink-soft);font-size:9px;letter-spacing:.04em;text-transform:uppercase}
.project-map-meta b{color:var(--ink);font-weight:600}
.caat-map-marker{background:transparent!important;border:0!important}
.caat-map-marker span{display:block;width:10px;height:10px;background:#111;border:2px solid #fff;box-shadow:0 0 0 1px #111;border-radius:50%}
.caat-project-popup .leaflet-popup-content-wrapper{border-radius:0;box-shadow:0 10px 28px rgba(0,0,0,.12);font-family:var(--site-font,Arial,sans-serif)}
.caat-project-popup .leaflet-popup-content{margin:10px 12px;min-width:140px}
.caat-project-popup .leaflet-popup-tip{box-shadow:none}
.caat-map-popup{display:flex;flex-direction:column;gap:3px;text-transform:uppercase}
.caat-map-popup a,.caat-map-popup strong{font-size:11px;line-height:1.15;font-weight:700}
.caat-map-popup a:hover{text-decoration:underline;text-underline-offset:2px}
.caat-map-popup small{font-size:9px;color:var(--ink-soft)}
.project-map-fallback{position:relative;background-image:linear-gradient(to right,transparent 24.8%,var(--line) 25%,transparent 25.2%,transparent 49.8%,var(--line) 50%,transparent 50.2%,transparent 74.8%,var(--line) 75%,transparent 75.2%),linear-gradient(to bottom,transparent 24.8%,var(--line) 25%,transparent 25.2%,transparent 49.8%,var(--line) 50%,transparent 50.2%,transparent 74.8%,var(--line) 75%,transparent 75.2%)}

@media(max-width:880px){
  .logo-gate.logo-gate-closed .mobile-nav-toggle{display:none!important}
  .project-grid[data-view="index"] .project-hover-preview{display:none!important}
  .project-map-stage,.project-map-leaflet,.project-map-fallback{min-height:420px;height:58vh}
}
@media(prefers-reduced-motion:reduce){
  .logo-gate .logo-text-link,.logo-gate .sidebar-nav,.logo-gate .site-body,.logo-gate.logo-gate-open .sidebar-nav a,.project-grid[data-view="index"] .project-hover-preview{transition:none!important;animation:none!important}
}


/* v2.4 MAP empty/error state */
.project-map-stage{position:relative}.project-map-empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:28px;font-size:11px;letter-spacing:.04em;color:var(--ink-soft);background:rgba(255,255,255,.92);z-index:12}.project-map-empty[hidden]{display:none}

/* ========================================================================
   CAAT CMS v2.5 — selectable loader/reveal motion, in-cell INDEX artwork,
   country-aware maps and refined archive interaction.
   ======================================================================== */
.logo-gate .logo-text-link,.logo-gate .sidebar-nav,.logo-gate .site-body{transition-duration:var(--reveal-duration,.46s)}
.logo-gate.logo-gate-open .sidebar-nav a{animation-duration:calc(var(--reveal-duration,.46s) * .74)}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(2){animation-delay:calc(var(--reveal-stagger,70ms) * 1)}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(3){animation-delay:calc(var(--reveal-stagger,70ms) * 2)}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(4){animation-delay:calc(var(--reveal-stagger,70ms) * 3)}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(5){animation-delay:calc(var(--reveal-stagger,70ms) * 4)}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(6){animation-delay:calc(var(--reveal-stagger,70ms) * 5)}
.logo-gate.logo-gate-open .sidebar-nav a:nth-child(7){animation-delay:calc(var(--reveal-stagger,70ms) * 6)}
.reveal-style-fade.logo-gate.logo-gate-closed .logo-text-link,.reveal-style-fade.logo-gate.logo-gate-closed .sidebar-nav,.reveal-style-fade.logo-gate.logo-gate-closed .site-body{transform:none}
.reveal-style-split.logo-gate.logo-gate-closed .logo-text-link,.reveal-style-split.logo-gate.logo-gate-closed .sidebar-nav{transform:translateX(-12px)}
.reveal-style-split.logo-gate.logo-gate-closed .site-body{transform:translateX(22px)}

/* Preferred v2.5 behavior: the project cell itself becomes the hover image.
   The image remains a real <img>, lazy-created on first intent, not a CSS
   background. This keeps layout semantics clean while avoiding initial-load
   cost for dozens of hover artworks. */
.index-hover-tile-image .project-grid[data-view="index"] .project-tile{aspect-ratio:4/3;min-height:0;overflow:hidden;isolation:isolate}
.index-hover-tile-image .project-grid[data-view="index"] .project-hover-preview{display:block!important;position:absolute;inset:0;z-index:1;width:100%;height:100%;aspect-ratio:auto;left:auto;top:auto;background:#f2f1ed;opacity:0;visibility:hidden;transform:none!important;transition:opacity .18s ease,visibility 0s linear .18s;pointer-events:none}
.index-hover-tile-image .project-grid[data-view="index"] .project-hover-preview img{display:block;width:100%;height:100%;max-height:none;object-fit:var(--index-hover-fit,cover);opacity:0;transform:scale(1.012);transition:opacity .18s ease,transform .34s cubic-bezier(.2,.75,.25,1)}
.index-hover-fit-cover .project-grid[data-view="index"] .project-hover-preview img{object-fit:cover}
.index-hover-fit-contain .project-grid[data-view="index"] .project-hover-preview img{object-fit:contain;background:#f7f6f2}
.index-hover-tile-image .project-grid[data-view="index"] .project-hover-preview.is-ready img{opacity:1}
.index-hover-tile-image .project-grid[data-view="index"] .project-tile:hover .project-hover-preview,.index-hover-tile-image .project-grid[data-view="index"] .project-tile:focus-visible .project-hover-preview,.index-hover-tile-image .project-grid[data-view="index"] .project-tile:focus-within .project-hover-preview{opacity:1;visibility:visible;transform:none!important;transition-delay:0s}
.index-hover-tile-image .project-grid[data-view="index"] .project-tile:hover .project-hover-preview img,.index-hover-tile-image .project-grid[data-view="index"] .project-tile:focus-visible .project-hover-preview img{transform:scale(1)}
.index-hover-tile-image .project-grid[data-view="index"] .project-index-label{position:relative;z-index:2;max-width:90%;padding:5px 7px;text-decoration:none!important;transition:color .16s ease,background .16s ease,opacity .16s ease;text-wrap:balance}
.index-hover-text-inverse.index-hover-tile-image .project-grid[data-view="index"] .project-tile:hover .project-index-label,.index-hover-text-inverse.index-hover-tile-image .project-grid[data-view="index"] .project-tile:focus-visible .project-index-label{color:#fff;background:rgba(0,0,0,.52);text-shadow:0 1px 10px rgba(0,0,0,.2)}
.index-hover-text-dark.index-hover-tile-image .project-grid[data-view="index"] .project-tile:hover .project-index-label,.index-hover-text-dark.index-hover-tile-image .project-grid[data-view="index"] .project-tile:focus-visible .project-index-label{color:#111;background:rgba(255,255,255,.76)}
.index-hover-text-light.index-hover-tile-image .project-grid[data-view="index"] .project-tile:hover .project-index-label,.index-hover-text-light.index-hover-tile-image .project-grid[data-view="index"] .project-tile:focus-visible .project-index-label{color:#fff;background:transparent;text-shadow:0 1px 8px rgba(0,0,0,.55)}
.index-hover-text-hide.index-hover-tile-image .project-grid[data-view="index"] .project-tile:hover .project-index-label,.index-hover-text-hide.index-hover-tile-image .project-grid[data-view="index"] .project-tile:focus-visible .project-index-label{opacity:0}
.index-hover-border-only .project-grid[data-view="index"] .project-hover-preview{display:none!important}
.index-hover-border-only .project-grid[data-view="index"] .project-tile:hover,.index-hover-border-only .project-grid[data-view="index"] .project-tile:focus-visible{outline:1px solid currentColor;outline-offset:-1px}
/* fixed-preview intentionally keeps the v2.4 center-screen behavior as an
   optional compatibility choice in Appearance. */

.project-map-countries{display:flex;flex-wrap:wrap;gap:6px 12px;padding:0 0 12px;border-bottom:1px solid var(--line);margin-bottom:12px}
.project-map-countries button{appearance:none;border:0;background:transparent;padding:3px 0;font:9px/1.1 var(--site-font,Arial,sans-serif);letter-spacing:.04em;color:var(--ink-soft);cursor:pointer}
.project-map-countries button:hover,.project-map-countries button:focus-visible,.project-map-countries button.active{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

@media (hover:none),(pointer:coarse){.index-hover-tile-image .project-grid[data-view="index"] .project-tile{aspect-ratio:auto;min-height:86px}.index-hover-tile-image .project-grid[data-view="index"] .project-hover-preview{display:none!important}}
@media(prefers-reduced-motion:reduce){.index-hover-tile-image .project-grid[data-view="index"] .project-hover-preview,.index-hover-tile-image .project-grid[data-view="index"] .project-hover-preview img{transition:none!important;transform:none!important}}

/* ========================================================================
   CAAT Studio CMS v2.6 — Brand Studio, touch-first mobile archive and
   performance-oriented rendering. These rules intentionally sit last so the
   legacy parity layer remains available as a fallback while v2.6 owns the
   final interaction behavior.
   ======================================================================== */
.logo-text-link{max-width:var(--brand-max-width,210px)}
.logo-caption,.logo-sub{font-size:var(--brand-text-size,10px);letter-spacing:var(--brand-letter-spacing,.04em)}
.logo-sub{font-size:calc(var(--brand-text-size,10px) * .9)}
.brand-mobile{display:none}

/* Entrance sequence timing is independently editable instead of being tied to
   one transition. */
.logo-gate.logo-gate-open .logo-text-link{transition-delay:var(--reveal-brand-delay,90ms),var(--reveal-brand-delay,90ms),0s}
.logo-gate.logo-gate-open .sidebar-nav{transition-delay:var(--reveal-nav-delay,150ms),var(--reveal-nav-delay,150ms),0s}
.logo-gate.logo-gate-open .site-body{transition-delay:var(--reveal-content-delay,220ms),var(--reveal-content-delay,220ms),0s}
.entrance-instant.logo-gate .logo-text-link,.entrance-instant.logo-gate .sidebar-nav,.entrance-instant.logo-gate .site-body{transition-duration:.01ms!important}
.entrance-editorial.logo-gate.logo-gate-closed .site-body{transform:translateY(10px)}
.entrance-cinematic.logo-gate.logo-gate-closed .site-body{transform:translateX(26px);filter:blur(2px)}
.entrance-cinematic.logo-gate.logo-gate-open .site-body{filter:none}

/* Hover artwork styling stays CSS-only: no duplicate grayscale asset files. */
.index-hover-tile-image .project-grid[data-view="index"] .project-hover-preview img{
  filter:grayscale(var(--index-hover-grayscale,100%)) contrast(var(--index-hover-contrast,105%)) brightness(var(--index-hover-brightness,100%));
  opacity:0;
  transform:scale(var(--index-hover-zoom,1));
  transition:opacity var(--index-hover-transition,200ms) ease,transform calc(var(--index-hover-transition,200ms) * 1.5) cubic-bezier(.2,.75,.25,1),filter var(--index-hover-transition,200ms) ease;
}
.index-hover-tile-image .project-grid[data-view="index"] .project-hover-preview.is-ready img{opacity:var(--index-hover-opacity,1)}
.index-hover-color-color .project-grid[data-view="index"] .project-hover-preview img{filter:grayscale(0) contrast(var(--index-hover-contrast,105%)) brightness(var(--index-hover-brightness,100%))}
.index-hover-color-gray-to-color .project-grid[data-view="index"] .project-hover-preview img{filter:grayscale(100%) contrast(var(--index-hover-contrast,105%)) brightness(var(--index-hover-brightness,100%))}
.index-hover-color-gray-to-color .project-grid[data-view="index"] .project-tile:hover .project-hover-preview img,
.index-hover-color-gray-to-color .project-grid[data-view="index"] .project-tile:focus-visible .project-hover-preview img{filter:grayscale(0) contrast(var(--index-hover-contrast,105%)) brightness(var(--index-hover-brightness,100%))}
.index-hover-color-color-to-gray .project-grid[data-view="index"] .project-hover-preview img{filter:grayscale(0) contrast(var(--index-hover-contrast,105%)) brightness(var(--index-hover-brightness,100%))}
.index-hover-color-color-to-gray .project-grid[data-view="index"] .project-tile:hover .project-hover-preview img,
.index-hover-color-color-to-gray .project-grid[data-view="index"] .project-tile:focus-visible .project-hover-preview img{filter:grayscale(100%) contrast(var(--index-hover-contrast,105%)) brightness(var(--index-hover-brightness,100%))}
.project-mobile-preview{display:none}
.project-image-tile picture,.journal-card-media picture,.news-hero picture{display:block;width:100%;height:100%}

/* Long editorial/archive collections may skip offscreen layout/paint work.
   contain-intrinsic-size keeps scrolling stable while content is skipped. */
.content-visibility-on .journal-card,
.content-visibility-on .timeline-item,
.content-visibility-on .documentation-group,
.content-visibility-on .awards-list li{content-visibility:auto;contain-intrinsic-size:auto 180px}

/* Maintenance mode is generated into the public build and can be reversed from
   Appearance without deleting content. */
.maintenance-overlay{position:fixed;inset:0;z-index:2000;background:#fff;display:grid;place-items:center;padding:28px}
.maintenance-card{width:min(430px,100%);text-align:center;text-transform:uppercase;letter-spacing:.06em}
.maintenance-card strong{display:block;font-size:16px;margin:18px 0 8px}.maintenance-card p{font-size:11px;color:var(--ink-soft);line-height:1.65;margin:0}
.maintenance-mark{display:block;width:54px;height:54px;margin:0 auto;border:12px solid #111;border-right-color:transparent;transform:rotate(45deg)}

/* Mobile is a purpose-built archive view, not a compressed desktop hover UI. */
@media (max-width:880px){
  :root{--mobile-topbar-h:70px}
  .sidebar{height:var(--mobile-topbar-h);padding:12px 58px 12px 16px;align-items:center}
  .site-body{margin-top:var(--mobile-topbar-h)}
  .sidebar-logo{min-width:0;max-width:calc(100vw - 90px);align-items:center}
  .logo-text-link{min-width:0;max-width:min(var(--brand-max-width,210px),calc(100vw - 150px))}
  .logo-caption,.logo-sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .brand-desktop{display:none}.brand-mobile{display:inline}
  main{padding:24px 18px 48px}
  .projects-heading-row{gap:14px}.project-view-switch{max-width:none;justify-content:flex-end}
  .project-toolbar{border-bottom:0;padding-bottom:0;margin-bottom:22px}
  .project-search{align-self:stretch;justify-content:flex-end}.project-search input{width:min(190px,55vw)}.project-search input:focus{width:min(240px,70vw)}
  .project-map-stage,.project-map-leaflet,.project-map-fallback{height:58vh;min-height:360px}
  .project-map-meta{flex-direction:column;gap:4px}.project-map-countries{overflow-x:auto;flex-wrap:nowrap;padding-bottom:10px;-webkit-overflow-scrolling:touch}.project-map-countries button{flex:0 0 auto;min-height:38px;padding:6px 2px}
  .project-timeline h2{top:var(--mobile-topbar-h)}

  /* Full-height drawer or overlay, selected from Appearance. */
  .sidebar-nav{top:var(--mobile-topbar-h);padding:26px 24px 40px;overflow:auto}
  .mobile-nav-overlay .sidebar-nav{background:rgba(255,255,255,.98);backdrop-filter:blur(10px)}
  .mobile-nav-drawer .sidebar-nav{right:0;width:100vw;border-right:0;box-shadow:none}

  /* Touch INDEX: direct navigation plus a small grayscale image. */
  .mobile-project-previews-on .project-grid[data-view="index"]{display:flex;flex-direction:column;gap:0;padding:0 0 42px}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-tile{display:grid;grid-template-columns:var(--mobile-project-preview-size,84px) minmax(0,1fr);place-items:stretch;align-items:center;gap:16px;aspect-ratio:auto;min-height:calc(var(--mobile-project-preview-size,84px) + 22px);padding:11px 0;border:0;border-bottom:1px solid var(--line);text-align:left}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-mobile-preview{display:block;grid-column:1;grid-row:1;width:var(--mobile-project-preview-size,84px);height:var(--mobile-project-preview-size,84px);overflow:hidden;background:#f5f3ee}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-mobile-preview img{width:100%;height:100%;object-fit:cover;filter:grayscale(100%) contrast(var(--index-hover-contrast,105%));opacity:var(--index-hover-opacity,1)}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-index-label{grid-column:2;grid-row:1;max-width:none;padding:0;font-size:11px;text-align:left}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-image-tile,.mobile-project-previews-on .project-grid[data-view="index"] .project-hover-preview{display:none!important}
  .mobile-project-previews-off .project-grid[data-view="index"]{grid-template-columns:1fr 1fr}

  /* Compact filter groups become an accordion/sheet-like full-width control;
     JS keeps the existing details semantics so it still works without a
     framework. */
  .mobile-filter-sheet .project-filters,.mobile-filter-accordion .project-filters{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;width:100%;overflow:visible;padding:0}
  .mobile-filter-sheet .project-filters>.pf-btn,.mobile-filter-accordion .project-filters>.pf-btn{grid-column:1/-1;justify-self:start}
  .mobile-filter-sheet .pf-group,.mobile-filter-accordion .pf-group{position:static}
  .mobile-filter-sheet .pf-popover,.mobile-filter-accordion .pf-popover{position:static;box-shadow:none;min-width:0;border-color:var(--line);margin-top:5px}
}
@media(max-width:520px){
  .logo-mark{margin-right:0}
  .logo-caption{font-size:max(8px,calc(var(--brand-text-size,10px) * .85))}.logo-sub{font-size:max(7px,calc(var(--brand-text-size,10px) * .75))}
  .site-footer{font-size:9px}.footer-copyright{line-height:1.5}
  .journal-grid{grid-template-columns:1fr}
}
@media (hover:hover) and (pointer:fine){
  .index-hover-tile-image .project-grid[data-view="index"] .project-tile:hover .project-hover-preview img{transform:scale(var(--index-hover-zoom,1))}
}
@media(prefers-reduced-motion:reduce){
  .entrance-cinematic.logo-gate.logo-gate-closed .site-body{filter:none}
}

/* v2.6 mobile filter launcher. Desktop keeps the classic inline filter bar;
   touch layouts can opt into a real bottom sheet or a compact accordion. */
.mobile-filter-toggle,.mobile-filter-backdrop{display:none}
@media(max-width:880px){
  .mobile-filter-toggle{appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink);font:10px/1 var(--site-font,Arial,sans-serif);letter-spacing:.08em;padding:11px 12px;min-height:40px;text-align:left;cursor:pointer}
  .mobile-filter-sheet .mobile-filter-toggle,.mobile-filter-accordion .mobile-filter-toggle{display:block}
  .mobile-filter-sheet .project-filters,.mobile-filter-accordion .project-filters{display:none}
  .mobile-filter-accordion .projects-archive.mobile-filters-open .project-filters{display:grid}
  .mobile-filter-sheet .mobile-filter-backdrop{display:block;position:fixed;inset:0;z-index:78;border:0;background:rgba(0,0,0,.22);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility 0s linear .16s}
  .mobile-filter-sheet .projects-archive.mobile-filters-open .mobile-filter-backdrop{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
  .mobile-filter-sheet .project-filters{position:fixed;z-index:79;left:0;right:0;bottom:0;display:grid!important;max-height:min(72vh,620px);overflow:auto;background:#fff;padding:20px 18px calc(22px + env(safe-area-inset-bottom));border-top:1px solid var(--ink);box-shadow:0 -18px 60px rgba(0,0,0,.08);transform:translateY(105%);visibility:hidden;transition:transform .2s cubic-bezier(.2,.75,.25,1),visibility 0s linear .2s}
  .mobile-filter-sheet .projects-archive.mobile-filters-open .project-filters{transform:translateY(0);visibility:visible;transition-delay:0s}
  .mobile-filter-sheet .project-filters:before{content:'FILTER PROJECTS';grid-column:1/-1;font-size:10px;font-weight:700;letter-spacing:.08em;margin-bottom:8px}
  .mobile-filter-inline .mobile-filter-toggle{display:none}
}
@media(prefers-reduced-motion:reduce){
  .mobile-filter-sheet .mobile-filter-backdrop,.mobile-filter-sheet .project-filters{transition:none!important}
}

/* -------------------------------------------------------------------------
   CAAT Studio CMS v2.8 — Production responsive + interaction tuning
   ------------------------------------------------------------------------- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scrollbar-gutter:stable}
button,a{-webkit-tap-highlight-color:transparent}

/* Keep high-frequency UI motion short enough to feel responsive. */
.project-view-switch button,.pf-group summary,.project-search input,.mobile-nav-toggle span,.project-tile,.project-thumb,.journal-card-media img{transition-duration:.18s}
.motion-off .project-view-switch button,.motion-off .pf-group summary,.motion-off .project-search input,.motion-off .project-tile,.motion-off .project-thumb,.motion-off .journal-card-media img{transition:none!important}

@media (max-width:880px){
  :root{--mobile-topbar-h:calc(64px + env(safe-area-inset-top));--mobile-gutter:16px}
  .layout{min-height:100dvh}
  .sidebar{
    height:var(--mobile-topbar-h);min-height:var(--mobile-topbar-h);
    padding:calc(10px + env(safe-area-inset-top)) 58px 10px var(--mobile-gutter);
    align-items:center;overflow:visible
  }
  .site-body{margin-top:var(--mobile-topbar-h)}
  .mobile-nav-toggle{top:calc(10px + env(safe-area-inset-top));right:8px}
  .sidebar-logo{max-width:calc(100vw - 82px);min-width:0;gap:8px}
  .logo-text-link{max-width:calc(100vw - 166px);min-width:0}
  .logo-caption,.logo-sub{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  /* A true viewport takeover: the navigation panel owns the complete visual
     viewport while the compact brand row and close button remain above it. */
  .sidebar-nav{
    inset:0;width:100vw;height:100dvh;min-height:100svh;max-height:100dvh;
    padding:calc(var(--mobile-topbar-h) + 14px) max(var(--mobile-gutter),env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(var(--mobile-gutter),env(safe-area-inset-left));
    gap:0;overflow-y:auto;overscroll-behavior:contain;background:#fff;
    font-size:clamp(16px,4.4vw,20px);line-height:1.15;
    opacity:0;visibility:hidden;pointer-events:none;z-index:104
  }
  .mobile-nav-overlay .sidebar-nav{transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s;backdrop-filter:none}
  .mobile-nav-drawer .sidebar-nav{transform:translateX(18px);transition:opacity .18s ease,transform .22s cubic-bezier(.2,.75,.25,1),visibility 0s linear .22s}
  .sidebar.nav-open{inset:0;width:100vw;height:100dvh;min-height:100svh;max-height:100dvh;border-bottom:0;background:#fff;overflow:hidden}
  .sidebar.nav-open .sidebar-nav{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s}
  .sidebar.nav-open .sidebar-logo{position:relative;z-index:106}
  .sidebar.nav-open .sidebar-logo{align-self:flex-start;min-height:42px}
  .sidebar.nav-open .logo-text-link{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
  .sidebar-nav a{min-height:48px;padding:0;border-bottom:1px solid rgba(22,20,15,.08);display:flex;align-items:center}
  .sidebar-nav a:last-child{border-bottom:0}
  .sidebar.nav-open .mobile-nav-backdrop{display:block;position:fixed;inset:0;z-index:103;border:0;background:#fff;backdrop-filter:none}
  html.mobile-nav-open,body.mobile-nav-open{overscroll-behavior:none}

  main{padding:20px var(--mobile-gutter) 44px}
  .projects-heading-row{display:grid;grid-template-columns:1fr;align-items:start;gap:10px;margin-bottom:18px}
  .projects-heading-row h1{margin:0}
  .project-view-switch{
    width:100%;max-width:none;justify-content:flex-start;overflow-x:auto;overscroll-behavior-inline:contain;
    scrollbar-width:none;gap:5px;font-size:10px;white-space:nowrap;padding:0 0 2px
  }
  .project-view-switch::-webkit-scrollbar{display:none}
  .project-view-switch button{min-height:40px;padding:8px 2px;flex:0 0 auto}
  .project-view-switch span{flex:0 0 auto;color:var(--line)}

  .project-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px;margin-bottom:20px;padding-bottom:0;border-bottom:0}
  .mobile-filter-toggle{grid-column:1;min-width:112px}
  .project-search{grid-column:2;margin:0;align-self:center;justify-content:flex-end}
  .project-search span{display:none}
  .project-search input{width:min(150px,42vw);min-height:40px;padding:8px 4px}
  .project-search input:focus{width:min(180px,48vw)}

  .mobile-project-previews-on .project-grid[data-view="index"]{padding-bottom:28px}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-tile{gap:14px;min-height:calc(var(--mobile-project-preview-size,84px) + 18px);padding:9px 0}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-index-label{font-size:10px;line-height:1.3;overflow-wrap:anywhere}

  .project-timeline{margin-top:2px}
  .project-timeline h2{top:var(--mobile-topbar-h);padding-top:10px;background:#fff}
  .timeline-item{padding:12px 0;gap:4px}
  .project-map-stage,.project-map-leaflet,.project-map-fallback{height:min(62svh,560px);min-height:320px}

  .project-slider{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center}
  .ps-viewport{width:100%;max-width:none}
  .ps-arrow{font-size:30px;min-width:44px;min-height:44px}
  .project-detail h1,.news-detail h1{font-size:clamp(20px,6vw,26px);line-height:1.18}
  .project-spec{grid-template-columns:1fr 1fr;gap:12px 18px;padding:16px 0;margin:16px 0 22px}
  .project-description,.page-text,.news-body{font-size:14px;line-height:1.7}
  .site-footer{padding:18px var(--mobile-gutter) calc(18px + env(safe-area-inset-bottom));margin-top:32px}
}

@media (max-width:520px){
  :root{--mobile-gutter:14px}
  .logo-mark{margin-right:0}
  .project-toolbar{grid-template-columns:1fr auto}
  .project-search input{width:min(132px,40vw)}
  .project-search input:focus{width:min(160px,46vw)}
  .project-spec{grid-template-columns:1fr}
  .related-list{gap:14px}
}

@media (prefers-reduced-motion:reduce){
  .mobile-nav-overlay .sidebar-nav,.mobile-nav-drawer .sidebar-nav,.mobile-nav-toggle span,.project-view-switch button,.project-tile,.project-thumb,.journal-card-media img{transition:none!important}
}

/* CAAT v2.9 — Editorial Studio: documentation art direction + events */
.project-documentation-item-full{grid-column:1/-1}.project-documentation-item-portrait{max-width:68%;justify-self:start}.project-documentation-item-half{max-width:100%}
.event-status{display:inline-block;border:1px solid currentColor;border-radius:999px;padding:1px 6px;font-size:.75em;letter-spacing:.04em;text-transform:uppercase}.workshop-facts{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 20px}.workshop-facts p{margin:0}
@media(max-width:639px){.project-documentation-item.is-hidden-mobile{display:none!important}.project-documentation-item-portrait{max-width:100%}.workshop-facts{gap:8px 18px}}

/* ========================================================================
   CAAT Studio CMS v3.1 — Mobile Completion + Accessibility + SEO UX
   Purpose-built mobile archive/detail behavior. These rules intentionally
   sit last to override the compact legacy 107px archive assumptions.
   ======================================================================== */
.mobile-filter-sheet-head,.project-index-meta,.ps-counter{display:none}

@media (max-width:880px){
  :root{
    --mobile-gutter:clamp(14px,4vw,18px);
    --mobile-topbar-h:calc(62px + env(safe-area-inset-top));
    --mobile-project-rail-h:54px;
  }
  html,body{max-width:100%}
  body{min-width:0}
  img,video,iframe,svg{max-width:100%}
  .layout,.site-body,main,.projects-archive,.project-detail,.news-detail,.page-text{min-width:0;max-width:100%}

  /* v3.1.3 mobile brand/header correction. The mark uses real mobile geometry
     instead of transform-scaling a desktop box, so its layout footprint matches
     what people actually see and the descriptor can never overlap it. */
  .sidebar-logo{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:8px;width:calc(100vw - 72px);max-width:none;min-width:0}
  .logo-mark{width:92px;height:18px;transform:none!important;transform-origin:left center;margin:0!important;flex:0 0 92px}
  .logo-mark .lm-shape{width:18px;height:18px;top:0}
  .logo-mark .lm-arrow{left:0}
  .logo-mark .lm-sq1{left:24px}
  .logo-mark .lm-sq2{left:48px}
  .logo-mark .lm-tri{left:72px}
  .logo-mark.lm-open{height:18px}
  .logo-mark.lm-open .lm-sq2{left:48px;top:0}
  .logo-mark.lm-open .lm-tri{left:72px;top:0}
  .logo-mark::after{inset:-13px -4px}
  .logo-text-link{display:block;width:100%;max-width:none;min-width:0;line-height:1.16}
  .logo-caption{font-size:clamp(8px,2.65vw,9.5px);line-height:1.15;margin:0}
  .logo-sub{font-size:clamp(7px,2.25vw,8.5px);line-height:1.2;margin-top:2px}
  .logo-caption,.logo-sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  /* The logo reveal gate must reveal the page shell on mobile, not accidentally
     reveal the full-screen navigation. Only the hamburger controls that panel. */
  .logo-gate.logo-gate-open .sidebar:not(.nav-open) .sidebar-nav,
  html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .sidebar:not(.nav-open) .sidebar-nav{
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(-6px)!important
  }
  .logo-gate.logo-gate-open .sidebar:not(.nav-open) .sidebar-nav a,
  html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .sidebar:not(.nav-open) .sidebar-nav a{animation:none!important}
  .logo-gate.logo-gate-closed .logo-mark{width:42px;height:42px;flex-basis:42px}
  .logo-gate.logo-gate-closed .logo-mark .lm-sq2{left:0;top:24px}
  .logo-gate.logo-gate-closed .logo-mark .lm-tri{left:24px;top:24px}
  html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark{width:92px;height:18px;flex-basis:92px}
  html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark .lm-sq2{left:48px;top:0}
  html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark .lm-tri{left:72px;top:0}

  /* Mobile headings and editorial titles must remain fully readable. */
  main h1,.journal-page>h1,.news-detail>h1,.project-detail>h1{max-width:100%;overflow-wrap:anywhere;word-break:normal;text-wrap:balance}
  main>h1,.journal-page>h1{font-size:18px;line-height:1.2;margin-bottom:24px}
  .journal-title,.journal-title a,.journal-title .journal-title-static{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
  .journal-title a,.journal-title .journal-title-static{margin-left:0!important;width:100%}
  html{scroll-padding-top:calc(var(--mobile-topbar-h) + var(--mobile-project-rail-h) + 12px)}
  main :where(a,button,input,select,textarea,[tabindex]):focus-visible{scroll-margin-top:calc(var(--mobile-topbar-h) + var(--mobile-project-rail-h) + 12px);scroll-margin-bottom:20px}
  main{padding:18px max(var(--mobile-gutter),env(safe-area-inset-left)) 42px max(var(--mobile-gutter),env(safe-area-inset-right))}

  /* Keep the view selector discoverable while people move through a long
     project archive, without making the whole toolbar sticky. */
  .projects-heading-row{
    position:sticky;top:var(--mobile-topbar-h);z-index:64;
    grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;
    min-height:var(--mobile-project-rail-h);margin:0 0 14px;padding:5px 0;
    background:rgba(255,255,255,.98);border-bottom:1px solid var(--line)
  }
  .projects-heading-row h1{font-size:12px;line-height:1.1;white-space:nowrap}
  .project-view-switch{justify-content:flex-end;align-items:center;gap:0;min-width:0;padding:0}
  .project-view-switch button{
    min-width:44px;min-height:44px;padding:10px 8px;border:0;background:transparent;
    display:inline-grid;place-items:center;line-height:1;touch-action:manipulation
  }
  .project-view-switch span{padding:0 1px}

  /* Search and filters are thumb-friendly. 16px inputs also avoid the common
     iOS text-field zoom behaviour. */
  .project-toolbar{grid-template-columns:minmax(112px,1fr) minmax(116px,auto);gap:10px;margin-bottom:18px}
  .mobile-filter-toggle{min-height:44px;padding:10px 12px;touch-action:manipulation}
  .project-search{min-width:0;width:100%}
  .project-search input,.contact-field input,.contact-field textarea,.workshop-form input,.workshop-form textarea,.workshop-form select{
    min-height:44px;font-size:16px!important
  }
  .project-search input,.project-search input:focus{width:100%;max-width:180px;padding:9px 6px}

  /* Bottom sheet: explicit heading/actions, safe-area padding and enough
     vertical room for multiple filter choices without trapping the viewport. */
  .mobile-filter-sheet .project-filters{
    max-height:min(82dvh,680px);padding:14px var(--mobile-gutter) calc(16px + env(safe-area-inset-bottom));
    grid-template-columns:1fr 1fr;gap:7px 10px;overscroll-behavior:contain
  }
  .mobile-filter-sheet .project-filters:before{content:none!important;display:none!important}
  .mobile-filter-sheet-head{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:14px;padding:0 0 8px;border-bottom:1px solid var(--line);margin-bottom:3px}
  .mobile-filter-sheet-head>span{display:flex;gap:4px}
  .mobile-filter-sheet-head button,.mobile-filter-sheet .project-filters button,.mobile-filter-sheet .pf-group summary{
    min-height:44px;min-width:44px;touch-action:manipulation
  }
  .mobile-filter-sheet .pf-group{min-width:0}
  .mobile-filter-sheet .pf-popover{max-height:34dvh;overflow:auto;-webkit-overflow-scrolling:touch}

  /* INDEX — a readable editorial row with a compact thumbnail, project name,
     year and location. Metadata is secondary and never replaces the title. */
  .mobile-project-previews-on .project-grid[data-view="index"] .project-tile{
    grid-template-columns:var(--mobile-project-preview-size,84px) minmax(0,1fr);
    grid-template-rows:auto auto;align-content:center;column-gap:14px;row-gap:4px;
    min-height:max(96px,calc(var(--mobile-project-preview-size,84px) + 18px));padding:9px 0
  }
  .mobile-project-previews-on .project-grid[data-view="index"] .project-mobile-preview{grid-column:1;grid-row:1/3}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-index-label{grid-column:2;grid-row:1;align-self:end;font-size:10.5px;line-height:1.25}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-index-meta{
    display:flex;grid-column:2;grid-row:2;align-self:start;gap:0;min-width:0;
    color:var(--ink-soft);font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.035em
  }
  .project-index-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .project-index-meta span+span:before{content:' · ';padding:0 3px;color:var(--line)}
  .mobile-project-previews-off .project-grid[data-view="index"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}
  .mobile-project-previews-off .project-grid[data-view="index"] .project-tile{min-width:0;min-height:72px}

  /* IMAGE — fix the legacy 107px cap. The mobile view now uses the available
     width as a real two-column image archive and preserves a stable 4:3 box. */
  .project-grid[data-view="image"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px;justify-content:stretch}
  .project-grid[data-view="image"] .project-tile{width:100%;max-width:none;min-width:0;justify-self:stretch}
  .project-grid[data-view="image"] .project-image-tile{
    width:100%;max-width:none;height:auto;aspect-ratio:4/3;justify-self:stretch
  }
  .project-grid[data-view="image"] .project-image-tile .project-thumb{width:100%;height:100%;object-fit:cover}
  .project-grid[data-view="image"] .project-generated-label{font-size:9.5px;padding:10px;overflow-wrap:anywhere}

  /* TIMELINE — the year follows beneath the sticky mobile project rail. */
  .project-timeline h2{top:calc(var(--mobile-topbar-h) + var(--mobile-project-rail-h));padding:9px 0 6px;margin:22px 0 0;background:rgba(255,255,255,.98)}
  .timeline-item{min-height:48px;padding:11px 0;align-items:center;overflow-wrap:anywhere}
  .timeline-item a,.timeline-item span{min-width:0}

  /* Project detail gallery — full-bleed image stage, overlay controls and a
     visible image count. Arrow buttons remain as non-gesture alternatives. */
  .project-detail>h1{margin:2px 0 16px;overflow-wrap:anywhere}
  .project-slider{position:relative!important;display:block!important;margin:0 0 24px;isolation:isolate}
  .ps-viewport{
    width:calc(100% + (var(--mobile-gutter) * 2))!important;max-width:none!important;
    margin-inline:calc(var(--mobile-gutter) * -1);aspect-ratio:4/3;background:#f8f7f4;touch-action:pan-y
  }
  .ps-slide{object-fit:contain;transition-duration:.24s}
  .ps-arrow{
    position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:48px;height:48px;min-width:48px;min-height:48px;
    display:grid;place-items:center;padding:0;background:rgba(255,255,255,.9);border:1px solid rgba(227,224,216,.9);
    font-size:28px;line-height:1;color:var(--ink);touch-action:manipulation
  }
  .ps-prev{left:calc(var(--mobile-gutter) * -1 + 8px)}
  .ps-next{right:calc(var(--mobile-gutter) * -1 + 8px)}
  .ps-counter{
    display:block;position:absolute;z-index:4;right:calc(var(--mobile-gutter) * -1 + 10px);bottom:10px;
    min-width:48px;padding:6px 8px;background:rgba(255,255,255,.9);font-size:10px;line-height:1;text-align:center;letter-spacing:.06em
  }
  .project-spec{grid-template-columns:1fr 1fr;gap:10px 16px;padding:14px 0;margin:14px 0 20px}
  .project-spec dt{font-size:10px}.project-spec dd{font-size:13px;overflow-wrap:anywhere}
  .project-description,.page-text,.news-body{font-size:14px;line-height:1.72;text-align:left;overflow-wrap:anywhere}
  .documentation-grid{grid-template-columns:1fr;gap:18px}
  .project-documentation{margin-top:34px}.project-documentation-item-portrait{max-width:100%}
  .related-list{grid-template-columns:1fr;gap:0}.related-list li{border-bottom:1px solid var(--line);padding:10px 0}.related-list a{display:inline-flex;min-height:28px;align-items:center}

  /* Editorial collections: one calm column on touch, with enough vertical
     rhythm and no hover-dependent affordances. */
  .journal-grid{display:block!important;width:100%;max-width:none}
  .journal-card{padding:0!important}
  .journal-card-body{grid-template-columns:1fr!important;gap:0!important}
  .journal-title{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
  .journal-title a,.journal-title .journal-title-static{min-height:48px;padding:13px 0!important;display:flex;align-items:center}
  .journal-byline{grid-column:1!important;grid-row:2!important;text-align:left!important;padding:0 0 12px!important}
  .news-hover-invert .journal-title a:hover,.news-hover-invert .journal-title a:focus-visible,.news-hover-preview .journal-title a:hover,.news-hover-preview .journal-title a:focus-visible{padding-left:0!important}

  /* Forms and utility controls deliberately use generous targets. WCAG AA is
     24px minimum, but 44–48px is a safer mobile operating size here. */
  .btn,.contact-form button,.workshop-form button{min-height:48px;min-width:48px;padding:11px 18px;touch-action:manipulation}
  .contact-info{gap:16px 24px}.contact-info p{font-size:13px}.contact-map iframe{height:min(60svh,340px)}
  .contact-social{flex-wrap:wrap;gap:6px 16px}.contact-social a{min-height:32px;display:inline-flex;align-items:center}

  .site-footer{padding-inline:max(var(--mobile-gutter),env(safe-area-inset-left));overflow-wrap:anywhere}
}

@media (max-width:520px){
  :root{--mobile-gutter:14px;--mobile-project-rail-h:52px}
  .projects-heading-row{gap:6px}
  .project-view-switch button{min-width:42px;padding-inline:6px}
  .project-toolbar{grid-template-columns:1fr minmax(112px,42vw)}
  .project-spec{grid-template-columns:1fr}
  .ps-viewport{aspect-ratio:1/1}
}

@media (max-width:360px){
  :root{--mobile-gutter:12px}
  .sidebar-logo{grid-template-columns:78px minmax(0,1fr);width:calc(100vw - 66px);gap:6px}
  .logo-mark{width:78px;flex-basis:78px}
  .logo-mark .lm-shape{width:16px;height:16px}
  .logo-mark .lm-sq1{left:21px}.logo-mark .lm-sq2{left:42px}.logo-mark .lm-tri{left:63px}
  .logo-mark.lm-open .lm-sq2{left:42px}.logo-mark.lm-open .lm-tri{left:63px}
  .logo-gate.logo-gate-closed .logo-mark{width:37px;height:37px;flex-basis:37px}
  .logo-gate.logo-gate-closed .logo-mark .lm-sq2{left:0;top:21px}
  .logo-gate.logo-gate-closed .logo-mark .lm-tri{left:21px;top:21px}
  html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark{width:78px;height:16px;flex-basis:78px}
  html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark .lm-sq2{left:42px;top:0}
  html.caat-logo-seen body.logo-gate-remember.logo-gate-closed .logo-mark .lm-tri{left:63px;top:0}
  .logo-caption{font-size:8px}.logo-sub{font-size:7px}
  .projects-heading-row{grid-template-columns:1fr;gap:4px}
  .projects-heading-row h1{position:static;width:auto;height:auto;margin:0 0 2px;overflow:visible;clip:auto;white-space:normal;font-size:13px}
  .project-view-switch{justify-content:flex-start}
  .project-toolbar{grid-template-columns:1fr;gap:8px}
  .mobile-filter-toggle,.project-search{grid-column:1;width:100%}
  .project-search{justify-content:stretch}
  .project-search input,.project-search input:focus{width:100%;max-width:none}
  .mobile-filter-sheet .project-filters{grid-template-columns:1fr}
  .project-grid[data-view="image"]{gap:12px 8px}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-tile{grid-template-columns:72px minmax(0,1fr);column-gap:10px;min-height:88px}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-mobile-preview{width:72px;height:72px}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-index-label{font-size:11px}
  .mobile-project-previews-on .project-grid[data-view="index"] .project-index-meta{font-size:9px}
}


@media (hover:none),(pointer:coarse){
  .project-grid[data-view="image"] .project-tile:hover .project-thumb,.journal-card:hover .journal-card-media img,.project-tile:hover .project-thumb{transform:none!important}
  .project-hover-preview,.journal-preview{display:none!important}
}

@media (prefers-reduced-motion:reduce){
  .ps-slide,.ps-arrow,.project-view-switch button,.mobile-filter-sheet .project-filters{transition:none!important}
}
@media(max-width:880px){html.project-filters-open,body.project-filters-open{overflow:hidden;overscroll-behavior:none}}


/* ========================================================================
   CAAT v3.1.4 — authoritative mobile navigation state
   The Logo Reveal and the mobile menu are independent state machines.
   Legacy reveal selectors may animate desktop navigation, but on mobile ONLY
   .sidebar.nav-open is allowed to expose the full-screen menu.
   ======================================================================== */
@media (max-width:880px){
  .sidebar:not(.nav-open) .sidebar-nav{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(-8px)!important;
    transition-delay:0s!important;
  }
  .sidebar:not(.nav-open) .sidebar-nav a{animation:none!important}
  .sidebar.nav-open .sidebar-nav{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
    transition-delay:0s!important;
  }
  .sidebar:not(.nav-open) .mobile-nav-backdrop{display:none!important}
  .sidebar.nav-open .mobile-nav-backdrop{display:block!important}
  .logo-gate.logo-gate-open .sidebar:not(.nav-open) .sidebar-nav,
  .logo-gate.logo-gate-open .sidebar:not(.nav-open) .sidebar-nav a{
    animation:none!important;
  }
}
