/* ==========================================================================
   U-B Hollywood Cinematic
   Direction: "Night Premiere" (docs/DESIGN.md). Indigo-black stage, brand gold
   as the single accent, Archivo expanded headlines, Hanken Grotesk body.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--bg: #0c0b14;
	--surface: #15132a;
	--surface-2: #1e1a3d;
	--ink: #f3eee4;
	--ink-muted: #a9a3bf;
	--line: #2c2752;
	--accent: #e6b861;
	--accent-deep: #c4964a;
	--indigo: #352a6c;
	--paper: #f3eee4;
	--paper-ink: #16142a;
	--paper-muted: #5a5670;

	--font-display: "Archivo", "Arial Narrow", sans-serif;
	--font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--space-xs: 8px;
	--space-sm: 16px;
	--space-md: 24px;
	--space-lg: clamp(32px, 5vw, 48px);
	--space-xl: clamp(64px, 9vw, 112px);
	--space-xxl: clamp(96px, 13vw, 168px);

	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset (zero specificity so components always win) ---------- */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
:where(body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul) { margin: 0; }
:where(ol, ul)[class] { list-style: none; padding: 0; }
:where(img, video, svg, iframe) { display: block; max-width: 100%; }
:where(img, video) { height: auto; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(a) { color: inherit; }

html { background: var(--bg); }
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: clamp(16px, 0.25vw + 15px, 18px);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

::selection { background: var(--accent); color: var(--paper-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.screen-reader-text, .ubh-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--accent); color: var(--paper-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ---------- Type ---------- */
.display, .h2, .h3, .brand__name, .btn, .menu a, .site-footer__h, .event-list__day, .service-index__name, .tile__title, .credits dt, .faq summary {
	font-family: var(--font-display);
}
.display {
	font-weight: 800;
	font-stretch: 118%;
	font-size: clamp(2.4rem, 5.6vw + 0.6rem, 5.6rem);
	line-height: 1.02;
	letter-spacing: -0.012em;
	text-wrap: balance;
}
.display--page { font-size: clamp(2.2rem, 4.2vw + 0.6rem, 4.4rem); }
.display--sm { font-size: clamp(2rem, 3.6vw + 0.6rem, 3.8rem); }
.h2 {
	font-weight: 800;
	font-stretch: 112%;
	font-size: clamp(1.7rem, 2.4vw + 0.7rem, 2.9rem);
	line-height: 1.06;
	letter-spacing: -0.006em;
	text-wrap: balance;
}
.h3 { font-weight: 700; font-stretch: 108%; font-size: 1.35rem; line-height: 1.15; }
.lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem); line-height: 1.55; color: var(--ink-muted); max-width: 62ch; }
.label {
	font-family: var(--font-display); font-weight: 600; font-stretch: 112%;
	text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--accent);
}

.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.5rem, 1.6vw + 0.9rem, 2.2rem); line-height: 1.1; margin-top: 2em; }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 1.3rem; line-height: 1.2; margin-top: 1.8em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: 1.2em; font-size: 1.2rem; color: var(--ink); }
.prose img { margin-block: 1.5em; }
.prose :where(figure) { margin-block: 1.8em; }

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 26px; border-radius: 999px;
	font-weight: 600; font-stretch: 110%; font-size: 0.95rem; letter-spacing: 0.02em;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	border: 1px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--paper-ink); }
