/*!
Theme Name: RDS Portfolio
Theme URI: https://github.com/darshitrajyaguru97/rds-portfolio
Author: Darshit Rajyaguru
Author URI: https://profiles.wordpress.org/darshitrajyaguru97/
Description: A professional, modern, lightweight portfolio theme for creators, freelancers, consultants, agencies, and WordPress professionals. Built with Gutenberg support, accessible templates, responsive layouts, and performance-focused assets.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rds-portfolio
Domain Path: /languages
Tags: portfolio, blog, custom-logo, custom-menu, custom-colors, custom-background, featured-images, threaded-comments, translation-ready, block-patterns, wide-blocks, editor-style, one-column, two-columns
*/

/*
 * Copyright (C) 2024 Darshit Rajyaguru
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see https://www.gnu.org/licenses/gpl-2.0.html
 */

:root {
	--rds-color-bg: #f8fafc;
	--rds-color-surface: #ffffff;
	--rds-color-surface-soft: #eef6f4;
	--rds-color-text: #172033;
	--rds-color-muted: #5f6c7b;
	--rds-color-heading: #101828;
	--rds-color-border: #dbe3ea;
	--rds-color-accent: #2563eb;
	--rds-color-accent-strong: #0f766e;
	--rds-color-highlight: #f59e0b;
	--rds-shadow-soft: 0 18px 50px rgba(23, 32, 51, 0.09);
	--rds-shadow-card: 0 10px 30px rgba(23, 32, 51, 0.08);
	--rds-shadow-accent: rgba(37, 99, 235, 0.22);
	--rds-radius-sm: 6px;
	--rds-radius-md: 8px;
	--rds-container: 1200px;
	--rds-gutter: clamp(1.25rem, 4vw, 3rem);
	--rds-space-1: 0.5rem;
	--rds-space-2: 1rem;
	--rds-space-3: 1.5rem;
	--rds-space-4: 2rem;
	--rds-space-5: 3rem;
	--rds-space-6: 4rem;
	--rds-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--rds-font-heading: "Montserrat", var(--rds-font-sans);
	--rds-font-body: "PT Serif", Georgia, serif;
	--rds-font-heading-weight: 700;
	--rds-font-body-weight: 400;
}

@media (prefers-color-scheme: dark) {
	.rds-color-system {
		--rds-color-bg: #101418;
		--rds-color-surface: #151b22;
		--rds-color-surface-soft: #17231f;
		--rds-color-text: #e6edf3;
		--rds-color-muted: #a8b3c2;
		--rds-color-heading: #ffffff;
		--rds-color-border: #2d3744;
		--rds-shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
		--rds-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.28);
	}
}

