/* ================= section 2: the bricks, each one working ================= */
.showcase {
	position: relative;
	padding-block: 160px 150px;
	overflow: clip;
	background:
		radial-gradient(520px 640px at var(--start) 60%, rgba(255, 205, 178, 0.5), transparent 72%),
		radial-gradient(580px 520px at var(--end) 22%, rgba(190, 203, 255, 0.6), transparent 70%),
		radial-gradient(760px 360px at 58% 100%, rgba(214, 200, 255, 0.42), transparent 70%), #f6f6f6;
	color: #0b0d10;
}
.showcase h2 {
	margin: 0;
	font-size: clamp(2.5rem, 5.6vw, 5rem);
	text-wrap: balance;
}
:lang(he) .showcase h2 {
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.05;
}
:lang(en) .showcase h2 {
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 0.95;
}
.showcase-lede {
	margin: 22px 0 0;
	max-inline-size: 600px;
	color: #303236;
	font-size: 18px;
	text-wrap: pretty;
}
:lang(he) .showcase-lede {
	line-height: 1.6;
}
:lang(en) .showcase-lede {
	line-height: 1.3;
	letter-spacing: -0.03em;
}

/* Two rows, mirrored: narrow + wide, then wide + narrow */
.cells {
	display: grid;
	grid-template-columns: 428fr 320fr 428fr;
	gap: 20px;
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
}
.cell {
	view-timeline: --cell block;
}
.cell:nth-child(2),
.cell:nth-child(3) {
	grid-column: span 2;
}