.btn--primary:hover { background: #efc87a; }
.btn--ghost { border-color: rgba(243, 238, 228, .55); color: var(--ink); background: rgba(12, 11, 20, .25); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(243, 238, 228, .08); }
.btn--dark { background: var(--paper-ink); color: var(--paper); }
.btn--dark:hover { background: var(--indigo); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link {
	display: inline-flex; align-items: center; gap: 8px; color: var(--ink);
	font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
.link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover .icon { transform: translateX(4px); }
.link--dark { color: var(--paper-ink); border-color: var(--paper-ink); }
.links { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
	transition: background-color .3s var(--ease), border-color .3s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-solid, body:not(.is-home) .site-header { background: rgba(12, 11, 20, .92); border-bottom-color: var(--line); backdrop-filter: blur(10px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-weight: 800; font-stretch: 116%; font-size: 1.05rem; letter-spacing: .01em; }
.brand__sub { font-family: var(--font-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .22em; font-size: .62rem; color: var(--accent); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu a { display: block; padding: 10px 12px; font-weight: 500; font-stretch: 106%; font-size: .92rem; text-decoration: none; color: var(--ink); border-radius: 999px; }
.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--accent); }
.menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 260px; padding: 10px; list-style: none;
	background: var(--surface); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu a { border-radius: 2px; padding: 9px 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
		padding: 24px var(--gutter) 40px; background: var(--bg); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
	}
	.admin-bar .nav { inset-block-start: calc(var(--header-h) + 46px); }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.menu { flex-direction: column; align-items: stretch; gap: 0; }
	.menu > li { border-bottom: 1px solid var(--line); }
	.menu a { font-size: 1.35rem; font-weight: 700; font-stretch: 112%; padding: 16px 0; border-radius: 0; }
	.menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 0 0 12px 12px; min-width: 0; }
	.menu .sub-menu a { font-size: 1.02rem; font-weight: 500; padding: 8px 0; }
	.nav__cta { align-self: flex-start; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: var(--bg); }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate;
	min-height: min(100svh, 920px); display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 48px) 0 clamp(56px, 9vh, 104px);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 78% 22%, #2a2160 0%, #15132a 45%, var(--bg) 78%); }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(12, 11, 20, .92) 0%, rgba(12, 11, 20, .65) 42%, rgba(12, 11, 20, .15) 75%),
		linear-gradient(0deg, var(--bg) 0%, rgba(12, 11, 20, 0) 38%);
}
.hero__img, .hero__video, .hero__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__inner { display: grid; gap: 26px; }
.hero .display { max-width: 15ch; }
.hero__text { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: #d9d3e6; max-width: 46ch; }

/* ---------- Placeholder (declared, on-palette) ---------- */
.ph {
	background:
		radial-gradient(70% 60% at 70% 30%, rgba(230, 184, 97, .22), transparent 60%),
		linear-gradient(160deg, var(--surface-2) 0%, var(--indigo) 55%, var(--bg) 100%);
	min-height: 220px;
}

/* ---------- Intro ---------- */
.intro { padding-block: var(--space-xl) var(--space-lg); }
.intro__text { display: grid; gap: 24px; max-width: 900px; }
.intro .h2 { max-width: 20ch; }

/* ---------- Services index (numbered rows, image on hover) ---------- */
.services { padding-block: var(--space-lg) var(--space-xl); }
.services .h2 { margin-bottom: var(--space-lg); }
.service-index { counter-reset: svc; border-top: 1px solid var(--line); }
.service-index__item { position: relative; border-bottom: 1px solid var(--line); counter-increment: svc; }
.service-index__link {
	display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px;
	padding: 28px 0; text-decoration: none; position: relative; z-index: 1;
}
.service-index__link::before {
	content: counter(svc, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; font-stretch: 112%;
	color: var(--ink-muted); font-size: .9rem; letter-spacing: .06em;
}
.service-index__name { font-weight: 800; font-stretch: 116%; font-size: clamp(1.35rem, 1.6vw + .8rem, 2.2rem); line-height: 1.05; transition: color .2s; }
.service-index__desc { color: var(--ink-muted); }
.service-index__go { justify-self: end; color: var(--accent); }
.service-index__go .icon { transition: transform .2s var(--ease); }
.service-index__img {
	position: absolute; right: 12%; top: 50%; width: 220px; aspect-ratio: 4 / 5; z-index: 2; pointer-events: none;
	opacity: 0; transform: translate(0, -46%) rotate(-3deg) scale(.96); transition: opacity .25s, transform .35s var(--ease);
}
.service-index__img img { width: 100%; height: 100%; object-fit: cover; }
.service-index__link:hover .service-index__name, .service-index__link:focus-visible .service-index__name { color: var(--accent); }
.service-index__link:hover .service-index__go .icon { transform: translateX(6px); }
@media (hover: hover) and (min-width: 1000px) {
	.service-index__item:hover .service-index__img { opacity: 1; transform: translate(0, -50%) rotate(-3deg) scale(1); }
}
@media (max-width: 760px) {
	.service-index__link { grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 6px 14px; padding: 22px 0; }
	.service-index__desc { grid-column: 2 / 3; grid-row: 2; font-size: .95rem; }
	.service-index__go { grid-column: 3; grid-row: 1; }
}

/* ---------- Reel (horizontal projects) ---------- */
.reel { padding-block: var(--space-lg) var(--space-xl); }
.reel__head, .events__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: var(--space-lg); flex-wrap: wrap; }
.reel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
	padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-bottom: 12px;
}
.reel__track > li { scroll-snap-align: start; }
@media (max-width: 760px) { .reel__track { grid-auto-columns: 78%; } }

.tile a { display: grid; gap: 10px; text-decoration: none; }
.tile__img, .tile .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.tile a:hover .tile__img { transform: scale(1.03); filter: brightness(1.08); }
.tile a > :first-child { overflow: hidden; }
.tile__meta { font-family: var(--font-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--accent); min-height: 1em; }
.tile__title { font-weight: 700; font-stretch: 110%; font-size: 1.2rem; line-height: 1.15; }
.grid-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }

/* ---------- Studio (image bleeds to the left edge) ---------- */
.studio {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px);
	padding-block: var(--space-xl);
	padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.studio__media { position: relative; }
.studio__media img, .studio__media .ph { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.studio__media::after { content: ""; position: absolute; inset: auto -24px -24px auto; width: 38%; height: 38%; background: var(--indigo); z-index: -1; }
.studio__body { display: grid; gap: 22px; max-width: 520px; }
.studio__body p { color: var(--ink-muted); }
@media (max-width: 900px) {
	.studio { grid-template-columns: 1fr; padding-right: 0; }
	.studio__body { padding-inline: var(--gutter); }
	.studio__media::after { display: none; }
}

/* ---------- Why (2x2 with hairlines) ---------- */
.why { padding-block: var(--space-xl); }
.why .h2 { max-width: 22ch; margin-bottom: var(--space-lg); }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why__grid > div { padding: 32px 40px 36px 0; border-bottom: 1px solid var(--line); }
.why__grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.why__grid > div:nth-child(even) { padding-left: 40px; }
.why__grid dt { font-family: var(--font-display); font-weight: 700; font-stretch: 110%; font-size: 1.3rem; line-height: 1.2; margin-bottom: 10px; }
.why__grid dd { color: var(--ink-muted); max-width: 46ch; }
@media (max-width: 760px) {
	.why__grid { grid-template-columns: 1fr; }
	.why__grid > div, .why__grid > div:nth-child(even) { padding: 26px 0; border-right: 0; }
}

/* ---------- Talent (paper panel) ---------- */
.talent { background: var(--paper); color: var(--paper-ink); overflow: hidden; }
.talent__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: var(--space-xl); }
.talent__body { display: grid; gap: 22px; }
.talent__body p { color: var(--paper-muted); max-width: 48ch; font-size: 1.1rem; }
.talent__media { margin-block: calc(-1 * var(--space-xl) - 40px); }
.talent__media img, .talent__media .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: rotate(2deg); }
@media (max-width: 900px) {
	.talent__inner { grid-template-columns: 1fr; }
	.talent__media { margin: 0 0 calc(-1 * var(--space-xl) - 20px); }
}

