/* Kitsune Statue — Apple-like storefront */

/* Outfit self-hosted (latin + latin-ext). No fonts.googleapis.com. */
@font-face {
	font-family: Outfit;
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/outfit-latin-ext-wght.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: Outfit;
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/outfit-latin-wght.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--bg: #f5f5f7;
	--ink: #1d1d1f;
	--muted: #6e6e73;
	--line: rgba(29, 29, 31, 0.08);
	--white: #fff;
	--brand: #8B0D0E;
	--stock-in: #00866b;
	--stock-pre: #767676;
	--stock-out: #c61f26;
	--cut: clamp(4.25rem, 10vw, 7.25rem);
	--slash-line: 4px;
	--slash-extend: clamp(0.8rem, 1.85vw, 1.35rem);
	--topbar: 42px;
	--header: 0px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--sheet: cubic-bezier(0.32, 0.72, 0, 1);
	--spring: linear(
		0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%,
		0.825 28.1%, 0.945 36.5%, 0.994 44.3%, 1.002 50%,
		0.999 56%, 1
	);
	--radius: 22px;
	--font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--page-gutter: 6vw;
	--page-copy: 42rem;
}

html[lang^="zh"] {
	--font: "Outfit", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
	--display: "Outfit", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}
html[lang^="zh"],
html[lang^="zh"] body {
	letter-spacing: 0;
}

html[lang^="zh"] .display {
	letter-spacing: 0;
	line-height: 1.15;
}

html[lang^="zh"] .eyebrow {
	letter-spacing: 0.08em;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	interpolate-size: allow-keywords;
}

html,
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.47;
	letter-spacing: -0.011em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
html.nav-open,
body.nav-open {
	overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; background: transparent; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
figure { margin: 0; }

.screen-reader-text,
.skip {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.skip:focus {
	position: fixed;
	inset: 8px auto auto 8px;
	width: auto;
	height: auto;
	clip: auto;
	z-index: 100;
	padding: 10px 14px;
	background: var(--ink);
	color: var(--white);
	border-radius: 980px;
}

.display {
	font-family: var(--display);
	font-size: clamp(2.25rem, 6.2vw, 5.25rem);
	font-weight: 600;
	letter-spacing: -0.038em;
	line-height: 1.04;
}

.eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.lead {
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	color: var(--muted);
	max-width: 28ch;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 980px;
	background: var(--ink);
	color: var(--white);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.016em;
	transition: transform 0.5s var(--spring), background 0.2s ease, color 0.2s ease;
	will-change: transform;
}
.btn:hover { transform: scale(1.035); }
.btn:active { transform: scale(0.97); }
.btn-light { background: var(--white); color: var(--ink); }
.ks-cta { display: inline-flex; }
.btn-slash {
	gap: 12px;
	min-height: 52px;
	padding: 0 40px 0 44px;
	border: 0;
	border-radius: 0;
	background: var(--brand);
	color: var(--white);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.04em;
	clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.btn-slash svg {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}
.btn.btn-slash:hover,
.btn-slash:hover { transform: translate3d(4px, 0, 0); }
.btn.btn-slash:active,
.btn-slash:active { transform: translate3d(1px, 0, 0); }

.ks-ruled {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink);
	text-align: center;
}
.ks-ruled span { flex: 0 0 auto; }
.ks-ruled::before,
.ks-ruled::after {
	content: "";
	flex: 0 0 52px;
	width: 52px;
	height: 4px;
	background: var(--ink);
}
html[lang^="zh"] .ks-ruled { letter-spacing: 0.08em; }
.ks-frame {
	padding: 8px;
	background: var(--white);
	border: 1px solid rgba(29, 29, 31, 0.16);
	border-radius: 20px;
}
.ks-frame > * {
	min-width: 0;
	background: #e8e8ed;
	color: var(--ink);
	border-radius: 12px;
}
.text-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 17px;
	font-weight: 500;
	color: #0066cc;
}

/* Header */
.site-header {
	position: relative;
	z-index: 40;
	overflow: visible;
	color: var(--ink);
}
.topbar {
	position: sticky;
	top: 0;
	z-index: 56;
	height: var(--topbar);
	background: var(--white);
	color: #111;
}
.topbar-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 100%;
	padding: 0 28px;
	gap: 12px;
}
.lang { position: relative; justify-self: start; }
.lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 28px;
	padding: 2px 8px 2px 6px;
	border: 1px solid #cfcfcf;
	background: var(--white);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: #111;
}
.lang-btn svg:last-child { opacity: 0.7; }
.lang-flag {
	display: grid;
	place-items: center;
	line-height: 0;
}
.lang-flag svg {
	display: block;
	border: 1px solid rgba(0, 0, 0, 0.08);
}
.lang-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 20;
	min-width: 100%;
	padding: 6px 0;
	background: var(--white);
	border: 1px solid #e5e5e5;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.lang-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 10px;
	font-size: 13px;
	white-space: nowrap;
}
.lang-menu a:hover,
.lang-menu a[aria-current="true"] { background: #f4f4f4; }
.topbar-account {
	justify-self: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	white-space: nowrap;
}
.topbar-account a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.topbar-account-sep {
	font-weight: 400;
	opacity: 0.42;
}
.topbar-end {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 14px;
}
.social {
	display: flex;
	align-items: center;
	gap: 12px;
}
.social a,
.bag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 44px;
	color: #111;
}
.bag svg,
.social svg,
.header-search-submit svg,
.lang-btn > svg {
	display: block;
	flex-shrink: 0;
}
.social a:hover,
.bag:hover,
.topbar-account a:hover { opacity: 0.62; }
.bag { position: relative; padding: 0; }
.bag-count {
	position: absolute;
	top: 6px;
	right: -2px;
	display: grid;
	place-items: center;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 980px;
	background: var(--brand);
	color: var(--white);
	font-size: 10px;
	font-weight: 700;
	opacity: 0;
	transform: scale(0.6);
	transition: transform 0.5s var(--spring), opacity 0.3s var(--ease);
}
.bag-count.is-on { opacity: 1; transform: scale(1); }

