/* ==========================================================================
   INT'L TECH - homepage (front page only)
   ========================================================================== */

/* ---------- Hero: copy on the left, a live interactive panel on the right ---------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100svh;
	padding: calc(var(--header-h) + var(--header-top) + clamp(40px, 6vh, 80px)) 0 clamp(56px, 8vh, 96px);
	overflow: hidden;
	isolation: isolate;
	background: #0e1014;
}

/* A soft studio light behind the product and a hint of floor - nothing more. */
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 42% 52% at 72% 46%, rgba(150, 170, 200, 0.13), transparent 70%),
		linear-gradient(-180deg, #0e1014 0%, #0e1014 70%, #121419 100%);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: clamp(32px, 4vw, 72px);
	align-items: center;
}

.hero__copy {
	position: relative;
	z-index: 1;
}

.hero__eyebrow {
	color: #8fbdf5;
}

.hero__title {
	margin-bottom: 0;
	font-size: clamp(44px, min(4.5vw, 9vh), 78px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.05em;
}

@media (min-width: 1024px) {
	.hero__copy {
		container-type: inline-size;
	}

	.hero__title {
		font-size: clamp(40px, min(11.8cqw, 9vh), 78px);
	}

	.hero__title .line__inner {
		white-space: nowrap;
	}
}

.hero__title .line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.16em;
	margin-bottom: -0.16em;
}

.hero__title .line__inner {
	display: inline-block;
	will-change: transform;
}

.hero__title .text-accent {
	color: #5aa3f5;
}

.hero__text {
	max-width: 520px;
	margin: clamp(22px, 3.6vh, 34px) 0 0;
	font-size: clamp(17px, 1.25vw, 19px);
	line-height: 1.65;
	color: #b6bbc5;
}

.hero .btn-row {
	margin-top: clamp(26px, 4vh, 40px);
}

.hero .btn-ghost {
	border-color: rgba(255, 255, 255, 0.24);
	color: #fff;
}

.hero .btn-ghost:hover {
	border-color: #fff;
	color: #fff;
}

.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 14px clamp(28px, 4vw, 56px);
	margin-top: clamp(36px, 6vh, 72px);
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	color: #8b919c;
}

.hero__facts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hero__facts strong {
	font-size: clamp(26px, 2.2vw, 34px);
	font-weight: 600;
	letter-spacing: -0.04em;
	color: #fff;
}

.js:not(.gsap-on) .hero__copy > * {
	opacity: 0;
	transform: translateY(20px);
	animation: rise 0.9s var(--ease) forwards;
}

.js:not(.gsap-on) .hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
.js:not(.gsap-on) .hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
.js:not(.gsap-on) .hero__copy > *:nth-child(4) { animation-delay: 0.24s; }
.js:not(.gsap-on) .hero__copy > *:nth-child(5) { animation-delay: 0.32s; }

.gsap-on .hero__title .line__inner {
	transform: translateY(110%);
}

.gsap-on .hero__eyebrow,
.gsap-on .hero__text,
.gsap-on .hero .btn-row,
.gsap-on .hero__facts,
.gsap-on .hero__caption,
.gsap-on .hpanel {
	opacity: 0;
}

/* ---------- The panel itself ---------- */

.hero__stage {
	position: relative;
	margin-left: calc(var(--gutter) * -1);
	perspective: 2400px;
	perspective-origin: 70% 50%;
}

.hero__stage::after {
	content: "";
	position: absolute;
	right: 8%;
	left: 4%;
	bottom: 46px;
	z-index: -1;
	height: 40px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.75);
	filter: blur(22px);
}

/* Photo panel: the animated screen sits inside the real panel photo, flat. */
.pphoto.hpanel {
	transform: none;
}

.pphoto .hpanel__screen {
	position: absolute;
	aspect-ratio: auto;
	border-radius: 0;
	background: #000;
}

@media (min-width: 1024px) {
	.hero__stage .pphoto {
		margin-left: var(--gutter);
	}
}

.hpanel {
	--ry: -16deg;
	--rx: 3deg;
	position: relative;
	transform: rotateY(var(--ry)) rotateX(var(--rx));
	transform-style: preserve-3d;
	transform-origin: 60% 50%;
	will-change: transform;
}

