/* =============================================================
   Utopia Theme — Design System
   ============================================================= */

:root {
	--ns-accent: #6C4CFF;
	--ns-accent-rgb: 108, 76, 255;
	--ns-dark: #0A0A0A;
	--ns-bg: #FAFAFA;
	--ns-surface: #FFFFFF;
	--ns-text: #1F1F26;
	--ns-text-muted: #6B6B76;
	--ns-border: #ECECF1;

	--ns-font-body: "Outfit", Arial, sans-serif;
	--ns-font-heading: "Red Hat Display", Arial, sans-serif;
	--ns-font-accent: "Playfair Display", Georgia, serif;

	--ns-radius-sm: 8px;
	--ns-radius-md: 16px;
	--ns-radius-lg: 28px;
	--ns-radius-pill: 999px;

	--ns-shadow-sm: 0 2px 8px rgba(20, 20, 30, 0.06);
	--ns-shadow-md: 0 12px 32px rgba(20, 20, 30, 0.10);
	--ns-shadow-lg: 0 24px 64px rgba(20, 20, 30, 0.16);

	--ns-container: 1240px;
	--ns-gap: clamp(1rem, 2vw, 2rem);
	--ns-section-space: clamp(3.5rem, 7vw, 7rem);

	--ns-transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------
   Base
   ------------------------------------------------------------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

body {
	font-family: var(--ns-font-body);
	color: var(--ns-text);
	background: var(--ns-bg);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ns-font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--ns-text);
}

h1 { font-size: clamp(2.25rem, 4vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.5rem); }

/* Emphasized words within a heading — an italic serif accent against the
   bold sans-serif heading font, matched to the reference site's pairing. */
.nova-heading-accent {
	font-family: var(--ns-font-accent);
	font-style: italic;
	font-weight: 700;
}

p { margin: 0 0 1.1em; }

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--ns-transition);
}

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

ul, ol { padding-left: 1.25em; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--ns-accent); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 1rem;
	z-index: 10000;
	background: var(--ns-dark);
	color: #fff;
	padding: 0.75em 1.25em;
	border-radius: var(--ns-radius-sm);
	transition: top var(--ns-transition);
}
.skip-link:focus {
	top: 1rem;
	clip: auto;
	width: auto;
	height: auto;
}

:focus-visible {
	outline: 2px solid var(--ns-accent);
	outline-offset: 2px;
}

/* -------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------- */

.nova-container {
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.nova-section { padding-block: var(--ns-section-space); }
.nova-section__head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.nova-section__foot { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }

.nova-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ns-accent);
	margin-bottom: 0.75em;
}
.nova-eyebrow--on-dark { color: #C9B8FF; }

.nova-prose :is(h1, h2, h3, h4) { margin-top: 1.4em; }
.nova-prose img { border-radius: var(--ns-radius-md); }

/* -------------------------------------------------------------
   Buttons & tags
   ------------------------------------------------------------- */

.nova-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.85em 1.6em;
	border-radius: var(--ns-radius-pill);
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid transparent;
	transition: transform var(--ns-transition), background var(--ns-transition), color var(--ns-transition), box-shadow var(--ns-transition);
	white-space: nowrap;
}
.nova-btn:hover { transform: translateY(-2px); }

.nova-btn--primary {
	background: var(--ns-accent);
	color: #fff;
	box-shadow: 0 8px 24px rgba(var(--ns-accent-rgb), 0.32);
}
.nova-btn--primary:hover { background: color-mix(in srgb, var(--ns-accent) 85%, black); color: #fff; }

.nova-btn--outline {
	background: transparent;
	color: var(--ns-text);
	border-color: var(--ns-border);
}
.nova-btn--outline:hover { border-color: var(--ns-accent); color: var(--ns-accent); }

.nova-btn--lg { padding: 1.05em 2em; font-size: 1rem; }
.nova-btn__icon, .nova-link-arrow__icon { width: 16px; height: 16px; }

.nova-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	color: var(--ns-accent);
}
.nova-link-arrow:hover { gap: 0.6em; }

.nova-tag {
	display: inline-block;
	padding: 0.3em 0.9em;
	border-radius: var(--ns-radius-pill);
	background: rgba(var(--ns-accent-rgb), 0.1);
	color: var(--ns-accent);
	font-size: 0.78rem;
	font-weight: 600;
	margin-bottom: 0.75em;
}
.nova-tag--outline {
	background: transparent;
	border: 1px solid var(--ns-border);
	color: var(--ns-text-muted);
	margin-right: 0.4em;
}

.nova-icon { width: 24px; height: 24px; }
.nova-icon--lg { width: 36px; height: 36px; }

/* -------------------------------------------------------------
   Header / capsule navigation
   ------------------------------------------------------------- */

.nova-header {
	position: sticky;
	top: 0;
	z-index: 999;
	padding-top: 16px;
}

.nova-nav-wrap { padding-inline: clamp(1rem, 3vw, 2rem); }

.nova-nav {
	max-width: 1100px;
	margin-inline: auto;
	background: var(--ns-dark);
	border-radius: var(--ns-radius-pill);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.5rem 0.6rem 0.5rem 1.5rem;
	box-shadow: var(--ns-shadow-lg);
}

.nova-nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nova-nav__brand img { max-height: 34px; width: auto; }
.nova-nav__logo-text {
	font-family: var(--ns-font-heading);
	font-weight: 800;
	font-size: 1.15rem;
	color: #fff;
}

.nova-nav__menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}

.nova-nav__link {
	display: flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.6em 1em;
	border-radius: var(--ns-radius-pill);
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.92rem;
	font-weight: 500;
}
.nova-nav__link:hover,
.current-menu-item > .nova-nav__link {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.nova-nav__item--has-children { position: relative; }
.nova-nav__submenu {
	list-style: none;
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	min-width: 220px;
	background: var(--ns-surface);
	border-radius: var(--ns-radius-md);
	box-shadow: var(--ns-shadow-md);
	padding: 0.5rem;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--ns-transition), transform var(--ns-transition), visibility var(--ns-transition);
}
.nova-nav__item--has-children:hover > .nova-nav__submenu,
.nova-nav__item--has-children:focus-within > .nova-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nova-nav__submenu .nova-nav__link { color: var(--ns-text); }
.nova-nav__submenu .nova-nav__link:hover { background: var(--ns-bg); }
.nova-nav__caret { margin-left: 2px; }

