/**
 * Fire Dance Insider — main stylesheet.
 *
 * 1.  Design tokens
 * 2.  Base & reset
 * 3.  Typography
 * 4.  Layout helpers
 * 5.  Buttons & links
 * 6.  Header & navigation
 * 7.  Hero & credentials
 * 8.  Approach
 * 9.  Coaching packages
 * 10. Coaching form
 * 11. Blog: page header, post grid, cards, pagination
 * 12. Single article & prose
 * 13. Comments & search
 * 14. 404
 * 15. CTA band & footer
 * 16. WordPress core classes
 * 17. Motion
 *
 * Breakpoints live in responsive.css.
 */

/* =========================================================================
   1. Design tokens
   ========================================================================= */

:root {
	--fdi-bg: #070707;
	--fdi-bg-secondary: #0D0D0D;
	--fdi-bg-footer: #050505;
	--fdi-card: #111111;
	--fdi-card-hover: #151515;

	--fdi-gold: #D4AF37;
	--fdi-gold-rgb: 212, 175, 55;
	--fdi-gold-light: #E0B84F;
	--fdi-gold-dark: #B8892E;
	--fdi-gold-muted: #C89B3C;

	--fdi-text: #FFFFFF;
	--fdi-text-secondary: #B8B8B8;
	--fdi-text-muted: #888888;
	--fdi-text-prose: #CFCFCF;
	--fdi-error: #E8836F;

	--fdi-border: rgba(var(--fdi-gold-rgb), 0.22);
	--fdi-border-strong: rgba(var(--fdi-gold-rgb), 0.45);
	--fdi-border-subtle: rgba(255, 255, 255, 0.07);

	--fdi-radius: 8px;
	--fdi-radius-sm: 3px;
	--fdi-container: 1240px;
	--fdi-gutter: clamp(20px, 4vw, 40px);

	--fdi-font-heading: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
	--fdi-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

	--fdi-header-h: 84px;
	--fdi-section-space: clamp(88px, 11vw, 144px);
	--fdi-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================================
   2. Base & reset
   ========================================================================= */

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

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

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--fdi-bg);
	color: var(--fdi-text-secondary);
	font-family: var(--fdi-font-body);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

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

a {
	color: var(--fdi-gold);
	text-decoration: none;
	transition: color 0.25s var(--fdi-ease);
}

a:hover {
	color: var(--fdi-gold-light);
}

:focus-visible {
	outline: 2px solid var(--fdi-gold);
	outline-offset: 3px;
}

::selection {
	background: rgba(var(--fdi-gold-rgb), 0.85);
	color: var(--fdi-bg);
}

[id] {
	scroll-margin-top: calc(var(--fdi-header-h) + 16px);
}

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

button {
	cursor: pointer;
}

hr {
	border: 0;
	border-top: 1px solid var(--fdi-border);
	margin: 3rem 0;
}

.fdi-icon {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
}

/* =========================================================================
   3. Typography
   ========================================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--fdi-text);
	font-family: var(--fdi-font-heading);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.005em;
	font-variant-numeric: lining-nums;
	text-wrap: balance;
}

/* Cormorant uses old-style figures by default; prices and stats read better lining. */
.fdi-cred__figure,
.fdi-package__amount,
.fdi-summary__row dd,
.fdi-pillar__number,
.fdi-steps__num,
.fdi-404__code {
	font-variant-numeric: lining-nums;
}

h1 { font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
	margin: 0 0 1.25em;
}

strong,
b {
	color: var(--fdi-text);
	font-weight: 600;
}

.fdi-eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 24px;
	color: var(--fdi-gold);
	font-family: var(--fdi-font-body);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.fdi-eyebrow::before {
	content: "";
	flex: 0 0 44px;
	height: 1px;
	background: linear-gradient(90deg, var(--fdi-gold), rgba(var(--fdi-gold-rgb), 0.2));
}

.fdi-eyebrow--center {
	justify-content: center;
}

.fdi-eyebrow--center::after {
	content: "";
	flex: 0 0 44px;
	height: 1px;
	background: linear-gradient(270deg, var(--fdi-gold), rgba(var(--fdi-gold-rgb), 0.2));
}

/* =========================================================================
   4. Layout helpers
   ========================================================================= */

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

.fdi-container--narrow {
	max-width: calc(880px + var(--fdi-gutter) * 2);
}

.fdi-container--article {
	max-width: calc(780px + var(--fdi-gutter) * 2);
}

.fdi-container--wide {
	max-width: calc(1120px + var(--fdi-gutter) * 2);
}

.fdi-section {
	position: relative;
	padding-block: var(--fdi-section-space);
}

.fdi-section--flush-top {
	padding-top: 0;
}

.fdi-section__head {
	max-width: 720px;
	margin-bottom: clamp(48px, 6vw, 72px);
}

.fdi-section__head--center {
	margin-inline: auto;
	text-align: center;
}

.fdi-section__title {
	margin-bottom: 24px;
}

.fdi-section__intro {
	max-width: 620px;
	color: var(--fdi-text-secondary);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.fdi-section__head--center .fdi-section__intro {
	margin-inline: auto;
}

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

.fdi-skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	margin: 0;
	clip: auto;
	clip-path: none;
	background: var(--fdi-gold);
	color: var(--fdi-bg);
	font-weight: 600;
	border-radius: var(--fdi-radius-sm);
}

/* =========================================================================
   5. Buttons & links
   ========================================================================= */

.fdi-btn,
.wp-block-button__link,
.fdi-comments .form-submit input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 14px 28px;
	border: 1px solid transparent;
	border-radius: var(--fdi-radius-sm);
	font-family: var(--fdi-font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 0.3s var(--fdi-ease),
		border-color 0.3s var(--fdi-ease),
		color 0.3s var(--fdi-ease),
		box-shadow 0.3s var(--fdi-ease),
		transform 0.3s var(--fdi-ease);
}

