/**
 * Cloud Canvas Custom – design refinements and interactive effects (v1.2).
 *
 * Loaded after main.css / responsive.css. Behaviour lives in assets/js/effects.js.
 * Rules:
 * - Pointer effects (spotlight, tilt, magnetic) only run on devices with a
 *   precise pointer; touch devices get the scroll effects only.
 * - Movement uses the individual `translate` / `rotate` / `scale` properties
 *   where possible so it never fights the original `transform` animations.
 * - Everything is switched off for visitors who prefer reduced motion.
 */

/* ------------------------------------------------------------------------
 * 1. Scroll progress bar + back-to-top button (injected by effects.js)
 * --------------------------------------------------------------------- */
.cct-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10001;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--cct-blue) 0%, #4aa8ff 60%, #a8d4ff 100%);
	box-shadow: 0 0 12px rgba(74, 168, 255, 0.8);
	transform: scaleX(var(--cct-progress, 0));
	transform-origin: left center;
	pointer-events: none;
}

.admin-bar .cct-progress {
	top: 32px;
}

.cct-totop {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9998;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(7, 17, 51, 0.85);
	color: var(--cct-white);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	translate: 0 16px;
	box-shadow: 0 10px 30px -8px rgba(0, 99, 177, 0.8);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: opacity 0.35s ease, visibility 0.35s, translate 0.35s var(--cct-ease), background-color 0.3s ease;
}

.cct-totop.is-visible {
	opacity: 1;
	visibility: visible;
	translate: 0 0;
}

.cct-totop:hover,
.cct-totop:focus-visible {
	background-color: var(--cct-blue);
	outline: none;
}

.cct-totop__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	rotate: -90deg;
}

.cct-totop__track {
	fill: none;
	stroke: rgba(255, 255, 255, 0.15);
	stroke-width: 2;
}

.cct-totop__bar {
	fill: none;
	stroke: #4aa8ff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 144.5;
	stroke-dashoffset: calc(144.5 - 144.5 * var(--cct-progress, 0));
}

.cct-totop__arrow {
	width: 18px;
	height: 18px;
	transition: translate 0.3s var(--cct-ease);
}

.cct-totop:hover .cct-totop__arrow {
	translate: 0 -3px;
}

/* Header: soft glow line once the page is scrolled. */
.cct-header.is-scrolled {
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px -14px rgba(0, 99, 177, 0.55);
}

/* ------------------------------------------------------------------------
 * 2. Section titles – gradient text and an underline that draws in
 * --------------------------------------------------------------------- */
.cct-section-title:not(.cct-section-title--white),
.cct-intro__title {
	background-image: linear-gradient(90deg, #1b78dc 0%, #4aa8ff 50%, #1b78dc 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.cct-section-title::after,
.cct-intro__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin: 14px auto 0 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--cct-blue), #4aa8ff);
	box-shadow: 0 0 10px rgba(74, 168, 255, 0.6);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.9s var(--cct-ease) 0.2s;
}

.cct-services__title::after,
.cct-process__title::after,
.cct-faq__title::after,
.cct-projects-section__title::after,
.cct-contact__title::after,
.cct-section-head .cct-section-title::after,
.cct-cta-banner__inner .cct-section-title::after {
	margin-inline: auto;
	transform-origin: center;
}

.cct-section-title.is-drawn::after,
.cct-intro__title.is-drawn::after,
:root:not(.cct-js) .cct-section-title::after,
:root:not(.cct-js) .cct-intro__title::after {
	transform: scaleX(1);
}

/* Eyebrows: small glowing dot before the label. */
.cct-mission .cct-eyebrow::before,
.cct-why .cct-eyebrow::before,
.cct-process__eyebrow::before,
.cct-projects-section__eyebrow::before,
.cct-services__eyebrow::before,
.cct-intro__eyebrow::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 10px 2px 0;
	border-radius: 50%;
	background-color: #4aa8ff;
	box-shadow: 0 0 8px 2px rgba(74, 168, 255, 0.7);
	vertical-align: middle;
	animation: cctPulseDot 2.4s ease-in-out infinite;
}

@keyframes cctPulseDot {
	0%, 100% { opacity: 1; scale: 1; }
	50% { opacity: 0.5; scale: 0.7; }
}