.nova-nav__actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nova-nav__cta { padding: 0.6em 1.4em; font-size: 0.9rem; }

.nova-nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 0;
}
.nova-nav__toggle-bar {
	width: 18px;
	height: 2px;
	background: #fff;
	margin-inline: auto;
	transition: transform var(--ns-transition), opacity var(--ns-transition);
}
.nova-nav__toggle[aria-expanded="true"] .nova-nav__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nova-nav__toggle[aria-expanded="true"] .nova-nav__toggle-bar:nth-child(2) { opacity: 0; }
.nova-nav__toggle[aria-expanded="true"] .nova-nav__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nova-mobile-menu {
	max-width: 1100px;
	margin: 0.75rem auto 0;
	background: var(--ns-dark);
	border-radius: var(--ns-radius-md);
	padding: 1rem;
	display: none;
	flex-direction: column;
	gap: 0.25rem;
}
.nova-mobile-menu.is-open { display: flex; }
.nova-mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.nova-mobile-menu__list a {
	display: block;
	padding: 0.75em 0.5em;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
}
.nova-mobile-menu__list a:hover { color: #fff; }
.nova-mobile-menu__cta { justify-content: center; margin-top: 0.5rem; }

@media (max-width: 920px) {
	.nova-nav__menu { display: none; }
	.nova-nav__toggle { display: flex; }
	.nova-nav__cta { display: none; }
}

.nova-header.is-scrolled .nova-nav { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28); }

.nova-mobile-menu__list .sub-menu { list-style: none; padding-left: 1rem; margin: 0; display: none; }
.nova-mobile-menu__list .menu-item-has-children.is-expanded > .sub-menu { display: block; }

/* -------------------------------------------------------------
   Hero
   ------------------------------------------------------------- */

.nova-hero {
	padding-block: clamp(3rem, 8vw, 6rem) 0;
	text-align: center;
	background: radial-gradient(120% 100% at 50% 0%, #241454 0%, var(--ns-dark) 55%);
	color: #fff;
}
.nova-hero__inner { max-width: 820px; margin-inline: auto; }

.nova-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.5em 1.1em;
	border-radius: var(--ns-radius-pill);
	background: var(--ns-surface);
	color: var(--ns-text);
	box-shadow: var(--ns-shadow-sm);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}
.nova-hero__badge-icon { width: 16px; height: 16px; color: #F5A623; fill: #F5A623; }

.nova-hero__eyebrow-heading {
	font-family: var(--ns-font-heading);
	font-weight: 700;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 0.75rem;
}
.nova-hero__heading { font-size: clamp(2.75rem, 7vw, 4.5rem); color: #fff; margin-bottom: 0.5em; }
.nova-hero__subheading { font-size: 1.15rem; color: rgba(255, 255, 255, 0.65); max-width: 620px; margin-inline: auto; }

.nova-hero__trust-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-top: 1.5rem;
	padding: 0.5em 1.1em;
	border-radius: var(--ns-radius-pill);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.85);
}
.nova-hero__trust-chip-icon { width: 14px; height: 14px; color: #34D399; flex-shrink: 0; }

/* Front page only: the sticky nav sits directly above the hero in normal
   document flow (not layered over it), so without this the page's light
   background would show through as a thin seam above the dark hero. */
.is-front-page .nova-header { background: var(--ns-dark); }

/* Shared "infinite marquee" engine: reused by the homepage Gallery strip
   and the Testimonials section below. Each row's content is rendered
   twice back-to-back (see the PHP template parts) so animating from
   translateX(0) to translateX(-50%) loops seamlessly. */
.nova-marquee__row { overflow: hidden; }
.nova-marquee__track {
	display: flex;
	width: max-content;
	gap: 1rem;
	animation: nova-marquee-scroll 44s linear infinite;
}
.nova-marquee__row--reverse .nova-marquee__track {
	animation-direction: reverse;
	animation-duration: 56s;
}
.nova-marquee__row:hover .nova-marquee__track { animation-play-state: paused; }

@keyframes nova-marquee-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.nova-marquee__track { animation: none; }
}

/* Nested inside .nova-hero, directly under the CTA button (see hero.php),
   so it reads as one continuous hero block rather than a separate section
   — no background of its own, and a tighter top gap than a standalone
   section would use. */
.nova-gallery-marquee {
	margin-top: clamp(2rem, 4vw, 3rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow: hidden;
}
.nova-gallery-marquee__item {
	flex: 0 0 auto;
	width: clamp(180px, 22vw, 260px);
	aspect-ratio: 4 / 3;
	border-radius: var(--ns-radius-md);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
}
.nova-gallery-marquee__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--ns-transition), filter var(--ns-transition); }
.nova-gallery-marquee__item:hover img { transform: scale(1.06); filter: brightness(1.05); }