.rds-color-dark {
	--rds-color-bg: #101418;
	--rds-color-surface: #151b22;
	--rds-color-surface-soft: #17231f;
	--rds-color-text: #e6edf3;
	--rds-color-muted: #a8b3c2;
	--rds-color-heading: #ffffff;
	--rds-color-border: #2d3744;
	--rds-shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
	--rds-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.rds-style-cobalt {
	--rds-color-accent: #2563eb;
	--rds-color-accent-strong: #0f766e;
	--rds-color-highlight: #f59e0b;
	--rds-color-surface-soft: #eef6f4;
	--rds-shadow-accent: rgba(37, 99, 235, 0.22);
}

.rds-style-emerald {
	--rds-color-accent: #047857;
	--rds-color-accent-strong: #0f766e;
	--rds-color-highlight: #f59e0b;
	--rds-color-surface-soft: #edf8f3;
	--rds-shadow-accent: rgba(4, 120, 87, 0.22);
}

.rds-style-crimson {
	--rds-color-accent: #dc2626;
	--rds-color-accent-strong: #991b1b;
	--rds-color-highlight: #f59e0b;
	--rds-color-surface-soft: #fff1f2;
	--rds-shadow-accent: rgba(220, 38, 38, 0.2);
}

.rds-style-amber {
	--rds-color-accent: #b45309;
	--rds-color-accent-strong: #92400e;
	--rds-color-highlight: #2563eb;
	--rds-color-surface-soft: #fff7ed;
	--rds-shadow-accent: rgba(180, 83, 9, 0.2);
}

.rds-style-violet {
	--rds-color-accent: #7c3aed;
	--rds-color-accent-strong: #5b21b6;
	--rds-color-highlight: #14b8a6;
	--rds-color-surface-soft: #f5f3ff;
	--rds-shadow-accent: rgba(124, 58, 237, 0.22);
}

.rds-style-rose {
	--rds-color-accent: #db2777;
	--rds-color-accent-strong: #9d174d;
	--rds-color-highlight: #0ea5e9;
	--rds-color-surface-soft: #fdf2f8;
	--rds-shadow-accent: rgba(219, 39, 119, 0.2);
}

.rds-style-sky {
	--rds-color-accent: #0369a1;
	--rds-color-accent-strong: #075985;
	--rds-color-highlight: #f97316;
	--rds-color-surface-soft: #eff6ff;
	--rds-shadow-accent: rgba(3, 105, 161, 0.2);
}

.rds-style-slate {
	--rds-color-accent: #334155;
	--rds-color-accent-strong: #0f172a;
	--rds-color-highlight: #0d9488;
	--rds-color-surface-soft: #f1f5f9;
	--rds-shadow-accent: rgba(51, 65, 85, 0.18);
}

.rds-style-lime {
	--rds-color-accent: #4d7c0f;
	--rds-color-accent-strong: #365314;
	--rds-color-highlight: #2563eb;
	--rds-color-surface-soft: #f7fee7;
	--rds-shadow-accent: rgba(77, 124, 15, 0.2);
}

.rds-color-dark.rds-style-cobalt,
.rds-color-system.rds-style-cobalt {
	--rds-shadow-accent: rgba(96, 165, 250, 0.24);
}

.rds-color-dark.rds-style-emerald,
.rds-color-system.rds-style-emerald {
	--rds-color-accent: #34d399;
	--rds-color-accent-strong: #6ee7b7;
	--rds-color-highlight: #fbbf24;
	--rds-shadow-accent: rgba(52, 211, 153, 0.2);
}

.rds-color-dark.rds-style-crimson,
.rds-color-system.rds-style-crimson {
	--rds-color-accent: #f87171;
	--rds-color-accent-strong: #fca5a5;
	--rds-shadow-accent: rgba(248, 113, 113, 0.2);
}

.rds-color-dark.rds-style-amber,
.rds-color-system.rds-style-amber {
	--rds-color-accent: #fbbf24;
	--rds-color-accent-strong: #fde68a;
	--rds-color-highlight: #60a5fa;
	--rds-shadow-accent: rgba(251, 191, 36, 0.2);
}

.rds-color-dark.rds-style-violet,
.rds-color-system.rds-style-violet {
	--rds-color-accent: #a78bfa;
	--rds-color-accent-strong: #c4b5fd;
	--rds-shadow-accent: rgba(167, 139, 250, 0.22);
}

.rds-color-dark.rds-style-rose,
.rds-color-system.rds-style-rose {
	--rds-color-accent: #f472b6;
	--rds-color-accent-strong: #f9a8d4;
	--rds-shadow-accent: rgba(244, 114, 182, 0.2);
}

.rds-color-dark.rds-style-sky,
.rds-color-system.rds-style-sky {
	--rds-color-accent: #38bdf8;
	--rds-color-accent-strong: #7dd3fc;
	--rds-shadow-accent: rgba(56, 189, 248, 0.2);
}

.rds-color-dark.rds-style-slate,
.rds-color-system.rds-style-slate {
	--rds-color-accent: #cbd5e1;
	--rds-color-accent-strong: #ffffff;
	--rds-color-highlight: #2dd4bf;
	--rds-shadow-accent: rgba(203, 213, 225, 0.14);
}

.rds-color-dark.rds-style-lime,
.rds-color-system.rds-style-lime {
	--rds-color-accent: #a3e635;
	--rds-color-accent-strong: #d9f99d;
	--rds-color-highlight: #60a5fa;
	--rds-shadow-accent: rgba(163, 230, 53, 0.18);
}

@media (prefers-color-scheme: light) {
	.rds-color-system.rds-style-cobalt {
		--rds-shadow-accent: rgba(37, 99, 235, 0.22);
	}

	.rds-color-system.rds-style-emerald {
		--rds-color-accent: #047857;
		--rds-color-accent-strong: #0f766e;
		--rds-color-highlight: #f59e0b;
		--rds-color-surface-soft: #edf8f3;
		--rds-shadow-accent: rgba(4, 120, 87, 0.22);
	}

	.rds-color-system.rds-style-crimson {
		--rds-color-accent: #dc2626;
		--rds-color-accent-strong: #991b1b;
		--rds-color-surface-soft: #fff1f2;
		--rds-shadow-accent: rgba(220, 38, 38, 0.2);
	}

	.rds-color-system.rds-style-amber {
		--rds-color-accent: #b45309;
		--rds-color-accent-strong: #92400e;
		--rds-color-highlight: #2563eb;
		--rds-color-surface-soft: #fff7ed;
		--rds-shadow-accent: rgba(180, 83, 9, 0.2);
	}

	.rds-color-system.rds-style-violet {
		--rds-color-accent: #7c3aed;
		--rds-color-accent-strong: #5b21b6;
		--rds-color-surface-soft: #f5f3ff;
		--rds-shadow-accent: rgba(124, 58, 237, 0.22);
	}

	.rds-color-system.rds-style-rose {
		--rds-color-accent: #db2777;
		--rds-color-accent-strong: #9d174d;
		--rds-color-surface-soft: #fdf2f8;
		--rds-shadow-accent: rgba(219, 39, 119, 0.2);
	}

	.rds-color-system.rds-style-sky {
		--rds-color-accent: #0369a1;
		--rds-color-accent-strong: #075985;
		--rds-color-surface-soft: #eff6ff;
		--rds-shadow-accent: rgba(3, 105, 161, 0.2);
	}

	.rds-color-system.rds-style-slate {
		--rds-color-accent: #334155;
		--rds-color-accent-strong: #0f172a;
		--rds-color-surface-soft: #f1f5f9;
		--rds-shadow-accent: rgba(51, 65, 85, 0.18);
	}

	.rds-color-system.rds-style-lime {
		--rds-color-accent: #4d7c0f;
		--rds-color-accent-strong: #365314;
		--rds-color-surface-soft: #f7fee7;
		--rds-shadow-accent: rgba(77, 124, 15, 0.2);
	}
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--rds-color-bg);
	color: var(--rds-color-text);
	font-family: var(--rds-font-body);
	font-weight: var(--rds-font-body-weight);
	font-size: clamp(1rem, 0.98rem + 0.18vw, 1.125rem);
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

button,
input,
select,
optgroup,
textarea {
	font-family: var(--rds-font-sans);
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--rds-color-accent);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: rgb(223, 158, 82);
}

:focus-visible {
	outline: 3px solid var(--rds-color-highlight);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--rds-color-heading);
	line-height: 1.08;
	letter-spacing: 0;
}

/* Typography pairing (2026-08-05): Montserrat headings + PT Serif body, weight
   adjustable via Customizer (Typography section) instead of hardcoded. */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title,
.entry-title {
	font-family: var(--rds-font-heading);
	font-weight: var(--rds-font-heading-weight);
}

h1 {
	font-size: clamp(2.6rem, 2rem + 3vw, 5.8rem);
}

h2 {
	font-size: clamp(2rem, 1.65rem + 1.6vw, 3.5rem);
}

h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.65rem);
}

p {
	margin-top: 0;
}

button,
input,
textarea,
select {
	font: inherit;
}

input,
textarea,
select {
	width: 100%;
	border: 1px solid var(--rds-color-border);
	border-radius: var(--rds-radius-sm);
	background: var(--rds-color-surface);
	color: var(--rds-color-text);
	padding: 0.8rem 0.9rem;
}

label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--rds-color-heading);
	font-weight: 650;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	border-radius: var(--rds-radius-sm);
	background: var(--rds-color-surface);
	box-shadow: var(--rds-shadow-card);
	color: var(--rds-color-heading);
}

