/* Nottingham — SmartSites-density agency layout on Twenty Twenty-Five */

:root {
	--ntg-ink: #111111;
	--ntg-orange: #f26522;
	--ntg-orange-deep: #d45212;
	--ntg-paper: #ffffff;
	--ntg-mist: #f4f1ec;
	--ntg-line: #e6e2dc;
	--ntg-muted: #5c5c5c;
}

html {
	scroll-behavior: smooth;
}

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

body {
	background: var(--ntg-paper);
	color: var(--ntg-ink);
	font-family: Arial, Helvetica, sans-serif;
}

.ntg-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #0d0d0d;
	border-bottom: 3px solid var(--ntg-orange);
}

.ntg-header .wp-block-site-title a,
.ntg-header .wp-block-navigation-item__content,
.ntg-header-phone a {
	color: #fff !important;
	text-decoration: none;
}

.ntg-header .wp-block-site-title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ntg-header .custom-logo {
	height: 36px;
	width: auto;
	max-width: 200px;
}

.ntg-cta .wp-block-button__link,
.wp-block-button.ntg-cta .wp-block-button__link {
	background: var(--ntg-orange) !important;
	color: #fff !important;
	border-radius: 2px;
	padding: 0.8rem 1.35rem;
	min-height: 44px;
	font-weight: 800;
	text-transform: none;
	border: 0;
}

.ntg-cta .wp-block-button__link:hover,
.wp-block-button.ntg-cta .wp-block-button__link:hover {
	background: var(--ntg-orange-deep) !important;
}

.wp-block-button.is-style-outline .wp-element-button {
	min-height: 44px;
	border-radius: 2px;
	border-color: #fff;
	color: #fff;
}

.ntg-hero.alignfull,
.ntg-hero .wp-block-cover,
.wp-block-cover.ntg-hero {
	min-height: 92vh;
}

.ntg-hero .wp-block-cover__inner-container {
	max-width: 920px;
}

.ntg-hero h1,
.ntg-hero .wp-block-heading {
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	line-height: 0.95;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #fff;
	margin: 0 0 0.4em;
}

.ntg-kicker {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--ntg-orange);
	margin: 0 0 0.75rem;
}

.ntg-rotate-line {
	font-size: clamp(1.2rem, 2.6vw, 1.85rem);
	font-weight: 700;
	color: #fff;
	min-height: 2.2em;
}

.ntg-rotate {
	color: var(--ntg-orange);
	display: inline-block;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ntg-rotate.is-out {
	opacity: 0;
	transform: translateY(8px);
}

.ntg-domain-note {
	font-size: 0.92rem;
	color: #f0e6dc;
	max-width: 42rem;
}

.ntg-section {
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.1rem, 4vw, 3rem);
}

.ntg-section h2 {
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 1.5rem;
}

.ntg-tiles {
	background: var(--ntg-mist);
}

.ntg-photos {
	background: #0d0d0d;
	color: #fff;
}

.ntg-photos h2 {
	color: #fff;
}

.ntg-photo-row img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 2px;
	display: block;
}

.ntg-tiles .wp-block-columns {
	gap: 1rem;
}

.ntg-tile {
	background: #fff;
	border-top: 4px solid var(--ntg-orange);
	padding: 1.4rem 1.1rem 1.5rem;
	min-height: 100%;
	box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
}

.ntg-tile h3 {
	font-size: 1.15rem;
	margin: 0.6rem 0 0.4rem;
	font-weight: 800;
}

.ntg-ico {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ntg-orange);
	display: grid;
	place-items: center;
	color: #fff;
	font-weight: 800;
	font-size: 0.85rem;
}

@media (min-width: 1100px) {
	.ntg-five.wp-block-columns {
		display: grid !important;
		grid-template-columns: repeat(5, 1fr);
		gap: 1rem;
	}

	.ntg-five.wp-block-columns > .wp-block-column {
		width: auto !important;
		flex-basis: auto !important;
	}
}

.ntg-work {
	background: #141414;
	color: #fff;
}

.ntg-work h2,
.ntg-work p {
	color: #fff;
}

.ntg-work-slider,
.ntg-quote-slider {
	overflow: hidden;
	position: relative;
}