/* ------------------------------------------------------------------------
 * 3. Hero
 * --------------------------------------------------------------------- */
.cct-hero {
	position: relative;
	isolation: isolate;
}

/* Animated grid, faded at the edges. */
.cct-hero::before {
	content: "";
	position: absolute;
	inset: -10em 0 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 45%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 55% 50% at 50% 45%, #000 10%, transparent 75%);
	animation: cctGridPan 30s linear infinite;
	pointer-events: none;
}

/* Light that follows the pointer (drifts slowly on touch screens). */
.cct-hero::after {
	content: "";
	position: absolute;
	inset: -10em 0 0;
	z-index: -1;
	background:
		radial-gradient(520px circle at var(--cct-hx, 50%) var(--cct-hy, 40%), rgba(0, 99, 177, 0.32), transparent 70%),
		radial-gradient(380px circle at 15% 70%, rgba(33, 60, 152, 0.28), transparent 70%),
		radial-gradient(420px circle at 85% 25%, rgba(0, 99, 177, 0.2), transparent 70%);
	transition: background-position 0.2s;
	pointer-events: none;
}

@keyframes cctGridPan {
	from { background-position: 0 0, 0 0; }
	to { background-position: 0 72px, 72px 0; }
}

/* Headline words rise in one by one (split by effects.js). */
.cct-split .cct-word {
	display: inline-block;
	overflow: hidden;
	padding-bottom: 0.06em;
	vertical-align: bottom;
}

.cct-split .cct-word__inner {
	display: inline-block;
	translate: 0 105%;
	opacity: 0;
	transition: translate 0.9s var(--cct-ease) var(--cct-d, 0s), opacity 0.9s ease var(--cct-d, 0s);
}

.cct-split.is-in .cct-word__inner {
	translate: 0 0;
	opacity: 1;
}

.cct-hero__eyebrow {
	animation: cctDropIn 0.8s var(--cct-ease) 0.1s backwards;
}

.cct-hero__buttons {
	animation: cctRiseIn 0.9s var(--cct-ease) 0.9s backwards;
}

.cct-hero .cct-logo-marquee {
	animation: cctFadeIn 1.2s ease 1.2s backwards;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.cct-hero__side--start {
	animation: cctSideInLeft 1s var(--cct-ease) 0.35s backwards;
}

.cct-hero__side--end {
	animation: cctSideInRight 1s var(--cct-ease) 0.35s backwards;
}

/* Hero counters float gently with a glossy edge. */
.cct-hero .cct-stat {
	border: 1px solid rgba(255, 255, 255, 0.12);
	animation: cctFloat 6s ease-in-out infinite;
}

.cct-hero .cct-hero__side .cct-stat:nth-child(2) {
	animation-delay: -3s;
}

.cct-hero .cct-hero__side--end .cct-stat {
	animation-duration: 7s;
}

.cct-hero .cct-stat:hover {
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5), 0 0 40px -6px rgba(74, 168, 255, 0.8);
}

@keyframes cctFloat {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -10px; }
}

@keyframes cctDropIn {
	from { opacity: 0; translate: 0 -20px; }
	to { opacity: 1; translate: 0 0; }
}

@keyframes cctRiseIn {
	from { opacity: 0; translate: 0 24px; }
	to { opacity: 1; translate: 0 0; }
}

@keyframes cctFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes cctSideInLeft {
	from { opacity: 0; translate: -50px 0; }
	to { opacity: 1; translate: 0 0; }
}

@keyframes cctSideInRight {
	from { opacity: 0; translate: 50px 0; }
	to { opacity: 1; translate: 0 0; }
}

/* ------------------------------------------------------------------------
 * 3b. Hero side columns (v1.3): equal glass counters + readable notes
 * --------------------------------------------------------------------- */
.cct-hero__side {
	align-items: stretch;
	gap: 22px;
	max-width: 290px;
}

.cct-hero__side--end {
	align-items: stretch;
	margin-left: auto;
}