.site {
	min-height: 100vh;
	overflow-x: clip;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid color-mix(in srgb, var(--rds-color-border) 76%, transparent);
	background: color-mix(in srgb, var(--rds-color-bg) 94%, transparent);
	backdrop-filter: blur(14px);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
	transition: box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-header__inner,
.section__inner,
.site-footer__inner,
.site-main--single,
.site-main--page,
.comments-area,
.compact-page {
	width: min(100% - (var(--rds-gutter) * 2), var(--rds-container));
	margin-inline: auto;
}

.site-header--wide .site-header__inner {
	--rds-container: 1360px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: var(--rds-space-2);
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.custom-logo {
	max-width: 168px;
}

.site-title {
	margin: 0;
	color: var(--rds-color-heading);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.site-title a {
	color: inherit;
	text-decoration: none !important;
}

.site-description {
	display: none;
	margin: 0;
	color: var(--rds-color-muted);
	font-size: 0.85rem;
}

.main-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.main-navigation ul,
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation .menu {
	display: none;
	align-items: center;
	gap: 0.25rem;
}

.main-navigation a {
	display: block;
	border-radius: var(--rds-radius-sm);
	color: var(--rds-color-heading);
	font-size: 0.95rem;
	font-weight: 700;
	padding: 0.55rem 0.75rem;
	text-decoration: none !important;
	transition: color 160ms ease;
}

.main-navigation a:hover {
	color: rgb(223, 158, 82);
}

.menu-toggle,
.slider-button,
.filter-button {
	border: 1px solid var(--rds-color-border);
	border-radius: var(--rds-radius-sm);
	background: var(--rds-color-surface);
	color: var(--rds-color-heading);
	font-family: var(--rds-font-heading);
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.menu-toggle:hover,
.slider-button:hover,
.filter-button:hover {
	border-color: color-mix(in srgb, var(--rds-color-accent) 48%, var(--rds-color-border));
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	content: "";
}

.menu-toggle__bar::before {
	transform: translateY(-6px);
}

.menu-toggle__bar::after {
	transform: translateY(4px);
}

.main-navigation.toggled .menu {
	position: absolute;
	inset: 76px var(--rds-gutter) auto var(--rds-gutter);
	display: grid;
	gap: 0.25rem;
	border: 1px solid var(--rds-color-border);
	border-radius: var(--rds-radius-md);
	background: var(--rds-color-surface);
	box-shadow: var(--rds-shadow-soft);
	padding: 0.75rem;
}

.section {
	padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-heading {
	display: grid;
	gap: var(--rds-space-2);
	margin-bottom: var(--rds-space-4);
}

.section-kicker {
	margin-bottom: 0.75rem;
	color: var(--rds-color-accent-strong);
	font-family: var(--rds-font-heading);
	font-size: 0.82rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.section-title,
.hero-title,
.entry-title,
.page-title {
	margin: 0;
}

.section-lede,
.hero-text,
.archive-description {
	color: var(--rds-color-muted);
	font-size: clamp(1.05rem, 1rem + 0.28vw, 1.25rem);
}

.entry-summary {
	color: var(--rds-color-muted);
	font-size: 0.95rem;
}

.button,
.wp-block-button__link,
.more-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: var(--rds-radius-sm);
	font-weight: 800;
	line-height: 1.2;
	padding: 0.8rem 1rem;
	text-decoration: none !important;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.wp-block-button__link:hover,
.more-link:hover {
	transform: translateY(-1px);
}

.button-primary,
.wp-block-button__link {
	background: var(--rds-color-accent);
	box-shadow: 0 12px 24px var(--rds-shadow-accent);
	color: #ffffff;
}

.button-primary:hover,
.wp-block-button__link:hover {
	background: rgb(223, 158, 82);
	box-shadow: 0 18px 36px rgba(223, 158, 82, 0.32);
	color: #ffffff;
}

.button-secondary,
.is-style-rds-portfolio-outline .wp-block-button__link,
.more-link {
	border: 1px solid var(--rds-color-border);
	background: var(--rds-color-surface);
	color: var(--rds-color-heading);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.button-secondary:hover,
.is-style-rds-portfolio-outline .wp-block-button__link:hover,
.more-link:hover {
	border-color: rgb(223, 158, 82);
	background: rgb(253, 243, 224);
	color: rgb(223, 158, 82);
	box-shadow: 0 16px 32px rgba(223, 158, 82, 0.2);
}

.hero {
	display: grid;
	align-items: start;
	gap: clamp(2rem, 6vw, 5rem);
}

.hero__content {
	animation: rds-fade-up 650ms ease both;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	border: 1px solid var(--rds-color-border);
	border-radius: 999px;
	background: var(--rds-color-surface);
	box-shadow: var(--rds-shadow-card);
	color: var(--rds-color-heading);
	font-size: 0.9rem;
	font-weight: 750;
	padding: 0.45rem 0.75rem;
}

.hero-badge::before {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #22c55e;
	content: "";
}

.hero-title {
	max-width: 880px;
	margin-top: var(--rds-space-2);
}

.hero-text {
	max-width: 660px;
	margin-top: var(--rds-space-2);
}

.hero-actions,
.social-links,
.portfolio-filters,
.blog-filters,
.tech-badges,
.contact-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.social-links a {
	color: var(--rds-color-heading);
	font-weight: 800;
}

.text-link {
	color: var(--rds-color-accent);
	font-weight: 400;
	transition: color 160ms ease;
}

.text-link:hover {
	color: #f4c064;
}

.hero__visual {
	display: grid;
	gap: var(--rds-space-2);
	align-content: center;
}

.hero-orbit {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--rds-space-1);
}

.hero-orbit__item,
.tech-badge {
	border: 1px solid var(--rds-color-border);
	border-radius: 999px;
	background: var(--rds-color-surface);
	box-shadow: var(--rds-shadow-card);
	color: var(--rds-color-heading);
	font-weight: 850;
	padding: 0.8rem 1rem;
	text-align: center;
}

.hero-panel,
.about-panel,
.contact-panel,
.is-style-rds-portfolio-glass {
	border: 1px solid color-mix(in srgb, var(--rds-color-border) 80%, transparent);
	border-radius: var(--rds-radius-md);
	background: color-mix(in srgb, var(--rds-color-surface) 86%, transparent);
	box-shadow: var(--rds-shadow-soft);
}

.hero-panel {
	display: grid;
	gap: 0.4rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-panel strong {
	color: var(--rds-color-heading);
	font-size: clamp(4rem, 12vw, 8rem);
	line-height: 1;
}

.hero-panel__eyebrow {
	color: var(--rds-color-accent-strong);
	font-weight: 850;
	text-transform: uppercase;
}

.split-layout {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
}

.about-panel,
.contact-panel {
	padding: clamp(1rem, 3vw, 2rem);
}

.skill-grid,
.service-grid,
.portfolio-grid,
.post-grid,
.stats-grid {
	display: grid;
	gap: var(--rds-space-2);
}

.skill-grid {
	grid-template-columns: 1fr;
}

.skill-card,
.service-card,
.portfolio-card,
.post-card,
.stat-card,
.testimonial-card,
.contact-card {
	border: 1px solid var(--rds-color-border);
	border-radius: var(--rds-radius-md);
	background: var(--rds-color-surface);
	box-shadow: var(--rds-shadow-card);
}

.skill-card {
	padding: 1rem;
	font-weight: 800;
}

.timeline {
	display: grid;
	gap: var(--rds-space-2);
	margin: var(--rds-space-3) 0 0;
	padding: 0;
	list-style: none;
}

.timeline li {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: var(--rds-space-2);
}

.timeline__index {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--rds-color-surface-soft);
	color: var(--rds-color-accent-strong);
	font-weight: 850;
}

.filter-button,
.slider-button {
	min-height: 42px;
	padding: 0.6rem 0.85rem;
	font-weight: 750;
}

.filter-button.is-active,
.filter-button:hover {
	background: var(--rds-color-heading);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
	color: var(--rds-color-surface);
}

.portfolio-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	align-items: start;
}

.portfolio-card,
.post-card,
.service-card,
.testimonial-card,
.stat-card {
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portfolio-card:hover,
.post-card:hover,
.service-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--rds-color-accent) 48%, var(--rds-color-border));
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 0 0 1px color-mix(in srgb, var(--rds-color-accent) 12%, transparent);
}

.skill-card,
.contact-card,
.stat-card,
.hero-orbit__item,
.tech-badge,
.hero-panel--experience {
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.skill-card:hover,
.contact-card:hover,
.stat-card:hover,
.hero-orbit__item:hover,
.tech-badge:hover,
.hero-panel--experience:hover {
	border-color: color-mix(in srgb, var(--rds-color-accent) 42%, var(--rds-color-border));
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
	transform: translateY(-2px);
}

.post-thumbnail img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: var(--rds-color-surface-soft);
}

.portfolio-card__body,
.post-card__body,
.service-card,
.testimonial-card,
.stat-card {
	padding: clamp(1rem, 3vw, 1.5rem);
}

.portfolio-card__meta,
.entry-meta,
.entry-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	color: var(--rds-color-muted);
	font-size: 0.88rem;
}

.portfolio-card__title,
.entry-title {
	margin-block: 0.5rem;
	font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.65rem);
}

.single-entry__header .entry-title {
	font-size: clamp(2.25rem, 1.85rem + 2.2vw, 4rem);
}

.portfolio-card__title a,
.entry-title a {
	color: inherit;
	text-decoration: none !important;
}

.back-to-archive {
	display: inline-block;
	margin-bottom: var(--rds-space-2);
	color: var(--rds-color-muted);
	font-size: 0.9rem;
	text-decoration: none !important;
}

.back-to-archive:hover {
	color: var(--rds-color-heading);
}

.service-card__icon {
	display: inline-block;
	width: 2.75rem;
	height: 0.5rem;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--rds-color-accent), var(--rds-color-accent-strong), var(--rds-color-highlight));
}