.fdi-btn .fdi-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.3s var(--fdi-ease);
}

.fdi-btn:hover .fdi-icon--arrow-right {
	transform: translateX(4px);
}

.fdi-btn-primary,
.wp-block-button__link,
.fdi-comments .form-submit input[type="submit"] {
	background: var(--fdi-gold);
	border-color: var(--fdi-gold);
	color: var(--fdi-bg);
}

.fdi-btn-primary:hover,
.fdi-btn-primary:focus-visible,
.wp-block-button__link:hover,
.fdi-comments .form-submit input[type="submit"]:hover {
	background: var(--fdi-gold-light);
	border-color: var(--fdi-gold-light);
	color: var(--fdi-bg);
	box-shadow: 0 10px 34px -12px rgba(var(--fdi-gold-rgb), 0.55);
}

.fdi-btn-outline,
.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--fdi-border-strong);
	color: var(--fdi-gold);
}

.fdi-btn-outline:hover,
.fdi-btn-outline:focus-visible,
.is-style-outline .wp-block-button__link:hover {
	background: var(--fdi-gold);
	border-color: var(--fdi-gold);
	color: var(--fdi-bg);
}

.fdi-btn-lg {
	min-height: 60px;
	font-size: 0.875rem;
}

.fdi-btn-block {
	display: flex;
	width: 100%;
}

.fdi-btn[disabled],
.fdi-btn.is-loading {
	opacity: 0.7;
	cursor: progress;
	box-shadow: none;
}

.fdi-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--fdi-gold);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.fdi-link-arrow .fdi-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.3s var(--fdi-ease);
}

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

/* =========================================================================
   6. Header & navigation
   ========================================================================= */

.fdi-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(7, 7, 7, 0.8);
	border-bottom: 1px solid transparent;
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	transition: background-color 0.35s var(--fdi-ease), border-color 0.35s var(--fdi-ease);
}

.admin-bar .fdi-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.fdi-header.is-scrolled {
	background: var(--fdi-bg);
	border-bottom-color: rgba(var(--fdi-gold-rgb), 0.14);
}

.fdi-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: var(--fdi-header-h);
}

.fdi-header__brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* Custom logo from the Customizer. */
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-height: 52px;
}

/* Text logo fallback. */
.fdi-logo-text {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--fdi-text);
}

.fdi-logo-text:hover {
	color: var(--fdi-text);
}

.fdi-logo-text__mark {
	width: 38px;
	height: auto;
	transition: transform 0.6s var(--fdi-ease);
}

.fdi-logo-text:hover .fdi-logo-text__mark {
	transform: rotate(-18deg);
}

.fdi-logo-text__name {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.fdi-logo-text__main {
	font-family: var(--fdi-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.005em;
}

.fdi-logo-text__sub {
	margin-top: 5px;
	padding-left: 2px;
	color: var(--fdi-text-secondary);
	font-size: 0.5625rem;
	font-weight: 500;
	letter-spacing: 0.62em;
	text-transform: uppercase;
}

.fdi-nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.fdi-menu,
.fdi-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fdi-menu {
	display: flex;
	align-items: center;
	gap: 36px;
}

.fdi-menu li {
	position: relative;
}

.fdi-menu a {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	color: var(--fdi-text-secondary);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.fdi-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 1px;
	background: var(--fdi-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--fdi-ease);
}

.fdi-menu a:hover,
.fdi-menu .current-menu-item > a,
.fdi-menu .current_page_item > a {
	color: var(--fdi-text);
}

.fdi-menu > li > a:hover::after,
.fdi-menu > .current-menu-item > a::after,
.fdi-menu > .current_page_item > a::after {
	transform: scaleX(1);
}

/* Desktop dropdowns. */
.fdi-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -20px;
	min-width: 220px;
	padding: 12px 0;
	background: var(--fdi-bg-secondary);
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius-sm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.25s var(--fdi-ease), transform 0.25s var(--fdi-ease), visibility 0.25s;
}

.fdi-menu li:hover > .sub-menu,
.fdi-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.fdi-menu .sub-menu a {
	display: block;
	padding: 10px 20px;
	letter-spacing: 0.1em;
}

.fdi-header__cta {
	min-height: 46px;
	padding: 12px 22px;
	font-size: 0.75rem;
}

/* Hamburger (shown on small screens, see responsive.css). */
.fdi-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -12px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--fdi-text);
}

.fdi-nav-toggle__lines {
	position: relative;
	display: block;
	width: 26px;
	height: 12px;
}

.fdi-nav-toggle__lines span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.35s var(--fdi-ease), top 0.35s var(--fdi-ease), width 0.35s var(--fdi-ease);
}

.fdi-nav-toggle__lines span:first-child {
	top: 0;
}

.fdi-nav-toggle__lines span:last-child {
	top: 10px;
	width: 70%;
	left: auto;
	right: 0;
}

.fdi-nav-toggle[aria-expanded="true"] .fdi-nav-toggle__lines span:first-child {
	top: 5px;
	transform: rotate(45deg);
}

.fdi-nav-toggle[aria-expanded="true"] .fdi-nav-toggle__lines span:last-child {
	top: 5px;
	width: 100%;
	transform: rotate(-45deg);
}

/* =========================================================================
   7. Hero & credentials
   ========================================================================= */

.fdi-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--fdi-bg);
	margin-top: calc(var(--fdi-header-h) * -1);
	padding-top: var(--fdi-header-h);
}

.fdi-hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 36%;
	z-index: -1;
}

.fdi-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 30%;
}

/* Blend the photo into the dark page: fade from the left and bottom. */
.fdi-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--fdi-bg) 0%, rgba(7, 7, 7, 0.82) 16%, rgba(7, 7, 7, 0.3) 52%, rgba(7, 7, 7, 0.3) 100%),
		linear-gradient(0deg, var(--fdi-bg) 0%, rgba(7, 7, 7, 0.55) 26%, rgba(7, 7, 7, 0) 50%),
		linear-gradient(180deg, rgba(7, 7, 7, 0.6) 0%, rgba(7, 7, 7, 0) 22%);
}

