/* =========================================================================
   SAID VISUAL — design system
   Dark, cinematic, editorial. One token set drives every template + block.
   ========================================================================= */

:root {
	--bg: #0a0a0c;
	--bg-raised: #111114;
	--surface: #16161a;
	--surface-2: #1e1e23;
	--border: rgba(255, 255, 255, 0.09);
	--border-strong: rgba(255, 255, 255, 0.18);
	--text: #f3f2ee;
	--text-muted: #a4a3ab;
	--text-faint: #6f6e77;
	--accent: #c9a15b;
	--accent-dim: rgba(201, 161, 91, 0.15);
	--accent-contrast: #0a0a0c;

	--font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--container: 1200px;
	--container-narrow: 760px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--section-pad: clamp(4rem, 10vw, 8rem);

	--radius: 6px;
	--radius-lg: 14px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------
   Reset & base
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.6em;
	color: var(--text);
}
p { margin: 0 0 1.2em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }
::selection { background: var(--accent); color: var(--accent-contrast); }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden; white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Layout helpers
   ---------------------------------------------------------------------- */
.wrap {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.alignfull { max-width: none !important; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.alignwide { max-width: 1400px; margin-inline: auto; }

/* Core block baseline (dark-mode tuned) */
.wp-block-group { position: relative; }
.wp-block-columns { gap: clamp(1.5rem, 4vw, 3rem); }
.wp-block-column { flex: 1; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--accent);
	color: var(--accent-contrast) !important;
	padding: 0.95rem 2.1rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.wp-block-button__link:hover { background: #ddb877; transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--text) !important;
	border: 1px solid var(--border-strong);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--accent);
	color: var(--accent) !important;
	background: var(--accent-dim);
}
.wp-block-image img { border-radius: var(--radius); }
.wp-block-separator.svp-sep { border-color: var(--border); margin: 0 auto; max-width: var(--container-narrow); }

/* -------------------------------------------------------------------------
   Reveal-on-scroll (JS adds .is-visible)
   ---------------------------------------------------------------------- */
.svp-section, .svp-hero, .svp-timeline__item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.svp-section.is-visible, .svp-hero.is-visible, .svp-timeline__item.is-visible {
	opacity: 1;
	transform: none;
}
.no-js .svp-section, .no-js .svp-hero, .no-js .svp-timeline__item { opacity: 1; transform: none; }

/* Staggered per-item reveal for grid/card children (JS sets --i per item) */
.reveal-stagger {
	opacity: 0;
	transform: translateY(30px) scale(0.97);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-stagger.is-visible { opacity: 1; transform: none; }
.no-js .reveal-stagger { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   Tilt/lift hover (JS sets inline transform on mousemove)
   ---------------------------------------------------------------------- */
.tilt-el { transition: transform 0.2s var(--ease); will-change: transform; }

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	padding: 1.25rem 0;
	background: linear-gradient(to bottom, rgba(10,10,12,0.85), transparent);
	transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(10, 10, 12, 0.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	padding: 0.85rem 0;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo {
	font-family: var(--font-display);
	font-size: 1.4rem;
	letter-spacing: 0.04em;
	font-weight: 600;
}
.site-logo span { color: var(--accent); }
.site-nav ul { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); list-style: none; }
.site-nav a {
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--text-muted);
	position: relative;
	padding-bottom: 4px;
	transition: color 0.3s var(--ease);
}
.site-nav a:hover, .site-nav .current-menu-item a { color: var(--text); }
.site-nav a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
	background: var(--accent); transition: width 0.3s var(--ease);
}
.site-nav a:hover::after, .site-nav .current-menu-item a::after { width: 100%; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none; border: none; cursor: pointer; padding: 8px;
	z-index: 110;
}
.nav-toggle__bar { width: 24px; height: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
body.mobile-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.mobile-nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.mobile-nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed; inset: 0; z-index: 105; background: var(--bg);
		display: flex; align-items: center; justify-content: center;
		opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease);
	}
	body.mobile-nav-open .site-nav { opacity: 1; visibility: visible; }
	.site-nav ul { flex-direction: column; gap: 2rem; text-align: center; }
	.site-nav a { font-size: 1.4rem; }
}