.cct-hero .cct-hero__side .cct-stat,
.cct-hero .cct-hero__side .cct-stat--short {
	width: 100%;
	padding: 18px 14px 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	background-color: rgba(7, 17, 51, 0.55);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cct-hero .cct-hero__side .cct-stat__label {
	line-height: 1.8;
	color: #dbe8ff;
}

.cct-hero__note {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 3px solid #4aa8ff;
	border-radius: 14px;
	background-color: rgba(2, 2, 3, 0.55);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #eef4ff;
	font-size: 15px;
	line-height: 1.65;
	text-align: left;
	text-shadow: none;
	box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
}

.cct-hero__mobile .cct-hero__note {
	text-align: center;
	border-left-width: 1px;
	border-top: 3px solid #4aa8ff;
}

/* Booking badge moved to the bottom corner so it never covers content. */
.cct-badge {
	right: 84px;
	bottom: 24px;
}

.cct-badge__button {
	box-shadow: 0 12px 30px -10px rgba(0, 99, 177, 0.9);
}

@media (max-width: 1024px) {
	.cct-hero__side {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.cct-badge {
		right: 68px;
		bottom: 16px;
	}

	.cct-hero__mobile .cct-stat {
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 14px;
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}
}

/* ------------------------------------------------------------------------
 * 4. Ambient section light
 * --------------------------------------------------------------------- */
.cct-mission {
	background-image: radial-gradient(ellipse 40% 50% at 78% 50%, rgba(0, 99, 177, 0.16), transparent 70%);
}

.cct-services {
	background-image:
		radial-gradient(ellipse 45% 40% at 50% 55%, rgba(0, 99, 177, 0.14), transparent 70%);
}

.cct-why {
	background-image: radial-gradient(ellipse 35% 45% at 75% 50%, rgba(33, 60, 152, 0.2), transparent 70%);
}

.cct-process {
	background-image: radial-gradient(ellipse 50% 40% at 50% 40%, rgba(0, 99, 177, 0.1), transparent 70%);
}

/* Illustrations float softly. */
.cct-intro__media img,
.cct-mission__media img {
	animation: cctFloat 7s ease-in-out infinite;
}

.cct-mission__media img {
	animation-duration: 8s;
	animation-delay: -2s;
}

/* "10+" badge: rotating dashed ring. */
.cct-badge-circle {
	box-shadow: 0 20px 50px -15px rgba(0, 99, 177, 0.8);
}

.cct-badge-circle::before {
	content: "";
	position: absolute;
	inset: -10px;
	border: 2px dashed rgba(74, 168, 255, 0.75);
	border-radius: 50%;
	animation: cctSpin 24s linear infinite;
	pointer-events: none;
}

@keyframes cctSpin {
	to { rotate: 360deg; }
}

/* Mission / vision icons: pulse ring. */
.cct-feature__icon {
	position: relative;
	background-image: linear-gradient(180deg, var(--cct-blue) 0%, var(--cct-indigo) 100%);
	box-shadow: 0 0 0 0 rgba(74, 168, 255, 0.55);
	animation: cctRing 2.8s ease-out infinite;
}

.cct-feature:nth-child(2) .cct-feature__icon {
	animation-delay: 1.4s;
}

@keyframes cctRing {
	0% { box-shadow: 0 0 0 0 rgba(74, 168, 255, 0.55); }
	70%, 100% { box-shadow: 0 0 0 16px rgba(74, 168, 255, 0); }
}

/* ------------------------------------------------------------------------
 * 5. Cards
 * --------------------------------------------------------------------- */
.cct-service-card {
	background-image: linear-gradient(180deg, rgba(0, 99, 177, 0.16) 0%, rgba(2, 2, 3, 0) 75%);
}

.cct-service-card__icon .cct-icon {
	transition: rotate 0.5s var(--cct-ease), scale 0.5s var(--cct-ease);
}

.cct-service-card:hover .cct-service-card__icon .cct-icon {
	rotate: -12deg;
	scale: 1.12;
}

.cct-step {
	background-image: linear-gradient(180deg, rgba(0, 99, 177, 0.12) 0%, rgba(2, 2, 3, 0) 70%);
}

.cct-step:hover {
	border-color: #4aa8ff;
}

.cct-tabs__tab.is-active {
	box-shadow: 0 0 34px -4px rgba(74, 168, 255, 0.7);
}

.cct-tabs__tab .cct-icon {
	transition: scale 0.35s var(--cct-ease), color 0.2s ease;
}

.cct-tabs__tab:hover .cct-icon {
	scale: 1.08;
}

.cct-fade-slider {
	box-shadow: 0 40px 80px -40px rgba(0, 99, 177, 0.9);
}

.cct-quote {
	border-color: rgba(214, 214, 214, 0.55);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cct-quote:hover {
	border-color: #4aa8ff;
	box-shadow: 0 0 30px -8px rgba(74, 168, 255, 0.7);
}

/* Fade the top and bottom of the testimonial columns. */
.cct-marquee {
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.cct-info-card {
	border-color: rgba(255, 255, 255, 0.08);
	transition: border-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s var(--cct-ease);
}

.cct-info-card:hover {
	border-color: rgba(74, 168, 255, 0.6);
}

.cct-info-card__icon {
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-image: linear-gradient(180deg, var(--cct-blue) 0%, var(--cct-indigo) 100%);
	box-shadow: 0 10px 26px -8px rgba(0, 99, 177, 0.9);
	transition: rotate 0.5s var(--cct-ease);
}

.cct-info-card:hover .cct-info-card__icon {
	rotate: 360deg;
}

/* Spotlight that follows the pointer inside cards (class added by JS). */
.cct-spot {
	position: relative;
}

.cct-spot::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background: radial-gradient(260px circle at var(--cct-mx, 50%) var(--cct-my, 50%), rgba(74, 168, 255, 0.16), transparent 65%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.cct-spot:hover::before {
	opacity: 1;
}

/* 3D tilt (class added by JS on precise pointers). */
.cct-tilt {
	transform: translateY(var(--cct-offset, 0px)) perspective(900px) rotateX(var(--cct-rx, 0deg)) rotateY(var(--cct-ry, 0deg));
	transition-property: transform, border-color, box-shadow, background-color, translate;
	transition-duration: 0.5s;
	transition-timing-function: var(--cct-ease);
	will-change: transform;
}

.cct-tilt.is-tilting {
	transition-duration: 0.12s, 0.3s, 0.3s, 0.3s, 0.3s;
	transition-timing-function: linear, ease, ease, ease, ease;
}

.cct-service-card--offset {
	--cct-offset: 100px;
}

/* Magnetic buttons. */
.cct-magnetic {
	transition: all 0.3s ease, translate 0.25s var(--cct-ease);
}

/* ------------------------------------------------------------------------
 * 6. FAQ – darker glass rows, highlighted open item
 * --------------------------------------------------------------------- */
.cct-faq .wp-block-details {
	border: 1px solid rgba(0, 99, 177, 0.45);
	background-color: rgba(7, 17, 51, 0.65);
	transition: border-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s var(--cct-ease);
}

.cct-faq .wp-block-details > summary {
	background-color: transparent;
	background-image: linear-gradient(90deg, rgba(0, 99, 177, 0.55) 0%, rgba(0, 99, 177, 0.15) 100%);
	padding: 12px 12px 12px 18px;
}

.cct-faq .wp-block-details > summary:hover {
	background-color: rgba(0, 99, 177, 0.35);
}

.cct-faq .wp-block-details:hover {
	translate: 4px 0;
	border-color: rgba(74, 168, 255, 0.7);
}

.cct-faq .wp-block-details[open] {
	border-color: #4aa8ff;
	box-shadow: 0 16px 40px -18px rgba(0, 99, 177, 0.9);
	translate: 0 0;
}

.cct-faq .wp-block-details[open] > summary {
	background-color: var(--cct-blue);
}

.cct-faq .wp-block-details > :not(summary):not(.cct-faq__panel),
.cct-faq__panel > * {
	background-color: transparent;
	color: #cfd8e6;
	line-height: 1.6em;
}

.cct-faq__panel > :first-child,
.cct-faq .wp-block-details > summary + :not(.cct-faq__panel) {
	padding-top: 18px;
}

/* ------------------------------------------------------------------------
 * 7. Responsive + accessibility
 * --------------------------------------------------------------------- */
@media (max-width: 767px) {
	.cct-service-card--offset {
		--cct-offset: 0px;
	}

	.cct-totop {
		right: 14px;
		bottom: 14px;
		width: 44px;
		height: 44px;
	}

	.cct-hero::after {
		background:
			radial-gradient(300px circle at 50% 35%, rgba(0, 99, 177, 0.35), transparent 70%),
			radial-gradient(220px circle at 10% 75%, rgba(33, 60, 152, 0.3), transparent 70%);
		animation: cctDrift 12s ease-in-out infinite alternate;
	}

	.cct-hero::before {
		background-size: 48px 48px;
	}

	.cct-badge-circle::before {
		inset: -7px;
	}
}

@media (max-width: 1024px) {
	.cct-faq .wp-block-details:hover {
		translate: none;
	}
}

@keyframes cctDrift {
	from { translate: -6% 0; }
	to { translate: 6% 4%; }
}

@media (prefers-reduced-motion: reduce) {
	.cct-hero::before,
	.cct-hero::after,
	.cct-hero .cct-stat,
	.cct-intro__media img,
	.cct-mission__media img,
	.cct-badge-circle::before,
	.cct-feature__icon,
	.cct-hero__side--start,
	.cct-hero__side--end,
	.cct-hero__eyebrow,
	.cct-hero__buttons,
	.cct-hero .cct-logo-marquee,
	.cct-eyebrow::before,
	.cct-intro__eyebrow::before,
	.cct-process__eyebrow::before,
	.cct-projects-section__eyebrow::before,
	.cct-services__eyebrow::before {
		animation: none !important;
	}

	.cct-split .cct-word__inner {
		translate: none;
		opacity: 1;
		transition: none;
	}

	.cct-section-title::after,
	.cct-intro__title::after {
		transform: none;
		transition: none;
	}
}

/* ------------------------------------------------------------------------
 * 8. Scroll motion layer (motion.js: GSAP + ScrollTrigger + SplitText + Lenis)
 * --------------------------------------------------------------------- */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
	overflow: clip;
}

.lenis [data-lenis-prevent] {
	overscroll-behavior: contain;
}

html.lenis {
	scroll-behavior: auto;
}

/* Hero headline waits for the word animation (shown after 3s at the latest). */
.cct-motion .cct-hero__title {
	opacity: 0;
	animation: cctShowLate 0s linear 3s forwards;
}

@keyframes cctShowLate {
	to { opacity: 1; }
}

.cct-hword {
	display: inline-block;
}

/* Split titles: each line keeps the title's gradient and is revealed from a mask. */
.cct-is-split .cct-line {
	padding-bottom: 0.08em;
	background-image: inherit;
	-webkit-background-clip: text;
	background-clip: text;
}

/* Selected work: horizontal pinned track (desktop). */
.cct-work.is-horizontal {
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding-top: 120px;
	padding-bottom: 40px;
	overflow: hidden;
}

.cct-work.is-horizontal .cct-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: 40px;
	max-width: none;
	margin: 0 0 34px;
	text-align: left;
}

.cct-work.is-horizontal .cct-section-head > * {
	grid-column: 1;
}

.cct-work.is-horizontal .cct-section-head .cct-section-title::after {
	margin-inline: 0 auto;
	transform-origin: left center;
}

.cct-work__meter {
	display: flex;
	align-items: center;
	gap: 12px;
	grid-column: 2 !important;
	grid-row: 1 / span 3;
	color: #8ea3bf;
	font-family: var(--cct-font-heading);
	font-size: 15px;
	letter-spacing: 1px;
	white-space: nowrap;
}

.cct-work__count {
	color: var(--cct-white);
	font-size: 28px;
	font-weight: 700;
}

.cct-work__bar {
	position: relative;
	display: block;
	width: 160px;
	height: 2px;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.12);
}

.cct-work__bar span {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--cct-blue), #4aa8ff);
	transform: scaleX(0);
	transform-origin: left center;
}

.cct-work.is-horizontal .cct-work__grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 40px;
	width: max-content;
	will-change: transform;
}