.ntg-work-slider [data-track],
.ntg-quote-slider [data-track] {
	display: flex;
	transition: transform 0.45s ease;
	will-change: transform;
}

.ntg-work-slide,
.ntg-quote-slide {
	min-width: 100%;
	flex: 0 0 100%;
	padding: 0.25rem;
}

.ntg-work-card {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1.5rem;
	align-items: center;
}

.ntg-work-card img {
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 340 / 220;
	object-fit: cover;
	border-radius: 4px;
}

.ntg-nav-row {
	display: flex;
	gap: 0.6rem;
	margin-top: 1rem;
	align-items: center;
}

.ntg-nav-row button {
	min-width: 44px;
	min-height: 44px;
	border: 0;
	background: var(--ntg-orange);
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	border-radius: 2px;
}

.ntg-nav-row [data-dot] {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #666;
	border: 0;
	padding: 0;
	min-width: 10px;
	min-height: 10px;
}

.ntg-nav-row [data-dot].is-on {
	background: var(--ntg-orange);
}

.ntg-quotes {
	background: #fff;
}

.ntg-quote-card {
	background: var(--ntg-mist);
	padding: 2rem 1.5rem;
	border-radius: 4px;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.ntg-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 1rem;
	display: block;
	border: 3px solid var(--ntg-orange);
}

.ntg-quote-card blockquote {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	border: 0;
	padding: 0;
}

.ntg-quote-card cite {
	display: block;
	margin-top: 0.8rem;
	font-style: normal;
	color: var(--ntg-muted);
	font-size: 0.92rem;
}

.ntg-stats {
	background: var(--ntg-orange);
	color: #fff;
}

.ntg-stats h2,
.ntg-stats p {
	color: #fff;
}

.ntg-metric-num {
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	margin: 0;
	line-height: 1;
}

.ntg-industries {
	background: var(--ntg-ink);
	color: #fff;
}

.ntg-chip {
	display: inline-block;
	border: 1px solid #3a3a3a;
	padding: 0.55rem 0.9rem;
	margin: 0.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ntg-band {
	background: var(--ntg-mist);
}

.ntg-footer {
	background: #0d0d0d;
	color: #ddd;
}

.ntg-footer a {
	color: #fff;
}

.ntg-footer h2 {
	color: #fff;
}

.ntg-nap {
	font-size: 0.95rem;
	line-height: 1.55;
}

.ntg-hp,
.wpcf7 .ntg-hp,
input.ntg-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.wpcf7 label {
	display: block;
	font-weight: 700;
	margin: 0.65rem 0 0.25rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	min-height: 44px;
	border: 1px solid #ccc;
	border-radius: 2px;
	padding: 0.5rem 0.7rem;
}

.wpcf7 input[type="submit"] {
	background: var(--ntg-orange);
	color: #fff;
	border: 0;
	min-height: 44px;
	padding: 0.7rem 1.4rem;
	font-weight: 800;
	cursor: pointer;
	margin-top: 0.8rem;
}

.ntg-faq details {
	border-bottom: 1px solid var(--ntg-line);
	padding: 0.9rem 0;
}

.ntg-faq summary {
	font-weight: 800;
	cursor: pointer;
}

.ntg-svc-cols h3 {
	border-top: 4px solid var(--ntg-orange);
	padding-top: 0.8rem;
}

/* Complianz: unique stacked buttons */
.cmplz-cookiebanner .cmplz-buttons,
#cmplz-cookiebanner-container .cmplz-buttons {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 10px !important;
}

.cmplz-cookiebanner .cmplz-btn,
#cmplz-cookiebanner-container .cmplz-btn {
	width: 100% !important;
	margin: 0 !important;
	min-height: 44px;
	border-radius: 2px !important;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
	background: var(--ntg-orange) !important;
	color: #fff !important;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-deny,
.cmplz-cookiebanner .cmplz-btn.cmplz-dismiss {
	background: #fff !important;
	color: var(--ntg-ink) !important;
	border: 1px solid #111 !important;
}

@media (max-width: 900px) {
	.ntg-work-card {
		grid-template-columns: 1fr;
	}

	.ntg-work-card img {
		height: auto;
		width: 100%;
		aspect-ratio: 16 / 10;
	}

	.ntg-header .wp-block-buttons {
		display: none;
	}
}