.ticker {
	background: #000;
	color: var(--white);
	height: 28px;
	overflow: hidden;
}
.ticker-viewport { height: 100%; overflow: hidden; }
.ticker-track {
	display: flex;
	align-items: center;
	width: max-content;
	height: 100%;
	gap: 0;
	animation: ks-ticker 28s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list {
	display: flex;
	align-items: center;
	gap: 64px;
	padding: 0 32px;
	margin: 0;
	list-style: none;
	font-size: 13px;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
@keyframes ks-ticker {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

.masthead {
	position: relative;
	color: var(--white);
	padding: 1.55rem 4.5vw 6.25rem;
	background: var(--bg);
	isolation: isolate;
	overflow: visible;
}
.masthead-shape {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: visible;
}
.masthead-shape > span {
	position: absolute;
	inset: 0;
	background: var(--brand);
}
.masthead-shape__fill {
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - var(--cut)),
		0 100%
	);
}
.masthead-shape__rule {
	inset: auto;
	top: 0;
	left: 0;
	right: 0;
	height: calc(100% + var(--slash-extend));
	clip-path: polygon(
		0 calc(100% - var(--slash-line)),
		100% calc(100% - var(--slash-extend) - var(--cut) - var(--slash-line)),
		100% calc(100% - var(--slash-extend) - var(--cut)),
		0 100%
	);
}
.masthead-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 14px 44px;
	max-width: 1680px;
	margin: 0 auto;
}
.brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: max-content;
	flex-shrink: 0;
	padding-bottom: 0.85rem;
	color: var(--white);
}
.brand-mark,
.brand-logo {
	width: 136px;
	height: 136px;
	display: block;
	object-fit: contain;
}
.brand-mark-disc {
	display: grid;
	place-items: center;
	width: 136px;
	height: 136px;
	border-radius: 50%;
	background: var(--brand);
	flex-shrink: 0;
}
.brand-mark-disc .brand-mark {
	width: 100%;
	height: 100%;
}
.brand-name {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
}
.site-nav {
	flex: 1;
	min-width: 0;
	padding-top: 10px;
}
.site-nav-panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	width: 100%;
}
.nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: baseline;
	gap: 2px 30px;
	width: auto;
	max-width: 100%;
}
.nav-list--primary {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.nav-list a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--white);
}
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list a[aria-current="page"] { opacity: 0.72; }
.header-search {
	display: flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	margin-top: 16px;
}
.header-search input {
	width: min(260px, 36vw);
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 980px;
	background: rgba(255, 255, 255, 0.18);
	color: var(--white);
	caret-color: var(--white);
	appearance: none;
}
.header-search input::-webkit-search-decoration,
.header-search input::-webkit-search-cancel-button { appearance: none; }
.header-search input:focus {
	outline: 2px solid rgba(255, 255, 255, 0.55);
	outline-offset: 2px;
}
.header-search-submit {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	color: var(--white);
}
.masthead-actions {
	display: none;
}
.nav-tools { display: none; }
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	position: relative;
	z-index: 60;
	color: var(--white);
	margin-left: auto;
}
.nav-toggle span {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 2px;
	background: currentColor;
	transition: transform 0.4s var(--sheet), opacity 0.25s var(--ease);
}
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle span:nth-child(4) { top: 27px; }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