.testimonial-slider {
	position: relative;
	min-height: 250px;
}

.testimonial-card {
	display: none;
	max-width: 820px;
	margin: 0;
}

.testimonial-card.is-active {
	display: block;
	animation: rds-fade-up 260ms ease both;
}

.testimonial-card blockquote {
	margin: 0;
	color: var(--rds-color-heading);
	font-size: clamp(1.25rem, 1.05rem + 1vw, 2rem);
	line-height: 1.35;
}

.testimonial-card__attribution {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: var(--rds-space-3);
}

.testimonial-card__headshot {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial-card__headshot--placeholder {
	display: grid;
	place-items: center;
	background: var(--rds-color-surface-soft);
	color: var(--rds-color-accent-strong);
	font-weight: 800;
	font-size: 1.1rem;
}

.testimonial-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.testimonial-card__name {
	color: var(--rds-color-heading);
	font-weight: 800;
}

.testimonial-card__title {
	color: var(--rds-color-muted);
	font-size: 0.88rem;
}

.tech-badges {
	margin-top: var(--rds-space-3);
}

.stats-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.stat-card {
	text-align: center;
}

.stat-card strong {
	display: block;
	color: var(--rds-color-heading);
	font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
	line-height: 1;
}

.contact-card {
	display: grid;
	gap: 0.25rem;
	min-width: min(100%, 240px);
	padding: 1rem;
	color: var(--rds-color-heading);
	text-decoration: none !important;
}

.contact-card span {
	color: var(--rds-color-muted);
	font-size: 0.9rem;
}

.contact-form p {
	margin-bottom: var(--rds-space-2);
}


.site-main:not(.site-main--single):not(.site-main--page) {
	padding-bottom: calc(var(--rds-space-6) / 2);
}

.archive-header,
.compact-page {
	padding-block: var(--rds-space-5) var(--rds-space-3);
}

.archive-header {
	width: min(100% - (var(--rds-gutter) * 2), var(--rds-container));
	margin-inline: auto;
}

.blog-filters {
	width: min(100% - (var(--rds-gutter) * 2), var(--rds-container));
	margin: 0 auto var(--rds-space-3);
}

a.filter-button {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
}

.post-grid {
	width: min(100% - (var(--rds-gutter) * 2), var(--rds-container));
	margin-inline: auto;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.rds-blog-list .post-grid {
	grid-template-columns: 1fr;
}

.single-entry,
.page-entry {
	padding-block: var(--rds-space-5);
}

.single-entry__header {
	max-width: 860px;
	margin-bottom: var(--rds-space-3);
}

.entry-content {
	max-width: 820px;
}

.entry-content > * {
	margin-bottom: 1.35rem;
}

.entry-content .alignwide {
	max-width: var(--rds-container);
	margin-inline: calc((820px - min(100vw - (var(--rds-gutter) * 2), var(--rds-container))) / 2);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.navigation,
.comments-area {
	margin-block: var(--rds-space-4);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rds-space-2);
	justify-content: space-between;
}

.pagination .nav-links {
	justify-content: center;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--rds-color-border);
	border-radius: var(--rds-radius-sm);
	background: var(--rds-color-surface);
	color: var(--rds-color-heading);
	font-weight: 750;
	text-decoration: none !important;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.pagination a.page-numbers:hover {
	border-color: color-mix(in srgb, var(--rds-color-accent) 48%, var(--rds-color-border));
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.pagination .page-numbers.current {
	background: var(--rds-color-heading);
	border-color: var(--rds-color-heading);
	color: var(--rds-color-surface);
}

.pagination .page-numbers.dots {
	min-width: auto;
	border: none;
	background: none;
	padding: 0.5rem 0.25rem;
}

.comment-list {
	margin: 0;
	padding-left: 1.25rem;
}

.site-footer {
	border-top: 1px solid var(--rds-color-border);
	background: var(--rds-color-bg);
	padding-block: var(--rds-space-5) var(--rds-space-3);
}

.site-footer__inner {
	display: grid;
	gap: var(--rds-space-4);
}

.site-footer__title {
	margin-bottom: 0.35rem;
	color: var(--rds-color-heading);
	font-size: 1.2rem;
	font-weight: 850;
}

.site-footer__widgets {
	display: grid;
	gap: var(--rds-space-2);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rds-space-2);
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--rds-color-border);
	padding-top: var(--rds-space-2);
}

.back-to-top {
	font-weight: 800;
}

/* Polished homepage composition. */
.hero-section {
	padding-block: clamp(2.5rem, 4.5vw, 4rem) 0.5rem;
}

.hero__content,
.section-heading > div:first-child,
.split-layout > div:first-child {
	max-width: 680px;
}

.hero-title {
	max-width: 760px;
	font-size: clamp(2.1rem, 1.6rem + 2.8vw, 4rem);
}

.hero-text {
	max-width: 540px;
	margin-bottom: var(--rds-space-3);
}

.hero-actions {
	margin-bottom: var(--rds-space-2);
}

.hero__visual {
	justify-self: center;
	max-width: 480px;
	width: 100%;
}

.section-heading {
	align-items: end;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-title {
	max-width: 820px;
}

.section-lede {
	max-width: 560px;
	margin-bottom: 0;
}

.split-layout {
	align-items: center;
}

.about-panel,
.contact-panel {
	width: 100%;
	max-width: 520px;
	justify-self: end;
}

.skill-grid,
.service-grid,
.portfolio-grid,
.post-grid,
.stats-grid {
	gap: clamp(1rem, 2.4vw, 1.5rem);
}

.service-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.portfolio-grid,
.post-grid--featured {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.portfolio-card,
.post-card,
.service-card,
.testimonial-card,
.stat-card,
.contact-card,
.about-panel,
.contact-panel {
	border-color: color-mix(in srgb, var(--rds-color-border) 82%, transparent);
}

.portfolio-card__body,
.post-card__body,
.service-card,
.testimonial-card,
.stat-card {
	padding: clamp(1.25rem, 2.6vw, 1.75rem);
}

.testimonial-slider {
	min-height: auto;
}

.testimonial-card {
	max-width: 760px;
}

.tech-section .section-title {
	max-width: 900px;
}

.stats-grid {
	align-items: stretch;
}

.stat-card {
	display: grid;
	min-height: 150px;
	place-items: center;
}

.contact-panel {
	display: grid;
	gap: var(--rds-space-2);
}

.contact-form p:last-of-type {
	margin-bottom: var(--rds-space-3);
}


.site-footer {
	margin-top: var(--rds-space-4);
}

@keyframes rds-fade-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 720px) {
	body.admin-bar .site-header {
		top: 32px;
	}

	.site-description {
		display: block;
	}

	.section-heading,
	.split-layout {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
		align-items: start;
	}

	.site-footer__widgets {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 560px) {
	.skill-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation .menu {
		display: flex;
	}

	.hero {
		grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	}

	.hero__content {
		position: relative;
		z-index: 2;
		margin-top: 16px;
	}

	.hero__visual {
		position: relative;
		z-index: 1;
		align-self: start;
		justify-self: end;
		max-width: none;
		width: clamp(340px, 46vw, 600px);
	}

	.portfolio-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.portfolio-card:nth-child(2),
	.portfolio-card:nth-child(5) {
		margin-top: var(--rds-space-3);
	}

	.site-footer__widgets {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

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

/* ==========================================================================
   WordPress Required & Recommended Classes
   Required by WordPress Theme Review Team guidelines.
   ========================================================================== */

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: var(--rds-space-3);
	margin-bottom: var(--rds-space-2);
}

.alignright {
	display: inline;
	float: right;
	margin-left: var(--rds-space-3);
	margin-bottom: var(--rds-space-2);
}

.aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
}

/* Image captions */
.wp-caption {
	margin-bottom: var(--rds-space-3);
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: var(--rds-color-muted);
	margin: 0.5em 0;
	text-align: center;
}

/* Gallery caption */
.gallery-caption {
	display: block;
	font-size: 0.8125rem;
	color: var(--rds-color-muted);
	line-height: 1.5;
	padding: 0.5em 0;
}

/* Sticky posts */
.sticky {
	display: block;
}

.sticky .entry-header::before {
	content: "";
	display: block;
	width: 3px;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: var(--rds-color-accent);
	border-radius: var(--rds-radius-sm);
}

/* Post author highlight */
.bypostauthor > .comment-body {
	border-left: 3px solid var(--rds-color-accent);
	padding-left: var(--rds-space-3);
}

/* Hero portrait + overlay cards (2026-08-02 hero rebuild). */
.hero-tech-badges {
	gap: 0.55rem;
	margin-bottom: var(--rds-space-3);
}

@media (min-width: 900px) {
	.hero-tech-badges {
		flex-wrap: nowrap;
		justify-content: space-between;
	}
}

.hero-tech-badges .tech-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.39rem 0.6rem;
	border-radius: var(--rds-radius-sm);
	font-size: 0.8rem;
	font-weight: 700;
}

.tech-badge__icon {
	width: 15px;
	height: 15px;
	object-fit: contain;
}

.button__arrow {
	margin-left: 0.5rem;
	transition: transform 160ms ease;
}

.button-primary:hover .button__arrow {
	transform: translateX(3px);
}

.hero-portrait {
	position: relative;
	width: 100%;
}

.hero-portrait__image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
}

.hero-chart {
	position: absolute;
	z-index: 0;
	left: 2%;
	bottom: 55%;
	width: 95%;
	aspect-ratio: 400 / 220;
	overflow: visible;
}

.hero-chart__area {
	fill: var(--rds-color-accent);
	opacity: 0.14;
}

.hero-chart__line {
	fill: none;
	stroke: var(--rds-color-accent);
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hero-chart__dot {
	fill: var(--rds-color-accent);
	stroke: var(--rds-color-accent);
	stroke-width: 3;
}

.hero-panel--experience {
	position: absolute;
	z-index: 2;
	right: -1.25rem;
	bottom: 1.5rem;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	max-width: 260px;
	padding: 1.1rem 1.25rem;
	min-height: 0;
	border-color: var(--rds-color-border);
}

.hero-panel--experience strong {
	font-size: 1rem;
	line-height: 1.3;
}

.hero-panel__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
}

.hero-panel__icon--gold {
	background: rgb(253, 243, 224);
	color: rgb(223, 158, 82);
}

.hero-panel__copy {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.hero-panel__body {
	color: var(--rds-color-muted);
	font-size: 0.85rem;
	line-height: 1.4;
}

@media (max-width: 640px) {
	.hero-panel--experience {
		right: -0.5rem;
		max-width: 200px;
		padding: 0.85rem 1rem;
	}
}

/* Featured Work + Stats band, directly under the hero (2026-08-02). */
.hero-band-section {
	padding-block: clamp(4.5rem, 8vw, 7.5rem) clamp(3rem, 6vw, 5rem);
}

@media (min-width: 900px) {
	.hero-band-section {
		margin-top: 0;
		--hero-band-gap: clamp(20px, calc(87px - 3.28vw), 45px);
		padding-top: var(--hero-band-gap);
	}
}

.hero-band {
	display: grid;
	gap: var(--rds-space-4);
}

.hero-band__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
}

.hero-band__intro .section-kicker {
	margin-top: 0;
}

.hero-band__intro .section-title {
	font-size: clamp(1.5rem, 1.24rem + 1.2vw, 2.625rem);
}

.hero-band__intro .section-lede {
	margin-bottom: 0.5rem;
	font-size: clamp(0.79rem, 0.75rem + 0.21vw, 0.94rem);
}

.hero-band__view-all {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.5rem;
	font-size: clamp(0.79rem, 0.75rem + 0.21vw, 0.94rem);
}

.hero-band__cards {
	display: grid;
	gap: var(--rds-space-3);
}

.hero-band-card {
	overflow: hidden;
	border: 1px solid var(--rds-color-border);
	border-radius: var(--rds-radius-md);
	background: var(--rds-color-surface);
	box-shadow: var(--rds-shadow-card);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-band-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, rgb(223, 158, 82) 48%, var(--rds-color-border));
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.hero-band-card__media {
	position: relative;
}

.hero-band-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hero-band-card__tag {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	padding: 0.3rem 0.65rem;
	border-radius: var(--rds-radius-sm);
	background: rgb(253, 243, 224);
	color: rgb(223, 158, 82);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hero-band-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
}

.hero-band-card__title {
	margin: 0;
	font-size: 1.05rem;
}

.hero-band-card__arrow {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--rds-color-border);
	border-radius: 50%;
	color: var(--rds-color-heading);
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.hero-band-card__arrow:hover {
	background: rgb(223, 158, 82);
	border-color: rgb(223, 158, 82);
	color: #ffffff;
}

.hero-band-stats {
	display: grid;
	gap: var(--rds-space-3);
	margin-top: var(--rds-space-4);
	padding: var(--rds-space-3);
	border: 1px solid var(--rds-color-border);
	border-radius: var(--rds-radius-md);
	background: var(--rds-color-surface);
	box-shadow: var(--rds-shadow-card);
}

.hero-band-stat {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

@media (min-width: 640px) and (max-width: 899px) {
	.hero-band-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero-band-stat {
		padding: 0.85rem;
		border: 1px solid var(--rds-color-border);
		border-radius: var(--rds-radius-md);
	}
}

.hero-band-stat__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 34px;
	height: 34px;
}

.hero-band-stat__icon svg {
	width: 100%;
	height: 100%;
}

.hero-band-stat__icon.hero-band-stat__icon--gold {
	color: rgb(223, 158, 82);
}

.hero-band-stat__icon.hero-band-stat__icon--blue {
	color: #2563eb;
}

.hero-band-stat__icon.hero-band-stat__icon--purple {
	color: #7c3aed;
}

.hero-band-stat__icon.hero-band-stat__icon--red {
	color: #dc2626;
}

.hero-band-stat__copy {
	display: flex;
	flex-direction: column;
}

.hero-band-stat strong {
	font-size: 1.3rem;
	line-height: 1.2;
}

.hero-band-stat span {
	color: var(--rds-color-muted);
	font-size: 0.82rem;
}

@media (min-width: 900px) {
	.hero-band {
		grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
		align-items: start;
	}

	.hero-band__cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hero-band-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		margin-top: var(--hero-band-gap);
	}

	.hero-band-stat {
		position: relative;
	}

	.hero-band-stat:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 0;
		right: calc(var(--rds-space-3) / -2 - 1px);
		width: 1px;
		height: 100%;
		background: var(--rds-color-border);
	}
}

