/*
Theme Name: REPDOT
Theme URI: https://repdot.com
Author: REPDOT
Description: Lightweight custom theme for repdot.com. Large photo hero, clean minimalist sections, red accent palette. No page builder required: all landing page content is edited in Appearance > Customize > Landing Page. Fonts and icons are bundled (no Google Fonts or icon font requests).
Version: 1.4.3
Requires at least: 6.4
Tested up to: 7.1
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: repdot
*/

/* ==========================================================================
   Fonts (Roboto, SIL Open Font License 1.1, self-hosted)
   ========================================================================== */
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/roboto-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/roboto-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/roboto-latin-700-normal.woff2") format("woff2");
}

/* ==========================================================================
   Tokens. Primary/accent are overridden from the Customizer (functions.php).
   ========================================================================== */
:root {
	--rd-primary: #be0909;
	--rd-accent: #c4260a;
	--rd-primary-dark: color-mix(in srgb, var(--rd-primary) 80%, #000);
	--rd-ink: #1b1b1f;
	--rd-muted: #5c5c66;
	--rd-line: #e4e1e0;
	--rd-soft: #f6f3f2;
	--rd-white: #fff;
	--rd-deep: #2a0b07;
	--rd-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--rd-container: 1200px;
	--rd-gutter: 40px;
	--rd-radius: 8px;
}

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

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
		animation: none !important;
	}
}

body {
	margin: 0;
	font-family: var(--rd-font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--rd-ink);
	background: var(--rd-white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--rd-primary);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--rd-primary-dark);
}