/* Home — licences */
.home-licenses {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 6vw 80px;
}
.home-licenses .ks-ruled,
.home-products .ks-ruled {
	margin-bottom: 40px;
	font-size: clamp(1.05rem, 2.2vw, 1.45rem);
	letter-spacing: 0.16em;
}
.home-licenses .ks-ruled::before,
.home-licenses .ks-ruled::after,
.home-products .ks-ruled::before,
.home-products .ks-ruled::after {
	flex-basis: 48px;
	width: 48px;
	height: 3px;
}
.home-licenses-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 36px 48px;
	width: 100%;
	max-width: 1360px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
	align-items: center;
	isolation: isolate;
}
.home-licenses-grid li {
	position: relative;
	z-index: 1;
	min-width: 0;
	display: grid;
}
.home-licenses-grid a {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	padding: 0;
	background: transparent;
	color: var(--ink);
	min-height: 44px;
	transform:
		perspective(900px)
		rotateX(var(--rx, 0deg))
		rotateY(var(--ry, 0deg))
		scale(var(--s, 1));
	transform-style: preserve-3d;
	transition:
		transform 0.7s var(--spring),
		opacity 0.45s var(--ease),
		filter 0.45s var(--ease);
}
.home-licenses-grid img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	background: transparent;
	pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
	.home-licenses-grid:has(li:hover) li:not(:hover) a,
	.home-licenses-grid:has(a:focus-visible) a:not(:focus-visible) {
		opacity: 0.28;
		--s: 0.88;
		filter: grayscale(0.35);
	}
	.home-licenses-grid li:hover { z-index: 3; }
	.home-licenses-grid li:hover a,
	.home-licenses-grid a:focus-visible {
		opacity: 1;
		--s: 1.18;
		filter: drop-shadow(0 22px 28px rgba(29, 29, 31, 0.18));
	}
}
.home-licenses-fallback {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Product card — square, black frame, red inset, corner stock badge */
.ks-product {
	display: block;
	width: 100%;
	color: inherit;
	min-height: 0;
	overflow: visible;
}
.ks-product-frame {
	position: relative;
	display: block;
	width: 100%;
	padding: 3px;
	background: var(--brand);
	border: 3px solid #111;
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
	overflow: visible;
}
.ks-product-inset {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	background: #000;
	border-radius: 12px;
	isolation: isolate;
}
.ks-product-inset img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	background: #000;
	border-radius: 0;
}
.ks-product-inset img.ks-product-alt {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0;
	pointer-events: none;
	object-fit: cover;
	object-position: center;
	transform: scale(1.035);
}
@media (hover: hover) and (pointer: fine) {
	.ks-product-inset img.ks-product-alt {
		transition:
			opacity 0.42s cubic-bezier(0.33, 0, 0.2, 1),
			transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	}
	.ks-product:hover .ks-product-alt,
	.tile:hover .ks-product-alt,
	.ks-product:focus-visible .ks-product-alt {
		opacity: 1;
		transform: scale(1);
	}
}
@media (hover: none), (pointer: coarse) {
	.ks-product-alt { display: none; }
}
.ks-stock {
	position: absolute;
	right: -16px;
	bottom: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 20px 0 24px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--white);
	white-space: nowrap;
	pointer-events: none;
	clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
}
.ks-stock--instock { background: var(--stock-in); }
.ks-stock--preorder { background: var(--stock-pre); }
.ks-stock--outofstock { background: var(--stock-out); }

/* Home — produits */
.home-products {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 6vw 80px;
}
.home-products-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 32px;
	width: 100%;
	max-width: 1360px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}
.home-products-grid li { min-width: 0; overflow: visible; }

.products-page-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 32px;
	width: 100%;
	max-width: 1360px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.products-page-grid li { min-width: 0; overflow: visible; }
.licenses-page .home-licenses-grid { margin-bottom: 0; }

.home-story {
	display: flex;
	justify-content: center;
	padding: 48px 6vw 28px;
}
.home-story .ks-frame {
	width: 100%;
	max-width: 1100px;
}
.home-story-card {
	padding: 2.25rem 2.5rem 2.4rem;
}
.home-story-card h2 {
	margin: 0 0 16px;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}
.home-story-card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--muted);
}
.home-story-card p + p { margin-top: 1em; }
.home-story-lead { font-weight: 700; color: var(--ink); }

.home-newsletter {
	display: flex;
	justify-content: center;
	padding: 12px 6vw calc(96px + var(--slash-extend));
}
.home-newsletter-form {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px 28px;
	width: 100%;
	max-width: 920px;
}
.home-newsletter-label {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brand);
}
.home-newsletter-controls {
	display: flex;
	align-items: stretch;
	min-width: min(100%, 420px);
	flex: 1 1 420px;
	max-width: 520px;
}
.home-newsletter-controls input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px 0 0 8px;
	background: #e4e4e4;
	color: var(--ink);
	appearance: none;
}
.home-newsletter-controls input[type="email"]::placeholder {
	color: #8a8a8a;
}
.home-newsletter-controls input[type="email"]:focus {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	z-index: 1;
}
.home-newsletter-controls button {
	flex-shrink: 0;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 0 8px 8px 0;
	background: var(--brand);
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.home-newsletter-controls button:hover { opacity: 0.9; }
.home-newsletter-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

@media (prefers-reduced-motion: no-preference) {
	.topbar-inner,
	.masthead-inner {
		animation: ks-chrome-in 0.58s var(--ease) both;
	}
	.ticker {
		animation: ks-chrome-fade 0.5s var(--ease) 0.06s both;
	}
	.masthead-inner { animation-delay: 0.1s; }
}
@keyframes ks-chrome-in {
	from { opacity: 0; transform: translate3d(0, -8px, 0); }
	to { opacity: 1; transform: none; }
}
@keyframes ks-chrome-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

html.ks-motion .reveal,
html.ks-motion [data-enter] {
	opacity: 0;
	transform: translate3d(0, 18px, 0);
	transition: opacity 0.66s var(--ease), transform 0.66s var(--ease);
}
html.ks-motion .reveal.is-in,
html.ks-motion [data-enter].is-in {
	opacity: 1;
	transform: none;
}
html.ks-motion .reveal.d1.is-in { transition-delay: 0.06s; }
html.ks-motion .reveal.d2.is-in { transition-delay: 0.12s; }
html.ks-motion .reveal.d3.is-in { transition-delay: 0.18s; }

html.ks-motion .ks-stagger > * {
	opacity: 0;
	transform: translate3d(0, 18px, 0);
	transition: opacity 0.58s var(--ease), transform 0.58s var(--ease);
}
html.ks-motion .ks-stagger.is-in > * {
	opacity: 1;
	transform: none;
}
html.ks-motion .ks-stagger.is-in > :nth-child(1) { transition-delay: 0.04s; }
html.ks-motion .ks-stagger.is-in > :nth-child(2) { transition-delay: 0.09s; }
html.ks-motion .ks-stagger.is-in > :nth-child(3) { transition-delay: 0.14s; }
html.ks-motion .ks-stagger.is-in > :nth-child(4) { transition-delay: 0.19s; }
html.ks-motion .ks-stagger.is-in > :nth-child(5) { transition-delay: 0.24s; }
html.ks-motion .ks-stagger.is-in > :nth-child(6) { transition-delay: 0.29s; }
html.ks-motion .ks-stagger.is-in > :nth-child(7) { transition-delay: 0.34s; }
html.ks-motion .ks-stagger.is-in > :nth-child(8) { transition-delay: 0.39s; }
html.ks-motion .ks-stagger.is-in > :nth-child(9) { transition-delay: 0.44s; }
html.ks-motion .ks-stagger.is-in > :nth-child(n+10) { transition-delay: 0.48s; }

.partners-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

/* Sections */
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 0 6vw 28px;
}
.reel-section,
.catalog-section,
.related-section {
	padding: 88px 0;
}
.reel-section { padding-right: 0; }

