/* ── Container rail (1280px canonical) ── */
:root { --up-container: 1280px; }

    /* -- Floating Action Button v2 (glow-pulse, 72/64px, badge) -- */
    /* Badge placeholder (hidden by default, for future AI-chat count) */
/* About page responsive — mobile only, desktop not touched */
/*# sourceURL=wp-img-auto-sizes-contain-inline-css */
/*# sourceURL=/wp-includes/css/dist/block-library/common.min.css */
/*# sourceURL=global-styles-inline-css */
    
/*# sourceURL=uaeprop-interactions-inline-css */
/* Contact page: ITI phone flag selector dark-mode override */
    /* input.is-invalid highlight */

    /* Contact page responsive — mobile only */
@font-face{ font-family:Fraunces;font-style:normal;font-weight:300 700;font-display:swap;src:url('/fonts/fraunces-latin.woff2') format('woff2'); }
@font-face{ font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/ibm-plex-sans-400-latin.woff2') format('woff2'); }
@font-face{ font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/ibm-plex-sans-500-latin.woff2') format('woff2'); }
@font-face{ font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/ibm-plex-sans-700-latin.woff2') format('woff2'); }
@font-face{ font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/jetbrains-mono-500-latin.woff2') format('woff2'); }
/* ── Fonts ── */
@font-face{ 
  font-family: 'IBM Plex Sans';
  src: url('/fonts/ibm-plex-sans-500-latin.woff2') format('woff2');
  font-weight: 400 500; font-style: normal; font-display:swap;
 }
@font-face{ 
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  font-weight: 400 500; font-style: normal; font-display:swap;
 }
@font-face{ 
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display:swap;
 }

/* ── Reset / globals ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.up-dev-page { background: var(--wp--preset--color--bg-light); min-height: 100vh; }

/* ── Page header ── */
.up-dev-header {
  background: var(--wp--preset--color--bg-light);
  height: 216px;
}
.up-dev-header-inner {
  padding: 40px 80px 0 80px;
}
.up-dev-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; /* 19.08: was 12px, matched sitewide kicker canon */
  font-weight: 500;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: rgba(14,14,16,0.6);
  margin-bottom: 12px;
}
.up-dev-h1 {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 56px;
  font-weight: 300;
  color: var(--wp--preset--color--ink);
  line-height: 1.0;
  margin-bottom: 16px;
}
.up-dev-subhead {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  color: rgba(14,14,16,0.7);
  max-width: var(--up-container);
  line-height: 1.35;
}

/* ── Filter bar ── */
.up-dev-filterbar {
  background: var(--wp--preset--color--bg-light);
  height: 128px;
  border-bottom: 1px solid rgba(14,14,16,0.08);
}
.up-dev-filterbar-inner {
  padding: 40px 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.up-dev-search-wrap {
  position: relative;
  width: 560px;
}
.up-dev-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(14,14,16,0.4);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.up-dev-search {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid rgba(14,14,16,0.12);
  border-radius: 8px;
  background: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  color: var(--wp--preset--color--ink);
  outline: none;
}
.up-dev-search::placeholder { color: rgba(14,14,16,0.35); }
.up-dev-search:focus { border-color: var(--wp--preset--color--ink); }
.up-dev-stats {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: rgba(14,14,16,0.6);
  text-align: right;
  white-space: nowrap;
}

/* ── Letter groups ──
   NOTE (2026-07-09, Mikhail): .up-dev-grid-wrap had `max-width:1280px;margin:0 auto` with NO
   padding of its own (default border-box, no content-box canon since its class name doesn't
   match the sitewide `[class*="-inner"]` content-box hack in global.css). Its child
   .up-dev-letter-group then added its OWN `padding:0 80px` on top — so the card grid ended up
   inset 80px further than the crumb/H1 above it (400px from viewport edge on desktop instead of
   the canonical 320px everything else on the page uses). Fixed by giving grid-wrap the same
   content-box+padding:0 80px rail as crumb-inner/header-inner/filterbar-inner (explicit here
   since its class name doesn't match the global "-inner" hack), and stripping the now-redundant
   horizontal padding from letter-group (keeps only its 48px bottom spacing). */
.up-dev-grid-wrap {
  max-width: var(--up-container); /* 1280px rail */
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: content-box;
}
/* ── Shared inner rail: header / filterbar — 1280px max ── */
.up-dev-header-inner,
.up-dev-filterbar-inner {
  max-width: var(--up-container);
  margin: 0 auto;
}
.up-dev-letter-group {
  padding: 0 0 48px 0;
}
.up-dev-letter-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 40px 0 0 0;
  margin-bottom: 0;
}
.up-dev-letter-label {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 28px;
  font-weight: 300;
  color: var(--wp--preset--color--ink);
}
.up-dev-letter-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: rgba(14,14,16,0.45);
  letter-spacing: 0.6px;
}
.up-dev-letter-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(14,14,16,0.08);
  margin: 16px 0 16px 0;
}
/* Anchor-jump offset so a letter heading doesn't land hidden under the sticky
   site header (92px desktop / 64px mobile, see BaseLayout.astro) — widened
   further at ≤960px in the A-Z bar block below to also clear that sticky strip. */
.up-dev-letter-group { scroll-margin-top: 108px; }

/* ── A-Z jump nav — mobile/tablet only ──
   Hidden on desktop: a 5-6 col grid + search input is already fast to scan.
   Horizontal scrollable chip strip (not a vertical iOS-Contacts rail) — with
   ~20+ populated letters, a vertical rail on a 390-844 screen would force
   each tap target under the 44px WCAG minimum this canon requires; a
   horizontal strip keeps every chip a full 44×44 target at the cost of a
   scroll instead of illegible letters. */
.up-dev-azbar { display: none; }

/* ── 6-col card grid ── */
.up-dev-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  /* fluid 6-col: fills container, no right-gap / no overflow (gap-right fix 05.06) */
}