.fdi-hero__frame {
	position: absolute;
	top: calc(var(--fdi-header-h) + 7%);
	right: 5%;
	bottom: 38%;
	left: 34%;
	z-index: 1;
	border: 1px solid rgba(var(--fdi-gold-rgb), 0.32);
	pointer-events: none;
}

.fdi-hero__frame::before {
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	width: 64px;
	height: 64px;
	border-top: 1px solid var(--fdi-gold);
	border-right: 1px solid var(--fdi-gold);
}

.fdi-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(calc(100vh - var(--fdi-header-h)), 980px);
	min-height: min(calc(100svh - var(--fdi-header-h)), 980px);
	padding-top: clamp(64px, 9vw, 120px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.fdi-hero__content {
	max-width: 720px;
	margin-bottom: auto;
	padding-bottom: clamp(56px, 7vw, 96px);
}

.fdi-hero__title {
	margin-bottom: 28px;
	font-size: clamp(2.75rem, 1.4rem + 4.3vw, 5.4rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.015em;
}

.fdi-hero__title em {
	color: var(--fdi-gold);
	font-style: italic;
	font-weight: 400;
}

.fdi-hero__lead {
	max-width: 520px;
	margin-bottom: 40px;
	color: var(--fdi-text-secondary);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.2rem);
	line-height: 1.7;
}

.fdi-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* Hero entrance (CSS only, no JS dependency). */
@media (prefers-reduced-motion: no-preference) {
	.fdi-hero__content > * {
		animation: fdi-rise 1s var(--fdi-ease) both;
	}

	.fdi-hero__content > :nth-child(2) { animation-delay: 0.08s; }
	.fdi-hero__content > :nth-child(3) { animation-delay: 0.16s; }
	.fdi-hero__content > :nth-child(4) { animation-delay: 0.24s; }

	.fdi-hero__image {
		animation: fdi-fade 1.6s var(--fdi-ease) both;
	}

	.fdi-hero__frame {
		animation: fdi-fade 1.4s 0.5s var(--fdi-ease) both;
	}
}

@keyframes fdi-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fdi-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.fdi-credentials__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fdi-cred {
	position: relative;
	padding: 28px 28px 26px;
	background: rgba(13, 13, 13, 0.78);
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: border-color 0.35s var(--fdi-ease), background-color 0.35s var(--fdi-ease);
}

.fdi-cred:hover {
	background: rgba(21, 21, 21, 0.9);
	border-color: var(--fdi-border-strong);
}

.fdi-cred__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.fdi-cred__icon {
	display: inline-flex;
	color: var(--fdi-gold);
}

.fdi-cred__icon .fdi-icon {
	width: 22px;
	height: 22px;
}

.fdi-cred__index {
	color: var(--fdi-text-muted);
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
}

.fdi-cred__figure {
	margin: 0 0 6px;
	color: var(--fdi-gold);
	font-family: var(--fdi-font-heading);
	font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem);
	font-weight: 600;
	line-height: 1.05;
}

.fdi-cred__title {
	margin: 0 0 8px;
	color: var(--fdi-text);
	font-family: var(--fdi-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
}

.fdi-cred__text {
	margin: 0;
	color: var(--fdi-text-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

/* =========================================================================
   8. Approach
   ========================================================================= */

.fdi-approach {
	background: var(--fdi-bg);
	border-top: 1px solid var(--fdi-border-subtle);
}

.fdi-approach__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(48px, 7vw, 112px);
}

.fdi-approach__media {
	position: sticky;
	top: calc(var(--fdi-header-h) + 48px);
	padding: 0 12% 16% 0;
}

.fdi-approach__figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--fdi-radius);
}

.fdi-approach__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fdi-approach__figure--main {
	aspect-ratio: 4 / 3.6;
}

.fdi-approach__figure--main img {
	object-position: 22% 50%;
}

.fdi-approach__figure--inset {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 50%;
	aspect-ratio: 3 / 2;
	border: 1px solid var(--fdi-border-strong);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}

.fdi-approach__media::before {
	content: "";
	position: absolute;
	top: -18px;
	left: -18px;
	width: 38%;
	height: 38%;
	border-top: 1px solid var(--fdi-border-strong);
	border-left: 1px solid var(--fdi-border-strong);
	pointer-events: none;
}

.fdi-pillars {
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--fdi-border-subtle);
}

.fdi-pillar {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 8px;
	padding: 26px 0;
	border-bottom: 1px solid var(--fdi-border-subtle);
}

.fdi-pillar__number {
	padding-top: 3px;
	color: var(--fdi-gold);
	font-family: var(--fdi-font-heading);
	font-size: 1.25rem;
	font-style: italic;
}

.fdi-pillar__title {
	margin-bottom: 8px;
	font-size: 1.625rem;
}

.fdi-pillar__text {
	margin: 0;
	color: var(--fdi-text-muted);
	font-size: 0.9375rem;
}

.fdi-approach__props-figure {
	margin: 36px 0 0;
}

.fdi-approach__props-figure img {
	width: 100%;
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius);
}

.fdi-disciplines {
	margin-top: 20px;
	padding: 28px;
	background: var(--fdi-card);
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius);
}