.hpanel__body {
	position: relative;
	padding: 1.4% 1.4% 2.6%;
	border-radius: 14px;
	background: linear-gradient(-180deg, #2b2e35 0%, #1b1d22 60%, #15171b 100%);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.07),
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		0 60px 110px -40px rgba(0, 0, 0, 0.95);
}

/* Brand mark on the bottom bezel, as on the real hardware. */
.hpanel__body::after {
	content: "INT'L TECH";
	position: absolute;
	right: 0;
	left: 0;
	bottom: 0.55%;
	font-size: clamp(7px, 0.62vw, 10px);
	font-weight: 600;
	letter-spacing: 0.28em;
	text-align: center;
	color: rgba(255, 255, 255, 0.32);
}

.hpanel__cam {
	position: absolute;
	top: 0.45%;
	right: 50%;
	width: 6px;
	height: 6px;
	margin-right: -3px;
	border-radius: 50%;
	background: #050608;
	box-shadow: inset 0 0 0 1.5px #2f3238;
}

.hpanel__screen {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 3px;
	background: #000;
	container-type: inline-size;
}

.hpanel__wall {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hpanel__mode {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
}

.hpanel__mode.is-on {
	opacity: 1;
	visibility: visible;
}

.hpanel__boot {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: #05070a;
	opacity: 0;
	pointer-events: none;
}

.hpanel__boot img {
	width: 52%;
	height: auto;
}

.hpanel__tap {
	position: absolute;
	top: 0;
	right: 0;
	width: 4.4cqw;
	height: 4.4cqw;
	margin: -2.2cqw -2.2cqw 0 0;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	opacity: 0;
	pointer-events: none;
}

/* A fixed reflection on the glass. */
.hpanel__sheen {
	position: absolute;
	inset: 0;
	background: linear-gradient(-118deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 46%);
	pointer-events: none;
}

.hpanel__stand {
	position: relative;
	height: clamp(48px, 6vw, 86px);
}

.hpanel__stand i {
	position: absolute;
	top: 0;
	width: 1.5%;
	height: 100%;
	background: linear-gradient(-90deg, #15171b, #34373e 50%, #15171b);
}

.hpanel__stand i:first-child {
	right: 30%;
}

.hpanel__stand i:nth-child(2) {
	left: 30%;
}

.hpanel__stand b {
	position: absolute;
	bottom: 0;
	right: 22%;
	left: 22%;
	height: 10px;
	border-radius: 5px;
	background: linear-gradient(-180deg, #2b2e35, #16181c);
}

.hero__caption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 20px;
	margin: 22px 0 0 var(--gutter);
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13.5px;
	color: #8b919c;
}

.hero__caption span:first-child {
	font-weight: 600;
	color: #fff;
}

/* Whiteboard mode */
.board {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 6.4cqw 1fr;
	background: #f7f8fa;
}

.board__tools {
	display: grid;
	align-content: start;
	gap: 1.2cqw;
	padding: 2cqw 1.4cqw;
	border-left: 1px solid #e3e5e9;
	background: #fff;
}

.board__tools i {
	width: 3.6cqw;
	height: 3.6cqw;
	border-radius: 0.8cqw;
	background: #eceef1;
}

.board__tools i.is-on {
	background: #0a6adb;
}

.board__canvas {
	position: relative;
	padding: 2.6cqw 3cqw;
}

.board__title {
	margin: 0;
	font-size: 2.3cqw;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #111318;
}

.board svg {
	position: absolute;
	right: 3%;
	top: 16%;
	width: 92%;
	height: 78%;
}

.ink {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}

.ink--blue {
	stroke: #0a6adb;
}

.ink--dark {
	stroke: #1d2027;
}

.ink--red {
	stroke: #d4473d;
}

.board__label {
	position: absolute;
	font-size: 1.7cqw;
	font-weight: 600;
	font-style: italic;
	color: #3b404c;
}

/* Casting mode: four shared screens */
.cast {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.4cqw;
	padding: 2.4cqw;
	background: rgba(5, 8, 14, 0.5);
}

.cast__win {
	position: relative;
	padding: 4.6cqw 1.8cqw 1.8cqw;
	border-radius: 1cqw;
	background: #f4f5f7;
	overflow: hidden;
}

.cast__win b {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	padding: 0.9cqw 1.4cqw;
	background: #e4e6ea;
	font-size: 1.35cqw;
	font-weight: 600;
	color: #3b404c;
}

.cast__bars {
	display: flex;
	align-items: flex-end;
	gap: 1cqw;
	height: 100%;
}

.cast__bars i {
	flex: 1;
	border-radius: 0.4cqw 0.4cqw 0 0;
	background: #0a6adb;
}

.cast__bars i:nth-child(odd) {
	background: #9cc3f2;
}

.cast__win--cam {
	background: #0e1014 url("../img/security-gate-barrier-640.webp") center / cover no-repeat;
}

.cast__win--cam b {
	background: rgba(14, 16, 20, 0.75);
	color: #fff;
}

.cast__rec {
	position: absolute;
	left: 1.4cqw;
	bottom: 1.2cqw;
	padding: 0.3cqw 0.8cqw;
	border-radius: 0.4cqw;
	background: #d4473d;
	font-size: 1.2cqw;
	font-weight: 700;
	color: #fff;
}

.cast__plan {
	position: relative;
	display: block;
	height: 100%;
	border: 1px solid #c9ced6;
}

.cast__plan i {
	position: absolute;
	border: 1px solid #c9ced6;
	background: rgba(10, 106, 219, 0.06);
}

.cast__plan i:nth-child(1) { right: 0; top: 0; width: 45%; height: 55%; }
.cast__plan i:nth-child(2) { right: 45%; top: 0; width: 55%; height: 35%; }
.cast__plan i:nth-child(3) { right: 45%; top: 35%; width: 30%; height: 65%; background: rgba(10, 106, 219, 0.18); }
.cast__plan i:nth-child(4) { right: 0; top: 55%; width: 45%; height: 45%; }

.cast__lines i {
	display: block;
	height: 1.3cqw;
	margin-bottom: 1.4cqw;
	border-radius: 0.6cqw;
	background: #d9dde3;
}

.cast__lines i:nth-child(1) { width: 80%; background: #111318; }
.cast__lines i:nth-child(2) { width: 92%; }
.cast__lines i:nth-child(3) { width: 70%; }
.cast__lines i:nth-child(4) { width: 85%; }

/* ---------- Trust strip ---------- */

.trust {
	padding: 30px 0;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}

.trust__inner {
	display: flex;
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
}

.trust__caption {
	flex: none;
	max-width: 180px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--muted);
}

.marquee {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: 60px;
	width: max-content;
	animation: marquee 55s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee__track .wordmark {
	font-size: 22px;
	color: var(--muted);
	opacity: 0.75;
	transition: color 0.3s, opacity 0.3s;
}

.marquee__track li:hover .wordmark {
	color: var(--heading);
	opacity: 1;
}

.marquee__track li {
	display: grid;
	place-items: center;
	height: 58px;
	padding: 0 20px;
	border-radius: 8px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #e4e7ec;
}

.marquee__track .logo-img {
	max-width: 120px;
	max-height: 34px;
	filter: grayscale(1);
	opacity: 0.8;
	transition: filter 0.3s, opacity 0.3s;
}

.marquee__track li:hover .logo-img {
	filter: none;
	opacity: 1;
}

@keyframes marquee {
	to {
		transform: translateX(calc(-1*(-50% - 30px)));
	}
}

/* ---------- About ---------- */

.section-about {
	padding-top: 0 !important;
}

/* ---------- Reel: the film grows to fill the screen ---------- */

.reel {
	position: relative;
	background: #0e1014;
}

.reel__stage {
	position: relative;
	display: grid;
	place-items: center;
	height: 100svh;
	overflow: hidden;
}

.reel__frame {
	position: relative;
	width: min(58vw, 980px);
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	will-change: width, height, border-radius;
}

.reel__frame img,
.reel__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reel__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(-90deg, rgba(10, 12, 16, 0.88) 0%, rgba(10, 12, 16, 0.45) 42%, transparent 70%),
		linear-gradient(0deg, rgba(10, 12, 16, 0.5) 0%, transparent 30%);
}

.reel__copy {
	position: absolute;
	top: 50%;
	right: max(var(--gutter), calc((100vw - var(--container)) / 2));
	z-index: 1;
	width: min(560px, 44vw);
	transform: translateY(-50%);
}

.reel__caption {
	margin: 0 0 22px;
	font-size: clamp(28px, 3.4vw, 52px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.04em;
	color: #fff;
}

.reel__caption em {
	font-style: normal;
	color: #5aa3f5;
}

.reel__sub {
	max-width: 30em;
	margin: 0 0 26px;
	font-size: clamp(16px, 1.2vw, 18px);
	line-height: 1.7;
	color: #c4c8d0;
}

.reel .link-arrow {
	color: #fff;
}

.reel__word {
	position: absolute;
	z-index: 2;
	margin: 0;
	font-size: clamp(44px, 8.6vw, 148px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.055em;
	white-space: nowrap;
	color: #fff;
	pointer-events: none;
}

.reel__word--l {
	top: 12%;
	right: 4vw;
}

.reel__word--r {
	left: 4vw;
	bottom: 12%;
	color: #5aa3f5;
}

/* ---------- Featured panels: pinned size showcase ---------- */

.showcase {
	position: relative;
	background: #0e1014;
	overflow: hidden;
}

.showcase__stage {
	display: grid;
	align-items: center;
	min-height: 100svh;
	padding: calc(var(--header-h) + var(--header-top) + 24px) 0 48px;
}

.showcase__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}

.showcase__title {
	font-size: clamp(34px, 3.8vw, 54px);
	letter-spacing: -0.04em;
}

.showcase__text {
	max-width: 460px;
	color: var(--muted);
}

.showcase__size {
	display: flex;
	align-items: flex-start;
	margin: 10px 0 20px;
	font-size: clamp(84px, 8.6vw, 140px);
	font-weight: 600;
	line-height: 0.9;
	letter-spacing: -0.065em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.showcase__size sup {
	margin: 0.05em 0.04em 0 0;
	font-size: 0.42em;
	color: #5aa3f5;
}

.showcase__size small {
	align-self: flex-end;
	margin: 0 18px 0.35em 0;
	padding: 5px 10px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #d7dae0;
}

.showcase__steps {
	display: grid;
	max-width: 440px;
	border-top: 1px solid var(--line-strong);
}

.showcase__steps button {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 14px;
	width: 100%;
	padding: 11px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none;
	text-align: right;
	color: var(--muted);
	transition: color 0.3s;
}

.showcase__steps b {
	width: 48px;
	font-size: 16px;
	font-weight: 600;
}

.showcase__steps span {
	font-size: 15px;
}

.showcase__steps li.is-active button {
	color: #fff;
}

.showcase__steps li.is-active b {
	color: #5aa3f5;
}

.showcase__visual {
	position: relative;
}

.showcase__device {
	--scale: 0.8;
	position: relative;
	border-radius: 7px;
	overflow: hidden;
	transform: scale(var(--scale));
	transform-origin: 50% 60%;
	box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.9);
	transition: transform 0.6s var(--ease);
	will-change: transform;
}

.gsap-on .showcase__device {
	transition: none;
}

.showcase__device img {
	display: block;
	width: 100%;
	height: auto;
}

.showcase__screen--video {
	right: 1.3%;
	top: 4.9%;
	width: 97.4%;
	height: 88.4%;
}

.showcase__specs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 8px;
	border-top: 1px solid var(--line-strong);
}

.showcase__specs li {
	padding: 16px 0 0 16px;
}

.showcase__specs li + li {
	padding-right: 16px;
	border-right: 1px solid var(--line);
}

.showcase__specs strong {
	display: block;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.04em;
	color: #fff;
}

.showcase__specs span {
	font-size: 13.5px;
	color: var(--muted);
}

/* ---------- Projects: cards stack as you scroll ---------- */

.stack-cards {
	display: grid;
	gap: clamp(40px, 6vw, 96px);
}

.stack-cards__item {
	position: sticky;
	top: calc(var(--header-h) + var(--header-top) + 24px);
	min-height: min(560px, 82vh);
	transform-origin: 50% 0;
	will-change: transform;
}

.stack-cards__item:nth-child(2) { top: calc(var(--header-h) + var(--header-top) + 40px); }
.stack-cards__item:nth-child(3) { top: calc(var(--header-h) + var(--header-top) + 56px); }
.stack-cards__item:nth-child(4) { top: calc(var(--header-h) + var(--header-top) + 72px); }

.stack-cards__item .project-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--card);
}

/* ---------- Clients ---------- */

.section-clients {
	overflow: hidden;
}

/* ---------- Why choose us ---------- */

.why {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(36px, 5vw, 88px);
	align-items: start;
}

.why__aside {
	position: sticky;
	top: calc(var(--header-h) + var(--header-top) + 32px);
}

.why__media {
	border-radius: var(--radius);
	overflow: hidden;
}

.why__media img {
	width: 100%;
}

.why__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--line);
	overflow: hidden;
}

