/* =========================================================================
   NOX Israel – home page
   ========================================================================= */

/* ---------- Hero carousel ---------- */
.nox-hero { position: relative; background: var(--nox-ink); color: var(--nox-white); }
.nox-hero .nox-carousel { --gap: 0px; }
.nox-hero__track > .nox-slide { flex-basis: 100%; }
.nox-slide {
	position: relative; overflow: hidden; isolation: isolate;
	height: clamp(560px, 150vw, 720px);
}
@media (min-width: 768px) { .nox-slide { height: clamp(520px, 36vw, 720px); } }

/* Slide 1: campaign */
/* Crop evenly on phones; on wider screens keep Tapia (left) and the campaign headline (right) in frame. */
.nox-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (min-width: 768px) { .nox-slide__media img { object-position: 72% 50%; } }
.nox-slide--campaign::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to top, rgba(13, 12, 12, .8) 0%, rgba(13, 12, 12, .3) 22%, transparent 40%);
}
.nox-slide__panel {
	position: absolute; z-index: 2; inset-inline: 0; bottom: 84px;
	max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
}
.nox-slide__title { margin: 0 0 20px; color: var(--nox-white); font-size: clamp(30px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.015em; }
.nox-slide__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Slide 2: player */
.nox-slide--player { background: radial-gradient(circle at 28% 50%, rgba(255, 66, 56, .22), transparent 45%), var(--nox-ink); }
[dir="rtl"] .nox-slide--player { background: radial-gradient(circle at 72% 50%, rgba(255, 66, 56, .22), transparent 45%), var(--nox-ink); }
.nox-slide__split { position: relative; z-index: 1; height: 100%; display: grid; align-items: end; padding-bottom: 96px; }
.nox-slide__copy { position: relative; z-index: 2; max-width: 560px; }
.nox-slide__display {
	margin: 14px 0 16px; color: var(--nox-white);
	font: 700 clamp(48px, 9vw, 128px)/.9 var(--font-display); letter-spacing: -.02em; text-transform: uppercase;
}
.nox-slide__display--ink { color: var(--nox-ink); font-size: clamp(36px, 5.6vw, 76px); line-height: 1.02; }
.nox-slide__text { max-width: 46ch; margin: 0 0 24px; font-size: clamp(15px, 1.3vw, 18px); color: rgba(255, 255, 255, .78); }
.nox-slide--finder .nox-slide__text { color: var(--nox-ink); }
.nox-specbars { display: grid; gap: 10px; max-width: 360px; margin: 0 0 28px; }
.nox-specbars > div { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 14px; }
.nox-specbars dt { font: 500 11px var(--font-mono); letter-spacing: .14em; color: rgba(255, 255, 255, .6); }
.nox-specbars dd { position: relative; height: 6px; margin: 0; background: rgba(255, 255, 255, .12); }
.nox-specbars dd span {
	position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--v) * 20%);
	background: var(--nox-orange);
	-webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 3px), transparent calc(20% - 3px) 20%);
	mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 3px), transparent calc(20% - 3px) 20%);
	transform-origin: right; transform: scaleX(0); transition: transform 1s var(--ease) .3s;
}
[dir="ltr"] .nox-specbars dd span { transform-origin: left; }
.nox-slide.is-active .nox-specbars dd span { transform: scaleX(1); }
.nox-slide__portrait { position: absolute; inset: 0; margin: 0; --hud: var(--nox-orange); }
.nox-slide__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; opacity: .55;
	-webkit-mask-image: linear-gradient(to top, transparent 15%, #000 70%); mask-image: linear-gradient(to top, transparent 15%, #000 70%); }
.nox-slide__portrait figcaption { position: absolute; top: 20px; inset-inline-end: 20px; }
@media (min-width: 900px) {
	.nox-slide__split { grid-template-columns: 1.1fr .9fr; align-items: center; padding-bottom: 0; }
	.nox-slide__portrait { position: relative; inset: auto; height: 82%; align-self: center; aspect-ratio: 1; justify-self: center; }
	.nox-slide__portrait::before, .nox-slide__portrait::after { opacity: 1; transform: none; }
	.nox-slide__portrait img { opacity: 1; -webkit-mask-image: none; mask-image: none; box-shadow: 0 40px 120px rgba(255, 66, 56, .25); }
	.nox-slide__portrait figcaption { top: auto; bottom: -26px; inset-inline-end: 0; }
}

/* Slide 3: racket finder */
.nox-slide--finder { background: var(--nox-orange); color: var(--nox-ink); }
.nox-slide__racket { position: absolute; top: 4%; inset-inline-end: -8%; width: 62%; aspect-ratio: 1; display: grid; place-items: center; }
.nox-slide__racket img { position: relative; z-index: 1; width: 62%; transform: rotate(-16deg); filter: drop-shadow(0 30px 40px rgba(13, 12, 12, .35)); animation: nox-float 6s ease-in-out infinite; }
@media (min-width: 900px) { .nox-slide__racket { position: relative; top: auto; inset-inline-end: auto; width: 100%; max-width: 560px; justify-self: center; } }

/* Rotating HUD rings (hero slide 3 + quiz band) */
.nox-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(13, 12, 12, .45); animation: nox-spin 40s linear infinite; }
.nox-ring--2 { inset: 12%; border-style: solid; border-color: rgba(13, 12, 12, .25); border-top-color: var(--nox-ink); animation-duration: 9s; animation-direction: reverse; }
.nox-ring--3 { inset: 26%; border: 2px dotted rgba(13, 12, 12, .35); animation-duration: 22s; }
@keyframes nox-spin { to { transform: rotate(360deg); } }
@keyframes nox-float { 50% { transform: rotate(-12deg) translateY(-14px); } }

