/*
Theme Name: TDN Magazine
Theme URI: https://trevordecker.com
Author: Trevor Decker News
Author URI: https://trevordecker.com
Description: The Trevor Decker News publishing theme. A type-led broadsheet newsroom built on a single cascade layer system, self-hosted variable fonts, route-scoped stylesheets, real above-the-fold critical CSS, WCAG 2.2 AA interaction targets, and a consolidated Google News / Discover structured-data pipeline. Version 4 replaces the six historical override layers of v3 with one ordered design system and carries forward the live blog, OG image compositor, post updates, social embeds, and maintenance modules intact.
Version: 4.0.4
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
License: Proprietary
License URI: https://trevordecker.com
Text Domain: tdn-magazine
Tags: news, magazine, blog, entertainment, dark-mode, accessibility-ready
*/

/* ═══════════════════════════════════════════════════════════════════
   This file intentionally contains NO rules.

   v3 shipped a 103 KB global bundle assembled from 26 source files in
   a load-bearing cascade order, held together by 1,012 !important
   declarations. Editing any one of them risked breaking three others.

   v4 replaces that with native CSS cascade layers, declared once here
   and consumed by assets/css/*.css:

       critical    the inline above-the-fold block — lowest priority
       tokens      design primitives — colours, type, space, motion
       base        reset + element defaults
       layout      page shells, grids, containers
       components  cards, rails, header, footer, article furniture
       route       page-type specifics (front page, single, archive)
       theme       dark mode and forced-colours overrides
       utilities   single-purpose escape hatches

   Layer order decides the cascade, so a component rule can never be
   outranked by a stylesheet that merely loads later. There are two
   !important declarations left in the entire theme, both in the
   utilities layer where they are the point.

   One file sits OUTSIDE this system on purpose: assets/css/guard.css.
   Unlayered rules outrank every layer, so a plugin that ships
   unlayered CSS would otherwise beat the theme no matter how specific
   the theme's selector is. guard.css is the theme's answer to that,
   and is kept to page-level essentials only.
   ═══════════════════════════════════════════════════════════════════ */

@layer critical, tokens, base, layout, components, route, theme, utilities;