.nova-trusted-by { margin-top: clamp(3rem, 6vw, 5rem); padding-block: 2rem; background: var(--ns-surface); }
.nova-trusted-by__label { text-align: center; color: var(--ns-text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.nova-trusted-by__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: 1.5rem;
}
.nova-trusted-by__logo { opacity: 0.55; filter: grayscale(1); transition: opacity var(--ns-transition), filter var(--ns-transition); max-height: 32px; }
.nova-trusted-by__logo:hover { opacity: 1; filter: grayscale(0); }
.nova-trusted-by__logo img { max-height: 32px; width: auto; }

/* -------------------------------------------------------------
   Project showcase slider
   ------------------------------------------------------------- */

.nova-showcase { background: var(--ns-surface); }
/* Match .nova-container's max-width + centering so the slider's edge
   padding lines up with the section heading above it (and with every
   other section on the page). Without this cap, the track was a
   full-viewport-width row with only its own small inline padding, so on
   screens wider than ~1320px it stretched almost to the true browser
   edges while the heading stayed inside its centered 1240px column —
   the cards ended up with far less edge spacing than everything else. */
.nova-showcase__track {
	position: relative;
	max-width: var(--ns-container);
	margin-inline: auto;
}
.nova-showcase__slides {
	display: flex;
	gap: var(--ns-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
	scrollbar-width: none;
}
.nova-showcase__slides::-webkit-scrollbar { display: none; }

.nova-showcase__slide {
	scroll-snap-align: start;
	flex: 0 0 min(420px, 85vw);
	background: var(--ns-bg);
	border-radius: var(--ns-radius-lg);
	overflow: hidden;
	box-shadow: var(--ns-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform var(--ns-transition), box-shadow var(--ns-transition);
}
.nova-showcase__slide:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow-md); }
.nova-showcase__media { aspect-ratio: 16/10; background: var(--ns-border); overflow: hidden; }
.nova-showcase__media img { width: 100%; height: 100%; object-fit: cover; }
.nova-showcase__body { padding: 1.75rem; }
.nova-showcase__body h3 { margin-bottom: 0.4em; }
.nova-showcase__body p { color: var(--ns-text-muted); }

.nova-showcase__stats { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin: 1.25rem 0; }
.nova-showcase__stat-label { display: block; font-size: 0.75rem; color: var(--ns-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.nova-showcase__stat-value { display: block; font-family: var(--ns-font-heading); font-size: 1.4rem; font-weight: 700; color: var(--ns-accent); }

.nova-showcase__client { border-top: 1px solid var(--ns-border); padding-top: 1rem; display: flex; flex-direction: column; }
.nova-showcase__client span { color: var(--ns-text-muted); font-size: 0.85rem; }

.nova-showcase__nav { display: flex; justify-content: center; gap: 0.75rem; }
.nova-showcase__nav-icon {
	width: 46px; height: 46px; padding: 12px;
	border-radius: 50%;
	background: var(--ns-bg);
	border: 1px solid var(--ns-border);
}
.nova-showcase__nav-icon--prev { transform: rotate(180deg); }
button.nova-showcase__prev, button.nova-showcase__next { background: none; border: 0; padding: 0; }
button.nova-showcase__prev:hover .nova-showcase__nav-icon,
button.nova-showcase__next:hover .nova-showcase__nav-icon { background: var(--ns-accent); color: #fff; border-color: var(--ns-accent); }

/* -------------------------------------------------------------
   Showreel video
   ------------------------------------------------------------- */

.nova-showreel__frame {
	position: relative;
	max-width: 1000px;
	margin-inline: auto;
	border-radius: var(--ns-radius-lg);
	overflow: hidden;
	background: var(--ns-dark);
	box-shadow: var(--ns-shadow-md);
	aspect-ratio: 16 / 9;
}
.nova-showreel__video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	background: var(--ns-dark);
}
.nova-showreel__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 84px;
	height: 84px;
	border-radius: 50%;
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ns-dark);
	box-shadow: var(--ns-shadow-lg);
	transition: transform var(--ns-transition), background var(--ns-transition);
}
.nova-showreel__play svg { margin-left: 4px; }
.nova-showreel__play:hover { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.nova-showreel__frame.is-playing .nova-showreel__play { opacity: 0; visibility: hidden; pointer-events: none; }

/* -------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------- */

.nova-testimonials-marquee {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	overflow: hidden;
}
.nova-testimonial-card {
	flex: 0 0 auto;
	width: clamp(300px, 80vw, 380px);
	background: var(--ns-surface);
	border-radius: var(--ns-radius-md);
	padding: 1.75rem;
	box-shadow: var(--ns-shadow-sm);
	margin: 0;
	display: flex;
	flex-direction: column;
}
.nova-testimonial-card__quote-icon { width: 28px; height: 28px; color: rgba(var(--ns-accent-rgb), 0.35); margin-bottom: 0.5rem; }
.nova-testimonial-card blockquote { margin: 0.75rem 0; }
.nova-testimonial-card p { color: var(--ns-text-muted); font-size: 0.95rem; }
.nova-testimonial-card figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1rem; }
.nova-testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nova-testimonial-card figcaption strong { display: block; font-size: 0.92rem; }
.nova-testimonial-card figcaption small { color: var(--ns-text-muted); font-size: 0.8rem; }

.nova-avatar-initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(var(--ns-accent-rgb), 0.12);
	color: var(--ns-accent);
	font-weight: 700;
	font-size: 0.85rem;
}

.nova-stars { display: inline-flex; gap: 2px; }
.nova-star { color: var(--ns-border); }
.nova-star.is-filled { color: #F5A623; }
.nova-star-icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* -------------------------------------------------------------
   Feature highlights
   ------------------------------------------------------------- */

.nova-features { background: radial-gradient(120% 100% at 50% 0%, #241454 0%, var(--ns-dark) 55%); color: #fff; border-radius: var(--ns-radius-lg); margin-inline: clamp(1rem, 3vw, 2rem); }
.nova-features .nova-eyebrow { color: #C9B8FF; }
.nova-features h2 { color: #fff; }
.nova-features__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--ns-gap); }
.nova-feature-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--ns-radius-md);
	padding: 1.75rem;
	transition: background var(--ns-transition), border-color var(--ns-transition), transform var(--ns-transition);
}
.nova-feature-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(var(--ns-accent-rgb), 0.4); transform: translateY(-4px); }
.nova-feature-card__icon { display: inline-flex; padding: 0.7rem; border-radius: var(--ns-radius-sm); background: rgba(var(--ns-accent-rgb), 0.25); color: #C9B8FF; margin-bottom: 1rem; }
.nova-feature-card h3 { color: #fff; font-size: 1.05rem; }
.nova-feature-card p { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; margin-bottom: 0; }

/* -------------------------------------------------------------
   Services grid (home) + full services page
   ------------------------------------------------------------- */

.nova-services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--ns-gap); margin-bottom: 2rem; }
.nova-service-card { background: var(--ns-surface); border-radius: var(--ns-radius-md); padding: 1.9rem; box-shadow: var(--ns-shadow-sm); transition: transform var(--ns-transition), box-shadow var(--ns-transition); }
.nova-service-card:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow-md); }
.nova-service-card__icon { display: inline-flex; padding: 0.75rem; border-radius: var(--ns-radius-sm); background: rgba(var(--ns-accent-rgb), 0.1); color: var(--ns-accent); margin-bottom: 1.1rem; }
.nova-service-card p { color: var(--ns-text-muted); font-size: 0.92rem; }

