/* ==== brand-tokens.css ==== */
/* Self-hosted copy of https://ummah.city/css/brand/tokens.css (the estate kit's file), taken Dec 4 2026, so this site makes no
   cross-origin stylesheet request. Do not edit here: refresh the copy with bin/build-css-bundles.sh --refresh-tokens. */
/**
 * UMG Ecosystem Design System — Master Tokens
 * Version: 1.0.0 — Jul 7 2026
 * Owner: UMG Creative Director (Katib)
 *
 * LOCKED by ecosystem brand council Jul 7 2026.
 * Import this file once at the root of any UMG property.
 *
 * Font CDN: Bunny Fonts (fonts.bunny.net) — NEVER Google Fonts.
 * CSP note: style-src AND font-src MUST allow fonts.bunny.net.
 *
 * Kill list (rogue tokens — grep+purge on sight):
 *   #2D5016  #10B981  #C4A265  (rogue greens/gold)
 *   #F59E0B  #14B8A6 as DECORATIVE/CTA accents (added in the Aug 25 flagship
 *     pass — bare hexes sprinkled across unrelated buttons with no shared
 *     meaning). NARROWED Aug 26 (two-desk conferral under r301): #14B8A6 is
 *     SANCTIONED as the semantic --void-success token below, and only as
 *     that. Success/valid state on void, referenced by name; any other use
 *     of the bare hex is still killed.
 *   arbitrary blues not in this file
 */

/* ─────────────────────────────────────────────────────────────────────────
   FONTS — via Bunny Fonts (drop-in Google Fonts replacement)
   ───────────────────────────────────────────────────────────────────────── */

/* Final Round Lane B, item 5 (Aug 27 2026): removed. A live LCP trace on
   /eat (night, throttled Slow-4G + 4x CPU) showed the SAME Amiri/Outfit
   families being fetched TWICE — once via every consuming page's own
   explicit <link> tag (all 27 pages that load this file carry one; see
   the Aug 27 audit), and again via this @import, with a DIFFERENT weight
   subset each time so neither fetch was even redundant-and-cheap, both
   sets of files downloaded. Under throttled network this pushed the
   page's largest text block's real-font paint out to ~7s. The third
   import, noto-naskh-arabic, was dead weight independent of the LCP
   finding: Round 8 (Aug 26) repointed --font-arabic at Amiri specifically
   because "Noto Naskh Arabic... was never loaded anywhere on the estate"
   — this @import was the ONE place still loading it, contradicting that
   ruling's own premise. `merchant/index.html` was the one page relying on
   this import as its ONLY source of Amiri (var(--font-display)) — it now
   carries its own explicit Amiri <link>, matching every other page,
   before this removal. Font family DEFINITIONS below (--font-display etc.)
   are untouched; only the duplicate/dead network fetches are gone. */

/* ─────────────────────────────────────────────────────────────────────────
   MASTER PALETTE — locked, canonical
   ───────────────────────────────────────────────────────────────────────── */

