/*
Theme Name:  Schofield Investment
Theme URI:   https://www.schofieldinvestment.com
Description: A refined, corporate child theme for Schofield Investment LLC built on Twenty Twenty-Five.
Author:      Schofield Investment LLC
Version:     2.0.0
Template:    twentytwentyfive
Text Domain: schofield-investment
*/

/* ============================================
   BASE & RESET
   ============================================ */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

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

body {
	overflow-x: hidden;
}

/* ============================================
   STICKY HEADER
   ============================================ */

.si-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(11, 29, 46, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.97) !important;
	transition: box-shadow 0.3s ease;
}

.si-header:hover {
	box-shadow: 0 1px 12px rgba(11, 29, 46, 0.06);
}

/* Logo sizing */
.si-logo img,
.si-logo svg {
	width: 260px;
	height: auto;
}

.si-footer-logo img,
.si-footer-logo svg {
	width: 240px;
	height: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */

.si-nav a {
	text-decoration: none;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--accent-3);
	transition: color 0.2s ease;
	font-size: 0.92rem;
}

.si-nav a:hover {
	color: var(--wp--preset--color--contrast);
}

/* CTA Button in Nav */
.si-btn-primary {
	display: inline-block;
	background: var(--wp--preset--color--accent-1);
	color: #FFFFFF !important;
	padding: 0.6rem 1.5rem;
	border-radius: 6px;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	transition: background 0.2s ease, transform 0.2s ease;
}

.si-btn-primary:hover {
	background: var(--wp--preset--color--contrast);
	transform: translateY(-1px);
}

/* ============================================
   SECTION STYLES
   ============================================ */

.si-section {
	scroll-margin-top: 90px;
}

/* Curved top corners — Cambridge signature */
.si-curved-top {
	border-radius: 24px 24px 0 0;
	position: relative;
	margin-top: -24px;
	z-index: 1;
}

/* Dark sections */
.si-dark-section {
	background-color: var(--wp--preset--color--accent-1) !important;
	color: rgba(255, 255, 255, 0.85);
}

.si-dark-section h1,
.si-dark-section h2,
.si-dark-section h3,
.si-dark-section h4 {
	color: #FFFFFF;
}

.si-dark-section p {
	color: rgba(255, 255, 255, 0.7);
}

.si-dark-section a {
	color: rgba(255, 255, 255, 0.9);
}

.si-dark-section a:hover {
	color: #FFFFFF;
}

/* ============================================
   EYEBROW LABELS
   ============================================ */

.si-eyebrow {
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	margin-bottom: 0.5rem !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.si-hero {
	position: relative;
	overflow: hidden;
}

.si-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.si-hero .wp-block-group {
	position: relative;
	z-index: 1;
}

.si-hero h1 {
	color: #FFFFFF;
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.si-hero p {
	color: rgba(255, 255, 255, 0.7);
}

.si-hero .si-eyebrow {
	color: var(--wp--preset--color--accent-4) !important;
}

/* ============================================
   SPLIT LAYOUT (About section)
   ============================================ */

.si-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.si-split-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.si-split-visual img,
.si-split-visual svg {
	width: 100%;
	max-width: 400px;
	height: auto;
	opacity: 0.12;
}

/* ============================================
   CARDS (Investment Focus)
   ============================================ */

/* Make columns stretch cards to equal height */
.si-dark-section .wp-block-columns {
	align-items: stretch;
}

.si-dark-section .wp-block-column {
	display: flex;
	flex-direction: column;
}

.si-card {
	background: var(--wp--preset--color--accent-5);
	border-radius: 12px;
	padding: 2.5rem 2rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	flex: 1;
}

.si-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.si-card h3 {
	color: #FFFFFF;
	margin-bottom: 0.75rem;
}

.si-card p {
	color: rgba(255, 255, 255, 0.65);
}

.si-card-icon {
	width: 52px;
	height: 52px;
	margin-bottom: 1.25rem;
	color: var(--wp--preset--color--accent-4);
}

.si-card-icon img {
	width: 52px;
	height: 52px;
	filter: brightness(0) invert(0.65) sepia(0.15) saturate(0.5) hue-rotate(180deg);
}

/* ============================================
   FOOTER
   ============================================ */

.si-footer {
	background-color: var(--wp--preset--color--contrast) !important;
}

.si-footer h4 {
	color: #FFFFFF;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.si-footer p {
	color: rgba(255, 255, 255, 0.55);
}

.si-footer a {
	color: rgba(255, 255, 255, 0.65) !important;
	text-decoration: none;
	transition: color 0.2s ease;
}

.si-footer a:hover {
	color: #FFFFFF !important;
}

.si-footer-logo img,
.si-footer-logo svg {
	height: 36px;
	width: auto;
}

.si-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 3rem;
	padding-top: 2rem;
}

.si-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.si-footer-links li {
	margin-bottom: 0.5rem;
}

.si-footer-links a {
	font-size: 0.9rem;
}

/* Disclaimer */
.si-disclaimer {
	font-size: 0.78rem;
	line-height: 1.6;
	max-width: 780px;
	color: rgba(255, 255, 255, 0.4) !important;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.si-contact-email {
	font-size: 1.25rem;
	font-weight: 600;
}

.si-contact-email a {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
	border-bottom: 2px solid var(--wp--preset--color--accent-1);
	padding-bottom: 2px;
	transition: opacity 0.2s ease;
}

.si-contact-email a:hover {
	opacity: 0.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 781px) {
	.si-header .wp-block-group {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.si-nav {
		justify-content: center;
		flex-wrap: wrap;
	}

	.si-hero h1 {
		font-size: 2.25rem;
	}

	.si-split {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.si-split-visual {
		order: -1;
	}

	.si-split-visual img,
	.si-split-visual svg {
		max-width: 200px;
	}

	.si-footer .wp-block-columns {
		gap: 2rem;
	}
}

@media (max-width: 480px) {
	.si-hero h1 {
		font-size: 1.85rem;
	}

	.si-card {
		padding: 2rem 1.5rem;
	}

	.si-curved-top {
		border-radius: 16px 16px 0 0;
	}
}