/* Services section: full-bleed blurred photo background (2026-08-03). */
.services-section {
	position: relative;
	overflow: hidden;
}

.services-section__bg {
	position: absolute;
	inset: -20px;
	background-size: cover;
	background-position: center 35%;
	filter: blur(7px);
	transform: scale(1.05);
	z-index: 0;
}

.services-section__overlay {
	position: absolute;
	inset: 0;
	background: rgba(16, 23, 32, 0.64);
	z-index: 1;
}

.services-section .section__inner {
	position: relative;
	z-index: 2;
}

.services-section .section-kicker {
	color: rgb(244, 192, 100);
}

.services-section .section-title {
	color: #ffffff;
}

.services-section .text-link {
	color: #ffffff;
}

.services-section .text-link:hover {
	color: rgb(244, 192, 100);
}

.services-section .service-card {
	background: var(--rds-color-surface);
}

.services-section .section-heading {
	margin-bottom: 24px;
}

.services-section__view-all {
	margin-top: 24px;
}

/* The Breakthrough: click-to-play video embed (2026-08-03). */
.video-embed-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--rds-radius-md);
	background: var(--rds-color-heading);
	cursor: pointer;
}

.video-embed iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}

.video-embed__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-embed__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--rds-color-heading);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	transition: transform 160ms ease, background-color 160ms ease;
}