/* Prevents the page behind the full-screen mobile menu from scrolling.
   body is pinned with position:fixed at its current scroll offset (JS sets
   `top`) rather than just `overflow:hidden` — on iOS Safari, overflow:hidden
   alone doesn't reliably freeze the background once the page has already
   been scrolled, so the overlay can render against the wrong offset and
   appear not to open at all. */
html.mobile-nav-open { overflow: hidden; }
body.mobile-nav-open { position: fixed; left: 0; right: 0; overflow: hidden; }

/* -------------------------------------------------------------------------
   Generic sections
   ---------------------------------------------------------------------- */
.svp-section { padding-block: var(--section-pad); max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.svp-eyebrow {
	text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem;
	color: var(--accent); font-weight: 600; margin-bottom: 1rem;
}
.svp-display { font-size: clamp(2.75rem, 15vw, 8rem); line-height: 0.95; margin: 0; }
.svp-display-sm { font-size: clamp(2.25rem, 6vw, 4rem); max-width: 20ch; }
.svp-hero__line { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; color: var(--text-muted); margin-top: 0.4em; }
.svp-lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 46ch; color: var(--text-muted); }
.svp-statement { font-size: clamp(1.75rem, 3.5vw, 2.75rem); max-width: 18ch; margin-bottom: 1.5rem; }
.svp-tags { color: var(--text-faint); font-size: 0.95rem; letter-spacing: 0.02em; }
.svp-caption { font-size: 0.85rem; color: var(--text-faint); margin-top: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; }
.svp-page-hero { padding-top: calc(var(--section-pad) + 4rem); text-align: left; }

/* -------------------------------------------------------------------------
   Home — Hero
   ---------------------------------------------------------------------- */
.svp-hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: 0; overflow: hidden; }
.svp-hero__bg {
	position: absolute !important; inset: 0; margin: 0 !important;
	width: 100% !important; height: 100%; max-width: none !important;
}
.svp-hero__bg img {
	width: 100%; height: 100%; object-fit: cover; border-radius: 0;
	filter: brightness(0.55) saturate(1.05);
	transform: scale(1.12);
	transform-origin: center;
	will-change: transform;
}

/* -------------------------------------------------------------------------
   Marquee ticker (injected by JS right after .svp-hero)
   ---------------------------------------------------------------------- */
.svp-marquee {
	overflow: hidden; background: var(--bg-raised);
	border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
	padding-block: 1.15rem;
}
.svp-marquee__track { display: flex; width: max-content; gap: 2.5rem; animation: svp-marquee-scroll 32s linear infinite; }
.svp-marquee__track span {
	font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.35rem);
	text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); white-space: nowrap;
}
.svp-marquee__track span.svp-marquee__dot { color: var(--accent); }
@keyframes svp-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .svp-marquee__track { animation: none; } }

/* -------------------------------------------------------------------------
   Lightbox (JS-injected, used on project gallery images)
   ---------------------------------------------------------------------- */
.project-gallery__item img { cursor: zoom-in; }
.svp-lightbox {
	position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
	background: rgba(6, 6, 7, 0.94); opacity: 0; visibility: hidden;
	transition: opacity 0.3s var(--ease); padding: clamp(1.5rem, 5vw, 4rem);
}
.svp-lightbox.is-open { opacity: 1; visibility: visible; }
.svp-lightbox__img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.svp-lightbox__close, .svp-lightbox__prev, .svp-lightbox__next {
	position: absolute; background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong);
	color: var(--text); border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svp-lightbox__close:hover, .svp-lightbox__prev:hover, .svp-lightbox__next:hover { background: var(--accent-dim); border-color: var(--accent); }
.svp-lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: 44px; height: 44px; font-size: 1.5rem; line-height: 1; }
.svp-lightbox__prev, .svp-lightbox__next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.75rem; }
.svp-lightbox__prev { left: clamp(0.5rem, 3vw, 2rem); }
.svp-lightbox__next { right: clamp(0.5rem, 3vw, 2rem); }
@media (max-width: 620px) {
	.svp-lightbox__prev, .svp-lightbox__next { width: 42px; height: 42px; font-size: 1.4rem; }
}