.cct-work.is-horizontal .cct-work-card,
.cct-work.is-horizontal .cct-work-card:nth-child(n) {
	--cct-frame-h: clamp(200px, 32vh, 330px);
	flex: 0 0 auto;
	width: min(520px, 38vw);
}

.cct-work.is-horizontal .cct-work__buttons {
	margin-top: 26px;
	justify-content: flex-start;
}

/* Kinetic ticker. */
.cct-ticker {
	padding: 50px 0 30px;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
}

.cct-ticker__row {
	margin: 0;
	white-space: nowrap;
	color: transparent;
	font-family: var(--cct-font-heading);
	font-size: clamp(46px, 8vw, 124px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -1px;
	text-transform: uppercase;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
	will-change: transform;
}

.cct-ticker__row span {
	padding-right: 0.35em;
}

.cct-ticker__row em {
	margin: 0 0.25em;
	font-style: normal;
	-webkit-text-stroke: 0;
	color: #4aa8ff;
}

.cct-ticker__row--fill {
	background-image: linear-gradient(90deg, #1b78dc, #4aa8ff 50%, #1b78dc);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-stroke: 0;
}

/* Without the motion layer the ticker drifts on its own. */
:root:not(.cct-motion) .cct-ticker__row {
	animation: cctTickerDrift 40s linear infinite alternate;
}

:root:not(.cct-motion) .cct-ticker__row--fill {
	animation-direction: alternate-reverse;
}

@keyframes cctTickerDrift {
	from { translate: 0 0; }
	to { translate: -30% 0; }
}

@media (prefers-reduced-motion: reduce) {
	.cct-motion .cct-hero__title {
		opacity: 1;
		animation: none;
	}

	.cct-ticker__row {
		animation: none !important;
	}
}

/* ==========================================================================
 * 9. Client feedback – redesigned (v1.7)
 * ======================================================================= */
.cct-feedback {
	overflow: hidden;
	padding: 110px 0;
	isolation: isolate;
}

.cct-feedback::before {
	z-index: -1;
	background:
		linear-gradient(180deg, var(--cct-bg, #020203) 0%, transparent 14%, transparent 86%, var(--cct-bg, #020203) 100%),
		radial-gradient(ellipse at 15% 50%, rgba(7, 17, 51, 0.55) 0%, transparent 60%),
		linear-gradient(90deg, #020203 0%, rgba(2, 2, 3, 0.94) 38%, rgba(5, 12, 34, 0.9) 100%);
	opacity: 1;
}

.cct-feedback::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 10%;
	right: 8%;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 123, 255, 0.32) 0%, rgba(59, 63, 196, 0.12) 45%, transparent 70%);
	filter: blur(30px);
	animation: cctAurora 18s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes cctAurora {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-120px, 80px) scale(1.15); }
	100% { transform: translate(60px, -60px) scale(0.95); }
}

.cct-feedback__intro {
	gap: 18px;
}

.cct-feedback__eyebrow {
	margin: 0;
}

.cct-feedback__title {
	padding-top: 0;
	background: linear-gradient(120deg, #fff 30%, #9fd0ff 70%, #59d4ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(34px, 3.4vw, 50px);
	line-height: 1.08;
}

.cct-feedback__text {
	color: #c9d6ee;
	font-size: 17px;
	line-height: 1.75em;
}

.cct-feedback__sources {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.cct-feedback__sources li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid rgba(89, 212, 255, 0.28);
	border-radius: 999px;
	background: rgba(13, 29, 68, 0.6);
	color: #dfeaff;
	font-family: var(--cct-font-heading);
	font-size: 14px;
	letter-spacing: 0.5px;
	transition: border-color 0.3s ease, background-color 0.3s ease, translate 0.3s var(--cct-ease);
}

.cct-feedback__sources li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 10px #34d399;
}

.cct-feedback__sources li:hover {
	translate: 0 -3px;
	border-color: #59d4ff;
	background: rgba(0, 99, 177, 0.35);
}

.cct-feedback__buttons {
	margin-top: 8px;
}

.cct-marquee {
	height: 720px;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.cct-testimonials {
	gap: 26px;
}

.cct-quote {
	position: relative;
	margin: 26px 0 0;
	padding: 30px 28px 24px;
	border: 1px solid transparent;
	border-radius: 22px;
	background:
		linear-gradient(160deg, rgba(20, 38, 84, 0.94), rgba(7, 13, 32, 0.97)) padding-box,
		linear-gradient(140deg, rgba(89, 212, 255, 0.55), rgba(59, 63, 196, 0.12) 45%, rgba(89, 212, 255, 0.35)) border-box;
	box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9);
	transition: transform 0.45s var(--cct-ease), box-shadow 0.45s ease;
}

.cct-quote:hover {
	border-color: transparent;
	transform: translateY(-6px) scale(1.015);
	box-shadow: 0 30px 60px -22px rgba(0, 99, 177, 0.65), 0 0 0 1px rgba(89, 212, 255, 0.55);
}

.cct-quote__mark {
	position: absolute;
	top: 20px;
	right: 22px;
	width: 44px;
	height: 44px;
	color: rgba(89, 212, 255, 0.16);
	transition: color 0.45s ease, transform 0.45s var(--cct-ease);
}

.cct-quote__mark svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.cct-quote:hover .cct-quote__mark {
	color: #59d4ff;
	transform: rotate(-10deg) scale(1.15);
}

.cct-quote__text {
	min-height: 0;
	padding-right: 54px;
	color: #c9d6ee;
	font-size: 16px;
	line-height: 1.75em;
}

.cct-quote__author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cct-quote__avatar-wrap {
	flex: 0 0 auto;
	padding: 2px;
	border-radius: 50%;
	background: linear-gradient(135deg, #59d4ff, #2f7bff 50%, #3b3fc4);
	transition: box-shadow 0.45s ease, transform 0.45s var(--cct-ease);
}

.cct-quote:hover .cct-quote__avatar-wrap {
	transform: scale(1.06);
	box-shadow: 0 0 22px rgba(89, 212, 255, 0.6);
}

.cct-quote .cct-quote__avatar {
	display: block;
	flex: none;
	width: 52px;
	height: 52px;
	border: 3px solid #0b1530;
	border-radius: 50%;
	object-fit: cover;
}

.cct-quote__avatar--initial {
	display: grid !important;
	place-items: center;
	background: #13306a;
	color: #fff;
	font-family: var(--cct-font-heading);
	font-size: 20px;
	font-weight: 700;
}

.cct-quote__name {
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

.cct-quote__role {
	color: #7fa6e6;
	font-size: 14px;
}

/* ==========================================================================
 * 10. Portfolio grid – browser-frame cards with scrolling previews (v1.7)
 * ======================================================================= */
.cct-pgrid__filters {
	position: relative;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 54px;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cct-pgrid__filter {
	position: relative;
	z-index: 1;
	border-color: transparent;
	transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.cct-pgrid__filter:hover,
.cct-pgrid__filter:focus-visible {
	border-color: transparent;
	color: #9fd0ff;
}

.cct-pgrid__indicator {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 0;
	height: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #2f7bff, #0063b1);
	box-shadow: 0 8px 26px -6px rgba(47, 123, 255, 0.8);
	transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1), width 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.cct-pgrid.has-indicator .cct-pgrid__filter.is-active {
	border-color: transparent;
	background-color: transparent;
	box-shadow: none;
	color: #fff;
}

.cct-pgrid__list {
	gap: 34px;
}

.cct-pcard {
	position: relative;
	height: 100%;
	border-radius: 22px;
	transition: translate 0.5s var(--cct-ease), box-shadow 0.5s ease;
}

.cct-pcard::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 22px;
	box-shadow: 0 0 0 1px rgba(89, 212, 255, 0.6), 0 0 44px -8px rgba(89, 212, 255, 0.5);
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.cct-pcard:hover,
.cct-pcard:focus-within {
	translate: 0 -8px;
	box-shadow: 0 34px 70px -28px rgba(0, 99, 177, 0.75);
}

.cct-pcard:hover::after,
.cct-pcard:focus-within::after {
	opacity: 1;
}

.cct-pcard__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px;
	border: 1px solid transparent;
	border-radius: 22px;
	background:
		linear-gradient(160deg, rgba(20, 38, 84, 0.88), rgba(6, 11, 26, 0.96)) padding-box,
		linear-gradient(140deg, rgba(89, 212, 255, 0.35), rgba(255, 255, 255, 0.06) 40%, rgba(47, 123, 255, 0.3)) border-box;
	color: inherit;
	text-decoration: none;
}

.cct-pcard__link:focus-visible {
	outline: 2px solid #59d4ff;
	outline-offset: 4px;
}

.cct-pcard__frame {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	background: #0b1530;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cct-pcard__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 32px;
	padding: 0 12px;
	background: #111f44;
}

.cct-pcard__dots {
	display: inline-flex;
	gap: 6px;
}

.cct-pcard__dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ff6b6b;
}

.cct-pcard__dots i:nth-child(2) {
	background: #ffc857;
}

.cct-pcard__dots i:nth-child(3) {
	background: #34d399;
}

.cct-pcard__url {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	padding: 3px 12px;
	border-radius: 6px;
	background: #0a1530;
	color: #8ea3bf;
	font-size: 11px;
	line-height: 1.4;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cct-pcard__screen {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: #0b1530;
}

.cct-pcard__shot {
	display: block;
	width: 100%;
	height: auto;
	min-height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
	will-change: transform;
}

.cct-pcard:hover .cct-pcard__shot,
.cct-pcard:focus-within .cct-pcard__shot {
	transform: translateY(var(--cct-shot-dist, 0));
	transition-duration: var(--cct-shot-time, 4s);
	transition-timing-function: cubic-bezier(0.45, 0.05, 0.4, 1);
}

.cct-pcard__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
	transform: translateX(-110%);
	pointer-events: none;
}

.cct-pcard:hover .cct-pcard__shine {
	transform: translateX(110%);
	transition: transform 0.9s ease;
}

.cct-pcard__initial {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		radial-gradient(circle at 25% 25%, rgba(0, 99, 177, 0.8), transparent 60%),
		radial-gradient(circle at 80% 85%, rgba(59, 63, 196, 0.8), transparent 55%);
	background-size: 28px 28px, 28px 28px, 100% 100%, 100% 100%;
	color: rgba(255, 255, 255, 0.9);
	font-family: var(--cct-font-heading);
	font-size: 72px;
	font-weight: 700;
	transition: transform 1.1s var(--cct-ease);
}

.cct-pcard:hover .cct-pcard__initial {
	transform: scale(1.08);
}

.cct-pcard__body {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 8px 8px 10px;
}

.cct-pcard__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.cct-pcard__cats {
	color: #59d4ff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.cct-pcard__title {
	color: #fff;
	font-family: var(--cct-font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.cct-pcard__go {
	display: grid;
	flex: 0 0 44px;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	color: #fff;
	transition: background 0.4s ease, border-color 0.4s ease, transform 0.5s var(--cct-ease), box-shadow 0.4s ease;
}

.cct-pcard:hover .cct-pcard__go,
.cct-pcard:focus-within .cct-pcard__go {
	border-color: transparent;
	background: linear-gradient(135deg, #59d4ff, #2f7bff);
	box-shadow: 0 8px 22px -6px rgba(47, 123, 255, 0.9);
	transform: rotate(45deg);
}

@media (max-width: 1024px) {
	.cct-feedback {
		padding: 80px 0;
	}

	.cct-feedback__inner {
		gap: 30px;
		padding: 0 24px;
	}

	.cct-marquee {
		height: 600px;
	}
}

@media (max-width: 767px) {
	.cct-feedback {
		padding: 64px 0;
	}

	.cct-feedback__inner {
		padding: 0 16px;
	}

	.cct-feedback__intro {
		align-items: flex-start;
		padding: 0;
	}

	.cct-feedback__title {
		font-size: 34px;
	}

	.cct-feedback::after {
		width: 380px;
		height: 380px;
	}

	.cct-marquee {
		height: 520px;
	}

	.cct-quote {
		padding: 24px 20px 20px;
	}

	.cct-quote__text {
		padding-right: 40px;
	}

	.cct-quote__mark {
		top: 16px;
		right: 16px;
		width: 34px;
		height: 34px;
	}
}

@media (max-width: 640px) {
	.cct-pgrid__filters {
		border-radius: 24px;
	}

	.cct-pcard__title {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cct-feedback::after {
		animation: none;
	}

	.cct-pcard:hover .cct-pcard__shot,
	.cct-pcard:focus-within .cct-pcard__shot {
		transform: none;
	}

	.cct-pcard,
	.cct-quote {
		transition: none;
	}
}