:root {

  /* Green axis */
  --forest:        #0A7B3D;  /* Master action green — CTAs, links, active states. ESTATE REFRESH Nov 3 2026: was #166534. */
  --forest-deep:   #166534;  /* Hover/pressed state for forest (was #0F4A26; #166534 is the old action green) */
  --forest-ink:    #0F4A26;  /* The old pressed shade, kept for deep text on tints and old call sites */
  --emerald:       #065F46;  /* UmmahCauses — deeper giving tint, not for CTAs */

  /* Gold axis — heritage/value/scarcity; NEVER a CTA button on LIGHT surfaces.
     RULING (Tab, Jul 19 2026, resolving the conflict with the void theme's
     --action-primary): on the VOID canvas (ummah.city night) gold-bright IS
     the sanctioned action color — "gold is the city's light at night."
     Everywhere else (warm/light family) the unconditional rule stands:
     forest = primary CTA, gold never a button fill. */
  --gold:          #C8912E;  /* Master brand gold — money, pricing, launch urgency, heritage marks (FILLS/ICONS/BORDERS; as small TEXT on light it fails AA 2.62:1 — use --gold-text) */
  --gold-text:     #96631A;  /* Gold as a GLYPH color on light surfaces (4.83:1 on cream — AA) */
  --gold-bright:   #DFA032;  /* Executive + Pulse + VOID action color (night primary CTA — see night mandate below) */

  /* Dark axis */
  --void:          #060B18;  /* ummah.city dark canvas — do NOT use on consumer products */
  --ink:           #0F1F17;  /* Body text / dark neutral */
  --slate:         #1B2A4A;  /* Corporate / MuslimReach enterprise surfaces */

  /* Light axis */
  --cream:         #FAF8F3;  /* Primary surface / breathing room */
  --stone:         #EAE6DF;  /* Secondary surface / borders / dividers */

  /* Functional (frozen — never reassign to marketing) */
  --live-green:    #6DB87A;  /* Pulse LIVE flash / conversion signal — NOT a property color */
  --red:           #DC2626;  /* Admin Help-Mode / destructive actions ONLY */
  --void-success:  #14B8A6;  /* Success/valid/available on VOID surfaces ONLY — the
                                handle-is-free check, valid-token marks, checkmarks.
                                Added Aug 26 2026 (two-desk conferral, r301): void had no
                                success token — forest fails 2.76:1 on void, gold-bright is
                                the ACTION color there, live-green is frozen for Pulse.
                                8.06:1 on #040810; blue-leaning, so it stays separable from
                                --red for red-green colourblind users. NEVER a CTA fill,
                                never decoration, never on light surfaces. */

  /* ─── PRISM — per-property jewel-tone accents ─────────────────────────
     Each property gets ONE accent color. PRISM extends the master palette
     as property-level signatures (accent only; master palette provides
     surfaces, type, and structure).
     Gold (#C8912E) is RESERVED for MAN/MuslimReach + money/heritage.
     Forest (#166534) is the UmmahCity / ecosystem-level color.
  ─────────────────────────────────────────────────────────────────────── */

  --prism-ummahcity:    #0A7B3D;  /* = --forest (the city IS the ecosystem) */
  --prism-ummahpass:    #1B5FA8;  /* Deep sapphire — identity / SSO (v2 Jul 10: was #5B93D6 = 2.79:1 on cream, FAILED WCAG AA; now ~5.1:1) */
  --prism-ummahplaces:  #1A7040;  /* Deep sea-green — discovery / places (v2 Jul 10: was #2D9B5F = 3.08:1 on cream, FAILED WCAG AA; now ~5.3:1) */
  --prism-ummahcauses:  #B5551E;  /* Sienna orange — giving / charity (deepened Jul 19: #D4662A was 3.45:1 on cream, failed AA as a text-carrying badge) */
  --prism-ummahjobs:    #0B7A6E;  /* Teal — work / opportunity (deepened Jul 19: #0D9488 was 3.53:1, same fix) */
  --prism-ummaharmy:    #C94A4A;  /* Crimson — mission / action */
  --prism-ummahbuzz:    #7B50D4;  /* Amethyst — community / content */
  --prism-man:          #C8912E;  /* = --gold (MAN/MuslimReach brand color) */
  --prism-ummahemail:   #C2458F;  /* Magenta-rose — communication / inbox */
  --prism-muslimreach:  #1B2A4A;  /* = --slate (enterprise, cool-register) */

/* ─────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────── */

  /* Font stacks */
  --font-display:  'Amiri', 'Times New Roman', serif;        /* Signature display — every property hero */
  --font-ui:       'Outfit', 'Helvetica Neue', Arial, sans-serif;  /* Universal UI + body */
  /* R8 honesty round (Aug 26 2026): was 'Noto Naskh Arabic', a face never loaded anywhere on the
     estate (no Bunny/webfont link, no local install guarantee) — every element pinned to this
     token was silently falling through to whatever Arabic-capable face each visitor's own OS
     happened to ship, a different, uncontrolled render per platform. Sacred text (bismillah,
     Qur'an, adhkar) deserves the SAME deliberate typographic treatment as everything else, so
     this now matches --font-display's family: Amiri (loaded via Bunny Fonts on every page that
     uses this token) with the sitewide metric-matched loading fallback (city-core.css) instead
     of the OS default. Do not reintroduce a second, different Arabic face here. */
  --font-arabic:   'Amiri', 'Amiri Fallback', serif; /* Extended Arabic — same face as --font-display */
  --font-mono:     'Courier New', 'Consolas', monospace;     /* Code / data */

  /* Type scale — 4px-anchored */
  --text-xs:    0.75rem;   /*  12px */
  --text-sm:    0.875rem;  /*  14px */
  --text-base:  1rem;      /*  16px */
  --text-md:    1.125rem;  /*  18px */
  --text-lg:    1.25rem;   /*  20px */
  --text-xl:    1.5rem;    /*  24px */
  --text-2xl:   1.875rem;  /*  30px */
  --text-3xl:   2.25rem;   /*  36px */
  --text-4xl:   3rem;      /*  48px */
  --text-5xl:   3.75rem;   /*  60px */
  --text-6xl:   4.5rem;    /*  72px */

  /* Line heights */
  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;
  --leading-loose:   1.8;

  /* Letter spacing */
  --tracking-tight:   -0.03em;
  --tracking-snug:    -0.015em;
  --tracking-normal:   0;
  --tracking-wide:     0.05em;
  --tracking-wider:    0.08em;
  --tracking-widest:   0.15em;

  /* Font weights */
  --weight-light:      300;
  --weight-normal:     400;
  --weight-medium:     500;
  --weight-semibold:   600;
  --weight-bold:       700;

/* ─────────────────────────────────────────────────────────────────────────
   SPACING — 4px grid, multiples only
   ───────────────────────────────────────────────────────────────────────── */

  --space-0:    0;
  --space-1:    0.25rem;  /*  4px */
  --space-2:    0.5rem;   /*  8px */
  --space-3:    0.75rem;  /* 12px */
  --space-4:    1rem;     /* 16px */
  --space-5:    1.25rem;  /* 20px */
  --space-6:    1.5rem;   /* 24px */
  --space-8:    2rem;     /* 32px */
  --space-10:   2.5rem;   /* 40px */
  --space-12:   3rem;     /* 48px */
  --space-16:   4rem;     /* 64px */
  --space-20:   5rem;     /* 80px */
  --space-24:   6rem;     /* 96px */
  --space-32:   8rem;     /* 128px */

/* ─────────────────────────────────────────────────────────────────────────
   BORDER RADII
   ───────────────────────────────────────────────────────────────────────── */

  --radius-none:  0;
  --radius-sm:    4px;
  --radius-md:    8px;     /* Default: buttons, inputs */
  --radius-lg:    12px;    /* Default: cards */
  --radius-xl:    16px;    /* Large cards, panels */
  --radius-2xl:   24px;    /* Hero cards, feature panels */
  --radius-pill:  9999px;  /* Tags, badges, pills */

/* ─────────────────────────────────────────────────────────────────────────
   ELEVATION / SHADOWS
   ───────────────────────────────────────────────────────────────────────── */

  --shadow-xs:  0 1px 2px rgba(15, 31, 23, 0.06);
  --shadow-sm:  0 2px 6px rgba(15, 31, 23, 0.08), 0 1px 2px rgba(15, 31, 23, 0.05);
  --shadow-md:  0 4px 12px rgba(15, 31, 23, 0.10), 0 2px 4px rgba(15, 31, 23, 0.06);
  --shadow-lg:  0 8px 24px rgba(15, 31, 23, 0.12), 0 3px 8px rgba(15, 31, 23, 0.07);
  --shadow-xl:  0 16px 48px rgba(15, 31, 23, 0.14), 0 6px 16px rgba(15, 31, 23, 0.08);
  --shadow-gold: 0 4px 16px rgba(200, 145, 46, 0.25);  /* Gold accent glow — exec surfaces */
  /* GOLD-AS-LIGHT — the signature. Physical light: tight hot core, soft
     falloff, faint bloom. VOID surfaces only, TWO triggers only (District
     gate-crossing flare + /join handle-claim success). Never on hover,
     never at rest ambient, never on cream, never on buttons. */
  --gold-glow-core:  0 0 2px  rgba(223, 160, 50, 0.9);
  --gold-glow-mid:   0 0 12px rgba(223, 160, 50, 0.45);
  --gold-glow-bloom: 0 0 32px rgba(223, 160, 50, 0.18);
  --gold-glow: var(--gold-glow-core), var(--gold-glow-mid), var(--gold-glow-bloom);

/* ─────────────────────────────────────────────────────────────────────────
   TRANSITION + MOTION
   ───────────────────────────────────────────────────────────────────────── */

  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --ease-in:   cubic-bezier(0.4, 0.0, 1.0, 1.0);
  --ease:      cubic-bezier(0.4, 0.0, 0.2, 1.0);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1.0);

  --duration-fast:   120ms;
  --duration-base:   200ms;
  --duration-slow:   300ms;
  --duration-slower: 500ms;