.fdi-disciplines__title {
	margin-bottom: 18px;
	color: var(--fdi-gold);
	font-family: var(--fdi-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fdi-disciplines__label {
	margin: 0 0 12px;
	color: var(--fdi-text-secondary);
	font-size: 0.875rem;
}

.fdi-disciplines__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.fdi-disciplines__list li {
	padding: 7px 14px;
	background: rgba(var(--fdi-gold-rgb), 0.05);
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-text);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.fdi-disciplines__note {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid var(--fdi-border-subtle);
	color: var(--fdi-text-muted);
	font-size: 0.875rem;
	line-height: 1.65;
}

.fdi-disciplines__note strong {
	font-weight: 600;
}

/* =========================================================================
   9. Coaching packages
   ========================================================================= */

.fdi-packages {
	background: var(--fdi-bg-secondary);
	border-top: 1px solid var(--fdi-border-subtle);
	border-bottom: 1px solid var(--fdi-border-subtle);
}

.fdi-packages::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 1px;
	height: clamp(48px, 6vw, 88px);
	background: linear-gradient(180deg, var(--fdi-gold), transparent);
}

.fdi-packages__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	align-items: stretch;
	gap: 28px;
	max-width: 1120px;
	margin-inline: auto;
}

.fdi-package {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(32px, 4vw, 48px);
	background: var(--fdi-card);
	border: 1px solid var(--fdi-border-subtle);
	border-radius: var(--fdi-radius);
	transition: border-color 0.35s var(--fdi-ease), transform 0.35s var(--fdi-ease);
}

.fdi-package:hover {
	border-color: var(--fdi-border);
}

.fdi-package--featured {
	background:
		radial-gradient(120% 55% at 50% 0%, rgba(var(--fdi-gold-rgb), 0.09), transparent 62%),
		var(--fdi-card-hover);
	border-color: var(--fdi-border);
}

.fdi-package--featured:hover {
	border-color: var(--fdi-border-strong);
}

.fdi-package--featured::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	height: 2px;
	background: linear-gradient(90deg, var(--fdi-gold-dark), var(--fdi-gold-light) 50%, var(--fdi-gold-dark));
	border-radius: var(--fdi-radius) var(--fdi-radius) 0 0;
}

.fdi-package__badge {
	align-self: flex-start;
	margin: 0 0 28px;
	padding: 8px 14px;
	background: rgba(var(--fdi-gold-rgb), 0.08);
	border: 1px solid var(--fdi-border-strong);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-gold);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.fdi-package__kicker {
	margin: 0 0 12px;
	color: var(--fdi-text-muted);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.fdi-package__title {
	margin-bottom: 28px;
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
	line-height: 1.12;
}

.fdi-package__pricing {
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--fdi-border-subtle);
}

.fdi-package__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 6px;
}

.fdi-package__amount {
	color: var(--fdi-text);
	font-family: var(--fdi-font-heading);
	font-size: clamp(3rem, 2.4rem + 1.8vw, 4rem);
	font-weight: 500;
	line-height: 1;
}

.fdi-package--featured .fdi-package__amount {
	color: var(--fdi-gold);
}

.fdi-package__period {
	color: var(--fdi-text-secondary);
	font-size: 1rem;
}

.fdi-package__price-alt {
	margin: 0;
	color: var(--fdi-text-muted);
	font-size: 0.875rem;
}

.fdi-package__block {
	margin-bottom: 28px;
}

.fdi-package__label {
	margin: 0 0 12px;
	color: var(--fdi-gold);
	font-family: var(--fdi-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fdi-package__format {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	color: var(--fdi-text);
	font-size: 0.9375rem;
}

.fdi-package__format .fdi-icon {
	margin-top: 2px;
	color: var(--fdi-gold);
}

.fdi-package__focus {
	margin: 0;
	color: var(--fdi-text-secondary);
	font-size: 0.9375rem;
}

.fdi-package__tags {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.fdi-package__tags li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--fdi-border-subtle);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-text);
	font-size: 0.8125rem;
	line-height: 1.35;
}

.fdi-package__tags .fdi-icon {
	width: 16px;
	height: 16px;
	color: var(--fdi-gold);
}

.fdi-package__includes {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fdi-package__includes li {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: start;
	gap: 14px;
}

.fdi-package__include-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--fdi-border);
	border-radius: 50%;
	color: var(--fdi-gold);
}

.fdi-package__include-icon .fdi-icon {
	width: 18px;
	height: 18px;
}

.fdi-package__includes strong {
	display: block;
	margin-bottom: 2px;
	font-size: 0.9375rem;
}

.fdi-package__includes strong + span {
	display: block;
	color: var(--fdi-text-muted);
	font-size: 0.875rem;
	line-height: 1.55;
}

.fdi-package__cta {
	margin-top: auto;
}

.fdi-packages__note {
	margin: 48px 0 0;
	color: var(--fdi-text-muted);
	font-size: 0.9375rem;
	text-align: center;
}

.fdi-packages__note a {
	border-bottom: 1px solid rgba(var(--fdi-gold-rgb), 0.4);
	transition: border-color 0.25s var(--fdi-ease), color 0.25s var(--fdi-ease);
}

.fdi-packages__note a:hover {
	border-bottom-color: var(--fdi-gold-light);
}

/* =========================================================================
   10. Coaching form
   ========================================================================= */

.fdi-apply {
	background: var(--fdi-bg);
}

.fdi-apply::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 50% at 85% 20%, rgba(var(--fdi-gold-rgb), 0.05), transparent 70%);
	pointer-events: none;
}

.fdi-apply__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: start;
	gap: clamp(48px, 7vw, 100px);
}

.fdi-apply__figure {
	position: relative;
	margin: 0 0 44px;
}

.fdi-apply__figure img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius);
}

/* Thin gold corner accent, echoing the hero and approach frames. */
.fdi-apply__figure::before {
	content: "";
	position: absolute;
	top: -14px;
	right: -14px;
	width: 36%;
	height: 42%;
	border-top: 1px solid var(--fdi-border-strong);
	border-right: 1px solid var(--fdi-border-strong);
	pointer-events: none;
}