.why__grid .why-card {
	border: 0;
	border-radius: 0;
	background: var(--bg);
}

.why__grid .why-card:hover {
	background: var(--bg-2);
}

.why-card h3 {
	font-size: 19px;
}

.why-card p {
	font-size: 15.5px;
}

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

.section-testimonials {
	background: var(--bg-2);
	padding-top: var(--section) !important;
}

/* A slow marquee of self-playing client videos; hovering lets a visitor stop and pick one. */
.vmarquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.vmarquee__track {
	display: flex;
	gap: clamp(14px, 1.6vw, 24px);
	width: max-content;
	padding-block: 6px;
	animation: marquee-q 55s linear infinite;
}

.vmarquee:hover .vmarquee__track,
.vmarquee:focus-within .vmarquee__track {
	animation-play-state: paused;
}

@keyframes marquee-q {
	to {
		transform: translateX(calc(-1*(-50% - 10px)));
	}
}

.vcard {
	flex: none;
	width: clamp(200px, 17vw, 250px);
	margin: 0;
}

.vcard__play {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--surface-2);
	overflow: hidden;
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.vcard__play:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.vcard__poster,
.vcard__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vcard__video.is-playing {
	z-index: 1;
}

.vcard__play::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(0deg, rgba(10, 12, 16, 0.78) 0%, transparent 42%);
	pointer-events: none;
}