/* ─────────────────────────────────────────────────────────────────────────
   Z-INDEX SCALE
   ───────────────────────────────────────────────────────────────────────── */

  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
  --z-help-mode: 99999;  /* Admin Help-Mode banner — always on top */

/* ─────────────────────────────────────────────────────────────────────────
   BREAKPOINTS (reference only — use in media queries by value)
   ───────────────────────────────────────────────────────────────────────── */

  /* sm: 640px | md: 768px | lg: 1024px | xl: 1280px | 2xl: 1536px */

}

/* ─────────────────────────────────────────────────────────────────────────
   FIREWALLED THEME A — "Ummah" (warm consumer family)
   Properties: UmmahCity, Ummah One, UmmahPlaces, UmmahCauses,
               UmmahArmy, ummah.email, UmmahChat, ummah.me
   Apply via: <html data-umg-theme="ummah"> or .theme-ummah
   ───────────────────────────────────────────────────────────────────────── */

[data-umg-theme="ummah"],
.theme-ummah {

  /* Surface hierarchy */
  --surface-base:      var(--cream);    /* Page background */
  --surface-raised:    #FFFFFF;         /* Cards on cream */
  --surface-sunken:    var(--stone);    /* Inputs, code blocks */
  --surface-overlay:   rgba(15,31,23,0.6); /* Modal backdrops */

  /* Text hierarchy */
  --text-primary:      var(--ink);      /* Body, headings */
  --text-secondary:    #4A6356;         /* Labels, captions */
  --text-muted:        #7D9E8C;         /* Placeholder, disabled */
  --text-inverse:      var(--cream);    /* Text on dark/forest backgrounds */

  /* Action */
  --action-primary:    var(--forest);
  --action-primary-hover: var(--forest-deep);
  --action-secondary:  var(--cream);
  --action-border:     var(--forest);

  /* Borders */
  --border-subtle:     var(--stone);    /* Dividers */
  --border-default:    #D1C8BF;         /* Input borders */
  --border-strong:     #B8AD9E;         /* Emphasized borders */
  --border-action:     var(--forest);   /* Focus rings, active */

  /* Geometry signature (watermark) */
  --star-watermark-opacity: 0.25;
  --star-watermark-color:   var(--forest);

}

/* ─────────────────────────────────────────────────────────────────────────
   FIREWALLED THEME B — "MuslimReach" (cool enterprise family)
   Properties: MAN, MuslimReach Exchange, MuslimReach PMP
   Apply via: <html data-umg-theme="muslimreach"> or .theme-muslimreach
   NEVER mix with the Ummah consumer palette.
   ───────────────────────────────────────────────────────────────────────── */

[data-umg-theme="muslimreach"],
.theme-muslimreach {

  /* Surface hierarchy */
  --surface-base:      #F4F6FA;         /* Cool near-white */
  --surface-raised:    #FFFFFF;
  --surface-sunken:    #E8EDF5;
  --surface-overlay:   rgba(27,42,74,0.7);

  /* Text hierarchy */
  --text-primary:      var(--slate);
  --text-secondary:    #4A5A7A;
  --text-muted:        #8A97B5;
  --text-inverse:      #F4F6FA;

  /* Action */
  --action-primary:    var(--slate);    /* Deep slate — enterprise primary */
  --action-primary-hover: #111D35;
  --action-secondary:  #F4F6FA;
  --action-border:     var(--slate);

  /* Accent — gold for value/pricing only, never CTA */
  --action-accent:     var(--gold-bright);

  /* Borders */
  --border-subtle:     #DDE3EF;
  --border-default:    #C4CDE0;
  --border-strong:     #9AAAC8;
  --border-action:     var(--slate);

  /* Geometry signature */
  --star-watermark-opacity: 0.12;
  --star-watermark-color:   var(--slate);

}