.fdi-steps {
	margin: 40px 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.fdi-steps li {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 14px 0;
	border-bottom: 1px solid var(--fdi-border-subtle);
	color: var(--fdi-text);
	font-size: 0.9375rem;
}

.fdi-steps li:first-child {
	border-top: 1px solid var(--fdi-border-subtle);
}

.fdi-steps__num {
	color: var(--fdi-gold);
	font-family: var(--fdi-font-heading);
	font-size: 1.125rem;
	font-style: italic;
}

.fdi-summary {
	padding: 28px;
	background: var(--fdi-card);
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius);
}

.fdi-summary__title {
	margin-bottom: 16px;
	color: var(--fdi-gold);
	font-family: var(--fdi-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fdi-summary__list {
	margin: 0 0 16px;
}

.fdi-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.fdi-summary__row dt {
	color: var(--fdi-text-secondary);
	font-size: 0.875rem;
	line-height: 1.45;
}

.fdi-summary__row dd {
	margin: 0;
	color: var(--fdi-text);
	font-family: var(--fdi-font-heading);
	font-size: 1.375rem;
	font-weight: 600;
	white-space: nowrap;
}

.fdi-summary__note {
	margin: 0;
	color: var(--fdi-text-muted);
	font-size: 0.8125rem;
	line-height: 1.6;
}

.fdi-apply__panel {
	position: sticky;
	/* main.js lowers this when the form is taller than the screen, so the
	   submit button is always reachable before the form sticks. */
	top: calc(var(--fdi-header-h) + 32px);
}

.fdi-form,
.fdi-success {
	padding: clamp(28px, 4vw, 52px);
	background: var(--fdi-bg-secondary);
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius);
}

.fdi-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 20px;
}

.fdi-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fdi-field--full {
	grid-column: 1 / -1;
}

.fdi-field__label {
	margin-bottom: 10px;
	color: var(--fdi-text-secondary);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fdi-field__required {
	margin-left: 4px;
	color: var(--fdi-gold);
}

.fdi-field__optional {
	color: var(--fdi-text-muted);
	letter-spacing: 0.04em;
	text-transform: none;
}

.fdi-input {
	width: 100%;
	min-height: 54px;
	padding: 14px 16px;
	background: var(--fdi-card);
	border: 1px solid rgba(var(--fdi-gold-rgb), 0.25);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-text);
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.25s var(--fdi-ease), box-shadow 0.25s var(--fdi-ease), background-color 0.25s var(--fdi-ease);
	-webkit-appearance: none;
	appearance: none;
}

.fdi-input::placeholder {
	color: #777777;
	opacity: 1;
}

.fdi-input:hover {
	border-color: rgba(var(--fdi-gold-rgb), 0.42);
}

.fdi-input:focus,
.fdi-input:focus-visible {
	outline: none;
	background: #131313;
	border-color: var(--fdi-gold);
	box-shadow: 0 0 0 3px rgba(var(--fdi-gold-rgb), 0.14);
}

.fdi-input[aria-invalid="true"] {
	border-color: var(--fdi-error);
}

.fdi-input[aria-invalid="true"]:focus {
	box-shadow: 0 0 0 3px rgba(232, 131, 111, 0.16);
}

.fdi-textarea {
	min-height: 168px;
	resize: vertical;
}

.fdi-select {
	position: relative;
}

.fdi-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 1.5px solid var(--fdi-gold);
	border-bottom: 1.5px solid var(--fdi-gold);
	transform: rotate(45deg);
	pointer-events: none;
}

.fdi-select select {
	padding-right: 48px;
	cursor: pointer;
}

.fdi-select select option {
	background: var(--fdi-card);
	color: var(--fdi-text);
}

.fdi-select select.is-highlighted {
	border-color: var(--fdi-gold);
	box-shadow: 0 0 0 3px rgba(var(--fdi-gold-rgb), 0.2);
}

.fdi-field__error {
	margin: 8px 0 0;
	color: var(--fdi-error);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.fdi-form__alert {
	display: flex;
	gap: 14px;
	margin-bottom: 28px;
	padding: 16px 18px;
	background: rgba(232, 131, 111, 0.07);
	border: 1px solid rgba(232, 131, 111, 0.35);
	border-left: 2px solid var(--fdi-error);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-text);
	font-size: 0.9375rem;
}

.fdi-form__alert:focus {
	outline: none;
}

.fdi-form__alert .fdi-icon {
	margin-top: 2px;
	color: var(--fdi-error);
}

.fdi-form__alert p {
	margin: 0;
}

.fdi-form__submit {
	margin-top: 32px;
}

.fdi-form__privacy {
	margin: 16px 0 0;
	color: var(--fdi-text-muted);
	font-size: 0.8125rem;
	text-align: center;
}

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.fdi-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fdi-success {
	padding-block: clamp(48px, 6vw, 72px);
	border-color: var(--fdi-border-strong);
	background:
		radial-gradient(80% 60% at 50% 0%, rgba(var(--fdi-gold-rgb), 0.08), transparent 70%),
		var(--fdi-bg-secondary);
	text-align: center;
}

.fdi-success:focus {
	outline: none;
}

.fdi-success__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 28px;
	border: 1px solid var(--fdi-gold);
	border-radius: 50%;
	color: var(--fdi-gold);
	box-shadow: 0 0 40px -6px rgba(var(--fdi-gold-rgb), 0.45);
}

.fdi-success__icon .fdi-icon {
	width: 30px;
	height: 30px;
}

.fdi-success__title {
	font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
}

.fdi-success__text {
	max-width: 460px;
	margin: 0 auto 32px;
	color: var(--fdi-text-secondary);
	font-size: 1.0625rem;
}

/* =========================================================================
   11. Blog: page header, post grid, cards, pagination
   ========================================================================= */

.fdi-page-header {
	position: relative;
	padding: clamp(72px, 10vw, 136px) 0 clamp(48px, 6vw, 80px);
	background: radial-gradient(50% 80% at 50% 0%, rgba(var(--fdi-gold-rgb), 0.06), transparent 70%);
}