/* Hero controls */
.nox-hero__ui { position: absolute; z-index: 5; inset-inline: 0; bottom: 24px; display: flex; align-items: center; gap: 20px; }
.nox-hero__ui .nox-carousel__ui { margin: 0; }
.nox-hero__ui .nox-carousel__progress { display: none; }
.nox-carousel__dots { display: flex; gap: 6px; flex: 1; max-width: 360px; }
.nox-carousel__dots button {
	position: relative; flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.nox-carousel__dots button::before { content: ""; position: absolute; inset-inline: 0; top: 11px; height: 2px; background: rgba(255, 255, 255, .3); }
.nox-carousel__dots button::after {
	content: ""; position: absolute; inset-inline-start: 0; top: 11px; height: 2px; width: 0; background: var(--nox-orange);
}
.nox-carousel__dots button.is-active::after { width: 100%; }
.nox-carousel.is-playing .nox-carousel__dots button.is-active::after { width: 0; animation: nox-dot var(--autoplay, 7000ms) linear forwards; }
@keyframes nox-dot { to { width: 100%; } }
.nox-hero .nox-carousel[data-slide="2"] .nox-carousel__dots button::before { background: rgba(13, 12, 12, .3); }
.nox-hero .nox-carousel[data-slide="2"] .nox-carousel__dots button::after { background: var(--nox-ink); }
.nox-hero .nox-carousel[data-slide="2"] .nox-carousel__ui--light .nox-carousel__btn { border-color: rgba(13, 12, 12, .5); color: var(--nox-ink); }

/* ---------- Ticker ---------- */
.nox-ticker { overflow: hidden; background: var(--nox-ink); color: var(--nox-white); border-block: 1px solid rgba(255, 255, 255, .1); }
.nox-ticker__track { display: flex; width: max-content; direction: ltr; animation: nox-ticker 38s linear infinite; }
.nox-ticker__group { display: flex; align-items: center; }
.nox-ticker span { padding: 14px 22px; font: 600 14px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.nox-ticker i { font-style: normal; color: var(--nox-orange); font-size: 12px; }
@keyframes nox-ticker { to { transform: translateX(-50%); } }

/* ---------- Categories ---------- */
.nox-cats .nox-carousel { --item: 62%; }
@media (min-width: 600px) { .nox-cats .nox-carousel { --item: 38%; } }
@media (min-width: 1024px) {
	.nox-cats__grid { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 16px; overflow: visible; }
}
.nox-cat { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nox-ink); color: var(--nox-white); text-decoration: none; }
.nox-cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.nox-cat::marker { content: none; }
.nox-cat:hover .nox-cat__media img { transform: scale(1.06); }
.nox-cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 12, 12, .85), transparent 45%); }
.nox-cat__idx { position: absolute; z-index: 2; top: 16px; inset-inline-end: 16px; font: 500 11px var(--font-mono); letter-spacing: .1em; color: var(--nox-orange); }
.nox-cat__label {
	position: absolute; z-index: 2; inset-inline: 16px; bottom: 16px;
	display: flex; align-items: center; justify-content: space-between;
	font: 600 20px/1 var(--font-display);
}
.nox-cat__label .nox-icon { width: 20px; height: 20px; color: var(--nox-orange); transition: transform .3s var(--ease); }
.nox-cat:hover .nox-cat__label .nox-icon { transform: translateX(-5px); }
[dir="ltr"] .nox-cat:hover .nox-cat__label .nox-icon { transform: scaleX(-1) translateX(-5px); }