.video-embed__play svg {
	margin-left: 3px;
}

.video-embed:hover .video-embed__play {
	transform: translate(-50%, -50%) scale(1.06);
	background: #ffffff;
}

.video-embed__caption {
	color: var(--rds-color-muted);
	font-size: 0.9rem;
	font-style: italic;
	text-align: center;
	margin: 0;
}

/* Testimonials: photo + slider split layout (2026-08-03). */
.testimonial-photo-wrap {
	overflow: hidden;
	border-radius: var(--rds-radius-md);
	box-shadow: var(--rds-shadow-card);
}

.testimonial-photo {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.testimonials-section .testimonial-slider {
	margin-top: var(--rds-space-3);
}

.testimonials-section .slider-controls {
	display: flex;
	gap: 0.6rem;
	margin-top: var(--rds-space-3);
}

/* Featured Content: "coming soon" ghost video placeholder (2026-08-03). */
.video-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	aspect-ratio: 16 / 9;
	border: 1.5px dashed var(--rds-color-border);
	border-radius: var(--rds-radius-md);
	background: var(--rds-color-surface-soft);
}

.video-placeholder__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 1.5px dashed var(--rds-color-border);
	border-radius: 50%;
	color: var(--rds-color-muted);
}

.video-placeholder__label {
	color: var(--rds-color-muted);
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
}