/* ─────────────────────────────────────────────────────────────────────────
   UMMAH.CITY DARK CANVAS — void surface (ummah.city + exec/Pulse surfaces)
   Apply via: [data-umg-theme="void"] — ummah.city dark-default
   NIGHT PRIMARY MANDATE (Jul 19, three independent justifications — measured
   contrast: forest-on-void 2.76:1 FAILS the 3:1 UI minimum, gold-bright-on-void
   8.62:1; Tab's carve-out ruling; the industry review found home's night CTA
   still forest = the two flagship dark surfaces disagreeing): on VOID surfaces
   the PRIMARY action is ALWAYS gold-bright; forest demotes to secondary. Apply
   everywhere, no per-page discretion.
   RULING (Tab, Jul 19 2026, after a 2-expert conferral — supersedes both the
   Jul-7 HELD note and the brief same-night dark-default confirm): ummah.city
   theme policy = SYSTEM-PREFERENCE default (prefers-color-scheme) · saved
   manual toggle always wins · no-OS-signal fallback = day · manifest/splash
   locked to void (the guaranteed brand-dark moment). The void palette stays
   ummah.city's — NEVER UmmahPass/warm-family (Theme-A light-primary).
   Provenance: decided in-session by Tab (AskUserQuestion flow); implemented
   ummah.city commit of Jul 19. Night-mode token consolidation unblocked.
   ───────────────────────────────────────────────────────────────────────── */

[data-umg-theme="void"],
.theme-void {

  --surface-base:      var(--void);     /* #060B18 */
  --surface-raised:    #0D1525;
  --surface-sunken:    #060B18;
  --surface-overlay:   rgba(0,0,0,0.7);

  --text-primary:      var(--cream);
  --text-secondary:    rgba(250,248,243,0.7);
  --text-muted:        rgba(250,248,243,0.4);
  --text-inverse:      var(--ink);

  --action-primary:    var(--gold-bright);
  --action-primary-hover: #EEB034;
  --action-secondary:  rgba(250,248,243,0.1);
  --action-border:     var(--gold-bright);

  --border-subtle:     rgba(250,248,243,0.08);
  --border-default:    rgba(250,248,243,0.15);
  --border-strong:     rgba(250,248,243,0.25);
  --border-action:     var(--gold-bright);

  --star-watermark-opacity: 0.07;
  --star-watermark-color:   var(--gold-bright);

}

/* ─────────────────────────────────────────────────────────────────────────
   VOID + DAY-MODE — BUG-445 (Ilma, Jul 31 2026 laptop test), found Aug 3 2026
   nightly sweep. /join is the ONLY page carrying [data-umg-theme="void"] AND
   a real day-mode design (Fix Round, Jul 20 2026) -- but --text-secondary
   above is defined UNCONDITIONALLY by the void block to a cream/night value
   (rgba(250,248,243,0.7)), so it never falls through to any rule's own
   #4A6356 fallback even when .day-mode is active; a CSS var() only uses its
   fallback when the variable is UNDEFINED, not when a "wrong for this mode"
   value is defined. Confirmed live: /join's own nav-pill District links
   (/eat /mosques /dua /give /email /work — plain <a> tags with no class,
   styled via body.day-mode .city-nav-pill a{color:var(--text-secondary,...)}
   in ummahcity.css) rendered at rgba(250,248,243,0.7), functionally
   identical to the nav pill's own transparent/cream day background --
   measured contrast ~1:1, the links were entirely unreadable. #4A6356 is
   already the value every one of those rules falls back to and is already
   proven correct on every OTHER (non-void) page, so redefining it here for
   this one combination carries no new risk. Scoped to --text-secondary only
   (not --text-muted/--text-primary/etc) — those aren't reproducibly broken
   on /join today, and this page's day-mode conversion already hand-tuned ~20
   page-local overrides for other tokens; touching them without a confirmed
   defect risks the "fix one layer, break a sibling" class this project's
   CLAUDE.md warns about.
   ───────────────────────────────────────────────────────────────────────── */
html[data-umg-theme="void"].day-mode,
.theme-void.day-mode {
  --text-secondary: #4A6356;
}

/* ─────────────────────────────────────────────────────────────────────────
   ESTATE VOICE — additive tokens extracted from ummahpass.io/pricing

   Industry verdict: /pricing is the estate's best surface ("this page has
   taste"). This block codifies its editorial/ledger register as an OPT-IN
   LAYER on top of a base theme — apply [data-umg-voice="estate"] alongside
   [data-umg-theme="ummah"] to inherit it. It does NOT replace base-theme
   tokens; it adds a second, more editorial vocabulary a surface can choose
   into. Component classes that consume these tokens live in the companion
   file `pricing-language.css`. Adoption checklist + do/don'ts: see README
   § "The /pricing language (estate voice)".

   Extraction only — Slice 1 does NOT re-skin any product surface. Slice 2+
   apply this voice page by page, fixing the gap-list items on /pricing
   itself first (see README) before cloning it elsewhere.

   OPEN CONFLICT — flagged for Tab, not resolved here: the Typography
   Grammar section above locks Amiri as the display face for EVERY
   property hero h1/h2 ("secondary faces layered ON TOP only, never
   instead"). /pricing uses Fraunces AS the primary hero display, not
   Amiri — that's the actual shipped, industry-praised page. This file
   codifies what shipped; --font-editorial-display only activates under
   the explicit data-umg-voice="estate" opt-in, so it does not silently
   override the Amiri rule ecosystem-wide. Reconciling the two rules
   (amend the Amiri-always-primary rule for this voice, vs. keep Amiri
   primary and demote Fraunces to secondary-emphasis-only on re-skins)
   is a Slice-2 decision — see the gap list.
   ───────────────────────────────────────────────────────────────────────── */