.reel {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 6vw;
	padding: 0 6vw 8px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel-item {
	flex: 0 0 min(78vw, 720px);
	scroll-snap-align: start;
}
.reel-item img,
.tile figure img {
	width: 100%;
	border-radius: var(--radius);
	object-fit: cover;
	background: #e8e8ed;
}
.reel-item img {
	aspect-ratio: 4 / 3;
	transition: transform 0.8s var(--ease);
}
.reel-item:hover img { transform: scale(1.035); }
.tile-meta {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 4px 0;
	font-size: 14px;
	letter-spacing: -0.01em;
}
.tile-price { color: var(--muted); font-variant-numeric: tabular-nums; }

.catalog-section { padding-inline: 6vw; }
.catalog {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 24px;
}
.catalog > li { min-width: 0; overflow: visible; }
.tile figure { overflow: hidden; border-radius: var(--radius); }
.tile figure img {
	aspect-ratio: 4 / 5;
	transition: transform 0.9s var(--ease);
	will-change: transform;
}
.tile:hover figure img { transform: scale(1.045); }

.page-article {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 2rem var(--page-gutter) calc(96px + var(--slash-extend));
}
.page-article .ks-ruled {
	width: 100%;
	max-width: var(--page-copy);
	margin-bottom: 40px;
	font-size: clamp(1.05rem, 2.2vw, 1.45rem);
	letter-spacing: 0.16em;
}
.page-article .ks-ruled::before,
.page-article .ks-ruled::after {
	flex-basis: 48px;
	width: 48px;
	height: 3px;
}
.page-article .ks-ruled span {
	flex: 1 1 auto;
	min-width: 0;
}
.page-article .eyebrow,
.page-article .display {
	width: 100%;
	max-width: var(--page-copy);
	text-align: center;
}
.page-article .display {
	margin: 10px auto 28px;
	font-size: clamp(1.7rem, 3.2vw, 2.55rem);
	letter-spacing: -0.032em;
	line-height: 1.12;
}
.page-article .prose {
	width: 100%;
	max-width: var(--page-copy);
	color: var(--ink);
	font-size: 17px;
	line-height: 1.65;
	text-align: left;
}
.page-article--wide .prose,
.page-article--wide .catalog {
	max-width: 1360px;
}
.page-article.wc-page {
	display: block;
	max-width: 980px;
	margin-inline: auto;
	padding: 48px var(--page-gutter) 100px;
}
.page-article.wc-page .eyebrow,
.page-article.wc-page .display,
.page-article.wc-page .prose {
	max-width: none;
	text-align: left;
}
.prose { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose h2,
.prose h3 {
	color: var(--ink);
	font-weight: 600;
	letter-spacing: -0.022em;
	line-height: 1.25;
	margin: 2.1em 0 0.7em;
}
.prose h2 { font-size: 1.12rem; }
.prose h3 { font-size: 1.02rem; }
.prose h2:first-child,
.prose h3:first-child { margin-top: 0.2em; }
.prose ul {
	margin: 0.7em 0 1.15em;
	padding-left: 1.2em;
	list-style: disc;
}
.prose li + li { margin-top: 0.35em; }
.prose a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

/* 404 — poster centré */
.ks-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: clamp(2.25rem, 6vh, 4rem) var(--page-gutter) clamp(3rem, 8vh, 5.5rem);
}
.ks-404 .ks-ruled {
	margin-bottom: 8px;
	font-size: clamp(1.05rem, 2.2vw, 1.45rem);
	letter-spacing: 0.16em;
}
.ks-404 .ks-ruled::before,
.ks-404 .ks-ruled::after {
	flex-basis: 48px;
	width: 48px;
	height: 3px;
}
.ks-404-code {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(5.25rem, 14vw, 9.5rem);
	font-weight: 700;
	letter-spacing: -0.07em;
	line-height: 0.82;
	color: var(--brand);
}
.ks-404 .lead {
	margin: 22px auto 28px;
	max-width: 36ch;
}

.about-page,
.partners-page,
.mail-page,
.products-page,
.licenses-page {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem var(--page-gutter) calc(96px + var(--slash-extend));
}
.about-page .ks-ruled,
.partners-page .ks-ruled,
.mail-page .ks-ruled,
.products-page .ks-ruled,
.licenses-page .ks-ruled {
	margin-bottom: 40px;
	font-size: clamp(1.05rem, 2.2vw, 1.45rem);
	letter-spacing: 0.16em;
}
.about-page .ks-ruled::before,
.about-page .ks-ruled::after,
.partners-page .ks-ruled::before,
.partners-page .ks-ruled::after,
.mail-page .ks-ruled::before,
.mail-page .ks-ruled::after,
.products-page .ks-ruled::before,
.products-page .ks-ruled::after,
.licenses-page .ks-ruled::before,
.licenses-page .ks-ruled::after {
	flex-basis: 48px;
	width: 48px;
	height: 3px;
}
.about-copy {
	width: 100%;
	max-width: var(--page-copy);
	margin: 0 0 48px;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.65;
	text-align: center;
}
.about-copy p + p { margin-top: 1.15em; }
.about-gallery {
	width: 100%;
	max-width: 1082px;
	margin: 0 0 48px;
}
.about-gallery img {
	width: 100%;
	height: auto;
	transition: transform 0.8s var(--ease);
}
.about-gallery:hover img { transform: scale(1.02); }

.page-article .ks-cta { margin-top: 28px; }
.page-article .prose > p:first-child em {
	color: var(--muted);
	font-size: 0.94em;
	font-style: italic;
}
.prod-gallery {
	width: 100%;
	max-width: 1100px;
	margin-top: 56px;
}
.prod-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.prod-gallery-open {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #111;
	cursor: zoom-in;
}
.prod-gallery-open img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.prod-gallery-open:hover img { transform: scale(1.04); }
.prod-gallery-open:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
}
.ks-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.96);
	color: var(--white);
}
.ks-lightbox::backdrop { background: #000; }
.ks-lightbox-stage {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 56px 72px;
}
.ks-lightbox-stage img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	background: transparent;
}
.ks-lightbox-close,
.ks-lightbox-nav {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.82);
}
.ks-lightbox-close {
	top: 16px;
	right: 16px;
	width: 48px;
	height: 48px;
}
.ks-lightbox-nav {
	top: 50%;
	width: 56px;
	height: 72px;
	transform: translateY(-50%);
}
.ks-lightbox-nav--prev { left: 8px; }
.ks-lightbox-nav--next { right: 8px; }
.ks-lightbox-close:hover,
.ks-lightbox-nav:hover { color: var(--white); }
.ks-lightbox-close:focus-visible,
.ks-lightbox-nav:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 3px;
}
.ks-lightbox-count {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.7);
}