/* Two-path CTA section (2026-08-03), replaces the old duplicate Stats section. */
.dual-cta-section {
	position: relative;
	overflow: hidden;
}

.dual-cta-section__bg {
	position: absolute;
	inset: -20px;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
	z-index: 0;
}

.dual-cta-section__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.dual-cta-section .section__inner {
	position: relative;
	z-index: 2;
}

.dual-cta-section .section-kicker {
	color: rgb(244, 192, 100);
}

.dual-cta-section .section-title {
	color: #ffffff;
}

.dual-cta-heading {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.dual-cta-grid {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.dual-cta-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.dual-cta-panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--rds-color-border);
	border-radius: var(--rds-radius-md);
	background: var(--rds-color-surface);
	box-shadow: var(--rds-shadow-card);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.dual-cta-panel:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.dual-cta-panel__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
}

.dual-cta-panel--hire .dual-cta-panel__icon {
	background: rgb(253, 243, 224);
	color: rgb(223, 158, 82);
}

.dual-cta-panel--freelance .dual-cta-panel__icon {
	background: color-mix(in srgb, var(--rds-color-accent) 12%, transparent);
	color: var(--rds-color-accent);
}

.dual-cta-panel__heading {
	margin: 0;
}

.dual-cta-panel__body {
	margin: 0;
	color: var(--rds-color-muted);
}

.dual-cta-panel .button {
	margin-top: auto;
	align-self: flex-start;
}

/* Jetpack Contact Form (2026-08-03) — restyle its own submit button to match .button-primary. */
.contact-form .pushbutton-wide {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	width: auto;
	border: none;
	border-radius: var(--rds-radius-sm);
	background: var(--rds-color-accent);
	box-shadow: 0 12px 24px var(--rds-shadow-accent);
	color: #ffffff;
	font-family: var(--rds-font-heading);
	font-weight: 800;
	padding: 0.8rem 1.5rem;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form .pushbutton-wide:hover {
	background: rgb(223, 158, 82);
	box-shadow: 0 18px 36px rgba(223, 158, 82, 0.32);
	transform: translateY(-1px);
}

/* Spacing/layout audit fixes (2026-08-03). */
.contact-form input.grunion-field[type="text"],
.contact-form input.grunion-field[type="email"] {
	width: 100%;
}

#the-breakthrough {
	margin-bottom: 10px;
}

@media (max-width: 719px) {
	#the-breakthrough .video-embed-wrap {
		order: 1;
	}

	/* Featured Content: on mobile, text always leads and media always
	   follows, matching Intro (text/photo) and The Breakthrough (text/video)
	   above and below it — even though desktop deliberately alternates which
	   side the media sits on for visual rhythm (2026-08-05). */
	#featured-content .video-placeholder {
		order: 1;
	}

	#featured-content .video-embed-wrap {
		order: 1;
	}
}

.contact-card:hover {
	color: var(--rds-color-heading);
}


/* Contact section: single-column, centered layout (2026-08-05) — replaces the 2-column
   split-layout for this section only. Left column (eyebrow/headline/lede/cards) was much
   shorter than the form, leaving a large empty gap; Miles's fix is to stack everything in
   one centered column instead. Scoped to .contact-section so Testimonials/Featured
   Content/The Breakthrough, which share .split-layout, are unaffected. */
.contact-section .split-layout {
	grid-template-columns: 1fr;
	justify-items: center;
	max-width: 640px;
	margin-inline: auto;
}

.contact-section .split-layout > div:first-child {
	max-width: 100%;
	text-align: center;
}

.contact-section .contact-cards {
	justify-content: center;
	width: 100%;
}

.contact-section .contact-panel {
	justify-self: center;
	width: 100%;
	max-width: 100%;
	text-align: left;
}

/* Homepage Journal → Contact gap tightened by ~1/3 (2026-08-05). Both sections
   inherit the shared .section { padding-block: clamp(4.5rem, 8vw, 7.5rem) } rule;
   scoped to .contact-section's top padding only (~1/3 of the original clamp) so
   every other section-to-section gap on the page, which reuses the same base
   rule, is unaffected. Total measured gap before: 230.4px at 1440px viewport
   (115.2px Journal bottom + 115.2px Contact top); target ~153.6px (a third off). */
.contact-section {
	padding-top: clamp(1.5rem, 2.7vw, 2.5rem);
}

/* Contact form Message field sized down to ~2x the Name/Email field height
   (2026-08-05) — was rows="20" (Jetpack's own default, ~200px measured),
   which read as excessive next to the 58px single-line fields. */
.contact-form textarea.grunion-field {
	height: 116px;
}

