/*
Theme Name: Groundcraft Theme
Theme URI: https://groundcraft.dev
Author: Spout Technologies
Author URI: https://spout.co.za
Description: The Forge-native FSE theme — the "Hello Elementor" analogue built for Groundcraft Forge. Blank and full-width canvas templates let a Forge document own the whole page, and the theme adds the forge_template assignment + render layer (header / footer / loop / single / archive) that Forge stubs but ships no UI for. Shares the 14-slug Groundcraft design-token contract (theme.json) with Groundcraft Base and the Forge builder, so brand re-tints every Forge page for free. Brand lives in styles/ variations (managed) or the child theme (bespoke).
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: groundcraft-theme
Tags: full-site-editing, block-patterns, blog, business, portfolio, one-column, wide-blocks, accessibility-ready
*/

/* ============================================================
   GROUNDCRAFT THEME — global front-end chrome
   ------------------------------------------------------------
   theme.json owns the design tokens (colours, type scale,
   spacing, element styles). Forge owns page content CSS
   (compiled per page). This stylesheet is only the thin chrome
   for the theme's own default header/footer fallbacks and the
   shell wrapper — deliberately tiny.
   ============================================================ */

.gct-shell {
	max-width: var( --wp--style--global--content-size, 1200px );
	margin-inline: auto;
	padding-inline: var( --wp--custom--content-padding, clamp( 1rem, 4vw, 2.5rem ) );
}

.gct-header {
	border-bottom: 1px solid var( --wp--preset--color--border, #e3e6dc );
	background: var( --wp--preset--color--surface, #fff );
}

.gct-header .gct-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1rem;
}

.gct-brand {
	font-family: var( --wp--preset--font-family--display, sans-serif );
	font-weight: 800;
	font-size: var( --wp--preset--font-size--xl, 1.25rem );
	color: var( --wp--preset--color--ink, #15201a );
	text-decoration: none;
	letter-spacing: -0.02em;
}

.gct-nav {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gct-nav a {
	color: var( --wp--preset--color--ink-2, #46514a );
	text-decoration: none;
	font-weight: 500;
}

.gct-nav a:hover {
	color: var( --wp--preset--color--brand-strong, #4f7a1f );
}

.gct-footer {
	border-top: 1px solid var( --wp--preset--color--border, #e3e6dc );
	background: var( --wp--preset--color--surface-2, #f1f3ec );
	color: var( --wp--preset--color--muted, #71807a );
	margin-top: var( --wp--preset--spacing--60, 5rem );
}

.gct-footer .gct-shell {
	padding-block: 2rem;
	font-size: var( --wp--preset--font-size--sm, 0.875rem );
}