.fdi-page-header__title {
	max-width: 900px;
	margin-bottom: 20px;
	font-size: clamp(2.75rem, 1.8rem + 3.4vw, 5rem);
	line-height: 1.04;
}

.fdi-page-header__text {
	max-width: 620px;
	color: var(--fdi-text-secondary);
	font-size: 1.0625rem;
}

.fdi-page-header__text p:last-child {
	margin-bottom: 0;
}

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

.fdi-card-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--fdi-card);
	border: 1px solid var(--fdi-border-subtle);
	border-radius: var(--fdi-radius);
	transition: border-color 0.35s var(--fdi-ease), background-color 0.35s var(--fdi-ease);
}

.fdi-card-post:hover {
	background: var(--fdi-card-hover);
	border-color: var(--fdi-border);
}

.fdi-card-post__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--fdi-bg-secondary);
}

.fdi-card-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--fdi-ease), opacity 0.4s var(--fdi-ease);
}

.fdi-card-post:hover .fdi-card-post__media img {
	transform: scale(1.04);
}

.fdi-card-post__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: radial-gradient(60% 60% at 50% 50%, rgba(var(--fdi-gold-rgb), 0.1), transparent 70%);
}

.fdi-card-post__placeholder img {
	width: 64px;
	height: auto;
	opacity: 0.55;
}

.fdi-card-post:hover .fdi-card-post__placeholder img {
	transform: rotate(-18deg);
}

.fdi-card-post__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px 28px 30px;
}

.fdi-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-bottom: 14px;
	color: var(--fdi-text-muted);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
}

.fdi-meta--center {
	justify-content: center;
}

.fdi-meta__category {
	color: var(--fdi-gold);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.fdi-meta__sep {
	width: 4px;
	height: 4px;
	background: var(--fdi-gold);
	border-radius: 50%;
	opacity: 0.6;
}

.fdi-card-post__title {
	margin-bottom: 12px;
	font-size: 1.625rem;
	line-height: 1.18;
}

.fdi-card-post__title a {
	color: var(--fdi-text);
}

.fdi-card-post__title a:hover {
	color: var(--fdi-gold);
}

.fdi-card-post__excerpt {
	margin-bottom: 24px;
	color: var(--fdi-text-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.fdi-card-post__excerpt p {
	margin: 0;
}

.fdi-card-post .fdi-link-arrow {
	margin-top: auto;
}

.fdi-pagination {
	margin-top: 64px;
}

.fdi-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.fdi-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	border: 1px solid var(--fdi-border-subtle);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-text-secondary);
	font-size: 0.875rem;
}

.fdi-pagination a.page-numbers:hover {
	border-color: var(--fdi-gold);
	color: var(--fdi-gold);
}

.fdi-pagination .page-numbers.current {
	background: var(--fdi-gold);
	border-color: var(--fdi-gold);
	color: var(--fdi-bg);
	font-weight: 600;
}

.fdi-pagination .fdi-icon {
	width: 18px;
	height: 18px;
}

.fdi-empty {
	padding: 64px 0;
	text-align: center;
}

.fdi-empty .fdi-search {
	max-width: 480px;
	margin: 24px auto 0;
}

/* =========================================================================
   12. Single article & prose
   ========================================================================= */

.fdi-article__header {
	padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 56px);
	text-align: center;
	background: radial-gradient(50% 80% at 50% 0%, rgba(var(--fdi-gold-rgb), 0.06), transparent 70%);
}

.fdi-article__title {
	margin: 8px auto 24px;
	font-size: clamp(2.5rem, 1.7rem + 3vw, 4.4rem);
	line-height: 1.05;
}

.fdi-article__meta {
	margin-bottom: 0;
}

.fdi-article__image {
	margin: 0 auto clamp(48px, 6vw, 72px);
}

.fdi-article__image img {
	width: 100%;
	border-radius: var(--fdi-radius);
}

.fdi-article--page .fdi-page-header {
	padding-bottom: clamp(32px, 4vw, 48px);
}

.fdi-article--page > .fdi-prose {
	padding-bottom: var(--fdi-section-space);
}

.fdi-article:not(.fdi-article--page) > .fdi-prose {
	padding-bottom: 48px;
}

.fdi-prose {
	color: var(--fdi-text-prose);
	font-size: 1.125rem;
	line-height: 1.8;
}

.fdi-prose > * {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.fdi-prose h2,
.fdi-prose h3,
.fdi-prose h4 {
	margin-top: 1.8em;
	margin-bottom: 0.6em;
}

.fdi-prose h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); }
.fdi-prose h3 { font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem); }

.fdi-prose a {
	color: var(--fdi-gold);
	text-decoration: underline;
	text-decoration-color: rgba(var(--fdi-gold-rgb), 0.4);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color 0.25s var(--fdi-ease), text-decoration-color 0.25s var(--fdi-ease);
}

.fdi-prose a:hover {
	color: var(--fdi-gold-light);
	text-decoration-color: var(--fdi-gold-light);
}

.fdi-prose .wp-block-button__link,
.fdi-prose a.fdi-btn {
	text-decoration: none;
}

.fdi-prose ul,
.fdi-prose ol {
	padding-left: 1.4em;
}

.fdi-prose li {
	margin-bottom: 0.5em;
}

.fdi-prose ul li::marker {
	color: var(--fdi-gold);
}

.fdi-prose ol li::marker {
	color: var(--fdi-gold);
	font-family: var(--fdi-font-heading);
	font-weight: 600;
}

.fdi-prose blockquote,
.fdi-prose .wp-block-quote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 28px;
	border-left: 2px solid var(--fdi-gold);
	color: var(--fdi-text);
	font-family: var(--fdi-font-heading);
	font-size: 1.625rem;
	font-style: italic;
	line-height: 1.45;
}

.fdi-prose blockquote p:last-of-type {
	margin-bottom: 0.4em;
}