:focus-visible {
	outline: 3px solid var(--rd-primary);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

p {
	margin: 0 0 1.2em;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	background: var(--rd-white);
	color: var(--rd-ink);
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.container {
	width: 100%;
	max-width: calc(var(--rd-container) + var(--rd-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--rd-gutter);
}

.icon {
	flex: none;
	vertical-align: middle;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 20;
	background: var(--rd-white);
	border-bottom: 1px solid var(--rd-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 84px;
}

.site-header .social {
	margin-left: auto;
}

.site-title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: var(--rd-ink);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	color: var(--rd-ink);
	--rd-logo-dot: var(--rd-accent);
	text-decoration: none;
}

.site-logo svg {
	display: block;
	height: 54px;
	width: auto;
	overflow: visible;
}

.site-header--overlay .site-logo {
	color: var(--rd-white);
	--rd-logo-dot: #ff4a2b;
}

.custom-logo {
	display: block;
	width: auto;
	max-height: 56px;
}

.site-header--overlay {
	position: absolute;
	inset: 0 0 auto 0;
	background: transparent;
	border-bottom: 0;
}

.admin-bar .site-header--overlay {
	top: 32px;
}

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

.site-header--overlay .site-title,
.site-header--overlay .primary-nav a,
.site-header--overlay .social a {
	color: var(--rd-white);
}

.primary-nav {
	margin-left: auto;
}

.primary-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	display: block;
	padding: 8px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--rd-ink);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	border-bottom-color: currentColor;
}

.primary-nav + .social {
	margin-left: 0;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 54px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: inherit;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 24px;
	height: 2px;
	margin: auto;
	background: currentColor;
	transition: transform 0.2s ease;
	content: "";
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before {
	position: absolute;
	top: -8px;
	left: 0;
}

.nav-toggle__bars::after {
	position: absolute;
	top: 8px;
	left: 0;
}

.site-header--overlay .nav-toggle {
	color: var(--rd-white);
}

.social {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: var(--rd-ink);
	transition: opacity 0.2s ease;
}

.social a:hover {
	opacity: 0.7;
	color: inherit;
}

@media (max-width: 900px) {
	:root {
		--rd-gutter: 24px;
	}

	.nav-toggle {
		display: block;
	}

	.primary-nav {
		position: absolute;
		inset: 100% 0 auto 0;
		display: none;
		padding: 8px var(--rd-gutter) 24px;
		background: var(--rd-deep);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		flex-direction: column;
		gap: 0;
	}

	.primary-nav a {
		padding: 14px 0;
		color: var(--rd-white);
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.site-header:not(.site-header--overlay) .primary-nav {
		background: var(--rd-white);
	}

	.site-header:not(.site-header--overlay) .primary-nav a {
		color: var(--rd-ink);
		border-bottom-color: var(--rd-line);
	}
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */
.button {
	display: inline-block;
	padding: 24px 28px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: var(--rd-white);
	background: var(--rd-primary);
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
	color: var(--rd-white);
	background: var(--rd-primary-dark);
	transform: translateY(-1px);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 500;
	color: var(--rd-white);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.link-arrow:hover {
	color: var(--rd-white);
	opacity: 0.8;
}

.link-arrow .icon {
	transition: transform 0.2s ease;
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

.link-arrow--dark,
.link-arrow--dark:hover {
	color: var(--rd-ink);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 150px 0 90px;
	overflow: hidden;
	color: var(--rd-white);
	background: linear-gradient(120deg, #1d0705 0%, #3d0f09 55%, #5a150c 100%);
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -3;
}

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(90deg, rgba(48, 11, 7, 0.88) 0%, rgba(66, 16, 9, 0.74) 55%, rgba(82, 20, 10, 0.62) 100%);
}

.hero__shape {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: -1;
	pointer-events: none;
}

.hero__shape--a {
	width: 48vw;
	height: 88%;
	background: linear-gradient(160deg, color-mix(in srgb, var(--rd-accent) 92%, transparent), color-mix(in srgb, var(--rd-primary) 88%, #000));
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero__shape--b {
	width: 25vw;
	height: 43%;
	background: rgba(0, 0, 0, 0.14);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero__inner {
	position: relative;
}

.eyebrow {
	margin: 0 0 1.5rem;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--rd-primary);
}

.eyebrow--light {
	color: var(--rd-white);
	font-size: 16px;
}

.hero__title {
	max-width: 7.7em;
	margin: 0 0 0.35em;
	font-size: clamp(2.5rem, 5.6vw + 0.5rem, 5rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.hero__subtitle {
	max-width: 28em;
	margin: 0 0 2.2rem;
	font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.375rem);
	font-weight: 500;
	line-height: 1.55;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 40px;
}

@media (max-width: 700px) {
	.hero {
		padding-top: 120px;
		text-align: center;
	}

	.hero__title,
	.hero__subtitle {
		margin-inline: auto;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__actions .link-arrow {
		justify-content: center;
	}

	.hero__shape--a {
		width: 90vw;
		height: 55%;
	}
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
	padding: 104px 0;
}

@media (max-width: 900px) {
	.section {
		padding: 64px 0;
	}
}

.section__head {
	max-width: 820px;
	margin: 0 auto 56px;
	text-align: center;
}

.section__title {
	font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem);
	font-weight: 500;
}

.section__intro {
	margin: 0;
	font-size: 1.125rem;
	color: var(--rd-muted);
}

/* Why Repdot */
.why__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	gap: 40px;
}

.why__label .eyebrow {
	padding-top: 14px;
}

.why__body .section__title {
	max-width: 14em;
	margin-bottom: 0.7em;
}

.why__copy {
	max-width: 760px;
}

.why__points {
	margin: 0 0 1.4em;
	padding-left: 1.2em;
	font-weight: 500;
}

.why__points li::marker {
	color: var(--rd-primary);
}

.why__tagline,
.why__closing {
	margin: 0;
	font-weight: 700;
}

.rule {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid var(--rd-line);
}

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step__icon {
	display: block;
	margin-bottom: 14px;
	color: var(--rd-primary);
}

.step__title {
	margin-bottom: 6px;
	font-size: 1.15rem;
}

.step__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--rd-muted);
}

@media (max-width: 1000px) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.why__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.why__label .eyebrow {
		padding-top: 0;
	}
}

@media (max-width: 560px) {
	.steps {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* Full-width image band */
.band {
	line-height: 0;
}

.band__img {
	display: block;
	width: 100%;
	max-height: 640px;
	object-fit: cover;
}

/* What We Offer */
.offer {
	position: relative;
	overflow: hidden;
	background: var(--rd-soft);
}

.offer::before,
.offer::after {
	position: absolute;
	width: min(46vw, 560px);
	aspect-ratio: 1;
	border: 1px solid color-mix(in srgb, var(--rd-primary) 22%, transparent);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.offer::before {
	top: -18%;
	right: -10%;
	box-shadow: 0 0 0 36px color-mix(in srgb, var(--rd-primary) 5%, transparent);
}

.offer::after {
	bottom: -26%;
	left: -12%;
}

.offer .container {
	position: relative;
	z-index: 1;
}

.cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.card {
	display: block;
	padding: 40px;
	color: var(--rd-ink);
	text-decoration: none;
	background: var(--rd-white);
	border-radius: var(--rd-radius);
	box-shadow: 0 48px 128px -24px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

a.card:hover,
.card:hover {
	color: var(--rd-ink);
	transform: translateY(-3px);
	box-shadow: 0 48px 96px -24px rgba(0, 0, 0, 0.16);
}

.card__icon {
	display: block;
	margin-bottom: 24px;
	color: var(--rd-primary);
}

.card__title {
	margin-bottom: 10px;
	font-size: 1.4rem;
}

.card__text {
	margin: 0;
	color: var(--rd-muted);
}

.consult {
	max-width: 720px;
	margin: 64px auto 0;
	text-align: center;
}

.consult__title {
	margin-bottom: 12px;
	font-size: 1.3rem;
	font-weight: 700;
}

.consult p:last-child {
	margin: 0;
	color: var(--rd-muted);
}

@media (max-width: 800px) {
	.cards {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.card {
		padding: 28px;
	}
}

/* Who We Serve */
.serve__inner {
	text-align: center;
}

.serve__intro {
	margin-bottom: 1.5rem;
	font-size: 1.125rem;
	font-weight: 500;
}

.checks {
	display: inline-flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	text-align: left;
}

.checks li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 1.125rem;
}

.checks .icon {
	color: var(--rd-primary);
}

.serve__closing {
	margin: 0 auto;
	max-width: 32em;
	font-size: 1.125rem;
	font-weight: 700;
}

.network {
	margin-top: 72px;
	padding-top: 56px;
	border-top: 1px solid var(--rd-line);
}

.network__title {
	margin-bottom: 24px;
	font-size: 1.6rem;
}

.network__link {
	display: inline-block;
	transition: opacity 0.2s ease;
}

.network__link:hover {
	opacity: 0.8;
}

.network__logo {
	display: block;
	margin-inline: auto;
	max-width: 300px;
}

/* Closing banner */
.closing {
	position: relative;
	padding: 112px 0;
	overflow: hidden;
	color: var(--rd-white);
	text-align: center;
	background: linear-gradient(120deg, #1d0705 0%, #3d0f09 60%, #5a150c 100%);
	isolation: isolate;
}

.closing__shape {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 38vw;
	height: 100%;
	background: linear-gradient(160deg, color-mix(in srgb, var(--rd-accent) 90%, transparent), color-mix(in srgb, var(--rd-primary) 86%, #000));
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	opacity: 0.9;
}

.closing__title {
	font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
	font-weight: 500;
}

.closing__text {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	padding: 28px 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.82);
	background: #15100f;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
}

.site-footer__text {
	margin: 0;
}

.site-footer__privacy {
	margin-right: auto;
	font-size: 13px;
	color: inherit;
	opacity: 0.75;
	text-decoration: none;
}

.site-footer__privacy:hover {
	opacity: 1;
	text-decoration: underline;
}

.footer-nav {
	margin-left: auto;
}

.footer-nav .menu {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav a {
	color: inherit;
	text-decoration: none;
}

.footer-nav a:hover {
	color: var(--rd-white);
	text-decoration: underline;
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 8px 4px;
	font: inherit;
	color: var(--rd-white);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.footer-nav + .to-top {
	margin-left: 0;
}

.to-top:hover {
	text-decoration: underline;
}

/* Floating back-to-top button (all pages, shown after scrolling). */
.to-top-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	color: var(--rd-white);
	background: var(--rd-primary);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background-color 0.2s ease;
}

.to-top-float.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.to-top-float:hover,
.to-top-float:focus-visible {
	background: var(--rd-primary-dark);
}

.to-top-float:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--rd-primary-dark), 0 8px 22px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
	.to-top-float { transition: none; transform: none; }
}

@media print {
	.to-top-float { display: none !important; }
}

/* ==========================================================================
   Pages, posts and archives
   ========================================================================== */
.page-wrap {
	padding-block: 72px 96px;
}

.page-header {
	margin-bottom: 40px;
}

.page-title {
	max-width: 18em;
	font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
	font-weight: 500;
}

.page-title span {
	color: var(--rd-primary);
}

.entry-content {
	font-size: 1.0625rem;
}

.entry-content > * {
	max-width: 760px;
	margin-inline: auto;
	padding-inline: var(--rd-gutter);
}

.entry-content > .alignwide {
	max-width: calc(var(--rd-container) + var(--rd-gutter) * 2);
}

.entry-content > .alignfull {
	max-width: none;
	padding-inline: 0;
}

.entry-content img {
	border-radius: var(--rd-radius);
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: 1.9rem;
}

.entry-content h3 {
	margin-top: 1.6em;
	font-size: 1.4rem;
}

.entry-content blockquote {
	margin-inline: auto;
	padding-left: 1.4em;
	border-left: 4px solid var(--rd-primary);
	color: var(--rd-muted);
}

.entry-hero {
	margin-bottom: 40px;
}

.entry-hero img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: var(--rd-radius);
}

.entry-footer {
	margin-top: 40px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.post-card {
	overflow: hidden;
	background: var(--rd-white);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.18);
}

.post-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 800 / 520;
	object-fit: cover;
}

.post-card__body {
	padding: 24px 28px 28px;
}

.post-card__meta {
	margin: 0 0 8px;
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rd-muted);
}

.post-card__title {
	margin-bottom: 10px;
	font-size: 1.35rem;
}

.post-card__title a {
	color: var(--rd-ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--rd-primary);
}

.post-card__excerpt p {
	margin: 0;
	color: var(--rd-muted);
}

.pagination,
.post-navigation {
	margin-top: 56px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--rd-line);
	border-radius: 4px;
	text-decoration: none;
}

.page-numbers.current {
	color: var(--rd-white);
	background: var(--rd-primary);
	border-color: var(--rd-primary);
}

.post-navigation {
	max-width: calc(760px + var(--rd-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--rd-gutter);
}

.post-navigation .nav-links {
	justify-content: space-between;
}

@media (max-width: 1000px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.post-grid {
		grid-template-columns: 1fr;
	}

	.page-wrap {
		padding-block: 48px 64px;
	}
}

.not-found .search-form {
	margin: 24px 0;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="password"],
textarea,
select {
	width: 100%;
	max-width: 100%;
	padding: 14px 16px;
	font: inherit;
	color: var(--rd-ink);
	background: var(--rd-white);
	border: 1px solid #cfcac8;
	border-radius: 4px;
}

input[type="submit"],
button[type="submit"],
.wp-block-button__link {
	padding: 16px 26px;
	font: inherit;
	font-weight: 500;
	color: var(--rd-white);
	background: var(--rd-primary);
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--rd-primary-dark);
	color: var(--rd-white);
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
}

/* Comments */
.comments {
	max-width: calc(760px + var(--rd-gutter) * 2);
	padding-bottom: 96px;
}

.comment-list {
	padding-left: 0;
	list-style: none;
}

.comment-list .children {
	list-style: none;
}

.comment-body {
	margin-bottom: 24px;
	padding: 20px 24px;
	background: var(--rd-soft);
	border-radius: var(--rd-radius);
}

/* Core alignment helpers */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption-text,
figcaption {
	font-size: 0.875rem;
	color: var(--rd-muted);
}

/* ==========================================================================
   Inner page banner
   ========================================================================== */
.page-hero {
	position: relative;
	padding: 176px 0 88px;
	overflow: hidden;
	color: var(--rd-white);
	background: linear-gradient(120deg, #1d0705 0%, #3d0f09 60%, #5a150c 100%);
	isolation: isolate;
}

.admin-bar .page-hero {
	padding-top: 208px;
}

.page-hero::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: url("assets/images/band.webp") center / cover no-repeat;
	opacity: 0.55;
	content: "";
}

.page-hero__shape {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 34vw;
	height: 100%;
	background: linear-gradient(160deg, color-mix(in srgb, var(--rd-accent) 90%, transparent), color-mix(in srgb, var(--rd-primary) 86%, #000));
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	opacity: 0.92;
}

.page-hero__title {
	max-width: 14em;
	margin: 0;
	font-size: clamp(2.25rem, 3.6vw + 1rem, 4rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.page-hero__lead {
	max-width: 34em;
	margin: 1.2rem 0 0;
	font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.3125rem);
	font-weight: 500;
	line-height: 1.55;
}

@media (max-width: 700px) {
	.page-hero {
		padding: 128px 0 56px;
	}

	.page-hero__shape {
		width: 70vw;
		height: 60%;
	}
}

.page-article .entry-content > :first-child:not(.alignfull) {
	margin-top: 64px;
}

.page-article .entry-content > :last-child:not(.alignfull) {
	margin-bottom: 96px;
}

.empty-state {
	padding: 24px 0 48px;
	font-size: 1.125rem;
	color: var(--rd-muted);
}

/* ==========================================================================
   Block content helpers (used by the bundled patterns and page content)
   ========================================================================== */
.entry-content > .alignfull {
	margin-block: 0;
}

/* Full-width sections: everything sits on one left-aligned 1200px grid;
   text blocks are capped at a readable width but stay aligned with the grid. */
.entry-content > .alignfull > * {
	max-width: calc(var(--rd-container) + var(--rd-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--rd-gutter);
}

.entry-content > .alignfull > :is(p, ul, ol, h2, h3, h4, .wp-block-buttons) {
	max-width: calc(760px + var(--rd-gutter) * 2);
	margin-left: max(0px, calc((100% - (var(--rd-container) + var(--rd-gutter) * 2)) / 2));
	margin-right: auto;
}

.rd-section > .eyebrow {
	margin-bottom: 0;
}

.rd-step > * + * {
	margin-top: 0.35rem;
}

.rd-step .rd-step__num {
	margin-bottom: 0;
}

.rd-section {
	padding-block: 88px;
}

.rd-section--soft {
	background: var(--rd-soft);
}

.rd-section > * + * {
	margin-top: 1.1rem;
}

.rd-section > .wp-block-columns {
	margin-top: 2.5rem;
}

.rd-lead {
	font-size: 1.1875rem;
	color: var(--rd-muted);
}

.rd-card {
	height: 100%;
	padding: 36px;
	background: var(--rd-white);
	border-radius: var(--rd-radius);
	box-shadow: 0 48px 128px -24px rgba(0, 0, 0, 0.08);
}

.rd-card > * + * {
	margin-top: 0.8rem;
}

.rd-card h3 {
	margin-bottom: 0;
	font-size: 1.35rem;
}

.rd-card p {
	margin-bottom: 0;
	color: var(--rd-muted);
}

.rd-card .rd-more {
	font-weight: 500;
}

.rd-card .rd-more a {
	text-decoration: none;
}

.rd-card .rd-more a:hover {
	text-decoration: underline;
}

.rd-step h3 {
	margin-bottom: 0.4rem;
	font-size: 1.15rem;
}

.rd-step p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--rd-muted);
}

.rd-step .rd-step__num {
	display: block;
	margin-bottom: 0.6rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--rd-primary);
}

.rd-checks {
	padding-left: 0;
	list-style: none;
}

.rd-checks li {
	position: relative;
	margin-bottom: 0.7rem;
	padding-left: 2rem;
}

.rd-checks li::before {
	position: absolute;
	top: 0.5em;
	left: 0.2em;
	width: 0.9rem;
	height: 0.5rem;
	border-bottom: 2px solid var(--rd-primary);
	border-left: 2px solid var(--rd-primary);
	transform: rotate(-45deg) translateY(-50%);
	content: "";
}

.wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--rd-primary);
	background: transparent;
	border: 2px solid var(--rd-primary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	color: var(--rd-white);
	background: var(--rd-primary);
}

.wp-block-button__link {
	text-decoration: none;
}

.entry-content .wp-block-columns {
	gap: 32px;
}

@media (max-width: 781px) {
	.rd-section {
		padding-block: 56px;
	}

	.rd-card {
		padding: 26px;
	}
}

/* Forminator forms placed in block pages */
.entry-content .forminator-ui.forminator-custom-form { box-sizing: border-box; width: 100%; max-width: calc(760px + var(--rd-gutter) * 2) !important; margin-left: max(0px, calc((100% - (var(--rd-container) + var(--rd-gutter) * 2)) / 2)) !important; margin-right: auto !important; padding-inline: var(--rd-gutter); font-family: var(--rd-font); }
.entry-content .forminator-ui .forminator-label { color: var(--rd-ink) !important; font-size: 14px !important; font-weight: 500 !important; }
.entry-content .forminator-ui .forminator-required { color: var(--rd-primary) !important; }
.entry-content .forminator-ui .forminator-input,
.entry-content .forminator-ui .forminator-textarea { background: var(--rd-white) !important; color: var(--rd-ink) !important; border: 1px solid var(--rd-line) !important; border-radius: 6px !important; font-family: var(--rd-font) !important; }
.entry-content .forminator-ui .forminator-input:focus,
.entry-content .forminator-ui .forminator-textarea:focus { border-color: var(--rd-primary) !important; outline: 2px solid color-mix(in srgb, var(--rd-primary) 25%, transparent); outline-offset: 0; }
.entry-content .forminator-ui .forminator-description,
.entry-content .forminator-ui .forminator-error-message { font-family: var(--rd-font); }
.entry-content .forminator-ui .forminator-button-submit { background: var(--rd-primary) !important; color: var(--rd-white) !important; border: 0 !important; border-radius: 6px !important; padding: 14px 28px !important; font-family: var(--rd-font) !important; font-size: 16px !important; font-weight: 500 !important; cursor: pointer; transition: background-color .2s; }
.entry-content .forminator-ui .forminator-button-submit:hover,
.entry-content .forminator-ui .forminator-button-submit:focus-visible { background: var(--rd-primary-dark) !important; }

/* ---------- Checklist page ---------- */
.rd-checklist { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.rd-checklist li {
	position: relative;
	margin: 0 0 0.7rem;
	padding: 0.15rem 0 0.15rem 2.1rem;
	line-height: 1.5;
}
.rd-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28rem;
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--rd-primary, #c4260a);
	border-radius: 4px;
	background: #fff;
}
.rd-score { display: grid; gap: 0.6rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.rd-score li { padding: 0.9rem 1.1rem; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 12px; background: #fff; }
@media print {
	.site-header, .site-footer, .closing, .jz-dots, .jz-progress { display: none !important; }
	.rd-section { padding: 1rem 0 !important; }
	.rd-checklist li { break-inside: avoid; }
}
