/* Reset and shared building blocks of the v2 layout */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--c-black);
	color: var(--c-black);
	font-family: var(--f-roman), var(--f-cjk);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

html.lang-zh body, html.lang-cn body, html.lang-ja body {
	font-family: var(--f-roman), var(--f-cjk), sans-serif;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, address { margin: 0; font-weight: inherit; font-style: normal; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: currentColor; }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	padding: 10px 16px; background: var(--c-white); color: var(--c-black); border-radius: 50px;
}
.skip-link:focus { top: 16px; }

/* ---------- Sections ---------- */
.site-main { position: relative; z-index: 1; }

.section { position: relative; }
.section--dark { background: var(--c-black); color: var(--c-white); }
.section--light { background: var(--c-white); color: var(--c-black); }

.section__inner {
	position: relative;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

/* Thin rule with a short accent at the left, as above every section label */
.rule {
	position: relative;
	height: 1px;
	background: var(--c-line-light);
}
.rule--dark { background: var(--c-line-dark); }
.rule--dark .rule__accent, .numbers__rule .rule__accent { display: none; }
.rule__accent {
	position: absolute; left: 0; top: 0; height: 1px; width: 68px;
	background: currentColor;
}

/* Small uppercase label above a heading */
.eyebrow {
	font-family: var(--f-grotesk), var(--f-cjk);
	font-size: var(--fs-eyebrow);
	letter-spacing: 1px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--c-black);
}
.eyebrow--light { color: var(--c-white); }

/* Section heading */
.display {
	font-family: var(--f-light), var(--f-cjk);
	font-weight: 400;
	font-size: var(--fs-display);
	line-height: var(--lh-display);
	letter-spacing: var(--ls-display);
}
.display--product { font-size: var(--fs-display-product); }

html.lang-zh .display, html.lang-cn .display, html.lang-ja .display { letter-spacing: 0; line-height: 1.25; }

/* ---------- Buttons and links ---------- */
.button {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--f-grotesk), var(--f-cjk);
	font-size: var(--fs-link);
	letter-spacing: .8px;
	line-height: 1.2;
	text-transform: uppercase;
	transition: background-color .2s, color .2s, border-color .2s;
}
.button--pill { border-radius: 50px; }
.button--white {
	background: var(--c-white); color: var(--c-black);
	border: 1px solid var(--c-white);
	min-width: 120px; height: 40px; padding: 0 20px;
}
.button--white:hover { background: var(--c-black); color: var(--c-white); }
.button--black {
	background: var(--c-black); color: var(--c-white);
	border: 1px solid transparent;
	height: 43px; padding: 0 15px;
}
.button--black:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-black); }
.button--accent {
	background: var(--c-accent); color: var(--c-white);
	font-family: var(--f-madefor), var(--f-cjk);
	font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none;
	height: 46px; padding: 0 26px;
}
.button--accent:hover { background: var(--c-black); }

/* "READ MORE  →" with a rule underneath */
.link-more {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
	width: 328px; max-width: 100%;
	padding: 10px 0 8px;
	border-bottom: 1px solid var(--c-line-light);
	font-family: var(--f-grotesk), var(--f-cjk);
	font-size: var(--fs-link);
	letter-spacing: .8px;
	text-transform: uppercase;
	color: var(--c-text-muted);
	transition: color .2s, border-color .2s;
}
.link-more__arrow { width: 20px; height: 20px; flex: 0 0 20px; transition: transform .3s var(--ease-out-cubic); }
.link-more:hover { color: var(--c-black); border-color: var(--c-black); }
.link-more:hover .link-more__arrow { transform: translateX(6px); }
.link-more--dark { color: var(--c-text-light); border-color: var(--c-line-dark); width: 376px; }
.link-more--dark:hover { color: var(--c-white); border-color: var(--c-white); }

/* ---------- Preview badge (only while the v2 preview cookie is set) ---------- */
.v2-preview-badge {
	position: fixed; left: 16px; bottom: 16px; z-index: 900;
	display: flex; gap: 14px; align-items: center;
	padding: 8px 14px; border-radius: 50px;
	background: var(--c-accent); color: var(--c-black);
	font-family: var(--f-grotesk), var(--f-cjk); font-size: 13px; letter-spacing: .5px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.v2-preview-badge a { text-decoration: underline; }

/* Entrance animations slide some elements in from beyond the screen edge: keep that from
   widening the page on phones. clip (unlike hidden) leaves the sticky product cards working */
.site-main { overflow-x: clip; }

/* Tablets and phones (Wix tablet layout up to 1000px, mobile up to 750px): section margins,
   labels and headings shared by every page */
@media (max-width: 1000px) {
	.section__inner { padding-left: 6vw; padding-right: 6vw; }
	.eyebrow { font-size: 16px; letter-spacing: .05em; line-height: 1.3; }
	.display, .display--product { font-size: max(36px, min(112px, 8.395vw)); }
}
@media (max-width: 750px) {
	.section__inner { padding-left: 5.9vw; padding-right: 5.9vw; }
	.display, .display--product { font-size: max(36px, min(112px, 10.256vw)); line-height: 1.1; }

	/* preview badge: a small pill in the corner; with the switch link (admins) only the link shows */
	.v2-preview-badge { left: 12px; bottom: 12px; gap: 8px; padding: 6px 12px; font-size: 11px; letter-spacing: .3px; white-space: nowrap; }
	.v2-preview-badge:has(a) span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