/* Cookie SAFETY — dismiss + clicks + no TCF */
.cmplz-cookiebanner.cmplz-dismissed,
.cmplz-cookiebanner.cmplz-hidden,
#cmplz-cookiebanner-container.cmplz-dismissed {
	display: none !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner,
#cmplz-cookiebanner-container .cmplz-cookiebanner * {
	pointer-events: auto !important;
}
.cmplz-cookiebanner .cmplz-categories,
.cmplz-cookiebanner .cmplz-divider,
.cmplz-cookiebanner .cmplz-links,
.cmplz-cookiebanner .cmplz-documents,
.cmplz-cookiebanner .cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-save-preferences,
.cmplz-cookiebanner .cmplz-manage-options,
.cmplz-cookiebanner .cmplz-btn.tcf,
.cmplz-cookiebanner .cmplz-manage-vendors {
	display: none !important;
}
.cmplz-cookiebanner .cmplz-body {
	display: block !important;
	width: auto !important;
	max-height: none !important;
	overflow: visible !important;
	grid-column: auto !important;
}
.cmplz-cookiebanner .cmplz-message {
	white-space: normal !important;
	word-wrap: break-word !important;
	overflow-wrap: anywhere !important;
	overflow-y: auto !important;
	max-height: 40vh !important;
	margin: 0 0 12px !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept,
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
	min-height: 44px !important;
	min-width: 0 !important;
	pointer-events: auto !important;
	white-space: normal !important;
	height: auto !important;
}
@media (prefers-reduced-motion: reduce) {
	.cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden) {
		animation: none !important;
		transition: none !important;
	}
}

/* Cookie VARIANT — nottingham: white card, bounce-lite, orange accept */
@keyframes cmplz-ntg-in {
	0% { opacity: 0; transform: translateY(20px); }
	70% { opacity: 1; transform: translateY(-4px); }
	100% { opacity: 1; transform: translateY(0); }
}
#cmplz-cookiebanner-container .cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden),
.cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden) {
	position: fixed !important;
	left: auto !important;
	right: 16px !important;
	bottom: 16px !important;
	top: auto !important;
	width: min(400px, calc(100vw - 32px)) !important;
	max-width: min(400px, calc(100vw - 32px)) !important;
	height: auto !important;
	max-height: none !important;
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	z-index: 99999 !important;
	overflow: visible !important;
	padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
	box-sizing: border-box !important;
	pointer-events: auto !important;
	background: var(--ntg-paper) !important;
	color: var(--ntg-ink) !important;
	border-radius: 12px !important;
	border: 1px solid var(--ntg-line) !important;
	box-shadow: 0 12px 28px rgba(17,17,17,.12) !important;
	animation: cmplz-ntg-in 480ms cubic-bezier(.22,1.2,.36,1) both;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
	background: var(--ntg-orange) !important;
	color: #fff !important;
	border: none !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
	background: #fff !important;
	color: var(--ntg-ink) !important;
	border: 2px solid var(--ntg-ink) !important;
}
.cmplz-cookiebanner .cmplz-buttons {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 8px !important;
	grid-column: auto !important;
	grid-row: auto !important;
	flex-shrink: 0 !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept,
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
	width: 100% !important;
	display: block !important;
}

@media (max-width: 480px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden),
.cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden) {
		left: 12px !important;
		right: 12px !important;
		width: auto !important;
		max-width: none !important;
	}
}

/* Footer: same facts, clearer layout (Ads-readable NAP + 44px links) */
[class$="-footer"] .wp-block-columns,
[class*="-footer "] .wp-block-columns {
	gap: 2rem;
	align-items: start;
}
[class$="-footer"] .wp-block-list,
[class*="footer"] .wp-block-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
[class$="-footer"] .wp-block-list a,
[class*="footer"] .wp-block-list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}
[class$="-footer"] .wp-block-list li {
	margin: 0;
}
[class$="-footer"] h2 {
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}
@media (max-width: 781px) {
	[class$="-footer"] .wp-block-columns {
		display: block;
	}
	[class$="-footer"] .wp-block-column {
		margin: 0 0 1.75rem;
		flex-basis: 100% !important;
	}
}