.fdi-prose blockquote cite,
.fdi-prose .wp-block-quote cite {
	color: var(--fdi-text-muted);
	font-family: var(--fdi-font-body);
	font-size: 0.8125rem;
	font-style: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fdi-prose .wp-block-pullquote {
	padding: 40px 0;
	border-top: 1px solid var(--fdi-border);
	border-bottom: 1px solid var(--fdi-border);
	text-align: center;
}

.fdi-prose .wp-block-pullquote blockquote {
	padding: 0;
	border: 0;
	font-size: 2rem;
}

.fdi-prose img {
	border-radius: var(--fdi-radius-sm);
}

.fdi-prose figcaption,
.fdi-prose .wp-caption-text,
.fdi-prose .wp-element-caption {
	margin-top: 12px;
	color: var(--fdi-text-muted);
	font-size: 0.8125rem;
	text-align: center;
}

.fdi-prose code,
.fdi-prose kbd {
	padding: 2px 6px;
	background: var(--fdi-card);
	border: 1px solid var(--fdi-border-subtle);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-gold-light);
	font-size: 0.875em;
}

.fdi-prose pre {
	overflow-x: auto;
	padding: 20px 24px;
	background: var(--fdi-card);
	border: 1px solid var(--fdi-border-subtle);
	border-radius: var(--fdi-radius);
	font-size: 0.9rem;
}

.fdi-prose pre code {
	padding: 0;
	background: none;
	border: 0;
}

.fdi-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.fdi-prose th,
.fdi-prose td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--fdi-border-subtle);
	text-align: left;
}

.fdi-prose th {
	color: var(--fdi-text);
	font-weight: 600;
}

.fdi-prose hr,
.fdi-prose .wp-block-separator {
	width: 120px;
	margin: 3.5em auto;
	border: 0;
	border-top: 1px solid var(--fdi-gold);
	opacity: 0.6;
}

.fdi-prose .wp-block-separator.is-style-wide {
	width: 100%;
}

.fdi-prose .alignwide {
	width: min(1100px, calc(100vw - var(--fdi-gutter) * 2));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.fdi-prose .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.fdi-prose .alignfull img,
.fdi-prose .alignwide img {
	width: 100%;
	border-radius: 0;
}

.fdi-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	font-size: 0.875rem;
}

.fdi-article__footer {
	padding-bottom: 32px;
}

.fdi-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fdi-tags a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--fdi-border);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-text-secondary);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
}

.fdi-tags a:hover {
	border-color: var(--fdi-gold);
	color: var(--fdi-gold);
}

.fdi-post-nav {
	margin: 24px 0 var(--fdi-section-space);
	padding-top: 40px;
	border-top: 1px solid var(--fdi-border-subtle);
}

.fdi-post-nav .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.fdi-post-nav .nav-next {
	grid-column: 2;
	text-align: right;
}

.fdi-post-nav a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	padding: 24px;
	background: var(--fdi-card);
	border: 1px solid var(--fdi-border-subtle);
	border-radius: var(--fdi-radius);
	transition: border-color 0.3s var(--fdi-ease);
}

.fdi-post-nav a:hover {
	border-color: var(--fdi-border-strong);
}

.fdi-post-nav__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--fdi-gold);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.fdi-post-nav .nav-next .fdi-post-nav__label {
	justify-content: flex-end;
}

.fdi-post-nav__label .fdi-icon {
	width: 16px;
	height: 16px;
}

.fdi-post-nav__title {
	color: var(--fdi-text);
	font-family: var(--fdi-font-heading);
	font-size: 1.375rem;
	line-height: 1.25;
}

/* =========================================================================
   13. Comments & search
   ========================================================================= */

.fdi-comments {
	margin-bottom: var(--fdi-section-space);
}

.fdi-comments__title {
	font-size: 2rem;
}

.fdi-comments__list,
.fdi-comments__list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fdi-comments__list .children {
	padding-left: clamp(16px, 4vw, 48px);
}

.fdi-comments .comment-body {
	margin-bottom: 20px;
	padding: 24px;
	background: var(--fdi-card);
	border: 1px solid var(--fdi-border-subtle);
	border-radius: var(--fdi-radius);
	font-size: 0.9375rem;
}

.fdi-comments .comment-meta {
	margin-bottom: 12px;
	font-size: 0.8125rem;
}

.fdi-comments .comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--fdi-text);
}

.fdi-comments .comment-author .avatar {
	border-radius: 50%;
}

.fdi-comments .comment-author .says {
	display: none;
}

.fdi-comments .comment-metadata a {
	color: var(--fdi-text-muted);
}