.vcard__sound {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 10px 7px 13px;
	border-radius: 999px;
	background: rgba(14, 16, 20, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-size: 12.5px;
	font-weight: 600;
	color: #fff;
	transition: background-color 0.3s;
}

.vcard__sound .icon {
	width: 13px;
	height: 13px;
}

.vcard__play:hover .vcard__sound {
	background: var(--accent);
}

.vcard figcaption {
	margin-top: 14px;
	font-size: 13.5px;
	color: var(--muted);
}

.vcard figcaption strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--heading);
}

@media (prefers-reduced-motion: reduce) {
	.vmarquee {
		overflow-x: auto;
	}

	.vmarquee__track {
		animation: none;
	}

	.vcard[aria-hidden] {
		display: none;
	}
}

.section-testimonials + .section-faq {
	padding-top: var(--section);
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1023px) {
	.hero {
		min-height: 0;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__stage {
		margin-left: 0;
	}

	.hpanel {
		--ry: 0deg;
		--rx: 0deg;
	}

	.hero__caption {
		margin-left: 0;
	}

	.trust__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.trust__caption {
		max-width: none;
	}

	.reel__stage {
		height: auto;
		padding: 64px 0;
		gap: 18px;
	}

	.reel__word {
		position: static;
		font-size: clamp(40px, 12vw, 90px);
	}

	.reel__frame {
		width: calc(100vw - var(--gutter) * 2);
		aspect-ratio: auto;
		overflow: visible;
	}

	.reel__frame::after {
		display: none;
	}

	.reel__frame img,
	.reel__frame video {
		position: relative;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		border-radius: 10px;
	}

	.reel__frame video {
		position: absolute;
		top: 0;
	}

	.reel__copy {
		position: static;
		width: auto;
		margin-top: 22px;
		transform: none;
	}

	.showcase__grid {
		grid-template-columns: 1fr;
	}

	.showcase__visual {
		order: -1;
	}

	.showcase__device {
		--scale: 1 !important;
	}

	.showcase__steps {
		max-width: none;
	}

	.why {
		grid-template-columns: 1fr;
	}

	.why__aside {
		position: static;
	}

	.why__media {
		display: none;
	}

	.stack-cards__item {
		position: relative;
		top: 0 !important;
		min-height: 0;
	}
}

@media (max-width: 700px) {
	.hero {
		padding-bottom: 64px;
	}

	.hero__facts {
		gap: 18px 28px;
	}

	.hero__caption span:last-child {
		display: none;
	}

	.showcase__specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.showcase__specs li:nth-child(3) {
		padding-right: 0;
		border-right: 0;
	}

	.why__grid {
		grid-template-columns: 1fr;
	}

	.showcase__size small {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reel__stage {
		height: auto;
		padding: 72px 0;
	}

	.reel__word {
		position: static;
	}

	.hscroll {
		overflow-x: auto;
	}

	.vmarquee__track,
	.marquee__track {
		animation: none;
	}
}

/* Short or narrow desktop windows: show the project cards as a normal list so nothing is ever covered. */
.stack-cards.is-flat .stack-cards__item {
	position: relative;
	top: 0 !important;
	min-height: 0;
	transform: none !important;
	opacity: 1 !important;
}

.stack-cards.is-flat {
	gap: clamp(20px, 3vw, 36px);
}
.stack-cards.is-measuring .stack-cards__item {
	min-height: 0;
}