/*
Theme Name:   FWD Starter
Theme URI:    https://thefwdbrandco.com
Description:  Reusable GeneratePress child theme for client sites. Brand tokens live at the top of this file; swap them per site.
Author:       Mariano Alvarez
Template:     generatepress
Version:      0.4.0
Text Domain:  fwd-starter
*/

/* ------------------------------------------------------------------
   Brand tokens. Change these per site; everything below reads them.
   Current values: The Forward Brand Co. (Mariano, 2026-11-24).
   Colors and type inspired by skein.zeusstudio.dev, with Forward's
   own orange. Earlier version (Concept Orange charcoal) = 0.3.1.
   ------------------------------------------------------------------ */
:root {
	--fwd-bg:          #0b1019; /* blue-black page */
	--fwd-panel:       #121a27; /* navy panels, inputs, footer */
	--fwd-panel-2:     #1a2333; /* raised panels, hover */
	--fwd-line:        #232c39; /* borders and rules */
	--fwd-text:        #ede4d3; /* warm cream text */
	--fwd-text-2:      #b9b2a5; /* secondary text */
	--fwd-accent:      #e08a3c; /* Forward orange */
	--fwd-accent-2:    #8b7355; /* amber tan, muted accent */
	--fwd-on-accent:   #0b1019; /* text on orange buttons */
	--fwd-font-head:   'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--fwd-font-body:   'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--fwd-font-mono:   'Azeret Mono', 'SF Mono', Menlo, Consolas, monospace;
	--fwd-radius:      4px;
	--fwd-max:         1140px;
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
html, body {
	background: var(--fwd-bg);
}

body {
	color: var(--fwd-text);
	font-family: var(--fwd-font-body);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.entry-title a,
.main-title,
.main-title a,
.widget-title {
	font-family: var(--fwd-font-head);
	color: var(--fwd-text);
	line-height: 1.2;
}

h1, h2, h3, h4, h5, h6,
.entry-title {
	font-weight: 400;
	letter-spacing: -0.035em;
}

h1, .entry-title { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; }
h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; }

.main-title,
.main-title a {
	font-weight: 500;
	letter-spacing: -0.02em;
}

p, li, .entry-meta, .entry-summary, .page-header {
	color: var(--fwd-text);
}

.entry-meta,
.entry-meta a,
.wp-caption-text,
figcaption,
small {
	color: var(--fwd-text-2);
}

a { color: var(--fwd-accent); }
a:hover, a:focus { color: var(--fwd-text); }

hr { border-color: var(--fwd-line); background: var(--fwd-line); }

::selection { background: var(--fwd-accent); color: var(--fwd-on-accent); }

/* ------------------------------------------------------------------
   GeneratePress containers: drop the default white boxes
   ------------------------------------------------------------------ */
.site,
.site-content,
.inside-article,
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.one-container .site-content,
.sidebar .widget,
.separate-containers .widget,
.comments-area {
	background: transparent;
	color: var(--fwd-text);
}

/* ------------------------------------------------------------------
   Header and navigation
   ------------------------------------------------------------------ */
.site-header {
	background: var(--fwd-bg);
	border-bottom: 1px solid var(--fwd-line);
}

.main-navigation,
.main-navigation ul ul {
	background: var(--fwd-bg);
}

.main-navigation .main-nav ul li a,
.menu-toggle {
	color: var(--fwd-text);
	font-family: var(--fwd-font-body);
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li.current_page_item > a {
	color: var(--fwd-accent);
	background: transparent;
}

/* ------------------------------------------------------------------
   Buttons (core, GenerateBlocks, forms)
   ------------------------------------------------------------------ */
.wp-block-button__link,
.gb-button,
button,
.button,
input[type="submit"],
input[type="button"] {
	background: var(--fwd-accent);
	color: var(--fwd-on-accent);
	border: 0;
	border-radius: var(--fwd-radius);
	font-family: var(--fwd-font-body);
	font-weight: 600;
}

.wp-block-button__link:hover,
.gb-button:hover,
button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	background: var(--fwd-text);
	color: var(--fwd-on-accent);
}

.wp-block-button.is-style-outline a.wp-block-button__link:not(.has-background) {
	background: transparent;
	color: var(--fwd-accent);
	border: 1px solid var(--fwd-accent);
}

.wp-block-button.is-style-outline a.wp-block-button__link:not(.has-background):hover {
	background: var(--fwd-accent);
	color: var(--fwd-on-accent);
}

/* ------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
	background: var(--fwd-panel);
	color: var(--fwd-text);
	border: 1px solid var(--fwd-line);
	border-radius: var(--fwd-radius);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--fwd-accent);
	outline: none;
}

::placeholder { color: var(--fwd-text-2); }

/* ------------------------------------------------------------------
   The "console" layer: mono labels and code
   Use class "fwd-label" on a paragraph or heading for a small
   terminal-style eyebrow above a section title.
   ------------------------------------------------------------------ */
code, kbd, pre, .fwd-mono {
	font-family: var(--fwd-font-mono);
}

.fwd-label {
	font-family: var(--fwd-font-mono);
	font-size: 0.875rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fwd-accent);
	margin-bottom: 0.5rem;
}

* + .fwd-label {
	margin-top: 3rem;
}

pre {
	margin-top: 1.5rem;
	background: var(--fwd-panel);
	border: 1px solid var(--fwd-line);
	border-left: 3px solid var(--fwd-accent);
	color: var(--fwd-text);
	border-radius: var(--fwd-radius);
	font-size: 0.95rem;
}

code {
	background: var(--fwd-panel);
	color: var(--fwd-text);
	padding: 0.1em 0.35em;
	border-radius: 3px;
}

/* ------------------------------------------------------------------
   Panels and quotes
   ------------------------------------------------------------------ */
.fwd-panel {
	background: var(--fwd-panel);
	border: 1px solid var(--fwd-line);
	border-radius: var(--fwd-radius);
	padding: 1.5rem;
}

blockquote,
.wp-block-quote {
	border-left: 3px solid var(--fwd-accent);
	color: var(--fwd-text);
}

/* ------------------------------------------------------------------
   Sidebar widgets and search
   ------------------------------------------------------------------ */
.widget ul li { border-color: var(--fwd-line); }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer,
.site-info,
.footer-widgets {
	background: var(--fwd-panel);
	color: var(--fwd-text-2);
	border-top: 1px solid var(--fwd-line);
}

.site-info a,
.footer-widgets a { color: var(--fwd-text); }
.site-info a:hover,
.footer-widgets a:hover { color: var(--fwd-accent); }