/* ── Individual card ── */
.up-dev-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 96px;
  height: auto;
  background: #FFFFFF;
  border: 1px solid rgba(14,14,16,0.06);
  border-radius: 8px;
  padding: 12px 20px 12px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s;
  overflow: hidden;
}
.up-dev-card:hover {
  box-shadow: 0 2px 8px rgba(14,14,16,0.12);
  border-color: rgba(14,14,16,0.25);
}

/* Logo slot: 160×40 */
.up-dev-logo-slot {
  width: 160px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.up-dev-logo-slot img,
.up-dev-logo-img {
  max-width: 160px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
/* Text fallback when no logo */
.up-dev-logo-text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--wp--preset--color--ink);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 160px;
}

/* Name row */
.up-dev-card-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--wp--preset--color--ink);
  line-height: 1.3;
  width: 160px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}
/* Active count label */
.up-dev-card-active {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  color: rgba(14,14,16,0.55);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── No-results state ── */
.up-dev-no-results {
  display: none;
  padding: 60px 80px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: rgba(14,14,16,0.45);
}

/* ── Responsive ── */
@media (max-width: 1340px) {
  .up-dev-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .up-dev-card { width: 100%; }
  .up-dev-logo-slot, .up-dev-card-name, .up-dev-logo-text { width: 100%; }
}
/* W4_documented: 1024px here is a desktop/tablet card-grid DENSITY breakpoint
   (5-col -> 4-col, see the 1340px tier above for 5-col) — CORRECTION (caught
   by external review 19.08): a max-width:1024px query DOES also match every
   narrower mobile viewport (390/480/768/960px included), it is not scoped to
   "961-1024 only". Two separate reasons this still isn't a real mobile-canon
   deviation, not one: (1) .up-dev-stats (the row the audit script actually
   flags) declares zero padding/margin at all — only max-width/white-space/
   text-align/line-height — so there's nothing for the canon's side-padding
   check to conflict with at ANY viewport (live-verified 19.08 at 1000px:
   plain text reflow, no rail involved). (2) .up-dev-cards' grid-template-
   columns set here is superseded ONLY at <=768px and <=540px by later, more-
   specific overrides further down this same file (768px tier: 3-col, 540px
   tier: 2-col — later source order wins, verified via grep for
   `.up-dev-cards {`). The 769-960px tier is NOT overridden — the 4-col grid
   from this 1024px block genuinely governs that range too, which is exactly
   the intended tablet-density step (not a gap or oversight; 960px is also
   where BaseLayout's own nav collapses, so 4-col-grid-with-mobile-nav is the
   real, deliberate combination in that band, not a leftover desktop rule
   bleeding into mobile by accident). Renaming 1024->960 would still be a
   real behavioral change (shifts the exact 5-col/4-col cutoff pixel), not a
   spacing fix — left as-is deliberately. */
@media (max-width: 1024px) {
  .up-dev-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .up-dev-header { height: auto; }
  .up-dev-filterbar { height: auto; flex-direction: column; gap: 16px; align-items: flex-start; }
  .up-dev-filterbar-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    height: auto;
  }
  .up-dev-search-wrap { width: 100%; }
  .up-dev-stats {
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
  }
}
/* Breakpoint matches BaseLayout's own header collapse (92px → 64px sticky
   header, see .up-site-header @media max-width:960px) — the A-Z bar's sticky
   `top` offset has to switch in lockstep with the header's real height or it
   either overlaps the header or leaves a gap above it. */