/* ---------- Events ---------- */
.events { padding-block: var(--space-xl); }
.event-list { display: grid; border-top: 1px solid var(--line); }
.event-list__item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.event-list__date { display: grid; line-height: 1; }
.event-list__day { font-weight: 800; font-stretch: 118%; font-size: 3rem; color: var(--accent); }
.event-list__mon { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--ink-muted); margin-top: 6px; }
.event-list__title { font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 1.3rem; line-height: 1.2; }
.event-list__title a { text-decoration: none; }
.event-list__title a:hover { color: var(--accent); }
.event-list__venue { color: var(--ink-muted); margin-top: 6px; }
@media (max-width: 600px) { .event-list__item { grid-template-columns: 84px minmax(0, 1fr); } .event-list__day { font-size: 2.2rem; } }

/* ---------- Quotes ---------- */
.quotes { padding-block: var(--space-xl); }
.quotes .h2 { margin-bottom: var(--space-lg); }
.quotes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.quote blockquote { font-size: 1.2rem; line-height: 1.5; margin: 0; padding: 0; border: 0; }
.quote blockquote p + p { margin-top: .8em; }
.quote figcaption { margin-top: 18px; color: var(--ink-muted); }
.quote figcaption strong { color: var(--ink); }

/* ---------- Closing CTA ---------- */
.closing { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); border-top: 1px solid var(--line); }
.closing__inner { padding-block: var(--space-xxl); display: grid; gap: 26px; }
.closing .display { max-width: 18ch; }

