/*
Theme Name: ScanVersus Spec Desk
Template: twentytwentythree
Theme URI: https://scanversus.3d-journal.com
Author: ScanVersus Editorial
Author URI: https://scanversus.3d-journal.com
Description: Palette, typography and project hooks layered onto Twenty Twenty-Three for the ScanVersus spec-desk comparison portal. Structure, header, footer and grid stay the parent's.
Version: 1.3.0
Text Domain: lggl-scanversus
*/

/* Project mark on <body>: distinguishes ScanVersus pages from any other site built on this parent theme. */
body.lggl-scanversus {
	background-color: var( --wp--preset--color--bg );
	background-image: url( "assets/media/scanversus-texture.png" );
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-size: 480px auto;
}

/* Small caps eyebrow label used ahead of section and homepage headings. */
.lggl-kicker {
	font-family: var( --wp--preset--font-family--heading );
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var( --wp--preset--color--muted );
}

/* Active state for the persistent sidebar/top-nav links; colour-only per the 120ms motion axis. */
a.lggl-nav-active,
.lggl-nav-active > a {
	color: var( --wp--preset--color--accent );
	font-weight: 700;
	transition: color 120ms ease;
}

/* Small filled tag marking a comparison's verdict or a spec table's winning column. */
.lggl-verdict-tag {
	font-family: var( --wp--preset--font-family--heading );
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var( --wp--preset--color--on-accent );
	background-color: var( --wp--preset--color--accent );
	border-radius: 2px;
}

/* One-line takeaway text on dense list rows (home, section archives). */
.lggl-takeaway {
	font-family: var( --wp--preset--font-family--body );
	font-weight: 400;
	color: var( --wp--preset--color--muted );
}

/* As-of price/spec dates and cited sources: tabular figures keep columns aligned. */
.lggl-source-note {
	font-family: var( --wp--preset--font-family--body );
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	color: var( --wp--preset--color--muted );
	border-color: var( --wp--preset--color--border );
}

/* Parent theme's footer credit link is too small for the accent teal to clear WCAG AA; keep it muted ink instead. */
.wp-block-template-part a[href="https://wordpress.org"] {
	color: var( --wp--preset--color--muted );
}

/* Parent theme.json ships `:root :where(.wp-block-post-title){font-weight:400}`, which — thanks to the
   :root wrapper — outranks our theme.json `styles.elements.h1.typography.fontWeight:700` on specificity
   alone, leaving the page's only real H1 the same weight as body text. Beat it on specificity, not !important. */
body.lggl-scanversus .wp-block-post-title {
	font-weight: 700;
}