[data-umg-voice="estate"] {

  /* Fonts — Fraunces (display, PRIMARY within this voice) + Instrument Sans
     (body). Loaded via Bunny Fonts in pricing-language.css — not in the
     shared tokens.css @import block, since only estate-voice surfaces
     need them (same pattern as UmmahPlaces/Exchange/MT secondary faces). */
  --font-editorial-display: 'Fraunces', Georgia, serif;
  --font-editorial-body:    'Instrument Sans', 'Inter', system-ui, sans-serif;

  /* Hairline rule system — ink-based translucent dividers for a
     newspaper/ledger register. Distinct from --border-subtle/default/
     strong (opaque hex, sized for cards/inputs) — a --rule divider reads
     thinner and warmer against --cream than an opaque --stone border does. */
  --rule:       rgba(15, 31, 23, 0.16);
  --rule-soft:  rgba(15, 31, 23, 0.085);

  /* Surface tint — a warmer, slightly deeper cream than --stone. Used for
     two-panel splits (order-form right rail) and gradient origins (the
     khatim price panel fades from this to transparent). */
  --surface-tint: #F2EEE4;

  /* Void tint — a near-void well for media/video panels embedded in an
     otherwise light page. Distinct from the void theme's own
     --surface-raised (#0D1525) — this is darker and warmer, tuned to sit
     under a video element rather than behind void-theme UI chrome. */
  --void-tint: #0D1117;

  /* Editorial corner radii — SHARP, ledger/newspaper register. A
     deliberate departure from the master --radius-md/lg soft-UI scale.
     Do not use editorial radii outside data-umg-voice="estate" surfaces;
     do not mix editorial-sharp and master-soft radii on the same page. */
  --radius-editorial-sm: 2px;      /* buttons, chips, inputs, tags, badges */
  --radius-editorial-lg: 1.25rem;  /* 20px — ledger cards, bordered panels */

  /* Ink-opacity ladder — the voice's actual secondary/muted-text system.
     /pricing itself uses at least 8 distinct rgba(ink, X) opacities plus
     a second near-black base (rgba(6,11,24,X), from --void, on the
     ledger-row value color) for what reads as ~3 real emphasis tiers.
     This ladder is a deliberate NORMALIZATION down to 3 stops on --ink —
     it does not reuse the base theme's flat --text-secondary/--text-muted
     (those are solid hex, not a translucency ladder, and would silently
     replace this voice's actual look if used as a var() fallback). See
     README gap list for the un-normalized inventory. */
  --ink-editorial-strong: rgba(15, 31, 23, 0.78);  /* lede body, prominent secondary lines */
  --ink-editorial:        rgba(15, 31, 23, 0.58);  /* captions, secondary CTA, asides */
  --ink-editorial-faint:  rgba(15, 31, 23, 0.46);  /* tertiary labels, ledger row values */

}

/* ─────────────────────────────────────────────────────────────────────────
   ACCESSIBLE CONTRAST HELPERS
   ───────────────────────────────────────────────────────────────────────── */

/* Forest on cream:  #166534 on #FAF8F3 = 6.72:1 AA (strong pass; NOT AAA — corrected Jul 19, was overclaimed 7.2) */
/* Ink on cream:     #0F1F17 on #FAF8F3 = 16.10:1 AAA (measured Jul 19; better than the old 14.8 claim) */
/* Gold on ink:      #C8912E on #0F1F17 = 4.6:1 AA  */
/* Cream on forest:  #FAF8F3 on #166534 = 6.72:1 AA (corrected Jul 19) */

/* Minimum tap target: 44x44px (iOS/Android HIG) */
/* Minimum contrast for text: 4.5:1 AA (WCAG 2.1) */
/* Minimum contrast for UI components: 3:1           */

/* ─────────────────────────────────────────────────────────────────────────
   PRINT / EXPORT OVERRIDES
   ───────────────────────────────────────────────────────────────────────── */

@media print {
  :root {
    --forest: #166534;
    --cream:  #FFFFFF;
    --ink:    #000000;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast:   0ms;
    --duration-base:   0ms;
    --duration-slow:   0ms;
    --duration-slower: 0ms;
  }
}

/* ==== brand-tokens-site.css ==== */
/* This site's own display face, set straight after the shared tokens so it wins the tie by source order
   (the same rule sits inline in layouts/app.blade.php for the directory host and standalone pages). */
:root, :host { --font-display: 'Literata', 'Literata Fallback', Georgia, 'Times New Roman', serif; }

/* ==== estate-footer.css ==== */
/* The estate footer, the "city" version (r5343, Tab Nov 30 2026; board 5, r5325). Styles _shared/views/estate-footer.blade.php.
   Copy to each app as public/css/estate-footer.css and link it with a fresh ?v= (static CSS is cached immutable for 30 days).

   Isolation: every rule sits under .ef and every custom property is named --ef-*. Nothing is written to :root, so a host
   that loads the estate kit keeps its own tokens. The file loads no fonts and makes no network request: the site name
   uses the host's --k-font-display when the host defines it (an undefined var() falls back to the inherited face), and
   every other line uses the host's own face.

   Skins (data-skin on the footer): daily (the Ummah One kit slot), serve (the UmmahCauses kit slot), army (UmmahArmy's
   live purple), jobs (UmmahJobs' live blue). Values are the board's, read from the kit and from each site's live CSS.

   Theme, in order of strength:
     1. data-theme="light" or "dark" on the footer itself.
     2. With data-theme="auto": a light or dark mark on an ancestor (data-theme, data-umg-theme, html.dark, html.day-mode).
     3. With data-theme="auto" and no mark: the visitor's system setting.
   Sizes are px, not rem, so a host's root font size cannot shrink the 12px floor. */