/* ---------- Inner pages ---------- */
.page-head { position: relative; isolation: isolate; padding: calc(var(--header-h) + var(--space-lg)) 0 var(--space-lg); border-bottom: 1px solid var(--line); }
.page-head--media { min-height: min(72svh, 640px); display: flex; align-items: flex-end; border-bottom: 0; }
.page-head__media { position: absolute; inset: 0; z-index: -1; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 4%, rgba(12, 11, 20, .55) 55%, rgba(12, 11, 20, .35) 100%); }
.page-head__inner { display: grid; gap: 20px; }
.page-head__meta { color: var(--ink-muted); }
.page-head--404 { min-height: 70svh; display: flex; align-items: center; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: .85rem; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.page .wrap.prose, .service__body, .article .prose { padding-block: var(--space-lg) var(--space-xl); }
.builder-content { padding-bottom: var(--space-lg); }
.service__work { padding-bottom: var(--space-xl); }
.service__work .h2 { margin-bottom: var(--space-lg); }

.faqs { padding-block: var(--space-lg) var(--space-xl); }
.faqs .h2 { margin-bottom: var(--space-md); }
.faqs__list { border-top: 1px solid var(--line); max-width: 900px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-weight: 700; font-stretch: 106%; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; font-weight: 400; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 0 24px; color: var(--ink-muted); max-width: 68ch; }

.enquiry { background: var(--surface); border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.enquiry__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); padding-block: var(--space-xl); }
.enquiry__intro { display: grid; gap: 18px; align-content: start; }
.enquiry__intro p { color: var(--ink-muted); }
@media (max-width: 900px) { .enquiry__inner { grid-template-columns: 1fr; } }

.project__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); padding-block: var(--space-lg) var(--space-xl); align-items: start; }
.project__video { margin-bottom: var(--space-lg); aspect-ratio: 16 / 9; background: #000; }
.project__video iframe, .project__video video { width: 100%; height: 100%; }
.credits { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; border-top: 1px solid var(--accent); padding-top: 18px; }
.credits dl { display: grid; gap: 4px 0; }
.credits dt { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; font-stretch: 112%; color: var(--accent); margin-top: 14px; }
.credits dd { font-size: 1.05rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: var(--space-lg); }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 900px) { .project__layout { grid-template-columns: 1fr; } .credits { position: static; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: var(--space-lg) var(--space-md); }
.filters a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .92rem; }
.filters a:hover { border-color: var(--ink-muted); }
.filters a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--paper-ink); }
.post-list + .navigation, .grid-tiles + .navigation { padding-block: var(--space-lg); }
.grid-tiles { padding-bottom: var(--space-xl); }

