/*
Theme Name: David Lee Admissions
Theme URI: https://drdavidleeadmissions.com
Author: David Lee Admissions
Description: A boutique block theme for David Lee Admissions, an independent, principal-led college admissions advisory practice. Calm, editorial, and formal — built for authority without corporate gloss.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: david-lee-admissions
Tags: block-theme, full-site-editing, education, one-page, custom-colors, custom-menu, editor-style

This theme is a block theme. All structural styling lives in theme.json.
This stylesheet is required by WordPress and used only for small
progressive-enhancement rules that theme.json cannot express directly
(sticky header behavior, focus states, and print/reduced-motion handling).
*/

/* Sticky header — native CSS, no JavaScript */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--wp--preset--color--surface);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Logo lockup — gateway mark + wordmark, used in the header on every page */
.site-logo-lockup {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	flex-shrink: 0;
}

.site-logo-lockup .site-logo-mark {
	flex-shrink: 0;
}

.site-logo-lockup .site-logo-mark path,
.site-logo-lockup .site-logo-mark line {
	transition: stroke 0.15s ease;
}

.site-logo-lockup:hover .site-logo-mark path,
.site-logo-lockup:hover .site-logo-mark line {
	stroke: var(--wp--preset--color--primary);
}

.site-logo-lockup .site-logo-word {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.site-logo-lockup .site-logo-name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 1.3rem;
	color: var(--wp--preset--color--primary);
}

.site-logo-lockup .site-logo-tagline {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted-text);
	margin-top: 0.15rem;
}

@media (max-width: 480px) {
	.site-logo-lockup .site-logo-tagline {
		display: none;
	}
}

/* Visible keyboard focus states throughout */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

/* Native FAQ accordion (core/details) affordance */
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-block: 1.25rem;
}

.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
}

.wp-block-details summary:hover {
	color: var(--wp--preset--color--accent);
}

/* Testimonial and results cards — restrained, thin-bordered */
.card-bordered {
	border: 1px solid var(--wp--preset--color--border);
	background-color: var(--wp--preset--color--surface);
}

/* Placeholder-content flagging (see build notes) */
.content-placeholder {
	border: 1px dashed var(--wp--preset--color--accent);
	background-color: var(--wp--preset--color--accent-light);
}

/*
 * Consistent photo scaling.
 * Source photos vary in native orientation and resolution (some landscape,
 * some portrait, all high-res originals). Framing every content photo to
 * the same 3:2 window with object-fit: cover means they always display at
 * a predictable, proportional size no matter what gets uploaded later —
 * no stretching, no wildly different section heights, no oversized images
 * dictating layout.
 */
.photo-frame {
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Print styling — hide sticky header chrome and CTAs when printing */
@media print {
	.site-header {
		position: static;
	}
	.wp-block-button {
		display: none;
	}
}