/* Disabled-state button (2026-08-05) — used for CTAs that don't have a real
   destination yet (e.g. Job Search 2026's "Stay tuned"). Rendered as a <span>,
   not an <a>, in the PHP template, so there's nothing to click at all — this
   is just the visual treatment. */
.button.is-disabled {
	background: var(--rds-color-bg);
	border-color: var(--rds-color-border);
	color: var(--rds-color-muted);
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.65;
}

/* Jetpack Timeline block ("My Journey" on the About page) restyled to match the
   site's card language (2026-08-05) — was a hardcoded tan (rgb(199, 195, 184)),
   a leftover Jetpack block default never touched during the RDS build, with no
   connection to the current design system. Reuses the exact same treatment as
   .hero-panel/.about-panel/.contact-panel for visual consistency. */
.wp-block-jetpack-timeline-item {
	border: 1px solid color-mix(in srgb, var(--rds-color-border) 80%, transparent);
	border-radius: var(--rds-radius-md);
	background: color-mix(in srgb, var(--rds-color-surface) 86%, transparent);
	box-shadow: var(--rds-shadow-soft);
}

/* Personal intro section ("Hi, I'm Miles.") — short "welcome inside the
   house" beat between Featured Work + Stats and the campaign content.
   Two-column split-layout (2026-08-05): text left, square headshot right,
   using the same .split-layout grid as Featured Content/Breakthrough/
   Testimonials, so padding/columns come from those shared rules — this
   section only needs its own photo treatment. Replaces the earlier
   centered/optional-blurred-background version, which was never used. */
.intro-photo-wrap {
	overflow: hidden;
	border-radius: var(--rds-radius-md);
	box-shadow: var(--rds-shadow-card);
}

.intro-photo {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* About page bio block: explicit vertical-centering guarantee (2026-08-05).
   Gutenberg's Media & Text block already defaults .wp-block-media-text__content
   to align-self: center, but making it explicit here removes any ambiguity
   about whether that default is actually winning. Scoped to the About page
   (post-193) only, in case any other Media & Text block appears elsewhere. */
body.page-id-193 .wp-block-media-text .wp-block-media-text__content {
	align-self: center;
}

/* Intro section ("Hi, I'm Miles") text/photo vertical alignment (2026-08-05).
   .split-layout (shared with Featured Content/Breakthrough/Testimonials/
   Contact) sets align-items: start at 720px+ by default, which top-aligned
   the shorter text column against the photo instead of centering it. Scoped
   override, left text-alignment untouched. */
.intro-section .split-layout {
	align-items: center;
}

/* Heading word-break fix (2026-08-05). WordPress core ships `word-break:
   break-word` on several narrow flex containers (.wp-block-media-text__content,
   .wp-block-column, etc.) as a safety net against long unbreakable strings
   (URLs, etc.). Applied to ordinary short words in a large heading — e.g.
   "Miles Shattuck" on the About page's hero — it breaks mid-word instead of
   wrapping the whole word to the next line ("Shattuck" splitting into
   "Shattu" + "ck"), confirmed live at narrow/mobile widths. Reproduced this
   first inside a Media & Text block, then again inside a Columns block after
   the page was restructured mid-session — rather than keep chasing whichever
   container type a given page happens to use, applied site-wide to all
   headings, since curated heading text essentially never contains a
   genuinely unbreakable long string the way body copy occasionally might.
   overflow-wrap stays as break-word as the true last-resort fallback;
   word-break: normal is what actually stops the mid-word split. Fixed on
   production first (milesshattuck.com), mirrored here so a future sync
   doesn't regress it. */
.wp-block-heading,
h1, h2, h3, h4, h5, h6 {
	word-break: normal;
	overflow-wrap: break-word;
}

/* Announcement Bar — thin ribbon above the header for temporary, site-wide callouts. */
.announcement-bar {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 0.75rem;
	padding: 0.55rem 1rem;
	font-size: clamp(0.8rem, 0.35vw + 0.75rem, 0.9rem);
	font-weight: 600;
	letter-spacing: 0.01em;
	text-align: center;
}

.announcement-bar--cobalt {
	background: var(--rds-color-accent);
	color: #ffffff;
	--rds-glow-color: 255, 255, 255;
}

.announcement-bar--gold {
	background: var(--rds-color-highlight);
	color: var(--rds-color-heading);
	--rds-glow-color: 255, 255, 255;
}

.announcement-bar__inner {
	grid-column: 2;
	justify-self: center;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	justify-content: center;
}

/* A narrow band of outer glow that scans left to right across the text, instead of
   the whole sentence pulsing at once — reads as a light sweeping over 2-3 letters
   at a time. The glow lives on an invisible duplicate layer stacked exactly on top
   of the real (always fully legible) text, revealed only through a small moving
   mask window — this sidesteps the white-on-white contrast problem the same way
   the whole-sentence glow did, since the glow reads against the bar's background,
   not against the text's own fill color. */
.announcement-bar__text-wrap {
	position: relative;
	display: inline-block;
}

.announcement-bar__text {
	display: inline-block;
}

.announcement-bar__text-glow {
	position: absolute;
	inset: 0;
	color: transparent;
	pointer-events: none;
	text-shadow:
		0 0 3px rgba(var(--rds-glow-color), 0.95),
		0 0 8px rgba(var(--rds-glow-color), 0.75),
		0 0 16px rgba(var(--rds-glow-color), 0.5);
	-webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 1) 50%, transparent);
	mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 1) 50%, transparent);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 40px 100%;
	mask-size: 40px 100%;
	-webkit-mask-position: -40px 0;
	mask-position: -40px 0;
	animation: rds-announcement-scan 8s linear infinite;
}

@keyframes rds-announcement-scan {
	0% {
		-webkit-mask-position: -40px 0;
		mask-position: -40px 0;
	}
	60% {
		-webkit-mask-position: calc(100% + 40px) 0;
		mask-position: calc(100% + 40px) 0;
	}
	100% {
		-webkit-mask-position: calc(100% + 40px) 0;
		mask-position: calc(100% + 40px) 0;
	}
}

.announcement-bar__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	white-space: nowrap;
}

.announcement-bar__dismiss {
	grid-column: 3;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: none;
	background: transparent;
	color: inherit;
	opacity: 0.75;
	cursor: pointer;
	transition: opacity 150ms ease;
}

.announcement-bar__dismiss:hover {
	opacity: 1;
}

.announcement-bar.is-dismissed {
	display: none;
}