/* ---------- Skin values: light (l) and dark (d) per role ---------- */
.ef {
  --ef-l-ground: #F0EDE3; --ef-l-text: #0F1F17; --ef-l-muted: #4A5C52; --ef-l-rule: #DEDCD5; --ef-l-rule-2: #6F7B74; --ef-l-accent: #0A7B3D; --ef-l-focus: #0A7B3D;
  --ef-d-ground: #101C15; --ef-d-text: #F8F5EC; --ef-d-muted: #B9C6BD; --ef-d-rule: #2C3A32; --ef-d-rule-2: #7E9487; --ef-d-accent: #34D399; --ef-d-focus: #34D399;
}
.ef[data-skin="serve"] {
  --ef-l-ground: #F4F1E7; --ef-l-text: #0F1F17; --ef-l-muted: #3F4F46; --ef-l-rule: #CFC8B4; --ef-l-rule-2: #7C8A80; --ef-l-accent: #0F6E4F; --ef-l-focus: #0F6E4F;
  --ef-d-ground: #101C17; --ef-d-text: #F8F5EC; --ef-d-muted: #B9C6BD; --ef-d-rule: #2A3A32; --ef-d-rule-2: #7E9487; --ef-d-accent: #4FD1A5; --ef-d-focus: #4FD1A5;
}
.ef[data-skin="army"] {
  --ef-l-ground: #F0F1F9; --ef-l-text: #1B1E2B; --ef-l-muted: #54586A; --ef-l-rule: #DCDEEC; --ef-l-rule-2: #6B6F80; --ef-l-accent: #8B2FC9; --ef-l-focus: #1B1E2B;
  --ef-d-ground: #171A26; --ef-d-text: #F8FAFC; --ef-d-muted: #A8B6C8; --ef-d-rule: #2A2E3F; --ef-d-rule-2: #7A87A3; --ef-d-accent: #C9A3F0; --ef-d-focus: #F2F3F8;
}
.ef[data-skin="jobs"] {
  --ef-l-ground: #F0F2F5; --ef-l-text: #111827; --ef-l-muted: #3F4857; --ef-l-rule: #D3D8E0; --ef-l-rule-2: #5D697A; --ef-l-accent: #033BB0; --ef-l-focus: #033BB0;
  --ef-d-ground: #12151B; --ef-d-text: #F2F4F8; --ef-d-muted: #AAB3C2; --ef-d-rule: #272D38; --ef-d-rule-2: #7A8698; --ef-d-accent: #8AB4FF; --ef-d-focus: #8AB4FF;
}

/* ---------- Theme switch: the roles the rules below read ---------- */
.ef {
  --ef-ground: var(--ef-l-ground); --ef-text: var(--ef-l-text); --ef-muted: var(--ef-l-muted); --ef-rule: var(--ef-l-rule);
  --ef-rule-2: var(--ef-l-rule-2); --ef-accent: var(--ef-l-accent); --ef-focus: var(--ef-l-focus);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  .ef[data-theme="auto"]:not(:where([data-theme="light"], [data-umg-theme="light"], html.light, html.day-mode) .ef) {
    --ef-ground: var(--ef-d-ground); --ef-text: var(--ef-d-text); --ef-muted: var(--ef-d-muted); --ef-rule: var(--ef-d-rule);
    --ef-rule-2: var(--ef-d-rule-2); --ef-accent: var(--ef-d-accent); --ef-focus: var(--ef-d-focus);
    color-scheme: dark;
  }
}
.ef[data-theme="dark"],
:where([data-theme="dark"], [data-umg-theme="dark"], html.dark) .ef[data-theme="auto"] {
  --ef-ground: var(--ef-d-ground); --ef-text: var(--ef-d-text); --ef-muted: var(--ef-d-muted); --ef-rule: var(--ef-d-rule);
  --ef-rule-2: var(--ef-d-rule-2); --ef-accent: var(--ef-d-accent); --ef-focus: var(--ef-d-focus);
  color-scheme: dark;
}

/* ---------- Base ---------- */
.ef {
  --ef-gut: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  display: block; margin: 0; padding: 0; clear: both;
  background: var(--ef-ground); color: var(--ef-text); border-top: 1px solid var(--ef-rule);
  font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: normal; word-spacing: 0.05em;  /* narrow host faces close their word spaces at 12 to 14px */
  text-align: start; text-transform: none; -webkit-text-size-adjust: 100%;
}
/* Some hosts pin every <footer> with !important (ummah.city's legacy band is one). The footer's own ground and ink win. */
footer.ef { background-color: var(--ef-ground) !important; color: var(--ef-text) !important; }
footer.ef::before, footer.ef::after { content: none !important; display: none !important; }
.ef, .ef *, .ef *::before, .ef *::after { box-sizing: border-box; }
.ef h2, .ef h3, .ef p, .ef ul, .ef li { margin: 0; padding: 0; border: 0; background: none; font-size: inherit; line-height: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.ef ul { list-style: none; }
.ef li::before, .ef li::marker { content: none; }
.ef .ef-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ef .ef-in { max-width: 1248px; margin: 0 auto; padding: 0 var(--ef-gut); }  /* 1216px of content: the column the host pages use at 1440 (seat EF-F) */
.ef .ef-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "site" "slot" "estate" "ask"; row-gap: 16px; padding: 24px 0 16px; }
.ef .ef-site { grid-area: site; min-width: 0; }
.ef .ef-slot { grid-area: slot; min-width: 0; }
.ef .ef-estate { grid-area: estate; min-width: 0; }
.ef .ef-ask { grid-area: ask; min-width: 0; }

/* Links: one treatment. The underline comes from the font and shows on hover; colour is never the only hover cue. */
.ef a { color: inherit; background: none; box-shadow: none; }
.ef .ef-link {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; max-width: 100%; padding: 0; margin: 0;
  color: var(--ef-text); font-weight: 400; text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: from-font; text-underline-offset: 0.22em; overflow-wrap: break-word;
}
.ef .ef-link:hover { color: var(--ef-accent); text-decoration-color: currentColor; }
.ef a:focus-visible { outline: 3px solid var(--ef-focus); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .ef .ef-link, .ef .ef-cell .ef-task { transition: text-decoration-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), color 160ms cubic-bezier(0.2, 0.8, 0.2, 1); }
}