.fdi-comments .reply a {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fdi-comments .comment-respond {
	margin-top: 48px;
}

.fdi-comments .comment-form p {
	margin-bottom: 18px;
}

.fdi-comments .comment-form label {
	display: block;
	margin-bottom: 8px;
	color: var(--fdi-text-secondary);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fdi-comments .comment-form input[type="text"],
.fdi-comments .comment-form input[type="email"],
.fdi-comments .comment-form input[type="url"],
.fdi-comments .comment-form textarea {
	width: 100%;
	padding: 14px 16px;
	background: var(--fdi-card);
	border: 1px solid rgba(var(--fdi-gold-rgb), 0.25);
	border-radius: var(--fdi-radius-sm);
	color: var(--fdi-text);
}

.fdi-comments .comment-form input:focus,
.fdi-comments .comment-form textarea:focus {
	outline: none;
	border-color: var(--fdi-gold);
	box-shadow: 0 0 0 3px rgba(var(--fdi-gold-rgb), 0.14);
}

.fdi-comments .comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.fdi-comments .comment-form-cookies-consent label {
	text-transform: none;
	letter-spacing: 0;
}

.fdi-search {
	position: relative;
	display: flex;
}

.fdi-search__input {
	padding-right: 56px;
}

.fdi-search__button {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 100%;
	background: transparent;
	border: 0;
	color: var(--fdi-gold);
}

/* =========================================================================
   14. 404
   ========================================================================= */

.fdi-404 {
	position: relative;
	display: flex;
	align-items: center;
	min-height: calc(100vh - var(--fdi-header-h) - 240px);
	padding: var(--fdi-section-space) 0;
	overflow: hidden;
	background: radial-gradient(45% 50% at 50% 45%, rgba(var(--fdi-gold-rgb), 0.08), transparent 70%);
	text-align: center;
}

.fdi-404__inner {
	position: relative;
}

.fdi-404__code {
	margin: 0 0 8px;
	color: transparent;
	font-family: var(--fdi-font-heading);
	font-size: clamp(7rem, 4rem + 14vw, 15rem);
	font-weight: 500;
	line-height: 0.9;
	-webkit-text-stroke: 1px rgba(var(--fdi-gold-rgb), 0.55);
	letter-spacing: 0.02em;
}

.fdi-404__title {
	margin-bottom: 16px;
}

.fdi-404__text {
	margin: 0 auto 40px;
	color: var(--fdi-text-secondary);
	font-size: 1.125rem;
}

/* =========================================================================
   15. CTA band & footer
   ========================================================================= */

.fdi-cta-band {
	position: relative;
	padding: clamp(80px, 10vw, 128px) 0;
	background:
		radial-gradient(50% 70% at 50% 100%, rgba(var(--fdi-gold-rgb), 0.09), transparent 70%),
		var(--fdi-bg-secondary);
	border-top: 1px solid var(--fdi-border-subtle);
	text-align: center;
}

.fdi-cta-band__title {
	margin-bottom: 16px;
}

.fdi-cta-band__text {
	max-width: 540px;
	margin: 0 auto 36px;
	color: var(--fdi-text-secondary);
}

.fdi-footer {
	padding: clamp(64px, 8vw, 96px) 0 32px;
	background: var(--fdi-bg-footer);
	border-top: 1px solid rgba(var(--fdi-gold-rgb), 0.14);
	font-size: 0.9375rem;
}

.fdi-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 48px;
	padding-bottom: 56px;
}

.fdi-footer__brand .custom-logo {
	max-height: 64px;
}

.fdi-footer__tagline {
	margin: 24px 0 0;
	color: var(--fdi-text);
	font-family: var(--fdi-font-heading);
	font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);
	font-style: italic;
	line-height: 1.3;
}

.fdi-social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.fdi-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--fdi-border);
	border-radius: 50%;
	color: var(--fdi-text-secondary);
	transition: color 0.25s var(--fdi-ease), border-color 0.25s var(--fdi-ease), background-color 0.25s var(--fdi-ease);
}

.fdi-social a:hover,
.fdi-social a:focus-visible {
	background: rgba(var(--fdi-gold-rgb), 0.08);
	border-color: var(--fdi-gold);
	color: var(--fdi-gold);
}

.fdi-social .fdi-icon {
	width: 19px;
	height: 19px;
}

.fdi-footer__heading {
	margin-bottom: 20px;
	color: var(--fdi-gold);
	font-family: var(--fdi-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fdi-footer-menu {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fdi-footer-menu a,
.fdi-footer .fdi-widget a {
	color: var(--fdi-text-secondary);
}

.fdi-footer-menu a:hover,
.fdi-footer .fdi-widget a:hover {
	color: var(--fdi-gold);
}

.fdi-footer__text {
	color: var(--fdi-text-muted);
}

.fdi-footer .fdi-widget {
	margin-bottom: 32px;
	color: var(--fdi-text-muted);
}

.fdi-footer .fdi-widget h2,
.fdi-footer .fdi-widget .wp-block-heading {
	margin-bottom: 20px;
	color: var(--fdi-gold);
	font-family: var(--fdi-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fdi-footer .fdi-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fdi-footer .fdi-widget li {
	margin-bottom: 10px;
}

.fdi-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 28px;
	border-top: 1px solid var(--fdi-border-subtle);
	color: var(--fdi-text-muted);
	font-size: 0.8125rem;
}

.fdi-footer__copy {
	margin: 0;
}

.fdi-footer__top-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--fdi-text-muted);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fdi-footer__top-link:hover {
	color: var(--fdi-gold);
}

.fdi-footer__top-link .fdi-icon {
	width: 16px;
	height: 16px;
}

/* =========================================================================
   16. WordPress core classes
   ========================================================================= */

.alignleft {
	float: left;
	margin: 0.4em 2em 1em 0;
}

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

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

.wp-caption {
	max-width: 100%;
}

.gallery-caption,
.sticky,
.bypostauthor {
	display: block;
}

.has-gold-color { color: var(--fdi-gold) !important; }
.has-gold-light-color { color: var(--fdi-gold-light) !important; }
.has-black-color { color: var(--fdi-bg) !important; }
.has-card-color { color: var(--fdi-card) !important; }
.has-white-color { color: var(--fdi-text) !important; }
.has-grey-color { color: var(--fdi-text-secondary) !important; }
.has-gold-background-color { background-color: var(--fdi-gold) !important; }
.has-gold-light-background-color { background-color: var(--fdi-gold-light) !important; }
.has-black-background-color { background-color: var(--fdi-bg) !important; }
.has-card-background-color { background-color: var(--fdi-card) !important; }
.has-white-background-color { background-color: var(--fdi-text) !important; }
.has-grey-background-color { background-color: var(--fdi-text-secondary) !important; }

/* =========================================================================
   17. Motion
   ========================================================================= */

/* Scroll reveal: only hidden once main.js has confirmed it can reveal them. */
.fdi-reveal-ready [data-fdi-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s var(--fdi-ease), transform 0.9s var(--fdi-ease);
}

.fdi-reveal-ready [data-fdi-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

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

	.fdi-reveal-ready [data-fdi-reveal] {
		opacity: 1;
		transform: none;
	}
}