/* ---------- Product rails ---------- */
.nox-rail-section--collection { background: var(--nox-cream); }

/* ---------- Film (scroll-driven) ---------- */
.nox-film { position: relative; height: 260vh; background: var(--nox-ink); color: var(--nox-white); --p: 0; --film-x: 6%; }
@media (min-width: 900px) { .nox-film { height: 300vh; --film-x: 24%; } }
.nox-film__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.nox-film__sticky::before {
	content: "PURE PADEL"; position: absolute; inset-inline: 0; top: 50%; transform: translateY(-50%);
	font: 700 clamp(64px, 17vw, 260px)/1 var(--font-display); text-align: center; letter-spacing: -.03em; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18);
	opacity: calc(1 - var(--p) * 1.4); direction: ltr;
}
.nox-film__frame {
	position: absolute; inset: 0; overflow: hidden;
	clip-path: inset(calc((1 - var(--p)) * 24%) calc((1 - var(--p)) * var(--film-x)) round calc((1 - var(--p)) * 24px));
	will-change: clip-path;
}
.nox-film__video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--p) * .12)); }
.nox-film__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 12, 12, .9), rgba(13, 12, 12, .2) 55%, rgba(13, 12, 12, .35)); opacity: var(--p); }
.nox-film__hud {
	position: absolute; inset-inline: 20px; top: calc(20px + (1 - var(--p)) * 24%);
	display: flex; justify-content: space-between; font: 500 11px var(--font-mono); letter-spacing: .14em; color: rgba(255, 255, 255, .8);
}
.nox-film__rec { display: inline-flex; align-items: center; gap: 8px; }
.nox-film__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--nox-orange); animation: nox-blink 1.2s steps(2, start) infinite; }
@keyframes nox-blink { to { visibility: hidden; } }
.nox-film__copy { position: absolute; z-index: 2; inset-inline: 0; bottom: max(8vh, 56px); }
.nox-film__title { margin: 0 0 16px; color: var(--nox-white); font-size: clamp(36px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.nox-film__text { max-width: 52ch; margin: 0 0 24px; font-size: clamp(15px, 1.4vw, 19px); color: rgba(255, 255, 255, .8); }
.nox-film__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nox-film__sound {
	position: absolute; z-index: 3; bottom: max(8vh, 56px); inset-inline-end: var(--gutter);
	display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .5); background: rgba(13, 12, 12, .45); color: var(--nox-white);
	backdrop-filter: blur(6px); cursor: pointer; opacity: var(--p); transition: background-color .2s, border-color .2s, color .2s;
}
.nox-film__sound:hover { border-color: var(--nox-orange); color: var(--nox-orange); }
.nox-film__sound.is-on { background: var(--nox-orange); border-color: var(--nox-orange); color: var(--nox-ink); }
.nox-film__sound-on, .nox-film__sound.is-on .nox-film__sound-off { display: none; }
.nox-film__sound.is-on .nox-film__sound-on { display: grid; }
.nox-film__sound-off { display: grid; }
@media (max-width: 899px) { .nox-film__sound { top: calc(var(--nox-adminbar, 0px) + var(--header-h) + 20px + (1 - var(--p)) * 24%); bottom: auto; width: 46px; height: 46px; } }
.js .nox-film [data-at] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .nox-film [data-at].is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.nox-film { height: auto; --p: 1; }
	.nox-film__sticky { position: relative; height: 80vh; }
	.js .nox-film [data-at] { opacity: 1; transform: none; }
}

