/*
Theme Name: Duncan Properties
Theme URI: https://example.com/duncan-properties
Author: Duncan Properties
Author URI: https://example.com
Description: A land and property marketplace for sale and rent across Kenya. A seller publishes a listing and it is on the site; buyers call or message the seller direct. The office portal at /office/ holds every listing and the power to take one off. The card, the grid, the search and the fact blocks are a direct port of the design that ships in the Next.js application, so the WordPress front end matches the reference build.
Version: 3.8.7
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duncan
Domain Path: /languages
Tags: real-estate, custom-colors, custom-menu, featured-images, translation-ready, threaded-comments, block-styles, wide-blocks

Duncan Properties is distributed under the terms of the GNU GPL v2 or later.

--------------------------------------------------------------------------------
WHERE THE STYLES ACTUALLY ARE

This file is the WordPress theme header and nothing else, which is the
convention. The stylesheet is assets/css/main.css, a compiled Tailwind build,
and it is enqueued ahead of this file in inc/enqueue.php.

Do not put CSS in this file. WordPress serves it verbatim and never compiles
it, so anything written here is handed to the browser exactly as typed — which
means @apply, @layer and nesting all reach the browser as invalid CSS and the
rules are silently dropped. It looks like it worked in the source editor and
nothing happens on the page.

The rules that belong in a stylesheet go in:
  src/theme.css     WordPress-specific structures (prose, admin bar, drawer,
                    filter fields, pagination). Hand-written, uses @apply.
  src/input.css     A port of the application's src/app/globals.css: the
                    component classes (.btn, .card, .input, .chip, .meta) and
                    the design tokens behind them.

Rebuild after editing either:

    npx tailwindcss -c tailwind.config.js -i src/input.css \
        -o assets/css/main.css --minify

--------------------------------------------------------------------------------
CHILD THEME

This is a standalone theme, not a child of a parent framework. If the client
later asks for customisation, make a child theme:

    wp-content/themes/duncan-child/
    style.css     ->  @import url("../duncan-marketplace-theme/assets/css/main.css");
    functions.php ->  <?php require get_stylesheet_directory() . '/inc/overrides.php';

Every asset in this theme resolves through get_stylesheet_directory_uri() rather
than get_template_directory_uri(), so a child theme's overrides take effect
without a rebuild of main.css.

--------------------------------------------------------------------------------
COLOUR RAMPS — DO NOT "FIX" THEM

The ink, mist, brand, wine, warn and danger ramps were derived by measuring
Jiji's production stylesheets rather than from a remembered palette, and then
re-stepped for WCAG AA. Two values are below AA on purpose:

  ink-faint   #6f8b99   3.60:1  decorative only — rules, glyphs, placeholders.
                              Never body copy.
  brand-500   #00b73f   2.68:1  decorative only — logo, focus ring, hover tints.
                              Never text on white.

Both are documented in src/input.css and tailwind.config.js. Reverting them to
the reference values to make the brand "match" would fail accessibility on a
site that tells buyers to check title deeds before paying.
*/