.nova-services-full { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.nova-service-full {
	display: flex;
	flex-direction: column;
	background: var(--ns-surface);
	border-radius: var(--ns-radius-md);
	overflow: hidden;
	box-shadow: var(--ns-shadow-sm);
	transition: transform var(--ns-transition), box-shadow var(--ns-transition);
}
.nova-service-full:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow-md); }
.nova-service-full__media { aspect-ratio: 21 / 9; background: var(--ns-border); overflow: hidden; }
.nova-service-full__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nova-service-full__content {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 1.5rem;
	padding: 2rem;
}
.nova-service-full__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: var(--ns-radius-sm); background: rgba(var(--ns-accent-rgb), 0.1); color: var(--ns-accent); }
.nova-service-full__list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.5rem 1.5rem; }
.nova-service-full__list li { display: flex; align-items: center; gap: 0.5em; font-size: 0.9rem; color: var(--ns-text-muted); }
.nova-service-full__list-icon { width: 14px; height: 14px; color: var(--ns-accent); flex-shrink: 0; }

@media (max-width: 640px) {
	.nova-service-full__content { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   "Why Us" bento grid
   ------------------------------------------------------------- */

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

.nova-bento__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: minmax(200px, auto);
	gap: 1.5rem;
}
.nova-bento__cell--minds { grid-column: 1; grid-row: 1; }
.nova-bento__cell--tags { grid-column: 1; grid-row: 2; }
.nova-bento__cell--spotlight { grid-column: 2; grid-row: 1 / span 2; }
.nova-bento__cell--rating { grid-column: 3; grid-row: 1; }
.nova-bento__cell--presence { grid-column: 4; grid-row: 1; }
.nova-bento__cell--clients { grid-column: 3 / span 2; grid-row: 2; }

.nova-bento__cell {
	background: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	box-shadow: var(--ns-shadow-sm);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	margin: 0;
	transition: transform var(--ns-transition), box-shadow var(--ns-transition);
}
.nova-bento__cell:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow-md); }
.nova-bento__cell h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.nova-bento__cell p { color: var(--ns-text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* Creative minds */
.nova-bento__avatars { display: flex; align-items: center; margin-bottom: 1.25rem; }
.nova-bento__avatar,
.nova-bento__avatars .nova-avatar-initials {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--ns-surface);
	margin-left: -12px;
	flex-shrink: 0;
}
.nova-bento__avatar:first-child,
.nova-bento__avatars .nova-avatar-initials:first-child { margin-left: 0; }
.nova-bento__avatar-count {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(var(--ns-accent-rgb), 0.12);
	color: var(--ns-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.8rem;
	margin-left: -12px;
	border: 2px solid var(--ns-surface);
}

/* Capability tags */
.nova-bento__cell--tags { justify-content: center; }
.nova-bento__tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.nova-bento__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.5em 1em;
	border-radius: var(--ns-radius-pill);
	background: var(--ns-bg);
	border: 1px solid var(--ns-border);
	font-size: 0.85rem;
	font-weight: 600;
}
.nova-bento__tag.is-accent { background: rgba(var(--ns-accent-rgb), 0.12); border-color: transparent; color: var(--ns-accent); }
.nova-bento__tag-icon { width: 12px; height: 12px; flex-shrink: 0; }

/* Testimonial spotlight */
.nova-bento__cell--spotlight {
	padding: 0;
	overflow: hidden;
	background: linear-gradient(160deg, #5B3DE0, var(--ns-dark));
	color: #fff;
	justify-content: flex-end;
	position: relative;
	min-height: 320px;
}
.nova-bento__spotlight-photo { position: absolute; inset: 0; z-index: 0; }
.nova-bento__spotlight-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.nova-bento__spotlight-quote {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 1.75rem 1.75rem 0.5rem;
}
.nova-bento__spotlight-quote p { color: #fff; font-size: 0.95rem; margin: 0; }
.nova-bento__spotlight-author {
	position: relative;
	z-index: 1;
	padding: 0 1.75rem 1.75rem;
	display: flex;
	flex-direction: column;
}
.nova-bento__spotlight-author strong { font-size: 1rem; }
.nova-bento__spotlight-author span { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }

/* Rating */
.nova-bento__cell--rating { background: linear-gradient(160deg, #E4F5DE, var(--ns-surface)); justify-content: center; }
.nova-bento__rating-icon { width: 32px; height: 32px; color: #F5A623; fill: #F5A623; margin-bottom: 0.75rem; }
.nova-bento__rating-value { font-family: var(--ns-font-heading); font-size: 2.25rem; font-weight: 800; margin-bottom: 0.5rem; }

/* Global presence */
.nova-bento__chip-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nova-bento__chip-list li {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.4em 0.9em;
	border-radius: var(--ns-radius-pill);
	background: var(--ns-bg);
	border: 1px solid var(--ns-border);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ns-text);
}
.nova-bento__chip-icon { width: 12px; height: 12px; color: var(--ns-accent); flex-shrink: 0; }

/* Global clients */
.nova-bento__cell--clients { background: linear-gradient(135deg, #FCEFC7, var(--ns-surface)); justify-content: center; }

@media (max-width: 1024px) {
	.nova-bento__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(180px, auto); }
	.nova-bento__cell--minds { grid-column: 1; grid-row: 1; }
	.nova-bento__cell--tags { grid-column: 1; grid-row: 2; }
	.nova-bento__cell--spotlight { grid-column: 2; grid-row: 1 / span 2; }
	.nova-bento__cell--rating { grid-column: 1; grid-row: 3; }
	.nova-bento__cell--presence { grid-column: 2; grid-row: 3; }
	.nova-bento__cell--clients { grid-column: 1 / span 2; grid-row: 4; }
}

@media (max-width: 640px) {
	.nova-bento__grid { grid-template-columns: 1fr; }
	.nova-bento__cell--minds,
	.nova-bento__cell--tags,
	.nova-bento__cell--spotlight,
	.nova-bento__cell--rating,
	.nova-bento__cell--presence,
	.nova-bento__cell--clients {
		grid-column: 1;
		grid-row: auto;
	}
	.nova-bento__cell--spotlight { min-height: 280px; }
}

.nova-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--ns-gap); }
.nova-team-card { text-align: center; }
.nova-team-card__photo {
	width: 140px;
	height: 140px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	overflow: hidden;
	background: var(--ns-border);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 4px transparent;
	transition: box-shadow var(--ns-transition), transform var(--ns-transition);
}
.nova-team-card:hover .nova-team-card__photo { box-shadow: 0 0 0 4px rgba(var(--ns-accent-rgb), 0.2); transform: translateY(-4px); }
.nova-team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.nova-team-card__photo .nova-avatar-initials { width: 100%; height: 100%; font-size: 1.5rem; border-radius: 0; }
.nova-team-card__role { color: var(--ns-accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75em; }
.nova-team-card__tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.nova-team-card__tags li { font-size: 0.72rem; padding: 0.25em 0.7em; border-radius: var(--ns-radius-pill); background: var(--ns-border); color: var(--ns-text-muted); }

/* -------------------------------------------------------------
   Pricing
   ------------------------------------------------------------- */

.nova-pricing-filters { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.nova-pricing-filters__row {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem;
	background: var(--ns-surface);
	padding: 0.35rem;
	border-radius: var(--ns-radius-pill);
	box-shadow: var(--ns-shadow-sm);
}
.nova-pricing-filters__item {
	background: none;
	border: 0;
	padding: 0.6em 1.2em;
	border-radius: var(--ns-radius-pill);
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--ns-text-muted);
}
.nova-pricing-filters__item.is-active { background: var(--ns-accent); color: #fff; }
.nova-pricing-filters__item--tier { font-size: 0.8rem; }

.nova-pricing__grid, .nova-pricing-teaser .nova-pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--ns-gap);
	align-items: stretch;
}
.nova-pricing-card {
	position: relative;
	background: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	transition: transform var(--ns-transition), box-shadow var(--ns-transition), border-color var(--ns-transition);
}
.nova-pricing-card:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow-md); border-color: var(--ns-accent); }
.nova-pricing-card.is-popular { border-color: var(--ns-accent); box-shadow: var(--ns-shadow-md); }
.nova-pricing-card.is-popular:hover { box-shadow: var(--ns-shadow-lg); }
.nova-pricing-card__badge {
	position: absolute;
	top: -12px;
	right: 1.5rem;
	background: var(--ns-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.3em 0.9em;
	border-radius: var(--ns-radius-pill);
}
.nova-pricing-card__price { margin: 0.5rem 0 1.5rem; }
.nova-pricing-card__amount { font-family: var(--ns-font-heading); font-size: 2.2rem; font-weight: 800; }
.nova-pricing-card__note { display: block; color: var(--ns-text-muted); font-size: 0.85rem; }
.nova-pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex-grow: 1; }
.nova-pricing-card__features li { display: flex; align-items: flex-start; gap: 0.6em; font-size: 0.9rem; padding: 0.4em 0; color: var(--ns-text-muted); }
.nova-pricing-card__check { width: 16px; height: 16px; color: var(--ns-accent); flex-shrink: 0; margin-top: 3px; transform: rotate(-45deg); }
.nova-pricing-card .nova-btn { justify-content: center; }

.nova-pricing-card[hidden] { display: none; }

/* -------------------------------------------------------------
   CTA + contact form
   ------------------------------------------------------------- */

.nova-cta { background: radial-gradient(120% 100% at 50% 0%, #241454 0%, var(--ns-dark) 55%); color: #fff; border-radius: var(--ns-radius-lg); margin-inline: clamp(1rem, 3vw, 2rem); }
.nova-cta h2 { color: #fff; }
.nova-cta p { color: rgba(255, 255, 255, 0.7); }
.nova-cta__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nova-cta__contact-list { list-style: none; padding: 0; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.nova-cta__contact-list a { font-weight: 600; display: inline-flex; align-items: center; gap: 0.5em; }
.nova-cta__contact-list a:hover { color: var(--ns-accent); }
.nova-cta__contact-icon { width: 18px; height: 18px; flex-shrink: 0; }

.nova-cta__form, .nova-contact-layout__form { background: var(--ns-surface); border-radius: var(--ns-radius-md); padding: 2rem; color: var(--ns-text); }

.nova-contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.nova-form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.nova-form-row label { font-size: 0.85rem; font-weight: 600; }
.nova-form-row input, .nova-form-row textarea {
	font-family: inherit;
	padding: 0.8em 1em;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	background: var(--ns-bg);
	color: var(--ns-text);
	resize: vertical;
}
.nova-form-row input:focus, .nova-form-row textarea:focus { border-color: var(--ns-accent); }
.nova-form-honeypot { position: absolute; left: -9999px; }
.nova-form-notice { padding: 0.9em 1.2em; border-radius: var(--ns-radius-sm); font-size: 0.9rem; }
.nova-form-notice--success { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.nova-form-notice--error { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

@media (max-width: 860px) {
	.nova-cta__inner { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */

.nova-footer { background: var(--ns-dark); color: rgba(255, 255, 255, 0.7); padding-block: clamp(3rem, 6vw, 5rem) 2rem; margin-top: var(--ns-section-space); }
.nova-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nova-footer__brand .nova-nav__logo-text { color: #fff; }
.nova-footer__brand img { max-height: 48px; width: auto; }
.nova-footer__tagline { margin-top: 1rem; max-width: 340px; font-size: 0.92rem; }
/* Fixed 4-track grid, not auto-fit: auto-fit picks however many
   minmax(150px, 1fr) tracks fit the available width, and with all 4
   footer columns filled in, that math falls just short (the columns area
   is ~2/3.2 of .nova-footer__top's width, which comes out to less than
   4×150px + gaps at typical container widths) — so the 4th column would
   wrap to its own row instead of sitting inline. A fixed 4-column grid
   always keeps exactly 4 tracks side by side and just lets them (and their
   text) shrink together instead. */
.nova-footer__columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.nova-footer .widget-title { color: #fff; font-family: var(--ns-font-heading); font-size: 0.95rem; margin-bottom: 1rem; }
.nova-footer__menu, .nova-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.nova-footer a:hover { color: #fff; }

.nova-footer__contact { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-block: 1.5rem; font-size: 0.9rem; }

.nova-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.nova-socials {
	list-style: none;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	padding: 0;
	margin: 1rem 0 0;
}
.nova-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid var(--ns-border);
	color: var(--ns-text);
	transition: background var(--ns-transition), color var(--ns-transition), border-color var(--ns-transition);
}
.nova-socials a:hover { background: var(--ns-accent); border-color: var(--ns-accent); color: #fff; }
.nova-socials__icon { width: 18px; height: 18px; }

/* `.nova-footer ul` (above, for widget/menu lists) sets flex-direction:
   column and carries higher specificity than `.nova-socials` alone;
   chaining both classes here keeps this row horizontal regardless of
   source order. */
.nova-socials.nova-footer__socials {
	flex-direction: row;
}
.nova-footer__socials a {
	border-color: rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.04);
}
.nova-footer__socials a:hover { background: var(--ns-accent); border-color: var(--ns-accent); color: #fff; }

@media (max-width: 780px) {
	.nova-footer__top { grid-template-columns: 1fr; }
}

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

/* -------------------------------------------------------------
   Blog / archive / single post
   ------------------------------------------------------------- */

.nova-archive-header { text-align: center; max-width: 720px; margin: clamp(2rem, 5vw, 4rem) auto; }
.nova-archive-header__desc { color: var(--ns-text-muted); }

.nova-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: var(--ns-section-space); }
.nova-layout--with-sidebar { grid-template-columns: 2fr 1fr; }

.nova-post-grid, .nova-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--ns-gap); }

.nova-post-card, .nova-project-card {
	background: var(--ns-surface);
	border-radius: var(--ns-radius-md);
	overflow: hidden;
	box-shadow: var(--ns-shadow-sm);
	transition: transform var(--ns-transition), box-shadow var(--ns-transition);
}
.nova-post-card:hover, .nova-project-card:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow-md); }
.nova-post-card__thumb, .nova-project-card__thumb { aspect-ratio: 16/10; overflow: hidden; display: block; background: var(--ns-border); }
.nova-post-card__thumb img, .nova-project-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nova-post-card__body, .nova-project-card__body { padding: 1.5rem; }
.nova-post-card__title { font-size: 1.15rem; margin-bottom: 0.5em; }
.nova-post-card__excerpt { color: var(--ns-text-muted); font-size: 0.92rem; }
.nova-post-card__title a:hover,
.nova-project-card__body h3 a:hover,
.nova-showcase__body h3 a:hover { color: var(--ns-accent); }

.nova-post-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; color: var(--ns-text-muted); margin-bottom: 0.75rem; flex-wrap: wrap; }
.nova-post-meta img { border-radius: 50%; }

.nova-single-post__header { text-align: center; max-width: 760px; margin: clamp(2rem, 5vw, 3rem) auto 2rem; }
.nova-single-post__header .nova-post-meta { justify-content: center; }
.nova-single-post__thumb { max-width: 1100px; margin: 0 auto clamp(2rem, 5vw, 3rem); border-radius: var(--ns-radius-lg); overflow: hidden; }
.nova-single-post__tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ns-border); }

/* No sidebar on single posts by design (see single.php) — a comfortable
   reading column instead of stretching to the full .nova-container width. */
.nova-single-post__content { max-width: 760px; padding-bottom: var(--ns-section-space); }

.widget { margin-bottom: 2.5rem; }
.widget-title { font-family: var(--ns-font-heading); margin-bottom: 1rem; }

/* Sidebar widgets (Appearance > Widgets > Blog Sidebar): each widget gets
   its own card, consistent with the rest of the theme, rather than the
   unstyled default list/link markup WordPress core widgets output. */
.nova-layout__sidebar { display: flex; flex-direction: column; }
.nova-layout__sidebar .widget {
	background: var(--ns-surface);
	border-radius: var(--ns-radius-md);
	box-shadow: var(--ns-shadow-sm);
	padding: 1.75rem;
	margin-bottom: 1.75rem;
}
.nova-layout__sidebar .widget:last-child { margin-bottom: 0; }
.nova-layout__sidebar .widget-title {
	font-size: 1.05rem;
	padding-bottom: 0.85rem;
	margin-bottom: 1.1rem;
	border-bottom: 1px solid var(--ns-border);
}

.nova-layout__sidebar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.nova-layout__sidebar ul ul { margin-top: 0.65rem; padding-left: 1.1rem; }
.nova-layout__sidebar li { font-size: 0.92rem; color: var(--ns-text-muted); }
.nova-layout__sidebar li a { color: inherit; }
.nova-layout__sidebar li a:hover { color: var(--ns-accent); }
.nova-layout__sidebar .children { margin-top: 0.65rem; }

.nova-layout__sidebar select {
	width: 100%;
	padding: 0.6em 0.8em;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	background: var(--ns-bg);
	color: var(--ns-text);
	font-family: inherit;
}

.nova-layout__sidebar .nova-search-form { margin: 0; }

.nova-layout__sidebar .tagcloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nova-layout__sidebar .tagcloud a {
	display: inline-block;
	padding: 0.35em 0.9em;
	border-radius: var(--ns-radius-pill);
	background: var(--ns-bg);
	color: var(--ns-text-muted);
}
.nova-layout__sidebar .tagcloud a:hover { background: var(--ns-accent); color: #fff; }

.nova-layout__sidebar #wp-calendar { width: 100%; border-collapse: collapse; font-size: 0.85rem; text-align: center; }
.nova-layout__sidebar #wp-calendar caption { font-weight: 700; text-align: left; padding-bottom: 0.75rem; }
.nova-layout__sidebar #wp-calendar th { color: var(--ns-text-muted); font-weight: 600; padding-bottom: 0.5rem; }
.nova-layout__sidebar #wp-calendar td { padding: 0.35em; }
.nova-layout__sidebar #wp-calendar a { color: var(--ns-accent); font-weight: 700; }
.nova-layout__sidebar #wp-calendar tfoot a { font-size: 0.8rem; }

.nova-project-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.nova-project-filters__item { padding: 0.55em 1.2em; border-radius: var(--ns-radius-pill); background: var(--ns-surface); font-size: 0.85rem; font-weight: 600; color: var(--ns-text-muted); box-shadow: var(--ns-shadow-sm); }
.nova-project-filters__item.is-active, .nova-project-filters__item:hover { background: var(--ns-accent); color: #fff; }

.nova-project-hero { text-align: center; max-width: 780px; margin: clamp(2rem, 5vw, 3rem) auto 2rem; }
.nova-project-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
.nova-project-hero__meta-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ns-text-muted); }
.nova-project-hero__meta-value { display: block; font-weight: 700; font-family: var(--ns-font-heading); }
.nova-project-hero__image { max-width: 1100px; margin: 0 auto clamp(2rem, 5vw, 3rem); border-radius: var(--ns-radius-lg); overflow: hidden; }
.nova-project-content { margin-bottom: var(--ns-section-space); }

@media (max-width: 900px) {
	.nova-layout--with-sidebar { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   Media coverage page
   ------------------------------------------------------------- */

.nova-media-coverage__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--ns-gap);
	padding-bottom: var(--ns-section-space);
}
.nova-media-coverage-card {
	display: flex;
	gap: 1.25rem;
	background: var(--ns-surface);
	border-radius: var(--ns-radius-md);
	box-shadow: var(--ns-shadow-sm);
	padding: 1.5rem;
	transition: transform var(--ns-transition), box-shadow var(--ns-transition);
}
.nova-media-coverage-card:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow-md); }
.nova-media-coverage-card__logo {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: var(--ns-radius-sm);
	background: var(--ns-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-align: center;
	padding: 0.5rem;
}
.nova-media-coverage-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.nova-media-coverage-card__logo span { font-size: 0.75rem; font-weight: 700; color: var(--ns-text-muted); line-height: 1.2; }

.nova-media-coverage-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--ns-text-muted);
	margin-bottom: 0.5rem;
}
.nova-media-coverage-card__body h2 { font-size: 1.05rem; margin-bottom: 0.5em; }
.nova-media-coverage-card__body h2 a:hover { color: var(--ns-accent); }
.nova-media-coverage-card__body p { color: var(--ns-text-muted); font-size: 0.9rem; margin-bottom: 0.75em; }

@media (max-width: 480px) {
	.nova-media-coverage-card { flex-direction: column; }
	.nova-media-coverage-card__logo { width: 64px; height: 64px; }
}

/* -------------------------------------------------------------
   Contact page layout
   ------------------------------------------------------------- */

.nova-contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: var(--ns-section-space); }
.nova-contact-info-item { margin-bottom: 1.75rem; }
.nova-contact-info-item__label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ns-text-muted); margin-bottom: 0.4em; }
.nova-contact-info-item a { font-weight: 600; font-size: 1.05rem; }
.nova-contact-info-item a:hover { color: var(--ns-accent); }