/* Every card is a dark room: one light from above, one object in focus, the rest falling out of focus behind it */
.cell-box {
	position: relative;
	display: flex;
	flex-direction: column;
	block-size: 420px;
	overflow: hidden;
	isolation: isolate;
	border-radius: 16px;
	background: var(--room);
	box-shadow:
		0 44px 80px -44px rgba(28, 40, 96, 0.65),
		0 16px 32px -20px rgba(11, 13, 16, 0.45);
	color: var(--text);
	--room: #0a0b0e;
	--hue: 61, 126, 255;
	--cx: -999px;
	--cy: -999px;
	--px: 0;
	--py: 0;
}
.warm {
	--hue: 255, 132, 66;
}
.air {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(32% 38% at 50% -4%, rgba(var(--hue), 0.95), transparent 70%),
		radial-gradient(86% 66% at 50% -12%, rgba(var(--hue), 0.3), transparent 72%);
	pointer-events: none;
}
/* The same beam as the hero, landing on the object in focus */
.air::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	left: 50%;
	inline-size: 2px;
	block-size: var(--beam, 44px);
	margin-left: -1px;
	background: linear-gradient(rgba(255, 255, 255, 0.2), #fff);
	box-shadow:
		0 0 14px 4px rgba(var(--hue), 0.9),
		0 0 60px 22px rgba(var(--hue), 0.5);
}
/* Halftone, visible only where the light is */
.air::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0.9px, transparent 1.5px);
	background-size: 9px 9px;
	-webkit-mask-image: radial-gradient(64% 70% at 50% 0%, #000 8%, transparent 72%);
	mask-image: radial-gradient(64% 70% at 50% 0%, #000 8%, transparent 72%);
	opacity: 0.3;
}
/* The brick wall from the hero shows through wherever the cursor is */
.cell-box::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='56'%3E%3Cpath d='M0 .5H112M0 28.5H112M.5 0V28M56.5 0V28M28.5 28V56M84.5 28V56' fill='none' stroke='%239db8ff' stroke-opacity='.55'/%3E%3C/svg%3E");
	-webkit-mask-image: radial-gradient(240px at var(--cx) var(--cy), #000 10%, transparent);
	mask-image: radial-gradient(240px at var(--cx) var(--cy), #000 10%, transparent);
	opacity: 0.28;
}
/* ...and the card's edge catches the same light */
.cell-box::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
	padding: 1px;
	border-radius: inherit;
	background:
		radial-gradient(280px at var(--cx) var(--cy), rgba(255, 255, 255, 0.85), transparent 70%),
		linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 40%);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask:
		linear-gradient(#000 0 0) content-box exclude,
		linear-gradient(#000 0 0);
	pointer-events: none;
}
/* The scene takes whatever height the caption leaves, so a longer caption never covers it */
.stage {
	position: relative;
	z-index: 1;
	flex: 1;
	min-block-size: 0;
}
.cap {
	position: relative;
	z-index: 3;
	padding: 10px 24px 24px;
	background: var(--room);
	pointer-events: none;
}
.cap::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: 100%;
	block-size: 64px;
	background: linear-gradient(transparent, var(--room));
}
.cap p {
	margin: 0;
	max-inline-size: 410px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 16px;
	text-wrap: pretty;
}
.cap b {
	color: #fff;
	font-weight: 500;
}
:lang(he) .cap p {
	line-height: 1.5;
}
:lang(en) .cap p {
	font-weight: 300;
	line-height: 1.375;
	letter-spacing: -0.02em;
}

/* Depth: the object in focus leans toward the cursor, what is behind it leans away */
.front,
.back {
	transition: translate 0.9s var(--ease);
}
.front {
	translate: calc(var(--px) * 7px) calc(var(--py) * 5px);
}
.back {
	translate: calc(var(--px) * -12px) calc(var(--py) * -8px);
}
/* The object in focus, in its two materials */
.glass,
.sheet {
	position: absolute;
	z-index: 2;
	inset-inline: 0;
	margin-inline: auto;
	border-radius: 16px 16px 0 0;
}
.glass {
	background: linear-gradient(rgba(44, 47, 58, 0.94), rgba(20, 22, 28, 0.97) 46%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.34),
		inset 0 0 0 1px rgba(255, 255, 255, 0.06),
		0 -12px 44px -14px rgba(var(--hue), 0.95),
		0 40px 70px -30px #000;
}
.sheet {
	background: linear-gradient(#f4f6fb, #dde3ef);
	box-shadow:
		inset 0 1px 0 #fff,
		0 -14px 54px -12px rgba(var(--hue), 0.9),
		0 40px 70px -30px #000;
	color: #0b0d10;
}
/* Whatever a scene builds up is cleared in one soft fade before it starts over */
.loops {
	transition: opacity 0.4s;
}
.is-out .loops {
	opacity: 0;
}

/* ---------- brick 1: the WhatsApp agent ---------- */
.chat {
	--beam: 40px;
}
/* Other conversations going on at the same time, out of focus */
.ghost {
	position: absolute;
	z-index: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	inline-size: 210px;
	padding: 14px;
	border-radius: 14px;
	background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	filter: blur(2px);
	opacity: 0.55;
}
.ghost p {
	display: grid;
	flex: 1;
	gap: 7px;
	margin: 0;
}
.ghost p i {
	block-size: 7px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.28);
}
.ghost p i + i {
	inline-size: 62%;
	background: rgba(255, 255, 255, 0.14);
}
.ghost.g1 {
	inset-block-start: 112px;
	inset-inline-start: -64px;
	rotate: calc(var(--dir) * -6deg);
}
.ghost.g2 {
	inset-block-start: 214px;
	inset-inline-end: -74px;
	rotate: calc(var(--dir) * 5deg);
	filter: blur(3.5px);
	opacity: 0.4;
}
.chat-panel {
	inset-block: 40px 0;
	display: flex;
	flex-direction: column;
	inline-size: min(336px, calc(100% - 36px));
	padding: 16px 16px 0;
}
.wa-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-block-end: 14px;
	border-block-end: 1px solid var(--line);
	font-size: 14px;
}
.wa-head .av {
	inline-size: 36px;
	block-size: 36px;
}
.wa-head b {
	display: block;
	font-weight: 600;
}
.wa-head small {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #9a9eaa;
	font-size: 12px;
}
.wa-head small i {
	inline-size: 6px;
	block-size: 6px;
	border-radius: 50%;
	background: var(--ok);
	box-shadow: 0 0 0 3px rgba(79, 214, 160, 0.18);
}
.wa-resp {
	margin-inline-start: auto;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #c9ccd6;
	font-size: 12px;
	white-space: nowrap;
}
.wa-resp b {
	display: inline;
	color: #fff;
}
.wa-thread {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-block-size: 0;
	margin: 0;
	padding: 4px 0 40px;
	overflow: hidden;
	list-style: none;
	/* Once the thread has scrolled, older messages dissolve under the header instead of being cut */
	-webkit-mask-image: linear-gradient(transparent, #000 16px);
	mask-image: linear-gradient(transparent, #000 16px);
}
/* A message opens its own room in the thread, so the ones below it never jump */
.wa-msg {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition:
		grid-template-rows 0.5s var(--ease),
		opacity 0.35s;
}
.wa-msg.is-in {
	grid-template-rows: 1fr;
	opacity: 1;
}
.wa-msg > div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-block-size: 0;
	overflow: hidden;
}
.wa-msg.out > div {
	align-items: flex-end;
}
.wa-by {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-block-start: 12px;
	color: #b9cbff;
	font-size: 11.5px;
	font-weight: 600;
}
.wa-by svg {
	inline-size: 10px;
	block-size: 10px;
}
.wa-bub {
	max-inline-size: 86%;
	margin-block-start: 12px;
	padding: 10px 14px;
	border-radius: 18px;
	font-size: 14px;
}
.wa-by + .wa-bub {
	margin-block-start: 5px;
}
.wa-bub p {
	margin: 0;
}
:lang(he) .wa-bub {
	line-height: 1.45;
}
:lang(en) .wa-bub {
	line-height: 1.35;
	letter-spacing: -0.01em;
}
.in .wa-bub {
	border-end-start-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	color: #eef0f5;
}
.out .wa-bub {
	border-end-end-radius: 6px;
	background: linear-gradient(150deg, #5583ff, #2f5be0);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.wa-dots {
	display: flex;
	gap: 4px;
	padding: 7px 2px;
}
.wa-dots i {
	inline-size: 6px;
	block-size: 6px;
	border-radius: 50%;
	background: #fff;
	animation: wa-dot 1.1s infinite both;
}
.wa-dots i:nth-child(2) {
	animation-delay: 0.15s;
}
.wa-dots i:nth-child(3) {
	animation-delay: 0.3s;
}
@keyframes wa-dot {
	0%,
	60%,
	100% {
		opacity: 0.35;
		translate: 0 0;
	}
	30% {
		opacity: 1;
		translate: 0 -3px;
	}
}
.wa-msg.is-typing p,
.wa-msg.is-typing .wa-chip,
.wa-msg:not(.is-typing) .wa-dots {
	display: none;
}
.wa-msg.out.is-in:not(.is-typing) .wa-bub {
	animation: wa-pop 0.45s var(--spring);
}
@keyframes wa-pop {
	from {
		scale: 0.9;
	}
}
.wa-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-block-start: 8px;
	padding: 4px 11px;
	border-radius: 999px;
	background: rgba(79, 214, 160, 0.16);
	color: #8aebc4;
	font-size: 12px;
	font-weight: 600;
}
.wa-chip svg {
	inline-size: 11px;
	block-size: 11px;
}

/* ---------- brick 2: every channel into one list ---------- */
.ld {
	--beam: 34px;
}
.ld-side {
	position: absolute;
	z-index: 0;
	padding: 14px 16px 6px;
	border-radius: 14px;
	background: linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	color: var(--soft);
	font-size: 13.5px;
}
.ld-side h3 {
	margin: 0 0 8px;
	color: #8d919c;
	font-size: 12px;
	font-weight: 500;
}
.ld-side ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ld-side li {
	display: flex;
	align-items: center;
	gap: 10px;
	block-size: 40px;
	margin-inline: -8px;
	padding-inline: 8px;
	border-radius: 9px;
	white-space: nowrap;
	transition:
		background 0.5s,
		color 0.5s;
}
.ld-side bdi {
	margin-inline-start: auto;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
/* Each channel is a small brick of its own colour */
.ld-side li i {
	flex: none;
	inline-size: 18px;
	block-size: 12px;
	border-radius: 3px;
	background: var(--c);
	transition: box-shadow 0.5s;
}
.ld-side li.is-on {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition-duration: 0.15s;
}
.ld-side li.is-on i {
	box-shadow: 0 0 16px 2px var(--c);
}
/* Both flanks hang off the list, so however wide the card is their inner edge stays tucked behind it */
.ld-chan {
	inset-block-start: 76px;
	inset-inline-start: calc(50% - 346px);
	inline-size: 224px;
	padding-inline-end: 64px;
}
.ld-stat {
	inset-block-start: 112px;
	inset-inline-end: calc(50% - 346px);
	inline-size: 224px;
	padding-inline-start: 68px;
	filter: blur(1px);
	opacity: 0.8;
}
.ld-dot {
	position: absolute;
	inset-block-start: 0;
	left: 0;
	z-index: 1;
	inline-size: 8px;
	block-size: 8px;
	margin: -4px;
	border-radius: 50%;
	background: #fff;
	box-shadow:
		0 0 10px 3px #9db8ff,
		0 0 30px 10px rgba(61, 126, 255, 0.8);
	opacity: 0;
}
.ld-sheet {
	inset-block: 34px 0;
	display: flex;
	flex-direction: column;
	inline-size: min(348px, calc(100% - 32px));
}
.ld-sheet header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 18px 12px;
	font-size: 15px;
	font-weight: 600;
}
.ld-sheet header small {
	color: #6b7080;
	font-size: 12.5px;
	font-weight: 400;
}
.ld-n {
	margin-inline-start: auto;
	padding: 2px 10px;
	border-radius: 999px;
	background: #2f5be0;
	color: #fff;
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
.ld-rows {
	flex: 1;
	min-block-size: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
}
.ld-row {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.6s var(--ease);
}
.ld-row.is-new {
	grid-template-rows: 0fr;
}
.ld-row > div {
	min-block-size: 0;
	overflow: hidden;
}
.ld-in {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 10px 8px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 14px -10px rgba(30, 40, 90, 0.55);
	white-space: nowrap;
}
.ld-in .av {
	inline-size: 34px;
	block-size: 34px;
}
.ld-who {
	display: grid;
	min-inline-size: 0;
	font-size: 14px;
}
.ld-who b {
	font-weight: 600;
}
.ld-who small {
	overflow: hidden;
	color: #6b7080;
	font-size: 12px;
	text-overflow: ellipsis;
}
.ld-in .tag {
	margin-inline-start: auto;
}

/* ---------- brick 3: the meeting books itself ---------- */
.cal {
	padding: 22px 24px 0;
	--beam: 58px;
}
.cal-grid {
	position: relative;
	display: grid;
	grid-template-columns: 40px repeat(5, minmax(0, 1fr));
	grid-template-rows: 28px repeat(5, 58px);
	block-size: 100%;
	color: rgba(255, 255, 255, 0.34);
	font-size: 12px;
}
.cal-day {
	grid-row: 1;
	grid-column: calc(var(--d) + 1);
	text-align: center;
}
.cal-day.is-today {
	color: #fff;
	font-weight: 600;
}
.cal-hour {
	grid-column: 1;
	grid-row: calc(var(--h) + 1);
	translate: 0 -0.6em;
	font-variant-numeric: tabular-nums;
}
/* Other meetings in the week, further from the lens the higher --z is */
.cal-ev {
	grid-column: calc(var(--d) + 1);
	grid-row: calc(var(--h) + 1) / span var(--s, 1);
	display: grid;
	align-content: start;
	gap: 2px;
	margin: 3px;
	padding: 8px 10px;
	overflow: hidden;
	border-inline-start: 2px solid var(--c, var(--muted));
	border-radius: 9px;
	background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
	color: #e6e9f0;
	font-size: 12.5px;
	white-space: nowrap;
	filter: blur(calc(var(--z, 1) * 1.1px));
	opacity: calc(0.8 - var(--z, 1) * 0.16);
}
.cal-ev bdi,
.cal-ev small {
	color: rgba(255, 255, 255, 0.55);
	font-size: 11px;
}
.cal-ev.cal-new {
	z-index: 2;
	border: 0;
	background: linear-gradient(150deg, #5583ff, #2f5be0);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		0 16px 44px -8px rgba(61, 126, 255, 0.95);
	color: #fff;
	font-weight: 600;
	filter: none;
	opacity: 0;
	scale: 0.6;
	translate: 0 -26px;
	transition:
		opacity 0.3s,
		scale 0.7s var(--spring),
		translate 0.7s var(--spring);
}
.cal-ev.cal-new small {
	color: rgba(255, 255, 255, 0.8);
	font-weight: 400;
}
.is-booked .cal-ev.cal-new {
	opacity: 1;
	scale: 1;
	translate: 0 0;
}
.cal-toast {
	z-index: 2;
	grid-area: 4 / 4 / auto / span 3;
	display: flex;
	align-items: center;
	align-self: start;
	justify-self: start;
	gap: 8px;
	margin: 8px 3px;
	padding: 7px 13px;
	border-radius: 999px;
	background: #1a1c22;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		0 16px 30px -14px #000;
	color: #e6e9f0;
	font-size: 12.5px;
	white-space: nowrap;
	opacity: 0;
	translate: 0 10px;
	transition:
		opacity 0.4s,
		translate 0.6s var(--ease);
}
.cal-toast i {
	inline-size: 7px;
	block-size: 7px;
	border-radius: 50%;
	background: var(--ok);
}
.is-toast .cal-toast {
	opacity: 1;
	translate: 0 0;
}
.is-out .cal-ev.cal-new,
.is-out .cal-toast {
	opacity: 0;
}
/* The object in focus: what the customer sees */
.cal-pop {
	position: relative;
	z-index: 3;
	grid-area: 2 / 2 / span 5 / span 2;
	align-self: start;
	margin: 4px 6px 0;
	padding: 16px;
	border-radius: 16px;
	font-size: 13.5px;
	animation: cal-float 7s ease-in-out infinite;
}
@keyframes cal-float {
	50% {
		translate: 0 -5px;
	}
}
.cal-who {
	display: flex;
	align-items: center;
	gap: 10px;
}
.cal-who .av {
	inline-size: 36px;
	block-size: 36px;
}
.cal-who b {
	display: block;
	font-size: 15px;
	font-weight: 600;
}
.cal-who small {
	color: #6b7080;
	font-size: 12.5px;
}
.cal-q {
	margin: 16px 0 9px;
	color: #303236;
	font-weight: 500;
}
.cal-slots {
	display: flex;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cal-slots li {
	flex: 1;
	padding: 6px 2px;
	font-size: 13px;
	text-align: center;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 4px 10px -8px rgba(30, 40, 90, 0.6);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	transition:
		background 0.25s,
		color 0.25s,
		box-shadow 0.25s;
}
.cal-slots li.is-picked {
	background: #2f5be0;
	box-shadow: 0 8px 18px -8px rgba(47, 91, 224, 0.95);
	color: #fff;
}
.cal-ok {
	display: grid;
	place-items: center;
	block-size: 38px;
	margin-block-start: 16px;
	border-radius: 10px;
	background: #0b0d10;
	color: #fff;
	font-weight: 600;
	transition:
		background 0.3s,
		scale 0.2s;
}
.cal-ok span {
	grid-area: 1 / 1;
	transition: opacity 0.25s;
}
.cal-ok span + span,
.cal-ok.is-done span:first-child {
	opacity: 0;
}
.cal-ok.is-done {
	background: #178a5d;
}
.cal-ok.is-done span + span {
	opacity: 1;
}
.cal-ok.is-press {
	scale: 0.95;
}
.cal-cur {
	position: absolute;
	inset-block-start: 0;
	left: 0;
	z-index: 5;
	inline-size: 20px;
	block-size: 20px;
	opacity: 0;
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5));
	transition:
		translate 0.75s var(--ease),
		opacity 0.3s;
}
.cal-cur.is-in {
	opacity: 1;
}

/* ---------- brick 4: only what needs you ---------- */
.nt {
	display: grid;
	place-items: center;
	padding-block-end: 56px;
}
.nt-iris {
	grid-area: 1 / 1;
	inline-size: 372px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: conic-gradient(from 20deg, #2f5be0, #7fa2ff 18%, #ffd2bb 33%, #ff8748 45%, #c9482a 54%, #2f5be0 67%, #142a7a 83%, #2f5be0);
}
/* The transform sits on the same element as the blur, so the blurred picture is drawn once and only turned */
.nt-iris.soft {
	-webkit-mask-image: radial-gradient(closest-side, transparent 30%, #000 48%, #000 60%, transparent 84%);
	mask-image: radial-gradient(closest-side, transparent 30%, #000 48%, #000 60%, transparent 84%);
	filter: blur(18px);
	animation: nt-spin 20s linear infinite;
}
.nt-iris.grain {
	-webkit-mask-image:
		repeating-conic-gradient(#000 0 1.3deg, transparent 1.3deg 4deg),
		repeating-radial-gradient(closest-side, #000 0 1.6px, transparent 1.6px 7px),
		radial-gradient(closest-side, transparent 26%, #000 40%, #000 72%, transparent 92%);
	-webkit-mask-composite: source-in, source-in;
	mask-image:
		repeating-conic-gradient(#000 0 1.3deg, transparent 1.3deg 4deg),
		repeating-radial-gradient(closest-side, #000 0 1.6px, transparent 1.6px 7px),
		radial-gradient(closest-side, transparent 26%, #000 40%, #000 72%, transparent 92%);
	mask-composite: intersect, intersect;
	animation: nt-spin 46s linear infinite reverse;
}
@keyframes nt-spin {
	to {
		rotate: 1turn;
	}
}
.nt-ring {
	grid-area: 1 / 1;
	inline-size: 88px;
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
	opacity: 0;
}
.nt-core {
	position: relative;
	grid-area: 1 / 1;
	display: grid;
	place-items: center;
	inline-size: 88px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 24%, #262a33, #0b0c0f 70%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 0 0 12px rgba(9, 10, 12, 0.5),
		0 18px 60px rgba(61, 126, 255, 0.6);
}
.nt-core svg {
	inline-size: 34px;
	block-size: 34px;
	transform-origin: 50% 12%;
}
.nt-count {
	position: absolute;
	inset-block-start: -3px;
	inset-inline-end: -3px;
	display: grid;
	place-items: center;
	min-inline-size: 25px;
	block-size: 25px;
	padding-inline: 7px;
	border-radius: 13px;
	background: #ff5a47;
	box-shadow: 0 0 0 3px #0c0d10;
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.nt-toast {
	position: absolute;
	inset-inline: 20px;
	inset-block-end: 26px;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 12px 14px;
	border-radius: 14px;
	background: linear-gradient(rgba(48, 51, 62, 0.94), rgba(24, 26, 32, 0.96));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.24),
		0 24px 40px -20px #000;
	font-size: 14px;
	opacity: 0;
	translate: 0 14px;
	scale: 0.97;
	transition:
		opacity 0.4s,
		translate 0.6s var(--ease),
		scale 0.6s var(--ease);
}
.nt-toast.is-in {
	opacity: 1;
	translate: 0 0;
	scale: 1;
}
.nt-toast i {
	flex: none;
	inline-size: 18px;
	block-size: 12px;
	border-radius: 3px;
	background: var(--c, var(--light));
	box-shadow: 0 0 14px var(--c, var(--light));
}
.nt-toast span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nt-toast small {
	margin-inline-start: auto;
	color: #9a9eaa;
	font-size: 12px;
	white-space: nowrap;
}

/* A scene only moves while its card is on screen */
.cell-box:not(.is-live) * {
	animation-play-state: paused !important;
}

@media (prefers-reduced-motion: no-preference) {
	@supports ((animation-timeline: view()) and (animation-range: entry)) {
		/* The slot is what the timeline watches; the box inside it is what moves */
		.cell-box {
			animation: cell-in linear both;
			animation-timeline: --cell;
			animation-range: entry 0% entry 85%;
		}
		@keyframes cell-in {
			from {
				opacity: 0;
				translate: 0 56px;
				scale: 0.97;
			}
		}
	}
}
@media (prefers-reduced-motion: reduce) {
	.showcase *,
	.showcase *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ---------- medium: narrow cards share a row, wide ones take a full one ---------- */
@media (max-width: 960px) {
	.showcase {
		padding-block: 100px 96px;
	}
	.cells {
		grid-template-columns: 1fr 1fr;
		grid-auto-flow: dense;
		gap: 16px;
		margin-block-start: 36px;
	}
	.cell-box {
		block-size: 400px;
	}
}

/* ---------- narrow: one card per row ---------- */
@media (max-width: 680px) {
	.showcase {
		padding-block: 76px 72px;
	}
	.cells {
		grid-template-columns: minmax(0, 1fr);
	}
	.cell:nth-child(n) {
		grid-column: auto;
	}
	.cap {
		padding: 10px 18px 18px;
	}
	.cap p {
		font-size: 15px;
	}
	.ld-side {
		display: none;
	}
	/* Three days fit. The picker covers them, then steps aside to show what it booked */
	.cal {
		padding-inline: 16px;
	}
	.cal-grid {
		grid-template-columns: 40px repeat(3, minmax(0, 1fr));
	}
	.cal-far {
		display: none;
	}
	.cal-pop {
		grid-column: 2 / -1;
		justify-self: center;
		inline-size: min(100%, 250px);
		margin-inline: 0;
		transition:
			opacity 0.4s,
			scale 0.4s;
	}
	.is-booked .cal-pop {
		opacity: 0;
		scale: 0.95;
		transition-delay: 0.7s;
	}
	.cal-toast {
		grid-column: 2 / -1;
		justify-self: end;
	}
}