@media (max-width: 960px) {
  .up-dev-azbar {
    display: block;
    position: sticky;
    top: 64px;
    z-index: 150; /* below .up-site-header (200) / .up-mobile-menu (199) */
    background: var(--wp--preset--color--bg-light);
    border-bottom: 1px solid rgba(14,14,16,0.08);
    padding: 8px 20px;
  }
  .up-dev-azbar.is-searching { display: none; }
  .up-dev-azbar-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .up-dev-azbar-track::-webkit-scrollbar { display: none; }
  .up-dev-azbar-chip {
    flex: 0 0 auto;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(14,14,16,0.1);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--wp--preset--color--ink);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
  }
  .up-dev-azbar-chip.is-active {
    background: var(--wp--preset--color--accent);
    border-color: var(--wp--preset--color--accent);
    color: #fff;
  }
  /* Header (64px) + azbar (~60px incl. its own border/padding) + breathing room */
  .up-dev-letter-group { scroll-margin-top: 132px; }
}
/* 961-1439px tablet tier (25.08 sweep — Class B, missing-tablet-tier bug pattern per
   wiki/synthesis/2026-08-25_uaeprop_tablet_padding_bug_patterns.md): live-verified at
   1024px .up-dev-header-inner was still 80px — the 1340/1024/960px tiers above only
   adjust card-grid density/layout, none of them touch the rail's own side padding, so
   it stayed at the desktop value all the way down to 769px. 48px matches the sitewide
   tablet-padding canon. */
@media (min-width:961px) and (max-width:1439px) {
  .up-dev-header-inner, .up-dev-filterbar-inner, .up-dev-grid-wrap { padding-left: 48px; padding-right: 48px; }
  /* Added after independent code review caught this — a display:none-by-default empty
     search state (client-JS-shown), fixed 80px side padding, same rail gap as the rest. */
  .up-dev-no-results { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 768px) {
  .up-dev-header-inner, .up-dev-filterbar-inner, .up-dev-grid-wrap { padding-left: 20px; padding-right: 20px; }
  /* Compress desktop's generous vertical rhythm (40px top/bottom padding
     reads as excess empty scroll before real content on a 390-844 screen). */
  .up-dev-header-inner { padding-top: 24px; }
  .up-dev-subhead { margin-top: 4px; }
  .up-dev-filterbar-inner { padding-top: 20px; padding-bottom: 20px; }
  .up-dev-letter-heading { padding-top: 24px; }
  .up-dev-h1 { font-size: 40px; }
  .up-dev-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .up-dev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@font-face{ 
  font-family: 'IBM Plex Sans';
  src: url('/fonts/ibm-plex-sans-500-latin.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display:swap;
 }
@font-face{ 
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  font-weight: 400 500; font-style: normal; font-display:swap;
 }

/* .up-site-header* / .up-footer* removed 2026-07-09 (Mikhail) — this page carried its own
   stale copy of the sitewide header/footer chrome CSS (drifted: max-width 1280px here vs the
   canonical 1440px in BaseLayout.astro), which was silently overriding the shared header/footer
   on THIS page only, making them visibly narrower than on the rest of the site. BaseLayout.astro
   already provides the real header/footer — this page never needed its own copy. */