@media (max-width: 780px) {
	.nova-contact-layout { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   Search form, breadcrumbs, pagination, 404, comments
   ------------------------------------------------------------- */

.nova-search-form { display: flex; max-width: 480px; }
.nova-search-form__field { flex-grow: 1; padding: 0.8em 1.2em; border: 1px solid var(--ns-border); border-radius: var(--ns-radius-pill) 0 0 var(--ns-radius-pill); border-right: 0; }
.nova-search-form__submit { border: 1px solid var(--ns-border); background: var(--ns-dark); color: #fff; border-radius: 0 var(--ns-radius-pill) var(--ns-radius-pill) 0; padding: 0 1.2em; }

.nova-breadcrumbs { font-size: 0.85rem; color: var(--ns-text-muted); margin-top: 1.5rem; }
.nova-breadcrumbs a:hover { color: var(--ns-accent); }
.nova-breadcrumbs__sep { margin: 0 0.5em; }

.nova-pagination ul { list-style: none; display: flex; justify-content: center; gap: 0.4rem; padding: 0; margin-top: 2rem; }
.nova-pagination a, .nova-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 0.5em;
	border-radius: var(--ns-radius-sm);
	background: var(--ns-surface);
	box-shadow: var(--ns-shadow-sm);
	font-size: 0.85rem;
	font-weight: 600;
}
.nova-pagination .current { background: var(--ns-accent); color: #fff; }
.nova-page-icon { width: 14px; height: 14px; }

.nova-404 { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.nova-404__code { font-family: var(--ns-font-heading); font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: rgba(var(--ns-accent-rgb), 0.18); display: block; line-height: 1; }
.nova-404__search { margin-top: 2rem; display: flex; justify-content: center; }

.nova-no-results { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }

/* -------------------------------------------------------------
   Comments (blog single/page)
   ------------------------------------------------------------- */

.nova-comments { max-width: 760px; margin: var(--ns-section-space) auto 0; }
.nova-comments__title { margin-bottom: 1.5rem; }

.nova-comments__empty,
.nova-comments__closed {
	color: var(--ns-text-muted);
	background: var(--ns-surface);
	border: 1px dashed var(--ns-border);
	border-radius: var(--ns-radius-sm);
	padding: 1.25em 1.5em;
	font-size: 0.92rem;
}

/* Comment list */

.nova-comment-list,
.nova-comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nova-comment-list .children {
	margin-top: 1.25rem;
	padding-left: clamp(1rem, 4vw, 2.25rem);
	border-left: 2px solid var(--ns-border);
}
.nova-comment-list > li + li,
.nova-comment-list .children > li + li {
	margin-top: 1.25rem;
}

.nova-comment-list .comment-body {
	background: var(--ns-surface);
	border-radius: var(--ns-radius-md);
	box-shadow: var(--ns-shadow-sm);
	padding: 1.5rem;
}
.nova-comment-list .bypostauthor > .comment-body { border: 1px solid rgba(var(--ns-accent-rgb), 0.35); }

.nova-comment-list .comment-meta { display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 0.9rem; }
.nova-comment-list .comment-author { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.nova-comment-list .comment-author .avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex-shrink: 0;
}
.nova-comment-list .comment-author .fn { font-style: normal; font-weight: 700; font-size: 0.95rem; }
.nova-comment-list .comment-author .says { display: none; }
.nova-comment-list .comment-metadata {
	display: block;
	font-size: 0.78rem;
	color: var(--ns-text-muted);
	margin-top: 0.15rem;
}
.nova-comment-list .comment-metadata a { color: inherit; }
.nova-comment-list .comment-metadata a:hover { color: var(--ns-accent); }
.nova-comment-list .comment-metadata .edit-link::before { content: '\2022'; margin: 0 0.4em; }

.nova-comment-list .comment-content { font-size: 0.95rem; color: var(--ns-text); }
.nova-comment-list .comment-content p:last-child { margin-bottom: 0; }

.nova-comment-list .comment-awaiting-moderation {
	display: inline-block;
	margin-top: 0.75rem;
	font-style: normal;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ns-accent);
	background: rgba(var(--ns-accent-rgb), 0.1);
	padding: 0.3em 0.8em;
	border-radius: var(--ns-radius-pill);
}

.nova-comment-list .reply { margin-top: 1rem; }
.nova-comment-list .comment-reply-link {
	display: inline-flex;
	align-items: center;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ns-accent);
}
.nova-comment-list .comment-reply-link:hover { text-decoration: underline; }

/* Comments pagination (the_comments_pagination — separate markup from paginate_links) */

.comments-pagination { margin-top: 2rem; }
.comments-pagination .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.comments-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 0.5em;
	border-radius: var(--ns-radius-sm);
	background: var(--ns-surface);
	box-shadow: var(--ns-shadow-sm);
	font-size: 0.85rem;
	font-weight: 600;
}
.comments-pagination .page-numbers.current { background: var(--ns-accent); color: #fff; }

/* Comment (reply) form */

.comment-respond {
	background: var(--ns-surface);
	border-radius: var(--ns-radius-md);
	box-shadow: var(--ns-shadow-sm);
	padding: clamp(1.5rem, 4vw, 2.25rem);
	margin-top: 2rem;
}
.comment-reply-title {
	margin-bottom: 0.3em;
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.comment-reply-title small { font-size: 0.8rem; font-weight: 500; }
#cancel-comment-reply-link { color: var(--ns-accent); }

.comment-notes, .comment-form-cookies-consent { color: var(--ns-text-muted); font-size: 0.85rem; }
.required { color: var(--ns-accent); text-decoration: none; }

.nova-comment-form p { margin: 0 0 1.1rem; }
.nova-comment-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }

.nova-comment-form input[type="text"],
.nova-comment-form input[type="email"],
.nova-comment-form input[type="url"],
.nova-comment-form textarea {
	width: 100%;
	padding: 0.8em 1em;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	background: var(--ns-bg);
	color: var(--ns-text);
	font-family: inherit;
	font-size: 0.95rem;
}
.nova-comment-form input:focus, .nova-comment-form textarea:focus { border-color: var(--ns-accent); }
.nova-comment-form textarea { resize: vertical; min-height: 140px; }

.nova-comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
}
.nova-comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.nova-comment-form .comment-form-cookies-consent input { width: auto; margin-top: 0.2em; }

.nova-comment-form .form-submit { margin-bottom: 0; }
.nova-comment-form input[type="submit"].nova-btn {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid transparent;
}

@media (min-width: 640px) {
	.nova-comment-form .comment-form-author,
	.nova-comment-form .comment-form-email {
		float: left;
		width: calc(50% - 0.5rem);
		box-sizing: border-box;
	}
	.nova-comment-form .comment-form-author { margin-right: 1rem; }
	.nova-comment-form .comment-form-url { clear: both; }
}

/* -------------------------------------------------------------
   Reveal-on-scroll animation hook (progressive enhancement, see main.js)
   ------------------------------------------------------------- */

[data-nova-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 600ms ease, transform 600ms ease;
}
[data-nova-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	[data-nova-reveal] { opacity: 1; transform: none; transition: none; }
	.nova-btn:hover { transform: none; }
}

/* -------------------------------------------------------------
   Small phones (≤400px)
   ------------------------------------------------------------- */

/* A few grids use a fixed minmax() minimum (300-320px) that's fine at
   normal phone widths, but on the narrowest real devices (320px viewport,
   e.g. iPhone SE) the container's content width after padding is only
   ~280px — less than that minimum. Grid can't shrink below its minmax
   floor, so the card would run past the edge; body's `overflow-x: hidden`
   then just clips it instead of showing a scrollbar. Forcing one column
   here removes the floor entirely so nothing depends on that math. */
@media (max-width: 400px) {
	.nova-post-grid,
	.nova-project-grid,
	.nova-media-coverage__grid {
		grid-template-columns: 1fr;
	}
}
