/* Exotrade — matches the Framer design. White base, black type, gradient labels, lime footer. */
:root {
	--black: #000;
	--text: #0B0B0B;
	--muted: #6E6E73;
	--soft: #9A9AA0;
	--line: #E3E4E8;
	--card: #F4F5F7;
	--card-2: #EDEEF1;
	--field: #F3F2F1;
	--dark: #0A0A0A;
	--lime: #CCEA8C;
	--mint-pill: #E4F6CC;
	--teal: #5BC6CF;
	--grad: linear-gradient(90deg, #B7E7A0 0%, #5FC9C3 25%, #5A8CEB 50%, #5FC9C3 75%, #B7E7A0 100%);

	--font: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
	--max: 1240px;
	--pad: clamp(1.25rem, 4vw, 3rem);
	--section: clamp(4.5rem, 10vw, 8.5rem);
	--r-card: 12px;
	--r-img: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.45;
	color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip;
	font-feature-settings: 'cv11', 'ss01';
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid #5A8CEB; outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #000; color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.container { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Type */
.label {
	display: inline-block; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em;
	margin-bottom: 1rem;
}
/* Gradient text: colours drift slowly left→right */
.label, .grad-text {
	background: var(--grad); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: exo-grad 5s linear infinite;
}
@keyframes exo-grad { to { background-position: -200% 0; } }

/* Scroll reveal for labels (and the text right after them) */
.js .label[data-reveal] { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity .8s ease, transform .8s ease, filter .8s ease; }
.js .label[data-reveal] + * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease .12s, transform .9s ease .12s; }
.js .label[data-reveal].is-in, .js .label[data-reveal].is-in + * { opacity: 1; transform: none; filter: none; }
.h-xl { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.intro { margin-top: 1.25rem; font-size: 1rem; max-width: 60ch; }
.intro--narrow { max-width: 50ch; }

.media { width: 100%; object-fit: cover; }
.media--empty { display: flex; align-items: flex-end; padding: .9rem; background: #E6E8EC; color: #8A8F98; font-size: .78rem; line-height: 1.35; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
	padding: .75rem clamp(1rem, 2.6vw, 3rem);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { height: 28px; width: auto; }
.site-footer .brand__logo { height: 30px; }
.brand__word { font-weight: 800; font-size: 1.05rem; letter-spacing: .28em; text-transform: uppercase; }
.site-nav__list { display: flex; gap: 2.5rem; }
.site-nav__list a { text-decoration: none; font-size: 1rem; }
.site-nav__list a:hover { opacity: .6; }
.site-header__end { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; }
.btn--black {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.25rem;
	background: #000; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 1rem;
	transition: background-color .2s;
}
.btn--black:hover { background: #2a2a2a; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: #000; margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 820px) {
	.site-header { grid-template-columns: 1fr auto; }
	.nav-toggle { display: block; }
	.site-header__end .btn--black { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
	.site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--pad) 1.25rem; display: none; }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { display: block; padding: .9rem 0; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero (full screen) ---------- */
.hero {
	position: relative; overflow: hidden;
	min-height: calc(100svh - 66px);
	display: flex; flex-direction: column;
	padding: clamp(1rem, 3vw, 2rem) clamp(1.25rem, 3vw, 3rem) clamp(2.5rem, 4vw, 3.5rem);
}
.hero__stage { position: relative; flex: 1; display: grid; place-items: center; min-height: clamp(300px, 34vw, 500px); will-change: opacity; }

/* Soft colour glow behind the phones: hue follows scroll (JS sets --hue) */
.hero__aura {
	position: absolute; left: 50%; top: 52%; width: min(900px, 78vw); aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, hsl(var(--hue, 95) 75% 72% / .55) 0%, hsl(calc(var(--hue, 95) + 40) 75% 70% / .22) 38%, transparent 68%);
	filter: blur(30px); pointer-events: none; z-index: 0;
}

/* Big word: nearly edge to edge */
.hero__word {
	position: absolute; top: 6%; left: 50%; z-index: 0;
	transform: translate(-50%, var(--wy, 0px));
	font-size: 19vw; font-weight: 700; letter-spacing: -0.05em; line-height: .9;
	white-space: nowrap; user-select: none;
	background: linear-gradient(180deg, hsl(var(--hue, 95) calc(var(--tint, 0) * 60%) calc(90% - var(--tint, 0) * 10%)) 0%, #F1F2F4 58%, rgba(255,255,255,0) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__phones { position: relative; z-index: 1; width: min(460px, 78vw); will-change: transform; perspective: 1200px; }
.hero__tilt {
	display: flex; justify-content: center; align-items: center; gap: 4%;
	transform: translate(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 12px)) rotateY(calc(var(--mx, 0) * 7deg)) rotateX(calc(var(--my, 0) * -5deg));
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero__phone { flex: 1; min-width: 0; }
/* Phones never taller than ~55% of the screen, so the text below stays in view */
.hero__phone .media { display: block; width: auto; max-width: 100%; height: auto; max-height: 50svh; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.12)); }
.hero__phone .media--empty { width: auto; height: min(50svh, 560px); aspect-ratio: 3 / 4; border-radius: 28px; background: #DCDFE4; filter: none; }
.hero__phone--a { transform: translateY(6%) rotate(-3deg); }
.hero__phone--b { transform: translateY(-6%) rotate(3deg); }

/* Intro, then an endless gentle float (two phones float out of phase) */
.js .hero__phone .media { animation: exo-rise 1.3s cubic-bezier(.2,.7,.2,1) .15s both, exo-float 6s ease-in-out 1.5s infinite; }
.js .hero__phone--b .media { animation-delay: .3s, 2.6s; animation-duration: 1.3s, 7s; }
.js .hero__word { animation: exo-word-in 1.6s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes exo-rise { from { opacity: 0; transform: translateY(70px) scale(.94); } }
@keyframes exo-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(-1.2deg); } }
@keyframes exo-word-in { from { opacity: 0; letter-spacing: .04em; filter: blur(10px); } }

/* Text under the phones, centred */
.hero__bottom { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; margin-top: clamp(1.25rem, 2.5vw, 2rem); padding-bottom: 2.5rem; }
.hero__lede { max-width: 520px; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.55; color: #3a3a3c; }
.hero__line { position: relative; min-height: 1.3em; width: 100%; text-align: center; font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.hero__phrase { display: none; }
.hero__phrase--final { display: inline; }
.hero__line.is-live .hero__phrase { display: inline-block; position: absolute; left: 50%; bottom: 0; transform: translate(-50%, .4em); opacity: 0; white-space: nowrap; transition: opacity .45s ease, transform .45s ease; }
.hero__line.is-live .hero__phrase.is-on { opacity: 1; transform: translate(-50%, 0); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid #C9CBD1; border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #9A9AA0; animation: exo-scroll 1.8s ease-in-out infinite; }
@keyframes exo-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 820px) {
	.hero { min-height: 0; }
	.hero__word { top: 12%; }
	.hero__bottom { padding-bottom: 0; }
	.hero__line.is-live .hero__phrase { white-space: normal; width: 100%; }
	.hero__scroll { display: none; }
}

/* ---------- Meet ---------- */
.meet { padding-top: var(--section); padding-bottom: var(--section); }
.meet__visual { width: min(560px, 90%); margin: 0 auto 2.5rem; }
.meet__visual .media { height: auto; object-fit: contain; }
.meet__visual .media--empty { aspect-ratio: 1 / 1.05; border-radius: 24px; }
.meet__statement { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; max-width: 34ch; }

/* ---------- About ---------- */
.about { padding-bottom: var(--section); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.about__body { display: grid; gap: 1.4rem; max-width: 56ch; padding-left: .5rem; }
.about__lead { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }
.about__quote { padding-left: 1.1rem; border-left: 3px solid #5FC9C3; font-weight: 500; }
.about__img { aspect-ratio: 5 / 4; border-radius: var(--r-img); }
@media (max-width: 820px) { .about__grid { grid-template-columns: 1fr; } .about__body { padding-left: 0; } }

/* ---------- What We Do (bento) ---------- */
.offer { padding-bottom: var(--section); }
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; margin-top: clamp(3rem, 7vw, 6rem); }
.card {
	position: relative; overflow: hidden; min-height: clamp(300px, 32vw, 420px);
	border: 1px solid var(--line); border-radius: var(--r-card);
	background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
	display: flex; align-items: center;
}
.card--wide { grid-column: span 2; }
.card--blue { background: linear-gradient(180deg, #DCE4F8 0%, #F6F7FA 100%); border-color: #C9D5F3; }
.card__title { position: relative; z-index: 1; padding-left: clamp(1.5rem, 3vw, 2.6rem); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; max-width: 50%; }
.card--wide .card__img { position: absolute; right: 8%; top: 10%; bottom: 10%; width: 36%; height: auto; object-fit: contain; }
.card--wide .card__img--bleed { top: auto; bottom: 0; right: 6%; width: 40%; height: 88%; }
.card--wide .media--empty { border-radius: 18px; background: #DDE1E7; }
.card--center, .card--solo { flex-direction: column; justify-content: flex-start; padding: 2.4rem 1.5rem 1.5rem; gap: 1.5rem; }
.card--solo { justify-content: center; }
.card__title--sm { padding: 0; max-width: none; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; text-align: center; }
.card--center .card__img, .card--solo .card__img { width: 78%; flex: 1; min-height: 0; object-fit: contain; }
.card--center .media--empty, .card--solo .media--empty { border-radius: 18px; background: #DDE1E7; width: 72%; min-height: 200px; }
@media (max-width: 900px) {
	.bento { grid-template-columns: 1fr; }
	.card--wide { grid-column: auto; }
	.card__title { max-width: 55%; }
}

/* ---------- Stack slider (dark) ---------- */
.stack { background: var(--dark); color: #fff; padding: clamp(4rem, 8vw, 6rem) var(--pad); text-align: center; overflow: hidden; }
.stack__deck { position: relative; height: clamp(260px, 38vw, 520px); max-width: 1000px; margin: 0 auto; perspective: 1400px; }
.stack__card {
	position: absolute; top: 50%; left: 50%; width: min(44%, 480px); aspect-ratio: 560 / 470;
	padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; overflow: hidden;
	transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .8s;
}
.stack__card .media { width: 100%; height: 100%; }
.stack__card .media--empty { background: #F1F1F3; }
/* Fixed order left → right, same as the words: Used · Refurbed · New. The active card comes forward. */
.stack__card { --tx: -50%; --ry: 0deg; z-index: 1; filter: brightness(.5); transform: translate(var(--tx), -50%) rotateY(var(--ry)) scale(.8); }
.stack__card[data-index="0"] { --tx: -132%; --ry: 14deg; }
.stack__card[data-index="1"] { --tx: -50%; z-index: 2; }
.stack__card[data-index="2"] { --tx: 32%; --ry: -14deg; }
.stack__card.is-active { z-index: 5; filter: none; cursor: default; transform: translate(var(--tx), -50%) rotateY(calc(var(--ry) * .5)) scale(1); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.stack__card:not(.is-active):hover { filter: brightness(.8); }

/* The big words are the tabs: Used. Refurbed. New */
.stack__tabs { margin-top: 2.5rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 .3em; font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; }
.stack__tab { position: relative; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: #4A4A4F; cursor: pointer; transition: color .35s; }
.stack__tab:hover { color: #9A9AA0; }
.stack__tab.is-active { color: #fff; }
.stack__tab::after { content: ""; position: absolute; left: 0; right: .25em; bottom: -.1em; height: 3px; border-radius: 2px; background: var(--grad); background-size: 200% 100%; transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.stack__tab.is-active::after { transform: scaleX(1); animation: exo-grad 5s linear infinite; }

.stack__panels { display: grid; max-width: 680px; margin: 1.6rem auto 0; }
.stack__panel { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.stack__panel.is-active { opacity: 1; transform: none; }
.stack__panel[hidden] { display: block; visibility: hidden; }
.stack__panel-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.stack__text { margin-top: .6rem; color: #A1A1A6; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5; }
.grades { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.grade { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 130px; max-width: 210px; padding: .85rem 1.2rem; border: 1px solid #2E2E33; border-radius: 12px; background: #141416; }
.grade__name { font-weight: 600; font-size: 1.1rem; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.grade__text { color: #A1A1A6; font-size: .88rem; line-height: 1.4; }
.grades__note { margin-top: 1.1rem; font-size: .95rem; }
.grades__note a { color: #C9CBD1; text-decoration: underline; text-decoration-color: rgba(201,203,209,.4); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.grades__note a:hover { color: #fff; text-decoration-color: #5FC9C3; }
@media (max-width: 600px) {
	.stack__card { width: 40%; }
	.stack__card[data-index="0"] { --tx: -118%; }
	.stack__card[data-index="2"] { --tx: 18%; }
	.stack__deck { height: 200px; }
}

/* ---------- Refurbed ---------- */
.refurb { padding-top: var(--section); padding-bottom: var(--section); }
.refurb__head { text-align: center; max-width: 620px; margin: 0 auto; }
.refurb__head p:last-child { margin-top: 1.25rem; }
.refurb__points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; margin-top: clamp(3.5rem, 6vw, 5rem); padding: 0 clamp(0rem, 4vw, 3.5rem); }
.refurb__point .icon { width: 38px; height: 38px; color: var(--teal); }
.refurb__point h3 { margin: 1.4rem 0 0; font-size: 1.4rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; min-height: 2.4em; }
.refurb__point p { margin-top: 1.4rem; font-size: .95rem; max-width: 30ch; }
@media (max-width: 900px) { .refurb__points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .refurb__points { grid-template-columns: 1fr; } .refurb__point h3 { min-height: 0; } }

/* ---------- Showcase grid (columns drift vertically) ---------- */
.showcase { padding: 0 var(--pad); overflow: hidden; scroll-margin-top: 80px; }
.showcase__title { text-align: center; margin-bottom: clamp(2rem, 5vw, 4rem); }
.showcase__cols {
	max-width: 1400px; margin: 0 auto; height: clamp(620px, 58vw, 820px);
	display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.75rem, 4vw, 5.5rem);
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.showcase__col { display: flex; flex-direction: column; gap: clamp(1.5rem, 4vw, 3rem); }
.phone-tile { background: #F5F5F7; border-radius: 22px; padding: clamp(.75rem, 1.5vw, 1.4rem); aspect-ratio: 200 / 215; display: grid; place-items: center; }
.phone-tile .media { width: 100%; height: 100%; object-fit: contain; }
.phone-tile .media--empty { background: #E6E8EC; border-radius: 12px; }
.showcase__cols.is-live .showcase__col { animation: exo-up 36s linear infinite; }
.showcase__cols.is-live .showcase__col--down { animation-name: exo-down; }
@keyframes exo-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes exo-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (max-width: 700px) {
	.showcase__cols { grid-template-columns: repeat(3, 1fr); height: 560px; }
	.showcase__col:nth-child(n+4) { display: none; }
}

/* ---------- Feature cards (stack while scrolling) ---------- */
.features { padding-top: var(--section); padding-bottom: var(--section); display: grid; gap: 1.5rem; }
.feature {
	position: sticky; top: calc(90px + var(--i) * 18px);
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
	background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
	border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.5rem);
	min-height: clamp(320px, 34vw, 440px);
}
.feature__title { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.feature__text p { margin-top: 1.25rem; color: var(--muted); max-width: 44ch; }
.feature .media { aspect-ratio: 1 / 1; max-height: 360px; border-radius: 16px; justify-self: end; width: auto; height: 100%; max-width: 100%; }
.feature .media--empty { background: #DDE1E7; }
@media (max-width: 760px) { .feature { position: relative; top: auto; grid-template-columns: 1fr; } .feature .media { justify-self: stretch; width: 100%; height: auto; } }

/* ---------- Dark cascade ---------- */
.cascade { position: relative; background: #000; color: #fff; overflow: hidden; min-height: clamp(560px, 60vw, 820px); padding: var(--pad); }
.cascade__text { position: absolute; left: max(var(--pad), calc((100% - var(--max)) / 2)); bottom: clamp(3rem, 8vw, 6rem); max-width: 360px; z-index: 2; }
.cascade__title { font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.cascade__text p { margin-top: 1.25rem; color: #A1A1A6; font-size: 1.05rem; line-height: 1.65; }
.cascade__cards { position: absolute; inset: 0; }
.cascade__card {
	position: absolute; width: clamp(180px, 21vw, 290px); aspect-ratio: 1 / 1;
	left: calc(3% + var(--n) * 13.8%); top: calc(-6% + var(--n) * 12.5%);
	background: #F5F5F7; border-radius: 8px; padding: 1.5rem;
	--rot: -8deg;
	transform: rotate(var(--rot));
	box-shadow: 0 20px 50px rgba(0,0,0,.35);
	z-index: calc(var(--n) + 1);
	transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease, opacity .8s ease;
}
.cascade__card .media { width: 100%; height: 100%; object-fit: contain; transition: transform .55s cubic-bezier(.2,.7,.2,1); }

/* Entrance: cards slide in one by one along the diagonal (JS adds .cascade--anim only when motion is allowed) */
.cascade--anim .cascade__card { opacity: 0; transform: translate(-90px, -70px) rotate(calc(var(--rot) - 6deg)); }
.cascade--anim.is-in .cascade__card {
	opacity: 1; transform: rotate(var(--rot));
	transition-duration: .9s; transition-delay: calc(var(--n) * 120ms);
}
.cascade--anim.is-settled .cascade__card { transition-duration: .55s; transition-delay: 0s; }

/* Hover: card straightens, lifts to the front, phone zooms a little */
@media (hover: hover) {
	.cascade__card:hover {
		transform: rotate(0deg) translateY(-18px) scale(1.06);
		box-shadow: 0 34px 70px rgba(0,0,0,.55);
		z-index: 20;
	}
	.cascade__card:hover .media { transform: scale(1.08); }
	.cascade__cards:has(.cascade__card:hover) .cascade__card:not(:hover) { filter: brightness(.8); }
	.cascade__card { transition-property: transform, box-shadow, opacity, filter; }
}
.cascade__card .media--empty { background: #E3E5E9; border-radius: 6px; }
@media (max-width: 820px) {
	.cascade { padding: var(--section) var(--pad); }
	.cascade__text { position: relative; left: auto; bottom: auto; margin-bottom: 2.5rem; }
	.cascade__cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
	.cascade__card { position: relative; left: auto; top: auto; width: 100%; padding: .75rem; --rot: -4deg; }
}

/* ---------- Brands ---------- */
.brands { padding-top: var(--section); padding-bottom: var(--section); }
.logos {
	/* full width of the screen, edge to edge */
	margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden;
	width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track { display: flex; align-items: center; gap: clamp(4rem, 9vw, 9rem); width: max-content; padding: 1.5rem 0; }
.logos.is-live .logos__track { animation: exo-left 30s linear infinite; }
.logos__item { flex: none; height: 60px; display: flex; align-items: center; }
.logos__item img { height: 100%; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) contrast(1.1); }
.logos__item--text { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; color: #1a1a1a; }
@keyframes exo-left { to { transform: translateX(-50%); } }

/* Smartphones lineup: 5 phones, floating in a gentle wave */
.lineup { margin-top: clamp(3rem, 6vw, 5rem); text-align: center; }
.lineup__title { font-size: 1rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.lineup__row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.75rem, 3vw, 3rem); }
.lineup__phone { width: clamp(90px, 13vw, 190px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--n) * 110ms); }
.lineup__phone:nth-child(1), .lineup__phone:nth-child(5) { width: clamp(70px, 10vw, 150px); }
.lineup__phone:nth-child(3) { width: clamp(110px, 16vw, 230px); }
.lineup__float { animation: exo-wave 5.5s ease-in-out infinite; animation-delay: calc(var(--n) * -0.9s); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.lineup__phone:hover .lineup__float { animation-play-state: paused; transform: translateY(-14px) scale(1.04); }
.lineup__img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0,0,0,.12)); }
.lineup .media--empty { aspect-ratio: 9 / 19; border-radius: 22px; background: #E6E8EC; }
@keyframes exo-wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.lineup--anim .lineup__phone { opacity: 0; transform: translateY(60px); }
.lineup--anim.is-in .lineup__phone { opacity: 1; transform: none; }
@media (max-width: 600px) { .lineup__phone:nth-child(1), .lineup__phone:nth-child(5) { display: none; } .lineup__phone, .lineup__phone:nth-child(3) { width: 28vw; } }
.brands__table { margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid #CFCFD4; }
.brands__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.4rem 0 1.7rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
@media (max-width: 560px) { .brands__row { grid-template-columns: 1fr; gap: .3rem; } .brands__row span:last-child { color: var(--muted); } }

/* ---------- Contact ---------- */
.contact {
	position: relative; overflow: hidden; padding: var(--section) 0;
	background:
		radial-gradient(60% 50% at 0% 0%, rgba(204,234,140,.35) 0%, rgba(204,234,140,0) 70%),
		radial-gradient(50% 50% at 100% 100%, rgba(95,201,195,.18) 0%, rgba(95,201,195,0) 70%),
		#F7F8F6;
	border-top: 1px solid var(--line);
}
.contact__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__side { position: sticky; top: 100px; }
.contact__eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: #3a3a3c; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #1FCFB0; box-shadow: 0 0 0 0 rgba(31,207,176,.5); animation: exo-pulse 2.4s ease-out infinite; }
@keyframes exo-pulse { 70% { box-shadow: 0 0 0 8px rgba(31,207,176,0); } 100% { box-shadow: 0 0 0 0 rgba(31,207,176,0); } }
.contact__title { margin-top: 1.25rem; font-size: clamp(2.8rem, 5.6vw, 4.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: .98; }
.contact__text { margin-top: 1.25rem; color: #55565B; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 40ch; }

/* Contact details card (left) */
.contact__info { margin-top: clamp(2rem, 4vw, 2.75rem); background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.info-row { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row__dash { display: none; }
.info-row__label { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-row__value { display: block; margin-top: .35rem; font-size: 1rem; line-height: 1.45; text-decoration: none; }
a.info-row__value:hover { text-decoration: underline; }
.info-row--phone { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; padding: 1.5rem; background: linear-gradient(135deg, #0F1412 0%, #1C2622 100%); color: #fff; border-bottom: 0; }
.info-row--phone .info-row__label { color: #9FD9CB; grid-column: 1; }
.info-row__phone { grid-column: 1; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; color: #fff; }
.btn-call {
	grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: .5rem;
	min-height: 48px; padding: 0 1.3rem; border-radius: 999px;
	background: #1FCFB0; color: #06221C; font-weight: 600; text-decoration: none;
	transition: background-color .2s, transform .2s;
}
.btn-call svg { width: 18px; height: 18px; }
.btn-call:hover { background: #3DE0C3; transform: translateY(-1px); }
.social { display: flex; gap: .75rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: #EFEFF1; display: grid; place-items: center; color: #111; }
.social a:hover { background: #E2E2E5; }
.social svg { width: 16px; height: 16px; }

/* Form card (right) */
.contact__card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px rgba(16,24,20,.07), 0 2px 6px rgba(16,24,20,.04); }
.contact__form { padding: clamp(1.5rem, 3.5vw, 2.75rem); display: grid; gap: 1.35rem; }
.contact__card-title { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.025em; }
.contact__card-text { margin-top: -.85rem; color: var(--muted); font-size: .98rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 500; color: #2c2c2e; }
.field label span { color: #1FCFB0; }
.field input, .field textarea {
	width: 100%; font: inherit; font-size: .98rem; color: var(--text);
	background: #F5F6F7; border: 1px solid transparent; border-radius: 10px; padding: .8rem 1rem; min-height: 48px;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: #8E8E93; opacity: 1; }
.field input:hover, .field textarea:hover { background: #F0F1F3; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: #1FCFB0; box-shadow: 0 0 0 4px rgba(31,207,176,.15); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: #3a3a3c; }
.consent input { width: 18px; height: 18px; margin-top: .05rem; accent-color: #111; flex: none; }
.consent a { color: inherit; }
.btn-send {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 54px; padding: 0 1.6rem; border: 0; border-radius: 12px; width: 100%;
	background: #111; color: #fff; font-size: 1.02rem; font-weight: 600; cursor: pointer; transition: background-color .2s, transform .2s;
}
.btn-send svg { width: 18px; height: 18px; transition: transform .2s; }
.btn-send:hover { background: #000; transform: translateY(-1px); }
.btn-send:hover svg { transform: translateX(4px); }
.field--hp { position: absolute; left: -9999px; }
.form-notice { padding: .8rem 1rem; border-radius: 10px; font-size: .95rem; }
.form-notice--ok { background: #E3F8F2; }
.form-notice--err { background: #FDE8E8; }
@media (max-width: 900px) {
	.contact__wrap { grid-template-columns: 1fr; }
	.contact__side { position: static; }
}
@media (max-width: 520px) {
	.fields { grid-template-columns: 1fr; }
	.info-row--phone { grid-template-columns: 1fr; }
	.btn-call { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .75rem; }
}

/* ---------- Footer (slim) ---------- */
.site-footer { background: linear-gradient(180deg, var(--lime) 0%, #E6F4CB 100%); padding: clamp(2.25rem, 4vw, 3rem) clamp(1.25rem, 3vw, 3rem) 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-bottom: clamp(1.75rem, 3vw, 2.25rem); }
.site-footer__brand { display: flex; flex-direction: column; gap: .6rem; }
.site-footer__tag { font-size: .95rem; color: #2d3a22; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.site-footer__links a, .site-footer__legal a { text-decoration: none; }
.site-footer__links a:hover, .site-footer__legal a:hover { text-decoration: underline; }
.site-footer__phone { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.site-footer__phone svg { width: 18px; height: 18px; }
.site-footer__phone:hover { text-decoration: underline; }
.site-footer__bar { display: flex; justify-content: center; text-align: center; border-top: 1px solid rgba(0,0,0,.1); padding: 1.1rem 76px calc(1.1rem + env(safe-area-inset-bottom, 0px)); font-size: .88rem; color: #3b4632; } /* side padding leaves room for the back-to-top button */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .95rem; }
.site-footer__hint { color: #8a6d00; }
@media (max-width: 700px) {
	.site-footer__inner { flex-direction: column; align-items: flex-start; }
	.site-footer__bar { padding: 1.1rem 0 calc(4.75rem + env(safe-area-inset-bottom, 0px)); } /* room below for the back-to-top button */
}

/* ---------- Floating back-to-top (ring shows scroll progress) ---------- */
.to-top {
	position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: calc(clamp(1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom, 0px)); z-index: 60;
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	background: #111; color: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.18);
	opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
	transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1), background-color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #000; }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }
.to-top__arrow { width: 20px; height: 20px; transition: transform .25s ease; animation: exo-bob 2.4s ease-in-out infinite; }
@keyframes exo-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: #1FCFB0; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--progress, 0) * 100); }
html:not(.js) .to-top { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Legal pages (Imprint, Privacy) ---------- */
.legal__band {
	padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem);
	background: radial-gradient(60% 80% at 0% 0%, rgba(204,234,140,.35) 0%, rgba(204,234,140,0) 70%), #F7F8F6;
	border-bottom: 1px solid var(--line);
}
.legal__title { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.legal__band .container, .legal__body { max-width: calc(780px + var(--pad) * 2); }
.legal__body { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: var(--section); }
.legal__body .legal__content { max-width: none; margin: 0; font-size: 1.02rem; line-height: 1.7; }
.legal__content > * + * { margin-top: 1rem; }
.legal__content h2 { margin-top: 2.5rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.legal__content strong { font-weight: 600; }
.legal__content a { color: #0E8F7A; }
.legal__body .legal__content .legal__updated { color: var(--muted); font-size: .92rem; }
.legal__content h3 { margin-top: 1.75rem; font-size: 1.08rem; font-weight: 600; }
.legal__content ul { list-style: disc; padding-left: 1.25rem; }
.legal__content li + li { margin-top: .35rem; }
.legal__back { margin-top: 3rem; }
.legal__back a { text-decoration: none; font-weight: 500; }
.legal__back a:hover { text-decoration: underline; }

/* ---------- Plain pages ---------- */
.page-wrap { padding: clamp(3rem, 8vw, 6rem) var(--pad); }
.prose { max-width: 68ch; margin: 0 auto; }
.prose > * + * { margin-top: 1rem; }
.page-title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 2rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; letter-spacing: -0.02em; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.btn--dark { display: inline-flex; padding: .8rem 1.3rem; background: #000; color: #fff; border-radius: 999px; text-decoration: none; }

section[id] { scroll-margin-top: 72px; }

@media (prefers-reduced-motion: reduce) {
	.showcase__cols.is-live .showcase__col, .logos.is-live .logos__track, .label, .grad-text,
	.js .hero__phone .media, .js .hero__word, .dot, .hero__scroll span, .to-top__arrow, .lineup__float { animation: none; }
	.lineup--anim .lineup__phone { opacity: 1; transform: none; }
	.hero__tilt { transform: none; }
	.js .label[data-reveal], .js .label[data-reveal] + * { opacity: 1; transform: none; filter: none; }
	.stack__card, .stack__panel { transition: none; }
}