.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 32px; padding-block: var(--space-lg); }
.post-card__link { display: grid; gap: 10px; text-decoration: none; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__meta { color: var(--ink-muted); font-size: .88rem; }
.post-card__title { font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 1.35rem; line-height: 1.15; }
.post-card__link:hover .post-card__title { color: var(--accent); }
.post-card__excerpt { color: var(--ink-muted); }
.empty { padding-block: var(--space-xl); display: grid; gap: 20px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.nav-links .current { background: var(--accent); color: var(--paper-ink); border-color: var(--accent); }

.search { display: flex; gap: 10px; max-width: 520px; }
.search input { flex: 1; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }

/* ---------- Forms (UBH plugin) ---------- */
.ubh-form { display: grid; gap: 22px; }
.ubh-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ubh-field { display: grid; gap: 8px; }
.ubh-field--wide { grid-column: 1 / -1; }
.ubh-field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.ubh-field input, .ubh-field select, .ubh-field textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 2px;
	background: var(--bg); color: var(--ink); border: 1px solid var(--line); font-size: 1rem;
	transition: border-color .15s, box-shadow .15s;
}
.ubh-field textarea { min-height: 140px; resize: vertical; }
.ubh-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.ubh-field input:focus, .ubh-field select:focus, .ubh-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230, 184, 97, .25); }
.ubh-field [aria-invalid="true"] { border-color: #e0736a; }
.ubh-field ::placeholder { color: #7d7894; }
.ubh-field--check { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.ubh-field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--accent); }
.ubh-field--check label { font-weight: 400; color: var(--ink-muted); font-size: .9rem; }
.ubh-field--check a { color: var(--accent); }
.ubh-form__submit { justify-self: start; }
.ubh-form__ok, .ubh-form__err { padding: 14px 18px; border-left: 3px solid; }
.ubh-form__ok { border-color: var(--accent); background: rgba(230, 184, 97, .08); }
.ubh-form__err { border-color: #e0736a; background: rgba(224, 115, 106, .1); }
.ubh-form.is-sent .ubh-form__grid, .ubh-form.is-sent .ubh-field--check, .ubh-form.is-sent .ubh-form__submit { display: none; }
@media (max-width: 640px) { .ubh-form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: var(--space-xl) var(--space-lg); }
.site-footer__name { font-family: var(--font-display); font-weight: 800; font-stretch: 116%; font-size: 1.4rem; }
.site-footer__line { color: var(--ink-muted); margin-top: 10px; max-width: 34ch; }
.site-footer__h { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-stretch: 112%; color: var(--accent); margin-bottom: 14px; }
.site-footer__list { display: grid; gap: 8px; list-style: none; padding: 0; }
.site-footer__list a, .site-footer__legal a { text-decoration: none; color: var(--ink-muted); }
.site-footer__list a:hover, .site-footer__legal a:hover { color: var(--ink); }
.site-footer__addr { font-style: normal; color: var(--ink-muted); margin-bottom: 16px; }
.site-footer__addr strong { color: var(--ink); font-weight: 600; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: .88rem; }
.site-footer__legal { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }
.social a:hover { border-color: var(--accent); color: var(--accent); }
.social .icon { width: 18px; height: 18px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Native block content inside .prose ---------- */
.hero__img { object-position: 70% 22%; }
.services-hub__body { padding-block: 0 var(--space-xl); }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-block: 2em; }
.prose .wp-block-column > * + * { margin-top: .8em; }
.prose .wp-block-image img { width: 100%; height: auto; }
.prose figcaption, .prose .wp-element-caption { color: var(--ink-muted); font-size: .9rem; margin-top: 8px; }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: var(--paper-ink); font-family: var(--font-display); font-weight: 600; font-stretch: 110%; text-decoration: none; }
.prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid rgba(243, 238, 228, .55); }
.prose ol.steps { list-style: none; padding: 0; counter-reset: step; border-top: 1px solid var(--line); }
.prose ol.steps > li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.prose ol.steps > li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-stretch: 112%; color: var(--accent); }
.prose .team { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 24px; list-style: none; padding: 0; margin-block: 2em; max-width: none; }
.prose .team li { margin: 0; }
.prose .team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; margin: 0 0 12px; }
.prose .team strong { display: block; font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 1.1rem; line-height: 1.2; }
.prose .team span { color: var(--ink-muted); font-size: .92rem; }
.prose .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.prose .facts h3 { margin-top: 0; font-size: 1.05rem; color: var(--accent); }
.prose .note { border-left: 2px solid var(--accent); padding: 12px 18px; background: rgba(230, 184, 97, .06); color: var(--ink); }
.prose:has(.team) { max-width: 1100px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); }
.prose:has(.contact-grid), .prose:has(.ubh-form) { max-width: 1100px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- The Events Calendar: align with the palette ---------- */
.tribe-common, .tribe-events { --tec-color-background: var(--bg); --tec-color-text-primary: var(--ink); --tec-color-text-secondary: var(--ink-muted); --tec-color-accent-primary: var(--accent); --tec-color-border-default: var(--line); --tec-font-family-sans-serif: var(--font-body); }
.tribe-events .tribe-events-c-top-bar__datepicker-button, .tribe-common .tribe-common-h3, .tribe-common .tribe-common-h6 { color: var(--ink); }

/* ---------- Reveal (degrades to visible; respects reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero__video { display: none; }
}

@media print {
	.site-header, .site-footer, .nav-toggle, .hero__media, .enquiry { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ---------- Events Calendar pages sit below the fixed header ---------- */
.tribe-events-page-template .site-main, .single-tribe_events .site-main { padding-top: var(--header-h); }
.page-head--events { padding: var(--space-lg) 0 var(--space-md); border-bottom: 0; }
.tribe-events-page-template .tribe-common-l-container, .single-tribe_events .tribe-events-pg-template { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-inline: var(--gutter); }