/* -------------------------------------------------------------------------
   Cinematic grain overlay
   ---------------------------------------------------------------------- */
body::before {
	content: ""; position: fixed; inset: 0; z-index: 500; pointer-events: none;
	opacity: 0.035; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.svp-hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.35) 55%, rgba(10,10,12,0.15) 100%);
}
.svp-hero__content {
	position: relative; z-index: 2; width: 100%;
	max-width: var(--container); margin-inline: auto; padding: var(--gutter);
	padding-bottom: clamp(3rem, 8vh, 6rem);
}

/* -------------------------------------------------------------------------
   Grid-type columns blocks must escape the 760px "constrained content"
   width their parent .svp-section imposes (core theme.json contentSize) —
   they're visual grids, not prose, and should use the full section width.
   ---------------------------------------------------------------------- */
.svp-work-grid, .svp-disciplines, .svp-printmoment-models, .svp-process {
	max-width: none !important;
	width: 100%;
}

/* Headings/buttons that sit alongside a full-width grid must escape the same
   760px "constrained content" cap and auto-centering, or they end up
   narrower and off-center relative to the grid beside them. */
.svp-heading-wide {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.svp-work-cta {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	justify-content: center;
	margin-top: 2.5rem;
}

/* -------------------------------------------------------------------------
   Selected work grid
   ---------------------------------------------------------------------- */
.svp-work-grid { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.svp-work-grid .wp-block-column { position: relative; }
.svp-work-img.wp-block-image { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); display: block; }
.svp-work-img a { display: block; width: 100%; height: 100%; }
.svp-work-img img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 0.7s var(--ease); }
.svp-work-img:hover img { transform: scale(1.05); }

/* -------------------------------------------------------------------------
   Three disciplines
   ---------------------------------------------------------------------- */
.svp-disciplines .wp-block-column {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(1.75rem, 3vw, 2.5rem);
	transition: border-color 0.35s var(--ease);
}
.svp-disciplines .wp-block-column:hover { border-color: var(--border-strong); }
/* Pushes each card's button to the same bottom edge regardless of how much
   text sits above it, so the three buttons always line up. */
.svp-disciplines .wp-block-column .wp-block-buttons { margin-top: auto; padding-top: 1.5rem; }
.svp-disciplines h3 { font-size: 1.5rem; }

/* -------------------------------------------------------------------------
   17 years stat
   ---------------------------------------------------------------------- */