/* Band 1: the site signs its name and its address */
.ef .ef-name { font-family: var(--k-font-display); font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: break-word; color: var(--ef-text); }
.ef .ef-line { margin-top: 4px; max-width: 32em; color: var(--ef-muted); text-wrap: pretty; }
.ef .ef-contact { margin-top: 4px; }
.ef .ef-contact .ef-link { text-decoration-color: var(--ef-rule-2); }
.ef .ef-contact .ef-link:hover { text-decoration-color: currentColor; }

/* Band 2: the site's own pages */
.ef .ef-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.ef .ef-groups.ef-one { grid-template-columns: minmax(0, 1fr); }
/* One group: its links run in two columns on a phone, so the slot is no taller than a two-group slot */
.ef .ef-groups.ef-one ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.ef .ef-groups.ef-one .ef-gt { grid-column: 1 / -1; }
.ef .ef-gt { font-weight: 600; color: var(--ef-text); overflow-wrap: break-word; }
.ef .ef-group .ef-link { color: var(--ef-muted); padding: 4px 0; }
.ef .ef-group .ef-link:hover { color: var(--ef-accent); }

/* Band 3: the estate index, the signature. A ruled index of tasks, each naming its tool. */
.ef .ef-estate-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.ef .ef-eh { font-weight: 600; color: var(--ef-text); }
.ef .ef-all { text-decoration-color: var(--ef-rule-2); margin: -11px 0; }  /* a 44px target on a 22px row, so the head lines up with the slot headings */
.ef .ef-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: 10px; }
.ef .ef-cell { min-width: 0; border-top: 1px solid var(--ef-rule); margin-top: 6px; }  /* air above each rule, so a rule belongs to the cell below it (seat EF-O) */
.ef .ef-cell > a, .ef .ef-cell > span {
  display: flex; flex-direction: column; justify-content: flex-start; min-height: 48px;
  padding: 3px 0 8px; color: var(--ef-text); text-decoration: none;
}
.ef .ef-task { font-weight: 500; overflow-wrap: break-word; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: from-font; text-underline-offset: 0.22em; }
.ef .ef-prod { font-size: 12px; line-height: 1.5; letter-spacing: normal; color: var(--ef-muted); overflow-wrap: break-word; }
.ef .ef-cell a:hover .ef-task { color: var(--ef-accent); text-decoration-color: currentColor; }
/* Your place: the site's own colour on its rule, and "You are here". Each rule sits 3px above its own text and 8px below the
   text of the row above, so the rule reads as the top of its own cell. */
.ef .ef-cell[aria-current] { border-top: 2px solid var(--ef-accent); }
.ef .ef-cell[aria-current] > span { padding-top: 2px; }
.ef .ef-cell[aria-current] .ef-prod { color: var(--ef-accent); font-weight: 600; }
.ef .ef-estate + .ef-ask { margin-top: -8px; }

/* Band 4: the door and the organisations line */
.ef .ef-ask p { color: var(--ef-muted); }
.ef .ef-ask p { line-height: 44px; }
.ef .ef-ask .ef-link { display: inline-block; min-height: 44px; line-height: 44px; vertical-align: baseline; color: var(--ef-text); font-weight: 500; text-decoration-color: var(--ef-rule-2); }
.ef .ef-ask .ef-link:hover { color: var(--ef-accent); text-decoration-color: currentColor; }
.ef .ef-door .ef-link { min-width: 0; }  /* the full stop sits inside each link, so it can never stand alone on a line */

/* Band 5: the parent line and the legal row */
.ef .ef-legal { display: flex; flex-direction: column-reverse; border-top: 1px solid var(--ef-rule); padding: 8px 0 12px; }
.ef .ef-ll { display: flex; flex-wrap: wrap; column-gap: 24px; }
.ef .ef-ll .ef-link { color: var(--ef-muted); }
.ef .ef-ll .ef-link:hover { color: var(--ef-accent); }
.ef .ef-parent { font-size: 12px; line-height: 1.5; letter-spacing: 0.01em; word-spacing: 0.08em; color: var(--ef-muted); font-variant-numeric: tabular-nums; }

/* Task mode: the legal row and the parent line only */
.ef[data-mode="task"] .ef-legal { border-top: 0; padding: 12px 0 16px; }

/* Arabic in a caller's label: the Arabic face, 16px, no tracking (kit A5) */
.ef [lang="ar"] { font-family: "Amiri", "Noto Naskh Arabic", serif; font-size: 16px; line-height: 1.8; letter-spacing: 0; }

/* Under 380px the sign-in clause takes its own line, so a font swap cannot re-wrap it */
@media (max-width: 379px) { .ef .ef-door .ef-nw { display: block; } }
/* Under 300px (200% zoom on a 360 phone): one column, so no word breaks mid-word */
@media (max-width: 299px) { .ef .ef-groups, .ef .ef-cells { grid-template-columns: minmax(0, 1fr); } }

/* 768: site band and door left, site pages right, the estate index full width, legal on one row */
@media (min-width: 768px) {
  .ef .ef-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "site slot" "ask slot" "estate estate"; column-gap: 32px; row-gap: 16px; padding: 48px 0 24px; align-items: start; }
  .ef .ef-grid.ef-noslot { grid-template-rows: auto auto; grid-template-areas: "site ask" "estate estate"; }
  /* auto tracks: each column takes its longest label, then the free space is shared, so no label wraps */
  .ef .ef-cells { grid-template-columns: repeat(3, auto); column-gap: 24px; }
  .ef .ef-estate { padding-top: 12px; }
  .ef .ef-estate + .ef-ask { margin-top: 0; }
  .ef .ef-groups.ef-one ul { display: block; }
  .ef .ef-nw { white-space: nowrap; }
  .ef .ef-legal { flex-direction: row; flex-wrap: wrap-reverse; justify-content: space-between; align-items: center; column-gap: 32px; }
}
/* 1100 and up: one 72rem column. Site 4, site pages 3, estate 5. The index is 3 by 3 on one row pitch. */
@media (min-width: 1100px) {
  /* rows: auto then 1fr, so the tall slot and index columns push their extra height below the door, never between it and the address */
  .ef .ef-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); grid-template-rows: auto 1fr; grid-template-areas: "site slot estate" "ask slot estate"; column-gap: 32px; row-gap: 12px; padding: 48px 0 32px; }
  .ef .ef-grid.ef-noslot { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "site estate" "ask estate"; }
  .ef .ef-estate { padding-top: 0; }
  .ef .ef-ask { align-self: start; }
}

