/*!
Theme Name: ConsultWithVal
Theme URI: https://cwvadvisory.com/
Author: Anish Kumar
Author URI: https://cwvadvisory.com/
Description: A premium consulting theme for CWV Advisory — operational consulting for Canadian SMEs. Built on Underscores.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: consultwithval
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
ConsultWithVal is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
	/* Colors */
	--cwv-navy: #111111;
	--cwv-navy-light: #1A1A1A;
	--cwv-gold: #ffbe0a;
	--cwv-gold-hover: #D4A34A;
	--cwv-gold-dark: #A87D2E;
	--cwv-white: #FFFFFF;
	--cwv-light: #F8F8F6;
	--cwv-text-dark: #1A1A1A;
	--cwv-text-body: #333333;
	--cwv-muted: #888888;
	--cwv-border: #E2E2E0;
	--cwv-card-dark: #1A1A1A;
	--cwv-card-dark-hover: #222222;

	/* Typography */
	--font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	/* Spacing */
	--section-padding: 150px 0;
	--section-padding-sm: 60px 0;
	--container-width: 1400px;
	--container-padding: 0 24px;

	/* Transitions */
	--transition: 0.3s ease;

	/* Shadows */
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

	/* Border radius */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
}

/* ==========================================================================
   Normalize (minimal)
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cwv-white);
	color: var(--cwv-text-body);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

main {
	display: block;
}

img {
	border-style: none;
	height: auto;
	max-width: 100%;
	display: block;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

a {
	background-color: transparent;
	text-decoration: none;
	color: inherit;
	transition: color var(--transition);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.5em;
	color: var(--cwv-text-dark);
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
	margin: 0 0 1.25em;
}

blockquote {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	border-left: 4px solid var(--cwv-gold);
	background: var(--cwv-light);
	font-style: italic;
}

hr {
	background-color: var(--cwv-border);
	border: 0;
	height: 1px;
	margin: 2em 0;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: var(--container-padding);
}

.section-dark {
	background-color: var(--cwv-navy);
	color: var(--cwv-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
	color: var(--cwv-white);
}

.section-light {
	background-color: var(--cwv-white);
	color: var(--cwv-text-body);
}

.section-alt {
	background-color: var(--cwv-light);
	color: var(--cwv-text-body);
}

.section-gold {
	background-color: var(--cwv-gold);
	color: var(--cwv-navy);
}

.section-gold h1,
.section-gold h2,
.section-gold h3 {
	color: var(--cwv-navy);
}

.text-gold {
	color: var(--cwv-gold);
}

.text-muted {
	color: var(--cwv-muted);
}

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--cwv-gold);
	margin-bottom: 0.5rem;
	display: block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	padding: 14px 32px;
	border: 2px solid transparent;
	border-radius: 99px;
	text-decoration: none;
	transition: all var(--transition);
	cursor: pointer;
	letter-spacing: 0.3px;
	line-height: 1;
}

.btn-primary {
	background: linear-gradient(to right, #f9f295, #e0aa3e, #faf398, #b88a44, #f9f295);
	background-size: 200% auto;
	background-origin: border-box;
	color: var(--cwv-navy);
	border-color: transparent;
	transition: background-position 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
	background-position: right center;
	border-color: transparent;
}

.btn-ghost {
	background: transparent;
	color: var(--cwv-white);
	border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
	border-color: var(--cwv-white);
	color: var(--cwv-white);
}

.btn-dark {
	background-color: var(--cwv-navy);
	color: var(--cwv-white);
	border-color: var(--cwv-navy);
}

.btn-dark:hover {
	background-color: #081220;
}

.btn-link {
	background: none;
	border: none;
	padding: 0;
	color: var(--cwv-gold);
	font-weight: 600;
	font-size: 0.95rem;
	border-bottom: 2px solid transparent;
}

.btn-link:hover {
	color: var(--cwv-gold);
}

.btn-link.on-dark {
	color: var(--cwv-white);
}

.btn-link.on-dark:hover {
	color: var(--cwv-gold);
}