.svp-stat { text-align: center; background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.svp-stat__number {
	font-size: clamp(3.25rem, 20vw, 11rem); letter-spacing: 0.02em; margin-bottom: 0.3em;
	background: linear-gradient(120deg, var(--text) 30%, var(--accent) 90%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.svp-stat .svp-lede { margin-inline: auto; }
.svp-stat p { text-align: center; }

/* -------------------------------------------------------------------------
   Bands (commercial / personal / film teaser / printmoment teaser)
   ---------------------------------------------------------------------- */
.svp-band, .svp-film-teaser, .svp-printmoment-teaser {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	text-align: center;
	padding: clamp(3rem, 7vw, 5rem) var(--gutter);
	max-width: var(--container);
	margin-block: clamp(1.5rem, 4vw, 3rem);
}
.svp-band .svp-statement, .svp-film-teaser .svp-statement, .svp-printmoment-teaser .svp-statement { margin-inline: auto; }
.svp-band .svp-tags, .svp-film-teaser p, .svp-printmoment-teaser p { max-width: 50ch; margin-inline: auto; }
.svp-band .wp-block-buttons, .svp-film-teaser .wp-block-buttons, .svp-printmoment-teaser .wp-block-buttons { justify-content: center; }
/* Alternate tone so four consecutive "band" sections don't blur into one slab. */
.svp-film-teaser { background: var(--bg-raised); }
.svp-printmoment-teaser { border-color: var(--accent-dim); background: radial-gradient(circle at top, var(--accent-dim), var(--surface) 60%); }

/* -------------------------------------------------------------------------
   Final CTA
   ---------------------------------------------------------------------- */
.svp-final-cta { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.svp-final-cta .svp-display-sm { margin-inline: auto; }
.svp-final-cta .svp-lede { margin-inline: auto; }
.svp-final-cta .wp-block-buttons { justify-content: center; }

/* -------------------------------------------------------------------------
   About — timeline & process
   ---------------------------------------------------------------------- */
.svp-timeline__item {
	display: flex; align-items: baseline; gap: 1.5rem;
	padding-block: 1.1rem; border-bottom: 1px solid var(--border);
	font-family: var(--font-display); font-size: 1.4rem; color: var(--text);
}
.svp-timeline__item:last-child { border-bottom: none; }
.svp-timeline__index { color: var(--accent); font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; }

.svp-process .wp-block-column {
	border-top: 1px solid var(--border-strong); padding-top: 1.5rem;
}
.svp-process__index { font-family: var(--font-display); font-size: 2rem; color: var(--accent); margin-bottom: 0.2em; }
.svp-process h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* -------------------------------------------------------------------------
   PrintMoment pricing
   ---------------------------------------------------------------------- */
.svp-printmoment-models .wp-block-column {
	display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: clamp(1.75rem, 3vw, 2.5rem);
}
.svp-printmoment-models .wp-block-column .wp-block-buttons { margin-top: auto; padding-top: 1.5rem; }
.svp-price-line { font-size: 1.25rem; color: var(--text); }
.svp-price-big { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--accent); margin: 0.3em 0; }

/* =========================================================================
   Projects archive
   ========================================================================= */
.project-archive-wrap { padding-top: 6rem; }
.project-filter-bar { position: sticky; top: 72px; z-index: 40; background: rgba(10,10,12,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding-block: 1rem; margin-bottom: 3rem; }
.project-filter-bar__scroll {
	display: flex; gap: 0.6rem; overflow-x: auto; scrollbar-width: none;
	max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
}
.project-filter-bar__scroll::-webkit-scrollbar { display: none; }
.filter-btn {
	flex: 0 0 auto; border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted);
	padding: 0.55rem 1.2rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
	white-space: nowrap; cursor: pointer; transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }

.project-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2vw, 2rem);
	max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter);
}
@media (max-width: 980px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .project-grid { grid-template-columns: 1fr; } }

.project-card { display: block; position: relative; }
.project-card__media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 45%);
}
.project-card__badge {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
	background: rgba(10,10,12,0.7); color: var(--accent); padding: 0.35rem 0.7rem; border-radius: 999px;
	border: 1px solid var(--accent-dim);
}
.project-card__info { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; }
.project-card__title { font-size: 1.2rem; margin: 0 0 0.2em; }
.project-card__cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.project-grid.is-filtering .project-card { transition: opacity 0.25s var(--ease); }
.project-card[hidden] { display: none; }

.project-empty { text-align: center; padding: 4rem var(--gutter); color: var(--text-faint); }

.pagination, .navigation.pagination {
	display: flex; justify-content: center; gap: 0.5rem;
	max-width: var(--container); margin: 3rem auto 5rem; padding-inline: var(--gutter);
}
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border);
	color: var(--text-muted); font-size: 0.9rem;
}
.pagination .page-numbers.current { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--text); }

/* =========================================================================
   Single project
   ========================================================================= */
.project-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; }
.project-hero__media { position: absolute; inset: 0; }
.project-hero__media img, .project-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.project-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,12,0.95), rgba(10,10,12,0.1) 60%); }
.project-hero__body { position: relative; z-index: 2; max-width: var(--container); margin-inline: auto; padding: var(--gutter); padding-bottom: 4rem; width: 100%; }
.project-hero__cat { color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.75rem; }
.project-hero__title { font-size: clamp(2.25rem, 6vw, 4.5rem); max-width: 20ch; }

.project-meta-row {
	display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem);
	max-width: var(--container); margin: 0 auto; padding: 2.5rem var(--gutter);
	border-bottom: 1px solid var(--border);
}
.project-meta__item { display: flex; flex-direction: column; gap: 0.3rem; }
.project-meta__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); }
.project-meta__value { font-size: 1.05rem; color: var(--text); }

.project-content { max-width: var(--container-narrow); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter); }
.project-content p { font-size: 1.15rem; color: var(--text-muted); }

.project-video { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); }
.project-video__frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.project-video__frame iframe, .project-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; }