.partner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 36px 64px;
	align-items: center;
	width: 100%;
	max-width: 1100px;
	margin: 0 0 88px;
}
.partner:last-child { margin-bottom: 0; }
.partner--yokaidistri { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.partner--yokaidistri .partner-logo { order: 2; }
.partner--yokaidistri .partner-copy { order: 1; }
.partner-logo {
	display: grid;
	place-items: center;
	padding: 0;
	background: transparent;
	transition: transform 0.5s var(--spring);
}
.partner-logo:hover { transform: scale(1.02); }
.partner-logo img {
	width: 100%;
	max-height: 168px;
	height: auto;
	object-fit: contain;
	background: transparent;
}
.partner--yokaidistri .partner-logo img {
	width: min(220px, 72%);
	max-height: none;
	transition: transform 0.8s var(--ease);
}
.partner--yokaidistri .partner-logo:hover img { transform: scale(1.04); }
.partner-copy {
	text-align: center;
}
.partner-copy h2 {
	margin: 0 0 16px;
	font-size: clamp(1.15rem, 2.2vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.022em;
	line-height: 1.25;
}
.partner-copy p {
	margin: 0 auto;
	max-width: 38ch;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.55;
}
.partner-copy p + p { margin-top: 0.9em; }
.partner-email a {
	color: var(--ink);
	font-weight: 600;
}
.partner-email a:hover { opacity: 0.72; }
.partner-cta { margin-top: 28px; }

.mail-layout {
	display: grid;
	grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
	gap: 28px 56px;
	align-items: start;
	width: 100%;
	max-width: 1100px;
}
.mail-aside {
	padding: 2.25rem 2.5rem 2.4rem;
}
.mail-aside .eyebrow {
	margin-bottom: 18px;
	color: var(--muted);
}
.mail-address {
	margin: 0 0 18px;
	font-size: 18px;
	line-height: 1.45;
}
.mail-email {
	font-size: 17px;
	font-weight: 600;
	word-break: break-word;
}
.mail-email:hover { opacity: 0.72; }
.ks-mail-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
}
.ks-mail-field { margin: 0; }
.ks-mail-form input[type="text"],
.ks-mail-form input[type="email"],
.ks-mail-form textarea {
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: #e4e4e4;
	color: var(--ink);
	appearance: none;
}
.ks-mail-form input[type="text"],
.ks-mail-form input[type="email"] {
	height: 52px;
	padding: 0 18px;
}
.ks-mail-form textarea {
	min-height: 168px;
	padding: 16px 18px;
	resize: vertical;
}
.ks-mail-form input::placeholder,
.ks-mail-form textarea::placeholder { color: #8a8a8a; }
.ks-mail-form input:focus,
.ks-mail-form textarea:focus {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}
.ks-mail-status {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
}
.ks-mail-submit { margin-top: 8px; }
.ks-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.tutos-page {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem var(--page-gutter) calc(96px + var(--slash-extend));
}
.tutos-page .ks-ruled {
	margin-bottom: 28px;
	font-size: clamp(1.05rem, 2.2vw, 1.45rem);
	letter-spacing: 0.16em;
}
.tutos-page .ks-ruled::before,
.tutos-page .ks-ruled::after {
	flex-basis: 48px;
	width: 48px;
	height: 3px;
}
.tutos-lead {
	width: 100%;
	max-width: 38ch;
	margin: 0 auto 36px;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.65;
	text-align: center;
}
.tutos-index {
	width: 100%;
	max-width: 720px;
	margin: 0 0 56px;
}
.tutos-index ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 22px;
}
.tutos-index a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-underline-offset: 0.22em;
}
.tutos-index a:hover {
	text-decoration: underline;
}
.tutos-index a:focus-visible,
.tuto-play:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
}
.tutos-list {
	display: flex;
	flex-direction: column;
	gap: 72px;
	width: 100%;
	max-width: 920px;
	margin: 0 0 64px;
}
.tuto {
	scroll-margin-top: calc(var(--topbar) + 20px);
}
.tuto-head {
	margin: 0 0 20px;
	text-align: center;
}
.tuto-head .eyebrow {
	margin-bottom: 8px;
}
.tuto-head h2 {
	margin: 0;
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	font-weight: 700;
	letter-spacing: -0.028em;
	line-height: 1.2;
}
.tuto-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: #111;
}
.tuto-play {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	color: var(--white);
	cursor: pointer;
}
.tuto-play picture,
.tuto-play img,
.tuto-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}
.tuto-play img {
	object-fit: cover;
	transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
	filter: brightness(0.78);
}
.tuto-play:hover img,
.tuto-play:focus-visible img {
	transform: scale(1.03);
	filter: brightness(0.62);
}
.tuto-play-mark {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	padding: 0 0 0 4px;
	border-radius: 50%;
	background: var(--brand);
	color: var(--white);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
	transform: translate(-50%, -50%);
	pointer-events: none;
	transition: transform 0.5s var(--spring);
}
.tuto-play-mark svg {
	display: block;
	width: 26px;
	height: 26px;
}
.tuto-play:hover .tuto-play-mark,
.tuto-play:focus-visible .tuto-play-mark {
	transform: translate(-50%, -50%) scale(1.08);
}
.tuto-frame.is-playing .tuto-play { display: none; }
.tuto-cta { margin-top: 22px; display: flex; justify-content: center; }
.tutos-help {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 17px;
	text-align: center;
}
.tuto-fallback {
	position: absolute;
	inset: auto 16px 16px;
	z-index: 2;
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

/* Footer — miroir vertical du masthead */
.site-footer {
	position: relative;
	z-index: 2;
	overflow: visible;
	isolation: isolate;
	color: var(--white);
	font-size: 15px;
	padding: calc(var(--cut) + 3.25rem) 6vw 0;
	background: var(--bg);
}
.footer-shape {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: visible;
}
.footer-shape > span {
	position: absolute;
	background: var(--brand);
}
.footer-shape__fill {
	inset: 0;
	clip-path: polygon(
		0 0,
		100% var(--cut),
		100% 100%,
		0 100%
	);
}
.footer-shape__rule {
	left: 0;
	right: 0;
	bottom: 0;
	height: calc(100% + var(--slash-extend));
	clip-path: polygon(
		0 0,
		100% calc(var(--slash-extend) + var(--cut)),
		100% calc(var(--slash-extend) + var(--cut) + var(--slash-line)),
		0 var(--slash-line)
	);
}
.footer-inner {
	position: relative;
	z-index: 1;
	max-width: 1680px;
	margin: 0 auto;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1.1fr;
	gap: 40px 32px;
	margin-bottom: 56px;
	align-items: start;
}
.footer-heading {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
html[lang^="zh"] .footer-heading { letter-spacing: 0.08em; }
.footer-col p {
	margin: 0 0 10px;
	max-width: 28ch;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
}
.footer-brand {
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--white);
}
.footer-col--account {
	text-align: center;
	justify-self: center;
}
.footer-col--company { text-align: right; justify-self: end; }
.footer-col--account .footer-heading,
.footer-col--company .footer-heading { max-width: none; }
.footer-col--account p,
.footer-col--company p { margin-inline: auto; }
.footer-col--company p { margin-inline: 0 0; margin-left: auto; }
.footer-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}
.footer-col--account .footer-nav { align-items: center; }
.footer-col--company .footer-nav { align-items: flex-end; }
.footer-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 2px;
	font-size: 15px;
	color: var(--white);
}
.footer-nav a:hover,
.footer-col a:hover { opacity: 0.72; }
.footer-bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 16px 24px;
}
.footer-pay {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 16px 22px;
	width: min(36rem, 80vw);
	height: 6.75rem;
	margin: 0;
	padding: 1.2rem 2.75rem 24px;
	list-style: none;
	background: var(--white);
	border-top-left-radius: 50% 100%;
	border-top-right-radius: 50% 100%;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.footer-pay-mark {
	display: grid;
	place-items: center;
	line-height: 0;
}
.footer-pay-mark svg {
	display: block;
	width: 64px;
	height: 38px;
}
.copyright {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	align-self: end;
	margin: 0;
	padding-bottom: 14px;
	font-size: 12px;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.55);
}