/* ---------- Technology ---------- */
.nox-tech { position: relative; overflow: hidden; background: var(--nox-ink); color: rgba(255, 255, 255, .75); }
.nox-tech > .nox-container { position: relative; }
.nox-tech .nox-h2 { color: var(--nox-white); }
.nox-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 clamp(36px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .14); }
.nox-stat { padding-top: 18px; }
.nox-stat dd { margin: 10px 0 0; }
.nox-stat__num { display: block; font: 700 clamp(40px, 8vw, 112px)/.9 var(--font-display); letter-spacing: -.03em; color: var(--nox-white); }
.nox-stat__num bdi { white-space: nowrap; }
.nox-stat__label { display: block; margin-top: 10px; font-size: clamp(12px, 1.2vw, 15px); }
.nox-tech .nox-carousel { --item: 82%; }
@media (min-width: 1024px) { .nox-tech__grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px; overflow: visible; } }
.nox-tech__card { display: flex; flex-direction: column; }
.nox-tech__media { aspect-ratio: 4 / 3; background: #000; border: 1px solid rgba(255, 255, 255, .1); }
.nox-tech__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.nox-tech__card:hover .nox-tech__media img { transform: scale(1.05); }
.nox-tech__name { margin: 20px 0 6px; font: 500 12px/1 var(--font-mono); letter-spacing: .16em; color: var(--nox-yellow); }
.nox-tech__title { margin: 0 0 8px; font-size: 22px; color: var(--nox-white); }
.nox-tech__text { margin: 0; font-size: 15px; }

/* ---------- Quiz band ---------- */
.nox-quiz-cta { position: relative; overflow: hidden; background: var(--nox-orange); color: var(--nox-ink); }
.nox-quiz-cta__inner { display: grid; gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 112px); }
.nox-quiz-cta__title { margin: 0 0 16px; font-size: clamp(32px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.015em; line-height: 1.05; }
.nox-quiz-cta__text { max-width: 54ch; font-size: clamp(16px, 1.5vw, 19px); }
.nox-quiz-cta__steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; padding: 0; list-style: none; }
.nox-quiz-cta__steps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid rgba(13, 12, 12, .35); font-size: 14px; font-weight: 500; }
[dir="rtl"] .nox-quiz-cta__steps li { padding: 8px 8px 8px 14px; }
.nox-quiz-cta__steps span { padding: 4px 6px; background: var(--nox-ink); color: var(--nox-orange); font: 500 11px/1 var(--font-mono); }
.nox-quiz-cta .nox-btn--dark:hover { background: var(--nox-white); border-color: var(--nox-white); color: var(--nox-ink); }
.nox-quiz-cta__media { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.nox-quiz-cta__media img { position: relative; z-index: 1; width: 58%; transform: rotate(-16deg); filter: drop-shadow(0 30px 40px rgba(13, 12, 12, .3)); animation: nox-float 6s ease-in-out infinite; }
.nox-quiz-cta__readout { position: absolute; z-index: 2; bottom: 12%; inset-inline-start: 0; padding: 8px 12px; background: var(--nox-ink); color: var(--nox-orange); }
@media (min-width: 900px) { .nox-quiz-cta__inner { grid-template-columns: 1.15fr .85fr; } }

/* ---------- Team ---------- */
.nox-team { position: relative; overflow: hidden; background: var(--nox-ink); color: var(--nox-white); }
.nox-team > .nox-container { position: relative; }
.nox-team .nox-h2 { color: var(--nox-white); }
.nox-team .nox-carousel { --item: 72%; }
@media (min-width: 600px) { .nox-team .nox-carousel { --item: 44%; } }
@media (min-width: 900px) { .nox-team .nox-carousel { --item: calc((100% - 2 * var(--gap)) / 3.3); } }
.nox-player { display: block; color: var(--nox-white); text-decoration: none; }
.nox-player__media { display: block; aspect-ratio: 4 / 5; background: #222; }
.nox-player__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.nox-player:hover .nox-player__media img { transform: scale(1.04); }
.nox-player__meta { display: grid; gap: 6px; padding-top: 16px; }
.nox-player__name { font: 600 22px/1.1 var(--font-display); text-transform: uppercase; }
.nox-player__racket { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--nox-orange); }
.nox-player__racket .nox-icon { width: 16px; height: 16px; }

/* ---------- Trust bar ---------- */
.nox-trust { position: relative; background: var(--nox-ink); border-top: 1px solid rgba(255, 255, 255, .1); }
.nox-trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-block: 32px; }
.nox-trust__item { display: flex; gap: 14px; align-items: flex-start; }
.nox-trust__item .nox-icon { width: 28px; height: 28px; color: var(--nox-orange); }
.nox-trust__title { margin: 0 0 2px; font: 600 15px/1.3 var(--font-display); color: var(--nox-white); }
.nox-trust__text { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .55); }
.nox-trust__item { padding-inline-start: 16px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 900px) { .nox-trust__grid { grid-template-columns: repeat(4, 1fr); padding-block: 40px; } }

@media (prefers-reduced-motion: reduce) {
	.nox-ticker__track, .nox-ring, .nox-slide__racket img, .nox-quiz-cta__media img { animation: none !important; }
}