.project-gallery {
	max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
	display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.75rem);
}
.project-gallery__item { border-radius: var(--radius-lg); overflow: hidden; }
.project-gallery__item.is-wide { grid-column: 1 / -1; }
.project-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.project-gallery__item video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (max-width: 700px) { .project-gallery { grid-template-columns: 1fr; } }

.project-credits { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); }
.project-credits h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.project-credits ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.project-credits li { color: var(--text-muted); border-bottom: 1px dashed var(--border); padding-bottom: 0.5rem; }

.related-projects { max-width: var(--container); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter); border-top: 1px solid var(--border); }
.related-projects h3 { font-size: 1.3rem; margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 780px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .related-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Contact form
   ========================================================================= */
.contact-form-wrap { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter) 6rem; }
.contact-form { display: grid; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
.form-row--2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row--2col { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.form-field label .req { color: var(--accent); }
.form-field input, .form-field select, .form-field textarea {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	color: var(--text); padding: 0.9rem 1rem; font-family: var(--font-body); font-size: 1rem;
	transition: border-color 0.3s var(--ease);
}
.form-field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23a4a3ab' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1rem center;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-submit { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.form-submit button {
	background: var(--accent); color: var(--accent-contrast); border: none; cursor: pointer;
	padding: 1rem 2.5rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.form-submit button:hover { transform: translateY(-2px); }
.form-submit button:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-status { padding: 1rem 1.25rem; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-status.is-success { display: block; background: rgba(120, 200, 140, 0.12); color: #8fe0a4; border: 1px solid rgba(120,200,140,0.3); }
.form-status.is-error { display: block; background: rgba(220, 100, 100, 0.12); color: #f5a3a3; border: 1px solid rgba(220,100,100,0.3); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { border-top: 1px solid var(--border); padding-block: clamp(3rem, 6vw, 5rem) 2rem; margin-top: 4rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 780px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.site-footer__brand .site-logo { display: block; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 34ch; }
.site-footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 1.1rem; font-family: var(--font-body); }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer a { color: var(--text-muted); transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--accent); }
.site-footer__bottom {
	max-width: var(--container); margin: 3rem auto 0; padding: 1.5rem var(--gutter) 0;
	border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
	font-size: 0.85rem; color: var(--text-faint);
}

/* =========================================================================
   Back-to-top button
   ========================================================================= */
.svp-to-top {
	position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
	width: 46px; height: 46px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong);
	color: var(--text); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svp-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.svp-to-top:hover { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.svp-to-top:active { transform: scale(0.94); }

/* =========================================================================
   Cursor-follow ring (desktop / fine-pointer devices only)
   ========================================================================= */
.svp-cursor-ring {
	position: fixed; top: 0; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px;
	border: 1px solid var(--accent); border-radius: 999px; pointer-events: none; z-index: 600; opacity: 0.7;
	transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
	mix-blend-mode: difference;
}
.svp-cursor-ring.is-active { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: var(--accent-dim); opacity: 1; }
@media (hover: none), (pointer: coarse) { .svp-cursor-ring { display: none; } }

/* =========================================================================
   Hero scroll cue
   ========================================================================= */
.svp-scroll-cue {
	position: absolute; right: var(--gutter); bottom: 2.75rem; z-index: 2;
	display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
	color: var(--text-faint); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em;
	transition: opacity 0.4s var(--ease);
}
.svp-scroll-cue i { width: 1px; height: 28px; background: linear-gradient(var(--accent), transparent); animation: svp-cue-move 1.7s ease-in-out infinite; }
@media (max-width: 860px) { .svp-scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .svp-scroll-cue i { animation: none; } }
@keyframes svp-cue-move { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* =========================================================================
   Tactile press feedback (buttons/chips feel responsive on touch)
   ========================================================================= */
.wp-block-button__link, .filter-btn, .form-submit button, .svp-to-top {
	-webkit-tap-highlight-color: transparent;
}
.wp-block-button__link:active, .filter-btn:active, .form-submit button:active {
	transform: scale(0.96);
}

/* =========================================================================
   404 / generic page
   ========================================================================= */
.generic-page { padding: 10rem var(--gutter) 6rem; max-width: var(--container-narrow); margin-inline: auto; text-align: center; }
