# ---------------------------------------------------------------------------
# This fork's brand. Copy this file, change the values, and the whole fork is
# rebranded — nothing else in scripts/brand/ is brand-specific.
#
# UPSTREAM_* / the left-hand side of each substitution is what the shared
# codebase (petav3) says. Never edit those: they are what the sweep looks FOR.
# ---------------------------------------------------------------------------

# --- the name --------------------------------------------------------------
UPSTREAM_NAME="PropertyLab"
UPSTREAM_NAME_SPACED="Property Lab"
UPSTREAM_NAME_UPPER="PROPERTYLAB"

BRAND_NAME="Starcity Global"
BRAND_NAME_UPPER="STARCITY GLOBAL"

# --- the palette -----------------------------------------------------------
# These ARE resources/css/app.css: the sweep rewrites the @theme block from
# them, so this file is the only place the ramp is written down. Charts, mapbox
# markers and canvas code cannot read a CSS class, so their hard-coded hex is
# rewritten from the same numbers and can never drift out of step.
RAMP_50="#fff1f2"
RAMP_100="#ffe1e3"
RAMP_200="#ffc7ca"
RAMP_300="#fba0a5"
RAMP_400="#f56a72"
RAMP_500="#ed1b24"
RAMP_600="#d6121b"
RAMP_700="#b30f17"
RAMP_800="#8f0f15"
RAMP_900="#6e1014"

# Navy = the dark surfaces (sidebar, brand panels).
NAVY_600="#3a3a3f"
NAVY_700="#2a2a2e"
NAVY_800="#1f1f23"
NAVY_900="#141417"
NAVY_950="#0a0a0b"

# --- the logo --------------------------------------------------------------
# "upstream path|this fork's file". Any NEW reference upstream adds later is
# converted by the same rule, so a new logo never has to be hunted down.
# No leading slash, so the rule also catches Blade's
# public_path('images/logo/logo.png') and asset('images/logo/logo.png').
# The wordmark maps to the TRANSPARENT file: it lands on light surfaces far
# more often than dark, and a transparent mark cannot draw a white box on a
# tinted one. Swap to starcity-red-text.png (white ground) by hand where a
# swept file turns out to be dark, or where transparency is unreliable — email
# clients that invert in dark mode, and PDF renderers.
# The two ICON entries are square marks used at favicon/avatar sizes; pointing
# them at a 3:1 wordmark would squash it, so they take the square mark.
LOGO_SUBS=(
    "images/logo/logo.png|images/logo/red-text-non-bg.png"
    "images/logo/icon-non-bg.png|images/logo/starcity-mark.png"
    "images/logo/icon.png|images/logo/starcity-mark.png"
)

# --- the vendor's own names ----------------------------------------------
# Phrases the sweep must NEVER rename, wherever they appear. "PropertyLab API"
# is the AI service every white-label client BUYS from PropertyLab; its name is
# not the client's to change (Lee Jie, 2026-09-06 — Starcity's Setting tab
# read "Starcity Global API" until this existed). Whole phrases only: the bare
# brand name is exactly what the sweep is for. A single LINE is spared instead
# by putting `brand:keep` in a trailing comment — upstream does that on the
# service / model-label constants, because "PropertyLab AI" on its own is also
# the chat persona, which a client DOES rename.
KEEP_PHRASES=(
    "PropertyLab API"
)

# --- one-offs --------------------------------------------------------------
# Plain "find|replace", applied last. For prose that describes the brand and so
# cannot be derived from anything above.
EXTRA_SUBS=(
    'Brand = royal blue (the "Lab" wordmark). Navy = the icon background /|Brand = the Starcity red, sampled from the logo (#ED1B24). Navy = near-black'
    'you@propertylab.com.my|you@starcityglobal.com.my'
)