@media (forced-colors: active) { .ef, .ef .ef-cell, .ef .ef-legal { border-color: CanvasText; } .ef .ef-cell[aria-current] { border-top-color: Highlight; } }
@media print { .ef { background: none; } }

/* ==== outfit-fonts.css ==== */
/* Self-hosted Outfit 400/500/600/700 (Nov 19 2026, design-pass r1). Bunny's CSS points its files at cdn.jsdelivr.net, which font-src blocks (16 console errors on half the loads). Files from fonts.bunny.net; no third party at runtime. */
@font-face{font-family:'Outfit';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/outfit/outfit-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/outfit/outfit-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/outfit/outfit-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/outfit/outfit-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/outfit/outfit-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/outfit/outfit-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/outfit/outfit-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/outfit/outfit-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ==== design-r1.css ==== */
/* design-pass r1 (Nov 19 2026): 44px hit boxes the gate can measure. A real box, not only an ::after. */
.tap44{white-space:nowrap;display:inline-flex;align-items:center;min-height:44px;min-width:44px}
.tap44.tap44{align-items:center}
/* The ad attribution link sits in a line of text: grow the hit box with padding, cancel it with margin, so nothing moves. */
.up-ad-attr a{display:inline-block;padding:16px 6px;margin:-16px -6px}
/* 390 fold (rule 32): the hero keeps four suggestion chips on a phone, so the first place card starts higher. All six stay from 640px. */
@media (max-width:639.98px){
  .up-hero-chips .ai-chip:nth-child(n+5){display:none}
  #trending-section{padding-top:1.5rem}
}
/* Breadcrumbs and a few listing-page links: real 44px boxes. */
nav[aria-label="Breadcrumb"] a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
.up-bar__more a{display:inline-flex;align-items:center;min-height:44px}
.leaflet-bar a,.leaflet-touch .leaflet-bar a{width:44px;height:44px;line-height:44px}
/* Desktop header: nav, buttons and the search field reach 44px (they measured 34 to 38). */
header[role="banner"] a,header[role="banner"] button,header[role="banner"] input{min-height:44px}

/* ==== design-r2.css ==== */
/* design-pass r2 (Nov 22 2026, FIX). One file, no build step: the built stylesheet only holds the classes it was built with. */

/* Listing breadcrumb. r1's 44px rule set display:inline-flex on every crumb link, which overrode `hidden md:inline`, so the
   metro-guide link showed at 390 and ran off the edge. Hidden stays hidden; it returns from 768. */
nav[aria-label="Breadcrumb"] a.hidden{display:none}
@media (min-width:768px){nav[aria-label="Breadcrumb"] a.md\:inline{display:inline-flex}}
/* On a phone the chain is City / Category: the Places crumb and its chevron give way (the logo above already goes home), and the
   category is never cut, so the page reads "South San Francisco, CA > Restaurants" instead of "South S > Restau". */
@media (max-width:639.98px){
  nav[aria-label="Breadcrumb"] a.up-bc-home,nav[aria-label="Breadcrumb"] .up-bc-home-sep{display:none}
}

/* Home hero from 640 to 1023: the window sits in the top corner like on a phone, out of the flow, so the headline and the search
   start where the eye lands and one real place shows inside the first screen. From 1024 it sits beside the copy as before. */
@media (min-width:640px) and (max-width:1023.98px){
  .up-hero-grid > .up-hero-figure{position:absolute;top:1.25rem;right:1.5rem;width:6.5rem;margin:0}
  .up-hero-grid h1,.up-hero-grid .up-hero-sub{padding-right:7.5rem}
  .up-hero-grid .up-hero-arch{width:100%}
}

/* design-pass r3 (Nov 23 2026, FIX). Own classes, because the built stylesheet only holds the utilities it was built with. */
/* Below 768 the breadcrumb hides the city guide link; it returns as its own full-width 44px row. */
.up-bc-guide{display:flex;align-items:center;min-height:44px;width:100%}
@media (min-width:768px){.up-bc-guide{display:none}}
/* At 1024 and up the side panel does not repeat the action bar (Directions, Call, Website) that sits in the main column. */
@media (min-width:1024px){.up-dup-lg{display:none !important}}

/* design wave 2 (Nov 24 2026, FIX). The listing stylesheets read their corners from these three variables, so the
   r4997 radii pick (4/8/pill against 6/12/16/full) changes them here, in one place. Values are today's, not the kit's. */
:root{--up-r-sm:6px;--up-r:12px;--up-r-lg:12px}
/* The listing name and section headings were fluid clamps (28.62px at 390, off the type scale). Two fixed steps now. */
@media (min-width:768px){
  html body .up-board .up-nameboard__name{font-size:2.25rem}
  html body .up-flow h2{font-size:1.5rem}
}

/* w2 round 2 (Nov 24 2026): the home rail's See all keeps its 44px tap box but takes no extra height on the title row, so the first card stays above the 724px phone fold. */
#trending-section .up-rail-seeall{margin-block:-12px}