.toast {
	position: fixed;
	top: calc(var(--topbar) + 12px);
	left: 50%;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: min(92vw, 36rem);
	transform: translateX(-50%) translateY(-12px);
	background: var(--ink);
	color: var(--white);
	padding: 11px 20px 11px 14px;
	border: 2px solid transparent;
	border-radius: 980px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	z-index: 80;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s var(--ease), transform 0.5s var(--spring);
}
.toast[hidden] {
	display: none !important;
}
.toast.is-on {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
.toast--ok {
	border-color: var(--brand);
	box-shadow: 0 8px 24px rgba(139, 13, 14, 0.28);
}
.toast-icon {
	display: none;
	flex-shrink: 0;
	color: #fff;
	background: var(--stock-in);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	place-items: center;
}
.toast--ok .toast-icon {
	display: grid;
}
.toast-icon svg {
	display: block;
	width: 13px;
	height: 13px;
	stroke-width: 2.4;
}
.toast-label {
	min-width: 0;
}

/* View transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) {
	animation: 320ms var(--ease) both fade-out;
}
::view-transition-new(root) {
	animation: 480ms var(--ease) both fade-in;
}
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }

@media (min-width: 1440px) {
	.products-page-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1068px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-col--account,
	.footer-col--company { justify-self: stretch; text-align: left; }
	.footer-col--account .footer-nav,
	.footer-col--company .footer-nav { align-items: flex-start; }
	.footer-col--account p,
	.footer-col--company p { margin-inline: 0; }
	.home-licenses-grid { grid-template-columns: repeat(2, 1fr); }
	.home-products-grid,
	.products-page-grid { gap: 20px 18px; }
	.products-page-grid,
	.catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.partner,
	.partner--yokaidistri { grid-template-columns: 1fr; gap: 28px; }
	.partner--yokaidistri .partner-logo,
	.partner--yokaidistri .partner-copy { order: 0; }
	.mail-layout { grid-template-columns: 1fr; }
	.prod-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	:root { --topbar: 0px; }
	.topbar { display: none; }
	.masthead-inner {
		align-items: center;
	}
	.masthead-actions {
		display: flex;
		align-items: center;
		gap: 2px;
		margin-left: auto;
		position: relative;
		z-index: 60;
	}
	.nav-toggle {
		display: block;
		margin-left: 0;
	}
	.bag--masthead {
		color: var(--white);
	}
	.bag--masthead .bag-count {
		background: var(--white);
		color: var(--brand);
	}
	.nav-tools {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		width: 100%;
		margin-top: 8px;
		padding-top: 20px;
		border-top: 1px solid rgba(255, 255, 255, 0.28);
	}
	.nav-tools .lang-btn {
		background: transparent;
		border-color: rgba(255, 255, 255, 0.45);
		color: var(--white);
	}
	.nav-tools .topbar-account,
	.nav-tools .topbar-account a {
		justify-self: start;
		color: var(--white);
	}
	.nav-open .site-header { z-index: 200; }
	.nav-open .masthead {
		isolation: auto;
		background: var(--white);
	}
	.nav-open .masthead-shape { opacity: 0; }
	.nav-open .ticker { visibility: hidden; }
	.nav-open .nav-toggle,
	.nav-open .bag--masthead { color: var(--ink); }
	.nav-open .bag--masthead .bag-count {
		background: var(--brand);
		color: var(--white);
	}
	.brand { position: relative; z-index: 57; }
	.brand-mark,
	.brand-logo { width: 112px; height: 112px; }
	.site-nav {
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100dvh;
		height: 100svh;
		z-index: 55;
		flex: none;
		padding-top: 0;
		justify-self: auto;
		background: var(--white);
		color: var(--ink);
		display: flex;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translate3d(0, 8px, 0);
		transition: opacity 0.35s var(--ease), transform 0.45s var(--sheet), visibility 0s linear 0.35s, pointer-events 0s linear 0.35s;
	}
	.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		transition: opacity 0.35s var(--ease), transform 0.45s var(--sheet), visibility 0s, pointer-events 0s;
	}
	.site-nav-panel {
		width: 100%;
		height: 100%;
		padding: calc(var(--topbar) + 144px) 28px 48px;
		align-items: flex-start;
		justify-content: flex-start;
		overflow: auto;
		overscroll-behavior: none;
		gap: 20px;
	}
	.site-nav .nav-list--primary {
		border-bottom-color: rgba(29, 29, 31, 0.12);
	}
	.site-nav .nav-list a { color: var(--ink); }
	.site-nav .header-search-submit { color: var(--ink); }
	.site-nav .header-search input {
		background: rgba(29, 29, 31, 0.06);
		color: var(--ink);
		caret-color: var(--ink);
	}
	.site-nav .header-search input:focus {
		outline-color: rgba(29, 29, 31, 0.35);
	}
	.site-nav .nav-tools {
		border-top-color: rgba(29, 29, 31, 0.12);
	}
	.site-nav .nav-tools .lang-btn {
		background: var(--white);
		border-color: #cfcfcf;
		color: #111;
	}
	.site-nav .nav-tools .topbar-account,
	.site-nav .nav-tools .topbar-account a {
		color: #111;
	}
	.nav-list {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 2px;
		width: 100%;
	}
	.nav-list--primary {
		padding-bottom: 14px;
		margin-bottom: 8px;
	}
	.nav-list a {
		font-size: 24px;
		min-height: 48px;
		letter-spacing: 0.04em;
	}
	.header-search {
		align-self: stretch;
		width: 100%;
		margin-top: 12px;
	}
	.header-search input { width: 100%; flex: 1; min-width: 0; }
}

@media (max-width: 734px) {
	:root { --page-gutter: 24px; }
	.topbar-inner { padding-inline: 14px; }
	.topbar-account { font-size: 11px; letter-spacing: 0.04em; gap: 0.28em; }
	.masthead { padding-inline: 16px; padding-bottom: 5rem; }
	.site-footer { padding-inline: 24px; }
	.catalog { grid-template-columns: 1fr; }
	.home-licenses { padding: 1.75rem 24px 56px; }
	.home-products { padding: 12px 24px 56px; }
	.home-story { padding: 28px 24px 20px; }
	.home-story-card { padding: 1.6rem 1.4rem 1.75rem; }
	.home-newsletter { padding: 8px 24px 56px; }
	.home-newsletter-form { gap: 12px; }
	.home-newsletter-controls { min-width: 0; flex: 1 1 100%; max-width: none; }
	.home-products-grid,
	.products-page-grid { grid-template-columns: 1fr; }
	.home-licenses .ks-ruled,
	.home-products .ks-ruled { margin-bottom: 32px; }
	.home-licenses .ks-ruled::before,
	.home-licenses .ks-ruled::after,
	.home-products .ks-ruled::before,
	.home-products .ks-ruled::after {
		flex-basis: 40px;
		width: 40px;
		height: 3px;
	}
	.ks-ruled { gap: 12px; }
	.ks-ruled::before,
	.ks-ruled::after {
		flex-basis: 36px;
		width: 36px;
		height: 3px;
	}
	.section-head,
	.catalog-section,
	.related-section { padding-inline: 24px; }
	.ks-404 { padding-inline: 24px; }
	.ks-404 .ks-ruled::before,
	.ks-404 .ks-ruled::after {
		flex-basis: 40px;
		width: 40px;
	}
	.about-page,
	.partners-page,
	.mail-page,
	.products-page,
	.licenses-page,
	.tutos-page,
	.page-article { padding: 1.5rem var(--page-gutter) 56px; }
	.about-page .ks-ruled,
	.partners-page .ks-ruled,
	.mail-page .ks-ruled,
	.products-page .ks-ruled,
	.licenses-page .ks-ruled,
	.tutos-page .ks-ruled,
	.page-article .ks-ruled { margin-bottom: 32px; }
	.about-page .ks-ruled::before,
	.about-page .ks-ruled::after,
	.partners-page .ks-ruled::before,
	.partners-page .ks-ruled::after,
	.mail-page .ks-ruled::before,
	.mail-page .ks-ruled::after,
	.products-page .ks-ruled::before,
	.products-page .ks-ruled::after,
	.licenses-page .ks-ruled::before,
	.licenses-page .ks-ruled::after,
	.tutos-page .ks-ruled::before,
	.tutos-page .ks-ruled::after,
	.page-article .ks-ruled::before,
	.page-article .ks-ruled::after {
		flex-basis: 40px;
		width: 40px;
		height: 3px;
	}
	.tutos-lead { margin-bottom: 28px; }
	.tutos-index { margin-bottom: 40px; }
	.tutos-list { gap: 52px; margin-bottom: 48px; }
	.tuto-play-mark {
		width: 64px;
		height: 64px;
	}
	.tuto-play-mark svg {
		width: 22px;
		height: 22px;
	}
	.page-article.wc-page { padding: 36px var(--page-gutter) 72px; }
	.about-copy { margin-bottom: 32px; }
	.about-gallery { margin-bottom: 36px; }
	.prod-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ks-lightbox-stage { padding: 56px 16px; }
	.ks-lightbox-nav { width: 48px; }
	.partner,
	.partner--yokaidistri {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 56px;
	}
	.partner--yokaidistri .partner-logo,
	.partner--yokaidistri .partner-copy { order: 0; }
	.mail-layout { grid-template-columns: 1fr; gap: 24px; }
	.mail-aside { padding: 1.6rem 1.4rem 1.75rem; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-col--account {
		text-align: left;
		justify-self: start;
	}
	.footer-col--account .footer-nav { align-items: flex-start; }
	.footer-col--account p { margin-inline: 0; }
	.footer-nav a { min-height: 44px; }
	.footer-bottom {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}
	.copyright {
		grid-column: 1;
		grid-row: 1;
		justify-self: center;
		padding-bottom: 12px;
	}
	.footer-pay {
		grid-column: 1;
		grid-row: 2;
		width: min(24rem, 92vw);
		height: 5.75rem;
		padding: 1rem 1.75rem 20px;
		gap: 12px 14px;
	}
	.footer-pay-mark svg {
		width: 52px;
		height: 32px;
	}
	.site-nav-panel { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.topbar-inner,
	.ticker,
	.masthead-inner,
	.reveal,
	.ks-stagger > *,
	[data-enter],
	.home-licenses-grid a,
	.ks-product-inset img,
	.reel-item img,
	.tile figure img,
	.about-gallery img,
	.prod-gallery-open img,
	.partner-logo img,
	.tuto-play img {
		animation: none !important;
		filter: none !important;
		transform: none !important;
		transition: none !important;
	}
	.home-licenses-grid:has(li:hover) li:not(:hover) a,
	.home-licenses-grid:has(a:focus-visible) a:not(:focus-visible),
	.home-licenses-grid li:hover a,
	.home-licenses-grid a:focus-visible {
		opacity: 1;
		filter: none;
		--s: 1;
		--rx: 0deg;
		--ry: 0deg;
	}
	.tuto-play-mark {
		transition: none;
	}
	.reveal,
	.ks-stagger > *,
	[data-enter] { opacity: 1; }
	.ks-product-alt { transition: none; }
	.ticker-track { animation: none; }
}

.topbar { top: 0; }
.admin-bar .topbar { top: 32px; }
.admin-bar .toast { top: calc(32px + var(--topbar) + 12px); }
@media (max-width: 782px) {
	.admin-bar .topbar { top: 46px; }
	.admin-bar .toast { top: calc(46px + var(--topbar) + 12px); }
}
